@webpros/mui-theme 0.1.2 → 0.1.3

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 (323) hide show
  1. package/dist/src/components/data-display/Avatar/Avatar.d.ts +3 -0
  2. package/dist/src/components/data-display/Avatar/Avatar.js +4 -0
  3. package/dist/src/components/data-display/Avatar/Avatar.theme.d.ts +12 -0
  4. package/dist/src/components/data-display/Avatar/Avatar.theme.js +20 -0
  5. package/dist/src/components/data-display/Avatar/index.d.ts +1 -0
  6. package/dist/src/components/data-display/Avatar/index.js +2 -0
  7. package/dist/src/components/data-display/Badge/Badge.d.ts +3 -0
  8. package/dist/src/components/data-display/Badge/Badge.js +4 -0
  9. package/dist/src/components/data-display/Badge/Badge.theme.d.ts +24 -0
  10. package/dist/src/components/data-display/Badge/Badge.theme.js +131 -0
  11. package/dist/src/components/data-display/Badge/index.d.ts +1 -0
  12. package/dist/src/components/data-display/Badge/index.js +2 -0
  13. package/dist/src/components/data-display/Chip/Chip.d.ts +3 -0
  14. package/dist/src/components/data-display/Chip/Chip.js +4 -0
  15. package/dist/src/components/data-display/Chip/Chip.theme.d.ts +19 -0
  16. package/dist/src/components/data-display/Chip/Chip.theme.js +503 -0
  17. package/dist/src/components/data-display/Chip/components/ChipDeleteIcon.d.ts +1 -0
  18. package/dist/src/components/data-display/Chip/components/ChipDeleteIcon.js +4 -0
  19. package/dist/src/components/data-display/Chip/index.d.ts +1 -0
  20. package/dist/src/components/data-display/Chip/index.js +2 -0
  21. package/dist/src/components/data-display/DataGrid/DataGrid.d.ts +4 -0
  22. package/dist/src/components/data-display/DataGrid/DataGrid.js +7 -0
  23. package/dist/src/components/data-display/DataGrid/DataGrid.theme.d.ts +11 -0
  24. package/dist/src/components/data-display/DataGrid/DataGrid.theme.js +21 -0
  25. package/dist/src/components/data-display/DataGrid/index.d.ts +1 -0
  26. package/dist/src/components/data-display/DataGrid/index.js +2 -0
  27. package/dist/src/components/data-display/DataGrid/mock-data.d.ts +18 -0
  28. package/dist/src/components/data-display/DataGrid/mock-data.js +184 -0
  29. package/dist/src/components/data-display/Divider/Divider.d.ts +3 -0
  30. package/dist/src/components/data-display/Divider/Divider.js +4 -0
  31. package/dist/src/components/data-display/Divider/Divider.theme.d.ts +11 -0
  32. package/dist/src/components/data-display/Divider/Divider.theme.js +19 -0
  33. package/dist/src/components/data-display/Divider/index.d.ts +1 -0
  34. package/dist/src/components/data-display/Divider/index.js +2 -0
  35. package/dist/src/components/data-display/List/List.d.ts +3 -0
  36. package/dist/src/components/data-display/List/List.js +4 -0
  37. package/dist/src/components/data-display/List/List.theme.d.ts +11 -0
  38. package/dist/src/components/data-display/List/List.theme.js +5 -0
  39. package/dist/src/components/data-display/List/index.d.ts +1 -0
  40. package/dist/src/components/data-display/List/index.js +2 -0
  41. package/dist/src/components/data-display/ListItem/ListItem.d.ts +3 -0
  42. package/dist/src/components/data-display/ListItem/ListItem.js +4 -0
  43. package/dist/src/components/data-display/ListItem/ListItem.theme.d.ts +11 -0
  44. package/dist/src/components/data-display/ListItem/ListItem.theme.js +13 -0
  45. package/dist/src/components/data-display/ListItem/index.d.ts +1 -0
  46. package/dist/src/components/data-display/ListItem/index.js +2 -0
  47. package/dist/src/components/data-display/ListItemAvatar/ListItemAvatar.d.ts +4 -0
  48. package/dist/src/components/data-display/ListItemAvatar/ListItemAvatar.js +4 -0
  49. package/dist/src/components/data-display/ListItemAvatar/ListItemAvatar.theme.d.ts +11 -0
  50. package/dist/src/components/data-display/ListItemAvatar/ListItemAvatar.theme.js +11 -0
  51. package/dist/src/components/data-display/ListItemAvatar/index.d.ts +1 -0
  52. package/dist/src/components/data-display/ListItemAvatar/index.js +2 -0
  53. package/dist/src/components/data-display/ListItemButton/ListItemButton.d.ts +3 -0
  54. package/dist/src/components/data-display/ListItemButton/ListItemButton.js +4 -0
  55. package/dist/src/components/data-display/ListItemButton/ListItemButton.theme.d.ts +16 -0
  56. package/dist/src/components/data-display/ListItemButton/ListItemButton.theme.js +68 -0
  57. package/dist/src/components/data-display/ListItemButton/index.d.ts +1 -0
  58. package/dist/src/components/data-display/ListItemButton/index.js +2 -0
  59. package/dist/src/components/data-display/ListItemIcon/ListItemIcon.d.ts +4 -0
  60. package/dist/src/components/data-display/ListItemIcon/ListItemIcon.js +4 -0
  61. package/dist/src/components/data-display/ListItemIcon/ListItemIcon.theme.d.ts +11 -0
  62. package/dist/src/components/data-display/ListItemIcon/ListItemIcon.theme.js +14 -0
  63. package/dist/src/components/data-display/ListItemIcon/index.d.ts +1 -0
  64. package/dist/src/components/data-display/ListItemIcon/index.js +2 -0
  65. package/dist/src/components/data-display/ListSubheader/ListSubheader.d.ts +3 -0
  66. package/dist/src/components/data-display/ListSubheader/ListSubheader.js +4 -0
  67. package/dist/src/components/data-display/ListSubheader/ListSubheader.theme.d.ts +11 -0
  68. package/dist/src/components/data-display/ListSubheader/ListSubheader.theme.js +15 -0
  69. package/dist/src/components/data-display/ListSubheader/index.d.ts +1 -0
  70. package/dist/src/components/data-display/ListSubheader/index.js +2 -0
  71. package/dist/src/components/data-display/Table/Table.d.ts +4 -0
  72. package/dist/src/components/data-display/Table/Table.js +4 -0
  73. package/dist/src/components/data-display/Table/Table.theme.d.ts +25 -0
  74. package/dist/src/components/data-display/Table/Table.theme.js +41 -0
  75. package/dist/src/components/data-display/Table/index.d.ts +1 -0
  76. package/dist/src/components/data-display/Table/index.js +2 -0
  77. package/dist/src/components/data-display/Table/mock-data.d.ts +17 -0
  78. package/dist/src/components/data-display/Table/mock-data.js +198 -0
  79. package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +4 -0
  80. package/dist/src/components/data-display/Tooltip/Tooltip.js +4 -0
  81. package/dist/src/components/data-display/Tooltip/Tooltip.theme.d.ts +11 -0
  82. package/dist/src/components/data-display/Tooltip/Tooltip.theme.js +21 -0
  83. package/dist/src/components/data-display/Tooltip/index.d.ts +1 -0
  84. package/dist/src/components/data-display/Tooltip/index.js +2 -0
  85. package/dist/src/components/data-display/Typography/Typography.d.ts +3 -0
  86. package/dist/src/components/data-display/Typography/Typography.js +4 -0
  87. package/dist/src/components/data-display/Typography/Typography.theme.d.ts +36 -0
  88. package/dist/src/components/data-display/Typography/Typography.theme.js +169 -0
  89. package/dist/src/components/data-display/Typography/index.d.ts +1 -0
  90. package/dist/src/components/data-display/Typography/index.js +2 -0
  91. package/dist/src/components/feedback/Alert/Alert.d.ts +4 -0
  92. package/dist/src/components/feedback/Alert/Alert.js +4 -0
  93. package/dist/src/components/feedback/Alert/Alert.theme.d.ts +11 -0
  94. package/dist/src/components/feedback/Alert/Alert.theme.js +60 -0
  95. package/dist/src/components/feedback/Alert/index.d.ts +1 -0
  96. package/dist/src/components/feedback/Alert/index.js +2 -0
  97. package/dist/src/components/feedback/CircularProgress/CircularProgress.d.ts +4 -0
  98. package/dist/src/components/feedback/CircularProgress/CircularProgress.js +4 -0
  99. package/dist/src/components/feedback/CircularProgress/CircularProgress.theme.d.ts +10 -0
  100. package/dist/src/components/feedback/CircularProgress/CircularProgress.theme.js +11 -0
  101. package/dist/src/components/feedback/CircularProgress/index.d.ts +1 -0
  102. package/dist/src/components/feedback/CircularProgress/index.js +2 -0
  103. package/dist/src/components/feedback/Dialog/Dialog.d.ts +4 -0
  104. package/dist/src/components/feedback/Dialog/Dialog.js +5 -0
  105. package/dist/src/components/feedback/Dialog/Dialog.theme.d.ts +30 -0
  106. package/dist/src/components/feedback/Dialog/Dialog.theme.js +67 -0
  107. package/dist/src/components/feedback/Dialog/index.d.ts +1 -0
  108. package/dist/src/components/feedback/Dialog/index.js +2 -0
  109. package/dist/src/components/feedback/LinearProgress/LinearProgress.d.ts +4 -0
  110. package/dist/src/components/feedback/LinearProgress/LinearProgress.js +4 -0
  111. package/dist/src/components/feedback/LinearProgress/LinearProgress.theme.d.ts +10 -0
  112. package/dist/src/components/feedback/LinearProgress/LinearProgress.theme.js +13 -0
  113. package/dist/src/components/feedback/LinearProgress/index.d.ts +1 -0
  114. package/dist/src/components/feedback/LinearProgress/index.js +2 -0
  115. package/dist/src/components/feedback/Snackbar/Snackbar.d.ts +4 -0
  116. package/dist/src/components/feedback/Snackbar/Snackbar.js +4 -0
  117. package/dist/src/components/feedback/Snackbar/Snackbar.theme.d.ts +10 -0
  118. package/dist/src/components/feedback/Snackbar/Snackbar.theme.js +13 -0
  119. package/dist/src/components/feedback/Snackbar/index.d.ts +1 -0
  120. package/dist/src/components/feedback/Snackbar/index.js +2 -0
  121. package/dist/src/components/index.d.ts +43 -0
  122. package/dist/src/components/index.js +44 -0
  123. package/dist/src/components/inputs/Autocomplete/Autocomplete.d.ts +4 -0
  124. package/dist/src/components/inputs/Autocomplete/Autocomplete.js +4 -0
  125. package/dist/src/components/inputs/Autocomplete/Autocomplete.theme.d.ts +10 -0
  126. package/dist/src/components/inputs/Autocomplete/Autocomplete.theme.js +67 -0
  127. package/dist/src/components/inputs/Autocomplete/components/AutocompletePopupIcon.d.ts +1 -0
  128. package/dist/src/components/inputs/Autocomplete/components/AutocompletePopupIcon.js +4 -0
  129. package/dist/src/components/inputs/Autocomplete/index.d.ts +1 -0
  130. package/dist/src/components/inputs/Autocomplete/index.js +2 -0
  131. package/dist/src/components/inputs/Button/Button.d.ts +3 -0
  132. package/dist/src/components/inputs/Button/Button.js +4 -0
  133. package/dist/src/components/inputs/Button/Button.theme.d.ts +26 -0
  134. package/dist/src/components/inputs/Button/Button.theme.js +243 -0
  135. package/dist/src/components/inputs/Button/index.d.ts +1 -0
  136. package/dist/src/components/inputs/Button/index.js +2 -0
  137. package/dist/src/components/inputs/Checkbox/Checkbox.d.ts +4 -0
  138. package/dist/src/components/inputs/Checkbox/Checkbox.js +4 -0
  139. package/dist/src/components/inputs/Checkbox/Checkbox.theme.d.ts +10 -0
  140. package/dist/src/components/inputs/Checkbox/Checkbox.theme.js +20 -0
  141. package/dist/src/components/inputs/Checkbox/index.d.ts +1 -0
  142. package/dist/src/components/inputs/Checkbox/index.js +2 -0
  143. package/dist/src/components/inputs/Fab/Fab.d.ts +3 -0
  144. package/dist/src/components/inputs/Fab/Fab.js +4 -0
  145. package/dist/src/components/inputs/Fab/Fab.theme.d.ts +25 -0
  146. package/dist/src/components/inputs/Fab/Fab.theme.js +135 -0
  147. package/dist/src/components/inputs/Fab/index.d.ts +1 -0
  148. package/dist/src/components/inputs/Fab/index.js +2 -0
  149. package/dist/src/components/inputs/IconButton/IconButton.d.ts +3 -0
  150. package/dist/src/components/inputs/IconButton/IconButton.js +4 -0
  151. package/dist/src/components/inputs/IconButton/IconButton.theme.d.ts +19 -0
  152. package/dist/src/components/inputs/IconButton/IconButton.theme.js +116 -0
  153. package/dist/src/components/inputs/IconButton/index.d.ts +1 -0
  154. package/dist/src/components/inputs/IconButton/index.js +2 -0
  155. package/dist/src/components/inputs/InputBase/InputBase.theme.d.ts +30 -0
  156. package/dist/src/components/inputs/InputBase/InputBase.theme.js +70 -0
  157. package/dist/src/components/inputs/InputBase/index.d.ts +1 -0
  158. package/dist/src/components/inputs/InputBase/index.js +2 -0
  159. package/dist/src/components/inputs/InputLabel/InputLabel.d.ts +2 -0
  160. package/dist/src/components/inputs/InputLabel/InputLabel.js +3 -0
  161. package/dist/src/components/inputs/InputLabel/InputLabel.theme.d.ts +9 -0
  162. package/dist/src/components/inputs/InputLabel/InputLabel.theme.js +20 -0
  163. package/dist/src/components/inputs/InputLabel/index.d.ts +1 -0
  164. package/dist/src/components/inputs/InputLabel/index.js +2 -0
  165. package/dist/src/components/inputs/Select/Select.d.ts +4 -0
  166. package/dist/src/components/inputs/Select/Select.js +3 -0
  167. package/dist/src/components/inputs/Select/Select.theme.d.ts +9 -0
  168. package/dist/src/components/inputs/Select/Select.theme.js +46 -0
  169. package/dist/src/components/inputs/Select/index.d.ts +1 -0
  170. package/dist/src/components/inputs/Select/index.js +2 -0
  171. package/dist/src/components/inputs/Switch/Switch.d.ts +4 -0
  172. package/dist/src/components/inputs/Switch/Switch.js +4 -0
  173. package/dist/src/components/inputs/Switch/Switch.theme.d.ts +11 -0
  174. package/dist/src/components/inputs/Switch/Switch.theme.js +97 -0
  175. package/dist/src/components/inputs/Switch/index.d.ts +1 -0
  176. package/dist/src/components/inputs/Switch/index.js +2 -0
  177. package/dist/src/components/inputs/TextField/TextField.d.ts +4 -0
  178. package/dist/src/components/inputs/TextField/TextField.js +4 -0
  179. package/dist/src/components/inputs/TextField/TextField.theme.d.ts +14 -0
  180. package/dist/src/components/inputs/TextField/TextField.theme.js +32 -0
  181. package/dist/src/components/inputs/TextField/index.d.ts +1 -0
  182. package/dist/src/components/inputs/TextField/index.js +2 -0
  183. package/dist/src/components/inputs/TimePicker/TimePicker.theme.d.ts +8 -0
  184. package/dist/src/components/inputs/TimePicker/TimePicker.theme.js +23 -0
  185. package/dist/src/components/inputs/TimePicker/index.d.ts +1 -0
  186. package/dist/src/components/inputs/TimePicker/index.js +2 -0
  187. package/dist/src/components/inputs/ToggleButton/ToggleButton.d.ts +3 -0
  188. package/dist/src/components/inputs/ToggleButton/ToggleButton.js +4 -0
  189. package/dist/src/components/inputs/ToggleButton/ToggleButton.theme.d.ts +11 -0
  190. package/dist/src/components/inputs/ToggleButton/ToggleButton.theme.js +26 -0
  191. package/dist/src/components/inputs/ToggleButton/index.d.ts +1 -0
  192. package/dist/src/components/inputs/ToggleButton/index.js +2 -0
  193. package/dist/src/components/inputs/ToggleButtonGroup/ToggleButtonGroup.d.ts +4 -0
  194. package/dist/src/components/inputs/ToggleButtonGroup/ToggleButtonGroup.js +4 -0
  195. package/dist/src/components/inputs/ToggleButtonGroup/ToggleButtonGroup.theme.d.ts +11 -0
  196. package/dist/src/components/inputs/ToggleButtonGroup/ToggleButtonGroup.theme.js +25 -0
  197. package/dist/src/components/inputs/ToggleButtonGroup/index.d.ts +1 -0
  198. package/dist/src/components/inputs/ToggleButtonGroup/index.js +2 -0
  199. package/dist/src/components/navigation/Drawer/Drawer.d.ts +4 -0
  200. package/dist/src/components/navigation/Drawer/Drawer.js +4 -0
  201. package/dist/src/components/navigation/Drawer/Drawer.theme.d.ts +10 -0
  202. package/dist/src/components/navigation/Drawer/Drawer.theme.js +15 -0
  203. package/dist/src/components/navigation/Drawer/index.d.ts +1 -0
  204. package/dist/src/components/navigation/Drawer/index.js +2 -0
  205. package/dist/src/components/navigation/Link/Link.d.ts +3 -0
  206. package/dist/src/components/navigation/Link/Link.js +4 -0
  207. package/dist/src/components/navigation/Link/Link.theme.d.ts +11 -0
  208. package/dist/src/components/navigation/Link/Link.theme.js +42 -0
  209. package/dist/src/components/navigation/Link/index.d.ts +1 -0
  210. package/dist/src/components/navigation/Link/index.js +3 -0
  211. package/dist/src/components/navigation/Menu/Menu.d.ts +4 -0
  212. package/dist/src/components/navigation/Menu/Menu.js +4 -0
  213. package/dist/src/components/navigation/Menu/Menu.theme.d.ts +10 -0
  214. package/dist/src/components/navigation/Menu/Menu.theme.js +19 -0
  215. package/dist/src/components/navigation/Menu/index.d.ts +1 -0
  216. package/dist/src/components/navigation/Menu/index.js +2 -0
  217. package/dist/src/components/navigation/MenuItem/MenuItem.d.ts +3 -0
  218. package/dist/src/components/navigation/MenuItem/MenuItem.js +4 -0
  219. package/dist/src/components/navigation/MenuItem/MenuItem.theme.d.ts +10 -0
  220. package/dist/src/components/navigation/MenuItem/MenuItem.theme.js +22 -0
  221. package/dist/src/components/navigation/MenuItem/index.d.ts +1 -0
  222. package/dist/src/components/navigation/MenuItem/index.js +2 -0
  223. package/dist/src/components/navigation/Pagination/Pagination.d.ts +4 -0
  224. package/dist/src/components/navigation/Pagination/Pagination.js +4 -0
  225. package/dist/src/components/navigation/Pagination/Pagination.theme.d.ts +11 -0
  226. package/dist/src/components/navigation/Pagination/Pagination.theme.js +8 -0
  227. package/dist/src/components/navigation/Pagination/index.d.ts +1 -0
  228. package/dist/src/components/navigation/Pagination/index.js +2 -0
  229. package/dist/src/components/navigation/PaginationItem/PaginationItem.d.ts +3 -0
  230. package/dist/src/components/navigation/PaginationItem/PaginationItem.js +4 -0
  231. package/dist/src/components/navigation/PaginationItem/PaginationItem.theme.d.ts +11 -0
  232. package/dist/src/components/navigation/PaginationItem/PaginationItem.theme.js +27 -0
  233. package/dist/src/components/navigation/PaginationItem/index.d.ts +1 -0
  234. package/dist/src/components/navigation/PaginationItem/index.js +2 -0
  235. package/dist/src/components/navigation/Tab/Tab.d.ts +3 -0
  236. package/dist/src/components/navigation/Tab/Tab.js +4 -0
  237. package/dist/src/components/navigation/Tab/Tab.theme.d.ts +10 -0
  238. package/dist/src/components/navigation/Tab/Tab.theme.js +18 -0
  239. package/dist/src/components/navigation/Tab/index.d.ts +1 -0
  240. package/dist/src/components/navigation/Tab/index.js +2 -0
  241. package/dist/src/components/navigation/TabList/TabList.d.ts +3 -0
  242. package/dist/src/components/navigation/TabList/TabList.js +4 -0
  243. package/dist/src/components/navigation/TabList/TabList.theme.d.ts +10 -0
  244. package/dist/src/components/navigation/TabList/TabList.theme.js +17 -0
  245. package/dist/src/components/navigation/TabList/index.d.ts +1 -0
  246. package/dist/src/components/navigation/TabList/index.js +2 -0
  247. package/dist/src/components/surfaces/Accordion/Accordion.d.ts +3 -0
  248. package/dist/src/components/surfaces/Accordion/Accordion.js +4 -0
  249. package/dist/src/components/surfaces/Accordion/Accordion.theme.d.ts +11 -0
  250. package/dist/src/components/surfaces/Accordion/Accordion.theme.js +43 -0
  251. package/dist/src/components/surfaces/Accordion/index.d.ts +1 -0
  252. package/dist/src/components/surfaces/Accordion/index.js +2 -0
  253. package/dist/src/components/surfaces/AppBar/AppBar.d.ts +3 -0
  254. package/dist/src/components/surfaces/AppBar/AppBar.js +4 -0
  255. package/dist/src/components/surfaces/AppBar/AppBar.theme.d.ts +11 -0
  256. package/dist/src/components/surfaces/AppBar/AppBar.theme.js +22 -0
  257. package/dist/src/components/surfaces/AppBar/index.d.ts +1 -0
  258. package/dist/src/components/surfaces/AppBar/index.js +2 -0
  259. package/dist/src/components/surfaces/Card/Card.d.ts +3 -0
  260. package/dist/src/components/surfaces/Card/Card.js +4 -0
  261. package/dist/src/components/surfaces/Card/Card.theme.d.ts +16 -0
  262. package/dist/src/components/surfaces/Card/Card.theme.js +100 -0
  263. package/dist/src/components/surfaces/Card/index.d.ts +1 -0
  264. package/dist/src/components/surfaces/Card/index.js +2 -0
  265. package/dist/src/components/surfaces/Paper/Paper.d.ts +3 -0
  266. package/dist/src/components/surfaces/Paper/Paper.js +4 -0
  267. package/dist/src/components/surfaces/Paper/Paper.theme.d.ts +9 -0
  268. package/dist/src/components/surfaces/Paper/Paper.theme.js +14 -0
  269. package/dist/src/components/surfaces/Paper/index.d.ts +1 -0
  270. package/dist/src/components/surfaces/Paper/index.js +2 -0
  271. package/dist/src/components/utils/CssBaseline/CssBaseline.d.ts +4 -0
  272. package/dist/src/components/utils/CssBaseline/CssBaseline.js +4 -0
  273. package/dist/src/components/utils/CssBaseline/CssBaseline.theme.d.ts +11 -0
  274. package/dist/src/components/utils/CssBaseline/CssBaseline.theme.js +8 -0
  275. package/dist/src/components/utils/CssBaseline/index.d.ts +1 -0
  276. package/dist/src/components/utils/CssBaseline/index.js +2 -0
  277. package/dist/src/hooks/useThemeMode.d.ts +3 -0
  278. package/dist/src/hooks/useThemeMode.js +20 -0
  279. package/dist/src/hooks/useTonalPalette.d.ts +3 -0
  280. package/dist/src/hooks/useTonalPalette.js +32 -0
  281. package/dist/src/index.d.ts +5 -0
  282. package/dist/src/index.js +7 -0
  283. package/dist/src/providers/ThemeModeProvider.d.ts +13 -0
  284. package/dist/src/providers/ThemeModeProvider.js +16 -0
  285. package/dist/src/providers/ThemeSchemeProvider.d.ts +12 -0
  286. package/dist/src/providers/ThemeSchemeProvider.js +29 -0
  287. package/dist/src/providers/WebProsMuiThemeProvider.d.ts +9 -0
  288. package/dist/src/providers/WebProsMuiThemeProvider.js +5 -0
  289. package/dist/src/providers/WebProsTheme.d.ts +9 -0
  290. package/dist/src/providers/WebProsTheme.js +25 -0
  291. package/dist/src/style/additional-color-palette.d.ts +3 -0
  292. package/dist/src/style/additional-color-palette.js +26 -0
  293. package/dist/src/style/custom-color-palette.d.ts +3 -0
  294. package/dist/src/style/custom-color-palette.js +75 -0
  295. package/dist/src/tokens/ThemeColorTokens.d.ts +96 -0
  296. package/dist/src/tokens/ThemeColorTokens.js +172 -0
  297. package/dist/src/tokens/ThemeMode.d.ts +1 -0
  298. package/dist/src/tokens/ThemeMode.js +1 -0
  299. package/dist/src/tokens/ThemeScheme.d.ts +12 -0
  300. package/dist/src/tokens/ThemeScheme.js +8 -0
  301. package/dist/src/tokens/TonalPalette.d.ts +10 -0
  302. package/dist/src/tokens/TonalPalette.js +10 -0
  303. package/dist/src/tokens/Tone.d.ts +174 -0
  304. package/dist/src/tokens/Tone.js +157 -0
  305. package/dist/src/tokens/additionalColors/index.d.ts +1 -0
  306. package/dist/src/tokens/additionalColors/index.js +5 -0
  307. package/dist/src/tokens/index.d.ts +2 -0
  308. package/dist/src/tokens/index.js +2 -0
  309. package/dist/src/utils/generateTokens.d.ts +4 -0
  310. package/dist/src/utils/generateTokens.js +107 -0
  311. package/dist/src/utils/getMUIComponents.d.ts +7 -0
  312. package/dist/src/utils/getMUIComponents.js +4 -0
  313. package/dist/src/utils/getMUIPalette.d.ts +101 -0
  314. package/dist/src/utils/getMUIPalette.js +263 -0
  315. package/dist/src/utils/getMuiLocaleByCode.d.ts +11 -0
  316. package/dist/src/utils/getMuiLocaleByCode.js +13 -0
  317. package/dist/src/utils/getStateLayerColor.d.ts +25 -0
  318. package/dist/src/utils/getStateLayerColor.js +36 -0
  319. package/dist/src/utils/index.d.ts +6 -0
  320. package/dist/src/utils/index.js +7 -0
  321. package/dist/src/utils/patchMUIShadows.d.ts +2 -0
  322. package/dist/src/utils/patchMUIShadows.js +5 -0
  323. package/package.json +22 -18
