@loadsmart/loadsmart-ui 6.0.5 → 6.0.7

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 (430) hide show
  1. package/dist/{DragDropFile.context-50968b55.js → DragDropFile.context-c7cd1441.js} +1 -1
  2. package/dist/{DragDropFile.context-50968b55.js.map → DragDropFile.context-c7cd1441.js.map} +1 -1
  3. package/dist/common/BackButton/BackButton.d.ts +4 -4
  4. package/dist/common/BackButton/index.d.ts +2 -2
  5. package/dist/common/CloseButton/CloseButton.d.ts +6 -6
  6. package/dist/common/CloseButton/index.d.ts +2 -2
  7. package/dist/common/SelectionWrapper.d.ts +14 -14
  8. package/dist/components/Accordion/Accordion.context.d.ts +10 -10
  9. package/dist/components/Accordion/Accordion.d.ts +19 -19
  10. package/dist/components/Accordion/Accordion.stories.d.ts +8 -8
  11. package/dist/components/Accordion/Accordion.test.d.ts +1 -1
  12. package/dist/components/Accordion/index.d.ts +2 -2
  13. package/dist/components/Banner/Banner.d.ts +25 -25
  14. package/dist/components/Banner/Banner.stories.d.ts +106 -106
  15. package/dist/components/Banner/Banner.test.d.ts +1 -1
  16. package/dist/components/Banner/index.d.ts +2 -2
  17. package/dist/components/Breadcrumbs/Breadbrumbs.test.d.ts +1 -1
  18. package/dist/components/Breadcrumbs/Breadcrumb.d.ts +8 -8
  19. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +10 -10
  20. package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +5 -5
  21. package/dist/components/Breadcrumbs/index.d.ts +3 -3
  22. package/dist/components/Button/Button.d.ts +22 -22
  23. package/dist/components/Button/Button.stories.d.ts +32 -32
  24. package/dist/components/Button/Button.test.d.ts +1 -1
  25. package/dist/components/Button/index.d.ts +2 -2
  26. package/dist/components/Calendar/Calendar.d.ts +9 -9
  27. package/dist/components/Calendar/Calendar.helpers.d.ts +2 -2
  28. package/dist/components/Calendar/Calendar.stories.d.ts +21 -21
  29. package/dist/components/Calendar/Calendar.test.d.ts +1 -1
  30. package/dist/components/Calendar/Calendar.types.d.ts +63 -63
  31. package/dist/components/Calendar/Date.helper.d.ts +214 -214
  32. package/dist/components/Calendar/Date.helper.test.d.ts +1 -1
  33. package/dist/components/Calendar/DateFormat.helper.d.ts +35 -35
  34. package/dist/components/Calendar/DateFormat.helper.test.d.ts +1 -1
  35. package/dist/components/Calendar/Month.helper.d.ts +58 -58
  36. package/dist/components/Calendar/Month.helper.test.d.ts +1 -1
  37. package/dist/components/Calendar/PickerModeToggle.d.ts +5 -5
  38. package/dist/components/Calendar/Pickers/DayPicker.d.ts +9 -9
  39. package/dist/components/Calendar/Pickers/DayPicker.test.d.ts +1 -1
  40. package/dist/components/Calendar/Pickers/MonthPicker.d.ts +3 -3
  41. package/dist/components/Calendar/Pickers/MonthPicker.test.d.ts +1 -1
  42. package/dist/components/Calendar/Pickers/PickerButton.d.ts +5 -5
  43. package/dist/components/Calendar/Pickers/YearPicker.d.ts +3 -3
  44. package/dist/components/Calendar/Pickers/YearPicker.test.d.ts +1 -1
  45. package/dist/components/Calendar/index.d.ts +9 -9
  46. package/dist/components/Calendar/useCalendar.d.ts +19 -19
  47. package/dist/components/Calendar/usePickerMode.d.ts +3 -3
  48. package/dist/components/Card/Card.d.ts +16 -16
  49. package/dist/components/Card/Card.stories.d.ts +8 -8
  50. package/dist/components/Card/Card.test.d.ts +1 -1
  51. package/dist/components/Card/CardTitle.d.ts +8 -8
  52. package/dist/components/Card/index.d.ts +2 -2
  53. package/dist/components/Checkbox/Checkbox.d.ts +10 -10
  54. package/dist/components/Checkbox/Checkbox.stories.d.ts +8 -8
  55. package/dist/components/Checkbox/Checkbox.test.d.ts +1 -1
  56. package/dist/components/Checkbox/index.d.ts +2 -2
  57. package/dist/components/DatePicker/DatePicker.d.ts +13 -13
  58. package/dist/components/DatePicker/DatePicker.stories.d.ts +22 -22
  59. package/dist/components/DatePicker/DatePicker.test.d.ts +1 -1
  60. package/dist/components/DatePicker/DatePicker.types.d.ts +27 -27
  61. package/dist/components/DatePicker/DateRangePicker.d.ts +4 -4
  62. package/dist/components/DatePicker/DateRangePicker.stories.d.ts +21 -21
  63. package/dist/components/DatePicker/DateRangePicker.test.d.ts +1 -1
  64. package/dist/components/DatePicker/index.d.ts +3 -3
  65. package/dist/components/DatePicker/useDatePicker.d.ts +585 -584
  66. package/dist/components/DatePicker/useDateRangePicker.d.ts +877 -876
  67. package/dist/components/Dialog/Dialog.d.ts +37 -37
  68. package/dist/components/Dialog/Dialog.stories.d.ts +67 -67
  69. package/dist/components/Dialog/Dialog.test.d.ts +1 -1
  70. package/dist/components/Dialog/index.d.ts +4 -4
  71. package/dist/components/Dialog/useDialog.d.ts +12 -12
  72. package/dist/components/DragDropFile/DragDropFile.context.d.ts +5 -5
  73. package/dist/components/DragDropFile/DragDropFile.d.ts +7 -7
  74. package/dist/components/DragDropFile/DragDropFile.stories.d.ts +33 -33
  75. package/dist/components/DragDropFile/components/DropZone.d.ts +3 -3
  76. package/dist/components/DragDropFile/components/DropZone.test.d.ts +1 -1
  77. package/dist/components/DragDropFile/components/FileItem.d.ts +3 -3
  78. package/dist/components/DragDropFile/components/FileList.d.ts +3 -3
  79. package/dist/components/DragDropFile/components/FileList.test.d.ts +1 -1
  80. package/dist/components/DragDropFile/components/Wrapper.d.ts +6 -6
  81. package/dist/components/DragDropFile/index.d.ts +3 -3
  82. package/dist/components/DragDropFile/mocks.d.ts +9 -9
  83. package/dist/components/DragDropFile/styles.d.ts +10 -10
  84. package/dist/components/DragDropFile/types.d.ts +71 -71
  85. package/dist/components/Drawer/Drawer.d.ts +28 -28
  86. package/dist/components/Drawer/Drawer.stories.d.ts +6 -6
  87. package/dist/components/Drawer/Drawer.test.d.ts +1 -1
  88. package/dist/components/Drawer/index.d.ts +3 -3
  89. package/dist/components/Dropdown/Dropdown.context.d.ts +4 -4
  90. package/dist/components/Dropdown/Dropdown.d.ts +47 -47
  91. package/dist/components/Dropdown/Dropdown.fixtures.d.ts +12 -12
  92. package/dist/components/Dropdown/Dropdown.stories.d.ts +12 -12
  93. package/dist/components/Dropdown/Dropdown.test.d.ts +1 -1
  94. package/dist/components/Dropdown/Dropdown.types.d.ts +49 -49
  95. package/dist/components/Dropdown/DropdownMenu.d.ts +8 -8
  96. package/dist/components/Dropdown/DropdownTrigger.d.ts +21 -21
  97. package/dist/components/Dropdown/index.d.ts +6 -6
  98. package/dist/components/Dropdown/useDropdown.d.ts +14 -14
  99. package/dist/components/Dropdown/useDropdown.test.d.ts +1 -1
  100. package/dist/components/EmptyState/EmptyState.d.ts +7 -7
  101. package/dist/components/EmptyState/EmptyState.mocks.d.ts +7 -7
  102. package/dist/components/EmptyState/EmptyState.stories.d.ts +32 -32
  103. package/dist/components/EmptyState/EmptyState.test.d.ts +1 -1
  104. package/dist/components/EmptyState/EmptyState.types.d.ts +22 -22
  105. package/dist/components/EmptyState/EmptyStateWithIcon.d.ts +4 -4
  106. package/dist/components/EmptyState/EmptyStateWithIllustration.d.ts +4 -4
  107. package/dist/components/EmptyState/Illustration.d.ts +4 -4
  108. package/dist/components/EmptyState/index.d.ts +3 -3
  109. package/dist/components/ErrorMessage/ErrorMessage.d.ts +4 -4
  110. package/dist/components/ErrorMessage/ErrorMessage.stories.d.ts +13 -13
  111. package/dist/components/ErrorMessage/ErrorMessage.test.d.ts +1 -1
  112. package/dist/components/ErrorMessage/index.d.ts +2 -2
  113. package/dist/components/HighlightMatch/HighlightMatch.d.ts +7 -7
  114. package/dist/components/HighlightMatch/HighlightMatch.stories.d.ts +5 -5
  115. package/dist/components/HighlightMatch/HighlightMatch.test.d.ts +1 -1
  116. package/dist/components/HighlightMatch/index.d.ts +2 -2
  117. package/dist/components/Icon/Icon.d.ts +27 -27
  118. package/dist/components/Icon/index.d.ts +2 -2
  119. package/dist/components/IconFactory/IconFactory.d.ts +16 -16
  120. package/dist/components/IconFactory/IconFactory.fixtures.d.ts +10 -10
  121. package/dist/components/IconFactory/IconFactory.stories.d.ts +6 -6
  122. package/dist/components/IconFactory/IconFactory.test.d.ts +1 -1
  123. package/dist/components/IconFactory/index.d.ts +2 -2
  124. package/dist/components/Label/Label.d.ts +18 -18
  125. package/dist/components/Label/Label.stories.d.ts +14 -14
  126. package/dist/components/Label/Label.test.d.ts +1 -1
  127. package/dist/components/Label/index.d.ts +2 -2
  128. package/dist/components/Layout/Box.d.ts +15 -15
  129. package/dist/components/Layout/Grid.d.ts +11 -11
  130. package/dist/components/Layout/Group.d.ts +14 -14
  131. package/dist/components/Layout/Layout.d.ts +16 -16
  132. package/dist/components/Layout/Layout.stories.d.ts +146 -146
  133. package/dist/components/Layout/Layout.types.d.ts +3 -3
  134. package/dist/components/Layout/Layout.utils.d.ts +3 -3
  135. package/dist/components/Layout/Sidebar.d.ts +13 -13
  136. package/dist/components/Layout/Stack.d.ts +19 -19
  137. package/dist/components/Layout/Switcher.d.ts +12 -12
  138. package/dist/components/Layout/index.d.ts +7 -7
  139. package/dist/components/Link/Link.d.ts +9 -9
  140. package/dist/components/Link/Link.stories.d.ts +5 -5
  141. package/dist/components/Link/Link.test.d.ts +1 -1
  142. package/dist/components/Link/index.d.ts +3 -3
  143. package/dist/components/Link/useSafeLink.d.ts +3 -3
  144. package/dist/components/Loaders/LoadingBar.d.ts +13 -13
  145. package/dist/components/Loaders/LoadingBar.stories.d.ts +5 -5
  146. package/dist/components/Loaders/LoadingBar.test.d.ts +1 -1
  147. package/dist/components/Loaders/LoadingDots.d.ts +5 -5
  148. package/dist/components/Loaders/LoadingDots.stories.d.ts +6 -6
  149. package/dist/components/Loaders/LoadingDots.test.d.ts +1 -1
  150. package/dist/components/Loaders/Spinner.d.ts +5 -5
  151. package/dist/components/Loaders/Spinner.stories.d.ts +5 -5
  152. package/dist/components/Loaders/Spinner.test.d.ts +1 -1
  153. package/dist/components/Loaders/index.d.ts +3 -3
  154. package/dist/components/Modal/Modal.d.ts +22 -22
  155. package/dist/components/Modal/Modal.stories.d.ts +30 -30
  156. package/dist/components/Modal/Modal.test.d.ts +1 -1
  157. package/dist/components/Modal/index.d.ts +2 -2
  158. package/dist/components/Pagination/Pagination.constants.d.ts +7 -7
  159. package/dist/components/Pagination/Pagination.d.ts +3 -3
  160. package/dist/components/Pagination/Pagination.helper.d.ts +15 -15
  161. package/dist/components/Pagination/Pagination.stories.d.ts +5 -5
  162. package/dist/components/Pagination/Pagination.test.d.ts +1 -1
  163. package/dist/components/Pagination/Pagination.types.d.ts +48 -48
  164. package/dist/components/Pagination/PaginationItem.d.ts +3 -3
  165. package/dist/components/Pagination/index.d.ts +2 -2
  166. package/dist/components/Pagination/usePagination.d.ts +3 -3
  167. package/dist/components/Pagination/usePagination.test.d.ts +1 -1
  168. package/dist/components/Popover/Popover.d.ts +10 -10
  169. package/dist/components/Popover/Popover.stories.d.ts +5 -5
  170. package/dist/components/Popover/Popover.test.d.ts +1 -1
  171. package/dist/components/Popover/Popover.types.d.ts +33 -33
  172. package/dist/components/Popover/index.d.ts +2 -2
  173. package/dist/components/ProgressBar/ProgressBar.d.ts +9 -9
  174. package/dist/components/ProgressBar/ProgressBar.stories.d.ts +12 -12
  175. package/dist/components/ProgressBar/ProgressBar.test.d.ts +1 -1
  176. package/dist/components/ProgressBar/index.d.ts +2 -2
  177. package/dist/components/Radio/Radio.d.ts +10 -10
  178. package/dist/components/Radio/Radio.stories.d.ts +8 -8
  179. package/dist/components/Radio/Radio.test.d.ts +1 -1
  180. package/dist/components/Radio/index.d.ts +2 -2
  181. package/dist/components/Section/Section.d.ts +12 -12
  182. package/dist/components/Section/Section.test.d.ts +1 -1
  183. package/dist/components/Section/Sections.stories.d.ts +5 -5
  184. package/dist/components/Section/index.d.ts +2 -2
  185. package/dist/components/Select/Select.constants.d.ts +2 -2
  186. package/dist/components/Select/Select.context.d.ts +6 -6
  187. package/dist/components/Select/Select.d.ts +13 -13
  188. package/dist/components/Select/Select.fixtures.d.ts +28 -28
  189. package/dist/components/Select/Select.stories.d.ts +18 -18
  190. package/dist/components/Select/Select.test.d.ts +1 -1
  191. package/dist/components/Select/Select.types.d.ts +121 -121
  192. package/dist/components/Select/SelectCreatableOption.d.ts +3 -3
  193. package/dist/components/Select/SelectEmpty.d.ts +3 -3
  194. package/dist/components/Select/SelectEmpty.test.d.ts +1 -1
  195. package/dist/components/Select/SelectOption.d.ts +3 -3
  196. package/dist/components/Select/SelectOption.test.d.ts +1 -1
  197. package/dist/components/Select/SelectTrigger.d.ts +3 -3
  198. package/dist/components/Select/components.d.ts +2 -2
  199. package/dist/components/Select/index.d.ts +3 -3
  200. package/dist/components/Select/useSelect.d.ts +8 -8
  201. package/dist/components/Select/useSelect.helpers.d.ts +6 -6
  202. package/dist/components/Select/useSelect.helpers.test.d.ts +1 -1
  203. package/dist/components/Select/useSelect.test.d.ts +1 -1
  204. package/dist/components/Select/useSelectExternal.d.ts +2 -2
  205. package/dist/components/SideNavigation/Logo/Logo.d.ts +14 -14
  206. package/dist/components/SideNavigation/Logo/Logo.test.d.ts +1 -1
  207. package/dist/components/SideNavigation/Logo/index.d.ts +1 -1
  208. package/dist/components/SideNavigation/Menu/Menu.d.ts +17 -17
  209. package/dist/components/SideNavigation/Menu/Menu.test.d.ts +1 -1
  210. package/dist/components/SideNavigation/Menu/MenuBaseItem.d.ts +11 -11
  211. package/dist/components/SideNavigation/Menu/MenuExpandable.d.ts +6 -6
  212. package/dist/components/SideNavigation/Menu/MenuLink.d.ts +11 -11
  213. package/dist/components/SideNavigation/Menu/index.d.ts +1 -1
  214. package/dist/components/SideNavigation/Separator/Separator.d.ts +5 -5
  215. package/dist/components/SideNavigation/Separator/Separator.test.d.ts +1 -1
  216. package/dist/components/SideNavigation/Separator/index.d.ts +1 -1
  217. package/dist/components/SideNavigation/SideNavigation.d.ts +34 -34
  218. package/dist/components/SideNavigation/SideNavigation.stories.d.ts +5 -5
  219. package/dist/components/SideNavigation/SideNavigation.test.d.ts +1 -1
  220. package/dist/components/SideNavigation/index.d.ts +4 -4
  221. package/dist/components/SideNavigation/useSideNavigation.d.ts +8 -8
  222. package/dist/components/Steps/ProgressSteps/ProgressStep.d.ts +12 -12
  223. package/dist/components/Steps/ProgressSteps/ProgressSteps.d.ts +7 -7
  224. package/dist/components/Steps/ProgressSteps/index.d.ts +1 -1
  225. package/dist/components/Steps/Steps.d.ts +19 -19
  226. package/dist/components/Steps/Steps.fixtures.d.ts +6 -6
  227. package/dist/components/Steps/Steps.helpers.d.ts +2 -2
  228. package/dist/components/Steps/Steps.stories.d.ts +5 -5
  229. package/dist/components/Steps/Steps.test.d.ts +1 -1
  230. package/dist/components/Steps/Steps.types.d.ts +5 -5
  231. package/dist/components/Steps/StepsContext.d.ts +3 -3
  232. package/dist/components/Steps/StepsStep.d.ts +8 -8
  233. package/dist/components/Steps/index.d.ts +5 -5
  234. package/dist/components/Steps/useStep.test.d.ts +1 -1
  235. package/dist/components/Steps/useSteps.d.ts +30 -30
  236. package/dist/components/Switch/Switch.d.ts +11 -11
  237. package/dist/components/Switch/Switch.stories.d.ts +5 -5
  238. package/dist/components/Switch/Switch.test.d.ts +1 -1
  239. package/dist/components/Switch/index.d.ts +2 -2
  240. package/dist/components/Table/Selection.d.ts +35 -35
  241. package/dist/components/Table/Table.d.ts +44 -44
  242. package/dist/components/Table/Table.fixtures.d.ts +29 -29
  243. package/dist/components/Table/Table.stories.d.ts +61 -61
  244. package/dist/components/Table/Table.test.d.ts +1 -1
  245. package/dist/components/Table/Table.types.d.ts +73 -73
  246. package/dist/components/Table/TableSortHandle.d.ts +7 -7
  247. package/dist/components/Table/index.d.ts +2 -2
  248. package/dist/components/Table/useSortBy.d.ts +16 -16
  249. package/dist/components/Table/useSortBy.test.d.ts +1 -1
  250. package/dist/components/Table/useSortBy.types.d.ts +16 -16
  251. package/dist/components/TablePagination/RowsPerPage.d.ts +3 -3
  252. package/dist/components/TablePagination/TablePagination.d.ts +3 -3
  253. package/dist/components/TablePagination/TablePagination.stories.d.ts +5 -5
  254. package/dist/components/TablePagination/TablePagination.styles.d.ts +5 -5
  255. package/dist/components/TablePagination/TablePagination.test.d.ts +1 -1
  256. package/dist/components/TablePagination/TablePagination.types.d.ts +59 -59
  257. package/dist/components/TablePagination/TablePaginationActions.d.ts +10 -10
  258. package/dist/components/TablePagination/index.d.ts +2 -2
  259. package/dist/components/Tabs/Tabs.d.ts +54 -54
  260. package/dist/components/Tabs/Tabs.stories.d.ts +23 -23
  261. package/dist/components/Tabs/Tabs.test.d.ts +1 -1
  262. package/dist/components/Tabs/Tabs.types.d.ts +6 -6
  263. package/dist/components/Tabs/TabsContext.d.ts +9 -9
  264. package/dist/components/Tabs/index.d.ts +2 -2
  265. package/dist/components/Tag/Tag.d.ts +19 -19
  266. package/dist/components/Tag/Tag.stories.d.ts +41 -41
  267. package/dist/components/Tag/Tag.test.d.ts +1 -1
  268. package/dist/components/Tag/index.d.ts +2 -2
  269. package/dist/components/Text/Text.d.ts +15 -15
  270. package/dist/components/Text/Text.stories.d.ts +5 -5
  271. package/dist/components/Text/Text.test.d.ts +1 -1
  272. package/dist/components/Text/index.d.ts +2 -2
  273. package/dist/components/TextField/TextField.d.ts +19 -19
  274. package/dist/components/TextField/TextField.stories.d.ts +11 -11
  275. package/dist/components/TextField/TextField.test.d.ts +1 -1
  276. package/dist/components/TextField/index.d.ts +4 -4
  277. package/dist/components/TextField/useTextField.d.ts +6 -6
  278. package/dist/components/Textarea/Textarea.d.ts +17 -17
  279. package/dist/components/Textarea/Textarea.stories.d.ts +11 -11
  280. package/dist/components/Textarea/Textarea.test.d.ts +1 -1
  281. package/dist/components/Textarea/index.d.ts +2 -2
  282. package/dist/components/Toast/Toast.d.ts +11 -11
  283. package/dist/components/Toast/Toast.stories.d.ts +12 -12
  284. package/dist/components/Toast/Toast.test.d.ts +1 -1
  285. package/dist/components/Toast/index.d.ts +2 -2
  286. package/dist/components/ToggleGroup/Toggle.d.ts +4 -4
  287. package/dist/components/ToggleGroup/Toggle.test.d.ts +1 -1
  288. package/dist/components/ToggleGroup/ToggleGroup.constants.d.ts +2 -2
  289. package/dist/components/ToggleGroup/ToggleGroup.d.ts +6 -6
  290. package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +6 -6
  291. package/dist/components/ToggleGroup/ToggleGroup.test.d.ts +1 -1
  292. package/dist/components/ToggleGroup/ToggleGroup.types.d.ts +26 -26
  293. package/dist/components/ToggleGroup/ToggleGroupContext.d.ts +5 -5
  294. package/dist/components/ToggleGroup/index.d.ts +2 -2
  295. package/dist/components/Tooltip/Tooltip.d.ts +23 -23
  296. package/dist/components/Tooltip/Tooltip.stories.d.ts +13 -13
  297. package/dist/components/Tooltip/Tooltip.test.d.ts +1 -1
  298. package/dist/components/Tooltip/index.d.ts +2 -2
  299. package/dist/components/TopNavigation/Logo/Logo.d.ts +14 -14
  300. package/dist/components/TopNavigation/Logo/Logo.test.d.ts +1 -1
  301. package/dist/components/TopNavigation/Logo/index.d.ts +1 -1
  302. package/dist/components/TopNavigation/Menu/Menu.d.ts +18 -18
  303. package/dist/components/TopNavigation/Menu/Menu.test.d.ts +1 -1
  304. package/dist/components/TopNavigation/Menu/MenuItemDropdown.d.ts +17 -17
  305. package/dist/components/TopNavigation/Menu/MenuItemIcon.d.ts +8 -8
  306. package/dist/components/TopNavigation/Menu/index.d.ts +1 -1
  307. package/dist/components/TopNavigation/OpenSideNavButton/OpenSideNavButton.d.ts +7 -7
  308. package/dist/components/TopNavigation/OpenSideNavButton/index.d.ts +1 -1
  309. package/dist/components/TopNavigation/TopNavigation.d.ts +17 -17
  310. package/dist/components/TopNavigation/TopNavigation.stories.d.ts +5 -5
  311. package/dist/components/TopNavigation/index.d.ts +2 -2
  312. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  313. package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +12 -13
  314. package/dist/components/VisuallyHidden/VisuallyHidden.test.d.ts +1 -1
  315. package/dist/components/VisuallyHidden/index.d.ts +1 -1
  316. package/dist/hooks/useClickOutside/index.d.ts +1 -1
  317. package/dist/hooks/useClickOutside/useClickOutside.d.ts +3 -3
  318. package/dist/hooks/useClickOutside/useClickOutside.test.d.ts +1 -1
  319. package/dist/hooks/useDidMount/index.d.ts +1 -1
  320. package/dist/hooks/useDidMount/useDidMount.d.ts +9 -9
  321. package/dist/hooks/useDidMount/useDidMount.test.d.ts +1 -1
  322. package/dist/hooks/useFingerprint/index.d.ts +1 -1
  323. package/dist/hooks/useFingerprint/useFingerprint.d.ts +18 -18
  324. package/dist/hooks/useFingerprint/useFingerprint.test.d.ts +1 -1
  325. package/dist/hooks/useFocusTrap/index.d.ts +2 -2
  326. package/dist/hooks/useFocusTrap/useFocusTrap.d.ts +27 -27
  327. package/dist/hooks/useFocusTrap/useFocusTrap.stories.d.ts +7 -7
  328. package/dist/hooks/useFocusTrap/useFocusTrap.test.d.ts +1 -1
  329. package/dist/hooks/useFocusWithin/index.d.ts +2 -2
  330. package/dist/hooks/useFocusWithin/useFocusWithin.d.ts +15 -15
  331. package/dist/hooks/useFocusWithin/useFocusWithin.test.d.ts +1 -1
  332. package/dist/hooks/useHeightExpansionToggler/index.d.ts +2 -2
  333. package/dist/hooks/useHeightExpansionToggler/useHeightExpansionToggler.d.ts +14 -14
  334. package/dist/hooks/useHeightExpansionToggler/useHeightExpansionToggler.test.d.ts +1 -1
  335. package/dist/hooks/useID/index.d.ts +1 -1
  336. package/dist/hooks/useID/useID.d.ts +2 -2
  337. package/dist/hooks/useSelectable/SelectableStrategy.d.ts +11 -11
  338. package/dist/hooks/useSelectable/SelectableStrategy.test.d.ts +1 -1
  339. package/dist/hooks/useSelectable/index.d.ts +2 -2
  340. package/dist/hooks/useSelectable/useSelectable.d.ts +6 -6
  341. package/dist/hooks/useSelectable/useSelectable.test.d.ts +1 -1
  342. package/dist/hooks/useSelectable/useSelectable.types.d.ts +46 -46
  343. package/dist/hooks/useWindowResize/index.d.ts +1 -1
  344. package/dist/hooks/useWindowResize/useWindowResize.d.ts +5 -5
  345. package/dist/index.d.ts +97 -97
  346. package/dist/index.js +373 -373
  347. package/dist/index.js.map +1 -1
  348. package/dist/miranda-compatibility.theme-97e29e8e.js +2 -0
  349. package/dist/miranda-compatibility.theme-97e29e8e.js.map +1 -0
  350. package/dist/prop-5c502a5a.js +2 -0
  351. package/dist/prop-5c502a5a.js.map +1 -0
  352. package/dist/styles/activatable.d.ts +10 -10
  353. package/dist/styles/disableable.d.ts +10 -10
  354. package/dist/styles/ellipsizable.d.ts +7 -7
  355. package/dist/styles/focusable.d.ts +10 -10
  356. package/dist/styles/font.d.ts +16 -16
  357. package/dist/styles/font.test.d.ts +1 -1
  358. package/dist/styles/hidden.d.ts +7 -7
  359. package/dist/styles/hoverable.d.ts +10 -10
  360. package/dist/styles/transition.d.ts +11 -11
  361. package/dist/styles/typography.d.ts +27 -27
  362. package/dist/styles/typography.test.d.ts +1 -1
  363. package/dist/testing/DatePickerEvent/DatePickerEvent.d.ts +42 -42
  364. package/dist/testing/DatePickerEvent/DateRangePickerEvent.d.ts +41 -41
  365. package/dist/testing/DatePickerEvent/index.d.ts +2 -2
  366. package/dist/testing/DragDropFileEvent/DragDropFileEvent.d.ts +6 -6
  367. package/dist/testing/DragDropFileEvent/index.d.ts +1 -1
  368. package/dist/testing/SelectEvent/SelectEvent.d.ts +66 -66
  369. package/dist/testing/SelectEvent/SelectEvent.test.d.ts +1 -1
  370. package/dist/testing/SelectEvent/index.d.ts +1 -1
  371. package/dist/testing/getInterpolatedStyles/getInterpolatedStyles.d.ts +10 -10
  372. package/dist/testing/getInterpolatedStyles/index.d.ts +1 -1
  373. package/dist/testing/index.d.ts +5 -5
  374. package/dist/testing/index.js +1 -1
  375. package/dist/testing/index.js.map +1 -1
  376. package/dist/testing/renderWithDragDropFileProvider/index.d.ts +1 -1
  377. package/dist/testing/renderWithDragDropFileProvider/renderWithDragDropFileProvider.d.ts +5 -5
  378. package/dist/tests/generator.d.ts +35 -35
  379. package/dist/tests/renderer.d.ts +10 -10
  380. package/dist/theming/index.d.ts +16 -16
  381. package/dist/theming/index.js +1 -1
  382. package/dist/theming/index.js.map +1 -1
  383. package/dist/theming/themes/alice.theme.d.ts +755 -755
  384. package/dist/theming/themes/index.d.ts +3 -3
  385. package/dist/theming/themes/loadsmart.theme.d.ts +737 -737
  386. package/dist/theming/themes/miranda-compatibility.theme.d.ts +750 -750
  387. package/dist/theming/theming.helpers.d.ts +22 -22
  388. package/dist/{toArray-8fc577bb.js → toArray-b56541b4.js} +1 -1
  389. package/dist/toArray-b56541b4.js.map +1 -0
  390. package/dist/tools/conditional.d.ts +39 -39
  391. package/dist/tools/conditional.test.d.ts +1 -1
  392. package/dist/tools/index.d.ts +2 -2
  393. package/dist/tools/index.js +1 -1
  394. package/dist/tools/prop.d.ts +15 -15
  395. package/dist/tools/prop.test.d.ts +1 -1
  396. package/dist/utils/toolset/awaitTo.d.ts +10 -10
  397. package/dist/utils/toolset/debounce.d.ts +1 -1
  398. package/dist/utils/toolset/flatten.d.ts +1 -1
  399. package/dist/utils/toolset/formatBytes.d.ts +4 -4
  400. package/dist/utils/toolset/formatBytes.test.d.ts +1 -1
  401. package/dist/utils/toolset/get.d.ts +1 -1
  402. package/dist/utils/toolset/getID.d.ts +13 -13
  403. package/dist/utils/toolset/getID.test.d.ts +1 -1
  404. package/dist/utils/toolset/getOrdinalSuffix.d.ts +1 -1
  405. package/dist/utils/toolset/getOrdinalSuffix.test.d.ts +1 -1
  406. package/dist/utils/toolset/highlightMatch.d.ts +9 -9
  407. package/dist/utils/toolset/highlightMatch.test.d.ts +1 -1
  408. package/dist/utils/toolset/interleave.d.ts +2 -2
  409. package/dist/utils/toolset/interleave.test.d.ts +1 -1
  410. package/dist/utils/toolset/isEmpty.d.ts +1 -1
  411. package/dist/utils/toolset/isThenable.d.ts +5 -5
  412. package/dist/utils/toolset/isThenable.test.d.ts +1 -1
  413. package/dist/utils/toolset/keyboard.d.ts +24 -24
  414. package/dist/utils/toolset/omit.d.ts +1 -1
  415. package/dist/utils/toolset/pluralize.d.ts +14 -14
  416. package/dist/utils/toolset/range.d.ts +1 -1
  417. package/dist/utils/toolset/rem.d.ts +3 -3
  418. package/dist/utils/toolset/styledCompounds.d.ts +13 -13
  419. package/dist/utils/toolset/toArray.d.ts +2 -2
  420. package/dist/utils/types/ColorScheme.d.ts +2 -2
  421. package/dist/utils/types/EventLike.d.ts +10 -10
  422. package/dist/utils/types/InterpolatedStyle.d.ts +2 -2
  423. package/dist/utils/types/Status.d.ts +7 -7
  424. package/package.json +11 -7
  425. package/src/components/Table/Table.tsx +1 -1
  426. package/dist/miranda-compatibility.theme-781b0886.js +0 -2
  427. package/dist/miranda-compatibility.theme-781b0886.js.map +0 -1
  428. package/dist/prop-32998961.js +0 -2
  429. package/dist/prop-32998961.js.map +0 -1
  430. package/dist/toArray-8fc577bb.js.map +0 -1
