mayak-common-library 0.0.21 → 0.0.22
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/dist/index.js +2 -2
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -631,7 +631,7 @@ var _theme = {
|
|
|
631
631
|
};
|
|
632
632
|
|
|
633
633
|
// src/theme/index.tsx
|
|
634
|
-
var
|
|
634
|
+
var import_styles3 = require("@mui/material/styles");
|
|
635
635
|
function ThemeRegistry(props) {
|
|
636
636
|
const { children } = props;
|
|
637
637
|
const [{ cache, flush }] = (0, import_react6.useState)(() => {
|
|
@@ -678,7 +678,7 @@ function ThemeRegistry(props) {
|
|
|
678
678
|
}
|
|
679
679
|
);
|
|
680
680
|
});
|
|
681
|
-
return /* @__PURE__ */ React.createElement(
|
|
681
|
+
return /* @__PURE__ */ React.createElement(import_styles3.StyledEngineProvider, { injectFirst: true }, /* @__PURE__ */ React.createElement(import_react7.CacheProvider, { value: cache }, /* @__PURE__ */ React.createElement(import_ThemeProvider.default, { theme }, /* @__PURE__ */ React.createElement(import_CssBaseline.default, null), children)));
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
// src/providers/Providers.tsx
|
package/dist/index.mjs
CHANGED
|
@@ -535,7 +535,7 @@ var FromToInput = ({ label }) => {
|
|
|
535
535
|
var FromToInput_default = FromToInput;
|
|
536
536
|
|
|
537
537
|
// src/theme/index.tsx
|
|
538
|
-
import {
|
|
538
|
+
import { useMemo, useState as useState3 } from "react";
|
|
539
539
|
import createCache from "@emotion/cache";
|
|
540
540
|
import { useServerInsertedHTML } from "next/navigation";
|
|
541
541
|
import { CacheProvider } from "@emotion/react";
|
|
@@ -581,7 +581,7 @@ var _theme = {
|
|
|
581
581
|
};
|
|
582
582
|
|
|
583
583
|
// src/theme/index.tsx
|
|
584
|
-
|
|
584
|
+
import { StyledEngineProvider } from "@mui/material/styles";
|
|
585
585
|
function ThemeRegistry(props) {
|
|
586
586
|
const { children } = props;
|
|
587
587
|
const [{ cache, flush }] = useState3(() => {
|
|
@@ -628,7 +628,7 @@ function ThemeRegistry(props) {
|
|
|
628
628
|
}
|
|
629
629
|
);
|
|
630
630
|
});
|
|
631
|
-
return /* @__PURE__ */ React.createElement(
|
|
631
|
+
return /* @__PURE__ */ React.createElement(StyledEngineProvider, { injectFirst: true }, /* @__PURE__ */ React.createElement(CacheProvider, { value: cache }, /* @__PURE__ */ React.createElement(ThemeProvider, { theme }, /* @__PURE__ */ React.createElement(CssBaseline, null), children)));
|
|
632
632
|
}
|
|
633
633
|
|
|
634
634
|
// src/providers/Providers.tsx
|