@m4l/graphics 7.2.3 → 7.2.4-beta.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"getDateRangePickerPopupGlobalStyles.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/getDateRangePickerPopupGlobalStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAG7C;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,CAAC,GAAG,EAAE,MAAM,GAAG;gBACb,CAAC,GAAG,EAAE,MAAM,GAAG;oBACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;iBAChC,CAAC;aACH,CAAC;SACH,CAAC;QACF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC7B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KACpC,CAAC;IACF,eAAe,EAAE;QACf,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH,CAAC;AA6CF;;;;;GAKG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyWvE"}
1
+ {"version":3,"file":"getDateRangePickerPopupGlobalStyles.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/getDateRangePickerPopupGlobalStyles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAG7C;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,CAAC,GAAG,EAAE,MAAM,GAAG;gBACb,CAAC,GAAG,EAAE,MAAM,GAAG;oBACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;iBAChC,CAAC;aACH,CAAC;SACH,CAAC;QACF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC7B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KACpC,CAAC;IACF,eAAe,EAAE;QACf,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH,CAAC;AA6CF;;;;;GAKG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyWvE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/index.tsx"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH,wBAAgB,YAAY,qDAiG3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/index.tsx"],"names":[],"mappings":"AASA;;;;;;GAMG;AACH,wBAAgB,YAAY,qDAgG3B"}
@@ -1,99 +1,90 @@
1
- import { jsxs as o, Fragment as i, jsx as e } from "@emotion/react/jsx-runtime";
1
+ import { jsx as e, Fragment as o } from "@emotion/react/jsx-runtime";
2
2
  import { useTheme as a } from "@mui/material/styles";
3
- import { GlobalStyles as s } from "@mui/material";
3
+ import { GlobalStyles as i } from "@mui/material";
4
4
  import { globalRemSize as r } from "@m4l/styles";
5
- import { Global as l, css as n } from "@emotion/react";
6
- import p from "./rsuiteStyles.min.css.js";
7
- import { getDateRangePickerPopupGlobalStyles as m } from "./getDateRangePickerPopupGlobalStyles.js";
8
- function w() {
5
+ import { getDateRangePickerPopupGlobalStyles as s } from "./getDateRangePickerPopupGlobalStyles.js";
6
+ function b() {
9
7
  const t = a();
10
- return /* @__PURE__ */ o(i, { children: [
11
- /* @__PURE__ */ e(
12
- l,
13
- {
14
- styles: n`
15
- ${p}
16
- `
17
- }
18
- ),
19
- /* @__PURE__ */ e(
20
- s,
21
- {
22
- styles: {
23
- ...m(t),
24
- body: {
25
- fontFamily: 'Inter, "Segoe UI", Roboto, "Helvetica Neue", sans-serif, Open Sans',
26
- textRendering: "geometricPrecision",
27
- width: "100%",
28
- height: "100vh",
29
- ".rs-drawer .rs-drawer-dialog": {
30
- backgroundColor: "transparent!important"
31
- },
32
- "#rootIsolation": {
33
- width: "100vw",
34
- height: "100vh"
35
- },
36
- "*::-webkit-scrollbar": {
37
- width: `${t.vars.size.baseSpacings.sp1}!important`,
38
- height: `${t.vars.size.baseSpacings.sp1}!important`
39
- },
40
- "*::-webkit-scrollbar-track": {
41
- backgroundColor: "transparent"
42
- },
43
- "*::-webkit-scrollbar-thumb": {
44
- backgroundColor: `${t.vars.palette.default.focusOpacity}!important`,
45
- borderRadius: `${t.vars.size.borderRadius["r0-5"]}!important`
46
- },
47
- "input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active": {
48
- color: t.vars.palette.text.primary
49
- },
50
- "& #root": {
51
- width: "100%",
52
- height: "100%"
53
- }
8
+ return /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(
9
+ i,
10
+ {
11
+ styles: {
12
+ ...s(t),
13
+ body: {
14
+ fontFamily: 'Inter, "Segoe UI", Roboto, "Helvetica Neue", sans-serif, Open Sans',
15
+ textRendering: "geometricPrecision",
16
+ width: "100%",
17
+ height: "100vh",
18
+ ".rs-drawer .rs-drawer-dialog": {
19
+ backgroundColor: "transparent!important"
20
+ },
21
+ ".rs-picker-popup": {
22
+ zIndex: t.vars.zIndex.modal || 1300
23
+ },
24
+ "#rootIsolation": {
25
+ width: "100vw",
26
+ height: "100vh"
27
+ },
28
+ "*::-webkit-scrollbar": {
29
+ width: `${t.vars.size.baseSpacings.sp1}!important`,
30
+ height: `${t.vars.size.baseSpacings.sp1}!important`
54
31
  },
55
- "#nprogress": {
56
- pointerEvents: "none",
57
- "& .bar": {
58
- top: 0,
59
- left: 0,
60
- height: 2,
61
- width: "100%",
62
- position: "fixed",
63
- zIndex: t.zIndex.snackbar,
64
- backgroundColor: t.vars.palette.primary.main,
65
- boxShadow: `0 0 2px ${t.vars.palette.primary.main}`
66
- },
67
- "& .peg": {
68
- right: 0,
69
- opacity: 1,
70
- width: 100,
71
- height: "100%",
72
- display: "block",
73
- position: "absolute",
74
- transform: "rotate(3deg) translate(0px, -4px)",
75
- boxShadow: `0 0 10px ${t.vars.palette.primary.main}, 0 0 5px ${t.vars.palette.primary.main}`
76
- }
32
+ "*::-webkit-scrollbar-track": {
33
+ backgroundColor: "transparent"
77
34
  },
78
- "& html": {
79
- fontSize: r.desktop,
80
- [t.breakpoints.down("sm")]: {
81
- fontSize: r.mobile
82
- }
35
+ "*::-webkit-scrollbar-thumb": {
36
+ backgroundColor: `${t.vars.palette.default.focusOpacity}!important`,
37
+ borderRadius: `${t.vars.size.borderRadius["r0-5"]}!important`
83
38
  },
84
- // Global styles for native tags html
85
- img: {
86
- width: "100%"
39
+ "input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active": {
40
+ color: t.vars.palette.text.primary
87
41
  },
88
- // Global styles for native tags h1, h2, h3, h4, h5, h6
89
- "h1, h2, h3, h4, h5, h6, p": {
90
- margin: "unset"
42
+ "& #root": {
43
+ width: "100%",
44
+ height: "100%"
45
+ }
46
+ },
47
+ "#nprogress": {
48
+ pointerEvents: "none",
49
+ "& .bar": {
50
+ top: 0,
51
+ left: 0,
52
+ height: 2,
53
+ width: "100%",
54
+ position: "fixed",
55
+ zIndex: t.zIndex.snackbar,
56
+ backgroundColor: t.vars.palette.primary.main,
57
+ boxShadow: `0 0 2px ${t.vars.palette.primary.main}`
58
+ },
59
+ "& .peg": {
60
+ right: 0,
61
+ opacity: 1,
62
+ width: 100,
63
+ height: "100%",
64
+ display: "block",
65
+ position: "absolute",
66
+ transform: "rotate(3deg) translate(0px, -4px)",
67
+ boxShadow: `0 0 10px ${t.vars.palette.primary.main}, 0 0 5px ${t.vars.palette.primary.main}`
68
+ }
69
+ },
70
+ "& html": {
71
+ fontSize: r.desktop,
72
+ [t.breakpoints.down("sm")]: {
73
+ fontSize: r.mobile
91
74
  }
75
+ },
76
+ // Global styles for native tags html
77
+ img: {
78
+ width: "100%"
79
+ },
80
+ // Global styles for native tags h1, h2, h3, h4, h5, h6
81
+ "h1, h2, h3, h4, h5, h6, p": {
82
+ margin: "unset"
92
83
  }
93
84
  }
94
- )
95
- ] });
85
+ }
86
+ ) });
96
87
  }
97
88
  export {
98
- w as GlobalStyles
89
+ b as GlobalStyles
99
90
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/graphics",
3
- "version": "7.2.3",
3
+ "version": "7.2.4-beta.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },