@strapi/design-system 2.0.0-beta.0 → 2.0.0-beta.2

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 (523) hide show
  1. package/dist/Accordion/Accordion.d.ts +1 -0
  2. package/dist/Accordion/Accordion.d.ts.map +1 -0
  3. package/dist/Accordion/AccordionContent.d.ts +1 -0
  4. package/dist/Accordion/AccordionContent.d.ts.map +1 -0
  5. package/dist/Accordion/AccordionContext.d.ts +1 -0
  6. package/dist/Accordion/AccordionContext.d.ts.map +1 -0
  7. package/dist/Accordion/AccordionGroup.d.ts +1 -0
  8. package/dist/Accordion/AccordionGroup.d.ts.map +1 -0
  9. package/dist/Accordion/AccordionToggle.d.ts +3 -2
  10. package/dist/Accordion/AccordionToggle.d.ts.map +1 -0
  11. package/dist/Accordion/index.d.ts +1 -0
  12. package/dist/Accordion/index.d.ts.map +1 -0
  13. package/dist/Accordion/utils.d.ts +1 -0
  14. package/dist/Accordion/utils.d.ts.map +1 -0
  15. package/dist/Alert/Alert.d.ts +2 -1
  16. package/dist/Alert/Alert.d.ts.map +1 -0
  17. package/dist/Alert/index.d.ts +1 -0
  18. package/dist/Alert/index.d.ts.map +1 -0
  19. package/dist/Alert/utils.d.ts +1 -0
  20. package/dist/Alert/utils.d.ts.map +1 -0
  21. package/dist/Avatar/Avatar.d.ts +1 -0
  22. package/dist/Avatar/Avatar.d.ts.map +1 -0
  23. package/dist/Avatar/AvatarGroup.d.ts +1 -0
  24. package/dist/Avatar/AvatarGroup.d.ts.map +1 -0
  25. package/dist/Avatar/constants.d.ts +1 -0
  26. package/dist/Avatar/constants.d.ts.map +1 -0
  27. package/dist/Avatar/index.d.ts +1 -0
  28. package/dist/Avatar/index.d.ts.map +1 -0
  29. package/dist/Badge/Badge.d.ts +1 -0
  30. package/dist/Badge/Badge.d.ts.map +1 -0
  31. package/dist/Badge/index.d.ts +1 -0
  32. package/dist/Badge/index.d.ts.map +1 -0
  33. package/dist/BaseButton/BaseButton.d.ts +2 -0
  34. package/dist/BaseButton/BaseButton.d.ts.map +1 -0
  35. package/dist/BaseButton/index.d.ts +1 -0
  36. package/dist/BaseButton/index.d.ts.map +1 -0
  37. package/dist/BaseCheckbox/BaseCheckbox.d.ts +1 -0
  38. package/dist/BaseCheckbox/BaseCheckbox.d.ts.map +1 -0
  39. package/dist/BaseCheckbox/index.d.ts +1 -0
  40. package/dist/BaseCheckbox/index.d.ts.map +1 -0
  41. package/dist/BaseCheckbox/utils.d.ts +1 -0
  42. package/dist/BaseCheckbox/utils.d.ts.map +1 -0
  43. package/dist/BaseLink/BaseLink.d.ts +2 -0
  44. package/dist/BaseLink/BaseLink.d.ts.map +1 -0
  45. package/dist/BaseLink/index.d.ts +1 -0
  46. package/dist/BaseLink/index.d.ts.map +1 -0
  47. package/dist/BaseRadio/BaseRadio.d.ts +1 -0
  48. package/dist/BaseRadio/BaseRadio.d.ts.map +1 -0
  49. package/dist/BaseRadio/RadioGroup.d.ts +1 -0
  50. package/dist/BaseRadio/RadioGroup.d.ts.map +1 -0
  51. package/dist/BaseRadio/context.d.ts +1 -0
  52. package/dist/BaseRadio/context.d.ts.map +1 -0
  53. package/dist/BaseRadio/index.d.ts +1 -0
  54. package/dist/BaseRadio/index.d.ts.map +1 -0
  55. package/dist/BaseRadio/utils.d.ts +1 -0
  56. package/dist/BaseRadio/utils.d.ts.map +1 -0
  57. package/dist/Box/Box.d.ts +5 -0
  58. package/dist/Box/Box.d.ts.map +1 -0
  59. package/dist/Box/index.d.ts +1 -0
  60. package/dist/Box/index.d.ts.map +1 -0
  61. package/dist/Breadcrumbs/Breadcrumbs.d.ts +1 -0
  62. package/dist/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  63. package/dist/Breadcrumbs/Crumb.d.ts +1 -0
  64. package/dist/Breadcrumbs/Crumb.d.ts.map +1 -0
  65. package/dist/Breadcrumbs/CrumbLink.d.ts +1 -0
  66. package/dist/Breadcrumbs/CrumbLink.d.ts.map +1 -0
  67. package/dist/Breadcrumbs/CrumbSimpleMenu.d.ts +3 -2
  68. package/dist/Breadcrumbs/CrumbSimpleMenu.d.ts.map +1 -0
  69. package/dist/Breadcrumbs/Divider.d.ts +1 -0
  70. package/dist/Breadcrumbs/Divider.d.ts.map +1 -0
  71. package/dist/Breadcrumbs/index.d.ts +1 -0
  72. package/dist/Breadcrumbs/index.d.ts.map +1 -0
  73. package/dist/Button/Button.d.ts +2 -0
  74. package/dist/Button/Button.d.ts.map +1 -0
  75. package/dist/Button/constants.d.ts +1 -0
  76. package/dist/Button/constants.d.ts.map +1 -0
  77. package/dist/Button/index.d.ts +1 -0
  78. package/dist/Button/index.d.ts.map +1 -0
  79. package/dist/Button/utils.d.ts +1 -0
  80. package/dist/Button/utils.d.ts.map +1 -0
  81. package/dist/Card/Card.d.ts +1 -0
  82. package/dist/Card/Card.d.ts.map +1 -0
  83. package/dist/Card/CardAction.d.ts +2 -0
  84. package/dist/Card/CardAction.d.ts.map +1 -0
  85. package/dist/Card/CardAsset.d.ts +1 -0
  86. package/dist/Card/CardAsset.d.ts.map +1 -0
  87. package/dist/Card/CardBadge.d.ts +1 -0
  88. package/dist/Card/CardBadge.d.ts.map +1 -0
  89. package/dist/Card/CardBody.d.ts +1 -0
  90. package/dist/Card/CardBody.d.ts.map +1 -0
  91. package/dist/Card/CardCheckbox.d.ts +1 -0
  92. package/dist/Card/CardCheckbox.d.ts.map +1 -0
  93. package/dist/Card/CardContent.d.ts +1 -0
  94. package/dist/Card/CardContent.d.ts.map +1 -0
  95. package/dist/Card/CardContext.d.ts +1 -0
  96. package/dist/Card/CardContext.d.ts.map +1 -0
  97. package/dist/Card/CardHeader.d.ts +1 -0
  98. package/dist/Card/CardHeader.d.ts.map +1 -0
  99. package/dist/Card/CardTimer.d.ts +1 -0
  100. package/dist/Card/CardTimer.d.ts.map +1 -0
  101. package/dist/Card/CardTitle.d.ts +1 -0
  102. package/dist/Card/CardTitle.d.ts.map +1 -0
  103. package/dist/Card/index.d.ts +1 -0
  104. package/dist/Card/index.d.ts.map +1 -0
  105. package/dist/CarouselInput/Carousel.d.ts +3 -2
  106. package/dist/CarouselInput/Carousel.d.ts.map +1 -0
  107. package/dist/CarouselInput/CarouselActions.d.ts +1 -0
  108. package/dist/CarouselInput/CarouselActions.d.ts.map +1 -0
  109. package/dist/CarouselInput/CarouselImage.d.ts +1 -0
  110. package/dist/CarouselInput/CarouselImage.d.ts.map +1 -0
  111. package/dist/CarouselInput/CarouselInput.d.ts +1 -0
  112. package/dist/CarouselInput/CarouselInput.d.ts.map +1 -0
  113. package/dist/CarouselInput/CarouselSlide.d.ts +1 -0
  114. package/dist/CarouselInput/CarouselSlide.d.ts.map +1 -0
  115. package/dist/CarouselInput/index.d.ts +1 -0
  116. package/dist/CarouselInput/index.d.ts.map +1 -0
  117. package/dist/Checkbox/Checkbox.d.ts +1 -0
  118. package/dist/Checkbox/Checkbox.d.ts.map +1 -0
  119. package/dist/Checkbox/index.d.ts +1 -0
  120. package/dist/Checkbox/index.d.ts.map +1 -0
  121. package/dist/Combobox/Combobox.d.ts +1 -0
  122. package/dist/Combobox/Combobox.d.ts.map +1 -0
  123. package/dist/Combobox/ComboboxList.d.ts +1 -0
  124. package/dist/Combobox/ComboboxList.d.ts.map +1 -0
  125. package/dist/Combobox/ComboboxOption.d.ts +1 -0
  126. package/dist/Combobox/ComboboxOption.d.ts.map +1 -0
  127. package/dist/Combobox/index.d.ts +1 -0
  128. package/dist/Combobox/index.d.ts.map +1 -0
  129. package/dist/DatePicker/DatePicker.d.ts +1 -0
  130. package/dist/DatePicker/DatePicker.d.ts.map +1 -0
  131. package/dist/DatePicker/index.d.ts +1 -0
  132. package/dist/DatePicker/index.d.ts.map +1 -0
  133. package/dist/DateTimePicker/DateTimePicker.d.ts +1 -0
  134. package/dist/DateTimePicker/DateTimePicker.d.ts.map +1 -0
  135. package/dist/DateTimePicker/index.d.ts +1 -0
  136. package/dist/DateTimePicker/index.d.ts.map +1 -0
  137. package/dist/DesignSystemProvider.d.ts +1 -0
  138. package/dist/DesignSystemProvider.d.ts.map +1 -0
  139. package/dist/Dialog/Dialog.d.ts +1 -0
  140. package/dist/Dialog/Dialog.d.ts.map +1 -0
  141. package/dist/Dialog/DialogBody.d.ts +1 -0
  142. package/dist/Dialog/DialogBody.d.ts.map +1 -0
  143. package/dist/Dialog/DialogFooter.d.ts +1 -0
  144. package/dist/Dialog/DialogFooter.d.ts.map +1 -0
  145. package/dist/Dialog/index.d.ts +1 -0
  146. package/dist/Dialog/index.d.ts.map +1 -0
  147. package/dist/DismissibleLayer/index.d.ts +1 -0
  148. package/dist/DismissibleLayer/index.d.ts.map +1 -0
  149. package/dist/Divider/Divider.d.ts +1 -0
  150. package/dist/Divider/Divider.d.ts.map +1 -0
  151. package/dist/Divider/index.d.ts +1 -0
  152. package/dist/Divider/index.d.ts.map +1 -0
  153. package/dist/EmptyStateLayout/EmptyStateLayout.d.ts +2 -1
  154. package/dist/EmptyStateLayout/EmptyStateLayout.d.ts.map +1 -0
  155. package/dist/EmptyStateLayout/index.d.ts +1 -0
  156. package/dist/EmptyStateLayout/index.d.ts.map +1 -0
  157. package/dist/EmptyStateLayout/story-assets/Illo.d.ts +1 -0
  158. package/dist/EmptyStateLayout/story-assets/Illo.d.ts.map +1 -0
  159. package/dist/Field/Field.d.ts +1 -0
  160. package/dist/Field/Field.d.ts.map +1 -0
  161. package/dist/Field/FieldAction.d.ts +1 -0
  162. package/dist/Field/FieldAction.d.ts.map +1 -0
  163. package/dist/Field/FieldContext.d.ts +1 -0
  164. package/dist/Field/FieldContext.d.ts.map +1 -0
  165. package/dist/Field/FieldError.d.ts +1 -0
  166. package/dist/Field/FieldError.d.ts.map +1 -0
  167. package/dist/Field/FieldHint.d.ts +1 -0
  168. package/dist/Field/FieldHint.d.ts.map +1 -0
  169. package/dist/Field/FieldInput.d.ts +2 -0
  170. package/dist/Field/FieldInput.d.ts.map +1 -0
  171. package/dist/Field/FieldLabel.d.ts +1 -0
  172. package/dist/Field/FieldLabel.d.ts.map +1 -0
  173. package/dist/Field/index.d.ts +1 -0
  174. package/dist/Field/index.d.ts.map +1 -0
  175. package/dist/Flex/Flex.d.ts +1 -0
  176. package/dist/Flex/Flex.d.ts.map +1 -0
  177. package/dist/Flex/index.d.ts +1 -0
  178. package/dist/Flex/index.d.ts.map +1 -0
  179. package/dist/FocusTrap/FocusTrap.d.ts +1 -0
  180. package/dist/FocusTrap/FocusTrap.d.ts.map +1 -0
  181. package/dist/FocusTrap/index.d.ts +1 -0
  182. package/dist/FocusTrap/index.d.ts.map +1 -0
  183. package/dist/Grid/Grid.d.ts +1 -0
  184. package/dist/Grid/Grid.d.ts.map +1 -0
  185. package/dist/Grid/GridItem.d.ts +3 -1
  186. package/dist/Grid/GridItem.d.ts.map +1 -0
  187. package/dist/Grid/index.d.ts +1 -0
  188. package/dist/Grid/index.d.ts.map +1 -0
  189. package/dist/IconButton/IconButton.d.ts +1 -0
  190. package/dist/IconButton/IconButton.d.ts.map +1 -0
  191. package/dist/IconButton/index.d.ts +1 -0
  192. package/dist/IconButton/index.d.ts.map +1 -0
  193. package/dist/JSONInput/JSONInput.d.ts +1 -0
  194. package/dist/JSONInput/JSONInput.d.ts.map +1 -0
  195. package/dist/JSONInput/index.d.ts +1 -0
  196. package/dist/JSONInput/index.d.ts.map +1 -0
  197. package/dist/JSONInput/utils/decorationExtension.d.ts +1 -0
  198. package/dist/JSONInput/utils/decorationExtension.d.ts.map +1 -0
  199. package/dist/KeyboardNavigable/KeyboardNavigable.d.ts +1 -0
  200. package/dist/KeyboardNavigable/KeyboardNavigable.d.ts.map +1 -0
  201. package/dist/KeyboardNavigable/index.d.ts +1 -0
  202. package/dist/KeyboardNavigable/index.d.ts.map +1 -0
  203. package/dist/Layout/ActionLayout.d.ts +1 -0
  204. package/dist/Layout/ActionLayout.d.ts.map +1 -0
  205. package/dist/Layout/ContentLayout.d.ts +1 -0
  206. package/dist/Layout/ContentLayout.d.ts.map +1 -0
  207. package/dist/Layout/GridLayout.d.ts +1 -0
  208. package/dist/Layout/GridLayout.d.ts.map +1 -0
  209. package/dist/Layout/HeaderLayout.d.ts +1 -0
  210. package/dist/Layout/HeaderLayout.d.ts.map +1 -0
  211. package/dist/Layout/Layout.d.ts +1 -0
  212. package/dist/Layout/Layout.d.ts.map +1 -0
  213. package/dist/Layout/TwoColsLayout.d.ts +1 -0
  214. package/dist/Layout/TwoColsLayout.d.ts.map +1 -0
  215. package/dist/Layout/index.d.ts +1 -0
  216. package/dist/Layout/index.d.ts.map +1 -0
  217. package/dist/Link/Link.d.ts +1 -0
  218. package/dist/Link/Link.d.ts.map +1 -0
  219. package/dist/Link/index.d.ts +1 -0
  220. package/dist/Link/index.d.ts.map +1 -0
  221. package/dist/LinkButton/LinkButton.d.ts +2 -0
  222. package/dist/LinkButton/LinkButton.d.ts.map +1 -0
  223. package/dist/LinkButton/index.d.ts +1 -0
  224. package/dist/LinkButton/index.d.ts.map +1 -0
  225. package/dist/LiveRegions/LiveRegions.d.ts +1 -0
  226. package/dist/LiveRegions/LiveRegions.d.ts.map +1 -0
  227. package/dist/LiveRegions/constants.d.ts +1 -0
  228. package/dist/LiveRegions/constants.d.ts.map +1 -0
  229. package/dist/LiveRegions/index.d.ts +1 -0
  230. package/dist/LiveRegions/index.d.ts.map +1 -0
  231. package/dist/LiveRegions/useNotifyAT.d.ts +1 -0
  232. package/dist/LiveRegions/useNotifyAT.d.ts.map +1 -0
  233. package/dist/Loader/Loader.d.ts +1 -0
  234. package/dist/Loader/Loader.d.ts.map +1 -0
  235. package/dist/Loader/index.d.ts +1 -0
  236. package/dist/Loader/index.d.ts.map +1 -0
  237. package/dist/Main/Main.d.ts +1 -0
  238. package/dist/Main/Main.d.ts.map +1 -0
  239. package/dist/Main/SkipToContent.d.ts +1 -0
  240. package/dist/Main/SkipToContent.d.ts.map +1 -0
  241. package/dist/Main/index.d.ts +1 -0
  242. package/dist/Main/index.d.ts.map +1 -0
  243. package/dist/MainNav/MainNav.d.ts +1 -0
  244. package/dist/MainNav/MainNav.d.ts.map +1 -0
  245. package/dist/MainNav/MainNavContext.d.ts +1 -0
  246. package/dist/MainNav/MainNavContext.d.ts.map +1 -0
  247. package/dist/MainNav/NavBrand.d.ts +1 -0
  248. package/dist/MainNav/NavBrand.d.ts.map +1 -0
  249. package/dist/MainNav/NavCondense.d.ts +1 -0
  250. package/dist/MainNav/NavCondense.d.ts.map +1 -0
  251. package/dist/MainNav/NavFooter.d.ts +1 -0
  252. package/dist/MainNav/NavFooter.d.ts.map +1 -0
  253. package/dist/MainNav/NavLink.d.ts +1 -0
  254. package/dist/MainNav/NavLink.d.ts.map +1 -0
  255. package/dist/MainNav/NavSection.d.ts +1 -0
  256. package/dist/MainNav/NavSection.d.ts.map +1 -0
  257. package/dist/MainNav/NavSections.d.ts +1 -0
  258. package/dist/MainNav/NavSections.d.ts.map +1 -0
  259. package/dist/MainNav/NavUser.d.ts +1 -0
  260. package/dist/MainNav/NavUser.d.ts.map +1 -0
  261. package/dist/MainNav/index.d.ts +1 -0
  262. package/dist/MainNav/index.d.ts.map +1 -0
  263. package/dist/ModalLayout/ModalBody.d.ts +1 -0
  264. package/dist/ModalLayout/ModalBody.d.ts.map +1 -0
  265. package/dist/ModalLayout/ModalContext.d.ts +1 -0
  266. package/dist/ModalLayout/ModalContext.d.ts.map +1 -0
  267. package/dist/ModalLayout/ModalFooter.d.ts +1 -0
  268. package/dist/ModalLayout/ModalFooter.d.ts.map +1 -0
  269. package/dist/ModalLayout/ModalHeader.d.ts +1 -0
  270. package/dist/ModalLayout/ModalHeader.d.ts.map +1 -0
  271. package/dist/ModalLayout/ModalLayout.d.ts +1 -0
  272. package/dist/ModalLayout/ModalLayout.d.ts.map +1 -0
  273. package/dist/ModalLayout/index.d.ts +1 -0
  274. package/dist/ModalLayout/index.d.ts.map +1 -0
  275. package/dist/NumberInput/NumberInput.d.ts +1 -0
  276. package/dist/NumberInput/NumberInput.d.ts.map +1 -0
  277. package/dist/NumberInput/index.d.ts +1 -0
  278. package/dist/NumberInput/index.d.ts.map +1 -0
  279. package/dist/Pagination/Pagination.d.ts +1 -0
  280. package/dist/Pagination/Pagination.d.ts.map +1 -0
  281. package/dist/Pagination/PaginationContext.d.ts +1 -0
  282. package/dist/Pagination/PaginationContext.d.ts.map +1 -0
  283. package/dist/Pagination/components.d.ts +2 -1
  284. package/dist/Pagination/components.d.ts.map +1 -0
  285. package/dist/Pagination/index.d.ts +1 -0
  286. package/dist/Pagination/index.d.ts.map +1 -0
  287. package/dist/Popover/Popover.d.ts +1 -0
  288. package/dist/Popover/Popover.d.ts.map +1 -0
  289. package/dist/Popover/index.d.ts +1 -0
  290. package/dist/Popover/index.d.ts.map +1 -0
  291. package/dist/Popover/primitives.d.ts +1 -0
  292. package/dist/Popover/primitives.d.ts.map +1 -0
  293. package/dist/Portal/Portal.d.ts +1 -0
  294. package/dist/Portal/Portal.d.ts.map +1 -0
  295. package/dist/Portal/index.d.ts +1 -0
  296. package/dist/Portal/index.d.ts.map +1 -0
  297. package/dist/ProgressBar/ProgressBar.d.ts +1 -0
  298. package/dist/ProgressBar/ProgressBar.d.ts.map +1 -0
  299. package/dist/ProgressBar/index.d.ts +1 -0
  300. package/dist/ProgressBar/index.d.ts.map +1 -0
  301. package/dist/Radio/Radio.d.ts +1 -0
  302. package/dist/Radio/Radio.d.ts.map +1 -0
  303. package/dist/Radio/index.d.ts +1 -0
  304. package/dist/Radio/index.d.ts.map +1 -0
  305. package/dist/RawTable/RawCell.d.ts +1 -0
  306. package/dist/RawTable/RawCell.d.ts.map +1 -0
  307. package/dist/RawTable/RawTable.d.ts +1 -0
  308. package/dist/RawTable/RawTable.d.ts.map +1 -0
  309. package/dist/RawTable/RawTableContext.d.ts +1 -0
  310. package/dist/RawTable/RawTableContext.d.ts.map +1 -0
  311. package/dist/RawTable/RawTbody.d.ts +1 -0
  312. package/dist/RawTable/RawTbody.d.ts.map +1 -0
  313. package/dist/RawTable/RawThead.d.ts +1 -0
  314. package/dist/RawTable/RawThead.d.ts.map +1 -0
  315. package/dist/RawTable/RawTr.d.ts +1 -0
  316. package/dist/RawTable/RawTr.d.ts.map +1 -0
  317. package/dist/RawTable/focusFocusable.d.ts +1 -0
  318. package/dist/RawTable/focusFocusable.d.ts.map +1 -0
  319. package/dist/RawTable/index.d.ts +1 -0
  320. package/dist/RawTable/index.d.ts.map +1 -0
  321. package/dist/Searchbar/SearchForm.d.ts +1 -0
  322. package/dist/Searchbar/SearchForm.d.ts.map +1 -0
  323. package/dist/Searchbar/Searchbar.d.ts +1 -0
  324. package/dist/Searchbar/Searchbar.d.ts.map +1 -0
  325. package/dist/Searchbar/index.d.ts +1 -0
  326. package/dist/Searchbar/index.d.ts.map +1 -0
  327. package/dist/Select/MultiSelect.d.ts +1 -0
  328. package/dist/Select/MultiSelect.d.ts.map +1 -0
  329. package/dist/Select/MultiSelectNested.d.ts +1 -0
  330. package/dist/Select/MultiSelectNested.d.ts.map +1 -0
  331. package/dist/Select/SelectParts.d.ts +1 -0
  332. package/dist/Select/SelectParts.d.ts.map +1 -0
  333. package/dist/Select/SingleSelect.d.ts +1 -0
  334. package/dist/Select/SingleSelect.d.ts.map +1 -0
  335. package/dist/Select/index.d.ts +1 -0
  336. package/dist/Select/index.d.ts.map +1 -0
  337. package/dist/SimpleMenu/Menu.d.ts +1 -0
  338. package/dist/SimpleMenu/Menu.d.ts.map +1 -0
  339. package/dist/SimpleMenu/SimpleMenu.d.ts +2 -0
  340. package/dist/SimpleMenu/SimpleMenu.d.ts.map +1 -0
  341. package/dist/SimpleMenu/index.d.ts +1 -0
  342. package/dist/SimpleMenu/index.d.ts.map +1 -0
  343. package/dist/Status/Status.d.ts +1 -0
  344. package/dist/Status/Status.d.ts.map +1 -0
  345. package/dist/Status/index.d.ts +1 -0
  346. package/dist/Status/index.d.ts.map +1 -0
  347. package/dist/SubNav/SubNav.d.ts +1 -0
  348. package/dist/SubNav/SubNav.d.ts.map +1 -0
  349. package/dist/SubNav/SubNavHeader.d.ts +1 -0
  350. package/dist/SubNav/SubNavHeader.d.ts.map +1 -0
  351. package/dist/SubNav/SubNavLink.d.ts +4 -1
  352. package/dist/SubNav/SubNavLink.d.ts.map +1 -0
  353. package/dist/SubNav/SubNavLinkSection.d.ts +1 -0
  354. package/dist/SubNav/SubNavLinkSection.d.ts.map +1 -0
  355. package/dist/SubNav/SubNavSection.d.ts +1 -0
  356. package/dist/SubNav/SubNavSection.d.ts.map +1 -0
  357. package/dist/SubNav/SubNavSectionLabel.d.ts +1 -0
  358. package/dist/SubNav/SubNavSectionLabel.d.ts.map +1 -0
  359. package/dist/SubNav/SubNavSections.d.ts +1 -0
  360. package/dist/SubNav/SubNavSections.d.ts.map +1 -0
  361. package/dist/SubNav/index.d.ts +1 -0
  362. package/dist/SubNav/index.d.ts.map +1 -0
  363. package/dist/Switch/Switch.d.ts +1 -0
  364. package/dist/Switch/Switch.d.ts.map +1 -0
  365. package/dist/Switch/index.d.ts +1 -0
  366. package/dist/Switch/index.d.ts.map +1 -0
  367. package/dist/Table/Cell.d.ts +1 -0
  368. package/dist/Table/Cell.d.ts.map +1 -0
  369. package/dist/Table/TFooter.d.ts +1 -0
  370. package/dist/Table/TFooter.d.ts.map +1 -0
  371. package/dist/Table/Table.d.ts +1 -0
  372. package/dist/Table/Table.d.ts.map +1 -0
  373. package/dist/Table/Tbody.d.ts +1 -0
  374. package/dist/Table/Tbody.d.ts.map +1 -0
  375. package/dist/Table/Thead.d.ts +1 -0
  376. package/dist/Table/Thead.d.ts.map +1 -0
  377. package/dist/Table/Tr.d.ts +1 -0
  378. package/dist/Table/Tr.d.ts.map +1 -0
  379. package/dist/Table/index.d.ts +1 -0
  380. package/dist/Table/index.d.ts.map +1 -0
  381. package/dist/Tabs/TabGroup.d.ts +1 -0
  382. package/dist/Tabs/TabGroup.d.ts.map +1 -0
  383. package/dist/Tabs/TabPanels.d.ts +1 -0
  384. package/dist/Tabs/TabPanels.d.ts.map +1 -0
  385. package/dist/Tabs/Tabs.d.ts +1 -0
  386. package/dist/Tabs/Tabs.d.ts.map +1 -0
  387. package/dist/Tabs/TabsContext.d.ts +1 -0
  388. package/dist/Tabs/TabsContext.d.ts.map +1 -0
  389. package/dist/Tabs/components.d.ts +3 -0
  390. package/dist/Tabs/components.d.ts.map +1 -0
  391. package/dist/Tabs/index.d.ts +1 -0
  392. package/dist/Tabs/index.d.ts.map +1 -0
  393. package/dist/Tag/Tag.d.ts +1 -0
  394. package/dist/Tag/Tag.d.ts.map +1 -0
  395. package/dist/Tag/index.d.ts +1 -0
  396. package/dist/Tag/index.d.ts.map +1 -0
  397. package/dist/TextButton/TextButton.d.ts +1 -0
  398. package/dist/TextButton/TextButton.d.ts.map +1 -0
  399. package/dist/TextButton/index.d.ts +1 -0
  400. package/dist/TextButton/index.d.ts.map +1 -0
  401. package/dist/TextInput/TextInput.d.ts +1 -0
  402. package/dist/TextInput/TextInput.d.ts.map +1 -0
  403. package/dist/TextInput/index.d.ts +1 -0
  404. package/dist/TextInput/index.d.ts.map +1 -0
  405. package/dist/Textarea/Textarea.d.ts +1 -0
  406. package/dist/Textarea/Textarea.d.ts.map +1 -0
  407. package/dist/Textarea/index.d.ts +1 -0
  408. package/dist/Textarea/index.d.ts.map +1 -0
  409. package/dist/ThemeProvider/ThemeProvider.d.ts +1 -0
  410. package/dist/ThemeProvider/ThemeProvider.d.ts.map +1 -0
  411. package/dist/ThemeProvider/hooks.d.ts +1 -0
  412. package/dist/ThemeProvider/hooks.d.ts.map +1 -0
  413. package/dist/ThemeProvider/index.d.ts +1 -0
  414. package/dist/ThemeProvider/index.d.ts.map +1 -0
  415. package/dist/TimePicker/TimePicker.d.ts +1 -0
  416. package/dist/TimePicker/TimePicker.d.ts.map +1 -0
  417. package/dist/TimePicker/index.d.ts +1 -0
  418. package/dist/TimePicker/index.d.ts.map +1 -0
  419. package/dist/ToggleInput/ToggleInput.d.ts +1 -0
  420. package/dist/ToggleInput/ToggleInput.d.ts.map +1 -0
  421. package/dist/ToggleInput/index.d.ts +1 -0
  422. package/dist/ToggleInput/index.d.ts.map +1 -0
  423. package/dist/Tooltip/Tooltip.d.ts +1 -0
  424. package/dist/Tooltip/Tooltip.d.ts.map +1 -0
  425. package/dist/Tooltip/hooks/useTooltipHandlers.d.ts +1 -0
  426. package/dist/Tooltip/hooks/useTooltipHandlers.d.ts.map +1 -0
  427. package/dist/Tooltip/hooks/useTooltipLayout.d.ts +1 -0
  428. package/dist/Tooltip/hooks/useTooltipLayout.d.ts.map +1 -0
  429. package/dist/Tooltip/index.d.ts +1 -0
  430. package/dist/Tooltip/index.d.ts.map +1 -0
  431. package/dist/Tooltip/utils/positionTooltip.d.ts +1 -0
  432. package/dist/Tooltip/utils/positionTooltip.d.ts.map +1 -0
  433. package/dist/Typography/Typography.d.ts +1 -0
  434. package/dist/Typography/Typography.d.ts.map +1 -0
  435. package/dist/Typography/constants.d.ts +1 -0
  436. package/dist/Typography/constants.d.ts.map +1 -0
  437. package/dist/Typography/index.d.ts +1 -0
  438. package/dist/Typography/index.d.ts.map +1 -0
  439. package/dist/Typography/utils.d.ts +1 -0
  440. package/dist/Typography/utils.d.ts.map +1 -0
  441. package/dist/VisuallyHidden/VisuallyHidden.d.ts +1 -0
  442. package/dist/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
  443. package/dist/VisuallyHidden/index.d.ts +1 -0
  444. package/dist/VisuallyHidden/index.d.ts.map +1 -0
  445. package/dist/helpers/context.d.ts +1 -0
  446. package/dist/helpers/context.d.ts.map +1 -0
  447. package/dist/helpers/deprecations.d.ts +1 -0
  448. package/dist/helpers/deprecations.d.ts.map +1 -0
  449. package/dist/helpers/getDefaultLocale.d.ts +1 -0
  450. package/dist/helpers/getDefaultLocale.d.ts.map +1 -0
  451. package/dist/helpers/getFocusableNodes.d.ts +1 -0
  452. package/dist/helpers/getFocusableNodes.d.ts.map +1 -0
  453. package/dist/helpers/handleResponsiveValues.d.ts +3 -2
  454. package/dist/helpers/handleResponsiveValues.d.ts.map +1 -0
  455. package/dist/helpers/keyboardKeys.d.ts +1 -0
  456. package/dist/helpers/keyboardKeys.d.ts.map +1 -0
  457. package/dist/helpers/objects.d.ts +1 -0
  458. package/dist/helpers/objects.d.ts.map +1 -0
  459. package/dist/helpers/setOpacity.d.ts +1 -0
  460. package/dist/helpers/setOpacity.d.ts.map +1 -0
  461. package/dist/helpers/setTabIndexOnFirstItem.d.ts +1 -0
  462. package/dist/helpers/setTabIndexOnFirstItem.d.ts.map +1 -0
  463. package/dist/helpers/strings.d.ts +1 -0
  464. package/dist/helpers/strings.d.ts.map +1 -0
  465. package/dist/helpers/theme.d.ts +1 -0
  466. package/dist/helpers/theme.d.ts.map +1 -0
  467. package/dist/hooks/useComposeRefs.d.ts +1 -0
  468. package/dist/hooks/useComposeRefs.d.ts.map +1 -0
  469. package/dist/hooks/useControllableState.d.ts +1 -0
  470. package/dist/hooks/useControllableState.d.ts.map +1 -0
  471. package/dist/hooks/useDateFormatter.d.ts +1 -0
  472. package/dist/hooks/useDateFormatter.d.ts.map +1 -0
  473. package/dist/hooks/useElementOnScreen.d.ts +1 -0
  474. package/dist/hooks/useElementOnScreen.d.ts.map +1 -0
  475. package/dist/hooks/useId.d.ts +1 -0
  476. package/dist/hooks/useId.d.ts.map +1 -0
  477. package/dist/hooks/useIntersection.d.ts +1 -0
  478. package/dist/hooks/useIntersection.d.ts.map +1 -0
  479. package/dist/hooks/useLockScroll.d.ts +1 -0
  480. package/dist/hooks/useLockScroll.d.ts.map +1 -0
  481. package/dist/hooks/usePrevious.d.ts +1 -0
  482. package/dist/hooks/usePrevious.d.ts.map +1 -0
  483. package/dist/hooks/useResizeObserver.d.ts +1 -0
  484. package/dist/hooks/useResizeObserver.d.ts.map +1 -0
  485. package/dist/index.d.ts +2 -1
  486. package/dist/index.d.ts.map +1 -0
  487. package/dist/index.js +106 -180
  488. package/dist/index.js.map +1 -1
  489. package/dist/index.mjs +107 -181
  490. package/dist/index.mjs.map +1 -1
  491. package/dist/themes/colors.d.ts +1 -0
  492. package/dist/themes/colors.d.ts.map +1 -0
  493. package/dist/themes/common-theme.d.ts +1 -0
  494. package/dist/themes/common-theme.d.ts.map +1 -0
  495. package/dist/themes/darkTheme/dark-colors.d.ts +1 -0
  496. package/dist/themes/darkTheme/dark-colors.d.ts.map +1 -0
  497. package/dist/themes/darkTheme/dark-shadows.d.ts +1 -0
  498. package/dist/themes/darkTheme/dark-shadows.d.ts.map +1 -0
  499. package/dist/themes/darkTheme/index.d.ts +1 -0
  500. package/dist/themes/darkTheme/index.d.ts.map +1 -0
  501. package/dist/themes/extendTheme.d.ts +1 -0
  502. package/dist/themes/extendTheme.d.ts.map +1 -0
  503. package/dist/themes/index.d.ts +1 -0
  504. package/dist/themes/index.d.ts.map +1 -0
  505. package/dist/themes/lightTheme/index.d.ts +1 -0
  506. package/dist/themes/lightTheme/index.d.ts.map +1 -0
  507. package/dist/themes/lightTheme/light-colors.d.ts +1 -0
  508. package/dist/themes/lightTheme/light-colors.d.ts.map +1 -0
  509. package/dist/themes/lightTheme/light-shadows.d.ts +1 -0
  510. package/dist/themes/lightTheme/light-shadows.d.ts.map +1 -0
  511. package/dist/themes/sizes.d.ts +1 -0
  512. package/dist/themes/sizes.d.ts.map +1 -0
  513. package/dist/themes/utils.d.ts +1 -0
  514. package/dist/themes/utils.d.ts.map +1 -0
  515. package/dist/types.d.ts +1 -0
  516. package/dist/types.d.ts.map +1 -0
  517. package/dist/utilities/AccessibleIcon/AccessibleIcon.d.ts +13 -0
  518. package/dist/utilities/AccessibleIcon/AccessibleIcon.d.ts.map +1 -0
  519. package/dist/utilities/AccessibleIcon/index.d.ts +2 -0
  520. package/dist/utilities/AccessibleIcon/index.d.ts.map +1 -0
  521. package/package.json +10 -10
  522. package/dist/Icon/Icon.d.ts +0 -7
  523. package/dist/Icon/index.d.ts +0 -1
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import * as DismissibleLayerPrimitive from "@radix-ui/react-dismissable-layer";
6
6
  import { DateFormatter, getLocalTimeZone, today, minDate, maxDate, startOfMonth, startOfWeek, getDayOfWeek, isSameDay, endOfMonth, parseAbsolute, toCalendarDate, parseAbsoluteToLocal, toCalendarDateTime } from "@internationalized/date";
