@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.
Files changed (115) hide show
  1. package/LICENSE +63 -3
  2. package/README.md +15 -3
  3. package/dist/Table-BWJUQgDY.js.map +1 -1
  4. package/dist/Table-BrEk_oGh.mjs.map +1 -1
  5. package/dist/components/atoms/Avatar/Avatar.d.ts.map +1 -1
  6. package/dist/components/atoms/Avatar/Avatar.types.d.ts +1 -1
  7. package/dist/components/atoms/Avatar/Avatar.types.d.ts.map +1 -1
  8. package/dist/components/atoms/Select/Select.d.ts.map +1 -1
  9. package/dist/components/molecules/Sidenav/Sidenav.d.ts.map +1 -1
  10. package/dist/components/molecules/index.d.ts +0 -1
  11. package/dist/components/molecules/index.d.ts.map +1 -1
  12. package/dist/index-9xINu3Y6.mjs +11 -0
  13. package/dist/index-9xINu3Y6.mjs.map +1 -0
  14. package/dist/{index-C4a5SkEO.js → index-B3fSNHE_.js} +1 -2
  15. package/dist/index-B3fSNHE_.js.map +1 -0
  16. package/dist/{index-DgpKiomn.js → index-B6HAPXbT.js} +1 -2
  17. package/dist/index-B6HAPXbT.js.map +1 -0
  18. package/dist/{index-DQLiGYRv.js → index-CrukcVHf.js} +1 -2
  19. package/dist/index-CrukcVHf.js.map +1 -0
  20. package/dist/index-CzgRXVhq.mjs +5 -0
  21. package/dist/index-CzgRXVhq.mjs.map +1 -0
  22. package/dist/{index-Bp_39Kmf.js → index-D19iZMBT.js} +1 -2
  23. package/dist/index-D19iZMBT.js.map +1 -0
  24. package/dist/{index-xewrdUFS.js → index-D2dZ1ELl.js} +1 -2
  25. package/dist/index-D2dZ1ELl.js.map +1 -0
  26. package/dist/index-DpuDQuvl.mjs +5 -0
  27. package/dist/index-DpuDQuvl.mjs.map +1 -0
  28. package/dist/index-DzuUedva.mjs +5 -0
  29. package/dist/index-DzuUedva.mjs.map +1 -0
  30. package/dist/{index-C4N6hqG7.mjs → index-MEnqUL_H.mjs} +8 -5
  31. package/dist/index-MEnqUL_H.mjs.map +1 -0
  32. package/dist/{index-DrHcCXwi.js → index-ZqM4dIOj.js} +1 -2
  33. package/dist/index-ZqM4dIOj.js.map +1 -0
  34. package/dist/index-mOLOagan.mjs +5 -0
  35. package/dist/index-mOLOagan.mjs.map +1 -0
  36. package/dist/index.js +394 -151
  37. package/dist/index.js.map +1 -1
  38. package/dist/index.mjs +396 -153
  39. package/dist/index.mjs.map +1 -1
  40. package/dist/lazy.d.ts +1 -41
  41. package/dist/lazy.d.ts.map +1 -1
  42. package/dist/lazy.js +16 -46
  43. package/dist/lazy.js.map +1 -1
  44. package/dist/lazy.mjs +17 -47
  45. package/dist/lazy.mjs.map +1 -1
  46. package/dist/theme/styleCompositions.d.ts +281 -0
  47. package/dist/theme/styleCompositions.d.ts.map +1 -0
  48. package/dist/theme/theme.d.ts.map +1 -1
  49. package/dist/theme/tokens-import.d.ts +164 -0
  50. package/dist/theme/tokens-import.d.ts.map +1 -1
  51. package/dist/theme/tokens.d.ts +292 -0
  52. package/dist/theme/tokens.d.ts.map +1 -1
  53. package/dist/theme/types.d.ts +146 -0
  54. package/dist/theme/types.d.ts.map +1 -1
  55. package/dist/theme-editor/ThemeEditorApp.d.ts +14 -0
  56. package/dist/theme-editor/ThemeEditorApp.d.ts.map +1 -0
  57. package/dist/theme-editor/components/ColorEditor.d.ts +10 -0
  58. package/dist/theme-editor/components/ColorEditor.d.ts.map +1 -0
  59. package/dist/theme-editor/components/ComponentPreview.d.ts +8 -0
  60. package/dist/theme-editor/components/ComponentPreview.d.ts.map +1 -0
  61. package/dist/theme-editor/components/SaveDialog.d.ts +13 -0
  62. package/dist/theme-editor/components/SaveDialog.d.ts.map +1 -0
  63. package/dist/theme-editor/components/SpacingEditor.d.ts +11 -0
  64. package/dist/theme-editor/components/SpacingEditor.d.ts.map +1 -0
  65. package/dist/theme-editor/components/SyncDialog.d.ts +12 -0
  66. package/dist/theme-editor/components/SyncDialog.d.ts.map +1 -0
  67. package/dist/theme-editor/components/TypographyEditor.d.ts +10 -0
  68. package/dist/theme-editor/components/TypographyEditor.d.ts.map +1 -0
  69. package/dist/theme-editor/components/UndoButton.d.ts +9 -0
  70. package/dist/theme-editor/components/UndoButton.d.ts.map +1 -0
  71. package/dist/theme-editor/hooks/useFileSystem.d.ts +18 -0
  72. package/dist/theme-editor/hooks/useFileSystem.d.ts.map +1 -0
  73. package/dist/theme-editor/hooks/useGitIntegration.d.ts +41 -0
  74. package/dist/theme-editor/hooks/useGitIntegration.d.ts.map +1 -0
  75. package/dist/theme-editor/hooks/useThemeParser.d.ts +65 -0
  76. package/dist/theme-editor/hooks/useThemeParser.d.ts.map +1 -0
  77. package/dist/theme-editor/hooks/useThemeSave.d.ts +21 -0
  78. package/dist/theme-editor/hooks/useThemeSave.d.ts.map +1 -0
  79. package/dist/theme-editor/hooks/useThemeSync.d.ts +20 -0
  80. package/dist/theme-editor/hooks/useThemeSync.d.ts.map +1 -0
  81. package/dist/theme-editor/index.d.ts +18 -0
  82. package/dist/theme-editor/index.d.ts.map +1 -0
  83. package/package.json +35 -31
  84. package/README.npm.md +0 -132
  85. package/dist/Timeline-BPdic0I4.mjs +0 -59
  86. package/dist/Timeline-BPdic0I4.mjs.map +0 -1
  87. package/dist/Timeline-BzDR_6ve.js +0 -58
  88. package/dist/Timeline-BzDR_6ve.js.map +0 -1
  89. package/dist/components/molecules/Timeline/Timeline.d.ts +0 -50
  90. package/dist/components/molecules/Timeline/Timeline.d.ts.map +0 -1
  91. package/dist/components/molecules/Timeline/Timeline.types.d.ts +0 -75
  92. package/dist/components/molecules/Timeline/Timeline.types.d.ts.map +0 -1
  93. package/dist/components/molecules/Timeline/index.d.ts +0 -6
  94. package/dist/components/molecules/Timeline/index.d.ts.map +0 -1
  95. package/dist/index--v2dNPpd.js +0 -11
  96. package/dist/index--v2dNPpd.js.map +0 -1
  97. package/dist/index-B4_KKxHQ.mjs +0 -6
  98. package/dist/index-B4_KKxHQ.mjs.map +0 -1
  99. package/dist/index-Bp_39Kmf.js.map +0 -1
  100. package/dist/index-C4N6hqG7.mjs.map +0 -1
  101. package/dist/index-C4a5SkEO.js.map +0 -1
  102. package/dist/index-CBDmTLHS.mjs +0 -11
  103. package/dist/index-CBDmTLHS.mjs.map +0 -1
  104. package/dist/index-CLLVDdFI.mjs +0 -12
  105. package/dist/index-CLLVDdFI.mjs.map +0 -1
  106. package/dist/index-CxB9Lb7L.mjs +0 -6
  107. package/dist/index-CxB9Lb7L.mjs.map +0 -1
  108. package/dist/index-DGbzI3ul.mjs +0 -6
  109. package/dist/index-DGbzI3ul.mjs.map +0 -1
  110. package/dist/index-DQLiGYRv.js.map +0 -1
  111. package/dist/index-DgpKiomn.js.map +0 -1
  112. package/dist/index-DrHcCXwi.js.map +0 -1
  113. package/dist/index-xewrdUFS.js.map +0 -1
  114. package/dist/index-zqX2ktfd.mjs +0 -6
  115. package/dist/index-zqX2ktfd.mjs.map +0 -1
