@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/Select.js DELETED
@@ -1,9 +0,0 @@
1
-
2
- 'use strict';
3
-
4
- if (process.env.NODE_ENV === "production") {
5
- module.exports = require("./Select.production.js");
6
- } else {
7
- module.exports = require("./Select.development.js");
8
- }
9
-
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("styled-components"),require("react-dom"),require("@strapi/icons/CarretDown"),require("@strapi/icons/Cross")):"function"==typeof define&&define.amd?define("strapiDs",["react","styled-components","react-dom","@strapi/icons/CarretDown","@strapi/icons/Cross"],t):"object"==typeof exports?exports.strapiDs=t(require("react"),require("styled-components"),require("react-dom"),require("@strapi/icons/CarretDown"),require("@strapi/icons/Cross")):e.strapiDs=t(e.react,e["styled-components"],e["react-dom"],e["@strapi/icons/CarretDown"],e["@strapi/icons/Cross"])}(this,(function(e,t,n,r,o){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=71)}([function(e,t,n){e.exports=n(24)()},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(30);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t),n.d(t,"Box",(function(){return b}));var r,o=n(3),i=n.n(o),a=n(2),c=n.n(a),l=n(7),u=n(1),s=n.n(u),d=n(0),f=n.n(d),p=function(e){return s.a.createElement("div",e)},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:f.a.func,background:f.a.string,basis:f.a.oneOfType([f.a.string,f.a.string]),borderColor:f.a.string,children:f.a.oneOfType([f.a.node,f.a.string]),color:f.a.string,flex:f.a.oneOfType([f.a.string,f.a.string]),grow:f.a.oneOfType([f.a.string,f.a.string]),hasRadius:f.a.bool,hiddenS:f.a.bool,hiddenXS:f.a.bool,padding:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),paddingBottom:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),paddingLeft:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),paddingRight:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),paddingTop:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),shadow:f.a.string,shrink:f.a.oneOfType([f.a.string,f.a.string])};p.defaultProps=h,p.propTypes=m;var g={color:!0},b=c.a.div.withConfig({shouldForwardProp:function(e,t){return!g[e]&&t(e)}})(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(e){var t=e.fontSize;return e.theme.fontSizes[t]||t}),(function(e){var t=e.theme,n=e.background;return t.colors[n]}),(function(e){var t=e.theme,n=e.color;return t.colors[n]}),(function(e){var t=e.theme,n=e.padding;return Object(l.a)("padding",n,t)}),(function(e){var t=e.theme,n=e.paddingTop;return Object(l.a)("padding-top",n,t)}),(function(e){var t=e.theme,n=e.paddingRight;return Object(l.a)("padding-right",n,t)}),(function(e){var t=e.theme,n=e.paddingBottom;return Object(l.a)("padding-bottom",n,t)}),(function(e){var t=e.theme,n=e.paddingLeft;return Object(l.a)("padding-left",n,t)}),(function(e){var t=e.theme,n=e.marginLeft;return Object(l.a)("margin-left",n,t)}),(function(e){var t=e.theme,n=e.marginRight;return Object(l.a)("margin-right",n,t)}),(function(e){var t=e.theme,n=e.marginTop;return Object(l.a)("margin-top",n,t)}),(function(e){var t=e.theme,n=e.marginBottom;return Object(l.a)("margin-bottom",n,t)}),(function(e){var t=e.theme;return e.hiddenS?"".concat(t.mediaQueries.tablet," { display: none; }"):void 0}),(function(e){var t=e.theme;return e.hiddenXS?"".concat(t.mediaQueries.mobile," { display: none; }"):void 0}),(function(e){var t=e.theme,n=e.hasRadius,r=e.borderRadius;return n?t.borderRadius:r}),(function(e){return e.borderStyle}),(function(e){return e.borderWidth}),(function(e){var t=e.borderColor;return e.theme.colors[t]}),(function(e){var t=e.theme,n=e.borderColor,r=e.borderStyle,o=e.borderWidth;if(n&&!r&&!o)return"1px solid ".concat(t.colors[n])}),(function(e){var t=e.theme,n=e.shadow;return t.shadows[n]}),(function(e){return e.pointerEvents}),(function(e){var t=e._hover,n=e.theme;return t?t(n):void 0}),(function(e){return e.display}),(function(e){return e.position}),(function(e){var t=e.left;return e.theme.spaces[t]||t}),(function(e){var t=e.right;return e.theme.spaces[t]||t}),(function(e){var t=e.top;return e.theme.spaces[t]||t}),(function(e){var t=e.bottom;return e.theme.spaces[t]||t}),(function(e){return e.zIndex}),(function(e){return e.overflow}),(function(e){return e.cursor}),(function(e){var t=e.width;return e.theme.spaces[t]||t}),(function(e){var t=e.maxWidth;return e.theme.spaces[t]||t}),(function(e){var t=e.minWidth;return e.theme.spaces[t]||t}),(function(e){var t=e.height;return e.theme.spaces[t]||t}),(function(e){var t=e.maxHeight;return e.theme.spaces[t]||t}),(function(e){var t=e.minHeight;return e.theme.spaces[t]||t}),(function(e){return e.transition}),(function(e){return e.transform}),(function(e){return e.animation}),(function(e){return e.shrink}),(function(e){return e.grow}),(function(e){return e.basis}),(function(e){return e.flex}),(function(e){return e.textAlign}),(function(e){return e.textTransform}),(function(e){return e.lineHeight}),(function(e){return e.cursor}));b.defaultProps=h,b.propTypes=m},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(16),a=n.n(i);t.a=function(e,t,n){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),l=c[0],u=c[1],s=c[2],d="".concat(e,": ").concat(n.spaces[l],";");return void 0!==u&&(d+="".concat(n.mediaQueries.tablet,"{\n ").concat(e,": ").concat(n.spaces[u],";\n }")),void 0!==s&&(d+="".concat(n.mediaQueries.mobile,"{\n ").concat(e,": ").concat(n.spaces[s],";\n }")),d}var f=n.spaces[r]||r;return"".concat(e,": ").concat(f,";")}}},function(e,t,n){"use strict";n.r(t),n.d(t,"Typography",(function(){return v}));var r,o=n(3),i=n.n(o),a=n(2),c=n.n(a),l=n(13),u=n(1),s=n.n(u),d=n(0),f=n.n(d),p=n(9),h=function(e){return s.a.createElement("div",e)},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:f.a.bool,fontSize:f.a.oneOfType([f.a.number,f.a.string]),fontWeight:f.a.string,lineHeight:f.a.oneOfType([f.a.number,f.a.string]),textAlign:f.a.string,textColor:f.a.string,textTransform:f.a.string,variant:f.a.oneOf(p.h)};h.defaultProps=m,h.propTypes=g;var b={fontSize:!0,fontWeight:!0},v=c.a.span.withConfig({shouldForwardProp:function(e,t){return!b[e]&&t(e)}})(r||(r=i()(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n color: ",";\n text-align: ",";\n text-transform: ",";\n ","\n ","\n"])),(function(e){var t=e.theme,n=e.fontWeight;return t.fontWeights[n]}),(function(e){var t=e.theme,n=e.fontSize;return t.fontSizes[n]}),(function(e){var t=e.theme,n=e.lineHeight;return t.lineHeights[n]}),l.b,(function(e){return e.textAlign}),(function(e){return e.textTransform}),l.a,l.c);v.defaultProps=m,v.propTypes=g},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return u})),n.d(t,"h",(function(){return s}));var r="alpha",o="beta",i="delta",a="epsilon",c="omega",l="pi",u="sigma",s=[r,o,i,a,c,l,u]},function(e,t,n){"use strict";n.r(t),n.d(t,"Flex",(function(){return v}));var r,o=n(3),i=n.n(o),a=n(2),c=n.n(a),l=n(6),u=n(7),s=n(1),d=n.n(s),f=n(0),p=n.n(f),h=function(e){return d.a.createElement("div",e)},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},v=c()(l.Box).withConfig({shouldForwardProp:function(e,t){return!b[e]&&t(e)}})(r||(r=i()(["\n align-items: ",";\n display: ",";\n flex-direction: ",";\n flex-shrink: ",";\n flex-wrap: ",";\n ","};\n justify-content: ",";\n"])),(function(e){return e.alignItems}),(function(e){return e.inline?"inline-flex":"flex"}),(function(e){return e.direction}),(function(e){return e.shrink}),(function(e){return e.wrap}),(function(e){var t=e.gap,n=e.theme;return Object(u.a)("gap",t,n)}),(function(e){return e.justifyContent}));v.defaultProps=m,v.propTypes=g},function(e,t,n){var r=n(27),o=n(28),i=n(26),a=n(29);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.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(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(9),o=function(e){return e.ellipsis&&"\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n "},i=function(e){var t=e.variant,n=e.theme;switch(t){case r.a:return"\n font-weight: ".concat(n.fontWeights.bold,";\n font-size: ").concat(n.fontSizes[5],";\n line-height: ").concat(n.lineHeights[2],";\n ");case r.b:return"\n font-weight: ".concat(n.fontWeights.bold,";\n font-size: ").concat(n.fontSizes[4],";\n line-height: ").concat(n.lineHeights[1],";\n ");case r.c:return"\n font-weight: ".concat(n.fontWeights.semiBold,";\n font-size: ").concat(n.fontSizes[3],";\n line-height: ").concat(n.lineHeights[2],";\n ");case r.d:return"\n font-size: ".concat(n.fontSizes[3],";\n line-height: ").concat(n.lineHeights[6],";\n ");case r.e:return"\n font-size: ".concat(n.fontSizes[2],";\n line-height: ").concat(n.lineHeights[4],";\n ");case r.f:return"\n font-size: ".concat(n.fontSizes[1],";\n line-height: ").concat(n.lineHeights[3],";\n ");case r.g:return"\n font-weight: ".concat(n.fontWeights.bold,";\n font-size: ").concat(n.fontSizes[0],";\n line-height: ").concat(n.lineHeights[5],";\n text-transform: uppercase;\n ");default:return"\n font-size: ".concat(n.fontSizes[2],";\n ")}},a=function(e){var t=e.theme,n=e.textColor;return t.colors[n||"neutral800"]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n(1),o=Object(r.createContext)({error:void 0,hint:void 0,name:"",id:""}),i=function(){return Object(r.useContext)(o)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),o=0,i=function(e,t){return Object(r.useRef)(t||"".concat(e,"-").concat(++o)).current}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t),n.d(t,"Field",(function(){return f})),n.d(t,"FieldLabel",(function(){return C})),n.d(t,"InputWrapper",(function(){return S.b})),n.d(t,"FieldInput",(function(){return S.a})),n.d(t,"FieldHint",(function(){return j})),n.d(t,"FieldError",(function(){return z})),n.d(t,"FieldContext",(function(){return u.a})),n.d(t,"useField",(function(){return u.b})),n.d(t,"FieldAction",(function(){return L}));var r=n(4),o=n.n(r),i=n(1),a=n.n(i),c=n(0),l=n.n(c),u=n(14),s=n(15),d=["children","name","error","hint","id"],f=function(e){var t=e.children,n=e.name,r=e.error,i=e.hint,c=e.id,l=o()(e,d),f=Object(s.a)("field",c);return a.a.createElement("div",l,a.a.createElement(u.a.Provider,{value:{name:n,id:f,error:r,hint:i}},t))};f.defaultProps={error:void 0,hint:void 0,id:void 0,name:void 0},f.propTypes={children:l.a.node.isRequired,error:l.a.oneOfType([l.a.string,l.a.bool]),hint:l.a.oneOfType([l.a.string,l.a.node,l.a.arrayOf(l.a.node)]),id:l.a.oneOfType([l.a.string,l.a.number]),name:l.a.string};var p,h,m=n(5),g=n.n(m),b=n(3),v=n.n(b),y=n(2),x=n.n(y),w=n(10),E=n(8),O=["children","required","action"],T=x()(E.Typography)(p||(p=v()(["\n line-height: 0;\n"]))),R=x()(w.Flex)(h||(h=v()(["\n line-height: 0;\n\n svg path {\n fill: ",";\n }\n"])),(function(e){return e.theme.colors.neutral500})),C=function(e){var t=e.children,n=e.required,r=e.action,i=o()(e,O),c=Object(u.b)().id;return a.a.createElement(E.Typography,g()({variant:"pi",textColor:"neutral800",htmlFor:c,fontWeight:"bold",as:"label",required:n},i),a.a.createElement(w.Flex,{alignItems:"center"},t,n&&a.a.createElement(T,{textColor:"danger600"},"*"),r&&a.a.createElement(R,{marginLeft:1},r)))};C.defaultProps={required:!1,action:void 0},C.propTypes={action:l.a.element,children:l.a.node.isRequired,required:l.a.bool};var A,S=n(38),j=function(){var e=Object(u.b)(),t=e.id,n=e.hint,r=e.error;return!n||r?null:a.a.createElement(E.Typography,{variant:"pi",as:"p",id:"".concat(t,"-hint"),textColor:"neutral600"},n)},z=function(){var e=Object(u.b)(),t=e.id,n=e.error;return n&&"string"==typeof n?a.a.createElement(E.Typography,{variant:"pi",as:"p",id:"".concat(t,"-error"),textColor:"danger600","data-strapi-field-error":!0},n):null},k=["label","children"],M=x.a.button(A||(A=v()(["\n border: none;\n background: transparent;\n // TODO: Make sure to use the theme when it's ready\n font-size: 1.6rem;\n width: auto;\n padding: 0;\n display: flex;\n align-items: center;\n"]))),L=function(e){var t=e.label,n=e.children,r=o()(e,k);return a.a.createElement(M,g()({"aria-label":t,type:"button"},r),n)};L.propTypes={children:l.a.node.isRequired,label:l.a.string.isRequired}},,,function(e,t,n){"use strict";n.r(t),n.d(t,"VisuallyHidden",(function(){return c}));var r,o=n(3),i=n.n(o),a=n(2),c=n.n(a).a.div(r||(r=i()(["\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n"])))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var r=function(e){return function(t){var n=t.theme,r=t.size;return n.sizes[e][r]}},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"&";return function(t){var n=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(e,":focus-within {\n border: 1px solid ").concat(r?n.colors.danger600:n.colors.primary600,";\n box-shadow: ").concat(r?n.colors.danger600:n.colors.primary600," 0px 0px 0px 2px;\n }\n ")}},i=function(e){var t=e.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(e,t,n){"use strict";n.r(t),n.d(t,"Stack",(function(){return E}));var r,o,i=n(5),a=n.n(i),c=n(4),l=n.n(c),u=n(3),s=n.n(u),d=n(1),f=n.n(d),p=n(0),h=n.n(p),m=n(2),g=n.n(m),b=n(10),v=["horizontal","spacing","size"],y={size:!0},x=g()(b.Flex).withConfig({shouldForwardProp:function(e,t){return!y[e]&&t(e)}})(r||(r=s()(["\n & > * {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n & > * + * {\n margin-top: ",";\n }\n"])),(function(e){var t=e.theme,n=e.spacing;return t.spaces[n]})),w=g()(b.Flex).withConfig({shouldForwardProp:function(e,t){return!y[e]&&t(e)}})(o||(o=s()(["\n & > * {\n margin-left: 0;\n margin-right: 0;\n }\n\n & > * + * {\n margin-left: ",";\n }\n"])),(function(e){var t=e.theme,n=e.spacing;return t.spaces[n]})),E=Object(d.forwardRef)((function(e,t){var n=e.horizontal,r=e.spacing,o=e.size,i=l()(e,v);return o&&console.warn('Deprecation warning: Usage of "size" prop in Stack component is deprecated. This is discouraged and will be removed in the next major release. Please use "spacing" instead'),n?f.a.createElement(w,a()({ref:t,spacing:r||o},i)):f.a.createElement(x,a()({direction:"column",alignItems:"stretch",ref:t,spacing:r||o},i))}));E.displayName="Stack",E.defaultProps={horizontal:!1,size:void 0,spacing:void 0},E.propTypes={horizontal:h.a.bool,size:h.a.number,spacing:h.a.number}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var r=n(25);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,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 e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(23);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.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.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={input:{S:"".concat(2,"rem"),M:"".concat(2.5,"rem")},accordions:{S:"".concat(3,"rem"),M:"".concat(5.5,"rem")}}},function(e,t,n){var r=n(46),o=n(47),i=n(26),a=n(48);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t){e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"Portal",(function(){return c}));var r=n(11),o=n.n(r),i=n(1),a=n(34),c=function(e){var t=e.children,n=Object(i.useRef)(null),r=Object(i.useState)(!1),c=o()(r,2),l=c[0],u=c[1];return Object(i.useLayoutEffect)((function(){return n.current=document.createElement("div"),n.current.setAttribute("data-react-portal","true"),document.body.appendChild(n.current),u(!0),function(){var e;null===(e=n.current)||void 0===e||e.remove()}}),[]),l&&n.current?Object(a.createPortal)(t,n.current):null}},function(e,t){e.exports=r},,function(e,t,n){"use strict";n.d(t,"b",(function(){return R})),n.d(t,"a",(function(){return C}));var r,o,i=n(5),a=n.n(i),c=n(4),l=n.n(c),u=n(3),s=n.n(u),d=n(1),f=n.n(d),p=n(2),h=n.n(p),m=n(0),g=n.n(m),b=n(31),v=n(21),y=n(14),x=n(10),w=n(6),E=["endAction","startAction","disabled","onChange","size"],O={S:6.5,M:10.5},T=h.a.input(r||(r=s()(["\n border: none;\n border-radius: ",";\n padding-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n padding-top: ",";\n cursor: ",";\n\n color: ",";\n font-weight: 400;\n // TODO: Make sure to use the theme when it's ready\n font-size: ","rem;\n display: block;\n width: 100%;\n background: inherit;\n\n ::placeholder {\n color: ",";\n opacity: 1;\n }\n\n &[aria-disabled='true'] {\n color: inherit;\n }\n\n //focus managed by InputWrapper\n &:focus {\n outline: none;\n box-shadow: none;\n }\n"])),(function(e){return e.theme.borderRadius}),(function(e){var t=e.size;return"".concat(O[t]/16,"rem")}),(function(e){var t=e.theme;return e.hasLeftAction?0:t.spaces[4]}),(function(e){var t=e.theme;return e.hasRightAction?0:t.spaces[4]}),(function(e){var t=e.size;return"".concat(O[t]/16,"rem")}),(function(e){return e["aria-disabled"]?"not-allowed":void 0}),(function(e){return e.theme.colors.neutral800}),.875,(function(e){return e.theme.colors.neutral500})),R=h()(x.Flex)(o||(o=s()(["\n border: 1px solid ",";\n border-radius: ",";\n background: ",";\n ","\n\n ","\n"])),(function(e){var t=e.theme;return e.hasError?t.colors.danger600:t.colors.neutral200}),(function(e){return e.theme.borderRadius}),(function(e){return e.theme.colors.neutral0}),Object(v.c)(),(function(e){var t=e.theme;return e.disabled?"\n color: ".concat(t.colors.neutral600,";\n background: ").concat(t.colors.neutral150,";\n \n "):void 0})),C=Object(d.forwardRef)((function(e,t){var n,r=e.endAction,o=e.startAction,i=e.disabled,c=e.onChange,u=e.size,s=l()(e,E),d=Object(y.b)(),p=d.id,h=d.error,m=d.hint,g=d.name;h?n="".concat(p,"-error"):m&&(n="".concat(p,"-hint"));var b=Boolean(h);return f.a.createElement(R,{size:u,justifyContent:"space-between",hasError:b,disabled:i},o&&f.a.createElement(w.Box,{paddingLeft:3,paddingRight:2},o),f.a.createElement(T,a()({id:p,name:g,ref:t,"aria-describedby":n,"aria-invalid":b,"aria-disabled":i,hasLeftAction:Boolean(o),hasRightAction:Boolean(r),onChange:function(e){i||c(e)},size:u},s)),r&&f.a.createElement(w.Box,{paddingLeft:2,paddingRight:3},r))}));C.displayName="FieldInput",C.defaultProps={disabled:!1,endAction:void 0,size:"M",startAction:void 0,onChange:function(){}},C.propTypes={disabled:g.a.bool,endAction:g.a.element,onChange:g.a.func,size:g.a.oneOf(Object.keys(b.a.input)),startAction:g.a.element}},function(e,t){e.exports=o},,function(e,t,n){"use strict";n.r(t),n.d(t,"POPOVER_PLACEMENTS",(function(){return xe})),n.d(t,"Popover",(function(){return Te}));var r=n(5),o=n.n(r),i=n(11),a=n.n(i),c=n(4),l=n.n(c),u=n(3),s=n.n(u),d=n(1),f=n(0),p=n.n(f),h=n(2),m=n.n(h);function g(e){return e.split("-")[0]}function b(e){return e.split("-")[1]}function v(e){return["top","bottom"].includes(g(e))?"x":"y"}function y(e){return"y"===e?"height":"width"}function x(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,c=v(t),l=y(c),u=r[l]/2-o[l]/2,s="x"===c;let d;switch(g(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(b(t)){case"start":d[c]-=u*(n&&s?-1:1);break;case"end":d[c]+=u*(n&&s?-1:1)}return d}function w(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function E(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function O(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=t,h=w(p),m=c[f?"floating"===d?"reference":"floating":d],g=E(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:s,strategy:l})),b=E(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===d?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),strategy:l}):a[d]);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,R=Math.max;function C(e,t,n){return R(e,T(t,n))}const A={left:"right",right:"left",bottom:"top",top:"bottom"};function S(e){return e.replace(/left|right|bottom|top/g,e=>A[e])}function j(e,t,n){void 0===n&&(n=!1);const r=b(e),o=v(e),i=y(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=S(a)),{main:a,cross:S(a)}}const z={start:"end",end:"start"};function k(e){return e.replace(/start|end/g,e=>z[e])}const M=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:c,elements:l}=t,{mainAxis:u=!0,crossAxis:s=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",flipAlignment:p=!0,...h}=e,m=g(r),b=[a,...d||(m===a||!p?[S(a)]:function(e){const t=S(e);return[k(e),t,k(t)]}(a))],v=await O(t,h),y=[];let x=(null==(n=o.flip)?void 0:n.overflows)||[];if(u&&y.push(v[m]),s){const{main:e,cross:t}=j(r,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));y.push(v[e],v[t])}if(x=[...x,{placement:r,overflows:y}],!y.every(e=>e<=0)){var w,E;const e=(null!=(w=null==(E=o.flip)?void 0:E.index)?w:0)+1,t=b[e];if(t)return{data:{index:e,overflows:x},reset:{placement:t}};let n="bottom";switch(f){case"bestFit":{var T;const e=null==(T=x.map(e=>[e,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:T[0].placement;e&&(n=e);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}};const L=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=g(n),c=b(n),l="x"===v(n),u=["left","top"].includes(a)?-1:1,s=i&&l?-1:1,d="function"==typeof t?t(e):t;let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return c&&"number"==typeof h&&(p="end"===c?-1*h:h),l?{x:p*s,y:f*u}:{x:f*u,y:p*s}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function P(e){return"x"===e?"y":"x"}function D(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function I(e){if(null==e)return window;if(!D(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function N(e){return I(e).getComputedStyle(e)}function W(e){return D(e)?"":e?(e.nodeName||"").toLowerCase():""}function B(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function _(e){return e instanceof I(e).HTMLElement}function H(e){return e instanceof I(e).Element}function q(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof I(e).ShadowRoot||e instanceof ShadowRoot}function F(e){const{overflow:t,overflowX:n,overflowY:r}=N(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function V(e){return["table","td","th"].includes(W(e))}function U(e){const t=/firefox/i.test(B()),n=N(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function Y(){return!/^((?!chrome|android).)*safari/i.test(B())}const G=Math.min,Q=Math.max,X=Math.round;function Z(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const c=e.getBoundingClientRect();let l=1,u=1;t&&_(e)&&(l=e.offsetWidth>0&&X(c.width)/e.offsetWidth||1,u=e.offsetHeight>0&&X(c.height)/e.offsetHeight||1);const s=H(e)?I(e):window,d=!Y()&&n,f=(c.left+(d&&null!=(r=null==(o=s.visualViewport)?void 0:o.offsetLeft)?r:0))/l,p=(c.top+(d&&null!=(i=null==(a=s.visualViewport)?void 0:a.offsetTop)?i:0))/u,h=c.width/l,m=c.height/u;return{width:h,height:m,top:p,right:f+h,bottom:p+m,left:f,x:f,y:p}}function K(e){return(t=e,(t instanceof I(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function J(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function $(e){return Z(K(e)).left+J(e).scrollLeft}function ee(e,t,n){const r=_(t),o=K(t),i=Z(e,r&&function(e){const t=Z(e);return X(t.width)!==e.offsetWidth||X(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==W(t)||F(o))&&(a=J(t)),_(t)){const e=Z(t,!0);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=$(o));return{x:i.left+a.scrollLeft-c.x,y:i.top+a.scrollTop-c.y,width:i.width,height:i.height}}function te(e){return"html"===W(e)?e:e.assignedSlot||e.parentNode||(q(e)?e.host:null)||K(e)}function ne(e){return _(e)&&"fixed"!==N(e).position?function(e){let{offsetParent:t}=e,n=e,r=!1;for(;n&&n!==t;){const{assignedSlot:e}=n;if(e){let o=e.offsetParent;if("contents"===N(e).display){const t=e.hasAttribute("style"),r=e.style.display;e.style.display=N(n).display,o=e.offsetParent,e.style.display=r,t||e.removeAttribute("style")}n=e,t!==o&&(t=o,r=!0)}else if(q(n)&&n.host&&r)break;n=q(n)&&n.host||n.parentNode}return t}(e):null}function re(e){const t=I(e);let n=ne(e);for(;n&&V(n)&&"static"===N(n).position;)n=ne(n);return n&&("html"===W(n)||"body"===W(n)&&"static"===N(n).position&&!U(n))?t:n||function(e){let t=te(e);for(q(t)&&(t=t.host);_(t)&&!["html","body"].includes(W(t));){if(U(t))return t;{const e=t.parentNode;t=q(e)?e.host:e}}return null}(e)||t}function oe(e){if(_(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Z(e);return{width:t.width,height:t.height}}function ie(e,t){var n;void 0===t&&(t=[]);const r=function e(t){const n=te(t);return["html","body","#document"].includes(W(n))?t.ownerDocument.body:_(n)&&F(n)?n:e(n)}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=I(r),a=o?[i].concat(i.visualViewport||[],F(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(ie(a))}function ae(e,t,n){return"viewport"===t?E(function(e,t){const n=I(e),r=K(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(o){i=o.width,a=o.height;const e=Y();(e||!e&&"fixed"===t)&&(c=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:c,y:l}}(e,n)):H(t)?function(e,t){const n=Z(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):E(function(e){var t;const n=K(e),r=J(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Q(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Q(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let c=-r.scrollLeft+$(e);const l=-r.scrollTop;return"rtl"===N(o||n).direction&&(c+=Q(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:l}}(K(e)))}function ce(e){const t=ie(e),n=["absolute","fixed"].includes(N(e).position)&&_(e)?re(e):e;return H(n)?t.filter(e=>H(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&q(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==W(e)):[]}const le={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?ce(t):[].concat(n),r],a=i[0],c=i.reduce((e,n)=>{const r=ae(t,n,o);return e.top=Q(r.top,e.top),e.right=G(r.right,e.right),e.bottom=G(r.bottom,e.bottom),e.left=Q(r.left,e.left),e},ae(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=_(n),i=K(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==W(n)||F(i))&&(a=J(n)),_(n))){const e=Z(n,!0);c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+c.x,y:t.y-a.scrollTop+c.y}},isElement:H,getDimensions:oe,getOffsetParent:re,getDocumentElement:K,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:ee(t,re(n),r),floating:{...oe(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===N(e).direction};function ue(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:c=!1}=r,l=o&&!c,u=i&&!c,s=l||u?[...H(e)?ie(e):[],...ie(t)]:[];s.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let d,f=null;if(a){let r=!0;f=new ResizeObserver(()=>{r||n(),r=!1}),H(e)&&!c&&f.observe(e),f.observe(t)}let p=c?Z(e):null;return c&&function t(){const r=Z(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n();p=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;s.forEach(e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(d)}}const se=(e,t,n)=>(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,c=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:s}=x(l,r,c),d=r,f={},p=0;for(let n=0;n<i.length;n++){const{name:h,fn:m}=i[n],{x:g,y:b,data:v,reset:y}=await m({x:u,y:s,initialPlacement:r,placement:d,strategy:o,middlewareData:f,rects:l,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,s=null!=b?b:s,f={...f,[h]:{...f[h],...v}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(d=y.placement),y.rects&&(l=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:u,y:s}=x(l,d,c))),n=-1)}return{x:u,y:s,placement:d,strategy:o,middlewareData:f}})(e,t,{platform:le,...n});var de=n(34),fe="undefined"!=typeof document?d.useLayoutEffect:d.useEffect;function pe(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!=r--;)if(!pe(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!pe(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function he(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=void 0===e?{}:e;const[i,a]=d.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[c,l]=d.useState(t);pe(null==c?void 0:c.map(e=>{let{name:t,options:n}=e;return{name:t,options:n}}),null==t?void 0:t.map(e=>{let{name:t,options:n}=e;return{name:t,options:n}}))||l(t);const u=d.useRef(null),s=d.useRef(null),f=d.useRef(null),p=d.useRef(i),h=function(e){const t=d.useRef(e);return fe(()=>{t.current=e}),t}(o),m=d.useCallback(()=>{u.current&&s.current&&se(u.current,s.current,{middleware:c,placement:n,strategy:r}).then(e=>{g.current&&!pe(p.current,e)&&(p.current=e,de.flushSync(()=>{a(e)}))})},[c,n,r]);fe(()=>{g.current&&m()},[m]);const g=d.useRef(!1);fe(()=>(g.current=!0,()=>{g.current=!1}),[]);const b=d.useCallback(()=>{if("function"==typeof f.current&&(f.current(),f.current=null),u.current&&s.current)if(h.current){const e=h.current(u.current,s.current,m);f.current=e}else m()},[m,h]),v=d.useCallback(e=>{u.current=e,b()},[b]),y=d.useCallback(e=>{s.current=e,b()},[b]),x=d.useMemo(()=>({reference:u,floating:s}),[]);return d.useMemo(()=>({...i,update:m,refs:x,reference:v,floating:y}),[i,m,x,v,y])}var me,ge,be=n(6),ve=n(35),ye=["source","children","spacing","fullWidth","placement","onReachEnd","intersectionId","centered"],xe=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],we=m()(be.Box)(me||(me=s()(["\n box-shadow: ",";\n z-index: 4;\n border: 1px solid ",";\n background: ",";\n"])),(function(e){return e.theme.shadows.filterShadow}),(function(e){return e.theme.colors.neutral150}),(function(e){return e.theme.colors.neutral0})),Ee=m()(be.Box)(ge||(ge=s()(["\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(e){return e.theme.colors.neutral0}),(function(e){return e.theme.colors.neutral150}),(function(e){return e.theme.borderRadius})),Oe=function(e){var t,n,r,i,c,u,s,f=e.source,p=e.children,h=e.spacing,m=e.fullWidth,b=e.placement,y=e.onReachEnd,x=e.intersectionId,w=e.centered,E=l()(e,ye),T=d.useRef(null),R=d.useState(void 0),A=a()(R,2),S=A[0],j=A[1],z=he({strategy:"fixed",placement:w?"bottom":b,middleware:[L({mainAxis:h}),(void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=t,u={x:n,y:r},s=await O(e,l),d=v(g(o)),f=P(d);let p=u[d],h=u[f];if(i){const e="y"===d?"bottom":"right";p=C(p+s["y"===d?"top":"left"],p,p-s[e])}if(a){const e="y"===f?"bottom":"right";h=C(h+s["y"===f?"top":"left"],h,h-s[e])}const m=c.fn({...e,[d]:p,[f]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}),M()],whileElementsMounted:ue}),k=z.x,D=z.y,I=z.reference,N=z.floating,W=z.strategy;return d.useLayoutEffect((function(){I(f.current)}),[f]),d.useLayoutEffect((function(){m&&j(f.current.offsetWidth)}),[m]),n=T,r=y,i={selectorToWatch:"#".concat(x),skipWhen:!x||!y},c=i.selectorToWatch,u=i.skipWhen,s=void 0!==u&&u,Object(d.useEffect)((function(){if(!s){var e={root:n.current,rootMargin:"0px"},t=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&n.current.scrollHeight>n.current.clientHeight&&r(e)}))}),e),o=n.current.querySelector(c);return t.observe(o),function(){t.disconnect()}}}),[s,r,c]),d.createElement(we,{ref:N,style:{left:k,top:D,position:W,width:S||void 0},hasRadius:!0,background:"neutral0",padding:1},d.createElement(Ee,o()({ref:T},E),p,x&&y&&d.createElement(be.Box,{id:x,width:"100%",height:"1px"})))},Te=function(e){return d.createElement(ve.Portal,null,d.createElement(Oe,e))},Re={fullWidth:!1,intersectionId:void 0,onReachEnd:void 0,centered:!1,placement:"bottom-start"},Ce={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(xe),source:p.a.shape({current:("undefined"==typeof Element?p.a.any:p.a.instanceOf(Element)).isRequired}).isRequired,spacing:p.a.number};Oe.propTypes=Ce,Oe.defaultProps=Re,Te.propTypes=Ce,Te.defaultProps=Re},,,,,function(e,t,n){var r=n(23);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.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.")},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var r,o,i,a=n(3),c=n.n(a),l=n(2),u=n.n(l),s=n(6),d=n(10),f=n(21),p=u()(d.Flex)(r||(r=c()(["\n position: relative;\n border: 1px solid ",";\n padding-right: ",";\n border-radius: ",";\n background: ",";\n overflow: hidden;\n min-height: ",";\n\n ","\n\n ","\n"])),(function(e){var t=e.theme;return e.hasError?t.colors.danger600:t.colors.neutral200}),(function(e){return e.theme.spaces[3]}),(function(e){return e.theme.borderRadius}),(function(e){return e.theme.colors.neutral0}),Object(f.b)("input"),(function(e){var t=e.theme;return e.disabled?"\n color: ".concat(t.colors.neutral600,";\n background: ").concat(t.colors.neutral150,";\n "):void 0}),Object(f.c)()),h=u()(s.Box)(o||(o=c()(["\n background: transparent;\n border: none;\n position: relative;\n z-index: 1;\n\n svg {\n height: ","rem;\n width: ","rem;\n }\n\n svg path {\n fill: ",";\n }\n"])),11/16,11/16,(function(e){return e.theme.colors.neutral600})),m=u()(h)(i||(i=c()(["\n display: flex;\n background: none;\n border: none;\n cursor: ",";\n\n svg {\n width: ","rem;\n }\n"])),(function(e){return e.disabled?"not-allowed":void 0}),6/16)},,,,,,,,function(e,t,n){"use strict";t.a="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEwIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGQ9Ik04LjU1MzIzIDAuMzk2OTczQzguNjMxMzUgMC4zMTYzNTUgOC43NjA1MSAwLjMxNTgxMSA4LjgzOTMxIDAuMzk1NzY4TDkuODYyNTYgMS40MzQwN0M5LjkzODkzIDEuNTExNTcgOS45MzkzNSAxLjYzNTkgOS44NjM0OSAxLjcxMzlMNC4wNjQwMSA3LjY3NzI0QzMuOTg1OSA3Ljc1NzU1IDMuODU3MDcgNy43NTgwNSAzLjc3ODM0IDcuNjc4MzRMMC4xMzg2NiAzLjk5MzMzQzAuMDYxNzc5OCAzLjkxNTQ5IDAuMDYxNzEwMiAzLjc5MDMyIDAuMTM4NTA0IDMuNzEyNEwxLjE2MjEzIDIuNjczNzJDMS4yNDAzOCAyLjU5NDMyIDEuMzY4NDMgMi41OTQyMiAxLjQ0NjggMi42NzM0OEwzLjkyMTc0IDUuMTc2NDdMOC41NTMyMyAwLjM5Njk3M1oiCiAgICBmaWxsPSJ3aGl0ZSIKICAvPgo8L3N2Zz4="},,,,,,,,,,,function(e,t,n){"use strict";function r(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function o(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function i(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return o(n.overflowY,t)||o(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function a(e,t,n,r,o,i,a,c){return i<e&&a>t||i>e&&a<t?0:i<=e&&c<=n||a>=t&&c>=n?i-e-r:a>t&&c<n||i<e&&c>n?a-t+o:0}t.a=function(e,t){var n=window,o=t.scrollMode,c=t.block,l=t.inline,u=t.boundary,s=t.skipOverflowHiddenElements,d="function"==typeof u?u:function(e){return e!==u};if(!r(e))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,p=[],h=e;r(h)&&d(h);){if((h=h.parentElement)===f){p.push(h);break}null!=h&&h===document.body&&i(h)&&!i(document.documentElement)||null!=h&&i(h,s)&&p.push(h)}for(var m=n.visualViewport?n.visualViewport.width:innerWidth,g=n.visualViewport?n.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),x=y.height,w=y.width,E=y.top,O=y.right,T=y.bottom,R=y.left,C="start"===c||"nearest"===c?E:"end"===c?T:E+x/2,A="center"===l?R+w/2:"end"===l?O:R,S=[],j=0;j<p.length;j++){var z=p[j],k=z.getBoundingClientRect(),M=k.height,L=k.width,P=k.top,D=k.right,I=k.bottom,N=k.left;if("if-needed"===o&&E>=0&&R>=0&&T<=g&&O<=m&&E>=P&&T<=I&&R>=N&&O<=D)return S;var W=getComputedStyle(z),B=parseInt(W.borderLeftWidth,10),_=parseInt(W.borderTopWidth,10),H=parseInt(W.borderRightWidth,10),q=parseInt(W.borderBottomWidth,10),F=0,V=0,U="offsetWidth"in z?z.offsetWidth-z.clientWidth-B-H:0,Y="offsetHeight"in z?z.offsetHeight-z.clientHeight-_-q:0;if(f===z)F="start"===c?C:"end"===c?C-g:"nearest"===c?a(v,v+g,g,_,q,v+C,v+C+x,x):C-g/2,V="start"===l?A:"center"===l?A-m/2:"end"===l?A-m:a(b,b+m,m,B,H,b+A,b+A+w,w),F=Math.max(0,F+v),V=Math.max(0,V+b);else{F="start"===c?C-P-_:"end"===c?C-I+q+Y:"nearest"===c?a(P,I,M,_,q+Y,C,C+x,x):C-(P+M/2)+Y/2,V="start"===l?A-N-B:"center"===l?A-(N+L/2)+U/2:"end"===l?A-D+H+U:a(N,D,L,B,H+U,A,A+w,w);var G=z.scrollLeft,Q=z.scrollTop;C+=Q-(F=Math.max(0,Math.min(Q+F,z.scrollHeight-M+Y))),A+=G-(V=Math.max(0,Math.min(G+V,z.scrollWidth-L+U)))}S.push({el:z,top:F,left:V})}return S}},function(e,t,n){"use strict";n.r(t),n.d(t,"Tag",(function(){return T}));var r,o,i=n(5),a=n.n(i),c=n(4),l=n.n(c),u=n(3),s=n.n(u),d=n(1),f=n.n(d),p=n(0),h=n.n(p),m=n(2),g=n.n(m),b=n(8),v=n(6),y=n(10),x=["theme"],w=["children","icon","disabled","onClick"],E=g()(v.Box)(r||(r=s()(["\n svg {\n height: ","rem;\n width: ","rem;\n }\n\n svg path {\n fill: ",";\n }\n"])),.5,.5,(function(e){var t=e.theme;return l()(e,x)["aria-disabled"]?t.colors.neutral600:t.colors.primary600})),O=g()(b.Typography)(o||(o=s()(["\n border-right: 1px solid ",";\n color: inherit;\n padding-right: ",";\n"])),(function(e){var t=e.theme;return e.disabled?t.colors.neutral300:t.colors.primary200}),(function(e){return e.theme.spaces[2]})),T=function(e){var t=e.children,n=e.icon,r=e.disabled,o=e.onClick,i=l()(e,w);return f.a.createElement(E,a()({as:"button",background:r?"neutral200":"primary100",color:r?"neutral700":"primary600",paddingLeft:3,paddingRight:3,onClick:function(e){r||o(e)},"aria-disabled":r,borderWidth:"1px",borderStyle:"solid",borderColor:r?"neutral300":"primary200",hasRadius:!0,height:"".concat(2,"rem")},i),f.a.createElement(y.Flex,null,f.a.createElement(O,{disabled:r,variant:"pi",fontWeight:"bold",as:"span"},t),f.a.createElement(v.Box,{paddingLeft:2},f.a.createElement(y.Flex,null,n))))};T.displayName="Tag",T.defaultProps={disabled:!1,onClick:void 0},T.propTypes={children:h.a.node.isRequired,disabled:h.a.bool,icon:h.a.element.isRequired,onClick:h.a.func}},function(e,t,n){"use strict";n.r(t),n.d(t,"Select",(function(){return ne})),n.d(t,"Option",(function(){return ue})),n.d(t,"OptGroup",(function(){return de})),n.d(t,"MultiSelectNested",(function(){return pe})),n.d(t,"SelectList",(function(){return F}));var r,o=n(5),i=n.n(o),a=n(32),c=n.n(a),l=n(11),u=n.n(l),s=n(4),d=n.n(s),f=n(3),p=n.n(f),h=n(1),m=n.n(h),g=n(0),b=n.n(g),v=n(36),y=n.n(v),x=n(39),w=n.n(x),E=n(31),O=n(2),T=n.n(O),R=n(12),C="down:keyboard",A="down:mouse",S="up:keyboard",j="up:mouse",z=["labelledBy","expanded","onTrigger","disabled"],k=T.a.button(r||(r=p()(["\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n width: 100%;\n background: transparent;\n border: none;\n\n // The focus state is moved to the parent thanks to :focus-within\n &:focus {\n outline: none;\n }\n\n &[aria-disabled='true'] {\n cursor: not-allowed;\n }\n"]))),M=Object(h.forwardRef)((function(e,t){var n=e.labelledBy,r=e.expanded,o=e.onTrigger,a=e.disabled,c=d()(e,z);return m.a.createElement(k,i()({ref:t,"aria-labelledby":n,"aria-haspopup":"listbox","aria-expanded":r,onKeyDown:function(e){if(!a)switch(e.key){case R.a.DOWN:case R.a.SPACE:case R.a.ENTER:e.preventDefault(),o(C);break;case R.a.UP:e.preventDefault(),o(S)}},"aria-disabled":a,type:"button"},c))}));M.displayName="SelectButton",M.defaultProps={expanded:!1,disabled:!1},M.propTypes={disabled:b.a.bool,expanded:b.a.bool,labelledBy:b.a.string.isRequired,onTrigger:b.a.func.isRequired};var L=n(17),P=n(41),D=n(22),I=n(8),N=n(10),W=n(6),B=n(15),_=n(69),H=function(e,t){e.setAttribute("aria-activedescendant",t.getAttribute("id")),e.querySelectorAll('[role="option"]').forEach((function(e){return e.classList.remove("is-focused")})),t.classList.add("is-focused"),Object(_.a)(t,{scrollMode:"if-needed",block:"nearest",inline:"nearest"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))},q=function(e){var t=e.getAttribute("aria-activedescendant");return e.querySelector("#".concat(t))},F=function(e){var t=e.labelledBy,n=e.onSelectItem,r=e.children,o=e.multi,i=e.onEscape,a=function(e){var t=Object(h.useRef)(null);return Object(h.useEffect)((function(){t.current.focus()}),[]),Object(h.useEffect)((function(){if(t.current){var n,r=t.current.querySelector('[aria-selected="true"]'),o=t.current.querySelectorAll('[role="option"]');r?n=r:e===S?n=o[o.length-1]:e===C&&(n=o[0]),n&&(e!==S&&e!==C||H(t.current,n))}}),[]),t}(e.expanded);return m.a.createElement(D.Stack,{as:"ul",spacing:1,role:"listbox","aria-labelledby":t,tabIndex:-1,ref:a,onKeyDown:function(e){switch(e.key){case R.a.ESCAPE:e.stopPropagation(),i();break;case R.a.DOWN:e.preventDefault();var t=q(a.current);if(!t)return;var r=t.nextSibling;if(r)H(a.current,r);else{var c=a.current.querySelectorAll('[role="option"]')[0];H(a.current,c)}break;case R.a.UP:e.preventDefault();var l=q(a.current);if(!l)return;var u=l.previousSibling;if(u)H(a.current,u);else{var s=a.current.querySelectorAll('[role="option"]'),d=s[s.length-1];H(a.current,d)}break;case R.a.SPACE:case R.a.ENTER:e.preventDefault();var f=q(a.current);f.getAttribute("data-opt-group")?n(f.getAttribute("data-opt-group-children").split(","),f.getAttribute("data-opt-group")):n(f.getAttribute("data-strapi-value")),o||i()}},onBlur:i,"aria-multiselectable":o},r)};F.defaultProps={labelledBy:void 0,multi:!1},F.propTypes={children:b.a.node.isRequired,expanded:b.a.oneOf([S,j,C,A]).isRequired,labelledBy:b.a.string,multi:b.a.bool,onEscape:b.a.func.isRequired,onSelectItem:b.a.func.isRequired};var V,U,Y=n(50),G=n(20),Q=function(e){return e.replace(":","-")},X=n(70),Z=T.a.div(V||(V=p()(["\n margin-bottom: ",";\n"])),(function(e){return e.theme.spaces[1]})),K=T()(X.Tag)(U||(U=p()(["\n position: relative;\n z-index: 1;\n margin-left: ",";\n margin-top: ",";\n"])),(function(e){return e.theme.spaces[1]}),(function(e){return e.theme.spaces[1]})),J=function(e){var t=e.tags,n=e.onRemoveTag,r=e.disabled;return m.a.createElement(Z,null,m.a.createElement(N.Flex,{wrap:"wrap"},t.map((function(e){return m.a.createElement(K,{icon:m.a.createElement(w.a,null),disabled:r,onClick:function(){return n(e.value)},tabIndex:-1,key:"tag-".concat(e.value)},e.label)}))))};J.defaultProps={disabled:!1,tags:[]},J.propTypes={disabled:b.a.bool,onRemoveTag:b.a.func.isRequired,tags:b.a.arrayOf(b.a.shape({label:b.a.string,value:b.a.oneOfType([b.a.string,b.a.number])}))};var $,ee=["label","labelAction","id","children","customizeContent","placeholder","onChange","value","hint","error","disabled","clearLabel","onClear","onReachEnd","multi","required","selectButtonTitle","size","startIcon","withTags"],te=T()(N.Flex)($||($=p()(["\n width: 100%;\n"]))),ne=function(e){var t=e.label,n=e.labelAction,r=e.id,o=e.children,a=e.customizeContent,l=e.placeholder,s=e.onChange,f=e.value,p=e.hint,g=e.error,b=e.disabled,v=e.clearLabel,x=e.onClear,E=e.onReachEnd,O=e.multi,T=e.required,R=e.selectButtonTitle,j=e.size,z=e.startIcon,k=e.withTags,_=d()(e,ee),H=Object(B.a)("select",r),q=Object(h.useState)(void 0),V=u()(q,2),U=V[0],X=V[1],Z=function(e){var t=Object(h.useRef)(null),n=Object(h.useRef)(null),r=Object(h.useRef)();return e&&(r.current=e),Object(h.useEffect)((function(){n.current&&(e||r.current!==C&&r.current!==S||t.current.focus())}),[e]),Object(h.useEffect)((function(){n.current=!0}),[]),t}(U),K=Object(h.useRef)(null),$="".concat(H,"-label"),ne="".concat(H,"-content"),re="string"==typeof g,oe=re?"".concat(H,"-error"):void 0,ie=p?"".concat(H,"-hint"):void 0,ae=oe||ie;if(k&&!O)throw new Error('The "withTags" props can only be used when the "multi" prop is present');var ce,le=function(e){e.preventDefault(),b||3!==e.nativeEvent.which&&2!==e.nativeEvent.button&&X(A)},ue=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];O?s(f.includes(e)?f.filter((function(t){return t!==e})):[].concat(c()(f),[e])):(s(e),t&&X(void 0))},se=function(e){s(f.includes(e[0])?f.filter((function(e){return this.indexOf(e)<0}),e):[].concat(c()(f),c()(e)))},de=[],fe=function(e,t){var n="".concat(H,"-option-").concat(e.props.value),r=O?f.includes(e.props.value):e.props.value===f;return r&&(k?de.push({label:e.props.children,value:e.props.value}):ce=e.props.children),Object(h.cloneElement)(e,{id:Q(n),onClick:function(){return ue(e.props.value)},selected:r,multi:O,isChild:t})},pe=h.Children.toArray(o).map((function(e){if("OptGroup"===e.type.displayName){var t="".concat(H,"-option-").concat(e.props.label),n=e.props.children.every((function(e){return f.includes(e.props.value)})),r=!n&&e.props.children.some((function(e){return f.includes(e.props.value)}));return Object(h.cloneElement)(e,{id:Q(t),onClick:function(){return se(e.props.children.map((function(e){return e.props.value})))},selected:n,indeterminate:r,multi:O,children:h.Children.toArray(e.props.children).map((function(e){return fe(e,!0)})),value:e.props.label})}return fe(e)}));return m.a.createElement(L.Field,{hint:p,error:g,id:H},m.a.createElement(D.Stack,{spacing:t||p||re?1:0},t&&m.a.createElement(L.FieldLabel,{required:T,as:"span",id:$,action:n},t),m.a.createElement(Y.c,{size:j,hasError:Boolean(g),disabled:b,ref:K},m.a.createElement(M,i()({ref:Z,labelledBy:"".concat($," ").concat(ne),"aria-describedby":ae,expanded:Boolean(U),onTrigger:X,id:H,hasError:Boolean(g),disabled:b,onMouseDown:le},_)),m.a.createElement(te,{justifyContent:"space-between"},m.a.createElement(N.Flex,null,z&&m.a.createElement(W.Box,{paddingLeft:3,"aria-hidden":!0},z),k&&m.a.createElement(J,{tags:de,onRemoveTag:ue,disabled:b}),m.a.createElement(W.Box,{paddingLeft:4,paddingRight:4},k?m.a.createElement(m.a.Fragment,null,f&&0!==f.length?null:m.a.createElement(I.Typography,{ellipsis:!0,id:ne,textColor:"neutral600"},l),m.a.createElement(G.VisuallyHidden,{as:"span",id:ne},a?a(f):ce||l,f.join(", "))):m.a.createElement(I.Typography,{ellipsis:!0,id:ne,textColor:f?"neutral800":"neutral600"},a?a(f):ce||l,O&&m.a.createElement(G.VisuallyHidden,{as:"span"},f.join(", "))))),m.a.createElement(N.Flex,null,(O&&f&&f.length||!O&&f)&&x&&m.a.createElement(Y.b,{as:"button",type:"button",onClick:function(){b||(x(),Z.current.focus())},"aria-label":v,"aria-disabled":b,title:v},m.a.createElement(w.a,null)),m.a.createElement(Y.a,{paddingLeft:3,"aria-hidden":!0,as:"button",type:"button",onMouseDown:le,tabIndex:-1,disabled:b,title:R},m.a.createElement(y.a,null))))),m.a.createElement(L.FieldHint,null),m.a.createElement(L.FieldError,null)),U&&m.a.createElement(P.Popover,{source:K,spacing:4,fullWidth:!0,intersectionId:"select-list-intersection-".concat(H),onReachEnd:E},m.a.createElement(F,{selectId:H,labelledBy:t?$:void 0,onEscape:function(){X(void 0)},expanded:U,onSelectItem:function(e,t){return t?se(e):ue(e,!1)},multi:O},pe)))};ne.defaultProps={"aria-label":void 0,children:[],clearLabel:"Clear",customizeContent:void 0,disabled:!1,id:void 0,label:void 0,labelAction:void 0,multi:!1,onChange:function(){},onClear:void 0,onReachEnd:void 0,value:void 0,hint:void 0,error:void 0,placeholder:"Select...",required:!1,selectButtonTitle:"Carret Down Button",size:"M",startIcon:void 0,withTags:!1},ne.propTypes={"aria-label":b.a.string,children:b.a.oneOfType([b.a.arrayOf(b.a.node),b.a.node]),clearLabel:b.a.string,customizeContent:b.a.func,disabled:b.a.bool,error:b.a.oneOfType([b.a.string,b.a.bool]),hint:b.a.oneOfType([b.a.string,b.a.node,b.a.arrayOf(b.a.node)]),id:b.a.oneOfType([b.a.string,b.a.number]),label:b.a.string,labelAction:b.a.element,multi:b.a.bool,onChange:b.a.func,onClear:b.a.func,onReachEnd:b.a.func,placeholder:b.a.string,required:b.a.bool,selectButtonTitle:b.a.string,size:b.a.oneOf(Object.keys(E.a.input)),startIcon:b.a.element,value:b.a.oneOfType([b.a.arrayOf(b.a.oneOfType([b.a.string,b.a.number])),b.a.string,b.a.number]),withTags:b.a.bool};var re,oe,ie=n(58),ae=["selected","indeterminate","children","value","multi","isChild","startIcon"],ce=T.a.div(re||(re=p()(["\n border: 1px solid\n ",";\n border-radius: ",";\n height: 18px;\n width: 18px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n background-color: ",";\n\n ","\n\n ","\n"])),(function(e){var t=e.theme,n=e.selected,r=e.indeterminate;return n||r?t.colors.primary600:t.colors.neutral300}),(function(e){return e.theme.borderRadius}),(function(e){var t=e.theme,n=e.selected,r=e.indeterminate;return n||r?t.colors.primary600:t.colors.neutral0}),(function(e){var t=e.theme;return e.indeterminate&&"&::after {\n content: '';\n display: block;\n position: relative;\n color: white;\n height: 2px;\n width: 10px;\n background-color: ".concat(t.colors.neutral0,";\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n }\n\n ")}),(function(e){return e.selected&&" \n &::after {\n content: '';\n background: url(".concat(ie.a,") no-repeat no-repeat center center;\n width: 100%;\n height: 100%;\n position: absolute;\n }\n\n ")})),le=T()(W.Box)(oe||(oe=p()(["\n width: 100%;\n border: none;\n text-align: left;\n outline-offset: -3px;\n &.is-focused {\n background: ",";\n }\n\n &:hover {\n background: ",";\n }\n"])),(function(e){return e.theme.colors.primary100}),(function(e){return e.theme.colors.primary100})),ue=function(e){var t=e.selected,n=e.indeterminate,r=e.children,o=e.value,a=e.multi,c=e.isChild,l=e.startIcon,u=d()(e,ae),s=Object(h.useRef)(null);return m.a.createElement(le,i()({as:"li",hasRadius:!0,paddingLeft:c?7:4,paddingRight:4,paddingTop:2,paddingBottom:2,ref:s,role:"option","aria-selected":t,background:"neutral0","data-strapi-value":o},u),m.a.createElement(N.Flex,null,l&&m.a.createElement(W.Box,{paddingRight:2,"aria-hidden":!0},l),a&&m.a.createElement(W.Box,{paddingRight:2,"aria-hidden":!0},m.a.createElement(ce,{selected:t,indeterminate:n})),m.a.createElement(I.Typography,{textColor:t?"primary600":"neutral800",fontWeight:t?"bold":null},r)))};ue.defaultProps={isChild:!1,multi:!1,selected:!1,startIcon:void 0,indeterminate:!1},ue.propTypes={children:b.a.oneOfType([b.a.string,b.a.number]).isRequired,indeterminate:b.a.bool,isChild:b.a.bool,multi:b.a.bool,selected:b.a.bool,startIcon:b.a.node,value:b.a.oneOfType([b.a.string,b.a.number]).isRequired},ue.displayName="Option";var se=["children","label"],de=function(e){var t=e.children,n=e.label,r=d()(e,se),o=t.map((function(e){return e.props.value}));return m.a.createElement(m.a.Fragment,null,m.a.createElement(ue,i()({"data-opt-group":!0,"data-opt-group-children":o,"aria-label":"".concat(n,", ").concat(t.length," items")},r),n),t)};de.propTypes={children:b.a.arrayOf(b.a.node).isRequired,label:b.a.string.isRequired},de.displayName="OptGroup";var fe=["options"],pe=function(e){var t=e.options,n=d()(e,fe);return m.a.createElement(ne,i()({multi:!0},n),t.map((function(e){var t=e.label,n=e.value,r=e.children;return r?m.a.createElement(de,{key:t,label:t},null==r?void 0:r.map((function(e){return m.a.createElement(ue,{key:e.value,value:e.value},e.label)}))):m.a.createElement(ue,{key:n,value:n},t)})))};pe.propTypes={options:b.a.arrayOf(b.a.object).isRequired}}])}));