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