package/dist/index.js CHANGED
@@ -78,7 +78,6 @@ const Table = require("./Table-BWJUQgDY.js");
78
78
  const MuiTabs = require("@mui/material/Tabs");
79
79
  const MuiTab = require("@mui/material/Tab");
80
80
  const TimePicker = require("./TimePicker-BCpPRTJI.js");
81
- const Timeline = require("./Timeline-BzDR_6ve.js");
82
81
  const LocalizationProvider$1 = require("@mui/x-date-pickers/LocalizationProvider");
83
82
  const AdapterDayjs = require("@mui/x-date-pickers/AdapterDayjs");
84
83
  const ComponentAlertLightBorderRadius = "8px";
@@ -153,6 +152,7 @@ const ComponentChipDefaultEnabledBorder = "#bdbdbd";
153
152
  const ComponentAvatarBorderRadius = "9999px";
154
153
  const ComponentAvatarSmall = "24px";
155
154
  const ComponentAvatarMedium = "40px";
155
+ const ComponentAvatarLarge = "56px";
156
156
  const ComponentInputLightStandardEnabledBorder = "#0000006b";
157
157
  const ComponentInputLightFilledEnabledFill = "#0000000a";
158
158
  const ComponentInputLightOutlinedEnabledBorder = "#0000003b";
