@zydon/common 2.7.25 → 2.7.27
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-2R4UUSRL.js +6 -0
- package/dist/{chunk-3HJGN53F.js → chunk-3JXE4T4W.js} +1 -1
- package/dist/{chunk-YKX5RVAJ.js → chunk-5MFY3GOD.js} +1 -1
- package/dist/chunk-6H6VWBEU.js +7 -0
- package/dist/{chunk-Y7C7JIPZ.js → chunk-6HCH7BUB.js} +2 -2
- package/dist/{chunk-T7AZE2TB.js → chunk-AYGCYCIP.js} +1 -1
- package/dist/chunk-HKINZAZB.js +15 -0
- package/dist/{chunk-677WKIPE.js → chunk-OXND3IVT.js} +1 -1
- package/dist/{chunk-K25VBEKK.js → chunk-QCN7J3QD.js} +2 -2
- package/dist/{chunk-AJYSAO5N.js → chunk-RDX5MYRG.js} +1 -1
- package/dist/{chunk-7TWT67RG.js → chunk-SMRJS2UH.js} +1 -1
- package/dist/{chunk-RRH2346R.js → chunk-SVZBOLAL.js} +2 -2
- package/dist/{chunk-22LB74NN.js → chunk-UNSRJCI6.js} +2 -2
- package/dist/{chunk-7J53ZUIF.js → chunk-X3NSWXUJ.js} +3 -3
- package/dist/{chunk-HXXZVHQF.js → chunk-ZFNDQWIR.js} +1 -1
- package/dist/components/Avatar/index.d.ts +2 -2
- package/dist/components/AvatarButton/index.js +8 -12
- package/dist/components/Common/index.d.ts +1 -2
- package/dist/components/Common/index.js +7 -11
- package/dist/components/DataCards/index.js +2 -2
- package/dist/components/DataGrid/index.js +3 -3
- package/dist/components/DataView/index.d.ts +8 -8
- package/dist/components/DataView/index.js +3 -3
- package/dist/components/DragButton/index.d.ts +1 -1
- package/dist/components/DragContainer/index.d.ts +1 -1
- package/dist/components/EmptyContent/index.js +2 -2
- package/dist/components/Label/index.js +2 -2
- package/dist/components/ListBundles/index.js +2 -2
- package/dist/components/SplashScreen/index.js +1 -1
- package/dist/components/ToggleTheme/index.js +8 -12
- package/dist/components/WebhookCard/index.js +2 -2
- package/dist/components/carousel/index.d.ts +3 -3
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/form/UploadAvatarWithCrop/index.js +3 -3
- package/dist/components/form/UploadWithCrop/index.js +3 -3
- package/dist/components/upload/index.js +5 -5
- package/dist/contexts/PushNotifications/index.js +2 -2
- package/dist/hooks/useThemeToggle.d.ts +1 -1
- package/dist/hooks/useThemeToggle.js +7 -11
- package/dist/{index-8a737d25.d.ts → index-5a5e5dc8.d.ts} +13 -13
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7 -11
- package/dist/{settings-d0cceb05.d.ts → settings-4d4dc42f.d.ts} +0 -2
- package/dist/{settings-provider-918b7981.d.ts → settings-provider-4537dcad.d.ts} +2 -2
- package/dist/theme/core/index.d.ts +2 -2
- package/dist/theme/core/index.js +3 -3
- package/dist/theme/settings-provider.d.ts +2 -2
- package/dist/theme/settings-provider.js +1 -1
- package/dist/theme/styles/index.d.ts +16 -16
- package/dist/theme/styles/index.js +1 -1
- package/dist/theme/theme-provider.d.ts +9 -15
- package/dist/theme/theme-provider.js +6 -10
- package/dist/theme/with-settings/index.d.ts +2 -2
- package/dist/theme/with-settings/index.js +3 -3
- package/dist/{types-2a4efc17.d.ts → types-b8e8c021.d.ts} +5 -0
- package/package.json +1 -1
- package/dist/chunk-N2DMNLAX.js +0 -8
- package/dist/chunk-TYA2RDQJ.js +0 -6
- package/dist/chunk-XCJL6W4A.js +0 -16
|
@@ -184,7 +184,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
184
184
|
counterSet?: readonly string[] | csstype.Property.CounterSet | readonly csstype.Property.CounterSet[] | undefined;
|
|
185
185
|
cursor?: readonly string[] | csstype.Property.Cursor | readonly csstype.Property.Cursor[] | undefined;
|
|
186
186
|
direction?: csstype.Property.Direction | readonly NonNullable<csstype.Property.Direction | undefined>[] | readonly csstype.Property.Direction[] | undefined;
|
|
187
|
-
display?: csstype.Property.Display | readonly
|
|
187
|
+
display?: readonly string[] | csstype.Property.Display | readonly csstype.Property.Display[] | undefined;
|
|
188
188
|
emptyCells?: csstype.Property.EmptyCells | readonly NonNullable<csstype.Property.EmptyCells | undefined>[] | readonly csstype.Property.EmptyCells[] | undefined;
|
|
189
189
|
filter?: readonly string[] | csstype.Property.Filter | readonly csstype.Property.Filter[] | undefined;
|
|
190
190
|
flexBasis?: readonly (string | (string & {}))[] | csstype.Property.FlexBasis<string | number> | readonly NonNullable<csstype.Property.FlexBasis<string | number> | undefined>[] | undefined;
|
|
@@ -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;
|
|
@@ -231,7 +231,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
231
231
|
gridTemplateColumns?: readonly (string | (string & {}))[] | csstype.Property.GridTemplateColumns<string | number> | readonly NonNullable<csstype.Property.GridTemplateColumns<string | number> | undefined>[] | undefined;
|
|
232
232
|
gridTemplateRows?: readonly (string | (string & {}))[] | csstype.Property.GridTemplateRows<string | number> | readonly NonNullable<csstype.Property.GridTemplateRows<string | number> | undefined>[] | undefined;
|
|
233
233
|
hangingPunctuation?: readonly string[] | csstype.Property.HangingPunctuation | readonly csstype.Property.HangingPunctuation[] | undefined;
|
|
234
|
-
height?:
|
|
234
|
+
height?: readonly (string | (string & {}))[] | csstype.Property.Height<string | number> | readonly NonNullable<csstype.Property.Height<string | number> | undefined>[] | undefined;
|
|
235
235
|
hyphenateCharacter?: readonly string[] | csstype.Property.HyphenateCharacter | readonly csstype.Property.HyphenateCharacter[] | undefined;
|
|
236
236
|
hyphenateLimitChars?: readonly ((string & {}) | csstype.Globals | "auto")[] | csstype.Property.HyphenateLimitChars | readonly NonNullable<csstype.Property.HyphenateLimitChars | undefined>[] | undefined;
|
|
237
237
|
hyphens?: csstype.Property.Hyphens | readonly NonNullable<csstype.Property.Hyphens | undefined>[] | readonly csstype.Property.Hyphens[] | undefined;
|
|
@@ -436,16 +436,16 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
436
436
|
whiteSpaceCollapse?: csstype.Property.WhiteSpaceCollapse | readonly NonNullable<csstype.Property.WhiteSpaceCollapse | undefined>[] | readonly csstype.Property.WhiteSpaceCollapse[] | undefined;
|
|
437
437
|
whiteSpaceTrim?: readonly string[] | csstype.Property.WhiteSpaceTrim | readonly csstype.Property.WhiteSpaceTrim[] | undefined;
|
|
438
438
|
widows?: readonly ((string & {}) | csstype.Globals)[] | csstype.Property.Widows | readonly NonNullable<csstype.Property.Widows | undefined>[] | undefined;
|
|
439
|
-
width?:
|
|
439
|
+
width?: readonly (string | (string & {}))[] | csstype.Property.Width<string | number> | readonly NonNullable<csstype.Property.Width<string | number> | undefined>[] | undefined;
|
|
440
440
|
willChange?: readonly string[] | csstype.Property.WillChange | readonly csstype.Property.WillChange[] | undefined;
|
|
441
441
|
wordBreak?: csstype.Property.WordBreak | readonly NonNullable<csstype.Property.WordBreak | undefined>[] | readonly csstype.Property.WordBreak[] | undefined;
|
|
442
442
|
wordSpacing?: readonly string[] | csstype.Property.WordSpacing<string | number> | readonly NonNullable<csstype.Property.WordSpacing<string | number> | undefined>[] | undefined;
|
|
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" | "none" | "auto" | "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" | "none" | "auto" | "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" | "none" | "auto" | "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" | "none" | "auto" | "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 +1 @@
|
|
|
1
|
-
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-
|
|
1
|
+
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-X3NSWXUJ.js';
|
|
@@ -1,31 +1,25 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { C as ColorScheme } from '../settings-
|
|
3
|
-
import { T as ThemeProviderProps } from '../settings-provider-
|
|
4
|
-
export { u as useSettingsContext } from '../settings-provider-
|
|
2
|
+
import { C as ColorScheme } from '../settings-4d4dc42f.js';
|
|
3
|
+
import { T as ThemeProviderProps } from '../settings-provider-4537dcad.js';
|
|
4
|
+
export { u as useSettingsContext } from '../settings-provider-4537dcad.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
declare const THEME_CONFIG: {
|
|
8
|
+
readonly STORAGE_KEY: "mui-mode";
|
|
9
|
+
readonly ATTRIBUTE: "data-mui-color-scheme";
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Força a aplicação de um esquema de cores (light/dark) no DOM.
|
|
14
14
|
*
|
|
15
15
|
* @param scheme - Esquema de cores a ser aplicado ('light' ou 'dark')
|
|
16
|
-
* @param scopeId - ID do container do tema isolado. Se fornecido, aplica no container específico.
|
|
17
|
-
* Se não fornecido, aplica globalmente no document.documentElement.
|
|
18
16
|
*
|
|
19
17
|
* @example
|
|
20
18
|
* ```tsx
|
|
21
|
-
* // Aplicar globalmente (comportamento padrão)
|
|
22
19
|
* forceDataMuiColorScheme('light');
|
|
23
|
-
*
|
|
24
|
-
* // Aplicar em scope específico
|
|
25
|
-
* forceDataMuiColorScheme('dark', 'b2b-theme-scope');
|
|
26
20
|
* ```
|
|
27
21
|
*/
|
|
28
|
-
declare const forceDataMuiColorScheme: (scheme: ColorScheme
|
|
29
|
-
declare const ThemeProvider: ({ children, cssVarPrefix, primaryColor, fontFamily, compactLayout, contrast, navColor, navLayout, colorScheme,
|
|
22
|
+
declare const forceDataMuiColorScheme: (scheme: ColorScheme) => void;
|
|
23
|
+
declare const ThemeProvider: ({ children, cssVarPrefix, primaryColor, fontFamily, compactLayout, contrast, navColor, navLayout, colorScheme, storageKey, }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
30
24
|
|
|
31
|
-
export { ThemeProvider as default, forceDataMuiColorScheme
|
|
25
|
+
export { THEME_CONFIG, ThemeProvider as default, forceDataMuiColorScheme };
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
export { c as default, b as forceDataMuiColorScheme } from '../chunk-
|
|
1
|
+
export { c as default, b as forceDataMuiColorScheme } from '../chunk-HKINZAZB.js';
|
|
2
2
|
import '../chunk-SO64ZYQB.js';
|
|
3
3
|
import '../chunk-GUFT6XPG.js';
|
|
4
|
-
export { b as useSettingsContext } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
4
|
+
export { b as useSettingsContext } from '../chunk-2R4UUSRL.js';
|
|
5
|
+
import '../chunk-QCN7J3QD.js';
|
|
6
|
+
import '../chunk-SVZBOLAL.js';
|
|
7
7
|
import '../chunk-CFVUZ4S5.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
export { a as
|
|
10
|
-
import '../chunk-QQDMA4TE.js';
|
|
11
|
-
import '../chunk-Z2TDWMRU.js';
|
|
12
|
-
import '../chunk-4INDXVIX.js';
|
|
13
|
-
import '../chunk-3APKMSVD.js';
|
|
8
|
+
import '../chunk-5MFY3GOD.js';
|
|
9
|
+
export { a as THEME_CONFIG } from '../chunk-X3NSWXUJ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _mui_material_styles from '@mui/material/styles';
|
|
2
2
|
import { Components, Theme } from '@mui/material/styles';
|
|
3
|
-
import { S as SettingsState } from '../../settings-
|
|
4
|
-
import { T as ThemeUpdateOptions } from '../../types-
|
|
3
|
+
import { S as SettingsState } from '../../settings-4d4dc42f.js';
|
|
4
|
+
import { T as ThemeUpdateOptions } from '../../types-b8e8c021.js';
|
|
5
5
|
import '@mui/material/styles/createTypography';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as buildPrimaryColors, b as updateComponentsWithSettings, a as updateCoreWithSettings } from '../../chunk-
|
|
1
|
+
export { c as buildPrimaryColors, b as updateComponentsWithSettings, a as updateCoreWithSettings } from '../../chunk-SVZBOLAL.js';
|
|
2
2
|
import '../../chunk-CFVUZ4S5.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-5MFY3GOD.js';
|
|
4
|
+
import '../../chunk-X3NSWXUJ.js';
|
|
@@ -9,5 +9,10 @@ type ThemeColorScheme = 'light' | 'dark';
|
|
|
9
9
|
type ThemeLocaleComponents = {
|
|
10
10
|
components: ThemeComponents;
|
|
11
11
|
};
|
|
12
|
+
declare module '@mui/material/Button' {
|
|
13
|
+
interface ButtonPropsVariantOverrides {
|
|
14
|
+
soft: true;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
12
17
|
|
|
13
18
|
export { ThemeUpdateOptions as T, ThemeLocaleComponents as a, ThemeColorScheme as b };
|
package/package.json
CHANGED
package/dist/chunk-N2DMNLAX.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { b as b$1 } from './chunk-XCJL6W4A.js';
|
|
2
|
-
import { b } from './chunk-TYA2RDQJ.js';
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { useColorScheme } from '@mui/material/styles';
|
|
5
|
-
|
|
6
|
-
var T=()=>{let{setMode:c}=useColorScheme(),{settings:{setColorScheme:l,colorScheme:h,scopeId:s}}=b(),[o,n]=useState(h),r=e=>{c(e),n(e),l(e),b$1(e,s);};return {colorScheme:o,mode:o,isDark:o==="dark",toggleTheme:()=>{r(o==="light"?"dark":"light");},setColorScheme:r}};
|
|
7
|
-
|
|
8
|
-
export { T as a };
|
package/dist/chunk-TYA2RDQJ.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { createContext, memo, useContext, useMemo } from 'react';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
var S=createContext(void 0),l=()=>{let t=useContext(S);if(!t)throw new Error("useSettingsContext deve ser usado dentro de um SettingsProvider");return t},m=({children:t,primaryColor:e,fontFamily:n,compactLayout:r,colorScheme:i,contrast:s,navColor:o,navLayout:d,setColorScheme:g,scopeId:u})=>{let x=useMemo(()=>({primaryColor:e,fontFamily:n,compactLayout:r,colorScheme:i,contrast:s,navColor:o,navLayout:d,setColorScheme:g,scopeId:u}),[e,n,r,i,s,o,d,g,u]);return jsx(S.Provider,{value:{settings:x},children:t})},w=memo(m);
|
|
5
|
-
|
|
6
|
-
export { S as a, l as b, w as c };
|
package/dist/chunk-XCJL6W4A.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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 };
|