@ilo-org/react 0.17.8 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (910) hide show
  1. package/lib/cjs/_store/Accordion-chunk-C0MtnZLX.js +1 -0
  2. package/lib/cjs/_store/Accordion-entry-BZxhUG2Q.js +1 -0
  3. package/lib/cjs/_store/Breadcrumb-chunk-DvUpVY4l.js +1 -0
  4. package/lib/cjs/_store/Breadcrumb-entry-NNucl1rR.js +1 -0
  5. package/lib/cjs/_store/Button-chunk-0TEubQS1.js +1 -0
  6. package/lib/cjs/_store/Button-entry-BogzX4pv.js +1 -0
  7. package/lib/cjs/_store/Callout-chunk-B_3FQTvs.js +1 -0
  8. package/lib/cjs/_store/Callout-entry-DJsjlWxc.js +1 -0
  9. package/lib/cjs/_store/CardGroup-chunk-DhFE-J5O.js +1 -0
  10. package/lib/cjs/_store/Checkbox-chunk-B7P6WeNp.js +1 -0
  11. package/lib/cjs/_store/Checkbox-entry-Cpcx9EKD.js +1 -0
  12. package/lib/cjs/_store/Collapse-chunk-B3s_Bzzq.js +1 -0
  13. package/lib/cjs/_store/Collapse-entry-Djy1BBs6.js +1 -0
  14. package/lib/cjs/_store/ContextMenu-chunk-BegVo-Ry.js +1 -0
  15. package/lib/cjs/_store/ContextMenu-entry-TCdyzIRt.js +1 -0
  16. package/lib/cjs/_store/Credit-chunk-Dts5RkwZ.js +1 -0
  17. package/lib/cjs/_store/Credit-entry-GjFSWiDE.js +1 -0
  18. package/lib/cjs/_store/DatePicker-chunk-DMvnrakE.js +1 -0
  19. package/lib/cjs/_store/DatePicker-entry-CweKIj3U.js +1 -0
  20. package/lib/cjs/_store/Dropdown-chunk--_pVhTcV.js +1 -0
  21. package/lib/cjs/_store/Dropdown-entry-BcBG6Zg7.js +1 -0
  22. package/lib/cjs/_store/Empty-chunk-BEqHK-KC.js +1 -0
  23. package/lib/cjs/_store/Empty-entry-C_Q8VgpP.js +1 -0
  24. package/lib/cjs/_store/Fieldset-chunk-BsOPbe_a.js +1 -0
  25. package/lib/cjs/_store/Fieldset-entry-BUyKAdkn.js +1 -0
  26. package/lib/cjs/_store/FileUpload-chunk-CmHP-E54.js +1 -0
  27. package/lib/cjs/_store/FileUpload-entry-DKzm4WvO.js +1 -0
  28. package/lib/cjs/_store/Footer-chunk-9dkCoi0B.js +1 -0
  29. package/lib/cjs/_store/Footer-entry-D3GYBVpj.js +1 -0
  30. package/lib/cjs/_store/Form-chunk-DjDwz7DV.js +1 -0
  31. package/lib/cjs/_store/Form-entry-O0GJ5PoD.js +1 -0
  32. package/lib/cjs/_store/FormControl-chunk-08fp5TeU.js +1 -0
  33. package/lib/cjs/_store/FormControl-entry-DN7TYc37.js +1 -0
  34. package/lib/cjs/_store/FormElement-chunk-B8x3bzQh.js +1 -0
  35. package/lib/cjs/_store/FormElement-entry-DDBD7cYZ.js +1 -0
  36. package/lib/cjs/_store/GlobalCtx-chunk-D_GlGcgw.js +1 -0
  37. package/lib/cjs/_store/GlobalProvider-chunk-Bt1vmswv.js +1 -0
  38. package/lib/cjs/_store/GlobalProvider-entry-DkJQ9RWP.js +1 -0
  39. package/lib/cjs/_store/Heading-chunk-BJAywWmF.js +1 -0
  40. package/lib/cjs/_store/Heading-entry-DsqDeoiL.js +1 -0
  41. package/lib/cjs/_store/Hero-chunk-ZP6tCFz5.js +1 -0
  42. package/lib/cjs/_store/Hero-entry-CVMagWvL.js +1 -0
  43. package/lib/cjs/_store/Icon-chunk-C3UyVBv5.js +1 -0
  44. package/lib/cjs/_store/Icon-entry-DHj_qd8u.js +1 -0
  45. package/lib/cjs/_store/Image-chunk-jaj_JISB.js +1 -0
  46. package/lib/cjs/_store/Image-entry-DpxKHlQg.js +1 -0
  47. package/lib/cjs/_store/Input-chunk-DIcDfISq.js +1 -0
  48. package/lib/cjs/_store/Input-entry-Cq1G_bNN.js +1 -0
  49. package/lib/cjs/_store/Link-chunk-B_ZIovS2.js +1 -0
  50. package/lib/cjs/_store/Link-entry-CFNVpDIo.js +1 -0
  51. package/lib/cjs/_store/LinkList-chunk-Dv-cNPfH.js +1 -0
  52. package/lib/cjs/_store/LinkList-entry-CvmQYOZx.js +1 -0
  53. package/lib/cjs/_store/List-entry-CWz5DRJJ.js +1 -0
  54. package/lib/cjs/_store/ListItem-chunk-CHb4_N2-.js +1 -0
  55. package/lib/cjs/_store/Loading-chunk-C9rx8cqr.js +1 -0
  56. package/lib/cjs/_store/Loading-entry-CwPEKM50.js +1 -0
  57. package/lib/cjs/_store/LocalNav-chunk-TRLUir71.js +1 -0
  58. package/lib/cjs/_store/LocalNav-entry-BHboaRc5.js +1 -0
  59. package/lib/cjs/_store/Logo-chunk-Bz8Vfcn7.js +1 -0
  60. package/lib/cjs/_store/Logo-entry-C8ZmQs8R.js +1 -0
  61. package/lib/cjs/_store/LogoGrid-entry-DfTqIeGY.js +1 -0
  62. package/lib/cjs/_store/Navigation-chunk-CPzyVK7B.js +1 -0
  63. package/lib/cjs/_store/Navigation-entry-D07Y4pkR.js +1 -0
  64. package/lib/cjs/_store/Notification-chunk-DXIs6h5e.js +1 -0
  65. package/lib/cjs/_store/Notification-entry-C9D2mAvD.js +1 -0
  66. package/lib/cjs/_store/NumberPicker-chunk-CaQYVhyz.js +1 -0
  67. package/lib/cjs/_store/NumberPicker-entry-BEqwzCKS.js +1 -0
  68. package/lib/cjs/_store/Pagination-chunk-4zp3hOFL.js +1 -0
  69. package/lib/cjs/_store/Pagination-entry-eS2pFOuY.js +1 -0
  70. package/lib/cjs/_store/Profile-chunk-BH98cR85.js +1 -0
  71. package/lib/cjs/_store/Profile-entry-DHpgLCAp.js +1 -0
  72. package/lib/cjs/_store/Radio-chunk-RnNWzYgj.js +1 -0
  73. package/lib/cjs/_store/Radio-entry-DhWQjZuV.js +1 -0
  74. package/lib/cjs/_store/ReadMore-chunk-BQvY4016.js +1 -0
  75. package/lib/cjs/_store/ReadMore-entry-oYGJDJYJ.js +1 -0
  76. package/lib/cjs/_store/RichText-chunk-ZamwF4QL.js +1 -0
  77. package/lib/cjs/_store/RichText-entry-C7Fzr9VS.js +1 -0
  78. package/lib/cjs/_store/SearchField-chunk-DsxlWr7d.js +1 -0
  79. package/lib/cjs/_store/SearchField-entry-CgnoJz0d.js +1 -0
  80. package/lib/cjs/_store/SocialMedia-chunk-fLjmpXNC.js +1 -0
  81. package/lib/cjs/_store/SocialMedia-entry-meZdo-EU.js +1 -0
  82. package/lib/cjs/_store/TableOfContents-chunk-DcLMEr2i.js +1 -0
  83. package/lib/cjs/_store/TableOfContents-entry-DrMc0kJL.js +1 -0
  84. package/lib/cjs/_store/Tabs-chunk-DDQr8q_Q.js +1 -0
  85. package/lib/cjs/_store/Tabs-entry-iq_o_CtL.js +1 -0
  86. package/lib/cjs/_store/Tag-chunk-B4ZPZsMt.js +1 -0
  87. package/lib/cjs/_store/Tag-entry-5_lz5glY.js +1 -0
  88. package/lib/cjs/_store/TextInput-entry-Bl0sZdpl.js +1 -0
  89. package/lib/cjs/_store/Textarea-chunk-3fPk9MqI.js +1 -0
  90. package/lib/cjs/_store/Textarea-entry-Ac7gdvET.js +1 -0
  91. package/lib/cjs/_store/Toggle-entry-s05NRKOs.js +1 -0
  92. package/lib/cjs/_store/Tooltip-chunk-Bh77DbOg.js +1 -0
  93. package/lib/cjs/_store/Tooltip-entry--csXZiQZ.js +1 -0
  94. package/lib/cjs/_store/Video-chunk-BIJvoxjg.js +66 -0
  95. package/lib/cjs/_store/Video-entry-CmzlnrTO.js +1 -0
  96. package/lib/cjs/_store/_commonjsHelpers-chunk-DwTZ_eVU.js +1 -0
  97. package/lib/cjs/_store/checkArrayDuplicates-chunk-Bqxwhc1q.js +1 -0
  98. package/lib/cjs/_store/components-entry-DEwUb_oq.js +1 -0
  99. package/lib/cjs/_store/index-chunk-CV1afBzr.js +20 -0
  100. package/lib/cjs/_store/index-chunk-DCI82Tmm.js +5 -0
  101. package/lib/cjs/_store/index.js +1 -0
  102. package/lib/cjs/_store/inheritsLoose-chunk-VkUGvzyJ.js +1 -0
  103. package/lib/cjs/_store/useGlobalSettings-chunk-Pa38w6VS.js +1 -0
  104. package/lib/cjs/_store/usePrevious-chunk-DENrwKF1.js +1 -0
  105. package/lib/cjs/index.js +1 -135
  106. package/lib/esm/_store/Accordion-chunk-B6FAPUyi.js +113 -0
  107. package/lib/esm/_store/Accordion-entry-oAYQPeGr.js +7 -0
  108. package/lib/esm/_store/Breadcrumb-chunk-CclNRjxd.js +132 -0
  109. package/lib/esm/_store/Breadcrumb-entry-Biundzlp.js +4 -0
  110. package/lib/esm/_store/Button-chunk-Crzq2FAv.js +61 -0
  111. package/lib/esm/_store/Button-entry-DQ9yLTsk.js +30 -0
  112. package/lib/esm/_store/Callout-chunk-BYTLkWbG.js +63 -0
  113. package/lib/esm/_store/Callout-entry-C-llb6Kt.js +31 -0
  114. package/lib/esm/_store/CardGroup-chunk-BTx2ukOX.js +354 -0
  115. package/lib/esm/_store/Checkbox-chunk-DJDgykAw.js +71 -0
  116. package/lib/esm/_store/Checkbox-entry-CfjxZKrK.js +28 -0
  117. package/lib/esm/_store/Collapse-chunk-BVSI_9Dd.js +560 -0
  118. package/lib/esm/_store/Collapse-entry-DH89iy1Y.js +4 -0
  119. package/lib/esm/_store/ContextMenu-chunk-CkdC2iPF.js +22 -0
  120. package/lib/esm/_store/ContextMenu-entry-BkbaSgVR.js +4 -0
  121. package/lib/esm/_store/Credit-chunk-BjaAFul8.js +26 -0
  122. package/lib/esm/_store/Credit-entry-BGow5bDT.js +4 -0
  123. package/lib/esm/_store/DatePicker-chunk-10fIc74h.js +60 -0
  124. package/lib/esm/_store/DatePicker-entry-Bu0S1bvg.js +4 -0
  125. package/lib/esm/_store/Dropdown-chunk-B6G7DnYr.js +72 -0
  126. package/lib/esm/_store/Dropdown-entry-CRDxMRpe.js +4 -0
  127. package/lib/esm/_store/Empty-chunk-UEm5zVbe.js +12 -0
  128. package/lib/esm/_store/Empty-entry-BuwyDmF5.js +4 -0
  129. package/lib/esm/_store/Fieldset-chunk-PK4HqNv_.js +57 -0
  130. package/lib/esm/_store/Fieldset-entry-BmiHpIGy.js +4 -0
  131. package/lib/esm/_store/FileUpload-chunk-dFon8lP2.js +77 -0
  132. package/lib/esm/_store/FileUpload-entry-uIvvAStY.js +4 -0
  133. package/lib/esm/_store/Footer-chunk-D6ig8l3Y.js +61 -0
  134. package/lib/esm/_store/Footer-entry-B885hcUe.js +4 -0
  135. package/lib/esm/_store/Form-chunk-1a4awKWi.js +13 -0
  136. package/lib/esm/_store/Form-entry-DhZ3WiWW.js +11 -0
  137. package/lib/esm/_store/FormControl-chunk-D_3t65GG.js +77 -0
  138. package/lib/esm/_store/FormControl-entry-DODa4uyx.js +4 -0
  139. package/lib/esm/_store/FormElement-chunk-DqR8rtCB.js +15 -0
  140. package/lib/esm/_store/FormElement-entry-C_RiN-BZ.js +4 -0
  141. package/lib/esm/_store/GlobalCtx-chunk-CtSRDnk3.js +7 -0
  142. package/lib/esm/_store/GlobalProvider-chunk-nVdEz2_E.js +20 -0
  143. package/lib/esm/_store/GlobalProvider-entry-CCUkUh3z.js +6 -0
  144. package/lib/esm/_store/Heading-chunk-CFEDmQeQ.js +19 -0
  145. package/lib/esm/_store/Heading-entry-CTotrXWW.js +4 -0
  146. package/lib/esm/_store/Hero-chunk-HJvXvclG.js +76 -0
  147. package/lib/esm/_store/Hero-entry-gNTc6gUC.js +5 -0
  148. package/lib/esm/_store/Icon-chunk-x0E_KQyQ.js +3482 -0
  149. package/lib/esm/_store/Icon-entry-d1Lq52eV.js +4 -0
  150. package/lib/esm/_store/Image-chunk-C4zF97rw.js +35 -0
  151. package/lib/esm/_store/Image-entry-DaqK9C99.js +4 -0
  152. package/lib/esm/_store/Input-chunk-p-3N8OO4.js +58 -0
  153. package/lib/esm/_store/Input-entry-DG2Mv1K2.js +4 -0
  154. package/lib/esm/_store/Link-chunk-zt732cUC.js +36 -0
  155. package/lib/esm/_store/Link-entry-BY4hUubQ.js +4 -0
  156. package/lib/esm/_store/LinkList-chunk-CIZvyv8v.js +38 -0
  157. package/lib/esm/_store/LinkList-entry-ChpzxNTf.js +4 -0
  158. package/lib/esm/_store/List-entry-C68jMDRE.js +5 -0
  159. package/lib/esm/_store/ListItem-chunk-CKnxZe3Y.js +26 -0
  160. package/lib/esm/_store/Loading-chunk-BIJLAqk6.js +14 -0
  161. package/lib/esm/_store/Loading-entry-84g0sHXB.js +4 -0
  162. package/lib/esm/_store/LocalNav-chunk-BTJAs9kb.js +207 -0
  163. package/lib/esm/_store/LocalNav-entry-CYlCB-lD.js +4 -0
  164. package/lib/esm/_store/Logo-chunk-CsxA3mRV.js +121 -0
  165. package/lib/esm/_store/Logo-entry-3NNSpfQ9.js +4 -0
  166. package/lib/esm/_store/LogoGrid-entry-BEUN3M_d.js +24 -0
  167. package/lib/esm/_store/Navigation-chunk-BL9t1Aze.js +221 -0
  168. package/lib/esm/_store/Navigation-entry-Ch7YqW5b.js +4 -0
  169. package/lib/esm/_store/Notification-chunk-CdTKN1sq.js +61 -0
  170. package/lib/esm/_store/Notification-entry--uWc9jEM.js +4 -0
  171. package/lib/esm/_store/NumberPicker-chunk-CsDLNdop.js +62 -0
  172. package/lib/esm/_store/NumberPicker-entry-BuxrmdUS.js +4 -0
  173. package/lib/esm/_store/Pagination-chunk-Ci7qN6no.js +94 -0
  174. package/lib/esm/_store/Pagination-entry-CM2xRx7F.js +4 -0
  175. package/lib/esm/_store/Profile-chunk-Bsn46OaP.js +38 -0
  176. package/lib/esm/_store/Profile-entry-CE39-Kzc.js +4 -0
  177. package/lib/esm/_store/Radio-chunk-GaPnCNx4.js +77 -0
  178. package/lib/esm/_store/Radio-entry-CFuTolt7.js +11 -0
  179. package/lib/esm/_store/ReadMore-chunk-DoptEIE4.js +38 -0
  180. package/lib/esm/_store/ReadMore-entry-DuzFfWne.js +4 -0
  181. package/lib/esm/_store/RichText-chunk-BOMiyuNR.js +18 -0
  182. package/lib/esm/_store/RichText-entry-BfHki79h.js +4 -0
  183. package/lib/esm/_store/SearchField-chunk-BF-yCtvV.js +56 -0
  184. package/lib/esm/_store/SearchField-entry-DCMFJrVP.js +4 -0
  185. package/lib/esm/_store/SocialMedia-chunk-CP4gdUdi.js +32 -0
  186. package/lib/esm/_store/SocialMedia-entry-ZTNn-vUB.js +54 -0
  187. package/lib/esm/_store/TableOfContents-chunk-BXnS8D2s.js +12 -0
  188. package/lib/esm/_store/TableOfContents-entry-DHXKt1NR.js +4 -0
  189. package/lib/esm/_store/Tabs-chunk-D2k0m68V.js +40 -0
  190. package/lib/esm/_store/Tabs-entry-B3sg3VMU.js +4 -0
  191. package/lib/esm/_store/Tag-chunk-BxCaTFBz.js +65 -0
  192. package/lib/esm/_store/Tag-entry-Cr5XkVR9.js +45 -0
  193. package/lib/esm/_store/TextInput-entry-BTZVvumC.js +123 -0
  194. package/lib/esm/_store/Textarea-chunk-BCW6ZV8n.js +38 -0
  195. package/lib/esm/_store/Textarea-entry-CFe0s_hM.js +28 -0
  196. package/lib/esm/_store/Toggle-entry-CehJKItc.js +122 -0
  197. package/lib/esm/_store/Tooltip-chunk-CPT-dPDc.js +1001 -0
  198. package/lib/esm/_store/Tooltip-entry-cgQr1mHa.js +4 -0
  199. package/lib/esm/_store/Video-chunk-CDl9BbxW.js +24698 -0
  200. package/lib/esm/_store/Video-entry-DNXjIczI.js +4 -0
  201. package/lib/esm/_store/_commonjsHelpers-chunk-BkfeUUK-.js +28 -0
  202. package/lib/esm/_store/checkArrayDuplicates-chunk-C7cf0TQw.js +11 -0
  203. package/lib/esm/_store/components-entry-Er-smibI.js +87 -0
  204. package/lib/esm/_store/index-chunk-0LeqwHm8.js +40 -0
  205. package/lib/esm/_store/index-chunk-BNwl8BvE.js +644 -0
  206. package/lib/esm/_store/index.js +6 -0
  207. package/lib/esm/_store/inheritsLoose-chunk-JR0pp2En.js +12 -0
  208. package/lib/esm/_store/useGlobalSettings-chunk-gkijV3S1.js +12 -0
  209. package/lib/esm/_store/usePrevious-chunk-BtJVllKj.js +10 -0
  210. package/lib/esm/index.js +91 -86
  211. package/lib/styles/global.css.map +1 -0
  212. package/lib/styles/index.css.map +1 -0
  213. package/lib/styles/monorepo.css.map +1 -0
  214. package/lib/types/components/Accordion/Accordion.d.ts +5 -0
  215. package/lib/types/components/Accordion/Accordion.props.d.ts +34 -0
  216. package/lib/types/components/Accordion/AccordionButton.d.ts +5 -0
  217. package/lib/types/components/Accordion/AccordionButton.props.d.ts +12 -0
  218. package/lib/types/components/Accordion/AccordionCtx.d.ts +5 -0
  219. package/lib/types/components/Accordion/AccordionItem.d.ts +5 -0
  220. package/lib/types/components/Accordion/AccordionItem.props.d.ts +22 -0
  221. package/lib/types/components/Accordion/AccordionPanel.d.ts +5 -0
  222. package/lib/types/components/Accordion/AccordionPanel.props.d.ts +22 -0
  223. package/lib/types/components/Accordion/index.d.ts +4 -0
  224. package/lib/types/components/Breadcrumb/Breadcrumb.d.ts +5 -0
  225. package/lib/types/components/Breadcrumb/Breadcrumb.props.d.ts +32 -0
  226. package/lib/types/components/Breadcrumb/index.d.ts +1 -0
  227. package/lib/types/components/Button/Button.d.ts +5 -0
  228. package/lib/types/components/Button/Button.props.d.ts +69 -0
  229. package/lib/types/components/Button/index.d.ts +2 -0
  230. package/lib/types/components/Callout/Callout.d.ts +5 -0
  231. package/lib/types/components/Callout/Callout.props.d.ts +51 -0
  232. package/lib/types/components/Callout/index.d.ts +2 -0
  233. package/lib/types/components/Cards/CardGroup/CardGroup.d.ts +5 -0
  234. package/lib/types/components/Cards/CardGroup/CardGroup.props.d.ts +85 -0
  235. package/lib/types/components/Cards/CardGroup/index.d.ts +3 -0
  236. package/lib/types/components/Cards/DataCard/DataCard.d.ts +5 -0
  237. package/lib/types/components/Cards/DataCard/DataCard.props.d.ts +51 -0
  238. package/lib/types/components/Cards/DataCard/index.d.ts +3 -0
  239. package/lib/types/components/Cards/DetailCard/DetailCard.d.ts +5 -0
  240. package/lib/types/components/Cards/DetailCard/DetailCard.props.d.ts +40 -0
  241. package/lib/types/components/Cards/DetailCard/index.d.ts +3 -0
  242. package/lib/types/components/Cards/FactlistCard/FactListCard.d.ts +5 -0
  243. package/lib/types/components/Cards/FactlistCard/FactListCard.props.d.ts +21 -0
  244. package/lib/types/components/Cards/FactlistCard/index.d.ts +3 -0
  245. package/lib/types/components/Cards/FeatureCard/FeatureCard.d.ts +5 -0
  246. package/lib/types/components/Cards/FeatureCard/FeatureCard.props.d.ts +36 -0
  247. package/lib/types/components/Cards/FeatureCard/index.d.ts +3 -0
  248. package/lib/types/components/Cards/MultilinkCard/MultiLinkCard.d.ts +5 -0
  249. package/lib/types/components/Cards/MultilinkCard/MultilinkCard.props.d.ts +30 -0
  250. package/lib/types/components/Cards/MultilinkCard/index.d.ts +3 -0
  251. package/lib/types/components/Cards/PromoCard/PromoCard.d.ts +5 -0
  252. package/lib/types/components/Cards/PromoCard/PromoCard.props.d.ts +35 -0
  253. package/lib/types/components/Cards/PromoCard/index.d.ts +3 -0
  254. package/lib/types/components/Cards/StatCard/StatCard.d.ts +5 -0
  255. package/lib/types/components/Cards/StatCard/StatCard.props.d.ts +26 -0
  256. package/lib/types/components/Cards/StatCard/index.d.ts +3 -0
  257. package/lib/types/components/Cards/TextCard/TextCard.d.ts +5 -0
  258. package/lib/types/components/Cards/TextCard/TextCard.props.d.ts +31 -0
  259. package/lib/types/components/Cards/TextCard/index.d.ts +3 -0
  260. package/lib/types/components/Checkbox/Checkbox.d.ts +7 -0
  261. package/lib/types/components/Checkbox/Checkbox.props.d.ts +4 -0
  262. package/lib/types/components/Checkbox/index.d.ts +2 -0
  263. package/lib/types/components/Collapse/Collapse.d.ts +4 -0
  264. package/lib/types/components/Collapse/Collapse.props.d.ts +77 -0
  265. package/lib/types/components/Collapse/index.d.ts +1 -0
  266. package/lib/types/components/ContextMenu/ContextMenu.d.ts +5 -0
  267. package/lib/types/components/ContextMenu/ContextMenu.props.d.ts +24 -0
  268. package/lib/types/components/ContextMenu/index.d.ts +1 -0
  269. package/lib/types/components/Credit/Credit.d.ts +5 -0
  270. package/lib/types/components/Credit/Credit.props.d.ts +10 -0
  271. package/lib/types/components/Credit/index.d.ts +1 -0
  272. package/lib/types/components/DatePicker/DatePicker.d.ts +6 -0
  273. package/lib/types/components/DatePicker/DatePicker.props.d.ts +21 -0
  274. package/lib/types/components/DatePicker/index.d.ts +1 -0
  275. package/lib/types/components/Dropdown/Dropdown.d.ts +7 -0
  276. package/lib/types/components/Dropdown/Dropdown.props.d.ts +43 -0
  277. package/lib/types/components/Dropdown/index.d.ts +1 -0
  278. package/lib/types/components/Empty/Empty.d.ts +5 -0
  279. package/lib/types/components/Empty/Empty.props.d.ts +12 -0
  280. package/lib/types/components/Empty/index.d.ts +1 -0
  281. package/lib/types/components/Fieldset/Fieldset.d.ts +11 -0
  282. package/lib/types/components/Fieldset/Fieldset.props.d.ts +28 -0
  283. package/lib/types/components/Fieldset/index.d.ts +1 -0
  284. package/lib/types/components/FileUpload/FileUpload.d.ts +7 -0
  285. package/lib/types/components/FileUpload/FileUpload.props.d.ts +17 -0
  286. package/lib/types/components/FileUpload/index.d.ts +1 -0
  287. package/lib/types/components/Footer/Footer.d.ts +5 -0
  288. package/lib/types/components/Footer/Footer.props.d.ts +49 -0
  289. package/lib/types/components/Footer/index.d.ts +1 -0
  290. package/lib/types/components/Form/Form.d.ts +4 -0
  291. package/lib/types/components/Form/Form.props.d.ts +7 -0
  292. package/lib/types/components/Form/index.d.ts +2 -0
  293. package/lib/types/components/FormControl/FormControl.d.ts +10 -0
  294. package/lib/types/components/FormControl/FormControl.props.d.ts +56 -0
  295. package/lib/types/components/FormControl/index.d.ts +2 -0
  296. package/lib/types/components/FormElement/FormElement.d.ts +5 -0
  297. package/lib/types/components/FormElement/FormElement.props.d.ts +48 -0
  298. package/lib/types/components/FormElement/index.d.ts +1 -0
  299. package/lib/types/components/GlobalProvider/GlobalCtx.d.ts +3 -0
  300. package/lib/types/components/GlobalProvider/GlobalProvider.d.ts +5 -0
  301. package/lib/types/components/GlobalProvider/GlobalProvider.props.d.ts +14 -0
  302. package/lib/types/components/GlobalProvider/index.d.ts +2 -0
  303. package/lib/types/components/Heading/Heading.d.ts +5 -0
  304. package/lib/types/components/Heading/Heading.props.d.ts +21 -0
  305. package/lib/types/components/Heading/index.d.ts +1 -0
  306. package/lib/types/components/Hero/Hero.d.ts +5 -0
  307. package/lib/types/components/Hero/Hero.props.d.ts +52 -0
  308. package/lib/types/components/Hero/HeroCard.d.ts +5 -0
  309. package/lib/types/components/Hero/HeroCard.props.d.ts +45 -0
  310. package/lib/types/components/Hero/index.d.ts +2 -0
  311. package/lib/types/components/Icon/Icon.d.ts +5 -0
  312. package/lib/types/components/Icon/Icon.props.d.ts +14 -0
  313. package/lib/types/components/Icon/index.d.ts +1 -0
  314. package/lib/types/components/Image/Image.d.ts +5 -0
  315. package/lib/types/components/Image/Image.props.d.ts +37 -0
  316. package/lib/types/components/Image/index.d.ts +1 -0
  317. package/lib/types/components/Input/Input.d.ts +5 -0
  318. package/lib/types/components/Input/Input.props.d.ts +53 -0
  319. package/lib/types/components/Input/index.d.ts +1 -0
  320. package/lib/types/components/Link/Link.d.ts +5 -0
  321. package/lib/types/components/Link/Link.props.d.ts +33 -0
  322. package/lib/types/components/Link/index.d.ts +1 -0
  323. package/lib/types/components/LinkList/LinkList.d.ts +5 -0
  324. package/lib/types/components/LinkList/LinkList.props.d.ts +44 -0
  325. package/lib/types/components/LinkList/index.d.ts +1 -0
  326. package/lib/types/components/List/List.d.ts +5 -0
  327. package/lib/types/components/List/List.props.d.ts +25 -0
  328. package/lib/types/components/List/ListItem.d.ts +5 -0
  329. package/lib/types/components/List/ListItem.props.d.ts +16 -0
  330. package/lib/types/components/List/index.d.ts +2 -0
  331. package/lib/types/components/Loading/Loading.d.ts +5 -0
  332. package/lib/types/components/Loading/Loading.props.d.ts +20 -0
  333. package/lib/types/components/Loading/index.d.ts +1 -0
  334. package/lib/types/components/LocalNav/LocalNav.d.ts +5 -0
  335. package/lib/types/components/LocalNav/LocalNav.props.d.ts +48 -0
  336. package/lib/types/components/LocalNav/index.d.ts +1 -0
  337. package/lib/types/components/Logo/Logo.d.ts +5 -0
  338. package/lib/types/components/Logo/Logo.props.d.ts +55 -0
  339. package/lib/types/components/Logo/index.d.ts +1 -0
  340. package/lib/types/components/LogoGrid/LogoGrid.d.ts +5 -0
  341. package/lib/types/components/LogoGrid/LogoGrid.props.d.ts +24 -0
  342. package/lib/types/components/LogoGrid/index.d.ts +1 -0
  343. package/lib/types/components/Navigation/Navigation.d.ts +5 -0
  344. package/lib/types/components/Navigation/Navigation.props.d.ts +100 -0
  345. package/lib/types/components/Navigation/index.d.ts +1 -0
  346. package/lib/types/components/Notification/Notification.d.ts +5 -0
  347. package/lib/types/components/Notification/Notification.props.d.ts +57 -0
  348. package/lib/types/components/Notification/index.d.ts +1 -0
  349. package/lib/types/components/NumberPicker/NumberPicker.d.ts +7 -0
  350. package/lib/types/components/NumberPicker/NumberPicker.props.d.ts +21 -0
  351. package/lib/types/components/NumberPicker/index.d.ts +1 -0
  352. package/lib/types/components/Pagination/Pagination.d.ts +5 -0
  353. package/lib/types/components/Pagination/Pagination.props.d.ts +54 -0
  354. package/lib/types/components/Pagination/index.d.ts +1 -0
  355. package/lib/types/components/Profile/Profile.d.ts +5 -0
  356. package/lib/types/components/Profile/Profile.props.d.ts +47 -0
  357. package/lib/types/components/Profile/index.d.ts +1 -0
  358. package/lib/types/components/Radio/Radio.d.ts +7 -0
  359. package/lib/types/components/Radio/Radio.props.d.ts +4 -0
  360. package/lib/types/components/Radio/index.d.ts +2 -0
  361. package/lib/types/components/ReadMore/ReadMore.d.ts +5 -0
  362. package/lib/types/components/ReadMore/ReadMore.props.d.ts +32 -0
  363. package/lib/types/components/ReadMore/index.d.ts +1 -0
  364. package/lib/types/components/RichText/RichText.d.ts +5 -0
  365. package/lib/types/components/RichText/RichText.props.d.ts +10 -0
  366. package/lib/types/components/RichText/index.d.ts +1 -0
  367. package/lib/types/components/SearchField/SearchField.d.ts +5 -0
  368. package/lib/types/components/SearchField/SearchField.props.d.ts +30 -0
  369. package/lib/types/components/SearchField/index.d.ts +1 -0
  370. package/lib/types/components/SocialMedia/SocialMedia.d.ts +4 -0
  371. package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +42 -0
  372. package/lib/types/components/SocialMedia/index.d.ts +3 -0
  373. package/lib/types/components/TableOfContents/TableOfContents.d.ts +5 -0
  374. package/lib/types/components/TableOfContents/TableOfContents.props.d.ts +20 -0
  375. package/lib/types/components/TableOfContents/index.d.ts +1 -0
  376. package/lib/types/components/Tabs/Tabs.args.d.ts +11 -0
  377. package/lib/types/components/Tabs/Tabs.d.ts +5 -0
  378. package/lib/types/components/Tabs/Tabs.props.d.ts +14 -0
  379. package/lib/types/components/Tabs/index.d.ts +1 -0
  380. package/lib/types/components/Tag/Tag.d.ts +5 -0
  381. package/lib/types/components/Tag/Tag.props.d.ts +29 -0
  382. package/lib/types/components/Tag/TagCtx.d.ts +3 -0
  383. package/lib/types/components/Tag/TagSet.d.ts +5 -0
  384. package/lib/types/components/Tag/TagSet.props.d.ts +31 -0
  385. package/lib/types/components/Tag/index.d.ts +2 -0
  386. package/lib/types/components/TextInput/TextInput.d.ts +7 -0
  387. package/lib/types/components/TextInput/TextInput.props.d.ts +17 -0
  388. package/lib/types/components/TextInput/index.d.ts +2 -0
  389. package/lib/types/components/Textarea/Textarea.d.ts +7 -0
  390. package/lib/types/components/Textarea/Textarea.props.d.ts +37 -0
  391. package/lib/types/components/Textarea/index.d.ts +3 -0
  392. package/lib/types/components/Toggle/Toggle.d.ts +6 -0
  393. package/lib/types/components/Toggle/Toggle.props.d.ts +22 -0
  394. package/lib/types/components/Toggle/index.d.ts +3 -0
  395. package/lib/types/components/Tooltip/Tooltip.d.ts +5 -0
  396. package/lib/types/components/Tooltip/Tooltip.props.d.ts +33 -0
  397. package/lib/types/components/Tooltip/index.d.ts +1 -0
  398. package/lib/types/components/Video/Video.d.ts +5 -0
  399. package/lib/types/components/Video/Video.props.d.ts +29 -0
  400. package/lib/types/components/Video/VideoPlayer.d.ts +4 -0
  401. package/lib/types/components/Video/VideoPlayer.props.d.ts +43 -0
  402. package/lib/types/components/Video/index.d.ts +1 -0
  403. package/lib/types/components/index.d.ts +41 -0
  404. package/lib/types/hooks/index.d.ts +2 -0
  405. package/lib/types/hooks/useGlobalSettings.d.ts +4 -0
  406. package/lib/types/hooks/usePrevious.d.ts +2 -0
  407. package/lib/types/index.d.ts +2 -0
  408. package/lib/types/types/index.d.ts +92 -0
  409. package/lib/types/utils/checkArrayDuplicates.d.ts +1 -0
  410. package/lib/types/utils/createChainedFunction.d.ts +11 -0
  411. package/lib/types/utils/getDefaultDimensionValue.d.ts +3 -0
  412. package/lib/types/utils/hoursMinutesSeconds.d.ts +1 -0
  413. package/lib/types/utils/index.d.ts +6 -0
  414. package/lib/types/utils/transitionEndListener.d.ts +1 -0
  415. package/lib/types/utils/triggerBrowserReflow.d.ts +1 -0
  416. package/package.json +28 -72
  417. package/lib/cjs/AccordionCtx-be704051.js +0 -9
  418. package/lib/cjs/GlobalCtx-10114bdd.js +0 -9
  419. package/lib/cjs/TagCtx-690a1d54.js +0 -7
  420. package/lib/cjs/components/Accordion/Accordion.js +0 -47
  421. package/lib/cjs/components/Accordion/AccordionButton.js +0 -34
  422. package/lib/cjs/components/Accordion/AccordionItem.js +0 -21
  423. package/lib/cjs/components/Accordion/AccordionPanel.js +0 -30
  424. package/lib/cjs/components/Accordion/index.js +0 -22
  425. package/lib/cjs/components/Breadcrumb/Breadcrumb.js +0 -189
  426. package/lib/cjs/components/Breadcrumb/index.js +0 -14
  427. package/lib/cjs/components/Button/Button.js +0 -36
  428. package/lib/cjs/components/Button/index.js +0 -48
  429. package/lib/cjs/components/Callout/Callout.js +0 -47
  430. package/lib/cjs/components/Callout/index.js +0 -30
  431. package/lib/cjs/components/Cards/CardGroup/CardGroup.js +0 -47
  432. package/lib/cjs/components/Cards/CardGroup/index.js +0 -800
  433. package/lib/cjs/components/Cards/DataCard/DataCard.js +0 -27
  434. package/lib/cjs/components/Cards/DataCard/index.js +0 -81
  435. package/lib/cjs/components/Cards/DetailCard/DetailCard.js +0 -20
  436. package/lib/cjs/components/Cards/DetailCard/index.js +0 -25
  437. package/lib/cjs/components/Cards/FactlistCard/FactListCard.js +0 -22
  438. package/lib/cjs/components/Cards/FactlistCard/index.js +0 -24
  439. package/lib/cjs/components/Cards/FeatureCard/FeatureCard.js +0 -24
  440. package/lib/cjs/components/Cards/FeatureCard/index.js +0 -39
  441. package/lib/cjs/components/Cards/MultilinkCard/MultiLinkCard.js +0 -25
  442. package/lib/cjs/components/Cards/MultilinkCard/index.js +0 -43
  443. package/lib/cjs/components/Cards/PromoCard/PromoCard.js +0 -23
  444. package/lib/cjs/components/Cards/PromoCard/index.js +0 -26
  445. package/lib/cjs/components/Cards/StatCard/StatCard.js +0 -21
  446. package/lib/cjs/components/Cards/StatCard/index.js +0 -23
  447. package/lib/cjs/components/Cards/TextCard/TextCard.js +0 -23
  448. package/lib/cjs/components/Cards/TextCard/index.js +0 -30
  449. package/lib/cjs/components/Checkbox/Checkbox.js +0 -46
  450. package/lib/cjs/components/Checkbox/index.js +0 -39
  451. package/lib/cjs/components/Collapse/Collapse.js +0 -1853
  452. package/lib/cjs/components/Collapse/index.js +0 -17
  453. package/lib/cjs/components/ContextMenu/ContextMenu.js +0 -20
  454. package/lib/cjs/components/ContextMenu/index.js +0 -13
  455. package/lib/cjs/components/Credit/Credit.js +0 -33
  456. package/lib/cjs/components/Credit/index.js +0 -13
  457. package/lib/cjs/components/DatePicker/DatePicker.js +0 -37
  458. package/lib/cjs/components/DatePicker/index.js +0 -17
  459. package/lib/cjs/components/Dropdown/Dropdown.js +0 -39
  460. package/lib/cjs/components/Dropdown/index.js +0 -17
  461. package/lib/cjs/components/Empty/Empty.js +0 -19
  462. package/lib/cjs/components/Empty/index.js +0 -13
  463. package/lib/cjs/components/Fieldset/Fieldset.js +0 -48
  464. package/lib/cjs/components/Fieldset/index.js +0 -15
  465. package/lib/cjs/components/FileUpload/FileUpload.js +0 -49
  466. package/lib/cjs/components/FileUpload/index.js +0 -17
  467. package/lib/cjs/components/Footer/Footer.js +0 -24
  468. package/lib/cjs/components/Footer/index.js +0 -20
  469. package/lib/cjs/components/Form/Form.js +0 -19
  470. package/lib/cjs/components/Form/index.js +0 -21
  471. package/lib/cjs/components/FormControl/FormControl.js +0 -79
  472. package/lib/cjs/components/FormControl/index.js +0 -16
  473. package/lib/cjs/components/FormElement/FormElement.js +0 -19
  474. package/lib/cjs/components/FormElement/index.js +0 -8
  475. package/lib/cjs/components/GlobalProvider/GlobalProvider.js +0 -18
  476. package/lib/cjs/components/GlobalProvider/index.js +0 -11
  477. package/lib/cjs/components/Heading/Heading.js +0 -22
  478. package/lib/cjs/components/Heading/index.js +0 -13
  479. package/lib/cjs/components/Hero/Hero.js +0 -37
  480. package/lib/cjs/components/Hero/HeroCard.js +0 -35
  481. package/lib/cjs/components/Hero/index.js +0 -21
  482. package/lib/cjs/components/Icon/Icon.js +0 -43
  483. package/lib/cjs/components/Icon/index.js +0 -13
  484. package/lib/cjs/components/Image/Image.js +0 -31
  485. package/lib/cjs/components/Image/index.js +0 -14
  486. package/lib/cjs/components/Input/Input.js +0 -32
  487. package/lib/cjs/components/Input/index.js +0 -17
  488. package/lib/cjs/components/Link/Link.js +0 -23
  489. package/lib/cjs/components/Link/index.js +0 -13
  490. package/lib/cjs/components/LinkList/LinkList.js +0 -22
  491. package/lib/cjs/components/LinkList/index.js +0 -13
  492. package/lib/cjs/components/List/List.js +0 -23
  493. package/lib/cjs/components/List/ListItem.js +0 -18
  494. package/lib/cjs/components/List/index.js +0 -15
  495. package/lib/cjs/components/Loading/Loading.js +0 -21
  496. package/lib/cjs/components/Loading/index.js +0 -13
  497. package/lib/cjs/components/LocalNav/LocalNav.js +0 -98
  498. package/lib/cjs/components/LocalNav/index.js +0 -15
  499. package/lib/cjs/components/Logo/Logo.js +0 -153
  500. package/lib/cjs/components/Logo/index.js +0 -13
  501. package/lib/cjs/components/LogoGrid/LogoGrid.js +0 -30
  502. package/lib/cjs/components/LogoGrid/index.js +0 -13
  503. package/lib/cjs/components/Navigation/Navigation.js +0 -83
  504. package/lib/cjs/components/Navigation/index.js +0 -22
  505. package/lib/cjs/components/Notification/Notification.js +0 -41
  506. package/lib/cjs/components/Notification/index.js +0 -17
  507. package/lib/cjs/components/NumberPicker/NumberPicker.js +0 -37
  508. package/lib/cjs/components/NumberPicker/index.js +0 -17
  509. package/lib/cjs/components/Pagination/Pagination.js +0 -49
  510. package/lib/cjs/components/Pagination/index.js +0 -13
  511. package/lib/cjs/components/Profile/Profile.js +0 -21
  512. package/lib/cjs/components/Profile/index.js +0 -13
  513. package/lib/cjs/components/Radio/Radio.js +0 -47
  514. package/lib/cjs/components/Radio/index.js +0 -29
  515. package/lib/cjs/components/ReadMore/ReadMore.js +0 -38
  516. package/lib/cjs/components/ReadMore/index.js +0 -14
  517. package/lib/cjs/components/RichText/RichText.js +0 -19
  518. package/lib/cjs/components/RichText/index.js +0 -13
  519. package/lib/cjs/components/SearchField/SearchField.js +0 -48
  520. package/lib/cjs/components/SearchField/index.js +0 -20
  521. package/lib/cjs/components/SocialMedia/SocialMedia.js +0 -26
  522. package/lib/cjs/components/SocialMedia/index.js +0 -58
  523. package/lib/cjs/components/TableOfContents/TableOfContents.js +0 -22
  524. package/lib/cjs/components/TableOfContents/index.js +0 -13
  525. package/lib/cjs/components/Tabs/Tabs.args.js +0 -156
  526. package/lib/cjs/components/Tabs/Tabs.js +0 -24
  527. package/lib/cjs/components/Tabs/index.js +0 -15
  528. package/lib/cjs/components/Tag/Tag.js +0 -54
  529. package/lib/cjs/components/Tag/TagSet.js +0 -46
  530. package/lib/cjs/components/Tag/index.js +0 -20
  531. package/lib/cjs/components/TextInput/TextInput.js +0 -30
  532. package/lib/cjs/components/TextInput/index.js +0 -52
  533. package/lib/cjs/components/Textarea/Textarea.js +0 -32
  534. package/lib/cjs/components/Textarea/index.js +0 -38
  535. package/lib/cjs/components/Toggle/Toggle.js +0 -33
  536. package/lib/cjs/components/Toggle/index.js +0 -51
  537. package/lib/cjs/components/Tooltip/Tooltip.js +0 -73
  538. package/lib/cjs/components/Tooltip/index.js +0 -14
  539. package/lib/cjs/components/Video/Video.js +0 -26
  540. package/lib/cjs/components/Video/VideoPlayer.js +0 -59
  541. package/lib/cjs/components/Video/index.js +0 -16
  542. package/lib/cjs/components/index.js +0 -135
  543. package/lib/cjs/css-9c93400b.js +0 -81
  544. package/lib/cjs/hooks/index.js +0 -11
  545. package/lib/cjs/hooks/useGlobalSettings.js +0 -13
  546. package/lib/cjs/hooks/usePrevious.js +0 -20
  547. package/lib/cjs/utils/checkArrayDuplicates.js +0 -7
  548. package/lib/cjs/utils/createChainedFunction.js +0 -30
  549. package/lib/cjs/utils/getDefaultDimensionValue.js +0 -22
  550. package/lib/cjs/utils/hoursMinutesSeconds.js +0 -12
  551. package/lib/cjs/utils/index.js +0 -18
  552. package/lib/cjs/utils/transitionEndListener.js +0 -161
  553. package/lib/cjs/utils/triggerBrowserReflow.js +0 -8
  554. package/lib/esm/AccordionCtx-8c051900.js +0 -6
  555. package/lib/esm/GlobalCtx-7fb23cfa.js +0 -7
  556. package/lib/esm/TagCtx-34c545fe.js +0 -5
  557. package/lib/esm/components/Accordion/Accordion.js +0 -45
  558. package/lib/esm/components/Accordion/AccordionButton.js +0 -32
  559. package/lib/esm/components/Accordion/AccordionItem.js +0 -19
  560. package/lib/esm/components/Accordion/AccordionPanel.js +0 -28
  561. package/lib/esm/components/Accordion/index.js +0 -13
  562. package/lib/esm/components/Breadcrumb/Breadcrumb.js +0 -187
  563. package/lib/esm/components/Breadcrumb/index.js +0 -8
  564. package/lib/esm/components/Button/Button.js +0 -34
  565. package/lib/esm/components/Button/index.js +0 -45
  566. package/lib/esm/components/Callout/Callout.js +0 -45
  567. package/lib/esm/components/Callout/index.js +0 -27
  568. package/lib/esm/components/Cards/CardGroup/CardGroup.js +0 -45
  569. package/lib/esm/components/Cards/CardGroup/index.js +0 -797
  570. package/lib/esm/components/Cards/DataCard/DataCard.js +0 -25
  571. package/lib/esm/components/Cards/DataCard/index.js +0 -78
  572. package/lib/esm/components/Cards/DetailCard/DetailCard.js +0 -18
  573. package/lib/esm/components/Cards/DetailCard/index.js +0 -22
  574. package/lib/esm/components/Cards/FactlistCard/FactListCard.js +0 -20
  575. package/lib/esm/components/Cards/FactlistCard/index.js +0 -21
  576. package/lib/esm/components/Cards/FeatureCard/FeatureCard.js +0 -22
  577. package/lib/esm/components/Cards/FeatureCard/index.js +0 -36
  578. package/lib/esm/components/Cards/MultilinkCard/MultiLinkCard.js +0 -23
  579. package/lib/esm/components/Cards/MultilinkCard/index.js +0 -40
  580. package/lib/esm/components/Cards/PromoCard/PromoCard.js +0 -21
  581. package/lib/esm/components/Cards/PromoCard/index.js +0 -23
  582. package/lib/esm/components/Cards/StatCard/StatCard.js +0 -19
  583. package/lib/esm/components/Cards/StatCard/index.js +0 -20
  584. package/lib/esm/components/Cards/TextCard/TextCard.js +0 -21
  585. package/lib/esm/components/Cards/TextCard/index.js +0 -27
  586. package/lib/esm/components/Checkbox/Checkbox.js +0 -44
  587. package/lib/esm/components/Checkbox/index.js +0 -36
  588. package/lib/esm/components/Collapse/Collapse.js +0 -1851
  589. package/lib/esm/components/Collapse/index.js +0 -11
  590. package/lib/esm/components/ContextMenu/ContextMenu.js +0 -18
  591. package/lib/esm/components/ContextMenu/index.js +0 -7
  592. package/lib/esm/components/Credit/Credit.js +0 -31
  593. package/lib/esm/components/Credit/index.js +0 -7
  594. package/lib/esm/components/DatePicker/DatePicker.js +0 -35
  595. package/lib/esm/components/DatePicker/index.js +0 -11
  596. package/lib/esm/components/Dropdown/Dropdown.js +0 -37
  597. package/lib/esm/components/Dropdown/index.js +0 -11
  598. package/lib/esm/components/Empty/Empty.js +0 -17
  599. package/lib/esm/components/Empty/index.js +0 -7
  600. package/lib/esm/components/Fieldset/Fieldset.js +0 -42
  601. package/lib/esm/components/Fieldset/index.js +0 -9
  602. package/lib/esm/components/FileUpload/FileUpload.js +0 -47
  603. package/lib/esm/components/FileUpload/index.js +0 -11
  604. package/lib/esm/components/Footer/Footer.js +0 -22
  605. package/lib/esm/components/Footer/index.js +0 -14
  606. package/lib/esm/components/Form/Form.js +0 -17
  607. package/lib/esm/components/Form/index.js +0 -18
  608. package/lib/esm/components/FormControl/FormControl.js +0 -73
  609. package/lib/esm/components/FormControl/index.js +0 -10
  610. package/lib/esm/components/FormElement/FormElement.js +0 -17
  611. package/lib/esm/components/FormElement/index.js +0 -2
  612. package/lib/esm/components/GlobalProvider/GlobalProvider.js +0 -16
  613. package/lib/esm/components/GlobalProvider/index.js +0 -4
  614. package/lib/esm/components/Heading/Heading.js +0 -20
  615. package/lib/esm/components/Heading/index.js +0 -7
  616. package/lib/esm/components/Hero/Hero.js +0 -35
  617. package/lib/esm/components/Hero/HeroCard.js +0 -33
  618. package/lib/esm/components/Hero/index.js +0 -14
  619. package/lib/esm/components/Icon/Icon.js +0 -22
  620. package/lib/esm/components/Icon/index.js +0 -7
  621. package/lib/esm/components/Image/Image.js +0 -29
  622. package/lib/esm/components/Image/index.js +0 -8
  623. package/lib/esm/components/Input/Input.js +0 -30
  624. package/lib/esm/components/Input/index.js +0 -11
  625. package/lib/esm/components/Link/Link.js +0 -21
  626. package/lib/esm/components/Link/index.js +0 -7
  627. package/lib/esm/components/LinkList/LinkList.js +0 -20
  628. package/lib/esm/components/LinkList/index.js +0 -7
  629. package/lib/esm/components/List/List.js +0 -21
  630. package/lib/esm/components/List/ListItem.js +0 -16
  631. package/lib/esm/components/List/index.js +0 -8
  632. package/lib/esm/components/Loading/Loading.js +0 -19
  633. package/lib/esm/components/Loading/index.js +0 -7
  634. package/lib/esm/components/LocalNav/LocalNav.js +0 -96
  635. package/lib/esm/components/LocalNav/index.js +0 -9
  636. package/lib/esm/components/Logo/Logo.js +0 -151
  637. package/lib/esm/components/Logo/index.js +0 -7
  638. package/lib/esm/components/LogoGrid/LogoGrid.js +0 -28
  639. package/lib/esm/components/LogoGrid/index.js +0 -7
  640. package/lib/esm/components/Navigation/Navigation.js +0 -81
  641. package/lib/esm/components/Navigation/index.js +0 -16
  642. package/lib/esm/components/Notification/Notification.js +0 -39
  643. package/lib/esm/components/Notification/index.js +0 -11
  644. package/lib/esm/components/NumberPicker/NumberPicker.js +0 -35
  645. package/lib/esm/components/NumberPicker/index.js +0 -11
  646. package/lib/esm/components/Pagination/Pagination.js +0 -47
  647. package/lib/esm/components/Pagination/index.js +0 -7
  648. package/lib/esm/components/Profile/Profile.js +0 -19
  649. package/lib/esm/components/Profile/index.js +0 -7
  650. package/lib/esm/components/Radio/Radio.js +0 -45
  651. package/lib/esm/components/Radio/index.js +0 -26
  652. package/lib/esm/components/ReadMore/ReadMore.js +0 -36
  653. package/lib/esm/components/ReadMore/index.js +0 -8
  654. package/lib/esm/components/RichText/RichText.js +0 -17
  655. package/lib/esm/components/RichText/index.js +0 -7
  656. package/lib/esm/components/SearchField/SearchField.js +0 -46
  657. package/lib/esm/components/SearchField/index.js +0 -14
  658. package/lib/esm/components/SocialMedia/SocialMedia.js +0 -24
  659. package/lib/esm/components/SocialMedia/index.js +0 -55
  660. package/lib/esm/components/TableOfContents/TableOfContents.js +0 -20
  661. package/lib/esm/components/TableOfContents/index.js +0 -7
  662. package/lib/esm/components/Tabs/Tabs.args.js +0 -154
  663. package/lib/esm/components/Tabs/Tabs.js +0 -22
  664. package/lib/esm/components/Tabs/index.js +0 -9
  665. package/lib/esm/components/Tag/Tag.js +0 -52
  666. package/lib/esm/components/Tag/TagSet.js +0 -44
  667. package/lib/esm/components/Tag/index.js +0 -13
  668. package/lib/esm/components/TextInput/TextInput.js +0 -28
  669. package/lib/esm/components/TextInput/index.js +0 -49
  670. package/lib/esm/components/Textarea/Textarea.js +0 -30
  671. package/lib/esm/components/Textarea/index.js +0 -35
  672. package/lib/esm/components/Toggle/Toggle.js +0 -31
  673. package/lib/esm/components/Toggle/index.js +0 -48
  674. package/lib/esm/components/Tooltip/Tooltip.js +0 -71
  675. package/lib/esm/components/Tooltip/index.js +0 -8
  676. package/lib/esm/components/Video/Video.js +0 -24
  677. package/lib/esm/components/Video/VideoPlayer.js +0 -57
  678. package/lib/esm/components/Video/index.js +0 -10
  679. package/lib/esm/components/index.js +0 -86
  680. package/lib/esm/css-7414f50b.js +0 -79
  681. package/lib/esm/hooks/index.js +0 -5
  682. package/lib/esm/hooks/useGlobalSettings.js +0 -11
  683. package/lib/esm/hooks/usePrevious.js +0 -15
  684. package/lib/esm/utils/checkArrayDuplicates.js +0 -5
  685. package/lib/esm/utils/createChainedFunction.js +0 -28
  686. package/lib/esm/utils/getDefaultDimensionValue.js +0 -20
  687. package/lib/esm/utils/hoursMinutesSeconds.js +0 -10
  688. package/lib/esm/utils/index.js +0 -7
  689. package/lib/esm/utils/transitionEndListener.js +0 -159
  690. package/lib/esm/utils/triggerBrowserReflow.js +0 -6
  691. package/lib/types/react/src/components/Accordion/Accordion.d.ts +0 -4
  692. package/lib/types/react/src/components/Accordion/Accordion.props.d.ts +0 -33
  693. package/lib/types/react/src/components/Accordion/AccordionButton.d.ts +0 -4
  694. package/lib/types/react/src/components/Accordion/AccordionButton.props.d.ts +0 -11
  695. package/lib/types/react/src/components/Accordion/AccordionCtx.d.ts +0 -4
  696. package/lib/types/react/src/components/Accordion/AccordionItem.d.ts +0 -4
  697. package/lib/types/react/src/components/Accordion/AccordionItem.props.d.ts +0 -21
  698. package/lib/types/react/src/components/Accordion/AccordionPanel.d.ts +0 -4
  699. package/lib/types/react/src/components/Accordion/AccordionPanel.props.d.ts +0 -21
  700. package/lib/types/react/src/components/Accordion/index.d.ts +0 -4
  701. package/lib/types/react/src/components/Breadcrumb/Breadcrumb.d.ts +0 -4
  702. package/lib/types/react/src/components/Breadcrumb/Breadcrumb.props.d.ts +0 -32
  703. package/lib/types/react/src/components/Breadcrumb/index.d.ts +0 -1
  704. package/lib/types/react/src/components/Button/Button.args.d.ts +0 -11
  705. package/lib/types/react/src/components/Button/Button.d.ts +0 -4
  706. package/lib/types/react/src/components/Button/Button.props.d.ts +0 -68
  707. package/lib/types/react/src/components/Button/index.d.ts +0 -2
  708. package/lib/types/react/src/components/Callout/Callout.args.d.ts +0 -8
  709. package/lib/types/react/src/components/Callout/Callout.d.ts +0 -4
  710. package/lib/types/react/src/components/Callout/Callout.props.d.ts +0 -50
  711. package/lib/types/react/src/components/Callout/index.d.ts +0 -2
  712. package/lib/types/react/src/components/Cards/CardGroup/CardGroup.args.d.ts +0 -13
  713. package/lib/types/react/src/components/Cards/CardGroup/CardGroup.d.ts +0 -4
  714. package/lib/types/react/src/components/Cards/CardGroup/CardGroup.props.d.ts +0 -84
  715. package/lib/types/react/src/components/Cards/CardGroup/index.d.ts +0 -3
  716. package/lib/types/react/src/components/Cards/DataCard/DataCard.args.d.ts +0 -2
  717. package/lib/types/react/src/components/Cards/DataCard/DataCard.d.ts +0 -4
  718. package/lib/types/react/src/components/Cards/DataCard/DataCard.props.d.ts +0 -50
  719. package/lib/types/react/src/components/Cards/DataCard/index.d.ts +0 -3
  720. package/lib/types/react/src/components/Cards/DetailCard/DetailCard.args.d.ts +0 -3
  721. package/lib/types/react/src/components/Cards/DetailCard/DetailCard.d.ts +0 -4
  722. package/lib/types/react/src/components/Cards/DetailCard/DetailCard.props.d.ts +0 -39
  723. package/lib/types/react/src/components/Cards/DetailCard/index.d.ts +0 -3
  724. package/lib/types/react/src/components/Cards/FactlistCard/FactListCard.args.d.ts +0 -3
  725. package/lib/types/react/src/components/Cards/FactlistCard/FactListCard.d.ts +0 -4
  726. package/lib/types/react/src/components/Cards/FactlistCard/FactListCard.props.d.ts +0 -20
  727. package/lib/types/react/src/components/Cards/FactlistCard/index.d.ts +0 -3
  728. package/lib/types/react/src/components/Cards/FeatureCard/FeatureCard.args.d.ts +0 -3
  729. package/lib/types/react/src/components/Cards/FeatureCard/FeatureCard.d.ts +0 -4
  730. package/lib/types/react/src/components/Cards/FeatureCard/FeatureCard.props.d.ts +0 -35
  731. package/lib/types/react/src/components/Cards/FeatureCard/index.d.ts +0 -3
  732. package/lib/types/react/src/components/Cards/MultilinkCard/MultiLinkCard.d.ts +0 -4
  733. package/lib/types/react/src/components/Cards/MultilinkCard/MultilinkCard.args.d.ts +0 -2
  734. package/lib/types/react/src/components/Cards/MultilinkCard/MultilinkCard.props.d.ts +0 -29
  735. package/lib/types/react/src/components/Cards/MultilinkCard/index.d.ts +0 -3
  736. package/lib/types/react/src/components/Cards/PromoCard/PromoCard.args.d.ts +0 -3
  737. package/lib/types/react/src/components/Cards/PromoCard/PromoCard.d.ts +0 -4
  738. package/lib/types/react/src/components/Cards/PromoCard/PromoCard.props.d.ts +0 -34
  739. package/lib/types/react/src/components/Cards/PromoCard/index.d.ts +0 -3
  740. package/lib/types/react/src/components/Cards/StatCard/StatCard.args.d.ts +0 -3
  741. package/lib/types/react/src/components/Cards/StatCard/StatCard.d.ts +0 -4
  742. package/lib/types/react/src/components/Cards/StatCard/StatCard.props.d.ts +0 -25
  743. package/lib/types/react/src/components/Cards/StatCard/index.d.ts +0 -3
  744. package/lib/types/react/src/components/Cards/TextCard/TextCard.args.d.ts +0 -3
  745. package/lib/types/react/src/components/Cards/TextCard/TextCard.d.ts +0 -4
  746. package/lib/types/react/src/components/Cards/TextCard/TextCard.props.d.ts +0 -30
  747. package/lib/types/react/src/components/Cards/TextCard/index.d.ts +0 -3
  748. package/lib/types/react/src/components/Checkbox/Checkbox.args.d.ts +0 -52
  749. package/lib/types/react/src/components/Checkbox/Checkbox.d.ts +0 -6
  750. package/lib/types/react/src/components/Checkbox/Checkbox.props.d.ts +0 -4
  751. package/lib/types/react/src/components/Checkbox/index.d.ts +0 -2
  752. package/lib/types/react/src/components/Collapse/Collapse.d.ts +0 -3
  753. package/lib/types/react/src/components/Collapse/Collapse.props.d.ts +0 -76
  754. package/lib/types/react/src/components/Collapse/index.d.ts +0 -1
  755. package/lib/types/react/src/components/ContextMenu/ContextMenu.d.ts +0 -4
  756. package/lib/types/react/src/components/ContextMenu/ContextMenu.props.d.ts +0 -24
  757. package/lib/types/react/src/components/ContextMenu/index.d.ts +0 -1
  758. package/lib/types/react/src/components/Credit/Credit.d.ts +0 -4
  759. package/lib/types/react/src/components/Credit/Credit.props.d.ts +0 -10
  760. package/lib/types/react/src/components/Credit/index.d.ts +0 -1
  761. package/lib/types/react/src/components/DatePicker/DatePicker.d.ts +0 -5
  762. package/lib/types/react/src/components/DatePicker/DatePicker.props.d.ts +0 -21
  763. package/lib/types/react/src/components/DatePicker/index.d.ts +0 -1
  764. package/lib/types/react/src/components/Dropdown/Dropdown.d.ts +0 -6
  765. package/lib/types/react/src/components/Dropdown/Dropdown.props.d.ts +0 -43
  766. package/lib/types/react/src/components/Dropdown/index.d.ts +0 -1
  767. package/lib/types/react/src/components/Empty/Empty.d.ts +0 -4
  768. package/lib/types/react/src/components/Empty/Empty.props.d.ts +0 -11
  769. package/lib/types/react/src/components/Empty/index.d.ts +0 -1
  770. package/lib/types/react/src/components/Fieldset/Fieldset.d.ts +0 -10
  771. package/lib/types/react/src/components/Fieldset/Fieldset.props.d.ts +0 -27
  772. package/lib/types/react/src/components/Fieldset/index.d.ts +0 -1
  773. package/lib/types/react/src/components/FileUpload/FileUpload.d.ts +0 -6
  774. package/lib/types/react/src/components/FileUpload/FileUpload.props.d.ts +0 -17
  775. package/lib/types/react/src/components/FileUpload/index.d.ts +0 -1
  776. package/lib/types/react/src/components/Footer/Footer.d.ts +0 -4
  777. package/lib/types/react/src/components/Footer/Footer.props.d.ts +0 -49
  778. package/lib/types/react/src/components/Footer/index.d.ts +0 -1
  779. package/lib/types/react/src/components/Form/Form.args.d.ts +0 -2
  780. package/lib/types/react/src/components/Form/Form.d.ts +0 -3
  781. package/lib/types/react/src/components/Form/Form.props.d.ts +0 -7
  782. package/lib/types/react/src/components/Form/index.d.ts +0 -2
  783. package/lib/types/react/src/components/FormControl/FormControl.d.ts +0 -9
  784. package/lib/types/react/src/components/FormControl/FormControl.props.d.ts +0 -55
  785. package/lib/types/react/src/components/FormControl/index.d.ts +0 -2
  786. package/lib/types/react/src/components/FormElement/FormElement.d.ts +0 -4
  787. package/lib/types/react/src/components/FormElement/FormElement.props.d.ts +0 -47
  788. package/lib/types/react/src/components/FormElement/index.d.ts +0 -1
  789. package/lib/types/react/src/components/GlobalProvider/GlobalCtx.d.ts +0 -2
  790. package/lib/types/react/src/components/GlobalProvider/GlobalProvider.d.ts +0 -4
  791. package/lib/types/react/src/components/GlobalProvider/GlobalProvider.props.d.ts +0 -13
  792. package/lib/types/react/src/components/GlobalProvider/index.d.ts +0 -2
  793. package/lib/types/react/src/components/Heading/Heading.d.ts +0 -4
  794. package/lib/types/react/src/components/Heading/Heading.props.d.ts +0 -20
  795. package/lib/types/react/src/components/Heading/index.d.ts +0 -1
  796. package/lib/types/react/src/components/Hero/Hero.d.ts +0 -4
  797. package/lib/types/react/src/components/Hero/Hero.props.d.ts +0 -51
  798. package/lib/types/react/src/components/Hero/HeroCard.d.ts +0 -4
  799. package/lib/types/react/src/components/Hero/HeroCard.props.d.ts +0 -44
  800. package/lib/types/react/src/components/Hero/index.d.ts +0 -2
  801. package/lib/types/react/src/components/Icon/Icon.d.ts +0 -4
  802. package/lib/types/react/src/components/Icon/Icon.props.d.ts +0 -14
  803. package/lib/types/react/src/components/Icon/index.d.ts +0 -1
  804. package/lib/types/react/src/components/Image/Image.d.ts +0 -4
  805. package/lib/types/react/src/components/Image/Image.props.d.ts +0 -37
  806. package/lib/types/react/src/components/Image/index.d.ts +0 -1
  807. package/lib/types/react/src/components/Input/Input.d.ts +0 -4
  808. package/lib/types/react/src/components/Input/Input.props.d.ts +0 -52
  809. package/lib/types/react/src/components/Input/index.d.ts +0 -1
  810. package/lib/types/react/src/components/Link/Link.d.ts +0 -4
  811. package/lib/types/react/src/components/Link/Link.props.d.ts +0 -32
  812. package/lib/types/react/src/components/Link/index.d.ts +0 -1
  813. package/lib/types/react/src/components/LinkList/LinkList.d.ts +0 -4
  814. package/lib/types/react/src/components/LinkList/LinkList.props.d.ts +0 -43
  815. package/lib/types/react/src/components/LinkList/index.d.ts +0 -1
  816. package/lib/types/react/src/components/List/List.d.ts +0 -4
  817. package/lib/types/react/src/components/List/List.props.d.ts +0 -24
  818. package/lib/types/react/src/components/List/ListItem.d.ts +0 -4
  819. package/lib/types/react/src/components/List/ListItem.props.d.ts +0 -15
  820. package/lib/types/react/src/components/List/index.d.ts +0 -2
  821. package/lib/types/react/src/components/Loading/Loading.d.ts +0 -4
  822. package/lib/types/react/src/components/Loading/Loading.props.d.ts +0 -19
  823. package/lib/types/react/src/components/Loading/index.d.ts +0 -1
  824. package/lib/types/react/src/components/LocalNav/LocalNav.d.ts +0 -4
  825. package/lib/types/react/src/components/LocalNav/LocalNav.props.d.ts +0 -47
  826. package/lib/types/react/src/components/LocalNav/index.d.ts +0 -1
  827. package/lib/types/react/src/components/Logo/Logo.d.ts +0 -4
  828. package/lib/types/react/src/components/Logo/Logo.props.d.ts +0 -55
  829. package/lib/types/react/src/components/Logo/index.d.ts +0 -1
  830. package/lib/types/react/src/components/LogoGrid/LogoGrid.d.ts +0 -4
  831. package/lib/types/react/src/components/LogoGrid/LogoGrid.props.d.ts +0 -24
  832. package/lib/types/react/src/components/LogoGrid/index.d.ts +0 -1
  833. package/lib/types/react/src/components/Navigation/Navigation.d.ts +0 -4
  834. package/lib/types/react/src/components/Navigation/Navigation.props.d.ts +0 -99
  835. package/lib/types/react/src/components/Navigation/index.d.ts +0 -1
  836. package/lib/types/react/src/components/Notification/Notification.d.ts +0 -4
  837. package/lib/types/react/src/components/Notification/Notification.props.d.ts +0 -56
  838. package/lib/types/react/src/components/Notification/index.d.ts +0 -1
  839. package/lib/types/react/src/components/NumberPicker/NumberPicker.d.ts +0 -6
  840. package/lib/types/react/src/components/NumberPicker/NumberPicker.props.d.ts +0 -21
  841. package/lib/types/react/src/components/NumberPicker/index.d.ts +0 -1
  842. package/lib/types/react/src/components/Pagination/Pagination.d.ts +0 -4
  843. package/lib/types/react/src/components/Pagination/Pagination.props.d.ts +0 -54
  844. package/lib/types/react/src/components/Pagination/index.d.ts +0 -1
  845. package/lib/types/react/src/components/Profile/Profile.d.ts +0 -4
  846. package/lib/types/react/src/components/Profile/Profile.props.d.ts +0 -46
  847. package/lib/types/react/src/components/Profile/index.d.ts +0 -1
  848. package/lib/types/react/src/components/Radio/Radio.args.d.ts +0 -8
  849. package/lib/types/react/src/components/Radio/Radio.d.ts +0 -6
  850. package/lib/types/react/src/components/Radio/Radio.props.d.ts +0 -4
  851. package/lib/types/react/src/components/Radio/index.d.ts +0 -2
  852. package/lib/types/react/src/components/ReadMore/ReadMore.d.ts +0 -4
  853. package/lib/types/react/src/components/ReadMore/ReadMore.props.d.ts +0 -32
  854. package/lib/types/react/src/components/ReadMore/index.d.ts +0 -1
  855. package/lib/types/react/src/components/RichText/RichText.d.ts +0 -4
  856. package/lib/types/react/src/components/RichText/RichText.props.d.ts +0 -10
  857. package/lib/types/react/src/components/RichText/index.d.ts +0 -1
  858. package/lib/types/react/src/components/SearchField/SearchField.d.ts +0 -4
  859. package/lib/types/react/src/components/SearchField/SearchField.props.d.ts +0 -29
  860. package/lib/types/react/src/components/SearchField/index.d.ts +0 -1
  861. package/lib/types/react/src/components/SocialMedia/SocialMedia.args.d.ts +0 -4
  862. package/lib/types/react/src/components/SocialMedia/SocialMedia.d.ts +0 -3
  863. package/lib/types/react/src/components/SocialMedia/SocialMedia.props.d.ts +0 -41
  864. package/lib/types/react/src/components/SocialMedia/index.d.ts +0 -3
  865. package/lib/types/react/src/components/TableOfContents/TableOfContents.d.ts +0 -4
  866. package/lib/types/react/src/components/TableOfContents/TableOfContents.props.d.ts +0 -20
  867. package/lib/types/react/src/components/TableOfContents/index.d.ts +0 -1
  868. package/lib/types/react/src/components/Tabs/Tabs.args.d.ts +0 -10
  869. package/lib/types/react/src/components/Tabs/Tabs.d.ts +0 -4
  870. package/lib/types/react/src/components/Tabs/Tabs.props.d.ts +0 -12
  871. package/lib/types/react/src/components/Tabs/index.d.ts +0 -1
  872. package/lib/types/react/src/components/Tag/Tag.d.ts +0 -4
  873. package/lib/types/react/src/components/Tag/Tag.props.d.ts +0 -28
  874. package/lib/types/react/src/components/Tag/TagCtx.d.ts +0 -2
  875. package/lib/types/react/src/components/Tag/TagSet.d.ts +0 -4
  876. package/lib/types/react/src/components/Tag/TagSet.props.d.ts +0 -30
  877. package/lib/types/react/src/components/Tag/index.d.ts +0 -2
  878. package/lib/types/react/src/components/TextInput/TextInput.args.d.ts +0 -10
  879. package/lib/types/react/src/components/TextInput/TextInput.d.ts +0 -6
  880. package/lib/types/react/src/components/TextInput/TextInput.props.d.ts +0 -17
  881. package/lib/types/react/src/components/TextInput/index.d.ts +0 -2
  882. package/lib/types/react/src/components/Textarea/Textarea.args.d.ts +0 -10
  883. package/lib/types/react/src/components/Textarea/Textarea.d.ts +0 -6
  884. package/lib/types/react/src/components/Textarea/Textarea.props.d.ts +0 -37
  885. package/lib/types/react/src/components/Textarea/index.d.ts +0 -3
  886. package/lib/types/react/src/components/Toggle/Toggle.args.d.ts +0 -12
  887. package/lib/types/react/src/components/Toggle/Toggle.d.ts +0 -5
  888. package/lib/types/react/src/components/Toggle/Toggle.props.d.ts +0 -22
  889. package/lib/types/react/src/components/Toggle/index.d.ts +0 -3
  890. package/lib/types/react/src/components/Tooltip/Tooltip.d.ts +0 -4
  891. package/lib/types/react/src/components/Tooltip/Tooltip.props.d.ts +0 -31
  892. package/lib/types/react/src/components/Tooltip/index.d.ts +0 -1
  893. package/lib/types/react/src/components/Video/Video.d.ts +0 -4
  894. package/lib/types/react/src/components/Video/Video.props.d.ts +0 -28
  895. package/lib/types/react/src/components/Video/VideoPlayer.d.ts +0 -4
  896. package/lib/types/react/src/components/Video/VideoPlayer.props.d.ts +0 -42
  897. package/lib/types/react/src/components/Video/index.d.ts +0 -1
  898. package/lib/types/react/src/components/index.d.ts +0 -41
  899. package/lib/types/react/src/hooks/index.d.ts +0 -1
  900. package/lib/types/react/src/hooks/useGlobalSettings.d.ts +0 -4
  901. package/lib/types/react/src/hooks/usePrevious.d.ts +0 -2
  902. package/lib/types/react/src/index.d.ts +0 -1
  903. package/lib/types/react/src/types/index.d.ts +0 -91
  904. package/lib/types/react/src/utils/checkArrayDuplicates.d.ts +0 -1
  905. package/lib/types/react/src/utils/createChainedFunction.d.ts +0 -11
  906. package/lib/types/react/src/utils/getDefaultDimensionValue.d.ts +0 -3
  907. package/lib/types/react/src/utils/hoursMinutesSeconds.d.ts +0 -1
  908. package/lib/types/react/src/utils/index.d.ts +0 -6
  909. package/lib/types/react/src/utils/transitionEndListener.d.ts +0 -1
  910. package/lib/types/react/src/utils/triggerBrowserReflow.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilo-org/react",
