From 23a60e943dd5b6410a768cbe87a6c999a8201cd1 Mon Sep 17 00:00:00 2001
From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
Date: Mon, 25 Sep 2023 15:04:05 -0300
Subject: [PATCH] Material Ui demo tweaks
---
.../guides/right-to-left/Direction.js | 3 +--
.../guides/right-to-left/Direction.tsx | 3 +--
.../right-to-left/Direction.tsx.preview | 3 +--
.../guides/right-to-left/RtlOptOutStylis.js | 15 ++++++------
.../guides/right-to-left/RtlOptOutStylis.tsx | 15 ++++++------
.../right-to-left/RtlOptOutStylis.tsx.preview | 24 ++++++++-----------
6 files changed, 27 insertions(+), 36 deletions(-)
diff --git a/docs/data/material/guides/right-to-left/Direction.js b/docs/data/material/guides/right-to-left/Direction.js
index c48161f7091ee0..27aee5c459110d 100644
--- a/docs/data/material/guides/right-to-left/Direction.js
+++ b/docs/data/material/guides/right-to-left/Direction.js
@@ -20,8 +20,7 @@ export default function Direction() {
-
-
+
diff --git a/docs/data/material/guides/right-to-left/Direction.tsx b/docs/data/material/guides/right-to-left/Direction.tsx
index c48161f7091ee0..27aee5c459110d 100644
--- a/docs/data/material/guides/right-to-left/Direction.tsx
+++ b/docs/data/material/guides/right-to-left/Direction.tsx
@@ -20,8 +20,7 @@ export default function Direction() {
-
-
+
diff --git a/docs/data/material/guides/right-to-left/Direction.tsx.preview b/docs/data/material/guides/right-to-left/Direction.tsx.preview
index 4f9bdb2bfe98df..1ab606866c595e 100644
--- a/docs/data/material/guides/right-to-left/Direction.tsx.preview
+++ b/docs/data/material/guides/right-to-left/Direction.tsx.preview
@@ -1,8 +1,7 @@
-
-
+
\ No newline at end of file
diff --git a/docs/data/material/guides/right-to-left/RtlOptOutStylis.js b/docs/data/material/guides/right-to-left/RtlOptOutStylis.js
index 9f2d1e2187073c..2da374f151d373 100644
--- a/docs/data/material/guides/right-to-left/RtlOptOutStylis.js
+++ b/docs/data/material/guides/right-to-left/RtlOptOutStylis.js
@@ -5,6 +5,7 @@ import { CacheProvider } from '@emotion/react';
import createCache from '@emotion/cache';
import { styled } from '@mui/material/styles';
import FormControlLabel from '@mui/material/FormControlLabel';
+import Box from '@mui/material/Box';
import Switch from '@mui/material/Switch';
const Root = styled('div')((props) => ({
@@ -38,19 +39,17 @@ export default function RtlOptOutStylis() {
};
return (
-
-
- }
- label="RTL"
- />
-
+
+ }
+ label="Toggle right-to-left styles"
+ />
Affected
Unaffected
-
+
);
}
diff --git a/docs/data/material/guides/right-to-left/RtlOptOutStylis.tsx b/docs/data/material/guides/right-to-left/RtlOptOutStylis.tsx
index 9f2d1e2187073c..2da374f151d373 100644
--- a/docs/data/material/guides/right-to-left/RtlOptOutStylis.tsx
+++ b/docs/data/material/guides/right-to-left/RtlOptOutStylis.tsx
@@ -5,6 +5,7 @@ import { CacheProvider } from '@emotion/react';
import createCache from '@emotion/cache';
import { styled } from '@mui/material/styles';
import FormControlLabel from '@mui/material/FormControlLabel';
+import Box from '@mui/material/Box';
import Switch from '@mui/material/Switch';
const Root = styled('div')((props) => ({
@@ -38,19 +39,17 @@ export default function RtlOptOutStylis() {
};
return (
-
-
- }
- label="RTL"
- />
-
+
+ }
+ label="Toggle right-to-left styles"
+ />
Affected
Unaffected
-
+
);
}
diff --git a/docs/data/material/guides/right-to-left/RtlOptOutStylis.tsx.preview b/docs/data/material/guides/right-to-left/RtlOptOutStylis.tsx.preview
index 7af232b755e764..4322427df2d206 100644
--- a/docs/data/material/guides/right-to-left/RtlOptOutStylis.tsx.preview
+++ b/docs/data/material/guides/right-to-left/RtlOptOutStylis.tsx.preview
@@ -1,14 +1,10 @@
-
-
- }
- label="RTL"
- />
-
-
-
- Affected
- Unaffected
-
-
-
\ No newline at end of file
+ }
+ label="Toggle right-to-left styles"
+/>
+
+
+ Affected
+ Unaffected
+
+
\ No newline at end of file