@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,5 +0,0 @@
1
- // pulling this into a separate file so adapter(s) that don't
2
- // need the honey pot can pay as little as possible for it.
3
- var honeyPotDataAttribute = 'data-pdnd-honey-pot';
4
-
5
- export { honeyPotDataAttribute };
@@ -1,7 +0,0 @@
1
- import { honeyPotDataAttribute } from './honey-pot-data-attribute.js';
2
-
3
- function isHoneyPotElement(target) {
4
- return target instanceof Element && target.hasAttribute(honeyPotDataAttribute);
5
- }
6
-
7
- export { isHoneyPotElement };
@@ -1,128 +0,0 @@
1
- import rafSchd from '../../../../../raf-schd/dist/raf-schd.esm.js';
2
-
3
- var scheduleOnDrag = rafSchd(function (fn) {
4
- return fn();
5
- });
6
- var dragStart = function () {
7
- var scheduled = null;
8
- function schedule(fn) {
9
- var frameId = requestAnimationFrame(function () {
10
- scheduled = null;
11
- fn();
12
- });
13
- scheduled = {
14
- frameId: frameId,
15
- fn: fn
16
- };
17
- }
18
- function flush() {
19
- if (scheduled) {
20
- cancelAnimationFrame(scheduled.frameId);
21
- scheduled.fn();
22
- scheduled = null;
23
- }
24
- }
25
- return {
26
- schedule: schedule,
27
- flush: flush
28
- };
29
- }();
30
- function makeDispatch(_ref) {
31
- var source = _ref.source,
32
- initial = _ref.initial,
33
- dispatchEvent = _ref.dispatchEvent;
34
- var previous = {
35
- dropTargets: []
36
- };
37
- function safeDispatch(args) {
38
- dispatchEvent(args);
39
- previous = {
40
- dropTargets: args.payload.location.current.dropTargets
41
- };
42
- }
43
- var dispatch = {
44
- start: function start(_ref2) {
45
- var nativeSetDragImage = _ref2.nativeSetDragImage;
46
- // Ensuring that both `onGenerateDragPreview` and `onDragStart` get the same location.
47
- // We do this so that `previous` is`[]` in `onDragStart` (which is logical)
48
- var location = {
49
- current: initial,
50
- previous: previous,
51
- initial: initial
52
- };
53
- // a `onGenerateDragPreview` does _not_ add another entry for `previous`
54
- // onDragPreview
55
- safeDispatch({
56
- eventName: 'onGenerateDragPreview',
57
- payload: {
58
- source: source,
59
- location: location,
60
- nativeSetDragImage: nativeSetDragImage
61
- }
62
- });
63
- dragStart.schedule(function () {
64
- safeDispatch({
65
- eventName: 'onDragStart',
66
- payload: {
67
- source: source,
68
- location: location
69
- }
70
- });
71
- });
72
- },
73
- dragUpdate: function dragUpdate(_ref3) {
74
- var current = _ref3.current;
75
- dragStart.flush();
76
- scheduleOnDrag.cancel();
77
- safeDispatch({
78
- eventName: 'onDropTargetChange',
79
- payload: {
80
- source: source,
81
- location: {
82
- initial: initial,
83
- previous: previous,
84
- current: current
85
- }
86
- }
87
- });
88
- },
89
- drag: function drag(_ref4) {
90
- var current = _ref4.current;
91
- scheduleOnDrag(function () {
92
- dragStart.flush();
93
- var location = {
94
- initial: initial,
95
- previous: previous,
96
- current: current
97
- };
98
- safeDispatch({
99
- eventName: 'onDrag',
100
- payload: {
101
- source: source,
102
- location: location
103
- }
104
- });
105
- });
106
- },
107
- drop: function drop(_ref5) {
108
- var current = _ref5.current,
109
- updatedSourcePayload = _ref5.updatedSourcePayload;
110
- dragStart.flush();
111
- scheduleOnDrag.cancel();
112
- safeDispatch({
113
- eventName: 'onDrop',
114
- payload: {
115
- source: updatedSourcePayload !== null && updatedSourcePayload !== undefined ? updatedSourcePayload : source,
116
- location: {
117
- current: current,
118
- previous: previous,
119
- initial: initial
120
- }
121
- }
122
- });
123
- }
124
- };
125
- return dispatch;
126
- }
127
-
128
- export { makeDispatch };
@@ -1,340 +0,0 @@
1
- import _toConsumableArray from '../../../external/@babel/runtime/helpers/esm/toConsumableArray.js';
2
- import { d as distExports } from '../../../../../../_virtual/index.js';
3
- import { getElementFromPointWithoutHoneypot } from '../honey-pot-fix/get-element-from-point-without-honey-pot.js';
4
- import { isHoneyPotElement } from '../honey-pot-fix/is-honey-pot-element.js';
5
- import { isLeavingWindow } from '../util/changing-window/is-leaving-window.js';
6
- import { getBindingsForBrokenDrags } from '../util/detect-broken-drag.js';
7
- import { getInput } from '../util/get-input.js';
8
- import { makeDispatch } from './dispatch-consumer-event.js';
9
-
10
- var globalState = {
11
- isActive: false
12
- };
13
- function canStart() {
14
- return !globalState.isActive;
15
- }
16
- function getNativeSetDragImage(event) {
17
- if (event.dataTransfer) {
18
- // need to use `.bind` as `setDragImage` is required
19
- // to be run with `event.dataTransfer` as the "this" context
20
- return event.dataTransfer.setDragImage.bind(event.dataTransfer);
21
- }
22
- return null;
23
- }
24
- function hasHierarchyChanged(_ref) {
25
- var current = _ref.current,
26
- next = _ref.next;
27
- if (current.length !== next.length) {
28
- return true;
29
- }
30
- // not checking stickiness, data or dropEffect,
31
- // just whether the hierarchy has changed
32
- for (var i = 0; i < current.length; i++) {
33
- if (current[i].element !== next[i].element) {
34
- return true;
35
- }
36
- }
37
- return false;
38
- }
39
- function start(_ref2) {
40
- var event = _ref2.event,
41
- dragType = _ref2.dragType,
42
- getDropTargetsOver = _ref2.getDropTargetsOver,
43
- dispatchEvent = _ref2.dispatchEvent;
44
- if (!canStart()) {
45
- return;
46
- }
47
- var initial = getStartLocation({
48
- event: event,
49
- dragType: dragType,
50
- getDropTargetsOver: getDropTargetsOver
51
- });
52
- globalState.isActive = true;
53
- var state = {
54
- current: initial
55
- };
56
-
57
- // Setting initial drop effect for the drag
58
- setDropEffectOnEvent({
59
- event: event,
60
- current: initial.dropTargets
61
- });
62
- var dispatch = makeDispatch({
63
- source: dragType.payload,
64
- dispatchEvent: dispatchEvent,
65
- initial: initial
66
- });
67
- function updateState(next) {
68
- // only looking at whether hierarchy has changed to determine whether something as 'changed'
69
- var hasChanged = hasHierarchyChanged({
70
- current: state.current.dropTargets,
71
- next: next.dropTargets
72
- });
73
-
74
- // Always updating the state to include latest data, dropEffect and stickiness
75
- // Only updating consumers if the hierarchy has changed in some way
76
- // Consumers can get the latest data by using `onDrag`
77
- state.current = next;
78
- if (hasChanged) {
79
- dispatch.dragUpdate({
80
- current: state.current
81
- });
82
- }
83
- }
84
- function onUpdateEvent(event) {
85
- var input = getInput(event);
86
-
87
- // If we are over the honey pot, we need to get the element
88
- // that the user would have been over if not for the honey pot
89
- var target = isHoneyPotElement(event.target) ? getElementFromPointWithoutHoneypot({
90
- x: input.clientX,
91
- y: input.clientY
92
- }) : event.target;
93
- var nextDropTargets = getDropTargetsOver({
94
- target: target,
95
- input: input,
96
- source: dragType.payload,
97
- current: state.current.dropTargets
98
- });
99
- if (nextDropTargets.length) {
100
- // 🩸 must call `event.preventDefault()` to allow a browser drop to occur
101
- event.preventDefault();
102
- setDropEffectOnEvent({
103
- event: event,
104
- current: nextDropTargets
105
- });
106
- }
107
- updateState({
108
- dropTargets: nextDropTargets,
109
- input: input
110
- });
111
- }
112
- function cancel() {
113
- // The spec behaviour is that when a drag is cancelled, or when dropping on no drop targets,
114
- // a "dragleave" event is fired on the active drop target before a "dragend" event.
115
- // We are replicating that behaviour in `cancel` if there are any active drop targets to
116
- // ensure consistent behaviour.
117
- //
118
- // Note: When cancelling, or dropping on no drop targets, a "dragleave" event
119
- // will have already cleared the dropTargets to `[]` (as that particular "dragleave" has a `relatedTarget` of `null`)
120
-
121
- if (state.current.dropTargets.length) {
122
- updateState({
123
- dropTargets: [],
124
- input: state.current.input
125
- });
126
- }
127
- dispatch.drop({
128
- current: state.current,
129
- updatedSourcePayload: null
130
- });
131
- finish();
132
- }
133
- function finish() {
134
- globalState.isActive = false;
135
- unbindEvents();
136
- }
137
- var unbindEvents = distExports.bindAll(window, [{
138
- // 👋 Note: we are repurposing the `dragover` event as our `drag` event
139
- // this is because firefox does not publish pointer coordinates during
140
- // a `drag` event, but does for every other type of drag event
141
- // `dragover` fires on all elements that are being dragged over
142
- // Because we are binding to `window` - our `dragover` is effectively the same as a `drag`
143
- // 🦊😤
144
- type: 'dragover',
145
- listener: function listener(event) {
146
- // We need to regularly calculate the drop targets in order to allow:
147
- // - dynamic `canDrop()` checks
148
- // - rapid updating `getData()` calls to attach data in response to user input (eg for edge detection)
149
- // Sadly we cannot schedule inspecting changes resulting from this event
150
- // we need to be able to conditionally cancel the event with `event.preventDefault()`
151
- // to enable the correct native drop experience.
152
-
153
- // 1. check to see if anything has changed
154
- onUpdateEvent(event);
155
-
156
- // 2. let consumers know a move has occurred
157
- // This will include the latest 'input' values
158
- dispatch.drag({
159
- current: state.current
160
- });
161
- }
162
- }, {
163
- type: 'dragenter',
164
- listener: onUpdateEvent
165
- }, {
166
- type: 'dragleave',
167
- listener: function listener(event) {
168
- if (!isLeavingWindow({
169
- dragLeave: event
170
- })) {
171
- return;
172
- }
173
-
174
- /**
175
- * At this point we don't know if a drag is being cancelled,
176
- * or if a drag is leaving the `window`.
177
- *
178
- * Both have:
179
- * 1. "dragleave" (with `relatedTarget: null`)
180
- * 2. "dragend" (a "dragend" can occur when outside the `window`)
181
- *
182
- * **Clearing drop targets**
183
- *
184
- * For either case we are clearing the the drop targets
185
- *
186
- * - cancelling: we clear drop targets in `"dragend"` anyway
187
- * - leaving the `window`: we clear the drop targets (to clear stickiness)
188
- *
189
- * **Leaving the window and finishing the drag**
190
- *
191
- * _internal drags_
192
- *
193
- * - The drag continues when the user is outside the `window`
194
- * and can resume if the user drags back over the `window`,
195
- * or end when the user drops in an external `window`.
196
- * - We will get a `"dragend"`, or we can listen for other
197
- * events to determine the drag is finished when the user re-enters the `window`).
198
- *
199
- * _external drags_
200
- *
201
- * - We conclude the drag operation.
202
- * - We have no idea if the user will drag back over the `window`,
203
- * or if the drag ends elsewhere.
204
- * - We will create a new drag if the user re-enters the `window`.
205
- *
206
- * **Not updating `input`**
207
- *
208
- * 🐛 Bug[Chrome] the final `"dragleave"` has default input values (eg `clientX == 0`)
209
- * Workaround: intentionally not updating `input` in "dragleave"
210
- * rather than the users current input values
211
- * - [Conversation](https://twitter.com/alexandereardon/status/1642697633864241152)
212
- * - [Bug](https://bugs.chromium.org/p/chromium/issues/detail?id=1429937)
213
- **/
214
-
215
- updateState({
216
- input: state.current.input,
217
- dropTargets: []
218
- });
219
- if (dragType.startedFrom === 'external') {
220
- cancel();
221
- }
222
- }
223
- }, {
224
- // A "drop" can only happen if the browser allowed the drop
225
- type: 'drop',
226
- listener: function listener(event) {
227
- // Capture the final input.
228
- // We are capturing the final `input` for the
229
- // most accurate honey pot experience
230
- state.current = {
231
- dropTargets: state.current.dropTargets,
232
- input: getInput(event)
233
- };
234
-
235
- /** If there are no drop targets, then we will get
236
- * a "drop" event if:
237
- * - `preventUnhandled()` is being used
238
- * - there is an unmanaged drop target (eg another library)
239
- * In these cases, it's up to the consumer
240
- * to handle the drop if it's not over one of our drop targets
241
- * - `preventUnhandled()` will cancel the "drop"
242
- * - unmanaged drop targets can handle the "drop" how they want to
243
- * We won't call `event.preventDefault()` in this call path */
244
-
245
- if (!state.current.dropTargets.length) {
246
- cancel();
247
- return;
248
- }
249
- event.preventDefault();
250
-
251
- // applying the latest drop effect to the event
252
- setDropEffectOnEvent({
253
- event: event,
254
- current: state.current.dropTargets
255
- });
256
- dispatch.drop({
257
- current: state.current,
258
- // When dropping something native, we need to extract the latest
259
- // `.items` from the "drop" event as it is now accessible
260
- updatedSourcePayload: dragType.type === 'external' ? dragType.getDropPayload(event) : null
261
- });
262
- finish();
263
- }
264
- }, {
265
- // "dragend" fires when on the drag source (eg a draggable element)
266
- // when the drag is finished.
267
- // "dragend" will fire after "drop" (if there was a successful drop)
268
- // "dragend" does not fire if the draggable source has been removed during the drag
269
- // or for external drag sources (eg files)
270
-
271
- // This "dragend" listener will not fire if there was a successful drop
272
- // as we will have already removed the event listener
273
-
274
- type: 'dragend',
275
- listener: function listener(event) {
276
- // In firefox, the position of the "dragend" event can
277
- // be a bit different to the last "dragover" event.
278
- // Updating the input so we can get the best possible
279
- // information for the honey pot.
280
- state.current = {
281
- dropTargets: state.current.dropTargets,
282
- input: getInput(event)
283
- };
284
- cancel();
285
- }
286
- }].concat(_toConsumableArray(getBindingsForBrokenDrags({
287
- onDragEnd: cancel
288
- }))),
289
- // Once we have started a managed drag operation it is important that we see / own all drag events
290
- // We got one adoption bug pop up where some code was stopping (`event.stopPropagation()`)
291
- // all "drop" events in the bubble phase on the `document.body`.
292
- // This meant that we never saw the "drop" event.
293
- {
294
- capture: true
295
- });
296
- dispatch.start({
297
- nativeSetDragImage: getNativeSetDragImage(event)
298
- });
299
- }
300
- function setDropEffectOnEvent(_ref3) {
301
- var _current$;
302
- var event = _ref3.event,
303
- current = _ref3.current;
304
- // setting the `dropEffect` to be the innerMost drop targets dropEffect
305
- var innerMost = (_current$ = current[0]) === null || _current$ === undefined ? undefined : _current$.dropEffect;
306
- if (innerMost != null && event.dataTransfer) {
307
- event.dataTransfer.dropEffect = innerMost;
308
- }
309
- }
310
- function getStartLocation(_ref4) {
311
- var event = _ref4.event,
312
- dragType = _ref4.dragType,
313
- getDropTargetsOver = _ref4.getDropTargetsOver;
314
- var input = getInput(event);
315
-
316
- // When dragging from outside of the browser,
317
- // the drag is not being sourced from any local drop targets
318
- if (dragType.startedFrom === 'external') {
319
- return {
320
- input: input,
321
- dropTargets: []
322
- };
323
- }
324
- var dropTargets = getDropTargetsOver({
325
- input: input,
326
- source: dragType.payload,
327
- target: event.target,
328
- current: []
329
- });
330
- return {
331
- input: input,
332
- dropTargets: dropTargets
333
- };
334
- }
335
- var lifecycle = {
336
- canStart: canStart,
337
- start: start
338
- };
339
-
340
- export { lifecycle };
@@ -1,33 +0,0 @@
1
- // Extending `Map` to allow us to link Key and Values together
2
-
3
- var ledger = new Map();
4
- function registerUsage(_ref) {
5
- var typeKey = _ref.typeKey,
6
- mount = _ref.mount;
7
- var entry = ledger.get(typeKey);
8
- if (entry) {
9
- entry.usageCount++;
10
- return entry;
11
- }
12
- var initial = {
13
- typeKey: typeKey,
14
- unmount: mount(),
15
- usageCount: 1
16
- };
17
- ledger.set(typeKey, initial);
18
- return initial;
19
- }
20
- function register(args) {
21
- var entry = registerUsage(args);
22
- return function unregister() {
23
- entry.usageCount--;
24
- if (entry.usageCount > 0) {
25
- return;
26
- }
27
- // Only a single usage left, remove it
28
- entry.unmount();
29
- ledger.delete(args.typeKey);
30
- };
31
- }
32
-
33
- export { register };
@@ -1,60 +0,0 @@
1
- import { lifecycle } from '../ledger/lifecycle-manager.js';
2
- import { register } from '../ledger/usage-ledger.js';
3
- import { makeDropTarget } from './make-drop-target.js';
4
- import { makeMonitor } from './make-monitor.js';
5
-
6
- function makeAdapter(_ref) {
7
- var typeKey = _ref.typeKey,
8
- mount = _ref.mount,
9
- dispatchEventToSource = _ref.dispatchEventToSource,
10
- onPostDispatch = _ref.onPostDispatch,
11
- defaultDropEffect = _ref.defaultDropEffect;
12
- var monitorAPI = makeMonitor();
13
- var dropTargetAPI = makeDropTarget({
14
- typeKey: typeKey,
15
- defaultDropEffect: defaultDropEffect
16
- });
17
- function dispatchEvent(args) {
18
- // 1. forward the event to source
19
- dispatchEventToSource === null || dispatchEventToSource === undefined || dispatchEventToSource(args);
20
-
21
- // 2. forward the event to relevant dropTargets
22
- dropTargetAPI.dispatchEvent(args);
23
-
24
- // 3. forward event to monitors
25
- monitorAPI.dispatchEvent(args);
26
-
27
- // 4. post consumer dispatch (used for honey pot fix)
28
- onPostDispatch === null || onPostDispatch === undefined || onPostDispatch(args);
29
- }
30
- function start(_ref2) {
31
- var event = _ref2.event,
32
- dragType = _ref2.dragType;
33
- lifecycle.start({
34
- event: event,
35
- dragType: dragType,
36
- getDropTargetsOver: dropTargetAPI.getIsOver,
37
- dispatchEvent: dispatchEvent
38
- });
39
- }
40
- function registerUsage() {
41
- function mountAdapter() {
42
- var api = {
43
- canStart: lifecycle.canStart,
44
- start: start
45
- };
46
- return mount(api);
47
- }
48
- return register({
49
- typeKey: typeKey,
50
- mount: mountAdapter
51
- });
52
- }
53
- return {
54
- registerUsage: registerUsage,
55
- dropTarget: dropTargetAPI.dropTargetForConsumers,
56
- monitor: monitorAPI.monitorForConsumers
57
- };
58
- }
59
-
60
- export { makeAdapter };