7
7
  import { useCallbackRef, Combobox as Combobox$1, Select, composeEventHandlers } from "@strapi/ui-primitives";
8
8
  import { composeEventHandlers as composeEventHandlers2, useCallbackRef as useCallbackRef2, useCollator, useFilter } from "@strapi/ui-primitives";
9
- import { Loader as Loader$1, CarretDown, Cross, CheckCircle, ExclamationMarkCircle, Information, ExternalLink, ChevronRight, ChevronLeft, Calendar, Clock, Search, Dot } from "@strapi/icons";
9
+ import { Loader as Loader$1, CaretDown, Cross, CheckCircle, WarningCircle, Information, ExternalLink, ChevronRight, ChevronLeft, Calendar, Clock, Search } from "@strapi/icons";
10
10
  import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
11
11
  import { createPortal } from "react-dom";
12
12
  import { useFloating, offset, shift as shift$1, flip, autoUpdate } from "@floating-ui/react-dom";
@@ -82,15 +82,19 @@ const Box = styled.div.withConfig({
82
82
  color: ${({ theme: theme2, color }) => extractStyleFromTheme(theme2.colors, color, void 0)};
83
83
 
84
84
  // Spaces
85
- ${({ theme: theme2, padding }) => handleResponsiveValues("padding", padding, theme2)}
86
- ${({ theme: theme2, paddingTop }) => handleResponsiveValues("padding-top", paddingTop, theme2)}
87
- ${({ theme: theme2, paddingRight }) => handleResponsiveValues("padding-right", paddingRight, theme2)}
88
- ${({ theme: theme2, paddingBottom }) => handleResponsiveValues("padding-bottom", paddingBottom, theme2)}
89
- ${({ theme: theme2, paddingLeft }) => handleResponsiveValues("padding-left", paddingLeft, theme2)}
90
- ${({ theme: theme2, marginLeft }) => handleResponsiveValues("margin-left", marginLeft, theme2)}
91
- ${({ theme: theme2, marginRight }) => handleResponsiveValues("margin-right", marginRight, theme2)}
92
- ${({ theme: theme2, marginTop }) => handleResponsiveValues("margin-top", marginTop, theme2)}
93
- ${({ theme: theme2, marginBottom }) => handleResponsiveValues("margin-bottom", marginBottom, theme2)}
85
+ ${({ theme: theme2, padding }) => handleResponsiveValues("padding-block", padding, theme2)}
86
+ ${({ theme: theme2, padding }) => handleResponsiveValues("padding-inline", padding, theme2)}
87
+ ${({ theme: theme2, paddingTop }) => handleResponsiveValues("padding-block-start", paddingTop, theme2)}
88
+ ${({ theme: theme2, paddingRight }) => handleResponsiveValues("padding-inline-end", paddingRight, theme2)}
89
+ ${({ theme: theme2, paddingBottom }) => handleResponsiveValues("padding-block-end", paddingBottom, theme2)}
90
+ ${({ theme: theme2, paddingLeft }) => handleResponsiveValues("padding-inline-start", paddingLeft, theme2)}
91
+
92
+ ${({ theme: theme2, margin }) => handleResponsiveValues("margin-block", margin, theme2)}
93
+ ${({ theme: theme2, margin }) => handleResponsiveValues("margin-inline", margin, theme2)}
94
+ ${({ theme: theme2, marginLeft }) => handleResponsiveValues("margin-inline-start", marginLeft, theme2)}
95
+ ${({ theme: theme2, marginRight }) => handleResponsiveValues("margin-inline-end", marginRight, theme2)}
96
+ ${({ theme: theme2, marginTop }) => handleResponsiveValues("margin-block-start", marginTop, theme2)}
97
+ ${({ theme: theme2, marginBottom }) => handleResponsiveValues("margin-block-end", marginBottom, theme2)}
94
98
 
95
99
  // Responsive hiding
96
100
  ${({ theme: theme2, hiddenS }) => hiddenS ? `${theme2.mediaQueries.tablet} { display: none; }` : void 0}
@@ -373,18 +377,6 @@ const getBackground = ({
373
377
  }
374
378
  return boxBackground;
375
379
  };
376
- const IconWrapper$1 = styled(Box)`
377
- path {
378
- fill: ${({ color, theme: theme2 }) => extractStyleFromTheme(theme2.colors, color, void 0)};
379
- }
380
- ${({ theme: theme2, colors }) => colors(theme2)}
381
- `;
382
- const Icon = React.forwardRef(
383
- ({ color = "neutral600", colors = () => "", ...restProps }, ref) => {
384
- return /* @__PURE__ */ jsx(IconWrapper$1, { ref, color, colors, ...restProps });
385
- }
386
- );
387
- Icon.displayName = "Icon";
388
380
  const getThemeSize = (type) => {
389
381
  return ({ theme: theme2, size }) => theme2.sizes[type][size];
390
382
  };
@@ -491,13 +483,10 @@ const ToggleButton = styled(TextButton)`
491
483
  max-width: 100%;
492
484
  }
493
485
 
494
- svg {
486
+ & > svg {
495
487
  width: 1.4rem;
496
488
  height: 1.4rem;
497
-
498
- path {
499
- fill: ${({ theme: theme2, expanded }) => expanded ? theme2.colors.primary600 : theme2.colors.neutral500};
500
- }
489
+ fill: ${({ theme: theme2, expanded }) => expanded ? theme2.colors.primary600 : theme2.colors.neutral500};
501
490
  }
502
491
  `;
503
492
  const FlexWithSize = styled(Flex)`
@@ -505,8 +494,8 @@ const FlexWithSize = styled(Flex)`
505
494
  border-radius: ${({ theme: theme2, expanded }) => expanded ? `${theme2.borderRadius} ${theme2.borderRadius} 0 0` : theme2.borderRadius};
506
495
 
507
496
  &:hover {
508
- svg {
509
- path {
497
+ ${ToggleButton} {
498
+ svg {
510
499
  fill: ${({ theme: theme2 }) => theme2.colors.primary600};
511
500
  }
512
501
  }
@@ -565,7 +554,7 @@ const AccordionToggle = ({
565
554
  background: iconColor,
566
555
  cursor: disabled ? "not-allowed" : "pointer",
567
556
  shrink: 0,
568
- children: /* @__PURE__ */ jsx(Icon, { as: CarretDown, width: size === "M" ? `1.1rem` : `0.8rem`, color: expanded ? "primary600" : "neutral600" })
557
+ children: /* @__PURE__ */ jsx(CaretDown, { width: size === "M" ? `1.6rem` : `1.2rem`, fill: expanded ? "primary600" : "neutral600" })
569
558
  }
570
559
  );
571
560
  const stopPropagation = (e) => {
@@ -786,16 +775,30 @@ const handleIconColor = ({ theme: theme2, variant }) => {
786
775
  }
787
776
  return theme2.colors.primary700;
788
777
  };
778
+ const VisuallyHidden = styled.div`
779
+ border: 0;
780
+ clip: rect(0 0 0 0);
781
+ height: 1px;
782
+ margin: -1px;
783
+ overflow: hidden;
784
+ padding: 0;
785
+ position: absolute;
786
+ width: 1px;
787
+ `;
788
+ const AccessibleIcon = ({ children, label }) => {
789
+ const child = React.Children.only(children);
790
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
791
+ React.cloneElement(child, {
792
+ // accessibility
793
+ "aria-hidden": "true",
794
+ focusable: "false"
795
+ // See: https://allyjs.io/tutorials/focusing-in-svg.html#making-svg-elements-focusable
796
+ }),
797
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: label })
798
+ ] });
799
+ };
800
+ AccessibleIcon.displayName = "AccessibleIcon";
789
801
  const CloseButton = styled(Box)`
790
- svg {
791
- height: 100%;
792
- width: 100%;
793
-
794
- path {
795
- fill: ${({ theme: theme2 }) => theme2.colors.neutral700};
796
- }
797
- }
798
-
799
802
  ${buttonFocusStyle};
800
803
  `;
