@atipicus/mrs-ui 1.0.2 → 2.0.1
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/LICENSE +63 -3
- package/README.md +15 -3
- package/dist/Table-BWJUQgDY.js.map +1 -1
- package/dist/Table-BrEk_oGh.mjs.map +1 -1
- package/dist/components/atoms/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/atoms/Avatar/Avatar.types.d.ts +1 -1
- package/dist/components/atoms/Avatar/Avatar.types.d.ts.map +1 -1
- package/dist/components/atoms/Select/Select.d.ts.map +1 -1
- package/dist/components/molecules/Sidenav/Sidenav.d.ts.map +1 -1
- package/dist/components/molecules/index.d.ts +0 -1
- package/dist/components/molecules/index.d.ts.map +1 -1
- package/dist/index-9xINu3Y6.mjs +11 -0
- package/dist/index-9xINu3Y6.mjs.map +1 -0
- package/dist/{index-C4a5SkEO.js → index-B3fSNHE_.js} +1 -2
- package/dist/index-B3fSNHE_.js.map +1 -0
- package/dist/{index-DgpKiomn.js → index-B6HAPXbT.js} +1 -2
- package/dist/index-B6HAPXbT.js.map +1 -0
- package/dist/{index-DQLiGYRv.js → index-CrukcVHf.js} +1 -2
- package/dist/index-CrukcVHf.js.map +1 -0
- package/dist/index-CzgRXVhq.mjs +5 -0
- package/dist/index-CzgRXVhq.mjs.map +1 -0
- package/dist/{index-Bp_39Kmf.js → index-D19iZMBT.js} +1 -2
- package/dist/index-D19iZMBT.js.map +1 -0
- package/dist/{index-xewrdUFS.js → index-D2dZ1ELl.js} +1 -2
- package/dist/index-D2dZ1ELl.js.map +1 -0
- package/dist/index-DpuDQuvl.mjs +5 -0
- package/dist/index-DpuDQuvl.mjs.map +1 -0
- package/dist/index-DzuUedva.mjs +5 -0
- package/dist/index-DzuUedva.mjs.map +1 -0
- package/dist/{index-C4N6hqG7.mjs → index-MEnqUL_H.mjs} +8 -5
- package/dist/index-MEnqUL_H.mjs.map +1 -0
- package/dist/{index-DrHcCXwi.js → index-ZqM4dIOj.js} +1 -2
- package/dist/index-ZqM4dIOj.js.map +1 -0
- package/dist/index-mOLOagan.mjs +5 -0
- package/dist/index-mOLOagan.mjs.map +1 -0
- package/dist/index.js +394 -151
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +396 -153
- package/dist/index.mjs.map +1 -1
- package/dist/lazy.d.ts +1 -41
- package/dist/lazy.d.ts.map +1 -1
- package/dist/lazy.js +16 -46
- package/dist/lazy.js.map +1 -1
- package/dist/lazy.mjs +17 -47
- package/dist/lazy.mjs.map +1 -1
- package/dist/theme/styleCompositions.d.ts +281 -0
- package/dist/theme/styleCompositions.d.ts.map +1 -0
- package/dist/theme/theme.d.ts.map +1 -1
- package/dist/theme/tokens-import.d.ts +164 -0
- package/dist/theme/tokens-import.d.ts.map +1 -1
- package/dist/theme/tokens.d.ts +292 -0
- package/dist/theme/tokens.d.ts.map +1 -1
- package/dist/theme/types.d.ts +146 -0
- package/dist/theme/types.d.ts.map +1 -1
- package/dist/theme-editor/ThemeEditorApp.d.ts +14 -0
- package/dist/theme-editor/ThemeEditorApp.d.ts.map +1 -0
- package/dist/theme-editor/components/ColorEditor.d.ts +10 -0
- package/dist/theme-editor/components/ColorEditor.d.ts.map +1 -0
- package/dist/theme-editor/components/ComponentPreview.d.ts +8 -0
- package/dist/theme-editor/components/ComponentPreview.d.ts.map +1 -0
- package/dist/theme-editor/components/SaveDialog.d.ts +13 -0
- package/dist/theme-editor/components/SaveDialog.d.ts.map +1 -0
- package/dist/theme-editor/components/SpacingEditor.d.ts +11 -0
- package/dist/theme-editor/components/SpacingEditor.d.ts.map +1 -0
- package/dist/theme-editor/components/SyncDialog.d.ts +12 -0
- package/dist/theme-editor/components/SyncDialog.d.ts.map +1 -0
- package/dist/theme-editor/components/TypographyEditor.d.ts +10 -0
- package/dist/theme-editor/components/TypographyEditor.d.ts.map +1 -0
- package/dist/theme-editor/components/UndoButton.d.ts +9 -0
- package/dist/theme-editor/components/UndoButton.d.ts.map +1 -0
- package/dist/theme-editor/hooks/useFileSystem.d.ts +18 -0
- package/dist/theme-editor/hooks/useFileSystem.d.ts.map +1 -0
- package/dist/theme-editor/hooks/useGitIntegration.d.ts +41 -0
- package/dist/theme-editor/hooks/useGitIntegration.d.ts.map +1 -0
- package/dist/theme-editor/hooks/useThemeParser.d.ts +65 -0
- package/dist/theme-editor/hooks/useThemeParser.d.ts.map +1 -0
- package/dist/theme-editor/hooks/useThemeSave.d.ts +21 -0
- package/dist/theme-editor/hooks/useThemeSave.d.ts.map +1 -0
- package/dist/theme-editor/hooks/useThemeSync.d.ts +20 -0
- package/dist/theme-editor/hooks/useThemeSync.d.ts.map +1 -0
- package/dist/theme-editor/index.d.ts +18 -0
- package/dist/theme-editor/index.d.ts.map +1 -0
- package/package.json +35 -31
- package/README.npm.md +0 -132
- package/dist/Timeline-BPdic0I4.mjs +0 -59
- package/dist/Timeline-BPdic0I4.mjs.map +0 -1
- package/dist/Timeline-BzDR_6ve.js +0 -58
- package/dist/Timeline-BzDR_6ve.js.map +0 -1
- package/dist/components/molecules/Timeline/Timeline.d.ts +0 -50
- package/dist/components/molecules/Timeline/Timeline.d.ts.map +0 -1
- package/dist/components/molecules/Timeline/Timeline.types.d.ts +0 -75
- package/dist/components/molecules/Timeline/Timeline.types.d.ts.map +0 -1
- package/dist/components/molecules/Timeline/index.d.ts +0 -6
- package/dist/components/molecules/Timeline/index.d.ts.map +0 -1
- package/dist/index--v2dNPpd.js +0 -11
- package/dist/index--v2dNPpd.js.map +0 -1
- package/dist/index-B4_KKxHQ.mjs +0 -6
- package/dist/index-B4_KKxHQ.mjs.map +0 -1
- package/dist/index-Bp_39Kmf.js.map +0 -1
- package/dist/index-C4N6hqG7.mjs.map +0 -1
- package/dist/index-C4a5SkEO.js.map +0 -1
- package/dist/index-CBDmTLHS.mjs +0 -11
- package/dist/index-CBDmTLHS.mjs.map +0 -1
- package/dist/index-CLLVDdFI.mjs +0 -12
- package/dist/index-CLLVDdFI.mjs.map +0 -1
- package/dist/index-CxB9Lb7L.mjs +0 -6
- package/dist/index-CxB9Lb7L.mjs.map +0 -1
- package/dist/index-DGbzI3ul.mjs +0 -6
- package/dist/index-DGbzI3ul.mjs.map +0 -1
- package/dist/index-DQLiGYRv.js.map +0 -1
- package/dist/index-DgpKiomn.js.map +0 -1
- package/dist/index-DrHcCXwi.js.map +0 -1
- package/dist/index-xewrdUFS.js.map +0 -1
- package/dist/index-zqX2ktfd.mjs +0 -6
- package/dist/index-zqX2ktfd.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -76,7 +76,6 @@ import { T, c, f, a, d, b, e } from "./Table-BrEk_oGh.mjs";
|
|
|
76
76
|
import MuiTabs from "@mui/material/Tabs";
|
|
77
77
|
import MuiTab from "@mui/material/Tab";
|
|
78
78
|
import { T as T2 } from "./TimePicker-Bt5plyjC.mjs";
|
|
79
|
-
import { T as T3, d as d2, e as e2, c as c2, a as a2, f as f2, b as b2 } from "./Timeline-BPdic0I4.mjs";
|
|
80
79
|
import { LocalizationProvider as LocalizationProvider$1 } from "@mui/x-date-pickers/LocalizationProvider";
|
|
81
80
|
import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs";
|
|
82
81
|
const ComponentAlertLightBorderRadius = "8px";
|
|
@@ -151,6 +150,7 @@ const ComponentChipDefaultEnabledBorder = "#bdbdbd";
|
|
|
151
150
|
const ComponentAvatarBorderRadius = "9999px";
|
|
152
151
|
const ComponentAvatarSmall = "24px";
|
|
153
152
|
const ComponentAvatarMedium = "40px";
|
|
153
|
+
const ComponentAvatarLarge = "56px";
|
|
154
154
|
const ComponentInputLightStandardEnabledBorder = "#0000006b";
|
|
155
155
|
const ComponentInputLightFilledEnabledFill = "#0000000a";
|
|
156
156
|
const ComponentInputLightOutlinedEnabledBorder = "#0000003b";
|
|
@@ -161,16 +161,6 @@ const ComponentInputDarkFilledEnabledFill = "#ffffff14";
|
|
|
161
161
|
const ComponentInputDarkOutlinedEnabledBorder = "#ffffff3b";
|
|
162
162
|
const ComponentRatingActiveFill = "#ffb400";
|
|
163
163
|
const ComponentRatingEnabledBorder = "#0000003b";
|
|
164
|
-
const ComponentSidenavWidthCollapsed = "64px";
|
|
165
|
-
const ComponentSidenavWidthExpanded = "240px";
|
|
166
|
-
const ComponentSidenavLightItemHoverBackground = "#00000014";
|
|
167
|
-
const ComponentSidenavLightItemSelectedBackground = "#0099991f";
|
|
168
|
-
const ComponentSidenavLightItemSelectedForeground = "#00686f";
|
|
169
|
-
const ComponentSidenavLightBorderRadius = "8px";
|
|
170
|
-
const ComponentSidenavDarkItemHoverBackground = "#ffffff14";
|
|
171
|
-
const ComponentSidenavDarkItemSelectedBackground = "#0099993d";
|
|
172
|
-
const ComponentSidenavDarkItemSelectedForeground = "#66b2b2";
|
|
173
|
-
const ComponentSidenavDarkBorderRadius = "8px";
|
|
174
164
|
const ComponentPaperLightElevation0 = "#ffffff";
|
|
175
165
|
const ComponentPaperLightElevation1 = "#ffffff";
|
|
176
166
|
const ComponentPaperLightElevation2 = "#ffffff";
|
|
@@ -189,9 +179,69 @@ const ComponentTableDarkBorder = "#ffffff1f";
|
|
|
189
179
|
const ComponentTableDarkHeaderBackground = "#1e1e1e";
|
|
190
180
|
const ComponentCardLightBorderRadius = "12px";
|
|
191
181
|
const ComponentCardDarkBorderRadius = "12px";
|
|
182
|
+
const PrimitivesColorsBrandVerones = "#00686f";
|
|
183
|
+
const PrimitivesColorsBrandLima = "#99cc00";
|
|
192
184
|
const PrimitivesColorsNeutralWhite = "#ffffff";
|
|
185
|
+
const PrimitivesColorsNeutralBlack = "#000000";
|
|
186
|
+
const PrimitivesColorsNeutralGray50 = "#fafafa";
|
|
187
|
+
const PrimitivesColorsNeutralGray100 = "#f5f5f5";
|
|
188
|
+
const PrimitivesColorsNeutralGray200 = "#eeeeee";
|
|
189
|
+
const PrimitivesColorsNeutralGray300 = "#e0e0e0";
|
|
190
|
+
const PrimitivesColorsNeutralGray400 = "#bdbdbd";
|
|
191
|
+
const PrimitivesColorsNeutralGray500 = "#9e9e9e";
|
|
193
192
|
const PrimitivesColorsNeutralGray600 = "#757575";
|
|
193
|
+
const PrimitivesColorsNeutralGray700 = "#616161";
|
|
194
|
+
const PrimitivesColorsNeutralGray800 = "#424242";
|
|
195
|
+
const PrimitivesColorsNeutralGray900 = "#212121";
|
|
196
|
+
const PrimitivesColorsStatusError50 = "#fdeded";
|
|
197
|
+
const PrimitivesColorsStatusError100 = "#f8b8b8";
|
|
198
|
+
const PrimitivesColorsStatusError500 = "#ab1a1a";
|
|
199
|
+
const PrimitivesColorsStatusError600 = "#8b1515";
|
|
200
|
+
const PrimitivesColorsStatusError700 = "#5f2120";
|
|
201
|
+
const PrimitivesColorsStatusWarning50 = "#fff4e5";
|
|
202
|
+
const PrimitivesColorsStatusWarning500 = "#dfa00a";
|
|
203
|
+
const PrimitivesColorsStatusWarning600 = "#b88308";
|
|
204
|
+
const PrimitivesColorsStatusWarning700 = "#3e2410";
|
|
205
|
+
const PrimitivesColorsStatusInfo50 = "#e5f6fd";
|
|
206
|
+
const PrimitivesColorsStatusInfo100 = "#d1daf0";
|
|
207
|
+
const PrimitivesColorsStatusInfo500 = "#125c87";
|
|
208
|
+
const PrimitivesColorsStatusInfo600 = "#143996";
|
|
209
|
+
const PrimitivesColorsStatusInfo700 = "#014361";
|
|
210
|
+
const PrimitivesColorsStatusInfo800 = "#0c225a";
|
|
211
|
+
const PrimitivesColorsStatusSuccess50 = "#edf7ed";
|
|
212
|
+
const PrimitivesColorsStatusSuccess100 = "#b3d1c7";
|
|
213
|
+
const PrimitivesColorsStatusSuccess500 = "#2e7d32";
|
|
214
|
+
const PrimitivesColorsStatusSuccess600 = "#036642";
|
|
215
|
+
const PrimitivesColorsStatusSuccess700 = "#1e4620";
|
|
216
|
+
const PrimitivesColorsStatusSuccess800 = "#023321";
|
|
217
|
+
const PrimitivesColorsAlphaBlack4 = "#0000000a";
|
|
218
|
+
const PrimitivesColorsAlphaBlack8 = "#00000014";
|
|
219
|
+
const PrimitivesColorsAlphaBlack12 = "#0000001f";
|
|
220
|
+
const PrimitivesColorsAlphaBlack23 = "#0000003b";
|
|
221
|
+
const PrimitivesColorsAlphaBlack26 = "#00000042";
|
|
222
|
+
const PrimitivesColorsAlphaBlack38 = "#00000061";
|
|
223
|
+
const PrimitivesColorsAlphaBlack42 = "#0000006b";
|
|
224
|
+
const PrimitivesColorsAlphaBlack56 = "#0000008f";
|
|
225
|
+
const PrimitivesColorsAlphaBlack60 = "#00000099";
|
|
226
|
+
const PrimitivesColorsAlphaBlack87 = "#000000de";
|
|
227
|
+
const PrimitivesColorsAlphaWhite8 = "#ffffff14";
|
|
228
|
+
const PrimitivesColorsAlphaWhite12 = "#ffffff1f";
|
|
229
|
+
const PrimitivesColorsAlphaWhite16 = "#ffffff29";
|
|
230
|
+
const PrimitivesColorsAlphaWhite23 = "#ffffff3b";
|
|
231
|
+
const PrimitivesColorsAlphaWhite26 = "#ffffff42";
|
|
194
232
|
const PrimitivesColorsAlphaWhite30 = "#ffffff4d";
|
|
233
|
+
const PrimitivesColorsAlphaWhite42 = "#ffffff6b";
|
|
234
|
+
const PrimitivesColorsAlphaWhite50 = "#ffffff80";
|
|
235
|
+
const PrimitivesColorsAlphaWhite70 = "#ffffffb3";
|
|
236
|
+
const PrimitivesColorsAlphaWhite100 = "#ffffff";
|
|
237
|
+
const PrimitivesColorsAlphaPrimary8 = "#00999914";
|
|
238
|
+
const PrimitivesColorsAlphaPrimary12 = "#0099991f";
|
|
239
|
+
const PrimitivesColorsAlphaPrimary16 = "#00999929";
|
|
240
|
+
const PrimitivesColorsAlphaPrimary25 = "#00999940";
|
|
241
|
+
const PrimitivesColorsAlphaPrimary24Dark = "#0099993d";
|
|
242
|
+
const PrimitivesColorsAlphaPrimary32Dark = "#00999952";
|
|
243
|
+
const PrimitivesColorsAlphaPrimary40Dark = "#00999966";
|
|
244
|
+
const PrimitivesColorsSpecialRating = "#ffb400";
|
|
195
245
|
const PrimitivesMotionDurationFast = "100ms";
|
|
196
246
|
const PrimitivesMotionDurationBase = "200ms";
|
|
197
247
|
const PrimitivesMotionDurationModerate = "300ms";
|
|
@@ -422,7 +472,7 @@ const shapeTokens = {
|
|
|
422
472
|
sm: 4,
|
|
423
473
|
md: 8,
|
|
424
474
|
lg: 12,
|
|
425
|
-
xl:
|
|
475
|
+
xl: 20,
|
|
426
476
|
rounded: 9999
|
|
427
477
|
// pill shape
|
|
428
478
|
};
|
|
@@ -481,7 +531,153 @@ const lightTokens = {
|
|
|
481
531
|
disabled: SemanticColorLightActionDisabled,
|
|
482
532
|
disabledBackground: SemanticColorLightActionDisabledBackground
|
|
483
533
|
},
|
|
484
|
-
divider: SemanticColorLightDivider
|
|
534
|
+
divider: SemanticColorLightDivider,
|
|
535
|
+
primitives: {
|
|
536
|
+
brand: {
|
|
537
|
+
veronesMain: PrimitivesColorsBrandVerones,
|
|
538
|
+
lima: PrimitivesColorsBrandLima
|
|
539
|
+
},
|
|
540
|
+
neutral: {
|
|
541
|
+
white: PrimitivesColorsNeutralWhite,
|
|
542
|
+
black: PrimitivesColorsNeutralBlack,
|
|
543
|
+
gray: {
|
|
544
|
+
50: PrimitivesColorsNeutralGray50,
|
|
545
|
+
100: PrimitivesColorsNeutralGray100,
|
|
546
|
+
200: PrimitivesColorsNeutralGray200,
|
|
547
|
+
300: PrimitivesColorsNeutralGray300,
|
|
548
|
+
400: PrimitivesColorsNeutralGray400,
|
|
549
|
+
500: PrimitivesColorsNeutralGray500,
|
|
550
|
+
600: PrimitivesColorsNeutralGray600,
|
|
551
|
+
700: PrimitivesColorsNeutralGray700,
|
|
552
|
+
800: PrimitivesColorsNeutralGray800,
|
|
553
|
+
900: PrimitivesColorsNeutralGray900
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
status: {
|
|
557
|
+
error: {
|
|
558
|
+
50: PrimitivesColorsStatusError50,
|
|
559
|
+
100: PrimitivesColorsStatusError100,
|
|
560
|
+
500: PrimitivesColorsStatusError500,
|
|
561
|
+
600: PrimitivesColorsStatusError600,
|
|
562
|
+
700: PrimitivesColorsStatusError700
|
|
563
|
+
},
|
|
564
|
+
warning: {
|
|
565
|
+
50: PrimitivesColorsStatusWarning50,
|
|
566
|
+
500: PrimitivesColorsStatusWarning500,
|
|
567
|
+
600: PrimitivesColorsStatusWarning600,
|
|
568
|
+
700: PrimitivesColorsStatusWarning700
|
|
569
|
+
},
|
|
570
|
+
info: {
|
|
571
|
+
50: PrimitivesColorsStatusInfo50,
|
|
572
|
+
100: PrimitivesColorsStatusInfo100,
|
|
573
|
+
500: PrimitivesColorsStatusInfo500,
|
|
574
|
+
600: PrimitivesColorsStatusInfo600,
|
|
575
|
+
700: PrimitivesColorsStatusInfo700,
|
|
576
|
+
800: PrimitivesColorsStatusInfo800
|
|
577
|
+
},
|
|
578
|
+
success: {
|
|
579
|
+
50: PrimitivesColorsStatusSuccess50,
|
|
580
|
+
100: PrimitivesColorsStatusSuccess100,
|
|
581
|
+
500: PrimitivesColorsStatusSuccess500,
|
|
582
|
+
600: PrimitivesColorsStatusSuccess600,
|
|
583
|
+
700: PrimitivesColorsStatusSuccess700,
|
|
584
|
+
800: PrimitivesColorsStatusSuccess800
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
alpha: {
|
|
588
|
+
black: {
|
|
589
|
+
4: PrimitivesColorsAlphaBlack4,
|
|
590
|
+
8: PrimitivesColorsAlphaBlack8,
|
|
591
|
+
12: PrimitivesColorsAlphaBlack12,
|
|
592
|
+
23: PrimitivesColorsAlphaBlack23,
|
|
593
|
+
26: PrimitivesColorsAlphaBlack26,
|
|
594
|
+
38: PrimitivesColorsAlphaBlack38,
|
|
595
|
+
42: PrimitivesColorsAlphaBlack42,
|
|
596
|
+
56: PrimitivesColorsAlphaBlack56,
|
|
597
|
+
60: PrimitivesColorsAlphaBlack60,
|
|
598
|
+
87: PrimitivesColorsAlphaBlack87
|
|
599
|
+
},
|
|
600
|
+
white: {
|
|
601
|
+
8: PrimitivesColorsAlphaWhite8,
|
|
602
|
+
12: PrimitivesColorsAlphaWhite12,
|
|
603
|
+
16: PrimitivesColorsAlphaWhite16,
|
|
604
|
+
23: PrimitivesColorsAlphaWhite23,
|
|
605
|
+
26: PrimitivesColorsAlphaWhite26,
|
|
606
|
+
30: PrimitivesColorsAlphaWhite30,
|
|
607
|
+
42: PrimitivesColorsAlphaWhite42,
|
|
608
|
+
50: PrimitivesColorsAlphaWhite50,
|
|
609
|
+
70: PrimitivesColorsAlphaWhite70,
|
|
610
|
+
100: PrimitivesColorsAlphaWhite100
|
|
611
|
+
},
|
|
612
|
+
primary: {
|
|
613
|
+
8: PrimitivesColorsAlphaPrimary8,
|
|
614
|
+
12: PrimitivesColorsAlphaPrimary12,
|
|
615
|
+
16: PrimitivesColorsAlphaPrimary16,
|
|
616
|
+
25: PrimitivesColorsAlphaPrimary25,
|
|
617
|
+
"24-dark": PrimitivesColorsAlphaPrimary24Dark,
|
|
618
|
+
"32-dark": PrimitivesColorsAlphaPrimary32Dark,
|
|
619
|
+
"40-dark": PrimitivesColorsAlphaPrimary40Dark
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
special: {
|
|
623
|
+
rating: PrimitivesColorsSpecialRating
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
semantic: {
|
|
627
|
+
primary: {
|
|
628
|
+
main: SemanticColorLightPrimaryMain,
|
|
629
|
+
dark: SemanticColorLightPrimaryDark,
|
|
630
|
+
light: SemanticColorLightPrimaryLight,
|
|
631
|
+
contrastText: SemanticColorLightPrimaryContrastText
|
|
632
|
+
},
|
|
633
|
+
secondary: {
|
|
634
|
+
main: SemanticColorLightSecondaryMain,
|
|
635
|
+
dark: SemanticColorLightSecondaryDark,
|
|
636
|
+
light: SemanticColorLightSecondaryLight,
|
|
637
|
+
contrastText: SemanticColorLightSecondaryContrastText
|
|
638
|
+
},
|
|
639
|
+
error: {
|
|
640
|
+
main: SemanticColorLightErrorMain,
|
|
641
|
+
dark: SemanticColorLightErrorDark,
|
|
642
|
+
light: SemanticColorLightErrorLight,
|
|
643
|
+
contrastText: SemanticColorLightErrorContrastText
|
|
644
|
+
},
|
|
645
|
+
warning: {
|
|
646
|
+
main: SemanticColorLightWarningMain,
|
|
647
|
+
dark: SemanticColorLightWarningDark,
|
|
648
|
+
light: SemanticColorLightWarningLight,
|
|
649
|
+
contrastText: SemanticColorLightWarningContrastText
|
|
650
|
+
},
|
|
651
|
+
info: {
|
|
652
|
+
main: SemanticColorLightInfoMain,
|
|
653
|
+
dark: SemanticColorLightInfoDark,
|
|
654
|
+
light: SemanticColorLightInfoLight,
|
|
655
|
+
contrastText: SemanticColorLightInfoContrastText
|
|
656
|
+
},
|
|
657
|
+
success: {
|
|
658
|
+
main: SemanticColorLightSuccessMain,
|
|
659
|
+
dark: SemanticColorLightSuccessDark,
|
|
660
|
+
light: SemanticColorLightSuccessLight,
|
|
661
|
+
contrastText: SemanticColorLightSuccessContrastText
|
|
662
|
+
},
|
|
663
|
+
background: {
|
|
664
|
+
default: SemanticColorLightBackgroundDefault,
|
|
665
|
+
paper: SemanticColorLightBackgroundPaper
|
|
666
|
+
},
|
|
667
|
+
text: {
|
|
668
|
+
primary: SemanticColorLightTextPrimary,
|
|
669
|
+
secondary: SemanticColorLightTextSecondary,
|
|
670
|
+
disabled: SemanticColorLightTextDisabled
|
|
671
|
+
},
|
|
672
|
+
action: {
|
|
673
|
+
active: SemanticColorLightActionActive,
|
|
674
|
+
hover: SemanticColorLightActionHover,
|
|
675
|
+
selected: SemanticColorLightActionSelected,
|
|
676
|
+
disabled: SemanticColorLightActionDisabled,
|
|
677
|
+
disabledBackground: SemanticColorLightActionDisabledBackground
|
|
678
|
+
},
|
|
679
|
+
divider: SemanticColorLightDivider
|
|
680
|
+
}
|
|
485
681
|
},
|
|
486
682
|
components: {
|
|
487
683
|
alert: {
|
|
@@ -757,6 +953,135 @@ const darkTokens = {
|
|
|
757
953
|
}
|
|
758
954
|
}
|
|
759
955
|
};
|
|
956
|
+
const styleCompositions = {
|
|
957
|
+
/**
|
|
958
|
+
* Button style compositions
|
|
959
|
+
* Used by: MuiButton, MuiFab, MuiToggleButton
|
|
960
|
+
*/
|
|
961
|
+
button: {
|
|
962
|
+
/**
|
|
963
|
+
* Base button styles
|
|
964
|
+
*/
|
|
965
|
+
base: () => ({
|
|
966
|
+
fontWeight: typographyTokens.fontWeightSemiBold,
|
|
967
|
+
textTransform: "none",
|
|
968
|
+
borderRadius: shapeTokens.md,
|
|
969
|
+
transition: "all 0.2s ease"
|
|
970
|
+
}),
|
|
971
|
+
/**
|
|
972
|
+
* Button size variants
|
|
973
|
+
*/
|
|
974
|
+
sizes: {
|
|
975
|
+
small: {
|
|
976
|
+
fontSize: "0.8125rem",
|
|
977
|
+
padding: "4px 10px"
|
|
978
|
+
},
|
|
979
|
+
medium: {
|
|
980
|
+
fontSize: "0.875rem",
|
|
981
|
+
padding: "6px 16px"
|
|
982
|
+
},
|
|
983
|
+
large: {
|
|
984
|
+
fontSize: "1rem",
|
|
985
|
+
padding: "8px 22px"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
/**
|
|
989
|
+
* Button state styles
|
|
990
|
+
*/
|
|
991
|
+
states: {
|
|
992
|
+
disabled: () => ({
|
|
993
|
+
opacity: 0.5,
|
|
994
|
+
cursor: "not-allowed",
|
|
995
|
+
pointerEvents: "none"
|
|
996
|
+
})
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
/**
|
|
1000
|
+
* List item style compositions
|
|
1001
|
+
* Used by: MuiListItem, MuiListItemButton
|
|
1002
|
+
*/
|
|
1003
|
+
listItem: {
|
|
1004
|
+
/**
|
|
1005
|
+
* Base list item styles
|
|
1006
|
+
*/
|
|
1007
|
+
base: () => ({
|
|
1008
|
+
borderRadius: shapeTokens.sm,
|
|
1009
|
+
transition: "all 0.2s ease"
|
|
1010
|
+
}),
|
|
1011
|
+
/**
|
|
1012
|
+
* List item state styles
|
|
1013
|
+
*/
|
|
1014
|
+
states: {
|
|
1015
|
+
selected: (theme2) => ({
|
|
1016
|
+
backgroundColor: theme2.palette.action.selected,
|
|
1017
|
+
fontWeight: typographyTokens.fontWeightSemiBold
|
|
1018
|
+
}),
|
|
1019
|
+
hover: (theme2) => ({
|
|
1020
|
+
backgroundColor: theme2.palette.action.hover
|
|
1021
|
+
}),
|
|
1022
|
+
disabled: () => ({
|
|
1023
|
+
opacity: 0.5,
|
|
1024
|
+
cursor: "not-allowed",
|
|
1025
|
+
pointerEvents: "none"
|
|
1026
|
+
})
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
/**
|
|
1030
|
+
* Chip style compositions
|
|
1031
|
+
* Used by: MuiChip
|
|
1032
|
+
*/
|
|
1033
|
+
chip: {
|
|
1034
|
+
/**
|
|
1035
|
+
* Base chip styles
|
|
1036
|
+
*/
|
|
1037
|
+
base: () => ({
|
|
1038
|
+
borderRadius: shapeTokens.rounded,
|
|
1039
|
+
fontWeight: typographyTokens.fontWeightMedium,
|
|
1040
|
+
transition: "all 0.2s ease"
|
|
1041
|
+
}),
|
|
1042
|
+
/**
|
|
1043
|
+
* Chip size variants
|
|
1044
|
+
*/
|
|
1045
|
+
sizes: {
|
|
1046
|
+
small: {
|
|
1047
|
+
fontSize: "0.75rem",
|
|
1048
|
+
padding: "4px 8px"
|
|
1049
|
+
},
|
|
1050
|
+
medium: {
|
|
1051
|
+
fontSize: "0.875rem",
|
|
1052
|
+
padding: "6px 12px"
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
/**
|
|
1056
|
+
* Chip state styles
|
|
1057
|
+
*/
|
|
1058
|
+
states: {
|
|
1059
|
+
disabled: () => ({
|
|
1060
|
+
opacity: 0.5,
|
|
1061
|
+
cursor: "not-allowed"
|
|
1062
|
+
})
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1065
|
+
/**
|
|
1066
|
+
* Typography weight shortcuts
|
|
1067
|
+
*/
|
|
1068
|
+
typography: {
|
|
1069
|
+
bold: { fontWeight: typographyTokens.fontWeightBold },
|
|
1070
|
+
semiBold: { fontWeight: typographyTokens.fontWeightSemiBold },
|
|
1071
|
+
medium: { fontWeight: typographyTokens.fontWeightMedium },
|
|
1072
|
+
regular: { fontWeight: typographyTokens.fontWeightRegular },
|
|
1073
|
+
light: { fontWeight: typographyTokens.fontWeightLight }
|
|
1074
|
+
},
|
|
1075
|
+
/**
|
|
1076
|
+
* Border radius shortcuts
|
|
1077
|
+
*/
|
|
1078
|
+
borderRadius: {
|
|
1079
|
+
small: { borderRadius: shapeTokens.sm },
|
|
1080
|
+
medium: { borderRadius: shapeTokens.md },
|
|
1081
|
+
large: { borderRadius: shapeTokens.lg },
|
|
1082
|
+
rounded: { borderRadius: shapeTokens.rounded }
|
|
1083
|
+
}
|
|
1084
|
+
};
|
|
760
1085
|
const spacing$1 = (factor) => {
|
|
761
1086
|
const baseUnit = 8;
|
|
762
1087
|
return baseUnit * factor;
|
|
@@ -771,9 +1096,7 @@ const getComponentOverrides = (mode) => {
|
|
|
771
1096
|
// =========================================================================
|
|
772
1097
|
MuiCssBaseline: {
|
|
773
1098
|
styleOverrides: {
|
|
774
|
-
body: {
|
|
775
|
-
fontFamily: typography2.fontFamily
|
|
776
|
-
},
|
|
1099
|
+
body: {},
|
|
777
1100
|
// Apply Nunito font globally
|
|
778
1101
|
"*": {
|
|
779
1102
|
fontFamily: "inherit"
|
|
@@ -789,36 +1112,22 @@ const getComponentOverrides = (mode) => {
|
|
|
789
1112
|
},
|
|
790
1113
|
styleOverrides: {
|
|
791
1114
|
root: {
|
|
792
|
-
|
|
793
|
-
textTransform: "none"
|
|
794
|
-
fontWeight: typography2.fontWeightSemiBold,
|
|
795
|
-
fontFamily: typography2.fontFamily
|
|
796
|
-
},
|
|
797
|
-
sizeSmall: {
|
|
798
|
-
fontSize: "0.8125rem",
|
|
799
|
-
padding: "4px 10px"
|
|
800
|
-
},
|
|
801
|
-
sizeMedium: {
|
|
802
|
-
fontSize: "0.875rem",
|
|
803
|
-
padding: "6px 16px"
|
|
1115
|
+
...styleCompositions.button.base(),
|
|
1116
|
+
textTransform: "none"
|
|
804
1117
|
},
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
}
|
|
1118
|
+
sizeSmall: styleCompositions.button.sizes.small,
|
|
1119
|
+
sizeMedium: styleCompositions.button.sizes.medium,
|
|
1120
|
+
sizeLarge: styleCompositions.button.sizes.large
|
|
809
1121
|
}
|
|
810
1122
|
},
|
|
811
1123
|
MuiIconButton: {
|
|
812
1124
|
styleOverrides: {
|
|
813
|
-
root: {
|
|
814
|
-
fontFamily: typography2.fontFamily
|
|
815
|
-
}
|
|
1125
|
+
root: {}
|
|
816
1126
|
}
|
|
817
1127
|
},
|
|
818
1128
|
MuiToggleButton: {
|
|
819
1129
|
styleOverrides: {
|
|
820
1130
|
root: {
|
|
821
|
-
fontFamily: typography2.fontFamily,
|
|
822
1131
|
textTransform: "none"
|
|
823
1132
|
}
|
|
824
1133
|
}
|
|
@@ -849,16 +1158,13 @@ const getComponentOverrides = (mode) => {
|
|
|
849
1158
|
variant: "outlined"
|
|
850
1159
|
},
|
|
851
1160
|
styleOverrides: {
|
|
852
|
-
root: {
|
|
853
|
-
fontFamily: typography2.fontFamily
|
|
854
|
-
}
|
|
1161
|
+
root: {}
|
|
855
1162
|
}
|
|
856
1163
|
},
|
|
857
1164
|
MuiOutlinedInput: {
|
|
858
1165
|
styleOverrides: {
|
|
859
1166
|
root: {
|
|
860
|
-
|
|
861
|
-
borderRadius: shape2.sm
|
|
1167
|
+
borderRadius: shape2.md
|
|
862
1168
|
},
|
|
863
1169
|
notchedOutline: {
|
|
864
1170
|
borderColor: modeTokens.components.input.outlined.enabledBorder
|
|
@@ -868,17 +1174,14 @@ const getComponentOverrides = (mode) => {
|
|
|
868
1174
|
MuiFilledInput: {
|
|
869
1175
|
styleOverrides: {
|
|
870
1176
|
root: {
|
|
871
|
-
fontFamily: typography2.fontFamily,
|
|
872
1177
|
backgroundColor: modeTokens.components.input.filled.enabledFill,
|
|
873
|
-
borderRadius: `${shape2.
|
|
1178
|
+
borderRadius: `${shape2.md}px ${shape2.md}px 0 0`
|
|
874
1179
|
}
|
|
875
1180
|
}
|
|
876
1181
|
},
|
|
877
1182
|
MuiInput: {
|
|
878
1183
|
styleOverrides: {
|
|
879
|
-
root: {
|
|
880
|
-
fontFamily: typography2.fontFamily
|
|
881
|
-
},
|
|
1184
|
+
root: {},
|
|
882
1185
|
underline: {
|
|
883
1186
|
"&:before": {
|
|
884
1187
|
borderBottomColor: modeTokens.components.input.standard.enabledBorder
|
|
@@ -888,23 +1191,17 @@ const getComponentOverrides = (mode) => {
|
|
|
888
1191
|
},
|
|
889
1192
|
MuiInputLabel: {
|
|
890
1193
|
styleOverrides: {
|
|
891
|
-
root: {
|
|
892
|
-
fontFamily: typography2.fontFamily
|
|
893
|
-
}
|
|
1194
|
+
root: {}
|
|
894
1195
|
}
|
|
895
1196
|
},
|
|
896
1197
|
MuiSelect: {
|
|
897
1198
|
styleOverrides: {
|
|
898
|
-
root: {
|
|
899
|
-
fontFamily: typography2.fontFamily
|
|
900
|
-
}
|
|
1199
|
+
root: {}
|
|
901
1200
|
}
|
|
902
1201
|
},
|
|
903
1202
|
MuiAutocomplete: {
|
|
904
1203
|
styleOverrides: {
|
|
905
|
-
root: {
|
|
906
|
-
fontFamily: typography2.fontFamily
|
|
907
|
-
}
|
|
1204
|
+
root: {}
|
|
908
1205
|
}
|
|
909
1206
|
},
|
|
910
1207
|
// =========================================================================
|
|
@@ -946,8 +1243,7 @@ const getComponentOverrides = (mode) => {
|
|
|
946
1243
|
MuiChip: {
|
|
947
1244
|
styleOverrides: {
|
|
948
1245
|
root: {
|
|
949
|
-
|
|
950
|
-
borderRadius: shape2.rounded
|
|
1246
|
+
...styleCompositions.chip.base()
|
|
951
1247
|
},
|
|
952
1248
|
outlined: {
|
|
953
1249
|
borderColor: modeTokens.components.chip.defaultEnabledBorder
|
|
@@ -963,7 +1259,6 @@ const getComponentOverrides = (mode) => {
|
|
|
963
1259
|
MuiAlert: {
|
|
964
1260
|
styleOverrides: {
|
|
965
1261
|
root: {
|
|
966
|
-
fontFamily: typography2.fontFamily,
|
|
967
1262
|
borderRadius: `${shape2.md}px`
|
|
968
1263
|
},
|
|
969
1264
|
// Filled variants
|
|
@@ -1025,9 +1320,7 @@ const getComponentOverrides = (mode) => {
|
|
|
1025
1320
|
},
|
|
1026
1321
|
MuiSnackbar: {
|
|
1027
1322
|
styleOverrides: {
|
|
1028
|
-
root: {
|
|
1029
|
-
fontFamily: typography2.fontFamily
|
|
1030
|
-
}
|
|
1323
|
+
root: {}
|
|
1031
1324
|
}
|
|
1032
1325
|
},
|
|
1033
1326
|
// =========================================================================
|
|
@@ -1035,9 +1328,7 @@ const getComponentOverrides = (mode) => {
|
|
|
1035
1328
|
// =========================================================================
|
|
1036
1329
|
MuiPaper: {
|
|
1037
1330
|
styleOverrides: {
|
|
1038
|
-
root: {
|
|
1039
|
-
fontFamily: typography2.fontFamily
|
|
1040
|
-
},
|
|
1331
|
+
root: {},
|
|
1041
1332
|
rounded: {
|
|
1042
1333
|
borderRadius: shape2.md
|
|
1043
1334
|
},
|
|
@@ -1055,31 +1346,25 @@ const getComponentOverrides = (mode) => {
|
|
|
1055
1346
|
MuiCard: {
|
|
1056
1347
|
styleOverrides: {
|
|
1057
1348
|
root: {
|
|
1058
|
-
borderRadius: shape2.lg
|
|
1059
|
-
fontFamily: typography2.fontFamily
|
|
1349
|
+
borderRadius: shape2.lg
|
|
1060
1350
|
}
|
|
1061
1351
|
}
|
|
1062
1352
|
},
|
|
1063
1353
|
MuiDialog: {
|
|
1064
1354
|
styleOverrides: {
|
|
1065
1355
|
paper: {
|
|
1066
|
-
borderRadius: shape2.lg
|
|
1067
|
-
fontFamily: typography2.fontFamily
|
|
1356
|
+
borderRadius: shape2.lg
|
|
1068
1357
|
}
|
|
1069
1358
|
}
|
|
1070
1359
|
},
|
|
1071
1360
|
MuiDrawer: {
|
|
1072
1361
|
styleOverrides: {
|
|
1073
|
-
paper: {
|
|
1074
|
-
fontFamily: typography2.fontFamily
|
|
1075
|
-
}
|
|
1362
|
+
paper: {}
|
|
1076
1363
|
}
|
|
1077
1364
|
},
|
|
1078
1365
|
MuiAppBar: {
|
|
1079
1366
|
styleOverrides: {
|
|
1080
|
-
root: {
|
|
1081
|
-
fontFamily: typography2.fontFamily
|
|
1082
|
-
}
|
|
1367
|
+
root: {}
|
|
1083
1368
|
}
|
|
1084
1369
|
},
|
|
1085
1370
|
// =========================================================================
|
|
@@ -1087,15 +1372,12 @@ const getComponentOverrides = (mode) => {
|
|
|
1087
1372
|
// =========================================================================
|
|
1088
1373
|
MuiTable: {
|
|
1089
1374
|
styleOverrides: {
|
|
1090
|
-
root: {
|
|
1091
|
-
fontFamily: typography2.fontFamily
|
|
1092
|
-
}
|
|
1375
|
+
root: {}
|
|
1093
1376
|
}
|
|
1094
1377
|
},
|
|
1095
1378
|
MuiTableCell: {
|
|
1096
1379
|
styleOverrides: {
|
|
1097
1380
|
root: {
|
|
1098
|
-
fontFamily: typography2.fontFamily,
|
|
1099
1381
|
borderBottomColor: modeTokens.components.table.border
|
|
1100
1382
|
},
|
|
1101
1383
|
head: {
|
|
@@ -1108,40 +1390,35 @@ const getComponentOverrides = (mode) => {
|
|
|
1108
1390
|
// =========================================================================
|
|
1109
1391
|
MuiList: {
|
|
1110
1392
|
styleOverrides: {
|
|
1111
|
-
root: {
|
|
1112
|
-
fontFamily: typography2.fontFamily
|
|
1113
|
-
}
|
|
1393
|
+
root: {}
|
|
1114
1394
|
}
|
|
1115
1395
|
},
|
|
1116
1396
|
MuiListItem: {
|
|
1117
1397
|
styleOverrides: {
|
|
1118
|
-
root: {
|
|
1119
|
-
fontFamily: typography2.fontFamily
|
|
1120
|
-
}
|
|
1398
|
+
root: {}
|
|
1121
1399
|
}
|
|
1122
1400
|
},
|
|
1123
1401
|
MuiListItemButton: {
|
|
1124
1402
|
styleOverrides: {
|
|
1125
1403
|
root: {
|
|
1126
|
-
|
|
1127
|
-
borderRadius: shape2.sm,
|
|
1404
|
+
...styleCompositions.listItem.base(),
|
|
1128
1405
|
"&.Mui-selected": {
|
|
1129
|
-
backgroundColor: modeTokens.colors.action.selected
|
|
1406
|
+
backgroundColor: modeTokens.colors.action.selected,
|
|
1407
|
+
fontWeight: typography2.fontWeightSemiBold
|
|
1130
1408
|
},
|
|
1131
1409
|
"&.Mui-selected:hover": {
|
|
1132
1410
|
backgroundColor: modeTokens.colors.action.hover
|
|
1411
|
+
},
|
|
1412
|
+
"&:hover": {
|
|
1413
|
+
backgroundColor: modeTokens.colors.action.hover
|
|
1133
1414
|
}
|
|
1134
1415
|
}
|
|
1135
1416
|
}
|
|
1136
1417
|
},
|
|
1137
1418
|
MuiListItemText: {
|
|
1138
1419
|
styleOverrides: {
|
|
1139
|
-
primary: {
|
|
1140
|
-
|
|
1141
|
-
},
|
|
1142
|
-
secondary: {
|
|
1143
|
-
fontFamily: typography2.fontFamily
|
|
1144
|
-
}
|
|
1420
|
+
primary: {},
|
|
1421
|
+
secondary: {}
|
|
1145
1422
|
}
|
|
1146
1423
|
},
|
|
1147
1424
|
MuiMenu: {
|
|
@@ -1153,9 +1430,7 @@ const getComponentOverrides = (mode) => {
|
|
|
1153
1430
|
},
|
|
1154
1431
|
MuiMenuItem: {
|
|
1155
1432
|
styleOverrides: {
|
|
1156
|
-
root: {
|
|
1157
|
-
fontFamily: typography2.fontFamily
|
|
1158
|
-
}
|
|
1433
|
+
root: {}
|
|
1159
1434
|
}
|
|
1160
1435
|
},
|
|
1161
1436
|
// =========================================================================
|
|
@@ -1163,38 +1438,29 @@ const getComponentOverrides = (mode) => {
|
|
|
1163
1438
|
// =========================================================================
|
|
1164
1439
|
MuiTabs: {
|
|
1165
1440
|
styleOverrides: {
|
|
1166
|
-
root: {
|
|
1167
|
-
fontFamily: typography2.fontFamily
|
|
1168
|
-
}
|
|
1441
|
+
root: {}
|
|
1169
1442
|
}
|
|
1170
1443
|
},
|
|
1171
1444
|
MuiTab: {
|
|
1172
1445
|
styleOverrides: {
|
|
1173
1446
|
root: {
|
|
1174
|
-
fontFamily: typography2.fontFamily,
|
|
1175
1447
|
textTransform: "none"
|
|
1176
1448
|
}
|
|
1177
1449
|
}
|
|
1178
1450
|
},
|
|
1179
1451
|
MuiBreadcrumbs: {
|
|
1180
1452
|
styleOverrides: {
|
|
1181
|
-
root: {
|
|
1182
|
-
fontFamily: typography2.fontFamily
|
|
1183
|
-
}
|
|
1453
|
+
root: {}
|
|
1184
1454
|
}
|
|
1185
1455
|
},
|
|
1186
1456
|
MuiPagination: {
|
|
1187
1457
|
styleOverrides: {
|
|
1188
|
-
root: {
|
|
1189
|
-
fontFamily: typography2.fontFamily
|
|
1190
|
-
}
|
|
1458
|
+
root: {}
|
|
1191
1459
|
}
|
|
1192
1460
|
},
|
|
1193
1461
|
MuiStepper: {
|
|
1194
1462
|
styleOverrides: {
|
|
1195
|
-
root: {
|
|
1196
|
-
fontFamily: typography2.fontFamily
|
|
1197
|
-
}
|
|
1463
|
+
root: {}
|
|
1198
1464
|
}
|
|
1199
1465
|
},
|
|
1200
1466
|
// =========================================================================
|
|
@@ -1202,16 +1468,12 @@ const getComponentOverrides = (mode) => {
|
|
|
1202
1468
|
// =========================================================================
|
|
1203
1469
|
MuiTypography: {
|
|
1204
1470
|
styleOverrides: {
|
|
1205
|
-
root: {
|
|
1206
|
-
fontFamily: typography2.fontFamily
|
|
1207
|
-
}
|
|
1471
|
+
root: {}
|
|
1208
1472
|
}
|
|
1209
1473
|
},
|
|
1210
1474
|
MuiLink: {
|
|
1211
1475
|
styleOverrides: {
|
|
1212
|
-
root: {
|
|
1213
|
-
fontFamily: typography2.fontFamily
|
|
1214
|
-
}
|
|
1476
|
+
root: {}
|
|
1215
1477
|
}
|
|
1216
1478
|
},
|
|
1217
1479
|
// =========================================================================
|
|
@@ -1219,23 +1481,17 @@ const getComponentOverrides = (mode) => {
|
|
|
1219
1481
|
// =========================================================================
|
|
1220
1482
|
MuiAvatar: {
|
|
1221
1483
|
styleOverrides: {
|
|
1222
|
-
root: {
|
|
1223
|
-
fontFamily: typography2.fontFamily
|
|
1224
|
-
}
|
|
1484
|
+
root: {}
|
|
1225
1485
|
}
|
|
1226
1486
|
},
|
|
1227
1487
|
MuiBadge: {
|
|
1228
1488
|
styleOverrides: {
|
|
1229
|
-
badge: {
|
|
1230
|
-
fontFamily: typography2.fontFamily
|
|
1231
|
-
}
|
|
1489
|
+
badge: {}
|
|
1232
1490
|
}
|
|
1233
1491
|
},
|
|
1234
1492
|
MuiTooltip: {
|
|
1235
1493
|
styleOverrides: {
|
|
1236
|
-
tooltip: {
|
|
1237
|
-
fontFamily: typography2.fontFamily
|
|
1238
|
-
}
|
|
1494
|
+
tooltip: {}
|
|
1239
1495
|
}
|
|
1240
1496
|
},
|
|
1241
1497
|
MuiDivider: {
|
|
@@ -1250,23 +1506,17 @@ const getComponentOverrides = (mode) => {
|
|
|
1250
1506
|
// =========================================================================
|
|
1251
1507
|
MuiFormControlLabel: {
|
|
1252
1508
|
styleOverrides: {
|
|
1253
|
-
label: {
|
|
1254
|
-
fontFamily: typography2.fontFamily
|
|
1255
|
-
}
|
|
1509
|
+
label: {}
|
|
1256
1510
|
}
|
|
1257
1511
|
},
|
|
1258
1512
|
MuiFormHelperText: {
|
|
1259
1513
|
styleOverrides: {
|
|
1260
|
-
root: {
|
|
1261
|
-
fontFamily: typography2.fontFamily
|
|
1262
|
-
}
|
|
1514
|
+
root: {}
|
|
1263
1515
|
}
|
|
1264
1516
|
},
|
|
1265
1517
|
MuiFormLabel: {
|
|
1266
1518
|
styleOverrides: {
|
|
1267
|
-
root: {
|
|
1268
|
-
fontFamily: typography2.fontFamily
|
|
1269
|
-
}
|
|
1519
|
+
root: {}
|
|
1270
1520
|
}
|
|
1271
1521
|
},
|
|
1272
1522
|
// =========================================================================
|
|
@@ -1294,6 +1544,8 @@ const lightTheme = createTheme({
|
|
|
1294
1544
|
text: lightTokens.colors.text,
|
|
1295
1545
|
action: lightTokens.colors.action,
|
|
1296
1546
|
divider: lightTokens.colors.divider,
|
|
1547
|
+
primitives: lightTokens.colors.primitives,
|
|
1548
|
+
semantic: lightTokens.colors.semantic,
|
|
1297
1549
|
_components: lightTokens.components
|
|
1298
1550
|
},
|
|
1299
1551
|
typography: {
|
|
@@ -1372,6 +1624,7 @@ const Avatar = React.forwardRef(
|
|
|
1372
1624
|
const getSizeToken = () => {
|
|
1373
1625
|
if (size === 24) return ComponentAvatarSmall;
|
|
1374
1626
|
if (size === 40) return ComponentAvatarMedium;
|
|
1627
|
+
if (size === 56) return ComponentAvatarLarge;
|
|
1375
1628
|
return `${size}px`;
|
|
1376
1629
|
};
|
|
1377
1630
|
const getFontSize = () => {
|
|
@@ -2079,8 +2332,12 @@ const Select = React.forwardRef(
|
|
|
2079
2332
|
fullWidth,
|
|
2080
2333
|
sx: {
|
|
2081
2334
|
fontFamily: (theme2) => theme2.typography.fontFamily,
|
|
2335
|
+
borderRadius: shapeTokens.lg,
|
|
2082
2336
|
// Outlined variant specific styles
|
|
2083
2337
|
...variant === "outlined" && {
|
|
2338
|
+
"& .MuiOutlinedInput-root": {
|
|
2339
|
+
borderRadius: shapeTokens.lg
|
|
2340
|
+
},
|
|
2084
2341
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
2085
2342
|
borderColor: (theme2) => theme2.palette._components?.input?.outlined?.enabledBorder || theme2.palette.divider
|
|
2086
2343
|
},
|
|
@@ -3384,8 +3641,7 @@ const Sidenav = React.forwardRef(
|
|
|
3384
3641
|
listSx
|
|
3385
3642
|
}, ref) => {
|
|
3386
3643
|
const theme2 = useTheme();
|
|
3387
|
-
const
|
|
3388
|
-
const sidenavWidth = width ?? (variant === "slim" ? ComponentSidenavWidthCollapsed : ComponentSidenavWidthExpanded);
|
|
3644
|
+
const sidenavWidth = width ?? (variant === "slim" ? 72 : 256);
|
|
3389
3645
|
const handleItemClick = (item) => {
|
|
3390
3646
|
if (item.onClick) {
|
|
3391
3647
|
item.onClick();
|
|
@@ -3401,18 +3657,12 @@ const Sidenav = React.forwardRef(
|
|
|
3401
3657
|
selected: item.selected,
|
|
3402
3658
|
onClick: () => handleItemClick(item),
|
|
3403
3659
|
sx: {
|
|
3404
|
-
|
|
3660
|
+
// Note: borderRadius and colors are now defined in theme.ts
|
|
3661
|
+
// MuiListItemButton override via sidenavTokens
|
|
3405
3662
|
mx: 1,
|
|
3406
3663
|
px: variant === "slim" ? 1.5 : 2,
|
|
3407
3664
|
justifyContent: variant === "slim" ? "center" : "flex-start",
|
|
3408
|
-
minHeight: 48
|
|
3409
|
-
"&.Mui-selected": {
|
|
3410
|
-
backgroundColor: mode === "light" ? ComponentSidenavLightItemSelectedBackground : ComponentSidenavDarkItemSelectedBackground,
|
|
3411
|
-
color: mode === "light" ? ComponentSidenavLightItemSelectedForeground : ComponentSidenavDarkItemSelectedForeground,
|
|
3412
|
-
"&:hover": {
|
|
3413
|
-
backgroundColor: mode === "light" ? ComponentSidenavLightItemHoverBackground : ComponentSidenavDarkItemHoverBackground
|
|
3414
|
-
}
|
|
3415
|
-
}
|
|
3665
|
+
minHeight: 48
|
|
3416
3666
|
},
|
|
3417
3667
|
children: [
|
|
3418
3668
|
item.icon && /* @__PURE__ */ jsx(
|
|
@@ -3610,7 +3860,7 @@ const Snackbar = React.forwardRef(
|
|
|
3610
3860
|
severity,
|
|
3611
3861
|
variant,
|
|
3612
3862
|
icon,
|
|
3613
|
-
onClose: showCloseButton ? (
|
|
3863
|
+
onClose: showCloseButton ? (e2) => handleClose(e2) : void 0,
|
|
3614
3864
|
sx: { width: "100%" },
|
|
3615
3865
|
children: children || message
|
|
3616
3866
|
}
|
|
@@ -3618,7 +3868,7 @@ const Snackbar = React.forwardRef(
|
|
|
3618
3868
|
}
|
|
3619
3869
|
);
|
|
3620
3870
|
}
|
|
3621
|
-
const defaultAction = action !== void 0 ? action : /* @__PURE__ */ jsx(IconButton$1, { size: "small", "aria-label": "close", color: "inherit", onClick: (
|
|
3871
|
+
const defaultAction = action !== void 0 ? action : /* @__PURE__ */ jsx(IconButton$1, { size: "small", "aria-label": "close", color: "inherit", onClick: (e2) => handleClose(e2), children: /* @__PURE__ */ jsx(MaterialSymbol, { icon: "close", size: "small" }) });
|
|
3622
3872
|
return /* @__PURE__ */ jsx(
|
|
3623
3873
|
MuiSnackbar,
|
|
3624
3874
|
{
|
|
@@ -4133,13 +4383,6 @@ export {
|
|
|
4133
4383
|
Tabs,
|
|
4134
4384
|
TextField,
|
|
4135
4385
|
T2 as TimePicker,
|
|
4136
|
-
T3 as Timeline,
|
|
4137
|
-
d2 as TimelineConnector,
|
|
4138
|
-
e2 as TimelineContent,
|
|
4139
|
-
c2 as TimelineDot,
|
|
4140
|
-
a2 as TimelineItem,
|
|
4141
|
-
f2 as TimelineOppositeContent,
|
|
4142
|
-
b2 as TimelineSeparator,
|
|
4143
4386
|
Toolbar,
|
|
4144
4387
|
Tooltip,
|
|
4145
4388
|
Typography,
|