3
- "version": "0.17.8",
3
+ "version": "0.18.0",
4
4
  "description": "React components for the ILO's Design System",
5
5
  "keywords": [
6
6
  "ui_patterns",
@@ -12,6 +12,7 @@
12
12
  "files": [
13
13
  "lib/**/*"
14
14
  ],
15
+ "type": "module",
15
16
  "contributors": [
16
17
  {
17
18
  "name": "Justin Smith",
@@ -41,44 +42,15 @@
41
42
  },
42
43
  "exports": {
43
44
  ".": {
44
- "types": "./lib/types/react/src/index.d.ts",
45
+ "types": "./lib/types/index.d.ts",
45
46
  "import": "./lib/esm/index.js",
46
47
  "default": "./lib/cjs/index.js"
47
48
  },
48
- "./components/*": {
49
- "import": "./lib/esm/components/*/index.js",
50
- "require": "./lib/cjs/components/*/index.js",
51
- "types": "./lib/types/react/src/components/*/index.d.ts"
52
- },
53
- "./hooks/*": {
54
- "import": "./lib/esm/hooks/*.js",
55
- "require": "./lib/cjs/hooks/*.js",
56
- "types": "./lib/types/react/src/hooks/index.d.ts"
57
- },
58
49
  "./styles/": "./lib/styles/"
59
50
  },
60
- "typesVersions": {
61
- "*": {
62
- "components": [
63
- "./lib/types/react/src/components/index.d.ts"
64
- ],
65
- "hooks": [
66
- "./lib/types/react/src/hooks/index.d.ts"
67
- ],
68
- "*": [
69
- "./lib/types/react/src/index.d.ts"
70
- ]
71
- }
72
- },
51
+ "sideEffects": false,
73
52
  "license": "Apache-2.0",
74
- "main": "lib/cjs/index.js",
75
- "module": "lib/esm/index.js",
76
- "types": "lib/types/react/src/index.d.ts",
77
- "jest": {
78
- "moduleNameMapper": {
79
- ".+\\.(css|styl|less|sass|scss|png|jpg|svg|ttf|woff|woff2)$": "identity-obj-proxy"
80
- }
81
- },
53
+ "types": "./lib/types/index.d.ts",
82
54
  "browserslist": {
83
55
  "production": [
84
56
  ">0.2%",
@@ -99,86 +71,70 @@
99
71
  "react-transition-group": "^4.4.1",
100
72
  "video.js": "^7.21.2",
101
73
  "videojs-youtube": "^3.0.1",
102
- "@ilo-org/brand-assets": "1.0.0",
103
74
  "@ilo-org/fonts": "1.0.0",
75
+ "@ilo-org/brand-assets": "1.0.0",
104
76
  "@ilo-org/icons-react": "1.0.1",
105
77
  "@ilo-org/styles": "1.2.2",
106
78
  "@ilo-org/themes": "0.9.1",
107
79
  "@ilo-org/utils": "0.1.1"
108
80
  },
109
81
  "devDependencies": {
110
- "@rollup/plugin-commonjs": "^23.0.2",
111
- "@rollup/plugin-json": "^5.0.1",
112
- "@rollup/plugin-node-resolve": "^15.0.1",
113
82
  "@storybook/addon-actions": "^8.1.9",
114
83
  "@storybook/addon-docs": "^8.1.9",
115
84
  "@storybook/addon-essentials": "^8.1.9",
116
85
  "@storybook/addon-interactions": "^8.1.9",
117
86
  "@storybook/addon-links": "^8.1.9",
118
- "@storybook/builder-vite": "^8.1.9",
119
- "@storybook/node-logger": "^8.1.9",
120
87
  "@storybook/blocks": "^8.1.9",
88
+ "@storybook/builder-vite": "^8.1.9",
121
89
  "@storybook/manager-api": "^8.1.9",
90
+ "@storybook/node-logger": "^8.1.9",
122
91
  "@storybook/preset-scss": "^1.0.3",
123
92
  "@storybook/react": "^8.1.9",
124
93
  "@storybook/react-vite": "^8.1.9",
125
94
  "@storybook/theming": "^8.1.9",
126
- "@testing-library/jest-dom": "5.16.5",
127
- "@testing-library/react": "^12.1.2",
128
- "@testing-library/user-event": "^13.5.0",
129
- "@types/jest": "^27.4.1",
95
+ "@testing-library/jest-dom": "^6.5.0",
96
+ "@testing-library/react": "^16.0.1",
97
+ "@testing-library/user-event": "^14.5.2",
130
98
  "@types/mdx": "^2.0.3",
131
- "@types/node": "^17.0.45",
132
- "@types/react": "^17.0.11",
133
- "@types/react-dom": "^17.0.20",
99
+ "@types/node": "^20.16.0",
100
+ "@types/react": "^18.3.3",
101
+ "@types/react-dom": "^18.3.0",
134
102
  "@types/video.js": "7.3.57",
103
+ "@vitejs/plugin-react": "^4.3.1",
104
+ "@vitest/ui": "^2.0.5",
135
105
  "glob": "^10.3.10",
136
106
  "http-server": "^14.1.0",
137
- "identity-obj-proxy": "^3.0.0",
138
- "jest-environment-jsdom": "27.5.1",
139
- "nodemon": "^2.0.20",
140
- "react": "17.0.2",
141
- "react-dom": "17.0.2",
142
- "react-element-to-jsx-string": "^15.0.0",
143
- "react-scripts": "^5.0.1",
144
- "remark-gfm": "^3.0.1",
145
- "rollup-plugin-copy": "^3.4.0",
146
- "rollup-plugin-delete": "^2.0.0",
147
- "rollup-plugin-livereload": "^2.0.5",
148
- "rollup-plugin-multi-input": "^1.3.1",
149
- "rollup-plugin-mv": "^0.0.2",
150
- "rollup-plugin-peer-deps-external": "^2.2.4",
151
- "rollup-plugin-typescript2": "^0.34.1",
152
- "screenfull": "^5.2.0",
107
+ "jsdom": "^25.0.0",
153
108
  "storybook": "^8.1.9",
154
109
  "storybook-addon-rtl": "^1.0.0",
155
- "ts-dedent": "^2.2.0",
156
- "ts-jest": "^29.1.1",
157
- "tslib": "^2.3.1",
158
110
  "vite": "^5.2.0",
111
+ "vite-plugin-dts": "^3.9.1",
112
+ "vite-plugin-static-copy": "^1.0.6",
113
+ "vitest": "^2.0.5",
159
114
  "@ilo-org/eslint-config": "1.0.0",
160
- "@ilo-org/prettier-config": "1.0.0",
161
- "@ilo-org/typescript-config": "1.0.0"
115
+ "@ilo-org/typescript-config": "1.0.0",
116
+ "@ilo-org/prettier-config": "1.0.0"
162
117
  },
163
118
  "peerDependencies": {
164
- "react": ">16",
165
- "react-dom": ">16"
119
+ "react": "18",
120
+ "react-dom": "18"
166
121
  },
167
122
  "publishConfig": {
168
123
  "access": "public"
169
124
  },
170
125
  "scripts": {
171
126
  "build": "pnpm build:lib",
172
- "build:lib": "rollup -c && npm run copy:styles",
127
+ "build:lib": "tsc --noEmit --project tsconfig.build.json && vite build",
173
128
  "build:docs": "storybook build",
174
129
  "check": "tsc --noEmit --p tsconfig.build.json",
175
- "dev:lib": "rollup --config --configDevelop -w",
130
+ "dev:lib": "vite build --watch",
176
131
  "format": "prettier --check . --ignore-path ../../.prettierignore",
177
132
  "format:fix": "prettier --write . --ignore-path ../../.prettierignore",
178
133
  "lint": "eslint .",
179
134
  "lint:fix": "eslint . --fix",
180
135
  "storybook": "storybook dev -p 6006",
181
136
  "storybook:static": "http-server ./storybook-static",
182
- "copy:styles": "node copystyles.js"
137
+ "test": "vitest",
138
+ "test:ui": "vitest --ui"
183
139
  }
184
140
  }
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
-
5
- const AccordionContext = React.createContext({});
6
- const AccordionItemContext = React.createContext({});
7
-
8
- exports.AccordionContext = AccordionContext;
9
- exports.AccordionItemContext = AccordionItemContext;
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
-
5
- const GlobalProviderContext = React.createContext({
6
- prefix: "ilo",
7
- });
8
-
9
- exports.GlobalProviderContext = GlobalProviderContext;
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
-
5
- const TagSetContext = React.createContext({});
6
-
7
- exports.TagSetContext = TagSetContext;
@@ -1,47 +0,0 @@
1
- 'use strict';
2
-
3
- var jsxRuntime = require('react/jsx-runtime');
4
- var utils = require('@ilo-org/utils');
5
- var classNames = require('classnames');
6
- var React = require('react');
7
- var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
8
- var utils_checkArrayDuplicates = require('../../utils/checkArrayDuplicates.js');
9
- var AccordionCtx = require('../../AccordionCtx-be704051.js');
10
- require('tslib');
11
- require('../../GlobalCtx-10114bdd.js');
12
-
13
- const Accordion = ({ children, allowMultipleExpanded = false, onButtonClick, defaultAccordionsExpanded = [], className, }) => {
14
- const { prefix } = hooks_useGlobalSettings();
15
- const baseClass = `${prefix}--accordion`;
16
- const [activeItems, setActiveItems] = React.useState([]);
17
- const accordionClasses = classNames(className, {
18
- [baseClass]: true,
19
- });
20
- const defaultAccordionsExpandedString = JSON.stringify(defaultAccordionsExpanded);
21
- React.useEffect(() => {
22
- const expandedOnLoad = allowMultipleExpanded
23
- ? defaultAccordionsExpanded
24
- : defaultAccordionsExpanded.length > 0
25
- ? [defaultAccordionsExpanded[0]]
26
- : defaultAccordionsExpanded;
27
- setActiveItems(expandedOnLoad);
28
- }, [defaultAccordionsExpandedString, allowMultipleExpanded]); //eslint-disable-line react-hooks/exhaustive-deps
29
- if (children) {
30
- const ids = [];
31
- React.Children.forEach(children, (child) => {
32
- ids.push(child.props.id);
33
- });
34
- if (utils_checkArrayDuplicates.checkArrayDuplicates(ids)) {
35
- console.warn("Warning: Accordion items must have unique ids.");
36
- }
37
- }
38
- return (jsxRuntime.jsx(AccordionCtx.AccordionContext.Provider, Object.assign({ value: {
39
- activeItems,
40
- setActiveItems,
41
- getUpdatedItems: utils.getUpdatedItems,
42
- allowMultipleExpanded,
43
- onButtonClick,
44
- } }, { children: jsxRuntime.jsx("ul", Object.assign({ className: accordionClasses }, { children: children })) })));
45
- };
46
-
47
- module.exports = Accordion;
@@ -1,34 +0,0 @@
1
- 'use strict';
2
-
3
- var tslib = require('tslib');
4
- var jsxRuntime = require('react/jsx-runtime');
5
- var classNames = require('classnames');
6
- var React = require('react');
7
- var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
8
- var AccordionCtx = require('../../AccordionCtx-be704051.js');
9
- require('../../GlobalCtx-10114bdd.js');
10
-
11
- const AccordionButton = (_a) => {
12
- var { children, className } = _a, rest = tslib.__rest(_a, ["children", "className"]);
13
- const { prefix } = hooks_useGlobalSettings();
14
- const baseClass = `${prefix}--accordion--button`;
15
- const { activeItems, setActiveItems, getUpdatedItems, allowMultipleExpanded, onButtonClick, } = React.useContext(AccordionCtx.AccordionContext);
16
- const { id } = React.useContext(AccordionCtx.AccordionItemContext);
17
- const open = activeItems.indexOf(id) > -1;
18
- const accordionButtonClasses = classNames(className, {
19
- [baseClass]: true,
20
- });
21
- /**
22
- * On click, get id of clicked item, and set that item in state to 'open', all others to 'closed'
23
- */
24
- const handleClick = (e, id) => {
25
- setActiveItems(getUpdatedItems({ id, itemStatuses: activeItems, allowMultipleExpanded }));
26
- if (onButtonClick) {
27
- onButtonClick(e, id);
28
- }
29
- e.currentTarget.blur();
30
- };
31
- return (jsxRuntime.jsx("div", Object.assign({ className: `${prefix}--h3` }, { children: jsxRuntime.jsx("button", Object.assign({ className: accordionButtonClasses, "aria-expanded": open, onClick: (e) => handleClick(e, id), "aria-controls": `panel-${id}`, id: `button-${id}` }, rest, { children: children })) })));
32
- };
33
-
34
- module.exports = AccordionButton;
@@ -1,21 +0,0 @@
1
- 'use strict';
2
-
3
- var tslib = require('tslib');
4
- var jsxRuntime = require('react/jsx-runtime');
5
- var classNames = require('classnames');
6
- var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
7
- var AccordionCtx = require('../../AccordionCtx-be704051.js');
8
- require('react');
9
- require('../../GlobalCtx-10114bdd.js');
10
-
11
- const AccordionItem = (_a) => {
12
- var { children, id, className } = _a, rest = tslib.__rest(_a, ["children", "id", "className"]);
13
- const { prefix } = hooks_useGlobalSettings();
14
- const baseClass = `${prefix}--accordion--item`;
15
- const accordionItemClasses = classNames(className, {
16
- [baseClass]: true,
17
- });
18
- return (jsxRuntime.jsx(AccordionCtx.AccordionItemContext.Provider, Object.assign({ value: { id } }, { children: jsxRuntime.jsx("li", Object.assign({ className: accordionItemClasses }, rest, { children: children })) })));
19
- };
20
-
21
- module.exports = AccordionItem;
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- var tslib = require('tslib');
4
- var jsxRuntime = require('react/jsx-runtime');
5
- var classNames = require('classnames');
6
- var React = require('react');
7
- var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
8
- var AccordionCtx = require('../../AccordionCtx-be704051.js');
9
- require('../../GlobalCtx-10114bdd.js');
10
-
11
- const AccordionPanel = (_a) => {
12
- var { children, className, scroll } = _a, rest = tslib.__rest(_a, ["children", "className", "scroll"]);
13
- const { activeItems } = React.useContext(AccordionCtx.AccordionContext);
14
- const { id } = React.useContext(AccordionCtx.AccordionItemContext);
15
- const [panelHeight, setPanelHeight] = React.useState(0);
16
- const open = activeItems.indexOf(id) > -1;
17
- const { prefix } = hooks_useGlobalSettings();
18
- const baseClass = `${prefix}--accordion--panel`;
19
- const accordionaPanelClasses = classNames(className, baseClass, {
20
- [`${baseClass}__scroll`]: scroll,
21
- [`${baseClass}--open`]: open,
22
- });
23
- const ref = React.useRef();
24
- React.useLayoutEffect(() => {
25
- ref.current && setPanelHeight(ref.current.scrollHeight);
26
- });
27
- return (jsxRuntime.jsx("div", Object.assign({ className: accordionaPanelClasses, id: `panel-${id}`, "aria-labelledby": `button-${id}`, role: "region", ref: ref, style: { ["--height"]: `${panelHeight}px` } }, rest, { children: jsxRuntime.jsx("div", Object.assign({ className: `${prefix}--accordion--innerpanel` }, { children: children })) })));
28
- };
29
-
30
- module.exports = AccordionPanel;
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- var components_Accordion_AccordionButton = require('./AccordionButton.js');
4
- var components_Accordion_AccordionPanel = require('./AccordionPanel.js');
5
- var components_Accordion_AccordionItem = require('./AccordionItem.js');
6
- var components_Accordion_Accordion = require('./Accordion.js');
7
- require('tslib');
8
- require('react/jsx-runtime');
9
- require('classnames');
10
- require('react');
11
- require('../../hooks/useGlobalSettings.js');
12
- require('../../GlobalCtx-10114bdd.js');
13
- require('../../AccordionCtx-be704051.js');
14
- require('@ilo-org/utils');
15
- require('../../utils/checkArrayDuplicates.js');
16
-
17
-
18
-
19
- exports.AccordionButton = components_Accordion_AccordionButton;
20
- exports.AccordionPanel = components_Accordion_AccordionPanel;
21
- exports.AccordionItem = components_Accordion_AccordionItem;
22
- exports.Accordion = components_Accordion_Accordion;
@@ -1,189 +0,0 @@
1
- 'use strict';
2
-
3
- var jsxRuntime = require('react/jsx-runtime');
4
- var React = require('react');
5
- var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
6
- var classNames = require('classnames');
7
- var components_ContextMenu_ContextMenu = require('../ContextMenu/ContextMenu.js');
8
- require('tslib');
9
- require('../../GlobalCtx-10114bdd.js');
10
-
11
- const BreadcrumbItem = ({ url, label, className, labelShown = true, }) => {
12
- const { prefix } = hooks_useGlobalSettings();
13
- const baseClass = `${prefix}--breadcrumb--item`;
14
- const linkClass = `${prefix}--breadcrumb--link`;
15
- const labelClass = `${linkClass}--label`;
16
- const breadcrumbLinkClass = classNames(baseClass, className);
17
- return (jsxRuntime.jsx("li", Object.assign({ className: breadcrumbLinkClass }, { children: labelShown ? (jsxRuntime.jsx("a", Object.assign({ className: linkClass, href: url }, { children: jsxRuntime.jsx("span", Object.assign({ className: labelClass }, { children: label })) }))) : (jsxRuntime.jsx("a", { "aria-label": label, className: linkClass, href: url })) })));
18
- };
19
- const Breadcrumb = ({ className, links, buttonLabel }) => {
20
- const { prefix } = hooks_useGlobalSettings();
21
- // State
22
- const [isCtxMenuOpen, setIsCtxMenuOpen] = React.useState(false);
23
- const [ctxMenuPosition, setCtxMenuPosition] = React.useState({
24
- start: 0,
25
- top: 0,
26
- });
27
- const [isMenuCollapsed, setIsMenuCollapsed] = React.useState(false);
28
- // Refs
29
- const breadcrumbsRef = React.useRef(null);
30
- const breadcrumbsWidth = React.useRef(0);
31
- const buttonRef = React.useRef(null);
32
- const ctxMenuRef = React.useRef(null);
33
- // Shortcuts to classnames
34
- const baseClass = `${prefix}--breadcrumb`;
35
- const innerClass = `${baseClass}--inner`;
36
- const itemsClass = `${baseClass}--items`;
37
- const itemClass = `${baseClass}--item`;
38
- const itemFirstClass = `${itemClass}__first`;
39
- const contextClass = `${baseClass}--context`;
40
- const contextCollapsedClass = `${contextClass}__collapse`;
41
- const contextId = `${baseClass}--menu`;
42
- const buttonClass = `${contextClass}--button`;
43
- // Dynamic classnames
44
- const breadcrumbClass = classNames(baseClass, className);
45
- const contextItemsClass = classNames(contextClass, {
46
- [contextCollapsedClass]: isMenuCollapsed,
47
- });
48
- const contextMenuClass = classNames(`${contextClass}--menu`, {
49
- [`${contextClass}--menu__visible`]: isCtxMenuOpen,
50
- });
51
- // Handlers
52
- function handleButtonClick() {
53
- setIsCtxMenuOpen(!isCtxMenuOpen);
54
- }
55
- const collapseMenu = React.useCallback((collapse) => {
56
- if (collapse && !isMenuCollapsed) {
57
- setIsMenuCollapsed(true);
58
- }
59
- if (!collapse && isMenuCollapsed) {
60
- setIsMenuCollapsed(false);
61
- }
62
- }, [isMenuCollapsed]);
63
- // Get the width of the breadcrumbs and store it in a ref
64
- React.useLayoutEffect(() => {
65
- const breadcrumbs = breadcrumbsRef === null || breadcrumbsRef === void 0 ? void 0 : breadcrumbsRef.current;
66
- if (!breadcrumbs || !window || !document) {
67
- return;
68
- }
69
- breadcrumbsWidth.current = breadcrumbs.offsetWidth;
70
- }, []);
71
- // Collapse or uncollapse the Context Menu depending on body width
72
- React.useLayoutEffect(() => {
73
- const breadcrumbs = breadcrumbsRef === null || breadcrumbsRef === void 0 ? void 0 : breadcrumbsRef.current;
74
- if (!breadcrumbs || !window || !document) {
75
- return;
76
- }
77
- const observer = new ResizeObserver((entries) => {
78
- const bodyWidth = entries[0].contentRect.width;
79
- if (breadcrumbsWidth.current >= bodyWidth / 1.5) {
80
- collapseMenu(true);
81
- }
82
- else {
83
- collapseMenu(false);
84
- }
85
- });
86
- observer.observe(document.body);
87
- return () => {
88
- observer.disconnect();
89
- };
90
- }, [collapseMenu]);
91
- // Position the Context Menu right below the button
92
- React.useLayoutEffect(() => {
93
- if (!buttonRef.current || !ctxMenuRef.current) {
94
- return;
95
- }
96
- if (isMenuCollapsed && isCtxMenuOpen) {
97
- const buttonRect = buttonRef.current.getBoundingClientRect();
98
- const buttonCenterX = buttonRect.left + buttonRect.width / 2;
99
- const contextMenuWidth = ctxMenuRef.current.offsetWidth;
100
- const navStart = buttonCenterX - contextMenuWidth / 2;
101
- const navTop = buttonRect.bottom + 16;
102
- setCtxMenuPosition({ start: navStart, top: navTop });
103
- }
104
- }, [isMenuCollapsed, isCtxMenuOpen]);
105
- // If the ContextMenu is open, close it if the user clicks outside of it
106
- React.useEffect(() => {
107
- function handleClickOutside(event) {
108
- if (isCtxMenuOpen &&
109
- ctxMenuRef.current &&
110
- !ctxMenuRef.current.contains(event.target) &&
111
- buttonRef.current &&
112
- !buttonRef.current.contains(event.target)) {
113
- setIsCtxMenuOpen(false);
114
- }
115
- }
116
- document.addEventListener("mousedown", handleClickOutside);
117
- return () => {
118
- document.removeEventListener("mousedown", handleClickOutside);
119
- };
120
- }, [isMenuCollapsed, isCtxMenuOpen]);
121
- // Close the context menu if the breadcrumbs should un-collapse
122
- React.useEffect(() => {
123
- if (isCtxMenuOpen && !isMenuCollapsed) {
124
- setIsCtxMenuOpen(false);
125
- }
126
- }, [isMenuCollapsed, isCtxMenuOpen]);
127
- // handle tab navigation when the context menu is open
128
- React.useEffect(() => {
129
- if (!buttonRef.current || !ctxMenuRef.current) {
130
- return;
131
- }
132
- function handleKeyDown(event) {
133
- var _a, _b, _c, _d;
134
- if (!isCtxMenuOpen || !isMenuCollapsed) {
135
- return;
136
- }
137
- if (event.key === "Tab") {
138
- const links = (_a = ctxMenuRef.current) === null || _a === void 0 ? void 0 : _a.querySelectorAll("a");
139
- const lastBreadCrumb = (_c = (_b = breadcrumbsRef.current) === null || _b === void 0 ? void 0 : _b.lastElementChild) === null || _c === void 0 ? void 0 : _c.querySelector("a");
140
- if (!links || !lastBreadCrumb) {
141
- return;
142
- }
143
- const firstLink = links[0];
144
- const lastLink = links[links.length - 1];
145
- // If the user is tabbing...
146
- if (!event.shiftKey) {
147
- // If the context button is focused then the next focusable item
148
- // should be the first item in the context menu
149
- if (document.activeElement === buttonRef.current) {
150
- event.preventDefault();
151
- firstLink.focus();
152
- return;
153
- }
154
- // If the last context item is focused then the focus should go to
155
- // the last breadcrumb item
156
- if (document.activeElement === lastLink) {
157
- event.preventDefault();
158
- lastBreadCrumb.focus();
159
- }
160
- }
161
- // If the user is shift-tabbing...
162
- if (event.shiftKey) {
163
- // If the first item is focused then the focus should go back to the context button
164
- if (event.shiftKey && document.activeElement === firstLink) {
165
- event.preventDefault();
166
- (_d = buttonRef === null || buttonRef === void 0 ? void 0 : buttonRef.current) === null || _d === void 0 ? void 0 : _d.focus();
167
- }
168
- // If the focus is on the last breadcrumb item then the focus should go
169
- // to the last item in the context menu
170
- if (event.shiftKey && document.activeElement === lastBreadCrumb) {
171
- event.preventDefault();
172
- lastLink.focus();
173
- }
174
- }
175
- }
176
- }
177
- document.addEventListener("keydown", handleKeyDown);
178
- return () => {
179
- document.removeEventListener("keydown", handleKeyDown);
180
- };
181
- });
182
- // Separate out the links into first, context and last
183
- const firstLink = links[0];
184
- const contextLinks = links.slice(1, links.length - 1);
185
- const lastLink = links[links.length - 1];
186
- return (jsxRuntime.jsxs("nav", Object.assign({ className: breadcrumbClass }, { children: [jsxRuntime.jsx("div", Object.assign({ className: innerClass }, { children: jsxRuntime.jsxs("ol", Object.assign({ className: itemsClass, ref: breadcrumbsRef }, { children: [jsxRuntime.jsx(BreadcrumbItem, { url: firstLink.url, label: firstLink.label, labelShown: false, className: itemFirstClass }), contextLinks && contextLinks.length > 0 ? (jsxRuntime.jsxs("li", Object.assign({ className: contextItemsClass }, { children: [jsxRuntime.jsx("ol", Object.assign({ className: itemsClass }, { children: contextLinks.map((contextLink, i) => (jsxRuntime.jsx(BreadcrumbItem, { url: contextLink.url, label: contextLink.label }, i))) })), jsxRuntime.jsx("button", { "aria-label": buttonLabel, "aria-expanded": isCtxMenuOpen, "aria-controls": contextId, className: buttonClass, onClick: handleButtonClick, ref: buttonRef })] }))) : null, lastLink && (jsxRuntime.jsx(BreadcrumbItem, { url: lastLink.url, label: lastLink.label }))] })) })), jsxRuntime.jsx("div", Object.assign({ className: contextMenuClass, id: contextId, hidden: !isCtxMenuOpen, style: { left: ctxMenuPosition.start, top: ctxMenuPosition.top } }, { children: jsxRuntime.jsx(components_ContextMenu_ContextMenu, { links: contextLinks, ref: ctxMenuRef }) }))] })));
187
- };
188
-
189
- module.exports = Breadcrumb;
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- var components_Breadcrumb_Breadcrumb = require('./Breadcrumb.js');
4
- require('react/jsx-runtime');
5
- require('react');
6
- require('../../hooks/useGlobalSettings.js');
7
- require('tslib');
8
- require('../../GlobalCtx-10114bdd.js');
9
- require('classnames');
10
- require('../ContextMenu/ContextMenu.js');
11
-
12
-
13
-
14
- exports.Breadcrumb = components_Breadcrumb_Breadcrumb;
@@ -1,36 +0,0 @@
1
- 'use strict';
2
-
3
- var jsxRuntime = require('react/jsx-runtime');
4
- var classNames = require('classnames');
5
- var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
6
- var components_Link_Link = require('../Link/Link.js');
7
- var components_Icon_Icon = require('../Icon/Icon.js');
8
- require('tslib');
9
- require('react');
10
- require('../../GlobalCtx-10114bdd.js');
11
- require('@ilo-org/icons-react');
12
-
13
- const Button = ({ callback, className, disabled = false, icon, icononly, iconPosition, kind = "button", label, opensmodal, size = "large", target = "", type = "primary", url, style, name, }) => {
14
- const { prefix } = hooks_useGlobalSettings();
15
- const baseClass = `${prefix}--button`;
16
- const hasURL = !!url;
17
- const icoPos = iconPosition || "left";
18
- const ButtonClasses = classNames(className, {
19
- [baseClass]: true,
20
- [`${baseClass}__${size}`]: size,
21
- [`${baseClass}__${type}`]: type,
22
- [`${baseClass}--icon ${baseClass}--icon--position__${icoPos}`]: icon && !icononly,
23
- [`${baseClass}--icon ${baseClass}--icon--only`]: icon && icononly,
24
- });
25
- /**
26
- * On click, if there is a callback, call it
27
- */
28
- const handleClick = (e) => {
29
- if (callback) {
30
- callback(e);
31
- }
32
- };
33
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: hasURL ? (jsxRuntime.jsx(components_Link_Link, Object.assign({ className: ButtonClasses, target: target, url: url, label: label, style: style }, { children: icon && jsxRuntime.jsx(components_Icon_Icon, { name: icon, hidden: true }) }))) : (jsxRuntime.jsxs("button", Object.assign({ className: ButtonClasses, onClick: (e) => handleClick(e), disabled: disabled, type: kind, "aria-haspopup": opensmodal ? `dialog` : false, style: style, name: name }, { children: [label && jsxRuntime.jsx("span", Object.assign({ className: "button__label" }, { children: label })), icon && jsxRuntime.jsx(components_Icon_Icon, { name: icon, hidden: true })] }))) }));
34
- };
35
-
36
- module.exports = Button;
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- var components_Button_Button = require('./Button.js');
4
- require('react/jsx-runtime');
5
- require('classnames');
6
- require('../../hooks/useGlobalSettings.js');
7
- require('tslib');
8
- require('react');
9
- require('../../GlobalCtx-10114bdd.js');
10
- require('../Link/Link.js');
11
- require('../Icon/Icon.js');
12
- require('@ilo-org/icons-react');
13
-
14
- const primary = {
15
- type: "primary",
16
- label: "Primary",
17
- size: "medium",
18
- name: "primary",
19
- };
20
- const secondary = {
21
- type: "secondary",
22
- label: "Secondary",
23
- name: "secondary",
24
- };
25
- const tertiary = {
26
- type: "tertiary",
27
- label: "Tertiary",
28
- name: "tertiary",
29
- };
30
- const alert = { type: "alert", label: "Alert", name: "alert" };
31
- const icon = { type: "primary", label: "Icon", icon: "close" };
32
- const disabled = {
33
- type: "primary",
34
- label: "Disabled",
35
- disabled: true,
36
- };
37
- const link = {
38
- type: "primary",
39
- icon: "arrowright",
40
- iconPosition: "right",
41
- label: "Visit ilo.org",
42
- url: "https://www.ilo.org",
43
- target: "__blank",
44
- };
45
- var Button_args = { primary, secondary, tertiary, alert, icon, disabled, link };
46
-
47
- exports.Button = components_Button_Button;
48
- exports.buttonArgs = Button_args;