@@ -0,0 +1,184 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ChartBarIcon } from '@phosphor-icons/react';
3
+ export const mockColumns = [
4
+ {
5
+ field: 'pid',
6
+ minWidth: 170,
7
+ renderHeader: () => 'PID',
8
+ renderCell: ({ value }) => (_jsxs(_Fragment, { children: [_jsx(ChartBarIcon, { size: 16 }), value] })),
9
+ },
10
+ {
11
+ field: 'parendProcessId',
12
+ minWidth: 170,
13
+ renderHeader: () => 'Parent process ID',
14
+ renderCell: ({ value }) => value,
15
+ },
16
+ {
17
+ field: 'user',
18
+ minWidth: 170,
19
+ renderHeader: () => 'User',
20
+ renderCell: ({ value }) => (_jsxs(_Fragment, { children: [_jsx(ChartBarIcon, { size: 16 }), value] })),
21
+ },
22
+ {
23
+ field: 'program',
24
+ minWidth: 170,
25
+ renderHeader: () => 'Program',
26
+ renderCell: ({ value }) => (_jsxs(_Fragment, { children: [_jsx(ChartBarIcon, { size: 16 }), value] })),
27
+ },
28
+ {
29
+ field: 'cpu',
30
+ minWidth: 170,
31
+ renderHeader: () => 'CPU',
32
+ renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, '%'] })),
33
+ },
34
+ {
35
+ field: 'mem',
36
+ minWidth: 170,
37
+ renderHeader: () => 'MEM',
38
+ renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, " ", 'MB'] })),
39
+ },
40
+ {
41
+ field: 'bytesRead',
42
+ minWidth: 170,
43
+ renderHeader: () => 'Bytes Read',
44
+ renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, '%'] })),
45
+ },
46
+ {
47
+ field: 'bytesWrite',
48
+ minWidth: 170,
49
+ renderHeader: () => 'Bytes Write',
50
+ renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, '%'] })),
51
+ },
52
+ {
53
+ field: 'ioRead',
54
+ minWidth: 170,
55
+ renderHeader: () => 'I/O read',
56
+ renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, '/s'] })),
57
+ },
58
+ {
59
+ field: 'ioWrite',
60
+ minWidth: 170,
61
+ renderHeader: () => 'I/O write',
62
+ renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, '/s'] })),
63
+ },
64
+ {
65
+ field: 'openFiles',
66
+ minWidth: 170,
67
+ renderHeader: () => 'Open file',
68
+ renderCell: ({ value }) => value,
69
+ },
70
+ ];
71
+ export const mockRows = [
72
+ {
73
+ id: 2380700,
74
+ pid: 2380700,
75
+ parendProcessId: 2380694,
76
+ user: 'root',
77
+ program: 'dd',
78
+ cpu: 88,
79
+ mem: 824,
80
+ bytesRead: 0.5,
81
+ bytesWrite: 91,
82
+ ioRead: 0,
83
+ ioWrite: 37,
84
+ openFiles: `~`,
85
+ },
86
+ {
87
+ id: 24238,
88
+ pid: 24238,
89
+ parendProcessId: 1,
90
+ user: 'agent360',
91
+ program: 'agent360',
92
+ cpu: 0.5,
93
+ mem: 24.4,
94
+ bytesRead: 0.5,
95
+ bytesWrite: 0.5,
96
+ ioRead: 0,
97
+ ioWrite: 37,
98
+ openFiles: `~`,
99
+ },
100
+ {
101
+ id: 1,
102
+ pid: 1,
103
+ parendProcessId: 0,
104
+ user: 'root',
105
+ program: 'systemd',
106
+ cpu: 0.4,
107
+ mem: 9,
108
+ bytesRead: 0.3,
109
+ bytesWrite: 0.3,
110
+ ioRead: 0.3,
111
+ ioWrite: 37,
112
+ openFiles: `~`,
113
+ },
114
+ {
115
+ id: 717,
116
+ pid: 717,
117
+ parendProcessId: 1,
118
+ user: 'root',
119
+ program: 'fail2ban-server',
120
+ cpu: 0.4,
121
+ mem: 22,
122
+ bytesRead: 0.2,
123
+ bytesWrite: 0.2,
124
+ ioRead: 0,
125
+ ioWrite: 37,
126
+ openFiles: `~`,
127
+ },
128
+ {
129
+ id: 887,
130
+ pid: 887,
131
+ parendProcessId: 1,
132
+ user: 'mysql',
133
+ program: 'mariadb',
134
+ cpu: 0.1,
135
+ mem: 51.3,
136
+ bytesRead: 0,
137
+ bytesWrite: 0,
138
+ ioRead: 0,
139
+ ioWrite: 37,
140
+ openFiles: `~`,
141
+ },
142
+ {
143
+ id: 1471590,
144
+ pid: 1471590,
145
+ parendProcessId: 429674,
146
+ user: 'psaadm',
147
+ program: 'plesk-task-manager',
148
+ cpu: 0.1,
149
+ mem: 17.4,
150
+ bytesRead: 0,
151
+ bytesWrite: 0,
152
+ ioRead: 0,
153
+ ioWrite: 37,
154
+ openFiles: `~`,
155
+ },
156
+ {
157
+ id: 2300508,
158
+ pid: 2300508,
159
+ parendProcessId: 2380700,
160
+ user: 'postfix',
161
+ program: 'smtpd',
162
+ cpu: 0.1,
163
+ mem: 15.1,
164
+ bytesRead: 0,
165
+ bytesWrite: 0,
166
+ ioRead: 0,
167
+ ioWrite: 37,
168
+ openFiles: `~`,
169
+ },
170
+ {
171
+ id: 2380848,
172
+ pid: 2380848,
173
+ parendProcessId: 2135230,
174
+ user: 'root',
175
+ program: 'fluent-bit',
176
+ cpu: 0.1,
177
+ mem: 14.6,
178
+ bytesRead: 0,
179
+ bytesWrite: 0,
180
+ ioRead: 0,
181
+ ioWrite: 37,
182
+ openFiles: `~`,
183
+ },
184
+ ];
@@ -0,0 +1,3 @@
1
+ import './Divider.theme';
2
+ export declare const Divider: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").DividerTypeMap<{}, "hr">>;
3
+ export type DividerComponentType = typeof Divider;
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { Divider as MuiDivider } from '@mui/material';
3
+ import './Divider.theme';
4
+ export const Divider = MuiDivider;
@@ -0,0 +1,11 @@
1
+ import { Theme, ComponentsOverrides, ComponentsVariants } from '@mui/material';
2
+ declare module '@mui/material/Divider' { }
3
+ export interface M3Divider {
4
+ MuiDivider: {
5
+ styleOverrides?: ComponentsOverrides<Theme>['MuiDivider'];
6
+ variants?: ComponentsVariants['MuiDivider'];
7
+ };
8
+ }
9
+ export declare const getDivider: (theme: Theme) => M3Divider;
10
+ declare const _default: {};
11
+ export default _default;
@@ -0,0 +1,19 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export const getDivider = (theme) => ({
3
+ MuiDivider: {
4
+ styleOverrides: {
5
+ root: {
6
+ borderColor: theme.palette.outlineVariant.main,
7
+ },
8
+ },
9
+ variants: [
10
+ {
11
+ props: { variant: 'inset' },
12
+ style: {
13
+ marginLeft: '5%',
14
+ },
15
+ },
16
+ ],
17
+ },
18
+ });
19
+ export default {};
@@ -0,0 +1 @@
1
+ export * from './Divider.theme';
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './Divider.theme';
@@ -0,0 +1,3 @@
1
+ import './List.theme';
2
+ export declare const List: import("@mui/material").ExtendList<import("@mui/material").ListTypeMap<{}, "ul">>;
3
+ export type ListComponentType = typeof List;
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { List as MuiList } from '@mui/material';
3
+ import './List.theme';
4
+ export const List = MuiList;
@@ -0,0 +1,11 @@
1
+ import { Theme, ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material';
2
+ interface M3ListItem {
3
+ MuiListItem: {
4
+ defaultProps?: ComponentsProps['MuiList'];
5
+ styleOverrides?: ComponentsOverrides<Theme>['MuiList'];
6
+ variants?: ComponentsVariants['MuiList'];
7
+ };
8
+ }
9
+ export declare const getList: (_: Theme) => M3ListItem;
10
+ declare const _default: {};
11
+ export default _default;
@@ -0,0 +1,5 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export const getList = (_) => ({
3
+ MuiListItem: {},
4
+ });
5
+ export default {};
@@ -0,0 +1 @@
1
+ export * from './List.theme';
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './List.theme';
@@ -0,0 +1,3 @@
1
+ import './ListItem.theme';
2
+ export declare const ListItem: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").ListItemTypeMap<{}, "li">>;
3
+ export type ListItemComponentType = typeof ListItem;
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { ListItem as MuiListItem } from '@mui/material';
3
+ import './ListItem.theme';
4
+ export const ListItem = MuiListItem;
@@ -0,0 +1,11 @@
1
+ import { Theme, ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material';
2
+ interface M3ListItem {
3
+ MuiListItem: {
4
+ defaultProps?: ComponentsProps['MuiListItem'];
5
+ styleOverrides?: ComponentsOverrides<Theme>['MuiListItem'];
6
+ variants?: ComponentsVariants['MuiListItem'];
7
+ };
8
+ }
9
+ export declare const getListItem: (_: Theme) => M3ListItem;
10
+ declare const _default: {};
11
+ export default _default;
@@ -0,0 +1,13 @@
1
+ export const getListItem = (_) => ({
2
+ MuiListItem: {
3
+ styleOverrides: {
4
+ root: {
5
+ paddingTop: 1,
6
+ paddingBottom: 1,
7
+ paddingLeft: 0,
8
+ paddingRight: 0,
9
+ },
10
+ },
11
+ },
12
+ });
13
+ export default {};
@@ -0,0 +1 @@
1
+ export * from './ListItem.theme';
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './ListItem.theme';
@@ -0,0 +1,4 @@
1
+ import { ListItemAvatar as MuiListItemAvatar } from '@mui/material';
2
+ import './ListItemAvatar.theme';
3
+ export declare const ListItemAvatar: typeof MuiListItemAvatar;
4
+ export type ListItemAvatarComponentType = typeof ListItemAvatar;
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { ListItemAvatar as MuiListItemAvatar } from '@mui/material';
3
+ import './ListItemAvatar.theme';
4
+ export const ListItemAvatar = MuiListItemAvatar;
@@ -0,0 +1,11 @@
1
+ import { Theme, ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material';
2
+ interface M3ListItemAvatar {
3
+ MuiListItemAvatar: {
4
+ defaultProps?: ComponentsProps['MuiListItemAvatar'];
5
+ styleOverrides?: ComponentsOverrides<Theme>['MuiListItemAvatar'];
6
+ variants?: ComponentsVariants['MuiListItemAvatar'];
7
+ };
8
+ }
9
+ export declare const getListItemAvatar: (_theme: Theme) => M3ListItemAvatar;
10
+ declare const _default: {};
11
+ export default _default;
@@ -0,0 +1,11 @@
1
+ export const getListItemAvatar = (_theme) => ({
2
+ MuiListItemAvatar: {
3
+ styleOverrides: {
4
+ root: {
5
+ color: 'inherit',
6
+ minWidth: 36,
7
+ },
8
+ },
9
+ },
10
+ });
11
+ export default {};
@@ -0,0 +1 @@
1
+ export * from './ListItemAvatar.theme';
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './ListItemAvatar.theme';
@@ -0,0 +1,3 @@
1
+ import './ListItemButton.theme';
2
+ export declare const ListItemButton: import("@mui/material").ExtendButtonBase<import("@mui/material").ListItemButtonTypeMap<{}, "div">>;
3
+ export type ListItemButtonComponentType = typeof ListItemButton;
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { ListItemButton as MuiListItemButton } from '@mui/material';
3
+ import './ListItemButton.theme';
4
+ export const ListItemButton = MuiListItemButton;
@@ -0,0 +1,16 @@
1
+ import { Theme, ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material';
2
+ declare module '@mui/material/ListItemButton' {
3
+ interface ListItemButtonOwnProps {
4
+ variant?: 'list' | 'nav';
5
+ }
6
+ }
7
+ interface M3ListItemButton {
8
+ MuiListItemButton: {
9
+ defaultProps?: ComponentsProps['MuiListItemButton'];
10
+ styleOverrides?: ComponentsOverrides<Theme>['MuiListItemButton'];
11
+ variants?: ComponentsVariants['MuiListItemButton'];
12
+ };
13
+ }
14
+ export declare const getListItemButton: (theme: Theme) => M3ListItemButton;
15
+ declare const _default: {};
16
+ export default _default;
@@ -0,0 +1,68 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { alpha, } from '@mui/material';
3
+ export const getListItemButton = (theme) => {
4
+ const { palette } = theme;
5
+ return {
6
+ MuiListItemButton: {
7
+ styleOverrides: {
8
+ root: {
9
+ fontSize: '0.875rem',
10
+ fontWeight: 500,
11
+ lineHeight: '1.25rem',
12
+ letterSpacing: '0.006rem',
13
+ '&:hover': {
14
+ backgroundColor: alpha(palette.onSurfaceVariant.main, 0.04),
15
+ },
16
+ },
17
+ },
18
+ variants: [
19
+ {
20
+ props: { variant: 'list' },
21
+ style: {
22
+ '&:hover': {
23
+ backgroundColor: alpha(palette.onSurfaceVariant.main, 0.04),
24
+ },
25
+ '&.Mui-selected': {
26
+ backgroundColor: alpha(palette.onSurfaceVariant.main, 0.04),
27
+ '&:hover': {
28
+ backgroundColor: alpha(palette.onSurfaceVariant.main, 0.08),
29
+ },
30
+ },
31
+ },
32
+ },
33
+ {
34
+ props: { variant: 'nav' },
35
+ style: {
36
+ borderRadius: 12,
37
+ color: palette.onSurfaceVariant.main,
38
+ paddingTop: '13px',
39
+ paddingBottom: '13px',
40
+ paddingLeft: '16px',
41
+ '& > .MuiListItemText-root > .MuiTypography-root': {
42
+ fontWeight: 500,
43
+ fontSize: '0.875rem',
44
+ lineHeight: '1.25rem',
45
+ letterSpacing: '0.006rem',
46
+ },
47
+ '&:hover': {},
48
+ '&:active': {
49
+ color: palette.primary,
50
+ },
51
+ '&.Mui-selected': {
52
+ color: palette.primary.main,
53
+ background: 'transparent',
54
+ '& > .MuiListItemText-root > .MuiTypography-root': {},
55
+ '&:hover': {
56
+ backgroundColor: alpha(palette.onSurfaceVariant.main, 0.04),
57
+ },
58
+ '&:active': {
59
+ color: palette.primary.main,
60
+ },
61
+ },
62
+ },
63
+ },
64
+ ],
65
+ },
66
+ };
67
+ };
68
+ export default {};
@@ -0,0 +1 @@
1
+ export * from './ListItemButton.theme';
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './ListItemButton.theme';
@@ -0,0 +1,4 @@
1
+ import { ListItemIcon as MuiListItemIcon } from '@mui/material';
2
+ import './ListItemIcon.theme';
3
+ export declare const ListItemIcon: typeof MuiListItemIcon;
4
+ export type ListItemIconComponentType = typeof ListItemIcon;
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { ListItemIcon as MuiListItemIcon } from '@mui/material';
3
+ import './ListItemIcon.theme';
4
+ export const ListItemIcon = MuiListItemIcon;
@@ -0,0 +1,11 @@
1
+ import { Theme, ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material';
2
+ interface M3ListItemIcon {
3
+ MuiListItemIcon: {
4
+ defaultProps?: ComponentsProps['MuiListItemIcon'];
5
+ styleOverrides?: ComponentsOverrides<Theme>['MuiListItemIcon'];
6
+ variants?: ComponentsVariants['MuiListItemIcon'];
7
+ };
8
+ }
9
+ export declare const getListItemIcon: (_theme: Theme) => M3ListItemIcon;
10
+ declare const _default: {};
11
+ export default _default;
@@ -0,0 +1,14 @@
1
+ export const getListItemIcon = (_theme) => ({
2
+ MuiListItemIcon: {
3
+ styleOverrides: {
4
+ root: {
5
+ color: 'inherit',
6
+ minWidth: 36,
7
+ '&.Mui-selected': {
8
+ fontWeight: 'bold',
9
+ },
10
+ },
11
+ },
12
+ },
13
+ });
14
+ export default {};
@@ -0,0 +1 @@
1
+ export * from './ListItemIcon.theme';
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './ListItemIcon.theme';
@@ -0,0 +1,3 @@
1
+ import './ListSubheader.theme';
2
+ export declare const ListSubheader: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").ListSubheaderTypeMap<{}, "li">>;
3
+ export type ListSubheaderComponentType = typeof ListSubheader;
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { ListSubheader as MuiListSubheader } from '@mui/material';
3
+ import './ListSubheader.theme';
4
+ export const ListSubheader = MuiListSubheader;
@@ -0,0 +1,11 @@
1
+ import { Theme, ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material';
2
+ interface M3ListSubheader {
3
+ MuiListSubheader: {
4
+ defaultProps?: ComponentsProps['MuiListSubheader'];
5
+ styleOverrides?: ComponentsOverrides<Theme>['MuiListSubheader'];
6
+ variants?: ComponentsVariants['MuiListSubheader'];
7
+ };
8
+ }
9
+ export declare const getListSubheader: (theme: Theme) => M3ListSubheader;
10
+ declare const _default: {};
11
+ export default _default;
@@ -0,0 +1,15 @@
1
+ export const getListSubheader = (theme) => {
2
+ const { palette } = theme;
3
+ return {
4
+ MuiListSubheader: {
5
+ styleOverrides: {
6
+ root: {
7
+ lineHeight: '2.5rem',
8
+ backgroundColor: palette.surfaceContainerLowest.main,
9
+ paddingLeft: 0,
10
+ },
11
+ },
12
+ },
13
+ };
14
+ };
15
+ export default {};
@@ -0,0 +1 @@
1
+ export * from './ListSubheader.theme';
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './ListSubheader.theme';
@@ -0,0 +1,4 @@
1
+ import { Table as MuiTable } from '@mui/material';
2
+ import './Table.theme';
3
+ export type TableComponentType = typeof MuiTable;
4
+ export declare const Table: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").TableTypeMap<{}, "table">>;
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { Table as MuiTable } from '@mui/material';
3
+ import './Table.theme';
4
+ export const Table = MuiTable;
@@ -0,0 +1,25 @@
1
+ import { Theme, ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material';
2
+ interface M3Table {
3
+ MuiTable: {
4
+ defaultProps?: ComponentsProps['MuiTable'];
5
+ styleOverrides?: ComponentsOverrides<Theme>['MuiTable'];
6
+ variants?: ComponentsVariants['MuiTable'];
7
+ };
8
+ MuiTableCell: {
9
+ defaultProps?: ComponentsProps['MuiTableCell'];
10
+ styleOverrides?: ComponentsOverrides<Theme>['MuiTableCell'];
11
+ variants?: ComponentsVariants['MuiTableCell'];
12
+ };
13
+ MuiTableRow: {
14
+ defaultProps?: ComponentsProps['MuiTableRow'];
15
+ styleOverrides?: ComponentsOverrides<Theme>['MuiTableRow'];
16
+ variants?: ComponentsVariants['MuiTableRow'];
17
+ };
18
+ MuiTableHead: {
19
+ defaultProps?: ComponentsProps['MuiTableHead'];
20
+ styleOverrides?: ComponentsOverrides<Theme>['MuiTableHead'];
21
+ variants?: ComponentsVariants['MuiTableHead'];
22
+ };
23
+ }
24
+ export declare const getTable: (theme: Theme) => M3Table;
25
+ export {};
@@ -0,0 +1,41 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { tableRowClasses, } from '@mui/material';
3
+ import { getStateLayerColor, StateLayer } from '../../../utils/getStateLayerColor';
4
+ export const getTable = (theme) => {
5
+ const { palette } = theme;
6
+ return {
7
+ MuiTable: {
8
+ styleOverrides: {
9
+ root: {
10
+ '.MuiTableHead-root .MuiTableCell-root': {
11
+ color: palette.supportive.main,
12
+ fontWeight: 400,
13
+ },
14
+ },
15
+ },
16
+ },
17
+ MuiTableCell: {
18
+ styleOverrides: {
19
+ root: {
20
+ borderColor: palette.outlineVariant.main,
21
+ },
22
+ },
23
+ },
24
+ MuiTableRow: {
25
+ styleOverrides: {
26
+ root: {
27
+ [`&.${tableRowClasses.selected}`]: {
28
+ backgroundColor: getStateLayerColor(StateLayer.Active, palette.secondary.main),
29
+ },
30
+ },
31
+ },
32
+ },
33
+ MuiTableHead: {
34
+ styleOverrides: {
35
+ root: {
36
+ borderColor: palette.outlineVariant.main,
37
+ },
38
+ },
39
+ },
40
+ };
41
+ };
@@ -0,0 +1 @@
1
+ export * from './Table.theme';