@m4l/graphics 7.3.1-beta-update-components-mui-version.0 → 7.5.0-beta-feature-731-m4l-components-code-editor.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.
- package/contexts/ThemeSettingsContext/store.d.ts.map +1 -1
- package/contexts/ThemeSettingsContext/store.js +79 -76
- package/hooks/index.d.ts +1 -0
- package/hooks/index.d.ts.map +1 -1
- package/hooks/useThemeMode/index.d.ts +6 -0
- package/hooks/useThemeMode/index.d.ts.map +1 -0
- package/hooks/useThemeMode/index.js +34 -0
- package/index.js +30 -28
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/contexts/ThemeSettingsContext/store.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,8BAA8B,EAC9B,6BAA6B,EAI9B,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/contexts/ThemeSettingsContext/store.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,8BAA8B,EAC9B,6BAA6B,EAI9B,MAAM,SAAS,CAAC;AAiHjB;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,GAAI,cAAc,8BAA8B;;;;;;;;CAwKpF,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -1,46 +1,49 @@
|
|
|
1
|
-
import { createStore as
|
|
2
|
-
import { devtools as
|
|
3
|
-
import { immer as
|
|
4
|
-
import { getPaletteByPreset as
|
|
5
|
-
import { alpha as
|
|
6
|
-
import { defaultThemeSettings as
|
|
7
|
-
function
|
|
8
|
-
const n = document
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { createStore as d } from "zustand";
|
|
2
|
+
import { devtools as u } from "zustand/middleware";
|
|
3
|
+
import { immer as a } from "zustand/middleware/immer";
|
|
4
|
+
import { getPaletteByPreset as f, createCustomShadows as y, shadows as g, typographyOld as U, getColorPresets as p } from "@m4l/styles";
|
|
5
|
+
import { alpha as s } from "@mui/system";
|
|
6
|
+
import { defaultThemeSettings as l } from "./constants.js";
|
|
7
|
+
function S(r, o = "m4l") {
|
|
8
|
+
const n = typeof document > "u" ? null : document.documentElement;
|
|
9
|
+
if (!n)
|
|
10
|
+
return;
|
|
11
|
+
const e = r?.palette?.mode;
|
|
12
|
+
o === "m4l" && (typeof e == "string" || typeof e == "number") && n.style.setProperty(`--${o}-mode`, e.toString()), Object.keys(r).forEach((t) => {
|
|
13
|
+
const i = r[t];
|
|
14
|
+
if (typeof i == "string" || typeof i == "number") {
|
|
15
|
+
const c = `--${o}-${t}`;
|
|
16
|
+
n.style.setProperty(c, i.toString());
|
|
17
|
+
} else typeof i == "object" && i !== null && S(i, `${o}-${t}`);
|
|
15
18
|
});
|
|
16
19
|
}
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
...
|
|
20
|
+
const m = (r) => {
|
|
21
|
+
const o = r.themeUserSettings || l, n = o.themeMode === "light", e = f(o.themeColor), t = n ? e.light : e.dark;
|
|
22
|
+
r.themeOptions = {
|
|
23
|
+
...r.themeOptions,
|
|
21
24
|
...U,
|
|
22
25
|
palette: {
|
|
23
|
-
...
|
|
24
|
-
...
|
|
26
|
+
...r.themeOptions?.palette ?? {},
|
|
27
|
+
...t
|
|
25
28
|
},
|
|
26
29
|
shape: { borderRadius: 8 },
|
|
27
|
-
direction:
|
|
28
|
-
shadows: n ?
|
|
30
|
+
direction: o.themeDirection,
|
|
31
|
+
shadows: n ? g.light : g.dark,
|
|
29
32
|
customShadows: {
|
|
30
|
-
primary: n ? `0 4px 8px -4px ${p(
|
|
31
|
-
0 2px 27px 2px ${p(
|
|
32
|
-
0 2px 27px 2px ${p(
|
|
33
|
-
...
|
|
34
|
-
primary2: n ? `0px 2px 3px 0px ${p(
|
|
33
|
+
primary: n ? `0 4px 8px -4px ${s(p(o.themeColor)?.enabledLight, 0.12)},
|
|
34
|
+
0 2px 27px 2px ${s(p(o.themeColor)?.enabledLight, 0.02)}` : `0 4px 8px -4px ${s(p(o.themeColor)?.enabledDark, 0.12)},
|
|
35
|
+
0 2px 27px 2px ${s(p(o.themeColor)?.enabledDark, 0.02)}`,
|
|
36
|
+
...y(o.themeMode),
|
|
37
|
+
primary2: n ? `0px 2px 3px 0px ${s(p(o.themeColor)?.hoverOpacityLight, 0.2)}` : `0px 2px 3px 0px ${s(p(o.themeColor)?.hoverOpacityDark, 0.2)}`
|
|
35
38
|
},
|
|
36
|
-
stretch:
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
...
|
|
39
|
+
stretch: o.themeStretch
|
|
40
|
+
}, S(r.themeOptions);
|
|
41
|
+
}, h = (r) => {
|
|
42
|
+
r.themeSettingsPersistFn?.(r.themeUserSettings);
|
|
43
|
+
}, M = (r) => d(
|
|
44
|
+
u(
|
|
45
|
+
a((o, n) => ({
|
|
46
|
+
...r,
|
|
44
47
|
settingsActions: {
|
|
45
48
|
/**
|
|
46
49
|
* Inicializa la tienda de configuración del tema
|
|
@@ -50,8 +53,8 @@ const h = (o) => {
|
|
|
50
53
|
* @updatedUser Juan Escobar - automatic
|
|
51
54
|
*/
|
|
52
55
|
init: () => {
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
o((e) => {
|
|
57
|
+
m(e);
|
|
55
58
|
});
|
|
56
59
|
},
|
|
57
60
|
/**
|
|
@@ -61,9 +64,9 @@ const h = (o) => {
|
|
|
61
64
|
* @updatedAt 2024-10-08 19:28:36 - automatic
|
|
62
65
|
* @updatedUser Juan Escobar - automatic
|
|
63
66
|
*/
|
|
64
|
-
setThemeSettings: (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
setThemeSettings: (e) => {
|
|
68
|
+
o((t) => {
|
|
69
|
+
t.themeUserSettings = { ...t.themeUserSettings, ...e }, h(t), m(t);
|
|
67
70
|
});
|
|
68
71
|
},
|
|
69
72
|
/**
|
|
@@ -73,12 +76,12 @@ const h = (o) => {
|
|
|
73
76
|
* @updatedAt 2024-10-08 19:28:36 - automatic
|
|
74
77
|
* @updatedUser Juan Escobar - automatic
|
|
75
78
|
*/
|
|
76
|
-
onChangeMode: (
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
...
|
|
80
|
-
themeMode:
|
|
81
|
-
},
|
|
79
|
+
onChangeMode: (e) => {
|
|
80
|
+
o((t) => {
|
|
81
|
+
e !== t.themeUserSettings.themeMode && (t.themeUserSettings = {
|
|
82
|
+
...t.themeUserSettings,
|
|
83
|
+
themeMode: e
|
|
84
|
+
}, h(t), m(t));
|
|
82
85
|
});
|
|
83
86
|
},
|
|
84
87
|
/**
|
|
@@ -89,8 +92,8 @@ const h = (o) => {
|
|
|
89
92
|
* @updatedUser Juan Escobar - automatic
|
|
90
93
|
*/
|
|
91
94
|
handleOpen: () => {
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
o((e) => {
|
|
96
|
+
e.open = !e.open;
|
|
94
97
|
});
|
|
95
98
|
},
|
|
96
99
|
/**
|
|
@@ -100,12 +103,12 @@ const h = (o) => {
|
|
|
100
103
|
* @updatedAt 2024-10-08 19:28:36 - automatic
|
|
101
104
|
* @updatedUser Juan Escobar - automatic
|
|
102
105
|
*/
|
|
103
|
-
onChangeDirection: (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
...
|
|
107
|
-
themeDirection:
|
|
108
|
-
},
|
|
106
|
+
onChangeDirection: (e) => {
|
|
107
|
+
o((t) => {
|
|
108
|
+
e !== t.themeUserSettings.themeDirection && (t.themeUserSettings = {
|
|
109
|
+
...t.themeUserSettings,
|
|
110
|
+
themeDirection: e
|
|
111
|
+
}, h(t), m(t));
|
|
109
112
|
});
|
|
110
113
|
},
|
|
111
114
|
/**
|
|
@@ -115,12 +118,12 @@ const h = (o) => {
|
|
|
115
118
|
* @updatedAt 2024-10-08 19:28:36 - automatic
|
|
116
119
|
* @updatedUser Juan Escobar - automatic
|
|
117
120
|
*/
|
|
118
|
-
onChangeColor: (
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
...
|
|
122
|
-
themeColor:
|
|
123
|
-
},
|
|
121
|
+
onChangeColor: (e) => {
|
|
122
|
+
o((t) => {
|
|
123
|
+
e !== t.themeUserSettings.themeColor && (t.themeUserSettings = {
|
|
124
|
+
...t.themeUserSettings,
|
|
125
|
+
themeColor: e
|
|
126
|
+
}, h(t), m(t));
|
|
124
127
|
});
|
|
125
128
|
},
|
|
126
129
|
/**
|
|
@@ -130,12 +133,12 @@ const h = (o) => {
|
|
|
130
133
|
* @updatedAt 2024-10-08 19:28:36 - automatic
|
|
131
134
|
* @updatedUser Juan Escobar - automatic
|
|
132
135
|
*/
|
|
133
|
-
onChangeLayout: (
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
...
|
|
137
|
-
themeLayout:
|
|
138
|
-
},
|
|
136
|
+
onChangeLayout: (e) => {
|
|
137
|
+
o((t) => {
|
|
138
|
+
t.themeUserSettings = {
|
|
139
|
+
...t.themeUserSettings,
|
|
140
|
+
themeLayout: e.target.value
|
|
141
|
+
}, h(t), m(t);
|
|
139
142
|
});
|
|
140
143
|
},
|
|
141
144
|
/**
|
|
@@ -146,11 +149,11 @@ const h = (o) => {
|
|
|
146
149
|
* @updatedUser Juan Escobar - automatic
|
|
147
150
|
*/
|
|
148
151
|
onToggleStretch: () => {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
...
|
|
152
|
-
themeStretch: !
|
|
153
|
-
},
|
|
152
|
+
o((e) => {
|
|
153
|
+
e.themeUserSettings = {
|
|
154
|
+
...e.themeUserSettings,
|
|
155
|
+
themeStretch: !e.themeUserSettings.themeStretch
|
|
156
|
+
}, h(e), m(e);
|
|
154
157
|
});
|
|
155
158
|
},
|
|
156
159
|
/**
|
|
@@ -161,10 +164,10 @@ const h = (o) => {
|
|
|
161
164
|
* @updatedUser Juan Escobar - automatic
|
|
162
165
|
*/
|
|
163
166
|
onResetSetting: () => {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
...
|
|
167
|
-
},
|
|
167
|
+
o((e) => {
|
|
168
|
+
e.themeUserSettings = {
|
|
169
|
+
...l
|
|
170
|
+
}, h(e), m(e);
|
|
168
171
|
});
|
|
169
172
|
}
|
|
170
173
|
}
|
|
@@ -173,5 +176,5 @@ const h = (o) => {
|
|
|
173
176
|
)
|
|
174
177
|
);
|
|
175
178
|
export {
|
|
176
|
-
|
|
179
|
+
M as createThemeSettingsStore
|
|
177
180
|
};
|
package/hooks/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { useOffSetTop } from './useOffSetTop';
|
|
|
10
10
|
export { useHostTheme } from './useHostTheme';
|
|
11
11
|
export { useResizeObserver } from './useResizeObserver';
|
|
12
12
|
export { useResponsiveDesktop } from './useResponsive';
|
|
13
|
+
export { useThemeMode } from './useThemeMode';
|
|
13
14
|
export { useThemeSettingsStore } from './useThemSettingsStore';
|
|
14
15
|
export { usePaginate } from './usePaginate';
|
|
15
16
|
export { useRows } from './useRows';
|
package/hooks/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/graphics/src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/graphics/src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/graphics/src/hooks/useThemeMode/index.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAiDzC;;GAEG;AACH,wBAAgB,YAAY,IAAI,SAAS,CAMxC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { useSyncExternalStore as u } from "react";
|
|
2
|
+
const d = "--m4l-mode", o = "light";
|
|
3
|
+
function i(e) {
|
|
4
|
+
return e?.trim() === "dark" ? "dark" : o;
|
|
5
|
+
}
|
|
6
|
+
function n() {
|
|
7
|
+
return typeof document > "u" || typeof window > "u" ? o : i(
|
|
8
|
+
window.getComputedStyle(document.documentElement).getPropertyValue(d)
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
function m(e) {
|
|
12
|
+
if (typeof document > "u" || typeof MutationObserver > "u")
|
|
13
|
+
return () => {
|
|
14
|
+
};
|
|
15
|
+
const r = document.documentElement, t = new MutationObserver(() => {
|
|
16
|
+
e();
|
|
17
|
+
});
|
|
18
|
+
return t.observe(r, {
|
|
19
|
+
attributes: !0,
|
|
20
|
+
attributeFilter: ["style", "data-mui-color-scheme"]
|
|
21
|
+
}), () => {
|
|
22
|
+
t.disconnect();
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function s() {
|
|
26
|
+
return u(
|
|
27
|
+
m,
|
|
28
|
+
n,
|
|
29
|
+
n
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
s as useThemeMode
|
|
34
|
+
};
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { GlobalStyles as
|
|
1
|
+
import { GlobalStyles as r } from "./components/GlobalStyles/index.js";
|
|
2
2
|
import { M4L_CHROMATIC_AUTOFILL as p, getInputAutofillBodyNestedStyles as m, getInputAutofillKeyframeStyles as n } from "./components/GlobalStyles/getInputAutofillGlobalStyles.js";
|
|
3
3
|
import { getLocaleFromNetwork as x } from "./contexts/LocalesContext/helper.js";
|
|
4
4
|
import { FormatterContext as i, FormatterProvider as a } from "./contexts/FormatterContext/index.js";
|
|
5
|
-
import { AppearanceComponentContext as
|
|
6
|
-
import { createAppearanceComponentStore as
|
|
5
|
+
import { AppearanceComponentContext as C, AppearanceComponentProvider as S } from "./contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
6
|
+
import { createAppearanceComponentStore as l } from "./contexts/AppearanceComponentContext/AppearanceComponentStore.js";
|
|
7
7
|
import { useAppearanceComponentStore as A } from "./contexts/AppearanceComponentContext/useAppearanceComponentStore.js";
|
|
8
|
-
import { LocalesContext as
|
|
8
|
+
import { LocalesContext as h, LocalesProvider as v } from "./contexts/LocalesContext/index.js";
|
|
9
9
|
import { ResponsiveContainerContext as y, ResponsiveContainerProvider as R } from "./contexts/ResponsiveContainerContext/index.js";
|
|
10
10
|
import { HostThemeContext as P, HostThemeProvider as F } from "./contexts/HostThemeContext/index.js";
|
|
11
|
-
import { DeviceTypeContext as
|
|
11
|
+
import { DeviceTypeContext as M, DeviceTypeProvider as b } from "./contexts/DeviceTypeContext/index.js";
|
|
12
12
|
import { KEY_LOCAL_STORAGE_THEME_SETTINGS as E, defaultThemeSettings as O } from "./contexts/ThemeSettingsContext/constants.js";
|
|
13
13
|
import { ThemeSettingsContext as H, ThemeSettingsProvider as W } from "./contexts/ThemeSettingsContext/ThemeSettingsContext.js";
|
|
14
14
|
import { WithAppearanceContext as z } from "./decorators/WithAppearanceContext/WithAppearanceContext.js";
|
|
@@ -20,32 +20,33 @@ import { useComponentSize as Q } from "./hooks/useComponentSize/useComponentSize
|
|
|
20
20
|
import { useFormatter as X } from "./hooks/useFormatter/index.js";
|
|
21
21
|
import { useIsMountedRef as $ } from "./hooks/useIsMountedRef/index.js";
|
|
22
22
|
import { useLocales as oe } from "./hooks/useLocales/index.js";
|
|
23
|
-
import { useResponsiveContainerStore as
|
|
23
|
+
import { useResponsiveContainerStore as te } from "./hooks/useResponsiveContainer/index.js";
|
|
24
24
|
import { useUserAgent as me } from "./hooks/useUserAgent/index.js";
|
|
25
25
|
import { useIsMobile as se } from "./hooks/useIsMobile/index.js";
|
|
26
26
|
import { useOffSetTop as fe } from "./hooks/useOffSetTop.js";
|
|
27
27
|
import { useHostTheme as ae } from "./hooks/useHostTheme/index.js";
|
|
28
|
-
import { useResizeObserver as
|
|
29
|
-
import { useResponsiveDesktop as
|
|
30
|
-
import {
|
|
28
|
+
import { useResizeObserver as Ce } from "./hooks/useResizeObserver/index.js";
|
|
29
|
+
import { useResponsiveDesktop as Te } from "./hooks/useResponsive/index.js";
|
|
30
|
+
import { useThemeMode as ce } from "./hooks/useThemeMode/index.js";
|
|
31
|
+
import { useThemeSettingsStore as de } from "./hooks/useThemSettingsStore/index.js";
|
|
31
32
|
import { usePaginate as ve } from "./hooks/usePaginate/index.js";
|
|
32
|
-
import { useRows as
|
|
33
|
-
import { capitalize as
|
|
34
|
-
import { getAnchorElPositionWindow as
|
|
35
|
-
import { getContrastTextColor as
|
|
33
|
+
import { useRows as ye } from "./hooks/useRows/index.js";
|
|
34
|
+
import { capitalize as Le } from "./utils/strings.js";
|
|
35
|
+
import { getAnchorElPositionWindow as Fe } from "./utils/anchorEl.js";
|
|
36
|
+
import { getContrastTextColor as Me } from "./utils/getContrastTextColor/getContrastTextColor.js";
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
C as AppearanceComponentContext,
|
|
38
39
|
S as AppearanceComponentProvider,
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
M as DeviceTypeContext,
|
|
41
|
+
b as DeviceTypeProvider,
|
|
41
42
|
i as FormatterContext,
|
|
42
43
|
a as FormatterProvider,
|
|
43
|
-
|
|
44
|
+
r as GlobalStyles,
|
|
44
45
|
P as HostThemeContext,
|
|
45
46
|
F as HostThemeProvider,
|
|
46
47
|
E as KEY_LOCAL_STORAGE_THEME_SETTINGS,
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
h as LocalesContext,
|
|
49
|
+
v as LocalesProvider,
|
|
49
50
|
p as M4L_CHROMATIC_AUTOFILL,
|
|
50
51
|
K as MFAppStorybook,
|
|
51
52
|
G as MFIsolationAppStorybook,
|
|
@@ -55,12 +56,12 @@ export {
|
|
|
55
56
|
W as ThemeSettingsProvider,
|
|
56
57
|
z as WithAppearanceContext,
|
|
57
58
|
B as WithStorybookThemeContext,
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
Le as capitalize,
|
|
60
|
+
l as createAppearanceComponentStore,
|
|
60
61
|
Y as createWithStorybookThemeContext,
|
|
61
62
|
O as defaultThemeSettings,
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
Fe as getAnchorElPositionWindow,
|
|
64
|
+
Me as getContrastTextColor,
|
|
64
65
|
m as getInputAutofillBodyNestedStyles,
|
|
65
66
|
n as getInputAutofillKeyframeStyles,
|
|
66
67
|
x as getLocaleFromNetwork,
|
|
@@ -74,10 +75,11 @@ export {
|
|
|
74
75
|
oe as useLocales,
|
|
75
76
|
fe as useOffSetTop,
|
|
76
77
|
ve as usePaginate,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
ce as
|
|
78
|
+
Ce as useResizeObserver,
|
|
79
|
+
te as useResponsiveContainerStore,
|
|
80
|
+
Te as useResponsiveDesktop,
|
|
81
|
+
ye as useRows,
|
|
82
|
+
ce as useThemeMode,
|
|
83
|
+
de as useThemeSettingsStore,
|
|
82
84
|
me as useUserAgent
|
|
83
85
|
};
|