801
804
  const AlertIconWrapper = styled(Flex)`
@@ -813,7 +816,7 @@ const AlertIcon = ({ variant, ...props }) => {
813
816
  return /* @__PURE__ */ jsx(CheckCircle, { ...props });
814
817
  }
815
818
  if (variant === "danger" || variant === "warning") {
816
- return /* @__PURE__ */ jsx(ExclamationMarkCircle, { ...props });
819
+ return /* @__PURE__ */ jsx(WarningCircle, { ...props });
817
820
  }
818
821
  return /* @__PURE__ */ jsx(Information, { ...props });
819
822
  };
@@ -872,12 +875,12 @@ const Alert = ({
872
875
  as: "button",
873
876
  background: "transparent",
874
877
  borderColor: void 0,
875
- height: "1.2rem",
876
- width: "1.2rem",
878
+ height: "1.6rem",
879
+ width: "1.6rem",
877
880
  marginTop: 1,
878
881
  onClick: onClose,
879
- "aria-label": closeLabel,
880
- children: /* @__PURE__ */ jsx(Cross, { "aria-hidden": true })
882
+ color: "neutral700",
883
+ children: /* @__PURE__ */ jsx(AccessibleIcon, { label: closeLabel, children: /* @__PURE__ */ jsx(Cross, {}) })
881
884
  }
882
885
  )
883
886
  ]
@@ -997,16 +1000,6 @@ const Badge = ({
997
1000
  );
998
1001
  };
999
1002
  const BaseButtonWrapper = styled(Flex)`
