@webpros/mui-theme 0.1.6 → 0.3.0

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 (242) hide show
  1. package/dist/package.json +21 -11
  2. package/dist/src/components/data-display/Avatar/Avatar.theme.js +11 -8
  3. package/dist/src/components/data-display/Badge/Badge.theme.d.ts +4 -1
  4. package/dist/src/components/data-display/Badge/Badge.theme.js +216 -55
  5. package/dist/src/components/data-display/Chip/Chip.theme.d.ts +17 -3
  6. package/dist/src/components/data-display/Chip/Chip.theme.js +133 -477
  7. package/dist/src/components/data-display/Chip/get-chip-colors-map.d.ts +42 -0
  8. package/dist/src/components/data-display/Chip/get-chip-colors-map.js +253 -0
  9. package/dist/src/components/data-display/Divider/Divider.theme.d.ts +6 -1
  10. package/dist/src/components/data-display/Divider/Divider.theme.js +60 -3
  11. package/dist/src/components/data-display/List/List.theme.d.ts +1 -1
  12. package/dist/src/components/data-display/List/List.theme.js +1 -1
  13. package/dist/src/components/data-display/ListItem/ListItem.theme.d.ts +1 -1
  14. package/dist/src/components/data-display/ListItem/ListItem.theme.js +16 -8
  15. package/dist/src/components/data-display/ListItemAvatar/ListItemAvatar.theme.js +1 -2
  16. package/dist/src/components/data-display/ListItemButton/ListItemButton.theme.d.ts +0 -5
  17. package/dist/src/components/data-display/ListItemButton/ListItemButton.theme.js +14 -48
  18. package/dist/src/components/data-display/ListItemIcon/ListItemIcon.theme.js +4 -4
  19. package/dist/src/components/data-display/ListSubheader/ListSubheader.theme.d.ts +1 -1
  20. package/dist/src/components/data-display/ListSubheader/ListSubheader.theme.js +2 -5
  21. package/dist/src/components/data-display/Skeleton/Skeleton.d.ts +3 -0
  22. package/dist/src/components/data-display/Skeleton/Skeleton.js +4 -0
  23. package/dist/src/components/data-display/Skeleton/Skeleton.theme.d.ts +15 -0
  24. package/dist/src/components/data-display/Skeleton/Skeleton.theme.js +31 -0
  25. package/dist/src/components/data-display/Skeleton/index.d.ts +1 -0
  26. package/dist/src/components/data-display/Skeleton/index.js +2 -0
  27. package/dist/src/components/data-display/Tooltip/Tooltip.theme.js +7 -9
  28. package/dist/src/components/data-display/Typography/Typography.theme.d.ts +19 -26
  29. package/dist/src/components/data-display/Typography/Typography.theme.js +7 -163
  30. package/dist/src/components/feedback/Alert/Alert.theme.d.ts +12 -0
  31. package/dist/src/components/feedback/Alert/Alert.theme.js +61 -45
  32. package/dist/src/components/feedback/CircularProgress/CircularProgress.theme.d.ts +6 -1
  33. package/dist/src/components/feedback/CircularProgress/CircularProgress.theme.js +49 -8
  34. package/dist/src/components/feedback/Dialog/Dialog.theme.d.ts +5 -0
  35. package/dist/src/components/feedback/Dialog/Dialog.theme.js +43 -14
  36. package/dist/src/components/feedback/LinearProgress/LinearProgress.theme.d.ts +6 -1
  37. package/dist/src/components/feedback/LinearProgress/LinearProgress.theme.js +91 -9
  38. package/dist/src/components/feedback/Snackbar/Snackbar.theme.d.ts +4 -4
  39. package/dist/src/components/feedback/Snackbar/Snackbar.theme.js +11 -3
  40. package/dist/src/components/index.d.ts +10 -1
  41. package/dist/src/components/index.js +10 -1
  42. package/dist/src/components/inputs/Autocomplete/Autocomplete.theme.d.ts +1 -1
  43. package/dist/src/components/inputs/Autocomplete/Autocomplete.theme.js +23 -51
  44. package/dist/src/components/inputs/Autocomplete/components/AutocompleteCaretDownIcon.d.ts +1 -0
  45. package/dist/src/components/inputs/Autocomplete/components/{AutocompletePopupIcon.js → AutocompleteCaretDownIcon.js} +1 -1
  46. package/dist/src/components/inputs/Autocomplete/components/AutocompleteXIcon.d.ts +1 -0
  47. package/dist/src/components/inputs/Autocomplete/components/AutocompleteXIcon.js +4 -0
  48. package/dist/src/components/inputs/Button/Button.theme.d.ts +4 -0
  49. package/dist/src/components/inputs/Button/Button.theme.js +93 -226
  50. package/dist/src/components/inputs/Button/get-button-colors-map.d.ts +24 -0
  51. package/dist/src/components/inputs/Button/get-button-colors-map.js +211 -0
  52. package/dist/src/components/inputs/Checkbox/Checkbox.theme.d.ts +7 -2
  53. package/dist/src/components/inputs/Checkbox/Checkbox.theme.js +57 -7
  54. package/dist/src/components/inputs/Fab/Fab.theme.d.ts +5 -9
  55. package/dist/src/components/inputs/Fab/Fab.theme.js +27 -98
  56. package/dist/src/components/inputs/FormHelperText/FormHelperText.d.ts +2 -0
  57. package/dist/src/components/inputs/FormHelperText/FormHelperText.js +3 -0
  58. package/dist/src/components/inputs/FormHelperText/FormHelperText.theme.d.ts +7 -0
  59. package/dist/src/components/inputs/FormHelperText/FormHelperText.theme.js +8 -0
  60. package/dist/src/components/inputs/FormHelperText/index.d.ts +1 -0
  61. package/dist/src/components/inputs/FormHelperText/index.js +2 -0
  62. package/dist/src/components/inputs/FormLabel/FormLabel.d.ts +2 -0
  63. package/dist/src/components/inputs/FormLabel/FormLabel.js +3 -0
  64. package/dist/src/components/inputs/FormLabel/FormLabel.theme.d.ts +7 -0
  65. package/dist/src/components/inputs/FormLabel/FormLabel.theme.js +8 -0
  66. package/dist/src/components/inputs/FormLabel/index.d.ts +1 -0
  67. package/dist/src/components/inputs/FormLabel/index.js +2 -0
  68. package/dist/src/components/inputs/IconButton/IconButton.theme.d.ts +3 -2
  69. package/dist/src/components/inputs/IconButton/IconButton.theme.js +90 -95
  70. package/dist/src/components/inputs/InputBase/InputBase.theme.d.ts +9 -26
  71. package/dist/src/components/inputs/InputBase/InputBase.theme.js +2 -64
  72. package/dist/src/components/inputs/InputLabel/InputLabel.theme.d.ts +7 -4
  73. package/dist/src/components/inputs/InputLabel/InputLabel.theme.js +26 -12
  74. package/dist/src/components/inputs/OutlinedInput/OutlinedInput.theme.d.ts +8 -0
  75. package/dist/src/components/inputs/OutlinedInput/OutlinedInput.theme.js +67 -0
  76. package/dist/src/components/inputs/OutlinedInput/index.d.ts +1 -0
  77. package/dist/src/components/inputs/OutlinedInput/index.js +2 -0
  78. package/dist/src/components/inputs/Radio/Radio.d.ts +4 -0
  79. package/dist/src/components/inputs/Radio/Radio.js +4 -0
  80. package/dist/src/components/inputs/Radio/Radio.theme.d.ts +11 -0
  81. package/dist/src/components/inputs/Radio/Radio.theme.js +35 -0
  82. package/dist/src/components/inputs/Radio/index.d.ts +1 -0
  83. package/dist/src/components/{navigation/TabList → inputs/Radio}/index.js +1 -1
  84. package/dist/src/components/inputs/Select/Select.theme.d.ts +2 -3
  85. package/dist/src/components/inputs/Select/Select.theme.js +6 -33
  86. package/dist/src/components/inputs/Switch/Switch.theme.js +125 -49
  87. package/dist/src/components/inputs/TextField/TextField.theme.d.ts +2 -3
  88. package/dist/src/components/inputs/TextField/TextField.theme.js +2 -26
  89. package/dist/src/components/navigation/Breadcrumbs/Breadcrumbs.d.ts +4 -0
  90. package/dist/src/components/navigation/Breadcrumbs/Breadcrumbs.js +5 -0
  91. package/dist/src/components/navigation/Breadcrumbs/Breadcrumbs.theme.d.ts +11 -0
  92. package/dist/src/components/navigation/Breadcrumbs/Breadcrumbs.theme.js +23 -0
  93. package/dist/src/components/navigation/Breadcrumbs/Crumb.d.ts +10 -0
  94. package/dist/src/components/navigation/Breadcrumbs/Crumb.js +10 -0
  95. package/dist/src/components/navigation/Breadcrumbs/index.d.ts +1 -0
  96. package/dist/src/components/navigation/Breadcrumbs/index.js +2 -0
  97. package/dist/src/components/navigation/Drawer/Drawer.theme.d.ts +1 -1
  98. package/dist/src/components/navigation/Drawer/Drawer.theme.js +50 -6
  99. package/dist/src/components/navigation/Link/Link.theme.d.ts +11 -2
  100. package/dist/src/components/navigation/Link/Link.theme.js +66 -9
  101. package/dist/src/components/navigation/Menu/Menu.theme.d.ts +2 -3
  102. package/dist/src/components/navigation/Menu/Menu.theme.js +6 -11
  103. package/dist/src/components/navigation/MenuItem/MenuItem.theme.d.ts +2 -4
  104. package/dist/src/components/navigation/MenuItem/MenuItem.theme.js +8 -8
  105. package/dist/src/components/navigation/Pagination/Pagination.theme.d.ts +1 -1
  106. package/dist/src/components/navigation/Pagination/Pagination.theme.js +11 -3
  107. package/dist/src/components/navigation/PaginationItem/PaginationItem.theme.js +65 -10
  108. package/dist/src/components/navigation/PaginationItem/components/PaginationIcons.d.ts +4 -0
  109. package/dist/src/components/navigation/PaginationItem/components/PaginationIcons.js +8 -0
  110. package/dist/src/components/navigation/PaginationItem/components/index.d.ts +1 -0
  111. package/dist/src/components/navigation/PaginationItem/components/index.js +2 -0
  112. package/dist/src/components/navigation/Tab/Tab.theme.d.ts +7 -1
  113. package/dist/src/components/navigation/Tab/Tab.theme.js +52 -13
  114. package/dist/src/components/navigation/Tabs/Tabs.d.ts +3 -0
  115. package/dist/src/components/navigation/Tabs/Tabs.js +4 -0
  116. package/dist/src/components/navigation/Tabs/Tabs.theme.d.ts +16 -0
  117. package/dist/src/components/navigation/Tabs/Tabs.theme.js +55 -0
  118. package/dist/src/components/navigation/Tabs/index.d.ts +1 -0
  119. package/dist/src/components/navigation/Tabs/index.js +2 -0
  120. package/dist/src/components/surfaces/Accordion/Accordion.theme.js +54 -22
  121. package/dist/src/components/surfaces/Accordion/AccordionDetails.theme.d.ts +10 -0
  122. package/dist/src/components/surfaces/Accordion/AccordionDetails.theme.js +19 -0
  123. package/dist/src/components/surfaces/Accordion/AccordionSummary.theme.d.ts +10 -0
  124. package/dist/src/components/surfaces/Accordion/AccordionSummary.theme.js +37 -0
  125. package/dist/src/components/surfaces/Accordion/index.d.ts +2 -0
  126. package/dist/src/components/surfaces/Accordion/index.js +2 -0
  127. package/dist/src/components/surfaces/Card/Card.theme.js +1 -1
  128. package/dist/src/components/surfaces/Paper/Paper.theme.d.ts +16 -1
  129. package/dist/src/components/surfaces/Paper/Paper.theme.js +21 -7
  130. package/dist/src/components/surfaces/Paper/Paper.tokens.d.ts +8 -0
  131. package/dist/src/components/surfaces/Paper/Paper.tokens.js +50 -0
  132. package/dist/src/components/surfaces/Paper/Paper.variants.d.ts +4 -0
  133. package/dist/src/components/surfaces/Paper/Paper.variants.js +3 -0
  134. package/dist/src/components/surfaces/Popover/Popover.d.ts +4 -0
  135. package/dist/src/components/surfaces/Popover/Popover.js +4 -0
  136. package/dist/src/components/surfaces/Popover/Popover.theme.d.ts +9 -0
  137. package/dist/src/components/surfaces/Popover/Popover.theme.js +14 -0
  138. package/dist/src/components/surfaces/Popover/index.d.ts +1 -0
  139. package/dist/src/components/surfaces/Popover/index.js +2 -0
  140. package/dist/src/components/utils/Backdrop/Backdrop.d.ts +3 -0
  141. package/dist/src/components/utils/Backdrop/Backdrop.js +4 -0
  142. package/dist/src/components/utils/Backdrop/Backdrop.theme.d.ts +11 -0
  143. package/dist/src/components/utils/Backdrop/Backdrop.theme.js +17 -0
  144. package/dist/src/components/utils/Backdrop/index.d.ts +1 -0
  145. package/dist/src/components/utils/Backdrop/index.js +2 -0
  146. package/dist/src/icons/index.d.ts +4 -0
  147. package/dist/src/icons/index.js +12 -0
  148. package/dist/src/providers/ThemeModeProvider.d.ts +1 -2
  149. package/dist/src/providers/ThemeModeProvider.js +2 -2
  150. package/dist/src/providers/WebProsMuiThemeProvider.js +1 -1
  151. package/dist/src/providers/WebProsTheme.d.ts +1 -0
  152. package/dist/src/providers/WebProsTheme.js +11 -5
  153. package/dist/src/shared/rippleEnterKeyframe.d.ts +6 -0
  154. package/dist/src/shared/rippleEnterKeyframe.js +12 -0
  155. package/dist/src/shared/viewContext/index.d.ts +1 -0
  156. package/dist/src/shared/viewContext/index.js +2 -0
  157. package/dist/src/shared/viewContext/viewContext.d.ts +4 -0
  158. package/dist/src/shared/viewContext/viewContext.js +2 -0
  159. package/dist/src/style/additional-color-palette.d.ts +1 -3
  160. package/dist/src/style/additional-color-palette.js +4 -7
  161. package/dist/src/style/custom-color-palette.js +51 -53
  162. package/dist/src/tokens/ThemeColorTokens.d.ts +11 -93
  163. package/dist/src/tokens/ThemeColorTokens.js +4 -168
  164. package/dist/src/tokens/ThemeScheme.d.ts +0 -3
  165. package/dist/src/tokens/ThemeScheme.js +0 -2
  166. package/dist/src/tokens/colors/Dark.d.ts +16 -0
  167. package/dist/src/tokens/colors/Dark.js +1422 -0
  168. package/dist/src/tokens/colors/Light.d.ts +16 -0
  169. package/dist/src/tokens/colors/Light.js +1392 -0
  170. package/dist/src/tokens/colors/index.d.ts +7 -0
  171. package/dist/src/tokens/colors/index.js +4 -0
  172. package/dist/src/tokens/colors/inverseSchemas.d.ts +40 -0
  173. package/dist/src/tokens/colors/inverseSchemas.js +3 -0
  174. package/dist/src/tokens/colors/inverseSchemes.d.ts +53 -0
  175. package/dist/src/tokens/colors/inverseSchemes.js +3 -0
  176. package/dist/src/tokens/colors/inverseStateLayers.d.ts +188 -0
  177. package/dist/src/tokens/colors/inverseStateLayers.js +3 -0
  178. package/dist/src/tokens/colors/schemas.d.ts +111 -0
  179. package/dist/src/tokens/colors/schemas.js +3 -0
  180. package/dist/src/tokens/colors/schemes.d.ts +111 -0
  181. package/dist/src/tokens/colors/schemes.js +3 -0
  182. package/dist/src/tokens/colors/stateLayers.d.ts +456 -0
  183. package/dist/src/tokens/colors/stateLayers.js +3 -0
  184. package/dist/src/tokens/colors/types.d.ts +9 -0
  185. package/dist/src/tokens/colors/types.js +2 -0
  186. package/dist/src/tokens/index.d.ts +6 -2
  187. package/dist/src/tokens/index.js +2 -1
  188. package/dist/src/tokens/legacyColors/LegacyDark.d.ts +2 -0
  189. package/dist/src/tokens/legacyColors/LegacyDark.js +88 -0
  190. package/dist/src/tokens/legacyColors/LegacyLight.d.ts +2 -0
  191. package/dist/src/tokens/legacyColors/LegacyLight.js +86 -0
  192. package/dist/src/tokens/legacyColors/ThemeColorTokensLegacy.d.ts +74 -0
  193. package/dist/src/tokens/legacyColors/ThemeColorTokensLegacy.js +2 -0
  194. package/dist/src/tokens/legacyColors/additionalColors/additionalColors.d.ts +21 -0
  195. package/dist/src/tokens/legacyColors/additionalColors/additionalColors.js +2 -0
  196. package/dist/src/tokens/{additionalColors → legacyColors/additionalColors}/index.d.ts +1 -0
  197. package/dist/src/tokens/{additionalColors → legacyColors/additionalColors}/index.js +1 -0
  198. package/dist/src/tokens/legacyColors/index.d.ts +2 -0
  199. package/dist/src/tokens/legacyColors/index.js +3 -0
  200. package/dist/src/tokens/shadows/index.d.ts +12 -0
  201. package/dist/src/tokens/shadows/index.js +112 -0
  202. package/dist/src/tokens/typography/index.d.ts +2 -0
  203. package/dist/src/tokens/typography/index.js +4 -0
  204. package/dist/src/tokens/typography/typescale.d.ts +28 -0
  205. package/dist/src/tokens/typography/typescale.js +26 -0
  206. package/dist/src/tokens/typography/typography.d.ts +2 -0
  207. package/dist/src/tokens/typography/typography.js +156 -0
  208. package/dist/src/utils/createIcon.d.ts +12 -0
  209. package/dist/src/utils/createIcon.js +94 -0
  210. package/dist/src/utils/flatten.d.ts +1 -0
  211. package/dist/src/utils/flatten.js +12 -0
  212. package/dist/src/utils/getMUIComponents.js +2 -2
  213. package/dist/src/utils/getMUIPalette.d.ts +6 -11
  214. package/dist/src/utils/getMUIPalette.js +49 -25
  215. package/dist/src/utils/getMUIThemeCustoimzationType.d.ts +31 -0
  216. package/dist/src/utils/getMUIThemeCustoimzationType.js +2 -0
  217. package/dist/src/utils/getMUITypography.d.ts +2 -0
  218. package/dist/src/utils/getMUITypography.js +5 -0
  219. package/dist/src/utils/getStateLayerColor.d.ts +37 -0
  220. package/dist/src/utils/getStateLayerColor.js +43 -1
  221. package/dist/src/utils/index.d.ts +1 -1
  222. package/dist/src/utils/index.js +1 -1
  223. package/dist/src/utils/patchMUIShadows.js +4 -3
  224. package/package.json +21 -11
  225. package/dist/src/components/inputs/Autocomplete/components/AutocompletePopupIcon.d.ts +0 -1
  226. package/dist/src/components/navigation/PaginationItem/PaginationItem.d.ts +0 -3
  227. package/dist/src/components/navigation/PaginationItem/PaginationItem.js +0 -4
  228. package/dist/src/components/navigation/TabList/TabList.d.ts +0 -3
  229. package/dist/src/components/navigation/TabList/TabList.js +0 -4
  230. package/dist/src/components/navigation/TabList/TabList.theme.d.ts +0 -10
  231. package/dist/src/components/navigation/TabList/TabList.theme.js +0 -17
  232. package/dist/src/components/navigation/TabList/index.d.ts +0 -1
  233. package/dist/src/hooks/useTonalPalette.d.ts +0 -3
  234. package/dist/src/hooks/useTonalPalette.js +0 -32
  235. package/dist/src/providers/ThemeSchemeProvider.d.ts +0 -12
  236. package/dist/src/providers/ThemeSchemeProvider.js +0 -29
  237. package/dist/src/tokens/TonalPalette.d.ts +0 -10
  238. package/dist/src/tokens/TonalPalette.js +0 -10
  239. package/dist/src/utils/generateTokens.d.ts +0 -4
  240. package/dist/src/utils/generateTokens.js +0 -107
  241. /package/dist/src/tokens/{Tone.d.ts → legacyColors/Tone.d.ts} +0 -0
  242. /package/dist/src/tokens/{Tone.js → legacyColors/Tone.js} +0 -0
