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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1373) hide show
  1. package/Accordion.development.js +775 -0
  2. package/Accordion.js +9 -0
  3. package/Accordion.production.js +1 -0
  4. package/Alert.development.js +562 -0
  5. package/Alert.js +9 -0
  6. package/Alert.production.js +1 -0
  7. package/Avatar.development.js +485 -0
  8. package/Avatar.js +9 -0
  9. package/Avatar.production.js +1 -0
  10. package/Badge.development.js +494 -0
  11. package/Badge.js +9 -0
  12. package/Badge.production.js +1 -0
  13. package/BaseButton.development.js +285 -0
  14. package/BaseButton.js +9 -0
  15. package/BaseButton.production.js +1 -0
  16. package/BaseCheckbox.development.js +434 -0
  17. package/BaseCheckbox.js +9 -0
  18. package/BaseCheckbox.production.js +1 -0
  19. package/BaseLink.development.js +273 -0
  20. package/BaseLink.js +9 -0
  21. package/BaseLink.production.js +1 -0
  22. package/BaseRadio.development.js +321 -0
  23. package/BaseRadio.js +9 -0
  24. package/BaseRadio.production.js +1 -0
  25. package/Box.development.js +341 -0
  26. package/Box.js +9 -0
  27. package/Box.production.js +1 -0
  28. package/Breadcrumbs.development.js +518 -0
  29. package/Breadcrumbs.js +9 -0
  30. package/Breadcrumbs.production.js +1 -0
  31. package/Button.development.js +573 -0
  32. package/Button.js +9 -0
  33. package/Button.production.js +1 -0
  34. package/Card.development.js +746 -0
  35. package/Card.js +9 -0
  36. package/Card.production.js +1 -0
  37. package/CarouselInput.development.js +898 -0
  38. package/CarouselInput.js +9 -0
  39. package/CarouselInput.production.js +1 -0
  40. package/Checkbox.development.js +722 -0
  41. package/Checkbox.js +9 -0
  42. package/Checkbox.production.js +1 -0
  43. package/Combobox.development.js +934 -0
  44. package/Combobox.js +9 -0
  45. package/Combobox.production.js +1 -0
  46. package/DatePicker.development.js +1323 -0
  47. package/DatePicker.js +9 -0
  48. package/DatePicker.production.js +1 -0
  49. package/DateTimePicker.development.js +1622 -0
  50. package/DateTimePicker.js +9 -0
  51. package/DateTimePicker.production.js +1 -0
  52. package/Dialog.development.js +741 -0
  53. package/Dialog.js +9 -0
  54. package/Dialog.production.js +1 -0
  55. package/DismissibleLayer.development.js +218 -0
  56. package/DismissibleLayer.js +9 -0
  57. package/DismissibleLayer.production.js +1 -0
  58. package/Divider.development.js +398 -0
  59. package/Divider.js +9 -0
  60. package/Divider.production.js +1 -0
  61. package/EmptyStateLayout.development.js +425 -0
  62. package/EmptyStateLayout.js +9 -0
  63. package/EmptyStateLayout.production.js +1 -0
  64. package/Field.development.js +614 -0
  65. package/Field.js +9 -0
  66. package/Field.production.js +1 -0
  67. package/Flex.development.js +377 -0
  68. package/Flex.js +9 -0
  69. package/Flex.production.js +1 -0
  70. package/FocusTrap.development.js +341 -0
  71. package/FocusTrap.js +9 -0
  72. package/FocusTrap.production.js +1 -0
  73. package/Grid.development.js +422 -0
  74. package/Grid.js +9 -0
  75. package/Grid.production.js +1 -0
  76. package/Icon.development.js +376 -0
  77. package/Icon.js +9 -0
  78. package/Icon.production.js +1 -0
  79. package/IconButton.development.js +684 -0
  80. package/IconButton.js +9 -0
  81. package/IconButton.production.js +1 -0
  82. package/KeyboardNavigable.development.js +454 -0
  83. package/KeyboardNavigable.js +9 -0
  84. package/KeyboardNavigable.production.js +1 -0
  85. package/Layout.development.js +626 -0
  86. package/Layout.js +9 -0
  87. package/Layout.production.js +1 -0
  88. package/Link.development.js +492 -0
  89. package/Link.js +9 -0
  90. package/Link.production.js +1 -0
  91. package/LinkButton.development.js +573 -0
  92. package/LinkButton.js +9 -0
  93. package/LinkButton.production.js +1 -0
  94. package/LiveRegions.development.js +147 -0
  95. package/LiveRegions.js +9 -0
  96. package/LiveRegions.production.js +1 -0
  97. package/Loader.development.js +309 -0
  98. package/Loader.js +9 -0
  99. package/Loader.production.js +1 -0
  100. package/Main.development.js +410 -0
  101. package/Main.js +9 -0
  102. package/Main.production.js +1 -0
  103. package/MainNav.development.js +957 -0
  104. package/MainNav.js +9 -0
  105. package/MainNav.production.js +1 -0
  106. package/ModalLayout.development.js +895 -0
  107. package/ModalLayout.js +9 -0
  108. package/ModalLayout.production.js +1 -0
  109. package/NumberInput.development.js +733 -0
  110. package/NumberInput.js +9 -0
  111. package/NumberInput.production.js +1 -0
  112. package/Pagination.development.js +587 -0
  113. package/Pagination.js +9 -0
  114. package/Pagination.production.js +1 -0
  115. package/Popover.development.js +481 -0
  116. package/Popover.js +9 -0
  117. package/Popover.production.js +1 -0
  118. package/Portal.development.js +212 -0
  119. package/Portal.js +9 -0
  120. package/Portal.production.js +1 -0
  121. package/ProgressBar.development.js +273 -0
  122. package/ProgressBar.js +9 -0
  123. package/ProgressBar.production.js +1 -0
  124. package/Radio.development.js +518 -0
  125. package/Radio.js +9 -0
  126. package/Radio.production.js +1 -0
  127. package/RawTable.development.js +549 -0
  128. package/RawTable.js +9 -0
  129. package/RawTable.production.js +1 -0
  130. package/Searchbar.development.js +696 -0
  131. package/Searchbar.js +9 -0
  132. package/Searchbar.production.js +1 -0
  133. package/Select.development.js +1063 -0
  134. package/Select.js +9 -0
  135. package/Select.production.js +1 -0
  136. package/SimpleMenu.development.js +821 -0
  137. package/SimpleMenu.js +9 -0
  138. package/SimpleMenu.production.js +1 -0
  139. package/Stack.development.js +434 -0
  140. package/Stack.js +9 -0
  141. package/Stack.production.js +1 -0
  142. package/Status.development.js +494 -0
  143. package/Status.js +9 -0
  144. package/Status.production.js +1 -0
  145. package/SubNav.development.js +1123 -0
  146. package/SubNav.js +9 -0
  147. package/SubNav.production.js +1 -0
  148. package/Switch.development.js +434 -0
  149. package/Switch.js +9 -0
  150. package/Switch.production.js +1 -0
  151. package/Table.development.js +741 -0
  152. package/Table.js +9 -0
  153. package/Table.production.js +1 -0
  154. package/Tabs.development.js +590 -0
  155. package/Tabs.js +9 -0
  156. package/Tabs.production.js +1 -0
  157. package/Tag.development.js +494 -0
  158. package/Tag.js +9 -0
  159. package/Tag.production.js +1 -0
  160. package/TextButton.development.js +517 -0
  161. package/TextButton.js +9 -0
  162. package/TextButton.production.js +1 -0
  163. package/TextInput.development.js +662 -0
  164. package/TextInput.js +9 -0
  165. package/TextInput.production.js +1 -0
  166. package/Textarea.development.js +674 -0
  167. package/Textarea.js +9 -0
  168. package/Textarea.production.js +1 -0
  169. package/ThemeProvider.development.js +300 -0
  170. package/ThemeProvider.js +9 -0
  171. package/ThemeProvider.production.js +1 -0
  172. package/TimePicker.development.js +1098 -0
  173. package/TimePicker.js +9 -0
  174. package/TimePicker.production.js +1 -0
  175. package/ToggleCheckbox.development.js +542 -0
  176. package/ToggleCheckbox.js +9 -0
  177. package/ToggleCheckbox.production.js +1 -0
  178. package/ToggleInput.development.js +745 -0
  179. package/ToggleInput.js +9 -0
  180. package/ToggleInput.production.js +1 -0
  181. package/Tooltip.development.js +588 -0
  182. package/Tooltip.js +9 -0
  183. package/Tooltip.production.js +1 -0
  184. package/Typography.development.js +276 -0
  185. package/Typography.js +9 -0
  186. package/Typography.production.js +1 -0
  187. package/VisuallyHidden.development.js +146 -0
  188. package/VisuallyHidden.js +9 -0
  189. package/VisuallyHidden.production.js +1 -0
  190. package/index.development.js +4338 -0
  191. package/index.js +9 -0
  192. package/index.production.js +1 -0
  193. package/package.json +22 -28
  194. package/themes.development.js +254 -0
  195. package/themes.js +9 -0
  196. package/themes.production.js +1 -0
  197. package/v2/Breadcrumbs.development.js +906 -0
  198. package/v2/Breadcrumbs.js +9 -0
  199. package/v2/Breadcrumbs.production.js +1 -0
  200. package/v2/Link.development.js +505 -0
  201. package/v2/Link.js +9 -0
  202. package/v2/Link.production.js +1 -0
  203. package/v2/LinkButton.development.js +586 -0
  204. package/v2/LinkButton.js +9 -0
  205. package/v2/LinkButton.production.js +1 -0
  206. package/v2/MainNav.development.js +970 -0
  207. package/v2/MainNav.js +9 -0
  208. package/v2/MainNav.production.js +1 -0
  209. package/v2/Pagination.development.js +600 -0
  210. package/v2/Pagination.js +9 -0
  211. package/v2/Pagination.production.js +1 -0
  212. package/v2/SimpleMenu.development.js +834 -0
  213. package/v2/SimpleMenu.js +9 -0
  214. package/v2/SimpleMenu.production.js +1 -0
  215. package/v2/SubNav.development.js +1136 -0
  216. package/v2/SubNav.js +9 -0
  217. package/v2/SubNav.production.js +1 -0
  218. package/v2/index.development.js +1740 -0
  219. package/v2/index.js +9 -0
  220. package/v2/index.production.js +1 -0
  221. package/v2/package.json +81 -0
  222. package/.eslintignore +0 -3
  223. package/.eslintrc +0 -34
  224. package/.prettierrc +0 -7
  225. package/.storybook/components/Theme.js +0 -28
  226. package/.storybook/main.cjs +0 -13
  227. package/.storybook/manager.js +0 -12
  228. package/.storybook/preview.js +0 -42
  229. package/.storybook/utils/createCustomTheme.js +0 -26
  230. package/LICENSE +0 -20
  231. package/__mocks__/fileMock.js +0 -1
  232. package/__mocks__/styleMock.js +0 -1
  233. package/dist/Accordion/Accordion.cjs +0 -23
  234. package/dist/Accordion/Accordion.js +0 -87
  235. package/dist/Accordion/AccordionContent.cjs +0 -1
  236. package/dist/Accordion/AccordionContent.js +0 -23
  237. package/dist/Accordion/AccordionContext.cjs +0 -1
  238. package/dist/Accordion/AccordionContext.js +0 -6
  239. package/dist/Accordion/AccordionGroup.cjs +0 -47
  240. package/dist/Accordion/AccordionGroup.js +0 -91
  241. package/dist/Accordion/AccordionToggle.cjs +0 -28
  242. package/dist/Accordion/AccordionToggle.js +0 -127
  243. package/dist/Accordion/index.cjs +0 -1
  244. package/dist/Accordion/index.js +0 -11
  245. package/dist/Accordion/utils.cjs +0 -1
  246. package/dist/Accordion/utils.js +0 -7
  247. package/dist/Alert/Alert.cjs +0 -35
  248. package/dist/Alert/Alert.js +0 -111
  249. package/dist/Alert/index.cjs +0 -1
  250. package/dist/Alert/index.js +0 -4
  251. package/dist/Alert/utils.cjs +0 -1
  252. package/dist/Alert/utils.js +0 -6
  253. package/dist/Avatar/Avatar.cjs +0 -29
  254. package/dist/Avatar/Avatar.js +0 -79
  255. package/dist/Avatar/AvatarGroup.cjs +0 -5
  256. package/dist/Avatar/AvatarGroup.js +0 -11
  257. package/dist/Avatar/constants.cjs +0 -1
  258. package/dist/Avatar/constants.js +0 -5
  259. package/dist/Avatar/index.cjs +0 -1
  260. package/dist/Avatar/index.js +0 -7
  261. package/dist/Badge/Badge.cjs +0 -1
  262. package/dist/Badge/Badge.js +0 -33
  263. package/dist/Badge/index.cjs +0 -1
  264. package/dist/Badge/index.js +0 -4
  265. package/dist/BaseButton/BaseButton.cjs +0 -23
  266. package/dist/BaseButton/BaseButton.js +0 -45
  267. package/dist/BaseButton/index.cjs +0 -1
  268. package/dist/BaseButton/index.js +0 -5
  269. package/dist/BaseCheckbox/BaseCheckbox.cjs +0 -62
  270. package/dist/BaseCheckbox/BaseCheckbox.js +0 -104
  271. package/dist/BaseCheckbox/assets/checkmark-black.cjs +0 -1
  272. package/dist/BaseCheckbox/assets/checkmark-black.js +0 -4
  273. package/dist/BaseCheckbox/assets/checkmark.cjs +0 -1
  274. package/dist/BaseCheckbox/assets/checkmark.js +0 -4
  275. package/dist/BaseCheckbox/index.cjs +0 -1
  276. package/dist/BaseCheckbox/index.js +0 -4
  277. package/dist/BaseCheckbox/utils.cjs +0 -1
  278. package/dist/BaseCheckbox/utils.js +0 -4
  279. package/dist/BaseLink/BaseLink.cjs +0 -3
  280. package/dist/BaseLink/BaseLink.js +0 -31
  281. package/dist/BaseLink/index.cjs +0 -1
  282. package/dist/BaseLink/index.js +0 -4
  283. package/dist/BaseRadio/BaseRadio.cjs +0 -31
  284. package/dist/BaseRadio/BaseRadio.js +0 -62
  285. package/dist/BaseRadio/RadioGroup.cjs +0 -1
  286. package/dist/BaseRadio/RadioGroup.js +0 -32
  287. package/dist/BaseRadio/context.cjs +0 -1
  288. package/dist/BaseRadio/context.js +0 -6
  289. package/dist/BaseRadio/index.cjs +0 -1
  290. package/dist/BaseRadio/index.js +0 -6
  291. package/dist/BaseRadio/utils.cjs +0 -1
  292. package/dist/BaseRadio/utils.js +0 -6
  293. package/dist/Box/Box.cjs +0 -80
  294. package/dist/Box/Box.js +0 -95
  295. package/dist/Box/BoxProps.cjs +0 -1
  296. package/dist/Box/BoxProps.js +0 -51
  297. package/dist/Box/index.cjs +0 -1
  298. package/dist/Box/index.js +0 -4
  299. package/dist/Breadcrumbs/Breadcrumbs.cjs +0 -16
  300. package/dist/Breadcrumbs/Breadcrumbs.js +0 -52
  301. package/dist/Breadcrumbs/index.cjs +0 -1
  302. package/dist/Breadcrumbs/index.js +0 -5
  303. package/dist/Button/Button.cjs +0 -43
  304. package/dist/Button/Button.js +0 -105
  305. package/dist/Button/constants.cjs +0 -1
  306. package/dist/Button/constants.js +0 -14
  307. package/dist/Button/index.cjs +0 -1
  308. package/dist/Button/index.js +0 -5
  309. package/dist/Button/utils.cjs +0 -87
  310. package/dist/Button/utils.js +0 -112
  311. package/dist/Card/Card.cjs +0 -1
  312. package/dist/Card/Card.js +0 -32
  313. package/dist/Card/CardAction.cjs +0 -6
  314. package/dist/Card/CardAction.js +0 -14
  315. package/dist/Card/CardAsset.cjs +0 -19
  316. package/dist/Card/CardAsset.js +0 -42
  317. package/dist/Card/CardBadge.cjs +0 -6
  318. package/dist/Card/CardBadge.js +0 -14
  319. package/dist/Card/CardBody.cjs +0 -1
  320. package/dist/Card/CardBody.js +0 -15
  321. package/dist/Card/CardCheckbox.cjs +0 -1
  322. package/dist/Card/CardCheckbox.js +0 -16
  323. package/dist/Card/CardContent.cjs +0 -3
  324. package/dist/Card/CardContent.js +0 -15
  325. package/dist/Card/CardContext.cjs +0 -1
  326. package/dist/Card/CardContext.js +0 -6
  327. package/dist/Card/CardHeader.cjs +0 -4
  328. package/dist/Card/CardHeader.js +0 -13
  329. package/dist/Card/CardTimer.cjs +0 -5
  330. package/dist/Card/CardTimer.js +0 -26
  331. package/dist/Card/CardTitle.cjs +0 -1
  332. package/dist/Card/CardTitle.js +0 -23
  333. package/dist/Card/index.cjs +0 -1
  334. package/dist/Card/index.js +0 -23
  335. package/dist/CarouselInput/Carousel.cjs +0 -14
  336. package/dist/CarouselInput/Carousel.js +0 -131
  337. package/dist/CarouselInput/CarouselActions.cjs +0 -1
  338. package/dist/CarouselInput/CarouselActions.js +0 -14
  339. package/dist/CarouselInput/CarouselImage.cjs +0 -4
  340. package/dist/CarouselInput/CarouselImage.js +0 -35
  341. package/dist/CarouselInput/CarouselInput.cjs +0 -1
  342. package/dist/CarouselInput/CarouselInput.js +0 -79
  343. package/dist/CarouselInput/CarouselSlide.cjs +0 -3
  344. package/dist/CarouselInput/CarouselSlide.js +0 -26
  345. package/dist/CarouselInput/index.cjs +0 -1
  346. package/dist/CarouselInput/index.js +0 -12
  347. package/dist/Checkbox/Checkbox.cjs +0 -7
  348. package/dist/Checkbox/Checkbox.js +0 -64
  349. package/dist/Checkbox/index.cjs +0 -1
  350. package/dist/Checkbox/index.js +0 -4
  351. package/dist/Combobox/Combobox.cjs +0 -1
  352. package/dist/Combobox/Combobox.js +0 -285
  353. package/dist/Combobox/ComboboxList.cjs +0 -1
  354. package/dist/Combobox/ComboboxList.js +0 -15
  355. package/dist/Combobox/ComboboxOption.cjs +0 -1
  356. package/dist/Combobox/ComboboxOption.js +0 -30
  357. package/dist/Combobox/components.cjs +0 -53
  358. package/dist/Combobox/components.js +0 -64
  359. package/dist/Combobox/index.cjs +0 -1
  360. package/dist/Combobox/index.js +0 -7
  361. package/dist/Combobox/utils.cjs +0 -1
  362. package/dist/Combobox/utils.js +0 -78
  363. package/dist/DatePicker/DatePicker.cjs +0 -1
  364. package/dist/DatePicker/DatePicker.js +0 -104
  365. package/dist/DatePicker/DatePickerCalendar.cjs +0 -1
  366. package/dist/DatePicker/DatePickerCalendar.js +0 -102
  367. package/dist/DatePicker/DatePickerTd.cjs +0 -19
  368. package/dist/DatePicker/DatePickerTd.js +0 -55
  369. package/dist/DatePicker/DatePickerTh.cjs +0 -9
  370. package/dist/DatePicker/DatePickerTh.js +0 -35
  371. package/dist/DatePicker/compareDates.cjs +0 -1
  372. package/dist/DatePicker/compareDates.js +0 -4
  373. package/dist/DatePicker/components.cjs +0 -31
  374. package/dist/DatePicker/components.js +0 -41
  375. package/dist/DatePicker/index.cjs +0 -1
  376. package/dist/DatePicker/index.js +0 -4
  377. package/dist/DatePicker/utils/formatDate.cjs +0 -1
  378. package/dist/DatePicker/utils/formatDate.js +0 -4
  379. package/dist/DatePicker/utils/generateWeeks.cjs +0 -1
  380. package/dist/DatePicker/utils/generateWeeks.js +0 -17
  381. package/dist/DatePicker/utils/getDayOfWeek.cjs +0 -1
  382. package/dist/DatePicker/utils/getDayOfWeek.js +0 -15
  383. package/dist/DatePicker/utils/getMonths.cjs +0 -1
  384. package/dist/DatePicker/utils/getMonths.js +0 -7
  385. package/dist/DatePicker/utils/getYears.cjs +0 -1
  386. package/dist/DatePicker/utils/getYears.js +0 -9
  387. package/dist/DatePicker/utils/index.cjs +0 -1
  388. package/dist/DatePicker/utils/index.js +0 -12
  389. package/dist/DateTimePicker/DateTimePicker.cjs +0 -1
  390. package/dist/DateTimePicker/DateTimePicker.js +0 -108
  391. package/dist/DateTimePicker/DateTimePickerProps.cjs +0 -1
  392. package/dist/DateTimePicker/DateTimePickerProps.js +0 -42
  393. package/dist/DateTimePicker/__tests__/parseDate.test.cjs +0 -1
  394. package/dist/DateTimePicker/__tests__/parseDate.test.js +0 -8
  395. package/dist/DateTimePicker/index.cjs +0 -1
  396. package/dist/DateTimePicker/index.js +0 -4
  397. package/dist/DateTimePicker/parseDate.cjs +0 -1
  398. package/dist/DateTimePicker/parseDate.js +0 -7
  399. package/dist/Dialog/Dialog.cjs +0 -14
  400. package/dist/Dialog/Dialog.js +0 -66
  401. package/dist/Dialog/DialogBody.cjs +0 -10
  402. package/dist/Dialog/DialogBody.js +0 -32
  403. package/dist/Dialog/DialogFooter.cjs +0 -9
  404. package/dist/Dialog/DialogFooter.js +0 -31
  405. package/dist/Dialog/index.cjs +0 -1
  406. package/dist/Dialog/index.js +0 -8
  407. package/dist/DismissibleLayer/DismissibleLayer.cjs +0 -1
  408. package/dist/DismissibleLayer/DismissibleLayer.js +0 -37
  409. package/dist/DismissibleLayer/index.cjs +0 -1
  410. package/dist/DismissibleLayer/index.js +0 -4
  411. package/dist/Divider/Divider.cjs +0 -5
  412. package/dist/Divider/Divider.js +0 -24
  413. package/dist/Divider/index.cjs +0 -1
  414. package/dist/Divider/index.js +0 -4
  415. package/dist/EmptyStateLayout/EmptyStateLayout.cjs +0 -10
  416. package/dist/EmptyStateLayout/EmptyStateLayout.js +0 -44
  417. package/dist/EmptyStateLayout/index.cjs +0 -1
  418. package/dist/EmptyStateLayout/index.js +0 -4
  419. package/dist/EmptyStateLayout/story-assets/Illo.cjs +0 -1
  420. package/dist/EmptyStateLayout/story-assets/Illo.js +0 -49
  421. package/dist/Field/Field.cjs +0 -1
  422. package/dist/Field/Field.js +0 -28
  423. package/dist/Field/FieldAction.cjs +0 -10
  424. package/dist/Field/FieldAction.js +0 -24
  425. package/dist/Field/FieldContext.cjs +0 -1
  426. package/dist/Field/FieldContext.js +0 -6
  427. package/dist/Field/FieldError.cjs +0 -1
  428. package/dist/Field/FieldError.js +0 -16
  429. package/dist/Field/FieldHint.cjs +0 -1
  430. package/dist/Field/FieldHint.js +0 -15
  431. package/dist/Field/FieldInput.cjs +0 -43
  432. package/dist/Field/FieldInput.js +0 -105
  433. package/dist/Field/FieldLabel.cjs +0 -9
  434. package/dist/Field/FieldLabel.js +0 -44
  435. package/dist/Field/index.cjs +0 -1
  436. package/dist/Field/index.js +0 -18
  437. package/dist/Flex/Flex.cjs +0 -9
  438. package/dist/Flex/Flex.js +0 -22
  439. package/dist/Flex/FlexProps.cjs +0 -1
  440. package/dist/Flex/FlexProps.js +0 -40
  441. package/dist/Flex/index.cjs +0 -1
  442. package/dist/Flex/index.js +0 -4
  443. package/dist/FocusTrap/ExampleComponent.cjs +0 -1
  444. package/dist/FocusTrap/ExampleComponent.js +0 -70
  445. package/dist/FocusTrap/FocusTrap.cjs +0 -1
  446. package/dist/FocusTrap/FocusTrap.js +0 -48
  447. package/dist/FocusTrap/index.cjs +0 -1
  448. package/dist/FocusTrap/index.js +0 -4
  449. package/dist/Grid/Grid.cjs +0 -5
  450. package/dist/Grid/Grid.js +0 -28
  451. package/dist/Grid/GridContext.cjs +0 -1
  452. package/dist/Grid/GridContext.js +0 -6
  453. package/dist/Grid/GridItem.cjs +0 -12
  454. package/dist/Grid/GridItem.js +0 -41
  455. package/dist/Grid/index.cjs +0 -1
  456. package/dist/Grid/index.js +0 -6
  457. package/dist/Icon/Icon.cjs +0 -6
  458. package/dist/Icon/Icon.js +0 -26
  459. package/dist/Icon/index.cjs +0 -1
  460. package/dist/Icon/index.js +0 -4
  461. package/dist/IconButton/IconButton.cjs +0 -86
  462. package/dist/IconButton/IconButton.js +0 -129
  463. package/dist/IconButton/index.cjs +0 -1
  464. package/dist/IconButton/index.js +0 -5
  465. package/dist/KeyboardNavigable/KeyboardNavigable.cjs +0 -1
  466. package/dist/KeyboardNavigable/KeyboardNavigable.js +0 -58
  467. package/dist/KeyboardNavigable/index.cjs +0 -1
  468. package/dist/KeyboardNavigable/index.js +0 -4
  469. package/dist/Layout/ActionLayout.cjs +0 -9
  470. package/dist/Layout/ActionLayout.js +0 -37
  471. package/dist/Layout/ContentLayout.cjs +0 -1
  472. package/dist/Layout/ContentLayout.js +0 -13
  473. package/dist/Layout/GridLayout.cjs +0 -5
  474. package/dist/Layout/GridLayout.js +0 -13
  475. package/dist/Layout/HeaderLayout.cjs +0 -8
  476. package/dist/Layout/HeaderLayout.js +0 -132
  477. package/dist/Layout/Layout.cjs +0 -6
  478. package/dist/Layout/Layout.js +0 -24
  479. package/dist/Layout/TwoColsLayout.cjs +0 -1
  480. package/dist/Layout/TwoColsLayout.js +0 -29
  481. package/dist/Layout/index.cjs +0 -1
  482. package/dist/Layout/index.js +0 -15
  483. package/dist/Link/Link.cjs +0 -33
  484. package/dist/Link/Link.js +0 -87
  485. package/dist/Link/index.cjs +0 -1
  486. package/dist/Link/index.js +0 -4
  487. package/dist/LinkButton/LinkButton.cjs +0 -32
  488. package/dist/LinkButton/LinkButton.js +0 -99
  489. package/dist/LinkButton/index.cjs +0 -1
  490. package/dist/LinkButton/index.js +0 -4
  491. package/dist/LiveRegions/LiveRegions.cjs +0 -1
  492. package/dist/LiveRegions/LiveRegions.js +0 -22
  493. package/dist/LiveRegions/StoryComponent.cjs +0 -1
  494. package/dist/LiveRegions/StoryComponent.js +0 -18
  495. package/dist/LiveRegions/constants.cjs +0 -1
  496. package/dist/LiveRegions/constants.js +0 -8
  497. package/dist/LiveRegions/index.cjs +0 -1
  498. package/dist/LiveRegions/index.js +0 -4
  499. package/dist/LiveRegions/useNotifyAT.cjs +0 -1
  500. package/dist/LiveRegions/useNotifyAT.js +0 -17
  501. package/dist/Loader/Loader.cjs +0 -12
  502. package/dist/Loader/Loader.js +0 -37
  503. package/dist/Loader/assets/loader.cjs +0 -1
  504. package/dist/Loader/assets/loader.js +0 -4
  505. package/dist/Loader/index.cjs +0 -1
  506. package/dist/Loader/index.js +0 -4
  507. package/dist/Main/Main.cjs +0 -6
  508. package/dist/Main/Main.js +0 -26
  509. package/dist/Main/SkipToContent.cjs +0 -12
  510. package/dist/Main/SkipToContent.js +0 -29
  511. package/dist/Main/index.cjs +0 -1
  512. package/dist/Main/index.js +0 -6
  513. package/dist/MainNav/MainNav.cjs +0 -9
  514. package/dist/MainNav/MainNav.js +0 -30
  515. package/dist/MainNav/MainNavContext.cjs +0 -1
  516. package/dist/MainNav/MainNavContext.js +0 -6
  517. package/dist/MainNav/NavBrand.cjs +0 -12
  518. package/dist/MainNav/NavBrand.js +0 -67
  519. package/dist/MainNav/NavCondense.cjs +0 -20
  520. package/dist/MainNav/NavCondense.js +0 -45
  521. package/dist/MainNav/NavLink.cjs +0 -69
  522. package/dist/MainNav/NavLink.js +0 -119
  523. package/dist/MainNav/NavSection.cjs +0 -1
  524. package/dist/MainNav/NavSection.js +0 -49
  525. package/dist/MainNav/NavSections.cjs +0 -1
  526. package/dist/MainNav/NavSections.js +0 -21
  527. package/dist/MainNav/NavUser.cjs +0 -7
  528. package/dist/MainNav/NavUser.js +0 -54
  529. package/dist/MainNav/index.cjs +0 -1
  530. package/dist/MainNav/index.js +0 -16
  531. package/dist/ModalLayout/ModalBody.cjs +0 -4
  532. package/dist/ModalLayout/ModalBody.js +0 -13
  533. package/dist/ModalLayout/ModalContext.cjs +0 -1
  534. package/dist/ModalLayout/ModalContext.js +0 -6
  535. package/dist/ModalLayout/ModalFooter.cjs +0 -8
  536. package/dist/ModalLayout/ModalFooter.js +0 -32
  537. package/dist/ModalLayout/ModalHeader.cjs +0 -4
  538. package/dist/ModalLayout/ModalHeader.js +0 -37
  539. package/dist/ModalLayout/ModalLayout.cjs +0 -12
  540. package/dist/ModalLayout/ModalLayout.js +0 -42
  541. package/dist/ModalLayout/index.cjs +0 -1
  542. package/dist/ModalLayout/index.js +0 -10
  543. package/dist/NumberInput/NumberInput.cjs +0 -12
  544. package/dist/NumberInput/NumberInput.js +0 -179
  545. package/dist/NumberInput/index.cjs +0 -1
  546. package/dist/NumberInput/index.js +0 -4
  547. package/dist/Pagination/Pagination.cjs +0 -5
  548. package/dist/Pagination/Pagination.js +0 -30
  549. package/dist/Pagination/PaginationContext.cjs +0 -1
  550. package/dist/Pagination/PaginationContext.js +0 -6
  551. package/dist/Pagination/assets/next.cjs +0 -1
  552. package/dist/Pagination/assets/next.js +0 -4
  553. package/dist/Pagination/assets/previous.cjs +0 -1
  554. package/dist/Pagination/assets/previous.js +0 -4
  555. package/dist/Pagination/components.cjs +0 -36
  556. package/dist/Pagination/components.js +0 -111
  557. package/dist/Pagination/index.cjs +0 -1
  558. package/dist/Pagination/index.js +0 -9
  559. package/dist/Popover/Popover.cjs +0 -26
  560. package/dist/Popover/Popover.js +0 -122
  561. package/dist/Popover/index.cjs +0 -1
  562. package/dist/Popover/index.js +0 -5
  563. package/dist/Portal/Portal.cjs +0 -1
  564. package/dist/Portal/Portal.js +0 -15
  565. package/dist/Portal/index.cjs +0 -1
  566. package/dist/Portal/index.js +0 -4
  567. package/dist/ProgressBar/ProgressBar.cjs +0 -21
  568. package/dist/ProgressBar/ProgressBar.js +0 -58
  569. package/dist/ProgressBar/index.cjs +0 -1
  570. package/dist/ProgressBar/index.js +0 -4
  571. package/dist/Radio/Radio.cjs +0 -4
  572. package/dist/Radio/Radio.js +0 -24
  573. package/dist/Radio/index.cjs +0 -1
  574. package/dist/Radio/index.js +0 -6
  575. package/dist/RawTable/RawCell.cjs +0 -1
  576. package/dist/RawTable/RawCell.js +0 -80
  577. package/dist/RawTable/RawTable.cjs +0 -1
  578. package/dist/RawTable/RawTable.js +0 -73
  579. package/dist/RawTable/RawTableContext.cjs +0 -1
  580. package/dist/RawTable/RawTableContext.js +0 -12
  581. package/dist/RawTable/RawTbody.cjs +0 -1
  582. package/dist/RawTable/RawTbody.js +0 -16
  583. package/dist/RawTable/RawThead.cjs +0 -1
  584. package/dist/RawTable/RawThead.js +0 -14
  585. package/dist/RawTable/RawTr.cjs +0 -1
  586. package/dist/RawTable/RawTr.js +0 -19
  587. package/dist/RawTable/focusFocusable.cjs +0 -1
  588. package/dist/RawTable/focusFocusable.js +0 -7
  589. package/dist/RawTable/index.cjs +0 -1
  590. package/dist/RawTable/index.js +0 -13
  591. package/dist/Searchbar/SearchForm.cjs +0 -1
  592. package/dist/Searchbar/SearchForm.js +0 -8
  593. package/dist/Searchbar/Searchbar.cjs +0 -29
  594. package/dist/Searchbar/Searchbar.js +0 -79
  595. package/dist/Searchbar/index.cjs +0 -1
  596. package/dist/Searchbar/index.js +0 -6
  597. package/dist/Select/MultiSelectNested.cjs +0 -1
  598. package/dist/Select/MultiSelectNested.js +0 -26
  599. package/dist/Select/OptGroup.cjs +0 -1
  600. package/dist/Select/OptGroup.js +0 -20
  601. package/dist/Select/Option.cjs +0 -49
  602. package/dist/Select/Option.js +0 -104
  603. package/dist/Select/Select.cjs +0 -3
  604. package/dist/Select/Select.js +0 -232
  605. package/dist/Select/SelectButton.cjs +0 -19
  606. package/dist/Select/SelectButton.js +0 -64
  607. package/dist/Select/SelectList.cjs +0 -1
  608. package/dist/Select/SelectList.js +0 -81
  609. package/dist/Select/SelectTags.cjs +0 -8
  610. package/dist/Select/SelectTags.js +0 -36
  611. package/dist/Select/components.cjs +0 -39
  612. package/dist/Select/components.js +0 -48
  613. package/dist/Select/constants.cjs +0 -1
  614. package/dist/Select/constants.js +0 -8
  615. package/dist/Select/hooks/useButtonRef.cjs +0 -1
  616. package/dist/Select/hooks/useButtonRef.js +0 -13
  617. package/dist/Select/hooks/useListRef.cjs +0 -1
  618. package/dist/Select/hooks/useListRef.js +0 -18
  619. package/dist/Select/index.cjs +0 -1
  620. package/dist/Select/index.js +0 -12
  621. package/dist/Select/utils.cjs +0 -1
  622. package/dist/Select/utils.js +0 -17
  623. package/dist/SimpleMenu/SimpleMenu.cjs +0 -19
  624. package/dist/SimpleMenu/SimpleMenu.js +0 -164
  625. package/dist/SimpleMenu/index.cjs +0 -1
  626. package/dist/SimpleMenu/index.js +0 -5
  627. package/dist/SimpleMenu/utils.cjs +0 -12
  628. package/dist/SimpleMenu/utils.js +0 -15
  629. package/dist/Stack/Stack.cjs +0 -19
  630. package/dist/Stack/Stack.js +0 -55
  631. package/dist/Stack/index.cjs +0 -1
  632. package/dist/Stack/index.js +0 -4
  633. package/dist/Status/Status.cjs +0 -11
  634. package/dist/Status/Status.js +0 -46
  635. package/dist/Status/index.cjs +0 -1
  636. package/dist/Status/index.js +0 -4
  637. package/dist/SubNav/SubNav.cjs +0 -10
  638. package/dist/SubNav/SubNav.js +0 -26
  639. package/dist/SubNav/SubNavHeader.cjs +0 -4
  640. package/dist/SubNav/SubNavHeader.js +0 -98
  641. package/dist/SubNav/SubNavLink.cjs +0 -39
  642. package/dist/SubNav/SubNavLink.js +0 -80
  643. package/dist/SubNav/SubNavLinkSection.cjs +0 -19
  644. package/dist/SubNav/SubNavLinkSection.js +0 -68
  645. package/dist/SubNav/SubNavSection.cjs +0 -8
  646. package/dist/SubNav/SubNavSection.js +0 -63
  647. package/dist/SubNav/SubNavSectionLabel.cjs +0 -9
  648. package/dist/SubNav/SubNavSectionLabel.js +0 -53
  649. package/dist/SubNav/SubNavSections.cjs +0 -1
  650. package/dist/SubNav/SubNavSections.js +0 -20
  651. package/dist/SubNav/index.cjs +0 -1
  652. package/dist/SubNav/index.js +0 -15
  653. package/dist/Switch/Switch.cjs +0 -42
  654. package/dist/Switch/Switch.js +0 -80
  655. package/dist/Switch/index.cjs +0 -1
  656. package/dist/Switch/index.js +0 -4
  657. package/dist/Table/Cell.cjs +0 -17
  658. package/dist/Table/Cell.js +0 -39
  659. package/dist/Table/TFooter.cjs +0 -22
  660. package/dist/Table/TFooter.js +0 -50
  661. package/dist/Table/Table.cjs +0 -36
  662. package/dist/Table/Table.js +0 -80
  663. package/dist/Table/Tbody.cjs +0 -5
  664. package/dist/Table/Tbody.js +0 -13
  665. package/dist/Table/Thead.cjs +0 -3
  666. package/dist/Table/Thead.js +0 -11
  667. package/dist/Table/Tr.cjs +0 -20
  668. package/dist/Table/Tr.js +0 -28
  669. package/dist/Table/index.cjs +0 -1
  670. package/dist/Table/index.js +0 -15
  671. package/dist/Tabs/TabGroup.cjs +0 -1
  672. package/dist/Tabs/TabGroup.js +0 -36
  673. package/dist/Tabs/TabPanels.cjs +0 -1
  674. package/dist/Tabs/TabPanels.js +0 -32
  675. package/dist/Tabs/Tabs.cjs +0 -5
  676. package/dist/Tabs/Tabs.js +0 -134
  677. package/dist/Tabs/TabsContext.cjs +0 -1
  678. package/dist/Tabs/TabsContext.js +0 -6
  679. package/dist/Tabs/components.cjs +0 -43
  680. package/dist/Tabs/components.js +0 -52
  681. package/dist/Tabs/index.cjs +0 -1
  682. package/dist/Tabs/index.js +0 -10
  683. package/dist/Tabs/useTabsFocus.cjs +0 -1
  684. package/dist/Tabs/useTabsFocus.js +0 -16
  685. package/dist/Tag/Tag.cjs +0 -14
  686. package/dist/Tag/Tag.js +0 -60
  687. package/dist/Tag/index.cjs +0 -1
  688. package/dist/Tag/index.js +0 -4
  689. package/dist/TextButton/TextButton.cjs +0 -32
  690. package/dist/TextButton/TextButton.js +0 -82
  691. package/dist/TextButton/index.cjs +0 -1
  692. package/dist/TextButton/index.js +0 -4
  693. package/dist/TextInput/TextInput.cjs +0 -1
  694. package/dist/TextInput/TextInput.js +0 -69
  695. package/dist/TextInput/index.cjs +0 -1
  696. package/dist/TextInput/index.js +0 -4
  697. package/dist/Textarea/Textarea.cjs +0 -15
  698. package/dist/Textarea/Textarea.js +0 -74
  699. package/dist/Textarea/TextareaInput.cjs +0 -30
  700. package/dist/Textarea/TextareaInput.js +0 -68
  701. package/dist/Textarea/index.cjs +0 -1
  702. package/dist/Textarea/index.js +0 -4
  703. package/dist/ThemeProvider/ThemeProvider.cjs +0 -173
  704. package/dist/ThemeProvider/ThemeProvider.js +0 -186
  705. package/dist/ThemeProvider/hooks.cjs +0 -1
  706. package/dist/ThemeProvider/hooks.js +0 -5
  707. package/dist/ThemeProvider/index.cjs +0 -1
  708. package/dist/ThemeProvider/index.js +0 -6
  709. package/dist/TimePicker/TimePicker.cjs +0 -12
  710. package/dist/TimePicker/TimePicker.js +0 -104
  711. package/dist/TimePicker/index.cjs +0 -1
  712. package/dist/TimePicker/index.js +0 -4
  713. package/dist/ToggleCheckbox/ToggleCheckbox.cjs +0 -36
  714. package/dist/ToggleCheckbox/ToggleCheckbox.js +0 -119
  715. package/dist/ToggleCheckbox/index.cjs +0 -1
  716. package/dist/ToggleCheckbox/index.js +0 -4
  717. package/dist/ToggleInput/ToggleInput.cjs +0 -6
  718. package/dist/ToggleInput/ToggleInput.js +0 -90
  719. package/dist/ToggleInput/index.cjs +0 -1
  720. package/dist/ToggleInput/index.js +0 -4
  721. package/dist/Tooltip/Tooltip.cjs +0 -6
  722. package/dist/Tooltip/Tooltip.js +0 -60
  723. package/dist/Tooltip/hooks/useTooltipHandlers.cjs +0 -1
  724. package/dist/Tooltip/hooks/useTooltipHandlers.js +0 -22
  725. package/dist/Tooltip/hooks/useTooltipLayout.cjs +0 -1
  726. package/dist/Tooltip/hooks/useTooltipLayout.js +0 -14
  727. package/dist/Tooltip/index.cjs +0 -1
  728. package/dist/Tooltip/index.js +0 -4
  729. package/dist/Tooltip/utils/positionTooltip.cjs +0 -1
  730. package/dist/Tooltip/utils/positionTooltip.js +0 -27
  731. package/dist/Typography/Typography.cjs +0 -10
  732. package/dist/Typography/Typography.js +0 -23
  733. package/dist/Typography/TypographyProps.cjs +0 -1
  734. package/dist/Typography/TypographyProps.js +0 -31
  735. package/dist/Typography/constants.cjs +0 -1
  736. package/dist/Typography/constants.js +0 -11
  737. package/dist/Typography/index.cjs +0 -1
  738. package/dist/Typography/index.js +0 -4
  739. package/dist/Typography/utils.cjs +0 -34
  740. package/dist/Typography/utils.js +0 -59
  741. package/dist/VisuallyHidden/VisuallyHidden.cjs +0 -10
  742. package/dist/VisuallyHidden/VisuallyHidden.js +0 -14
  743. package/dist/VisuallyHidden/index.cjs +0 -1
  744. package/dist/VisuallyHidden/index.js +0 -4
  745. package/dist/helpers/escapeSelector.cjs +0 -1
  746. package/dist/helpers/escapeSelector.js +0 -4
  747. package/dist/helpers/genId.cjs +0 -1
  748. package/dist/helpers/genId.js +0 -5
  749. package/dist/helpers/getDefaultLocale.cjs +0 -1
  750. package/dist/helpers/getDefaultLocale.js +0 -4
  751. package/dist/helpers/getFocusableNodes.cjs +0 -1
  752. package/dist/helpers/getFocusableNodes.js +0 -7
  753. package/dist/helpers/handleResponsiveValues.cjs +0 -5
  754. package/dist/helpers/handleResponsiveValues.js +0 -19
  755. package/dist/helpers/keyboardKeys.cjs +0 -1
  756. package/dist/helpers/keyboardKeys.js +0 -20
  757. package/dist/helpers/setOpacity.cjs +0 -1
  758. package/dist/helpers/setOpacity.js +0 -4
  759. package/dist/helpers/setTabIndexOnFirstItem.cjs +0 -1
  760. package/dist/helpers/setTabIndexOnFirstItem.js +0 -7
  761. package/dist/helpers/useElementOnScreen.cjs +0 -1
  762. package/dist/helpers/useElementOnScreen.js +0 -15
  763. package/dist/helpers/useId.cjs +0 -1
  764. package/dist/helpers/useId.js +0 -6
  765. package/dist/helpers/useIntersection.cjs +0 -1
  766. package/dist/helpers/useIntersection.js +0 -21
  767. package/dist/helpers/useLockScroll.cjs +0 -1
  768. package/dist/helpers/useLockScroll.js +0 -9
  769. package/dist/helpers/usePrevious.cjs +0 -1
  770. package/dist/helpers/usePrevious.js +0 -10
  771. package/dist/helpers/useResizeObserver.cjs +0 -1
  772. package/dist/helpers/useResizeObserver.js +0 -14
  773. package/dist/index.cjs +0 -1
  774. package/dist/index.js +0 -290
  775. package/dist/themes/ColorButton.cjs +0 -3
  776. package/dist/themes/ColorButton.js +0 -25
  777. package/dist/themes/colors.cjs +0 -1
  778. package/dist/themes/colors.js +0 -49
  779. package/dist/themes/common-theme.cjs +0 -1
  780. package/dist/themes/common-theme.js +0 -21
  781. package/dist/themes/darkTheme/dark-colors.cjs +0 -1
  782. package/dist/themes/darkTheme/dark-colors.js +0 -52
  783. package/dist/themes/darkTheme/dark-shadows.cjs +0 -1
  784. package/dist/themes/darkTheme/dark-shadows.js +0 -12
  785. package/dist/themes/darkTheme/index.cjs +0 -1
  786. package/dist/themes/darkTheme/index.js +0 -11
  787. package/dist/themes/extendTheme.cjs +0 -13
  788. package/dist/themes/extendTheme.js +0 -36
  789. package/dist/themes/index.cjs +0 -1
  790. package/dist/themes/index.js +0 -12
  791. package/dist/themes/lightTheme/index.cjs +0 -1
  792. package/dist/themes/lightTheme/index.js +0 -11
  793. package/dist/themes/lightTheme/light-colors.cjs +0 -1
  794. package/dist/themes/lightTheme/light-colors.js +0 -52
  795. package/dist/themes/lightTheme/light-shadows.cjs +0 -1
  796. package/dist/themes/lightTheme/light-shadows.js +0 -12
  797. package/dist/themes/sizes.cjs +0 -1
  798. package/dist/themes/sizes.js +0 -13
  799. package/dist/themes/utils.cjs +0 -41
  800. package/dist/themes/utils.js +0 -46
  801. package/dist/v2/Breadcrumbs/Breadcrumbs.cjs +0 -9
  802. package/dist/v2/Breadcrumbs/Breadcrumbs.js +0 -38
  803. package/dist/v2/Breadcrumbs/Crumb.cjs +0 -1
  804. package/dist/v2/Breadcrumbs/Crumb.js +0 -27
  805. package/dist/v2/Breadcrumbs/CrumbLink.cjs +0 -14
  806. package/dist/v2/Breadcrumbs/CrumbLink.js +0 -31
  807. package/dist/v2/Breadcrumbs/CrumbSimpleMenu.cjs +0 -8
  808. package/dist/v2/Breadcrumbs/CrumbSimpleMenu.js +0 -28
  809. package/dist/v2/Breadcrumbs/Divider.cjs +0 -1
  810. package/dist/v2/Breadcrumbs/Divider.js +0 -15
  811. package/dist/v2/Breadcrumbs/index.cjs +0 -1
  812. package/dist/v2/Breadcrumbs/index.js +0 -10
  813. package/dist/v2/Link/Link.cjs +0 -23
  814. package/dist/v2/Link/Link.js +0 -69
  815. package/dist/v2/Link/index.cjs +0 -1
  816. package/dist/v2/Link/index.js +0 -4
  817. package/dist/v2/LinkButton/LinkButton.cjs +0 -33
  818. package/dist/v2/LinkButton/LinkButton.js +0 -95
  819. package/dist/v2/LinkButton/index.cjs +0 -1
  820. package/dist/v2/LinkButton/index.js +0 -4
  821. package/dist/v2/MainNav/MainNav.cjs +0 -9
  822. package/dist/v2/MainNav/MainNav.js +0 -30
  823. package/dist/v2/MainNav/MainNavContext.cjs +0 -1
  824. package/dist/v2/MainNav/MainNavContext.js +0 -6
  825. package/dist/v2/MainNav/NavBrand.cjs +0 -12
  826. package/dist/v2/MainNav/NavBrand.js +0 -68
  827. package/dist/v2/MainNav/NavCondense.cjs +0 -20
  828. package/dist/v2/MainNav/NavCondense.js +0 -45
  829. package/dist/v2/MainNav/NavLink.cjs +0 -69
  830. package/dist/v2/MainNav/NavLink.js +0 -122
  831. package/dist/v2/MainNav/NavSection.cjs +0 -1
  832. package/dist/v2/MainNav/NavSection.js +0 -49
  833. package/dist/v2/MainNav/NavSections.cjs +0 -1
  834. package/dist/v2/MainNav/NavSections.js +0 -21
  835. package/dist/v2/MainNav/NavUser.cjs +0 -7
  836. package/dist/v2/MainNav/NavUser.js +0 -54
  837. package/dist/v2/MainNav/index.cjs +0 -1
  838. package/dist/v2/MainNav/index.js +0 -16
  839. package/dist/v2/Pagination/Pagination.cjs +0 -5
  840. package/dist/v2/Pagination/Pagination.js +0 -30
  841. package/dist/v2/Pagination/PaginationContext.cjs +0 -1
  842. package/dist/v2/Pagination/PaginationContext.js +0 -6
  843. package/dist/v2/Pagination/assets/next.cjs +0 -1
  844. package/dist/v2/Pagination/assets/next.js +0 -4
  845. package/dist/v2/Pagination/assets/previous.cjs +0 -1
  846. package/dist/v2/Pagination/assets/previous.js +0 -4
  847. package/dist/v2/Pagination/components.cjs +0 -36
  848. package/dist/v2/Pagination/components.js +0 -111
  849. package/dist/v2/Pagination/index.cjs +0 -1
  850. package/dist/v2/Pagination/index.js +0 -9
  851. package/dist/v2/SimpleMenu/SimpleMenu.cjs +0 -19
  852. package/dist/v2/SimpleMenu/SimpleMenu.js +0 -164
  853. package/dist/v2/SimpleMenu/index.cjs +0 -1
  854. package/dist/v2/SimpleMenu/index.js +0 -5
  855. package/dist/v2/SimpleMenu/utils.cjs +0 -12
  856. package/dist/v2/SimpleMenu/utils.js +0 -15
  857. package/dist/v2/SubNav/SubNav.cjs +0 -10
  858. package/dist/v2/SubNav/SubNav.js +0 -26
  859. package/dist/v2/SubNav/SubNavHeader.cjs +0 -4
  860. package/dist/v2/SubNav/SubNavHeader.js +0 -98
  861. package/dist/v2/SubNav/SubNavLink.cjs +0 -39
  862. package/dist/v2/SubNav/SubNavLink.js +0 -83
  863. package/dist/v2/SubNav/SubNavLinkSection.cjs +0 -19
  864. package/dist/v2/SubNav/SubNavLinkSection.js +0 -68
  865. package/dist/v2/SubNav/SubNavSection.cjs +0 -8
  866. package/dist/v2/SubNav/SubNavSection.js +0 -63
  867. package/dist/v2/SubNav/SubNavSectionLabel.cjs +0 -9
  868. package/dist/v2/SubNav/SubNavSectionLabel.js +0 -53
  869. package/dist/v2/SubNav/SubNavSections.cjs +0 -1
  870. package/dist/v2/SubNav/SubNavSections.js +0 -20
  871. package/dist/v2/SubNav/index.cjs +0 -1
  872. package/dist/v2/SubNav/index.js +0 -15
  873. package/dist/v2/index.cjs +0 -1
  874. package/dist/v2/index.js +0 -51
  875. package/global-setup.js +0 -4
  876. package/jest.config.js +0 -15
  877. package/playwright.config.js +0 -37
  878. package/src/Accordion/Accordion.js +0 -147
  879. package/src/Accordion/Accordion.stories.mdx +0 -327
  880. package/src/Accordion/AccordionContent.js +0 -26
  881. package/src/Accordion/AccordionContext.js +0 -5
  882. package/src/Accordion/AccordionGroup.js +0 -114
  883. package/src/Accordion/AccordionToggle.js +0 -192
  884. package/src/Accordion/__tests__/Accordion.e2e.js +0 -32
  885. package/src/Accordion/__tests__/AccordionKeyboard.e2e.js +0 -73
  886. package/src/Accordion/index.js +0 -4
  887. package/src/Accordion/utils.js +0 -15
  888. package/src/Alert/Alert.js +0 -144
  889. package/src/Alert/Alert.stories.mdx +0 -135
  890. package/src/Alert/__tests__/Alert.e2e.js +0 -39
  891. package/src/Alert/index.js +0 -1
  892. package/src/Alert/utils.js +0 -35
  893. package/src/Avatar/Avatar.js +0 -110
  894. package/src/Avatar/Avatar.stories.mdx +0 -67
  895. package/src/Avatar/AvatarGroup.js +0 -9
  896. package/src/Avatar/__tests__/Avatar.e2e.js +0 -23
  897. package/src/Avatar/__tests__/Avatar.spec.js +0 -153
  898. package/src/Avatar/constants.js +0 -2
  899. package/src/Avatar/index.js +0 -2
  900. package/src/Badge/Badge.js +0 -41
  901. package/src/Badge/Badge.stories.mdx +0 -57
  902. package/src/Badge/__tests__/Badge.e2e.js +0 -23
  903. package/src/Badge/index.js +0 -1
  904. package/src/BaseButton/BaseButton.js +0 -46
  905. package/src/BaseButton/BaseButton.stories.mdx +0 -32
  906. package/src/BaseButton/__tests__/BaseButton.e2e.js +0 -23
  907. package/src/BaseButton/index.js +0 -1
  908. package/src/BaseCheckbox/BaseCheckbox.js +0 -128
  909. package/src/BaseCheckbox/BaseCheckbox.stories.mdx +0 -107
  910. package/src/BaseCheckbox/__tests__/BaseCheckbox.e2e.js +0 -94
  911. package/src/BaseCheckbox/assets/checkmark-black.svg +0 -6
  912. package/src/BaseCheckbox/assets/checkmark.svg +0 -6
  913. package/src/BaseCheckbox/index.js +0 -1
  914. package/src/BaseCheckbox/utils.js +0 -7
  915. package/src/BaseLink/BaseLink.js +0 -38
  916. package/src/BaseLink/BaseLink.stories.mdx +0 -34
  917. package/src/BaseLink/__tests__/BaseLink.e2e.js +0 -23
  918. package/src/BaseLink/__tests__/BaseLink.spec.js +0 -26
  919. package/src/BaseLink/index.js +0 -1
  920. package/src/BaseRadio/BaseRadio.js +0 -69
  921. package/src/BaseRadio/BaseRadio.stories.mdx +0 -110
  922. package/src/BaseRadio/RadioGroup.js +0 -36
  923. package/src/BaseRadio/__tests__/BaseRadio.e2e.js +0 -90
  924. package/src/BaseRadio/context.js +0 -3
  925. package/src/BaseRadio/index.js +0 -2
  926. package/src/BaseRadio/utils.js +0 -30
  927. package/src/Box/Box.js +0 -104
  928. package/src/Box/Box.stories.mdx +0 -57
  929. package/src/Box/BoxProps.js +0 -99
  930. package/src/Box/__tests__/Box.e2e.js +0 -23
  931. package/src/Box/__tests__/Box.spec.js +0 -36
  932. package/src/Box/index.js +0 -1
  933. package/src/Breadcrumbs/Breadcrumbs.js +0 -58
  934. package/src/Breadcrumbs/Breadcrumbs.stories.mdx +0 -47
  935. package/src/Breadcrumbs/__tests__/Breadcrumbs.e2e.js +0 -23
  936. package/src/Breadcrumbs/index.js +0 -1
  937. package/src/Button/Button.js +0 -138
  938. package/src/Button/Button.stories.mdx +0 -216
  939. package/src/Button/__tests__/Button.e2e.js +0 -89
  940. package/src/Button/__tests__/utils.spec.js +0 -19
  941. package/src/Button/constants.js +0 -12
  942. package/src/Button/index.js +0 -1
  943. package/src/Button/utils.js +0 -170
  944. package/src/Card/Card.js +0 -35
  945. package/src/Card/Card.stories.mdx +0 -202
  946. package/src/Card/CardAction.js +0 -13
  947. package/src/Card/CardAsset.js +0 -49
  948. package/src/Card/CardBadge.js +0 -18
  949. package/src/Card/CardBody.js +0 -11
  950. package/src/Card/CardCheckbox.js +0 -14
  951. package/src/Card/CardContent.js +0 -16
  952. package/src/Card/CardContext.js +0 -5
  953. package/src/Card/CardHeader.js +0 -12
  954. package/src/Card/CardTimer.js +0 -23
  955. package/src/Card/CardTitle.js +0 -12
  956. package/src/Card/__tests__/Card.e2e.js +0 -164
  957. package/src/Card/index.js +0 -10
  958. package/src/Card/story-assets/first.jpg +0 -0
  959. package/src/CarouselInput/Carousel.js +0 -138
  960. package/src/CarouselInput/Carousel.stories.mdx +0 -149
  961. package/src/CarouselInput/CarouselActions.js +0 -6
  962. package/src/CarouselInput/CarouselImage.js +0 -39
  963. package/src/CarouselInput/CarouselInput.js +0 -80
  964. package/src/CarouselInput/CarouselSlide.js +0 -32
  965. package/src/CarouselInput/__tests__/CarouselImage.e2e.js +0 -15
  966. package/src/CarouselInput/__tests__/CarouselInput.e2e.js +0 -48
  967. package/src/CarouselInput/index.js +0 -5
  968. package/src/CarouselInput/story-assets/first.jpg +0 -0
  969. package/src/Checkbox/Checkbox.js +0 -63
  970. package/src/Checkbox/Checkbox.stories.mdx +0 -190
  971. package/src/Checkbox/__tests__/Checkbox.e2e.js +0 -96
  972. package/src/Checkbox/index.js +0 -1
  973. package/src/Combobox/Combobox.js +0 -421
  974. package/src/Combobox/Combobox.stories.mdx +0 -191
  975. package/src/Combobox/ComboboxList.js +0 -22
  976. package/src/Combobox/ComboboxOption.js +0 -36
  977. package/src/Combobox/__tests__/Combobox.e2e.js +0 -133
  978. package/src/Combobox/__tests__/utils.spec.js +0 -94
  979. package/src/Combobox/components.js +0 -69
  980. package/src/Combobox/index.js +0 -2
  981. package/src/Combobox/utils.js +0 -97
  982. package/src/DatePicker/DatePicker.js +0 -132
  983. package/src/DatePicker/DatePicker.stories.mdx +0 -172
  984. package/src/DatePicker/DatePickerCalendar.js +0 -134
  985. package/src/DatePicker/DatePickerTd.js +0 -51
  986. package/src/DatePicker/DatePickerTh.js +0 -39
  987. package/src/DatePicker/__tests__/DatePicker.e2e.js +0 -94
  988. package/src/DatePicker/__tests__/DatePicker.spec.js +0 -39
  989. package/src/DatePicker/compareDates.js +0 -9
  990. package/src/DatePicker/components.js +0 -45
  991. package/src/DatePicker/index.js +0 -1
  992. package/src/DatePicker/utils/formatDate.js +0 -5
  993. package/src/DatePicker/utils/generateWeeks.js +0 -58
  994. package/src/DatePicker/utils/getDayOfWeek.js +0 -24
  995. package/src/DatePicker/utils/getMonths.js +0 -10
  996. package/src/DatePicker/utils/getYears.js +0 -19
  997. package/src/DatePicker/utils/index.js +0 -5
  998. package/src/DatePicker/utils/tests/generateWeeks.spec.js +0 -136
  999. package/src/DatePicker/utils/tests/getMonths.spec.js +0 -21
  1000. package/src/DatePicker/utils/tests/getYears.spec.js +0 -21
  1001. package/src/DateTimePicker/DateTimePicker.js +0 -151
  1002. package/src/DateTimePicker/DateTimePicker.stories.mdx +0 -114
  1003. package/src/DateTimePicker/DateTimePickerProps.js +0 -85
  1004. package/src/DateTimePicker/__tests__/DateTimePicker.e2e.js +0 -103
  1005. package/src/DateTimePicker/__tests__/DateTimePicker.spec.js +0 -89
  1006. package/src/DateTimePicker/__tests__/__snapshots__/DateTimePicker.spec.js.snap +0 -448
  1007. package/src/DateTimePicker/__tests__/parseDate.test.js +0 -10
  1008. package/src/DateTimePicker/index.js +0 -1
  1009. package/src/DateTimePicker/parseDate.js +0 -11
  1010. package/src/Dialog/Dialog.js +0 -86
  1011. package/src/Dialog/Dialog.stories.mdx +0 -78
  1012. package/src/Dialog/DialogBody.js +0 -36
  1013. package/src/Dialog/DialogFooter.js +0 -38
  1014. package/src/Dialog/__tests__/Dialog.e2e.js +0 -20
  1015. package/src/Dialog/__tests__/Dialog.spec.js +0 -28
  1016. package/src/Dialog/index.js +0 -3
  1017. package/src/DismissibleLayer/DismissibleLayer.js +0 -73
  1018. package/src/DismissibleLayer/DismissibleLayer.stories.mdx +0 -50
  1019. package/src/DismissibleLayer/__test__/DimissibleLayer.spec.js +0 -42
  1020. package/src/DismissibleLayer/index.js +0 -1
  1021. package/src/Divider/Divider.js +0 -26
  1022. package/src/Divider/Divider.stories.mdx +0 -55
  1023. package/src/Divider/__tests__/Divider.e2e.js +0 -23
  1024. package/src/Divider/index.js +0 -1
  1025. package/src/EmptyStateLayout/EmptyStateLayout.js +0 -48
  1026. package/src/EmptyStateLayout/EmptyStateLayout.stories.mdx +0 -87
  1027. package/src/EmptyStateLayout/__tests__/EmptyStateLayout.e2e.js +0 -31
  1028. package/src/EmptyStateLayout/index.js +0 -1
  1029. package/src/EmptyStateLayout/story-assets/Illo.js +0 -51
  1030. package/src/Field/Field.js +0 -29
  1031. package/src/Field/Field.stories.mdx +0 -237
  1032. package/src/Field/FieldAction.js +0 -25
  1033. package/src/Field/FieldContext.js +0 -4
  1034. package/src/Field/FieldError.js +0 -17
  1035. package/src/Field/FieldHint.js +0 -17
  1036. package/src/Field/FieldInput.js +0 -129
  1037. package/src/Field/FieldLabel.js +0 -50
  1038. package/src/Field/__tests__/Field.e2e.js +0 -61
  1039. package/src/Field/index.js +0 -7
  1040. package/src/Flex/Flex.js +0 -26
  1041. package/src/Flex/Flex.stories.mdx +0 -45
  1042. package/src/Flex/FlexProps.js +0 -41
  1043. package/src/Flex/__tests__/Flex.e2e.js +0 -23
  1044. package/src/Flex/index.js +0 -1
  1045. package/src/FocusTrap/ExampleComponent.js +0 -71
  1046. package/src/FocusTrap/FocusTrap.js +0 -83
  1047. package/src/FocusTrap/FocusTrap.stories.mdx +0 -32
  1048. package/src/FocusTrap/__tests__/FocusTrap.e2e.js +0 -126
  1049. package/src/FocusTrap/index.js +0 -1
  1050. package/src/Grid/Grid.js +0 -30
  1051. package/src/Grid/Grid.stories.mdx +0 -112
  1052. package/src/Grid/GridContext.js +0 -5
  1053. package/src/Grid/GridItem.js +0 -40
  1054. package/src/Grid/__tests__/Grid.e2e.js +0 -23
  1055. package/src/Grid/index.js +0 -2
  1056. package/src/Icon/Icon.js +0 -27
  1057. package/src/Icon/Icon.stories.mdx +0 -41
  1058. package/src/Icon/__tests__/Icon.e2e.js +0 -21
  1059. package/src/Icon/index.js +0 -1
  1060. package/src/IconButton/IconButton.js +0 -135
  1061. package/src/IconButton/IconButton.stories.mdx +0 -100
  1062. package/src/IconButton/__tests__/IconButton.e2e.js +0 -57
  1063. package/src/IconButton/index.js +0 -1
  1064. package/src/KeyboardNavigable/KeyboardNavigable.js +0 -96
  1065. package/src/KeyboardNavigable/index.js +0 -1
  1066. package/src/Layout/ActionLayout.js +0 -40
  1067. package/src/Layout/ContentLayout.js +0 -15
  1068. package/src/Layout/GridLayout.js +0 -12
  1069. package/src/Layout/GridLayout.stories.mdx +0 -36
  1070. package/src/Layout/HeaderLayout.js +0 -170
  1071. package/src/Layout/HeaderLayout.stories.mdx +0 -175
  1072. package/src/Layout/Layout.js +0 -31
  1073. package/src/Layout/Layout.stories.mdx +0 -240
  1074. package/src/Layout/TwoColsLayout.js +0 -26
  1075. package/src/Layout/TwoColsLayout.stories.mdx +0 -46
  1076. package/src/Layout/__tests__/GridLayout.e2e.js +0 -23
  1077. package/src/Layout/__tests__/HeaderLayout.e2e.js +0 -83
  1078. package/src/Layout/__tests__/Layout.e2e.js +0 -23
  1079. package/src/Layout/__tests__/TwoColsLayout.e2e.js +0 -23
  1080. package/src/Layout/index.js +0 -6
  1081. package/src/Link/Link.js +0 -105
  1082. package/src/Link/Link.stories.mdx +0 -57
  1083. package/src/Link/__tests__/Link.e2e.js +0 -23
  1084. package/src/Link/index.js +0 -1
  1085. package/src/LinkButton/LinkButton.js +0 -113
  1086. package/src/LinkButton/LinkButton.stories.mdx +0 -153
  1087. package/src/LinkButton/__tests__/LinkButton.e2e.js +0 -89
  1088. package/src/LinkButton/index.js +0 -1
  1089. package/src/LiveRegions/LiveRegions.js +0 -13
  1090. package/src/LiveRegions/LiveRegions.stories.mdx +0 -76
  1091. package/src/LiveRegions/StoryComponent.js +0 -26
  1092. package/src/LiveRegions/__tests__/LiveRegions.spec.js +0 -200
  1093. package/src/LiveRegions/constants.js +0 -5
  1094. package/src/LiveRegions/index.js +0 -1
  1095. package/src/LiveRegions/useNotifyAT.js +0 -39
  1096. package/src/Loader/Loader.js +0 -40
  1097. package/src/Loader/Loader.stories.mdx +0 -48
  1098. package/src/Loader/__tests__/Loader.e2e.js +0 -23
  1099. package/src/Loader/assets/loader.svg +0 -3
  1100. package/src/Loader/index.js +0 -1
  1101. package/src/Main/Main.js +0 -24
  1102. package/src/Main/SkipToContent.js +0 -29
  1103. package/src/Main/index.js +0 -2
  1104. package/src/MainNav/MainNav.js +0 -31
  1105. package/src/MainNav/MainNav.stories.mdx +0 -197
  1106. package/src/MainNav/MainNavContext.js +0 -5
  1107. package/src/MainNav/NavBrand.js +0 -76
  1108. package/src/MainNav/NavCondense.js +0 -44
  1109. package/src/MainNav/NavLink.js +0 -143
  1110. package/src/MainNav/NavSection.js +0 -53
  1111. package/src/MainNav/NavSections.js +0 -20
  1112. package/src/MainNav/NavUser.js +0 -53
  1113. package/src/MainNav/__tests__/MainNav.e2e.js +0 -23
  1114. package/src/MainNav/index.js +0 -7
  1115. package/src/MainNav/strapi-img.png +0 -0
  1116. package/src/ModalLayout/ModalBody.js +0 -12
  1117. package/src/ModalLayout/ModalContext.js +0 -4
  1118. package/src/ModalLayout/ModalFooter.js +0 -37
  1119. package/src/ModalLayout/ModalHeader.js +0 -35
  1120. package/src/ModalLayout/ModalLayout.js +0 -58
  1121. package/src/ModalLayout/ModalLayout.stories.mdx +0 -100
  1122. package/src/ModalLayout/__tests__/ModalLayout.e2e.js +0 -19
  1123. package/src/ModalLayout/__tests__/ModalLayout.spec.js +0 -590
  1124. package/src/ModalLayout/index.js +0 -4
  1125. package/src/NumberInput/NumberInput.js +0 -253
  1126. package/src/NumberInput/NumberInput.stories.mdx +0 -319
  1127. package/src/NumberInput/__tests__/NumberInput.e2e.js +0 -194
  1128. package/src/NumberInput/index.js +0 -1
  1129. package/src/Pagination/Pagination.js +0 -37
  1130. package/src/Pagination/Pagination.stories.mdx +0 -97
  1131. package/src/Pagination/PaginationContext.js +0 -4
  1132. package/src/Pagination/__tests__/Pagination.e2e.js +0 -23
  1133. package/src/Pagination/assets/next.svg +0 -3
  1134. package/src/Pagination/assets/previous.svg +0 -3
  1135. package/src/Pagination/components.js +0 -147
  1136. package/src/Pagination/index.js +0 -2
  1137. package/src/Popover/Popover.js +0 -167
  1138. package/src/Popover/Popover.stories.mdx +0 -167
  1139. package/src/Popover/__tests__/Popover.e2e.js +0 -48
  1140. package/src/Popover/__tests__/Popover.spec.js +0 -153
  1141. package/src/Popover/index.js +0 -1
  1142. package/src/Portal/Portal.js +0 -30
  1143. package/src/Portal/Portal.stories.mdx +0 -33
  1144. package/src/Portal/__tests__/Portal.e2e.js +0 -23
  1145. package/src/Portal/index.js +0 -1
  1146. package/src/ProgressBar/ProgressBar.js +0 -57
  1147. package/src/ProgressBar/ProgressBar.stories.mdx +0 -47
  1148. package/src/ProgressBar/__tests__/ProgressBar.e2e.js +0 -41
  1149. package/src/ProgressBar/index.js +0 -1
  1150. package/src/Radio/Radio.js +0 -25
  1151. package/src/Radio/Radio.stories.mdx +0 -66
  1152. package/src/Radio/__tests__/Radio.e2e.js +0 -66
  1153. package/src/Radio/__tests__/Radio.spec.js +0 -56
  1154. package/src/Radio/index.js +0 -2
  1155. package/src/RawTable/RawCell.js +0 -182
  1156. package/src/RawTable/RawTable.js +0 -123
  1157. package/src/RawTable/RawTable.stories.mdx +0 -258
  1158. package/src/RawTable/RawTableContext.js +0 -10
  1159. package/src/RawTable/RawTbody.js +0 -18
  1160. package/src/RawTable/RawThead.js +0 -15
  1161. package/src/RawTable/RawTr.js +0 -20
  1162. package/src/RawTable/__tests__/RawTable.e2e.js +0 -344
  1163. package/src/RawTable/focusFocusable.js +0 -7
  1164. package/src/RawTable/index.js +0 -5
  1165. package/src/Searchbar/SearchForm.js +0 -3
  1166. package/src/Searchbar/Searchbar.js +0 -103
  1167. package/src/Searchbar/Searchbar.stories.mdx +0 -115
  1168. package/src/Searchbar/__tests__/Searchbar.e2e.js +0 -52
  1169. package/src/Searchbar/index.js +0 -2
  1170. package/src/Select/MultiSelectNested.js +0 -31
  1171. package/src/Select/OptGroup.js +0 -27
  1172. package/src/Select/Option.js +0 -123
  1173. package/src/Select/Select.js +0 -318
  1174. package/src/Select/Select.stories.mdx +0 -362
  1175. package/src/Select/SelectButton.js +0 -77
  1176. package/src/Select/SelectList.js +0 -113
  1177. package/src/Select/SelectTags.js +0 -50
  1178. package/src/Select/__tests__/Select.e2e.js +0 -238
  1179. package/src/Select/__tests__/Select.spec.js +0 -1020
  1180. package/src/Select/components.js +0 -51
  1181. package/src/Select/constants.js +0 -6
  1182. package/src/Select/hooks/useButtonRef.js +0 -31
  1183. package/src/Select/hooks/useListRef.js +0 -35
  1184. package/src/Select/index.js +0 -5
  1185. package/src/Select/utils.js +0 -27
  1186. package/src/SimpleMenu/SimpleMenu.js +0 -252
  1187. package/src/SimpleMenu/SimpleMenu.stories.mdx +0 -220
  1188. package/src/SimpleMenu/__tests__/SimpleMenu.e2e.js +0 -98
  1189. package/src/SimpleMenu/__tests__/SimpleMenu.spec.js +0 -48
  1190. package/src/SimpleMenu/index.js +0 -1
  1191. package/src/SimpleMenu/utils.js +0 -12
  1192. package/src/Stack/Stack.js +0 -75
  1193. package/src/Stack/Stack.stories.mdx +0 -66
  1194. package/src/Stack/__tests__/Stack.e2e.js +0 -43
  1195. package/src/Stack/index.js +0 -1
  1196. package/src/Status/Status.js +0 -76
  1197. package/src/Status/Status.stories.mdx +0 -75
  1198. package/src/Status/__tests__/Status.e2e.js +0 -23
  1199. package/src/Status/__tests__/Status.spec.js +0 -48
  1200. package/src/Status/index.js +0 -1
  1201. package/src/SubNav/SubNav.js +0 -25
  1202. package/src/SubNav/SubNav.stories.mdx +0 -234
  1203. package/src/SubNav/SubNavHeader.js +0 -122
  1204. package/src/SubNav/SubNavLink.js +0 -92
  1205. package/src/SubNav/SubNavLinkSection.js +0 -75
  1206. package/src/SubNav/SubNavSection.js +0 -75
  1207. package/src/SubNav/SubNavSectionLabel.js +0 -67
  1208. package/src/SubNav/SubNavSections.js +0 -20
  1209. package/src/SubNav/__tests__/SubNav.e2e.js +0 -23
  1210. package/src/SubNav/index.js +0 -6
  1211. package/src/Switch/Switch.js +0 -97
  1212. package/src/Switch/Switch.stories.mdx +0 -55
  1213. package/src/Switch/__tests__/Switch.e2e.js +0 -33
  1214. package/src/Switch/index.js +0 -1
  1215. package/src/Table/Cell.js +0 -49
  1216. package/src/Table/TFooter.js +0 -58
  1217. package/src/Table/Table.js +0 -96
  1218. package/src/Table/Table.stories.mdx +0 -330
  1219. package/src/Table/Tbody.js +0 -13
  1220. package/src/Table/Thead.js +0 -11
  1221. package/src/Table/Tr.js +0 -28
  1222. package/src/Table/__tests__/Table.e2e.js +0 -41
  1223. package/src/Table/index.js +0 -6
  1224. package/src/Tabs/TabGroup.js +0 -46
  1225. package/src/Tabs/TabPanels.js +0 -32
  1226. package/src/Tabs/Tabs.js +0 -227
  1227. package/src/Tabs/Tabs.stories.mdx +0 -211
  1228. package/src/Tabs/TabsContext.js +0 -5
  1229. package/src/Tabs/__tests__/Tabs.e2e.js +0 -253
  1230. package/src/Tabs/components.js +0 -66
  1231. package/src/Tabs/index.js +0 -3
  1232. package/src/Tabs/useTabsFocus.js +0 -28
  1233. package/src/Tag/Tag.js +0 -72
  1234. package/src/Tag/Tag.stories.mdx +0 -47
  1235. package/src/Tag/__tests__/Tag.e2e.js +0 -37
  1236. package/src/Tag/index.js +0 -1
  1237. package/src/TextButton/TextButton.js +0 -102
  1238. package/src/TextButton/TextButton.stories.mdx +0 -71
  1239. package/src/TextButton/__tests__/TextButton.e2e.js +0 -23
  1240. package/src/TextButton/index.js +0 -1
  1241. package/src/TextInput/TextInput.js +0 -67
  1242. package/src/TextInput/TextInput.stories.mdx +0 -228
  1243. package/src/TextInput/__tests__/TextInput.e2e.js +0 -73
  1244. package/src/TextInput/index.js +0 -1
  1245. package/src/Textarea/Textarea.js +0 -74
  1246. package/src/Textarea/Textarea.stories.mdx +0 -105
  1247. package/src/Textarea/TextareaInput.js +0 -77
  1248. package/src/Textarea/__tests__/Textarea.e2e.js +0 -37
  1249. package/src/Textarea/index.js +0 -1
  1250. package/src/ThemeProvider/ThemeProvider.js +0 -193
  1251. package/src/ThemeProvider/hooks.js +0 -5
  1252. package/src/ThemeProvider/index.js +0 -2
  1253. package/src/TimePicker/TimePicker.js +0 -128
  1254. package/src/TimePicker/TimePicker.stories.mdx +0 -171
  1255. package/src/TimePicker/__tests__/TimePicker.e2e.js +0 -37
  1256. package/src/TimePicker/__tests__/TimePicker.spec.js +0 -2099
  1257. package/src/TimePicker/index.js +0 -1
  1258. package/src/ToggleCheckbox/ToggleCheckbox.js +0 -169
  1259. package/src/ToggleCheckbox/ToggleCheckbox.stories.mdx +0 -96
  1260. package/src/ToggleCheckbox/__tests__/ToggleCheckbox.e2e.js +0 -59
  1261. package/src/ToggleCheckbox/index.js +0 -1
  1262. package/src/ToggleInput/ToggleInput.js +0 -89
  1263. package/src/ToggleInput/ToggleInput.stories.mdx +0 -171
  1264. package/src/ToggleInput/__tests__/ToggleInput.e2e.js +0 -109
  1265. package/src/ToggleInput/index.js +0 -1
  1266. package/src/Tooltip/Tooltip.js +0 -72
  1267. package/src/Tooltip/Tooltip.stories.mdx +0 -127
  1268. package/src/Tooltip/__tests__/Tooltip.e2e.js +0 -33
  1269. package/src/Tooltip/__tests__/Tooltip.spec.js +0 -306
  1270. package/src/Tooltip/hooks/useTooltipHandlers.js +0 -39
  1271. package/src/Tooltip/hooks/useTooltipLayout.js +0 -21
  1272. package/src/Tooltip/index.js +0 -1
  1273. package/src/Tooltip/utils/__tests__/positionTooltip.spec.js +0 -114
  1274. package/src/Tooltip/utils/positionTooltip.js +0 -83
  1275. package/src/Typography/Typography.js +0 -24
  1276. package/src/Typography/Typography.stories.mdx +0 -86
  1277. package/src/Typography/TypographyProps.js +0 -30
  1278. package/src/Typography/__tests__/Typography.e2e.js +0 -25
  1279. package/src/Typography/__tests__/Typography.spec.js +0 -32
  1280. package/src/Typography/__tests__/__snapshots__/Typography.spec.js.snap +0 -103
  1281. package/src/Typography/constants.js +0 -9
  1282. package/src/Typography/index.js +0 -1
  1283. package/src/Typography/utils.js +0 -69
  1284. package/src/VisuallyHidden/VisuallyHidden.js +0 -12
  1285. package/src/VisuallyHidden/index.js +0 -1
  1286. package/src/helpers/__tests__/useId.spec.js +0 -39
  1287. package/src/helpers/escapeSelector.js +0 -1
  1288. package/src/helpers/genId.js +0 -2
  1289. package/src/helpers/getDefaultLocale.js +0 -33
  1290. package/src/helpers/getFocusableNodes.js +0 -35
  1291. package/src/helpers/handleResponsiveValues.js +0 -34
  1292. package/src/helpers/keyboardKeys.js +0 -17
  1293. package/src/helpers/setOpacity.js +0 -4
  1294. package/src/helpers/setTabIndexOnFirstItem.js +0 -7
  1295. package/src/helpers/useElementOnScreen.js +0 -27
  1296. package/src/helpers/useId.js +0 -8
  1297. package/src/helpers/useIntersection.js +0 -31
  1298. package/src/helpers/useLockScroll.js +0 -14
  1299. package/src/helpers/usePrevious.js +0 -9
  1300. package/src/helpers/useResizeObserver.js +0 -22
  1301. package/src/index.js +0 -65
  1302. package/src/themes/ColorButton.js +0 -24
  1303. package/src/themes/Theme.stories.mdx +0 -227
  1304. package/src/themes/__tests__/extendTheme.spec.js +0 -119
  1305. package/src/themes/colors.js +0 -46
  1306. package/src/themes/common-theme.js +0 -19
  1307. package/src/themes/darkTheme/dark-colors.js +0 -49
  1308. package/src/themes/darkTheme/dark-shadows.js +0 -10
  1309. package/src/themes/darkTheme/index.js +0 -9
  1310. package/src/themes/extendTheme.js +0 -60
  1311. package/src/themes/index.js +0 -4
  1312. package/src/themes/lightTheme/index.js +0 -9
  1313. package/src/themes/lightTheme/light-colors.js +0 -49
  1314. package/src/themes/lightTheme/light-shadows.js +0 -10
  1315. package/src/themes/sizes.js +0 -10
  1316. package/src/themes/utils.js +0 -50
  1317. package/src/v2/Breadcrumbs/Breadcrumbs.js +0 -45
  1318. package/src/v2/Breadcrumbs/Breadcrumbs.stories.mdx +0 -129
  1319. package/src/v2/Breadcrumbs/Crumb.js +0 -30
  1320. package/src/v2/Breadcrumbs/CrumbLink.js +0 -33
  1321. package/src/v2/Breadcrumbs/CrumbSimpleMenu.js +0 -30
  1322. package/src/v2/Breadcrumbs/Divider.js +0 -16
  1323. package/src/v2/Breadcrumbs/__tests__/Breadcrumbs.e2e.js +0 -47
  1324. package/src/v2/Breadcrumbs/__tests__/Breadcrumbs.spec.js +0 -47
  1325. package/src/v2/Breadcrumbs/index.js +0 -4
  1326. package/src/v2/Link/Link.js +0 -79
  1327. package/src/v2/Link/Link.stories.mdx +0 -113
  1328. package/src/v2/Link/__tests__/Link.e2e.js +0 -23
  1329. package/src/v2/Link/index.js +0 -1
  1330. package/src/v2/LinkButton/LinkButton.js +0 -105
  1331. package/src/v2/LinkButton/LinkButton.stories.mdx +0 -153
  1332. package/src/v2/LinkButton/__tests__/LinkButton.e2e.js +0 -89
  1333. package/src/v2/LinkButton/index.js +0 -1
  1334. package/src/v2/MainNav/MainNav.js +0 -31
  1335. package/src/v2/MainNav/MainNav.stories.mdx +0 -197
  1336. package/src/v2/MainNav/MainNavContext.js +0 -5
  1337. package/src/v2/MainNav/NavBrand.js +0 -79
  1338. package/src/v2/MainNav/NavCondense.js +0 -44
  1339. package/src/v2/MainNav/NavLink.js +0 -143
  1340. package/src/v2/MainNav/NavSection.js +0 -53
  1341. package/src/v2/MainNav/NavSections.js +0 -20
  1342. package/src/v2/MainNav/NavUser.js +0 -53
  1343. package/src/v2/MainNav/__tests__/MainNav.e2e.js +0 -23
  1344. package/src/v2/MainNav/index.js +0 -7
  1345. package/src/v2/MainNav/strapi-img.png +0 -0
  1346. package/src/v2/Pagination/Pagination.js +0 -37
  1347. package/src/v2/Pagination/Pagination.stories.mdx +0 -97
  1348. package/src/v2/Pagination/PaginationContext.js +0 -4
  1349. package/src/v2/Pagination/__tests__/Pagination.e2e.js +0 -23
  1350. package/src/v2/Pagination/assets/next.svg +0 -3
  1351. package/src/v2/Pagination/assets/previous.svg +0 -3
  1352. package/src/v2/Pagination/components.js +0 -136
  1353. package/src/v2/Pagination/index.js +0 -2
  1354. package/src/v2/SimpleMenu/SimpleMenu.js +0 -252
  1355. package/src/v2/SimpleMenu/SimpleMenu.stories.mdx +0 -220
  1356. package/src/v2/SimpleMenu/__tests__/SimpleMenu.e2e.js +0 -100
  1357. package/src/v2/SimpleMenu/__tests__/SimpleMenu.spec.js +0 -48
  1358. package/src/v2/SimpleMenu/index.js +0 -1
  1359. package/src/v2/SimpleMenu/utils.js +0 -12
  1360. package/src/v2/SubNav/SubNav.js +0 -25
  1361. package/src/v2/SubNav/SubNav.stories.mdx +0 -234
  1362. package/src/v2/SubNav/SubNavHeader.js +0 -122
  1363. package/src/v2/SubNav/SubNavLink.js +0 -95
  1364. package/src/v2/SubNav/SubNavLinkSection.js +0 -75
  1365. package/src/v2/SubNav/SubNavSection.js +0 -75
  1366. package/src/v2/SubNav/SubNavSectionLabel.js +0 -67
  1367. package/src/v2/SubNav/SubNavSections.js +0 -20
  1368. package/src/v2/SubNav/__tests__/SubNav.e2e.js +0 -23
  1369. package/src/v2/SubNav/index.js +0 -6
  1370. package/src/v2/index.js +0 -7
  1371. package/test-bundler.js +0 -35
  1372. package/tests/check-exports.spec.js +0 -36
  1373. package/vite.config.js +0 -35