1000
- > svg {
1001
- height: ${({ theme: theme2 }) => theme2.spaces[3]};
1002
- width: ${({ theme: theme2 }) => theme2.spaces[3]};
1003
-
1004
- > g,
1005
- path {
1006
- fill: ${({ theme: theme2 }) => theme2.colors.neutral0};
1007
- }
1008
- }
1009
-
1010
1003
  &[aria-disabled='true'] {
1011
1004
  pointer-events: none;
1012
1005
  }
@@ -1495,7 +1488,6 @@ const ButtonWrapper = styled(BaseButton)`
1495
1488
 
1496
1489
  svg {
1497
1490
  height: 1.2rem;
1498
- width: auto;
1499
1491
  }
1500
1492
 
1501
1493
  &[aria-disabled='true'] {
@@ -1602,7 +1594,7 @@ const Link = React.forwardRef(
1602
1594
  );
1603
1595
  const MenuRoot = DropdownMenu.Root;
1604
1596
  const MenuTrigger = React.forwardRef(
1605
- ({ size, endIcon = /* @__PURE__ */ jsx(CarretDown, { width: "0.6rem", height: "0.4rem", "aria-hidden": true }), ...props }, ref) => {
1597
+ ({ size, endIcon = /* @__PURE__ */ jsx(CaretDown, { width: "0.6rem", height: "0.4rem", "aria-hidden": true }), ...props }, ref) => {
1606
1598
  return /* @__PURE__ */ jsx(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ jsx(
1607
1599
  Button,
1608
1600
  {
@@ -2082,16 +2074,6 @@ const Portal$1 = React.forwardRef(
2082
2074
  }
2083
2075
  );
2084
2076
  Portal$1.displayName = "Portal";
2085
- const VisuallyHidden = styled.div`
2086
- border: 0;
2087
- clip: rect(0 0 0 0);
2088
- height: 1px;
2089
- margin: -1px;
2090
- overflow: hidden;
2091
- padding: 0;
2092
- position: absolute;
2093
- width: 1px;
2094
- `;
2095
2077
  const TooltipWrapper = styled(Box)`
