@ilo-org/react 0.19.0 → 0.21.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 (240) hide show
  1. package/lib/cjs/_store/Blockquote-entry-BwhpFsWX.js +1 -0
  2. package/lib/cjs/_store/{Breadcrumb-chunk-BGt10GMr.js → Breadcrumb-chunk-DkUvpxym.js} +1 -1
  3. package/lib/cjs/_store/{Breadcrumb-entry-BcWOPogy.js → Breadcrumb-entry-PID5wRYn.js} +1 -1
  4. package/lib/cjs/_store/Button-chunk-D32W9ElW.js +1 -0
  5. package/lib/cjs/_store/Button-entry-CKgu8Gr2.js +1 -0
  6. package/lib/cjs/_store/Callout-chunk-CQirdJVX.js +1 -0
  7. package/lib/cjs/_store/Callout-entry-Dtce24cy.js +1 -0
  8. package/lib/cjs/_store/CardGroup-chunk-C_EtI9iK.js +1 -0
  9. package/lib/cjs/_store/Cards-entry-C_9kqjEx.js +1 -0
  10. package/lib/cjs/_store/ContextMenu-chunk-Dl3-wUCt.js +1 -0
  11. package/lib/cjs/_store/{ContextMenu-entry-UwZc4yU3.js → ContextMenu-entry-Bzzoi_xM.js} +1 -1
  12. package/lib/cjs/_store/Footer-chunk-6AdazgST.js +1 -0
  13. package/lib/cjs/_store/{Footer-entry-CI7x98xM.js → Footer-entry-D6eg1T-c.js} +1 -1
  14. package/lib/cjs/_store/{Hero-chunk-DiUWCO_D.js → Hero-chunk-B3vu8ihD.js} +1 -1
  15. package/lib/cjs/_store/{Hero-entry-AK8D7qYH.js → Hero-entry-CAssbp0C.js} +1 -1
  16. package/lib/cjs/_store/{HeroCard-chunk-CCNjdbBJ.js → HeroCard-chunk-Cdyuf9Gw.js} +1 -1
  17. package/lib/cjs/_store/{HeroCard-entry-BGUHZKKh.js → HeroCard-entry-Z_H24PlF.js} +1 -1
  18. package/lib/cjs/_store/Icon-chunk-Dej6jVSI.js +1 -0
  19. package/lib/cjs/_store/{Icon-entry-8e8qxrkm.js → Icon-entry-DCjXkjhC.js} +1 -1
  20. package/lib/cjs/_store/LanguageToggle-chunk-CrtaBUlW.js +1 -0
  21. package/lib/cjs/_store/LanguageToggle-entry-CHgP8iuU.js +1 -0
  22. package/lib/cjs/_store/Link-chunk-BfaKuVjz.js +1 -0
  23. package/lib/cjs/_store/{Link-entry-CFNVpDIo.js → Link-entry-BvkC504w.js} +1 -1
  24. package/lib/cjs/_store/LinkList-chunk-Eu43ZSAZ.js +1 -0
  25. package/lib/cjs/_store/{LinkList-entry-C2ZrAw9R.js → LinkList-entry-CUlAuyeY.js} +1 -1
  26. package/lib/cjs/_store/List-entry-DzqbzyL4.js +1 -0
  27. package/lib/cjs/_store/Nav-entry-BxYm9ulI.js +1 -0
  28. package/lib/cjs/_store/Notification-chunk-Cby6Dnh1.js +1 -0
  29. package/lib/cjs/_store/{Notification-entry-CRW1397K.js → Notification-entry-RCqY6YnO.js} +1 -1
  30. package/lib/cjs/_store/Profile-chunk-D1tXXPUO.js +1 -0
  31. package/lib/cjs/_store/{Profile-entry-DHpgLCAp.js → Profile-entry-B6vm7ggs.js} +1 -1
  32. package/lib/cjs/_store/{SearchField-chunk-BkrZKT5S.js → SearchField-chunk-uIkdwz2L.js} +1 -1
  33. package/lib/cjs/_store/{SearchField-entry-DoVeY_de.js → SearchField-entry-3sd9miiq.js} +1 -1
  34. package/lib/cjs/_store/SocialMedia-chunk-BbnrRkts.js +1 -0
  35. package/lib/cjs/_store/SocialMedia-entry-D5GkSSA8.js +1 -0
  36. package/lib/cjs/_store/SubsiteNav-chunk-BphCnfvs.js +1 -0
  37. package/lib/cjs/_store/{Tabs-chunk-CnXjQYpB.js → Tabs-chunk-C2PIPQgI.js} +1 -1
  38. package/lib/cjs/_store/{Tabs-entry-BRmJxjI6.js → Tabs-entry-Bicz4Q2A.js} +1 -1
  39. package/lib/cjs/_store/{Tag-chunk-B-UjKiml.js → Tag-chunk-DUz8ZjA1.js} +1 -1
  40. package/lib/cjs/_store/{Tag-entry-Dv_p5zCg.js → Tag-entry-D8aAuglc.js} +1 -1
  41. package/lib/cjs/_store/components-entry-BU_6L6id.js +1 -0
  42. package/lib/cjs/_store/index.js +1 -1
  43. package/lib/cjs/_store/useBreakpoint-chunk-CBEGGRKj.js +1 -0
  44. package/lib/cjs/index.js +1 -1
  45. package/lib/esm/_store/Blockquote-entry-DccNMBEH.js +15 -0
  46. package/lib/esm/_store/{Breadcrumb-chunk-DcsXzPvT.js → Breadcrumb-chunk-DcupgWDR.js} +1 -1
  47. package/lib/esm/_store/Breadcrumb-entry-1SOUCUgD.js +4 -0
  48. package/lib/esm/_store/Button-chunk-BlSnS8yQ.js +60 -0
  49. package/lib/esm/_store/Button-entry-ee89gQMg.js +4 -0
  50. package/lib/esm/_store/Callout-chunk-C7nmBZcD.js +66 -0
  51. package/lib/esm/_store/Callout-entry-CnD2XuMo.js +4 -0
  52. package/lib/esm/_store/CardGroup-chunk-BykGdrCT.js +425 -0
  53. package/lib/esm/_store/Cards-entry-DjtBPvwt.js +12 -0
  54. package/lib/esm/_store/ContextMenu-chunk-D-riZIFp.js +32 -0
  55. package/lib/esm/_store/ContextMenu-entry-BN-vEJes.js +4 -0
  56. package/lib/esm/_store/Footer-chunk-mcaEIXdt.js +72 -0
  57. package/lib/esm/_store/Footer-entry-BOC16qVW.js +4 -0
  58. package/lib/esm/_store/{Hero-chunk-swloBIGl.js → Hero-chunk-C1gFHcIP.js} +2 -2
  59. package/lib/esm/_store/Hero-entry-DWpRL6uz.js +4 -0
  60. package/lib/esm/_store/{HeroCard-chunk-fz3EIUiE.js → HeroCard-chunk-3mxIZYwU.js} +1 -1
  61. package/lib/esm/_store/HeroCard-entry-D0SDv0dt.js +4 -0
  62. package/lib/esm/_store/{Icon-chunk-nLD8VsP5.js → Icon-chunk-BE5t6PqR.js} +1353 -1138
  63. package/lib/esm/_store/Icon-entry-CzaGrGSM.js +4 -0
  64. package/lib/esm/_store/LanguageToggle-chunk-CsayoJqR.js +70 -0
  65. package/lib/esm/_store/LanguageToggle-entry-D3t_X2Qk.js +4 -0
  66. package/lib/esm/_store/Link-chunk-CKAMN_c4.js +33 -0
  67. package/lib/esm/_store/Link-entry-BOoBMNWv.js +4 -0
  68. package/lib/esm/_store/LinkList-chunk-BM5BTk9m.js +45 -0
  69. package/lib/esm/_store/LinkList-entry-mR4xR8Bg.js +4 -0
  70. package/lib/esm/_store/List-entry-XHat7PmC.js +33 -0
  71. package/lib/esm/_store/Nav-entry-CsQzrNK7.js +4 -0
  72. package/lib/esm/_store/Notification-chunk-BYrbd5f9.js +69 -0
  73. package/lib/esm/_store/Notification-entry-S8DjBxLM.js +4 -0
  74. package/lib/esm/_store/Profile-chunk-Tpvzafuk.js +41 -0
  75. package/lib/esm/_store/Profile-entry-ukgxaZNZ.js +4 -0
  76. package/lib/esm/_store/{SearchField-chunk-DfXCHmW0.js → SearchField-chunk-D-S-SV-o.js} +1 -1
  77. package/lib/esm/_store/SearchField-entry-z8Lw_Sko.js +4 -0
  78. package/lib/esm/_store/{SocialMedia-chunk-B0IPGaVf.js → SocialMedia-chunk-BP6TBNEf.js} +7 -7
  79. package/lib/esm/_store/SocialMedia-entry-C60BCp7g.js +63 -0
  80. package/lib/esm/_store/SubsiteNav-chunk-C97AqH9F.js +549 -0
  81. package/lib/esm/_store/{Tabs-chunk-CpUcNAK9.js → Tabs-chunk-C6iAood1.js} +1 -1
  82. package/lib/esm/_store/Tabs-entry-Di-TeLEj.js +4 -0
  83. package/lib/esm/_store/{Tag-chunk-6_6Oh_I3.js → Tag-chunk-DRiFjL6-.js} +1 -1
  84. package/lib/esm/_store/{Tag-entry-B40IGpPj.js → Tag-entry-D_EdPheu.js} +2 -2
  85. package/lib/esm/_store/components-entry-COAKlxYx.js +96 -0
  86. package/lib/esm/_store/index.js +4 -2
  87. package/lib/esm/_store/useBreakpoint-chunk-DBZTYUx9.js +54 -0
  88. package/lib/esm/index.js +68 -56
  89. package/lib/styles/components/blockquote.css +1 -0
  90. package/lib/styles/components/card.css +1 -1
  91. package/lib/styles/components/datacard.css +1 -1
  92. package/lib/styles/components/featurecard.css +1 -1
  93. package/lib/styles/components/languagetoggle.css +1 -0
  94. package/lib/styles/components/list.css +1 -1
  95. package/lib/styles/components/multilinkcard.css +1 -1
  96. package/lib/styles/components/richtext.css +1 -1
  97. package/lib/styles/components/socialmedia.css +1 -1
  98. package/lib/styles/components/video.css +1 -1
  99. package/lib/styles/global.css +1 -1
  100. package/lib/styles/global.css.map +1 -1
  101. package/lib/styles/index.css +2 -2
  102. package/lib/styles/index.css.map +1 -1
  103. package/lib/styles/monorepo.css +2 -2
  104. package/lib/styles/monorepo.css.map +1 -1
  105. package/lib/types/components/Blockquote/Blockquote.d.ts +6 -0
  106. package/lib/types/components/Blockquote/index.d.ts +1 -0
  107. package/lib/types/components/Button/Button.d.ts +83 -4
  108. package/lib/types/components/Button/index.d.ts +1 -2
  109. package/lib/types/components/Callout/Callout.d.ts +50 -4
  110. package/lib/types/components/Callout/index.d.ts +1 -2
  111. package/lib/types/components/Cards/CardGroup.d.ts +31 -0
  112. package/lib/types/components/Cards/DataCard.d.ts +50 -0
  113. package/lib/types/components/Cards/DetailCard.d.ts +54 -0
  114. package/lib/types/components/Cards/FactListCard.d.ts +30 -0
  115. package/lib/types/components/Cards/{FeatureCard/FeatureCard.props.d.ts → FeatureCard.d.ts} +17 -5
  116. package/lib/types/components/Cards/MultiLinkCard.d.ts +52 -0
  117. package/lib/types/components/Cards/{PromoCard/PromoCard.props.d.ts → PromoCard.d.ts} +16 -4
  118. package/lib/types/components/Cards/StatCard.d.ts +39 -0
  119. package/lib/types/components/Cards/{TextCard/TextCard.props.d.ts → TextCard.d.ts} +16 -4
  120. package/lib/types/components/Cards/index.d.ts +9 -0
  121. package/lib/types/components/ContextMenu/ContextMenu.d.ts +4 -0
  122. package/lib/types/components/Footer/Footer.d.ts +50 -4
  123. package/lib/types/components/Footer/index.d.ts +1 -1
  124. package/lib/types/components/LanguageToggle/LanguageToggle.d.ts +25 -0
  125. package/lib/types/components/LanguageToggle/index.d.ts +1 -0
  126. package/lib/types/components/Link/Link.d.ts +55 -4
  127. package/lib/types/components/Link/index.d.ts +1 -1
  128. package/lib/types/components/LinkList/LinkList.d.ts +45 -4
  129. package/lib/types/components/LinkList/index.d.ts +1 -1
  130. package/lib/types/components/List/List.d.ts +54 -4
  131. package/lib/types/components/List/ListItem.d.ts +22 -4
  132. package/lib/types/components/List/index.d.ts +18 -2
  133. package/lib/types/components/Nav/Navigation.props.d.ts +112 -0
  134. package/lib/types/components/Nav/NavigationDropdown.d.ts +19 -0
  135. package/lib/types/components/Nav/NavigationLink.d.ts +4 -0
  136. package/lib/types/components/Nav/NavigationMenu.d.ts +13 -0
  137. package/lib/types/components/Nav/NavigationMenuGrid.d.ts +7 -0
  138. package/lib/types/components/Nav/Subsite/CompactNav.d.ts +4 -0
  139. package/lib/types/components/Nav/Subsite/ComplexNav.d.ts +4 -0
  140. package/lib/types/components/Nav/Subsite/SubsiteNav.d.ts +4 -0
  141. package/lib/types/components/Nav/index.d.ts +2 -0
  142. package/lib/types/components/Nav/mobile/MobileDrawer.d.ts +27 -0
  143. package/lib/types/components/Nav/mobile/MobileLanguageList.d.ts +9 -0
  144. package/lib/types/components/Nav/mobile/MobileMenuList.d.ts +8 -0
  145. package/lib/types/components/Nav/mobile/MobileNavigation.d.ts +15 -0
  146. package/lib/types/components/Nav/useNavSetup.d.ts +22 -0
  147. package/lib/types/components/Notification/Notification.d.ts +55 -4
  148. package/lib/types/components/Notification/index.d.ts +1 -1
  149. package/lib/types/components/Profile/Profile.d.ts +46 -4
  150. package/lib/types/components/Profile/index.d.ts +1 -1
  151. package/lib/types/components/SocialMedia/SocialMedia.d.ts +2 -43
  152. package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +46 -0
  153. package/lib/types/components/SocialMedia/index.d.ts +3 -1
  154. package/lib/types/components/index.d.ts +3 -1
  155. package/lib/types/hooks/index.d.ts +1 -0
  156. package/lib/types/hooks/useBreakpoint.d.ts +7 -0
  157. package/lib/types/types/index.d.ts +1 -1
  158. package/package.json +10 -9
  159. package/lib/cjs/_store/Button-chunk-7QGSjiJL.js +0 -1
  160. package/lib/cjs/_store/Button-entry-B74K2XLp.js +0 -1
  161. package/lib/cjs/_store/Callout-chunk-DI_rZPkx.js +0 -1
  162. package/lib/cjs/_store/Callout-entry-GC_lYwL3.js +0 -1
  163. package/lib/cjs/_store/CardGroup-chunk-CrzLMpzZ.js +0 -1
  164. package/lib/cjs/_store/ContextMenu-chunk-Ch5u_T0d.js +0 -1
  165. package/lib/cjs/_store/Footer-chunk-DK416bgz.js +0 -1
  166. package/lib/cjs/_store/Icon-chunk-BiF41wYy.js +0 -1
  167. package/lib/cjs/_store/Link-chunk-B_ZIovS2.js +0 -1
  168. package/lib/cjs/_store/LinkList-chunk-Uvotg8l4.js +0 -1
  169. package/lib/cjs/_store/List-entry-CWz5DRJJ.js +0 -1
  170. package/lib/cjs/_store/ListItem-chunk-CHb4_N2-.js +0 -1
  171. package/lib/cjs/_store/LocalNav-entry-SfLDP8BS.js +0 -1
  172. package/lib/cjs/_store/Notification-chunk-BudHdd0h.js +0 -1
  173. package/lib/cjs/_store/Profile-chunk-BH98cR85.js +0 -1
  174. package/lib/cjs/_store/SocialMedia-chunk-jDoYRhrm.js +0 -1
  175. package/lib/cjs/_store/SocialMedia-entry-tsTF-Jtj.js +0 -1
  176. package/lib/cjs/_store/components-entry-CDxRih4j.js +0 -1
  177. package/lib/esm/_store/Breadcrumb-entry-B7kN28qm.js +0 -4
  178. package/lib/esm/_store/Button-chunk-CTOnaHZ_.js +0 -61
  179. package/lib/esm/_store/Button-entry-DRu9gUR5.js +0 -30
  180. package/lib/esm/_store/Callout-chunk-CsEfqAuS.js +0 -63
  181. package/lib/esm/_store/Callout-entry-sXFzYEzc.js +0 -31
  182. package/lib/esm/_store/CardGroup-chunk-0V0yYua2.js +0 -356
  183. package/lib/esm/_store/ContextMenu-chunk-Zy9igFLz.js +0 -30
  184. package/lib/esm/_store/ContextMenu-entry-C_rAD9kF.js +0 -4
  185. package/lib/esm/_store/Footer-chunk-Cfulou_M.js +0 -53
  186. package/lib/esm/_store/Footer-entry-xjy-auY5.js +0 -4
  187. package/lib/esm/_store/Hero-entry-DxQnc1Ze.js +0 -4
  188. package/lib/esm/_store/HeroCard-entry-Cp6p3FnU.js +0 -4
  189. package/lib/esm/_store/Icon-entry-CCd9MEER.js +0 -4
  190. package/lib/esm/_store/Link-chunk-zt732cUC.js +0 -36
  191. package/lib/esm/_store/Link-entry-BY4hUubQ.js +0 -4
  192. package/lib/esm/_store/LinkList-chunk-Doq6Z7IG.js +0 -41
  193. package/lib/esm/_store/LinkList-entry-B2LOzklm.js +0 -4
  194. package/lib/esm/_store/List-entry-C68jMDRE.js +0 -5
  195. package/lib/esm/_store/ListItem-chunk-CKnxZe3Y.js +0 -26
  196. package/lib/esm/_store/LocalNav-entry-DydB3k67.js +0 -4
  197. package/lib/esm/_store/Notification-chunk-VfaNI3r9.js +0 -61
  198. package/lib/esm/_store/Notification-entry-BIQsCmF2.js +0 -4
  199. package/lib/esm/_store/Profile-chunk-Bsn46OaP.js +0 -38
  200. package/lib/esm/_store/Profile-entry-CE39-Kzc.js +0 -4
  201. package/lib/esm/_store/SearchField-entry-qYGaidSz.js +0 -4
  202. package/lib/esm/_store/SocialMedia-entry-Dq52Wl-z.js +0 -4
  203. package/lib/esm/_store/Tabs-entry-BARAHSrA.js +0 -4
  204. package/lib/esm/_store/components-entry-BW50D0h0.js +0 -86
  205. package/lib/types/components/Button/Button.props.d.ts +0 -69
  206. package/lib/types/components/Callout/Callout.props.d.ts +0 -51
  207. package/lib/types/components/Cards/CardGroup/CardGroup.d.ts +0 -5
  208. package/lib/types/components/Cards/CardGroup/CardGroup.props.d.ts +0 -86
  209. package/lib/types/components/Cards/CardGroup/index.d.ts +0 -3
  210. package/lib/types/components/Cards/DataCard/DataCard.d.ts +0 -5
  211. package/lib/types/components/Cards/DataCard/DataCard.props.d.ts +0 -51
  212. package/lib/types/components/Cards/DataCard/index.d.ts +0 -3
  213. package/lib/types/components/Cards/DetailCard/DetailCard.d.ts +0 -5
  214. package/lib/types/components/Cards/DetailCard/DetailCard.props.d.ts +0 -40
  215. package/lib/types/components/Cards/DetailCard/index.d.ts +0 -3
  216. package/lib/types/components/Cards/FactlistCard/FactListCard.d.ts +0 -5
  217. package/lib/types/components/Cards/FactlistCard/FactListCard.props.d.ts +0 -21
  218. package/lib/types/components/Cards/FactlistCard/index.d.ts +0 -3
  219. package/lib/types/components/Cards/FeatureCard/FeatureCard.d.ts +0 -5
  220. package/lib/types/components/Cards/FeatureCard/index.d.ts +0 -3
  221. package/lib/types/components/Cards/MultilinkCard/MultiLinkCard.d.ts +0 -5
  222. package/lib/types/components/Cards/MultilinkCard/MultilinkCard.props.d.ts +0 -30
  223. package/lib/types/components/Cards/MultilinkCard/index.d.ts +0 -3
  224. package/lib/types/components/Cards/PromoCard/PromoCard.d.ts +0 -5
  225. package/lib/types/components/Cards/PromoCard/index.d.ts +0 -3
  226. package/lib/types/components/Cards/StatCard/StatCard.d.ts +0 -5
  227. package/lib/types/components/Cards/StatCard/StatCard.props.d.ts +0 -26
  228. package/lib/types/components/Cards/StatCard/index.d.ts +0 -3
  229. package/lib/types/components/Cards/TextCard/TextCard.d.ts +0 -5
  230. package/lib/types/components/Cards/TextCard/index.d.ts +0 -3
  231. package/lib/types/components/Footer/Footer.props.d.ts +0 -49
  232. package/lib/types/components/Link/Link.props.d.ts +0 -33
  233. package/lib/types/components/LinkList/LinkList.props.d.ts +0 -44
  234. package/lib/types/components/List/List.props.d.ts +0 -25
  235. package/lib/types/components/List/ListItem.props.d.ts +0 -16
  236. package/lib/types/components/LocalNav/LocalNav.d.ts +0 -5
  237. package/lib/types/components/LocalNav/LocalNav.props.d.ts +0 -38
  238. package/lib/types/components/LocalNav/index.d.ts +0 -1
  239. package/lib/types/components/Notification/Notification.props.d.ts +0 -57
  240. package/lib/types/components/Profile/Profile.props.d.ts +0 -47
