@ilo-org/react 0.18.5 → 0.20.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 (330) hide show
  1. package/lib/cjs/_store/Accordion-entry-C81QOLKD.js +1 -0
  2. package/lib/cjs/_store/Blockquote-entry-BwhpFsWX.js +1 -0
  3. package/lib/cjs/_store/Breadcrumb-chunk-BGt10GMr.js +1 -0
  4. package/lib/cjs/_store/{Breadcrumb-entry-NNucl1rR.js → Breadcrumb-entry-BcWOPogy.js} +1 -1
  5. package/lib/cjs/_store/Button-chunk-D32W9ElW.js +1 -0
  6. package/lib/cjs/_store/Button-entry-CKgu8Gr2.js +1 -0
  7. package/lib/cjs/_store/Callout-chunk-CQirdJVX.js +1 -0
  8. package/lib/cjs/_store/Callout-entry-Dtce24cy.js +1 -0
  9. package/lib/cjs/_store/CardGroup-chunk-D3sPRsTS.js +1 -0
  10. package/lib/cjs/_store/Cards-entry-Ckiqvv1d.js +1 -0
  11. package/lib/cjs/_store/{Checkbox-chunk-B7P6WeNp.js → Checkbox-chunk-CfN7137m.js} +1 -1
  12. package/lib/cjs/_store/{Checkbox-entry-Cpcx9EKD.js → Checkbox-entry-CLjOEGyj.js} +1 -1
  13. package/lib/cjs/_store/ContextMenu-chunk-Ch5u_T0d.js +1 -0
  14. package/lib/cjs/_store/{ContextMenu-entry-TCdyzIRt.js → ContextMenu-entry-UwZc4yU3.js} +1 -1
  15. package/lib/cjs/_store/{DatePicker-chunk-DMvnrakE.js → DatePicker-chunk-7_96tPkC.js} +1 -1
  16. package/lib/cjs/_store/{DatePicker-entry-CweKIj3U.js → DatePicker-entry-P07fWcN3.js} +1 -1
  17. package/lib/cjs/_store/{Dropdown-chunk--_pVhTcV.js → Dropdown-chunk-Bn-MFT6c.js} +1 -1
  18. package/lib/cjs/_store/{Dropdown-entry-BcBG6Zg7.js → Dropdown-entry-BBiYoQa0.js} +1 -1
  19. package/lib/cjs/_store/{Fieldset-chunk-BsOPbe_a.js → Fieldset-chunk-C3itoJam.js} +1 -1
  20. package/lib/cjs/_store/{Fieldset-entry-BUyKAdkn.js → Fieldset-entry-DyHl-Q8i.js} +1 -1
  21. package/lib/cjs/_store/{FileUpload-chunk-CmHP-E54.js → FileUpload-chunk-BhGfPLEt.js} +1 -1
  22. package/lib/cjs/_store/{FileUpload-entry-DKzm4WvO.js → FileUpload-entry-BdKRo1oJ.js} +1 -1
  23. package/lib/cjs/_store/Footer-chunk-6AdazgST.js +1 -0
  24. package/lib/cjs/_store/{Footer-entry-D2QyYI38.js → Footer-entry-D6eg1T-c.js} +1 -1
  25. package/lib/cjs/_store/{FormControl-chunk-08fp5TeU.js → FormControl-chunk-CxP6djqq.js} +1 -1
  26. package/lib/cjs/_store/{FormControl-entry-DN7TYc37.js → FormControl-entry-BgMV944-.js} +1 -1
  27. package/lib/cjs/_store/Hero-chunk-CBIMDQWO.js +1 -0
  28. package/lib/cjs/_store/Hero-entry-CeEUu88o.js +1 -0
  29. package/lib/cjs/_store/HeroCard-chunk-Cdyuf9Gw.js +1 -0
  30. package/lib/cjs/_store/HeroCard-entry-Z_H24PlF.js +1 -0
  31. package/lib/cjs/_store/Icon-chunk-Dej6jVSI.js +1 -0
  32. package/lib/cjs/_store/{Icon-entry-8e8qxrkm.js → Icon-entry-DCjXkjhC.js} +1 -1
  33. package/lib/cjs/_store/{Input-chunk-DIcDfISq.js → Input-chunk-DVXD2O4Z.js} +1 -1
  34. package/lib/cjs/_store/{Input-entry-Cq1G_bNN.js → Input-entry-CthONy5R.js} +1 -1
  35. package/lib/cjs/_store/LanguageToggle-chunk-DsJntngZ.js +1 -0
  36. package/lib/cjs/_store/LanguageToggle-entry-ALUfRa_V.js +1 -0
  37. package/lib/cjs/_store/Link-chunk-BfaKuVjz.js +1 -0
  38. package/lib/cjs/_store/{Link-entry-CFNVpDIo.js → Link-entry-BvkC504w.js} +1 -1
  39. package/lib/cjs/_store/LinkList-chunk-Eu43ZSAZ.js +1 -0
  40. package/lib/cjs/_store/{LinkList-entry-C2ZrAw9R.js → LinkList-entry-CUlAuyeY.js} +1 -1
  41. package/lib/cjs/_store/List-entry-DzqbzyL4.js +1 -0
  42. package/lib/cjs/_store/LocalNav-entry-SfLDP8BS.js +1 -0
  43. package/lib/cjs/_store/Logo-entry-Dit3r-4I.js +1 -0
  44. package/lib/cjs/_store/Navigation-entry-C6dI5Dpf.js +1 -0
  45. package/lib/cjs/_store/Notification-chunk-Cby6Dnh1.js +1 -0
  46. package/lib/cjs/_store/{Notification-entry-CRW1397K.js → Notification-entry-RCqY6YnO.js} +1 -1
  47. package/lib/cjs/_store/{NumberPicker-chunk-CaQYVhyz.js → NumberPicker-chunk-CjEYQYj0.js} +1 -1
  48. package/lib/cjs/_store/{NumberPicker-entry-BEqwzCKS.js → NumberPicker-entry-DQGcCMGe.js} +1 -1
  49. package/lib/cjs/_store/Profile-chunk-D1tXXPUO.js +1 -0
  50. package/lib/cjs/_store/{Profile-entry-DHpgLCAp.js → Profile-entry-B6vm7ggs.js} +1 -1
  51. package/lib/cjs/_store/{Radio-chunk-EK2nKEND.js → Radio-chunk-LFOxcvur.js} +1 -1
  52. package/lib/cjs/_store/{Radio-entry-M4dL4mjL.js → Radio-entry-BmJSr7Sk.js} +1 -1
  53. package/lib/cjs/_store/{SearchField-chunk-DRdhLGEo.js → SearchField-chunk-uIkdwz2L.js} +1 -1
  54. package/lib/cjs/_store/{SearchField-entry-D9zx3U13.js → SearchField-entry-3sd9miiq.js} +1 -1
  55. package/lib/cjs/_store/SocialMedia-chunk-BbnrRkts.js +1 -0
  56. package/lib/cjs/_store/SocialMedia-entry-D5GkSSA8.js +1 -0
  57. package/lib/cjs/_store/{Tabs-chunk-CnXjQYpB.js → Tabs-chunk-C2PIPQgI.js} +1 -1
  58. package/lib/cjs/_store/{Tabs-entry-BRmJxjI6.js → Tabs-entry-Bicz4Q2A.js} +1 -1
  59. package/lib/cjs/_store/Tag-chunk-DUz8ZjA1.js +1 -0
  60. package/lib/cjs/_store/Tag-entry-D8aAuglc.js +1 -0
  61. package/lib/cjs/_store/{TextInput-entry-Bl0sZdpl.js → TextInput-entry-BOVt2TDi.js} +1 -1
  62. package/lib/cjs/_store/{Textarea-chunk-3fPk9MqI.js → Textarea-chunk-B13VaFl6.js} +1 -1
  63. package/lib/cjs/_store/{Textarea-entry-Ac7gdvET.js → Textarea-entry-Byp4EYD1.js} +1 -1
  64. package/lib/cjs/_store/{Toggle-entry-s05NRKOs.js → Toggle-entry-BZ_sk4pV.js} +1 -1
  65. package/lib/cjs/_store/Tooltip-chunk-Ca67o441.js +1 -0
  66. package/lib/cjs/_store/{Tooltip-entry--csXZiQZ.js → Tooltip-entry-BlOyvu7-.js} +1 -1
  67. package/lib/cjs/_store/components-entry-Buq0cts7.js +1 -0
  68. package/lib/cjs/index.js +1 -1
  69. package/lib/esm/_store/Accordion-entry-B-0bgUhR.js +85 -0
  70. package/lib/esm/_store/Blockquote-entry-DccNMBEH.js +15 -0
  71. package/lib/esm/_store/Breadcrumb-chunk-DcsXzPvT.js +121 -0
  72. package/lib/esm/_store/Breadcrumb-entry-B7kN28qm.js +4 -0
  73. package/lib/esm/_store/Button-chunk-BlSnS8yQ.js +60 -0
  74. package/lib/esm/_store/Button-entry-ee89gQMg.js +4 -0
  75. package/lib/esm/_store/Callout-chunk-C7nmBZcD.js +66 -0
  76. package/lib/esm/_store/Callout-entry-CnD2XuMo.js +4 -0
  77. package/lib/esm/_store/CardGroup-chunk-DCTJOxvx.js +425 -0
  78. package/lib/esm/_store/Cards-entry-DOWpgXsU.js +12 -0
  79. package/lib/esm/_store/{Checkbox-chunk-DJDgykAw.js → Checkbox-chunk-CdjFGjiG.js} +2 -2
  80. package/lib/esm/_store/{Checkbox-entry-CfjxZKrK.js → Checkbox-entry-4xxjRXFu.js} +1 -1
  81. package/lib/esm/_store/ContextMenu-chunk-Zy9igFLz.js +30 -0
  82. package/lib/esm/_store/ContextMenu-entry-C_rAD9kF.js +4 -0
  83. package/lib/esm/_store/{DatePicker-chunk-10fIc74h.js → DatePicker-chunk-BoTriI-e.js} +1 -1
  84. package/lib/esm/_store/DatePicker-entry-B5aB0CYY.js +4 -0
  85. package/lib/esm/_store/{Dropdown-chunk-B6G7DnYr.js → Dropdown-chunk-DxXjnNBq.js} +1 -1
  86. package/lib/esm/_store/Dropdown-entry-CdssOqL2.js +4 -0
  87. package/lib/esm/_store/{Fieldset-chunk-PK4HqNv_.js → Fieldset-chunk-udvv8dML.js} +1 -1
  88. package/lib/esm/_store/Fieldset-entry--0tR2-K1.js +4 -0
  89. package/lib/esm/_store/{FileUpload-chunk-dFon8lP2.js → FileUpload-chunk-Cdl4F5zH.js} +1 -1
  90. package/lib/esm/_store/FileUpload-entry-B0SbE0sW.js +4 -0
  91. package/lib/esm/_store/Footer-chunk-mcaEIXdt.js +72 -0
  92. package/lib/esm/_store/Footer-entry-BOC16qVW.js +4 -0
  93. package/lib/esm/_store/{FormControl-chunk-D_3t65GG.js → FormControl-chunk-C2LR6MBZ.js} +1 -1
  94. package/lib/esm/_store/FormControl-entry-Dy_NPcKM.js +4 -0
  95. package/lib/esm/_store/Hero-chunk-CZ6kSiY-.js +67 -0
  96. package/lib/esm/_store/Hero-entry-DILGWuC0.js +4 -0
  97. package/lib/esm/_store/HeroCard-chunk-3mxIZYwU.js +47 -0
  98. package/lib/esm/_store/HeroCard-entry-D0SDv0dt.js +4 -0
  99. package/lib/esm/_store/{Icon-chunk-nLD8VsP5.js → Icon-chunk-BE5t6PqR.js} +1353 -1138
  100. package/lib/esm/_store/Icon-entry-CzaGrGSM.js +4 -0
  101. package/lib/esm/_store/{Input-chunk-p-3N8OO4.js → Input-chunk-DT_YEVSQ.js} +1 -1
  102. package/lib/esm/_store/Input-entry-Dt6Qaxj6.js +4 -0
  103. package/lib/esm/_store/LanguageToggle-chunk-BxzhPBjU.js +62 -0
  104. package/lib/esm/_store/LanguageToggle-entry-COfb1a3N.js +4 -0
  105. package/lib/esm/_store/Link-chunk-CKAMN_c4.js +33 -0
  106. package/lib/esm/_store/Link-entry-BOoBMNWv.js +4 -0
  107. package/lib/esm/_store/LinkList-chunk-BM5BTk9m.js +45 -0
  108. package/lib/esm/_store/LinkList-entry-mR4xR8Bg.js +4 -0
  109. package/lib/esm/_store/List-entry-XHat7PmC.js +33 -0
  110. package/lib/esm/_store/LocalNav-entry-DydB3k67.js +4 -0
  111. package/lib/esm/_store/{Logo-chunk-C2BIhfeP.js → Logo-entry-sjwkMeb-.js} +19 -19
  112. package/lib/esm/_store/Navigation-entry-BLC2KoMs.js +4 -0
  113. package/lib/esm/_store/Notification-chunk-BYrbd5f9.js +69 -0
  114. package/lib/esm/_store/Notification-entry-S8DjBxLM.js +4 -0
  115. package/lib/esm/_store/{NumberPicker-chunk-CsDLNdop.js → NumberPicker-chunk-Z_TIIuxb.js} +1 -1
  116. package/lib/esm/_store/NumberPicker-entry-BaKtr4-S.js +4 -0
  117. package/lib/esm/_store/Profile-chunk-Tpvzafuk.js +41 -0
  118. package/lib/esm/_store/Profile-entry-ukgxaZNZ.js +4 -0
  119. package/lib/esm/_store/{Radio-chunk-CZnGQoYJ.js → Radio-chunk-DDMoE7Le.js} +2 -2
  120. package/lib/esm/_store/{Radio-entry-DhmJk5Et.js → Radio-entry-BzlGsY14.js} +1 -1
  121. package/lib/esm/_store/{SearchField-chunk-Bn5RXiiY.js → SearchField-chunk-D-S-SV-o.js} +2 -2
  122. package/lib/esm/_store/SearchField-entry-z8Lw_Sko.js +4 -0
  123. package/lib/esm/_store/SocialMedia-chunk-BP6TBNEf.js +62 -0
  124. package/lib/esm/_store/{SocialMedia-entry-BllaQbO-.js → SocialMedia-entry-C60BCp7g.js} +18 -9
  125. package/lib/esm/_store/{Tabs-chunk-CpUcNAK9.js → Tabs-chunk-C6iAood1.js} +1 -1
  126. package/lib/esm/_store/Tabs-entry-Di-TeLEj.js +4 -0
  127. package/lib/esm/_store/Tag-chunk-DRiFjL6-.js +68 -0
  128. package/lib/esm/_store/Tag-entry-D_EdPheu.js +48 -0
  129. package/lib/esm/_store/{TextInput-entry-BTZVvumC.js → TextInput-entry-DIPdoofw.js} +1 -1
  130. package/lib/esm/_store/{Textarea-chunk-BCW6ZV8n.js → Textarea-chunk-ClZt7jmS.js} +1 -1
  131. package/lib/esm/_store/{Textarea-entry-CFe0s_hM.js → Textarea-entry-BvVP8AXU.js} +1 -1
  132. package/lib/esm/_store/{Toggle-entry-CehJKItc.js → Toggle-entry-q2VLr4yf.js} +1 -1
  133. package/lib/esm/_store/{Tooltip-chunk-CPT-dPDc.js → Tooltip-chunk-EJOnwIYn.js} +362 -363
  134. package/lib/esm/_store/Tooltip-entry-Dz5aVKCZ.js +4 -0
  135. package/lib/esm/_store/components-entry-C4N0L4xP.js +96 -0
  136. package/lib/esm/index.js +94 -85
  137. package/lib/styles/components/blockquote.css +1 -0
  138. package/lib/styles/components/breadcrumb.css +1 -1
  139. package/lib/styles/components/card.css +1 -1
  140. package/lib/styles/components/datacard.css +1 -1
  141. package/lib/styles/components/factlistcard.css +1 -1
  142. package/lib/styles/components/featurecard.css +1 -1
  143. package/lib/styles/components/languagetoggle.css +1 -0
  144. package/lib/styles/components/list.css +1 -1
  145. package/lib/styles/components/multilinkcard.css +1 -1
  146. package/lib/styles/components/richtext.css +1 -1
  147. package/lib/styles/components/socialmedia.css +1 -1
  148. package/lib/styles/global.css +1 -1
  149. package/lib/styles/global.css.map +1 -1
  150. package/lib/styles/index.css +2 -2
  151. package/lib/styles/index.css.map +1 -1
  152. package/lib/styles/monorepo.css +2 -2
  153. package/lib/styles/monorepo.css.map +1 -1
  154. package/lib/types/components/Accordion/Accordion.d.ts +35 -4
  155. package/lib/types/components/Accordion/AccordionItem.d.ts +15 -4
  156. package/lib/types/components/Accordion/index.d.ts +4 -4
  157. package/lib/types/components/Blockquote/Blockquote.d.ts +6 -0
  158. package/lib/types/components/Blockquote/index.d.ts +1 -0
  159. package/lib/types/components/Breadcrumb/Breadcrumb.d.ts +17 -4
  160. package/lib/types/components/Breadcrumb/BreadcrumbItem.d.ts +20 -0
  161. package/lib/types/components/Breadcrumb/index.d.ts +1 -1
  162. package/lib/types/components/Button/Button.d.ts +83 -4
  163. package/lib/types/components/Button/index.d.ts +1 -2
  164. package/lib/types/components/Callout/Callout.d.ts +50 -4
  165. package/lib/types/components/Callout/index.d.ts +1 -2
  166. package/lib/types/components/Cards/CardGroup.d.ts +31 -0
  167. package/lib/types/components/Cards/DataCard.d.ts +50 -0
  168. package/lib/types/components/Cards/DetailCard.d.ts +54 -0
  169. package/lib/types/components/Cards/FactListCard.d.ts +30 -0
  170. package/lib/types/components/Cards/{FeatureCard/FeatureCard.props.d.ts → FeatureCard.d.ts} +17 -5
  171. package/lib/types/components/Cards/MultiLinkCard.d.ts +52 -0
  172. package/lib/types/components/Cards/{PromoCard/PromoCard.props.d.ts → PromoCard.d.ts} +16 -4
  173. package/lib/types/components/Cards/StatCard.d.ts +39 -0
  174. package/lib/types/components/Cards/{TextCard/TextCard.props.d.ts → TextCard.d.ts} +16 -4
  175. package/lib/types/components/Cards/index.d.ts +9 -0
  176. package/lib/types/components/ContextMenu/ContextMenu.d.ts +27 -5
  177. package/lib/types/components/ContextMenu/index.d.ts +1 -1
  178. package/lib/types/components/Footer/Footer.d.ts +50 -4
  179. package/lib/types/components/Footer/index.d.ts +1 -1
  180. package/lib/types/components/Hero/Hero.d.ts +53 -4
  181. package/lib/types/components/Hero/index.d.ts +1 -2
  182. package/lib/types/components/{Hero/HeroCard.props.d.ts → HeroCard/HeroCard.d.ts} +4 -2
  183. package/lib/types/components/HeroCard/HeroCardTitle.d.ts +8 -0
  184. package/lib/types/components/HeroCard/index.d.ts +1 -0
  185. package/lib/types/components/LanguageToggle/LanguageToggle.d.ts +43 -0
  186. package/lib/types/components/LanguageToggle/index.d.ts +1 -0
  187. package/lib/types/components/Link/Link.d.ts +55 -4
  188. package/lib/types/components/Link/index.d.ts +1 -1
  189. package/lib/types/components/LinkList/LinkList.d.ts +45 -4
  190. package/lib/types/components/LinkList/index.d.ts +1 -1
  191. package/lib/types/components/List/List.d.ts +54 -4
  192. package/lib/types/components/List/ListItem.d.ts +22 -4
  193. package/lib/types/components/List/index.d.ts +18 -2
  194. package/lib/types/components/LocalNav/LocalNav.props.d.ts +0 -10
  195. package/lib/types/components/Navigation/Navigation.props.d.ts +0 -13
  196. package/lib/types/components/Notification/Notification.d.ts +55 -4
  197. package/lib/types/components/Notification/index.d.ts +1 -1
  198. package/lib/types/components/Profile/Profile.d.ts +46 -4
  199. package/lib/types/components/Profile/index.d.ts +1 -1
  200. package/lib/types/components/SocialMedia/SocialMedia.d.ts +1 -1
  201. package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +4 -0
  202. package/lib/types/components/SocialMedia/index.d.ts +2 -2
  203. package/lib/types/components/Tooltip/Tooltip.d.ts +34 -4
  204. package/lib/types/components/Tooltip/index.d.ts +1 -1
  205. package/lib/types/components/index.d.ts +4 -1
  206. package/lib/types/types/index.d.ts +1 -1
  207. package/package.json +7 -7
  208. package/lib/cjs/_store/Accordion-chunk-Dj1LluWV.js +0 -1
  209. package/lib/cjs/_store/Accordion-entry-BNfPKFuj.js +0 -1
  210. package/lib/cjs/_store/Breadcrumb-chunk-DvUpVY4l.js +0 -1
  211. package/lib/cjs/_store/Button-chunk-7QGSjiJL.js +0 -1
  212. package/lib/cjs/_store/Button-entry-B74K2XLp.js +0 -1
  213. package/lib/cjs/_store/Callout-chunk-DI_rZPkx.js +0 -1
  214. package/lib/cjs/_store/Callout-entry-GC_lYwL3.js +0 -1
  215. package/lib/cjs/_store/CardGroup-chunk-CrzLMpzZ.js +0 -1
  216. package/lib/cjs/_store/ContextMenu-chunk-BegVo-Ry.js +0 -1
  217. package/lib/cjs/_store/Footer-chunk-CH7s6ZhB.js +0 -1
  218. package/lib/cjs/_store/Hero-chunk-BmAL9GMT.js +0 -1
  219. package/lib/cjs/_store/Hero-entry-6U1647te.js +0 -1
  220. package/lib/cjs/_store/Icon-chunk-BiF41wYy.js +0 -1
  221. package/lib/cjs/_store/Link-chunk-B_ZIovS2.js +0 -1
  222. package/lib/cjs/_store/LinkList-chunk-Uvotg8l4.js +0 -1
  223. package/lib/cjs/_store/List-entry-CWz5DRJJ.js +0 -1
  224. package/lib/cjs/_store/ListItem-chunk-CHb4_N2-.js +0 -1
  225. package/lib/cjs/_store/LocalNav-chunk-CL0urssZ.js +0 -1
  226. package/lib/cjs/_store/LocalNav-entry-uEJTn_P0.js +0 -1
  227. package/lib/cjs/_store/Logo-chunk-Cl60tiPV.js +0 -1
  228. package/lib/cjs/_store/Logo-entry-ffqRpdCt.js +0 -1
  229. package/lib/cjs/_store/Navigation-chunk-CKk-EzZF.js +0 -1
  230. package/lib/cjs/_store/Navigation-entry-DukzIF80.js +0 -1
  231. package/lib/cjs/_store/Notification-chunk-BudHdd0h.js +0 -1
  232. package/lib/cjs/_store/Profile-chunk-BH98cR85.js +0 -1
  233. package/lib/cjs/_store/SocialMedia-chunk-DrxlykT6.js +0 -1
  234. package/lib/cjs/_store/SocialMedia-entry-BQyxJpTO.js +0 -1
  235. package/lib/cjs/_store/Tag-chunk-CdVExQzv.js +0 -1
  236. package/lib/cjs/_store/Tag-entry-B5GoRJjK.js +0 -1
  237. package/lib/cjs/_store/Tooltip-chunk-Bh77DbOg.js +0 -1
  238. package/lib/cjs/_store/checkArrayDuplicates-chunk-Bqxwhc1q.js +0 -1
  239. package/lib/cjs/_store/components-entry-BLIKXStL.js +0 -1
  240. package/lib/esm/_store/Accordion-chunk-BawBOKZz.js +0 -113
  241. package/lib/esm/_store/Accordion-entry-C8JFNFFn.js +0 -7
  242. package/lib/esm/_store/Breadcrumb-chunk-CclNRjxd.js +0 -132
  243. package/lib/esm/_store/Breadcrumb-entry-Biundzlp.js +0 -4
  244. package/lib/esm/_store/Button-chunk-CTOnaHZ_.js +0 -61
  245. package/lib/esm/_store/Button-entry-DRu9gUR5.js +0 -30
  246. package/lib/esm/_store/Callout-chunk-CsEfqAuS.js +0 -63
  247. package/lib/esm/_store/Callout-entry-sXFzYEzc.js +0 -31
  248. package/lib/esm/_store/CardGroup-chunk-0V0yYua2.js +0 -356
  249. package/lib/esm/_store/ContextMenu-chunk-CkdC2iPF.js +0 -22
  250. package/lib/esm/_store/ContextMenu-entry-BkbaSgVR.js +0 -4
  251. package/lib/esm/_store/DatePicker-entry-Bu0S1bvg.js +0 -4
  252. package/lib/esm/_store/Dropdown-entry-CRDxMRpe.js +0 -4
  253. package/lib/esm/_store/Fieldset-entry-BmiHpIGy.js +0 -4
  254. package/lib/esm/_store/FileUpload-entry-uIvvAStY.js +0 -4
  255. package/lib/esm/_store/Footer-chunk-DFJ5AWCV.js +0 -53
  256. package/lib/esm/_store/Footer-entry-BtbhEt-Y.js +0 -4
  257. package/lib/esm/_store/FormControl-entry-DODa4uyx.js +0 -4
  258. package/lib/esm/_store/Hero-chunk-AgDdKsJ4.js +0 -76
  259. package/lib/esm/_store/Hero-entry-CcnVmzHx.js +0 -5
  260. package/lib/esm/_store/Icon-entry-CCd9MEER.js +0 -4
  261. package/lib/esm/_store/Input-entry-DG2Mv1K2.js +0 -4
  262. package/lib/esm/_store/Link-chunk-zt732cUC.js +0 -36
  263. package/lib/esm/_store/Link-entry-BY4hUubQ.js +0 -4
  264. package/lib/esm/_store/LinkList-chunk-Doq6Z7IG.js +0 -41
  265. package/lib/esm/_store/LinkList-entry-B2LOzklm.js +0 -4
  266. package/lib/esm/_store/List-entry-C68jMDRE.js +0 -5
  267. package/lib/esm/_store/ListItem-chunk-CKnxZe3Y.js +0 -26
  268. package/lib/esm/_store/LocalNav-chunk-CC5KIqRP.js +0 -207
  269. package/lib/esm/_store/LocalNav-entry-BUHQT-D7.js +0 -4
  270. package/lib/esm/_store/Logo-entry-C3BaxfNe.js +0 -4
  271. package/lib/esm/_store/Navigation-chunk-BSoAdxZ6.js +0 -221
  272. package/lib/esm/_store/Navigation-entry-C-tonRpq.js +0 -4
  273. package/lib/esm/_store/Notification-chunk-VfaNI3r9.js +0 -61
  274. package/lib/esm/_store/Notification-entry-BIQsCmF2.js +0 -4
  275. package/lib/esm/_store/NumberPicker-entry-BuxrmdUS.js +0 -4
  276. package/lib/esm/_store/Profile-chunk-Bsn46OaP.js +0 -38
  277. package/lib/esm/_store/Profile-entry-CE39-Kzc.js +0 -4
  278. package/lib/esm/_store/SearchField-entry-BlnqYKjA.js +0 -4
  279. package/lib/esm/_store/SocialMedia-chunk-DdOAr_Gj.js +0 -32
  280. package/lib/esm/_store/Tabs-entry-BARAHSrA.js +0 -4
  281. package/lib/esm/_store/Tag-chunk-DG8gqUnh.js +0 -65
  282. package/lib/esm/_store/Tag-entry-BxKwoM37.js +0 -46
  283. package/lib/esm/_store/Tooltip-entry-cgQr1mHa.js +0 -4
  284. package/lib/esm/_store/checkArrayDuplicates-chunk-C7cf0TQw.js +0 -11
  285. package/lib/esm/_store/components-entry-3VBtJ0uk.js +0 -87
  286. package/lib/types/components/Accordion/Accordion.props.d.ts +0 -34
  287. package/lib/types/components/Accordion/AccordionButton.d.ts +0 -5
  288. package/lib/types/components/Accordion/AccordionButton.props.d.ts +0 -12
  289. package/lib/types/components/Accordion/AccordionCtx.d.ts +0 -5
  290. package/lib/types/components/Accordion/AccordionItem.props.d.ts +0 -22
  291. package/lib/types/components/Accordion/AccordionPanel.d.ts +0 -5
  292. package/lib/types/components/Accordion/AccordionPanel.props.d.ts +0 -22
  293. package/lib/types/components/Breadcrumb/Breadcrumb.props.d.ts +0 -32
  294. package/lib/types/components/Button/Button.props.d.ts +0 -69
  295. package/lib/types/components/Callout/Callout.props.d.ts +0 -51
  296. package/lib/types/components/Cards/CardGroup/CardGroup.d.ts +0 -5
  297. package/lib/types/components/Cards/CardGroup/CardGroup.props.d.ts +0 -86
  298. package/lib/types/components/Cards/CardGroup/index.d.ts +0 -3
  299. package/lib/types/components/Cards/DataCard/DataCard.d.ts +0 -5
  300. package/lib/types/components/Cards/DataCard/DataCard.props.d.ts +0 -51
  301. package/lib/types/components/Cards/DataCard/index.d.ts +0 -3
  302. package/lib/types/components/Cards/DetailCard/DetailCard.d.ts +0 -5
  303. package/lib/types/components/Cards/DetailCard/DetailCard.props.d.ts +0 -40
  304. package/lib/types/components/Cards/DetailCard/index.d.ts +0 -3
  305. package/lib/types/components/Cards/FactlistCard/FactListCard.d.ts +0 -5
  306. package/lib/types/components/Cards/FactlistCard/FactListCard.props.d.ts +0 -21
  307. package/lib/types/components/Cards/FactlistCard/index.d.ts +0 -3
  308. package/lib/types/components/Cards/FeatureCard/FeatureCard.d.ts +0 -5
  309. package/lib/types/components/Cards/FeatureCard/index.d.ts +0 -3
  310. package/lib/types/components/Cards/MultilinkCard/MultiLinkCard.d.ts +0 -5
  311. package/lib/types/components/Cards/MultilinkCard/MultilinkCard.props.d.ts +0 -30
  312. package/lib/types/components/Cards/MultilinkCard/index.d.ts +0 -3
  313. package/lib/types/components/Cards/PromoCard/PromoCard.d.ts +0 -5
  314. package/lib/types/components/Cards/PromoCard/index.d.ts +0 -3
  315. package/lib/types/components/Cards/StatCard/StatCard.d.ts +0 -5
  316. package/lib/types/components/Cards/StatCard/StatCard.props.d.ts +0 -26
  317. package/lib/types/components/Cards/StatCard/index.d.ts +0 -3
  318. package/lib/types/components/Cards/TextCard/TextCard.d.ts +0 -5
  319. package/lib/types/components/Cards/TextCard/index.d.ts +0 -3
  320. package/lib/types/components/ContextMenu/ContextMenu.props.d.ts +0 -24
  321. package/lib/types/components/Footer/Footer.props.d.ts +0 -49
  322. package/lib/types/components/Hero/Hero.props.d.ts +0 -52
  323. package/lib/types/components/Hero/HeroCard.d.ts +0 -5
  324. package/lib/types/components/Link/Link.props.d.ts +0 -33
  325. package/lib/types/components/LinkList/LinkList.props.d.ts +0 -44
  326. package/lib/types/components/List/List.props.d.ts +0 -25
  327. package/lib/types/components/List/ListItem.props.d.ts +0 -16
  328. package/lib/types/components/Notification/Notification.props.d.ts +0 -57
  329. package/lib/types/components/Profile/Profile.props.d.ts +0 -47
  330. package/lib/types/components/Tooltip/Tooltip.props.d.ts +0 -33
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),j=require("react"),C=require("./index-chunk-DCI82Tmm.js"),F=require("./useGlobalSettings-chunk-Pa38w6VS.js"),I=require("./Fieldset-chunk-BsOPbe_a.js"),R=require("./FormElement-chunk-B8x3bzQh.js"),b=j.forwardRef(({callback:t,disabled:o=!1,error:n,helper:u,id:r,label:c,name:e,placeholder:l,required:i,tooltip:a,value:d,type:p="text"},x)=>{const{prefix:m}=F.useGlobalSettings(),f=`${m}--input`,h=C.classnames("",{[f]:!0,error:n}),q=g=>{t&&t(g)};return s.jsx(I.Fieldset,{children:s.jsx(R.FormElement,{elemid:e,label:c,helper:u,error:n,required:i,tooltip:a,children:s.jsx("input",{id:r||e,name:e,onChange:q,disabled:o,placeholder:l,required:i,type:p,value:d,className:h,ref:x})})})}),E=b;exports.Input=E;
1
+ "use strict";const s=require("react/jsx-runtime"),j=require("react"),C=require("./index-chunk-DCI82Tmm.js"),F=require("./useGlobalSettings-chunk-Pa38w6VS.js"),I=require("./Fieldset-chunk-C3itoJam.js"),R=require("./FormElement-chunk-B8x3bzQh.js"),b=j.forwardRef(({callback:t,disabled:o=!1,error:n,helper:u,id:r,label:c,name:e,placeholder:l,required:i,tooltip:a,value:d,type:p="text"},x)=>{const{prefix:m}=F.useGlobalSettings(),f=`${m}--input`,h=C.classnames("",{[f]:!0,error:n}),q=g=>{t&&t(g)};return s.jsx(I.Fieldset,{children:s.jsx(R.FormElement,{elemid:e,label:c,helper:u,error:n,required:i,tooltip:a,children:s.jsx("input",{id:r||e,name:e,onChange:q,disabled:o,placeholder:l,required:i,type:p,value:d,className:h,ref:x})})})}),E=b;exports.Input=E;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Input-chunk-DIcDfISq.js");exports.Input=t.Input;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Input-chunk-DVXD2O4Z.js");exports.Input=t.Input;
@@ -0,0 +1 @@
1
+ "use strict";const n=require("react/jsx-runtime"),c=require("react"),p=require("./useGlobalSettings-chunk-Pa38w6VS.js"),l=require("./index-chunk-DCI82Tmm.js"),C=require("./ContextMenu-chunk-Ch5u_T0d.js"),h=c.forwardRef(({className:f,language:g,theme:d="light",hideIcon:x,options:a,...m},$)=>{const{prefix:R}=p.useGlobalSettings(),[r,i]=c.useState(!0),u=c.useRef(null),t=c.useRef(null),e=`${R}--language-toggle`;return c.useLayoutEffect(()=>{function s(o){!t.current||!u.current||!t.current.contains(o.target)&&!u.current.contains(o.target)&&i(!1)}return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}}),c.useLayoutEffect(()=>{if(!(!u.current||!t.current)&&r){const s=u.current.getBoundingClientRect(),o=t.current.getBoundingClientRect();t.current.style.left=`${s.left+(s.width-o.width)/2}px`,t.current.style.top=`${s.bottom}px`}},[r]),n.jsxs("div",{ref:$,className:l.classnames(e,f,`${e}--${d}`,{[`${e}--open`]:r}),...m,children:[n.jsxs("button",{className:`${e}--container`,ref:u,onClick:()=>{i(!r)},children:[!x&&n.jsx("span",{className:`${e}--icon`}),n.jsx("span",{className:`${e}--action`,children:g}),n.jsx("span",{className:`${e}--arrow`})]}),a&&n.jsx("div",{className:l.classnames(`${e}--context-menu`,{[`${e}--context-menu__open`]:r}),ref:t,children:n.jsx(C.ContextMenu,{links:a})})]})});exports.LanguageToggle=h;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./LanguageToggle-chunk-DsJntngZ.js");exports.LanguageToggle=e.LanguageToggle;
@@ -0,0 +1 @@
1
+ "use strict";const t=require("react/jsx-runtime"),k=require("react"),x=require("./index-chunk-DCI82Tmm.js"),a=require("./useGlobalSettings-chunk-Pa38w6VS.js"),b=k.forwardRef(({children:o,className:e,label:r,target:s,theme:i="light",url:l,...u},c)=>{const{prefix:d}=a.useGlobalSettings();let n=`${d}--link`;e!=null&&e.includes("button")&&(n="");const f=x.classnames(e,{[n]:!0,[`${n}--${i}`]:n&&i});return t.jsxs("a",{ref:c,className:f,href:l,target:s,rel:s?"noopener noreferrer":void 0,...u,children:[r&&t.jsx("span",{className:"link__label",children:r}),o]})});exports.Link=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Link-chunk-B_ZIovS2.js");exports.Link=e.Link;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Link-chunk-BfaKuVjz.js");exports.Link=e.Link;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),u=require("react"),a=require("./index-chunk-DCI82Tmm.js"),x=require("./useGlobalSettings-chunk-Pa38w6VS.js"),o=u.forwardRef(({className:c,headline:n,linkgroup:r,theme:t="light"},d)=>{const{prefix:m}=x.useGlobalSettings(),s=`${m}--link-list`;return e.jsxs("div",{ref:d,className:a.classnames(s,c,`${s}--${t}`),children:[n&&e.jsx("h3",{className:`${s}--headline`,children:n}),e.jsx("ul",{className:`${s}--linkgroups`,children:r.map((l,h)=>e.jsxs("li",{className:`${s}--linkgroups-item`,children:[l.headline&&e.jsx("h4",{className:`${s}--links--headline`,children:l.headline}),e.jsx("ul",{className:`${s}--links`,children:l.links.map((i,$)=>e.jsx("li",{className:a.classnames(`${s}--links--item`,{indented:i.indented}),children:e.jsxs("a",{href:i.url,className:`${s}--link`,children:[e.jsx("span",{className:`${s}--label`,children:i.label}),e.jsx("span",{className:`${s}--icon`})]})},`link-${$}`))})]},`linkgroup-${h}`))})]})});exports.LinkList=o;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./LinkList-chunk-Uvotg8l4.js");exports.LinkList=i.LinkList;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./LinkList-chunk-Eu43ZSAZ.js");exports.LinkList=i.LinkList;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),u=require("./index-chunk-DCI82Tmm.js"),d=require("./useGlobalSettings-chunk-Pa38w6VS.js"),f=c.forwardRef(({children:t,className:a,alignment:o="default",ordered:l="unstyled",title:n,theme:i="light",...r},m)=>{const{prefix:x}=d.useGlobalSettings(),s=`${x}--list`,b=u.classnames(a,s,{[`${s}__unstyled`]:l==="unstyled",[`${s}__horizontal`]:o==="horizontal",[`${s}__theme__${i}`]:i});return e.jsxs("div",{className:b,ref:m,...r,children:[n&&e.jsx("h2",{className:`${s}--title`,children:n}),l==="ordered"?e.jsx("ol",{children:t}):e.jsx("ul",{children:t})]})}),j=c.forwardRef(({children:t,className:a,...o},l)=>{const{prefix:n}=d.useGlobalSettings(),i=`${n}--list--item`,r=u.classnames(a,i);return e.jsx("li",{className:r,ref:l,...o,children:t})}),_=Object.assign(f,{Item:j});exports.List=_;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=()=>null,t=o;exports.LocalNav=t;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),s=require("react"),V=require("./useGlobalSettings-chunk-Pa38w6VS.js"),R=require("./index-chunk-DCI82Tmm.js"),M=({clientHeight:e,clientWidth:c,scrollHeight:n,scrollWidth:i})=>n>e||i>c,P=(e,{maxSize:c=600,startingHeight:n=9,step:i=.5})=>{let t=n,l=!1;for(;!l&&t<c;)e.style.fontSize=`${t}px`,e.style.lineHeight=`${t}px`,l=M(e),l||(t=t+i);return e.style.fontSize="",e.style.lineHeight="",t-i},I=({baseClass:e,className:c,subbrand:n,alt:i,src:t,style:l,size:f="fluid",theme:u="light",...$})=>{const g=s.useRef(null),h=s.useRef(null),p=s.useRef(null),a=s.useRef(null),[d,F]=s.useState(!1),[L,b]=s.useState(0),[y,k]=s.useState(0),[H,w]=s.useState(!n),j=s.useRef(new ResizeObserver(o=>{const{height:x}=o[0].contentRect;a.current||(a.current=x),b(x)}));s.useEffect(()=>{n&&d&&y&&w(!0)},[d,y,n]),s.useLayoutEffect(()=>{if(d&&h.current&&g.current){const o=g.current;return j.current.observe(o),()=>j.current.unobserve(o)}},[d]),s.useLayoutEffect(()=>{v()},[d,a.current]),s.useLayoutEffect(()=>{v()},[n]);function v(){if(h.current&&p.current&&a.current){const x=P(h.current,{maxSize:a.current})/a.current;k(x)}}function E(){F(!0)}const m=!!n,z=f==="fluid",N=!z&&typeof f=="number",S=`${e}--sub-brand`,q=`${e}--size--fluid`,B=`${e}--visibility--hidden`,O=R.classnames(e,c,`${e}--theme--${u}`,{[B]:!H,[q]:z,[S]:m}),W=`${e}--image`,C=`${S}--image`,G=()=>{const o={};return m&&(o["--logo-image-height"]=`${L}px`,o["--logo-font-size"]=`${y*L}px`),N&&(o.width=`${f}px`),{...l,...o}},T=()=>typeof t=="string"?t:t[u];return r.jsxs("figure",{className:O,style:G(),children:[r.jsx("img",{ref:g,alt:i,src:T(),className:R.classnames({[C]:m,[W]:!m}),onLoad:E,...$}),m&&r.jsxs("div",{ref:h,className:`${S}--lock-up`,children:[r.jsx("span",{className:`${S}--lock-up--separator`}),r.jsx("span",{ref:p,children:n})]})]})},A=({className:e,url:c,target:n,style:i,size:t,...l})=>{const{prefix:f}=V.useGlobalSettings(),u=`${f}--logo`,$=`${u}--link`,g=`${u}--size--fluid`;return c?r.jsx("a",{href:c,target:n,className:R.classnames($,e,{[g]:t==="fluid"}),style:i,children:r.jsx(I,{...l,baseClass:u,size:t})}):r.jsx(I,{baseClass:u,className:e,style:i,size:t,...l})},D=A;exports.Logo=D;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=()=>null,i=t;exports.Navigation=i;
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),l=require("react"),f=require("./index-chunk-DCI82Tmm.js"),m=require("./useGlobalSettings-chunk-Pa38w6VS.js"),N=require("./Button-chunk-D32W9ElW.js"),b=l.forwardRef(({className:o,closelabel:c="Close",copy:r,cta:i,headline:d,placement:t,timestamp:n,type:a},u)=>{const{prefix:x}=m.useGlobalSettings(),[h,j]=l.useState(!0),e=`${x}--notification`,$=f.classnames(e,o,{[`${e}--${t}`]:t,[`icon icon--${a}`]:a});return s.jsx(s.Fragment,{children:h&&s.jsxs("div",{className:$,role:"status","aria-live":"polite","aria-relevant":"additions",ref:u,children:[s.jsxs("div",{className:`${e}--content`,children:[s.jsx("h2",{className:`${e}--headline`,children:d}),s.jsx("p",{className:`${e}--copy`,children:r}),n&&s.jsx("time",{className:`${e}--date`,dateTime:n.unix,children:n.human}),i&&s.jsx("div",{className:`${e}__footer`,children:s.jsx(N.Button,{type:"secondary",size:"small",link:{url:i.url,label:i.label}})})]}),s.jsx("button",{className:`${e}--close`,type:"button",onClick:()=>j(!1),children:s.jsx("span",{children:c})})]})})});exports.Notification=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Notification-chunk-BudHdd0h.js");exports.Notification=i.Notification;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Notification-chunk-Cby6Dnh1.js");exports.Notification=i.Notification;
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),l=require("react"),R=require("./index-chunk-DCI82Tmm.js"),g=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=require("./FormControl-chunk-08fp5TeU.js"),p=l.forwardRef(({onChange:e,onBlur:n,disabled:s=!1,error:o,id:t,name:r,placeholder:c,required:m,max:b,min:d,step:f},C)=>{const{prefix:a}=g.useGlobalSettings(),x=u.useFormControl(),{ariaDescribedBy:k}=x,y=`${a}--input`,N=`${a}--numberpicker`,q=!s&&!!o,P=R.classnames(y,N,{error:q}),h=j=>{e&&e(j)};return i.jsx("input",{ref:C,id:t||r,name:r,onChange:h,onBlur:n,disabled:s,placeholder:c,required:m,type:"number",className:P,pattern:"[0-9]*",inputMode:"numeric","aria-describedby":k,max:b,min:d,step:f})}),F=l.forwardRef((e,n)=>{const{style:s,inputStyle:o,className:t,...r}=e,c=e.id?e.id:e.name;return i.jsx(u.FormControl,{fieldId:c,style:s,className:t,...r,children:i.jsx(p,{ref:n,style:o,...r})})}),L=F;exports.LabelledNumberPicker=L;
1
+ "use strict";const i=require("react/jsx-runtime"),l=require("react"),R=require("./index-chunk-DCI82Tmm.js"),g=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=require("./FormControl-chunk-CxP6djqq.js"),p=l.forwardRef(({onChange:e,onBlur:n,disabled:s=!1,error:o,id:t,name:r,placeholder:c,required:m,max:b,min:d,step:f},C)=>{const{prefix:a}=g.useGlobalSettings(),x=u.useFormControl(),{ariaDescribedBy:k}=x,y=`${a}--input`,N=`${a}--numberpicker`,q=!s&&!!o,P=R.classnames(y,N,{error:q}),h=j=>{e&&e(j)};return i.jsx("input",{ref:C,id:t||r,name:r,onChange:h,onBlur:n,disabled:s,placeholder:c,required:m,type:"number",className:P,pattern:"[0-9]*",inputMode:"numeric","aria-describedby":k,max:b,min:d,step:f})}),F=l.forwardRef((e,n)=>{const{style:s,inputStyle:o,className:t,...r}=e,c=e.id?e.id:e.name;return i.jsx(u.FormControl,{fieldId:c,style:s,className:t,...r,children:i.jsx(p,{ref:n,style:o,...r})})}),L=F;exports.LabelledNumberPicker=L;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NumberPicker-chunk-CaQYVhyz.js");exports.NumberPicker=e.LabelledNumberPicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NumberPicker-chunk-CjEYQYj0.js");exports.NumberPicker=e.LabelledNumberPicker;
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),$=require("react"),u=require("./index-chunk-DCI82Tmm.js"),h=require("./useGlobalSettings-chunk-Pa38w6VS.js"),j=$.forwardRef(({avatar:t,className:o,description:a,link:r,name:l,role:i,theme:c="light",size:n="large"},d)=>{const{prefix:f}=h.useGlobalSettings(),e=`${f}--profile`,x=u.classnames(o,{[e]:!0,[`${e}__theme__${c}`]:c,[`${e}__size__${n}`]:n});return s.jsxs("figure",{className:x,ref:d,children:[s.jsx("img",{className:`${e}--avatar`,src:t,alt:`Avatar for ${l}`}),s.jsx("figcaption",{children:s.jsxs("div",{className:`${e}--figcaption--content`,children:[s.jsx("div",{className:`${e}--name`,children:l}),i&&s.jsx("div",{className:`${e}--role`,children:i})]})}),a&&s.jsx("p",{className:`${e}--description`,children:a}),r&&s.jsx("div",{className:`${e}--link`,children:s.jsx("a",{href:r.url,target:"__blank",rel:"noopener noreferrer",children:s.jsx("span",{className:`${e}--link--label`,children:r.label})})})]})});exports.Profile=j;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Profile-chunk-BH98cR85.js");exports.Profile=e.Profile;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Profile-chunk-D1tXXPUO.js");exports.Profile=e.Profile;
@@ -1 +1 @@
1
- "use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./index-chunk-DCI82Tmm.js"),$=require("./useGlobalSettings-chunk-Pa38w6VS.js"),g=require("./usePrevious-chunk-DENrwKF1.js"),L=require("./Fieldset-chunk-BsOPbe_a.js"),m=require("./FormControl-chunk-08fp5TeU.js"),N=u.forwardRef(({onChange:e,onBlur:a,disabled:l=!1,error:s,id:o,name:r,required:i,checked:n,defaultChecked:c=!1,value:C},x)=>{const{prefix:R}=$.useGlobalSettings(),{setHasError:f}=L.useFieldsetError(),q=m.useFormControl(),b=g.usePrevious(s);u.useEffect(()=>{s!==b&&f(!!s)},[s,b,f]);const{ariaDescribedBy:j}=q,y=E=>{e&&e(E)},d=`${R}--radio`,F=`${d}--control`,h=`${d}__error`,v=S.classnames(d,{[h]:s});return t.jsxs("div",{className:v,children:[t.jsx("input",{ref:x,id:o||r,name:r,onChange:y,onBlur:a,disabled:l,required:i,type:"radio",defaultChecked:c,"aria-describedby":j,checked:n,value:C}),t.jsx("span",{className:F})]})}),P=u.forwardRef((e,a)=>{const{style:l,inputStyle:s,className:o,labelPlacement:r="end",labelSize:i="small",...n}=e,c=e.id?e.id:e.name;return t.jsx(m.FormControl,{fieldId:c,style:l,className:o,labelPlacement:r,labelSize:i,...n,children:t.jsx(N,{ref:a,style:s,...n})})}),w=P;exports.LabelledRadio=w;
1
+ "use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./index-chunk-DCI82Tmm.js"),$=require("./useGlobalSettings-chunk-Pa38w6VS.js"),g=require("./usePrevious-chunk-DENrwKF1.js"),L=require("./Fieldset-chunk-C3itoJam.js"),m=require("./FormControl-chunk-CxP6djqq.js"),N=u.forwardRef(({onChange:e,onBlur:a,disabled:l=!1,error:s,id:o,name:r,required:i,checked:n,defaultChecked:c=!1,value:C},x)=>{const{prefix:R}=$.useGlobalSettings(),{setHasError:f}=L.useFieldsetError(),q=m.useFormControl(),b=g.usePrevious(s);u.useEffect(()=>{s!==b&&f(!!s)},[s,b,f]);const{ariaDescribedBy:j}=q,y=E=>{e&&e(E)},d=`${R}--radio`,F=`${d}--control`,h=`${d}__error`,v=S.classnames(d,{[h]:s});return t.jsxs("div",{className:v,children:[t.jsx("input",{ref:x,id:o||r,name:r,onChange:y,onBlur:a,disabled:l,required:i,type:"radio",defaultChecked:c,"aria-describedby":j,checked:n,value:C}),t.jsx("span",{className:F})]})}),P=u.forwardRef((e,a)=>{const{style:l,inputStyle:s,className:o,labelPlacement:r="end",labelSize:i="small",...n}=e,c=e.id?e.id:e.name;return t.jsx(m.FormControl,{fieldId:c,style:l,className:o,labelPlacement:r,labelSize:i,...n,children:t.jsx(N,{ref:a,style:s,...n})})}),w=P;exports.LabelledRadio=w;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Radio-chunk-EK2nKEND.js"),a={className:"Radio",name:"radio"},e={basic:a},i=e;exports.Radio=o.LabelledRadio;exports.RadioArgs=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Radio-chunk-LFOxcvur.js"),a={className:"Radio",name:"radio"},e={basic:a},i=e;exports.Radio=o.LabelledRadio;exports.RadioArgs=i;
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),b=require("react"),F=require("./index-chunk-DCI82Tmm.js"),I=require("./useGlobalSettings-chunk-Pa38w6VS.js"),N=require("./Input-chunk-DIcDfISq.js"),k=require("./Icon-chunk-BiF41wYy.js"),v=b.forwardRef(({action:m,callback:c,className:t,input:e},C)=>{const[o,d]=b.useState(""),{prefix:l}=I.useGlobalSettings(),a=`${l}--searchfield`,S=`${a}--button`,f=`${a}--clear-button ${o.trim()!==""&&"show"}`,x=`${l}--fieldset`,j=F.classnames(t,{[a]:!0,haslabel:e==null?void 0:e.label}),y=r=>{c&&c(r)},$=()=>{d("")},q=r=>{d(r.target.value)},h=!!(e!=null&&e.type);if(!h)throw new Error("SearchField: Input must have type prop");return h?s.jsxs("form",{className:j,action:m,children:[s.jsxs("div",{className:x,children:[s.jsx(N.Input,{id:e==null?void 0:e.id,name:e==null?void 0:e.name,disabled:e==null?void 0:e.disabled,callback:q,error:e==null?void 0:e.error,helper:e==null?void 0:e.helper,label:e==null?void 0:e.label,placeholder:e==null?void 0:e.placeholder,type:e==null?void 0:e.type,value:o,className:`${l}--input`,ref:C}),s.jsx("span",{onClick:$,className:f,role:"presentation",children:s.jsx(k.Icon,{name:"close",hidden:!0})})]}),s.jsx("input",{className:S,disabled:e==null?void 0:e.disabled,type:"submit",onClick:y})]}):null}),w=v;exports.SearchField=w;
1
+ "use strict";const s=require("react/jsx-runtime"),b=require("react"),F=require("./index-chunk-DCI82Tmm.js"),I=require("./useGlobalSettings-chunk-Pa38w6VS.js"),N=require("./Input-chunk-DVXD2O4Z.js"),k=require("./Icon-chunk-Dej6jVSI.js"),v=b.forwardRef(({action:m,callback:c,className:t,input:e},C)=>{const[o,d]=b.useState(""),{prefix:l}=I.useGlobalSettings(),a=`${l}--searchfield`,S=`${a}--button`,f=`${a}--clear-button ${o.trim()!==""&&"show"}`,x=`${l}--fieldset`,j=F.classnames(t,{[a]:!0,haslabel:e==null?void 0:e.label}),y=r=>{c&&c(r)},$=()=>{d("")},q=r=>{d(r.target.value)},h=!!(e!=null&&e.type);if(!h)throw new Error("SearchField: Input must have type prop");return h?s.jsxs("form",{className:j,action:m,children:[s.jsxs("div",{className:x,children:[s.jsx(N.Input,{id:e==null?void 0:e.id,name:e==null?void 0:e.name,disabled:e==null?void 0:e.disabled,callback:q,error:e==null?void 0:e.error,helper:e==null?void 0:e.helper,label:e==null?void 0:e.label,placeholder:e==null?void 0:e.placeholder,type:e==null?void 0:e.type,value:o,className:`${l}--input`,ref:C}),s.jsx("span",{onClick:$,className:f,role:"presentation",children:s.jsx(k.Icon,{name:"close",hidden:!0})})]}),s.jsx("input",{className:S,disabled:e==null?void 0:e.disabled,type:"submit",onClick:y})]}):null}),w=v;exports.SearchField=w;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SearchField-chunk-DRdhLGEo.js");exports.SearchField=e.SearchField;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SearchField-chunk-uIkdwz2L.js");exports.SearchField=e.SearchField;
@@ -0,0 +1 @@
1
+ "use strict";const a=require("react/jsx-runtime"),l=require("./index-chunk-DCI82Tmm.js"),m=require("react"),u=require("./useGlobalSettings-chunk-Pa38w6VS.js"),d=m.forwardRef(({className:c,theme:t="light",justify:n="start",headline:i,icons:r,iconSize:o="normal"},_)=>{const{prefix:$}=u.useGlobalSettings(),s=`${$}--social-media`;return a.jsxs("div",{className:l.classnames(s,`${s}__theme__${t}`,`${s}__justify__${n}`,c),ref:_,children:[i&&a.jsx("h5",{className:`${s}--headline`,children:i}),a.jsx("ul",{className:l.classnames(`${s}--list`,`${s}--list__size__${o}`),children:r.map(e=>a.jsx("li",{className:l.classnames(`${s}--list--item`,e.className),children:a.jsx("a",{title:e.label,className:l.classnames(`${s}--list--item--icon`,`${s}--list--item--icon__${e.icon}`),href:e.url,children:e.label})},e.url))})]})}),h=d;exports.SocialMedia=h;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./SocialMedia-chunk-BbnrRkts.js"),l={headline:"Follow us on social media",theme:"light",justify:"start",iconSize:"normal",icons:[{icon:"bluesky",label:"Bluesky",url:"https://bsky.app/profile/ilo.org"},{icon:"facebook",url:"https://www.facebook.com/ilo.org",label:"Facebook"},{icon:"x",url:"https://x.com/ilo",label:"x"},{icon:"instagram",url:"https://www.instagram.com/ilo.org/",label:"Instagram"},{icon:"linkedin",url:"https://www.linkedin.com/company/international-labour-organization-ilo",label:"LinkedIn"},{icon:"youtube",url:"https://www.youtube.com/channel/UCQsVmhSa4X-G3lHlUtejzLA",label:"YouTube"},{icon:"tiktok",url:"https://www.tiktok.com/@ilo",label:"TikTok"},{icon:"flickr",url:"https://www.flickr.com/photos/ilopictures/albums",label:"flickr"},{icon:"wechat",label:"Wechat",url:"https://wechat.com"},{icon:"weibo",label:"Weibo",url:"https://weibo.com"}]};exports.SocialMedia=o.SocialMedia;exports.socialMediaArgs=l;
@@ -1 +1 @@
1
- "use strict";const t=require("react/jsx-runtime"),u=require("react"),$=require("./useGlobalSettings-chunk-Pa38w6VS.js"),m=require("./index-chunk-DCI82Tmm.js"),d=require("./Icon-chunk-BiF41wYy.js"),h=({items:n})=>{const[c,l]=u.useState(0),i=(e,s)=>{l(e),s.preventDefault()},{prefix:o}=$.useGlobalSettings(),a=`${o}--tabs`,r=m.classnames(a);return t.jsxs("div",{className:`${r} tabs--js`,children:[t.jsx("ul",{className:`${a}--selection`,role:"tablist",children:n.map((e,s)=>t.jsx("li",{role:"tab",className:`${a}--selection--item ${c===s?"active":""}`,onClick:b=>i(s,b),children:t.jsxs("a",{href:`#tab--${s}`,className:`${a}--selection--button${e.icon?" icon":""}`,role:"tab","aria-controls":`tab--${s}`,"aria-selected":s===c,title:e.label,children:[t.jsx("span",{className:`${a}--selection--label`,children:e.label}),e.icon&&t.jsx(d.Icon,{name:e.icon.name,hidden:e.icon.hidden})]})},`#tab--${s}`))}),t.jsx("div",{className:`${a}--content`,children:n[c].content})]})},j=h;exports.Tabs=j;
1
+ "use strict";const t=require("react/jsx-runtime"),u=require("react"),$=require("./useGlobalSettings-chunk-Pa38w6VS.js"),m=require("./index-chunk-DCI82Tmm.js"),d=require("./Icon-chunk-Dej6jVSI.js"),h=({items:n})=>{const[c,l]=u.useState(0),i=(e,s)=>{l(e),s.preventDefault()},{prefix:o}=$.useGlobalSettings(),a=`${o}--tabs`,r=m.classnames(a);return t.jsxs("div",{className:`${r} tabs--js`,children:[t.jsx("ul",{className:`${a}--selection`,role:"tablist",children:n.map((e,s)=>t.jsx("li",{role:"tab",className:`${a}--selection--item ${c===s?"active":""}`,onClick:b=>i(s,b),children:t.jsxs("a",{href:`#tab--${s}`,className:`${a}--selection--button${e.icon?" icon":""}`,role:"tab","aria-controls":`tab--${s}`,"aria-selected":s===c,title:e.label,children:[t.jsx("span",{className:`${a}--selection--label`,children:e.label}),e.icon&&t.jsx(d.Icon,{name:e.icon.name,hidden:e.icon.hidden})]})},`#tab--${s}`))}),t.jsx("div",{className:`${a}--content`,children:n[c].content})]})},j=h;exports.Tabs=j;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tabs-chunk-CnXjQYpB.js");exports.Tabs=e.Tabs;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tabs-chunk-C2PIPQgI.js");exports.Tabs=e.Tabs;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),f=require("react"),$=require("./index-chunk-DCI82Tmm.js"),q=require("./useGlobalSettings-chunk-Pa38w6VS.js"),N=require("./Icon-chunk-Dej6jVSI.js");function I(s){let t=[...s.itemStatuses];return t.indexOf(s.id)>-1?t=t.filter(n=>n!==s.id):s.allowMultipleExpanded?t.push(s.id):t=[s.id],t}const h=f.createContext({}),_=({className:s,children:t,id:n,url:j,type:i,callback:u,...c})=>{const{prefix:x}=q.useGlobalSettings(),{activeItems:m,setActiveItems:C,allowMultipleActive:p}=f.useContext(h),o=m.indexOf(n)>-1,l=`${x}--tag`,d=`${x}--tag-set__item`,b=i,r=$.classnames(s,{[l]:!0,[`${l}--active`]:o,[`${l}--${i}`]:i,"icon icon__position--right":!0});let g=o;const v=a=>{C(I({id:n,itemStatuses:m,allowMultipleExpanded:p})),g=!1,u&&u(a)},S=()=>{let a;return g&&(a=e.jsx("li",{className:d,children:e.jsxs("button",{type:"button",className:r,onClick:T=>v(T),id:n,...c,children:[t,e.jsx(N.Icon,{name:"close",hidden:!0})]})})),a};return e.jsx(e.Fragment,{children:b==="button"?e.jsx(e.Fragment,{children:S()}):e.jsxs("li",{className:d,children:[i==="anchor"&&e.jsx("a",{className:r,href:o?j:"",id:n,...c,children:t}),i==="display"&&e.jsx("span",{className:r,id:n,...c,children:t})]})})},w=_;exports.Tag=w;exports.TagSetContext=h;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./Tag-chunk-DUz8ZjA1.js"),i=require("react/jsx-runtime"),T=require("./index-chunk-DCI82Tmm.js"),a=require("react"),b=require("./useGlobalSettings-chunk-Pa38w6VS.js");function h(t){return t.some((e,r)=>t.indexOf(e)!==r)}const j=({className:t,children:e,onButtonClick:r,defaultTagActive:s=[],allowMultipleActive:o=!0,...g})=>{const{prefix:S}=b.useGlobalSettings(),m=`${S}--tag-set`,[f,c]=a.useState([]),x=JSON.stringify(s);if(a.useEffect(()=>{const n=o?s:s.length>0?[s[0]]:s;c(n)},[x,o]),e){const n=[];a.Children.forEach(e,l=>{const q=l;n.push(q.props.id)}),h(n)&&console.warn("Warning: Tags must have unique ids.")}const d=T.classnames(t,{[m]:!0});return i.jsx(u.TagSetContext.Provider,{value:{activeItems:f,setActiveItems:c,allowMultipleActive:o,onButtonClick:r},children:i.jsx("ul",{className:d,...g,children:e})})},p=j;exports.Tag=u.Tag;exports.TagSet=p;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),c=require("react"),g=require("./index-chunk-DCI82Tmm.js"),w=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=require("./FormControl-chunk-08fp5TeU.js"),q=c.forwardRef(({onChange:t,onBlur:o,error:a,id:r,name:s,placeholder:l,required:n,pattern:p,disabled:h=!1,type:b="text"},m)=>{const{prefix:x}=w.useGlobalSettings(),y=u.useFormControl(),{ariaDescribedBy:f}=y,d=`${x}--text-input`,T=g.classnames(d,{[`${d}__error`]:a});return i.jsx("input",{ref:m,id:r||s,name:s,onChange:t,onBlur:o,disabled:h,placeholder:l,required:n,type:b,className:T,pattern:p,"aria-describedby":f})}),I=c.forwardRef((t,o)=>{const{style:a,inputStyle:r,className:s,...l}=t,n=t.id?t.id:t.name;return i.jsx(u.FormControl,{fieldId:n,style:a,className:s,...l,children:i.jsx(q,{ref:o,style:r,...l})})}),S=I,e={disabled:!1,errorMessage:"This is an error message",error:!1,style:{width:"100%"},id:"text-input",label:"Insert your name here",labelPlacement:"top",labelSize:"medium",name:"text",placeholder:"This is a text field",required:!1,type:"text"},j={...e,disabled:!0,placeholder:"Disabled Text Field"},C={...e,placeholder:"This has a helper text"},_={...e,placeholder:"This has an error",error:!0},E={...e,placeholder:"This has an tooltip",tooltip:"This is a tooltip"},F={...e,label:"Enter your email address",placeholder:"my@email.com",type:"email",id:"email-input"},M={...e,label:"Enter your password",placeholder:"Must be 8 digits long",type:"password",id:"password-input"},R={...e,name:"tel",label:"Enter your telephone number",placeholder:"###-###-####",required:!1,type:"tel",pattern:"[0-9]{3}-[0-9]{3}-[0-9]{4}"},O={...e,label:"Enter website address",id:"url-input",name:"url",placeholder:"https://www.example.com",required:!1,type:"url"},P=Object.freeze(Object.defineProperty({__proto__:null,basic:e,email:F,haserror:_,hashelper:C,hastooltip:E,isdisabled:j,password:M,telephone:R,url:O},Symbol.toStringTag,{value:"Module"}));exports.TextInput=S;exports.TextInputArgs=P;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),c=require("react"),g=require("./index-chunk-DCI82Tmm.js"),w=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=require("./FormControl-chunk-CxP6djqq.js"),q=c.forwardRef(({onChange:t,onBlur:o,error:a,id:r,name:s,placeholder:l,required:n,pattern:p,disabled:h=!1,type:b="text"},m)=>{const{prefix:x}=w.useGlobalSettings(),y=u.useFormControl(),{ariaDescribedBy:f}=y,d=`${x}--text-input`,T=g.classnames(d,{[`${d}__error`]:a});return i.jsx("input",{ref:m,id:r||s,name:s,onChange:t,onBlur:o,disabled:h,placeholder:l,required:n,type:b,className:T,pattern:p,"aria-describedby":f})}),I=c.forwardRef((t,o)=>{const{style:a,inputStyle:r,className:s,...l}=t,n=t.id?t.id:t.name;return i.jsx(u.FormControl,{fieldId:n,style:a,className:s,...l,children:i.jsx(q,{ref:o,style:r,...l})})}),S=I,e={disabled:!1,errorMessage:"This is an error message",error:!1,style:{width:"100%"},id:"text-input",label:"Insert your name here",labelPlacement:"top",labelSize:"medium",name:"text",placeholder:"This is a text field",required:!1,type:"text"},j={...e,disabled:!0,placeholder:"Disabled Text Field"},C={...e,placeholder:"This has a helper text"},_={...e,placeholder:"This has an error",error:!0},E={...e,placeholder:"This has an tooltip",tooltip:"This is a tooltip"},F={...e,label:"Enter your email address",placeholder:"my@email.com",type:"email",id:"email-input"},M={...e,label:"Enter your password",placeholder:"Must be 8 digits long",type:"password",id:"password-input"},R={...e,name:"tel",label:"Enter your telephone number",placeholder:"###-###-####",required:!1,type:"tel",pattern:"[0-9]{3}-[0-9]{3}-[0-9]{4}"},O={...e,label:"Enter website address",id:"url-input",name:"url",placeholder:"https://www.example.com",required:!1,type:"url"},P=Object.freeze(Object.defineProperty({__proto__:null,basic:e,email:F,haserror:_,hashelper:C,hastooltip:E,isdisabled:j,password:M,telephone:R,url:O},Symbol.toStringTag,{value:"Module"}));exports.TextInput=S;exports.TextInputArgs=P;
@@ -1 +1 @@
1
- "use strict";const l=require("react/jsx-runtime"),i=require("react"),C=require("./index-chunk-DCI82Tmm.js"),f=require("./useGlobalSettings-chunk-Pa38w6VS.js"),d=require("./FormControl-chunk-08fp5TeU.js"),q=i.forwardRef(({error:e,className:a,name:t,id:r,...o},s)=>{const{prefix:n}=f.useGlobalSettings(),x=d.useFormControl(),{ariaDescribedBy:u}=x,c=`${n}--textarea`,b=`${c}__error`,m=C.classnames(c,a,{[b]:e});return l.jsx("textarea",{ref:s,className:m,name:t,id:r||t,"aria-describedby":u,...o})}),y=i.forwardRef((e,a)=>{const{style:t,inputStyle:r,className:o,...s}=e,n=e.id?e.id:e.name;return l.jsx(d.FormControl,{fieldId:n,style:t,className:o,...s,children:l.jsx(q,{ref:a,style:r,...s})})}),j=y;exports.LabelledTextarea=j;
1
+ "use strict";const l=require("react/jsx-runtime"),i=require("react"),C=require("./index-chunk-DCI82Tmm.js"),f=require("./useGlobalSettings-chunk-Pa38w6VS.js"),d=require("./FormControl-chunk-CxP6djqq.js"),q=i.forwardRef(({error:e,className:a,name:t,id:r,...o},s)=>{const{prefix:n}=f.useGlobalSettings(),x=d.useFormControl(),{ariaDescribedBy:u}=x,c=`${n}--textarea`,b=`${c}__error`,m=C.classnames(c,a,{[b]:e});return l.jsx("textarea",{ref:s,className:m,name:t,id:r||t,"aria-describedby":u,...o})}),y=i.forwardRef((e,a)=>{const{style:t,inputStyle:r,className:o,...s}=e,n=e.id?e.id:e.name;return l.jsx(d.FormControl,{fieldId:n,style:t,className:o,...s,children:l.jsx(q,{ref:a,style:r,...s})})}),j=y;exports.LabelledTextarea=j;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./Textarea-chunk-3fPk9MqI.js"),a="It was a cold day in April and the clocks were striking thirteen....",e={id:"textarea",disabled:!1,name:"textarea",placeholder:a,required:!1,spellcheck:!1,label:"Insert your life story here",labelPlacement:"top",labelSize:"medium",style:{width:"100%"},errorMessage:"This is an error message"},t={...e,error:!0},s={...e,disabled:!0},l={basic:e,haserror:t,disabled:s};exports.Textarea=r.LabelledTextarea;exports.TextareaArgs=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./Textarea-chunk-B13VaFl6.js"),a="It was a cold day in April and the clocks were striking thirteen....",e={id:"textarea",disabled:!1,name:"textarea",placeholder:a,required:!1,spellcheck:!1,label:"Insert your life story here",labelPlacement:"top",labelSize:"medium",style:{width:"100%"},errorMessage:"This is an error message"},t={...e,error:!0},s={...e,disabled:!0},l={basic:e,haserror:t,disabled:s};exports.Textarea=r.LabelledTextarea;exports.TextareaArgs=l;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),d=require("react"),k=require("./useGlobalSettings-chunk-Pa38w6VS.js"),z=require("./index-chunk-DCI82Tmm.js"),u=require("./FormControl-chunk-08fp5TeU.js"),$=d.forwardRef(({size:s="medium",error:c=!1,disabled:t=!1,defaultChecked:a=!1,required:i=!1,id:n,name:l,onChange:m,onBlur:f,onClick:b,checked:h,className:C},_)=>{const{prefix:x}=k.useGlobalSettings(),y=u.useFormControl(),{ariaDescribedBy:T}=y,p=!t&&!!c,o=`${x}--input--toggle`,S=`${o}--slider`,j=z.classnames(o,C,`${o}__size__${s}`,[{[`${o}__error`]:p},{[`${o}__disabled`]:t}]);return r.jsxs("div",{className:j,children:[r.jsx("input",{ref:_,checked:h,disabled:t,defaultChecked:a,name:l,id:n||l,type:"checkbox",role:"switch",required:i,onChange:m,onBlur:f,onClick:b,"aria-describedby":T}),r.jsx("span",{className:S})]})}),q=d.forwardRef((s,c)=>{const t=s.id?s.id:s.name,{style:a,inputStyle:i,className:n,...l}=s;return r.jsx(u.FormControl,{fieldId:t,style:a,className:n,...l,children:r.jsx($,{ref:c,style:i,...l})})}),v=q,e={defaultChecked:!1,errorMessage:"Invalid option",name:"my-toggle",size:"medium",label:"Show details",labelPlacement:"end",labelSize:"small"},w={...e,defaultChecked:!0},D={...e,disabled:!0},g={...e,helper:"This is a helper text"},M={...g,tooltip:"This is a tooltip"},R={...e,error:!0},F={...e,defaultChecked:!0},L={...e,onClick:()=>console.log("clicked"),checked:!0},N={...e,size:"large"},O={...e,size:"medium"},P={...e,size:"small"},E=Object.freeze(Object.defineProperty({__proto__:null,Checked:w,Controlled:L,Default:e,DefaultChecked:F,Disabled:D,Error:R,Helper:g,Large:N,Medium:O,Small:P,Tooltip:M},Symbol.toStringTag,{value:"Module"}));exports.Toggle=v;exports.ToggleArgs=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),d=require("react"),k=require("./useGlobalSettings-chunk-Pa38w6VS.js"),z=require("./index-chunk-DCI82Tmm.js"),u=require("./FormControl-chunk-CxP6djqq.js"),$=d.forwardRef(({size:s="medium",error:c=!1,disabled:t=!1,defaultChecked:a=!1,required:i=!1,id:n,name:l,onChange:m,onBlur:f,onClick:b,checked:h,className:C},_)=>{const{prefix:x}=k.useGlobalSettings(),y=u.useFormControl(),{ariaDescribedBy:T}=y,p=!t&&!!c,o=`${x}--input--toggle`,S=`${o}--slider`,j=z.classnames(o,C,`${o}__size__${s}`,[{[`${o}__error`]:p},{[`${o}__disabled`]:t}]);return r.jsxs("div",{className:j,children:[r.jsx("input",{ref:_,checked:h,disabled:t,defaultChecked:a,name:l,id:n||l,type:"checkbox",role:"switch",required:i,onChange:m,onBlur:f,onClick:b,"aria-describedby":T}),r.jsx("span",{className:S})]})}),q=d.forwardRef((s,c)=>{const t=s.id?s.id:s.name,{style:a,inputStyle:i,className:n,...l}=s;return r.jsx(u.FormControl,{fieldId:t,style:a,className:n,...l,children:r.jsx($,{ref:c,style:i,...l})})}),v=q,e={defaultChecked:!1,errorMessage:"Invalid option",name:"my-toggle",size:"medium",label:"Show details",labelPlacement:"end",labelSize:"small"},w={...e,defaultChecked:!0},D={...e,disabled:!0},g={...e,helper:"This is a helper text"},M={...g,tooltip:"This is a tooltip"},R={...e,error:!0},F={...e,defaultChecked:!0},L={...e,onClick:()=>console.log("clicked"),checked:!0},N={...e,size:"large"},O={...e,size:"medium"},P={...e,size:"small"},E=Object.freeze(Object.defineProperty({__proto__:null,Checked:w,Controlled:L,Default:e,DefaultChecked:F,Disabled:D,Error:R,Helper:g,Large:N,Medium:O,Small:P,Tooltip:M},Symbol.toStringTag,{value:"Module"}));exports.Toggle=v;exports.ToggleArgs=E;
@@ -0,0 +1 @@
1
+ "use strict";const Ee=require("react/jsx-runtime"),F=require("react"),Ie=require("./index-chunk-DCI82Tmm.js"),dt=require("./useGlobalSettings-chunk-Pa38w6VS.js");var D="top",k="bottom",L="right",C="left",Re="auto",ce=[D,k,L,C],Q="start",se="end",ht="clippingParents",Ze="viewport",ae="popper",mt="reference",Xe=ce.reduce(function(e,t){return e.concat([t+"-"+Q,t+"-"+se])},[]),et=[].concat(ce,[Re]).reduce(function(e,t){return e.concat([t,t+"-"+Q,t+"-"+se])},[]),gt="beforeRead",yt="read",bt="afterRead",wt="beforeMain",xt="main",Ot="afterMain",At="beforeWrite",Et="write",$t="afterWrite",Pt=[gt,yt,bt,wt,xt,Ot,At,Et,$t];function N(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function J(e){var t=S(e).Element;return e instanceof t||e instanceof Element}function T(e){var t=S(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function je(e){if(typeof ShadowRoot>"u")return!1;var t=S(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Rt(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!T(o)||!N(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(c){var i=a[c];i===!1?o.removeAttribute(c):o.setAttribute(c,i===!0?"":i)}))})}function jt(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=c.reduce(function(s,p){return s[p]="",s},{});!T(a)||!N(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(s){a.removeAttribute(s)}))})}}const Dt={name:"applyStyles",enabled:!0,phase:"write",fn:Rt,effect:jt,requires:["computeStyles"]};function H(e){return e.split("-")[0]}var _=Math.max,ye=Math.min,Z=Math.round;function $e(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tt(){return!/^((?!chrome|android).)*safari/i.test($e())}function ee(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&T(e)&&(a=e.offsetWidth>0&&Z(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Z(n.height)/e.offsetHeight||1);var c=J(e)?S(e):window,i=c.visualViewport,s=!tt()&&r,p=(n.left+(s&&i?i.offsetLeft:0))/a,f=(n.top+(s&&i?i.offsetTop:0))/o,v=n.width/a,m=n.height/o;return{width:v,height:m,top:f,right:p+v,bottom:f+m,left:p,x:p,y:f}}function De(e){var t=ee(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&je(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function V(e){return S(e).getComputedStyle(e)}function Ct(e){return["table","td","th"].indexOf(N(e))>=0}function I(e){return((J(e)?e.ownerDocument:e.document)||window.document).documentElement}function be(e){return N(e)==="html"?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||I(e)}function Ye(e){return!T(e)||V(e).position==="fixed"?null:e.offsetParent}function Bt(e){var t=/firefox/i.test($e()),r=/Trident/i.test($e());if(r&&T(e)){var n=V(e);if(n.position==="fixed")return null}var a=be(e);for(je(a)&&(a=a.host);T(a)&&["html","body"].indexOf(N(a))<0;){var o=V(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function pe(e){for(var t=S(e),r=Ye(e);r&&Ct(r)&&V(r).position==="static";)r=Ye(r);return r&&(N(r)==="html"||N(r)==="body"&&V(r).position==="static")?t:r||Bt(e)||t}function Ce(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oe(e,t,r){return _(e,ye(t,r))}function St(e,t,r){var n=oe(e,t,r);return n>r?r:n}function nt(){return{top:0,right:0,bottom:0,left:0}}function at(e){return Object.assign({},nt(),e)}function ot(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Tt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,at(typeof t!="number"?t:ot(t,ce))};function kt(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,c=r.modifiersData.popperOffsets,i=H(r.placement),s=Ce(i),p=[C,L].indexOf(i)>=0,f=p?"height":"width";if(!(!o||!c)){var v=Tt(a.padding,r),m=De(o),u=s==="y"?D:C,w=s==="y"?k:L,h=r.rects.reference[f]+r.rects.reference[s]-c[s]-r.rects.popper[f],d=c[s]-r.rects.reference[s],y=pe(o),O=y?s==="y"?y.clientHeight||0:y.clientWidth||0:0,x=h/2-d/2,l=v[u],g=O-m[f]-v[w],b=O/2-m[f]/2+x,A=oe(l,b,g),P=s;r.modifiersData[n]=(t={},t[P]=A,t.centerOffset=A-b,t)}}function Lt(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rt(t.elements.popper,a)&&(t.elements.arrow=a))}const Mt={name:"arrow",enabled:!0,phase:"main",fn:kt,effect:Lt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(e){return e.split("-")[1]}var Wt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ht(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Z(r*a)/a||0,y:Z(n*a)/a||0}}function ze(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,c=e.offsets,i=e.position,s=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,v=e.isFixed,m=c.x,u=m===void 0?0:m,w=c.y,h=w===void 0?0:w,d=typeof f=="function"?f({x:u,y:h}):{x:u,y:h};u=d.x,h=d.y;var y=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),x=C,l=D,g=window;if(p){var b=pe(r),A="clientHeight",P="clientWidth";if(b===S(r)&&(b=I(r),V(b).position!=="static"&&i==="absolute"&&(A="scrollHeight",P="scrollWidth")),b=b,a===D||(a===C||a===L)&&o===se){l=k;var $=v&&b===g&&g.visualViewport?g.visualViewport.height:b[A];h-=$-n.height,h*=s?1:-1}if(a===C||(a===D||a===k)&&o===se){x=L;var E=v&&b===g&&g.visualViewport?g.visualViewport.width:b[P];u-=E-n.width,u*=s?1:-1}}var R=Object.assign({position:i},p&&Wt),M=f===!0?Ht({x:u,y:h},S(r)):{x:u,y:h};if(u=M.x,h=M.y,s){var j;return Object.assign({},R,(j={},j[l]=O?"0":"",j[x]=y?"0":"",j.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",j))}return Object.assign({},R,(t={},t[l]=O?h+"px":"",t[x]=y?u+"px":"",t.transform="",t))}function Nt(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,c=o===void 0?!0:o,i=r.roundOffsets,s=i===void 0?!0:i,p={placement:H(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Vt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}};var me={passive:!0};function qt(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,c=n.resize,i=c===void 0?!0:c,s=S(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&p.forEach(function(f){f.addEventListener("scroll",r.update,me)}),i&&s.addEventListener("resize",r.update,me),function(){o&&p.forEach(function(f){f.removeEventListener("scroll",r.update,me)}),i&&s.removeEventListener("resize",r.update,me)}}const Ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qt,data:{}};var It={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(e){return e.replace(/left|right|bottom|top/g,function(t){return It[t]})}var Xt={start:"end",end:"start"};function Ue(e){return e.replace(/start|end/g,function(t){return Xt[t]})}function Be(e){var t=S(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Se(e){return ee(I(e)).left+Be(e).scrollLeft}function Yt(e,t){var r=S(e),n=I(e),a=r.visualViewport,o=n.clientWidth,c=n.clientHeight,i=0,s=0;if(a){o=a.width,c=a.height;var p=tt();(p||!p&&t==="fixed")&&(i=a.offsetLeft,s=a.offsetTop)}return{width:o,height:c,x:i+Se(e),y:s}}function zt(e){var t,r=I(e),n=Be(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=_(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=_(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-n.scrollLeft+Se(e),s=-n.scrollTop;return V(a||r).direction==="rtl"&&(i+=_(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:c,x:i,y:s}}function Te(e){var t=V(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function it(e){return["html","body","#document"].indexOf(N(e))>=0?e.ownerDocument.body:T(e)&&Te(e)?e:it(be(e))}function ie(e,t){var r;t===void 0&&(t=[]);var n=it(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=S(n),c=a?[o].concat(o.visualViewport||[],Te(n)?n:[]):n,i=t.concat(c);return a?i:i.concat(ie(be(c)))}function Pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ut(e,t){var r=ee(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ge(e,t,r){return t===Ze?Pe(Yt(e,r)):J(t)?Ut(t,r):Pe(zt(I(e)))}function Gt(e){var t=ie(be(e)),r=["absolute","fixed"].indexOf(V(e).position)>=0,n=r&&T(e)?pe(e):e;return J(n)?t.filter(function(a){return J(a)&&rt(a,n)&&N(a)!=="body"}):[]}function _t(e,t,r,n){var a=t==="clippingParents"?Gt(e):[].concat(t),o=[].concat(a,[r]),c=o[0],i=o.reduce(function(s,p){var f=Ge(e,p,n);return s.top=_(f.top,s.top),s.right=ye(f.right,s.right),s.bottom=ye(f.bottom,s.bottom),s.left=_(f.left,s.left),s},Ge(e,c,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function st(e){var t=e.reference,r=e.element,n=e.placement,a=n?H(n):null,o=n?te(n):null,c=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,s;switch(a){case D:s={x:c,y:t.y-r.height};break;case k:s={x:c,y:t.y+t.height};break;case L:s={x:t.x+t.width,y:i};break;case C:s={x:t.x-r.width,y:i};break;default:s={x:t.x,y:t.y}}var p=a?Ce(a):null;if(p!=null){var f=p==="y"?"height":"width";switch(o){case Q:s[p]=s[p]-(t[f]/2-r[f]/2);break;case se:s[p]=s[p]+(t[f]/2-r[f]/2);break}}return s}function fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,c=o===void 0?e.strategy:o,i=r.boundary,s=i===void 0?ht:i,p=r.rootBoundary,f=p===void 0?Ze:p,v=r.elementContext,m=v===void 0?ae:v,u=r.altBoundary,w=u===void 0?!1:u,h=r.padding,d=h===void 0?0:h,y=at(typeof d!="number"?d:ot(d,ce)),O=m===ae?mt:ae,x=e.rects.popper,l=e.elements[w?O:m],g=_t(J(l)?l:l.contextElement||I(e.elements.popper),s,f,c),b=ee(e.elements.reference),A=st({reference:b,element:x,strategy:"absolute",placement:a}),P=Pe(Object.assign({},x,A)),$=m===ae?P:b,E={top:g.top-$.top+y.top,bottom:$.bottom-g.bottom+y.bottom,left:g.left-$.left+y.left,right:$.right-g.right+y.right},R=e.modifiersData.offset;if(m===ae&&R){var M=R[a];Object.keys(E).forEach(function(j){var X=[L,k].indexOf(j)>=0?1:-1,Y=[D,k].indexOf(j)>=0?"y":"x";E[j]+=M[Y]*X})}return E}function Jt(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,c=r.padding,i=r.flipVariations,s=r.allowedAutoPlacements,p=s===void 0?et:s,f=te(n),v=f?i?Xe:Xe.filter(function(w){return te(w)===f}):ce,m=v.filter(function(w){return p.indexOf(w)>=0});m.length===0&&(m=v);var u=m.reduce(function(w,h){return w[h]=fe(e,{placement:h,boundary:a,rootBoundary:o,padding:c})[H(h)],w},{});return Object.keys(u).sort(function(w,h){return u[w]-u[h]})}function Kt(e){if(H(e)===Re)return[];var t=ge(e);return[Ue(e),t,Ue(t)]}function Qt(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!0:c,s=r.fallbackPlacements,p=r.padding,f=r.boundary,v=r.rootBoundary,m=r.altBoundary,u=r.flipVariations,w=u===void 0?!0:u,h=r.allowedAutoPlacements,d=t.options.placement,y=H(d),O=y===d,x=s||(O||!w?[ge(d)]:Kt(d)),l=[d].concat(x).reduce(function(K,q){return K.concat(H(q)===Re?Jt(t,{placement:q,boundary:f,rootBoundary:v,padding:p,flipVariations:w,allowedAutoPlacements:h}):q)},[]),g=t.rects.reference,b=t.rects.popper,A=new Map,P=!0,$=l[0],E=0;E<l.length;E++){var R=l[E],M=H(R),j=te(R)===Q,X=[D,k].indexOf(M)>=0,Y=X?"width":"height",B=fe(t,{placement:R,boundary:f,rootBoundary:v,altBoundary:m,padding:p}),W=X?j?L:C:j?k:D;g[Y]>b[Y]&&(W=ge(W));var ue=ge(W),z=[];if(o&&z.push(B[M]<=0),i&&z.push(B[W]<=0,B[ue]<=0),z.every(function(K){return K})){$=R,P=!1;break}A.set(R,z)}if(P)for(var le=w?3:1,we=function(q){var ne=l.find(function(de){var U=A.get(de);if(U)return U.slice(0,q).every(function(xe){return xe})});if(ne)return $=ne,"break"},re=le;re>0;re--){var ve=we(re);if(ve==="break")break}t.placement!==$&&(t.modifiersData[n]._skip=!0,t.placement=$,t.reset=!0)}}const Zt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Je(e){return[D,L,k,C].some(function(t){return e[t]>=0})}function er(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,c=fe(t,{elementContext:"reference"}),i=fe(t,{altBoundary:!0}),s=_e(c,n),p=_e(i,a,o),f=Je(s),v=Je(p);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":v})}const tr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:er};function rr(e,t,r){var n=H(e),a=[C,D].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=o[0],i=o[1];return c=c||0,i=(i||0)*a,[C,L].indexOf(n)>=0?{x:i,y:c}:{x:c,y:i}}function nr(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,c=et.reduce(function(f,v){return f[v]=rr(v,t.rects,o),f},{}),i=c[t.placement],s=i.x,p=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=c}const ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nr};function or(e){var t=e.state,r=e.name;t.modifiersData[r]=st({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ir={name:"popperOffsets",enabled:!0,phase:"read",fn:or,data:{}};function sr(e){return e==="x"?"y":"x"}function fr(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!1:c,s=r.boundary,p=r.rootBoundary,f=r.altBoundary,v=r.padding,m=r.tether,u=m===void 0?!0:m,w=r.tetherOffset,h=w===void 0?0:w,d=fe(t,{boundary:s,rootBoundary:p,padding:v,altBoundary:f}),y=H(t.placement),O=te(t.placement),x=!O,l=Ce(y),g=sr(l),b=t.modifiersData.popperOffsets,A=t.rects.reference,P=t.rects.popper,$=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(b){if(o){var j,X=l==="y"?D:C,Y=l==="y"?k:L,B=l==="y"?"height":"width",W=b[l],ue=W+d[X],z=W-d[Y],le=u?-P[B]/2:0,we=O===Q?A[B]:P[B],re=O===Q?-P[B]:-A[B],ve=t.elements.arrow,K=u&&ve?De(ve):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nt(),ne=q[X],de=q[Y],U=oe(0,A[B],K[B]),xe=x?A[B]/2-le-U-ne-E.mainAxis:we-U-ne-E.mainAxis,ft=x?-A[B]/2+le+U+de+E.mainAxis:re+U+de+E.mainAxis,Oe=t.elements.arrow&&pe(t.elements.arrow),ct=Oe?l==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,ke=(j=R==null?void 0:R[l])!=null?j:0,pt=W+xe-ke-ct,ut=W+ft-ke,Le=oe(u?ye(ue,pt):ue,W,u?_(z,ut):z);b[l]=Le,M[l]=Le-W}if(i){var Me,lt=l==="x"?D:C,vt=l==="x"?k:L,G=b[g],he=g==="y"?"height":"width",We=G+d[lt],He=G-d[vt],Ae=[D,C].indexOf(y)!==-1,Ne=(Me=R==null?void 0:R[g])!=null?Me:0,Ve=Ae?We:G-A[he]-P[he]-Ne+E.altAxis,qe=Ae?G+A[he]+P[he]-Ne-E.altAxis:He,Fe=u&&Ae?St(Ve,G,qe):oe(u?Ve:We,G,u?qe:He);b[g]=Fe,M[g]=Fe-G}t.modifiersData[n]=M}}const cr={name:"preventOverflow",enabled:!0,phase:"main",fn:fr,requiresIfExists:["offset"]};function pr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ur(e){return e===S(e)||!T(e)?Be(e):pr(e)}function lr(e){var t=e.getBoundingClientRect(),r=Z(t.width)/e.offsetWidth||1,n=Z(t.height)/e.offsetHeight||1;return r!==1||n!==1}function vr(e,t,r){r===void 0&&(r=!1);var n=T(t),a=T(t)&&lr(t),o=I(t),c=ee(e,a,r),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((N(t)!=="body"||Te(o))&&(i=ur(t)),T(t)?(s=ee(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Se(o))),{x:c.left+i.scrollLeft-s.x,y:c.top+i.scrollTop-s.y,width:c.width,height:c.height}}function dr(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var c=[].concat(o.requires||[],o.requiresIfExists||[]);c.forEach(function(i){if(!r.has(i)){var s=t.get(i);s&&a(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function hr(e){var t=dr(e);return Pt.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function mr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function gr(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ke={placement:"bottom",modifiers:[],strategy:"absolute"};function Qe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function yr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,o=a===void 0?Ke:a;return function(i,s,p){p===void 0&&(p=o);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ke,o),modifiersData:{},elements:{reference:i,popper:s},attributes:{},styles:{}},v=[],m=!1,u={state:f,setOptions:function(y){var O=typeof y=="function"?y(f.options):y;h(),f.options=Object.assign({},o,f.options,O),f.scrollParents={reference:J(i)?ie(i):i.contextElement?ie(i.contextElement):[],popper:ie(s)};var x=hr(gr([].concat(n,f.options.modifiers)));return f.orderedModifiers=x.filter(function(l){return l.enabled}),w(),u.update()},forceUpdate:function(){if(!m){var y=f.elements,O=y.reference,x=y.popper;if(Qe(O,x)){f.rects={reference:vr(O,pe(x),f.options.strategy==="fixed"),popper:De(x)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(E){return f.modifiersData[E.name]=Object.assign({},E.data)});for(var l=0;l<f.orderedModifiers.length;l++){if(f.reset===!0){f.reset=!1,l=-1;continue}var g=f.orderedModifiers[l],b=g.fn,A=g.options,P=A===void 0?{}:A,$=g.name;typeof b=="function"&&(f=b({state:f,options:P,name:$,instance:u})||f)}}}},update:mr(function(){return new Promise(function(d){u.forceUpdate(),d(f)})}),destroy:function(){h(),m=!0}};if(!Qe(i,s))return u;u.setOptions(p).then(function(d){!m&&p.onFirstUpdate&&p.onFirstUpdate(d)});function w(){f.orderedModifiers.forEach(function(d){var y=d.name,O=d.options,x=O===void 0?{}:O,l=d.effect;if(typeof l=="function"){var g=l({state:f,name:y,instance:u,options:x}),b=function(){};v.push(g||b)}})}function h(){v.forEach(function(d){return d()}),v=[]}return u}}var br=[Ft,ir,Vt,Dt,ar,Zt,cr,Mt,tr],wr=yr({defaultModifiers:br});const xr=F.forwardRef(({icon:e=!0,iconTheme:t="light",theme:r="dark",className:n,children:a,label:o,isVisible:c,id:i},s)=>{const{prefix:p}=dt.useGlobalSettings(),f=`${p}--tooltip`,v=F.useRef(null),m=F.useRef(null),[u,w]=F.useState(!!c),h=F.useId(),d=F.useCallback(x=>{const l=x.currentTarget;l&&v.current&&(m.current=wr(l,v.current,{placement:"top",modifiers:[{name:"offset",options:{offset:[0,12]}},{name:"flip",enabled:!0},{name:"preventOverflow",enabled:!0}]}),w(!0))},[]),y=F.useCallback(()=>{m.current&&(m.current.destroy(),m.current=null),v.current&&w(!1)},[]),O=F.useCallback(()=>{var l,g;return(((g=(l=v.current)==null?void 0:l.textContent)==null?void 0:g.trim())||"").length>50},[]);return Ee.jsxs("div",{ref:s,className:Ie.classnames(`${f}--wrapper`,{[`${f}--wrapper__icon`]:e,[`${f}--wrapper__icon__theme__${r}`]:e&&r,[`${f}--wrapper__icon__theme__${t}`]:t},n),onMouseEnter:d,onMouseLeave:y,onFocus:d,onBlur:y,id:i||`tooltip-${h}`,children:[!e&&a,Ee.jsxs("span",{ref:v,className:Ie.classnames(f,{[`${f}--${r}`]:r,[`${f}--visible`]:u,[`${f}--long`]:O()}),"data-id":i||`tooltip-${h}`,role:"tooltip","aria-hidden":!u,children:[Ee.jsx("span",{"data-popper-arrow":!0,className:`${f}--arrow ${f}--arrow--placement-negative`,"data-placement":"negative",role:"presentation"}),o]})]})});exports.Tooltip=xr;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Tooltip-chunk-Bh77DbOg.js");exports.Tooltip=o.Tooltip;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Tooltip-chunk-Ca67o441.js");exports.Tooltip=o.Tooltip;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./Accordion-entry-C81QOLKD.js"),o=require("./Form-chunk-DjDwz7DV.js"),i=require("./Collapse-chunk-B3s_Bzzq.js"),t=require("./Empty-chunk-BEqHK-KC.js"),a=require("./Image-chunk-lJKSkHDC.js"),n=require("./Loading-chunk-C9rx8cqr.js"),c=require("./Radio-chunk-LFOxcvur.js"),d=require("./Tag-chunk-DUz8ZjA1.js"),u=require("./Button-chunk-D32W9ElW.js"),l=require("./ContextMenu-chunk-Ch5u_T0d.js"),s=require("./Fieldset-chunk-C3itoJam.js"),q=require("./GlobalProvider-chunk-Bt1vmswv.js"),C=require("./Notification-chunk-Cby6Dnh1.js"),g=require("./ReadMore-chunk-BQvY4016.js"),L=require("./Textarea-chunk-B13VaFl6.js"),b=require("./Callout-chunk-CQirdJVX.js"),T=require("./Credit-chunk-Dts5RkwZ.js"),p=require("./FileUpload-chunk-BhGfPLEt.js"),F=require("./Heading-chunk-BJAywWmF.js"),m=require("./Link-chunk-BfaKuVjz.js"),x=require("./NumberPicker-chunk-CjEYQYj0.js"),P=require("./RichText-chunk-ZamwF4QL.js"),k=require("./Tooltip-chunk-Ca67o441.js"),f=require("./Checkbox-chunk-CfN7137m.js"),D=require("./DatePicker-chunk-7_96tPkC.js"),N=require("./Hero-chunk-CBIMDQWO.js"),h=require("./HeroCard-chunk-Cdyuf9Gw.js"),H=require("./LinkList-chunk-Eu43ZSAZ.js"),M=require("./Pagination-chunk-4zp3hOFL.js"),R=require("./SearchField-chunk-uIkdwz2L.js"),v=require("./Video-chunk-BIJvoxjg.js"),S=require("./Dropdown-chunk-Bn-MFT6c.js"),B=require("./Icon-chunk-Dej6jVSI.js"),G=require("./List-entry-DzqbzyL4.js"),I=require("./Profile-chunk-D1tXXPUO.js"),y=require("./TableOfContents-chunk-DcLMEr2i.js"),O=require("./Footer-chunk-6AdazgST.js"),w=require("./LocalNav-entry-SfLDP8BS.js"),E=require("./Navigation-entry-C6dI5Dpf.js"),e=require("./CardGroup-chunk-D3sPRsTS.js"),U=require("./Breadcrumb-chunk-BGt10GMr.js"),V=require("./Tabs-chunk-C2PIPQgI.js"),$=require("./LanguageToggle-chunk-DsJntngZ.js");exports.Accordion=r.Accordion;exports.Form=o.Form;exports.Collapse=i.Collapse;exports.Empty=t.Empty;exports.Image=a.Image;exports.Loading=n.Loading;exports.Radio=c.LabelledRadio;exports.Tag=d.Tag;exports.Button=u.Button;exports.ContextMenu=l.ContextMenu;exports.Fieldset=s.Fieldset;exports.GlobalProvider=q.GlobalProvider;exports.Notification=C.Notification;exports.ReadMore=g.ReadMore;exports.Textarea=L.LabelledTextarea;exports.Callout=b.Callout;exports.Credit=T.Credit;exports.FileUpload=p.LabelledFileUpload;exports.Heading=F.Heading;exports.Link=m.Link;exports.NumberPicker=x.LabelledNumberPicker;exports.RichText=P.RichText;exports.Tooltip=k.Tooltip;exports.Checkbox=f.LabelledCheckbox;exports.DatePicker=D.LabelledDatePicker;exports.Hero=N.Hero;exports.HeroCard=h.HeroCard;exports.LinkList=H.LinkList;exports.Pagination=M.Pagination;exports.SearchField=R.SearchField;exports.Video=v.Video;exports.Dropdown=S.LabelledDropdown;exports.Icon=B.Icon;exports.List=G.List;exports.Profile=I.Profile;exports.TableOfContents=y.TableOfContents;exports.Footer=O.Footer;exports.LocalNav=w.LocalNav;exports.Navigation=E.Navigation;exports.CardGroup=e.CardGroup;exports.DataCard=e.DataCard;exports.DetailCard=e.DetailCard;exports.FactListCard=e.FactListCard;exports.FeatureCard=e.FeatureCard;exports.MultiLinkCard=e.MultiLinkCard;exports.PromoCard=e.PromoCard;exports.StatCard=e.StatCard;exports.TextCard=e.TextCard;exports.Breadcrumb=U.Breadcrumb;exports.Tabs=V.Tabs;exports.LanguageToggle=$.LanguageToggle;
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./_store/Accordion-chunk-Dj1LluWV.js"),o=require("./_store/Form-chunk-DjDwz7DV.js"),r=require("./_store/Collapse-chunk-B3s_Bzzq.js"),i=require("./_store/Empty-chunk-BEqHK-KC.js"),t=require("./_store/Image-chunk-lJKSkHDC.js"),n=require("./_store/Loading-chunk-C9rx8cqr.js"),c=require("./_store/Radio-chunk-EK2nKEND.js"),a=require("./_store/Tag-chunk-CdVExQzv.js"),s=require("./_store/Button-chunk-7QGSjiJL.js"),u=require("./_store/ContextMenu-chunk-BegVo-Ry.js"),l=require("./_store/Fieldset-chunk-BsOPbe_a.js"),d=require("./_store/GlobalProvider-chunk-Bt1vmswv.js"),q=require("./_store/Notification-chunk-BudHdd0h.js"),b=require("./_store/ReadMore-chunk-BQvY4016.js"),L=require("./_store/Textarea-chunk-3fPk9MqI.js"),g=require("./_store/Callout-chunk-DI_rZPkx.js"),C=require("./_store/Credit-chunk-Dts5RkwZ.js"),P=require("./_store/FileUpload-chunk-CmHP-E54.js"),m=require("./_store/Heading-chunk-BJAywWmF.js"),p=require("./_store/Link-chunk-B_ZIovS2.js"),T=require("./_store/NumberPicker-chunk-CaQYVhyz.js"),k=require("./_store/RichText-chunk-ZamwF4QL.js"),F=require("./_store/Tooltip-chunk-Bh77DbOg.js"),v=require("./_store/Checkbox-chunk-B7P6WeNp.js"),x=require("./_store/DatePicker-chunk-DMvnrakE.js"),N=require("./_store/Hero-chunk-BmAL9GMT.js"),f=require("./_store/LinkList-chunk-Uvotg8l4.js"),h=require("./_store/Pagination-chunk-4zp3hOFL.js"),A=require("./_store/SearchField-chunk-DRdhLGEo.js"),G=require("./_store/Video-chunk-BIJvoxjg.js"),I=require("./_store/Dropdown-chunk--_pVhTcV.js"),R=require("./_store/Icon-chunk-BiF41wYy.js"),B=require("./_store/ListItem-chunk-CHb4_N2-.js"),S=require("./_store/Profile-chunk-BH98cR85.js"),M=require("./_store/TableOfContents-chunk-DcLMEr2i.js"),D=require("./_store/Footer-chunk-CH7s6ZhB.js"),H=require("./_store/LocalNav-chunk-CL0urssZ.js"),y=require("./_store/Navigation-chunk-CKk-EzZF.js"),O=require("./_store/Breadcrumb-chunk-DvUpVY4l.js"),w=require("./_store/Tabs-chunk-CnXjQYpB.js"),E=require("./_store/useGlobalSettings-chunk-Pa38w6VS.js"),U=require("./_store/usePrevious-chunk-DENrwKF1.js"),V=require("./_store/CardGroup-chunk-CrzLMpzZ.js");exports.Accordion=e.Accordion;exports.AccordionButton=e.AccordionButton;exports.AccordionItem=e.AccordionItem;exports.AccordionPanel=e.AccordionPanel;exports.Form=o.Form;exports.Collapse=r.Collapse;exports.Empty=i.Empty;exports.Image=t.Image;exports.Loading=n.Loading;exports.Radio=c.LabelledRadio;exports.Tag=a.Tag;exports.Button=s.Button;exports.ContextMenu=u.ContextMenu;exports.Fieldset=l.Fieldset;exports.GlobalProvider=d.GlobalProvider;exports.Notification=q.Notification;exports.ReadMore=b.ReadMore;exports.Textarea=L.LabelledTextarea;exports.Callout=g.Callout;exports.Credit=C.Credit;exports.FileUpload=P.LabelledFileUpload;exports.Heading=m.Heading;exports.Link=p.Link;exports.NumberPicker=T.LabelledNumberPicker;exports.RichText=k.RichText;exports.Tooltip=F.Tooltip;exports.Checkbox=v.LabelledCheckbox;exports.DatePicker=x.LabelledDatePicker;exports.Hero=N.Hero;exports.LinkList=f.LinkList;exports.Pagination=h.Pagination;exports.SearchField=A.SearchField;exports.Video=G.Video;exports.Dropdown=I.LabelledDropdown;exports.Icon=R.Icon;exports.List=B.List;exports.Profile=S.Profile;exports.TableOfContents=M.TableOfContents;exports.Footer=D.Footer;exports.LocalNav=H.LocalNav;exports.Navigation=y.Navigation;exports.Breadcrumb=O.Breadcrumb;exports.Tabs=w.Tabs;exports.useGlobalSettings=E.useGlobalSettings;exports.usePrevious=U.usePrevious;exports.CardGroup=V.CardGroup;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./_store/Accordion-entry-C81QOLKD.js"),o=require("./_store/Form-chunk-DjDwz7DV.js"),i=require("./_store/Collapse-chunk-B3s_Bzzq.js"),t=require("./_store/Empty-chunk-BEqHK-KC.js"),a=require("./_store/Image-chunk-lJKSkHDC.js"),n=require("./_store/Loading-chunk-C9rx8cqr.js"),u=require("./_store/Radio-chunk-LFOxcvur.js"),c=require("./_store/Tag-chunk-DUz8ZjA1.js"),s=require("./_store/Button-chunk-D32W9ElW.js"),d=require("./_store/ContextMenu-chunk-Ch5u_T0d.js"),l=require("./_store/Fieldset-chunk-C3itoJam.js"),q=require("./_store/GlobalProvider-chunk-Bt1vmswv.js"),C=require("./_store/Notification-chunk-Cby6Dnh1.js"),g=require("./_store/ReadMore-chunk-BQvY4016.js"),b=require("./_store/Textarea-chunk-B13VaFl6.js"),L=require("./_store/Callout-chunk-CQirdJVX.js"),T=require("./_store/Credit-chunk-Dts5RkwZ.js"),P=require("./_store/FileUpload-chunk-BhGfPLEt.js"),p=require("./_store/Heading-chunk-BJAywWmF.js"),F=require("./_store/Link-chunk-BfaKuVjz.js"),m=require("./_store/NumberPicker-chunk-CjEYQYj0.js"),x=require("./_store/RichText-chunk-ZamwF4QL.js"),k=require("./_store/Tooltip-chunk-Ca67o441.js"),v=require("./_store/Checkbox-chunk-CfN7137m.js"),f=require("./_store/DatePicker-chunk-7_96tPkC.js"),D=require("./_store/Hero-chunk-CBIMDQWO.js"),N=require("./_store/HeroCard-chunk-Cdyuf9Gw.js"),S=require("./_store/LinkList-chunk-Eu43ZSAZ.js"),h=require("./_store/Pagination-chunk-4zp3hOFL.js"),G=require("./_store/SearchField-chunk-uIkdwz2L.js"),H=require("./_store/Video-chunk-BIJvoxjg.js"),M=require("./_store/Dropdown-chunk-Bn-MFT6c.js"),R=require("./_store/Icon-chunk-Dej6jVSI.js"),B=require("./_store/List-entry-DzqbzyL4.js"),I=require("./_store/Profile-chunk-D1tXXPUO.js"),y=require("./_store/TableOfContents-chunk-DcLMEr2i.js"),O=require("./_store/Footer-chunk-6AdazgST.js"),w=require("./_store/LocalNav-entry-SfLDP8BS.js"),E=require("./_store/Navigation-entry-C6dI5Dpf.js"),e=require("./_store/CardGroup-chunk-D3sPRsTS.js"),U=require("./_store/Breadcrumb-chunk-BGt10GMr.js"),V=require("./_store/Tabs-chunk-C2PIPQgI.js"),$=require("./_store/LanguageToggle-chunk-DsJntngZ.js"),A=require("./_store/useGlobalSettings-chunk-Pa38w6VS.js"),j=require("./_store/usePrevious-chunk-DENrwKF1.js");exports.Accordion=r.Accordion;exports.Form=o.Form;exports.Collapse=i.Collapse;exports.Empty=t.Empty;exports.Image=a.Image;exports.Loading=n.Loading;exports.Radio=u.LabelledRadio;exports.Tag=c.Tag;exports.Button=s.Button;exports.ContextMenu=d.ContextMenu;exports.Fieldset=l.Fieldset;exports.GlobalProvider=q.GlobalProvider;exports.Notification=C.Notification;exports.ReadMore=g.ReadMore;exports.Textarea=b.LabelledTextarea;exports.Callout=L.Callout;exports.Credit=T.Credit;exports.FileUpload=P.LabelledFileUpload;exports.Heading=p.Heading;exports.Link=F.Link;exports.NumberPicker=m.LabelledNumberPicker;exports.RichText=x.RichText;exports.Tooltip=k.Tooltip;exports.Checkbox=v.LabelledCheckbox;exports.DatePicker=f.LabelledDatePicker;exports.Hero=D.Hero;exports.HeroCard=N.HeroCard;exports.LinkList=S.LinkList;exports.Pagination=h.Pagination;exports.SearchField=G.SearchField;exports.Video=H.Video;exports.Dropdown=M.LabelledDropdown;exports.Icon=R.Icon;exports.List=B.List;exports.Profile=I.Profile;exports.TableOfContents=y.TableOfContents;exports.Footer=O.Footer;exports.LocalNav=w.LocalNav;exports.Navigation=E.Navigation;exports.CardGroup=e.CardGroup;exports.DataCard=e.DataCard;exports.DetailCard=e.DetailCard;exports.FactListCard=e.FactListCard;exports.FeatureCard=e.FeatureCard;exports.MultiLinkCard=e.MultiLinkCard;exports.PromoCard=e.PromoCard;exports.StatCard=e.StatCard;exports.TextCard=e.TextCard;exports.Breadcrumb=U.Breadcrumb;exports.Tabs=V.Tabs;exports.LanguageToggle=$.LanguageToggle;exports.useGlobalSettings=A.useGlobalSettings;exports.usePrevious=j.usePrevious;
@@ -0,0 +1,85 @@
1
+ import { jsx as n, jsxs as h } from "react/jsx-runtime";
2
+ import { createContext as _, forwardRef as x, useState as w, useCallback as g, useContext as v } from "react";
3
+ import { u as b } from "./useGlobalSettings-chunk-gkijV3S1.js";
4
+ import { c as p } from "./index-chunk-0LeqwHm8.js";
5
+ const N = _(
6
+ void 0
7
+ ), j = x(
8
+ ({
9
+ size: o = "small",
10
+ scrollable: u = !1,
11
+ multiple: i = !0,
12
+ value: f,
13
+ onChange: s,
14
+ children: e,
15
+ className: a
16
+ }, r) => {
17
+ const { prefix: t } = b(), [l, d] = w(
18
+ f || i ? [] : ""
19
+ ), c = g(
20
+ (m) => {
21
+ s ? s(m) : d(m);
22
+ },
23
+ [s, d]
24
+ );
25
+ return /* @__PURE__ */ n(
26
+ N.Provider,
27
+ {
28
+ value: { size: o, multiple: i, scrollable: u, value: l, onChange: c },
29
+ children: /* @__PURE__ */ n("ul", { ref: r, className: p(`${t}--accordion`, a), children: e })
30
+ }
31
+ );
32
+ }
33
+ ), k = x(
34
+ ({ value: o, children: u, label: i, className: f }, s) => {
35
+ const { prefix: e } = b(), a = v(N);
36
+ if (!a)
37
+ throw new Error("AccordionItem must be used within an Accordion");
38
+ const { value: r, onChange: t, multiple: l, scrollable: d } = a, c = l ? r.includes(o) : r === o;
39
+ function m() {
40
+ if (l) {
41
+ const $ = r, C = c ? $.filter((A) => A !== o) : [...$, o];
42
+ t(C);
43
+ } else
44
+ t(c ? "" : o);
45
+ }
46
+ return /* @__PURE__ */ h(
47
+ "li",
48
+ {
49
+ ref: s,
50
+ className: p(`${e}--accordion-item`, f),
51
+ children: [
52
+ /* @__PURE__ */ n("div", { className: `${e}--h3` }),
53
+ /* @__PURE__ */ h(
54
+ "button",
55
+ {
56
+ onClick: m,
57
+ className: `${e}--accordion--button ${e}--accordion--button__${a.size}`,
58
+ "aria-expanded": c,
59
+ "aria-controls": o,
60
+ children: [
61
+ /* @__PURE__ */ n("span", { className: `${e}--accordion--label`, children: i }),
62
+ /* @__PURE__ */ n("span", { className: `${e}--accordion--icon` })
63
+ ]
64
+ }
65
+ ),
66
+ /* @__PURE__ */ n(
67
+ "div",
68
+ {
69
+ className: p(`${e}--accordion--panel`, {
70
+ [`${e}--accordion--panel__open`]: c,
71
+ [`${e}--accordion--panel__scroll`]: d
72
+ }),
73
+ role: "region",
74
+ "aria-hidden": !c,
75
+ children: /* @__PURE__ */ n("div", { className: `${e}--accordion--innerpanel`, children: u })
76
+ }
77
+ )
78
+ ]
79
+ }
80
+ );
81
+ }
82
+ ), E = Object.assign(j, { Item: k });
83
+ export {
84
+ E as Accordion
85
+ };
@@ -0,0 +1,15 @@
1
+ import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
+ import { forwardRef as i } from "react";
3
+ import { u as l } from "./useGlobalSettings-chunk-gkijV3S1.js";
4
+ const p = i(
5
+ ({ quote: r, cite: e }, t) => {
6
+ const { prefix: c } = l();
7
+ return /* @__PURE__ */ s("blockquote", { ref: t, className: `${c}--blockquote`, children: [
8
+ /* @__PURE__ */ o("p", { children: r }),
9
+ /* @__PURE__ */ o("cite", { children: e })
10
+ ] });
11
+ }
12
+ );
13
+ export {
14
+ p as Blockquote
15
+ };
@@ -0,0 +1,121 @@
1
+ import { jsx as r, jsxs as x } from "react/jsx-runtime";
2
+ import { forwardRef as y, useId as L, useState as _, useRef as d, useLayoutEffect as C } from "react";
3
+ import { c as m } from "./index-chunk-0LeqwHm8.js";
4
+ import { u as E } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ import { C as j } from "./ContextMenu-chunk-Zy9igFLz.js";
6
+ const R = y(
7
+ ({ url: b, label: c, className: f, first: o }, e) => {
8
+ const { prefix: n } = E();
9
+ return /* @__PURE__ */ r(
10
+ "li",
11
+ {
12
+ className: m({
13
+ [`${n}--breadcrumb--item`]: !0,
14
+ [`${n}--breadcrumb--item__first`]: o,
15
+ className: f
16
+ }),
17
+ ref: e,
18
+ children: /* @__PURE__ */ r(
19
+ "a",
20
+ {
21
+ className: `${n}--breadcrumb--link`,
22
+ href: b,
23
+ "aria-label": c,
24
+ children: !o && /* @__PURE__ */ r("span", { className: `${n}--breadcrumb--link--label`, children: c })
25
+ }
26
+ )
27
+ }
28
+ );
29
+ }
30
+ ), z = y(
31
+ ({ className: b, links: c, buttonLabel: f }, o) => {
32
+ const { prefix: e } = E(), n = L(), [a, g] = _(!1), [I, O] = _(!1), w = d(0), u = d(null), s = d(null), N = d(null);
33
+ if (C(() => {
34
+ w.current = N.current.offsetWidth;
35
+ }, []), C(() => {
36
+ function t(l) {
37
+ u.current && s.current && !u.current.contains(l.target) && !s.current.contains(l.target) && g(!1);
38
+ }
39
+ const $ = new ResizeObserver((l) => {
40
+ const p = l.at(0), i = w.current >= p.contentRect.width / 1.5;
41
+ O((M) => M !== i ? i : M);
42
+ });
43
+ return document.addEventListener("mousedown", t), $.observe(document.body), () => {
44
+ document.removeEventListener("mousedown", t), $.disconnect();
45
+ };
46
+ }, [n, e]), C(() => {
47
+ if (!(!u.current || !s.current) && a) {
48
+ const t = u.current.getBoundingClientRect(), l = s.current.firstChild.getBoundingClientRect(), p = t.left + t.width / 2 - l.width / 2 - 5, i = t.bottom + 16;
49
+ s.current.style.left = `${p}px`, s.current.style.top = `${i}px`;
50
+ }
51
+ }, [a]), c.length < 2)
52
+ throw new Error(
53
+ `Breadcrumb component requires at least two links, but received ${c.length}`
54
+ );
55
+ const v = c.at(0), h = c.slice(1, -1), B = c.at(-1);
56
+ return /* @__PURE__ */ x("nav", { className: m(`${e}--breadcrumb`, b), ref: o, children: [
57
+ /* @__PURE__ */ r("div", { className: `${e}--breadcrumb--inner`, children: /* @__PURE__ */ x(
58
+ "ol",
59
+ {
60
+ className: `${e}--breadcrumb--items`,
61
+ id: `${e}--breadcrumb--items-${n}`,
62
+ ref: N,
63
+ children: [
64
+ /* @__PURE__ */ r(
65
+ R,
66
+ {
67
+ first: !0,
68
+ url: v.url,
69
+ label: v.label
70
+ }
71
+ ),
72
+ h.length > 0 && /* @__PURE__ */ x(
73
+ "li",
74
+ {
75
+ className: m(`${e}--breadcrumb--context`, {
76
+ [`${e}--breadcrumb--context__collapse`]: I
77
+ }),
78
+ children: [
79
+ /* @__PURE__ */ r("ol", { className: `${e}--breadcrumb--items`, children: h.map((t) => /* @__PURE__ */ r(
80
+ R,
81
+ {
82
+ url: t.url,
83
+ label: t.label
84
+ },
85
+ `${t.label}-${t.url}`
86
+ )) }),
87
+ /* @__PURE__ */ r(
88
+ "button",
89
+ {
90
+ onClick: () => g(!a),
91
+ "aria-label": f,
92
+ "aria-expanded": a,
93
+ "aria-controls": `${e}--breadcrumb--menu-${n}`,
94
+ className: `${e}--breadcrumb--context--button`,
95
+ ref: u
96
+ }
97
+ )
98
+ ]
99
+ }
100
+ ),
101
+ /* @__PURE__ */ r(R, { url: B.url, label: B.label })
102
+ ]
103
+ }
104
+ ) }),
105
+ /* @__PURE__ */ r(
106
+ "div",
107
+ {
108
+ className: m(`${e}--breadcrumb--context--menu`, {
109
+ [`${e}--breadcrumb--context--menu__visible`]: a
110
+ }),
111
+ id: `${e}--breadcrumb--menu-${n}`,
112
+ ref: s,
113
+ children: /* @__PURE__ */ r(j, { links: h })
114
+ }
115
+ )
116
+ ] });
117
+ }
118
+ );
119
+ export {
120
+ z as B
121
+ };
@@ -0,0 +1,4 @@
1
+ import { B as e } from "./Breadcrumb-chunk-DcsXzPvT.js";
2
+ export {
3
+ e as Breadcrumb
4
+ };
@@ -0,0 +1,60 @@
1
+ import { jsxs as f, jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as g } from "react";
3
+ import { c as x } from "./index-chunk-0LeqwHm8.js";
4
+ import { u as c } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ import { L as h } from "./Link-chunk-CKAMN_c4.js";
6
+ import { I as p } from "./Icon-chunk-BE5t6PqR.js";
7
+ const L = g(
8
+ ({
9
+ children: e,
10
+ className: $,
11
+ disabled: b = !1,
12
+ icon: t,
13
+ size: o = "large",
14
+ type: m = "primary",
15
+ style: l,
16
+ name: _,
17
+ link: r,
18
+ ...d
19
+ }, n) => {
20
+ const { prefix: i } = c(), a = `${i}--button`, u = x($, {
21
+ [a]: !0,
22
+ [`${a}__${o}`]: o,
23
+ [`${a}__${m}`]: m,
24
+ [`${a}--icon ${a}--icon--position__${(t == null ? void 0 : t.position) || "left"}`]: t && !t.only,
25
+ [`${a}--icon ${a}--icon--only`]: t && t.only
26
+ });
27
+ return r ? /* @__PURE__ */ f(
28
+ h,
29
+ {
30
+ ref: n,
31
+ className: u,
32
+ target: r.target,
33
+ url: r.url,
34
+ label: r.label,
35
+ style: l,
36
+ children: [
37
+ t && /* @__PURE__ */ s(p, { name: t.name, hidden: !0 }),
38
+ e
39
+ ]
40
+ }
41
+ ) : /* @__PURE__ */ f(
42
+ "button",
43
+ {
44
+ ref: n,
45
+ className: u,
46
+ disabled: b,
47
+ style: l,
48
+ name: _,
49
+ ...d,
50
+ children: [
51
+ /* @__PURE__ */ s("span", { className: "button__label", children: e }),
52
+ t && /* @__PURE__ */ s(p, { name: t.name, hidden: !0 })
53
+ ]
54
+ }
55
+ );
56
+ }
57
+ );
58
+ export {
59
+ L as B
60
+ };
@@ -0,0 +1,4 @@
1
+ import { B as r } from "./Button-chunk-BlSnS8yQ.js";
2
+ export {
3
+ r as Button
4
+ };