2096
2078
  /* z-index exist because of its position inside Modals */
2097
2079
  z-index: 4;
@@ -2168,7 +2150,9 @@ const Carousel = React.forwardRef(
2168
2150
  if (nextActionRef?.current) {
2169
2151
  nextActionRef.current.focus();
2170
2152
  }
2171
- onNext();
2153
+ if (onNext) {
2154
+ onNext();
2155
+ }
2172
2156
  break;
2173
2157
  }
2174
2158
  case KeyboardKeys.LEFT: {
@@ -2176,7 +2160,9 @@ const Carousel = React.forwardRef(
2176
2160
  if (prevActionRef?.current) {
2177
2161
  prevActionRef.current.focus();
2178
2162
  }
2179
- onPrevious();
2163
+ if (onPrevious) {
2164
+ onPrevious();
2165
+ }
2180
2166
  break;
2181
2167
  }
2182
2168
  }
@@ -2192,30 +2178,8 @@ const Carousel = React.forwardRef(
2192
2178
  position: "relative",
2193
2179
  children: [
2194
2180
  childrenArray && childrenArray.length > 1 && /* @__PURE__ */ jsxs(Fragment, { children: [
2195
- /* @__PURE__ */ jsx(
2196
- CarouselAction,
2197
- {
2198
- as: "button",
2199
- onClick: onPrevious,
2200
- area: "startAction",
2201
- ref: prevActionRef,
2202
- "aria-label": previousLabel,
2203
- type: "button",
2204
- children: /* @__PURE__ */ jsx(Icon, { as: ChevronLeft, "aria-hidden": true, width: "6px", height: "10px", color: "neutral600" })
2205
- }
2206
- ),
2207
- /* @__PURE__ */ jsx(
2208
- CarouselAction,
2209
- {
2210
- as: "button",
2211
- onClick: onNext,
2212
- area: "endAction",
2213
- ref: nextActionRef,
2214
- "aria-label": nextLabel,
2215
- type: "button",
2216
- children: /* @__PURE__ */ jsx(Icon, { as: ChevronRight, "aria-hidden": true, width: "6px", height: "10px", color: "neutral600" })
2217
- }
2218
- )
2181
+ /* @__PURE__ */ jsx(CarouselAction, { as: "button", onClick: onPrevious, area: "startAction", ref: prevActionRef, type: "button", children: /* @__PURE__ */ jsx(AccessibleIcon, { label: previousLabel, children: /* @__PURE__ */ jsx(ChevronLeft, { width: "6px", height: "10px", fill: "neutral600" }) }) }),
2182
+ /* @__PURE__ */ jsx(CarouselAction, { as: "button", onClick: onNext, area: "endAction", ref: nextActionRef, type: "button", children: /* @__PURE__ */ jsx(AccessibleIcon, { label: nextLabel, children: /* @__PURE__ */ jsx(ChevronRight, { width: "6px", height: "10px", fill: "neutral600" }) }) })
2219
2183
  ] }),
2220
2184
  /* @__PURE__ */ jsx(CarouselSlides, { "aria-live": "polite", paddingLeft: 2, paddingRight: 2, width: "100%", overflow: "hidden", children: childrenArray }),
2221
2185
  actions
@@ -2680,8 +2644,8 @@ const commonTheme = {
2680
2644
  spaces: ["0px", "4px", "8px", "12px", "16px", "20px", "24px", "32px", "40px", "48px", "56px", "64px"],
2681
2645
  borderRadius: "4px",
2682
2646
  mediaQueries: {
2683
- tablet: `@media (max-width: 110rem)`,
2684
- mobile: `@media (max-width: 55rem)`
2647
+ tablet: `@media (max-width: 1100px)`,
2648
+ mobile: `@media (max-width: 550px)`
2685
2649
  },
2686
2650
  fontSizes: [`1.1rem`, `1.2rem`, `1.4rem`, "1.6rem", `1.8rem`, `3.2rem`],
2687
2651
  lineHeights: [1.14, 1.22, 1.25, 1.33, 1.43, 1.45, 1.5],
@@ -8437,7 +8401,7 @@ const ComboboxInput = React.forwardRef(
8437
8401
  children: /* @__PURE__ */ jsx(Cross, {})
8438
8402
  }
8439
8403
  ) : null,
8440
- /* @__PURE__ */ jsx(DownIcon$1, { children: /* @__PURE__ */ jsx(CarretDown, {}) })
8404
+ /* @__PURE__ */ jsx(DownIcon$1, { children: /* @__PURE__ */ jsx(CaretDown, {}) })
8441
8405
  ] })
