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