@strapi/design-system 1.3.0-beta.3 → 1.3.1-alpha.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 (854) hide show
  1. package/LICENSE +20 -0
  2. package/dist/Accordion/Accordion.cjs +23 -0
  3. package/dist/Accordion/Accordion.js +88 -0
  4. package/dist/Accordion/AccordionContent.cjs +1 -0
  5. package/dist/Accordion/AccordionContent.js +23 -0
  6. package/dist/Accordion/AccordionContext.cjs +1 -0
  7. package/dist/Accordion/AccordionContext.js +6 -0
  8. package/dist/Accordion/AccordionGroup.cjs +47 -0
  9. package/dist/Accordion/AccordionGroup.js +91 -0
  10. package/dist/Accordion/AccordionToggle.cjs +28 -0
  11. package/dist/Accordion/AccordionToggle.js +127 -0
  12. package/dist/Accordion/index.cjs +1 -0
  13. package/dist/Accordion/index.js +11 -0
  14. package/dist/Accordion/utils.cjs +1 -0
  15. package/dist/Accordion/utils.js +7 -0
  16. package/dist/Alert/Alert.cjs +35 -0
  17. package/dist/Alert/Alert.js +111 -0
  18. package/dist/Alert/index.cjs +1 -0
  19. package/dist/Alert/index.js +4 -0
  20. package/dist/Alert/utils.cjs +1 -0
  21. package/dist/Alert/utils.js +6 -0
  22. package/dist/Avatar/Avatar.cjs +29 -0
  23. package/dist/Avatar/Avatar.js +80 -0
  24. package/dist/Avatar/AvatarGroup.cjs +5 -0
  25. package/dist/Avatar/AvatarGroup.js +11 -0
  26. package/dist/Avatar/constants.cjs +1 -0
  27. package/dist/Avatar/constants.js +5 -0
  28. package/dist/Avatar/index.cjs +1 -0
  29. package/dist/Avatar/index.js +7 -0
  30. package/dist/Badge/Badge.cjs +1 -0
  31. package/dist/Badge/Badge.js +33 -0
  32. package/dist/Badge/index.cjs +1 -0
  33. package/dist/Badge/index.js +4 -0
  34. package/dist/BaseButton/BaseButton.cjs +23 -0
  35. package/dist/BaseButton/BaseButton.js +45 -0
  36. package/dist/BaseButton/index.cjs +1 -0
  37. package/dist/BaseButton/index.js +5 -0
  38. package/dist/BaseCheckbox/BaseCheckbox.cjs +62 -0
  39. package/dist/BaseCheckbox/BaseCheckbox.js +105 -0
  40. package/dist/BaseCheckbox/assets/checkmark-black.cjs +1 -0
  41. package/dist/BaseCheckbox/assets/checkmark-black.js +4 -0
  42. package/dist/BaseCheckbox/assets/checkmark.cjs +1 -0
  43. package/dist/BaseCheckbox/assets/checkmark.js +4 -0
  44. package/dist/BaseCheckbox/index.cjs +1 -0
  45. package/dist/BaseCheckbox/index.js +4 -0
  46. package/dist/BaseCheckbox/utils.cjs +1 -0
  47. package/dist/BaseCheckbox/utils.js +4 -0
  48. package/dist/BaseLink/BaseLink.cjs +3 -0
  49. package/dist/BaseLink/BaseLink.js +31 -0
  50. package/dist/BaseLink/index.cjs +1 -0
  51. package/dist/BaseLink/index.js +4 -0
  52. package/dist/BaseRadio/BaseRadio.cjs +31 -0
  53. package/dist/BaseRadio/BaseRadio.js +62 -0
  54. package/dist/BaseRadio/RadioGroup.cjs +1 -0
  55. package/dist/BaseRadio/RadioGroup.js +32 -0
  56. package/dist/BaseRadio/context.cjs +1 -0
  57. package/dist/BaseRadio/context.js +6 -0
  58. package/dist/BaseRadio/index.cjs +1 -0
  59. package/dist/BaseRadio/index.js +6 -0
  60. package/dist/BaseRadio/utils.cjs +1 -0
  61. package/dist/BaseRadio/utils.js +6 -0
  62. package/dist/Box/Box.cjs +80 -0
  63. package/dist/Box/Box.js +95 -0
  64. package/dist/Box/BoxProps.cjs +1 -0
  65. package/dist/Box/BoxProps.js +51 -0
  66. package/dist/Box/index.cjs +1 -0
  67. package/dist/Box/index.js +4 -0
  68. package/dist/Breadcrumbs/Breadcrumbs.cjs +16 -0
  69. package/dist/Breadcrumbs/Breadcrumbs.js +52 -0
  70. package/dist/Breadcrumbs/index.cjs +1 -0
  71. package/dist/Breadcrumbs/index.js +5 -0
  72. package/dist/Button/Button.cjs +48 -0
  73. package/dist/Button/Button.js +109 -0
  74. package/dist/Button/constants.cjs +1 -0
  75. package/dist/Button/constants.js +14 -0
  76. package/dist/Button/index.cjs +1 -0
  77. package/dist/Button/index.js +5 -0
  78. package/dist/Button/utils.cjs +87 -0
  79. package/dist/Button/utils.js +112 -0
  80. package/dist/Card/Card.cjs +1 -0
  81. package/dist/Card/Card.js +32 -0
  82. package/dist/Card/CardAction.cjs +6 -0
  83. package/dist/Card/CardAction.js +14 -0
  84. package/dist/Card/CardAsset.cjs +19 -0
  85. package/dist/Card/CardAsset.js +42 -0
  86. package/dist/Card/CardBadge.cjs +6 -0
  87. package/dist/Card/CardBadge.js +14 -0
  88. package/dist/Card/CardBody.cjs +1 -0
  89. package/dist/Card/CardBody.js +15 -0
  90. package/dist/Card/CardCheckbox.cjs +1 -0
  91. package/dist/Card/CardCheckbox.js +16 -0
  92. package/dist/Card/CardContent.cjs +3 -0
  93. package/dist/Card/CardContent.js +15 -0
  94. package/dist/Card/CardContext.cjs +1 -0
  95. package/dist/Card/CardContext.js +6 -0
  96. package/dist/Card/CardHeader.cjs +4 -0
  97. package/dist/Card/CardHeader.js +13 -0
  98. package/dist/Card/CardTimer.cjs +5 -0
  99. package/dist/Card/CardTimer.js +26 -0
  100. package/dist/Card/CardTitle.cjs +1 -0
  101. package/dist/Card/CardTitle.js +23 -0
  102. package/dist/Card/index.cjs +1 -0
  103. package/dist/Card/index.js +23 -0
  104. package/dist/CarouselInput/Carousel.cjs +14 -0
  105. package/dist/CarouselInput/Carousel.js +131 -0
  106. package/dist/CarouselInput/CarouselActions.cjs +1 -0
  107. package/dist/CarouselInput/CarouselActions.js +14 -0
  108. package/dist/CarouselInput/CarouselImage.cjs +4 -0
  109. package/dist/CarouselInput/CarouselImage.js +35 -0
  110. package/dist/CarouselInput/CarouselInput.cjs +1 -0
  111. package/dist/CarouselInput/CarouselInput.js +79 -0
  112. package/dist/CarouselInput/CarouselSlide.cjs +3 -0
  113. package/dist/CarouselInput/CarouselSlide.js +26 -0
  114. package/dist/CarouselInput/index.cjs +1 -0
  115. package/dist/CarouselInput/index.js +12 -0
  116. package/dist/Checkbox/Checkbox.cjs +7 -0
  117. package/dist/Checkbox/Checkbox.js +64 -0
  118. package/dist/Checkbox/index.cjs +1 -0
  119. package/dist/Checkbox/index.js +4 -0
  120. package/dist/Combobox/Combobox.cjs +1 -0
  121. package/dist/Combobox/Combobox.js +285 -0
  122. package/dist/Combobox/ComboboxList.cjs +1 -0
  123. package/dist/Combobox/ComboboxList.js +15 -0
  124. package/dist/Combobox/ComboboxOption.cjs +1 -0
  125. package/dist/Combobox/ComboboxOption.js +30 -0
  126. package/dist/Combobox/components.cjs +53 -0
  127. package/dist/Combobox/components.js +64 -0
  128. package/dist/Combobox/index.cjs +1 -0
  129. package/dist/Combobox/index.js +7 -0
  130. package/dist/Combobox/utils.cjs +1 -0
  131. package/dist/Combobox/utils.js +78 -0
  132. package/dist/DatePicker/DatePicker.cjs +1 -0
  133. package/dist/DatePicker/DatePicker.js +104 -0
  134. package/dist/DatePicker/DatePickerCalendar.cjs +1 -0
  135. package/dist/DatePicker/DatePickerCalendar.js +102 -0
  136. package/dist/DatePicker/DatePickerTd.cjs +19 -0
  137. package/dist/DatePicker/DatePickerTd.js +55 -0
  138. package/dist/DatePicker/DatePickerTh.cjs +9 -0
  139. package/dist/DatePicker/DatePickerTh.js +35 -0
  140. package/dist/DatePicker/compareDates.cjs +1 -0
  141. package/dist/DatePicker/compareDates.js +4 -0
  142. package/dist/DatePicker/components.cjs +31 -0
  143. package/dist/DatePicker/components.js +41 -0
  144. package/dist/DatePicker/index.cjs +1 -0
  145. package/dist/DatePicker/index.js +4 -0
  146. package/dist/DatePicker/utils/formatDate.cjs +1 -0
  147. package/dist/DatePicker/utils/formatDate.js +4 -0
  148. package/dist/DatePicker/utils/generateWeeks.cjs +1 -0
  149. package/dist/DatePicker/utils/generateWeeks.js +17 -0
  150. package/dist/DatePicker/utils/getDayOfWeek.cjs +1 -0
  151. package/dist/DatePicker/utils/getDayOfWeek.js +15 -0
  152. package/dist/DatePicker/utils/getMonths.cjs +1 -0
  153. package/dist/DatePicker/utils/getMonths.js +7 -0
  154. package/dist/DatePicker/utils/getYears.cjs +1 -0
  155. package/dist/DatePicker/utils/getYears.js +9 -0
  156. package/dist/DatePicker/utils/index.cjs +1 -0
  157. package/dist/DatePicker/utils/index.js +12 -0
  158. package/dist/Dialog/Dialog.cjs +14 -0
  159. package/dist/Dialog/Dialog.js +66 -0
  160. package/dist/Dialog/DialogBody.cjs +10 -0
  161. package/dist/Dialog/DialogBody.js +32 -0
  162. package/dist/Dialog/DialogFooter.cjs +9 -0
  163. package/dist/Dialog/DialogFooter.js +31 -0
  164. package/dist/Dialog/index.cjs +1 -0
  165. package/dist/Dialog/index.js +8 -0
  166. package/dist/DismissibleLayer/DismissibleLayer.cjs +1 -0
  167. package/dist/DismissibleLayer/DismissibleLayer.js +38 -0
  168. package/dist/DismissibleLayer/index.cjs +1 -0
  169. package/dist/DismissibleLayer/index.js +4 -0
  170. package/dist/Divider/Divider.cjs +5 -0
  171. package/dist/Divider/Divider.js +24 -0
  172. package/dist/Divider/index.cjs +1 -0
  173. package/dist/Divider/index.js +4 -0
  174. package/dist/EmptyStateLayout/EmptyStateLayout.cjs +10 -0
  175. package/dist/EmptyStateLayout/EmptyStateLayout.js +44 -0
  176. package/dist/EmptyStateLayout/index.cjs +1 -0
  177. package/dist/EmptyStateLayout/index.js +4 -0
  178. package/dist/EmptyStateLayout/story-assets/Illo.cjs +1 -0
  179. package/dist/EmptyStateLayout/story-assets/Illo.js +49 -0
  180. package/dist/Field/Field.cjs +1 -0
  181. package/dist/Field/Field.js +28 -0
  182. package/dist/Field/FieldAction.cjs +10 -0
  183. package/dist/Field/FieldAction.js +24 -0
  184. package/dist/Field/FieldContext.cjs +1 -0
  185. package/dist/Field/FieldContext.js +6 -0
  186. package/dist/Field/FieldError.cjs +1 -0
  187. package/dist/Field/FieldError.js +16 -0
  188. package/dist/Field/FieldHint.cjs +1 -0
  189. package/dist/Field/FieldHint.js +15 -0
  190. package/dist/Field/FieldInput.cjs +43 -0
  191. package/dist/Field/FieldInput.js +105 -0
  192. package/dist/Field/FieldLabel.cjs +9 -0
  193. package/dist/Field/FieldLabel.js +44 -0
  194. package/dist/Field/index.cjs +1 -0
  195. package/dist/Field/index.js +18 -0
  196. package/dist/Flex/Flex.cjs +9 -0
  197. package/dist/Flex/Flex.js +22 -0
  198. package/dist/Flex/FlexProps.cjs +1 -0
  199. package/dist/Flex/FlexProps.js +40 -0
  200. package/dist/Flex/index.cjs +1 -0
  201. package/dist/Flex/index.js +4 -0
  202. package/dist/FocusTrap/ExampleComponent.cjs +1 -0
  203. package/dist/FocusTrap/ExampleComponent.js +70 -0
  204. package/dist/FocusTrap/FocusTrap.cjs +1 -0
  205. package/dist/FocusTrap/FocusTrap.js +48 -0
  206. package/dist/FocusTrap/index.cjs +1 -0
  207. package/dist/FocusTrap/index.js +4 -0
  208. package/dist/Grid/Grid.cjs +5 -0
  209. package/dist/Grid/Grid.js +28 -0
  210. package/dist/Grid/GridContext.cjs +1 -0
  211. package/dist/Grid/GridContext.js +6 -0
  212. package/dist/Grid/GridItem.cjs +12 -0
  213. package/dist/Grid/GridItem.js +41 -0
  214. package/dist/Grid/index.cjs +1 -0
  215. package/dist/Grid/index.js +6 -0
  216. package/dist/Icon/Icon.cjs +6 -0
  217. package/dist/Icon/Icon.js +26 -0
  218. package/dist/Icon/index.cjs +1 -0
  219. package/dist/Icon/index.js +4 -0
  220. package/dist/IconButton/IconButton.cjs +86 -0
  221. package/dist/IconButton/IconButton.js +149 -0
  222. package/dist/IconButton/index.cjs +1 -0
  223. package/dist/IconButton/index.js +5 -0
  224. package/dist/KeyboardNavigable/KeyboardNavigable.cjs +1 -0
  225. package/dist/KeyboardNavigable/KeyboardNavigable.js +58 -0
  226. package/dist/KeyboardNavigable/index.cjs +1 -0
  227. package/dist/KeyboardNavigable/index.js +4 -0
  228. package/dist/Layout/ActionLayout.cjs +9 -0
  229. package/dist/Layout/ActionLayout.js +37 -0
  230. package/dist/Layout/ContentLayout.cjs +1 -0
  231. package/dist/Layout/ContentLayout.js +13 -0
  232. package/dist/Layout/GridLayout.cjs +5 -0
  233. package/dist/Layout/GridLayout.js +13 -0
  234. package/dist/Layout/HeaderLayout.cjs +8 -0
  235. package/dist/Layout/HeaderLayout.js +132 -0
  236. package/dist/Layout/Layout.cjs +6 -0
  237. package/dist/Layout/Layout.js +24 -0
  238. package/dist/Layout/TwoColsLayout.cjs +1 -0
  239. package/dist/Layout/TwoColsLayout.js +29 -0
  240. package/dist/Layout/index.cjs +1 -0
  241. package/dist/Layout/index.js +15 -0
  242. package/dist/Link/Link.cjs +33 -0
  243. package/dist/Link/Link.js +87 -0
  244. package/dist/Link/index.cjs +1 -0
  245. package/dist/Link/index.js +4 -0
  246. package/dist/LinkButton/LinkButton.cjs +32 -0
  247. package/dist/LinkButton/LinkButton.js +99 -0
  248. package/dist/LinkButton/index.cjs +1 -0
  249. package/dist/LinkButton/index.js +4 -0
  250. package/dist/LiveRegions/LiveRegions.cjs +1 -0
  251. package/dist/LiveRegions/LiveRegions.js +22 -0
  252. package/dist/LiveRegions/StoryComponent.cjs +1 -0
  253. package/dist/LiveRegions/StoryComponent.js +18 -0
  254. package/dist/LiveRegions/constants.cjs +1 -0
  255. package/dist/LiveRegions/constants.js +8 -0
  256. package/dist/LiveRegions/index.cjs +1 -0
  257. package/dist/LiveRegions/index.js +4 -0
  258. package/dist/LiveRegions/useNotifyAT.cjs +1 -0
  259. package/dist/LiveRegions/useNotifyAT.js +17 -0
  260. package/dist/Loader/Loader.cjs +12 -0
  261. package/dist/Loader/Loader.js +37 -0
  262. package/dist/Loader/assets/loader.cjs +1 -0
  263. package/dist/Loader/assets/loader.js +4 -0
  264. package/dist/Loader/index.cjs +1 -0
  265. package/dist/Loader/index.js +4 -0
  266. package/dist/Main/Main.cjs +6 -0
  267. package/dist/Main/Main.js +26 -0
  268. package/dist/Main/SkipToContent.cjs +12 -0
  269. package/dist/Main/SkipToContent.js +29 -0
  270. package/dist/Main/index.cjs +1 -0
  271. package/dist/Main/index.js +6 -0
  272. package/dist/MainNav/MainNav.cjs +9 -0
  273. package/dist/MainNav/MainNav.js +30 -0
  274. package/dist/MainNav/MainNavContext.cjs +1 -0
  275. package/dist/MainNav/MainNavContext.js +6 -0
  276. package/dist/MainNav/NavBrand.cjs +12 -0
  277. package/dist/MainNav/NavBrand.js +67 -0
  278. package/dist/MainNav/NavCondense.cjs +20 -0
  279. package/dist/MainNav/NavCondense.js +45 -0
  280. package/dist/MainNav/NavLink.cjs +69 -0
  281. package/dist/MainNav/NavLink.js +119 -0
  282. package/dist/MainNav/NavSection.cjs +1 -0
  283. package/dist/MainNav/NavSection.js +49 -0
  284. package/dist/MainNav/NavSections.cjs +1 -0
  285. package/dist/MainNav/NavSections.js +21 -0
  286. package/dist/MainNav/NavUser.cjs +7 -0
  287. package/dist/MainNav/NavUser.js +54 -0
  288. package/dist/MainNav/index.cjs +1 -0
  289. package/dist/MainNav/index.js +16 -0
  290. package/dist/ModalLayout/ModalBody.cjs +4 -0
  291. package/dist/ModalLayout/ModalBody.js +13 -0
  292. package/dist/ModalLayout/ModalContext.cjs +1 -0
  293. package/dist/ModalLayout/ModalContext.js +6 -0
  294. package/dist/ModalLayout/ModalFooter.cjs +8 -0
  295. package/dist/ModalLayout/ModalFooter.js +32 -0
  296. package/dist/ModalLayout/ModalHeader.cjs +4 -0
  297. package/dist/ModalLayout/ModalHeader.js +37 -0
  298. package/dist/ModalLayout/ModalLayout.cjs +12 -0
  299. package/dist/ModalLayout/ModalLayout.js +42 -0
  300. package/dist/ModalLayout/index.cjs +1 -0
  301. package/dist/ModalLayout/index.js +10 -0
  302. package/dist/NumberInput/NumberInput.cjs +12 -0
  303. package/dist/NumberInput/NumberInput.js +179 -0
  304. package/dist/NumberInput/index.cjs +1 -0
  305. package/dist/NumberInput/index.js +4 -0
  306. package/dist/Pagination/Pagination.cjs +5 -0
  307. package/dist/Pagination/Pagination.js +30 -0
  308. package/dist/Pagination/PaginationContext.cjs +1 -0
  309. package/dist/Pagination/PaginationContext.js +6 -0
  310. package/dist/Pagination/assets/next.cjs +1 -0
  311. package/dist/Pagination/assets/next.js +4 -0
  312. package/dist/Pagination/assets/previous.cjs +1 -0
  313. package/dist/Pagination/assets/previous.js +4 -0
  314. package/dist/Pagination/components.cjs +36 -0
  315. package/dist/Pagination/components.js +111 -0
  316. package/dist/Pagination/index.cjs +1 -0
  317. package/dist/Pagination/index.js +9 -0
  318. package/dist/Popover/Popover.cjs +26 -0
  319. package/dist/Popover/Popover.js +122 -0
  320. package/dist/Popover/index.cjs +1 -0
  321. package/dist/Popover/index.js +5 -0
  322. package/dist/Portal/Portal.cjs +1 -0
  323. package/dist/Portal/Portal.js +15 -0
  324. package/dist/Portal/index.cjs +1 -0
  325. package/dist/Portal/index.js +4 -0
  326. package/dist/ProgressBar/ProgressBar.cjs +11 -0
  327. package/dist/ProgressBar/ProgressBar.js +44 -0
  328. package/dist/ProgressBar/index.cjs +1 -0
  329. package/dist/ProgressBar/index.js +4 -0
  330. package/dist/Radio/Radio.cjs +4 -0
  331. package/dist/Radio/Radio.js +24 -0
  332. package/dist/Radio/index.cjs +1 -0
  333. package/dist/Radio/index.js +6 -0
  334. package/dist/RawTable/RawCell.cjs +1 -0
  335. package/dist/RawTable/RawCell.js +80 -0
  336. package/dist/RawTable/RawTable.cjs +1 -0
  337. package/dist/RawTable/RawTable.js +73 -0
  338. package/dist/RawTable/RawTableContext.cjs +1 -0
  339. package/dist/RawTable/RawTableContext.js +12 -0
  340. package/dist/RawTable/RawTbody.cjs +1 -0
  341. package/dist/RawTable/RawTbody.js +16 -0
  342. package/dist/RawTable/RawThead.cjs +1 -0
  343. package/dist/RawTable/RawThead.js +14 -0
  344. package/dist/RawTable/RawTr.cjs +1 -0
  345. package/dist/RawTable/RawTr.js +19 -0
  346. package/dist/RawTable/focusFocusable.cjs +1 -0
  347. package/dist/RawTable/focusFocusable.js +7 -0
  348. package/dist/RawTable/index.cjs +1 -0
  349. package/dist/RawTable/index.js +13 -0
  350. package/dist/Searchbar/SearchForm.cjs +1 -0
  351. package/dist/Searchbar/SearchForm.js +8 -0
  352. package/dist/Searchbar/Searchbar.cjs +29 -0
  353. package/dist/Searchbar/Searchbar.js +79 -0
  354. package/dist/Searchbar/index.cjs +1 -0
  355. package/dist/Searchbar/index.js +6 -0
  356. package/dist/Select/MultiSelectNested.cjs +1 -0
  357. package/dist/Select/MultiSelectNested.js +26 -0
  358. package/dist/Select/OptGroup.cjs +1 -0
  359. package/dist/Select/OptGroup.js +20 -0
  360. package/dist/Select/Option.cjs +49 -0
  361. package/dist/Select/Option.js +104 -0
  362. package/dist/Select/Select.cjs +3 -0
  363. package/dist/Select/Select.js +227 -0
  364. package/dist/Select/SelectButton.cjs +19 -0
  365. package/dist/Select/SelectButton.js +64 -0
  366. package/dist/Select/SelectList.cjs +1 -0
  367. package/dist/Select/SelectList.js +81 -0
  368. package/dist/Select/SelectTags.cjs +8 -0
  369. package/dist/Select/SelectTags.js +36 -0
  370. package/dist/Select/components.cjs +39 -0
  371. package/dist/Select/components.js +48 -0
  372. package/dist/Select/constants.cjs +1 -0
  373. package/dist/Select/constants.js +8 -0
  374. package/dist/Select/hooks/useButtonRef.cjs +1 -0
  375. package/dist/Select/hooks/useButtonRef.js +13 -0
  376. package/dist/Select/hooks/useListRef.cjs +1 -0
  377. package/dist/Select/hooks/useListRef.js +18 -0
  378. package/dist/Select/index.cjs +1 -0
  379. package/dist/Select/index.js +12 -0
  380. package/dist/Select/utils.cjs +1 -0
  381. package/dist/Select/utils.js +17 -0
  382. package/dist/SimpleMenu/SimpleMenu.cjs +19 -0
  383. package/dist/SimpleMenu/SimpleMenu.js +164 -0
  384. package/dist/SimpleMenu/index.cjs +1 -0
  385. package/dist/SimpleMenu/index.js +5 -0
  386. package/dist/SimpleMenu/utils.cjs +12 -0
  387. package/dist/SimpleMenu/utils.js +15 -0
  388. package/dist/Stack/Stack.cjs +19 -0
  389. package/dist/Stack/Stack.js +55 -0
  390. package/dist/Stack/index.cjs +1 -0
  391. package/dist/Stack/index.js +4 -0
  392. package/dist/Status/Status.cjs +11 -0
  393. package/dist/Status/Status.js +46 -0
  394. package/dist/Status/index.cjs +1 -0
  395. package/dist/Status/index.js +4 -0
  396. package/dist/SubNav/SubNav.cjs +10 -0
  397. package/dist/SubNav/SubNav.js +26 -0
  398. package/dist/SubNav/SubNavHeader.cjs +4 -0
  399. package/dist/SubNav/SubNavHeader.js +98 -0
  400. package/dist/SubNav/SubNavLink.cjs +39 -0
  401. package/dist/SubNav/SubNavLink.js +80 -0
  402. package/dist/SubNav/SubNavLinkSection.cjs +19 -0
  403. package/dist/SubNav/SubNavLinkSection.js +68 -0
  404. package/dist/SubNav/SubNavSection.cjs +8 -0
  405. package/dist/SubNav/SubNavSection.js +63 -0
  406. package/dist/SubNav/SubNavSectionLabel.cjs +9 -0
  407. package/dist/SubNav/SubNavSectionLabel.js +53 -0
  408. package/dist/SubNav/SubNavSections.cjs +1 -0
  409. package/dist/SubNav/SubNavSections.js +20 -0
  410. package/dist/SubNav/index.cjs +1 -0
  411. package/dist/SubNav/index.js +15 -0
  412. package/dist/Switch/Switch.cjs +42 -0
  413. package/dist/Switch/Switch.js +80 -0
  414. package/dist/Switch/index.cjs +1 -0
  415. package/dist/Switch/index.js +4 -0
  416. package/dist/Table/Cell.cjs +17 -0
  417. package/dist/Table/Cell.js +39 -0
  418. package/dist/Table/TFooter.cjs +22 -0
  419. package/dist/Table/TFooter.js +50 -0
  420. package/dist/Table/Table.cjs +36 -0
  421. package/dist/Table/Table.js +80 -0
  422. package/dist/Table/Tbody.cjs +5 -0
  423. package/dist/Table/Tbody.js +13 -0
  424. package/dist/Table/Thead.cjs +3 -0
  425. package/dist/Table/Thead.js +11 -0
  426. package/dist/Table/Tr.cjs +20 -0
  427. package/dist/Table/Tr.js +28 -0
  428. package/dist/Table/index.cjs +1 -0
  429. package/dist/Table/index.js +15 -0
  430. package/dist/Tabs/TabGroup.cjs +1 -0
  431. package/dist/Tabs/TabGroup.js +36 -0
  432. package/dist/Tabs/TabPanels.cjs +1 -0
  433. package/dist/Tabs/TabPanels.js +32 -0
  434. package/dist/Tabs/Tabs.cjs +5 -0
  435. package/dist/Tabs/Tabs.js +134 -0
  436. package/dist/Tabs/TabsContext.cjs +1 -0
  437. package/dist/Tabs/TabsContext.js +6 -0
  438. package/dist/Tabs/components.cjs +43 -0
  439. package/dist/Tabs/components.js +52 -0
  440. package/dist/Tabs/index.cjs +1 -0
  441. package/dist/Tabs/index.js +10 -0
  442. package/dist/Tabs/useTabsFocus.cjs +1 -0
  443. package/dist/Tabs/useTabsFocus.js +16 -0
  444. package/dist/Tag/Tag.cjs +14 -0
  445. package/dist/Tag/Tag.js +60 -0
  446. package/dist/Tag/index.cjs +1 -0
  447. package/dist/Tag/index.js +4 -0
  448. package/dist/TextButton/TextButton.cjs +32 -0
  449. package/dist/TextButton/TextButton.js +82 -0
  450. package/dist/TextButton/index.cjs +1 -0
  451. package/dist/TextButton/index.js +4 -0
  452. package/dist/TextInput/TextInput.cjs +1 -0
  453. package/dist/TextInput/TextInput.js +69 -0
  454. package/dist/TextInput/index.cjs +1 -0
  455. package/dist/TextInput/index.js +4 -0
  456. package/dist/Textarea/Textarea.cjs +15 -0
  457. package/dist/Textarea/Textarea.js +74 -0
  458. package/dist/Textarea/TextareaInput.cjs +30 -0
  459. package/dist/Textarea/TextareaInput.js +68 -0
  460. package/dist/Textarea/index.cjs +1 -0
  461. package/dist/Textarea/index.js +4 -0
  462. package/dist/ThemeProvider/ThemeProvider.cjs +173 -0
  463. package/dist/ThemeProvider/ThemeProvider.js +186 -0
  464. package/dist/ThemeProvider/hooks.cjs +1 -0
  465. package/dist/ThemeProvider/hooks.js +5 -0
  466. package/dist/ThemeProvider/index.cjs +1 -0
  467. package/dist/ThemeProvider/index.js +6 -0
  468. package/dist/TimePicker/TimePicker.cjs +12 -0
  469. package/dist/TimePicker/TimePicker.js +101 -0
  470. package/dist/TimePicker/index.cjs +1 -0
  471. package/dist/TimePicker/index.js +4 -0
  472. package/dist/ToggleCheckbox/ToggleCheckbox.cjs +36 -0
  473. package/dist/ToggleCheckbox/ToggleCheckbox.js +119 -0
  474. package/dist/ToggleCheckbox/index.cjs +1 -0
  475. package/dist/ToggleCheckbox/index.js +4 -0
  476. package/dist/ToggleInput/ToggleInput.cjs +6 -0
  477. package/dist/ToggleInput/ToggleInput.js +90 -0
  478. package/dist/ToggleInput/index.cjs +1 -0
  479. package/dist/ToggleInput/index.js +4 -0
  480. package/dist/Tooltip/Tooltip.cjs +6 -0
  481. package/dist/Tooltip/Tooltip.js +60 -0
  482. package/dist/Tooltip/hooks/useTooltipHandlers.cjs +1 -0
  483. package/dist/Tooltip/hooks/useTooltipHandlers.js +22 -0
  484. package/dist/Tooltip/hooks/useTooltipLayout.cjs +1 -0
  485. package/dist/Tooltip/hooks/useTooltipLayout.js +14 -0
  486. package/dist/Tooltip/index.cjs +1 -0
  487. package/dist/Tooltip/index.js +4 -0
  488. package/dist/Tooltip/utils/positionTooltip.cjs +1 -0
  489. package/dist/Tooltip/utils/positionTooltip.js +27 -0
  490. package/dist/Typography/Typography.cjs +13 -0
  491. package/dist/Typography/Typography.js +26 -0
  492. package/dist/Typography/TypographyProps.cjs +1 -0
  493. package/dist/Typography/TypographyProps.js +31 -0
  494. package/dist/Typography/constants.cjs +1 -0
  495. package/dist/Typography/constants.js +11 -0
  496. package/dist/Typography/index.cjs +1 -0
  497. package/dist/Typography/index.js +4 -0
  498. package/dist/Typography/utils.cjs +34 -0
  499. package/dist/Typography/utils.js +59 -0
  500. package/dist/VisuallyHidden/VisuallyHidden.cjs +10 -0
  501. package/dist/VisuallyHidden/VisuallyHidden.js +14 -0
  502. package/dist/VisuallyHidden/index.cjs +1 -0
  503. package/dist/VisuallyHidden/index.js +4 -0
  504. package/dist/helpers/escapeSelector.cjs +1 -0
  505. package/dist/helpers/escapeSelector.js +4 -0
  506. package/dist/helpers/genId.cjs +1 -0
  507. package/dist/helpers/genId.js +5 -0
  508. package/dist/helpers/getDefaultLocale.cjs +1 -0
  509. package/dist/helpers/getDefaultLocale.js +4 -0
  510. package/dist/helpers/getFocusableNodes.cjs +1 -0
  511. package/dist/helpers/getFocusableNodes.js +7 -0
  512. package/dist/helpers/handleResponsiveValues.cjs +5 -0
  513. package/dist/helpers/handleResponsiveValues.js +19 -0
  514. package/dist/helpers/keyboardKeys.cjs +1 -0
  515. package/dist/helpers/keyboardKeys.js +20 -0
  516. package/dist/helpers/setOpacity.cjs +1 -0
  517. package/dist/helpers/setOpacity.js +4 -0
  518. package/dist/helpers/setTabIndexOnFirstItem.cjs +1 -0
  519. package/dist/helpers/setTabIndexOnFirstItem.js +7 -0
  520. package/dist/helpers/useElementOnScreen.cjs +1 -0
  521. package/dist/helpers/useElementOnScreen.js +15 -0
  522. package/dist/helpers/useId.cjs +1 -0
  523. package/dist/helpers/useId.js +6 -0
  524. package/dist/helpers/useIntersection.cjs +1 -0
  525. package/dist/helpers/useIntersection.js +21 -0
  526. package/dist/helpers/useLockScroll.cjs +1 -0
  527. package/dist/helpers/useLockScroll.js +9 -0
  528. package/dist/helpers/usePrevious.cjs +1 -0
  529. package/dist/helpers/usePrevious.js +10 -0
  530. package/dist/helpers/useResizeObserver.cjs +1 -0
  531. package/dist/helpers/useResizeObserver.js +14 -0
  532. package/dist/index.cjs +1 -0
  533. package/dist/index.js +288 -0
  534. package/dist/themes/ColorButton.cjs +3 -0
  535. package/dist/themes/ColorButton.js +25 -0
  536. package/dist/themes/colors.cjs +1 -0
  537. package/dist/themes/colors.js +49 -0
  538. package/dist/themes/common-theme.cjs +1 -0
  539. package/dist/themes/common-theme.js +21 -0
  540. package/dist/themes/darkTheme/dark-colors.cjs +1 -0
  541. package/dist/themes/darkTheme/dark-colors.js +52 -0
  542. package/dist/themes/darkTheme/dark-shadows.cjs +1 -0
  543. package/dist/themes/darkTheme/dark-shadows.js +12 -0
  544. package/dist/themes/darkTheme/index.cjs +1 -0
  545. package/dist/themes/darkTheme/index.js +11 -0
  546. package/dist/themes/extendTheme.cjs +13 -0
  547. package/dist/themes/extendTheme.js +36 -0
  548. package/dist/themes/index.cjs +1 -0
  549. package/dist/themes/index.js +12 -0
  550. package/dist/themes/lightTheme/index.cjs +1 -0
  551. package/dist/themes/lightTheme/index.js +11 -0
  552. package/dist/themes/lightTheme/light-colors.cjs +1 -0
  553. package/dist/themes/lightTheme/light-colors.js +52 -0
  554. package/dist/themes/lightTheme/light-shadows.cjs +1 -0
  555. package/dist/themes/lightTheme/light-shadows.js +12 -0
  556. package/dist/themes/sizes.cjs +1 -0
  557. package/dist/themes/sizes.js +18 -0
  558. package/dist/themes/utils.cjs +41 -0
  559. package/dist/themes/utils.js +46 -0
  560. package/dist/v2/Breadcrumbs/Breadcrumbs.cjs +9 -0
  561. package/dist/v2/Breadcrumbs/Breadcrumbs.js +38 -0
  562. package/dist/v2/Breadcrumbs/Crumb.cjs +1 -0
  563. package/dist/v2/Breadcrumbs/Crumb.js +27 -0
  564. package/dist/v2/Breadcrumbs/CrumbLink.cjs +14 -0
  565. package/dist/v2/Breadcrumbs/CrumbLink.js +31 -0
  566. package/dist/v2/Breadcrumbs/CrumbSimpleMenu.cjs +8 -0
  567. package/dist/v2/Breadcrumbs/CrumbSimpleMenu.js +28 -0
  568. package/dist/v2/Breadcrumbs/Divider.cjs +1 -0
  569. package/dist/v2/Breadcrumbs/Divider.js +15 -0
  570. package/dist/v2/Breadcrumbs/index.cjs +1 -0
  571. package/dist/v2/Breadcrumbs/index.js +10 -0
  572. package/dist/v2/Link/Link.cjs +23 -0
  573. package/dist/v2/Link/Link.js +69 -0
  574. package/dist/v2/Link/index.cjs +1 -0
  575. package/dist/v2/Link/index.js +4 -0
  576. package/dist/v2/LinkButton/LinkButton.cjs +33 -0
  577. package/dist/v2/LinkButton/LinkButton.js +95 -0
  578. package/dist/v2/LinkButton/index.cjs +1 -0
  579. package/dist/v2/LinkButton/index.js +4 -0
  580. package/dist/v2/MainNav/MainNav.cjs +9 -0
  581. package/dist/v2/MainNav/MainNav.js +30 -0
  582. package/dist/v2/MainNav/MainNavContext.cjs +1 -0
  583. package/dist/v2/MainNav/MainNavContext.js +6 -0
  584. package/dist/v2/MainNav/NavBrand.cjs +12 -0
  585. package/dist/v2/MainNav/NavBrand.js +68 -0
  586. package/dist/v2/MainNav/NavCondense.cjs +20 -0
  587. package/dist/v2/MainNav/NavCondense.js +45 -0
  588. package/dist/v2/MainNav/NavLink.cjs +69 -0
  589. package/dist/v2/MainNav/NavLink.js +122 -0
  590. package/dist/v2/MainNav/NavSection.cjs +1 -0
  591. package/dist/v2/MainNav/NavSection.js +49 -0
  592. package/dist/v2/MainNav/NavSections.cjs +1 -0
  593. package/dist/v2/MainNav/NavSections.js +21 -0
  594. package/dist/v2/MainNav/NavUser.cjs +7 -0
  595. package/dist/v2/MainNav/NavUser.js +54 -0
  596. package/dist/v2/MainNav/index.cjs +1 -0
  597. package/dist/v2/MainNav/index.js +16 -0
  598. package/dist/v2/Pagination/Pagination.cjs +5 -0
  599. package/dist/v2/Pagination/Pagination.js +30 -0
  600. package/dist/v2/Pagination/PaginationContext.cjs +1 -0
  601. package/dist/v2/Pagination/PaginationContext.js +6 -0
  602. package/dist/v2/Pagination/assets/next.cjs +1 -0
  603. package/dist/v2/Pagination/assets/next.js +4 -0
  604. package/dist/v2/Pagination/assets/previous.cjs +1 -0
  605. package/dist/v2/Pagination/assets/previous.js +4 -0
  606. package/dist/v2/Pagination/components.cjs +36 -0
  607. package/dist/v2/Pagination/components.js +111 -0
  608. package/dist/v2/Pagination/index.cjs +1 -0
  609. package/dist/v2/Pagination/index.js +9 -0
  610. package/dist/v2/SimpleMenu/SimpleMenu.cjs +19 -0
  611. package/dist/v2/SimpleMenu/SimpleMenu.js +164 -0
  612. package/dist/v2/SimpleMenu/index.cjs +1 -0
  613. package/dist/v2/SimpleMenu/index.js +5 -0
  614. package/dist/v2/SimpleMenu/utils.cjs +12 -0
  615. package/dist/v2/SimpleMenu/utils.js +15 -0
  616. package/dist/v2/SubNav/SubNav.cjs +10 -0
  617. package/dist/v2/SubNav/SubNav.js +26 -0
  618. package/dist/v2/SubNav/SubNavHeader.cjs +4 -0
  619. package/dist/v2/SubNav/SubNavHeader.js +98 -0
  620. package/dist/v2/SubNav/SubNavLink.cjs +39 -0
  621. package/dist/v2/SubNav/SubNavLink.js +83 -0
  622. package/dist/v2/SubNav/SubNavLinkSection.cjs +19 -0
  623. package/dist/v2/SubNav/SubNavLinkSection.js +68 -0
  624. package/dist/v2/SubNav/SubNavSection.cjs +8 -0
  625. package/dist/v2/SubNav/SubNavSection.js +63 -0
  626. package/dist/v2/SubNav/SubNavSectionLabel.cjs +9 -0
  627. package/dist/v2/SubNav/SubNavSectionLabel.js +53 -0
  628. package/dist/v2/SubNav/SubNavSections.cjs +1 -0
  629. package/dist/v2/SubNav/SubNavSections.js +20 -0
  630. package/dist/v2/SubNav/index.cjs +1 -0
  631. package/dist/v2/SubNav/index.js +15 -0
  632. package/dist/v2/index.cjs +1 -0
  633. package/dist/v2/index.js +51 -0
  634. package/package.json +22 -22
  635. package/Accordion.development.js +0 -775
  636. package/Accordion.js +0 -9
  637. package/Accordion.production.js +0 -1
  638. package/Alert.development.js +0 -562
  639. package/Alert.js +0 -9
  640. package/Alert.production.js +0 -1
  641. package/Avatar.development.js +0 -485
  642. package/Avatar.js +0 -9
  643. package/Avatar.production.js +0 -1
  644. package/Badge.development.js +0 -494
  645. package/Badge.js +0 -9
  646. package/Badge.production.js +0 -1
  647. package/BaseButton.development.js +0 -285
  648. package/BaseButton.js +0 -9
  649. package/BaseButton.production.js +0 -1
  650. package/BaseCheckbox.development.js +0 -434
  651. package/BaseCheckbox.js +0 -9
  652. package/BaseCheckbox.production.js +0 -1
  653. package/BaseLink.development.js +0 -273
  654. package/BaseLink.js +0 -9
  655. package/BaseLink.production.js +0 -1
  656. package/BaseRadio.development.js +0 -321
  657. package/BaseRadio.js +0 -9
  658. package/BaseRadio.production.js +0 -1
  659. package/Box.development.js +0 -341
  660. package/Box.js +0 -9
  661. package/Box.production.js +0 -1
  662. package/Breadcrumbs.development.js +0 -518
  663. package/Breadcrumbs.js +0 -9
  664. package/Breadcrumbs.production.js +0 -1
  665. package/Button.development.js +0 -573
  666. package/Button.js +0 -9
  667. package/Button.production.js +0 -1
  668. package/Card.development.js +0 -746
  669. package/Card.js +0 -9
  670. package/Card.production.js +0 -1
  671. package/CarouselInput.development.js +0 -898
  672. package/CarouselInput.js +0 -9
  673. package/CarouselInput.production.js +0 -1
  674. package/Checkbox.development.js +0 -722
  675. package/Checkbox.js +0 -9
  676. package/Checkbox.production.js +0 -1
  677. package/Combobox.development.js +0 -934
  678. package/Combobox.js +0 -9
  679. package/Combobox.production.js +0 -1
  680. package/DatePicker.development.js +0 -1323
  681. package/DatePicker.js +0 -9
  682. package/DatePicker.production.js +0 -1
  683. package/DateTimePicker.development.js +0 -1622
  684. package/DateTimePicker.js +0 -9
  685. package/DateTimePicker.production.js +0 -1
  686. package/Dialog.development.js +0 -741
  687. package/Dialog.js +0 -9
  688. package/Dialog.production.js +0 -1
  689. package/DismissibleLayer.development.js +0 -218
  690. package/DismissibleLayer.js +0 -9
  691. package/DismissibleLayer.production.js +0 -1
  692. package/Divider.development.js +0 -398
  693. package/Divider.js +0 -9
  694. package/Divider.production.js +0 -1
  695. package/EmptyStateLayout.development.js +0 -425
  696. package/EmptyStateLayout.js +0 -9
  697. package/EmptyStateLayout.production.js +0 -1
  698. package/Field.development.js +0 -614
  699. package/Field.js +0 -9
  700. package/Field.production.js +0 -1
  701. package/Flex.development.js +0 -377
  702. package/Flex.js +0 -9
  703. package/Flex.production.js +0 -1
  704. package/FocusTrap.development.js +0 -341
  705. package/FocusTrap.js +0 -9
  706. package/FocusTrap.production.js +0 -1
  707. package/Grid.development.js +0 -422
  708. package/Grid.js +0 -9
  709. package/Grid.production.js +0 -1
  710. package/Icon.development.js +0 -376
  711. package/Icon.js +0 -9
  712. package/Icon.production.js +0 -1
  713. package/IconButton.development.js +0 -684
  714. package/IconButton.js +0 -9
  715. package/IconButton.production.js +0 -1
  716. package/KeyboardNavigable.development.js +0 -454
  717. package/KeyboardNavigable.js +0 -9
  718. package/KeyboardNavigable.production.js +0 -1
  719. package/Layout.development.js +0 -626
  720. package/Layout.js +0 -9
  721. package/Layout.production.js +0 -1
  722. package/Link.development.js +0 -492
  723. package/Link.js +0 -9
  724. package/Link.production.js +0 -1
  725. package/LinkButton.development.js +0 -573
  726. package/LinkButton.js +0 -9
  727. package/LinkButton.production.js +0 -1
  728. package/LiveRegions.development.js +0 -147
  729. package/LiveRegions.js +0 -9
  730. package/LiveRegions.production.js +0 -1
  731. package/Loader.development.js +0 -309
  732. package/Loader.js +0 -9
  733. package/Loader.production.js +0 -1
  734. package/Main.development.js +0 -410
  735. package/Main.js +0 -9
  736. package/Main.production.js +0 -1
  737. package/MainNav.development.js +0 -957
  738. package/MainNav.js +0 -9
  739. package/MainNav.production.js +0 -1
  740. package/ModalLayout.development.js +0 -895
  741. package/ModalLayout.js +0 -9
  742. package/ModalLayout.production.js +0 -1
  743. package/NumberInput.development.js +0 -733
  744. package/NumberInput.js +0 -9
  745. package/NumberInput.production.js +0 -1
  746. package/Pagination.development.js +0 -587
  747. package/Pagination.js +0 -9
  748. package/Pagination.production.js +0 -1
  749. package/Popover.development.js +0 -481
  750. package/Popover.js +0 -9
  751. package/Popover.production.js +0 -1
  752. package/Portal.development.js +0 -212
  753. package/Portal.js +0 -9
  754. package/Portal.production.js +0 -1
  755. package/ProgressBar.development.js +0 -273
  756. package/ProgressBar.js +0 -9
  757. package/ProgressBar.production.js +0 -1
  758. package/Radio.development.js +0 -518
  759. package/Radio.js +0 -9
  760. package/Radio.production.js +0 -1
  761. package/RawTable.development.js +0 -549
  762. package/RawTable.js +0 -9
  763. package/RawTable.production.js +0 -1
  764. package/Searchbar.development.js +0 -696
  765. package/Searchbar.js +0 -9
  766. package/Searchbar.production.js +0 -1
  767. package/Select.development.js +0 -1063
  768. package/Select.js +0 -9
  769. package/Select.production.js +0 -1
  770. package/SimpleMenu.development.js +0 -821
  771. package/SimpleMenu.js +0 -9
  772. package/SimpleMenu.production.js +0 -1
  773. package/Stack.development.js +0 -434
  774. package/Stack.js +0 -9
  775. package/Stack.production.js +0 -1
  776. package/Status.development.js +0 -494
  777. package/Status.js +0 -9
  778. package/Status.production.js +0 -1
  779. package/SubNav.development.js +0 -1123
  780. package/SubNav.js +0 -9
  781. package/SubNav.production.js +0 -1
  782. package/Switch.development.js +0 -434
  783. package/Switch.js +0 -9
  784. package/Switch.production.js +0 -1
  785. package/Table.development.js +0 -741
  786. package/Table.js +0 -9
  787. package/Table.production.js +0 -1
  788. package/Tabs.development.js +0 -590
  789. package/Tabs.js +0 -9
  790. package/Tabs.production.js +0 -1
  791. package/Tag.development.js +0 -494
  792. package/Tag.js +0 -9
  793. package/Tag.production.js +0 -1
  794. package/TextButton.development.js +0 -517
  795. package/TextButton.js +0 -9
  796. package/TextButton.production.js +0 -1
  797. package/TextInput.development.js +0 -662
  798. package/TextInput.js +0 -9
  799. package/TextInput.production.js +0 -1
  800. package/Textarea.development.js +0 -674
  801. package/Textarea.js +0 -9
  802. package/Textarea.production.js +0 -1
  803. package/ThemeProvider.development.js +0 -300
  804. package/ThemeProvider.js +0 -9
  805. package/ThemeProvider.production.js +0 -1
  806. package/TimePicker.development.js +0 -1098
  807. package/TimePicker.js +0 -9
  808. package/TimePicker.production.js +0 -1
  809. package/ToggleCheckbox.development.js +0 -542
  810. package/ToggleCheckbox.js +0 -9
  811. package/ToggleCheckbox.production.js +0 -1
  812. package/ToggleInput.development.js +0 -745
  813. package/ToggleInput.js +0 -9
  814. package/ToggleInput.production.js +0 -1
  815. package/Tooltip.development.js +0 -588
  816. package/Tooltip.js +0 -9
  817. package/Tooltip.production.js +0 -1
  818. package/Typography.development.js +0 -276
  819. package/Typography.js +0 -9
  820. package/Typography.production.js +0 -1
  821. package/VisuallyHidden.development.js +0 -146
  822. package/VisuallyHidden.js +0 -9
  823. package/VisuallyHidden.production.js +0 -1
  824. package/index.development.js +0 -4338
  825. package/index.js +0 -9
  826. package/index.production.js +0 -1
  827. package/themes.development.js +0 -254
  828. package/themes.js +0 -9
  829. package/themes.production.js +0 -1
  830. package/v2/Breadcrumbs.development.js +0 -906
  831. package/v2/Breadcrumbs.js +0 -9
  832. package/v2/Breadcrumbs.production.js +0 -1
  833. package/v2/Link.development.js +0 -505
  834. package/v2/Link.js +0 -9
  835. package/v2/Link.production.js +0 -1
  836. package/v2/LinkButton.development.js +0 -586
  837. package/v2/LinkButton.js +0 -9
  838. package/v2/LinkButton.production.js +0 -1
  839. package/v2/MainNav.development.js +0 -970
  840. package/v2/MainNav.js +0 -9
  841. package/v2/MainNav.production.js +0 -1
  842. package/v2/Pagination.development.js +0 -600
  843. package/v2/Pagination.js +0 -9
  844. package/v2/Pagination.production.js +0 -1
  845. package/v2/SimpleMenu.development.js +0 -834
  846. package/v2/SimpleMenu.js +0 -9
  847. package/v2/SimpleMenu.production.js +0 -1
  848. package/v2/SubNav.development.js +0 -1136
  849. package/v2/SubNav.js +0 -9
  850. package/v2/SubNav.production.js +0 -1
  851. package/v2/index.development.js +0 -1740
  852. package/v2/index.js +0 -9
  853. package/v2/index.production.js +0 -1
  854. package/v2/package.json +0 -81