@@ -0,0 +1,4 @@
1
+ import { I } from "./Icon-chunk-BE5t6PqR.js";
2
+ export {
3
+ I as Icon
4
+ };
@@ -0,0 +1,70 @@
1
+ import { jsxs as i, jsx as c } from "react/jsx-runtime";
2
+ import { forwardRef as R, useState as _, useRef as l, useLayoutEffect as m } from "react";
3
+ import { u as w } from "./useGlobalSettings-chunk-gkijV3S1.js";
4
+ import { c as f } from "./index-chunk-0LeqwHm8.js";
5
+ import { C as N } from "./ContextMenu-chunk-D-riZIFp.js";
6
+ const y = R(
7
+ ({ className: d, language: p, theme: g = "light", hideIcon: x, options: a, ...$ }, h) => {
8
+ const { prefix: C } = w(), [n, u] = _(!1), o = l(null), t = l(null), e = `${C}--language-toggle`;
9
+ return m(() => {
10
+ function r(s) {
11
+ !t.current || !o.current || !t.current.contains(s.target) && !o.current.contains(s.target) && u(!1);
12
+ }
13
+ return document.addEventListener("mousedown", r), () => {
14
+ document.removeEventListener("mousedown", r);
15
+ };
16
+ }), m(() => {
17
+ if (!(!o.current || !t.current) && n) {
18
+ const r = o.current.getBoundingClientRect(), s = t.current.getBoundingClientRect();
19
+ t.current.style.left = `${r.left + (r.width - s.width) / 2}px`, t.current.style.top = `${r.bottom}px`;
20
+ }
21
+ }, [n]), /* @__PURE__ */ i(
22
+ "div",
23
+ {
24
+ ref: h,
25
+ className: f(
26
+ e,
27
+ d,
28
+ `${e}__theme__${g}`,
29
+ {
30
+ [`${e}__open`]: n
31
+ }
32
+ ),
33
+ ...$,
34
+ children: [
35
+ /* @__PURE__ */ i(
36
+ "button",
37
+ {
38
+ className: `${e}--container`,
39
+ ref: o,
40
+ onClick: () => {
41
+ u(!n);
42
+ },
43
+ "aria-controls": `${e}--context-menu`,
44
+ "aria-expanded": n,
45
+ children: [
46
+ !x && /* @__PURE__ */ c("span", { className: `${e}--icon` }),
47
+ /* @__PURE__ */ c("span", { className: `${e}--action`, children: p }),
48
+ /* @__PURE__ */ c("span", { className: `${e}--arrow` })
49
+ ]
50
+ }
51
+ ),
52
+ a && /* @__PURE__ */ c(
53
+ N,
54
+ {
55
+ withPortal: !0,
56
+ ref: t,
57
+ links: a,
58
+ className: f(`${e}--context-menu`, {
59
+ [`${e}--context-menu__open`]: n
60
+ })
61
+ }
62
+ )
63
+ ]
64
+ }
65
+ );
66
+ }
67
+ );
68
+ export {
69
+ y as L
70
+ };
@@ -0,0 +1,4 @@
1
+ import { L as e } from "./LanguageToggle-chunk-CsayoJqR.js";
2
+ export {
3
+ e as LanguageToggle
4
+ };
@@ -0,0 +1,33 @@
1
+ import { jsxs as a, jsx as c } from "react/jsx-runtime";
2
+ import { forwardRef as d } from "react";
3
+ import { c as m } from "./index-chunk-0LeqwHm8.js";
4
+ import { u as k } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ const j = d(
6
+ ({ children: e, className: r, label: n, target: i, theme: s = "light", url: t, ...l }, f) => {
7
+ const { prefix: p } = k();
8
+ let o = `${p}--link`;
9
+ r != null && r.includes("button") && (o = "");
10
+ const u = m(r, {
11
+ [o]: !0,
12
+ [`${o}--${s}`]: o && s
13
+ });
14
+ return /* @__PURE__ */ a(
15
+ "a",
16
+ {
17
+ ref: f,
18
+ className: u,
19
+ href: t,
20
+ target: i,
21
+ rel: i ? "noopener noreferrer" : void 0,
22
+ ...l,
23
+ children: [
24
+ n && /* @__PURE__ */ c("span", { className: "link__label", children: n }),
25
+ e
26
+ ]
27
+ }
28
+ );
29
+ }
30
+ );
31
+ export {
32
+ j as L
33
+ };
@@ -0,0 +1,4 @@
1
+ import { L } from "./Link-chunk-CKAMN_c4.js";
2
+ export {
3
+ L as Link
4
+ };
@@ -0,0 +1,45 @@
1
+ import { jsxs as i, jsx as l } from "react/jsx-runtime";
2
+ import { forwardRef as p } from "react";
3
+ import { c as r } from "./index-chunk-0LeqwHm8.js";
4
+ import { u as N } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ const x = p(
6
+ ({ className: c, headline: n, linkgroup: m, theme: d = "light" }, t) => {
7
+ const { prefix: h } = N(), s = `${h}--link-list`;
8
+ return /* @__PURE__ */ i(
9
+ "div",
10
+ {
11
+ ref: t,
12
+ className: r(s, c, `${s}--${d}`),
13
+ children: [
14
+ n && /* @__PURE__ */ l("h3", { className: `${s}--headline`, children: n }),
15
+ /* @__PURE__ */ l("ul", { className: `${s}--linkgroups`, children: m.map((e, o) => /* @__PURE__ */ i(
16
+ "li",
17
+ {
18
+ className: `${s}--linkgroups-item`,
19
+ children: [
20
+ e.headline && /* @__PURE__ */ l("h4", { className: `${s}--links--headline`, children: e.headline }),
21
+ /* @__PURE__ */ l("ul", { className: `${s}--links`, children: e.links.map((a, $) => /* @__PURE__ */ l(
22
+ "li",
23
+ {
24
+ className: r(`${s}--links--item`, {
25
+ indented: a.indented
26
+ }),
27
+ children: /* @__PURE__ */ i("a", { href: a.url, className: `${s}--link`, children: [
28
+ /* @__PURE__ */ l("span", { className: `${s}--label`, children: a.label }),
29
+ /* @__PURE__ */ l("span", { className: `${s}--icon` })
30
+ ] })
31
+ },
32
+ `link-${$}`
33
+ )) })
34
+ ]
35
+ },
36
+ `linkgroup-${o}`
37
+ )) })
38
+ ]
39
+ }
40
+ );
41
+ }
42
+ );
43
+ export {
44
+ x as L
45
+ };
@@ -0,0 +1,4 @@
1
+ import { L as o } from "./LinkList-chunk-BM5BTk9m.js";
2
+ export {
3
+ o as LinkList
4
+ };
@@ -0,0 +1,33 @@
1
+ import { jsxs as d, jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as c } from "react";
3
+ import { c as m } from "./index-chunk-0LeqwHm8.js";
4
+ import { u as f } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ const p = c(
6
+ ({
7
+ children: t,
8
+ className: i,
9
+ alignment: n = "default",
10
+ ordered: e = "unstyled",
11
+ title: l,
12
+ theme: o = "light",
13
+ ...r
14
+ }, u) => {
15
+ const { prefix: _ } = f(), s = `${_}--list`, $ = m(i, s, {
16
+ [`${s}__unstyled`]: e === "unstyled",
17
+ [`${s}__horizontal`]: n === "horizontal",
18
+ [`${s}__theme__${o}`]: o
19
+ });
20
+ return /* @__PURE__ */ d("div", { className: $, ref: u, ...r, children: [
21
+ l && /* @__PURE__ */ a("h2", { className: `${s}--title`, children: l }),
22
+ e === "ordered" ? /* @__PURE__ */ a("ol", { children: t }) : /* @__PURE__ */ a("ul", { children: t })
23
+ ] });
24
+ }
25
+ ), h = c(
26
+ ({ children: t, className: i, ...n }, e) => {
27
+ const { prefix: l } = f(), o = `${l}--list--item`, r = m(i, o);
28
+ return /* @__PURE__ */ a("li", { className: r, ref: e, ...n, children: t });
29
+ }
30
+ ), j = Object.assign(p, { Item: h });
31
+ export {
32
+ j as List
33
+ };
@@ -0,0 +1,4 @@
1
+ import { S as o } from "./SubsiteNav-chunk-C97AqH9F.js";
2
+ export {
3
+ o as SubsiteNav
4
+ };
@@ -0,0 +1,69 @@
1
+ import { jsx as e, Fragment as $, jsxs as n } from "react/jsx-runtime";
2
+ import { forwardRef as N, useState as b } from "react";
3
+ import { c as v } from "./index-chunk-0LeqwHm8.js";
4
+ import { u as x } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ import { B as y } from "./Button-chunk-BlSnS8yQ.js";
6
+ const S = N(
7
+ ({
8
+ className: t,
9
+ closelabel: r = "Close",
10
+ copy: c,
11
+ cta: a,
12
+ headline: d,
13
+ placement: l,
14
+ timestamp: i,
15
+ type: o
16
+ }, m) => {
17
+ const { prefix: f } = x(), [u, h] = b(!0), s = `${f}--notification`, p = v(s, t, {
18
+ [`${s}--${l}`]: l,
19
+ [`icon icon--${o}`]: o
20
+ });
21
+ return /* @__PURE__ */ e($, { children: u && /* @__PURE__ */ n(
22
+ "div",
23
+ {
24
+ className: p,
25
+ role: "status",
26
+ "aria-live": "polite",
27
+ "aria-relevant": "additions",
28
+ ref: m,
29
+ children: [
30
+ /* @__PURE__ */ n("div", { className: `${s}--content`, children: [
31
+ /* @__PURE__ */ e("h2", { className: `${s}--headline`, children: d }),
32
+ /* @__PURE__ */ e("p", { className: `${s}--copy`, children: c }),
33
+ i && /* @__PURE__ */ e(
34
+ "time",
35
+ {
36
+ className: `${s}--date`,
37
+ dateTime: i.unix,
38
+ children: i.human
39
+ }
40
+ ),
41
+ a && /* @__PURE__ */ e("div", { className: `${s}__footer`, children: /* @__PURE__ */ e(
42
+ y,
43
+ {
44
+ type: "secondary",
45
+ size: "small",
46
+ link: {
47
+ url: a.url,
48
+ label: a.label
49
+ }
50
+ }
51
+ ) })
52
+ ] }),
53
+ /* @__PURE__ */ e(
54
+ "button",
55
+ {
56
+ className: `${s}--close`,
57
+ type: "button",
58
+ onClick: () => h(!1),
59
+ children: /* @__PURE__ */ e("span", { children: r })
60
+ }
61
+ )
62
+ ]
63
+ }
64
+ ) });
65
+ }
66
+ );
67
+ export {
68
+ S as N
69
+ };
@@ -0,0 +1,4 @@
1
+ import { N as t } from "./Notification-chunk-BYrbd5f9.js";
2
+ export {
3
+ t as Notification
4
+ };
@@ -0,0 +1,41 @@
1
+ import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as $ } from "react";
3
+ import { c as h } from "./index-chunk-0LeqwHm8.js";
4
+ import { u as _ } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ const b = $(
6
+ ({
7
+ avatar: t,
8
+ className: m,
9
+ description: s,
10
+ link: a,
11
+ name: l,
12
+ role: i,
13
+ theme: c = "light",
14
+ size: n = "large"
15
+ }, f) => {
16
+ const { prefix: d } = _(), e = `${d}--profile`, p = h(m, {
17
+ [e]: !0,
18
+ [`${e}__theme__${c}`]: c,
19
+ [`${e}__size__${n}`]: n
20
+ });
21
+ return /* @__PURE__ */ o("figure", { className: p, ref: f, children: [
22
+ /* @__PURE__ */ r(
23
+ "img",
24
+ {
25
+ className: `${e}--avatar`,
26
+ src: t,
27
+ alt: `Avatar for ${l}`
28
+ }
29
+ ),
30
+ /* @__PURE__ */ r("figcaption", { children: /* @__PURE__ */ o("div", { className: `${e}--figcaption--content`, children: [
31
+ /* @__PURE__ */ r("div", { className: `${e}--name`, children: l }),
32
+ i && /* @__PURE__ */ r("div", { className: `${e}--role`, children: i })
33
+ ] }) }),
34
+ s && /* @__PURE__ */ r("p", { className: `${e}--description`, children: s }),
35
+ a && /* @__PURE__ */ r("div", { className: `${e}--link`, children: /* @__PURE__ */ r("a", { href: a.url, target: "__blank", rel: "noopener noreferrer", children: /* @__PURE__ */ r("span", { className: `${e}--link--label`, children: a.label }) }) })
36
+ ] });
37
+ }
38
+ );
39
+ export {
40
+ b as P
41
+ };
@@ -0,0 +1,4 @@
1
+ import { P as e } from "./Profile-chunk-Tpvzafuk.js";
2
+ export {
3
+ e as Profile
4
+ };
@@ -3,7 +3,7 @@ import { forwardRef as v, useState as w } from "react";
3
3
  import { c as x } from "./index-chunk-0LeqwHm8.js";
