@strapi/design-system 1.14.0-typescript.1 → 1.14.0

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 (356) hide show
  1. package/dist/BaseCheckbox/assets/checkmark-black.svg.js +1 -1
  2. package/dist/BaseCheckbox/assets/checkmark-black.svg.mjs +1 -1
  3. package/dist/BaseCheckbox/assets/checkmark.svg.js +1 -1
  4. package/dist/BaseCheckbox/assets/checkmark.svg.mjs +1 -1
  5. package/dist/FocusTrap/FocusTrap.js +3 -3
  6. package/dist/FocusTrap/FocusTrap.mjs +3 -3
  7. package/dist/Loader/assets/loader.svg.js +1 -1
  8. package/dist/Loader/assets/loader.svg.mjs +1 -1
  9. package/dist/Pagination/assets/next.svg.js +1 -1
  10. package/dist/Pagination/assets/next.svg.mjs +1 -1
  11. package/dist/Pagination/assets/previous.svg.js +1 -1
  12. package/dist/Pagination/assets/previous.svg.mjs +1 -1
  13. package/dist/themes/common-theme.js +1 -1
  14. package/dist/themes/common-theme.mjs +1 -1
  15. package/dist/v2/Pagination/assets/next.svg.js +1 -1
  16. package/dist/v2/Pagination/assets/next.svg.mjs +1 -1
  17. package/dist/v2/Pagination/assets/previous.svg.js +1 -1
  18. package/dist/v2/Pagination/assets/previous.svg.mjs +1 -1
  19. package/package.json +9 -9
  20. package/dist/Accordion/Accordion.d.ts +0 -54
  21. package/dist/Accordion/AccordionContent.d.ts +0 -3
  22. package/dist/Accordion/AccordionContext.d.ts +0 -12
  23. package/dist/Accordion/AccordionGroup.d.ts +0 -10
  24. package/dist/Accordion/AccordionToggle.d.ts +0 -22
  25. package/dist/Accordion/index.d.ts +0 -4
  26. package/dist/Accordion/utils.d.ts +0 -7
  27. package/dist/Alert/Alert.d.ts +0 -34
  28. package/dist/Alert/index.d.ts +0 -1
  29. package/dist/Alert/utils.d.ts +0 -10
  30. package/dist/Avatar/Avatar.d.ts +0 -22
  31. package/dist/Avatar/AvatarGroup.d.ts +0 -1
  32. package/dist/Avatar/__tests__/Avatar.spec.d.ts +0 -1
  33. package/dist/Avatar/constants.d.ts +0 -2
  34. package/dist/Avatar/index.d.ts +0 -2
  35. package/dist/Badge/Badge.d.ts +0 -13
  36. package/dist/Badge/index.d.ts +0 -1
  37. package/dist/BaseButton/BaseButton.d.ts +0 -52
  38. package/dist/BaseButton/index.d.ts +0 -1
  39. package/dist/BaseCheckbox/BaseCheckbox.d.ts +0 -27
  40. package/dist/BaseCheckbox/index.d.ts +0 -1
  41. package/dist/BaseCheckbox/utils.d.ts +0 -7
  42. package/dist/BaseLink/BaseLink.d.ts +0 -50
  43. package/dist/BaseLink/__tests__/BaseLink.spec.d.ts +0 -1
  44. package/dist/BaseLink/index.d.ts +0 -1
  45. package/dist/BaseRadio/BaseRadio.d.ts +0 -6
  46. package/dist/BaseRadio/RadioGroup.d.ts +0 -12
  47. package/dist/BaseRadio/context.d.ts +0 -9
  48. package/dist/BaseRadio/index.d.ts +0 -2
  49. package/dist/BaseRadio/utils.d.ts +0 -4
  50. package/dist/Box/Box.d.ts +0 -97
  51. package/dist/Box/__tests__/Box.spec.d.ts +0 -1
  52. package/dist/Box/index.d.ts +0 -1
  53. package/dist/Breadcrumbs/Breadcrumbs.d.ts +0 -17
  54. package/dist/Breadcrumbs/index.d.ts +0 -1
  55. package/dist/Button/Button.d.ts +0 -61
  56. package/dist/Button/__tests__/utils.spec.d.ts +0 -1
  57. package/dist/Button/constants.d.ts +0 -13
  58. package/dist/Button/index.d.ts +0 -1
  59. package/dist/Button/utils.d.ts +0 -18
  60. package/dist/Card/Card.d.ts +0 -5
  61. package/dist/Card/CardAction.d.ts +0 -8
  62. package/dist/Card/CardAsset.d.ts +0 -7
  63. package/dist/Card/CardBadge.d.ts +0 -3
  64. package/dist/Card/CardBody.d.ts +0 -3
  65. package/dist/Card/CardCheckbox.d.ts +0 -3
  66. package/dist/Card/CardContent.d.ts +0 -6
  67. package/dist/Card/CardContext.d.ts +0 -6
  68. package/dist/Card/CardHeader.d.ts +0 -3
  69. package/dist/Card/CardTimer.d.ts +0 -6
  70. package/dist/Card/CardTitle.d.ts +0 -5
  71. package/dist/Card/index.d.ts +0 -10
  72. package/dist/CarouselInput/Carousel.d.ts +0 -15
  73. package/dist/CarouselInput/CarouselActions.d.ts +0 -10
  74. package/dist/CarouselInput/CarouselImage.d.ts +0 -6
  75. package/dist/CarouselInput/CarouselInput.d.ts +0 -8
  76. package/dist/CarouselInput/CarouselSlide.d.ts +0 -7
  77. package/dist/CarouselInput/index.d.ts +0 -5
  78. package/dist/Checkbox/Checkbox.d.ts +0 -9
  79. package/dist/Checkbox/index.d.ts +0 -1
  80. package/dist/Combobox/Combobox.d.ts +0 -60
  81. package/dist/Combobox/ComboboxList.d.ts +0 -10
  82. package/dist/Combobox/ComboboxOption.d.ts +0 -3
  83. package/dist/Combobox/__tests__/Combobox.spec.d.ts +0 -1
  84. package/dist/Combobox/index.d.ts +0 -3
  85. package/dist/DatePicker/DatePicker.d.ts +0 -78
  86. package/dist/DatePicker/__tests__/DatePicker.spec.d.ts +0 -1
  87. package/dist/DatePicker/index.d.ts +0 -2
  88. package/dist/DateTimePicker/DateTimePicker.d.ts +0 -32
  89. package/dist/DateTimePicker/__tests__/DateTimePicker.spec.d.ts +0 -1
  90. package/dist/DateTimePicker/index.d.ts +0 -1
  91. package/dist/DesignSystemProvider.d.ts +0 -10
  92. package/dist/Dialog/Dialog.d.ts +0 -7
  93. package/dist/Dialog/DialogBody.d.ts +0 -6
  94. package/dist/Dialog/DialogFooter.d.ts +0 -6
  95. package/dist/Dialog/__tests__/Dialog.spec.d.ts +0 -1
  96. package/dist/Dialog/index.d.ts +0 -3
  97. package/dist/DismissibleLayer/index.d.ts +0 -3
  98. package/dist/Divider/Divider.d.ts +0 -9
  99. package/dist/Divider/index.d.ts +0 -1
  100. package/dist/EmptyStateLayout/EmptyStateLayout.d.ts +0 -7
  101. package/dist/EmptyStateLayout/index.d.ts +0 -1
  102. package/dist/EmptyStateLayout/story-assets/Illo.d.ts +0 -1
  103. package/dist/Field/Field.d.ts +0 -14
  104. package/dist/Field/FieldAction.d.ts +0 -7
  105. package/dist/Field/FieldContext.d.ts +0 -10
  106. package/dist/Field/FieldError.d.ts +0 -1
  107. package/dist/Field/FieldHint.d.ts +0 -1
  108. package/dist/Field/FieldInput.d.ts +0 -61
  109. package/dist/Field/FieldLabel.d.ts +0 -11
  110. package/dist/Field/__tests__/Field.spec.d.ts +0 -1
  111. package/dist/Field/index.d.ts +0 -7
  112. package/dist/Flex/Flex.d.ts +0 -15
  113. package/dist/Flex/index.d.ts +0 -1
  114. package/dist/FocusTrap/FocusTrap.d.ts +0 -12
  115. package/dist/FocusTrap/index.d.ts +0 -1
  116. package/dist/Grid/Grid.d.ts +0 -7
  117. package/dist/Grid/GridItem.d.ts +0 -47
  118. package/dist/Grid/index.d.ts +0 -2
  119. package/dist/Icon/Icon.d.ts +0 -7
  120. package/dist/Icon/index.d.ts +0 -1
  121. package/dist/IconButton/IconButton.d.ts +0 -41
  122. package/dist/IconButton/index.d.ts +0 -1
  123. package/dist/JSONInput/JSONInput.d.ts +0 -15
  124. package/dist/JSONInput/__tests__/JSONInput.spec.d.ts +0 -1
  125. package/dist/JSONInput/index.d.ts +0 -1
  126. package/dist/JSONInput/utils/decorationExtension.d.ts +0 -7
  127. package/dist/KeyboardNavigable/KeyboardNavigable.d.ts +0 -6
  128. package/dist/KeyboardNavigable/index.d.ts +0 -1
  129. package/dist/Layout/ActionLayout.d.ts +0 -6
  130. package/dist/Layout/ContentLayout.d.ts +0 -5
  131. package/dist/Layout/GridLayout.d.ts +0 -1
  132. package/dist/Layout/HeaderLayout.d.ts +0 -18
  133. package/dist/Layout/Layout.d.ts +0 -6
  134. package/dist/Layout/TwoColsLayout.d.ts +0 -6
  135. package/dist/Layout/index.d.ts +0 -6
  136. package/dist/Link/Link.d.ts +0 -18
  137. package/dist/Link/index.d.ts +0 -1
  138. package/dist/LinkButton/LinkButton.d.ts +0 -22
  139. package/dist/LinkButton/index.d.ts +0 -1
  140. package/dist/LiveRegions/LiveRegions.d.ts +0 -1
  141. package/dist/LiveRegions/__tests__/LiveRegions.spec.d.ts +0 -1
  142. package/dist/LiveRegions/constants.d.ts +0 -5
  143. package/dist/LiveRegions/index.d.ts +0 -2
  144. package/dist/LiveRegions/useNotifyAT.d.ts +0 -5
  145. package/dist/Loader/Loader.d.ts +0 -6
  146. package/dist/Loader/index.d.ts +0 -1
  147. package/dist/Main/Main.d.ts +0 -5
  148. package/dist/Main/SkipToContent.d.ts +0 -4
  149. package/dist/Main/index.d.ts +0 -2
  150. package/dist/MainNav/MainNav.d.ts +0 -5
  151. package/dist/MainNav/MainNavContext.d.ts +0 -2
  152. package/dist/MainNav/NavBrand.d.ts +0 -8
  153. package/dist/MainNav/NavCondense.d.ts +0 -5
  154. package/dist/MainNav/NavFooter.d.ts +0 -5
  155. package/dist/MainNav/NavLink.d.ts +0 -9
  156. package/dist/MainNav/NavSection.d.ts +0 -11
  157. package/dist/MainNav/NavSections.d.ts +0 -10
  158. package/dist/MainNav/NavUser.d.ts +0 -7
  159. package/dist/MainNav/index.d.ts +0 -8
  160. package/dist/ModalLayout/ModalBody.d.ts +0 -2
  161. package/dist/ModalLayout/ModalContext.d.ts +0 -2
  162. package/dist/ModalLayout/ModalFooter.d.ts +0 -5
  163. package/dist/ModalLayout/ModalHeader.d.ts +0 -6
  164. package/dist/ModalLayout/ModalLayout.d.ts +0 -6
  165. package/dist/ModalLayout/__tests__/ModalLayout.spec.d.ts +0 -1
  166. package/dist/ModalLayout/index.d.ts +0 -4
  167. package/dist/NumberInput/NumberInput.d.ts +0 -11
  168. package/dist/NumberInput/index.d.ts +0 -1
  169. package/dist/Pagination/Pagination.d.ts +0 -8
  170. package/dist/Pagination/PaginationContext.d.ts +0 -6
  171. package/dist/Pagination/components.d.ts +0 -26
  172. package/dist/Pagination/index.d.ts +0 -2
  173. package/dist/Popover/Popover.d.ts +0 -21
  174. package/dist/Popover/__tests__/Popover.spec.d.ts +0 -1
  175. package/dist/Popover/index.d.ts +0 -3
  176. package/dist/Popover/primitives.d.ts +0 -3
  177. package/dist/Portal/Portal.d.ts +0 -6
  178. package/dist/Portal/index.d.ts +0 -1
  179. package/dist/ProgressBar/ProgressBar.d.ts +0 -11
  180. package/dist/ProgressBar/index.d.ts +0 -1
  181. package/dist/Radio/Radio.d.ts +0 -5
  182. package/dist/Radio/__tests__/Radio.spec.d.ts +0 -1
  183. package/dist/Radio/index.d.ts +0 -2
  184. package/dist/RawTable/RawCell.d.ts +0 -14
  185. package/dist/RawTable/RawTable.d.ts +0 -16
  186. package/dist/RawTable/RawTableContext.d.ts +0 -10
  187. package/dist/RawTable/RawTbody.d.ts +0 -5
  188. package/dist/RawTable/RawThead.d.ts +0 -5
  189. package/dist/RawTable/RawTr.d.ts +0 -5
  190. package/dist/RawTable/focusFocusable.d.ts +0 -1
  191. package/dist/RawTable/index.d.ts +0 -5
  192. package/dist/Searchbar/SearchForm.d.ts +0 -3
  193. package/dist/Searchbar/Searchbar.d.ts +0 -9
  194. package/dist/Searchbar/index.d.ts +0 -2
  195. package/dist/Select/MultiSelect.d.ts +0 -40
  196. package/dist/Select/MultiSelectNested.d.ts +0 -13
  197. package/dist/Select/OptGroup.d.ts +0 -9
  198. package/dist/Select/Option.d.ts +0 -13
  199. package/dist/Select/Select.d.ts +0 -18
  200. package/dist/Select/SelectList.d.ts +0 -25
  201. package/dist/Select/SelectParts.d.ts +0 -67
  202. package/dist/Select/SingleSelect.d.ts +0 -41
  203. package/dist/Select/__tests__/MultiSelect.spec.d.ts +0 -1
  204. package/dist/Select/__tests__/MultiSelectNested.spec.d.ts +0 -1
  205. package/dist/Select/__tests__/Select.spec.d.ts +0 -1
  206. package/dist/Select/__tests__/SingleSelect.spec.d.ts +0 -1
  207. package/dist/Select/index.d.ts +0 -17
  208. package/dist/SimpleMenu/SimpleMenu.d.ts +0 -33
  209. package/dist/SimpleMenu/__tests__/SimpleMenu.spec.d.ts +0 -1
  210. package/dist/SimpleMenu/index.d.ts +0 -1
  211. package/dist/SimpleMenu/utils.d.ts +0 -3
  212. package/dist/Stack/Stack.d.ts +0 -20
  213. package/dist/Stack/index.d.ts +0 -1
  214. package/dist/Status/Status.d.ts +0 -15
  215. package/dist/Status/__tests__/Status.spec.d.ts +0 -1
  216. package/dist/Status/index.d.ts +0 -1
  217. package/dist/SubNav/SubNav.d.ts +0 -6
  218. package/dist/SubNav/SubNavHeader.d.ts +0 -13
  219. package/dist/SubNav/SubNavLink.d.ts +0 -8
  220. package/dist/SubNav/SubNavLinkSection.d.ts +0 -7
  221. package/dist/SubNav/SubNavSection.d.ts +0 -9
  222. package/dist/SubNav/SubNavSectionLabel.d.ts +0 -8
  223. package/dist/SubNav/SubNavSections.d.ts +0 -10
  224. package/dist/SubNav/index.d.ts +0 -6
  225. package/dist/Switch/Switch.d.ts +0 -13
  226. package/dist/Switch/index.d.ts +0 -1
  227. package/dist/Table/Cell.d.ts +0 -8
  228. package/dist/Table/TFooter.d.ts +0 -7
  229. package/dist/Table/Table.d.ts +0 -7
  230. package/dist/Table/Tbody.d.ts +0 -2
  231. package/dist/Table/Thead.d.ts +0 -2
  232. package/dist/Table/Tr.d.ts +0 -2
  233. package/dist/Table/index.d.ts +0 -6
  234. package/dist/Tabs/TabGroup.d.ts +0 -13
  235. package/dist/Tabs/TabPanels.d.ts +0 -9
  236. package/dist/Tabs/Tabs.d.ts +0 -17
  237. package/dist/Tabs/TabsContext.d.ts +0 -10
  238. package/dist/Tabs/components.d.ts +0 -94
  239. package/dist/Tabs/index.d.ts +0 -3
  240. package/dist/Tag/Tag.d.ts +0 -5
  241. package/dist/Tag/__tests__/Tag.spec.d.ts +0 -1
  242. package/dist/Tag/index.d.ts +0 -1
  243. package/dist/TextButton/TextButton.d.ts +0 -8
  244. package/dist/TextButton/index.d.ts +0 -1
  245. package/dist/TextInput/TextInput.d.ts +0 -10
  246. package/dist/TextInput/__tests__/TextInput.spec.d.ts +0 -1
  247. package/dist/TextInput/index.d.ts +0 -1
  248. package/dist/Textarea/Textarea.d.ts +0 -17
  249. package/dist/Textarea/index.d.ts +0 -1
  250. package/dist/ThemeProvider/ThemeProvider.d.ts +0 -10
  251. package/dist/ThemeProvider/hooks.d.ts +0 -1
  252. package/dist/ThemeProvider/index.d.ts +0 -2
  253. package/dist/TimePicker/TimePicker.d.ts +0 -26
  254. package/dist/TimePicker/__tests__/TimePicker.spec.d.ts +0 -1
  255. package/dist/TimePicker/index.d.ts +0 -1
  256. package/dist/ToggleCheckbox/ToggleCheckbox.d.ts +0 -10
  257. package/dist/ToggleCheckbox/index.d.ts +0 -1
  258. package/dist/ToggleInput/ToggleInput.d.ts +0 -24
  259. package/dist/ToggleInput/__tests__/ToggleInput.spec.d.ts +0 -1
  260. package/dist/ToggleInput/index.d.ts +0 -1
  261. package/dist/Tooltip/Tooltip.d.ts +0 -11
  262. package/dist/Tooltip/__tests__/Tooltip.spec.d.ts +0 -1
  263. package/dist/Tooltip/hooks/useTooltipHandlers.d.ts +0 -7
  264. package/dist/Tooltip/hooks/useTooltipLayout.d.ts +0 -5
  265. package/dist/Tooltip/index.d.ts +0 -1
  266. package/dist/Tooltip/utils/__tests__/positionTooltip.spec.d.ts +0 -1
  267. package/dist/Tooltip/utils/positionTooltip.d.ts +0 -5
  268. package/dist/Typography/Typography.d.ts +0 -19
  269. package/dist/Typography/__tests__/Typography.spec.d.ts +0 -1
  270. package/dist/Typography/constants.d.ts +0 -8
  271. package/dist/Typography/index.d.ts +0 -1
  272. package/dist/Typography/utils.d.ts +0 -9
  273. package/dist/VisuallyHidden/VisuallyHidden.d.ts +0 -1
  274. package/dist/VisuallyHidden/index.d.ts +0 -1
  275. package/dist/helpers/__tests__/deprecations.spec.d.ts +0 -1
  276. package/dist/helpers/context.d.ts +0 -7
  277. package/dist/helpers/deprecations.d.ts +0 -2
  278. package/dist/helpers/getDefaultLocale.d.ts +0 -5
  279. package/dist/helpers/getFocusableNodes.d.ts +0 -10
  280. package/dist/helpers/handleResponsiveValues.d.ts +0 -17
  281. package/dist/helpers/keyboardKeys.d.ts +0 -17
  282. package/dist/helpers/objects.d.ts +0 -8
  283. package/dist/helpers/setOpacity.d.ts +0 -1
  284. package/dist/helpers/setTabIndexOnFirstItem.d.ts +0 -1
  285. package/dist/helpers/strings.d.ts +0 -1
  286. package/dist/helpers/theme.d.ts +0 -2
  287. package/dist/helpers/useElementOnScreen.d.ts +0 -6
  288. package/dist/helpers/useId.d.ts +0 -6
  289. package/dist/helpers/useIntersection.d.ts +0 -6
  290. package/dist/helpers/useLockScroll.d.ts +0 -7
  291. package/dist/helpers/usePrevious.d.ts +0 -6
  292. package/dist/helpers/useResizeObserver.d.ts +0 -6
  293. package/dist/hooks/__tests__/useId.spec.d.ts +0 -1
  294. package/dist/hooks/useComposeRefs.d.ts +0 -29
  295. package/dist/hooks/useControllableState.d.ts +0 -19
  296. package/dist/hooks/useDateFormatter.d.ts +0 -28
  297. package/dist/hooks/useElementOnScreen.d.ts +0 -1
  298. package/dist/hooks/useId.d.ts +0 -1
  299. package/dist/hooks/useIntersection.d.ts +0 -7
  300. package/dist/hooks/useLockScroll.d.ts +0 -2
  301. package/dist/hooks/usePrevious.d.ts +0 -1
  302. package/dist/hooks/useResizeObserver.d.ts +0 -2
  303. package/dist/index.d.ts +0 -66
  304. package/dist/themes/__tests__/extendTheme.spec.d.ts +0 -1
  305. package/dist/themes/colors.d.ts +0 -54
  306. package/dist/themes/common-theme.d.ts +0 -19
  307. package/dist/themes/darkTheme/dark-colors.d.ts +0 -4
  308. package/dist/themes/darkTheme/dark-shadows.d.ts +0 -4
  309. package/dist/themes/darkTheme/index.d.ts +0 -2
  310. package/dist/themes/extendTheme.d.ts +0 -2
  311. package/dist/themes/index.d.ts +0 -10
  312. package/dist/themes/lightTheme/index.d.ts +0 -2
  313. package/dist/themes/lightTheme/light-colors.d.ts +0 -4
  314. package/dist/themes/lightTheme/light-shadows.d.ts +0 -4
  315. package/dist/themes/sizes.d.ts +0 -21
  316. package/dist/themes/utils.d.ts +0 -12
  317. package/dist/types.d.ts +0 -3
  318. package/dist/v2/Breadcrumbs/Breadcrumbs.d.ts +0 -8
  319. package/dist/v2/Breadcrumbs/Crumb.d.ts +0 -8
  320. package/dist/v2/Breadcrumbs/CrumbLink.d.ts +0 -5
  321. package/dist/v2/Breadcrumbs/CrumbSimpleMenu.d.ts +0 -11
  322. package/dist/v2/Breadcrumbs/Divider.d.ts +0 -4
  323. package/dist/v2/Breadcrumbs/__tests__/Breadcrumbs.spec.d.ts +0 -1
  324. package/dist/v2/Breadcrumbs/index.d.ts +0 -4
  325. package/dist/v2/Link/Link.d.ts +0 -11
  326. package/dist/v2/Link/index.d.ts +0 -1
  327. package/dist/v2/LinkButton/LinkButton.d.ts +0 -61
  328. package/dist/v2/LinkButton/index.d.ts +0 -1
  329. package/dist/v2/MainNav/MainNav.d.ts +0 -5
  330. package/dist/v2/MainNav/MainNavContext.d.ts +0 -2
  331. package/dist/v2/MainNav/NavBrand.d.ts +0 -9
  332. package/dist/v2/MainNav/NavCondense.d.ts +0 -5
  333. package/dist/v2/MainNav/NavFooter.d.ts +0 -5
  334. package/dist/v2/MainNav/NavLink.d.ts +0 -9
  335. package/dist/v2/MainNav/NavSection.d.ts +0 -9
  336. package/dist/v2/MainNav/NavSections.d.ts +0 -8
  337. package/dist/v2/MainNav/NavUser.d.ts +0 -8
  338. package/dist/v2/MainNav/index.d.ts +0 -8
  339. package/dist/v2/Pagination/Pagination.d.ts +0 -8
  340. package/dist/v2/Pagination/PaginationContext.d.ts +0 -6
  341. package/dist/v2/Pagination/components.d.ts +0 -16
  342. package/dist/v2/Pagination/index.d.ts +0 -2
  343. package/dist/v2/SimpleMenu/Menu.d.ts +0 -56
  344. package/dist/v2/SimpleMenu/SimpleMenu.d.ts +0 -62
  345. package/dist/v2/SimpleMenu/__tests__/Menu.spec.d.ts +0 -1
  346. package/dist/v2/SimpleMenu/__tests__/SimpleMenu.spec.d.ts +0 -1
  347. package/dist/v2/SimpleMenu/index.d.ts +0 -1
  348. package/dist/v2/SubNav/SubNav.d.ts +0 -6
  349. package/dist/v2/SubNav/SubNavHeader.d.ts +0 -13
  350. package/dist/v2/SubNav/SubNavLink.d.ts +0 -9
  351. package/dist/v2/SubNav/SubNavLinkSection.d.ts +0 -7
  352. package/dist/v2/SubNav/SubNavSection.d.ts +0 -9
  353. package/dist/v2/SubNav/SubNavSectionLabel.d.ts +0 -9
  354. package/dist/v2/SubNav/SubNavSections.d.ts +0 -8
  355. package/dist/v2/SubNav/index.d.ts +0 -6
  356. package/dist/v2/index.d.ts +0 -7