package/v2/Breadcrumbs.js DELETED
@@ -1,9 +0,0 @@
1
-
2
- 'use strict';
3
-
4
- if (process.env.NODE_ENV === "production") {
5
- module.exports = require("./Breadcrumbs.production.js");
6
- } else {
7
- module.exports = require("./Breadcrumbs.development.js");
8
- }
9
-
@@ -1 +0,0 @@
1
- !function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("styled-components"),require("@strapi/icons/CarretDown"),require("react-dom"),require("@strapi/icons/Loader")):"function"==typeof define&&define.amd?define("strapiDs",["react","styled-components","@strapi/icons/CarretDown","react-dom","@strapi/icons/Loader"],e):"object"==typeof exports?exports.strapiDs=e(require("react"),require("styled-components"),require("@strapi/icons/CarretDown"),require("react-dom"),require("@strapi/icons/Loader")):n.strapiDs=e(n.react,n["styled-components"],n["@strapi/icons/CarretDown"],n["react-dom"],n["@strapi/icons/Loader"])}(this,(function(n,e,t,r,o){return function(n){var e={};function t(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:r})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(r,o,function(e){return n[e]}.bind(null,o));return r},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=52)}([function(n,e,t){n.exports=t(28)()},function(e,t){e.exports=n},function(n,e){n.exports=function(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,t){n.exports=e},function(n,e){function t(){return n.exports=t=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},n.exports.default=n.exports,n.exports.__esModule=!0,t.apply(this,arguments)}n.exports=t,n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e,t){var r=t(27);n.exports=function(n,e){if(null==n)return{};var t,o,i=r(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o<a.length;o++)t=a[o],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(i[t]=n[t])}return i},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e,t){"use strict";t.d(e,"a",(function(){return b}));var r,o=t(2),i=t.n(o),a=t(3),c=t.n(a),s=t(8),u=t(1),l=t.n(u),f=t(0),d=t.n(f),p=function(n){return l.a.createElement("div",n)},h={background:void 0,borderColor:void 0,color:void 0,hiddenS:!1,hiddenXS:!1,padding:void 0,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,hasRadius:!1,shadow:void 0,children:null,shrink:void 0,grow:void 0,basis:void 0,flex:void 0,_hover:function(){}},m={_hover:d.a.func,background:d.a.string,basis:d.a.oneOfType([d.a.string,d.a.string]),borderColor:d.a.string,children:d.a.oneOfType([d.a.node,d.a.string]),color:d.a.string,flex:d.a.oneOfType([d.a.string,d.a.string]),grow:d.a.oneOfType([d.a.string,d.a.string]),hasRadius:d.a.bool,hiddenS:d.a.bool,hiddenXS:d.a.bool,padding:d.a.oneOfType([d.a.number,d.a.arrayOf(d.a.number)]),paddingBottom:d.a.oneOfType([d.a.number,d.a.arrayOf(d.a.number)]),paddingLeft:d.a.oneOfType([d.a.number,d.a.arrayOf(d.a.number)]),paddingRight:d.a.oneOfType([d.a.number,d.a.arrayOf(d.a.number)]),paddingTop:d.a.oneOfType([d.a.number,d.a.arrayOf(d.a.number)]),shadow:d.a.string,shrink:d.a.oneOfType([d.a.string,d.a.string])};p.defaultProps=h,p.propTypes=m;var g={color:!0},b=c.a.div.withConfig({shouldForwardProp:function(n,e){return!g[n]&&e(n)}})(r||(r=i()(["\n // Font\n font-size: ",";\n\n // Colors\n background: ",";\n color: ",";\n\n // Spaces\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n\n // Responsive hiding\n ","\n ","\n \n\n // Borders\n border-radius: ",";\n border-style: ",";\n border-width: ",";\n border-color: ",";\n border: ",";\n\n // Shadows\n box-shadow: ",";\n\n // Handlers\n pointer-events: ",";\n &:hover {\n ","\n }\n\n // Display\n display: ",";\n\n // Position\n position: ",";\n left: ",";\n right: ",";\n top: ",";\n bottom: ",";\n z-index: ",";\n overflow: ",";\n cursor: ",";\n\n // Size\n width: ",";\n max-width: ",";\n min-width: ",";\n height: ",";\n max-height: ",";\n min-height: ",";\n\n // Animation\n transition: ",";\n transform: ",";\n animation: ",";\n\n //Flexbox children props\n flex-shrink: ",";\n flex-grow: ",";\n flex-basis: ",";\n flex: ",";\n\n // Text\n text-align: ",";\n text-transform: ",";\n line-height: ",";\n\n // Cursor\n cursor: ",";\n"])),(function(n){var e=n.fontSize;return n.theme.fontSizes[e]||e}),(function(n){var e=n.theme,t=n.background;return e.colors[t]}),(function(n){var e=n.theme,t=n.color;return e.colors[t]}),(function(n){var e=n.theme,t=n.padding;return Object(s.a)("padding",t,e)}),(function(n){var e=n.theme,t=n.paddingTop;return Object(s.a)("padding-top",t,e)}),(function(n){var e=n.theme,t=n.paddingRight;return Object(s.a)("padding-right",t,e)}),(function(n){var e=n.theme,t=n.paddingBottom;return Object(s.a)("padding-bottom",t,e)}),(function(n){var e=n.theme,t=n.paddingLeft;return Object(s.a)("padding-left",t,e)}),(function(n){var e=n.theme,t=n.marginLeft;return Object(s.a)("margin-left",t,e)}),(function(n){var e=n.theme,t=n.marginRight;return Object(s.a)("margin-right",t,e)}),(function(n){var e=n.theme,t=n.marginTop;return Object(s.a)("margin-top",t,e)}),(function(n){var e=n.theme,t=n.marginBottom;return Object(s.a)("margin-bottom",t,e)}),(function(n){var e=n.theme;return n.hiddenS?"".concat(e.mediaQueries.tablet," { display: none; }"):void 0}),(function(n){var e=n.theme;return n.hiddenXS?"".concat(e.mediaQueries.mobile," { display: none; }"):void 0}),(function(n){var e=n.theme,t=n.hasRadius,r=n.borderRadius;return t?e.borderRadius:r}),(function(n){return n.borderStyle}),(function(n){return n.borderWidth}),(function(n){var e=n.borderColor;return n.theme.colors[e]}),(function(n){var e=n.theme,t=n.borderColor,r=n.borderStyle,o=n.borderWidth;if(t&&!r&&!o)return"1px solid ".concat(e.colors[t])}),(function(n){var e=n.theme,t=n.shadow;return e.shadows[t]}),(function(n){return n.pointerEvents}),(function(n){var e=n._hover,t=n.theme;return e?e(t):void 0}),(function(n){return n.display}),(function(n){return n.position}),(function(n){var e=n.left;return n.theme.spaces[e]||e}),(function(n){var e=n.right;return n.theme.spaces[e]||e}),(function(n){var e=n.top;return n.theme.spaces[e]||e}),(function(n){var e=n.bottom;return n.theme.spaces[e]||e}),(function(n){return n.zIndex}),(function(n){return n.overflow}),(function(n){return n.cursor}),(function(n){var e=n.width;return n.theme.spaces[e]||e}),(function(n){var e=n.maxWidth;return n.theme.spaces[e]||e}),(function(n){var e=n.minWidth;return n.theme.spaces[e]||e}),(function(n){var e=n.height;return n.theme.spaces[e]||e}),(function(n){var e=n.maxHeight;return n.theme.spaces[e]||e}),(function(n){var e=n.minHeight;return n.theme.spaces[e]||e}),(function(n){return n.transition}),(function(n){return n.transform}),(function(n){return n.animation}),(function(n){return n.shrink}),(function(n){return n.grow}),(function(n){return n.basis}),(function(n){return n.flex}),(function(n){return n.textAlign}),(function(n){return n.textTransform}),(function(n){return n.lineHeight}),(function(n){return n.cursor}));b.defaultProps=h,b.propTypes=m},function(n,e,t){"use strict";t.d(e,"a",(function(){return b}));var r,o=t(2),i=t.n(o),a=t(3),c=t.n(a),s=["alpha","beta","delta","epsilon","omega","pi","sigma"],u=t(1),l=t.n(u),f=t(0),d=t.n(f),p=function(n){return l.a.createElement("div",n)},h={ellipsis:!1,fontWeight:void 0,fontSize:void 0,lineHeight:void 0,textColor:void 0,textAlign:void 0,textTransform:void 0,variant:"omega"},m={ellipsis:d.a.bool,fontSize:d.a.oneOfType([d.a.number,d.a.string]),fontWeight:d.a.string,lineHeight:d.a.oneOfType([d.a.number,d.a.string]),textAlign:d.a.string,textColor:d.a.string,textTransform:d.a.string,variant:d.a.oneOf(s)};p.defaultProps=h,p.propTypes=m;var g={fontSize:!0,fontWeight:!0},b=c.a.span.withConfig({shouldForwardProp:function(n,e){return!g[n]&&e(n)}})(r||(r=i()(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n color: ",";\n text-align: ",";\n text-transform: ",";\n ","\n ","\n"])),(function(n){var e=n.theme,t=n.fontWeight;return e.fontWeights[t]}),(function(n){var e=n.theme,t=n.fontSize;return e.fontSizes[t]}),(function(n){var e=n.theme,t=n.lineHeight;return e.lineHeights[t]}),(function(n){var e=n.theme,t=n.textColor;return e.colors[t||"neutral800"]}),(function(n){return n.textAlign}),(function(n){return n.textTransform}),(function(n){return n.ellipsis&&"\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n "}),(function(n){var e=n.variant,t=n.theme;switch(e){case"alpha":return"\n font-weight: ".concat(t.fontWeights.bold,";\n font-size: ").concat(t.fontSizes[5],";\n line-height: ").concat(t.lineHeights[2],";\n ");case"beta":return"\n font-weight: ".concat(t.fontWeights.bold,";\n font-size: ").concat(t.fontSizes[4],";\n line-height: ").concat(t.lineHeights[1],";\n ");case"delta":return"\n font-weight: ".concat(t.fontWeights.semiBold,";\n font-size: ").concat(t.fontSizes[3],";\n line-height: ").concat(t.lineHeights[2],";\n ");case"epsilon":return"\n font-size: ".concat(t.fontSizes[3],";\n line-height: ").concat(t.lineHeights[6],";\n ");case"omega":return"\n font-size: ".concat(t.fontSizes[2],";\n line-height: ").concat(t.lineHeights[4],";\n ");case"pi":return"\n font-size: ".concat(t.fontSizes[1],";\n line-height: ").concat(t.lineHeights[3],";\n ");case"sigma":return"\n font-weight: ".concat(t.fontWeights.bold,";\n font-size: ").concat(t.fontSizes[0],";\n line-height: ").concat(t.lineHeights[5],";\n text-transform: uppercase;\n ");default:return"\n font-size: ".concat(t.fontSizes[2],";\n ")}}));b.defaultProps=h,b.propTypes=m},function(n,e,t){"use strict";var r=t(11),o=t.n(r),i=t(19),a=t.n(i);e.a=function(n,e,t){var r=e;if(Array.isArray(e)||"object"!==a()(e)||(r=[null==e?void 0:e.desktop,null==e?void 0:e.tablet,null==e?void 0:e.mobile]),void 0!==r){if(Array.isArray(r)){var i=r,c=o()(i,3),s=c[0],u=c[1],l=c[2],f="".concat(n,": ").concat(t.spaces[s],";");return void 0!==u&&(f+="".concat(t.mediaQueries.tablet,"{\n ").concat(n,": ").concat(t.spaces[u],";\n }")),void 0!==l&&(f+="".concat(t.mediaQueries.mobile,"{\n ").concat(n,": ").concat(t.spaces[l],";\n }")),f}var d=t.spaces[r]||r;return"".concat(n,": ").concat(d,";")}}},function(n,e,t){"use strict";t.d(e,"i",(function(){return r})),t.d(e,"c",(function(){return o})),t.d(e,"d",(function(){return i})),t.d(e,"j",(function(){return a})),t.d(e,"g",(function(){return c})),t.d(e,"b",(function(){return s})),t.d(e,"h",(function(){return u})),t.d(e,"e",(function(){return l})),t.d(e,"f",(function(){return f})),t.d(e,"k",(function(){return d})),t.d(e,"a",(function(){return p}));var r="success-light",o="danger-light",i="default",a="tertiary",c="secondary",s="danger",u="success",l="ghost",f=[r,o],d=[i,a,c,s,u,l].concat(f),p=["S","L"]},function(n,e,t){"use strict";t.d(e,"a",(function(){return y}));var r,o=t(2),i=t.n(o),a=t(3),c=t.n(a),s=t(6),u=t(8),l=t(1),f=t.n(l),d=t(0),p=t.n(d),h=function(n){return f.a.createElement("div",n)},m={alignItems:"center",basis:void 0,direction:"row",gap:void 0,inline:!1,justifyContent:void 0,reverse:!1,wrap:void 0},g={alignItems:p.a.string,basis:p.a.oneOfType([p.a.string,p.a.number]),direction:p.a.string,gap:p.a.oneOfType([p.a.shape({desktop:p.a.number,mobile:p.a.number,tablet:p.a.number}),p.a.number,p.a.arrayOf(p.a.number),p.a.string]),inline:p.a.bool,justifyContent:p.a.string,reverse:p.a.bool,shrink:p.a.number,wrap:p.a.string};h.defaultProps=m,h.propTypes=g;var b={direction:!0},y=c()(s.a).withConfig({shouldForwardProp:function(n,e){return!b[n]&&e(n)}})(r||(r=i()(["\n align-items: ",";\n display: ",";\n flex-direction: ",";\n flex-shrink: ",";\n flex-wrap: ",";\n ","};\n justify-content: ",";\n"])),(function(n){return n.alignItems}),(function(n){return n.inline?"inline-flex":"flex"}),(function(n){return n.direction}),(function(n){return n.shrink}),(function(n){return n.wrap}),(function(n){var e=n.gap,t=n.theme;return Object(u.a)("gap",e,t)}),(function(n){return n.justifyContent}));y.defaultProps=m,y.propTypes=g},function(n,e,t){var r=t(30),o=t(31),i=t(23),a=t(32);n.exports=function(n,e){return r(n)||o(n,e)||i(n,e)||a()},n.exports.default=n.exports,n.exports.__esModule=!0},,function(n,e,t){"use strict";t.d(e,"a",(function(){return b}));var r,o=t(4),i=t.n(o),a=t(5),c=t.n(a),s=t(2),u=t.n(s),l=t(1),f=t.n(l),d=t(0),p=t.n(d),h=t(3),m=["href","rel","target","disabled","isExternal"],g=t.n(h).a.a(r||(r=u()(["\n cursor: pointer;\n"]))),b=f.a.forwardRef((function(n,e){var t=n.href,r=n.rel,o=n.target,a=n.disabled,s=n.isExternal,u=c()(n,m);return f.a.createElement(g,i()({ref:e,target:s?"_blank":o,rel:s?r:void 0,href:a?"#":t,disabled:a},u))}));b.displayName="BaseLink",b.defaultProps={disabled:!1,href:void 0,isExternal:!1,rel:"noreferrer noopener",target:"_self"},b.propTypes={disabled:p.a.bool,href:p.a.string,isExternal:p.a.bool,rel:p.a.string,target:p.a.string}},function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var r=t(1),o=0,i=function(n,e){return Object(r.useRef)(e||"".concat(n,"-").concat(++o)).current}},function(n,e){n.exports=function(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e,t){"use strict";t.d(e,"b",(function(){return s})),t.d(e,"c",(function(){return u})),t.d(e,"a",(function(){return l})),t.d(e,"d",(function(){return f}));var r=t(33),o=t.n(r),i=t(7),a=t(9),c=function(n){return a.f.includes(n)?n.substring(0,n.lastIndexOf("-")):n===a.j?"neutral":[a.d,a.g].includes(n)||!a.k.includes(n)?"primary":n},s=function(n){var e=n.theme;return"\n border: 1px solid ".concat(e.colors.neutral200,";\n background: ").concat(e.colors.neutral150,";\n ").concat(i.a," {\n color: ").concat(e.colors.neutral600,";\n }\n svg {\n > g, path {\n fill: ").concat(e.colors.neutral600,";\n }\n }\n ")},u=function(n){var e=n.theme,t=n.variant;return[].concat(o()(a.f),[a.g]).includes(t)?"\n background-color: ".concat(e.colors.neutral0,";\n "):t===a.j||t===a.e?"\n background-color: ".concat(e.colors.neutral100,";\n "):t===a.d?"\n border: 1px solid ".concat(e.colors.buttonPrimary500,";\n background: ").concat(e.colors.buttonPrimary500,";\n "):"\n border: 1px solid ".concat(e.colors["".concat(c(t),"500")],";\n background: ").concat(e.colors["".concat(c(t),"500")],";\n ")},l=function(n){var e=n.theme,t=n.variant;return[].concat(o()(a.f),[a.g]).includes(t)?"\n background-color: ".concat(e.colors.neutral0,";\n border: 1px solid ").concat(e.colors["".concat(c(t),"600")],";\n ").concat(i.a," {\n color: ").concat(e.colors["".concat(c(t),"600")],";\n }\n svg {\n > g, path {\n fill: ").concat(e.colors["".concat(c(t),"600")],";\n }\n }\n "):t===a.j?"\n background-color: ".concat(e.colors.neutral150,";\n "):"\n border: 1px solid ".concat(e.colors["".concat(c(t),"600")],";\n background: ").concat(e.colors["".concat(c(t),"600")],";\n ")},f=function(n){var e=n.theme,t=n.variant;switch(t){case a.c:case a.i:case a.g:return"\n border: 1px solid ".concat(e.colors["".concat(c(t),"200")],";\n background: ").concat(e.colors["".concat(c(t),"100")],";\n ").concat(i.a," {\n color: ").concat(e.colors["".concat(c(t),"700")],";\n }\n svg {\n > g, path {\n fill: ").concat(e.colors["".concat(c(t),"700")],";\n }\n }\n ");case a.j:return"\n border: 1px solid ".concat(e.colors.neutral200,";\n background: ").concat(e.colors.neutral0,";\n ").concat(i.a," {\n color: ").concat(e.colors.neutral800,";\n }\n svg {\n > g, path {\n fill: ").concat(e.colors.neutral800,";\n }\n }\n ");case a.e:return"\n border: 1px solid transparent;\n background: transparent;\n\n ".concat(i.a," {\n color: ").concat(e.colors.neutral800,";\n }\n\n svg {\n > g, path {\n fill: ").concat(e.colors.neutral500,";\n }\n }\n ");case a.h:case a.b:return"\n border: 1px solid ".concat(e.colors["".concat(c(t),"600")],";\n background: ").concat(e.colors["".concat(c(t),"600")],";\n ").concat(i.a," {\n color: ").concat(e.colors.neutral0,";\n }\n ");default:return"\n svg {\n > g, path {\n fill: ".concat(e.colors.buttonNeutral0,";\n }\n }\n ")}}},function(n,e,t){"use strict";t.d(e,"b",(function(){return r})),t.d(e,"a",(function(){return o}));var r=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"&";return function(e){var t=e.theme,r=e.hasError;return"\n outline: none;\n box-shadow: 0;\n transition-property: border-color, box-shadow, fill;\n transition-duration: 0.2s;\n\n ".concat(n,":focus-within {\n border: 1px solid ").concat(r?t.colors.danger600:t.colors.primary600,";\n box-shadow: ").concat(r?t.colors.danger600:t.colors.primary600," 0px 0px 0px 2px;\n }\n ")}},o=function(n){var e=n.theme;return"\n position: relative;\n outline: none;\n \n &:after {\n transition-property: all;\n transition-duration: 0.2s;\n border-radius: 8px;\n content: '';\n position: absolute;\n top: -4px;\n bottom: -4px;\n left: -4px;\n right: -4px;\n border: 2px solid transparent;\n }\n\n &:focus-visible {\n outline: none;\n &:after {\n border-radius: 8px;\n content: '';\n position: absolute;\n top: -5px;\n bottom: -5px;\n left: -5px;\n right: -5px;\n border: 2px solid ".concat(e.colors.primary600,";\n }\n }\n")}},function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var r={DOWN:"ArrowDown",UP:"ArrowUp",RIGHT:"ArrowRight",LEFT:"ArrowLeft",ESCAPE:"Escape",ENTER:"Enter",SPACE:" ",TAB:"Tab",END:"End",HOME:"Home",DELETE:"Delete",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",BACKSPACE:"Backspace",CLEAR:"Clear"}},function(n,e){function t(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(n.exports=t=function(n){return typeof n},n.exports.default=n.exports,n.exports.__esModule=!0):(n.exports=t=function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n.exports.default=n.exports,n.exports.__esModule=!0),t(e)}n.exports=t,n.exports.default=n.exports,n.exports.__esModule=!0},,function(n,e){n.exports=t},function(n,e){n.exports=r},function(n,e,t){var r=t(24);n.exports=function(n,e){if(n){if("string"==typeof n)return r(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(n,e):void 0}},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e){n.exports=function(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e,t){"use strict";t.d(e,"b",(function(){return y})),t.d(e,"a",(function(){return v}));var r,o=t(4),i=t.n(o),a=t(5),c=t.n(a),s=t(2),u=t.n(s),l=t(1),f=t.n(l),d=t(0),p=t.n(d),h=t(3),m=t.n(h),g=t(17),b=["disabled","children"],y=m.a.button(r||(r=u()(["\n display: flex;\n cursor: pointer;\n padding: ",";\n border-radius: ",";\n background: ",";\n border: 1px solid ",";\n svg {\n height: ",";\n width: ",";\n }\n svg {\n > g,\n path {\n fill: ",";\n }\n }\n &[aria-disabled='true'] {\n pointer-events: none;\n }\n\n ","\n"])),(function(n){return n.theme.spaces[2]}),(function(n){return n.theme.borderRadius}),(function(n){return n.theme.colors.neutral0}),(function(n){return n.theme.colors.neutral200}),(function(n){return n.theme.spaces[3]}),(function(n){return n.theme.spaces[3]}),(function(n){return n.theme.colors.neutral0}),g.a),v=f.a.forwardRef((function(n,e){var t=n.disabled,r=n.children,o=c()(n,b);return f.a.createElement(y,i()({ref:e,"aria-disabled":t,type:"button",disabled:t},o),r)}));v.displayName="BaseButton",v.defaultProps={disabled:!1},v.propTypes={children:p.a.node.isRequired,disabled:p.a.bool}},function(n,e,t){"use strict";t.d(e,"a",(function(){return c}));var r=t(11),o=t.n(r),i=t(1),a=t(22),c=function(n){var e=n.children,t=Object(i.useRef)(null),r=Object(i.useState)(!1),c=o()(r,2),s=c[0],u=c[1];return Object(i.useLayoutEffect)((function(){return t.current=document.createElement("div"),t.current.setAttribute("data-react-portal","true"),document.body.appendChild(t.current),u(!0),function(){var n;null===(n=t.current)||void 0===n||n.remove()}}),[]),s&&t.current?Object(a.createPortal)(e,t.current):null}},function(n,e){n.exports=function(n,e){if(null==n)return{};var t,r,o={},i=Object.keys(n);for(r=0;r<i.length;r++)t=i[r],e.indexOf(t)>=0||(o[t]=n[t]);return o},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e,t){"use strict";var r=t(29);function o(){}function i(){}i.resetWarningCache=o,n.exports=function(){function n(n,e,t,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return n}n.isRequired=n;var t={array:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:e,element:n,elementType:n,instanceOf:e,node:n,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t}},function(n,e,t){"use strict";n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(n,e){n.exports=function(n){if(Array.isArray(n))return n},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e){n.exports=function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var r,o,i=[],a=!0,c=!1;try{for(t=t.call(n);!(a=(r=t.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(n){c=!0,o=n}finally{try{a||null==t.return||t.return()}finally{if(c)throw o}}return i}},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e){n.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e,t){var r=t(44),o=t(45),i=t(23),a=t(46);n.exports=function(n){return r(n)||o(n)||i(n)||a()},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e,t){"use strict";t.d(e,"a",(function(){return A}));var r,o,i,a,c=t(4),s=t.n(c),u=t(5),l=t.n(u),f=t(2),d=t.n(f),p=t(1),h=t.n(p),m=t(0),g=t.n(m),b=t(3),y=t.n(b),v=t(43),x=t.n(v),w=t(7),O=t(6),E=t(16),k=t(9),R=t(25),T=["variant","startIcon","endIcon","disabled","children","onClick","size","loading","fullWidth"],S=Object(b.keyframes)(r||(r=d()(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n"]))),j=y.a.div(o||(o=d()(["\n animation: "," 2s infinite linear;\n will-change: transform;\n"])),S),P=y()(O.a)(i||(i=d()(["\n height: 100%;\n"]))),C=y()(R.a)(a||(a=d()(["\n align-items: center;\n padding: ",";\n background: ",";\n border: 1px solid ",";\n "," {\n display: flex;\n align-items: center;\n }\n "," {\n color: ",";\n }\n &[aria-disabled='true'] {\n ","\n &:active {\n ","\n }\n }\n &:hover {\n ","\n }\n &:active {\n ","\n }\n ","\n ","\n"])),(function(n){var e=n.theme,t=n.size;return"".concat("S"===t?e.spaces[2]:"10px"," ").concat(e.spaces[4])}),(function(n){return n.theme.colors.buttonPrimary600}),(function(n){return n.theme.colors.buttonPrimary600}),O.a,w.a,(function(n){return n.theme.colors.buttonNeutral0}),E.b,E.b,E.c,E.a,E.d,(function(n){return n.fullWidth&&"\n display: inline-flex;\n justify-content: center;\n width: 100%;\n "})),A=h.a.forwardRef((function(n,e){var t=n.variant,r=n.startIcon,o=n.endIcon,i=n.disabled,a=n.children,c=n.onClick,u=n.size,f=n.loading,d=n.fullWidth,p=l()(n,T),m=i||f;return h.a.createElement(C,s()({ref:e,"aria-disabled":m,disabled:m,size:u,variant:t,onClick:function(n){!m&&c&&c(n)},fullWidth:d},p),(r||f)&&h.a.createElement(P,{"aria-hidden":!0,paddingRight:2},f?h.a.createElement(j,null,h.a.createElement(x.a,null)):r),"S"===u?h.a.createElement(w.a,{variant:"pi",fontWeight:"bold"},a):h.a.createElement(w.a,{fontWeight:"bold"},a),o&&h.a.createElement(O.a,{"aria-hidden":!0,paddingLeft:2},o))}));A.displayName="Button",A.defaultProps={disabled:!1,endIcon:void 0,fullWidth:!1,loading:!1,onClick:void 0,size:"S",startIcon:void 0,variant:"default"},A.propTypes={children:g.a.node.isRequired,disabled:g.a.bool,endIcon:g.a.element,fullWidth:g.a.bool,loading:g.a.bool,onClick:g.a.func,size:g.a.oneOf(k.a),startIcon:g.a.element,variant:g.a.oneOf(k.k)}},,,,,,,function(n,e,t){"use strict";t.r(e),t.d(e,"MenuItem",(function(){return Zn})),t.d(e,"SimpleMenu",(function(){return ne}));var r=t(19),o=t.n(r),i=t(11),a=t.n(i),c=t(4),s=t.n(c),u=t(15),l=t.n(u),f=t(5),d=t.n(f),p=t(2),h=t.n(p),m=t(1),g=t.n(m),b=t(0),y=t.n(b),v=t(3),x=t.n(v),w=t(21),O=t.n(w),E=t(7),k=t(6),R=t(10),T=t(34),S=t(13);function j(n){return n.split("-")[0]}function P(n){return n.split("-")[1]}function C(n){return["top","bottom"].includes(j(n))?"x":"y"}function A(n){return"y"===n?"height":"width"}function _(n,e,t){let{reference:r,floating:o}=n;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,c=C(e),s=A(c),u=r[s]/2-o[s]/2,l="x"===c;let f;switch(j(e)){case"top":f={x:i,y:r.y-o.height};break;case"bottom":f={x:i,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:a};break;case"left":f={x:r.x-o.width,y:a};break;default:f={x:r.x,y:r.y}}switch(P(e)){case"start":f[c]-=u*(t&&l?-1:1);break;case"end":f[c]+=u*(t&&l?-1:1)}return f}function L(n){return"number"!=typeof n?function(n){return{top:0,right:0,bottom:0,left:0,...n}}(n):{top:n,right:n,bottom:n,left:n}}function z(n){return{...n,top:n.y,left:n.x,right:n.x+n.width,bottom:n.y+n.height}}async function W(n,e){var t;void 0===e&&(e={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:s}=n,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=e,h=L(p),m=c[d?"floating"===f?"reference":"floating":f],g=z(await i.getClippingRect({element:null==(t=await(null==i.isElement?void 0:i.isElement(m)))||t?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:l,strategy:s})),b=z(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),strategy:s}):a[f]);return{top:g.top-b.top+h.top,bottom:b.bottom-g.bottom+h.bottom,left:g.left-b.left+h.left,right:b.right-g.right+h.right}}const M=Math.min,D=Math.max;function I(n,e,t){return D(n,M(e,t))}const H={left:"right",right:"left",bottom:"top",top:"bottom"};function q(n){return n.replace(/left|right|bottom|top/g,n=>H[n])}function N(n,e,t){void 0===t&&(t=!1);const r=P(n),o=C(n),i=A(o);let a="x"===o?r===(t?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=q(a)),{main:a,cross:q(a)}}const B={start:"end",end:"start"};function F(n){return n.replace(/start|end/g,n=>B[n])}const V=function(n){return void 0===n&&(n={}),{name:"flip",options:n,async fn(e){var t;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:c,elements:s}=e,{mainAxis:u=!0,crossAxis:l=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...h}=n,m=j(r),g=[a,...f||(m===a||!p?[q(a)]:function(n){const e=q(n);return[F(n),e,F(e)]}(a))],b=await W(e,h),y=[];let v=(null==(t=o.flip)?void 0:t.overflows)||[];if(u&&y.push(b[m]),l){const{main:n,cross:e}=N(r,i,await(null==c.isRTL?void 0:c.isRTL(s.floating)));y.push(b[n],b[e])}if(v=[...v,{placement:r,overflows:y}],!y.every(n=>n<=0)){var x,w;const n=(null!=(x=null==(w=o.flip)?void 0:w.index)?x:0)+1,e=g[n];if(e)return{data:{index:n,overflows:v},reset:{placement:e}};let t="bottom";switch(d){case"bestFit":{var O;const n=null==(O=v.map(n=>[n,n.overflows.filter(n=>n>0).reduce((n,e)=>n+e,0)]).sort((n,e)=>n[1]-e[1])[0])?void 0:O[0].placement;n&&(t=n);break}case"initialPlacement":t=a}if(r!==t)return{reset:{placement:t}}}return{}}}};const U=function(n){return void 0===n&&(n=0),{name:"offset",options:n,async fn(e){const{x:t,y:r}=e,o=await async function(n,e){const{placement:t,platform:r,elements:o}=n,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=j(t),c=P(t),s="x"===C(t),u=["left","top"].includes(a)?-1:1,l=i&&s?-1:1,f="function"==typeof e?e(n):e;let{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&"number"==typeof h&&(p="end"===c?-1*h:h),s?{x:p*l,y:d*u}:{x:d*u,y:p*l}}(e,n);return{x:t+o.x,y:r+o.y,data:o}}}};function X(n){return"x"===n?"y":"x"}function K(n){return n&&n.document&&n.location&&n.alert&&n.setInterval}function Q(n){if(null==n)return window;if(!K(n)){const e=n.ownerDocument;return e&&e.defaultView||window}return n}function G(n){return Q(n).getComputedStyle(n)}function Y(n){return K(n)?"":n?(n.nodeName||"").toLowerCase():""}function $(){const n=navigator.userAgentData;return null!=n&&n.brands?n.brands.map(n=>n.brand+"/"+n.version).join(" "):navigator.userAgent}function J(n){return n instanceof Q(n).HTMLElement}function Z(n){return n instanceof Q(n).Element}function nn(n){if("undefined"==typeof ShadowRoot)return!1;return n instanceof Q(n).ShadowRoot||n instanceof ShadowRoot}function en(n){const{overflow:e,overflowX:t,overflowY:r}=G(n);return/auto|scroll|overlay|hidden/.test(e+r+t)}function tn(n){return["table","td","th"].includes(Y(n))}function rn(n){const e=/firefox/i.test($()),t=G(n);return"none"!==t.transform||"none"!==t.perspective||"paint"===t.contain||["transform","perspective"].includes(t.willChange)||e&&"filter"===t.willChange||e&&!!t.filter&&"none"!==t.filter}function on(){return!/^((?!chrome|android).)*safari/i.test($())}const an=Math.min,cn=Math.max,sn=Math.round;function un(n,e,t){var r,o,i,a;void 0===e&&(e=!1),void 0===t&&(t=!1);const c=n.getBoundingClientRect();let s=1,u=1;e&&J(n)&&(s=n.offsetWidth>0&&sn(c.width)/n.offsetWidth||1,u=n.offsetHeight>0&&sn(c.height)/n.offsetHeight||1);const l=Z(n)?Q(n):window,f=!on()&&t,d=(c.left+(f&&null!=(r=null==(o=l.visualViewport)?void 0:o.offsetLeft)?r:0))/s,p=(c.top+(f&&null!=(i=null==(a=l.visualViewport)?void 0:a.offsetTop)?i:0))/u,h=c.width/s,m=c.height/u;return{width:h,height:m,top:p,right:d+h,bottom:p+m,left:d,x:d,y:p}}function ln(n){return(e=n,(e instanceof Q(e).Node?n.ownerDocument:n.document)||window.document).documentElement;var e}function fn(n){return Z(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function dn(n){return un(ln(n)).left+fn(n).scrollLeft}function pn(n,e,t){const r=J(e),o=ln(e),i=un(n,r&&function(n){const e=un(n);return sn(e.width)!==n.offsetWidth||sn(e.height)!==n.offsetHeight}(e),"fixed"===t);let a={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(r||!r&&"fixed"!==t)if(("body"!==Y(e)||en(o))&&(a=fn(e)),J(e)){const n=un(e,!0);c.x=n.x+e.clientLeft,c.y=n.y+e.clientTop}else o&&(c.x=dn(o));return{x:i.left+a.scrollLeft-c.x,y:i.top+a.scrollTop-c.y,width:i.width,height:i.height}}function hn(n){return"html"===Y(n)?n:n.assignedSlot||n.parentNode||(nn(n)?n.host:null)||ln(n)}function mn(n){return J(n)&&"fixed"!==G(n).position?function(n){let{offsetParent:e}=n,t=n,r=!1;for(;t&&t!==e;){const{assignedSlot:n}=t;if(n){let o=n.offsetParent;if("contents"===G(n).display){const e=n.hasAttribute("style"),r=n.style.display;n.style.display=G(t).display,o=n.offsetParent,n.style.display=r,e||n.removeAttribute("style")}t=n,e!==o&&(e=o,r=!0)}else if(nn(t)&&t.host&&r)break;t=nn(t)&&t.host||t.parentNode}return e}(n):null}function gn(n){const e=Q(n);let t=mn(n);for(;t&&tn(t)&&"static"===G(t).position;)t=mn(t);return t&&("html"===Y(t)||"body"===Y(t)&&"static"===G(t).position&&!rn(t))?e:t||function(n){let e=hn(n);for(nn(e)&&(e=e.host);J(e)&&!["html","body"].includes(Y(e));){if(rn(e))return e;{const n=e.parentNode;e=nn(n)?n.host:n}}return null}(n)||e}function bn(n){if(J(n))return{width:n.offsetWidth,height:n.offsetHeight};const e=un(n);return{width:e.width,height:e.height}}function yn(n,e){var t;void 0===e&&(e=[]);const r=function n(e){const t=hn(e);return["html","body","#document"].includes(Y(t))?e.ownerDocument.body:J(t)&&en(t)?t:n(t)}(n),o=r===(null==(t=n.ownerDocument)?void 0:t.body),i=Q(r),a=o?[i].concat(i.visualViewport||[],en(r)?r:[]):r,c=e.concat(a);return o?c:c.concat(yn(a))}function vn(n,e,t){return"viewport"===e?z(function(n,e){const t=Q(n),r=ln(n),o=t.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,s=0;if(o){i=o.width,a=o.height;const n=on();(n||!n&&"fixed"===e)&&(c=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:c,y:s}}(n,t)):Z(e)?function(n,e){const t=un(n,!1,"fixed"===e),r=t.top+n.clientTop,o=t.left+n.clientLeft;return{top:r,left:o,x:o,y:r,right:o+n.clientWidth,bottom:r+n.clientHeight,width:n.clientWidth,height:n.clientHeight}}(e,t):z(function(n){var e;const t=ln(n),r=fn(n),o=null==(e=n.ownerDocument)?void 0:e.body,i=cn(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=cn(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let c=-r.scrollLeft+dn(n);const s=-r.scrollTop;return"rtl"===G(o||t).direction&&(c+=cn(t.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:s}}(ln(n)))}function xn(n){const e=yn(n),t=["absolute","fixed"].includes(G(n).position)&&J(n)?gn(n):n;return Z(t)?e.filter(n=>Z(n)&&function(n,e){const t=null==e.getRootNode?void 0:e.getRootNode();if(n.contains(e))return!0;if(t&&nn(t)){let t=e;do{if(t&&n===t)return!0;t=t.parentNode||t.host}while(t)}return!1}(n,t)&&"body"!==Y(n)):[]}const wn={getClippingRect:function(n){let{element:e,boundary:t,rootBoundary:r,strategy:o}=n;const i=[..."clippingAncestors"===t?xn(e):[].concat(t),r],a=i[0],c=i.reduce((n,t)=>{const r=vn(e,t,o);return n.top=cn(r.top,n.top),n.right=an(r.right,n.right),n.bottom=an(r.bottom,n.bottom),n.left=cn(r.left,n.left),n},vn(e,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(n){let{rect:e,offsetParent:t,strategy:r}=n;const o=J(t),i=ln(t);if(t===i)return e;let a={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==Y(t)||en(i))&&(a=fn(t)),J(t))){const n=un(t,!0);c.x=n.x+t.clientLeft,c.y=n.y+t.clientTop}return{...e,x:e.x-a.scrollLeft+c.x,y:e.y-a.scrollTop+c.y}},isElement:Z,getDimensions:bn,getOffsetParent:gn,getDocumentElement:ln,getElementRects:n=>{let{reference:e,floating:t,strategy:r}=n;return{reference:pn(e,gn(t),r),floating:{...bn(t),x:0,y:0}}},getClientRects:n=>Array.from(n.getClientRects()),isRTL:n=>"rtl"===G(n).direction};function On(n,e,t,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:c=!1}=r,s=o&&!c,u=i&&!c,l=s||u?[...Z(n)?yn(n):[],...yn(e)]:[];l.forEach(n=>{s&&n.addEventListener("scroll",t,{passive:!0}),u&&n.addEventListener("resize",t)});let f,d=null;if(a){let r=!0;d=new ResizeObserver(()=>{r||t(),r=!1}),Z(n)&&!c&&d.observe(n),d.observe(e)}let p=c?un(n):null;return c&&function e(){const r=un(n);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||t();p=r,f=requestAnimationFrame(e)}(),t(),()=>{var n;l.forEach(n=>{s&&n.removeEventListener("scroll",t),u&&n.removeEventListener("resize",t)}),null==(n=d)||n.disconnect(),d=null,c&&cancelAnimationFrame(f)}}const En=(n,e,t)=>(async(n,e,t)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=t,c=await(null==a.isRTL?void 0:a.isRTL(e));let s=await a.getElementRects({reference:n,floating:e,strategy:o}),{x:u,y:l}=_(s,r,c),f=r,d={},p=0;for(let t=0;t<i.length;t++){const{name:h,fn:m}=i[t],{x:g,y:b,data:y,reset:v}=await m({x:u,y:l,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:s,platform:a,elements:{reference:n,floating:e}});u=null!=g?g:u,l=null!=b?b:l,d={...d,[h]:{...d[h],...y}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:n,floating:e,strategy:o}):v.rects),({x:u,y:l}=_(s,f,c))),t=-1)}return{x:u,y:l,placement:f,strategy:o,middlewareData:d}})(n,e,{platform:wn,...t});var kn=t(22),Rn="undefined"!=typeof document?m.useLayoutEffect:m.useEffect;function Tn(n,e){if(n===e)return!0;if(typeof n!=typeof e)return!1;if("function"==typeof n&&n.toString()===e.toString())return!0;let t,r,o;if(n&&e&&"object"==typeof n){if(Array.isArray(n)){if(t=n.length,t!=e.length)return!1;for(r=t;0!=r--;)if(!Tn(n[r],e[r]))return!1;return!0}if(o=Object.keys(n),t=o.length,t!==Object.keys(e).length)return!1;for(r=t;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,o[r]))return!1;for(r=t;0!=r--;){const t=o[r];if(("_owner"!==t||!n.$$typeof)&&!Tn(n[t],e[t]))return!1}return!0}return n!=n&&e!=e}function Sn(n){let{middleware:e,placement:t="bottom",strategy:r="absolute",whileElementsMounted:o}=void 0===n?{}:n;const[i,a]=m.useState({x:null,y:null,strategy:r,placement:t,middlewareData:{}}),[c,s]=m.useState(e);Tn(null==c?void 0:c.map(n=>{let{name:e,options:t}=n;return{name:e,options:t}}),null==e?void 0:e.map(n=>{let{name:e,options:t}=n;return{name:e,options:t}}))||s(e);const u=m.useRef(null),l=m.useRef(null),f=m.useRef(null),d=m.useRef(i),p=function(n){const e=m.useRef(n);return Rn(()=>{e.current=n}),e}(o),h=m.useCallback(()=>{u.current&&l.current&&En(u.current,l.current,{middleware:c,placement:t,strategy:r}).then(n=>{g.current&&!Tn(d.current,n)&&(d.current=n,kn.flushSync(()=>{a(n)}))})},[c,t,r]);Rn(()=>{g.current&&h()},[h]);const g=m.useRef(!1);Rn(()=>(g.current=!0,()=>{g.current=!1}),[]);const b=m.useCallback(()=>{if("function"==typeof f.current&&(f.current(),f.current=null),u.current&&l.current)if(p.current){const n=p.current(u.current,l.current,h);f.current=n}else h()},[h,p]),y=m.useCallback(n=>{u.current=n,b()},[b]),v=m.useCallback(n=>{l.current=n,b()},[b]),x=m.useMemo(()=>({reference:u,floating:l}),[]);return m.useMemo(()=>({...i,update:h,refs:x,reference:y,floating:v}),[i,h,x,y,v])}var jn,Pn,Cn=t(26),An=["source","children","spacing","fullWidth","placement","onReachEnd","intersectionId","centered"],_n=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],Ln=x()(k.a)(jn||(jn=h()(["\n box-shadow: ",";\n z-index: 4;\n border: 1px solid ",";\n background: ",";\n"])),(function(n){return n.theme.shadows.filterShadow}),(function(n){return n.theme.colors.neutral150}),(function(n){return n.theme.colors.neutral0})),zn=x()(k.a)(Pn||(Pn=h()(["\n // 16 is base base size, 3 is the factor to get closer to 40px and 5 is the number of elements visible in the list\n max-height: ","rem;\n overflow-y: auto;\n overflow-x: hidden;\n\n &::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 4px;\n }\n\n &::-webkit-scrollbar-track {\n background: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n background: ",";\n border-radius: ",";\n margin-right: 10px;\n }\n"])),15,(function(n){return n.theme.colors.neutral0}),(function(n){return n.theme.colors.neutral150}),(function(n){return n.theme.borderRadius})),Wn=function(n){var e,t,r,o,i,c,u,l=n.source,f=n.children,p=n.spacing,h=n.fullWidth,g=n.placement,b=n.onReachEnd,y=n.intersectionId,v=n.centered,x=d()(n,An),w=m.useRef(null),O=m.useState(void 0),E=a()(O,2),R=E[0],T=E[1],S=Sn({strategy:"fixed",placement:v?"bottom":g,middleware:[U({mainAxis:p}),(void 0===e&&(e={}),{name:"shift",options:e,async fn(n){const{x:t,y:r,placement:o}=n,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:n=>{let{x:e,y:t}=n;return{x:e,y:t}}},...s}=e,u={x:t,y:r},l=await W(n,s),f=C(j(o)),d=X(f);let p=u[f],h=u[d];if(i){const n="y"===f?"bottom":"right";p=I(p+l["y"===f?"top":"left"],p,p-l[n])}if(a){const n="y"===d?"bottom":"right";h=I(h+l["y"===d?"top":"left"],h,h-l[n])}const m=c.fn({...n,[f]:p,[d]:h});return{...m,data:{x:m.x-t,y:m.y-r}}}}),V()],whileElementsMounted:On}),P=S.x,A=S.y,_=S.reference,L=S.floating,z=S.strategy;return m.useLayoutEffect((function(){_(l.current)}),[l]),m.useLayoutEffect((function(){h&&T(l.current.offsetWidth)}),[h]),t=w,r=b,o={selectorToWatch:"#".concat(y),skipWhen:!y||!b},i=o.selectorToWatch,c=o.skipWhen,u=void 0!==c&&c,Object(m.useEffect)((function(){if(!u){var n={root:t.current,rootMargin:"0px"},e=new IntersectionObserver((function(n){n.forEach((function(n){n.isIntersecting&&t.current.scrollHeight>t.current.clientHeight&&r(n)}))}),n),o=t.current.querySelector(i);return e.observe(o),function(){e.disconnect()}}}),[u,r,i]),m.createElement(Ln,{ref:L,style:{left:P,top:A,position:z,width:R||void 0},hasRadius:!0,background:"neutral0",padding:1},m.createElement(zn,s()({ref:w},x),f,y&&b&&m.createElement(k.a,{id:y,width:"100%",height:"1px"})))},Mn=function(n){return m.createElement(Cn.a,null,m.createElement(Wn,n))},Dn={fullWidth:!1,intersectionId:void 0,onReachEnd:void 0,centered:!1,placement:"bottom-start"},In={centered:y.a.bool,children:y.a.node.isRequired,fullWidth:y.a.bool,intersectionId:y.a.string,onReachEnd:y.a.func,placement:y.a.oneOf(_n),source:y.a.shape({current:("undefined"==typeof Element?y.a.any:y.a.instanceOf(Element)).isRequired}).isRequired,spacing:y.a.number};Wn.propTypes=In,Wn.defaultProps=Dn,Mn.propTypes=In,Mn.defaultProps=Dn;var Hn,qn,Nn,Bn,Fn=function(n){var e=n.theme;return"\n text-align: left;\n width: 100%;\n color: ".concat(e.colors.neutral800,";\n border-radius: ").concat(e.borderRadius,";\n &:focus {\n background-color: ").concat(e.colors.primary100,";\n }\n &:not([aria-disabled]):hover {\n background-color: ").concat(e.colors.primary100,";\n }\n")},Vn=t(14),Un=t(18),Xn=["as","children","onClick","isFocused","isLink"],Kn=["label","children","id","as","onOpen","onClose","size","popoverPlacement"];function Qn(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}var Gn=x.a.button(Hn||(Hn=h()(["\n border: none;\n padding: 0;\n background: transparent;\n cursor: pointer;\n ","\n"])),Fn),Yn=x()(S.a)(qn||(qn=h()(["\n text-decoration: none;\n ","\n"])),Fn),$n=x.a.span(Nn||(Nn=h()(["\n display: flex;\n align-items: center;\n svg {\n height: 4px;\n width: 6px;\n }\n"]))),Jn=x()(T.a)(Bn||(Bn=h()(["\n padding: ",";\n"])),(function(n){var e=n.theme;return"".concat(e.spaces[1]," ").concat(e.spaces[3])})),Zn=function(n){var e=n.as,t=n.children,r=n.onClick,o=n.isFocused,i=n.isLink,a=d()(n,Xn),c=Object(m.useRef)();Object(m.useEffect)((function(){o&&c.current&&c.current.focus()}),[o]);var u=function(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?Qn(Object(t),!0).forEach((function(e){l()(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Qn(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}({tabIndex:o?0:-1,ref:c,role:"menuitem"},a);return i?g.a.createElement(Yn,s()({as:e},u),g.a.createElement(k.a,{padding:2},g.a.createElement(E.a,null,t))):g.a.createElement(Gn,s()({onKeyDown:function(n){n.key!==Un.a.SPACE&&n.key!==Un.a.ENTER||r()},onMouseDown:r,type:"button"},u),g.a.createElement(k.a,{padding:2},g.a.createElement(E.a,null,t)))};Zn.defaultProps={onClick:function(){},isFocused:!1,isLink:!1},Zn.propTypes={as:y.a.elementType,children:y.a.node.isRequired,isFocused:y.a.bool,isLink:y.a.bool,onClick:y.a.func};var ne=function(n){var e=n.label,t=n.children,r=n.id,i=n.as,c=n.onOpen,u=void 0===c?function(){}:c,l=n.onClose,f=void 0===l?function(){}:l,p=n.size,h=n.popoverPlacement,b=d()(n,Kn),y=Object(m.useRef)(),v=Object(Vn.a)("simplemenu",r),x=Object(m.useRef)(!1),w=Object(m.useState)(!1),E=a()(w,2),S=E[0],j=E[1],P=Object(m.useState)(0),C=a()(P,2),A=C[0],_=C[1],L=m.Children.toArray(t),z="S"===p?Jn:T.a,W=i||z;Object(m.useEffect)((function(){if(["string","number"].includes(o()(e))){var n=L.findIndex((function(n){return n.props.children===e}));-1!==n&&_(n)}}),[e]),Object(m.useEffect)((function(){null!=x&&x.current?S&&"function"==typeof u?u():"function"==typeof f&&f():x.current=!0}),[x,S]),Object(m.useEffect)((function(){g.a.isValidElement(e)&&-1==A&&y.current.focus()}),[e,A]);var M=L.map((function(n,e){return g.a.createElement(R.a,{as:"li",key:e,justifyContent:"center",role:"menuitem"},Object(m.cloneElement)(n,{onClick:function(){n.props.onClick(),j(!1),y.current.focus()},isFocused:A===e}))}));return g.a.createElement("div",{onKeyDown:function(n){S&&(n.key===Un.a.ESCAPE&&(n.stopPropagation(),j(!1),y.current.focus()),n.key===Un.a.DOWN&&_((function(n){return n===L.length-1?0:n+1})),n.key===Un.a.UP&&_((function(n){return 0===n?L.length-1:n-1})))}},g.a.createElement(W,s()({label:g.a.isValidElement(e)?null:e,"aria-haspopup":!0,"aria-expanded":S,"aria-controls":v,onKeyDown:function(n){n.key!==Un.a.ENTER&&n.key!==Un.a.SPACE||j((function(n){return!n}))},onMouseDown:function(n){n.preventDefault(),j((function(n){return!n}))},ref:y,type:"button",variant:"ghost",endIcon:g.a.createElement($n,null,g.a.createElement(O.a,{"aria-hidden":!0}))},b),e),S&&g.a.createElement(Mn,{onBlur:function(n){n.preventDefault(),n.currentTarget.contains(n.relatedTarget)||j(!1)},placement:h,source:y,spacing:4},g.a.createElement(k.a,{role:"menu",as:"ul",padding:1,id:v},M)))};ne.defaultProps={as:void 0},ne.displayName="SimpleMenu",ne.defaultProps={popoverPlacement:"bottom-start",size:"M"},ne.propTypes={as:y.a.any,children:y.a.oneOfType([y.a.arrayOf(y.a.node),y.a.node]).isRequired,id:y.a.string,label:y.a.oneOfType([y.a.string,y.a.number,y.a.element]).isRequired,onClose:y.a.func,onOpen:y.a.func,popoverPlacement:y.a.oneOf(_n),size:y.a.oneOf(["S","M"])}},,function(n,e){n.exports=o},function(n,e,t){var r=t(24);n.exports=function(n){if(Array.isArray(n))return r(n)},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e){n.exports=function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,e){n.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},n.exports.default=n.exports,n.exports.__esModule=!0},,,,,,function(n,e,t){"use strict";t.r(e),t.d(e,"Breadcrumbs",(function(){return O})),t.d(e,"Crumb",(function(){return k})),t.d(e,"CrumbLink",(function(){return P})),t.d(e,"CrumbSimpleMenu",(function(){return D}));var r=t(4),o=t.n(r),i=t(5),a=t.n(i),c=t(2),s=t.n(c),u=t(1),l=t.n(u),f=t(0),d=t.n(f),p=t(3),h=t.n(p),m=t(6),g=t(7),b=function(){return l.a.createElement(m.a,{"aria-hidden":!0,paddingLeft:1,paddingRight:1},l.a.createElement(g.a,{variant:"pi",textColor:"neutral500"},"/"))};b.displayName="Divider";var y,v=t(10),x=["label","children"],w=h()(v.a)(y||(y=s()(["\n // CrumbLinks do have padding-x, because they need to have a\n // interaction effect, which mis-aligns the breadcrumbs on the left.\n // This normalizes the behavior by moving the first item to left by\n // the same amount it has inner padding\n :first-child {\n margin-left: ",";\n }\n"])),(function(n){var e=n.theme;return"calc(-1*".concat(e.spaces[2],")")})),O=function(n){var e=n.label,t=n.children,r=a()(n,x),i=u.Children.toArray(t);return l.a.createElement(m.a,o()({"aria-label":e},r),l.a.createElement(w,{as:"ol",horizontal:!0},u.Children.map(i,(function(n,e){var t=i.length>1&&e+1<i.length;return l.a.createElement(v.a,{inline:!0,as:"li"},n,t&&l.a.createElement(b,null))}))))};O.displayName="Breadcrumbs",O.propTypes={children:d.a.oneOfType([d.a.arrayOf(d.a.node),d.a.node]).isRequired,label:d.a.string.isRequired};var E=["children","isCurrent"],k=function(n){var e=n.children,t=n.isCurrent,r=a()(n,E);return l.a.createElement(m.a,{paddingLeft:2,paddingRight:2,paddingTop:1,paddingBottom:1},l.a.createElement(g.a,o()({variant:"pi",textColor:"neutral800",fontWeight:t?"bold":"normal","aria-current":t},r),e))};k.displayName="Crumb",k.defaultProps={isCurrent:!1},k.propTypes={children:d.a.node.isRequired,isCurrent:d.a.bool};var R,T=t(13),S=["children"],j=h()(T.a)(R||(R=s()(["\n border-radius: ",";\n color: ",";\n font-size: ",";\n line-height: ",";\n padding: ",";\n text-decoration: none;\n\n :hover,\n :focus {\n background-color: ",";\n color: ",";\n }\n"])),(function(n){return n.theme.borderRadius}),(function(n){return n.theme.colors.neutral600}),(function(n){return n.theme.fontSizes[1]}),(function(n){return n.theme.lineHeights[4]}),(function(n){var e=n.theme;return"".concat(e.spaces[1]," ").concat(e.spaces[2])}),(function(n){return n.theme.colors.neutral200}),(function(n){return n.theme.colors.neutral700})),P=function(n){var e=n.children,t=a()(n,S);return l.a.createElement(j,t,e)};P.displayName="CrumbLink",P.defaultProps={to:void 0},P.propTypes={children:d.a.node.isRequired,to:d.a.string};var C,A=t(34),_=t(41),L=t(21),z=t.n(L),W=["children"],M=h()(A.a)(C||(C=s()(["\n padding: ",";\n\n :hover,\n :focus {\n background-color: ",";\n }\n"])),(function(n){var e=n.theme;return"".concat(e.spaces[1]," ").concat(e.spaces[3])}),(function(n){return n.theme.colors.neutral200})),D=function(n){var e=n.children,t=a()(n,W);return l.a.createElement(_.SimpleMenu,o()({noBorder:!0,icon:l.a.createElement(z.a,null),as:M,size:"S"},t),e)};D.displayName="CrumbSimpleMenu",D.propTypes={"aria-label":d.a.string.isRequired,children:d.a.oneOfType([d.a.arrayOf(d.a.node),d.a.node]).isRequired}}])}));