4
4
  import { u as F } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
5
  import { I as g } from "./Input-chunk-DT_YEVSQ.js";
6
- import { I as j } from "./Icon-chunk-nLD8VsP5.js";
6
+ import { I as j } from "./Icon-chunk-BE5t6PqR.js";
7
7
  const B = v(
8
8
  ({ action: f, callback: o, className: b, input: e }, C) => {
9
9
  const [c, d] = w(""), { prefix: a } = F(), l = `${a}--searchfield`, S = `${l}--button`, y = `${l}--clear-button ${c.trim() !== "" && "show"}`, $ = `${a}--fieldset`, I = x(b, {
@@ -0,0 +1,4 @@
1
+ import { S as a } from "./SearchField-chunk-D-S-SV-o.js";
2
+ export {
3
+ a as SearchField
4
+ };
@@ -2,13 +2,13 @@ import { jsxs as $, jsx as a } from "react/jsx-runtime";
2
2
  import { c as i } from "./index-chunk-0LeqwHm8.js";
3
3
  import { forwardRef as d } from "react";
4
4
  import { u as f } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
- const b = d(
5
+ const h = d(
6
6
  ({
7
7
  className: r,
8
8
  theme: c = "light",
9
- justify: t = "start",
9
+ justify: o = "start",
10
10
  headline: e,
11
- icons: o,
11
+ icons: t,
12
12
  iconSize: m = "normal"
13
13
  }, n) => {
14
14
  const { prefix: _ } = f(), s = `${_}--social-media`;
@@ -18,7 +18,7 @@ const b = d(
18
18
  className: i(
19
19
  s,
20
20
  `${s}__theme__${c}`,
21
- `${s}__justify__${t}`,
21
+ `${s}__justify__${o}`,
22
22
  r
23
23
  ),
24
24
  ref: n,
@@ -31,7 +31,7 @@ const b = d(
31
31
  `${s}--list`,
32
32
  `${s}--list__size__${m}`
33
33
  ),
34
- children: o.map((l) => /* @__PURE__ */ a(
34
+ children: t.map((l) => /* @__PURE__ */ a(
35
35
  "li",
36
36
  {
37
37
  className: i(`${s}--list--item`, l.className),
@@ -56,7 +56,7 @@ const b = d(
56
56
  }
57
57
  );
58
58
  }
59
- );
59
+ ), x = h;
60
60
  export {
61
- b as S
61
+ x as S
62
62
  };
@@ -0,0 +1,63 @@
1
+ import { S as t } from "./SocialMedia-chunk-BP6TBNEf.js";
2
+ const o = {
3
+ headline: "Follow us on social media",
4
+ theme: "light",
5
+ justify: "start",
6
+ iconSize: "normal",
7
+ icons: [
8
+ {
9
+ icon: "bluesky",
10
+ label: "Bluesky",
11
+ url: "https://bsky.app/profile/ilo.org"
12
+ },
13
+ {
14
+ icon: "facebook",
15
+ url: "https://www.facebook.com/ilo.org",
16
+ label: "Facebook"
17
+ },
18
+ {
19
+ icon: "x",
20
+ url: "https://x.com/ilo",
21
+ label: "x"
22
+ },
23
+ {
24
+ icon: "instagram",
25
+ url: "https://www.instagram.com/ilo.org/",
26
+ label: "Instagram"
27
+ },
28
+ {
29
+ icon: "linkedin",
30
+ url: "https://www.linkedin.com/company/international-labour-organization-ilo",
31
+ label: "LinkedIn"
32
+ },
33
+ {
34
+ icon: "youtube",
35
+ url: "https://www.youtube.com/channel/UCQsVmhSa4X-G3lHlUtejzLA",
36
+ label: "YouTube"
37
+ },
38
+ {
39
+ icon: "tiktok",
40
+ url: "https://www.tiktok.com/@ilo",
41
+ label: "TikTok"
42
+ },
43
+ {
44
+ icon: "flickr",
45
+ url: "https://www.flickr.com/photos/ilopictures/albums",
46
+ label: "flickr"
47
+ },
48
+ {
49
+ icon: "wechat",
50
+ label: "Wechat",
51
+ url: "https://wechat.com"
52
+ },
53
+ {
54
+ icon: "weibo",
55
+ label: "Weibo",
56
+ url: "https://weibo.com"
57
+ }
58
+ ]
59
+ };
60
+ export {
61
+ t as SocialMedia,
62
+ o as socialMediaArgs
63
+ };