@ceed/cds 0.0.187-treeshaking.2 → 0.0.187

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 (335) hide show
  1. package/dist/components/Accordions/index.d.ts +2 -2
  2. package/dist/components/Autocomplete/index.d.ts +2 -2
  3. package/dist/components/Avatar/index.d.ts +2 -2
  4. package/dist/components/Box/index.d.ts +2 -2
  5. package/dist/components/Breadcrumbs/index.d.ts +2 -2
  6. package/dist/components/Button/index.d.ts +2 -2
  7. package/dist/components/Calendar/Calendar.d.ts +1 -1
  8. package/dist/components/Calendar/hooks/use-calendar-props.d.ts +3 -3
  9. package/dist/components/Calendar/hooks/use-calendar.d.ts +1 -1
  10. package/dist/components/Calendar/index.d.ts +2 -2
  11. package/dist/components/Card/index.d.ts +2 -2
  12. package/dist/components/Checkbox/index.d.ts +2 -2
  13. package/dist/components/Chip/index.d.ts +2 -2
  14. package/dist/components/Container/index.d.ts +2 -2
  15. package/dist/components/CurrencyInput/index.d.ts +2 -2
  16. package/dist/components/DataTable/DataTable.d.ts +1 -1
  17. package/dist/components/DataTable/index.d.ts +2 -2
  18. package/dist/components/DataTable/types.d.ts +7 -7
  19. package/dist/components/DatePicker/DatePicker.d.ts +1 -1
  20. package/dist/components/DatePicker/index.d.ts +2 -2
  21. package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -1
  22. package/dist/components/DateRangePicker/index.d.ts +2 -2
  23. package/dist/components/DialogActions/index.d.ts +2 -2
  24. package/dist/components/DialogContent/index.d.ts +2 -2
  25. package/dist/components/DialogFrame/DialogFrame.d.ts +1 -1
  26. package/dist/components/DialogFrame/index.d.ts +2 -2
  27. package/dist/components/DialogTitle/index.d.ts +2 -2
  28. package/dist/components/Divider/index.d.ts +2 -2
  29. package/dist/components/Drawer/index.d.ts +2 -2
  30. package/dist/components/Dropdown/index.d.ts +2 -2
  31. package/dist/components/FormControl/index.d.ts +2 -2
  32. package/dist/components/FormHelperText/index.d.ts +2 -2
  33. package/dist/components/FormLabel/index.d.ts +2 -2
  34. package/dist/components/Grid/index.d.ts +2 -2
  35. package/dist/components/IconButton/index.d.ts +2 -2
  36. package/dist/components/Input/Input.d.ts +1 -1
  37. package/dist/components/Input/index.d.ts +2 -2
  38. package/dist/components/InsetDrawer/index.d.ts +2 -2
  39. package/dist/components/Markdown/Markdown.d.ts +22 -6
  40. package/dist/components/Markdown/index.d.ts +2 -2
  41. package/dist/components/Menu/index.d.ts +2 -2
  42. package/dist/components/MenuButton/MenuButton.d.ts +1 -1
  43. package/dist/components/Modal/Modal.d.ts +4 -4
  44. package/dist/components/Modal/index.d.ts +2 -2
  45. package/dist/components/MonthPicker/MonthPicker.d.ts +1 -1
  46. package/dist/components/MonthPicker/index.d.ts +2 -2
  47. package/dist/components/MonthRangePicker/MonthRangePicker.d.ts +1 -1
  48. package/dist/components/MonthRangePicker/index.d.ts +2 -2
  49. package/dist/components/NavigationGroup/index.d.ts +2 -2
  50. package/dist/components/NavigationItem/index.d.ts +2 -2
  51. package/dist/components/Navigator/index.d.ts +2 -2
  52. package/dist/components/Pagination/Pagination.d.ts +2 -2
  53. package/dist/components/Pagination/index.d.ts +2 -2
  54. package/dist/components/PercentageInput/index.d.ts +2 -2
  55. package/dist/components/Radio/index.d.ts +2 -2
  56. package/dist/components/RadioList/RadioList.d.ts +1 -1
  57. package/dist/components/RadioList/index.d.ts +2 -2
  58. package/dist/components/Select/Select.d.ts +1 -1
  59. package/dist/components/Select/index.d.ts +2 -2
  60. package/dist/components/Sheet/index.d.ts +2 -2
  61. package/dist/components/Stack/index.d.ts +2 -2
  62. package/dist/components/Stepper/index.d.ts +2 -2
  63. package/dist/components/Switch/index.d.ts +2 -2
  64. package/dist/components/Table/index.d.ts +2 -2
  65. package/dist/components/Tabs/index.d.ts +2 -2
  66. package/dist/components/Textarea/Textarea.d.ts +17 -3
  67. package/dist/components/Textarea/index.d.ts +2 -2
  68. package/dist/components/ThemeProvider/ThemeProvider.d.ts +7 -7
  69. package/dist/components/ThemeProvider/index.d.ts +2 -2
  70. package/dist/components/Tooltip/index.d.ts +2 -2
  71. package/dist/components/Typography/index.d.ts +2 -2
  72. package/dist/components/Uploader/Uploader.d.ts +3 -4
  73. package/dist/components/Uploader/index.d.ts +2 -2
  74. package/dist/components/index.d.ts +53 -53
  75. package/dist/index.d.ts +1 -1
  76. package/dist/index.js +2 -53
  77. package/framer/index.js +30 -30
  78. package/package.json +4 -8
  79. package/dist/_virtual/_commonjsHelpers.js +0 -31
  80. package/dist/_virtual/bind-all.js +0 -4
  81. package/dist/_virtual/bind.js +0 -4
  82. package/dist/_virtual/colorManipulator.js +0 -6
  83. package/dist/_virtual/colorManipulator2.js +0 -4
  84. package/dist/_virtual/createStyled.js +0 -8
  85. package/dist/_virtual/createStyled2.js +0 -4
  86. package/dist/_virtual/extends.js +0 -4
  87. package/dist/_virtual/index.js +0 -6
  88. package/dist/_virtual/index10.js +0 -7
  89. package/dist/_virtual/index11.js +0 -7
  90. package/dist/_virtual/index12.js +0 -7
  91. package/dist/_virtual/index2.js +0 -4
  92. package/dist/_virtual/index3.js +0 -8
  93. package/dist/_virtual/index4.js +0 -4
  94. package/dist/_virtual/index5.js +0 -7
  95. package/dist/_virtual/index6.js +0 -7
  96. package/dist/_virtual/index7.js +0 -7
  97. package/dist/_virtual/index8.js +0 -7
  98. package/dist/_virtual/index9.js +0 -7
  99. package/dist/_virtual/interopRequireDefault.js +0 -4
  100. package/dist/_virtual/objectWithoutPropertiesLoose.js +0 -4
  101. package/dist/components/Accordions/Accordions.js +0 -44
  102. package/dist/components/Autocomplete/Autocomplete.js +0 -197
  103. package/dist/components/Autocomplete/index.js +0 -6
  104. package/dist/components/Avatar/Avatar.js +0 -43
  105. package/dist/components/Box/Box.js +0 -9
  106. package/dist/components/Box/index.js +0 -6
  107. package/dist/components/Breadcrumbs/Breadcrumbs.js +0 -48
  108. package/dist/components/Button/Button.js +0 -21
  109. package/dist/components/Button/index.js +0 -6
  110. package/dist/components/Calendar/Calendar.js +0 -334
  111. package/dist/components/Calendar/hooks/use-calendar-props.js +0 -75
  112. package/dist/components/Calendar/hooks/use-calendar.js +0 -248
  113. package/dist/components/Calendar/index.js +0 -6
  114. package/dist/components/Calendar/utils/index.js +0 -75
  115. package/dist/components/Card/Card.js +0 -21
  116. package/dist/components/Checkbox/Checkbox.js +0 -20
  117. package/dist/components/Checkbox/index.js +0 -6
  118. package/dist/components/Chip/Chip.js +0 -9
  119. package/dist/components/Chip/index.js +0 -6
  120. package/dist/components/Container/Container.js +0 -50
  121. package/dist/components/CurrencyInput/CurrencyInput.js +0 -92
  122. package/dist/components/CurrencyInput/hooks/use-currency-setting.js +0 -168
  123. package/dist/components/CurrencyInput/index.js +0 -6
  124. package/dist/components/DataTable/DataTable.js +0 -569
  125. package/dist/components/DatePicker/DatePicker.js +0 -211
  126. package/dist/components/DatePicker/index.js +0 -6
  127. package/dist/components/DateRangePicker/DateRangePicker.js +0 -214
  128. package/dist/components/DialogActions/DialogActions.js +0 -15
  129. package/dist/components/DialogActions/index.js +0 -6
  130. package/dist/components/DialogContent/DialogContent.js +0 -12
  131. package/dist/components/DialogContent/index.js +0 -6
  132. package/dist/components/DialogFrame/DialogFrame.js +0 -32
  133. package/dist/components/DialogTitle/DialogTitle.js +0 -12
  134. package/dist/components/DialogTitle/index.js +0 -6
  135. package/dist/components/Divider/Divider.js +0 -20
  136. package/dist/components/Drawer/Drawer.js +0 -41
  137. package/dist/components/Dropdown/Dropdown.js +0 -9
  138. package/dist/components/Dropdown/index.js +0 -6
  139. package/dist/components/FormControl/FormControl.js +0 -16
  140. package/dist/components/FormControl/index.js +0 -6
  141. package/dist/components/FormHelperText/FormHelperText.js +0 -9
  142. package/dist/components/FormHelperText/index.js +0 -6
  143. package/dist/components/FormLabel/FormLabel.js +0 -9
  144. package/dist/components/FormLabel/index.js +0 -6
  145. package/dist/components/IconButton/IconButton.js +0 -21
  146. package/dist/components/IconButton/index.js +0 -6
  147. package/dist/components/Input/Input.js +0 -61
  148. package/dist/components/Input/index.js +0 -6
  149. package/dist/components/InsetDrawer/InsetDrawer.js +0 -31
  150. package/dist/components/Markdown/Markdown.js +0 -37
  151. package/dist/components/Menu/Menu.js +0 -44
  152. package/dist/components/Menu/index.js +0 -7
  153. package/dist/components/MenuButton/MenuButton.js +0 -27
  154. package/dist/components/Modal/Modal.js +0 -44
  155. package/dist/components/MonthPicker/MonthPicker.js +0 -163
  156. package/dist/components/MonthRangePicker/MonthRangePicker.js +0 -173
  157. package/dist/components/NavigationGroup/NavigationGroup.js +0 -43
  158. package/dist/components/NavigationItem/NavigationItem.js +0 -46
  159. package/dist/components/Navigator/Navigator.js +0 -31
  160. package/dist/components/Pagination/Pagination.js +0 -118
  161. package/dist/components/Pagination/index.js +0 -6
  162. package/dist/components/PercentageInput/PercentageInput.js +0 -86
  163. package/dist/components/Radio/Radio.js +0 -12
  164. package/dist/components/RadioList/RadioList.js +0 -19
  165. package/dist/components/Select/Select.js +0 -57
  166. package/dist/components/Select/index.js +0 -7
  167. package/dist/components/Sheet/Sheet.js +0 -9
  168. package/dist/components/Sheet/index.js +0 -6
  169. package/dist/components/Stack/index.js +0 -3
  170. package/dist/components/Stepper/Stepper.js +0 -67
  171. package/dist/components/Switch/Switch.js +0 -47
  172. package/dist/components/Table/Table.js +0 -65
  173. package/dist/components/Tabs/Tabs.js +0 -18
  174. package/dist/components/Textarea/Textarea.js +0 -32
  175. package/dist/components/Textarea/index.js +0 -6
  176. package/dist/components/ThemeProvider/ThemeProvider.js +0 -241
  177. package/dist/components/Tooltip/Tooltip.js +0 -20
  178. package/dist/components/Tooltip/index.js +0 -6
  179. package/dist/components/Typography/Typography.js +0 -20
  180. package/dist/components/Typography/index.js +0 -6
  181. package/dist/components/Uploader/Uploader.js +0 -403
  182. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/adapter/element-adapter-native-data-key.js +0 -9
  183. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/adapter/external-adapter.js +0 -246
  184. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/combine.js +0 -2
  185. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/external/adapter.js +0 -2
  186. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/external/file.js +0 -2
  187. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/prevent-unhandled.js +0 -2
  188. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/honey-pot-fix/get-element-from-point-without-honey-pot.js +0 -20
  189. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/honey-pot-fix/honey-pot-data-attribute.js +0 -6
  190. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/honey-pot-fix/is-honey-pot-element.js +0 -8
  191. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/ledger/dispatch-consumer-event.js +0 -129
  192. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/ledger/lifecycle-manager.js +0 -341
  193. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/ledger/usage-ledger.js +0 -34
  194. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/make-adapter/make-adapter.js +0 -61
  195. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/make-adapter/make-drop-target.js +0 -313
  196. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/make-adapter/make-monitor.js +0 -97
  197. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/combine.js +0 -14
  198. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/external/file.js +0 -24
  199. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/once.js +0 -19
  200. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/prevent-unhandled.js +0 -103
  201. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/add-attribute.js +0 -11
  202. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/android.js +0 -4
  203. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/count-events-for-safari.js +0 -124
  204. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/is-entering-window.js +0 -56
  205. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/is-from-another-window.js +0 -19
  206. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/is-leaving-window.js +0 -56
  207. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/detect-broken-drag.js +0 -50
  208. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/get-input.js +0 -17
  209. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/is-firefox.js +0 -16
  210. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/is-safari.js +0 -19
  211. package/dist/external/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/media-types/text-media-type.js +0 -9
  212. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -8
  213. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -6
  214. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -8
  215. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/defineProperty.js +0 -19
  216. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/iterableToArray.js +0 -6
  217. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -27
  218. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/nonIterableRest.js +0 -6
  219. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -6
  220. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/slicedToArray.js +0 -11
  221. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/toConsumableArray.js +0 -11
  222. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/toPrimitive.js +0 -15
  223. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/toPropertyKey.js +0 -10
  224. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/typeof.js +0 -12
  225. package/dist/external/@atlaskit/pragmatic-drag-and-drop/external/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -13
  226. package/dist/external/@babel/runtime/helpers/esm/extends.js +0 -17
  227. package/dist/external/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
  228. package/dist/external/@babel/runtime/helpers/extends.js +0 -29
  229. package/dist/external/@babel/runtime/helpers/interopRequireDefault.js +0 -20
  230. package/dist/external/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -27
  231. package/dist/external/@emotion/cache/dist/emotion-cache.esm.js +0 -654
  232. package/dist/external/@emotion/memoize/dist/emotion-memoize.esm.js +0 -10
  233. package/dist/external/@emotion/sheet/dist/emotion-sheet.esm.js +0 -155
  234. package/dist/external/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -17
  235. package/dist/external/@mui/icons-material/esm/ArrowUpwardRounded.js +0 -9
  236. package/dist/external/@mui/icons-material/esm/CalendarToday.js +0 -9
  237. package/dist/external/@mui/icons-material/esm/Check.js +0 -9
  238. package/dist/external/@mui/icons-material/esm/ChevronLeft.js +0 -9
  239. package/dist/external/@mui/icons-material/esm/ChevronRight.js +0 -9
  240. package/dist/external/@mui/icons-material/esm/ClearRounded.js +0 -9
  241. package/dist/external/@mui/icons-material/esm/Close.js +0 -9
  242. package/dist/external/@mui/icons-material/esm/CloudUploadRounded.js +0 -9
  243. package/dist/external/@mui/icons-material/esm/ExpandMore.js +0 -9
  244. package/dist/external/@mui/icons-material/esm/Info.js +0 -9
  245. package/dist/external/@mui/icons-material/esm/UploadFileRounded.js +0 -9
  246. package/dist/external/@mui/material/SvgIcon/SvgIcon.js +0 -187
  247. package/dist/external/@mui/material/SvgIcon/svgIconClasses.js +0 -10
  248. package/dist/external/@mui/material/colors/blue.js +0 -19
  249. package/dist/external/@mui/material/colors/common.js +0 -7
  250. package/dist/external/@mui/material/colors/green.js +0 -19
  251. package/dist/external/@mui/material/colors/grey.js +0 -19
  252. package/dist/external/@mui/material/colors/lightBlue.js +0 -19
  253. package/dist/external/@mui/material/colors/orange.js +0 -19
  254. package/dist/external/@mui/material/colors/purple.js +0 -19
  255. package/dist/external/@mui/material/colors/red.js +0 -19
  256. package/dist/external/@mui/material/styles/createMixins.js +0 -20
  257. package/dist/external/@mui/material/styles/createPalette.js +0 -309
  258. package/dist/external/@mui/material/styles/createTheme.js +0 -83
  259. package/dist/external/@mui/material/styles/createTransitions.js +0 -92
  260. package/dist/external/@mui/material/styles/createTypography.js +0 -94
  261. package/dist/external/@mui/material/styles/defaultTheme.js +0 -6
  262. package/dist/external/@mui/material/styles/identifier.js +0 -4
  263. package/dist/external/@mui/material/styles/rootShouldForwardProp.js +0 -6
  264. package/dist/external/@mui/material/styles/shadows.js +0 -12
  265. package/dist/external/@mui/material/styles/slotShouldForwardProp.js +0 -7
  266. package/dist/external/@mui/material/styles/styled.js +0 -13
  267. package/dist/external/@mui/material/styles/useThemeProps.js +0 -18
  268. package/dist/external/@mui/material/styles/zIndex.js +0 -15
  269. package/dist/external/@mui/material/utils/capitalize.js +0 -6
  270. package/dist/external/@mui/material/utils/createSvgIcon.js +0 -25
  271. package/dist/external/@mui/styled-engine/GlobalStyles/GlobalStyles.js +0 -25
  272. package/dist/external/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +0 -38
  273. package/dist/external/@mui/styled-engine/index.js +0 -39
  274. package/dist/external/@mui/system/colorManipulator.js +0 -386
  275. package/dist/external/@mui/system/createStyled.js +0 -271
  276. package/dist/external/@mui/system/esm/borders.js +0 -52
  277. package/dist/external/@mui/system/esm/breakpoints.js +0 -67
  278. package/dist/external/@mui/system/esm/compose.js +0 -27
  279. package/dist/external/@mui/system/esm/createTheme/applyStyles.js +0 -77
  280. package/dist/external/@mui/system/esm/createTheme/createBreakpoints.js +0 -83
  281. package/dist/external/@mui/system/esm/createTheme/createSpacing.js +0 -35
  282. package/dist/external/@mui/system/esm/createTheme/createTheme.js +0 -46
  283. package/dist/external/@mui/system/esm/createTheme/index.js +0 -4
  284. package/dist/external/@mui/system/esm/createTheme/shape.js +0 -6
  285. package/dist/external/@mui/system/esm/cssGrid.js +0 -87
  286. package/dist/external/@mui/system/esm/memoize.js +0 -12
  287. package/dist/external/@mui/system/esm/merge.js +0 -13
  288. package/dist/external/@mui/system/esm/palette.js +0 -29
  289. package/dist/external/@mui/system/esm/responsivePropType.js +0 -6
  290. package/dist/external/@mui/system/esm/sizing.js +0 -68
  291. package/dist/external/@mui/system/esm/spacing.js +0 -145
  292. package/dist/external/@mui/system/esm/style.js +0 -78
  293. package/dist/external/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +0 -294
  294. package/dist/external/@mui/system/esm/styleFunctionSx/extendSxProp.js +0 -52
  295. package/dist/external/@mui/system/esm/styleFunctionSx/index.js +0 -4
  296. package/dist/external/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +0 -130
  297. package/dist/external/@mui/system/esm/useTheme.js +0 -10
  298. package/dist/external/@mui/system/esm/useThemeProps/getThemeProps.js +0 -16
  299. package/dist/external/@mui/system/esm/useThemeProps/useThemeProps.js +0 -23
  300. package/dist/external/@mui/system/esm/useThemeWithoutDefault.js +0 -13
  301. package/dist/external/@mui/utils/ClassNameGenerator/ClassNameGenerator.js +0 -19
  302. package/dist/external/@mui/utils/capitalize/capitalize.js +0 -15
  303. package/dist/external/@mui/utils/capitalize/index.js +0 -2
  304. package/dist/external/@mui/utils/clamp/clamp.js +0 -6
  305. package/dist/external/@mui/utils/clamp/index.js +0 -2
  306. package/dist/external/@mui/utils/composeClasses/composeClasses.js +0 -24
  307. package/dist/external/@mui/utils/deepmerge/deepmerge.js +0 -45
  308. package/dist/external/@mui/utils/deepmerge/index.js +0 -2
  309. package/dist/external/@mui/utils/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -22
  310. package/dist/external/@mui/utils/formatMuiErrorMessage/index.js +0 -2
  311. package/dist/external/@mui/utils/generateUtilityClass/generateUtilityClass.js +0 -23
  312. package/dist/external/@mui/utils/generateUtilityClasses/generateUtilityClasses.js +0 -12
  313. package/dist/external/@mui/utils/getDisplayName/getDisplayName.js +0 -50
  314. package/dist/external/@mui/utils/getDisplayName/index.js +0 -2
  315. package/dist/external/@mui/utils/resolveProps/resolveProps.js +0 -38
  316. package/dist/external/bind-event-listener/dist/bind-all.js +0 -55
  317. package/dist/external/bind-event-listener/dist/bind.js +0 -22
  318. package/dist/external/bind-event-listener/dist/index.js +0 -22
  319. package/dist/external/clsx/dist/clsx.js +0 -4
  320. package/dist/external/object-assign/index.js +0 -100
  321. package/dist/external/prop-types/checkPropTypes.js +0 -116
  322. package/dist/external/prop-types/factoryWithThrowingShims.js +0 -75
  323. package/dist/external/prop-types/factoryWithTypeCheckers.js +0 -626
  324. package/dist/external/prop-types/index.js +0 -34
  325. package/dist/external/prop-types/lib/ReactPropTypesSecret.js +0 -22
  326. package/dist/external/prop-types/lib/has.js +0 -12
  327. package/dist/external/raf-schd/dist/raf-schd.esm.js +0 -35
  328. package/dist/external/stylis/src/Enum.js +0 -13
  329. package/dist/external/stylis/src/Middleware.js +0 -33
  330. package/dist/external/stylis/src/Parser.js +0 -194
  331. package/dist/external/stylis/src/Serializer.js +0 -39
  332. package/dist/external/stylis/src/Tokenizer.js +0 -224
  333. package/dist/external/stylis/src/Utility.js +0 -118
  334. package/dist/hooks/use-controlled-state/index.js +0 -24
  335. package/dist/libs/rehype-accent/index.js +0 -40