@@ -163,16 +163,6 @@ const ComponentInputDarkFilledEnabledFill = "#ffffff14";
163
163
  const ComponentInputDarkOutlinedEnabledBorder = "#ffffff3b";
164
164
  const ComponentRatingActiveFill = "#ffb400";
165
165
  const ComponentRatingEnabledBorder = "#0000003b";
166
- const ComponentSidenavWidthCollapsed = "64px";
167
- const ComponentSidenavWidthExpanded = "240px";
168
- const ComponentSidenavLightItemHoverBackground = "#00000014";
169
- const ComponentSidenavLightItemSelectedBackground = "#0099991f";
170
- const ComponentSidenavLightItemSelectedForeground = "#00686f";
171
- const ComponentSidenavLightBorderRadius = "8px";
172
- const ComponentSidenavDarkItemHoverBackground = "#ffffff14";
173
- const ComponentSidenavDarkItemSelectedBackground = "#0099993d";
174
- const ComponentSidenavDarkItemSelectedForeground = "#66b2b2";
175
- const ComponentSidenavDarkBorderRadius = "8px";
176
166
  const ComponentPaperLightElevation0 = "#ffffff";
177
167
  const ComponentPaperLightElevation1 = "#ffffff";
178
168
  const ComponentPaperLightElevation2 = "#ffffff";
@@ -191,9 +181,69 @@ const ComponentTableDarkBorder = "#ffffff1f";
191
181
  const ComponentTableDarkHeaderBackground = "#1e1e1e";
192
182
  const ComponentCardLightBorderRadius = "12px";
193
183
  const ComponentCardDarkBorderRadius = "12px";