8442
8406
  ] }),
8443
8407
  /* @__PURE__ */ jsx(Combobox$1.Portal, { children: /* @__PURE__ */ jsx(Content$2, { sideOffset: 4, children: /* @__PURE__ */ jsxs(Viewport$2, { ref: viewportRef, children: [
@@ -8710,8 +8674,6 @@ const GlobalStyle = createGlobalStyle`
8710
8674
  margin: 0;
8711
8675
  padding: 0;
8712
8676
  border: 0;
8713
- font-size: 100%;
8714
- font: inherit;
8715
8677
  vertical-align: baseline;
8716
8678
  }
8717
8679
  /* HTML5 display-role reset for older browsers */
@@ -8764,10 +8726,13 @@ const GlobalStyle = createGlobalStyle`
8764
8726
  outline: none;
8765
8727
  }
8766
8728
 
8767
- body,html{
8768
- height: 100%;
8729
+ html {
8769
8730
  /* Sets 1rem === 10px */
8770
8731
  font-size: 62.5%;
8732
+ }
8733
+
8734
+ body,html{
8735
+ height: 100%;
8771
8736
  line-height: 1;
8772
8737
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
8773
8738
  }
@@ -8778,7 +8743,6 @@ const GlobalStyle = createGlobalStyle`
8778
8743
  border: none;
8779
8744
  background: none;
8780
8745
  color: inherit;
8781
- font-size: 100%;
8782
8746
  cursor: pointer;
8783
8747
  font: inherit;
8784
8748
  }
@@ -9071,7 +9035,7 @@ const SelectTrigger = React.forwardRef(
9071
9035
  children: /* @__PURE__ */ jsx(Cross, {})
9072
9036
  }
9073
9037
  ) : null,
9074
- /* @__PURE__ */ jsx(DownIcon, { children: /* @__PURE__ */ jsx(CarretDown, {}) })
9038
+ /* @__PURE__ */ jsx(DownIcon, { children: /* @__PURE__ */ jsx(CaretDown, {}) })
9075
9039
  ] })
9076
9040
  ]
9077
9041
  }
@@ -10459,7 +10423,7 @@ const EmptyStateLayout = ({
10459
10423
  hasRadius,
10460
10424
  shadow,
10461
10425
  children: [
10462
- /* @__PURE__ */ jsx(EmptyStateIconWrapper, { paddingBottom: 6, "aria-hidden": true, children: icon }),
10426
+ icon ? /* @__PURE__ */ jsx(EmptyStateIconWrapper, { paddingBottom: 6, "aria-hidden": true, children: icon }) : null,
10463
10427
  /* @__PURE__ */ jsx(Box, { paddingBottom: 4, children: /* @__PURE__ */ jsx(Typography, { variant: "delta", as: "p", textAlign: "center", textColor: "neutral600", children: content }) }),
10464
10428
  action
10465
10429
  ]
@@ -10476,7 +10440,7 @@ const Grid = (props) => {
10476
10440
  return /* @__PURE__ */ jsx(GridWrapper, { gap, gridCols, ...rest });
10477
10441
  };
10478
10442
  const GridItem = styled(Box)`
10479
- grid-column: span ${({ col }) => col};
10443
+ grid-column: span ${({ col }) => col ?? 1};
10480
10444
  max-width: 100%;
10481
10445
 
10482
10446
  ${({ theme: theme2 }) => theme2.mediaQueries.tablet} {
@@ -10551,40 +10515,25 @@ const IconButtonWrapper = styled(BaseButton)`
10551
10515
  }};
10552
10516
  height: ${({ theme: theme2, size }) => theme2.sizes.button[size]};
10553
10517
  width: ${({ theme: theme2, size }) => theme2.sizes.button[size]};
10554
-
10555
- svg {
10556
- g,
10557
- path {
10558
- fill: ${({ theme: theme2, variant }) => {
10518
+ color: ${({ theme: theme2, variant }) => {
10559
10519
  if (variant === VARIANT_SECONDARY) {
10560
10520
  return theme2.colors.primary500;
10561
10521
  }
10562
10522
  return theme2.colors.neutral500;
10563
10523
  }};
10564
- }
10565
- }
10566
10524
 
10567
- :hover,
10568
- :focus {
10569
- svg {
10570
- g,
10571
- path {
10572
- fill: ${({ theme: theme2, variant }) => {
10525
+ &:hover,
10526
+ &:focus {
10527
+ color: ${({ theme: theme2, variant }) => {
10573
10528
  if (variant === VARIANT_SECONDARY) {
10574
10529
  return theme2.colors.primary600;
10575
10530
  }
10576
10531
  return theme2.colors.neutral600;
10577
10532
  }};
10578
- }
10579
- }
10580
10533
  }
10581
10534
 
10582
10535
  &[aria-disabled='true'] {
10583
- svg {
10584
- path {
10585
- fill: ${({ theme: theme2 }) => theme2.colors.neutral600};
10586
- }
10587
- }
10536
+ color: ${({ theme: theme2 }) => theme2.colors.neutral600};
10588
10537
  }
10589
10538
  `;
10590
10539
  const IconButtonGroup = styled(Flex)`
@@ -10600,38 +10549,20 @@ const IconButtonGroup = styled(Flex)`
10600
10549
  & ${IconButtonWrapper} {
10601
10550
  border-radius: 0;
10602
10551
  border-left: none;
10603
-
10604
- svg {
10605
- path {
10606
- fill: ${({ theme: theme2 }) => theme2.colors.neutral700};
10607
- }
10608
- }
10552
+ color: ${({ theme: theme2 }) => theme2.colors.neutral700};
10609
10553
 
10610
10554
  &:hover {
10611
10555
  background-color: ${({ theme: theme2 }) => theme2.colors.neutral100};
10612
-
10613
- svg {
10614
- path {
10615
- fill: ${({ theme: theme2 }) => theme2.colors.neutral800};
10616
- }
10617
- }
10556
+ color: ${({ theme: theme2 }) => theme2.colors.neutral800};
10618
10557
  }
10619
10558
 
10620
10559
  &:active {
10621
10560
  background-color: ${({ theme: theme2 }) => theme2.colors.neutral150};
10622
- svg {
10623
- path {
10624
- fill: ${({ theme: theme2 }) => theme2.colors.neutral900};
10625
- }
10626
- }
10561
+ color: ${({ theme: theme2 }) => theme2.colors.neutral900};
10627
10562
  }
10628
10563
 
10629
10564
  &[aria-disabled='true'] {
10630
- svg {
10631
- path {
10632
- fill: ${({ theme: theme2 }) => theme2.colors.neutral600};
10633
- }
10634
- }
10565
+ color: ${({ theme: theme2 }) => theme2.colors.neutral600};
10635
10566
  }
10636
10567
  }
10637
10568
  `;
@@ -22086,6 +22017,14 @@ const NavBrand = React.forwardRef(
22086
22017
  ] }) }) });
22087
22018
  }
22088
22019
  );
22020
+ const NavCondense = ({ children, ...props }) => {
22021
+ const condensed = useMainNav();
22022
+ const Icon = condensed ? ChevronRight : ChevronLeft;
22023
+ return /* @__PURE__ */ jsxs(NavCondenseWrapper, { as: "button", condensed, ...props, children: [
22024
+ /* @__PURE__ */ jsx(Icon, { "aria-hidden": true, fill: "neutral600" }),
22025
+ /* @__PURE__ */ jsx(VisuallyHidden, { children })
22026
+ ] });
22027
+ };
22089
22028
  const NavCondenseWrapper = styled(Flex).attrs((props) => ({
22090
22029
  justifyContent: "center",
22091
22030
  ...props
@@ -22106,13 +22045,6 @@ const NavCondenseWrapper = styled(Flex).attrs((props) => ({
22106
22045
  height: 0.9rem;
22107
22046
  }
22108
22047
  `;
22109
- const NavCondense = ({ children, ...props }) => {
22110
- const condensed = useMainNav();
22111
- return /* @__PURE__ */ jsxs(NavCondenseWrapper, { as: "button", condensed, ...props, children: [
22112
- /* @__PURE__ */ jsx(Icon, { as: condensed ? ChevronRight : ChevronLeft, "aria-hidden": true, color: "neutral600" }),
22113
- /* @__PURE__ */ jsx(VisuallyHidden, { children })
22114
- ] });
22115
- };
22116
22048
  const NavFooter = ({ children }) => {
22117
22049
  return /* @__PURE__ */ jsx(Box, { position: "relative", children });
22118
22050
  };
@@ -22449,7 +22381,7 @@ const NumberInput = React.forwardRef(
22449
22381
  tabIndex: -1,
22450
22382
  type: "button",
22451
22383
  "data-testid": "ArrowUp",
22452
- children: /* @__PURE__ */ jsx(Icon, { as: CarretDown, color: "neutral500" })
22384
+ children: /* @__PURE__ */ jsx(CaretDown, { fill: "neutral500" })
22453
22385
  }
22454
22386
  ),
22455
22387
  /* @__PURE__ */ jsx(
@@ -22461,7 +22393,7 @@ const NumberInput = React.forwardRef(
22461
22393
  tabIndex: -1,
22462
22394
  type: "button",
22463
22395
  "data-testid": "ArrowDown",
22464
- children: /* @__PURE__ */ jsx(Icon, { as: CarretDown, color: "neutral500" })
22396
+ children: /* @__PURE__ */ jsx(CaretDown, { fill: "neutral500" })
22465
22397
  }
22466
22398
  )
22467
22399
  ] }),
@@ -23463,21 +23395,20 @@ const SubNavLinkWrapper = styled(Box)`
23463
23395
  outline-offset: -2px;
23464
23396
  }
23465
23397
  `;
23466
- const CustomBullet = styled(Dot)`
23467
- width: 1.2rem;
23398
+ const CustomBullet = styled.span`
23399
+ width: 0.4rem;
23468
23400
  height: 0.4rem;
23469
- * {
23470
- fill: ${({ theme: theme2, $active }) => $active ? theme2.colors.primary600 : theme2.colors.neutral600};
23471
- }
23401
+ background-color: ${({ theme: theme2, $active }) => $active ? theme2.colors.primary600 : theme2.colors.neutral600};
23402
+ border-radius: 50%;
23472
23403
  `;
23473
23404
  const IconWrapper = styled.div`
23474
23405
  svg {
23475
- height: 1.2rem;
23476
- width: 1.2rem;
23406
+ height: 1.6rem;
23407
+ width: 1.6rem;
23477
23408
  }
23478
23409
  `;
23479
23410
  const SubNavLink = React.forwardRef(
23480
- ({ children, icon = null, withBullet = false, as = BaseLink, isSubSectionChild = false, ...props }, ref) => {
23411
+ ({ active, children, icon = null, withBullet = false, as = BaseLink, isSubSectionChild = false, ...props }, ref) => {
23481
23412
  return /* @__PURE__ */ jsxs(
23482
23413
  SubNavLinkWrapper,
23483
23414
  {
@@ -23491,7 +23422,7 @@ const SubNavLink = React.forwardRef(
23491
23422
  ...props,
23492
23423
  children: [
23493
23424
  /* @__PURE__ */ jsxs(Flex, { children: [
23494
- icon ? /* @__PURE__ */ jsx(IconWrapper, { children: icon }) : /* @__PURE__ */ jsx(CustomBullet, {}),
23425
+ icon ? /* @__PURE__ */ jsx(IconWrapper, { children: icon }) : /* @__PURE__ */ jsx(CustomBullet, { $active: active }),
23495
23426
  /* @__PURE__ */ jsx(Box, { paddingLeft: 2, children: /* @__PURE__ */ jsx(Typography, { as: "span", children }) })
23496
23427
  ] }),
23497
23428
  withBullet && /* @__PURE__ */ jsx(Box, { as: Flex, paddingRight: 4, children: /* @__PURE__ */ jsx(CustomBullet, { $active: true }) })
@@ -23500,14 +23431,6 @@ const SubNavLink = React.forwardRef(
23500
23431
  );
23501
23432
  }
23502
23433
  );
23503
- const SubNavLinkSectionWrapper = styled(Box)`
23504
- svg {
23505
- height: 0.4rem;
23506
- path {
23507
- fill: ${({ theme: theme2 }) => theme2.colors.neutral700};
23508
- }
23509
- }
23510
- `;
23511
23434
  const SubNavLinkSectionButton = styled.button`
23512
23435
  border: none;
23513
23436
  padding: 0;
@@ -23515,12 +23438,6 @@ const SubNavLinkSectionButton = styled.button`
23515
23438
  display: flex;
23516
23439
  align-items: center;
23517
23440
  `;
23518
- const DropDownIconWrapper$1 = styled.div`
23519
- display: flex;
23520
- align-items: center;
23521
- width: 1.2rem;
23522
- transform: rotateX(${({ rotated }) => rotated ? "0deg" : "180deg"});
23523
- `;
23524
23441
  const SubNavLinkSection = ({ label, children, id }) => {
23525
23442
  const [isOpen, setOpenLinks] = React.useState(true);
23526
23443
  const listId = useId(id);
@@ -23528,8 +23445,17 @@ const SubNavLinkSection = ({ label, children, id }) => {
23528
23445
  setOpenLinks((prev) => !prev);
23529
23446
  };
23530
23447
  return /* @__PURE__ */ jsxs(Box, { children: [
23531
- /* @__PURE__ */ jsx(SubNavLinkSectionWrapper, { paddingLeft: 7, paddingTop: 2, paddingBottom: 2, paddingRight: 4, children: /* @__PURE__ */ jsx(Flex, { justifyContent: "space-between", children: /* @__PURE__ */ jsxs(SubNavLinkSectionButton, { onClick: handleClick, "aria-expanded": isOpen, "aria-controls": listId, children: [
23532
- /* @__PURE__ */ jsx(DropDownIconWrapper$1, { rotated: isOpen, children: /* @__PURE__ */ jsx(CarretDown, { "aria-hidden": true }) }),
23448
+ /* @__PURE__ */ jsx(Box, { paddingLeft: 7, paddingTop: 2, paddingBottom: 2, paddingRight: 4, children: /* @__PURE__ */ jsx(Flex, { justifyContent: "space-between", children: /* @__PURE__ */ jsxs(SubNavLinkSectionButton, { onClick: handleClick, "aria-expanded": isOpen, "aria-controls": listId, children: [
23449
+ /* @__PURE__ */ jsx(
23450
+ CaretDown,
23451
+ {
23452
+ width: "1.2rem",
23453
+ height: "1.2rem",
23454
+ "aria-hidden": true,
23455
+ fill: "neutral700",
23456
+ style: { transform: `rotateX(${isOpen ? "0deg" : "180deg"})` }
23457
+ }
23458
+ ),
23533
23459
  /* @__PURE__ */ jsx(Box, { paddingLeft: 2, children: /* @__PURE__ */ jsx(Typography, { as: "span", fontWeight: "semiBold", textColor: "neutral800", children: label }) })
23534
23460
  ] }) }) }),
23535
23461
  isOpen && /* @__PURE__ */ jsx("ul", { id: listId, children: React.Children.map(children, (child, index) => {
@@ -23566,7 +23492,7 @@ const SubNavSectionLabel = ({
23566
23492
  textAlign: "left",
23567
23493
  children: [
23568
23494
  /* @__PURE__ */ jsx(Box, { paddingRight: 1, children: /* @__PURE__ */ jsx(Typography, { variant: "sigma", textColor: "neutral600", children: label }) }),
23569
- collapsable && /* @__PURE__ */ jsx(DropDownIconWrapper, { rotated: ariaExpanded, children: /* @__PURE__ */ jsx(CarretDown, { "aria-hidden": true }) })
23495
+ collapsable && /* @__PURE__ */ jsx(DropDownIconWrapper, { rotated: ariaExpanded, children: /* @__PURE__ */ jsx(CaretDown, { "aria-hidden": true }) })
23570
23496
  ]
23571
23497
  }
23572
23498
  );
@@ -24361,6 +24287,7 @@ const ClearButton = styled(TextButton)`
24361
24287
  margin-left: auto;
24362
24288
  `;
24363
24289
  export {
24290
+ AccessibleIcon,
24364
24291
  Accordion,
24365
24292
  AccordionContent,
24366
24293
  AccordionGroup,
@@ -24428,7 +24355,6 @@ export {
24428
24355
  GridItem,
24429
24356
  GridLayout,
24430
24357
  HeaderLayout,
24431
- Icon,
24432
24358
  IconButton,
24433
24359
  IconButtonGroup,
24434
24360
  Initials,