@@ -1,87 +0,0 @@
1
- 'use client';
2
- import style from './style.js';
3
- import compose from './compose.js';
4
- import { createUnaryUnit, getValue } from './spacing.js';
5
- import { handleBreakpoints } from './breakpoints.js';
6
- import responsivePropType from './responsivePropType.js';
7
-
8
- // false positive
9
- // eslint-disable-next-line react/function-component-definition
10
- const gap = props => {
11
- if (props.gap !== undefined && props.gap !== null) {
12
- const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');
13
- const styleFromPropValue = propValue => ({
14
- gap: getValue(transformer, propValue)
15
- });
16
- return handleBreakpoints(props, props.gap, styleFromPropValue);
17
- }
18
- return null;
19
- };
20
- gap.propTypes = process.env.NODE_ENV !== 'production' ? {
21
- gap: responsivePropType
22
- } : {};
23
- gap.filterProps = ['gap'];
24
-
25
- // false positive
26
- // eslint-disable-next-line react/function-component-definition
27
- const columnGap = props => {
28
- if (props.columnGap !== undefined && props.columnGap !== null) {
29
- const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');
30
- const styleFromPropValue = propValue => ({
31
- columnGap: getValue(transformer, propValue)
32
- });
33
- return handleBreakpoints(props, props.columnGap, styleFromPropValue);
34
- }
35
- return null;
36
- };
37
- columnGap.propTypes = process.env.NODE_ENV !== 'production' ? {
38
- columnGap: responsivePropType
39
- } : {};
40
- columnGap.filterProps = ['columnGap'];
41
-
42
- // false positive
43
- // eslint-disable-next-line react/function-component-definition
44
- const rowGap = props => {
45
- if (props.rowGap !== undefined && props.rowGap !== null) {
46
- const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');
47
- const styleFromPropValue = propValue => ({
48
- rowGap: getValue(transformer, propValue)
49
- });
50
- return handleBreakpoints(props, props.rowGap, styleFromPropValue);
51
- }
52
- return null;
53
- };
54
- rowGap.propTypes = process.env.NODE_ENV !== 'production' ? {
55
- rowGap: responsivePropType
56
- } : {};
57
- rowGap.filterProps = ['rowGap'];
58
- const gridColumn = style({
59
- prop: 'gridColumn'
60
- });
61
- const gridRow = style({
62
- prop: 'gridRow'
63
- });
64
- const gridAutoFlow = style({
65
- prop: 'gridAutoFlow'
66
- });
67
- const gridAutoColumns = style({
68
- prop: 'gridAutoColumns'
69
- });
70
- const gridAutoRows = style({
71
- prop: 'gridAutoRows'
72
- });
73
- const gridTemplateColumns = style({
74
- prop: 'gridTemplateColumns'
75
- });
76
- const gridTemplateRows = style({
77
- prop: 'gridTemplateRows'
78
- });
79
- const gridTemplateAreas = style({
80
- prop: 'gridTemplateAreas'
81
- });
82
- const gridArea = style({
83
- prop: 'gridArea'
84
- });
85
- compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
86
-
87
- export { columnGap, gap, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridRow, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, rowGap };
@@ -1,12 +0,0 @@
1
- 'use client';
2
- function memoize(fn) {
3
- const cache = {};
4
- return arg => {
5
- if (cache[arg] === undefined) {
6
- cache[arg] = fn(arg);
7
- }
8
- return cache[arg];
9
- };
10
- }
11
-
12
- export { memoize as default };
@@ -1,13 +0,0 @@
1
- 'use client';
2
- import deepmerge from '../../utils/deepmerge/deepmerge.js';
3
-
4
- function merge(acc, item) {
5
- if (!item) {
6
- return acc;
7
- }
8
- return deepmerge(acc, item, {
9
- clone: false // No need to clone deep, it's way faster.
10
- });
11
- }
12
-
13
- export { merge as default };
@@ -1,29 +0,0 @@
1
- 'use client';
2
- import style from './style.js';
3
- import compose from './compose.js';
4
-
5
- function paletteTransform(value, userValue) {
6
- if (userValue === 'grey') {
7
- return userValue;
8
- }
9
- return value;
10
- }
11
- const color = style({
12
- prop: 'color',
13
- themeKey: 'palette',
14
- transform: paletteTransform
15
- });
16
- const bgcolor = style({
17
- prop: 'bgcolor',
18
- cssProperty: 'backgroundColor',
19
- themeKey: 'palette',
20
- transform: paletteTransform
21
- });
22
- const backgroundColor = style({
23
- prop: 'backgroundColor',
24
- themeKey: 'palette',
25
- transform: paletteTransform
26
- });
27
- compose(color, bgcolor, backgroundColor);
28
-
29
- export { backgroundColor, bgcolor, color, paletteTransform };
@@ -1,6 +0,0 @@
1
- 'use client';
2
- import PropTypes from '../../../../_virtual/index3.js';
3
-
4
- const responsivePropType = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};
5
-
6
- export { responsivePropType as default };
@@ -1,68 +0,0 @@
1
- 'use client';
2
- import style from './style.js';
3
- import compose from './compose.js';
4
- import { handleBreakpoints, values } from './breakpoints.js';
5
-
6
- function sizingTransform(value) {
7
- return value <= 1 && value !== 0 ? `${value * 100}%` : value;
8
- }
9
- const width = style({
10
- prop: 'width',
11
- transform: sizingTransform
12
- });
13
- const maxWidth = props => {
14
- if (props.maxWidth !== undefined && props.maxWidth !== null) {
15
- const styleFromPropValue = propValue => {
16
- var _props$theme, _props$theme2;
17
- const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? undefined : _props$theme[propValue]) || values[propValue];
18
- if (!breakpoint) {
19
- return {
20
- maxWidth: sizingTransform(propValue)
21
- };
22
- }
23
- if (((_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.breakpoints) == null ? undefined : _props$theme2.unit) !== 'px') {
24
- return {
25
- maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`
26
- };
27
- }
28
- return {
29
- maxWidth: breakpoint
30
- };
31
- };
32
- return handleBreakpoints(props, props.maxWidth, styleFromPropValue);
33
- }
34
- return null;
35
- };
36
- maxWidth.filterProps = ['maxWidth'];
37
- const minWidth = style({
38
- prop: 'minWidth',
39
- transform: sizingTransform
40
- });
41
- const height = style({
42
- prop: 'height',
43
- transform: sizingTransform
44
- });
45
- const maxHeight = style({
46
- prop: 'maxHeight',
47
- transform: sizingTransform
48
- });
49
- const minHeight = style({
50
- prop: 'minHeight',
51
- transform: sizingTransform
52
- });
53
- style({
54
- prop: 'size',
55
- cssProperty: 'width',
56
- transform: sizingTransform
57
- });
58
- style({
59
- prop: 'size',
60
- cssProperty: 'height',
61
- transform: sizingTransform
62
- });
63
- const boxSizing = style({
64
- prop: 'boxSizing'
65
- });
66
- compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
67
-
68
- export { boxSizing, height, maxHeight, maxWidth, minHeight, minWidth, sizingTransform, width };
@@ -1,145 +0,0 @@
1
- 'use client';
2
- import responsivePropType from './responsivePropType.js';
3
- import { handleBreakpoints } from './breakpoints.js';
4
- import { getPath } from './style.js';
5
- import merge from './merge.js';
6
- import memoize from './memoize.js';
7
-
8
- const properties = {
9
- m: 'margin',
10
- p: 'padding'
11
- };
12
- const directions = {
13
- t: 'Top',
14
- r: 'Right',
15
- b: 'Bottom',
16
- l: 'Left',
17
- x: ['Left', 'Right'],
18
- y: ['Top', 'Bottom']
19
- };
20
- const aliases = {
21
- marginX: 'mx',
22
- marginY: 'my',
23
- paddingX: 'px',
24
- paddingY: 'py'
25
- };
26
-
27
- // memoize() impact:
28
- // From 300,000 ops/sec
29
- // To 350,000 ops/sec
30
- const getCssProperties = memoize(prop => {
31
- // It's not a shorthand notation.
32
- if (prop.length > 2) {
33
- if (aliases[prop]) {
34
- prop = aliases[prop];
35
- } else {
36
- return [prop];
37
- }
38
- }
39
- const [a, b] = prop.split('');
40
- const property = properties[a];
41
- const direction = directions[b] || '';
42
- return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];
43
- });
44
- const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];
45
- const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];
46
- const spacingKeys = [...marginKeys, ...paddingKeys];
47
- function createUnaryUnit(theme, themeKey, defaultValue, propName) {
48
- var _getPath;
49
- const themeSpacing = (_getPath = getPath(theme, themeKey, false)) != null ? _getPath : defaultValue;
50
- if (typeof themeSpacing === 'number') {
51
- return abs => {
52
- if (typeof abs === 'string') {
53
- return abs;
54
- }
55
- if (process.env.NODE_ENV !== 'production') {
56
- if (typeof abs !== 'number') {
57
- console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${abs}.`);
58
- }
59
- }
60
- return themeSpacing * abs;
61
- };
62
- }
63
- if (Array.isArray(themeSpacing)) {
64
- return abs => {
65
- if (typeof abs === 'string') {
66
- return abs;
67
- }
68
- if (process.env.NODE_ENV !== 'production') {
69
- if (!Number.isInteger(abs)) {
70
- console.error([`MUI: The \`theme.${themeKey}\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \`theme.${themeKey}\` as a number.`].join('\n'));
71
- } else if (abs > themeSpacing.length - 1) {
72
- console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\n'));
73
- }
74
- }
75
- return themeSpacing[abs];
76
- };
77
- }
78
- if (typeof themeSpacing === 'function') {
79
- return themeSpacing;
80
- }
81
- if (process.env.NODE_ENV !== 'production') {
82
- console.error([`MUI: The \`theme.${themeKey}\` value (${themeSpacing}) is invalid.`, 'It should be a number, an array or a function.'].join('\n'));
83
- }
84
- return () => undefined;
85
- }
86
- function createUnarySpacing(theme) {
87
- return createUnaryUnit(theme, 'spacing', 8, 'spacing');
88
- }
89
- function getValue(transformer, propValue) {
90
- if (typeof propValue === 'string' || propValue == null) {
91
- return propValue;
92
- }
93
- const abs = Math.abs(propValue);
94
- const transformed = transformer(abs);
95
- if (propValue >= 0) {
96
- return transformed;
97
- }
98
- if (typeof transformed === 'number') {
99
- return -transformed;
100
- }
101
- return `-${transformed}`;
102
- }
103
- function getStyleFromPropValue(cssProperties, transformer) {
104
- return propValue => cssProperties.reduce((acc, cssProperty) => {
105
- acc[cssProperty] = getValue(transformer, propValue);
106
- return acc;
107
- }, {});
108
- }
109
- function resolveCssProperty(props, keys, prop, transformer) {
110
- // Using a hash computation over an array iteration could be faster, but with only 28 items,
111
- // it's doesn't worth the bundle size.
112
- if (keys.indexOf(prop) === -1) {
113
- return null;
114
- }
115
- const cssProperties = getCssProperties(prop);
116
- const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
117
- const propValue = props[prop];
118
- return handleBreakpoints(props, propValue, styleFromPropValue);
119
- }
120
- function style(props, keys) {
121
- const transformer = createUnarySpacing(props.theme);
122
- return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});
123
- }
124
- function margin(props) {
125
- return style(props, marginKeys);
126
- }
127
- margin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {
128
- obj[key] = responsivePropType;
129
- return obj;
130
- }, {}) : {};
131
- margin.filterProps = marginKeys;
132
- function padding(props) {
133
- return style(props, paddingKeys);
134
- }
135
- padding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {
136
- obj[key] = responsivePropType;
137
- return obj;
138
- }, {}) : {};
139
- padding.filterProps = paddingKeys;
140
- process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {
141
- obj[key] = responsivePropType;
142
- return obj;
143
- }, {}) : {};
144
-
145
- export { createUnarySpacing, createUnaryUnit, getStyleFromPropValue, getValue, margin, marginKeys, padding, paddingKeys };
@@ -1,78 +0,0 @@
1
- 'use client';
2
- import responsivePropType from './responsivePropType.js';
3
- import { handleBreakpoints } from './breakpoints.js';
4
- import capitalize from '../../utils/capitalize/capitalize.js';
5
-
6
- function getPath(obj, path, checkVars = true) {
7
- if (!path || typeof path !== 'string') {
8
- return null;
9
- }
10
-
11
- // Check if CSS variables are used
12
- if (obj && obj.vars && checkVars) {
13
- const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);
14
- if (val != null) {
15
- return val;
16
- }
17
- }
18
- return path.split('.').reduce((acc, item) => {
19
- if (acc && acc[item] != null) {
20
- return acc[item];
21
- }
22
- return null;
23
- }, obj);
24
- }
25
- function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {
26
- let value;
27
- if (typeof themeMapping === 'function') {
28
- value = themeMapping(propValueFinal);
29
- } else if (Array.isArray(themeMapping)) {
30
- value = themeMapping[propValueFinal] || userValue;
31
- } else {
32
- value = getPath(themeMapping, propValueFinal) || userValue;
33
- }
34
- if (transform) {
35
- value = transform(value, userValue, themeMapping);
36
- }
37
- return value;
38
- }
39
- function style(options) {
40
- const {
41
- prop,
42
- cssProperty = options.prop,
43
- themeKey,
44
- transform
45
- } = options;
46
-
47
- // false positive
48
- // eslint-disable-next-line react/function-component-definition
49
- const fn = props => {
50
- if (props[prop] == null) {
51
- return null;
52
- }
53
- const propValue = props[prop];
54
- const theme = props.theme;
55
- const themeMapping = getPath(theme, themeKey) || {};
56
- const styleFromPropValue = propValueFinal => {
57
- let value = getStyleValue(themeMapping, transform, propValueFinal);
58
- if (propValueFinal === value && typeof propValueFinal === 'string') {
59
- // Haven't found value
60
- value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);
61
- }
62
- if (cssProperty === false) {
63
- return value;
64
- }
65
- return {
66
- [cssProperty]: value
67
- };
68
- };
69
- return handleBreakpoints(props, propValue, styleFromPropValue);
70
- };
71
- fn.propTypes = process.env.NODE_ENV !== 'production' ? {
72
- [prop]: responsivePropType
73
- } : {};
74
- fn.filterProps = [prop];
75
- return fn;
76
- }
77
-
78
- export { style as default, getPath, getStyleValue };