@zydon/common 2.7.9 → 2.7.11
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-XAH3BFFE.js → chunk-677WKIPE.js} +1 -1
- package/dist/{chunk-3IPWUPD7.js → chunk-6LVV2OOJ.js} +1 -1
- package/dist/{chunk-2SUTVMCJ.js → chunk-N2DMNLAX.js} +1 -1
- package/dist/chunk-OBYJ5SJ2.js +5 -0
- package/dist/chunk-XCJL6W4A.js +16 -0
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/AvatarButton/index.js +3 -4
- package/dist/components/Common/index.js +1 -2
- package/dist/components/DataView/index.js +1 -1
- package/dist/components/ListBundles/index.js +1 -1
- package/dist/components/Result/index.d.ts +5 -3
- package/dist/components/Result/index.js +1 -1
- package/dist/components/SelectableCards/index.js +2 -2
- package/dist/components/SwapList/index.js +1 -1
- package/dist/components/ToggleTheme/index.js +3 -4
- package/dist/components/form/SelectableCards/index.js +2 -2
- package/dist/hooks/useThemeToggle.js +2 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -3
- package/dist/theme/core/index.d.ts +1 -1
- package/dist/theme/styles/index.d.ts +13 -13
- package/dist/theme/theme-provider.js +1 -2
- package/package.json +1 -1
- package/dist/chunk-JQ252Y2Q.js +0 -17
- package/dist/chunk-TWGGHTU5.js +0 -5
- package/dist/{index-8a737d25.d.ts → index-3e407e51.d.ts} +12 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as a$4 } from './chunk-INPRA4JV.js';
|
|
2
2
|
import { a as a$1 } from './chunk-URVMF4MW.js';
|
|
3
|
-
import { a as a$3 } from './chunk-
|
|
3
|
+
import { a as a$3 } from './chunk-OBYJ5SJ2.js';
|
|
4
4
|
import { a as a$2 } from './chunk-26GV7WKC.js';
|
|
5
5
|
import { a as a$5 } from './chunk-WIJV4EHZ.js';
|
|
6
6
|
import { useState } from 'react';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
var l=({isFetching:e,fetching:n,isLoading:u,loading:f,anError:a,error:s,isEmpty:p,empty:d,data:t,children:r})=>{if(u)return f||"Carregando...";if(a)return s||"Error";if(p)return d||"Nenhum resultado";let i=t!==void 0&&typeof r=="function"?r(t):r;return jsxs(Fragment,{children:[e&&jsx(Fragment,{children:n||"Carregando..."}),i]})},m=l;
|
|
4
|
+
|
|
5
|
+
export { m as a };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { a } from './chunk-SO64ZYQB.js';
|
|
2
|
+
import { a as a$6 } from './chunk-GUFT6XPG.js';
|
|
3
|
+
import { c, b as b$1 } from './chunk-TYA2RDQJ.js';
|
|
4
|
+
import { a as a$1, e } from './chunk-K25VBEKK.js';
|
|
5
|
+
import { a as a$3, b } from './chunk-RRH2346R.js';
|
|
6
|
+
import { p, r, a as a$2 } from './chunk-YKX5RVAJ.js';
|
|
7
|
+
import { d, a as a$4 } from './chunk-7J53ZUIF.js';
|
|
8
|
+
import { a as a$5 } from './chunk-QQDMA4TE.js';
|
|
9
|
+
import { useMemo, useRef, useEffect } from 'react';
|
|
10
|
+
import D from '@mui/material/CssBaseline';
|
|
11
|
+
import { experimental_extendTheme, lighten, darken, Experimental_CssVarsProvider } from '@mui/material/styles';
|
|
12
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
13
|
+
|
|
14
|
+
var W=({scopeId:t,colorScheme:o,children:r})=>{let e=useRef(null);return useEffect(()=>{e.current&&o&&e.current.setAttribute("data-mui-color-scheme",o);},[o]),t?jsx("div",{ref:e,id:t,"data-theme-scope":!0,style:{isolation:"isolate",width:"100%",height:"100%",display:"contents"},children:r}):jsx(Fragment,{children:r})},A=W;var R=t=>({lighter:lighten(t,.815),light:lighten(t,.225),main:t,dark:darken(t,.15),darker:darken(t,.35),contrastText:"#000"});function V(t,o,r$1=""){let e$1=R(o.primaryColor);a(p,"dark.palette.primary",e$1),a(p,"light.palette.primary",e$1);let n={colorSchemes:p,shadows:a$1(o.colorScheme),customShadows:r(o.colorScheme,e$1.main),shape:{borderRadius:8},components:a$2,typography:{...e,fontFamily:d(o.fontFamily)},cssVarPrefix:r$1,shouldSkipGeneratingVar:z},a$4=a$3(n,o),m={};return experimental_extendTheme(a$4,t,b(o),m)}function z(t,o){let r=["mixins","overlays","direction","breakpoints","cssVarPrefix","unstable_sxConfig","typography","colorSchemes"],e={global:["tonalOffset","dividerChannel","contrastThreshold"],grey:["A100","A200","A400","A700"],text:["icon"]};if(t[0]==="palette"){let a=t[1],m=e[a]||e.global;return t.some(s=>m?.includes(s))}return t.some(a=>r?.includes(a))}var de=(t,o)=>{if(typeof document<"u")if(o){let r=document.getElementById(o);r?r.setAttribute(a$4.dataMuiColorScheme,t):console.warn(`ThemeScope: Container #${o} n\xE3o encontrado`);}else document.documentElement.setAttribute(a$4.dataMuiColorScheme,t);},H=({children:t,cssVarPrefix:o,scopeId:r})=>{let{settings:e}=b$1(),n=useMemo(()=>{let m=V(a$6[1].systemValue,{primaryColor:e.primaryColor,colorScheme:e.colorScheme,contrast:e.contrast,navLayout:e.navLayout,navColor:e.navColor,compactLayout:e.compactLayout,fontFamily:e.fontFamily,setColorScheme:e.setColorScheme},o),s=m.colorSchemes?.[e.colorScheme]?.palette;return s?m.palette=s:(m.palette=m.colorSchemes?.light?.palette||m.colorSchemes?.dark?.palette,m.palette.mode=e.colorScheme),m},[e,o]),a=useMemo(()=>({theme:n,mode:e.colorScheme,defaultMode:e.colorScheme,defaultColorScheme:e.colorScheme,modeStorageKey:r?`${a$4.modeStorageKey}-${r}`:a$4.modeStorageKey,colorSchemeStorageKey:r?`${a$4.modeStorageKey}-${r}`:a$4.modeStorageKey,attribute:a$4.dataMuiColorScheme}),[n,e.colorScheme,r]);return jsxs(Experimental_CssVarsProvider,{...a,children:[jsx(D,{}),t]})},N={serializer:t=>t.replaceAll('"',""),deserializer:t=>t.replaceAll('"',"")},O=({children:t,cssVarPrefix:o="app",primaryColor:r="#4E5BEC",fontFamily:e="Public Sans",compactLayout:n=!0,contrast:a="default",navColor:m="integrate",navLayout:s="vertical",colorScheme:h="light",scopeId:l})=>{let M=l?`${a$4.modeStorageKey}-${l}`:a$4.modeStorageKey,[,$]=a$5(M,h,N);return jsx(c,{primaryColor:r,fontFamily:e,compactLayout:n,contrast:a,navColor:m,navLayout:s,colorScheme:h,setColorScheme:$,scopeId:l,children:jsx(A,{scopeId:l,colorScheme:h,children:jsx(H,{cssVarPrefix:o,scopeId:l,children:t})})})};var ue=O;
|
|
15
|
+
|
|
16
|
+
export { V as a, de as b, ue as c };
|
|
@@ -11,7 +11,7 @@ interface ImageContainerProps {
|
|
|
11
11
|
|
|
12
12
|
declare const Avatar: react.ForwardRefExoticComponent<Omit<PropsWithChildren<ImageContainerProps & _mui_material_Avatar.AvatarOwnProps & _mui_material_Avatar.AvatarSlotsAndSlotProps & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
13
13
|
ref?: react.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
14
|
-
}, "children" | "style" | "className" | "classes" | "sx" | "variant" | "slots" | "slotProps" | "
|
|
14
|
+
}, "children" | "style" | "className" | "classes" | "sx" | "variant" | "slots" | "slotProps" | "sizes" | "alt" | "src" | "srcSet" | "imgProps"> & {
|
|
15
15
|
component?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
16
16
|
}>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as a$4 } from '../../chunk-FP2AYD66.js';
|
|
2
|
-
import { a as a$5 } from '../../chunk-
|
|
2
|
+
import { a as a$5 } from '../../chunk-677WKIPE.js';
|
|
3
3
|
import { a } from '../../chunk-X2EIL7EB.js';
|
|
4
4
|
import { a as a$2 } from '../../chunk-NF42ENKE.js';
|
|
5
5
|
import { a as a$3 } from '../../chunk-WIJV4EHZ.js';
|
|
6
6
|
import '../../chunk-FO7JCJ76.js';
|
|
7
7
|
import '../../chunk-C2JZG45F.js';
|
|
8
8
|
import { a as a$1 } from '../../chunk-ORYAES3Q.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-N2DMNLAX.js';
|
|
10
|
+
import '../../chunk-XCJL6W4A.js';
|
|
11
11
|
import '../../chunk-SO64ZYQB.js';
|
|
12
12
|
import '../../chunk-GUFT6XPG.js';
|
|
13
13
|
import '../../chunk-TYA2RDQJ.js';
|
|
@@ -16,7 +16,6 @@ import '../../chunk-RRH2346R.js';
|
|
|
16
16
|
import '../../chunk-CFVUZ4S5.js';
|
|
17
17
|
import '../../chunk-YKX5RVAJ.js';
|
|
18
18
|
import '../../chunk-7J53ZUIF.js';
|
|
19
|
-
import '../../chunk-S7QQBC4I.js';
|
|
20
19
|
import '../../chunk-QQDMA4TE.js';
|
|
21
20
|
import '../../chunk-Z2TDWMRU.js';
|
|
22
21
|
import '../../chunk-4INDXVIX.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a } from '../../chunk-WIJV4EHZ.js';
|
|
2
2
|
import '../../chunk-FO7JCJ76.js';
|
|
3
3
|
import '../../chunk-C2JZG45F.js';
|
|
4
|
-
import { c as c$1 } from '../../chunk-
|
|
4
|
+
import { c as c$1 } from '../../chunk-XCJL6W4A.js';
|
|
5
5
|
import '../../chunk-SO64ZYQB.js';
|
|
6
6
|
import '../../chunk-GUFT6XPG.js';
|
|
7
7
|
import '../../chunk-TYA2RDQJ.js';
|
|
@@ -10,7 +10,6 @@ import '../../chunk-RRH2346R.js';
|
|
|
10
10
|
import '../../chunk-CFVUZ4S5.js';
|
|
11
11
|
import '../../chunk-YKX5RVAJ.js';
|
|
12
12
|
import { k } from '../../chunk-7J53ZUIF.js';
|
|
13
|
-
import '../../chunk-S7QQBC4I.js';
|
|
14
13
|
import '../../chunk-QQDMA4TE.js';
|
|
15
14
|
import '../../chunk-Z2TDWMRU.js';
|
|
16
15
|
import '../../chunk-4INDXVIX.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as a$5 } from '../../chunk-URVMF4MW.js';
|
|
2
|
-
import { a as a$6 } from '../../chunk-
|
|
2
|
+
import { a as a$6 } from '../../chunk-OBYJ5SJ2.js';
|
|
3
3
|
import { a as a$2 } from '../../chunk-5YJTSVA2.js';
|
|
4
4
|
import { a } from '../../chunk-NPXVOPB2.js';
|
|
5
5
|
import { a as a$9 } from '../../chunk-T7AZE2TB.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as a$2 } from '../../chunk-Q7HPO5OB.js';
|
|
2
|
-
import { a as a$1 } from '../../chunk-
|
|
2
|
+
import { a as a$1 } from '../../chunk-OBYJ5SJ2.js';
|
|
3
3
|
import { o, a, f, k as k$1 } from '../../chunk-AJYSAO5N.js';
|
|
4
4
|
import '../../chunk-WIJV4EHZ.js';
|
|
5
5
|
import '../../chunk-FO7JCJ76.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ReactNode
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
4
|
|
|
5
|
-
interface ResultProps {
|
|
5
|
+
interface ResultProps<TData = unknown> {
|
|
6
6
|
isFetching?: boolean;
|
|
7
7
|
fetching?: ReactNode;
|
|
8
8
|
isLoading?: boolean;
|
|
@@ -11,8 +11,10 @@ interface ResultProps {
|
|
|
11
11
|
error?: ReactNode;
|
|
12
12
|
isEmpty?: boolean;
|
|
13
13
|
empty?: ReactNode;
|
|
14
|
+
data?: TData;
|
|
15
|
+
children?: ReactNode | ((data: TData) => ReactNode);
|
|
14
16
|
}
|
|
15
17
|
|
|
16
|
-
declare const Result: ({ isFetching, fetching, isLoading, loading, anError, error, isEmpty, empty, children, }:
|
|
18
|
+
declare const Result: <TData>({ isFetching, fetching, isLoading, loading, anError, error, isEmpty, empty, data, children, }: ResultProps<TData>) => string | number | true | Iterable<react.ReactNode> | react_jsx_runtime.JSX.Element;
|
|
17
19
|
|
|
18
20
|
export { Result as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-OBYJ5SJ2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-6LVV2OOJ.js';
|
|
2
2
|
import '../../chunk-INPRA4JV.js';
|
|
3
3
|
import '../../chunk-URVMF4MW.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-OBYJ5SJ2.js';
|
|
5
5
|
import '../../chunk-U26IUEAG.js';
|
|
6
6
|
import '../../chunk-26GV7WKC.js';
|
|
7
7
|
import '../../chunk-WIJV4EHZ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as a$2 } from '../../chunk-INPRA4JV.js';
|
|
2
2
|
import { a } from '../../chunk-URVMF4MW.js';
|
|
3
|
-
import { a as a$1 } from '../../chunk-
|
|
3
|
+
import { a as a$1 } from '../../chunk-OBYJ5SJ2.js';
|
|
4
4
|
import '../../chunk-U26IUEAG.js';
|
|
5
5
|
import { a as a$3 } from '../../chunk-26GV7WKC.js';
|
|
6
6
|
import { a as a$4 } from '../../chunk-WIJV4EHZ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-677WKIPE.js';
|
|
2
|
+
import '../../chunk-N2DMNLAX.js';
|
|
3
|
+
import '../../chunk-XCJL6W4A.js';
|
|
4
4
|
import '../../chunk-SO64ZYQB.js';
|
|
5
5
|
import '../../chunk-GUFT6XPG.js';
|
|
6
6
|
import '../../chunk-TYA2RDQJ.js';
|
|
@@ -9,7 +9,6 @@ import '../../chunk-RRH2346R.js';
|
|
|
9
9
|
import '../../chunk-CFVUZ4S5.js';
|
|
10
10
|
import '../../chunk-YKX5RVAJ.js';
|
|
11
11
|
import '../../chunk-7J53ZUIF.js';
|
|
12
|
-
import '../../chunk-S7QQBC4I.js';
|
|
13
12
|
import '../../chunk-QQDMA4TE.js';
|
|
14
13
|
import '../../chunk-Z2TDWMRU.js';
|
|
15
14
|
import '../../chunk-4INDXVIX.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a } from '../../../chunk-
|
|
1
|
+
import { a } from '../../../chunk-6LVV2OOJ.js';
|
|
2
2
|
import '../../../chunk-INPRA4JV.js';
|
|
3
3
|
import '../../../chunk-URVMF4MW.js';
|
|
4
|
-
import '../../../chunk-
|
|
4
|
+
import '../../../chunk-OBYJ5SJ2.js';
|
|
5
5
|
import '../../../chunk-U26IUEAG.js';
|
|
6
6
|
import '../../../chunk-26GV7WKC.js';
|
|
7
7
|
import '../../../chunk-WIJV4EHZ.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as useThemeToggle } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { a as useThemeToggle } from '../chunk-N2DMNLAX.js';
|
|
2
|
+
import '../chunk-XCJL6W4A.js';
|
|
3
3
|
import '../chunk-SO64ZYQB.js';
|
|
4
4
|
import '../chunk-GUFT6XPG.js';
|
|
5
5
|
import '../chunk-TYA2RDQJ.js';
|
|
@@ -8,7 +8,6 @@ import '../chunk-RRH2346R.js';
|
|
|
8
8
|
import '../chunk-CFVUZ4S5.js';
|
|
9
9
|
import '../chunk-YKX5RVAJ.js';
|
|
10
10
|
import '../chunk-7J53ZUIF.js';
|
|
11
|
-
import '../chunk-S7QQBC4I.js';
|
|
12
11
|
import '../chunk-QQDMA4TE.js';
|
|
13
12
|
import '../chunk-Z2TDWMRU.js';
|
|
14
13
|
import '../chunk-4INDXVIX.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CustomShadows } from './index-
|
|
2
|
-
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from './index-
|
|
1
|
+
import { C as CustomShadows } from './index-3e407e51.js';
|
|
2
|
+
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from './index-3e407e51.js';
|
|
3
3
|
export { S as SettingsContextValue, _ as SettingsProvider, T as ThemeProviderProps, u as useSettingsContext } from './settings-provider-918b7981.js';
|
|
4
4
|
export { default as ThemeProvider } from './theme/theme-provider.js';
|
|
5
5
|
import { S as SettingsState } from './settings-d0cceb05.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as useThemeToggle } from './chunk-
|
|
2
|
-
export { c as ThemeProvider, a as createTheme } from './chunk-
|
|
1
|
+
export { a as useThemeToggle } from './chunk-N2DMNLAX.js';
|
|
2
|
+
export { c as ThemeProvider, a as createTheme } from './chunk-XCJL6W4A.js';
|
|
3
3
|
import './chunk-SO64ZYQB.js';
|
|
4
4
|
import './chunk-GUFT6XPG.js';
|
|
5
5
|
export { c as SettingsProvider, b as useSettingsContext } from './chunk-TYA2RDQJ.js';
|
|
@@ -8,7 +8,6 @@ import './chunk-RRH2346R.js';
|
|
|
8
8
|
import './chunk-CFVUZ4S5.js';
|
|
9
9
|
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-YKX5RVAJ.js';
|
|
10
10
|
export { q as bgBlur, p as bgGradient, o as borderGradient, j as createPaletteChannel, h as hexToRgbChannel, i as hexToRgbaChannel, l as hideScrollX, m as hideScrollY, r as maxLine, c as mediaQueries, t as menuItem, s as paper, f as pxToRem, e as remToPx, g as responsiveFontSizes, d as setFont, b as stylesMode, n as textGradient, k as varAlpha } from './chunk-7J53ZUIF.js';
|
|
11
|
-
import './chunk-S7QQBC4I.js';
|
|
12
11
|
import './chunk-QQDMA4TE.js';
|
|
13
12
|
import './chunk-Z2TDWMRU.js';
|
|
14
13
|
import './chunk-4INDXVIX.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-
|
|
1
|
+
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-3e407e51.js';
|
|
2
2
|
import '@mui/lab/TimelineConnector';
|
|
3
3
|
import '@mui/system';
|
|
4
4
|
import '@mui/lab/TimelineDot';
|
|
@@ -193,7 +193,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
193
193
|
flexShrink?: readonly ((string & {}) | csstype.Globals)[] | csstype.Property.FlexShrink | readonly NonNullable<csstype.Property.FlexShrink | undefined>[] | undefined;
|
|
194
194
|
flexWrap?: csstype.Property.FlexWrap | readonly NonNullable<csstype.Property.FlexWrap | undefined>[] | readonly csstype.Property.FlexWrap[] | undefined;
|
|
195
195
|
float?: csstype.Property.Float | readonly NonNullable<csstype.Property.Float | undefined>[] | readonly csstype.Property.Float[] | undefined;
|
|
196
|
-
fontFamily?:
|
|
196
|
+
fontFamily?: csstype.Property.FontFamily | readonly string[] | readonly csstype.Property.FontFamily[] | undefined;
|
|
197
197
|
fontFeatureSettings?: readonly string[] | csstype.Property.FontFeatureSettings | readonly csstype.Property.FontFeatureSettings[] | undefined;
|
|
198
198
|
fontKerning?: csstype.Property.FontKerning | readonly NonNullable<csstype.Property.FontKerning | undefined>[] | readonly csstype.Property.FontKerning[] | undefined;
|
|
199
199
|
fontLanguageOverride?: readonly string[] | csstype.Property.FontLanguageOverride | readonly csstype.Property.FontLanguageOverride[] | undefined;
|
|
@@ -218,7 +218,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
218
218
|
fontVariantNumeric?: readonly string[] | csstype.Property.FontVariantNumeric | readonly csstype.Property.FontVariantNumeric[] | undefined;
|
|
219
219
|
fontVariantPosition?: csstype.Property.FontVariantPosition | readonly NonNullable<csstype.Property.FontVariantPosition | undefined>[] | readonly csstype.Property.FontVariantPosition[] | undefined;
|
|
220
220
|
fontVariationSettings?: readonly string[] | csstype.Property.FontVariationSettings | readonly csstype.Property.FontVariationSettings[] | undefined;
|
|
221
|
-
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly (
|
|
221
|
+
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ((string & {}) | csstype.Globals | "bold" | "normal" | "bolder" | "lighter")[] | undefined;
|
|
222
222
|
forcedColorAdjust?: csstype.Property.ForcedColorAdjust | readonly NonNullable<csstype.Property.ForcedColorAdjust | undefined>[] | readonly csstype.Property.ForcedColorAdjust[] | undefined;
|
|
223
223
|
gridAutoColumns?: readonly (string | (string & {}))[] | csstype.Property.GridAutoColumns<string | number> | readonly NonNullable<csstype.Property.GridAutoColumns<string | number> | undefined>[] | undefined;
|
|
224
224
|
gridAutoFlow?: readonly string[] | csstype.Property.GridAutoFlow | readonly csstype.Property.GridAutoFlow[] | undefined;
|
|
@@ -443,9 +443,9 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
443
443
|
wordWrap?: csstype.Property.WordWrap | readonly NonNullable<csstype.Property.WordWrap | undefined>[] | readonly csstype.Property.WordWrap[] | undefined;
|
|
444
444
|
writingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
445
445
|
zIndex?: readonly ((string & {}) | csstype.Globals | "auto")[] | csstype.Property.ZIndex | readonly NonNullable<csstype.Property.ZIndex | undefined>[] | undefined;
|
|
446
|
-
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly (
|
|
446
|
+
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reset")[] | undefined;
|
|
447
447
|
all?: csstype.Globals | readonly NonNullable<csstype.Globals | undefined>[] | readonly csstype.Globals[] | undefined;
|
|
448
|
-
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
448
|
+
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "auto" | "none" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
449
449
|
animationRange?: readonly (string | (string & {}))[] | csstype.Property.AnimationRange<string | number> | readonly NonNullable<csstype.Property.AnimationRange<string | number> | undefined>[] | undefined;
|
|
450
450
|
background?: readonly (string | (string & {}))[] | csstype.Property.Background<string | number> | readonly NonNullable<csstype.Property.Background<string | number> | undefined>[] | undefined;
|
|
451
451
|
border?: readonly (string | (string & {}))[] | csstype.Property.Border<string | number> | readonly NonNullable<csstype.Property.Border<string | number> | undefined>[] | undefined;
|
|
@@ -454,7 +454,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
454
454
|
borderBlockStart?: readonly (string | (string & {}))[] | csstype.Property.BorderBlockStart<string | number> | readonly NonNullable<csstype.Property.BorderBlockStart<string | number> | undefined>[] | undefined;
|
|
455
455
|
borderBottom?: readonly (string | (string & {}))[] | csstype.Property.BorderBottom<string | number> | readonly NonNullable<csstype.Property.BorderBottom<string | number> | undefined>[] | undefined;
|
|
456
456
|
borderColor?: readonly string[] | csstype.Property.BorderColor | readonly csstype.Property.BorderColor[] | undefined;
|
|
457
|
-
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
457
|
+
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
458
458
|
borderInline?: readonly (string | (string & {}))[] | csstype.Property.BorderInline<string | number> | readonly NonNullable<csstype.Property.BorderInline<string | number> | undefined>[] | undefined;
|
|
459
459
|
borderInlineEnd?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineEnd<string | number> | readonly NonNullable<csstype.Property.BorderInlineEnd<string | number> | undefined>[] | undefined;
|
|
460
460
|
borderInlineStart?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineStart<string | number> | readonly NonNullable<csstype.Property.BorderInlineStart<string | number> | undefined>[] | undefined;
|
|
@@ -486,7 +486,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
486
486
|
marginBlock?: readonly (string | (string & {}))[] | csstype.Property.MarginBlock<string | number> | readonly NonNullable<csstype.Property.MarginBlock<string | number> | undefined>[] | undefined;
|
|
487
487
|
marginInline?: readonly (string | (string & {}))[] | csstype.Property.MarginInline<string | number> | readonly NonNullable<csstype.Property.MarginInline<string | number> | undefined>[] | undefined;
|
|
488
488
|
mask?: readonly (string | (string & {}))[] | csstype.Property.Mask<string | number> | readonly NonNullable<csstype.Property.Mask<string | number> | undefined>[] | undefined;
|
|
489
|
-
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly (
|
|
489
|
+
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
490
490
|
motion?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
491
491
|
offset?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
492
492
|
outline?: readonly (string | (string & {}))[] | csstype.Property.Outline<string | number> | readonly NonNullable<csstype.Property.Outline<string | number> | undefined>[] | undefined;
|
|
@@ -729,8 +729,8 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
729
729
|
WebkitUserModify?: csstype.Property.WebkitUserModify | readonly NonNullable<csstype.Property.WebkitUserModify | undefined>[] | readonly csstype.Property.WebkitUserModify[] | undefined;
|
|
730
730
|
WebkitUserSelect?: csstype.Property.UserSelect | readonly NonNullable<csstype.Property.UserSelect | undefined>[] | readonly csstype.Property.UserSelect[] | undefined;
|
|
731
731
|
WebkitWritingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
732
|
-
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
733
|
-
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
732
|
+
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "auto" | "none" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
733
|
+
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
734
734
|
MozColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
735
735
|
MozColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
736
736
|
MozOutlineRadius?: readonly (string | (string & {}))[] | csstype.Property.MozOutlineRadius<string | number> | readonly NonNullable<csstype.Property.MozOutlineRadius<string | number> | undefined>[] | undefined;
|
|
@@ -741,16 +741,16 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
741
741
|
msScrollSnapX?: readonly string[] | csstype.Property.MsScrollSnapX | readonly csstype.Property.MsScrollSnapX[] | undefined;
|
|
742
742
|
msScrollSnapY?: readonly string[] | csstype.Property.MsScrollSnapY | readonly csstype.Property.MsScrollSnapY[] | undefined;
|
|
743
743
|
msTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
744
|
-
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
744
|
+
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "auto" | "none" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
745
745
|
WebkitBorderBefore?: readonly (string | (string & {}))[] | csstype.Property.WebkitBorderBefore<string | number> | readonly NonNullable<csstype.Property.WebkitBorderBefore<string | number> | undefined>[] | undefined;
|
|
746
|
-
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
746
|
+
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
747
747
|
WebkitBorderRadius?: readonly (string | (string & {}))[] | csstype.Property.BorderRadius<string | number> | readonly NonNullable<csstype.Property.BorderRadius<string | number> | undefined>[] | undefined;
|
|
748
748
|
WebkitColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
749
749
|
WebkitColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
750
750
|
WebkitFlex?: readonly (string | (string & {}))[] | csstype.Property.Flex<string | number> | readonly NonNullable<csstype.Property.Flex<string | number> | undefined>[] | undefined;
|
|
751
751
|
WebkitFlexFlow?: readonly string[] | csstype.Property.FlexFlow | readonly csstype.Property.FlexFlow[] | undefined;
|
|
752
752
|
WebkitMask?: readonly (string | (string & {}))[] | csstype.Property.WebkitMask<string | number> | readonly NonNullable<csstype.Property.WebkitMask<string | number> | undefined>[] | undefined;
|
|
753
|
-
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly (
|
|
753
|
+
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
754
754
|
WebkitTextEmphasis?: readonly string[] | csstype.Property.TextEmphasis | readonly csstype.Property.TextEmphasis[] | undefined;
|
|
755
755
|
WebkitTextStroke?: readonly (string | (string & {}))[] | csstype.Property.WebkitTextStroke<string | number> | readonly NonNullable<csstype.Property.WebkitTextStroke<string | number> | undefined>[] | undefined;
|
|
756
756
|
WebkitTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
@@ -831,7 +831,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
831
831
|
MozTransitionTimingFunction?: readonly string[] | csstype.Property.TransitionTimingFunction | readonly csstype.Property.TransitionTimingFunction[] | undefined;
|
|
832
832
|
MozUserInput?: csstype.Property.MozUserInput | readonly NonNullable<csstype.Property.MozUserInput | undefined>[] | readonly csstype.Property.MozUserInput[] | undefined;
|
|
833
833
|
msImeMode?: csstype.Property.ImeMode | readonly NonNullable<csstype.Property.ImeMode | undefined>[] | readonly csstype.Property.ImeMode[] | undefined;
|
|
834
|
-
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
834
|
+
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "auto" | "none" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
835
835
|
OAnimationDelay?: readonly string[] | csstype.Property.AnimationDelay<string & {}> | readonly csstype.Property.AnimationDelay<string & {}>[] | undefined;
|
|
836
836
|
OAnimationDirection?: readonly string[] | csstype.Property.AnimationDirection | readonly csstype.Property.AnimationDirection[] | undefined;
|
|
837
837
|
OAnimationDuration?: readonly string[] | csstype.Property.AnimationDuration<string & {}> | readonly csstype.Property.AnimationDuration<string & {}>[] | undefined;
|
|
@@ -841,7 +841,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
841
841
|
OAnimationPlayState?: readonly string[] | csstype.Property.AnimationPlayState | readonly csstype.Property.AnimationPlayState[] | undefined;
|
|
842
842
|
OAnimationTimingFunction?: readonly string[] | csstype.Property.AnimationTimingFunction | readonly csstype.Property.AnimationTimingFunction[] | undefined;
|
|
843
843
|
OBackgroundSize?: readonly (string | (string & {}))[] | csstype.Property.BackgroundSize<string | number> | readonly NonNullable<csstype.Property.BackgroundSize<string | number> | undefined>[] | undefined;
|
|
844
|
-
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
844
|
+
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
845
845
|
OObjectFit?: csstype.Property.ObjectFit | readonly NonNullable<csstype.Property.ObjectFit | undefined>[] | readonly csstype.Property.ObjectFit[] | undefined;
|
|
846
846
|
OObjectPosition?: readonly (string | (string & {}))[] | csstype.Property.ObjectPosition<string | number> | readonly NonNullable<csstype.Property.ObjectPosition<string | number> | undefined>[] | undefined;
|
|
847
847
|
OTabSize?: readonly (string | (string & {}))[] | csstype.Property.TabSize<string | number> | readonly NonNullable<csstype.Property.TabSize<string | number> | undefined>[] | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as default, b as forceDataMuiColorScheme } from '../chunk-
|
|
1
|
+
export { c as default, b as forceDataMuiColorScheme } from '../chunk-XCJL6W4A.js';
|
|
2
2
|
import '../chunk-SO64ZYQB.js';
|
|
3
3
|
import '../chunk-GUFT6XPG.js';
|
|
4
4
|
export { b as useSettingsContext } from '../chunk-TYA2RDQJ.js';
|
|
@@ -7,7 +7,6 @@ import '../chunk-RRH2346R.js';
|
|
|
7
7
|
import '../chunk-CFVUZ4S5.js';
|
|
8
8
|
import '../chunk-YKX5RVAJ.js';
|
|
9
9
|
export { a as schemeConfig } from '../chunk-7J53ZUIF.js';
|
|
10
|
-
import '../chunk-S7QQBC4I.js';
|
|
11
10
|
import '../chunk-QQDMA4TE.js';
|
|
12
11
|
import '../chunk-Z2TDWMRU.js';
|
|
13
12
|
import '../chunk-4INDXVIX.js';
|
package/package.json
CHANGED
package/dist/chunk-JQ252Y2Q.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-SO64ZYQB.js';
|
|
2
|
-
import { a as a$7 } from './chunk-GUFT6XPG.js';
|
|
3
|
-
import { c, b as b$1 } from './chunk-TYA2RDQJ.js';
|
|
4
|
-
import { a as a$1, e } from './chunk-K25VBEKK.js';
|
|
5
|
-
import { a as a$3, b } from './chunk-RRH2346R.js';
|
|
6
|
-
import { p, r, a as a$2 } from './chunk-YKX5RVAJ.js';
|
|
7
|
-
import { d, a as a$4 } from './chunk-7J53ZUIF.js';
|
|
8
|
-
import { a as a$6 } from './chunk-S7QQBC4I.js';
|
|
9
|
-
import { a as a$5 } from './chunk-QQDMA4TE.js';
|
|
10
|
-
import { useMemo, useRef, useEffect } from 'react';
|
|
11
|
-
import N from '@mui/material/CssBaseline';
|
|
12
|
-
import { experimental_extendTheme, lighten, darken, Experimental_CssVarsProvider } from '@mui/material/styles';
|
|
13
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
|
-
|
|
15
|
-
var R=({scopeId:t,colorScheme:o,children:e})=>{let m=useRef(null);return useEffect(()=>{m.current&&o&&m.current.setAttribute("data-mui-color-scheme",o);},[o]),t?jsx("div",{ref:m,id:t,"data-theme-scope":!0,style:{isolation:"isolate",width:"100%",height:"100%",display:"contents"},children:e}):jsx(Fragment,{children:e})},V=R;var G=t=>({lighter:lighten(t,.815),light:lighten(t,.225),main:t,dark:darken(t,.15),darker:darken(t,.35),contrastText:"#000"});function w(t,o,e$1=""){let m=G(o.primaryColor);a(p,"dark.palette.primary",m),a(p,"light.palette.primary",m);let n={colorSchemes:p,shadows:a$1(o.colorScheme),customShadows:r(o.colorScheme,m.main),shape:{borderRadius:8},components:a$2,typography:{...e,fontFamily:d(o.fontFamily)},cssVarPrefix:e$1,shouldSkipGeneratingVar:H},r$1=a$3(n,o),i={};return experimental_extendTheme(r$1,t,b(o),i)}function H(t,o){let e=["mixins","overlays","direction","breakpoints","cssVarPrefix","unstable_sxConfig","typography","colorSchemes"],m={global:["tonalOffset","dividerChannel","contrastThreshold"],grey:["A100","A200","A400","A700"],text:["icon"]};if(t[0]==="palette"){let r=t[1],i=m[r]||m.global;return t.some(s=>i?.includes(s))}return t.some(r=>e?.includes(r))}var Se=(t,o)=>{if(typeof document<"u")if(o){let e=document.getElementById(o);e?e.setAttribute(a$4.dataMuiColorScheme,t):console.warn(`ThemeScope: Container #${o} n\xE3o encontrado`);}else document.documentElement.setAttribute(a$4.dataMuiColorScheme,t);},q=({children:t,cssVarPrefix:o})=>{let{settings:e}=b$1(),m=useMemo(()=>{let r=w(a$7[1].systemValue,{primaryColor:e.primaryColor,colorScheme:e.colorScheme,contrast:e.contrast,navLayout:e.navLayout,navColor:e.navColor,compactLayout:e.compactLayout,fontFamily:e.fontFamily,setColorScheme:e.setColorScheme},o),i=r.colorSchemes?.[e.colorScheme]?.palette;return i?r.palette=i:(r.palette=r.colorSchemes?.light?.palette||r.colorSchemes?.dark?.palette,r.palette.mode=e.colorScheme),r},[e,o]),n=useMemo(()=>({theme:m,mode:e.colorScheme,defaultMode:e.colorScheme,defaultColorScheme:e.colorScheme,modeStorageKey:a$4.modeStorageKey,colorSchemeStorageKey:a$4.modeStorageKey}),[m,e.colorScheme]);return jsxs(Experimental_CssVarsProvider,{...n,children:[jsx(N,{}),t]})},f={serializer:t=>t.replaceAll('"',""),deserializer:t=>t.replaceAll('"',"")},I=({children:t,cssVarPrefix:o="app",primaryColor:e="#4E5BEC",fontFamily:m="Public Sans",compactLayout:n=!0,contrast:r="default",navColor:i="integrate",navLayout:s="vertical",colorScheme:l="light",scopeId:S})=>{let[,g]=a$5(a$4.modeStorageKey,l,f),[,W]=a$5(`${a$4.modeStorageKey}-light`,"light",f),[,_]=a$5(`${a$4.modeStorageKey}-dark`,"dark",f);return a$6(()=>{_("dark"),W("light"),g(l);}),jsx(c,{primaryColor:e,fontFamily:m,compactLayout:n,contrast:r,navColor:i,navLayout:s,colorScheme:l,setColorScheme:g,scopeId:S,children:jsx(V,{scopeId:S,colorScheme:l,children:jsx(q,{cssVarPrefix:o,children:t})})})};var ge=I;
|
|
16
|
-
|
|
17
|
-
export { w as a, Se as b, ge as c };
|
package/dist/chunk-TWGGHTU5.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
var d=({isFetching:o,fetching:e,isLoading:t,loading:n,anError:u,error:i,isEmpty:s,empty:l,children:p})=>t?n||"Carregando...":u?i||"Error":s?l||"Nenhum resultado":jsxs(Fragment,{children:[o&&jsx(Fragment,{children:e||"Carregando..."}),p]}),h=d;
|
|
4
|
-
|
|
5
|
-
export { h as a };
|
|
@@ -286,13 +286,10 @@ declare const components: {
|
|
|
286
286
|
MuiTimelineDot: {
|
|
287
287
|
defaultProps?: Partial<_mui_lab_TimelineDot.TimelineDotProps> | undefined;
|
|
288
288
|
styleOverrides?: Partial<_mui_material_styles_overrides.OverridesStyleRules<keyof _mui_lab_TimelineDot.TimelineDotClasses, "MuiTimelineDot", {
|
|
289
|
-
|
|
290
|
-
zIndex: _mui_material.ZIndex;
|
|
291
|
-
direction: _mui_system.Direction;
|
|
292
|
-
opacity: _mui_material.Opacity;
|
|
293
|
-
typography: _mui_material.TypographyVariants;
|
|
289
|
+
transitions: _mui_material.Transitions;
|
|
294
290
|
palette: _mui_material.Palette;
|
|
295
291
|
colorSchemes: Record<_mui_material.SupportedColorScheme, _mui_material.ColorSystem>;
|
|
292
|
+
cssVarPrefix: string;
|
|
296
293
|
vars: _mui_material.ThemeVars;
|
|
297
294
|
getCssVar: (field: _mui_material.ThemeCssVar, ...vars: _mui_material.ThemeCssVar[]) => string;
|
|
298
295
|
getColorSchemeSelector: (colorScheme: _mui_material.SupportedColorScheme) => string;
|
|
@@ -303,13 +300,16 @@ declare const components: {
|
|
|
303
300
|
spacing: _mui_system.Spacing;
|
|
304
301
|
breakpoints: _mui_system.Breakpoints;
|
|
305
302
|
shape: _mui_system.Shape;
|
|
306
|
-
|
|
303
|
+
typography: _mui_material.TypographyVariants;
|
|
307
304
|
shadows: _mui_material.Shadows;
|
|
308
305
|
mixins: _mui_material.Mixins;
|
|
306
|
+
zIndex: _mui_material.ZIndex;
|
|
307
|
+
direction: _mui_system.Direction;
|
|
309
308
|
shouldSkipGeneratingVar: (keys: string[], value: string | number) => boolean;
|
|
310
309
|
unstable_sxConfig: _mui_system.SxConfig;
|
|
311
310
|
unstable_sx: (props: _mui_system.SxProps<_mui_material.Theme>) => _mui_styled_engine.CSSObject;
|
|
312
311
|
applyStyles: _mui_system.ApplyStyles<"light" | "dark">;
|
|
312
|
+
opacity: _mui_material.Opacity;
|
|
313
313
|
overlays: _mui_material.Overlays;
|
|
314
314
|
customShadows: CustomShadows;
|
|
315
315
|
unstable_strictMode?: boolean | undefined;
|
|
@@ -326,13 +326,10 @@ declare const components: {
|
|
|
326
326
|
MuiTimelineConnector: {
|
|
327
327
|
defaultProps?: Partial<_mui_lab_TimelineConnector.TimelineConnectorProps> | undefined;
|
|
328
328
|
styleOverrides?: Partial<_mui_material_styles_overrides.OverridesStyleRules<"root", "MuiTimelineConnector", {
|
|
329
|
-
|
|
330
|
-
zIndex: _mui_material.ZIndex;
|
|
331
|
-
direction: _mui_system.Direction;
|
|
332
|
-
opacity: _mui_material.Opacity;
|
|
333
|
-
typography: _mui_material.TypographyVariants;
|
|
329
|
+
transitions: _mui_material.Transitions;
|
|
334
330
|
palette: _mui_material.Palette;
|
|
335
331
|
colorSchemes: Record<_mui_material.SupportedColorScheme, _mui_material.ColorSystem>;
|
|
332
|
+
cssVarPrefix: string;
|
|
336
333
|
vars: _mui_material.ThemeVars;
|
|
337
334
|
getCssVar: (field: _mui_material.ThemeCssVar, ...vars: _mui_material.ThemeCssVar[]) => string;
|
|
338
335
|
getColorSchemeSelector: (colorScheme: _mui_material.SupportedColorScheme) => string;
|
|
@@ -343,13 +340,16 @@ declare const components: {
|
|
|
343
340
|
spacing: _mui_system.Spacing;
|
|
344
341
|
breakpoints: _mui_system.Breakpoints;
|
|
345
342
|
shape: _mui_system.Shape;
|
|
346
|
-
|
|
343
|
+
typography: _mui_material.TypographyVariants;
|
|
347
344
|
shadows: _mui_material.Shadows;
|
|
348
345
|
mixins: _mui_material.Mixins;
|
|
346
|
+
zIndex: _mui_material.ZIndex;
|
|
347
|
+
direction: _mui_system.Direction;
|
|
349
348
|
shouldSkipGeneratingVar: (keys: string[], value: string | number) => boolean;
|
|
350
349
|
unstable_sxConfig: _mui_system.SxConfig;
|
|
351
350
|
unstable_sx: (props: _mui_system.SxProps<_mui_material.Theme>) => _mui_styled_engine.CSSObject;
|
|
352
351
|
applyStyles: _mui_system.ApplyStyles<"light" | "dark">;
|
|
352
|
+
opacity: _mui_material.Opacity;
|
|
353
353
|
overlays: _mui_material.Overlays;
|
|
354
354
|
customShadows: CustomShadows;
|
|
355
355
|
unstable_strictMode?: boolean | undefined;
|