@@ -1,2 +1,2 @@
1
1
  "use strict";var e=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(e){return this instanceof o?(this.v=e,this):new o(e)}const i=e.createContext(void 0);exports.DragDropFileContext=i,exports.DragDropFileProvider=({fileList:t,onFilesAdded:r,onFileRemoved:o,onRetryUpload:a,children:u})=>{const c=e.useCallback(((e,n)=>{o([...t.slice(0,n),...t.slice(n+1)],e,n)}),[t]),l=e.useMemo((()=>({fileList:t,onFilesAdded:r,onRemoveFile:c,onRetryUpload:a})),[t,r,c,a]);return n.default.createElement(i.Provider,{value:l},u)},exports.__asyncGenerator=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),a=[];return r={},u("next"),u("throw"),u("return"),r[Symbol.asyncIterator]=function(){return this},r;function u(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||c(e,t)}))})}function c(e,t){try{(n=i[e](t)).value instanceof o?Promise.resolve(n.value.v).then(l,s):f(a[0][2],n)}catch(e){f(a[0][3],e)}var n}function l(e){c("next",e)}function s(e){c("throw",e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}},exports.__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=r(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}},exports.__await=o,exports.__awaiter=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}c((r=r.apply(e,t||[])).next())}))},exports.__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},exports.useDragDropFileContext=()=>{const t=e.useContext(i);if(!t)throw new Error("useDragDropFileContext must be used within an DragDropFileProvider");return t};
