@m4l/graphics 7.2.14 → 7.3.0-beta-feature-728-m4l-components-rhf-image-selector.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,4 +1,4 @@
1
- import { ExtendedTheme } from './getDateRangePickerPopupGlobalStyles';
1
+ import { ExtendedTheme } from './types';
2
2
  /**
3
3
  * Data attribute for Storybook / Chromatic when real `:-webkit-autofill` cannot be triggered.
4
4
  * Must stay in sync with the `:-webkit-autofill` rules in this file.
@@ -1 +1 @@
1
- {"version":3,"file":"getInputAutofillGlobalStyles.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/getInputAutofillGlobalStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAE3E;;;GAGG;AACH,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AA0BpE;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,aAAa;;;;;;EAQlE;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DpE"}
1
+ {"version":3,"file":"getInputAutofillGlobalStyles.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/getInputAutofillGlobalStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AA0BpE;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,aAAa;;;;;;EAQlE;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DpE"}
@@ -1,4 +1,4 @@
1
- import { ExtendedTheme } from './getDateRangePickerPopupGlobalStyles';
1
+ import { ExtendedTheme } from './types';
2
2
  /**
3
3
  * Hybrid scrollbar styling for a **consistent gutter/thumb on Chromium/WebKit** (Chrome, Edge, Opera,
4
4
  * Safari) via `::-webkit-scrollbar*` pseudo-elements, plus **Firefox-only** `scrollbar-color` /
@@ -1 +1 @@
1
- {"version":3,"file":"getScrollbarHoverRevealGlobalStyles.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/getScrollbarHoverRevealGlobalStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAE3E;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqDvE"}
1
+ {"version":3,"file":"getScrollbarHoverRevealGlobalStyles.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/getScrollbarHoverRevealGlobalStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqDvE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/index.tsx"],"names":[],"mappings":"AAcA;;;;;;GAMG;AACH,wBAAgB,YAAY,qDAwF3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/index.tsx"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH,wBAAgB,YAAY,qDA+E3B"}
@@ -1,25 +1,23 @@
1
1
  import { jsx as t, Fragment as r } from "@emotion/react/jsx-runtime";
2
- import { useTheme as a } from "@mui/material/styles";
3
- import { GlobalStyles as i } from "@mui/material";
2
+ import { useTheme as i } from "@mui/material/styles";
3
+ import { GlobalStyles as a } from "@mui/material";
4
4
  import { globalRemSize as o } from "@m4l/styles";
5
- import { getDateRangePickerPopupGlobalStyles as n } from "./getDateRangePickerPopupGlobalStyles.js";
6
5
  import { getScrollbarHoverRevealGlobalStyles as l } from "./getScrollbarHoverRevealGlobalStyles.js";
7
- import { getInputAutofillBodyNestedStyles as p, getInputAutofillKeyframeStyles as s } from "./getInputAutofillGlobalStyles.js";
8
- function x() {
9
- const e = a();
6
+ import { getInputAutofillBodyNestedStyles as n, getInputAutofillKeyframeStyles as p } from "./getInputAutofillGlobalStyles.js";
7
+ function y() {
8
+ const e = i();
10
9
  return /* @__PURE__ */ t(r, { children: /* @__PURE__ */ t(
11
- i,
10
+ a,
12
11
  {
13
12
  styles: {
14
- ...n(e),
15
13
  ...l(e),
16
- ...s(e),
14
+ ...p(e),
17
15
  // box-sizing is not inherited; apply to all elements so layout matches previous CssBaseline-like behavior
18
16
  "*, *::before, *::after": {
19
17
  boxSizing: "border-box"
20
18
  },
21
19
  body: {
22
- ...p(e),
20
+ ...n(e),
23
21
  fontFamily: 'Inter, "Segoe UI", Roboto, "Helvetica Neue", sans-serif, Open Sans',
24
22
  fontSize: e.typography.body1.fontSize,
25
23
  lineHeight: e.typography.body1.lineHeight,
@@ -28,12 +26,6 @@ function x() {
28
26
  width: "100%",
29
27
  height: "100vh",
30
28
  backgroundColor: e.vars.palette.background.default,
31
- ".rs-drawer .rs-drawer-dialog": {
32
- backgroundColor: "transparent!important"
33
- },
34
- ".rs-picker-popup": {
35
- zIndex: e.vars.zIndex.modal || 1300
36
- },
37
29
  "#rootIsolation": {
38
30
  width: "100vw",
39
31
  height: "100vh"
@@ -85,5 +77,5 @@ function x() {
85
77
  ) });
86
78
  }
87
79
  export {
88
- x as GlobalStyles
80
+ y as GlobalStyles
89
81
  };
@@ -0,0 +1,21 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ /**
3
+ * Extend the shared MUI theme with the runtime tokens used by graphics global styles.
4
+ */
5
+ export type ExtendedTheme = Theme & {
6
+ vars: {
7
+ size: {
8
+ [key: string]: {
9
+ [key: string]: {
10
+ [key: string]: string | number;
11
+ };
12
+ };
13
+ };
14
+ palette: Record<string, any>;
15
+ customShadows: Record<string, any>;
16
+ };
17
+ generalSettings: {
18
+ isMobile: boolean;
19
+ };
20
+ };
21
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/components/GlobalStyles/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD;;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"}
@@ -1 +1 @@
1
- {"version":3,"file":"MFIsolationAppStorybook.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/decorators/MFIsolationAppStorybook/MFIsolationAppStorybook.tsx"],"names":[],"mappings":"AAIA,OAAO,wBAAwB,CAAC;AAkBhC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAkC5D;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,oDAgI1E"}
1
+ {"version":3,"file":"MFIsolationAppStorybook.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/decorators/MFIsolationAppStorybook/MFIsolationAppStorybook.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAkC5D;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,oDAgI1E"}
@@ -3,7 +3,6 @@ import { useMemo as i, useId as H, useCallback as c } from "react";
3
3
  import { createBrowserHistory as M } from "history";
4
4
  import x from "eventemitter3";
5
5
  import v from "nprogress";
6
- /* empty css */
7
6
  import { EnvironmentProvider as B, HostToolsProvider as D, NetworkProvider as N, axiosOperation as j } from "@m4l/core";
8
7
  import { STORYBOOK_LOCALE_HOST_EN as K } from "./constants.js";
9
8
  import { DeviceTypeProvider as W } from "../../contexts/DeviceTypeContext/index.js";
@@ -22,7 +21,7 @@ function Q(o, a, p) {
22
21
  o
23
22
  );
24
23
  }
25
- function po(o) {
24
+ function ao(o) {
26
25
  const {
27
26
  children: a,
28
27
  database: p = "domain",
@@ -107,5 +106,5 @@ function po(o) {
107
106
  return /* @__PURE__ */ t(B, { ...I, children: /* @__PURE__ */ t(D, { ...O, children: /* @__PURE__ */ t(N, { axiosOperation: j, children: /* @__PURE__ */ t(W, { forcedDeviceType: C, children: /* @__PURE__ */ t(Y, { children: /* @__PURE__ */ t($, { children: /* @__PURE__ */ t(q, { isMicroFrontEnd: !0, localeHost: K, children: /* @__PURE__ */ t(z, { children: F }) }) }) }) }) }) }) });
108
107
  }
109
108
  export {
110
- po as MFIsolationAppStorybook
109
+ ao as MFIsolationAppStorybook
111
110
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/graphics",
3
- "version": "7.2.14",
3
+ "version": "7.3.0-beta-feature-728-m4l-components-rhf-image-selector.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -41,7 +41,7 @@
41
41
  "@m4l/core": "^2.0.33",
42
42
  "@m4l/styles": "^7.1.48",
43
43
  "@emotion/react": "11.14.0",
44
- "@mui/material": "5.16.7",
44
+ "@mui/material": "patch:@mui/material@npm%3A5.16.7#~/.yarn/patches/@mui-material-npm-5.16.7-7070122752.patch",
45
45
  "date-fns": "2.30.0",
46
46
  "react": "19.2.4",
47
47
  "zustand": "4.3.6",