@strapi/design-system 1.3.0-beta.2 → 1.3.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 +23 -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/SimpleMenu.js DELETED
@@ -1,9 +0,0 @@
1
-
2
- 'use strict';
3
-
4
- if (process.env.NODE_ENV === "production") {
5
- module.exports = require("./SimpleMenu.production.js");
6
- } else {
7
- module.exports = require("./SimpleMenu.development.js");
8
- }
9
-
@@ -1 +0,0 @@
1
- !function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("styled-components"),require("react-dom"),require("@strapi/icons/CarretDown"),require("react-router-dom"),require("@strapi/icons/Loader")):"function"==typeof define&&define.amd?define("strapiDs",["react","styled-components","react-dom","@strapi/icons/CarretDown","react-router-dom","@strapi/icons/Loader"],t):"object"==typeof exports?exports.strapiDs=t(require("react"),require("styled-components"),require("react-dom"),require("@strapi/icons/CarretDown"),require("react-router-dom"),require("@strapi/icons/Loader")):n.strapiDs=t(n.react,n["styled-components"],n["react-dom"],n["@strapi/icons/CarretDown"],n["react-router-dom"],n["@strapi/icons/Loader"])}(this,(function(n,t,e,r,o,i){return function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)e.d(r,o,function(t){return n[t]}.bind(null,o));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=60)}([function(n,t,e){n.exports=e(24)()},function(t,e){t.exports=n},function(n,e){n.exports=t},function(n,t){n.exports=function(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,t,e){var r=e(30);n.exports=function(n,t){if(null==n)return{};var e,o,i=r(n,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o<a.length;o++)e=a[o],t.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(n,e)&&(i[e]=n[e])}return i},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,t){function e(){return n.exports=e=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},n.exports.default=n.exports,n.exports.__esModule=!0,e.apply(this,arguments)}n.exports=e,n.exports.default=n.exports,n.exports.__esModule=!0},function(n,t,e){"use strict";e.r(t),e.d(t,"Box",(function(){return b}));var r,o=e(3),i=e.n(o),a=e(2),c=e.n(a),u=e(7),s=e(1),l=e.n(s),f=e(0),d=e.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,t){return!g[n]&&t(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 t=n.fontSize;return n.theme.fontSizes[t]||t}),(function(n){var t=n.theme,e=n.background;return t.colors[e]}),(function(n){var t=n.theme,e=n.color;return t.colors[e]}),(function(n){var t=n.theme,e=n.padding;return Object(u.a)("padding",e,t)}),(function(n){var t=n.theme,e=n.paddingTop;return Object(u.a)("padding-top",e,t)}),(function(n){var t=n.theme,e=n.paddingRight;return Object(u.a)("padding-right",e,t)}),(function(n){var t=n.theme,e=n.paddingBottom;return Object(u.a)("padding-bottom",e,t)}),(function(n){var t=n.theme,e=n.paddingLeft;return Object(u.a)("padding-left",e,t)}),(function(n){var t=n.theme,e=n.marginLeft;return Object(u.a)("margin-left",e,t)}),(function(n){var t=n.theme,e=n.marginRight;return Object(u.a)("margin-right",e,t)}),(function(n){var t=n.theme,e=n.marginTop;return Object(u.a)("margin-top",e,t)}),(function(n){var t=n.theme,e=n.marginBottom;return Object(u.a)("margin-bottom",e,t)}),(function(n){var t=n.theme;return n.hiddenS?"".concat(t.mediaQueries.tablet," { display: none; }"):void 0}),(function(n){var t=n.theme;return n.hiddenXS?"".concat(t.mediaQueries.mobile," { display: none; }"):void 0}),(function(n){var t=n.theme,e=n.hasRadius,r=n.borderRadius;return e?t.borderRadius:r}),(function(n){return n.borderStyle}),(function(n){return n.borderWidth}),(function(n){var t=n.borderColor;return n.theme.colors[t]}),(function(n){var t=n.theme,e=n.borderColor,r=n.borderStyle,o=n.borderWidth;if(e&&!r&&!o)return"1px solid ".concat(t.colors[e])}),(function(n){var t=n.theme,e=n.shadow;return t.shadows[e]}),(function(n){return n.pointerEvents}),(function(n){var t=n._hover,e=n.theme;return t?t(e):void 0}),(function(n){return n.display}),(function(n){return n.position}),(function(n){var t=n.left;return n.theme.spaces[t]||t}),(function(n){var t=n.right;return n.theme.spaces[t]||t}),(function(n){var t=n.top;return n.theme.spaces[t]||t}),(function(n){var t=n.bottom;return n.theme.spaces[t]||t}),(function(n){return n.zIndex}),(function(n){return n.overflow}),(function(n){return n.cursor}),(function(n){var t=n.width;return n.theme.spaces[t]||t}),(function(n){var t=n.maxWidth;return n.theme.spaces[t]||t}),(function(n){var t=n.minWidth;return n.theme.spaces[t]||t}),(function(n){var t=n.height;return n.theme.spaces[t]||t}),(function(n){var t=n.maxHeight;return n.theme.spaces[t]||t}),(function(n){var t=n.minHeight;return n.theme.spaces[t]||t}),(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,t,e){"use strict";var r=e(11),o=e.n(r),i=e(16),a=e.n(i);t.a=function(n,t,e){var r=t;if(Array.isArray(t)||"object"!==a()(t)||(r=[null==t?void 0:t.desktop,null==t?void 0:t.tablet,null==t?void 0:t.mobile]),void 0!==r){if(Array.isArray(r)){var i=r,c=o()(i,3),u=c[0],s=c[1],l=c[2],f="".concat(n,": ").concat(e.spaces[u],";");return void 0!==s&&(f+="".concat(e.mediaQueries.tablet,"{\n ").concat(n,": ").concat(e.spaces[s],";\n }")),void 0!==l&&(f+="".concat(e.mediaQueries.mobile,"{\n ").concat(n,": ").concat(e.spaces[l],";\n }")),f}var d=e.spaces[r]||r;return"".concat(n,": ").concat(d,";")}}},function(n,t,e){"use strict";e.r(t),e.d(t,"Typography",(function(){return y}));var r,o=e(3),i=e.n(o),a=e(2),c=e.n(a),u=e(13),s=e(1),l=e.n(s),f=e(0),d=e.n(f),p=e(9),h=function(n){return l.a.createElement("div",n)},m={ellipsis:!1,fontWeight:void 0,fontSize:void 0,lineHeight:void 0,textColor:void 0,textAlign:void 0,textTransform:void 0,variant:p.e},g={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(p.h)};h.defaultProps=m,h.propTypes=g;var b={fontSize:!0,fontWeight:!0},y=c.a.span.withConfig({shouldForwardProp:function(n,t){return!b[n]&&t(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 t=n.theme,e=n.fontWeight;return t.fontWeights[e]}),(function(n){var t=n.theme,e=n.fontSize;return t.fontSizes[e]}),(function(n){var t=n.theme,e=n.lineHeight;return t.lineHeights[e]}),u.b,(function(n){return n.textAlign}),(function(n){return n.textTransform}),u.a,u.c);y.defaultProps=m,y.propTypes=g},function(n,t,e){"use strict";e.d(t,"a",(function(){return r})),e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"d",(function(){return a})),e.d(t,"e",(function(){return c})),e.d(t,"f",(function(){return u})),e.d(t,"g",(function(){return s})),e.d(t,"h",(function(){return l}));var r="alpha",o="beta",i="delta",a="epsilon",c="omega",u="pi",s="sigma",l=[r,o,i,a,c,u,s]},function(n,t,e){"use strict";e.r(t),e.d(t,"Flex",(function(){return y}));var r,o=e(3),i=e.n(o),a=e(2),c=e.n(a),u=e(6),s=e(7),l=e(1),f=e.n(l),d=e(0),p=e.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()(u.Box).withConfig({shouldForwardProp:function(n,t){return!b[n]&&t(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 t=n.gap,e=n.theme;return Object(s.a)("gap",t,e)}),(function(n){return n.justifyContent}));y.defaultProps=m,y.propTypes=g},function(n,t,e){var r=e(27),o=e(28),i=e(26),a=e(29);n.exports=function(n,t){return r(n)||o(n,t)||i(n,t)||a()},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,t,e){"use strict";e.d(t,"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,t,e){"use strict";e.d(t,"a",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"b",(function(){return a}));var r=e(9),o=function(n){return n.ellipsis&&"\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n "},i=function(n){var t=n.variant,e=n.theme;switch(t){case r.a:return"\n font-weight: ".concat(e.fontWeights.bold,";\n font-size: ").concat(e.fontSizes[5],";\n line-height: ").concat(e.lineHeights[2],";\n ");case r.b:return"\n font-weight: ".concat(e.fontWeights.bold,";\n font-size: ").concat(e.fontSizes[4],";\n line-height: ").concat(e.lineHeights[1],";\n ");case r.c:return"\n font-weight: ".concat(e.fontWeights.semiBold,";\n font-size: ").concat(e.fontSizes[3],";\n line-height: ").concat(e.lineHeights[2],";\n ");case r.d:return"\n font-size: ".concat(e.fontSizes[3],";\n line-height: ").concat(e.lineHeights[6],";\n ");case r.e:return"\n font-size: ".concat(e.fontSizes[2],";\n line-height: ").concat(e.lineHeights[4],";\n ");case r.f:return"\n font-size: ".concat(e.fontSizes[1],";\n line-height: ").concat(e.lineHeights[3],";\n ");case r.g:return"\n font-weight: ".concat(e.fontWeights.bold,";\n font-size: ").concat(e.fontSizes[0],";\n line-height: ").concat(e.lineHeights[5],";\n text-transform: uppercase;\n ");default:return"\n font-size: ".concat(e.fontSizes[2],";\n ")}},a=function(n){var t=n.theme,e=n.textColor;return t.colors[e||"neutral800"]}},,function(n,t,e){"use strict";e.d(t,"a",(function(){return i}));var r=e(1),o=0,i=function(n,t){return Object(r.useRef)(t||"".concat(n,"-").concat(++o)).current}},function(n,t){function e(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(n.exports=e=function(n){return typeof n},n.exports.default=n.exports,n.exports.__esModule=!0):(n.exports=e=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),e(t)}n.exports=e,n.exports.default=n.exports,n.exports.__esModule=!0},,function(n,t,e){"use strict";e.d(t,"i",(function(){return r})),e.d(t,"c",(function(){return o})),e.d(t,"d",(function(){return i})),e.d(t,"j",(function(){return a})),e.d(t,"g",(function(){return c})),e.d(t,"b",(function(){return u})),e.d(t,"h",(function(){return s})),e.d(t,"e",(function(){return l})),e.d(t,"f",(function(){return f})),e.d(t,"k",(function(){return d})),e.d(t,"a",(function(){return p}));var r="success-light",o="danger-light",i="default",a="tertiary",c="secondary",u="danger",s="success",l="ghost",f=[r,o],d=[i,a,c,u,s,l].concat(f),p=["S","L"]},function(n,t){n.exports=function(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n},n.exports.default=n.exports,n.exports.__esModule=!0},,function(n,t,e){"use strict";e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return i}));var r=function(n){return function(t){var e=t.theme,r=t.size;return e.sizes[n][r]}},o=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"&";return function(t){var e=t.theme,r=t.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?e.colors.danger600:e.colors.primary600,";\n box-shadow: ").concat(r?e.colors.danger600:e.colors.primary600," 0px 0px 0px 2px;\n }\n ")}},i=function(n){var t=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(t.colors.primary600,";\n }\n }\n")}},,function(n,t){n.exports=function(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,t,e){"use strict";var r=e(25);function o(){}function i(){}i.resetWarningCache=o,n.exports=function(){function n(n,t,e,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 t(){return n}n.isRequired=n;var e={array:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:t,element:n,elementType:n,instanceOf:t,node:n,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return e.PropTypes=e,e}},function(n,t,e){"use strict";n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(n,t,e){var r=e(23);n.exports=function(n,t){if(n){if("string"==typeof n)return r(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(n,t):void 0}},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,t){n.exports=function(n){if(Array.isArray(n))return n},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,t){n.exports=function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i=[],a=!0,c=!1;try{for(e=e.call(n);!(a=(r=e.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(n){c=!0,o=n}finally{try{a||null==e.return||e.return()}finally{if(c)throw o}}return i}},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,t){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,t){n.exports=function(n,t){if(null==n)return{};var e,r,o={},i=Object.keys(n);for(r=0;r<i.length;r++)e=i[r],t.indexOf(e)>=0||(o[e]=n[e]);return o},n.exports.default=n.exports,n.exports.__esModule=!0},,function(n,t,e){var r=e(46),o=e(47),i=e(26),a=e(48);n.exports=function(n){return r(n)||o(n)||i(n)||a()},n.exports.default=n.exports,n.exports.__esModule=!0},,function(n,t){n.exports=e},function(n,t,e){"use strict";e.r(t),e.d(t,"Portal",(function(){return c}));var r=e(11),o=e.n(r),i=e(1),a=e(34),c=function(n){var t=n.children,e=Object(i.useRef)(null),r=Object(i.useState)(!1),c=o()(r,2),u=c[0],s=c[1];return Object(i.useLayoutEffect)((function(){return e.current=document.createElement("div"),e.current.setAttribute("data-react-portal","true"),document.body.appendChild(e.current),s(!0),function(){var n;null===(n=e.current)||void 0===n||n.remove()}}),[]),u&&e.current?Object(a.createPortal)(t,e.current):null}},function(n,t){n.exports=r},function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return s})),e.d(t,"a",(function(){return l})),e.d(t,"d",(function(){return f}));var r=e(32),o=e.n(r),i=e(8),a=e(18),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},u=function(n){var t=n.theme;return"\n border: 1px solid ".concat(t.colors.neutral200,";\n background: ").concat(t.colors.neutral150,";\n ").concat(i.Typography," {\n color: ").concat(t.colors.neutral600,";\n }\n svg {\n > g, path {\n fill: ").concat(t.colors.neutral600,";\n }\n }\n ")},s=function(n){var t=n.theme,e=n.variant;return[].concat(o()(a.f),[a.g]).includes(e)?"\n background-color: ".concat(t.colors.neutral0,";\n "):e===a.j||e===a.e?"\n background-color: ".concat(t.colors.neutral100,";\n "):e===a.d?"\n border: 1px solid ".concat(t.colors.buttonPrimary500,";\n background: ").concat(t.colors.buttonPrimary500,";\n "):"\n border: 1px solid ".concat(t.colors["".concat(c(e),"500")],";\n background: ").concat(t.colors["".concat(c(e),"500")],";\n ")},l=function(n){var t=n.theme,e=n.variant;return[].concat(o()(a.f),[a.g]).includes(e)?"\n background-color: ".concat(t.colors.neutral0,";\n border: 1px solid ").concat(t.colors["".concat(c(e),"600")],";\n ").concat(i.Typography," {\n color: ").concat(t.colors["".concat(c(e),"600")],";\n }\n svg {\n > g, path {\n fill: ").concat(t.colors["".concat(c(e),"600")],";\n }\n }\n "):e===a.j?"\n background-color: ".concat(t.colors.neutral150,";\n "):"\n border: 1px solid ".concat(t.colors["".concat(c(e),"600")],";\n background: ").concat(t.colors["".concat(c(e),"600")],";\n ")},f=function(n){var t=n.theme,e=n.variant;switch(e){case a.c:case a.i:case a.g:return"\n border: 1px solid ".concat(t.colors["".concat(c(e),"200")],";\n background: ").concat(t.colors["".concat(c(e),"100")],";\n ").concat(i.Typography," {\n color: ").concat(t.colors["".concat(c(e),"700")],";\n }\n svg {\n > g, path {\n fill: ").concat(t.colors["".concat(c(e),"700")],";\n }\n }\n ");case a.j:return"\n border: 1px solid ".concat(t.colors.neutral200,";\n background: ").concat(t.colors.neutral0,";\n ").concat(i.Typography," {\n color: ").concat(t.colors.neutral800,";\n }\n svg {\n > g, path {\n fill: ").concat(t.colors.neutral800,";\n }\n }\n ");case a.e:return"\n border: 1px solid transparent;\n background: transparent;\n\n ".concat(i.Typography," {\n color: ").concat(t.colors.neutral800,";\n }\n\n svg {\n > g, path {\n fill: ").concat(t.colors.neutral500,";\n }\n }\n ");case a.h:case a.b:return"\n border: 1px solid ".concat(t.colors["".concat(c(e),"600")],";\n background: ").concat(t.colors["".concat(c(e),"600")],";\n ").concat(i.Typography," {\n color: ").concat(t.colors.neutral0,";\n }\n ");default:return"\n svg {\n > g, path {\n fill: ".concat(t.colors.buttonNeutral0,";\n }\n }\n ")}}},,,function(n,t){n.exports=o},function(n,t,e){"use strict";e.r(t),e.d(t,"POPOVER_PLACEMENTS",(function(){return wn})),e.d(t,"Popover",(function(){return Pn}));var r=e(5),o=e.n(r),i=e(11),a=e.n(i),c=e(4),u=e.n(c),s=e(3),l=e.n(s),f=e(1),d=e(0),p=e.n(d),h=e(2),m=e.n(h);function g(n){return n.split("-")[0]}function b(n){return n.split("-")[1]}function y(n){return["top","bottom"].includes(g(n))?"x":"y"}function v(n){return"y"===n?"height":"width"}function x(n,t,e){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=y(t),u=v(c),s=r[u]/2-o[u]/2,l="x"===c;let f;switch(g(t)){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(b(t)){case"start":f[c]-=s*(e&&l?-1:1);break;case"end":f[c]+=s*(e&&l?-1:1)}return f}function w(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 O(n){return{...n,top:n.y,left:n.x,right:n.x+n.width,bottom:n.y+n.height}}async function E(n,t){var e;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:u}=n,{boundary:s="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,h=w(p),m=c[d?"floating"===f?"reference":"floating":f],g=O(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(m)))||e?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:s,rootBoundary:l,strategy:u})),b=O(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:u}):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 T=Math.min,P=Math.max;function R(n,t,e){return P(n,T(t,e))}const k={left:"right",right:"left",bottom:"top",top:"bottom"};function S(n){return n.replace(/left|right|bottom|top/g,n=>k[n])}function j(n,t,e){void 0===e&&(e=!1);const r=b(n),o=y(n),i=v(o);let a="x"===o?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=S(a)),{main:a,cross:S(a)}}const C={start:"end",end:"start"};function A(n){return n.replace(/start|end/g,n=>C[n])}const _=function(n){return void 0===n&&(n={}),{name:"flip",options:n,async fn(t){var e;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:s=!0,crossAxis:l=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...h}=n,m=g(r),b=[a,...f||(m===a||!p?[S(a)]:function(n){const t=S(n);return[A(n),t,A(t)]}(a))],y=await E(t,h),v=[];let x=(null==(e=o.flip)?void 0:e.overflows)||[];if(s&&v.push(y[m]),l){const{main:n,cross:t}=j(r,i,await(null==c.isRTL?void 0:c.isRTL(u.floating)));v.push(y[n],y[t])}if(x=[...x,{placement:r,overflows:v}],!v.every(n=>n<=0)){var w,O;const n=(null!=(w=null==(O=o.flip)?void 0:O.index)?w:0)+1,t=b[n];if(t)return{data:{index:n,overflows:x},reset:{placement:t}};let e="bottom";switch(d){case"bestFit":{var T;const n=null==(T=x.map(n=>[n,n.overflows.filter(n=>n>0).reduce((n,t)=>n+t,0)]).sort((n,t)=>n[1]-t[1])[0])?void 0:T[0].placement;n&&(e=n);break}case"initialPlacement":e=a}if(r!==e)return{reset:{placement:e}}}return{}}}};const W=function(n){return void 0===n&&(n=0),{name:"offset",options:n,async fn(t){const{x:e,y:r}=t,o=await async function(n,t){const{placement:e,platform:r,elements:o}=n,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=g(e),c=b(e),u="x"===y(e),s=["left","top"].includes(a)?-1:1,l=i&&u?-1:1,f="function"==typeof t?t(n):t;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),u?{x:p*l,y:d*s}:{x:d*s,y:p*l}}(t,n);return{x:e+o.x,y:r+o.y,data:o}}}};function L(n){return"x"===n?"y":"x"}function z(n){return n&&n.document&&n.location&&n.alert&&n.setInterval}function M(n){if(null==n)return window;if(!z(n)){const t=n.ownerDocument;return t&&t.defaultView||window}return n}function D(n){return M(n).getComputedStyle(n)}function B(n){return z(n)?"":n?(n.nodeName||"").toLowerCase():""}function I(){const n=navigator.userAgentData;return null!=n&&n.brands?n.brands.map(n=>n.brand+"/"+n.version).join(" "):navigator.userAgent}function H(n){return n instanceof M(n).HTMLElement}function N(n){return n instanceof M(n).Element}function q(n){if("undefined"==typeof ShadowRoot)return!1;return n instanceof M(n).ShadowRoot||n instanceof ShadowRoot}function F(n){const{overflow:t,overflowX:e,overflowY:r}=D(n);return/auto|scroll|overlay|hidden/.test(t+r+e)}function V(n){return["table","td","th"].includes(B(n))}function U(n){const t=/firefox/i.test(I()),e=D(n);return"none"!==e.transform||"none"!==e.perspective||"paint"===e.contain||["transform","perspective"].includes(e.willChange)||t&&"filter"===e.willChange||t&&!!e.filter&&"none"!==e.filter}function X(){return!/^((?!chrome|android).)*safari/i.test(I())}const K=Math.min,Q=Math.max,G=Math.round;function Y(n,t,e){var r,o,i,a;void 0===t&&(t=!1),void 0===e&&(e=!1);const c=n.getBoundingClientRect();let u=1,s=1;t&&H(n)&&(u=n.offsetWidth>0&&G(c.width)/n.offsetWidth||1,s=n.offsetHeight>0&&G(c.height)/n.offsetHeight||1);const l=N(n)?M(n):window,f=!X()&&e,d=(c.left+(f&&null!=(r=null==(o=l.visualViewport)?void 0:o.offsetLeft)?r:0))/u,p=(c.top+(f&&null!=(i=null==(a=l.visualViewport)?void 0:a.offsetTop)?i:0))/s,h=c.width/u,m=c.height/s;return{width:h,height:m,top:p,right:d+h,bottom:p+m,left:d,x:d,y:p}}function $(n){return(t=n,(t instanceof M(t).Node?n.ownerDocument:n.document)||window.document).documentElement;var t}function J(n){return N(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Z(n){return Y($(n)).left+J(n).scrollLeft}function nn(n,t,e){const r=H(t),o=$(t),i=Y(n,r&&function(n){const t=Y(n);return G(t.width)!==n.offsetWidth||G(t.height)!==n.offsetHeight}(t),"fixed"===e);let a={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(r||!r&&"fixed"!==e)if(("body"!==B(t)||F(o))&&(a=J(t)),H(t)){const n=Y(t,!0);c.x=n.x+t.clientLeft,c.y=n.y+t.clientTop}else o&&(c.x=Z(o));return{x:i.left+a.scrollLeft-c.x,y:i.top+a.scrollTop-c.y,width:i.width,height:i.height}}function tn(n){return"html"===B(n)?n:n.assignedSlot||n.parentNode||(q(n)?n.host:null)||$(n)}function en(n){return H(n)&&"fixed"!==D(n).position?function(n){let{offsetParent:t}=n,e=n,r=!1;for(;e&&e!==t;){const{assignedSlot:n}=e;if(n){let o=n.offsetParent;if("contents"===D(n).display){const t=n.hasAttribute("style"),r=n.style.display;n.style.display=D(e).display,o=n.offsetParent,n.style.display=r,t||n.removeAttribute("style")}e=n,t!==o&&(t=o,r=!0)}else if(q(e)&&e.host&&r)break;e=q(e)&&e.host||e.parentNode}return t}(n):null}function rn(n){const t=M(n);let e=en(n);for(;e&&V(e)&&"static"===D(e).position;)e=en(e);return e&&("html"===B(e)||"body"===B(e)&&"static"===D(e).position&&!U(e))?t:e||function(n){let t=tn(n);for(q(t)&&(t=t.host);H(t)&&!["html","body"].includes(B(t));){if(U(t))return t;{const n=t.parentNode;t=q(n)?n.host:n}}return null}(n)||t}function on(n){if(H(n))return{width:n.offsetWidth,height:n.offsetHeight};const t=Y(n);return{width:t.width,height:t.height}}function an(n,t){var e;void 0===t&&(t=[]);const r=function n(t){const e=tn(t);return["html","body","#document"].includes(B(e))?t.ownerDocument.body:H(e)&&F(e)?e:n(e)}(n),o=r===(null==(e=n.ownerDocument)?void 0:e.body),i=M(r),a=o?[i].concat(i.visualViewport||[],F(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(an(a))}function cn(n,t,e){return"viewport"===t?O(function(n,t){const e=M(n),r=$(n),o=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,u=0;if(o){i=o.width,a=o.height;const n=X();(n||!n&&"fixed"===t)&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:c,y:u}}(n,e)):N(t)?function(n,t){const e=Y(n,!1,"fixed"===t),r=e.top+n.clientTop,o=e.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}}(t,e):O(function(n){var t;const e=$(n),r=J(n),o=null==(t=n.ownerDocument)?void 0:t.body,i=Q(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Q(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let c=-r.scrollLeft+Z(n);const u=-r.scrollTop;return"rtl"===D(o||e).direction&&(c+=Q(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:u}}($(n)))}function un(n){const t=an(n),e=["absolute","fixed"].includes(D(n).position)&&H(n)?rn(n):n;return N(e)?t.filter(n=>N(n)&&function(n,t){const e=null==t.getRootNode?void 0:t.getRootNode();if(n.contains(t))return!0;if(e&&q(e)){let e=t;do{if(e&&n===e)return!0;e=e.parentNode||e.host}while(e)}return!1}(n,e)&&"body"!==B(n)):[]}const sn={getClippingRect:function(n){let{element:t,boundary:e,rootBoundary:r,strategy:o}=n;const i=[..."clippingAncestors"===e?un(t):[].concat(e),r],a=i[0],c=i.reduce((n,e)=>{const r=cn(t,e,o);return n.top=Q(r.top,n.top),n.right=K(r.right,n.right),n.bottom=K(r.bottom,n.bottom),n.left=Q(r.left,n.left),n},cn(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(n){let{rect:t,offsetParent:e,strategy:r}=n;const o=H(e),i=$(e);if(e===i)return t;let a={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==B(e)||F(i))&&(a=J(e)),H(e))){const n=Y(e,!0);c.x=n.x+e.clientLeft,c.y=n.y+e.clientTop}return{...t,x:t.x-a.scrollLeft+c.x,y:t.y-a.scrollTop+c.y}},isElement:N,getDimensions:on,getOffsetParent:rn,getDocumentElement:$,getElementRects:n=>{let{reference:t,floating:e,strategy:r}=n;return{reference:nn(t,rn(e),r),floating:{...on(e),x:0,y:0}}},getClientRects:n=>Array.from(n.getClientRects()),isRTL:n=>"rtl"===D(n).direction};function ln(n,t,e,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:c=!1}=r,u=o&&!c,s=i&&!c,l=u||s?[...N(n)?an(n):[],...an(t)]:[];l.forEach(n=>{u&&n.addEventListener("scroll",e,{passive:!0}),s&&n.addEventListener("resize",e)});let f,d=null;if(a){let r=!0;d=new ResizeObserver(()=>{r||e(),r=!1}),N(n)&&!c&&d.observe(n),d.observe(t)}let p=c?Y(n):null;return c&&function t(){const r=Y(n);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||e();p=r,f=requestAnimationFrame(t)}(),e(),()=>{var n;l.forEach(n=>{u&&n.removeEventListener("scroll",e),s&&n.removeEventListener("resize",e)}),null==(n=d)||n.disconnect(),d=null,c&&cancelAnimationFrame(f)}}const fn=(n,t,e)=>(async(n,t,e)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=e,c=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:n,floating:t,strategy:o}),{x:s,y:l}=x(u,r,c),f=r,d={},p=0;for(let e=0;e<i.length;e++){const{name:h,fn:m}=i[e],{x:g,y:b,data:y,reset:v}=await m({x:s,y:l,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:u,platform:a,elements:{reference:n,floating:t}});s=null!=g?g:s,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&&(u=!0===v.rects?await a.getElementRects({reference:n,floating:t,strategy:o}):v.rects),({x:s,y:l}=x(u,f,c))),e=-1)}return{x:s,y:l,placement:f,strategy:o,middlewareData:d}})(n,t,{platform:sn,...e});var dn=e(34),pn="undefined"!=typeof document?f.useLayoutEffect:f.useEffect;function hn(n,t){if(n===t)return!0;if(typeof n!=typeof t)return!1;if("function"==typeof n&&n.toString()===t.toString())return!0;let e,r,o;if(n&&t&&"object"==typeof n){if(Array.isArray(n)){if(e=n.length,e!=t.length)return!1;for(r=e;0!=r--;)if(!hn(n[r],t[r]))return!1;return!0}if(o=Object.keys(n),e=o.length,e!==Object.keys(t).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=e;0!=r--;){const e=o[r];if(("_owner"!==e||!n.$$typeof)&&!hn(n[e],t[e]))return!1}return!0}return n!=n&&t!=t}function mn(n){let{middleware:t,placement:e="bottom",strategy:r="absolute",whileElementsMounted:o}=void 0===n?{}:n;const[i,a]=f.useState({x:null,y:null,strategy:r,placement:e,middlewareData:{}}),[c,u]=f.useState(t);hn(null==c?void 0:c.map(n=>{let{name:t,options:e}=n;return{name:t,options:e}}),null==t?void 0:t.map(n=>{let{name:t,options:e}=n;return{name:t,options:e}}))||u(t);const s=f.useRef(null),l=f.useRef(null),d=f.useRef(null),p=f.useRef(i),h=function(n){const t=f.useRef(n);return pn(()=>{t.current=n}),t}(o),m=f.useCallback(()=>{s.current&&l.current&&fn(s.current,l.current,{middleware:c,placement:e,strategy:r}).then(n=>{g.current&&!hn(p.current,n)&&(p.current=n,dn.flushSync(()=>{a(n)}))})},[c,e,r]);pn(()=>{g.current&&m()},[m]);const g=f.useRef(!1);pn(()=>(g.current=!0,()=>{g.current=!1}),[]);const b=f.useCallback(()=>{if("function"==typeof d.current&&(d.current(),d.current=null),s.current&&l.current)if(h.current){const n=h.current(s.current,l.current,m);d.current=n}else m()},[m,h]),y=f.useCallback(n=>{s.current=n,b()},[b]),v=f.useCallback(n=>{l.current=n,b()},[b]),x=f.useMemo(()=>({reference:s,floating:l}),[]);return f.useMemo(()=>({...i,update:m,refs:x,reference:y,floating:v}),[i,m,x,y,v])}var gn,bn,yn=e(6),vn=e(35),xn=["source","children","spacing","fullWidth","placement","onReachEnd","intersectionId","centered"],wn=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],On=m()(yn.Box)(gn||(gn=l()(["\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})),En=m()(yn.Box)(bn||(bn=l()(["\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})),Tn=function(n){var t,e,r,i,c,s,l,d=n.source,p=n.children,h=n.spacing,m=n.fullWidth,b=n.placement,v=n.onReachEnd,x=n.intersectionId,w=n.centered,O=u()(n,xn),T=f.useRef(null),P=f.useState(void 0),k=a()(P,2),S=k[0],j=k[1],C=mn({strategy:"fixed",placement:w?"bottom":b,middleware:[W({mainAxis:h}),(void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:r,placement:o}=n,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:n=>{let{x:t,y:e}=n;return{x:t,y:e}}},...u}=t,s={x:e,y:r},l=await E(n,u),f=y(g(o)),d=L(f);let p=s[f],h=s[d];if(i){const n="y"===f?"bottom":"right";p=R(p+l["y"===f?"top":"left"],p,p-l[n])}if(a){const n="y"===d?"bottom":"right";h=R(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-e,y:m.y-r}}}}),_()],whileElementsMounted:ln}),A=C.x,z=C.y,M=C.reference,D=C.floating,B=C.strategy;return f.useLayoutEffect((function(){M(d.current)}),[d]),f.useLayoutEffect((function(){m&&j(d.current.offsetWidth)}),[m]),e=T,r=v,i={selectorToWatch:"#".concat(x),skipWhen:!x||!v},c=i.selectorToWatch,s=i.skipWhen,l=void 0!==s&&s,Object(f.useEffect)((function(){if(!l){var n={root:e.current,rootMargin:"0px"},t=new IntersectionObserver((function(n){n.forEach((function(n){n.isIntersecting&&e.current.scrollHeight>e.current.clientHeight&&r(n)}))}),n),o=e.current.querySelector(c);return t.observe(o),function(){t.disconnect()}}}),[l,r,c]),f.createElement(On,{ref:D,style:{left:A,top:z,position:B,width:S||void 0},hasRadius:!0,background:"neutral0",padding:1},f.createElement(En,o()({ref:T},O),p,x&&v&&f.createElement(yn.Box,{id:x,width:"100%",height:"1px"})))},Pn=function(n){return f.createElement(vn.Portal,null,f.createElement(Tn,n))},Rn={fullWidth:!1,intersectionId:void 0,onReachEnd:void 0,centered:!1,placement:"bottom-start"},kn={centered:p.a.bool,children:p.a.node.isRequired,fullWidth:p.a.bool,intersectionId:p.a.string,onReachEnd:p.a.func,placement:p.a.oneOf(wn),source:p.a.shape({current:("undefined"==typeof Element?p.a.any:p.a.instanceOf(Element)).isRequired}).isRequired,spacing:p.a.number};Tn.propTypes=kn,Tn.defaultProps=Rn,Pn.propTypes=kn,Pn.defaultProps=Rn},function(n,t,e){"use strict";e.r(t),e.d(t,"BaseButtonWrapper",(function(){return y})),e.d(t,"BaseButton",(function(){return v}));var r,o=e(5),i=e.n(o),a=e(4),c=e.n(a),u=e(3),s=e.n(u),l=e(1),f=e.n(l),d=e(0),p=e.n(d),h=e(2),m=e.n(h),g=e(21),b=["disabled","children"],y=m.a.button(r||(r=s()(["\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,t){var e=n.disabled,r=n.children,o=c()(n,b);return f.a.createElement(y,i()({ref:t,"aria-disabled":e,type:"button",disabled:e},o),r)}));v.displayName="BaseButton",v.defaultProps={disabled:!1},v.propTypes={children:p.a.node.isRequired,disabled:p.a.bool}},,,,function(n,t,e){var r=e(23);n.exports=function(n){if(Array.isArray(n))return r(n)},n.exports.default=n.exports,n.exports.__esModule=!0},function(n,t){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,t){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,t){n.exports=i},,,function(n,t,e){"use strict";e.r(t),e.d(t,"ButtonWrapper",(function(){return C})),e.d(t,"Button",(function(){return A}));var r,o,i,a,c=e(5),u=e.n(c),s=e(4),l=e.n(s),f=e(3),d=e.n(f),p=e(1),h=e.n(p),m=e(0),g=e.n(m),b=e(2),y=e.n(b),v=e(51),x=e.n(v),w=e(8),O=e(6),E=e(37),T=e(18),P=e(42),R=["variant","startIcon","endIcon","disabled","children","onClick","size","loading","fullWidth"],k=Object(b.keyframes)(r||(r=d()(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n"]))),S=y.a.div(o||(o=d()(["\n animation: "," 2s infinite linear;\n will-change: transform;\n"])),k),j=y()(O.Box)(i||(i=d()(["\n height: 100%;\n"]))),C=y()(P.BaseButton)(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 t=n.theme,e=n.size;return"".concat("S"===e?t.spaces[2]:"10px"," ").concat(t.spaces[4])}),(function(n){return n.theme.colors.buttonPrimary600}),(function(n){return n.theme.colors.buttonPrimary600}),O.Box,w.Typography,(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,t){var e=n.variant,r=n.startIcon,o=n.endIcon,i=n.disabled,a=n.children,c=n.onClick,s=n.size,f=n.loading,d=n.fullWidth,p=l()(n,R),m=i||f;return h.a.createElement(C,u()({ref:t,"aria-disabled":m,disabled:m,size:s,variant:e,onClick:function(n){!m&&c&&c(n)},fullWidth:d},p),(r||f)&&h.a.createElement(j,{"aria-hidden":!0,paddingRight:2},f?h.a.createElement(S,null,h.a.createElement(x.a,null)):r),"S"===s?h.a.createElement(w.Typography,{variant:"pi",fontWeight:"bold"},a):h.a.createElement(w.Typography,{fontWeight:"bold"},a),o&&h.a.createElement(O.Box,{"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(T.a),startIcon:g.a.element,variant:g.a.oneOf(T.k)}},,,,,,function(n,t,e){"use strict";e.r(t),e.d(t,"MenuItem",(function(){return F})),e.d(t,"SimpleMenu",(function(){return V}));var r,o,i,a,c=e(16),u=e.n(c),s=e(11),l=e.n(s),f=e(5),d=e.n(f),p=e(19),h=e.n(p),m=e(4),g=e.n(m),b=e(3),y=e.n(b),v=e(1),x=e.n(v),w=e(0),O=e.n(w),E=e(2),T=e.n(E),P=e(36),R=e.n(P),k=e(40),S=e(8),j=e(6),C=e(10),A=e(54),_=e(41),W=function(n){var t=n.theme;return"\n text-align: left;\n width: 100%;\n color: ".concat(t.colors.neutral800,";\n border-radius: ").concat(t.borderRadius,";\n &:focus {\n background-color: ").concat(t.colors.primary100,";\n }\n &:not([aria-disabled]):hover {\n background-color: ").concat(t.colors.primary100,";\n }\n")},L=e(15),z=e(12),M=["children","onClick","to","isFocused"],D=["label","children","id","as","onOpen","onClose","size","popoverPlacement"];function B(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}var I=T.a.button(r||(r=y()(["\n border: none;\n padding: 0;\n background: transparent;\n cursor: pointer;\n ","\n"])),W),H=T()(k.NavLink)(o||(o=y()(["\n text-decoration: none;\n ","\n"])),W),N=T.a.span(i||(i=y()(["\n display: flex;\n align-items: center;\n svg {\n height: 4px;\n width: 6px;\n }\n"]))),q=T()(A.Button)(a||(a=y()(["\n padding: ",";\n"])),(function(n){var t=n.theme;return"".concat(t.spaces[1]," ").concat(t.spaces[3])})),F=function(n){var t=n.children,e=n.onClick,r=n.to,o=n.isFocused,i=g()(n,M),a=Object(v.useRef)();Object(v.useEffect)((function(){o&&a.current&&a.current.focus()}),[o]);var c=function(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?B(Object(e),!0).forEach((function(t){h()(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):B(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}({tabIndex:o?0:-1,ref:a,role:"menuitem"},i);return r?x.a.createElement(H,d()({to:r},c),x.a.createElement(j.Box,{padding:2},x.a.createElement(S.Typography,null,t))):x.a.createElement(I,d()({onKeyDown:function(n){n.key!==z.a.SPACE&&n.key!==z.a.ENTER||e()},onMouseDown:e,type:"button"},c),x.a.createElement(j.Box,{padding:2},x.a.createElement(S.Typography,null,t)))};F.defaultProps={onClick:function(){},isFocused:!1,to:void 0},F.propTypes={as:O.a.elementType,children:O.a.node.isRequired,isFocused:O.a.bool,onClick:O.a.func,to:O.a.string};var V=function(n){var t=n.label,e=n.children,r=n.id,o=n.as,i=n.onOpen,a=void 0===i?function(){}:i,c=n.onClose,s=void 0===c?function(){}:c,f=n.size,p=n.popoverPlacement,h=g()(n,D),m=Object(v.useRef)(),b=Object(L.a)("simplemenu",r),y=Object(v.useRef)(!1),w=Object(v.useState)(!1),O=l()(w,2),E=O[0],T=O[1],P=Object(v.useState)(0),k=l()(P,2),S=k[0],W=k[1],M=v.Children.toArray(e),B="S"===f?q:A.Button,I=o||B;Object(v.useEffect)((function(){if(["string","number"].includes(u()(t))){var n=M.findIndex((function(n){return n.props.children===t}));-1!==n&&W(n)}}),[t]),Object(v.useEffect)((function(){null!=y&&y.current?E&&"function"==typeof a?a():"function"==typeof s&&s():y.current=!0}),[y,E]),Object(v.useEffect)((function(){x.a.isValidElement(t)&&-1==S&&m.current.focus()}),[t,S]);var H=M.map((function(n,t){return x.a.createElement(C.Flex,{as:"li",key:t,justifyContent:"center",role:"menuitem"},Object(v.cloneElement)(n,{onClick:function(){n.props.onClick(),T(!1),m.current.focus()},isFocused:S===t}))}));return x.a.createElement("div",{onKeyDown:function(n){E&&(n.key===z.a.ESCAPE&&(n.stopPropagation(),T(!1),m.current.focus()),n.key===z.a.DOWN&&W((function(n){return n===M.length-1?0:n+1})),n.key===z.a.UP&&W((function(n){return 0===n?M.length-1:n-1})))}},x.a.createElement(I,d()({label:x.a.isValidElement(t)?null:t,"aria-haspopup":!0,"aria-expanded":E,"aria-controls":b,onKeyDown:function(n){n.key!==z.a.ENTER&&n.key!==z.a.SPACE||T((function(n){return!n}))},onMouseDown:function(n){n.preventDefault(),T((function(n){return!n}))},ref:m,type:"button",variant:"ghost",endIcon:x.a.createElement(N,null,x.a.createElement(R.a,{"aria-hidden":!0}))},h),t),E&&x.a.createElement(_.Popover,{onBlur:function(n){n.preventDefault(),n.currentTarget.contains(n.relatedTarget)||T(!1)},placement:p,source:m,spacing:4},x.a.createElement(j.Box,{role:"menu",as:"ul",padding:1,id:b},H)))};V.defaultProps={as:void 0},V.displayName="SimpleMenu",V.defaultProps={popoverPlacement:"bottom-start",size:"M"},V.propTypes={as:O.a.any,children:O.a.oneOfType([O.a.arrayOf(O.a.node),O.a.node]).isRequired,id:O.a.string,label:O.a.oneOfType([O.a.string,O.a.number,O.a.element]).isRequired,onClose:O.a.func,onOpen:O.a.func,popoverPlacement:O.a.oneOf(_.POPOVER_PLACEMENTS),size:O.a.oneOf(["S","M"])}}])}));