2
- //# sourceMappingURL=DragDropFile.context-50968b55.js.map
2
+ //# sourceMappingURL=DragDropFile.context-c7cd1441.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DragDropFile.context-50968b55.js","sources":["../node_modules/tslib/tslib.es6.js","../src/components/DragDropFile/DragDropFile.context.tsx"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.push(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.push(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n",null],"names":["__values","o","s","Symbol","iterator","m","i","call","length","next","value","done","TypeError","__await","v","this","DragDropFileContext","createContext","undefined","fileList","onFilesAdded","onFileRemoved","onRetryUpload","children","onRemoveFile","useCallback","removedItem","index","slice","contextValue","useMemo","React","createElement","Provider","thisArg","_arguments","generator","asyncIterator","g","apply","q","verb","n","Promise","a","b","push","resume","r","resolve","then","fulfill","reject","settle","e","f","shift","d","P","fulfilled","step","rejected","result","t","p","Object","prototype","hasOwnProperty","indexOf","getOwnPropertySymbols","propertyIsEnumerable","context","useContext","Error"],"mappings":"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"}
1
+ {"version":3,"file":"DragDropFile.context-c7cd1441.js","sources":["../node_modules/tslib/tslib.es6.js","../src/components/DragDropFile/DragDropFile.context.tsx"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.push(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.push(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import React, { createContext, useContext, useCallback, useMemo } from 'react'\n\nimport type { DragDropFileContextValue, DragDropFileProviderProps, FileWithStatus } from './types'\n\nexport const DragDropFileContext = createContext<DragDropFileContextValue | undefined>(undefined)\n\nexport const DragDropFileProvider = ({\n fileList,\n onFilesAdded,\n onFileRemoved,\n onRetryUpload,\n children,\n}: DragDropFileProviderProps): JSX.Element => {\n const onRemoveFile = useCallback(\n (removedItem: FileWithStatus, index: number) => {\n onFileRemoved([...fileList.slice(0, index), ...fileList.slice(index + 1)], removedItem, index)\n },\n [fileList]\n )\n\n const contextValue = useMemo(\n () => ({ fileList, onFilesAdded, onRemoveFile, onRetryUpload }),\n [fileList, onFilesAdded, onRemoveFile, onRetryUpload]\n )\n\n return (\n <DragDropFileContext.Provider value={contextValue}>{children}</DragDropFileContext.Provider>\n )\n}\n\nexport const useDragDropFileContext = (): DragDropFileContextValue => {\n const context = useContext(DragDropFileContext)\n\n if (!context) {\n throw new Error('useDragDropFileContext must be used within an DragDropFileProvider')\n }\n\n return context\n}\n"],"names":["__values","o","s","Symbol","iterator","m","i","call","length","next","value","done","TypeError","__await","v","this","DragDropFileContext","createContext","undefined","fileList","onFilesAdded","onFileRemoved","onRetryUpload","children","onRemoveFile","useCallback","removedItem","index","slice","contextValue","useMemo","React","createElement","Provider","thisArg","_arguments","generator","asyncIterator","g","apply","q","verb","n","Promise","a","b","push","resume","r","resolve","then","fulfill","reject","settle","e","f","shift","d","P","fulfilled","step","rejected","result","t","p","Object","prototype","hasOwnProperty","indexOf","getOwnPropertySymbols","propertyIsEnumerable","context","useContext","Error"],"mappings":"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"}
@@ -1,4 +1,4 @@
1
- import type { ButtonProps } from 'components/Button';
2
- export type BackButtonProps = Omit<ButtonProps, 'children'>;
3
- declare function BackButton({ scale, ...others }: BackButtonProps): JSX.Element;
4
- export default BackButton;
1
+ import type { ButtonProps } from "../../components/Button";
2
+ export declare type BackButtonProps = Omit<ButtonProps, 'children'>;
3
+ declare function BackButton({ scale, ...others }: BackButtonProps): JSX.Element;
4
+ export default BackButton;
@@ -1,2 +1,2 @@
1
- export { default } from './BackButton';
2
- export type { BackButtonProps } from './BackButton';
1
+ export { default } from './BackButton';
2
+ export type { BackButtonProps } from './BackButton';
@@ -1,6 +1,6 @@
1
- import type { ButtonProps } from 'components/Button';
2
- export interface CloseButtonProps extends ButtonProps {
3
- size?: string | number;
4
- }
5
- declare function CloseButton({ scale, size, ...others }: CloseButtonProps): JSX.Element;
6
- export default CloseButton;
1
+ import type { ButtonProps } from "../../components/Button";
2
+ export interface CloseButtonProps extends ButtonProps {
3
+ size?: string | number;
4
+ }
5
+ declare function CloseButton({ scale, size, ...others }: CloseButtonProps): JSX.Element;
6
+ export default CloseButton;
@@ -1,2 +1,2 @@
1
- export { default } from './CloseButton';
2
- export type { CloseButtonProps } from './CloseButton';
1
+ export { default } from './CloseButton';
2
+ export type { CloseButtonProps } from './CloseButton';
@@ -1,14 +1,14 @@
1
- import { LabelHTMLAttributes, ReactNode } from 'react';
2
- import type ColorScheme from 'utils/types/ColorScheme';
3
- export interface SelectionStyleProps {
4
- scale?: 'small' | 'default';
5
- scheme?: ColorScheme;
6
- disabled?: boolean;
7
- }
8
- export interface SelectionWrapperProps extends LabelHTMLAttributes<HTMLLabelElement>, SelectionStyleProps {
9
- selector: ReactNode;
10
- leading?: ReactNode;
11
- trailing?: ReactNode;
12
- }
13
- declare function SelectionWrapper({ selector, children, leading, trailing, className, disabled, ...others }: SelectionWrapperProps): JSX.Element;
14
- export default SelectionWrapper;
1
+ import { LabelHTMLAttributes, ReactNode } from 'react';
2
+ import type ColorScheme from "../utils/types/ColorScheme";
3
+ export interface SelectionStyleProps {
4
+ scale?: 'small' | 'default';
5
+ scheme?: ColorScheme;
6
+ disabled?: boolean;
7
+ }
8
+ export interface SelectionWrapperProps extends LabelHTMLAttributes<HTMLLabelElement>, SelectionStyleProps {
9
+ selector: ReactNode;
10
+ leading?: ReactNode;
11
+ trailing?: ReactNode;
12
+ }
13
+ declare function SelectionWrapper({ selector, children, leading, trailing, className, disabled, ...others }: SelectionWrapperProps): JSX.Element;
14
+ export default SelectionWrapper;
@@ -1,10 +1,10 @@
1
- import { ReactNode } from 'react';
2
- type AccordionContextType = [boolean, () => void];
3
- declare function AccordionProvider({ expanded, children, onExpandedChange, initialExpanded, }: {
4
- children: ReactNode;
5
- initialExpanded?: boolean;
6
- expanded?: boolean;
7
- onExpandedChange?: (expanded: boolean) => void;
8
- }): JSX.Element;
9
- declare function useAccordionContext(): AccordionContextType;
10
- export { AccordionProvider, useAccordionContext };
1
+ import { ReactNode } from 'react';
2
+ declare type AccordionContextType = [boolean, () => void];
3
+ declare function AccordionProvider({ expanded, children, onExpandedChange, initialExpanded, }: {
4
+ children: ReactNode;
5
+ initialExpanded?: boolean;
6
+ expanded?: boolean;
7
+ onExpandedChange?: (expanded: boolean) => void;
8
+ }): JSX.Element;
9
+ declare function useAccordionContext(): AccordionContextType;
10
+ export { AccordionProvider, useAccordionContext };
@@ -1,19 +1,19 @@
1
- import type { PropsWithChildren, HTMLAttributes, ReactNode } from 'react';
2
- export type AccordionToggleProps = {
3
- leading?: ReactNode | ((expanded: boolean) => ReactNode);
4
- trailing?: ReactNode | ((expanded: boolean) => ReactNode);
5
- };
6
- declare function AccordionToggle({ leading, trailing: propsTrailing, children, }: PropsWithChildren<AccordionToggleProps>): JSX.Element;
7
- export type AccordionBodyProps = HTMLAttributes<HTMLElement>;
8
- declare function AccordionBody({ children, ...props }: PropsWithChildren<AccordionBodyProps>): JSX.Element;
9
- export interface AccordionProps extends HTMLAttributes<HTMLElement> {
10
- expanded?: boolean;
11
- initialExpanded?: boolean;
12
- onExpandedChange?: (expanded: boolean) => void;
13
- }
14
- declare function Accordion({ children, expanded, initialExpanded, onExpandedChange, ...others }: AccordionProps): JSX.Element;
15
- declare namespace Accordion {
16
- var Toggle: typeof AccordionToggle;
17
- var Body: typeof AccordionBody;
18
- }
19
- export default Accordion;
1
+ import type { PropsWithChildren, HTMLAttributes, ReactNode } from 'react';
2
+ export declare type AccordionToggleProps = {
3
+ leading?: ReactNode | ((expanded: boolean) => ReactNode);
4
+ trailing?: ReactNode | ((expanded: boolean) => ReactNode);
5
+ };
6
+ declare function AccordionToggle({ leading, trailing: propsTrailing, children, }: PropsWithChildren<AccordionToggleProps>): JSX.Element;
7
+ export declare type AccordionBodyProps = HTMLAttributes<HTMLElement>;
8
+ declare function AccordionBody({ children, ...props }: PropsWithChildren<AccordionBodyProps>): JSX.Element;
9
+ export interface AccordionProps extends HTMLAttributes<HTMLElement> {
10
+ expanded?: boolean;
11
+ initialExpanded?: boolean;
12
+ onExpandedChange?: (expanded: boolean) => void;
13
+ }
14
+ declare function Accordion({ children, expanded, initialExpanded, onExpandedChange, ...others }: AccordionProps): JSX.Element;
15
+ declare namespace Accordion {
16
+ var Toggle: typeof AccordionToggle;
17
+ var Body: typeof AccordionBody;
18
+ }
19
+ export default Accordion;
@@ -1,8 +1,8 @@
1
- import type { Meta } from '@storybook/react/types-6-0';
2
- import type { AccordionProps } from './Accordion';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
4
- export default _default;
5
- export declare function Playground(args: AccordionProps): JSX.Element;
6
- export declare function CustomIndicators(): JSX.Element;
7
- export declare function ControlledOpened(args: AccordionProps): JSX.Element;
8
- export declare function ControlledBasedOnExpandedProp(args: AccordionProps): JSX.Element;
1
+ import type { Meta } from '@storybook/react/types-6-0';
2
+ import type { AccordionProps } from './Accordion';
3
+ declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
4
+ export default _default;
5
+ export declare function Playground(args: AccordionProps): JSX.Element;
6
+ export declare function CustomIndicators(): JSX.Element;
7
+ export declare function ControlledOpened(args: AccordionProps): JSX.Element;
8
+ export declare function ControlledBasedOnExpandedProp(args: AccordionProps): JSX.Element;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
- export { default as Accordion } from './Accordion';
2
- export type { AccordionProps, AccordionBodyProps, AccordionToggleProps } from './Accordion';
1
+ export { default as Accordion } from './Accordion';
2
+ export type { AccordionProps, AccordionBodyProps, AccordionToggleProps } from './Accordion';
@@ -1,25 +1,25 @@
1
- import { ReactElement } from 'react';
2
- import DefaultCloseButton from 'common/CloseButton';
3
- export interface BannerProps {
4
- className?: string;
5
- variant?: 'success' | 'danger' | 'warning' | 'neutral';
6
- icon?: JSX.Element;
7
- scale?: 'default' | 'large';
8
- title?: string | ReactElement;
9
- description?: string | ReactElement;
10
- onClose?: () => void;
11
- dismissible?: boolean;
12
- }
13
- export interface BannerActionProps extends BannerProps {
14
- action?: string;
15
- secondaryAction?: string;
16
- onActionButtonClick?: () => void;
17
- onSecondaryActionButtonClick?: () => void;
18
- }
19
- export declare const CloseButton: import("styled-components").StyledComponent<typeof DefaultCloseButton, any, {}, never>;
20
- export declare const Icon: import("styled-components").StyledComponent<(props: import("../IconFactory").IconProps<import("../IconFactory").IconMapping>) => JSX.Element, any, {}, never>;
21
- declare function Banner({ scale, variant, icon, title, description, onClose, dismissible, ...others }: BannerProps): JSX.Element | null;
22
- export declare function BannerLarge({ scale, variant, icon, title, description, onClose, dismissible, ...others }: BannerProps): JSX.Element | null;
23
- export declare function BannerAction({ scale, variant, icon, title, action, secondaryAction, onActionButtonClick, onSecondaryActionButtonClick, ...others }: BannerActionProps): JSX.Element;
24
- export declare function BannerActionLarge({ scale, variant, icon, title, description, action, secondaryAction, onActionButtonClick, onSecondaryActionButtonClick, onClose, dismissible, ...others }: BannerActionProps): JSX.Element | null;
25
- export default Banner;
1
+ import { ReactElement } from 'react';
2
+ import DefaultCloseButton from "../../common/CloseButton";
3
+ export interface BannerProps {
4
+ className?: string;
5
+ variant?: 'success' | 'danger' | 'warning' | 'neutral';
6
+ icon?: JSX.Element;
7
+ scale?: 'default' | 'large';
8
+ title?: string | ReactElement;
9
+ description?: string | ReactElement;
10
+ onClose?: () => void;
11
+ dismissible?: boolean;
12
+ }
13
+ export interface BannerActionProps extends BannerProps {
14
+ action?: string;
15
+ secondaryAction?: string;
16
+ onActionButtonClick?: () => void;
17
+ onSecondaryActionButtonClick?: () => void;
18
+ }
19
+ export declare const CloseButton: import("styled-components").StyledComponent<typeof DefaultCloseButton, any, {}, never>;
20
+ export declare const Icon: import("styled-components").StyledComponent<(props: import("../IconFactory").IconProps<import("../IconFactory").IconMapping>) => JSX.Element, any, {}, never>;
21
+ declare function Banner({ scale, variant, icon, title, description, onClose, dismissible, ...others }: BannerProps): JSX.Element | null;
22
+ export declare function BannerLarge({ scale, variant, icon, title, description, onClose, dismissible, ...others }: BannerProps): JSX.Element | null;
23
+ export declare function BannerAction({ scale, variant, icon, title, action, secondaryAction, onActionButtonClick, onSecondaryActionButtonClick, ...others }: BannerActionProps): JSX.Element;
24
+ export declare function BannerActionLarge({ scale, variant, icon, title, description, action, secondaryAction, onActionButtonClick, onSecondaryActionButtonClick, onClose, dismissible, ...others }: BannerActionProps): JSX.Element | null;
25
+ export default Banner;
@@ -1,106 +1,106 @@
1
- import type { Meta } from '@storybook/react/types-6-0';
2
- import type { BannerProps, BannerActionProps } from './Banner';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
4
- export default _default;
5
- export declare function Playground(args: BannerProps): JSX.Element;
6
- export declare namespace Playground {
7
- var args: {
8
- scale: string;
9
- variant: string;
10
- title: string;
11
- };
12
- }
13
- export declare function Warning(args: BannerProps): JSX.Element;
14
- export declare namespace Warning {
15
- var args: {
16
- scale: string;
17
- variant: string;
18
- title: string;
19
- };
20
- }
21
- export declare function Danger(args: BannerProps): JSX.Element;
22
- export declare namespace Danger {
23
- var args: {
24
- scale: string;
25
- variant: string;
26
- title: string;
27
- };
28
- }
29
- export declare function Neutral(args: BannerProps): JSX.Element;
30
- export declare namespace Neutral {
31
- var args: {
32
- scale: string;
33
- variant: string;
34
- title: string;
35
- };
36
- }
37
- export declare function CustomIcon(args: BannerProps): JSX.Element;
38
- export declare namespace CustomIcon {
39
- var args: {
40
- scale: string;
41
- variant: string;
42
- title: string;
43
- icon: JSX.Element;
44
- };
45
- }
46
- export declare function Large(args: BannerProps): JSX.Element;
47
- export declare namespace Large {
48
- var args: {
49
- scale: string;
50
- variant: string;
51
- title: string;
52
- description: string;
53
- };
54
- }
55
- export declare function Action(args: BannerActionProps): JSX.Element;
56
- export declare namespace Action {
57
- var args: {
58
- scale: string;
59
- variant: string;
60
- title: string;
61
- action: string;
62
- };
63
- }
64
- export declare function ActionWithSecondaryAction(args: BannerActionProps): JSX.Element;
65
- export declare namespace ActionWithSecondaryAction {
66
- var args: {
67
- scale: string;
68
- variant: string;
69
- title: string;
70
- action: string;
71
- secondaryAction: string;
72
- };
73
- }
74
- export declare function ActionLarge(args: BannerActionProps): JSX.Element;
75
- export declare namespace ActionLarge {
76
- var args: {
77
- scale: string;
78
- variant: string;
79
- title: string;
80
- description: string;
81
- action: string;
82
- };
83
- }
84
- export declare function ActionLargeWithSecondaryAction(args: BannerActionProps): JSX.Element;
85
- export declare namespace ActionLargeWithSecondaryAction {
86
- var args: {
87
- scale: string;
88
- variant: string;
89
- title: string;
90
- description: string;
91
- action: string;
92
- secondaryAction: string;
93
- };
94
- }
95
- export declare function ActionLargeDismissibleWithSecondaryAction(args: BannerActionProps): JSX.Element;
96
- export declare namespace ActionLargeDismissibleWithSecondaryAction {
97
- var args: {
98
- scale: string;
99
- variant: string;
100
- title: string;
101
- description: string;
102
- action: string;
103
- secondaryAction: string;
104
- dismissible: boolean;
105
- };
106
- }
1
+ import type { Meta } from '@storybook/react/types-6-0';
2
+ import type { BannerProps, BannerActionProps } from './Banner';
3
+ declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
4
+ export default _default;
5
+ export declare function Playground(args: BannerProps): JSX.Element;
6
+ export declare namespace Playground {
7
+ var args: {
8
+ scale: string;
9
+ variant: string;
10
+ title: string;
11
+ };
12
+ }
13
+ export declare function Warning(args: BannerProps): JSX.Element;
14
+ export declare namespace Warning {
15
+ var args: {
16
+ scale: string;
17
+ variant: string;
18
+ title: string;
19
+ };
20
+ }
21
+ export declare function Danger(args: BannerProps): JSX.Element;
22
+ export declare namespace Danger {
23
+ var args: {
24
+ scale: string;
25
+ variant: string;
26
+ title: string;
27
+ };
28
+ }
29
+ export declare function Neutral(args: BannerProps): JSX.Element;
30
+ export declare namespace Neutral {
31
+ var args: {
32
+ scale: string;
33
+ variant: string;
34
+ title: string;
35
+ };
36
+ }
37
+ export declare function CustomIcon(args: BannerProps): JSX.Element;
38
+ export declare namespace CustomIcon {
39
+ var args: {
40
+ scale: string;
41
+ variant: string;
42
+ title: string;
43
+ icon: JSX.Element;
44
+ };
45
+ }
46
+ export declare function Large(args: BannerProps): JSX.Element;
47
+ export declare namespace Large {
48
+ var args: {
49
+ scale: string;
50
+ variant: string;
51
+ title: string;
52
+ description: string;
53
+ };
54
+ }
55
+ export declare function Action(args: BannerActionProps): JSX.Element;
56
+ export declare namespace Action {
57
+ var args: {
58
+ scale: string;
59
+ variant: string;
60
+ title: string;
61
+ action: string;
62
+ };
63
+ }
64
+ export declare function ActionWithSecondaryAction(args: BannerActionProps): JSX.Element;
65
+ export declare namespace ActionWithSecondaryAction {
66
+ var args: {
67
+ scale: string;
68
+ variant: string;
69
+ title: string;
70
+ action: string;
71
+ secondaryAction: string;
72
+ };
73
+ }
74
+ export declare function ActionLarge(args: BannerActionProps): JSX.Element;
75
+ export declare namespace ActionLarge {
76
+ var args: {
77
+ scale: string;
78
+ variant: string;
79
+ title: string;
80
+ description: string;
81
+ action: string;
82
+ };
83
+ }
84
+ export declare function ActionLargeWithSecondaryAction(args: BannerActionProps): JSX.Element;
85
+ export declare namespace ActionLargeWithSecondaryAction {
86
+ var args: {
87
+ scale: string;
88
+ variant: string;
89
+ title: string;
90
+ description: string;
91
+ action: string;
92
+ secondaryAction: string;
93
+ };
94
+ }
95
+ export declare function ActionLargeDismissibleWithSecondaryAction(args: BannerActionProps): JSX.Element;
96
+ export declare namespace ActionLargeDismissibleWithSecondaryAction {
97
+ var args: {
98
+ scale: string;
99
+ variant: string;
100
+ title: string;
101
+ description: string;
102
+ action: string;
103
+ secondaryAction: string;
104
+ dismissible: boolean;
105
+ };
106
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
- export { default as Banner, BannerLarge, BannerAction, BannerActionLarge } from './Banner';
2
- export type { BannerProps, BannerActionProps } from './Banner';
1
+ export { default as Banner, BannerLarge, BannerAction, BannerActionLarge } from './Banner';
2
+ export type { BannerProps, BannerActionProps } from './Banner';
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,8 +1,8 @@
1
- import { HTMLAttributes } from 'react';
2
- export interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
3
- active?: boolean;
4
- label: string;
5
- url?: string;
6
- }
7
- declare function Breadcrumb({ active, label, url, ...rest }: BreadcrumbProps): JSX.Element;
8
- export default Breadcrumb;
1
+ import { HTMLAttributes } from 'react';
2
+ export interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
3
+ active?: boolean;
4
+ label: string;
5
+ url?: string;
6
+ }
7
+ declare function Breadcrumb({ active, label, url, ...rest }: BreadcrumbProps): JSX.Element;
8
+ export default Breadcrumb;
@@ -1,10 +1,10 @@
1
- import { MouseEvent } from 'react';
2
- import { BreadcrumbProps } from './Breadcrumb';
3
- export interface BreadcrumbsProps {
4
- className?: string;
5
- disabled?: boolean;
6
- entries: BreadcrumbProps[];
7
- onBack?: (e: MouseEvent<HTMLButtonElement>) => void;
8
- }
9
- declare function Breadcrumbs({ entries, onBack, disabled, ...others }: BreadcrumbsProps): JSX.Element;
10
- export default Breadcrumbs;
1
+ import { MouseEvent } from 'react';
2
+ import { BreadcrumbProps } from './Breadcrumb';
3
+ export interface BreadcrumbsProps {
4
+ className?: string;
5
+ disabled?: boolean;
6
+ entries: BreadcrumbProps[];
7
+ onBack?: (e: MouseEvent<HTMLButtonElement>) => void;
8
+ }
9
+ declare function Breadcrumbs({ entries, onBack, disabled, ...others }: BreadcrumbsProps): JSX.Element;
10
+ export default Breadcrumbs;
@@ -1,5 +1,5 @@
1
- import { BreadcrumbsProps } from './Breadcrumbs';
2
- import type { Story, Meta } from '@storybook/react/types-6-0';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
4
- export default _default;
5
- export declare const Playground: Story<BreadcrumbsProps>;
1
+ import { BreadcrumbsProps } from './Breadcrumbs';
2
+ import type { Story, Meta } from '@storybook/react/types-6-0';
3
+ declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
4
+ export default _default;
5
+ export declare const Playground: Story<BreadcrumbsProps>;
@@ -1,3 +1,3 @@
1
- export { default as Breadcrumbs } from './Breadcrumbs';
2
- export type { BreadcrumbsProps } from './Breadcrumbs';
3
- export type { BreadcrumbProps } from './Breadcrumb';
1
+ export { default as Breadcrumbs } from './Breadcrumbs';
2
+ export type { BreadcrumbsProps } from './Breadcrumbs';
3
+ export type { BreadcrumbProps } from './Breadcrumb';