package/Popover.js ADDED
@@ -0,0 +1,9 @@
1
+
2
+ 'use strict';
3
+
4
+ if (process.env.NODE_ENV === "production") {
5
+ module.exports = require("./Popover.production.js");
6
+ } else {
7
+ module.exports = require("./Popover.development.js");
8
+ }
9
+
@@ -0,0 +1 @@
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("styled-components"),require("react-dom")):"function"==typeof define&&define.amd?define("strapiDs",["react","styled-components","react-dom"],e):"object"==typeof exports?exports.strapiDs=e(require("react"),require("styled-components"),require("react-dom")):t.strapiDs=e(t.react,t["styled-components"],t["react-dom"])}(this,(function(t,e,n){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=41)}([function(t,e,n){t.exports=n(24)()},function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var r=n(30);t.exports=function(t,e){if(null==t)return{};var n,o,i=r(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,n.apply(this,arguments)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){"use strict";n.r(e),n.d(e,"Box",(function(){return y}));var r,o=n(3),i=n.n(o),a=n(2),c=n.n(a),s=n(7),u=n(1),l=n.n(u),f=n(0),d=n.n(f),p=function(t){return l.a.createElement("div",t)},h={background:void 0,borderColor:void 0,color:void 0,hiddenS:!1,hiddenXS:!1,padding:void 0,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,hasRadius:!1,shadow:void 0,children:null,shrink:void 0,grow:void 0,basis:void 0,flex:void 0,_hover:function(){}},m={_hover:d.a.func,background:d.a.string,basis:d.a.oneOfType([d.a.string,d.a.string]),borderColor:d.a.string,children:d.a.oneOfType([d.a.node,d.a.string]),color:d.a.string,flex:d.a.oneOfType([d.a.string,d.a.string]),grow:d.a.oneOfType([d.a.string,d.a.string]),hasRadius:d.a.bool,hiddenS:d.a.bool,hiddenXS:d.a.bool,padding:d.a.oneOfType([d.a.number,d.a.arrayOf(d.a.number)]),paddingBottom:d.a.oneOfType([d.a.number,d.a.arrayOf(d.a.number)]),paddingLeft:d.a.oneOfType([d.a.number,d.a.arrayOf(d.a.number)]),paddingRight:d.a.oneOfType([d.a.number,d.a.arrayOf(d.a.number)]),paddingTop:d.a.oneOfType([d.a.number,d.a.arrayOf(d.a.number)]),shadow:d.a.string,shrink:d.a.oneOfType([d.a.string,d.a.string])};p.defaultProps=h,p.propTypes=m;var g={color:!0},y=c.a.div.withConfig({shouldForwardProp:function(t,e){return!g[t]&&e(t)}})(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(t){var e=t.fontSize;return t.theme.fontSizes[e]||e}),(function(t){var e=t.theme,n=t.background;return e.colors[n]}),(function(t){var e=t.theme,n=t.color;return e.colors[n]}),(function(t){var e=t.theme,n=t.padding;return Object(s.a)("padding",n,e)}),(function(t){var e=t.theme,n=t.paddingTop;return Object(s.a)("padding-top",n,e)}),(function(t){var e=t.theme,n=t.paddingRight;return Object(s.a)("padding-right",n,e)}),(function(t){var e=t.theme,n=t.paddingBottom;return Object(s.a)("padding-bottom",n,e)}),(function(t){var e=t.theme,n=t.paddingLeft;return Object(s.a)("padding-left",n,e)}),(function(t){var e=t.theme,n=t.marginLeft;return Object(s.a)("margin-left",n,e)}),(function(t){var e=t.theme,n=t.marginRight;return Object(s.a)("margin-right",n,e)}),(function(t){var e=t.theme,n=t.marginTop;return Object(s.a)("margin-top",n,e)}),(function(t){var e=t.theme,n=t.marginBottom;return Object(s.a)("margin-bottom",n,e)}),(function(t){var e=t.theme;return t.hiddenS?"".concat(e.mediaQueries.tablet," { display: none; }"):void 0}),(function(t){var e=t.theme;return t.hiddenXS?"".concat(e.mediaQueries.mobile," { display: none; }"):void 0}),(function(t){var e=t.theme,n=t.hasRadius,r=t.borderRadius;return n?e.borderRadius:r}),(function(t){return t.borderStyle}),(function(t){return t.borderWidth}),(function(t){var e=t.borderColor;return t.theme.colors[e]}),(function(t){var e=t.theme,n=t.borderColor,r=t.borderStyle,o=t.borderWidth;if(n&&!r&&!o)return"1px solid ".concat(e.colors[n])}),(function(t){var e=t.theme,n=t.shadow;return e.shadows[n]}),(function(t){return t.pointerEvents}),(function(t){var e=t._hover,n=t.theme;return e?e(n):void 0}),(function(t){return t.display}),(function(t){return t.position}),(function(t){var e=t.left;return t.theme.spaces[e]||e}),(function(t){var e=t.right;return t.theme.spaces[e]||e}),(function(t){var e=t.top;return t.theme.spaces[e]||e}),(function(t){var e=t.bottom;return t.theme.spaces[e]||e}),(function(t){return t.zIndex}),(function(t){return t.overflow}),(function(t){return t.cursor}),(function(t){var e=t.width;return t.theme.spaces[e]||e}),(function(t){var e=t.maxWidth;return t.theme.spaces[e]||e}),(function(t){var e=t.minWidth;return t.theme.spaces[e]||e}),(function(t){var e=t.height;return t.theme.spaces[e]||e}),(function(t){var e=t.maxHeight;return t.theme.spaces[e]||e}),(function(t){var e=t.minHeight;return t.theme.spaces[e]||e}),(function(t){return t.transition}),(function(t){return t.transform}),(function(t){return t.animation}),(function(t){return t.shrink}),(function(t){return t.grow}),(function(t){return t.basis}),(function(t){return t.flex}),(function(t){return t.textAlign}),(function(t){return t.textTransform}),(function(t){return t.lineHeight}),(function(t){return t.cursor}));y.defaultProps=h,y.propTypes=m},function(t,e,n){"use strict";var r=n(11),o=n.n(r),i=n(16),a=n.n(i);e.a=function(t,e,n){var r=e;if(Array.isArray(e)||"object"!==a()(e)||(r=[null==e?void 0:e.desktop,null==e?void 0:e.tablet,null==e?void 0:e.mobile]),void 0!==r){if(Array.isArray(r)){var i=r,c=o()(i,3),s=c[0],u=c[1],l=c[2],f="".concat(t,": ").concat(n.spaces[s],";");return void 0!==u&&(f+="".concat(n.mediaQueries.tablet,"{\n ").concat(t,": ").concat(n.spaces[u],";\n }")),void 0!==l&&(f+="".concat(n.mediaQueries.mobile,"{\n ").concat(t,": ").concat(n.spaces[l],";\n }")),f}var d=n.spaces[r]||r;return"".concat(t,": ").concat(d,";")}}},,,,function(t,e,n){var r=n(27),o=n(28),i=n(26),a=n(29);t.exports=function(t,e){return r(t)||o(t,e)||i(t,e)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},,,,,function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=n=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},,,,,,,function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){"use strict";var r=n(25);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,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 e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){var r=n(23);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){c=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.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.")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o},t.exports.default=t.exports,t.exports.__esModule=!0},,,,function(t,e){t.exports=n},function(t,e,n){"use strict";n.r(e),n.d(e,"Portal",(function(){return c}));var r=n(11),o=n.n(r),i=n(1),a=n(34),c=function(t){var e=t.children,n=Object(i.useRef)(null),r=Object(i.useState)(!1),c=o()(r,2),s=c[0],u=c[1];return Object(i.useLayoutEffect)((function(){return n.current=document.createElement("div"),n.current.setAttribute("data-react-portal","true"),document.body.appendChild(n.current),u(!0),function(){var t;null===(t=n.current)||void 0===t||t.remove()}}),[]),s&&n.current?Object(a.createPortal)(e,n.current):null}},,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"POPOVER_PLACEMENTS",(function(){return xt})),n.d(e,"Popover",(function(){return Tt}));var r=n(5),o=n.n(r),i=n(11),a=n.n(i),c=n(4),s=n.n(c),u=n(3),l=n.n(u),f=n(1),d=n(0),p=n.n(d),h=n(2),m=n.n(h);function g(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function b(t){return["top","bottom"].includes(g(t))?"x":"y"}function v(t){return"y"===t?"height":"width"}function x(t,e,n){let{reference:r,floating:o}=t;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,c=b(e),s=v(c),u=r[s]/2-o[s]/2,l="x"===c;let f;switch(g(e)){case"top":f={x:i,y:r.y-o.height};break;case"bottom":f={x:i,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:a};break;case"left":f={x:r.x-o.width,y:a};break;default:f={x:r.x,y:r.y}}switch(y(e)){case"start":f[c]-=u*(n&&l?-1:1);break;case"end":f[c]+=u*(n&&l?-1:1)}return f}function w(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function O(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function R(t,e){var n;void 0===e&&(e={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=e,h=w(p),m=c[d?"floating"===f?"reference":"floating":f],g=O(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:l,strategy:s})),y=O(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),strategy:s}):a[f]);return{top:g.top-y.top+h.top,bottom:y.bottom-g.bottom+h.bottom,left:g.left-y.left+h.left,right:y.right-g.right+h.right}}const T=Math.min,E=Math.max;function S(t,e,n){return E(t,T(e,n))}const _={left:"right",right:"left",bottom:"top",top:"bottom"};function j(t){return t.replace(/left|right|bottom|top/g,t=>_[t])}function P(t,e,n){void 0===n&&(n=!1);const r=y(t),o=b(t),i=v(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=j(a)),{main:a,cross:j(a)}}const A={start:"end",end:"start"};function k(t){return t.replace(/start|end/g,t=>A[t])}const L=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:c,elements:s}=e,{mainAxis:u=!0,crossAxis:l=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...h}=t,m=g(r),y=[a,...f||(m===a||!p?[j(a)]:function(t){const e=j(t);return[k(t),e,k(e)]}(a))],b=await R(e,h),v=[];let x=(null==(n=o.flip)?void 0:n.overflows)||[];if(u&&v.push(b[m]),l){const{main:t,cross:e}=P(r,i,await(null==c.isRTL?void 0:c.isRTL(s.floating)));v.push(b[t],b[e])}if(x=[...x,{placement:r,overflows:v}],!v.every(t=>t<=0)){var w,O;const t=(null!=(w=null==(O=o.flip)?void 0:O.index)?w:0)+1,e=y[t];if(e)return{data:{index:t,overflows:x},reset:{placement:e}};let n="bottom";switch(d){case"bestFit":{var T;const t=null==(T=x.map(t=>[t,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:T[0].placement;t&&(n=t);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}};const M=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){const{x:n,y:r}=e,o=await async function(t,e){const{placement:n,platform:r,elements:o}=t,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=g(n),c=y(n),s="x"===b(n),u=["left","top"].includes(a)?-1:1,l=i&&s?-1:1,f="function"==typeof e?e(t):e;let{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&"number"==typeof h&&(p="end"===c?-1*h:h),s?{x:p*l,y:d*u}:{x:d*u,y:p*l}}(e,t);return{x:n+o.x,y:r+o.y,data:o}}}};function W(t){return"x"===t?"y":"x"}function C(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function D(t){if(null==t)return window;if(!C(t)){const e=t.ownerDocument;return e&&e.defaultView||window}return t}function H(t){return D(t).getComputedStyle(t)}function I(t){return C(t)?"":t?(t.nodeName||"").toLowerCase():""}function z(){const t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function B(t){return t instanceof D(t).HTMLElement}function q(t){return t instanceof D(t).Element}function N(t){if("undefined"==typeof ShadowRoot)return!1;return t instanceof D(t).ShadowRoot||t instanceof ShadowRoot}function V(t){const{overflow:e,overflowX:n,overflowY:r}=H(t);return/auto|scroll|overlay|hidden/.test(e+r+n)}function F(t){return["table","td","th"].includes(I(t))}function X(t){const e=/firefox/i.test(z()),n=H(t);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||e&&"filter"===n.willChange||e&&!!n.filter&&"none"!==n.filter}function Q(){return!/^((?!chrome|android).)*safari/i.test(z())}const U=Math.min,Y=Math.max,$=Math.round;function G(t,e,n){var r,o,i,a;void 0===e&&(e=!1),void 0===n&&(n=!1);const c=t.getBoundingClientRect();let s=1,u=1;e&&B(t)&&(s=t.offsetWidth>0&&$(c.width)/t.offsetWidth||1,u=t.offsetHeight>0&&$(c.height)/t.offsetHeight||1);const l=q(t)?D(t):window,f=!Q()&&n,d=(c.left+(f&&null!=(r=null==(o=l.visualViewport)?void 0:o.offsetLeft)?r:0))/s,p=(c.top+(f&&null!=(i=null==(a=l.visualViewport)?void 0:a.offsetTop)?i:0))/u,h=c.width/s,m=c.height/u;return{width:h,height:m,top:p,right:d+h,bottom:p+m,left:d,x:d,y:p}}function J(t){return(e=t,(e instanceof D(e).Node?t.ownerDocument:t.document)||window.document).documentElement;var e}function K(t){return q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Z(t){return G(J(t)).left+K(t).scrollLeft}function tt(t,e,n){const r=B(e),o=J(e),i=G(t,r&&function(t){const e=G(t);return $(e.width)!==t.offsetWidth||$(e.height)!==t.offsetHeight}(e),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==I(e)||V(o))&&(a=K(e)),B(e)){const t=G(e,!0);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else o&&(c.x=Z(o));return{x:i.left+a.scrollLeft-c.x,y:i.top+a.scrollTop-c.y,width:i.width,height:i.height}}function et(t){return"html"===I(t)?t:t.assignedSlot||t.parentNode||(N(t)?t.host:null)||J(t)}function nt(t){return B(t)&&"fixed"!==H(t).position?function(t){let{offsetParent:e}=t,n=t,r=!1;for(;n&&n!==e;){const{assignedSlot:t}=n;if(t){let o=t.offsetParent;if("contents"===H(t).display){const e=t.hasAttribute("style"),r=t.style.display;t.style.display=H(n).display,o=t.offsetParent,t.style.display=r,e||t.removeAttribute("style")}n=t,e!==o&&(e=o,r=!0)}else if(N(n)&&n.host&&r)break;n=N(n)&&n.host||n.parentNode}return e}(t):null}function rt(t){const e=D(t);let n=nt(t);for(;n&&F(n)&&"static"===H(n).position;)n=nt(n);return n&&("html"===I(n)||"body"===I(n)&&"static"===H(n).position&&!X(n))?e:n||function(t){let e=et(t);for(N(e)&&(e=e.host);B(e)&&!["html","body"].includes(I(e));){if(X(e))return e;{const t=e.parentNode;e=N(t)?t.host:t}}return null}(t)||e}function ot(t){if(B(t))return{width:t.offsetWidth,height:t.offsetHeight};const e=G(t);return{width:e.width,height:e.height}}function it(t,e){var n;void 0===e&&(e=[]);const r=function t(e){const n=et(e);return["html","body","#document"].includes(I(n))?e.ownerDocument.body:B(n)&&V(n)?n:t(n)}(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),i=D(r),a=o?[i].concat(i.visualViewport||[],V(r)?r:[]):r,c=e.concat(a);return o?c:c.concat(it(a))}function at(t,e,n){return"viewport"===e?O(function(t,e){const n=D(t),r=J(t),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,s=0;if(o){i=o.width,a=o.height;const t=Q();(t||!t&&"fixed"===e)&&(c=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:c,y:s}}(t,n)):q(e)?function(t,e){const n=G(t,!1,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft;return{top:r,left:o,x:o,y:r,right:o+t.clientWidth,bottom:r+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}(e,n):O(function(t){var e;const n=J(t),r=K(t),o=null==(e=t.ownerDocument)?void 0:e.body,i=Y(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Y(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let c=-r.scrollLeft+Z(t);const s=-r.scrollTop;return"rtl"===H(o||n).direction&&(c+=Y(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:s}}(J(t)))}function ct(t){const e=it(t),n=["absolute","fixed"].includes(H(t).position)&&B(t)?rt(t):t;return q(n)?e.filter(t=>q(t)&&function(t,e){const n=null==e.getRootNode?void 0:e.getRootNode();if(t.contains(e))return!0;if(n&&N(n)){let n=e;do{if(n&&t===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(t,n)&&"body"!==I(t)):[]}const st={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i=[..."clippingAncestors"===n?ct(e):[].concat(n),r],a=i[0],c=i.reduce((t,n)=>{const r=at(e,n,o);return t.top=Y(r.top,t.top),t.right=U(r.right,t.right),t.bottom=U(r.bottom,t.bottom),t.left=Y(r.left,t.left),t},at(e,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const o=B(n),i=J(n);if(n===i)return e;let a={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==I(n)||V(i))&&(a=K(n)),B(n))){const t=G(n,!0);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}return{...e,x:e.x-a.scrollLeft+c.x,y:e.y-a.scrollTop+c.y}},isElement:q,getDimensions:ot,getOffsetParent:rt,getDocumentElement:J,getElementRects:t=>{let{reference:e,floating:n,strategy:r}=t;return{reference:tt(e,rt(n),r),floating:{...ot(n),x:0,y:0}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===H(t).direction};function ut(t,e,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:c=!1}=r,s=o&&!c,u=i&&!c,l=s||u?[...q(t)?it(t):[],...it(e)]:[];l.forEach(t=>{s&&t.addEventListener("scroll",n,{passive:!0}),u&&t.addEventListener("resize",n)});let f,d=null;if(a){let r=!0;d=new ResizeObserver(()=>{r||n(),r=!1}),q(t)&&!c&&d.observe(t),d.observe(e)}let p=c?G(t):null;return c&&function e(){const r=G(t);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n();p=r,f=requestAnimationFrame(e)}(),n(),()=>{var t;l.forEach(t=>{s&&t.removeEventListener("scroll",n),u&&t.removeEventListener("resize",n)}),null==(t=d)||t.disconnect(),d=null,c&&cancelAnimationFrame(f)}}const lt=(t,e,n)=>(async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,c=await(null==a.isRTL?void 0:a.isRTL(e));let s=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:l}=x(s,r,c),f=r,d={},p=0;for(let n=0;n<i.length;n++){const{name:h,fn:m}=i[n],{x:g,y:y,data:b,reset:v}=await m({x:u,y:l,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:s,platform:a,elements:{reference:t,floating:e}});u=null!=g?g:u,l=null!=y?y:l,d={...d,[h]:{...d[h],...b}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:o}):v.rects),({x:u,y:l}=x(s,f,c))),n=-1)}return{x:u,y:l,placement:f,strategy:o,middlewareData:d}})(t,e,{platform:st,...n});var ft=n(34),dt="undefined"!=typeof document?f.useLayoutEffect:f.useEffect;function pt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(r=n;0!=r--;)if(!pt(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!t.$$typeof)&&!pt(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function ht(t){let{middleware:e,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=void 0===t?{}:t;const[i,a]=f.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[c,s]=f.useState(e);pt(null==c?void 0:c.map(t=>{let{name:e,options:n}=t;return{name:e,options:n}}),null==e?void 0:e.map(t=>{let{name:e,options:n}=t;return{name:e,options:n}}))||s(e);const u=f.useRef(null),l=f.useRef(null),d=f.useRef(null),p=f.useRef(i),h=function(t){const e=f.useRef(t);return dt(()=>{e.current=t}),e}(o),m=f.useCallback(()=>{u.current&&l.current&&lt(u.current,l.current,{middleware:c,placement:n,strategy:r}).then(t=>{g.current&&!pt(p.current,t)&&(p.current=t,ft.flushSync(()=>{a(t)}))})},[c,n,r]);dt(()=>{g.current&&m()},[m]);const g=f.useRef(!1);dt(()=>(g.current=!0,()=>{g.current=!1}),[]);const y=f.useCallback(()=>{if("function"==typeof d.current&&(d.current(),d.current=null),u.current&&l.current)if(h.current){const t=h.current(u.current,l.current,m);d.current=t}else m()},[m,h]),b=f.useCallback(t=>{u.current=t,y()},[y]),v=f.useCallback(t=>{l.current=t,y()},[y]),x=f.useMemo(()=>({reference:u,floating:l}),[]);return f.useMemo(()=>({...i,update:m,refs:x,reference:b,floating:v}),[i,m,x,b,v])}var mt,gt,yt=n(6),bt=n(35),vt=["source","children","spacing","fullWidth","placement","onReachEnd","intersectionId","centered"],xt=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],wt=m()(yt.Box)(mt||(mt=l()(["\n box-shadow: ",";\n z-index: 4;\n border: 1px solid ",";\n background: ",";\n"])),(function(t){return t.theme.shadows.filterShadow}),(function(t){return t.theme.colors.neutral150}),(function(t){return t.theme.colors.neutral0})),Ot=m()(yt.Box)(gt||(gt=l()(["\n // 16 is base base size, 3 is the factor to get closer to 40px and 5 is the number of elements visible in the list\n max-height: ","rem;\n overflow-y: auto;\n overflow-x: hidden;\n\n &::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 4px;\n }\n\n &::-webkit-scrollbar-track {\n background: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n background: ",";\n border-radius: ",";\n margin-right: 10px;\n }\n"])),15,(function(t){return t.theme.colors.neutral0}),(function(t){return t.theme.colors.neutral150}),(function(t){return t.theme.borderRadius})),Rt=function(t){var e,n,r,i,c,u,l,d=t.source,p=t.children,h=t.spacing,m=t.fullWidth,y=t.placement,v=t.onReachEnd,x=t.intersectionId,w=t.centered,O=s()(t,vt),T=f.useRef(null),E=f.useState(void 0),_=a()(E,2),j=_[0],P=_[1],A=ht({strategy:"fixed",placement:w?"bottom":y,middleware:[M({mainAxis:h}),(void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=e,u={x:n,y:r},l=await R(t,s),f=b(g(o)),d=W(f);let p=u[f],h=u[d];if(i){const t="y"===f?"bottom":"right";p=S(p+l["y"===f?"top":"left"],p,p-l[t])}if(a){const t="y"===d?"bottom":"right";h=S(h+l["y"===d?"top":"left"],h,h-l[t])}const m=c.fn({...t,[f]:p,[d]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}),L()],whileElementsMounted:ut}),k=A.x,C=A.y,D=A.reference,H=A.floating,I=A.strategy;return f.useLayoutEffect((function(){D(d.current)}),[d]),f.useLayoutEffect((function(){m&&P(d.current.offsetWidth)}),[m]),n=T,r=v,i={selectorToWatch:"#".concat(x),skipWhen:!x||!v},c=i.selectorToWatch,u=i.skipWhen,l=void 0!==u&&u,Object(f.useEffect)((function(){if(!l){var t={root:n.current,rootMargin:"0px"},e=new IntersectionObserver((function(t){t.forEach((function(t){t.isIntersecting&&n.current.scrollHeight>n.current.clientHeight&&r(t)}))}),t),o=n.current.querySelector(c);return e.observe(o),function(){e.disconnect()}}}),[l,r,c]),f.createElement(wt,{ref:H,style:{left:k,top:C,position:I,width:j||void 0},hasRadius:!0,background:"neutral0",padding:1},f.createElement(Ot,o()({ref:T},O),p,x&&v&&f.createElement(yt.Box,{id:x,width:"100%",height:"1px"})))},Tt=function(t){return f.createElement(bt.Portal,null,f.createElement(Rt,t))},Et={fullWidth:!1,intersectionId:void 0,onReachEnd:void 0,centered:!1,placement:"bottom-start"},St={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(xt),source:p.a.shape({current:("undefined"==typeof Element?p.a.any:p.a.instanceOf(Element)).isRequired}).isRequired,spacing:p.a.number};Rt.propTypes=St,Rt.defaultProps=Et,Tt.propTypes=St,Tt.defaultProps=Et}])}));
@@ -0,0 +1,212 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("react"), require("react-dom"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define("strapiDs", ["react", "react-dom"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["strapiDs"] = factory(require("react"), require("react-dom"));
8
+ else
9
+ root["strapiDs"] = factory(root["react"], root["react-dom"]);
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_dom__) {
11
+ return /******/ (function(modules) { // webpackBootstrap
12
+ /******/ // The module cache
13
+ /******/ var installedModules = {};
14
+ /******/
15
+ /******/ // The require function
16
+ /******/ function __webpack_require__(moduleId) {
17
+ /******/
18
+ /******/ // Check if module is in cache
19
+ /******/ if(installedModules[moduleId]) {
20
+ /******/ return installedModules[moduleId].exports;
21
+ /******/ }
22
+ /******/ // Create a new module (and put it into the cache)
23
+ /******/ var module = installedModules[moduleId] = {
24
+ /******/ i: moduleId,
25
+ /******/ l: false,
26
+ /******/ exports: {}
27
+ /******/ };
28
+ /******/
29
+ /******/ // Execute the module function
30
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
+ /******/
32
+ /******/ // Flag the module as loaded
33
+ /******/ module.l = true;
34
+ /******/
35
+ /******/ // Return the exports of the module
36
+ /******/ return module.exports;
37
+ /******/ }
38
+ /******/
39
+ /******/
40
+ /******/ // expose the modules object (__webpack_modules__)
41
+ /******/ __webpack_require__.m = modules;
42
+ /******/
43
+ /******/ // expose the module cache
44
+ /******/ __webpack_require__.c = installedModules;
45
+ /******/
46
+ /******/ // define getter function for harmony exports
47
+ /******/ __webpack_require__.d = function(exports, name, getter) {
48
+ /******/ if(!__webpack_require__.o(exports, name)) {
49
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
50
+ /******/ }
51
+ /******/ };
52
+ /******/
53
+ /******/ // define __esModule on exports
54
+ /******/ __webpack_require__.r = function(exports) {
55
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
56
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
57
+ /******/ }
58
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
59
+ /******/ };
60
+ /******/
61
+ /******/ // create a fake namespace object
62
+ /******/ // mode & 1: value is a module id, require it
63
+ /******/ // mode & 2: merge all properties of value into the ns
64
+ /******/ // mode & 4: return value when already ns object
65
+ /******/ // mode & 8|1: behave like require
66
+ /******/ __webpack_require__.t = function(value, mode) {
67
+ /******/ if(mode & 1) value = __webpack_require__(value);
68
+ /******/ if(mode & 8) return value;
69
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
70
+ /******/ var ns = Object.create(null);
71
+ /******/ __webpack_require__.r(ns);
72
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
73
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
74
+ /******/ return ns;
75
+ /******/ };
76
+ /******/
77
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
78
+ /******/ __webpack_require__.n = function(module) {
79
+ /******/ var getter = module && module.__esModule ?
80
+ /******/ function getDefault() { return module['default']; } :
81
+ /******/ function getModuleExports() { return module; };
82
+ /******/ __webpack_require__.d(getter, 'a', getter);
83
+ /******/ return getter;
84
+ /******/ };
85
+ /******/
86
+ /******/ // Object.prototype.hasOwnProperty.call
87
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
88
+ /******/
89
+ /******/ // __webpack_public_path__
90
+ /******/ __webpack_require__.p = "";
91
+ /******/
92
+ /******/
93
+ /******/ // Load entry module and return exports
94
+ /******/ return __webpack_require__(__webpack_require__.s = "./src/Portal/index.js");
95
+ /******/ })
96
+ /************************************************************************/
97
+ /******/ ({
98
+
99
+ /***/ "./node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
100
+ /*!*****************************************************************!*\
101
+ !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
102
+ \*****************************************************************/
103
+ /*! no static exports found */
104
+ /***/ (function(module, exports) {
105
+
106
+ eval("function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9zdHJhcGlEcy8uL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2FycmF5TGlrZVRvQXJyYXkuanM/NWE0MyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUNBOztBQUVBLHdDQUF3QyxTQUFTO0FBQ2pEO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBIiwiZmlsZSI6Ii4vbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW1lL2hlbHBlcnMvYXJyYXlMaWtlVG9BcnJheS5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9hcnJheUxpa2VUb0FycmF5KGFyciwgbGVuKSB7XG4gIGlmIChsZW4gPT0gbnVsbCB8fCBsZW4gPiBhcnIubGVuZ3RoKSBsZW4gPSBhcnIubGVuZ3RoO1xuXG4gIGZvciAodmFyIGkgPSAwLCBhcnIyID0gbmV3IEFycmF5KGxlbik7IGkgPCBsZW47IGkrKykge1xuICAgIGFycjJbaV0gPSBhcnJbaV07XG4gIH1cblxuICByZXR1cm4gYXJyMjtcbn1cblxubW9kdWxlLmV4cG9ydHMgPSBfYXJyYXlMaWtlVG9BcnJheTtcbm1vZHVsZS5leHBvcnRzW1wiZGVmYXVsdFwiXSA9IG1vZHVsZS5leHBvcnRzLCBtb2R1bGUuZXhwb3J0cy5fX2VzTW9kdWxlID0gdHJ1ZTsiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/@babel/runtime/helpers/arrayLikeToArray.js\n");
107
+
108
+ /***/ }),
109
+
110
+ /***/ "./node_modules/@babel/runtime/helpers/arrayWithHoles.js":
111
+ /*!***************************************************************!*\
112
+ !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
113
+ \***************************************************************/
114
+ /*! no static exports found */
115
+ /***/ (function(module, exports) {
116
+
117
+ eval("function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9zdHJhcGlEcy8uL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2FycmF5V2l0aEhvbGVzLmpzP2MxMzUiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBOztBQUVBO0FBQ0EiLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvQGJhYmVsL3J1bnRpbWUvaGVscGVycy9hcnJheVdpdGhIb2xlcy5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9hcnJheVdpdGhIb2xlcyhhcnIpIHtcbiAgaWYgKEFycmF5LmlzQXJyYXkoYXJyKSkgcmV0dXJuIGFycjtcbn1cblxubW9kdWxlLmV4cG9ydHMgPSBfYXJyYXlXaXRoSG9sZXM7XG5tb2R1bGUuZXhwb3J0c1tcImRlZmF1bHRcIl0gPSBtb2R1bGUuZXhwb3J0cywgbW9kdWxlLmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/@babel/runtime/helpers/arrayWithHoles.js\n");
118
+
119
+ /***/ }),
120
+
121
+ /***/ "./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":
122
+ /*!*********************************************************************!*\
123
+ !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
124
+ \*********************************************************************/
125
+ /*! no static exports found */
126
+ /***/ (function(module, exports) {
127
+
128
+ eval("function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9zdHJhcGlEcy8uL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2l0ZXJhYmxlVG9BcnJheUxpbWl0LmpzPzliNDIiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTtBQUNBLDJCQUEyQiwrQkFBK0I7QUFDMUQ7O0FBRUE7QUFDQTtBQUNBLEdBQUc7QUFDSDtBQUNBO0FBQ0EsR0FBRztBQUNIO0FBQ0E7QUFDQSxLQUFLO0FBQ0w7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQSIsImZpbGUiOiIuL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2l0ZXJhYmxlVG9BcnJheUxpbWl0LmpzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2l0ZXJhYmxlVG9BcnJheUxpbWl0KGFyciwgaSkge1xuICB2YXIgX2kgPSBhcnIgPT0gbnVsbCA/IG51bGwgOiB0eXBlb2YgU3ltYm9sICE9PSBcInVuZGVmaW5lZFwiICYmIGFycltTeW1ib2wuaXRlcmF0b3JdIHx8IGFycltcIkBAaXRlcmF0b3JcIl07XG5cbiAgaWYgKF9pID09IG51bGwpIHJldHVybjtcbiAgdmFyIF9hcnIgPSBbXTtcbiAgdmFyIF9uID0gdHJ1ZTtcbiAgdmFyIF9kID0gZmFsc2U7XG5cbiAgdmFyIF9zLCBfZTtcblxuICB0cnkge1xuICAgIGZvciAoX2kgPSBfaS5jYWxsKGFycik7ICEoX24gPSAoX3MgPSBfaS5uZXh0KCkpLmRvbmUpOyBfbiA9IHRydWUpIHtcbiAgICAgIF9hcnIucHVzaChfcy52YWx1ZSk7XG5cbiAgICAgIGlmIChpICYmIF9hcnIubGVuZ3RoID09PSBpKSBicmVhaztcbiAgICB9XG4gIH0gY2F0Y2ggKGVycikge1xuICAgIF9kID0gdHJ1ZTtcbiAgICBfZSA9IGVycjtcbiAgfSBmaW5hbGx5IHtcbiAgICB0cnkge1xuICAgICAgaWYgKCFfbiAmJiBfaVtcInJldHVyblwiXSAhPSBudWxsKSBfaVtcInJldHVyblwiXSgpO1xuICAgIH0gZmluYWxseSB7XG4gICAgICBpZiAoX2QpIHRocm93IF9lO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiBfYXJyO1xufVxuXG5tb2R1bGUuZXhwb3J0cyA9IF9pdGVyYWJsZVRvQXJyYXlMaW1pdDtcbm1vZHVsZS5leHBvcnRzW1wiZGVmYXVsdFwiXSA9IG1vZHVsZS5leHBvcnRzLCBtb2R1bGUuZXhwb3J0cy5fX2VzTW9kdWxlID0gdHJ1ZTsiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js\n");
129
+
130
+ /***/ }),
131
+
132
+ /***/ "./node_modules/@babel/runtime/helpers/nonIterableRest.js":
133
+ /*!****************************************************************!*\
134
+ !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
135
+ \****************************************************************/
136
+ /*! no static exports found */
137
+ /***/ (function(module, exports) {
138
+
139
+ eval("function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9zdHJhcGlEcy8uL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL25vbkl0ZXJhYmxlUmVzdC5qcz9jMjQwIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBIiwiZmlsZSI6Ii4vbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW1lL2hlbHBlcnMvbm9uSXRlcmFibGVSZXN0LmpzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX25vbkl0ZXJhYmxlUmVzdCgpIHtcbiAgdGhyb3cgbmV3IFR5cGVFcnJvcihcIkludmFsaWQgYXR0ZW1wdCB0byBkZXN0cnVjdHVyZSBub24taXRlcmFibGUgaW5zdGFuY2UuXFxuSW4gb3JkZXIgdG8gYmUgaXRlcmFibGUsIG5vbi1hcnJheSBvYmplY3RzIG11c3QgaGF2ZSBhIFtTeW1ib2wuaXRlcmF0b3JdKCkgbWV0aG9kLlwiKTtcbn1cblxubW9kdWxlLmV4cG9ydHMgPSBfbm9uSXRlcmFibGVSZXN0O1xubW9kdWxlLmV4cG9ydHNbXCJkZWZhdWx0XCJdID0gbW9kdWxlLmV4cG9ydHMsIG1vZHVsZS5leHBvcnRzLl9fZXNNb2R1bGUgPSB0cnVlOyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/@babel/runtime/helpers/nonIterableRest.js\n");
140
+
141
+ /***/ }),
142
+
143
+ /***/ "./node_modules/@babel/runtime/helpers/slicedToArray.js":
144
+ /*!**************************************************************!*\
145
+ !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
146
+ \**************************************************************/
147
+ /*! no static exports found */
148
+ /***/ (function(module, exports, __webpack_require__) {
149
+
150
+ eval("var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ \"./node_modules/@babel/runtime/helpers/arrayWithHoles.js\");\n\nvar iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ \"./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js\");\n\nvar unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ \"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js\");\n\nvar nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ \"./node_modules/@babel/runtime/helpers/nonIterableRest.js\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9zdHJhcGlEcy8uL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL3NsaWNlZFRvQXJyYXkuanM/Mjc4YyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxxQkFBcUIsbUJBQU8sQ0FBQyxvRkFBcUI7O0FBRWxELDJCQUEyQixtQkFBTyxDQUFDLGdHQUEyQjs7QUFFOUQsaUNBQWlDLG1CQUFPLENBQUMsNEdBQWlDOztBQUUxRSxzQkFBc0IsbUJBQU8sQ0FBQyxzRkFBc0I7O0FBRXBEO0FBQ0E7QUFDQTs7QUFFQTtBQUNBIiwiZmlsZSI6Ii4vbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW1lL2hlbHBlcnMvc2xpY2VkVG9BcnJheS5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbInZhciBhcnJheVdpdGhIb2xlcyA9IHJlcXVpcmUoXCIuL2FycmF5V2l0aEhvbGVzLmpzXCIpO1xuXG52YXIgaXRlcmFibGVUb0FycmF5TGltaXQgPSByZXF1aXJlKFwiLi9pdGVyYWJsZVRvQXJyYXlMaW1pdC5qc1wiKTtcblxudmFyIHVuc3VwcG9ydGVkSXRlcmFibGVUb0FycmF5ID0gcmVxdWlyZShcIi4vdW5zdXBwb3J0ZWRJdGVyYWJsZVRvQXJyYXkuanNcIik7XG5cbnZhciBub25JdGVyYWJsZVJlc3QgPSByZXF1aXJlKFwiLi9ub25JdGVyYWJsZVJlc3QuanNcIik7XG5cbmZ1bmN0aW9uIF9zbGljZWRUb0FycmF5KGFyciwgaSkge1xuICByZXR1cm4gYXJyYXlXaXRoSG9sZXMoYXJyKSB8fCBpdGVyYWJsZVRvQXJyYXlMaW1pdChhcnIsIGkpIHx8IHVuc3VwcG9ydGVkSXRlcmFibGVUb0FycmF5KGFyciwgaSkgfHwgbm9uSXRlcmFibGVSZXN0KCk7XG59XG5cbm1vZHVsZS5leHBvcnRzID0gX3NsaWNlZFRvQXJyYXk7XG5tb2R1bGUuZXhwb3J0c1tcImRlZmF1bHRcIl0gPSBtb2R1bGUuZXhwb3J0cywgbW9kdWxlLmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/@babel/runtime/helpers/slicedToArray.js\n");
151
+
152
+ /***/ }),
153
+
154
+ /***/ "./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
155
+ /*!***************************************************************************!*\
156
+ !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
157
+ \***************************************************************************/
158
+ /*! no static exports found */
159
+ /***/ (function(module, exports, __webpack_require__) {
160
+
161
+ eval("var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ \"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9zdHJhcGlEcy8uL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL3Vuc3VwcG9ydGVkSXRlcmFibGVUb0FycmF5LmpzPzY2MTMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdUJBQXVCLG1CQUFPLENBQUMsd0ZBQXVCOztBQUV0RDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0EiLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvQGJhYmVsL3J1bnRpbWUvaGVscGVycy91bnN1cHBvcnRlZEl0ZXJhYmxlVG9BcnJheS5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbInZhciBhcnJheUxpa2VUb0FycmF5ID0gcmVxdWlyZShcIi4vYXJyYXlMaWtlVG9BcnJheS5qc1wiKTtcblxuZnVuY3Rpb24gX3Vuc3VwcG9ydGVkSXRlcmFibGVUb0FycmF5KG8sIG1pbkxlbikge1xuICBpZiAoIW8pIHJldHVybjtcbiAgaWYgKHR5cGVvZiBvID09PSBcInN0cmluZ1wiKSByZXR1cm4gYXJyYXlMaWtlVG9BcnJheShvLCBtaW5MZW4pO1xuICB2YXIgbiA9IE9iamVjdC5wcm90b3R5cGUudG9TdHJpbmcuY2FsbChvKS5zbGljZSg4LCAtMSk7XG4gIGlmIChuID09PSBcIk9iamVjdFwiICYmIG8uY29uc3RydWN0b3IpIG4gPSBvLmNvbnN0cnVjdG9yLm5hbWU7XG4gIGlmIChuID09PSBcIk1hcFwiIHx8IG4gPT09IFwiU2V0XCIpIHJldHVybiBBcnJheS5mcm9tKG8pO1xuICBpZiAobiA9PT0gXCJBcmd1bWVudHNcIiB8fCAvXig/OlVpfEkpbnQoPzo4fDE2fDMyKSg/OkNsYW1wZWQpP0FycmF5JC8udGVzdChuKSkgcmV0dXJuIGFycmF5TGlrZVRvQXJyYXkobywgbWluTGVuKTtcbn1cblxubW9kdWxlLmV4cG9ydHMgPSBfdW5zdXBwb3J0ZWRJdGVyYWJsZVRvQXJyYXk7XG5tb2R1bGUuZXhwb3J0c1tcImRlZmF1bHRcIl0gPSBtb2R1bGUuZXhwb3J0cywgbW9kdWxlLmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js\n");
162
+
163
+ /***/ }),
164
+
165
+ /***/ "./src/Portal/Portal.js":
166
+ /*!******************************!*\
167
+ !*** ./src/Portal/Portal.js ***!
168
+ \******************************/
169
+ /*! exports provided: Portal */
170
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
171
+
172
+ "use strict";
173
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Portal\", function() { return Portal; });\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"./node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-dom */ \"react-dom\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nvar Portal = function Portal(_ref) {\n var children = _ref.children;\n var rootRef = Object(react__WEBPACK_IMPORTED_MODULE_1__[\"useRef\"])(null);\n\n var _useState = Object(react__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(false),\n _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n mounted = _useState2[0],\n setMounted = _useState2[1];\n\n Object(react__WEBPACK_IMPORTED_MODULE_1__[\"useLayoutEffect\"])(function () {\n rootRef.current = document.createElement('div');\n rootRef.current.setAttribute('data-react-portal', 'true');\n document.body.appendChild(rootRef.current);\n setMounted(true);\n return function () {\n var _rootRef$current;\n\n (_rootRef$current = rootRef.current) === null || _rootRef$current === void 0 ? void 0 : _rootRef$current.remove();\n };\n }, []);\n\n if (!mounted || !rootRef.current) {\n return null;\n }\n\n return /*#__PURE__*/Object(react_dom__WEBPACK_IMPORTED_MODULE_2__[\"createPortal\"])(children, rootRef.current);\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9zdHJhcGlEcy8uL3NyYy9Qb3J0YWwvUG9ydGFsLmpzPzNmZGQiXSwibmFtZXMiOlsiUG9ydGFsIiwiY2hpbGRyZW4iLCJyb290UmVmIiwidXNlUmVmIiwidXNlU3RhdGUiLCJtb3VudGVkIiwic2V0TW91bnRlZCIsInVzZUxheW91dEVmZmVjdCIsImN1cnJlbnQiLCJkb2N1bWVudCIsImNyZWF0ZUVsZW1lbnQiLCJzZXRBdHRyaWJ1dGUiLCJib2R5IiwiYXBwZW5kQ2hpbGQiLCJyZW1vdmUiLCJjcmVhdGVQb3J0YWwiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFFTyxJQUFNQSxNQUFNLEdBQUcsU0FBVEEsTUFBUyxPQUFrQjtBQUFBLE1BQWZDLFFBQWUsUUFBZkEsUUFBZTtBQUN0QyxNQUFNQyxPQUFPLEdBQUdDLG9EQUFNLENBQUMsSUFBRCxDQUF0Qjs7QUFDQSxrQkFBOEJDLHNEQUFRLENBQUMsS0FBRCxDQUF0QztBQUFBO0FBQUEsTUFBT0MsT0FBUDtBQUFBLE1BQWdCQyxVQUFoQjs7QUFFQUMsK0RBQWUsQ0FBQyxZQUFNO0FBQ3BCTCxXQUFPLENBQUNNLE9BQVIsR0FBa0JDLFFBQVEsQ0FBQ0MsYUFBVCxDQUF1QixLQUF2QixDQUFsQjtBQUNBUixXQUFPLENBQUNNLE9BQVIsQ0FBZ0JHLFlBQWhCLENBQTZCLG1CQUE3QixFQUFrRCxNQUFsRDtBQUNBRixZQUFRLENBQUNHLElBQVQsQ0FBY0MsV0FBZCxDQUEwQlgsT0FBTyxDQUFDTSxPQUFsQztBQUVBRixjQUFVLENBQUMsSUFBRCxDQUFWO0FBRUEsV0FBTyxZQUFNO0FBQUE7O0FBQ1gsMEJBQUFKLE9BQU8sQ0FBQ00sT0FBUixzRUFBaUJNLE1BQWpCO0FBQ0QsS0FGRDtBQUdELEdBVmMsRUFVWixFQVZZLENBQWY7O0FBWUEsTUFBSSxDQUFDVCxPQUFELElBQVksQ0FBQ0gsT0FBTyxDQUFDTSxPQUF6QixFQUFrQztBQUNoQyxXQUFPLElBQVA7QUFDRDs7QUFFRCxzQkFBT08sOERBQVksQ0FBQ2QsUUFBRCxFQUFXQyxPQUFPLENBQUNNLE9BQW5CLENBQW5CO0FBQ0QsQ0FyQk0iLCJmaWxlIjoiLi9zcmMvUG9ydGFsL1BvcnRhbC5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHVzZUxheW91dEVmZmVjdCwgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGNyZWF0ZVBvcnRhbCB9IGZyb20gJ3JlYWN0LWRvbSc7XG5cbmV4cG9ydCBjb25zdCBQb3J0YWwgPSAoeyBjaGlsZHJlbiB9KSA9PiB7XG4gIGNvbnN0IHJvb3RSZWYgPSB1c2VSZWYobnVsbCk7XG4gIGNvbnN0IFttb3VudGVkLCBzZXRNb3VudGVkXSA9IHVzZVN0YXRlKGZhbHNlKTtcblxuICB1c2VMYXlvdXRFZmZlY3QoKCkgPT4ge1xuICAgIHJvb3RSZWYuY3VycmVudCA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2RpdicpO1xuICAgIHJvb3RSZWYuY3VycmVudC5zZXRBdHRyaWJ1dGUoJ2RhdGEtcmVhY3QtcG9ydGFsJywgJ3RydWUnKTtcbiAgICBkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKHJvb3RSZWYuY3VycmVudCk7XG5cbiAgICBzZXRNb3VudGVkKHRydWUpO1xuXG4gICAgcmV0dXJuICgpID0+IHtcbiAgICAgIHJvb3RSZWYuY3VycmVudD8ucmVtb3ZlKCk7XG4gICAgfTtcbiAgfSwgW10pO1xuXG4gIGlmICghbW91bnRlZCB8fCAhcm9vdFJlZi5jdXJyZW50KSB7XG4gICAgcmV0dXJuIG51bGw7XG4gIH1cblxuICByZXR1cm4gY3JlYXRlUG9ydGFsKGNoaWxkcmVuLCByb290UmVmLmN1cnJlbnQpO1xufTtcbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/Portal/Portal.js\n");
174
+
175
+ /***/ }),
176
+
177
+ /***/ "./src/Portal/index.js":
178
+ /*!*****************************!*\
179
+ !*** ./src/Portal/index.js ***!
180
+ \*****************************/
181
+ /*! exports provided: Portal */
182
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
183
+
184
+ "use strict";
185
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Portal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Portal */ \"./src/Portal/Portal.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Portal\", function() { return _Portal__WEBPACK_IMPORTED_MODULE_0__[\"Portal\"]; });\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9zdHJhcGlEcy8uL3NyYy9Qb3J0YWwvaW5kZXguanM/ZWJmYiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQSIsImZpbGUiOiIuL3NyYy9Qb3J0YWwvaW5kZXguanMuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL1BvcnRhbCc7XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/Portal/index.js\n");
186
+
187
+ /***/ }),
188
+
189
+ /***/ "react":
190
+ /*!************************!*\
191
+ !*** external "react" ***!
192
+ \************************/
193
+ /*! no static exports found */
194
+ /***/ (function(module, exports) {
195
+
196
+ eval("module.exports = __WEBPACK_EXTERNAL_MODULE_react__;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9zdHJhcGlEcy9leHRlcm5hbCBcInJlYWN0XCI/NTg4ZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsImZpbGUiOiJyZWFjdC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gX19XRUJQQUNLX0VYVEVSTkFMX01PRFVMRV9yZWFjdF9fOyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///react\n");
197
+
198
+ /***/ }),
199
+
200
+ /***/ "react-dom":
201
+ /*!****************************!*\
202
+ !*** external "react-dom" ***!
203
+ \****************************/
204
+ /*! no static exports found */
205
+ /***/ (function(module, exports) {
206
+
207
+ eval("module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9zdHJhcGlEcy9leHRlcm5hbCBcInJlYWN0LWRvbVwiPzVlOWEiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEiLCJmaWxlIjoicmVhY3QtZG9tLmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBfX1dFQlBBQ0tfRVhURVJOQUxfTU9EVUxFX3JlYWN0X2RvbV9fOyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///react-dom\n");
208
+
209
+ /***/ })
210
+
211
+ /******/ });
212
+ });
package/Portal.js ADDED
@@ -0,0 +1,9 @@
1
+
2
+ 'use strict';
3
+
4
+ if (process.env.NODE_ENV === "production") {
5
+ module.exports = require("./Portal.production.js");
6
+ } else {
7
+ module.exports = require("./Portal.development.js");
8
+ }
9
+
@@ -0,0 +1 @@
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("strapiDs",["react","react-dom"],t):"object"==typeof exports?exports.strapiDs=t(require("react"),require("react-dom")):e.strapiDs=t(e.react,e["react-dom"])}(this,(function(e,t){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=35)}({1:function(t,r){t.exports=e},11:function(e,t,r){var n=r(27),o=r(28),u=r(26),c=r(29);e.exports=function(e,t){return n(e)||o(e,t)||u(e,t)||c()},e.exports.default=e.exports,e.exports.__esModule=!0},23:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},26:function(e,t,r){var n=r(23);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},27:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},28:function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,u=[],c=!0,i=!1;try{for(r=r.call(e);!(c=(n=r.next()).done)&&(u.push(n.value),!t||u.length!==t);c=!0);}catch(e){i=!0,o=e}finally{try{c||null==r.return||r.return()}finally{if(i)throw o}}return u}},e.exports.default=e.exports,e.exports.__esModule=!0},29: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},34:function(e,r){e.exports=t},35:function(e,t,r){"use strict";r.r(t),r.d(t,"Portal",(function(){return i}));var n=r(11),o=r.n(n),u=r(1),c=r(34),i=function(e){var t=e.children,r=Object(u.useRef)(null),n=Object(u.useState)(!1),i=o()(n,2),a=i[0],l=i[1];return Object(u.useLayoutEffect)((function(){return r.current=document.createElement("div"),r.current.setAttribute("data-react-portal","true"),document.body.appendChild(r.current),l(!0),function(){var e;null===(e=r.current)||void 0===e||e.remove()}}),[]),a&&r.current?Object(c.createPortal)(t,r.current):null}}})}));