184
+ const PrimitivesColorsBrandVerones = "#00686f";
185
+ const PrimitivesColorsBrandLima = "#99cc00";
194
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";
195
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 = "#e5f6fd";
208
+ const PrimitivesColorsStatusInfo100 = "#d1daf0";
209
+ const PrimitivesColorsStatusInfo500 = "#125c87";
210
+ const PrimitivesColorsStatusInfo600 = "#143996";
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";
196
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";
197
247
  const PrimitivesMotionDurationFast = "100ms";
198
248
  const PrimitivesMotionDurationBase = "200ms";
199
249
  const PrimitivesMotionDurationModerate = "300ms";
@@ -424,7 +474,7 @@ const shapeTokens = {
424
474
  sm: 4,
425
475
  md: 8,
426
476
  lg: 12,
427
- xl: 24,
477
+ xl: 20,
428
478
  rounded: 9999
429
479
  // pill shape
430
480
  };
@@ -483,7 +533,153 @@ const lightTokens = {
483
533
  disabled: SemanticColorLightActionDisabled,
484
534
  disabledBackground: SemanticColorLightActionDisabledBackground
485
535
  },
486
- 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
+ }
487
683
  },
488
684
  components: {
489
685
  alert: {
@@ -759,6 +955,135 @@ const darkTokens = {
759
955
  }
760
956
  }
761
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
+ };
762
1087
  const spacing$1 = (factor) => {
763
1088
  const baseUnit = 8;
764
1089
  return baseUnit * factor;
@@ -773,9 +1098,7 @@ const getComponentOverrides = (mode) => {
773
1098
  // =========================================================================
774
1099
  MuiCssBaseline: {
775
1100
  styleOverrides: {
776
- body: {
777
- fontFamily: typography2.fontFamily
778
- },
1101
+ body: {},
779
1102
  // Apply Nunito font globally
780
1103
  "*": {
781
1104
  fontFamily: "inherit"
@@ -791,36 +1114,22 @@ const getComponentOverrides = (mode) => {
791
1114
  },
792
1115
  styleOverrides: {
793
1116
  root: {
794
- borderRadius: shape2.md,
795
- textTransform: "none",
796
- fontWeight: typography2.fontWeightSemiBold,
797
- fontFamily: typography2.fontFamily
798
- },
799
- sizeSmall: {
800
- fontSize: "0.8125rem",
801
- padding: "4px 10px"
802
- },
803
- sizeMedium: {
804
- fontSize: "0.875rem",
805
- padding: "6px 16px"
1117
+ ...styleCompositions.button.base(),
1118
+ textTransform: "none"
806
1119
  },
807
- sizeLarge: {
808
- fontSize: "1rem",
809
- padding: "8px 22px"
810
- }
1120
+ sizeSmall: styleCompositions.button.sizes.small,
1121
+ sizeMedium: styleCompositions.button.sizes.medium,
1122
+ sizeLarge: styleCompositions.button.sizes.large
811
1123
  }
812
1124
  },
813
1125
  MuiIconButton: {
814
1126
  styleOverrides: {
815
- root: {
816
- fontFamily: typography2.fontFamily
817
- }
1127
+ root: {}
818
1128
  }
819
1129
  },
820
1130
  MuiToggleButton: {
821
1131
  styleOverrides: {
822
1132
  root: {
823
- fontFamily: typography2.fontFamily,
824
1133
  textTransform: "none"
825
1134
  }
826
1135
  }
@@ -851,16 +1160,13 @@ const getComponentOverrides = (mode) => {
851
1160
  variant: "outlined"
852
1161
  },
853
1162
  styleOverrides: {
854
- root: {
855
- fontFamily: typography2.fontFamily
856
- }
1163
+ root: {}
857
1164
  }
858
1165
  },
859
1166
  MuiOutlinedInput: {
860
1167
  styleOverrides: {
861
1168
  root: {
862
- fontFamily: typography2.fontFamily,
863
- borderRadius: shape2.sm
1169
+ borderRadius: shape2.md
864
1170
  },
865
1171
  notchedOutline: {
866
1172
  borderColor: modeTokens.components.input.outlined.enabledBorder
@@ -870,17 +1176,14 @@ const getComponentOverrides = (mode) => {
870
1176
  MuiFilledInput: {
871
1177
  styleOverrides: {
872
1178
  root: {
873
- fontFamily: typography2.fontFamily,
874
1179
  backgroundColor: modeTokens.components.input.filled.enabledFill,
875
- borderRadius: `${shape2.sm}px ${shape2.sm}px 0 0`
1180
+ borderRadius: `${shape2.md}px ${shape2.md}px 0 0`
876
1181
  }
877
1182
  }
878
1183
  },
879
1184
  MuiInput: {
880
1185
  styleOverrides: {
881
- root: {
882
- fontFamily: typography2.fontFamily
883
- },
1186
+ root: {},
884
1187
  underline: {
885
1188
  "&:before": {
886
1189
  borderBottomColor: modeTokens.components.input.standard.enabledBorder
@@ -890,23 +1193,17 @@ const getComponentOverrides = (mode) => {
890
1193
  },
891
1194
  MuiInputLabel: {
892
1195
  styleOverrides: {
893
- root: {
894
- fontFamily: typography2.fontFamily
895
- }
1196
+ root: {}
896
1197
  }
897
1198
  },
898
1199
  MuiSelect: {
899
1200
  styleOverrides: {
900
- root: {
901
- fontFamily: typography2.fontFamily
902
- }
1201
+ root: {}
903
1202
  }
904
1203
  },
905
1204
  MuiAutocomplete: {
906
1205
  styleOverrides: {
907
- root: {
908
- fontFamily: typography2.fontFamily
909
- }
1206
+ root: {}
910
1207
  }
911
1208
  },
912
1209
  // =========================================================================
@@ -948,8 +1245,7 @@ const getComponentOverrides = (mode) => {
948
1245
  MuiChip: {
949
1246
  styleOverrides: {
950
1247
  root: {
951
- fontFamily: typography2.fontFamily,
952
- borderRadius: shape2.rounded
1248
+ ...styleCompositions.chip.base()
953
1249
  },
954
1250
  outlined: {
955
1251
  borderColor: modeTokens.components.chip.defaultEnabledBorder
@@ -965,7 +1261,6 @@ const getComponentOverrides = (mode) => {
965
1261
  MuiAlert: {
966
1262
  styleOverrides: {
967
1263
  root: {
968
- fontFamily: typography2.fontFamily,
969
1264
  borderRadius: `${shape2.md}px`
970
1265
  },
971
1266
  // Filled variants
@@ -1027,9 +1322,7 @@ const getComponentOverrides = (mode) => {
1027
1322
  },
1028
1323
  MuiSnackbar: {
1029
1324
  styleOverrides: {
1030
- root: {
1031
- fontFamily: typography2.fontFamily
1032
- }
1325
+ root: {}
1033
1326
  }
1034
1327
  },
1035
1328
  // =========================================================================
@@ -1037,9 +1330,7 @@ const getComponentOverrides = (mode) => {
1037
1330
  // =========================================================================
1038
1331
  MuiPaper: {
1039
1332
  styleOverrides: {
1040
- root: {
1041
- fontFamily: typography2.fontFamily
1042
- },
1333
+ root: {},
1043
1334
  rounded: {
1044
1335
  borderRadius: shape2.md
1045
1336
  },
@@ -1057,31 +1348,25 @@ const getComponentOverrides = (mode) => {
1057
1348
  MuiCard: {
1058
1349
  styleOverrides: {
1059
1350
  root: {
1060
- borderRadius: shape2.lg,
1061
- fontFamily: typography2.fontFamily
1351
+ borderRadius: shape2.lg
1062
1352
  }
1063
1353
  }
1064
1354
  },
1065
1355
  MuiDialog: {
1066
1356
  styleOverrides: {
1067
1357
  paper: {
1068
- borderRadius: shape2.lg,
1069
- fontFamily: typography2.fontFamily
1358
+ borderRadius: shape2.lg
1070
1359
  }
1071
1360
  }
1072
1361
  },
1073
1362
  MuiDrawer: {
1074
1363
  styleOverrides: {
1075
- paper: {
1076
- fontFamily: typography2.fontFamily
1077
- }
1364
+ paper: {}
1078
1365
  }
1079
1366
  },
1080
1367
  MuiAppBar: {
1081
1368
  styleOverrides: {
1082
- root: {
1083
- fontFamily: typography2.fontFamily
1084
- }
1369
+ root: {}
1085
1370
  }
1086
1371
  },
1087
1372
  // =========================================================================
@@ -1089,15 +1374,12 @@ const getComponentOverrides = (mode) => {
1089
1374
  // =========================================================================
1090
1375
  MuiTable: {
1091
1376
  styleOverrides: {
1092
- root: {
1093
- fontFamily: typography2.fontFamily
1094
- }
1377
+ root: {}
1095
1378
  }
1096
1379
  },
1097
1380
  MuiTableCell: {
1098
1381
  styleOverrides: {
1099
1382
  root: {
1100
- fontFamily: typography2.fontFamily,
1101
1383
  borderBottomColor: modeTokens.components.table.border
1102
1384
  },
1103
1385
  head: {
@@ -1110,40 +1392,35 @@ const getComponentOverrides = (mode) => {
1110
1392
  // =========================================================================
1111
1393
  MuiList: {
1112
1394
  styleOverrides: {
1113
- root: {
1114
- fontFamily: typography2.fontFamily
1115
- }
1395
+ root: {}
1116
1396
  }
1117
1397
  },
1118
1398
  MuiListItem: {
1119
1399
  styleOverrides: {
1120
- root: {
1121
- fontFamily: typography2.fontFamily
1122
- }
1400
+ root: {}
1123
1401
  }
1124
1402
  },
1125
1403
  MuiListItemButton: {
1126
1404
  styleOverrides: {
1127
1405
  root: {
1128
- fontFamily: typography2.fontFamily,
1129
- borderRadius: shape2.sm,
1406
+ ...styleCompositions.listItem.base(),
1130
1407
  "&.Mui-selected": {
1131
- backgroundColor: modeTokens.colors.action.selected
1408
+ backgroundColor: modeTokens.colors.action.selected,
1409
+ fontWeight: typography2.fontWeightSemiBold
1132
1410
  },
1133
1411
  "&.Mui-selected:hover": {
1134
1412
  backgroundColor: modeTokens.colors.action.hover
1413
+ },
1414
+ "&:hover": {
1415
+ backgroundColor: modeTokens.colors.action.hover
1135
1416
  }
1136
1417
  }
1137
1418
  }
1138
1419
  },
1139
1420
  MuiListItemText: {
1140
1421
  styleOverrides: {
1141
- primary: {
1142
- fontFamily: typography2.fontFamily
1143
- },
1144
- secondary: {
1145
- fontFamily: typography2.fontFamily
1146
- }
1422
+ primary: {},
1423
+ secondary: {}
1147
1424
  }
1148
1425
  },
1149
1426
  MuiMenu: {
@@ -1155,9 +1432,7 @@ const getComponentOverrides = (mode) => {
1155
1432
  },
1156
1433
  MuiMenuItem: {
1157
1434
  styleOverrides: {
1158
- root: {
1159
- fontFamily: typography2.fontFamily
1160
- }
1435
+ root: {}
1161
1436
  }
1162
1437
  },
1163
1438
  // =========================================================================
@@ -1165,38 +1440,29 @@ const getComponentOverrides = (mode) => {
1165
1440
  // =========================================================================
1166
1441
  MuiTabs: {
1167
1442
  styleOverrides: {
1168
- root: {
1169
- fontFamily: typography2.fontFamily
1170
- }
1443
+ root: {}
1171
1444
  }
1172
1445
  },
1173
1446
  MuiTab: {
1174
1447
  styleOverrides: {
1175
1448
  root: {
1176
- fontFamily: typography2.fontFamily,
1177
1449
  textTransform: "none"
1178
1450
  }
1179
1451
  }
1180
1452
  },
1181
1453
  MuiBreadcrumbs: {
1182
1454
  styleOverrides: {
1183
- root: {
1184
- fontFamily: typography2.fontFamily
1185
- }
1455
+ root: {}
1186
1456
  }
1187
1457
  },
1188
1458
  MuiPagination: {
1189
1459
  styleOverrides: {
1190
- root: {
1191
- fontFamily: typography2.fontFamily
1192
- }
1460
+ root: {}
1193
1461
  }
1194
1462
  },
1195
1463
  MuiStepper: {
1196
1464
  styleOverrides: {
1197
- root: {
1198
- fontFamily: typography2.fontFamily
1199
- }
1465
+ root: {}
1200
1466
  }
1201
1467
  },
1202
1468
  // =========================================================================
@@ -1204,16 +1470,12 @@ const getComponentOverrides = (mode) => {
1204
1470
  // =========================================================================
1205
1471
  MuiTypography: {
1206
1472
  styleOverrides: {
1207
- root: {
1208
- fontFamily: typography2.fontFamily
1209
- }
1473
+ root: {}
1210
1474
  }
1211
1475
  },
1212
1476
  MuiLink: {
1213
1477
  styleOverrides: {
1214
- root: {
1215
- fontFamily: typography2.fontFamily
1216
- }
1478
+ root: {}
1217
1479
  }
1218
1480
  },
1219
1481
  // =========================================================================
@@ -1221,23 +1483,17 @@ const getComponentOverrides = (mode) => {
1221
1483
  // =========================================================================
1222
1484
  MuiAvatar: {
1223
1485
  styleOverrides: {
1224
- root: {
1225
- fontFamily: typography2.fontFamily
1226
- }
1486
+ root: {}
1227
1487
  }
1228
1488
  },
1229
1489
  MuiBadge: {
1230
1490
  styleOverrides: {
1231
- badge: {
1232
- fontFamily: typography2.fontFamily
1233
- }
1491
+ badge: {}
1234
1492
  }
1235
1493
  },
1236
1494
  MuiTooltip: {
1237
1495
  styleOverrides: {
1238
- tooltip: {
1239
- fontFamily: typography2.fontFamily
1240
- }
1496
+ tooltip: {}
1241
1497
  }
1242
1498
  },
1243
1499
  MuiDivider: {
@@ -1252,23 +1508,17 @@ const getComponentOverrides = (mode) => {
1252
1508
  // =========================================================================
1253
1509
  MuiFormControlLabel: {
1254
1510
  styleOverrides: {
1255
- label: {
1256
- fontFamily: typography2.fontFamily
1257
- }
1511
+ label: {}
1258
1512
  }
1259
1513
  },
1260
1514
  MuiFormHelperText: {
1261
1515
  styleOverrides: {
1262
- root: {
1263
- fontFamily: typography2.fontFamily
1264
- }
1516
+ root: {}
1265
1517
  }
1266
1518
  },
1267
1519
  MuiFormLabel: {
1268
1520
  styleOverrides: {
1269
- root: {
1270
- fontFamily: typography2.fontFamily
1271
- }
1521
+ root: {}
1272
1522
  }
1273
1523
  },
1274
1524
  // =========================================================================
@@ -1296,6 +1546,8 @@ const lightTheme = styles.createTheme({
1296
1546
  text: lightTokens.colors.text,
1297
1547
  action: lightTokens.colors.action,
1298
1548
  divider: lightTokens.colors.divider,
1549
+ primitives: lightTokens.colors.primitives,
1550
+ semantic: lightTokens.colors.semantic,
1299
1551
  _components: lightTokens.components
1300
1552
  },
1301
1553
  typography: {
@@ -1374,6 +1626,7 @@ const Avatar = React.forwardRef(
1374
1626
  const getSizeToken = () => {
1375
1627
  if (size === 24) return ComponentAvatarSmall;
1376
1628
  if (size === 40) return ComponentAvatarMedium;
1629
+ if (size === 56) return ComponentAvatarLarge;
1377
1630
  return `${size}px`;
1378
1631
  };
1379
1632
  const getFontSize = () => {
@@ -2081,8 +2334,12 @@ const Select = React.forwardRef(
2081
2334
  fullWidth,
2082
2335
  sx: {
2083
2336
  fontFamily: (theme2) => theme2.typography.fontFamily,
2337
+ borderRadius: shapeTokens.lg,
2084
2338
  // Outlined variant specific styles
2085
2339
  ...variant === "outlined" && {
2340
+ "& .MuiOutlinedInput-root": {
2341
+ borderRadius: shapeTokens.lg
2342
+ },
2086
2343
  "& .MuiOutlinedInput-notchedOutline": {
2087
2344
  borderColor: (theme2) => theme2.palette._components?.input?.outlined?.enabledBorder || theme2.palette.divider
2088
2345
  },
@@ -3386,8 +3643,7 @@ const Sidenav = React.forwardRef(
3386
3643
  listSx
3387
3644
  }, ref) => {
3388
3645
  const theme2 = styles.useTheme();
3389
- const mode = theme2.palette.mode;
3390
- const sidenavWidth = width ?? (variant === "slim" ? ComponentSidenavWidthCollapsed : ComponentSidenavWidthExpanded);
3646
+ const sidenavWidth = width ?? (variant === "slim" ? 72 : 256);
3391
3647
  const handleItemClick = (item) => {
3392
3648
  if (item.onClick) {
3393
3649
  item.onClick();
@@ -3403,18 +3659,12 @@ const Sidenav = React.forwardRef(
3403
3659
  selected: item.selected,
3404
3660
  onClick: () => handleItemClick(item),
3405
3661
  sx: {
3406
- borderRadius: mode === "light" ? ComponentSidenavLightBorderRadius : ComponentSidenavDarkBorderRadius,
3662
+ // Note: borderRadius and colors are now defined in theme.ts
3663
+ // MuiListItemButton override via sidenavTokens
3407
3664
  mx: 1,
3408
3665
  px: variant === "slim" ? 1.5 : 2,
3409
3666
  justifyContent: variant === "slim" ? "center" : "flex-start",
3410
- minHeight: 48,
3411
- "&.Mui-selected": {
3412
- backgroundColor: mode === "light" ? ComponentSidenavLightItemSelectedBackground : ComponentSidenavDarkItemSelectedBackground,
3413
- color: mode === "light" ? ComponentSidenavLightItemSelectedForeground : ComponentSidenavDarkItemSelectedForeground,
3414
- "&:hover": {
3415
- backgroundColor: mode === "light" ? ComponentSidenavLightItemHoverBackground : ComponentSidenavDarkItemHoverBackground
3416
- }
3417
- }
3667
+ minHeight: 48
3418
3668
  },
3419
3669
  children: [
3420
3670
  item.icon && /* @__PURE__ */ jsxRuntime.jsx(
@@ -4069,13 +4319,6 @@ exports.TableFooter = Table.TableFooter;
4069
4319
  exports.TableHead = Table.TableHead;
4070
4320
  exports.TableRow = Table.TableRow;
4071
4321
  exports.TimePicker = TimePicker.TimePicker;
4072
- exports.Timeline = Timeline.Timeline;
4073
- exports.TimelineConnector = Timeline.TimelineConnector;
4074
- exports.TimelineContent = Timeline.TimelineContent;
4075
- exports.TimelineDot = Timeline.TimelineDot;
4076
- exports.TimelineItem = Timeline.TimelineItem;
4077
- exports.TimelineOppositeContent = Timeline.TimelineOppositeContent;
4078
- exports.TimelineSeparator = Timeline.TimelineSeparator;
4079
4322
  exports.Accordion = Accordion;
4080
4323
  exports.AccordionActions = AccordionActions;
4081
4324
  exports.AccordionDetails = AccordionDetails;