@ilo-org/react 0.18.4 → 0.19.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 (224) hide show
  1. package/lib/cjs/_store/Accordion-entry-C81QOLKD.js +1 -0
  2. package/lib/cjs/_store/Breadcrumb-chunk-BGt10GMr.js +1 -0
  3. package/lib/cjs/_store/{Breadcrumb-entry-NNucl1rR.js → Breadcrumb-entry-BcWOPogy.js} +1 -1
  4. package/lib/cjs/_store/{Button-chunk-yGkEAzI3.js → Button-chunk-7QGSjiJL.js} +1 -1
  5. package/lib/cjs/_store/{Button-entry-CFKrMKO7.js → Button-entry-B74K2XLp.js} +1 -1
  6. package/lib/cjs/_store/{Callout-chunk-5KDr9zD6.js → Callout-chunk-DI_rZPkx.js} +1 -1
  7. package/lib/cjs/_store/{Callout-entry-vBBI312g.js → Callout-entry-GC_lYwL3.js} +1 -1
  8. package/lib/cjs/_store/{CardGroup-chunk-BCIYNW1W.js → CardGroup-chunk-CrzLMpzZ.js} +1 -1
  9. package/lib/cjs/_store/{Checkbox-chunk-B7P6WeNp.js → Checkbox-chunk-CfN7137m.js} +1 -1
  10. package/lib/cjs/_store/{Checkbox-entry-Cpcx9EKD.js → Checkbox-entry-CLjOEGyj.js} +1 -1
  11. package/lib/cjs/_store/ContextMenu-chunk-Ch5u_T0d.js +1 -0
  12. package/lib/cjs/_store/{ContextMenu-entry-TCdyzIRt.js → ContextMenu-entry-UwZc4yU3.js} +1 -1
  13. package/lib/cjs/_store/{DatePicker-chunk-DMvnrakE.js → DatePicker-chunk-7_96tPkC.js} +1 -1
  14. package/lib/cjs/_store/{DatePicker-entry-CweKIj3U.js → DatePicker-entry-P07fWcN3.js} +1 -1
  15. package/lib/cjs/_store/{Dropdown-chunk--_pVhTcV.js → Dropdown-chunk-Bn-MFT6c.js} +1 -1
  16. package/lib/cjs/_store/{Dropdown-entry-BcBG6Zg7.js → Dropdown-entry-BBiYoQa0.js} +1 -1
  17. package/lib/cjs/_store/{Fieldset-chunk-BsOPbe_a.js → Fieldset-chunk-C3itoJam.js} +1 -1
  18. package/lib/cjs/_store/{Fieldset-entry-BUyKAdkn.js → Fieldset-entry-DyHl-Q8i.js} +1 -1
  19. package/lib/cjs/_store/{FileUpload-chunk-CmHP-E54.js → FileUpload-chunk-BhGfPLEt.js} +1 -1
  20. package/lib/cjs/_store/{FileUpload-entry-DKzm4WvO.js → FileUpload-entry-BdKRo1oJ.js} +1 -1
  21. package/lib/cjs/_store/{Footer-chunk-BVLm3gIW.js → Footer-chunk-DK416bgz.js} +1 -1
  22. package/lib/cjs/_store/{Footer-entry-gbueRcx6.js → Footer-entry-CI7x98xM.js} +1 -1
  23. package/lib/cjs/_store/{FormControl-chunk-08fp5TeU.js → FormControl-chunk-CxP6djqq.js} +1 -1
  24. package/lib/cjs/_store/{FormControl-entry-DN7TYc37.js → FormControl-entry-BgMV944-.js} +1 -1
  25. package/lib/cjs/_store/Hero-chunk-DiUWCO_D.js +1 -0
  26. package/lib/cjs/_store/Hero-entry-AK8D7qYH.js +1 -0
  27. package/lib/cjs/_store/HeroCard-chunk-CCNjdbBJ.js +1 -0
  28. package/lib/cjs/_store/HeroCard-entry-BGUHZKKh.js +1 -0
  29. package/lib/cjs/_store/Icon-chunk-BiF41wYy.js +1 -0
  30. package/lib/cjs/_store/{Icon-entry-Bk5k6jbS.js → Icon-entry-8e8qxrkm.js} +1 -1
  31. package/lib/cjs/_store/Image-chunk-lJKSkHDC.js +1 -0
  32. package/lib/cjs/_store/{Image-entry-DpxKHlQg.js → Image-entry-BoUSe5WL.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/LocalNav-entry-SfLDP8BS.js +1 -0
  36. package/lib/cjs/_store/Logo-entry-Dit3r-4I.js +1 -0
  37. package/lib/cjs/_store/Navigation-entry-C6dI5Dpf.js +1 -0
  38. package/lib/cjs/_store/{Notification-chunk-CdXNLoc4.js → Notification-chunk-BudHdd0h.js} +1 -1
  39. package/lib/cjs/_store/{Notification-entry-xJwdmUff.js → Notification-entry-CRW1397K.js} +1 -1
  40. package/lib/cjs/_store/{NumberPicker-chunk-CaQYVhyz.js → NumberPicker-chunk-CjEYQYj0.js} +1 -1
  41. package/lib/cjs/_store/{NumberPicker-entry-BEqwzCKS.js → NumberPicker-entry-DQGcCMGe.js} +1 -1
  42. package/lib/cjs/_store/{Radio-chunk-EK2nKEND.js → Radio-chunk-LFOxcvur.js} +1 -1
  43. package/lib/cjs/_store/{Radio-entry-M4dL4mjL.js → Radio-entry-BmJSr7Sk.js} +1 -1
  44. package/lib/cjs/_store/{SearchField-chunk-B1dvh9Ra.js → SearchField-chunk-BkrZKT5S.js} +1 -1
  45. package/lib/cjs/_store/{SearchField-entry-6JDMx3qT.js → SearchField-entry-DoVeY_de.js} +1 -1
  46. package/lib/cjs/_store/SocialMedia-chunk-jDoYRhrm.js +1 -0
  47. package/lib/cjs/_store/SocialMedia-entry-tsTF-Jtj.js +1 -0
  48. package/lib/cjs/_store/{Tabs-chunk-CvNhDGjJ.js → Tabs-chunk-CnXjQYpB.js} +1 -1
  49. package/lib/cjs/_store/{Tabs-entry-BYCRe16t.js → Tabs-entry-BRmJxjI6.js} +1 -1
  50. package/lib/cjs/_store/Tag-chunk-B-UjKiml.js +1 -0
  51. package/lib/cjs/_store/Tag-entry-Dv_p5zCg.js +1 -0
  52. package/lib/cjs/_store/{TextInput-entry-Bl0sZdpl.js → TextInput-entry-BOVt2TDi.js} +1 -1
  53. package/lib/cjs/_store/{Textarea-chunk-3fPk9MqI.js → Textarea-chunk-B13VaFl6.js} +1 -1
  54. package/lib/cjs/_store/{Textarea-entry-Ac7gdvET.js → Textarea-entry-Byp4EYD1.js} +1 -1
  55. package/lib/cjs/_store/{Toggle-entry-s05NRKOs.js → Toggle-entry-BZ_sk4pV.js} +1 -1
  56. package/lib/cjs/_store/Tooltip-chunk-Ca67o441.js +1 -0
  57. package/lib/cjs/_store/{Tooltip-entry--csXZiQZ.js → Tooltip-entry-BlOyvu7-.js} +1 -1
  58. package/lib/cjs/_store/components-entry-CDxRih4j.js +1 -0
  59. package/lib/cjs/index.js +1 -1
  60. package/lib/esm/_store/Accordion-entry-B-0bgUhR.js +85 -0
  61. package/lib/esm/_store/Breadcrumb-chunk-DcsXzPvT.js +121 -0
  62. package/lib/esm/_store/Breadcrumb-entry-B7kN28qm.js +4 -0
  63. package/lib/esm/_store/{Button-chunk-D3gTmmqF.js → Button-chunk-CTOnaHZ_.js} +1 -1
  64. package/lib/esm/_store/{Button-entry-BTrJYspO.js → Button-entry-DRu9gUR5.js} +1 -1
  65. package/lib/esm/_store/{Callout-chunk-CQS0gd8t.js → Callout-chunk-CsEfqAuS.js} +1 -1
  66. package/lib/esm/_store/{Callout-entry-BP20dlG4.js → Callout-entry-sXFzYEzc.js} +1 -1
  67. package/lib/esm/_store/{CardGroup-chunk-BzPahXVe.js → CardGroup-chunk-0V0yYua2.js} +1 -1
  68. package/lib/esm/_store/{Checkbox-chunk-DJDgykAw.js → Checkbox-chunk-CdjFGjiG.js} +2 -2
  69. package/lib/esm/_store/{Checkbox-entry-CfjxZKrK.js → Checkbox-entry-4xxjRXFu.js} +1 -1
  70. package/lib/esm/_store/ContextMenu-chunk-Zy9igFLz.js +30 -0
  71. package/lib/esm/_store/ContextMenu-entry-C_rAD9kF.js +4 -0
  72. package/lib/esm/_store/{DatePicker-chunk-10fIc74h.js → DatePicker-chunk-BoTriI-e.js} +1 -1
  73. package/lib/esm/_store/DatePicker-entry-B5aB0CYY.js +4 -0
  74. package/lib/esm/_store/{Dropdown-chunk-B6G7DnYr.js → Dropdown-chunk-DxXjnNBq.js} +1 -1
  75. package/lib/esm/_store/Dropdown-entry-CdssOqL2.js +4 -0
  76. package/lib/esm/_store/{Fieldset-chunk-PK4HqNv_.js → Fieldset-chunk-udvv8dML.js} +1 -1
  77. package/lib/esm/_store/Fieldset-entry--0tR2-K1.js +4 -0
  78. package/lib/esm/_store/{FileUpload-chunk-dFon8lP2.js → FileUpload-chunk-Cdl4F5zH.js} +1 -1
  79. package/lib/esm/_store/FileUpload-entry-B0SbE0sW.js +4 -0
  80. package/lib/esm/_store/{Footer-chunk-BsI1B7K-.js → Footer-chunk-Cfulou_M.js} +2 -2
  81. package/lib/esm/_store/Footer-entry-xjy-auY5.js +4 -0
  82. package/lib/esm/_store/{FormControl-chunk-D_3t65GG.js → FormControl-chunk-C2LR6MBZ.js} +1 -1
  83. package/lib/esm/_store/FormControl-entry-Dy_NPcKM.js +4 -0
  84. package/lib/esm/_store/Hero-chunk-swloBIGl.js +67 -0
  85. package/lib/esm/_store/Hero-entry-DxQnc1Ze.js +4 -0
  86. package/lib/esm/_store/HeroCard-chunk-fz3EIUiE.js +47 -0
  87. package/lib/esm/_store/HeroCard-entry-Cp6p3FnU.js +4 -0
  88. package/lib/esm/_store/{Icon-chunk-SeRwWcV9.js → Icon-chunk-nLD8VsP5.js} +914 -915
  89. package/lib/esm/_store/Icon-entry-CCd9MEER.js +4 -0
  90. package/lib/esm/_store/Image-chunk-DGh-6cxv.js +33 -0
  91. package/lib/esm/_store/Image-entry-BIEmEw0G.js +4 -0
  92. package/lib/esm/_store/{Input-chunk-p-3N8OO4.js → Input-chunk-DT_YEVSQ.js} +1 -1
  93. package/lib/esm/_store/Input-entry-Dt6Qaxj6.js +4 -0
  94. package/lib/esm/_store/LocalNav-entry-DydB3k67.js +4 -0
  95. package/lib/esm/_store/{Logo-chunk-CsxA3mRV.js → Logo-entry-sjwkMeb-.js} +19 -19
  96. package/lib/esm/_store/Navigation-entry-BLC2KoMs.js +4 -0
  97. package/lib/esm/_store/{Notification-chunk-CTgFDa_7.js → Notification-chunk-VfaNI3r9.js} +1 -1
  98. package/lib/esm/_store/Notification-entry-BIQsCmF2.js +4 -0
  99. package/lib/esm/_store/{NumberPicker-chunk-CsDLNdop.js → NumberPicker-chunk-Z_TIIuxb.js} +1 -1
  100. package/lib/esm/_store/NumberPicker-entry-BaKtr4-S.js +4 -0
  101. package/lib/esm/_store/{Radio-chunk-CZnGQoYJ.js → Radio-chunk-DDMoE7Le.js} +2 -2
  102. package/lib/esm/_store/{Radio-entry-DhmJk5Et.js → Radio-entry-BzlGsY14.js} +1 -1
  103. package/lib/esm/_store/{SearchField-chunk-CZCT1mJ4.js → SearchField-chunk-DfXCHmW0.js} +2 -2
  104. package/lib/esm/_store/SearchField-entry-qYGaidSz.js +4 -0
  105. package/lib/esm/_store/SocialMedia-chunk-B0IPGaVf.js +62 -0
  106. package/lib/esm/_store/SocialMedia-entry-Dq52Wl-z.js +4 -0
  107. package/lib/esm/_store/{Tabs-chunk-tzegLak-.js → Tabs-chunk-CpUcNAK9.js} +1 -1
  108. package/lib/esm/_store/Tabs-entry-BARAHSrA.js +4 -0
  109. package/lib/esm/_store/Tag-chunk-6_6Oh_I3.js +68 -0
  110. package/lib/esm/_store/Tag-entry-B40IGpPj.js +48 -0
  111. package/lib/esm/_store/{TextInput-entry-BTZVvumC.js → TextInput-entry-DIPdoofw.js} +1 -1
  112. package/lib/esm/_store/{Textarea-chunk-BCW6ZV8n.js → Textarea-chunk-ClZt7jmS.js} +1 -1
  113. package/lib/esm/_store/{Textarea-entry-CFe0s_hM.js → Textarea-entry-BvVP8AXU.js} +1 -1
  114. package/lib/esm/_store/{Toggle-entry-CehJKItc.js → Toggle-entry-q2VLr4yf.js} +1 -1
  115. package/lib/esm/_store/{Tooltip-chunk-CPT-dPDc.js → Tooltip-chunk-EJOnwIYn.js} +362 -363
  116. package/lib/esm/_store/Tooltip-entry-Dz5aVKCZ.js +4 -0
  117. package/lib/esm/_store/components-entry-BW50D0h0.js +86 -0
  118. package/lib/esm/index.js +79 -80
  119. package/lib/styles/components/breadcrumb.css +1 -1
  120. package/lib/styles/components/factlistcard.css +1 -1
  121. package/lib/styles/components/link.css +1 -1
  122. package/lib/styles/components/list.css +1 -1
  123. package/lib/styles/components/promocard.css +1 -1
  124. package/lib/styles/components/richtext.css +1 -1
  125. package/lib/styles/components/table.css +1 -1
  126. package/lib/styles/components/tabs.css +1 -1
  127. package/lib/styles/global.css.map +1 -1
  128. package/lib/styles/index.css +2 -2
  129. package/lib/styles/index.css.map +1 -1
  130. package/lib/styles/monorepo.css +2 -2
  131. package/lib/styles/monorepo.css.map +1 -1
  132. package/lib/types/components/Accordion/Accordion.d.ts +35 -4
  133. package/lib/types/components/Accordion/AccordionItem.d.ts +15 -4
  134. package/lib/types/components/Accordion/index.d.ts +4 -4
  135. package/lib/types/components/Breadcrumb/Breadcrumb.d.ts +17 -4
  136. package/lib/types/components/Breadcrumb/BreadcrumbItem.d.ts +20 -0
  137. package/lib/types/components/Breadcrumb/index.d.ts +1 -1
  138. package/lib/types/components/Cards/CardGroup/CardGroup.props.d.ts +1 -0
  139. package/lib/types/components/Collapse/Collapse.d.ts +1 -1
  140. package/lib/types/components/ContextMenu/ContextMenu.d.ts +27 -5
  141. package/lib/types/components/ContextMenu/index.d.ts +1 -1
  142. package/lib/types/components/Hero/Hero.d.ts +53 -4
  143. package/lib/types/components/Hero/index.d.ts +1 -2
  144. package/lib/types/components/{Hero/HeroCard.props.d.ts → HeroCard/HeroCard.d.ts} +4 -2
  145. package/lib/types/components/HeroCard/HeroCardTitle.d.ts +8 -0
  146. package/lib/types/components/HeroCard/index.d.ts +1 -0
  147. package/lib/types/components/Image/Image.props.d.ts +1 -2
  148. package/lib/types/components/LocalNav/LocalNav.props.d.ts +0 -10
  149. package/lib/types/components/Navigation/Navigation.props.d.ts +0 -13
  150. package/lib/types/components/SocialMedia/SocialMedia.d.ts +44 -3
  151. package/lib/types/components/SocialMedia/index.d.ts +1 -3
  152. package/lib/types/components/Tooltip/Tooltip.d.ts +34 -4
  153. package/lib/types/components/Tooltip/index.d.ts +1 -1
  154. package/lib/types/components/index.d.ts +2 -1
  155. package/lib/types/utils/createChainedFunction.d.ts +1 -1
  156. package/package.json +2 -3
  157. package/lib/cjs/_store/Accordion-chunk-Dj1LluWV.js +0 -1
  158. package/lib/cjs/_store/Accordion-entry-BNfPKFuj.js +0 -1
  159. package/lib/cjs/_store/Breadcrumb-chunk-DvUpVY4l.js +0 -1
  160. package/lib/cjs/_store/ContextMenu-chunk-BegVo-Ry.js +0 -1
  161. package/lib/cjs/_store/Hero-chunk-BmAL9GMT.js +0 -1
  162. package/lib/cjs/_store/Hero-entry-6U1647te.js +0 -1
  163. package/lib/cjs/_store/Icon-chunk-BuN3LIv8.js +0 -1
  164. package/lib/cjs/_store/Image-chunk-jaj_JISB.js +0 -1
  165. package/lib/cjs/_store/LocalNav-chunk-TRLUir71.js +0 -1
  166. package/lib/cjs/_store/LocalNav-entry-BHboaRc5.js +0 -1
  167. package/lib/cjs/_store/Logo-chunk-Bz8Vfcn7.js +0 -1
  168. package/lib/cjs/_store/Logo-entry-C8ZmQs8R.js +0 -1
  169. package/lib/cjs/_store/Navigation-chunk-Cd2_nKBa.js +0 -1
  170. package/lib/cjs/_store/Navigation-entry-D2GGdiL3.js +0 -1
  171. package/lib/cjs/_store/SocialMedia-chunk-DrxlykT6.js +0 -1
  172. package/lib/cjs/_store/SocialMedia-entry-BQyxJpTO.js +0 -1
  173. package/lib/cjs/_store/Tag-chunk-D7MU0DS1.js +0 -1
  174. package/lib/cjs/_store/Tag-entry-j9LvFNEy.js +0 -1
  175. package/lib/cjs/_store/Tooltip-chunk-Bh77DbOg.js +0 -1
  176. package/lib/cjs/_store/checkArrayDuplicates-chunk-Bqxwhc1q.js +0 -1
  177. package/lib/cjs/_store/components-entry-C1UgcdWx.js +0 -1
  178. package/lib/esm/_store/Accordion-chunk-BawBOKZz.js +0 -113
  179. package/lib/esm/_store/Accordion-entry-C8JFNFFn.js +0 -7
  180. package/lib/esm/_store/Breadcrumb-chunk-CclNRjxd.js +0 -132
  181. package/lib/esm/_store/Breadcrumb-entry-Biundzlp.js +0 -4
  182. package/lib/esm/_store/ContextMenu-chunk-CkdC2iPF.js +0 -22
  183. package/lib/esm/_store/ContextMenu-entry-BkbaSgVR.js +0 -4
  184. package/lib/esm/_store/DatePicker-entry-Bu0S1bvg.js +0 -4
  185. package/lib/esm/_store/Dropdown-entry-CRDxMRpe.js +0 -4
  186. package/lib/esm/_store/Fieldset-entry-BmiHpIGy.js +0 -4
  187. package/lib/esm/_store/FileUpload-entry-uIvvAStY.js +0 -4
  188. package/lib/esm/_store/Footer-entry-D5I2UfE7.js +0 -4
  189. package/lib/esm/_store/FormControl-entry-DODa4uyx.js +0 -4
  190. package/lib/esm/_store/Hero-chunk-AgDdKsJ4.js +0 -76
  191. package/lib/esm/_store/Hero-entry-CcnVmzHx.js +0 -5
  192. package/lib/esm/_store/Icon-entry-DVmHvnYh.js +0 -4
  193. package/lib/esm/_store/Image-chunk-C4zF97rw.js +0 -35
  194. package/lib/esm/_store/Image-entry-DaqK9C99.js +0 -4
  195. package/lib/esm/_store/Input-entry-DG2Mv1K2.js +0 -4
  196. package/lib/esm/_store/LocalNav-chunk-BTJAs9kb.js +0 -207
  197. package/lib/esm/_store/LocalNav-entry-CYlCB-lD.js +0 -4
  198. package/lib/esm/_store/Logo-entry-3NNSpfQ9.js +0 -4
  199. package/lib/esm/_store/Navigation-chunk-DOX-uYIu.js +0 -221
  200. package/lib/esm/_store/Navigation-entry-h17tpQEV.js +0 -4
  201. package/lib/esm/_store/Notification-entry-DscPkMfo.js +0 -4
  202. package/lib/esm/_store/NumberPicker-entry-BuxrmdUS.js +0 -4
  203. package/lib/esm/_store/SearchField-entry-D8GdI4NP.js +0 -4
  204. package/lib/esm/_store/SocialMedia-chunk-DdOAr_Gj.js +0 -32
  205. package/lib/esm/_store/SocialMedia-entry-BllaQbO-.js +0 -54
  206. package/lib/esm/_store/Tabs-entry-KkVJWKrD.js +0 -4
  207. package/lib/esm/_store/Tag-chunk-CKCrKm54.js +0 -65
  208. package/lib/esm/_store/Tag-entry-DtON5ly2.js +0 -45
  209. package/lib/esm/_store/Tooltip-entry-cgQr1mHa.js +0 -4
  210. package/lib/esm/_store/checkArrayDuplicates-chunk-C7cf0TQw.js +0 -11
  211. package/lib/esm/_store/components-entry-OJluWOaZ.js +0 -87
  212. package/lib/types/components/Accordion/Accordion.props.d.ts +0 -34
  213. package/lib/types/components/Accordion/AccordionButton.d.ts +0 -5
  214. package/lib/types/components/Accordion/AccordionButton.props.d.ts +0 -12
  215. package/lib/types/components/Accordion/AccordionCtx.d.ts +0 -5
  216. package/lib/types/components/Accordion/AccordionItem.props.d.ts +0 -22
  217. package/lib/types/components/Accordion/AccordionPanel.d.ts +0 -5
  218. package/lib/types/components/Accordion/AccordionPanel.props.d.ts +0 -22
  219. package/lib/types/components/Breadcrumb/Breadcrumb.props.d.ts +0 -32
  220. package/lib/types/components/ContextMenu/ContextMenu.props.d.ts +0 -24
  221. package/lib/types/components/Hero/Hero.props.d.ts +0 -52
  222. package/lib/types/components/Hero/HeroCard.d.ts +0 -5
  223. package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +0 -42
  224. package/lib/types/components/Tooltip/Tooltip.props.d.ts +0 -33
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),o=require("react"),h=require("./useGlobalSettings-chunk-Pa38w6VS.js"),f=require("./index-chunk-DCI82Tmm.js"),j=o.createContext(void 0),N=o.forwardRef(({size:n="small",scrollable:x=!1,multiple:r=!0,value:b,onChange:a,children:e,className:t},i)=>{const{prefix:l}=h.useGlobalSettings(),[d,u]=o.useState(b||r?[]:""),s=o.useCallback(m=>{a?a(m):u(m)},[a,u]);return c.jsx(j.Provider,{value:{size:n,multiple:r,scrollable:x,value:d,onChange:s},children:c.jsx("ul",{ref:i,className:f.classnames(`${l}--accordion`,t),children:e})})}),A=o.forwardRef(({value:n,children:x,label:r,className:b},a)=>{const{prefix:e}=h.useGlobalSettings(),t=o.useContext(j);if(!t)throw new Error("AccordionItem must be used within an Accordion");const{value:i,onChange:l,multiple:d,scrollable:u}=t,s=d?i.includes(n):i===n;function m(){if(d){const $=i,p=s?$.filter(g=>g!==n):[...$,n];l(p)}else l(s?"":n)}return c.jsxs("li",{ref:a,className:f.classnames(`${e}--accordion-item`,b),children:[c.jsx("div",{className:`${e}--h3`}),c.jsxs("button",{onClick:m,className:`${e}--accordion--button ${e}--accordion--button__${t.size}`,"aria-expanded":s,"aria-controls":n,children:[c.jsx("span",{className:`${e}--accordion--label`,children:r}),c.jsx("span",{className:`${e}--accordion--icon`})]}),c.jsx("div",{className:f.classnames(`${e}--accordion--panel`,{[`${e}--accordion--panel__open`]:s,[`${e}--accordion--panel__scroll`]:u}),role:"region","aria-hidden":!s,children:c.jsx("div",{className:`${e}--accordion--innerpanel`,children:x})})]})}),C=Object.assign(N,{Item:A});exports.Accordion=C;
@@ -0,0 +1 @@
1
+ "use strict";const t=require("react/jsx-runtime"),r=require("react"),b=require("./index-chunk-DCI82Tmm.js"),v=require("./useGlobalSettings-chunk-Pa38w6VS.js"),M=require("./ContextMenu-chunk-Ch5u_T0d.js"),R=r.forwardRef(({url:m,label:c,className:f,first:i},e)=>{const{prefix:n}=v.useGlobalSettings();return t.jsx("li",{className:b.classnames({[`${n}--breadcrumb--item`]:!0,[`${n}--breadcrumb--item__first`]:i,className:f}),ref:e,children:t.jsx("a",{className:`${n}--breadcrumb--link`,href:m,"aria-label":c,children:!i&&t.jsx("span",{className:`${n}--breadcrumb--link--label`,children:c})})})}),q=r.forwardRef(({className:m,links:c,buttonLabel:f},i)=>{const{prefix:e}=v.useGlobalSettings(),n=r.useId(),[l,j]=r.useState(!1),[B,y]=r.useState(!1),p=r.useRef(0),o=r.useRef(null),u=r.useRef(null),C=r.useRef(null);if(r.useLayoutEffect(()=>{p.current=C.current.offsetWidth},[]),r.useLayoutEffect(()=>{function s(a){o.current&&u.current&&!o.current.contains(a.target)&&!u.current.contains(a.target)&&j(!1)}const h=new ResizeObserver(a=>{const $=a.at(0),d=p.current>=$.contentRect.width/1.5;y(N=>N!==d?d:N)});return document.addEventListener("mousedown",s),h.observe(document.body),()=>{document.removeEventListener("mousedown",s),h.disconnect()}},[n,e]),r.useLayoutEffect(()=>{if(!(!o.current||!u.current)&&l){const s=o.current.getBoundingClientRect(),a=u.current.firstChild.getBoundingClientRect(),$=s.left+s.width/2-a.width/2-5,d=s.bottom+16;u.current.style.left=`${$}px`,u.current.style.top=`${d}px`}},[l]),c.length<2)throw new Error(`Breadcrumb component requires at least two links, but received ${c.length}`);const g=c.at(0),x=c.slice(1,-1),w=c.at(-1);return t.jsxs("nav",{className:b.classnames(`${e}--breadcrumb`,m),ref:i,children:[t.jsx("div",{className:`${e}--breadcrumb--inner`,children:t.jsxs("ol",{className:`${e}--breadcrumb--items`,id:`${e}--breadcrumb--items-${n}`,ref:C,children:[t.jsx(R,{first:!0,url:g.url,label:g.label}),x.length>0&&t.jsxs("li",{className:b.classnames(`${e}--breadcrumb--context`,{[`${e}--breadcrumb--context__collapse`]:B}),children:[t.jsx("ol",{className:`${e}--breadcrumb--items`,children:x.map(s=>t.jsx(R,{url:s.url,label:s.label},`${s.label}-${s.url}`))}),t.jsx("button",{onClick:()=>j(!l),"aria-label":f,"aria-expanded":l,"aria-controls":`${e}--breadcrumb--menu-${n}`,className:`${e}--breadcrumb--context--button`,ref:o})]}),t.jsx(R,{url:w.url,label:w.label})]})}),t.jsx("div",{className:b.classnames(`${e}--breadcrumb--context--menu`,{[`${e}--breadcrumb--context--menu__visible`]:l}),id:`${e}--breadcrumb--menu-${n}`,ref:u,children:t.jsx(M.ContextMenu,{links:x})})]})});exports.Breadcrumb=q;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Breadcrumb-chunk-DvUpVY4l.js");exports.Breadcrumb=e.Breadcrumb;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Breadcrumb-chunk-BGt10GMr.js");exports.Breadcrumb=e.Breadcrumb;
@@ -1 +1 @@
1
- "use strict";const n=require("react/jsx-runtime"),C=require("./index-chunk-DCI82Tmm.js"),k=require("./useGlobalSettings-chunk-Pa38w6VS.js"),I=require("./Link-chunk-B_ZIovS2.js"),$=require("./Icon-chunk-BuN3LIv8.js"),L=({callback:i,className:h,disabled:m=!1,icon:t,icononly:r,iconPosition:x,kind:_="button",label:e,opensmodal:j,size:a="large",target:p="",type:c="primary",url:u,style:l,name:b})=>{const{prefix:f}=k.useGlobalSettings(),s=`${f}--button`,g=!!u,q=x||"left",d=C.classnames(h,{[s]:!0,[`${s}__${a}`]:a,[`${s}__${c}`]:c,[`${s}--icon ${s}--icon--position__${q}`]:t&&!r,[`${s}--icon ${s}--icon--only`]:t&&r}),B=o=>{i&&i(o)};return n.jsx(n.Fragment,{children:g?n.jsx(I.Link,{className:d,target:p,url:u,label:e,style:l,children:t&&n.jsx($.Icon,{name:t,hidden:!0})}):n.jsxs("button",{className:d,onClick:o=>B(o),disabled:m,type:_,"aria-haspopup":j?"dialog":!1,style:l,name:b,children:[e&&n.jsx("span",{className:"button__label",children:e}),t&&n.jsx($.Icon,{name:t,hidden:!0})]})})},N=L;exports.Button=N;
1
+ "use strict";const n=require("react/jsx-runtime"),C=require("./index-chunk-DCI82Tmm.js"),k=require("./useGlobalSettings-chunk-Pa38w6VS.js"),I=require("./Link-chunk-B_ZIovS2.js"),$=require("./Icon-chunk-BiF41wYy.js"),L=({callback:i,className:h,disabled:m=!1,icon:t,icononly:r,iconPosition:x,kind:_="button",label:e,opensmodal:j,size:a="large",target:p="",type:c="primary",url:u,style:l,name:b})=>{const{prefix:f}=k.useGlobalSettings(),s=`${f}--button`,g=!!u,q=x||"left",d=C.classnames(h,{[s]:!0,[`${s}__${a}`]:a,[`${s}__${c}`]:c,[`${s}--icon ${s}--icon--position__${q}`]:t&&!r,[`${s}--icon ${s}--icon--only`]:t&&r}),B=o=>{i&&i(o)};return n.jsx(n.Fragment,{children:g?n.jsx(I.Link,{className:d,target:p,url:u,label:e,style:l,children:t&&n.jsx($.Icon,{name:t,hidden:!0})}):n.jsxs("button",{className:d,onClick:o=>B(o),disabled:m,type:_,"aria-haspopup":j?"dialog":!1,style:l,name:b,children:[e&&n.jsx("span",{className:"button__label",children:e}),t&&n.jsx($.Icon,{name:t,hidden:!0})]})})},N=L;exports.Button=N;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Button-chunk-yGkEAzI3.js"),e={type:"primary",label:"Primary",size:"medium",name:"primary"},r={type:"secondary",label:"Secondary",name:"secondary"},a={type:"tertiary",label:"Tertiary",name:"tertiary"},o={type:"alert",label:"Alert",name:"alert"},i={type:"primary",label:"Icon",icon:"close"},n={type:"primary",label:"Disabled",disabled:!0},l={type:"primary",icon:"caret_right",iconPosition:"right",label:"Visit ilo.org",url:"https://www.ilo.org",target:"__blank"},s={primary:e,secondary:r,tertiary:a,alert:o,icon:i,disabled:n,link:l};exports.Button=t.Button;exports.buttonArgs=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Button-chunk-7QGSjiJL.js"),e={type:"primary",label:"Primary",size:"medium",name:"primary"},r={type:"secondary",label:"Secondary",name:"secondary"},a={type:"tertiary",label:"Tertiary",name:"tertiary"},o={type:"alert",label:"Alert",name:"alert"},i={type:"primary",label:"Icon",icon:"close"},n={type:"primary",label:"Disabled",disabled:!0},l={type:"primary",icon:"caret_right",iconPosition:"right",label:"Visit ilo.org",url:"https://www.ilo.org",target:"__blank"},s={primary:e,secondary:r,tertiary:a,alert:o,icon:i,disabled:n,link:l};exports.Button=t.Button;exports.buttonArgs=s;
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),v=require("./index-chunk-DCI82Tmm.js"),d=require("react"),b=require("./useGlobalSettings-chunk-Pa38w6VS.js"),f=require("./Button-chunk-yGkEAzI3.js"),q=({className:$,copy:_,cta:l,isCollapsible:i,isOpen:n=!0,toggleOpenLabel:c="Less",toggleClosedLabel:a="More",headline:m,type:o})=>{const{prefix:x}=b.useGlobalSettings(),s=`${x}--callout`,[t,u]=d.useState(n);let r=t?c:a;d.useEffect(()=>{u(n),r=t?c:a},[n]);const h=v.classnames($,{[s]:!0,[`${s}__${o}`]:o,[`${s}--open`]:t,[`${s}--collapse`]:i}),j=`icon icon__${o}`,N={callback:void 0,className:`${s}--cta`,children:!1,label:l==null?void 0:l.label,size:"small",type:"tertiary",url:l==null?void 0:l.url},p=g=>{g.preventDefault(),r=t?c:a,u(!t)};return e.jsxs("div",{className:h,children:[e.jsx("div",{className:`${s}__sidebar`,children:e.jsx("span",{className:j})}),e.jsxs("div",{className:`${s}__content`,children:[e.jsxs("div",{className:`${s}__header`,children:[e.jsx("h5",{className:`${s}__title`,children:m}),i&&e.jsxs("button",{className:`${s}--toggle`,onClick:p,type:"button",children:[r,e.jsx("span",{className:`${s}--toggle--icon`})]})]}),e.jsx("p",{className:`${s}__description`,children:_}),l&&e.jsx(f.Button,{...N})]})]})},C=q;exports.Callout=C;
1
+ "use strict";const e=require("react/jsx-runtime"),v=require("./index-chunk-DCI82Tmm.js"),d=require("react"),b=require("./useGlobalSettings-chunk-Pa38w6VS.js"),f=require("./Button-chunk-7QGSjiJL.js"),q=({className:$,copy:_,cta:l,isCollapsible:i,isOpen:n=!0,toggleOpenLabel:c="Less",toggleClosedLabel:a="More",headline:m,type:o})=>{const{prefix:x}=b.useGlobalSettings(),s=`${x}--callout`,[t,u]=d.useState(n);let r=t?c:a;d.useEffect(()=>{u(n),r=t?c:a},[n]);const h=v.classnames($,{[s]:!0,[`${s}__${o}`]:o,[`${s}--open`]:t,[`${s}--collapse`]:i}),j=`icon icon__${o}`,N={callback:void 0,className:`${s}--cta`,children:!1,label:l==null?void 0:l.label,size:"small",type:"tertiary",url:l==null?void 0:l.url},p=g=>{g.preventDefault(),r=t?c:a,u(!t)};return e.jsxs("div",{className:h,children:[e.jsx("div",{className:`${s}__sidebar`,children:e.jsx("span",{className:j})}),e.jsxs("div",{className:`${s}__content`,children:[e.jsxs("div",{className:`${s}__header`,children:[e.jsx("h5",{className:`${s}__title`,children:m}),i&&e.jsxs("button",{className:`${s}--toggle`,onClick:p,type:"button",children:[r,e.jsx("span",{className:`${s}--toggle--icon`})]})]}),e.jsx("p",{className:`${s}__description`,children:_}),l&&e.jsx(f.Button,{...N})]})]})},C=q;exports.Callout=C;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Callout-chunk-5KDr9zD6.js"),l={copy:"Lorem ipsum dolor sit amet, consectetur adipiscing elit.",isCollapsible:!1,headline:"Info Callout",type:"info"},o={...l,type:"success",headline:"Success Callout"},t={...l,type:"warning",headline:"Warning Callout"},s={...l,cta:{label:"Optional CTA",url:"http://www.google.com"},isCollapsible:!0,isOpen:!1,headline:"Error Callout (Collapsible)",toggleOpenLabel:"Open",toggleClosedLabel:"Closed",type:"error"},a={baseArgs:l,success:o,warning:t,error:s},n=a;exports.Callout=e.Callout;exports.calloutArgs=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Callout-chunk-DI_rZPkx.js"),l={copy:"Lorem ipsum dolor sit amet, consectetur adipiscing elit.",isCollapsible:!1,headline:"Info Callout",type:"info"},o={...l,type:"success",headline:"Success Callout"},t={...l,type:"warning",headline:"Warning Callout"},s={...l,cta:{label:"Optional CTA",url:"http://www.google.com"},isCollapsible:!0,isOpen:!1,headline:"Error Callout (Collapsible)",toggleOpenLabel:"Open",toggleClosedLabel:"Closed",type:"error"},a={baseArgs:l,success:o,warning:t,error:s},n=a;exports.Callout=e.Callout;exports.calloutArgs=n;
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),o=require("./index-chunk-DCI82Tmm.js"),x=require("./useGlobalSettings-chunk-Pa38w6VS.js"),b=require("./Button-chunk-yGkEAzI3.js"),j=require("./Link-chunk-B_ZIovS2.js"),N=require("./LinkList-chunk-Uvotg8l4.js"),C=require("./Profile-chunk-BH98cR85.js"),h=require("./ListItem-chunk-CHb4_N2-.js"),f=({eyebrow:$,size:i="narrow",image:d,dataset:c,columns:m="one"})=>{const{prefix:t}=x.useGlobalSettings(),a=`${t}--card`,r=o.classnames(a,`${a}__type__data`,{[`${a}__size__${i}`]:i,[`${a}__type__data__columns__${m}`]:m});return s.jsx("div",{className:r,children:s.jsxs("div",{className:`${a}--wrap`,children:[$&&s.jsx("p",{className:`${a}--eyebrow`,children:$}),s.jsxs("div",{className:`${a}--content`,children:[d&&s.jsx("div",{className:`${a}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${a}--picture`,src:d,alt:$})})}),c&&c.content&&c.content.items&&c.content.items.map(n=>s.jsxs("div",{className:`${a}--area--content`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:n.label}),s.jsx("p",{className:`${a}__type__data--content-copy`,children:n.copy})]},n.label)),c&&c.files&&s.jsxs("div",{className:`${a}--data--content-files`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:c.files.headline}),c.files.items&&c.files.items.map(n=>s.jsx("a",{className:`${a}--data--file ${t}--button ${t}--button--primary ${t}--button--small`,href:n.url,download:!0,children:s.jsx("span",{className:"button__label",children:n.label})},n.url))]}),c&&c.cta&&s.jsx("div",{className:`${a}--area--cta`,children:s.jsxs("div",{className:`${a}--data--content-cta`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:c.cta.headline}),c.cta.items&&c.cta.items.map(n=>s.jsx("a",{className:`${a}--cta ${t}--button ${t}--button--medium ${t}--button--secondary`,href:n.url,children:s.jsx("span",{className:"link__label",children:n.label})},n.url))]})}),c&&c.links&&s.jsxs("div",{className:`${a}--data--content-links`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:c.links.headline}),c.links.items&&c.links.items.map(n=>s.jsxs(s.Fragment,{children:[s.jsx(j.Link,{url:n.url,children:n.label}),s.jsx("span",{children:"  "})]}))]})]})]})})},w=({eyebrow:$,title:i,size:d="narrow",intro:c,date:m,eventdetails:t,link:a,image:r,titleLevel:n})=>{const{prefix:_}=x.useGlobalSettings(),l=`${_}--card`,e=o.classnames(l,`${l}__type__detail`,{[`${l}__action`]:a,[`${l}__size__${d}`]:d});return s.jsxs("div",{className:e,children:[a&&s.jsx("a",{className:`${l}--link`,href:a,title:i,children:s.jsx("span",{className:`${l}--link--text`,children:i})}),s.jsxs("div",{className:`${l}--wrap`,children:[r&&s.jsx("div",{className:`${l}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${l}--picture`,src:r,alt:i})})}),s.jsxs("div",{className:`${l}--content`,children:[$&&s.jsx("p",{className:`${l}--eyebrow`,children:$}),i&&n?s.jsx(n,{className:`${l}--title`,children:i}):s.jsx("p",{className:`${l}--title`,children:i}),c&&s.jsx("p",{className:`${l}--intro`,children:c}),m&&s.jsx("time",{className:`${l}--date`,dateTime:m.unix,children:m.human}),t&&s.jsx("p",{className:`${l}--date-extra`,children:t})]})]})]})},y=({title:$,theme:i,size:d="narrow",list:c,titleLevel:m})=>{const{prefix:t}=x.useGlobalSettings(),a=`${t}--card`,r=o.classnames(a,`${a}__type__factlist`,{[`${a}__size__${d}`]:d,[`${a}__theme__${i}`]:i});return s.jsx("div",{className:r,children:s.jsx("div",{className:`${a}--wrap`,children:s.jsxs("div",{className:`${a}--content`,children:[$&&m?s.jsx(m,{className:`${a}--title`,children:$}):s.jsx("p",{className:`${a}--title`,children:$}),c&&s.jsx(h.List,{alignment:"default",ordered:"unordered",children:c.map((n,_)=>s.jsx(h.ListItem,{id:`list${_}`,children:s.jsx("p",{children:n})},`${n}`))})]})})})},g=({isvideo:$,eyebrow:i,title:d,theme:c,size:m="narrow",date:t,link:a,linklist:r,image:n,titleLevel:_})=>{const{prefix:l}=x.useGlobalSettings(),e=`${l}--card`,p=o.classnames(e,`${e}__type__feature`,{[`${e}__action`]:a,[`${e}__size__${m}`]:m,[`${e}__isvideo`]:$,[`${e}__linklist`]:r,[`${e}__theme__${c}`]:c});return s.jsxs("div",{className:p,children:[a&&s.jsx("a",{className:`${e}--link`,href:a,title:d,children:s.jsx("span",{className:`${e}--link--text`,children:d})}),s.jsxs("div",{className:`${e}--wrap`,children:[n&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${e}--picture`,src:n,alt:d})})}),s.jsxs("div",{className:`${e}--content`,children:[i&&s.jsx("p",{className:`${e}--eyebrow`,children:i}),d&&_?s.jsx(_,{className:`${e}--title`,children:d}):s.jsx("p",{className:`${e}--title`,children:d}),t&&s.jsx("time",{className:`${e}--date`,dateTime:t.unix,children:t.human}),r&&s.jsx(N.LinkList,{headline:r.headline,linkgroup:r.linkgroup})]})]})]})},k=({isvideo:$,eyebrow:i,title:d,size:c="standard",alignment:m,intro:t,link:a,linklist:r,image:n,titleLevel:_})=>{const{prefix:l}=x.useGlobalSettings(),e=`${l}--card`,p=o.classnames(e,`${e}__type__multilink`,{[`${e}__align__${m}`]:m,[`${e}__action`]:a,[`${e}__size__${c}`]:c,[`${e}__isvideo`]:$,[`${e}__linklist`]:r,[`${e}__no-image`]:!n});return s.jsxs("div",{className:p,children:[a&&s.jsx("a",{className:`${e}--link`,href:a,title:d,children:s.jsx("span",{className:`${e}--link--text`,children:d})}),s.jsxs("div",{className:`${e}--wrap`,children:[n&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${e}--picture`,src:n,alt:d})})}),s.jsxs("div",{className:`${e}--content`,children:[i&&s.jsx("p",{className:`${e}--eyebrow`,children:i}),d&&_?s.jsx(_,{className:`${e}--title`,children:d}):s.jsx("p",{className:`${e}--title`,children:d}),n&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${e}--picture`,src:n,alt:d})})}),t&&s.jsx("p",{className:`${e}--intro`,children:t}),r&&s.jsx(N.LinkList,{headline:r.headline,linkgroup:r.linkgroup})]})]})]})},L=({eyebrow:$,title:i,theme:d,size:c="narrow",cornercut:m,intro:t,link:a,cta:r,titleLevel:n})=>{const{prefix:_}=x.useGlobalSettings(),l=`${_}--card`,e=o.classnames(`${l}--wrapper`,`${l}--wrapper__type__promo ${l}--wrapper__type__promo__size__${c}`),p=o.classnames(l,`${l}__type__promo`,{[`${l}__cornercut`]:m,[`${l}__action`]:a,[`${l}__size__${c}`]:c,[`${l}__theme__${d}`]:d});return s.jsx("div",{className:e,children:s.jsxs("div",{className:p,children:[a&&s.jsx("a",{className:`${l}--link`,href:a,title:i,children:s.jsx("span",{className:`${l}--link--text`,children:i})}),s.jsx("div",{className:`${l}--wrap`,children:s.jsxs("div",{className:`${l}--content`,children:[$&&s.jsx("p",{className:`${l}--eyebrow`,children:$}),i&&n?s.jsx(n,{className:`${l}--title`,children:i}):s.jsx("p",{className:`${l}--title`,children:i}),t&&s.jsx("p",{className:`${l}--intro`,children:t}),r&&r.label&&s.jsx("a",{className:`${l}--cta ${_}--button ${_}--button--medium ${_}--button--primary`,href:r.url,children:s.jsx("span",{className:"link__label",children:r.label})})]})})]})})},G=({title:$,color:i,size:d="standard",intro:c,source:m,titleLevel:t})=>{const{prefix:a}=x.useGlobalSettings(),r=`${a}--card`,n=o.classnames(r,`${r}__type__stat`,{[`${r}__color__${i}`]:i,[`${r}__size__${d}`]:d});return s.jsx("div",{className:n,children:s.jsx("div",{className:`${r}--wrap`,children:s.jsxs("div",{className:`${r}--content`,children:[$&&t?s.jsx(t,{className:`${r}--title`,children:$}):s.jsx("p",{className:`${r}--title`,children:$}),c&&s.jsx("p",{className:`${r}--intro`,children:c}),m&&s.jsx(j.Link,{url:m.url,children:m.label})]})})})},S=({eyebrow:$,title:i,theme:d,size:c,date:m,profile:t,link:a,titleLevel:r})=>{const{prefix:n}=x.useGlobalSettings(),_=`${n}--card`,l=o.classnames(`${_}--wrapper`),e=o.classnames(_,`${_}__type__text`,{[`${_}__action`]:a,[`${_}__size__${c}`]:c,[`${_}__theme__${d}`]:d});return s.jsx("div",{className:l,children:s.jsxs("div",{className:e,children:[a&&s.jsx("a",{className:`${_}--link`,href:a,title:i,children:s.jsx("span",{className:`${_}--link--text`,children:i})}),s.jsx("div",{className:`${_}--wrap`,children:s.jsxs("div",{className:`${_}--content`,children:[$&&s.jsx("p",{className:`${_}--eyebrow`,children:$}),i&&r?s.jsx(r,{className:`${_}--title`,children:i}):s.jsx("p",{className:`${_}--title`,children:i}),m&&s.jsx("time",{className:`${_}--date`,dateTime:m.unix,children:m.human}),t&&t.avatar&&s.jsx(C.Profile,{avatar:t.avatar,description:t.description,link:t.link,name:t.name,role:t.role,className:`${n}--profile__theme__${d}`})]})})]})})},q={stat:G,multilink:k,text:S,promo:L,feature:g,detail:w,factlist:y,data:f},F=({cards:$,titleLevel:i="p",cardCount:d,cta:c,type:m,alignment:t,size:a,theme:r,collapsed:n=!1})=>{const _=q[m],{prefix:l}=x.useGlobalSettings(),e=`${l}--cardgroup`,p=o.classnames(e,`${e}__count__${d}`,{[`${e}__collapsed`]:n});return s.jsxs("div",{className:p,children:[s.jsx("div",{className:`${e}--inner`,children:$&&$.map((u,v)=>s.jsx(_,{...u,size:a,theme:r,alignment:t,titleLevel:i},v))}),c&&s.jsx("div",{className:`${e}--button-wrap`,children:s.jsx(b.Button,{kind:"button",type:"secondary",size:"medium",label:c.label,url:c.url})})]})},P=F;exports.CardGroup=P;
1
+ "use strict";const s=require("react/jsx-runtime"),o=require("./index-chunk-DCI82Tmm.js"),x=require("./useGlobalSettings-chunk-Pa38w6VS.js"),b=require("./Button-chunk-7QGSjiJL.js"),j=require("./Link-chunk-B_ZIovS2.js"),N=require("./LinkList-chunk-Uvotg8l4.js"),C=require("./Profile-chunk-BH98cR85.js"),h=require("./ListItem-chunk-CHb4_N2-.js"),f=({eyebrow:$,size:i="narrow",image:d,dataset:c,columns:m="one"})=>{const{prefix:t}=x.useGlobalSettings(),a=`${t}--card`,r=o.classnames(a,`${a}__type__data`,{[`${a}__size__${i}`]:i,[`${a}__type__data__columns__${m}`]:m});return s.jsx("div",{className:r,children:s.jsxs("div",{className:`${a}--wrap`,children:[$&&s.jsx("p",{className:`${a}--eyebrow`,children:$}),s.jsxs("div",{className:`${a}--content`,children:[d&&s.jsx("div",{className:`${a}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${a}--picture`,src:d,alt:$})})}),c&&c.content&&c.content.items&&c.content.items.map(n=>s.jsxs("div",{className:`${a}--area--content`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:n.label}),s.jsx("p",{className:`${a}__type__data--content-copy`,children:n.copy})]},n.label)),c&&c.files&&s.jsxs("div",{className:`${a}--data--content-files`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:c.files.headline}),c.files.items&&c.files.items.map(n=>s.jsx("a",{className:`${a}--data--file ${t}--button ${t}--button--primary ${t}--button--small`,href:n.url,download:!0,children:s.jsx("span",{className:"button__label",children:n.label})},n.url))]}),c&&c.cta&&s.jsx("div",{className:`${a}--area--cta`,children:s.jsxs("div",{className:`${a}--data--content-cta`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:c.cta.headline}),c.cta.items&&c.cta.items.map(n=>s.jsx("a",{className:`${a}--cta ${t}--button ${t}--button--medium ${t}--button--secondary`,href:n.url,children:s.jsx("span",{className:"link__label",children:n.label})},n.url))]})}),c&&c.links&&s.jsxs("div",{className:`${a}--data--content-links`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:c.links.headline}),c.links.items&&c.links.items.map(n=>s.jsxs(s.Fragment,{children:[s.jsx(j.Link,{url:n.url,children:n.label}),s.jsx("span",{children:"  "})]}))]})]})]})})},w=({eyebrow:$,title:i,size:d="narrow",intro:c,date:m,eventdetails:t,link:a,image:r,titleLevel:n})=>{const{prefix:_}=x.useGlobalSettings(),l=`${_}--card`,e=o.classnames(l,`${l}__type__detail`,{[`${l}__action`]:a,[`${l}__size__${d}`]:d});return s.jsxs("div",{className:e,children:[a&&s.jsx("a",{className:`${l}--link`,href:a,title:i,children:s.jsx("span",{className:`${l}--link--text`,children:i})}),s.jsxs("div",{className:`${l}--wrap`,children:[r&&s.jsx("div",{className:`${l}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${l}--picture`,src:r,alt:i})})}),s.jsxs("div",{className:`${l}--content`,children:[$&&s.jsx("p",{className:`${l}--eyebrow`,children:$}),i&&n?s.jsx(n,{className:`${l}--title`,children:i}):s.jsx("p",{className:`${l}--title`,children:i}),c&&s.jsx("p",{className:`${l}--intro`,children:c}),m&&s.jsx("time",{className:`${l}--date`,dateTime:m.unix,children:m.human}),t&&s.jsx("p",{className:`${l}--date-extra`,children:t})]})]})]})},y=({title:$,theme:i,size:d="narrow",list:c,titleLevel:m})=>{const{prefix:t}=x.useGlobalSettings(),a=`${t}--card`,r=o.classnames(a,`${a}__type__factlist`,{[`${a}__size__${d}`]:d,[`${a}__theme__${i}`]:i});return s.jsx("div",{className:r,children:s.jsx("div",{className:`${a}--wrap`,children:s.jsxs("div",{className:`${a}--content`,children:[$&&m?s.jsx(m,{className:`${a}--title`,children:$}):s.jsx("p",{className:`${a}--title`,children:$}),c&&s.jsx(h.List,{alignment:"default",ordered:"unordered",children:c.map((n,_)=>s.jsx(h.ListItem,{id:`list${_}`,children:s.jsx("p",{children:n})},`${n}`))})]})})})},g=({isvideo:$,eyebrow:i,title:d,theme:c,size:m="narrow",date:t,link:a,linklist:r,image:n,titleLevel:_})=>{const{prefix:l}=x.useGlobalSettings(),e=`${l}--card`,p=o.classnames(e,`${e}__type__feature`,{[`${e}__action`]:a,[`${e}__size__${m}`]:m,[`${e}__isvideo`]:$,[`${e}__linklist`]:r,[`${e}__theme__${c}`]:c});return s.jsxs("div",{className:p,children:[a&&s.jsx("a",{className:`${e}--link`,href:a,title:d,children:s.jsx("span",{className:`${e}--link--text`,children:d})}),s.jsxs("div",{className:`${e}--wrap`,children:[n&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${e}--picture`,src:n,alt:d})})}),s.jsxs("div",{className:`${e}--content`,children:[i&&s.jsx("p",{className:`${e}--eyebrow`,children:i}),d&&_?s.jsx(_,{className:`${e}--title`,children:d}):s.jsx("p",{className:`${e}--title`,children:d}),t&&s.jsx("time",{className:`${e}--date`,dateTime:t.unix,children:t.human}),r&&s.jsx(N.LinkList,{headline:r.headline,linkgroup:r.linkgroup})]})]})]})},k=({isvideo:$,eyebrow:i,title:d,size:c="standard",alignment:m,intro:t,link:a,linklist:r,image:n,titleLevel:_})=>{const{prefix:l}=x.useGlobalSettings(),e=`${l}--card`,p=o.classnames(e,`${e}__type__multilink`,{[`${e}__align__${m}`]:m,[`${e}__action`]:a,[`${e}__size__${c}`]:c,[`${e}__isvideo`]:$,[`${e}__linklist`]:r,[`${e}__no-image`]:!n});return s.jsxs("div",{className:p,children:[a&&s.jsx("a",{className:`${e}--link`,href:a,title:d,children:s.jsx("span",{className:`${e}--link--text`,children:d})}),s.jsxs("div",{className:`${e}--wrap`,children:[n&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${e}--picture`,src:n,alt:d})})}),s.jsxs("div",{className:`${e}--content`,children:[i&&s.jsx("p",{className:`${e}--eyebrow`,children:i}),d&&_?s.jsx(_,{className:`${e}--title`,children:d}):s.jsx("p",{className:`${e}--title`,children:d}),n&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${e}--picture`,src:n,alt:d})})}),t&&s.jsx("p",{className:`${e}--intro`,children:t}),r&&s.jsx(N.LinkList,{headline:r.headline,linkgroup:r.linkgroup})]})]})]})},L=({eyebrow:$,title:i,theme:d,size:c="narrow",cornercut:m,intro:t,link:a,cta:r,titleLevel:n})=>{const{prefix:_}=x.useGlobalSettings(),l=`${_}--card`,e=o.classnames(`${l}--wrapper`,`${l}--wrapper__type__promo ${l}--wrapper__type__promo__size__${c}`),p=o.classnames(l,`${l}__type__promo`,{[`${l}__cornercut`]:m,[`${l}__action`]:a,[`${l}__size__${c}`]:c,[`${l}__theme__${d}`]:d});return s.jsx("div",{className:e,children:s.jsxs("div",{className:p,children:[a&&s.jsx("a",{className:`${l}--link`,href:a,title:i,children:s.jsx("span",{className:`${l}--link--text`,children:i})}),s.jsx("div",{className:`${l}--wrap`,children:s.jsxs("div",{className:`${l}--content`,children:[$&&s.jsx("p",{className:`${l}--eyebrow`,children:$}),i&&n?s.jsx(n,{className:`${l}--title`,children:i}):s.jsx("p",{className:`${l}--title`,children:i}),t&&s.jsx("p",{className:`${l}--intro`,children:t}),r&&r.label&&s.jsx("a",{className:`${l}--cta ${_}--button ${_}--button--medium ${_}--button--primary`,href:r.url,children:s.jsx("span",{className:"link__label",children:r.label})})]})})]})})},G=({title:$,color:i,size:d="standard",intro:c,source:m,titleLevel:t})=>{const{prefix:a}=x.useGlobalSettings(),r=`${a}--card`,n=o.classnames(r,`${r}__type__stat`,{[`${r}__color__${i}`]:i,[`${r}__size__${d}`]:d});return s.jsx("div",{className:n,children:s.jsx("div",{className:`${r}--wrap`,children:s.jsxs("div",{className:`${r}--content`,children:[$&&t?s.jsx(t,{className:`${r}--title`,children:$}):s.jsx("p",{className:`${r}--title`,children:$}),c&&s.jsx("p",{className:`${r}--intro`,children:c}),m&&s.jsx(j.Link,{url:m.url,children:m.label})]})})})},S=({eyebrow:$,title:i,theme:d,size:c,date:m,profile:t,link:a,titleLevel:r})=>{const{prefix:n}=x.useGlobalSettings(),_=`${n}--card`,l=o.classnames(`${_}--wrapper`),e=o.classnames(_,`${_}__type__text`,{[`${_}__action`]:a,[`${_}__size__${c}`]:c,[`${_}__theme__${d}`]:d});return s.jsx("div",{className:l,children:s.jsxs("div",{className:e,children:[a&&s.jsx("a",{className:`${_}--link`,href:a,title:i,children:s.jsx("span",{className:`${_}--link--text`,children:i})}),s.jsx("div",{className:`${_}--wrap`,children:s.jsxs("div",{className:`${_}--content`,children:[$&&s.jsx("p",{className:`${_}--eyebrow`,children:$}),i&&r?s.jsx(r,{className:`${_}--title`,children:i}):s.jsx("p",{className:`${_}--title`,children:i}),m&&s.jsx("time",{className:`${_}--date`,dateTime:m.unix,children:m.human}),t&&t.avatar&&s.jsx(C.Profile,{avatar:t.avatar,description:t.description,link:t.link,name:t.name,role:t.role,className:`${n}--profile__theme__${d}`})]})})]})})},q={stat:G,multilink:k,text:S,promo:L,feature:g,detail:w,factlist:y,data:f},F=({cards:$,titleLevel:i="p",cardCount:d,cta:c,type:m,alignment:t,size:a,theme:r,collapsed:n=!1})=>{const _=q[m],{prefix:l}=x.useGlobalSettings(),e=`${l}--cardgroup`,p=o.classnames(e,`${e}__count__${d}`,{[`${e}__collapsed`]:n});return s.jsxs("div",{className:p,children:[s.jsx("div",{className:`${e}--inner`,children:$&&$.map((u,v)=>s.jsx(_,{...u,size:a,theme:r,alignment:t,titleLevel:i},v))}),c&&s.jsx("div",{className:`${e}--button-wrap`,children:s.jsx(b.Button,{kind:"button",type:"secondary",size:"medium",label:c.label,url:c.url})})]})},P=F;exports.CardGroup=P;
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),d=require("react"),E=require("./index-chunk-DCI82Tmm.js"),R=require("./useGlobalSettings-chunk-Pa38w6VS.js"),S=require("./Fieldset-chunk-BsOPbe_a.js"),f=require("./FormControl-chunk-08fp5TeU.js"),L=require("./usePrevious-chunk-DENrwKF1.js"),P=d.forwardRef((s,c)=>{const{onChange:r,onBlur:l,disabled:a=!1,error:e,id:o,name:t,required:n,defaultChecked:h=!1,checked:x,value:m}=s,{prefix:k}=R.useGlobalSettings(),{setHasError:u}=S.useFieldsetError(),q=f.useFormControl(),{ariaDescribedBy:y}=q,b=`${k}--checkbox`,g=`${b}__error`,F=E.classnames(b,{[g]:e}),C=L.usePrevious(e);d.useEffect(()=>{e!==C&&u(!!e)},[e,C,u]);const j=v=>{r&&r(v)};return i.jsx("input",{ref:c,id:o||t,name:t,onChange:j,onBlur:l,disabled:a,required:n,type:"checkbox",className:F,defaultChecked:h,"aria-describedby":y,checked:x,value:m})}),$=d.forwardRef((s,c)=>{const r=s.id?s.id:s.name,{style:l,inputStyle:a,className:e,labelPlacement:o="end",labelSize:t="small",...n}=s;return i.jsx(f.FormControl,{fieldId:r,style:l,className:e,labelPlacement:o,labelSize:t,...n,children:i.jsx(P,{ref:c,style:a,...n})})}),w=$;exports.LabelledCheckbox=w;
1
+ "use strict";const i=require("react/jsx-runtime"),d=require("react"),E=require("./index-chunk-DCI82Tmm.js"),R=require("./useGlobalSettings-chunk-Pa38w6VS.js"),S=require("./Fieldset-chunk-C3itoJam.js"),f=require("./FormControl-chunk-CxP6djqq.js"),L=require("./usePrevious-chunk-DENrwKF1.js"),P=d.forwardRef((s,c)=>{const{onChange:r,onBlur:l,disabled:a=!1,error:e,id:o,name:t,required:n,defaultChecked:h=!1,checked:x,value:m}=s,{prefix:k}=R.useGlobalSettings(),{setHasError:u}=S.useFieldsetError(),q=f.useFormControl(),{ariaDescribedBy:y}=q,b=`${k}--checkbox`,g=`${b}__error`,F=E.classnames(b,{[g]:e}),C=L.usePrevious(e);d.useEffect(()=>{e!==C&&u(!!e)},[e,C,u]);const j=v=>{r&&r(v)};return i.jsx("input",{ref:c,id:o||t,name:t,onChange:j,onBlur:l,disabled:a,required:n,type:"checkbox",className:F,defaultChecked:h,"aria-describedby":y,checked:x,value:m})}),$=d.forwardRef((s,c)=>{const r=s.id?s.id:s.name,{style:l,inputStyle:a,className:e,labelPlacement:o="end",labelSize:t="small",...n}=s;return i.jsx(f.FormControl,{fieldId:r,style:l,className:e,labelPlacement:o,labelSize:t,...n,children:i.jsx(P,{ref:c,style:a,...n})})}),w=$;exports.LabelledCheckbox=w;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Checkbox-chunk-B7P6WeNp.js"),o=3,e={label:"Checkbox",className:"checkbox",name:"checkbox"},b=Array(o).map((s,c)=>({...e,id:`checkbox-${c}`})),h={...e,defaultChecked:!0},r={...e,error:!0},k=Array(o).map((s,c)=>({...r,id:`checkbox-${c}`})),a={basic:e,basicCheckBoxes:b,errorCheckBoxes:k,checked:h,error:r},x=a;exports.Checkbox=t.LabelledCheckbox;exports.CheckboxArgs=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Checkbox-chunk-CfN7137m.js"),o=3,e={label:"Checkbox",className:"checkbox",name:"checkbox"},b=Array(o).map((s,c)=>({...e,id:`checkbox-${c}`})),h={...e,defaultChecked:!0},r={...e,error:!0},k=Array(o).map((s,c)=>({...r,id:`checkbox-${c}`})),a={basic:e,basicCheckBoxes:b,errorCheckBoxes:k,checked:h,error:r},x=a;exports.Checkbox=t.LabelledCheckbox;exports.CheckboxArgs=x;
@@ -0,0 +1 @@
1
+ "use strict";const n=require("react/jsx-runtime"),r=require("react"),t=require("./index-chunk-DCI82Tmm.js"),o=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=r.forwardRef(({className:a,links:c},l)=>{const{prefix:s}=o.useGlobalSettings();return n.jsx("ol",{className:t.classnames(`${s}--context-menu`,a),ref:l,children:c.map(e=>n.jsx("li",{className:t.classnames(`${s}--context-menu--item`,{endsection:e.endsection,className:e.className}),children:n.jsx("a",{href:e.url,className:`${s}--context-menu--link`,children:n.jsx("span",{className:`${s}--context-menu--label`,children:e.label})})},`${e.label}-${e.url}`))})});exports.ContextMenu=u;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ContextMenu-chunk-BegVo-Ry.js");exports.ContextMenu=e.ContextMenu;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ContextMenu-chunk-Ch5u_T0d.js");exports.ContextMenu=e.ContextMenu;
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),d=require("react"),j=require("./index-chunk-DCI82Tmm.js"),R=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=require("./FormControl-chunk-08fp5TeU.js"),p=d.forwardRef((e,n)=>{const{onChange:t,onBlur:a,disabled:o=!1,error:s,id:r,name:c,placeholder:m,required:C,max:b,min:f,step:x}=e,{prefix:l}=R.useGlobalSettings(),h=u.useFormControl(),{ariaDescribedBy:k}=h,q=`${l}--input`,y=`${l}--datepicker`,g=j.classnames(q,y,{error:s}),D=P=>{t&&t(P)};return i.jsx("input",{ref:n,type:"date",id:r||c,name:c,onChange:D,onBlur:a,disabled:o,placeholder:m,required:C,className:g,max:b,min:f,step:x,"aria-describedby":k})}),F=d.forwardRef((e,n)=>{const{style:t,inputStyle:a,className:o,...s}=e,r=e.id?e.id:e.name;return i.jsx(u.FormControl,{fieldId:r,style:t,className:o,...s,children:i.jsx(p,{ref:n,style:a,...s})})}),L=F;exports.LabelledDatePicker=L;
1
+ "use strict";const i=require("react/jsx-runtime"),d=require("react"),j=require("./index-chunk-DCI82Tmm.js"),R=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=require("./FormControl-chunk-CxP6djqq.js"),p=d.forwardRef((e,n)=>{const{onChange:t,onBlur:a,disabled:o=!1,error:s,id:r,name:c,placeholder:m,required:C,max:b,min:f,step:x}=e,{prefix:l}=R.useGlobalSettings(),h=u.useFormControl(),{ariaDescribedBy:k}=h,q=`${l}--input`,y=`${l}--datepicker`,g=j.classnames(q,y,{error:s}),D=P=>{t&&t(P)};return i.jsx("input",{ref:n,type:"date",id:r||c,name:c,onChange:D,onBlur:a,disabled:o,placeholder:m,required:C,className:g,max:b,min:f,step:x,"aria-describedby":k})}),F=d.forwardRef((e,n)=>{const{style:t,inputStyle:a,className:o,...s}=e,r=e.id?e.id:e.name;return i.jsx(u.FormControl,{fieldId:r,style:t,className:o,...s,children:i.jsx(p,{ref:n,style:a,...s})})}),L=F;exports.LabelledDatePicker=L;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DatePicker-chunk-DMvnrakE.js");exports.DatePicker=e.LabelledDatePicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DatePicker-chunk-7_96tPkC.js");exports.DatePicker=e.LabelledDatePicker;
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),i=require("react"),R=require("./index-chunk-DCI82Tmm.js"),F=require("./useGlobalSettings-chunk-Pa38w6VS.js"),C=require("./FormControl-chunk-08fp5TeU.js"),L=i.forwardRef((s,t)=>{const{autocomplete:n,onChange:l,onBlur:a,disabled:o=!1,error:d,id:u,name:m,options:b,required:f,value:w,form:x,multiple:h,selectSize:p}=s,{prefix:v}=F.useGlobalSettings(),g=C.useFormControl(),{ariaDescribedBy:j}=g,c=`${v}--dropdown`,q=R.classnames(c,{error:d}),[y,D]=i.useState(w),S=e=>{D(e.target.value),l&&l(e)};return r.jsx("div",{className:`${c}--wrapper`,children:r.jsx("select",{ref:t,id:u||m,autoComplete:n,name:m,required:f,onChange:S,onBlur:a,disabled:o,className:q,value:y,form:x,multiple:h,size:p,"aria-describedby":j,children:b&&b.map((e,$)=>r.jsx("option",{disabled:e.disabled,label:e.label,value:e.value,children:e.label},`${c}--option--${$}`))})})}),N=i.forwardRef((s,t)=>{const{style:n,inputStyle:l,className:a,...o}=s,d=s.id?s.id:s.name;return r.jsx(C.FormControl,{fieldId:d,style:n,className:a,...o,children:r.jsx(L,{ref:t,style:l,...o})})}),z=N;exports.LabelledDropdown=z;
1
+ "use strict";const r=require("react/jsx-runtime"),i=require("react"),R=require("./index-chunk-DCI82Tmm.js"),F=require("./useGlobalSettings-chunk-Pa38w6VS.js"),C=require("./FormControl-chunk-CxP6djqq.js"),L=i.forwardRef((s,t)=>{const{autocomplete:n,onChange:l,onBlur:a,disabled:o=!1,error:d,id:u,name:m,options:b,required:f,value:w,form:x,multiple:h,selectSize:p}=s,{prefix:v}=F.useGlobalSettings(),g=C.useFormControl(),{ariaDescribedBy:j}=g,c=`${v}--dropdown`,q=R.classnames(c,{error:d}),[y,D]=i.useState(w),S=e=>{D(e.target.value),l&&l(e)};return r.jsx("div",{className:`${c}--wrapper`,children:r.jsx("select",{ref:t,id:u||m,autoComplete:n,name:m,required:f,onChange:S,onBlur:a,disabled:o,className:q,value:y,form:x,multiple:h,size:p,"aria-describedby":j,children:b&&b.map((e,$)=>r.jsx("option",{disabled:e.disabled,label:e.label,value:e.value,children:e.label},`${c}--option--${$}`))})})}),N=i.forwardRef((s,t)=>{const{style:n,inputStyle:l,className:a,...o}=s,d=s.id?s.id:s.name;return r.jsx(C.FormControl,{fieldId:d,style:n,className:a,...o,children:r.jsx(L,{ref:t,style:l,...o})})}),z=N;exports.LabelledDropdown=z;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Dropdown-chunk--_pVhTcV.js");exports.Dropdown=e.LabelledDropdown;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Dropdown-chunk-Bn-MFT6c.js");exports.Dropdown=e.LabelledDropdown;
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),n=require("react"),c=require("./index-chunk-DCI82Tmm.js"),v=require("./useGlobalSettings-chunk-Pa38w6VS.js"),H=require("./Tooltip-chunk-Bh77DbOg.js"),i=n.createContext({hasError:!1,setHasError:t=>t}),S=()=>n.useContext(i),G=({children:t,className:d,legend:l,helper:a,tooltip:o,errorMessage:u,disabled:x=!1,wrap:$="nowrap",direction:m="column",...p})=>{const{prefix:h}=v.useGlobalSettings(),[r,C]=n.useState(!1),s=`${h}--fieldset`,j=`${s}--wrap__${$}`,_=`${s}--direction__${m}`,f=`${s}--helper`,E=`${s}__error`,b=`${s}__disabled`,F=c.classnames(d,s,j,_,{[b]:x}),N=c.classnames(f,{[E]:r}),g={hasError:r,setHasError:C},q=!!a||r,w=r?u:a;return e.jsxs("fieldset",{className:F,...p,children:[l||a?e.jsxs("div",{className:`${s}--legend-wrapper`,children:[l&&e.jsxs("legend",{className:`${s}--legend`,children:[l,o&&e.jsx(H.Tooltip,{className:`${s}--legend--tooltip`,icon:!0,label:o,theme:"dark"})]}),q&&e.jsx("span",{className:N,children:w})]}):null,e.jsx("div",{className:`${s}--elements`,children:e.jsx(i.Provider,{value:g,children:t})})]})},R=G;exports.Fieldset=R;exports.useFieldsetError=S;
1
+ "use strict";const e=require("react/jsx-runtime"),n=require("react"),c=require("./index-chunk-DCI82Tmm.js"),v=require("./useGlobalSettings-chunk-Pa38w6VS.js"),H=require("./Tooltip-chunk-Ca67o441.js"),i=n.createContext({hasError:!1,setHasError:t=>t}),S=()=>n.useContext(i),G=({children:t,className:d,legend:l,helper:a,tooltip:o,errorMessage:u,disabled:x=!1,wrap:$="nowrap",direction:m="column",...p})=>{const{prefix:h}=v.useGlobalSettings(),[r,C]=n.useState(!1),s=`${h}--fieldset`,j=`${s}--wrap__${$}`,_=`${s}--direction__${m}`,f=`${s}--helper`,E=`${s}__error`,b=`${s}__disabled`,F=c.classnames(d,s,j,_,{[b]:x}),N=c.classnames(f,{[E]:r}),g={hasError:r,setHasError:C},q=!!a||r,w=r?u:a;return e.jsxs("fieldset",{className:F,...p,children:[l||a?e.jsxs("div",{className:`${s}--legend-wrapper`,children:[l&&e.jsxs("legend",{className:`${s}--legend`,children:[l,o&&e.jsx(H.Tooltip,{className:`${s}--legend--tooltip`,icon:!0,label:o,theme:"dark"})]}),q&&e.jsx("span",{className:N,children:w})]}):null,e.jsx("div",{className:`${s}--elements`,children:e.jsx(i.Provider,{value:g,children:t})})]})},R=G;exports.Fieldset=R;exports.useFieldsetError=S;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Fieldset-chunk-BsOPbe_a.js");exports.Fieldset=e.Fieldset;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Fieldset-chunk-C3itoJam.js");exports.Fieldset=e.Fieldset;
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),m=require("react"),q=require("./index-chunk-DCI82Tmm.js"),M=require("./useGlobalSettings-chunk-Pa38w6VS.js"),x=require("./FormControl-chunk-08fp5TeU.js");function N(e,l=2){if(!+e)return"0 Bytes";const n=1024,a=l<0?0:l,o=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],t=Math.floor(Math.log(e)/Math.log(n));return`${parseFloat((e/Math.pow(n,t)).toFixed(a))} ${o[t]}`}const R=m.forwardRef(({onChange:e,onBlur:l,disabled:n=!1,error:a,id:o,multiple:t,name:c,placeholder:d,required:B,accept:h},F)=>{const{prefix:$}=M.useGlobalSettings(),p=x.useFormControl(),{ariaDescribedBy:b}=p,i=`${$}--file-upload`,j=q.classnames(i,{error:a}),C=`${i}--input`,[u,g]=m.useState(null),y=r=>{const f=r.target.files;g(f),e&&e(r)},U=o||c;return s.jsxs(s.Fragment,{children:[s.jsx("div",{className:j,children:s.jsxs("label",{className:C,children:[d,s.jsx("input",{ref:F,id:U,name:c,accept:h,onChange:y,onBlur:l,disabled:n,multiple:t,placeholder:d,required:B,type:"file","data-label":d,"aria-describedby":b})]})}),u&&u.length>0&&s.jsx("ul",{className:`${i}--list`,children:[...u].map((r,f)=>s.jsx("li",{className:`${i}--list-item`,children:`${r.name} (${N(r.size)})`},`${i}--list-item-${f}`))})]})}),S=m.forwardRef((e,l)=>{const{style:n,inputStyle:a,className:o,...t}=e,c=e.id?e.id:e.name;return s.jsx(x.FormControl,{fieldId:c,style:n,className:o,...t,children:s.jsx(R,{ref:l,style:a,...t})})}),w=S;exports.LabelledFileUpload=w;
1
+ "use strict";const s=require("react/jsx-runtime"),m=require("react"),q=require("./index-chunk-DCI82Tmm.js"),M=require("./useGlobalSettings-chunk-Pa38w6VS.js"),x=require("./FormControl-chunk-CxP6djqq.js");function N(e,l=2){if(!+e)return"0 Bytes";const n=1024,a=l<0?0:l,o=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],t=Math.floor(Math.log(e)/Math.log(n));return`${parseFloat((e/Math.pow(n,t)).toFixed(a))} ${o[t]}`}const R=m.forwardRef(({onChange:e,onBlur:l,disabled:n=!1,error:a,id:o,multiple:t,name:c,placeholder:d,required:B,accept:h},F)=>{const{prefix:$}=M.useGlobalSettings(),p=x.useFormControl(),{ariaDescribedBy:b}=p,i=`${$}--file-upload`,j=q.classnames(i,{error:a}),C=`${i}--input`,[u,g]=m.useState(null),y=r=>{const f=r.target.files;g(f),e&&e(r)},U=o||c;return s.jsxs(s.Fragment,{children:[s.jsx("div",{className:j,children:s.jsxs("label",{className:C,children:[d,s.jsx("input",{ref:F,id:U,name:c,accept:h,onChange:y,onBlur:l,disabled:n,multiple:t,placeholder:d,required:B,type:"file","data-label":d,"aria-describedby":b})]})}),u&&u.length>0&&s.jsx("ul",{className:`${i}--list`,children:[...u].map((r,f)=>s.jsx("li",{className:`${i}--list-item`,children:`${r.name} (${N(r.size)})`},`${i}--list-item-${f}`))})]})}),S=m.forwardRef((e,l)=>{const{style:n,inputStyle:a,className:o,...t}=e,c=e.id?e.id:e.name;return s.jsx(x.FormControl,{fieldId:c,style:n,className:o,...t,children:s.jsx(R,{ref:l,style:a,...t})})}),w=S;exports.LabelledFileUpload=w;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./FileUpload-chunk-CmHP-E54.js");exports.FileUpload=e.LabelledFileUpload;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./FileUpload-chunk-BhGfPLEt.js");exports.FileUpload=e.LabelledFileUpload;
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),u=require("./useGlobalSettings-chunk-Pa38w6VS.js"),$=require("./index-chunk-DCI82Tmm.js"),f=require("./LinkList-chunk-Uvotg8l4.js"),g=require("./Button-chunk-yGkEAzI3.js"),y=require("./SocialMedia-chunk-DrxlykT6.js"),q=({className:o,logo:m,tagline:x,subtagline:j,address:r,linkgroup:t,socialmedia:d,subscribe:e,legal:N,secondarylinks:n,anchorlink:c})=>{const{prefix:i}=u.useGlobalSettings(),a=`${i}--footer`,h=$.classnames(o,a);return s.jsxs("footer",{className:h,children:[s.jsxs("div",{className:`${a}--main ${i}--container`,children:[s.jsxs("div",{className:"site--info",children:[s.jsx("img",{className:`${a}--logo`,src:m,alt:"ILO Logo"}),s.jsx("h3",{className:`${a}--headline`,children:x}),s.jsx("h4",{className:`${a}--subhead`,children:j})]}),r&&s.jsx("div",{className:"address",children:r.map((l,v)=>s.jsx("p",{className:"address--line",children:l},v))}),t&&s.jsx("nav",{className:"links",children:s.jsx(f.LinkList,{linkgroup:t,theme:"dark"})}),d&&s.jsx("div",{className:"connect",children:s.jsx("div",{className:"social--links",children:s.jsx(y.SocialMedia,{...d,theme:"dark"})})}),e&&s.jsx("div",{className:"subscribe",children:s.jsx(g.Button,{label:e==null?void 0:e.label,url:e==null?void 0:e.url,type:"primary",size:"large",target:"_blank"})})]}),s.jsx("div",{className:`${a}--secondary`,children:s.jsxs("div",{className:`${i}--container`,children:[s.jsxs("div",{className:`${a}--secondary--details`,children:[s.jsx("div",{className:"legal",children:N}),n&&s.jsx("nav",{className:"secondarylinks",children:s.jsx("ul",{className:"secondarylinks--list",children:n.map(l=>s.jsx("li",{className:"secondarylinks--list--item",children:s.jsx("a",{href:l.url,className:"secondarylinks--list--link",children:l==null?void 0:l.label})},l.url))})})]}),s.jsx("a",{href:c==null?void 0:c.url,className:"anchorlink",children:c==null?void 0:c.label})]})})]})},L=q;exports.Footer=L;
1
+ "use strict";const s=require("react/jsx-runtime"),u=require("./useGlobalSettings-chunk-Pa38w6VS.js"),$=require("./index-chunk-DCI82Tmm.js"),f=require("./LinkList-chunk-Uvotg8l4.js"),g=require("./Button-chunk-7QGSjiJL.js"),y=require("./SocialMedia-chunk-jDoYRhrm.js"),q=({className:o,logo:m,tagline:x,subtagline:j,address:r,linkgroup:t,socialmedia:d,subscribe:e,legal:N,secondarylinks:n,anchorlink:c})=>{const{prefix:i}=u.useGlobalSettings(),a=`${i}--footer`,h=$.classnames(o,a);return s.jsxs("footer",{className:h,children:[s.jsxs("div",{className:`${a}--main ${i}--container`,children:[s.jsxs("div",{className:"site--info",children:[s.jsx("img",{className:`${a}--logo`,src:m,alt:"ILO Logo"}),s.jsx("h3",{className:`${a}--headline`,children:x}),s.jsx("h4",{className:`${a}--subhead`,children:j})]}),r&&s.jsx("div",{className:"address",children:r.map((l,v)=>s.jsx("p",{className:"address--line",children:l},v))}),t&&s.jsx("nav",{className:"links",children:s.jsx(f.LinkList,{linkgroup:t,theme:"dark"})}),d&&s.jsx("div",{className:"connect",children:s.jsx("div",{className:"social--links",children:s.jsx(y.SocialMedia,{...d,theme:"dark"})})}),e&&s.jsx("div",{className:"subscribe",children:s.jsx(g.Button,{label:e==null?void 0:e.label,url:e==null?void 0:e.url,type:"primary",size:"large",target:"_blank"})})]}),s.jsx("div",{className:`${a}--secondary`,children:s.jsxs("div",{className:`${i}--container`,children:[s.jsxs("div",{className:`${a}--secondary--details`,children:[s.jsx("div",{className:"legal",children:N}),n&&s.jsx("nav",{className:"secondarylinks",children:s.jsx("ul",{className:"secondarylinks--list",children:n.map(l=>s.jsx("li",{className:"secondarylinks--list--item",children:s.jsx("a",{href:l.url,className:"secondarylinks--list--link",children:l==null?void 0:l.label})},l.url))})})]}),s.jsx("a",{href:c==null?void 0:c.url,className:"anchorlink",children:c==null?void 0:c.label})]})})]})},L=q;exports.Footer=L;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Footer-chunk-BVLm3gIW.js");exports.Footer=e.Footer;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Footer-chunk-DK416bgz.js");exports.Footer=e.Footer;
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),C=require("./index-chunk-DCI82Tmm.js"),a=require("react"),G=require("./useGlobalSettings-chunk-Pa38w6VS.js"),P=require("./Tooltip-chunk-Bh77DbOg.js");let $=(o=21)=>crypto.getRandomValues(new Uint8Array(o)).reduce((e,s)=>(s&=63,s<36?e+=s.toString(36):s<62?e+=(s-26).toString(36).toUpperCase():s>62?e+="-":e+="_",e),"");function T(o="",{tooltip:e,helper:s,errorMessage:n}={}){return{tooltipId:e&&`${o}--tooltip--${$()}`,helperId:s&&`${o}--helper--${$()}`,errorId:n&&`${o}--error--${$()}`}}function U(o,e){const{tooltipId:s,helperId:n,errorId:c}=o,l=C.classnames(s,{[`${n}`]:!e,[`${c}`]:e});if(!(!l||l==="undefined"))return l}const f=a.createContext({}),V=()=>a.useContext(f),k=({children:o,className:e,label:s,helper:n,errorMessage:c,tooltip:l,style:h,error:i,disabled:b,fieldId:F,labelSize:I="medium",labelPlacement:j="top"})=>{const{prefix:v}=G.useGlobalSettings(),t=`${v}--form-control`,S=a.useMemo(()=>T(t,{helper:n,errorMessage:c,tooltip:l}),[t,n,c,l]),{tooltipId:d,helperId:u,errorId:m}=S,[g,q]=a.useState(void 0);a.useEffect(()=>{q(U({tooltipId:d,helperId:u,errorId:m},i))},[d,u,m,i]);const B={ariaDescribedBy:g},N=`${t}__error`,A=`${t}__disabled`,D=`${t}__label-placement__${j}`,w=C.classnames(t,e,D,[{[N]:i},{[A]:b}]),p=`${t}--label`,y=`${p}__size__${I}`,R=C.classnames(p,y),x=`${t}--helper`,_=!!i&&!!c,z=!_&&!!n;return r.jsx(f.Provider,{value:B,children:r.jsxs("div",{className:w,style:h,children:[r.jsxs("span",{className:R,children:[r.jsx("label",{htmlFor:F,children:s}),l&&r.jsx(P.Tooltip,{id:d,className:`${t}--legend--tooltip`,icon:!0,label:l,theme:"dark"})]}),o,z&&r.jsx("span",{id:u,className:x,children:n}),_&&r.jsx("span",{id:m,className:x,"aria-live":"assertive",children:c})]})})},E=k;exports.FormControl=E;exports.useFormControl=V;
1
+ "use strict";const r=require("react/jsx-runtime"),C=require("./index-chunk-DCI82Tmm.js"),a=require("react"),G=require("./useGlobalSettings-chunk-Pa38w6VS.js"),P=require("./Tooltip-chunk-Ca67o441.js");let $=(o=21)=>crypto.getRandomValues(new Uint8Array(o)).reduce((e,s)=>(s&=63,s<36?e+=s.toString(36):s<62?e+=(s-26).toString(36).toUpperCase():s>62?e+="-":e+="_",e),"");function T(o="",{tooltip:e,helper:s,errorMessage:n}={}){return{tooltipId:e&&`${o}--tooltip--${$()}`,helperId:s&&`${o}--helper--${$()}`,errorId:n&&`${o}--error--${$()}`}}function U(o,e){const{tooltipId:s,helperId:n,errorId:c}=o,l=C.classnames(s,{[`${n}`]:!e,[`${c}`]:e});if(!(!l||l==="undefined"))return l}const f=a.createContext({}),V=()=>a.useContext(f),k=({children:o,className:e,label:s,helper:n,errorMessage:c,tooltip:l,style:h,error:i,disabled:b,fieldId:F,labelSize:I="medium",labelPlacement:j="top"})=>{const{prefix:v}=G.useGlobalSettings(),t=`${v}--form-control`,S=a.useMemo(()=>T(t,{helper:n,errorMessage:c,tooltip:l}),[t,n,c,l]),{tooltipId:d,helperId:u,errorId:m}=S,[g,q]=a.useState(void 0);a.useEffect(()=>{q(U({tooltipId:d,helperId:u,errorId:m},i))},[d,u,m,i]);const B={ariaDescribedBy:g},N=`${t}__error`,A=`${t}__disabled`,D=`${t}__label-placement__${j}`,w=C.classnames(t,e,D,[{[N]:i},{[A]:b}]),p=`${t}--label`,y=`${p}__size__${I}`,R=C.classnames(p,y),x=`${t}--helper`,_=!!i&&!!c,z=!_&&!!n;return r.jsx(f.Provider,{value:B,children:r.jsxs("div",{className:w,style:h,children:[r.jsxs("span",{className:R,children:[r.jsx("label",{htmlFor:F,children:s}),l&&r.jsx(P.Tooltip,{id:d,className:`${t}--legend--tooltip`,icon:!0,label:l,theme:"dark"})]}),o,z&&r.jsx("span",{id:u,className:x,children:n}),_&&r.jsx("span",{id:m,className:x,"aria-live":"assertive",children:c})]})})},E=k;exports.FormControl=E;exports.useFormControl=V;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./FormControl-chunk-08fp5TeU.js");exports.FormControl=o.FormControl;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./FormControl-chunk-CxP6djqq.js");exports.FormControl=o.FormControl;
@@ -0,0 +1 @@
1
+ "use strict";const r=require("react/jsx-runtime"),d=require("react"),h=require("./index-chunk-DCI82Tmm.js"),N=require("./useGlobalSettings-chunk-Pa38w6VS.js"),f=require("./Breadcrumb-chunk-BGt10GMr.js"),v=require("./Tooltip-chunk-Ca67o441.js"),q=require("./HeroCard-chunk-CCNjdbBJ.js"),k=d.forwardRef(({className:l,justify:o="start",align:u="baseline",cardSize:_="small",posterSize:$="large",theme:x="dark",image:e,breadcrumb:c,heroCard:j,caption:t,gap:i},p)=>{const{prefix:m}=N.useGlobalSettings(),s="hero",n=d.useMemo(()=>e?e==null?void 0:e.url.sort((a,b)=>a.breakpoint-b.breakpoint):[],[e]);return r.jsxs("div",{ref:p,className:h.classnames(s,`${s}__card-justify__${o}`,`${s}__card-align__${u}`,`${s}__card-size__${_}`,`${s}__poster-size__${$}`,`${s}__card-theme__${x}`,{[`${s}__gap__${i}`]:i},l),children:[r.jsx("div",{className:`${s}--background`,children:e&&r.jsx("figure",{className:`${s}--image`,children:r.jsxs("picture",{children:[n.map(a=>r.jsx("source",{srcSet:a.src,media:`(min-width: ${a.breakpoint}px)`},a.breakpoint)),r.jsx("img",{className:`${m}-${s}--image`,src:n.at(-1).src,alt:e.alt})]})})}),c&&r.jsx("div",{className:`${s}--breadcrumbs`,children:r.jsx("div",{className:`${s}--breadcrumbs--wrapper`,children:r.jsx(f.Breadcrumb,{...c})})}),r.jsx("div",{className:`${s}--card-offset`}),r.jsx("div",{className:`${s}--card`,children:r.jsx(q.HeroCard,{...j})}),t&&r.jsx("div",{className:`${s}--caption`,children:r.jsx("div",{className:`${s}--caption--wrapper`,children:r.jsx(v.Tooltip,{...t})})})]})});exports.Hero=k;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Hero-chunk-DiUWCO_D.js");exports.Hero=e.Hero;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),j=require("react"),_=require("./index-chunk-DCI82Tmm.js"),m=require("./SocialMedia-chunk-jDoYRhrm.js"),d=require("./useGlobalSettings-chunk-Pa38w6VS.js"),N=({title:c,url:r})=>{const{prefix:n}=d.useGlobalSettings(),a=`${n}--hero-card--title`;return r?e.jsx("a",{className:`${a}-link`,href:r,children:e.jsx("h1",{className:a,children:c})}):e.jsx("h1",{className:a,children:c})},b=j.forwardRef(({className:c,theme:r="dark",background:n="solid",cornercut:a=!0,eyebrow:t,title:u,url:x,intro:i,datecopy:l,socialmedia:o},h)=>{const{prefix:$}=d.useGlobalSettings(),s=`${$}--hero-card`;return e.jsxs("div",{ref:h,className:_.classnames({[s]:!0,[`${s}__background__${n}`]:!0,[`${s}__theme__${r}`]:!0,[`${s}__cornercut`]:a,className:c}),children:[t&&e.jsx("p",{className:`${s}--eyebrow`,children:t}),e.jsx(N,{title:u,url:x}),i&&e.jsx("p",{className:`${s}--intro`,children:i}),l&&e.jsx("p",{className:`${s}--datecopy`,children:l}),o&&e.jsx(m.SocialMedia,{...o,theme:r})]})});exports.HeroCard=b;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./HeroCard-chunk-CCNjdbBJ.js");exports.HeroCard=e.HeroCard;