@ttoss/components 2.2.7 → 2.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ var Drawer = ({
15
15
  /**
16
16
  * https://github.com/Farzin-Firoozi/react-modern-drawer/blob/master/src/styles.css
17
17
  */
18
- zIndex: "dropdown",
18
+ zIndex: "overlay",
19
19
  width: "100%",
20
20
  height: "100%",
21
21
  ".EZDrawer__checkbox": {
@@ -33,22 +33,18 @@ var Drawer = ({
33
33
  display: "none",
34
34
  height: "100vh",
35
35
  left: "0",
36
- position: "absolute",
36
+ position: "fixed",
37
37
  top: "0",
38
38
  width: "100%"
39
39
  },
40
40
  ".EZDrawer__container": {
41
- position: "absolute",
41
+ position: "fixed",
42
42
  visibility: "hidden",
43
43
  backgroundColor: "navigation.background.muted.default",
44
44
  transition: "all",
45
45
  boxShadow: "0 0 10px 5px rgba(0, 0, 0, 0.1)",
46
- paddingY: "6",
47
46
  paddingX: "6",
48
- overflowY: "auto",
49
- "@media (max-width: 768px)": {
50
- position: "sticky"
51
- }
47
+ overflowY: "auto"
52
48
  },
53
49
  ...sx
54
50
  },
@@ -2276,7 +2276,7 @@ var Drawer = ({
2276
2276
  /**
2277
2277
  * https://github.com/Farzin-Firoozi/react-modern-drawer/blob/master/src/styles.css
2278
2278
  */
2279
- zIndex: "dropdown",
2279
+ zIndex: "overlay",
2280
2280
  width: "100%",
2281
2281
  height: "100%",
2282
2282
  ".EZDrawer__checkbox": {
@@ -2294,22 +2294,18 @@ var Drawer = ({
2294
2294
  display: "none",
2295
2295
  height: "100vh",
2296
2296
  left: "0",
2297
- position: "absolute",
2297
+ position: "fixed",
2298
2298
  top: "0",
2299
2299
  width: "100%"
2300
2300
  },
2301
2301
  ".EZDrawer__container": {
2302
- position: "absolute",
2302
+ position: "fixed",
2303
2303
  visibility: "hidden",
2304
2304
  backgroundColor: "navigation.background.muted.default",
2305
2305
  transition: "all",
2306
2306
  boxShadow: "0 0 10px 5px rgba(0, 0, 0, 0.1)",
2307
- paddingY: "6",
2308
2307
  paddingX: "6",
2309
- overflowY: "auto",
2310
- "@media (max-width: 768px)": {
2311
- position: "sticky"
2312
- }
2308
+ overflowY: "auto"
2313
2309
  },
2314
2310
  ...sx
2315
2311
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/components",
3
- "version": "2.2.7",
3
+ "version": "2.2.9",
4
4
  "description": "React components for ttoss ecosystem.",
5
5
  "license": "MIT",
6
6
  "author": "ttoss",
@@ -105,9 +105,9 @@
105
105
  "tsx": "^4.19.2",
106
106
  "@ttoss/config": "^1.35.2",
107
107
  "@ttoss/react-hooks": "^2.0.10",
108
- "@ttoss/react-icons": "^0.4.9",
109
108
  "@ttoss/test-utils": "^2.1.22",
110
- "@ttoss/ui": "^5.5.5"
109
+ "@ttoss/ui": "^5.5.5",
110
+ "@ttoss/react-icons": "^0.4.9"
111
111
  },
112
112
  "keywords": [
113
113
  "React",