@@ -0,0 +1,74 @@
1
+ import { AdditionalColors } from '../../tokens/legacyColors/additionalColors/additionalColors';
2
+ export type ThemeColorTokensLegacy = {
3
+ primary: string;
4
+ onPrimary: string;
5
+ primaryContainer: string;
6
+ onPrimaryContainer: string;
7
+ secondary: string;
8
+ onSecondary: string;
9
+ secondaryContainer: string;
10
+ onSecondaryContainer: string;
11
+ tertiary: string;
12
+ onTertiary: string;
13
+ tertiaryContainer: string;
14
+ onTertiaryContainer: string;
15
+ error: string;
16
+ onError: string;
17
+ errorContainer: string;
18
+ onErrorContainer: string;
19
+ errorFixedDim: string;
20
+ primaryFixed: string;
21
+ primaryFixedDim: string;
22
+ onPrimaryFixed: string;
23
+ onPrimaryFixedVariant: string;
24
+ secondaryFixed: string;
25
+ secondaryFixedDim: string;
26
+ onSecondaryFixed: string;
27
+ onSecondaryFixedVariant: string;
28
+ tertiaryFixed: string;
29
+ tertiaryFixedDim: string;
30
+ onTertiaryFixed: string;
31
+ onTertiaryFixedVariant: string;
32
+ surface: string;
33
+ onSurface: string;
34
+ surfaceDim: string;
35
+ surfaceBright: string;
36
+ surfaceContainerLowest: string;
37
+ surfaceContainerLow: string;
38
+ surfaceContainer: string;
39
+ surfaceContainerHigh: string;
40
+ surfaceContainerHighest: string;
41
+ surfaceVariant: string;
42
+ onSurfaceVariant: string;
43
+ outline: string;
44
+ outlineVariant: string;
45
+ inverseSurface: string;
46
+ inverseOnSurface: string;
47
+ inversePrimary: string;
48
+ shadow: string;
49
+ scrim: string;
50
+ surfaceTint: string;
51
+ background: string;
52
+ onBackground: string;
53
+ info: string;
54
+ onInfo: string;
55
+ infoContainer: string;
56
+ onInfoContainer: string;
57
+ infoFixedDim: string;
58
+ success: string;
59
+ onSuccess: string;
60
+ successContainer: string;
61
+ onSuccessContainer: string;
62
+ successFixedDim: string;
63
+ warning: string;
64
+ onWarning: string;
65
+ warningContainer: string;
66
+ onWarningContainer: string;
67
+ warningFixedDim: string;
68
+ undefined: string;
69
+ onUndefined: string;
70
+ undefinedContainer: string;
71
+ onUndefinedContainer: string;
72
+ supportive: string;
73
+ additionalColors: AdditionalColors;
74
+ };
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export {};
@@ -0,0 +1,21 @@
1
+ import { AdditionalColorTone } from '../../../tokens/legacyColors/Tone';
2
+ export type AdditionalColors = {
3
+ red: AdditionalColorTone;
4
+ pink: AdditionalColorTone;
5
+ purple: AdditionalColorTone;
6
+ deepPurple: AdditionalColorTone;
7
+ indigo: AdditionalColorTone;
8
+ blue: AdditionalColorTone;
9
+ lightBlue: AdditionalColorTone;
10
+ cyan: AdditionalColorTone;
11
+ teal: AdditionalColorTone;
12
+ green: AdditionalColorTone;
13
+ lightGreen: AdditionalColorTone;
14
+ lime: AdditionalColorTone;
15
+ yellow: AdditionalColorTone;
16
+ amber: AdditionalColorTone;
17
+ orange: AdditionalColorTone;
18
+ deepOrange: AdditionalColorTone;
19
+ brown: AdditionalColorTone;
20
+ };
21
+ export type AdditionalColorKey = keyof AdditionalColors;
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export {};
@@ -1 +1,2 @@
1
1
  export * as additionalColors from '@mui/material/colors';
