@m4l/graphics 0.1.36 → 0.1.38
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/components/{ProgressBarStyle/index.fb6fd9ed.js → GlobalStyle/index.30beab6e.js} +12 -5
- package/components/GlobalStyles/index.d.ts +1 -0
- package/components/{index.80514d59.js → index.8083534b.js} +1 -0
- package/components/index.d.ts +1 -1
- package/contexts/HostThemeContext/{index.1876eb9a.js → index.a6a62c70.js} +1 -1
- package/contexts/HostThemeContext/types.d.ts +1 -1
- package/contexts/{index.4570a1cb.js → index.84089632.js} +1 -1
- package/hooks/{index.2fe4bbf1.js → index.a4ef9776.js} +1 -1
- package/index.js +18 -18
- package/package.json +1 -1
- package/components/ProgressBarStyle/index.d.ts +0 -2
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { useTheme as e } from "@mui/material/styles";
|
|
2
|
-
import { GlobalStyles as
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import { GlobalStyles as a } from "@mui/material";
|
|
3
|
+
import { globalRemSize as o } from "@m4l/styles";
|
|
4
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
5
|
+
function s() {
|
|
5
6
|
const t = e();
|
|
6
|
-
return /* @__PURE__ */
|
|
7
|
+
return console.log("test spacing formula ", t.spacing(1)), /* @__PURE__ */ i(a, {
|
|
7
8
|
styles: {
|
|
8
9
|
"#nprogress": {
|
|
9
10
|
pointerEvents: "none",
|
|
@@ -27,10 +28,16 @@ function n() {
|
|
|
27
28
|
transform: "rotate(3deg) translate(0px, -4px)",
|
|
28
29
|
boxShadow: `0 0 10px ${t.palette.primary.main}, 0 0 5px ${t.palette.primary.main}`
|
|
29
30
|
}
|
|
31
|
+
},
|
|
32
|
+
"& html": {
|
|
33
|
+
fontSize: o.desktop,
|
|
34
|
+
[t.breakpoints.down("sm")]: {
|
|
35
|
+
fontSize: o.mobile
|
|
36
|
+
}
|
|
30
37
|
}
|
|
31
38
|
}
|
|
32
39
|
});
|
|
33
40
|
}
|
|
34
41
|
export {
|
|
35
|
-
|
|
42
|
+
s as G
|
|
36
43
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function GlobalStyles(): JSX.Element;
|
package/components/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { GlobalStyles } from './GlobalStyles';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createContext as H, useState as E, useMemo as v, useCallback as M, useEffect as c } from "react";
|
|
2
2
|
import { CssBaseline as C } from "@mui/material";
|
|
3
|
-
import { createTheme as O, StyledEngineProvider as N, ThemeProvider as S } from "@
|
|
3
|
+
import { createTheme as O, StyledEngineProvider as N, ThemeProvider as S } from "@mui/material/styles";
|
|
4
4
|
import { useHostTools as x, EmitEvents as o } from "@m4l/core";
|
|
5
5
|
import { jsx as n, jsxs as F } from "react/jsx-runtime";
|
|
6
6
|
const I = H(null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useRef as n, useEffect as s, useState as u, useContext as f } from "react";
|
|
2
|
-
import { H as i } from "../contexts/HostThemeContext/index.
|
|
2
|
+
import { H as i } from "../contexts/HostThemeContext/index.a6a62c70.js";
|
|
3
3
|
import "../contexts/FormatterContext/index.92336f4c.js";
|
|
4
4
|
import "../contexts/LocalesContext/index.3fcfbe02.js";
|
|
5
5
|
import "@mui/material/styles";
|
package/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as n } from "./components/GlobalStyle/index.30beab6e.js";
|
|
2
2
|
import { F as d, a as F } from "./contexts/FormatterContext/index.92336f4c.js";
|
|
3
|
-
import { L as
|
|
4
|
-
import { H as
|
|
3
|
+
import { L as v, a as C, g as L } from "./contexts/LocalesContext/index.3fcfbe02.js";
|
|
4
|
+
import { H as h, a as H } from "./contexts/HostThemeContext/index.a6a62c70.js";
|
|
5
5
|
import { u as R } from "./hooks/useFirstRender/index.1e9b02fb.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import { b as
|
|
8
|
-
import { u as
|
|
6
|
+
import { u as b } from "./hooks/useFormatter/index.57ac8cca.js";
|
|
7
|
+
import { b as w, u as G, a as S } from "./hooks/index.a4ef9776.js";
|
|
8
|
+
import { u as z } from "./hooks/useLocales/index.8154a401.js";
|
|
9
9
|
import { u as D, a as E } from "./hooks/useResponsive/index.fc5e1b4f.js";
|
|
10
10
|
import { C as M, g as N } from "./utils/index.6909c662.js";
|
|
11
11
|
import "@mui/material/styles";
|
|
12
12
|
import "@mui/material";
|
|
13
|
+
import "@m4l/styles";
|
|
13
14
|
import "react/jsx-runtime";
|
|
14
15
|
import "react";
|
|
15
16
|
import "@m4l/core";
|
|
16
17
|
import "@mui/x-date-pickers/AdapterDateFns";
|
|
17
18
|
import "@mui/x-date-pickers";
|
|
18
19
|
import "date-fns/locale/en-US";
|
|
19
|
-
import "@m4l/styles";
|
|
20
20
|
import "@mui/material/useMediaQuery";
|
|
21
21
|
export {
|
|
22
22
|
M as Capitalize,
|
|
23
23
|
d as FormatterContext,
|
|
24
24
|
F as FormatterProvider,
|
|
25
|
-
|
|
26
|
-
h as
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
n as GlobalStyles,
|
|
26
|
+
h as HostThemeContext,
|
|
27
|
+
H as HostThemeProvider,
|
|
28
|
+
v as LocalesContext,
|
|
29
|
+
C as LocalesProvider,
|
|
30
30
|
N as getAnchorElPositionWindow,
|
|
31
|
-
|
|
31
|
+
L as getLocaleFromNetwork,
|
|
32
32
|
R as useFirstRender,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
b as useFormatter,
|
|
34
|
+
w as useHostTheme,
|
|
35
|
+
G as useIsMountedRef,
|
|
36
|
+
z as useLocales,
|
|
37
|
+
S as useOffSetTop,
|
|
38
38
|
D as useResponsive,
|
|
39
39
|
E as useResponsiveDesktop
|
|
40
40
|
};
|
package/package.json
CHANGED