@@ -1,22 +0,0 @@
1
- import * as React from 'react';
2
- import { NavLinkProps } from 'react-router-dom';
3
- import { BaseButtonProps } from '../BaseButton';
4
- import { VARIANTS, BUTTON_SIZES } from '../Button/constants';
5
- interface SharedLinkProps extends BaseButtonProps {
6
- disabled?: boolean;
7
- endIcon?: React.ReactNode;
8
- size?: (typeof BUTTON_SIZES)[number];
9
- startIcon?: React.ReactNode;
10
- variant?: (typeof VARIANTS)[number];
11
- }
12
- interface ToLinkProps extends SharedLinkProps {
13
- to: NavLinkProps['to'];
14
- href?: never;
15
- }
16
- interface HrefLinkProps extends SharedLinkProps {
17
- href: string;
18
- to?: never;
19
- }
20
- type LinkButtonProps = ToLinkProps | HrefLinkProps;
21
- export declare const LinkButton: React.ForwardRefExoticComponent<LinkButtonProps & React.RefAttributes<HTMLAnchorElement>>;
22
- export {};
@@ -1 +0,0 @@
1
- export * from './LinkButton';
@@ -1 +0,0 @@
1
- export declare const LiveRegions: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- export declare const LiveRegionIds: {
2
- Log: string;
3
- Status: string;
4
- Alert: string;
5
- };
@@ -1,2 +0,0 @@
1
- export * from './useNotifyAT';
2
- export { LiveRegions } from './LiveRegions';
@@ -1,5 +0,0 @@
1
- export declare const useNotifyAT: () => {
2
- notifyLog: (message: string) => void;
3
- notifyAlert: (message: string) => void;
4
- notifyStatus: (message: string) => void;
5
- };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- interface LoaderProps extends React.HTMLAttributes<HTMLDivElement> {
3
- small?: boolean;
4
- }
5
- export declare const Loader: React.ForwardRefExoticComponent<LoaderProps & React.RefAttributes<HTMLDivElement>>;
6
- export {};
@@ -1 +0,0 @@
1
- export * from './Loader';
@@ -1,5 +0,0 @@
1
- import { BoxProps } from '../Box';
2
- export interface MainProps extends BoxProps<'main'> {
3
- labelledBy?: string | undefined;
4
- }
5
- export declare const Main: ({ labelledBy, ...props }: MainProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- export interface SkipToContentProps {
2
- children?: React.ReactNode;
3
- }
4
- export declare const SkipToContent: ({ children }: SkipToContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './Main';
2
- export * from './SkipToContent';
@@ -1,5 +0,0 @@
1
- import { FlexProps } from '../Flex';
2
- export interface MainNavProps extends FlexProps {
3
- condensed?: boolean;
4
- }
5
- export declare const MainNav: ({ condensed, ...props }: MainNavProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export declare const MainNavContext: import("react").Context<boolean>;
2
- export declare const useMainNav: () => boolean;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- export interface NavBrandProps {
3
- icon?: React.ReactNode;
4
- title: string;
5
- to?: string;
6
- workplace: string;
7
- }
8
- export declare const NavBrand: ({ workplace, title, icon, to }: NavBrandProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export interface NavCondenseWrapperProps {
3
- children: React.ReactNode;
4
- }
5
- export declare const NavCondense: ({ children, ...props }: NavCondenseWrapperProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export interface NavFooterProps {
3
- children: React.ReactNode;
4
- }
5
- export declare const NavFooter: ({ children }: NavFooterProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { LinkProps } from 'react-router-dom';
3
- export interface NavLinkProps extends LinkProps {
4
- badgeAriaLabel: string;
5
- badgeContent: string | number;
6
- children: React.ReactNode;
7
- icon: React.ReactNode;
8
- }
9
- export declare const NavLink: ({ children, icon, badgeContent, badgeAriaLabel, ...props }: NavLinkProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +0,0 @@
1
- import { FlexProps } from '../Flex';
2
- export interface NavSectionProps extends FlexProps {
3
- label: string;
4
- horizontal?: boolean;
5
- /**
6
- * @preserve
7
- * @deprecated Use gap instead;
8
- */
9
- spacing?: FlexProps['gap'];
10
- }
11
- export declare const NavSection: ({ label, children, spacing, horizontal, ...props }: NavSectionProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +0,0 @@
1
- import { FlexProps } from '../Flex';
2
- export interface NavSectionsProps extends FlexProps {
3
- horizontal?: boolean;
4
- /**
5
- * @preserve
6
- * @deprecated Use gap instead;
7
- */
8
- spacing?: FlexProps['gap'];
9
- }
10
- export declare const NavSections: ({ children, spacing, horizontal, ...props }: NavSectionsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { BoxProps } from '../Box';
3
- export interface NavUserProps extends BoxProps {
4
- initials: string;
5
- src?: string;
6
- }
7
- export declare const NavUser: React.ForwardRefExoticComponent<NavUserProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,8 +0,0 @@
1
- export * from './MainNav';
2
- export * from './NavBrand';
3
- export * from './NavCondense';
4
- export * from './NavFooter';
5
- export * from './NavLink';
6
- export * from './NavSection';
7
- export * from './NavSections';
8
- export * from './NavUser';
@@ -1,2 +0,0 @@
1
- import { BoxProps } from '../Box';
2
- export declare const ModalBody: (props: BoxProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export declare const ModalContext: import("react").Context<() => void>;
2
- export declare const useModal: () => () => void;
@@ -1,5 +0,0 @@
1
- export interface ModalFooterProps {
2
- endActions?: React.ReactNode;
3
- startActions?: React.ReactNode;
4
- }
5
- export declare const ModalFooter: ({ startActions, endActions }: ModalFooterProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- interface ModalHeaderProps {
2
- children: React.ReactNode;
3
- closeLabel?: string;
4
- }
5
- export declare const ModalHeader: ({ children, closeLabel }: ModalHeaderProps) => import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,6 +0,0 @@
1
- import { BoxProps } from '../Box';
2
- export interface ModalLayoutProps extends BoxProps {
3
- labelledBy: string;
4
- onClose: () => void;
5
- }
6
- export declare const ModalLayout: ({ onClose, labelledBy, ...props }: ModalLayoutProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export * from './ModalLayout';
2
- export * from './ModalHeader';
3
- export * from './ModalFooter';
4
- export * from './ModalBody';
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { FieldInputProps, FieldProps, FieldLabelProps } from '../Field';
3
- export interface NumberInputProps extends Omit<FieldInputProps, 'id' | 'name' | 'onChange' | 'value'>, Pick<FieldProps, 'hint' | 'error' | 'id' | 'name'> {
4
- label?: string;
5
- labelAction?: FieldLabelProps['action'];
6
- onValueChange: (value: number | undefined) => void;
7
- locale?: string;
8
- value?: number;
9
- step?: number;
10
- }
11
- export declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
@@ -1 +0,0 @@
1
- export * from './NumberInput';
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- export interface PaginationProps {
3
- activePage: number;
4
- children: React.ReactNode;
5
- label?: string;
6
- pageCount: number;
7
- }
8
- export declare const Pagination: ({ children, label, activePage, pageCount }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- export interface PaginationContextValue {
2
- activePage: number;
3
- pageCount: number;
4
- }
5
- export declare const PaginationContext: import("react").Context<PaginationContextValue>;
6
- export declare const usePagination: () => PaginationContextValue;
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
- import { NavLinkProps } from 'react-router-dom';
3
- import { BoxProps } from '../Box';
4
- interface PaginationLinkProps extends NavLinkProps {
5
- active: boolean;
6
- children: React.ReactNode;
7
- }
8
- interface PaginationPageLinkProps extends PaginationLinkProps {
9
- number: number;
10
- }
11
- interface DotsProps extends BoxProps {
12
- }
13
- export declare const PreviousLink: {
14
- ({ children, to, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
15
- displayName: string;
16
- };
17
- export declare const NextLink: {
18
- ({ children, to, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
19
- displayName: string;
20
- };
21
- export declare const PageLink: {
22
- ({ number, children, ...props }: PaginationPageLinkProps): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
25
- export declare const Dots: ({ children, ...props }: DotsProps) => import("react/jsx-runtime").JSX.Element;
26
- export {};
@@ -1,2 +0,0 @@
1
- export * from './Pagination';
2
- export * from './components';
@@ -1,21 +0,0 @@
1
- import * as React from 'react';
2
- import { Placement } from '@floating-ui/react-dom';
3
- import { BoxProps } from '../Box';
4
- import { DismissibleLayerProps } from '../DismissibleLayer';
5
- export declare const POPOVER_PLACEMENTS: readonly ["top", "top-start", "top-end", "right", "right-start", "right-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end"];
6
- export interface ContentProps extends BoxProps<'div'>, Pick<DismissibleLayerProps, 'onEscapeKeyDown' | 'onPointerDownOutside' | 'onDismiss' | 'onFocusOutside'> {
7
- source: React.MutableRefObject<HTMLElement>;
8
- placement?: Placement;
9
- fullWidth?: boolean;
10
- centered?: boolean;
11
- spacing?: number;
12
- hideAria?: boolean;
13
- }
14
- export declare const Content: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
15
- export interface ScrollingProps extends BoxProps<'div'> {
16
- intersectionId?: string;
17
- onReachEnd?: (entry: IntersectionObserverEntry) => void;
18
- }
19
- export declare const Scrolling: ({ children, intersectionId, onReachEnd, ...props }: ScrollingProps) => import("react/jsx-runtime").JSX.Element;
20
- export type PopoverProps = ScrollingProps & Pick<ContentProps, 'source' | 'spacing' | 'fullWidth' | 'placement' | 'centered' | 'onEscapeKeyDown' | 'onPointerDownOutside' | 'onDismiss'>;
21
- export declare const Popover: ({ children, source, spacing, fullWidth, placement, centered, onEscapeKeyDown, onPointerDownOutside, onDismiss, ...restProps }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export { Popover, POPOVER_PLACEMENTS } from './Popover';
2
- export type { PopoverProps } from './Popover';
3
- export * as PopoverPrimitives from './primitives';
@@ -1,3 +0,0 @@
1
- import { Content, Scrolling, ContentProps, ScrollingProps } from './Popover';
2
- export { Content, Scrolling };
3
- export type { ContentProps, ScrollingProps };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import { BoxProps } from '../Box';
3
- export interface PortalProps extends BoxProps<'div'> {
4
- container?: HTMLElement | null;
5
- }
6
- export declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<HTMLDivElement>>;
@@ -1 +0,0 @@
1
- export * from './Portal';
@@ -1,11 +0,0 @@
1
- import { BoxProps } from '../Box';
2
- type Enumerate<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : Enumerate<N, [...Acc, Acc['length']]>;
3
- type IntRange<F extends number, T extends number> = Exclude<Enumerate<T>, Enumerate<F>>;
4
- export interface ProgressBarProps extends Omit<BoxProps, 'background' | 'hasRadius' | 'height' | 'position' | 'width'> {
5
- max?: IntRange<0, 101>;
6
- min?: IntRange<0, 101>;
7
- size?: 'S' | 'M';
8
- value?: IntRange<0, 101>;
9
- }
10
- export declare const ProgressBar: ({ min, max, value, children, size, ...props }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1 +0,0 @@
1
- export * from './ProgressBar';
@@ -1,5 +0,0 @@
1
- import { BaseRadioProps } from '../BaseRadio/BaseRadio';
2
- export interface RadioProps extends BaseRadioProps {
3
- children: React.ReactNode;
4
- }
5
- export declare const Radio: ({ children, ...props }: RadioProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export * from './Radio';
2
- export { RadioGroup } from '../BaseRadio/RadioGroup';
@@ -1,14 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { BoxProps } from '../Box';
3
- export interface RawTdProps extends BoxProps<'td'> {
4
- 'aria-colindex'?: number;
5
- as?: 'td' | 'th';
6
- children?: ReactNode;
7
- coords?: {
8
- col: number;
9
- row: number;
10
- };
11
- }
12
- export type RawThProps = Omit<RawTdProps, 'as'>;
13
- export declare const RawTh: (props: RawThProps) => import("react/jsx-runtime").JSX.Element;
14
- export declare const RawTd: ({ coords, as, ...props }: RawTdProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +0,0 @@
1
- import { TableHTMLAttributes } from 'react';
2
- export interface RawTableProps extends TableHTMLAttributes<HTMLTableElement> {
3
- colCount: number;
4
- initialCol?: number;
5
- initialRow?: number;
6
- jumpStep?: number;
7
- rowCount: number;
8
- }
9
- export declare const RawTable: ({ colCount, rowCount, jumpStep, initialCol, initialRow, ...props }: {
10
- [x: string]: any;
11
- colCount: any;
12
- rowCount: any;
13
- jumpStep?: number | undefined;
14
- initialCol?: number | undefined;
15
- initialRow?: number | undefined;
16
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +0,0 @@
1
- export interface RawTableContextValue {
2
- rowIndex: number;
3
- colIndex: number;
4
- setTableValues: ({ rowIndex, colIndex }: {
5
- rowIndex: number;
6
- colIndex: number;
7
- }) => void;
8
- }
9
- export declare const RawTableContext: import("react").Context<RawTableContextValue>;
10
- export declare const useTable: () => RawTableContextValue;
@@ -1,5 +0,0 @@
1
- import { TableHTMLAttributes, ReactNode } from 'react';
2
- export interface RawTbodyProps extends TableHTMLAttributes<HTMLTableSectionElement> {
3
- children: ReactNode;
4
- }
5
- export declare const RawTbody: ({ children, ...props }: RawTbodyProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { TableHTMLAttributes, ReactNode } from 'react';
2
- export interface RawTheadProps extends TableHTMLAttributes<HTMLTableSectionElement> {
3
- children: ReactNode;
4
- }
5
- export declare const RawThead: ({ children, ...props }: RawTheadProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { BoxProps } from '../Box';
2
- export interface RawTrProps extends BoxProps<'tr'> {
3
- 'aria-rowindex'?: number;
4
- }
5
- export declare const RawTr: ({ children, ...props }: RawTrProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const focusFocusable: (node: any) => void;
@@ -1,5 +0,0 @@
1
- export * from './RawTable';
2
- export * from './RawCell';
3
- export * from './RawThead';
4
- export * from './RawTbody';
5
- export * from './RawTr';
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- export type SearchFormProps = Omit<React.FormHTMLAttributes<HTMLFormElement>, 'role'>;
3
- export declare const SearchForm: (props: SearchFormProps) => JSX.Element;
@@ -1,9 +0,0 @@
1
- import React, { MouseEventHandler } from 'react';
2
- import { FieldInputProps, FieldProps } from '../Field';
3
- export interface SearchbarProps extends Omit<FieldInputProps, 'id' | 'name'>, Pick<FieldProps, 'id' | 'name'> {
4
- name: string;
5
- value?: string;
6
- onClear: MouseEventHandler<any>;
7
- clearLabel: string;
8
- }
9
- export declare const Searchbar: React.ForwardRefExoticComponent<SearchbarProps & React.RefAttributes<HTMLInputElement>>;
@@ -1,2 +0,0 @@
1
- export * from './Searchbar';
2
- export * from './SearchForm';
@@ -1,40 +0,0 @@
1
- import * as React from 'react';
2
- import * as SelectParts from './SelectParts';
3
- import { FieldLabelProps, FieldProps } from '../Field';
4
- type MultiSelectPropsWithoutLabel = Omit<SelectParts.MultiSelectProps, 'value' | 'multi'> & Pick<SelectParts.ContentProps, 'onCloseAutoFocus'> & Pick<SelectParts.TriggerProps, 'clearLabel' | 'onClear' | 'size' | 'startIcon' | 'placeholder'> & Pick<FieldProps, 'hint' | 'id' | 'error'> & {
5
- /**
6
- * @default (value) => value.join(',')
7
- */
8
- customizeContent?(value?: string[]): string;
9
- labelAction?: FieldLabelProps['action'];
10
- onChange?: (value: string[]) => void;
11
- onReachEnd?: (entry: IntersectionObserverEntry) => void;
12
- /**
13
- * @preserve
14
- * @deprecated This prop is no longer required and will be removed in v2 of the DS.
15
- * It has no effect on the component.
16
- */
17
- selectButtonTitle?: string;
18
- value?: string[] | null;
19
- withTags?: boolean;
20
- };
21
- export type MultiSelectProps = (MultiSelectPropsWithoutLabel & {
22
- label: string;
23
- 'aria-label'?: never;
24
- }) | (MultiSelectPropsWithoutLabel & {
25
- 'aria-label': string;
26
- label?: never;
27
- });
28
- export declare const MultiSelect: React.ForwardRefExoticComponent<MultiSelectProps & React.RefAttributes<HTMLDivElement>>;
29
- export interface MultiSelectOptionProps extends Omit<SelectParts.ItemProps, 'value'> {
30
- startIcon?: React.ReactNode;
31
- value: string | number;
32
- }
33
- export declare const MultiSelectOption: React.ForwardRefExoticComponent<MultiSelectOptionProps & React.RefAttributes<HTMLDivElement>>;
34
- export interface MultiSelectGroupProps extends Pick<MultiSelectOptionProps, 'startIcon'> {
35
- children: React.ReactNode;
36
- label: string;
37
- values?: string[];
38
- }
39
- export declare const MultiSelectGroup: React.ForwardRefExoticComponent<MultiSelectGroupProps & React.RefAttributes<HTMLDivElement>>;
40
- export {};
@@ -1,13 +0,0 @@
1
- import { MultiSelectGroupProps, MultiSelectOptionProps, MultiSelectProps } from './MultiSelect';
2
- interface MulitSelectNestedOption extends Omit<MultiSelectOptionProps, 'children' | 'value'> {
3
- value: string | number;
4
- label: string;
5
- }
6
- interface MulitSelectNestedGroup extends Omit<MultiSelectGroupProps, 'children'> {
7
- children: Array<MulitSelectNestedOption>;
8
- }
9
- export type MultiSelectNestedProps = MultiSelectProps & {
10
- options: Array<MulitSelectNestedOption | MulitSelectNestedGroup>;
11
- };
12
- export declare const MultiSelectNested: ({ options, ...props }: MultiSelectNestedProps) => import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1,9 +0,0 @@
1
- import { MultiSelectGroupProps } from './MultiSelect';
2
- /**
3
- * @preserve
4
- * @deprecated This component is only fit for the MultiSelect component.
5
- * Therefore, you should import the MultiSelectGroup component instead.
6
- */
7
- declare const OptGroup: import("react").ForwardRefExoticComponent<MultiSelectGroupProps & import("react").RefAttributes<HTMLDivElement>>;
8
- export { OptGroup };
9
- export type { MultiSelectGroupProps as OptGroupProps };
@@ -1,13 +0,0 @@
1
- import { MultiSelectOptionProps } from './MultiSelect';
2
- import { SingleSelectOptionProps } from './SingleSelect';
3
- export type OptionProps = (SingleSelectOptionProps & {
4
- multi?: never;
5
- }) | (MultiSelectOptionProps & {
6
- multi: true;
7
- });
8
- /**
9
- * @preserve
10
- * @deprecated You should import the specific type of option you want to render,
11
- * e.g. `import { MultiSelectOption } from '@strapi/design-system';`
12
- */
13
- export declare const Option: ({ multi, ...restProps }: OptionProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,18 +0,0 @@
1
- import { MultiSelectProps } from './MultiSelect';
2
- import { SingleSelectProps } from './SingleSelect';
3
- export type SelectProps = (SingleSelectProps & {
4
- multi?: never;
5
- withTags?: never;
6
- }) | (MultiSelectProps & {
7
- multi: true;
8
- });
9
- export declare const useSelectContext: () => {
10
- multi: boolean;
11
- };
12
- /**
13
- * @preserve
14
- * @deprecated You should import the specific type of select you want to render
15
- *
16
- * e.g. `import { MultiSelect } from '@strapi/design-system';`
17
- */
18
- export declare const Select: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,25 +0,0 @@
1
- import * as React from 'react';
2
- declare const DownState: {
3
- readonly Keyboard: "down:keyboard";
4
- readonly Mouse: "down:mouse";
5
- };
6
- declare const UpState: {
7
- readonly Keyboard: "up:keyboard";
8
- readonly Mouse: "up:mouse";
9
- };
10
- type AllStates = (typeof DownState)[keyof typeof DownState] | (typeof UpState)[keyof typeof UpState];
11
- export interface SelectListProps {
12
- labelledBy?: string;
13
- multi?: boolean;
14
- expanded: AllStates;
15
- onEscape: () => void;
16
- onSelectItem: (value: string | string[], group?: string) => void;
17
- children: React.ReactNode;
18
- }
19
- /**
20
- * @preserve
21
- * @deprecated This component will be removed in the next major release.
22
- * If you need a custom listbox I would recommend opening a new issue.
23
- */
24
- export declare const SelectList: ({ labelledBy, onSelectItem, children, multi, onEscape, expanded, }: SelectListProps) => import("react/jsx-runtime").JSX.Element;
25
- export {};