2
+ export * from './additionalColors';
@@ -3,3 +3,4 @@
3
3
  // For now we just re-export it into the theme
4
4
  // In case of customization these colors we will create new CustomColorTone and export it here
5
5
  export * as additionalColors from '@mui/material/colors';
6
+ export * from './additionalColors';
@@ -0,0 +1,2 @@
1
+ export * from './LegacyLight';
2
+ export * from './LegacyDark';
@@ -0,0 +1,3 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './LegacyLight';
3
+ export * from './LegacyDark';
@@ -0,0 +1,12 @@
1
+ export type M3ShadowLayer = {
2
+ offsetX: string;
3
+ offsetY: string;
4
+ blur: string;
5
+ spread: string;
6
+ color: string;
7
+ };
8
+ export type M3ShadowTokenName = 'Shadows-1' | 'Shadows-2' | 'Shadows-3' | 'Shadows-4';
9
+ export type M3ShadowTokens = Record<M3ShadowTokenName, M3ShadowLayer[]>;
10
+ export declare const shadowTokens: M3ShadowTokens;
11
+ export declare const shadowCssValues: Record<M3ShadowTokenName, string>;
12
+ export declare const muiShadows: string[];
@@ -0,0 +1,112 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ // Auto-generated file - do not edit manually
3
+ export const shadowTokens = {
4
+ 'Shadows-1': [
5
+ {
6
+ offsetX: '0px',
7
+ offsetY: '4px',
8
+ blur: '3px',
9
+ spread: '0px',
10
+ color: 'rgba(0, 0, 0, 0.03)',
11
+ },
12
+ {
13
+ offsetX: '0px',
14
+ offsetY: '2px',
15
+ blur: '2px',
16
+ spread: '0px',
17
+ color: 'rgba(0, 0, 0, 0.04)',
18
+ },
19
+ {
20
+ offsetX: '0px',
21
+ offsetY: '0px',
22
+ blur: '1px',
23
+ spread: '0px',
24
+ color: 'rgba(0, 0, 0, 0.05)',
25
+ },
26
+ ],
27
+ 'Shadows-2': [
28
+ {
29
+ offsetX: '0px',
30
+ offsetY: '5px',
31
+ blur: '3px',
32
+ spread: '0px',
33
+ color: 'rgba(0, 0, 0, 0.05)',
34
+ },
35
+ {
36
+ offsetX: '0px',
37
+ offsetY: '2px',
38
+ blur: '2px',
39
+ spread: '0px',
40
+ color: 'rgba(0, 0, 0, 0.08)',
41
+ },
42
+ { offsetX: '0px', offsetY: '1px', blur: '1px', spread: '0px', color: 'rgba(0, 0, 0, 0.1)' },
43
+ ],
44
+ 'Shadows-3': [
45
+ {
46
+ offsetX: '0px',
47
+ offsetY: '10px',
48
+ blur: '6px',
49
+ spread: '0px',
50
+ color: 'rgba(0, 0, 0, 0.05)',
51
+ },
52
+ {
53
+ offsetX: '0px',
54
+ offsetY: '4px',
55
+ blur: '4px',
56
+ spread: '0px',
57
+ color: 'rgba(0, 0, 0, 0.08)',
58
+ },
59
+ { offsetX: '0px', offsetY: '1px', blur: '2px', spread: '0px', color: 'rgba(0, 0, 0, 0.1)' },
60
+ ],
61
+ 'Shadows-4': [
62
+ {
63
+ offsetX: '0px',
64
+ offsetY: '17px',
65
+ blur: '14px',
66
+ spread: '0px',
67
+ color: 'rgba(0, 0, 0, 0.05)',
68
+ },
69
+ {
70
+ offsetX: '0px',
71
+ offsetY: '11px',
72
+ blur: '11px',
73
+ spread: '0px',
74
+ color: 'rgba(0, 0, 0, 0.08)',
75
+ },
76
+ { offsetX: '0px', offsetY: '0px', blur: '6px', spread: '0px', color: 'rgba(0, 0, 0, 0.1)' },
77
+ ],
78
+ };
79
+ export const shadowCssValues = {
80
+ 'Shadows-1': '0px 4px 3px 0px rgba(0, 0, 0, 0.03), 0px 2px 2px 0px rgba(0, 0, 0, 0.04), 0px 0px 1px 0px rgba(0, 0, 0, 0.05)',
81
+ 'Shadows-2': '0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.1)',
82
+ 'Shadows-3': '0px 10px 6px 0px rgba(0, 0, 0, 0.05), 0px 4px 4px 0px rgba(0, 0, 0, 0.08), 0px 1px 2px 0px rgba(0, 0, 0, 0.1)',
83
+ 'Shadows-4': '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
84
+ };
85
+ // Preserve the array structure so we can extend shadow slots without refactoring downstream overrides.
86
+ export const muiShadows = [
87
+ '0px 4px 3px 0px rgba(0, 0, 0, 0.03), 0px 2px 2px 0px rgba(0, 0, 0, 0.04), 0px 0px 1px 0px rgba(0, 0, 0, 0.05)',
88
+ '0px 4px 3px 0px rgba(0, 0, 0, 0.03), 0px 2px 2px 0px rgba(0, 0, 0, 0.04), 0px 0px 1px 0px rgba(0, 0, 0, 0.05)',
89
+ '0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.1)',
90
+ '0px 10px 6px 0px rgba(0, 0, 0, 0.05), 0px 4px 4px 0px rgba(0, 0, 0, 0.08), 0px 1px 2px 0px rgba(0, 0, 0, 0.1)',
91
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
92
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
93
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
94
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
95
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
96
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
97
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
98
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
99
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
100
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
101
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
102
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
103
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
104
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
105
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
106
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
107
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
108
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
109
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
110
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
111
+ '0px 17px 14px 0px rgba(0, 0, 0, 0.05), 0px 11px 11px 0px rgba(0, 0, 0, 0.08), 0px 0px 6px 0px rgba(0, 0, 0, 0.1)',
112
+ ];
@@ -0,0 +1,2 @@
1
+ export * from './typescale';
2
+ export * from './typography';
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ // Auto-generated file - do not edit manually
3
+ export * from './typescale';
4
+ export * from './typography';
@@ -0,0 +1,28 @@
1
+ export interface TypescaleTypographyVariants {
2
+ BodyLarge: React.CSSProperties;
3
+ BodyLargeProminent: React.CSSProperties;
4
+ BodyMedium: React.CSSProperties;
5
+ BodyMediumProminent: React.CSSProperties;
6
+ BodySmall: React.CSSProperties;
7
+ BodySmallProminent: React.CSSProperties;
8
+ DisplayLarge: React.CSSProperties;
9
+ DisplayMedium: React.CSSProperties;
10
+ DisplaySmall: React.CSSProperties;
11
+ DisplayXLarge: React.CSSProperties;
12
+ HeadlineLarge: React.CSSProperties;
13
+ HeadlineMedium: React.CSSProperties;
14
+ HeadlineSmall: React.CSSProperties;
15
+ LabelLarge: React.CSSProperties;
16
+ LabelLargeProminent: React.CSSProperties;
17
+ LabelMedium: React.CSSProperties;
18
+ LabelMediumProminent: React.CSSProperties;
19
+ LabelSmall: React.CSSProperties;
20
+ LabelSmallProminent: React.CSSProperties;
21
+ TitleLarge: React.CSSProperties;
22
+ TitleMedium: React.CSSProperties;
23
+ TitleSmall: React.CSSProperties;
24
+ }
25
+ export type TypescaleTypographyVariantsBooleans = {
26
+ [K in keyof TypescaleTypographyVariants]: boolean;
27
+ };
28
+ export declare const TypographyVariantsNames: (keyof TypescaleTypographyVariants)[];
@@ -0,0 +1,26 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ // Auto-generated file - do not edit manually
3
+ export const TypographyVariantsNames = [
4
+ 'BodyLarge',
5
+ 'BodyLargeProminent',
6
+ 'BodyMedium',
7
+ 'BodyMediumProminent',
8
+ 'BodySmall',
9
+ 'BodySmallProminent',
10
+ 'DisplayLarge',
11
+ 'DisplayMedium',
12
+ 'DisplaySmall',
13
+ 'DisplayXLarge',
14
+ 'HeadlineLarge',
15
+ 'HeadlineMedium',
16
+ 'HeadlineSmall',
17
+ 'LabelLarge',
18
+ 'LabelLargeProminent',
19
+ 'LabelMedium',
20
+ 'LabelMediumProminent',
21
+ 'LabelSmall',
22
+ 'LabelSmallProminent',
23
+ 'TitleLarge',
24
+ 'TitleMedium',
25
+ 'TitleSmall',
26
+ ];
@@ -0,0 +1,2 @@
1
+ import { TypescaleTypographyVariants } from '../../tokens/typography/typescale';
2
+ export declare const typographyVariants: TypescaleTypographyVariants;
@@ -0,0 +1,156 @@
1
+ export const typographyVariants = {
2
+ BodyLarge: {
3
+ fontFamily: 'Roboto',
4
+ fontSize: '16px',
5
+ lineHeight: '24px',
6
+ letterSpacing: '0.5px',
7
+ fontWeight: 400,
8
+ },
9
+ BodyLargeProminent: {
10
+ fontFamily: 'Roboto',
11
+ fontSize: '16px',
12
+ lineHeight: '24px',
13
+ letterSpacing: '0.5px',
14
+ fontWeight: 600,
15
+ },
16
+ BodyMedium: {
17
+ fontFamily: 'Roboto',
18
+ fontWeight: 400,
19
+ fontSize: '14px',
20
+ lineHeight: '20px',
21
+ letterSpacing: '0.25px',
22
+ },
23
+ BodyMediumProminent: {
24
+ fontFamily: 'Roboto',
25
+ fontWeight: 600,
26
+ fontSize: '14px',
27
+ lineHeight: '20px',
28
+ letterSpacing: '0.25px',
29
+ },
30
+ BodySmall: {
31
+ fontFamily: 'Roboto',
32
+ fontSize: '12px',
33
+ lineHeight: '16px',
34
+ letterSpacing: '0.4px',
35
+ fontWeight: 400,
36
+ },
37
+ BodySmallProminent: {
38
+ fontFamily: 'Roboto',
39
+ fontSize: '12px',
40
+ lineHeight: '16px',
41
+ letterSpacing: '0.4px',
42
+ fontWeight: 600,
43
+ },
44
+ DisplayLarge: {
45
+ fontFamily: 'Roboto',
46
+ fontSize: '45px',
47
+ lineHeight: '52px',
48
+ letterSpacing: '-0.25px',
49
+ fontWeight: 400,
50
+ },
51
+ DisplayMedium: {
52
+ fontFamily: 'Roboto',
53
+ fontSize: '32px',
54
+ lineHeight: '44px',
55
+ letterSpacing: '0px',
56
+ fontWeight: 400,
57
+ },
58
+ DisplaySmall: {
59
+ fontFamily: 'Roboto',
60
+ fontSize: '24px',
61
+ lineHeight: '32px',
62
+ letterSpacing: '0px',
63
+ fontWeight: 400,
64
+ },
65
+ DisplayXLarge: {
66
+ fontFamily: 'Roboto',
67
+ fontSize: '52px',
68
+ lineHeight: '86px',
69
+ letterSpacing: '-0.25px',
70
+ fontWeight: 400,
71
+ },
72
+ HeadlineLarge: {
73
+ fontFamily: 'Roboto',
74
+ fontSize: '20px',
75
+ lineHeight: '28px',
76
+ letterSpacing: '0px',
77
+ fontWeight: 400,
78
+ },
79
+ HeadlineMedium: {
80
+ fontFamily: 'Roboto',
81
+ fontSize: '18px',
82
+ lineHeight: '28px',
83
+ letterSpacing: '0px',
84
+ fontWeight: 400,
85
+ },
86
+ HeadlineSmall: {
87
+ fontFamily: 'Roboto',
88
+ fontSize: '16px',
89
+ lineHeight: '28px',
90
+ letterSpacing: '0px',
91
+ fontWeight: 700,
92
+ },
93
+ LabelLarge: {
94
+ fontFamily: 'Roboto',
95
+ fontSize: '17px',
96
+ lineHeight: '24px',
97
+ letterSpacing: '0.1px',
98
+ fontWeight: 400,
99
+ },
100
+ LabelLargeProminent: {
101
+ fontFamily: 'Roboto',
102
+ fontSize: '17px',
103
+ lineHeight: '24px',
104
+ letterSpacing: '0.1px',
105
+ fontWeight: 500,
106
+ },
107
+ LabelMedium: {
108
+ fontFamily: 'Roboto',
109
+ fontSize: '14px',
110
+ lineHeight: '20px',
111
+ letterSpacing: '0.5px',
112
+ fontWeight: 400,
113
+ },
114
+ LabelMediumProminent: {
115
+ fontFamily: 'Roboto',
116
+ fontSize: '14px',
117
+ lineHeight: '20px',
118
+ letterSpacing: '0.5px',
119
+ fontWeight: 500,
120
+ },
121
+ LabelSmall: {
122
+ fontFamily: 'Roboto',
123
+ fontSize: '13px',
124
+ lineHeight: '16px',
125
+ letterSpacing: '0.5px',
126
+ fontWeight: 400,
127
+ },
128
+ LabelSmallProminent: {
129
+ fontFamily: 'Roboto',
130
+ fontSize: '13px',
131
+ lineHeight: '16px',
132
+ letterSpacing: '0.5px',
133
+ fontWeight: 500,
134
+ },
135
+ TitleLarge: {
136
+ fontFamily: 'Roboto',
137
+ fontSize: '20px',
138
+ lineHeight: '24px',
139
+ letterSpacing: '0px',
140
+ fontWeight: 400,
141
+ },
142
+ TitleMedium: {
143
+ fontFamily: 'Roboto',
144
+ fontSize: '15px',
145
+ lineHeight: '20px',
146
+ letterSpacing: '0.15px',
147
+ fontWeight: 400,
148
+ },
149
+ TitleSmall: {
150
+ fontFamily: 'Roboto',
151
+ fontSize: '14px',
152
+ lineHeight: '20px',
153
+ letterSpacing: '0.1px',
154
+ fontWeight: 500,
155
+ },
156
+ };
@@ -0,0 +1,12 @@
1
+ import { Icon, IconWeight, IconProps } from '@phosphor-icons/react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ type MuiColorToken = 'inherit' | 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success' | 'action' | 'disabled';
4
+ export type CustomIconProps = Omit<IconProps, 'color'> & {
5
+ color?: string | MuiColorToken;
6
+ sx?: SxProps<Theme>;
7
+ };
8
+ export type CustomIcon = Icon;
9
+ type WeightPaths = Partial<Record<IconWeight, string>>;
10
+ export declare function createStaticIcon(displayName: string, svg: string): CustomIcon;
11
+ export declare function createIcon(displayName: string, svgOrPath: string | WeightPaths): CustomIcon;
12
+ export {};
@@ -0,0 +1,94 @@
1
+ import { __rest } from "tslib";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
4
+ import { forwardRef } from 'react';
5
+ import { SSRBase } from '@phosphor-icons/react/dist/ssr';
6
+ import { styled } from '@mui/material/styles';
7
+ import Box from '@mui/material/Box';
8
+ function extractPath(svg) {
9
+ const cleanedSvg = svg.replace(/fill="[^"]*"/g, '');
10
+ const match = cleanedSvg.match(/d="([^"]+)"/);
11
+ if (!(match === null || match === void 0 ? void 0 : match[1])) {
12
+ throw new Error('createIcon: No path found in SVG. Make sure SVG contains a <path d="..."> element.');
13
+ }
14
+ return match[1];
15
+ }
16
+ const StyledIconWrapper = styled('span', {
17
+ shouldForwardProp: (prop) => prop !== 'iconColor',
18
+ })(({ theme, iconColor }) => {
19
+ if (!iconColor || iconColor === 'inherit') {
20
+ return { display: 'inline-flex', color: 'inherit' };
21
+ }
22
+ const paletteColors = [
23
+ 'primary',
24
+ 'secondary',
25
+ 'error',
26
+ 'warning',
27
+ 'info',
28
+ 'success',
29
+ ];
30
+ if (paletteColors.includes(iconColor)) {
31
+ return {
32
+ display: 'inline-flex',
33
+ color: theme.palette[iconColor].main,
34
+ };
35
+ }
36
+ if (iconColor === 'action') {
37
+ return { display: 'inline-flex', color: theme.palette.action.active };
38
+ }
39
+ if (iconColor === 'disabled') {
40
+ return { display: 'inline-flex', color: theme.palette.action.disabled };
41
+ }
42
+ return { display: 'inline-flex', color: iconColor };
43
+ });
44
+ function extractPathsData(svg) {
45
+ var _a, _b;
46
+ const pathRegex = /<path[^>]*d="([^"]+)"[^>]*\/?>/g;
47
+ const paths = [];
48
+ let match;
49
+ while ((match = pathRegex.exec(svg)) !== null) {
50
+ const fullMatch = match[0];
51
+ const d = (_a = match[1]) !== null && _a !== void 0 ? _a : '';
52
+ const fillMatch = fullMatch.match(/fill="([^"]*)"/);
53
+ const fill = (_b = fillMatch === null || fillMatch === void 0 ? void 0 : fillMatch[1]) !== null && _b !== void 0 ? _b : 'currentColor';
54
+ paths.push({ d, fill });
55
+ }
56
+ return paths;
57
+ }
58
+ export function createStaticIcon(displayName, svg) {
59
+ const pathsData = extractPathsData(svg);
60
+ const IconComponent = forwardRef((props, ref) => {
61
+ const _a = props, { sx, size = 24, variant = 'outline', color } = _a, rest = __rest(_a, ["sx", "size", "variant", "color"]);
62
+ const paths = pathsData.map((p, i) => {
63
+ if (variant === 'outline') {
64
+ if (i === 0) {
65
+ return (_jsx("path", { d: p.d, fill: "transparent", stroke: "currentColor", strokeWidth: 8 }, i));
66
+ }
67
+ return _jsx("path", { d: p.d, fill: "currentColor" }, i);
68
+ }
69
+ return _jsx("path", { d: p.d, fill: p.fill }, i);
70
+ });
71
+ return (_jsx(Box, { component: "span", ref: ref, sx: Object.assign({ display: 'inline-flex', verticalAlign: 'middle', width: size, height: size }, sx), children: _jsx(StyledIconWrapper, { iconColor: variant === 'outline' ? color : undefined, children: _jsx("svg", Object.assign({ viewBox: "0 0 256 256", width: "100%", height: "100%" }, rest, { children: paths })) }) }));
72
+ });
73
+ IconComponent.displayName = displayName;
74
+ return IconComponent;
75
+ }
76
+ export function createIcon(displayName, svgOrPath) {
77
+ const weights = new Map();
78
+ if (typeof svgOrPath === 'string') {
79
+ const pathData = svgOrPath.includes('<svg') ? extractPath(svgOrPath) : svgOrPath;
80
+ weights.set('regular', _jsx("path", { d: pathData }));
81
+ }
82
+ else {
83
+ Object.entries(svgOrPath).forEach(([weight, pathOrSvg]) => {
84
+ const pathData = pathOrSvg.includes('<svg') ? extractPath(pathOrSvg) : pathOrSvg;
85
+ weights.set(weight, _jsx("path", { d: pathData }));
86
+ });
87
+ }
88
+ const IconComponent = forwardRef((props, ref) => {
89
+ const _a = props, { color, sx } = _a, rest = __rest(_a, ["color", "sx"]);
90
+ return (_jsx(Box, { component: "span", sx: Object.assign({ display: 'inline-flex', verticalAlign: 'middle' }, sx), children: _jsx(StyledIconWrapper, { iconColor: color, children: _jsx(SSRBase, Object.assign({ ref: ref }, rest, { color: "currentColor", weights: weights })) }) }));
91
+ });
92
+ IconComponent.displayName = displayName;
93
+ return IconComponent;
94
+ }
@@ -0,0 +1 @@
1
+ export declare const flatten: <T>(array: (T | T[])[]) => T[];
@@ -0,0 +1,12 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export const flatten = (array) => {
3
+ return array.reduce((acc, el) => {
4
+ if (Array.isArray(el)) {
5
+ acc.push(...el);
6
+ }
7
+ else {
8
+ acc.push(el);
9
+ }
10
+ return acc;
11
+ }, []);
12
+ };
@@ -1,4 +1,4 @@
1
- import { getAccordion, getAlert, getAppBar, getBadge, getButton, getCard, getCheckbox, getChip, getCssBaseline, getDivider, getDrawer, getFab, getIconButton, getLink, getListItem, getListItemButton, getListItemIcon, getListItemAvatar, getListSubheader, getMenu, getMenuItem, getPaginationItem, getPaper, getSwitch, getTab, getTabList, getTextField, getToggleButton, getToggleButtonGroup, getTooltip, getTypography, getAvatar, getSelect, getInputLabel, getTimePicker, getSnackbar, getCircularProgress, getLinearProgress, getDialog, getDataGrid, getTable, getAutocomplete, getInputBase, } from '../components';
1
+ import { getAccordion, getAccordionSummary, getAccordionDetails, getAlert, getAppBar, getBackdrop, getBadge, getBreadcrumbs, getButton, getCard, getCheckbox, getChip, getCssBaseline, getDivider, getDrawer, getFab, getIconButton, getLink, getList, getListItem, getListItemButton, getListItemIcon, getListItemAvatar, getListSubheader, getMenu, getMenuItem, getPaginationItem, getPaper, getPopover, getSwitch, getTab, getTabs, getTextField, getToggleButton, getToggleButtonGroup, getTooltip, getTypography, getAvatar, getSelect, getInputLabel, getTimePicker, getSnackbar, getCircularProgress, getLinearProgress, getDialog, getDataGrid, getTable, getAutocomplete, getInputBase, getSkeleton, getFormLabel, getOutlinedInput, getFormHelperText, getRadio, } from '../components';
2
2
  export const getMUIComponents = (theme, _mode) => ({
3
- components: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, getCssBaseline(theme)), getAccordion(theme)), getAlert(theme)), getAppBar(theme)), getAvatar(theme)), getBadge(theme)), getSelect(theme)), getTimePicker(theme)), getInputLabel(theme)), getButton(theme)), getCard(theme)), getCheckbox(theme)), getChip(theme)), getDivider(theme)), getDrawer(theme)), getFab(theme)), getIconButton(theme)), getLink(theme)), getListItem(theme)), getListItemButton(theme)), getListItemIcon(theme)), getListItemAvatar(theme)), getListSubheader(theme)), getMenu(theme)), getMenuItem(theme)), getPaginationItem(theme)), getPaper(theme)), getSwitch(theme)), getTab(theme)), getTabList(theme)), getTextField(theme)), getToggleButton(theme)), getToggleButtonGroup(theme)), getTooltip(theme)), getTypography(theme)), getSnackbar(theme)), getCircularProgress(theme)), getLinearProgress(theme)), getDialog(theme)), getDataGrid(theme)), getTable(theme)), getAutocomplete(theme)), getInputBase(theme)),
3
+ components: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, getCssBaseline(theme)), getBackdrop(theme)), getAccordion(theme)), getAccordionSummary(theme)), getAccordionDetails(theme)), getAlert(theme)), getAppBar(theme)), getAvatar(theme)), getBadge(theme)), getBreadcrumbs(theme)), getSelect()), getTimePicker(theme)), getInputLabel()), getButton(theme)), getCard(theme)), getCheckbox(theme)), getChip(theme)), getDivider(theme)), getDrawer(theme)), getFab(theme)), getIconButton(theme)), getLink(theme)), getList(theme)), getListItem(theme)), getListItemButton(theme)), getListItemIcon(theme)), getListItemAvatar(theme)), getListSubheader(theme)), getMenu(theme)), getMenuItem(theme)), getPaginationItem(theme)), getPaper(theme)), getPopover(theme)), getSwitch(theme)), getTab(theme)), getTabs(theme)), getTextField(theme)), getToggleButton(theme)), getToggleButtonGroup(theme)), getTooltip(theme)), getTypography(theme)), getSnackbar(theme)), getCircularProgress(theme)), getLinearProgress(theme)), getDialog(theme)), getDataGrid(theme)), getTable(theme)), getAutocomplete()), getInputBase()), getSkeleton(theme)), getFormLabel()), getOutlinedInput()), getFormHelperText()), getRadio(theme)),
4
4
  });
