@zydon/common 2.6.56 → 2.6.57
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/{chunk-LZWFXQQ4.js → chunk-6SAPVUB2.js} +1 -1
- package/dist/chunk-VXXEMZWX.js +7 -0
- package/dist/components/Common/index.js +2 -2
- package/dist/components/ToggleTheme/index.js +1 -1
- package/dist/index.js +2 -2
- package/dist/theme/theme-provider.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-UQVGZSLE.js +0 -7
|
@@ -3,7 +3,7 @@ import { a as a$1, e } from './chunk-H7GUTAKH.js';
|
|
|
3
3
|
import { a as a$3, b } from './chunk-AIB3I5MO.js';
|
|
4
4
|
import { p, r, a as a$2 } from './chunk-HTXWJ57Q.js';
|
|
5
5
|
import { a as a$6 } from './chunk-GUFT6XPG.js';
|
|
6
|
-
import { a as a$5 } from './chunk-
|
|
6
|
+
import { a as a$5 } from './chunk-VXXEMZWX.js';
|
|
7
7
|
import { c as c$1, b as b$1 } from './chunk-FT5VGKNM.js';
|
|
8
8
|
import { c } from './chunk-V2UHZWRE.js';
|
|
9
9
|
import { a as a$4 } from './chunk-QQDMA4TE.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { b } from './chunk-FT5VGKNM.js';
|
|
2
|
+
import { useCallback, useEffect } from 'react';
|
|
3
|
+
import { useColorScheme } from '@mui/material/styles';
|
|
4
|
+
|
|
5
|
+
var S=t=>{typeof document<"u"&&document.documentElement.setAttribute("data-mui-color-scheme",t);};var a=()=>{let{mode:t,setMode:m}=useColorScheme(),{settings:{setColorScheme:r,colorScheme:e}}=b(),o=useCallback(c=>{r(c),m(c);},[m,r]);useEffect(()=>{e!==t&&o(e);},[e,t,o]);let h=useCallback(()=>{o(e==="light"?"dark":"light");},[e,o]);return {colorScheme:e,isDark:e==="dark",toggleTheme:h,setColorScheme:o}};
|
|
6
|
+
|
|
7
|
+
export { S as a, a as b };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a } from '../../chunk-5OJQUX2T.js';
|
|
2
2
|
import '../../chunk-SHNFHORM.js';
|
|
3
|
-
import { d as d$1 } from '../../chunk-
|
|
3
|
+
import { d as d$1 } from '../../chunk-6SAPVUB2.js';
|
|
4
4
|
import '../../chunk-SO64ZYQB.js';
|
|
5
5
|
import '../../chunk-H7GUTAKH.js';
|
|
6
6
|
import '../../chunk-AIB3I5MO.js';
|
|
7
7
|
import '../../chunk-CFVUZ4S5.js';
|
|
8
8
|
import '../../chunk-HTXWJ57Q.js';
|
|
9
9
|
import '../../chunk-GUFT6XPG.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-VXXEMZWX.js';
|
|
11
11
|
import '../../chunk-FT5VGKNM.js';
|
|
12
12
|
import { j } from '../../chunk-V2UHZWRE.js';
|
|
13
13
|
import '../../chunk-QQDMA4TE.js';
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { d as ThemeProvider, c as createTheme } from './chunk-
|
|
1
|
+
export { d as ThemeProvider, c as createTheme } from './chunk-6SAPVUB2.js';
|
|
2
2
|
import './chunk-SO64ZYQB.js';
|
|
3
3
|
export { b as defaultFont, c as primaryFont, d as secondaryFont, a as shadows, e as typography } from './chunk-H7GUTAKH.js';
|
|
4
4
|
import './chunk-AIB3I5MO.js';
|
|
5
5
|
import './chunk-CFVUZ4S5.js';
|
|
6
6
|
export { l as action, k as background, m as basePalette, p as colorSchemes, i as common, a as components, q as createShadowColor, r as customShadows, o as darkPalette, h as error, b as grey, e as info, n as lightPalette, c as primary, d as secondary, f as success, j as text, g as warning } from './chunk-HTXWJ57Q.js';
|
|
7
7
|
import './chunk-GUFT6XPG.js';
|
|
8
|
-
export { b as useThemeToggle } from './chunk-
|
|
8
|
+
export { b as useThemeToggle } from './chunk-VXXEMZWX.js';
|
|
9
9
|
export { c as SettingsProvider, b as useSettingsContext } from './chunk-FT5VGKNM.js';
|
|
10
10
|
export { p as bgBlur, o as bgGradient, n as borderGradient, i as createPaletteChannel, g as hexToRgbChannel, h as hexToRgbaChannel, k as hideScrollX, l as hideScrollY, q as maxLine, b as mediaQueries, s as menuItem, r as paper, e as pxToRem, d as remToPx, f as responsiveFontSizes, c as setFont, a as stylesMode, m as textGradient, j as varAlpha } from './chunk-V2UHZWRE.js';
|
|
11
11
|
import './chunk-QQDMA4TE.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { b as colorSchemeScript, d as default, a as schemeConfig } from '../chunk-
|
|
1
|
+
export { b as colorSchemeScript, d as default, a as schemeConfig } from '../chunk-6SAPVUB2.js';
|
|
2
2
|
import '../chunk-SO64ZYQB.js';
|
|
3
3
|
import '../chunk-H7GUTAKH.js';
|
|
4
4
|
import '../chunk-AIB3I5MO.js';
|
|
5
5
|
import '../chunk-CFVUZ4S5.js';
|
|
6
6
|
import '../chunk-HTXWJ57Q.js';
|
|
7
7
|
import '../chunk-GUFT6XPG.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-VXXEMZWX.js';
|
|
9
9
|
export { b as useSettingsContext } from '../chunk-FT5VGKNM.js';
|
|
10
10
|
import '../chunk-V2UHZWRE.js';
|
|
11
11
|
import '../chunk-QQDMA4TE.js';
|
package/package.json
CHANGED
package/dist/chunk-UQVGZSLE.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { b } from './chunk-FT5VGKNM.js';
|
|
2
|
-
import { useCallback, useEffect } from 'react';
|
|
3
|
-
import { useColorScheme } from '@mui/material/styles';
|
|
4
|
-
|
|
5
|
-
var u=e=>{typeof document<"u"&&document.documentElement.setAttribute("data-mui-color-scheme",e);},d=()=>typeof document<"u"?document.documentElement.getAttribute("data-mui-color-scheme"):"light",f=()=>{let{mode:e,setMode:m}=useColorScheme(),{settings:{setColorScheme:r,colorScheme:o}}=b(),t=useCallback(c=>{r(c),m(c);},[m,r]),h=useCallback(()=>{t(e==="light"?"dark":"light");},[e,t]);return useEffect(()=>{e===d()&&e===o||(t(o),u(o));},[e,t,o]),{colorScheme:o,isDark:e==="dark",toggleTheme:h,setColorScheme:t}};
|
|
6
|
-
|
|
7
|
-
export { u as a, f as b };
|