@@ -1,14 +1,9 @@
1
- import { ThemeOptions } from '@mui/material';
2
- import { TonalPalette } from '../tokens/TonalPalette';
1
+ import { PaletteColor, PaletteColorOptions, ThemeOptions } from '@mui/material';
3
2
  import { ThemeMode } from '../tokens/ThemeMode';
4
3
  import { ThemeScheme } from '../tokens/ThemeScheme';
5
- import { AdditionalColorTone } from '../tokens/Tone';
6
- declare module '@mui/material/styles/createTheme' {
7
- interface ThemeOptions {
8
- tones?: TonalPalette;
9
- }
10
- }
11
- declare module '@mui/material/styles/createPalette' {
4
+ import { Schemes, StateLayers } from '../tokens/colors';
5
+ import { AdditionalColorTone } from '../tokens/legacyColors/Tone';
6
+ declare module '@mui/material/styles' {
12
7
  interface M3Palette {
13
8
  onPrimary: PaletteColor;
14
9
  primaryContainer: PaletteColor;
@@ -88,7 +83,7 @@ declare module '@mui/material/styles/createPalette' {
88
83
  deepOrange: AdditionalColorTone;
89
84
  brown: AdditionalColorTone;
90
85
  }
91
- interface M3PaletteOptions extends Record<keyof M3Palette, PaletteColorOptions> {
86
+ interface M3PaletteOptions extends Record<keyof M3Palette, PaletteColorOptions | StateLayers | Schemes> {
92
87
  themeMode: string;
93
88
  additional: M3AdditionalColors;
94
89
  }
@@ -98,4 +93,4 @@ declare module '@mui/material/styles/createPalette' {
98
93
  interface PaletteOptions extends M3PaletteOptions {
99
94
  }
100
95
  }
101
- export declare const getMUIPalette: (themeMode: ThemeMode, themescheme: ThemeScheme) => ThemeOptions;
96
+ export declare const getMUIPalette: (themeMode: ThemeMode, themeScheme: ThemeScheme) => ThemeOptions;