@ilo-org/react 0.18.5 → 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 (183) 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/{Checkbox-chunk-B7P6WeNp.js → Checkbox-chunk-CfN7137m.js} +1 -1
  5. package/lib/cjs/_store/{Checkbox-entry-Cpcx9EKD.js → Checkbox-entry-CLjOEGyj.js} +1 -1
  6. package/lib/cjs/_store/ContextMenu-chunk-Ch5u_T0d.js +1 -0
  7. package/lib/cjs/_store/{ContextMenu-entry-TCdyzIRt.js → ContextMenu-entry-UwZc4yU3.js} +1 -1
  8. package/lib/cjs/_store/{DatePicker-chunk-DMvnrakE.js → DatePicker-chunk-7_96tPkC.js} +1 -1
  9. package/lib/cjs/_store/{DatePicker-entry-CweKIj3U.js → DatePicker-entry-P07fWcN3.js} +1 -1
  10. package/lib/cjs/_store/{Dropdown-chunk--_pVhTcV.js → Dropdown-chunk-Bn-MFT6c.js} +1 -1
  11. package/lib/cjs/_store/{Dropdown-entry-BcBG6Zg7.js → Dropdown-entry-BBiYoQa0.js} +1 -1
  12. package/lib/cjs/_store/{Fieldset-chunk-BsOPbe_a.js → Fieldset-chunk-C3itoJam.js} +1 -1
  13. package/lib/cjs/_store/{Fieldset-entry-BUyKAdkn.js → Fieldset-entry-DyHl-Q8i.js} +1 -1
  14. package/lib/cjs/_store/{FileUpload-chunk-CmHP-E54.js → FileUpload-chunk-BhGfPLEt.js} +1 -1
  15. package/lib/cjs/_store/{FileUpload-entry-DKzm4WvO.js → FileUpload-entry-BdKRo1oJ.js} +1 -1
  16. package/lib/cjs/_store/{Footer-chunk-CH7s6ZhB.js → Footer-chunk-DK416bgz.js} +1 -1
  17. package/lib/cjs/_store/{Footer-entry-D2QyYI38.js → Footer-entry-CI7x98xM.js} +1 -1
  18. package/lib/cjs/_store/{FormControl-chunk-08fp5TeU.js → FormControl-chunk-CxP6djqq.js} +1 -1
  19. package/lib/cjs/_store/{FormControl-entry-DN7TYc37.js → FormControl-entry-BgMV944-.js} +1 -1
  20. package/lib/cjs/_store/Hero-chunk-DiUWCO_D.js +1 -0
  21. package/lib/cjs/_store/Hero-entry-AK8D7qYH.js +1 -0
  22. package/lib/cjs/_store/HeroCard-chunk-CCNjdbBJ.js +1 -0
  23. package/lib/cjs/_store/HeroCard-entry-BGUHZKKh.js +1 -0
  24. package/lib/cjs/_store/{Input-chunk-DIcDfISq.js → Input-chunk-DVXD2O4Z.js} +1 -1
  25. package/lib/cjs/_store/{Input-entry-Cq1G_bNN.js → Input-entry-CthONy5R.js} +1 -1
  26. package/lib/cjs/_store/LocalNav-entry-SfLDP8BS.js +1 -0
  27. package/lib/cjs/_store/Logo-entry-Dit3r-4I.js +1 -0
  28. package/lib/cjs/_store/Navigation-entry-C6dI5Dpf.js +1 -0
  29. package/lib/cjs/_store/{NumberPicker-chunk-CaQYVhyz.js → NumberPicker-chunk-CjEYQYj0.js} +1 -1
  30. package/lib/cjs/_store/{NumberPicker-entry-BEqwzCKS.js → NumberPicker-entry-DQGcCMGe.js} +1 -1
  31. package/lib/cjs/_store/{Radio-chunk-EK2nKEND.js → Radio-chunk-LFOxcvur.js} +1 -1
  32. package/lib/cjs/_store/{Radio-entry-M4dL4mjL.js → Radio-entry-BmJSr7Sk.js} +1 -1
  33. package/lib/cjs/_store/{SearchField-chunk-DRdhLGEo.js → SearchField-chunk-BkrZKT5S.js} +1 -1
  34. package/lib/cjs/_store/{SearchField-entry-D9zx3U13.js → SearchField-entry-DoVeY_de.js} +1 -1
  35. package/lib/cjs/_store/SocialMedia-chunk-jDoYRhrm.js +1 -0
  36. package/lib/cjs/_store/SocialMedia-entry-tsTF-Jtj.js +1 -0
  37. package/lib/cjs/_store/Tag-chunk-B-UjKiml.js +1 -0
  38. package/lib/cjs/_store/Tag-entry-Dv_p5zCg.js +1 -0
  39. package/lib/cjs/_store/{TextInput-entry-Bl0sZdpl.js → TextInput-entry-BOVt2TDi.js} +1 -1
  40. package/lib/cjs/_store/{Textarea-chunk-3fPk9MqI.js → Textarea-chunk-B13VaFl6.js} +1 -1
  41. package/lib/cjs/_store/{Textarea-entry-Ac7gdvET.js → Textarea-entry-Byp4EYD1.js} +1 -1
  42. package/lib/cjs/_store/{Toggle-entry-s05NRKOs.js → Toggle-entry-BZ_sk4pV.js} +1 -1
  43. package/lib/cjs/_store/Tooltip-chunk-Ca67o441.js +1 -0
  44. package/lib/cjs/_store/{Tooltip-entry--csXZiQZ.js → Tooltip-entry-BlOyvu7-.js} +1 -1
  45. package/lib/cjs/_store/components-entry-CDxRih4j.js +1 -0
  46. package/lib/cjs/index.js +1 -1
  47. package/lib/esm/_store/Accordion-entry-B-0bgUhR.js +85 -0
  48. package/lib/esm/_store/Breadcrumb-chunk-DcsXzPvT.js +121 -0
  49. package/lib/esm/_store/Breadcrumb-entry-B7kN28qm.js +4 -0
  50. package/lib/esm/_store/{Checkbox-chunk-DJDgykAw.js → Checkbox-chunk-CdjFGjiG.js} +2 -2
  51. package/lib/esm/_store/{Checkbox-entry-CfjxZKrK.js → Checkbox-entry-4xxjRXFu.js} +1 -1
  52. package/lib/esm/_store/ContextMenu-chunk-Zy9igFLz.js +30 -0
  53. package/lib/esm/_store/ContextMenu-entry-C_rAD9kF.js +4 -0
  54. package/lib/esm/_store/{DatePicker-chunk-10fIc74h.js → DatePicker-chunk-BoTriI-e.js} +1 -1
  55. package/lib/esm/_store/DatePicker-entry-B5aB0CYY.js +4 -0
  56. package/lib/esm/_store/{Dropdown-chunk-B6G7DnYr.js → Dropdown-chunk-DxXjnNBq.js} +1 -1
  57. package/lib/esm/_store/Dropdown-entry-CdssOqL2.js +4 -0
  58. package/lib/esm/_store/{Fieldset-chunk-PK4HqNv_.js → Fieldset-chunk-udvv8dML.js} +1 -1
  59. package/lib/esm/_store/Fieldset-entry--0tR2-K1.js +4 -0
  60. package/lib/esm/_store/{FileUpload-chunk-dFon8lP2.js → FileUpload-chunk-Cdl4F5zH.js} +1 -1
  61. package/lib/esm/_store/FileUpload-entry-B0SbE0sW.js +4 -0
  62. package/lib/esm/_store/{Footer-chunk-DFJ5AWCV.js → Footer-chunk-Cfulou_M.js} +1 -1
  63. package/lib/esm/_store/Footer-entry-xjy-auY5.js +4 -0
  64. package/lib/esm/_store/{FormControl-chunk-D_3t65GG.js → FormControl-chunk-C2LR6MBZ.js} +1 -1
  65. package/lib/esm/_store/FormControl-entry-Dy_NPcKM.js +4 -0
  66. package/lib/esm/_store/Hero-chunk-swloBIGl.js +67 -0
  67. package/lib/esm/_store/Hero-entry-DxQnc1Ze.js +4 -0
  68. package/lib/esm/_store/HeroCard-chunk-fz3EIUiE.js +47 -0
  69. package/lib/esm/_store/HeroCard-entry-Cp6p3FnU.js +4 -0
  70. package/lib/esm/_store/{Input-chunk-p-3N8OO4.js → Input-chunk-DT_YEVSQ.js} +1 -1
  71. package/lib/esm/_store/Input-entry-Dt6Qaxj6.js +4 -0
  72. package/lib/esm/_store/LocalNav-entry-DydB3k67.js +4 -0
  73. package/lib/esm/_store/{Logo-chunk-C2BIhfeP.js → Logo-entry-sjwkMeb-.js} +19 -19
  74. package/lib/esm/_store/Navigation-entry-BLC2KoMs.js +4 -0
  75. package/lib/esm/_store/{NumberPicker-chunk-CsDLNdop.js → NumberPicker-chunk-Z_TIIuxb.js} +1 -1
  76. package/lib/esm/_store/NumberPicker-entry-BaKtr4-S.js +4 -0
  77. package/lib/esm/_store/{Radio-chunk-CZnGQoYJ.js → Radio-chunk-DDMoE7Le.js} +2 -2
  78. package/lib/esm/_store/{Radio-entry-DhmJk5Et.js → Radio-entry-BzlGsY14.js} +1 -1
  79. package/lib/esm/_store/{SearchField-chunk-Bn5RXiiY.js → SearchField-chunk-DfXCHmW0.js} +1 -1
  80. package/lib/esm/_store/SearchField-entry-qYGaidSz.js +4 -0
  81. package/lib/esm/_store/SocialMedia-chunk-B0IPGaVf.js +62 -0
  82. package/lib/esm/_store/SocialMedia-entry-Dq52Wl-z.js +4 -0
  83. package/lib/esm/_store/Tag-chunk-6_6Oh_I3.js +68 -0
  84. package/lib/esm/_store/Tag-entry-B40IGpPj.js +48 -0
  85. package/lib/esm/_store/{TextInput-entry-BTZVvumC.js → TextInput-entry-DIPdoofw.js} +1 -1
  86. package/lib/esm/_store/{Textarea-chunk-BCW6ZV8n.js → Textarea-chunk-ClZt7jmS.js} +1 -1
  87. package/lib/esm/_store/{Textarea-entry-CFe0s_hM.js → Textarea-entry-BvVP8AXU.js} +1 -1
  88. package/lib/esm/_store/{Toggle-entry-CehJKItc.js → Toggle-entry-q2VLr4yf.js} +1 -1
  89. package/lib/esm/_store/{Tooltip-chunk-CPT-dPDc.js → Tooltip-chunk-EJOnwIYn.js} +362 -363
  90. package/lib/esm/_store/Tooltip-entry-Dz5aVKCZ.js +4 -0
  91. package/lib/esm/_store/components-entry-BW50D0h0.js +86 -0
  92. package/lib/esm/index.js +76 -77
  93. package/lib/styles/components/breadcrumb.css +1 -1
  94. package/lib/styles/components/factlistcard.css +1 -1
  95. package/lib/styles/components/list.css +1 -1
  96. package/lib/styles/components/richtext.css +1 -1
  97. package/lib/styles/global.css.map +1 -1
  98. package/lib/styles/index.css +2 -2
  99. package/lib/styles/index.css.map +1 -1
  100. package/lib/styles/monorepo.css +2 -2
  101. package/lib/styles/monorepo.css.map +1 -1
  102. package/lib/types/components/Accordion/Accordion.d.ts +35 -4
  103. package/lib/types/components/Accordion/AccordionItem.d.ts +15 -4
  104. package/lib/types/components/Accordion/index.d.ts +4 -4
  105. package/lib/types/components/Breadcrumb/Breadcrumb.d.ts +17 -4
  106. package/lib/types/components/Breadcrumb/BreadcrumbItem.d.ts +20 -0
  107. package/lib/types/components/Breadcrumb/index.d.ts +1 -1
  108. package/lib/types/components/ContextMenu/ContextMenu.d.ts +27 -5
  109. package/lib/types/components/ContextMenu/index.d.ts +1 -1
  110. package/lib/types/components/Hero/Hero.d.ts +53 -4
  111. package/lib/types/components/Hero/index.d.ts +1 -2
  112. package/lib/types/components/{Hero/HeroCard.props.d.ts → HeroCard/HeroCard.d.ts} +4 -2
  113. package/lib/types/components/HeroCard/HeroCardTitle.d.ts +8 -0
  114. package/lib/types/components/HeroCard/index.d.ts +1 -0
  115. package/lib/types/components/LocalNav/LocalNav.props.d.ts +0 -10
  116. package/lib/types/components/Navigation/Navigation.props.d.ts +0 -13
  117. package/lib/types/components/SocialMedia/SocialMedia.d.ts +44 -3
  118. package/lib/types/components/SocialMedia/index.d.ts +1 -3
  119. package/lib/types/components/Tooltip/Tooltip.d.ts +34 -4
  120. package/lib/types/components/Tooltip/index.d.ts +1 -1
  121. package/lib/types/components/index.d.ts +2 -1
  122. package/package.json +4 -4
  123. package/lib/cjs/_store/Accordion-chunk-Dj1LluWV.js +0 -1
  124. package/lib/cjs/_store/Accordion-entry-BNfPKFuj.js +0 -1
  125. package/lib/cjs/_store/Breadcrumb-chunk-DvUpVY4l.js +0 -1
  126. package/lib/cjs/_store/ContextMenu-chunk-BegVo-Ry.js +0 -1
  127. package/lib/cjs/_store/Hero-chunk-BmAL9GMT.js +0 -1
  128. package/lib/cjs/_store/Hero-entry-6U1647te.js +0 -1
  129. package/lib/cjs/_store/LocalNav-chunk-CL0urssZ.js +0 -1
  130. package/lib/cjs/_store/LocalNav-entry-uEJTn_P0.js +0 -1
  131. package/lib/cjs/_store/Logo-chunk-Cl60tiPV.js +0 -1
  132. package/lib/cjs/_store/Logo-entry-ffqRpdCt.js +0 -1
  133. package/lib/cjs/_store/Navigation-chunk-CKk-EzZF.js +0 -1
  134. package/lib/cjs/_store/Navigation-entry-DukzIF80.js +0 -1
  135. package/lib/cjs/_store/SocialMedia-chunk-DrxlykT6.js +0 -1
  136. package/lib/cjs/_store/SocialMedia-entry-BQyxJpTO.js +0 -1
  137. package/lib/cjs/_store/Tag-chunk-CdVExQzv.js +0 -1
  138. package/lib/cjs/_store/Tag-entry-B5GoRJjK.js +0 -1
  139. package/lib/cjs/_store/Tooltip-chunk-Bh77DbOg.js +0 -1
  140. package/lib/cjs/_store/checkArrayDuplicates-chunk-Bqxwhc1q.js +0 -1
  141. package/lib/cjs/_store/components-entry-BLIKXStL.js +0 -1
  142. package/lib/esm/_store/Accordion-chunk-BawBOKZz.js +0 -113
  143. package/lib/esm/_store/Accordion-entry-C8JFNFFn.js +0 -7
  144. package/lib/esm/_store/Breadcrumb-chunk-CclNRjxd.js +0 -132
  145. package/lib/esm/_store/Breadcrumb-entry-Biundzlp.js +0 -4
  146. package/lib/esm/_store/ContextMenu-chunk-CkdC2iPF.js +0 -22
  147. package/lib/esm/_store/ContextMenu-entry-BkbaSgVR.js +0 -4
  148. package/lib/esm/_store/DatePicker-entry-Bu0S1bvg.js +0 -4
  149. package/lib/esm/_store/Dropdown-entry-CRDxMRpe.js +0 -4
  150. package/lib/esm/_store/Fieldset-entry-BmiHpIGy.js +0 -4
  151. package/lib/esm/_store/FileUpload-entry-uIvvAStY.js +0 -4
  152. package/lib/esm/_store/Footer-entry-BtbhEt-Y.js +0 -4
  153. package/lib/esm/_store/FormControl-entry-DODa4uyx.js +0 -4
  154. package/lib/esm/_store/Hero-chunk-AgDdKsJ4.js +0 -76
  155. package/lib/esm/_store/Hero-entry-CcnVmzHx.js +0 -5
  156. package/lib/esm/_store/Input-entry-DG2Mv1K2.js +0 -4
  157. package/lib/esm/_store/LocalNav-chunk-CC5KIqRP.js +0 -207
  158. package/lib/esm/_store/LocalNav-entry-BUHQT-D7.js +0 -4
  159. package/lib/esm/_store/Logo-entry-C3BaxfNe.js +0 -4
  160. package/lib/esm/_store/Navigation-chunk-BSoAdxZ6.js +0 -221
  161. package/lib/esm/_store/Navigation-entry-C-tonRpq.js +0 -4
  162. package/lib/esm/_store/NumberPicker-entry-BuxrmdUS.js +0 -4
  163. package/lib/esm/_store/SearchField-entry-BlnqYKjA.js +0 -4
  164. package/lib/esm/_store/SocialMedia-chunk-DdOAr_Gj.js +0 -32
  165. package/lib/esm/_store/SocialMedia-entry-BllaQbO-.js +0 -54
  166. package/lib/esm/_store/Tag-chunk-DG8gqUnh.js +0 -65
  167. package/lib/esm/_store/Tag-entry-BxKwoM37.js +0 -46
  168. package/lib/esm/_store/Tooltip-entry-cgQr1mHa.js +0 -4
  169. package/lib/esm/_store/checkArrayDuplicates-chunk-C7cf0TQw.js +0 -11
  170. package/lib/esm/_store/components-entry-3VBtJ0uk.js +0 -87
  171. package/lib/types/components/Accordion/Accordion.props.d.ts +0 -34
  172. package/lib/types/components/Accordion/AccordionButton.d.ts +0 -5
  173. package/lib/types/components/Accordion/AccordionButton.props.d.ts +0 -12
  174. package/lib/types/components/Accordion/AccordionCtx.d.ts +0 -5
  175. package/lib/types/components/Accordion/AccordionItem.props.d.ts +0 -22
  176. package/lib/types/components/Accordion/AccordionPanel.d.ts +0 -5
  177. package/lib/types/components/Accordion/AccordionPanel.props.d.ts +0 -22
  178. package/lib/types/components/Breadcrumb/Breadcrumb.props.d.ts +0 -32
  179. package/lib/types/components/ContextMenu/ContextMenu.props.d.ts +0 -24
  180. package/lib/types/components/Hero/Hero.props.d.ts +0 -52
  181. package/lib/types/components/Hero/HeroCard.d.ts +0 -5
  182. package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +0 -42
  183. package/lib/types/components/Tooltip/Tooltip.props.d.ts +0 -33
@@ -0,0 +1,121 @@
1
+ import { jsx as r, jsxs as x } from "react/jsx-runtime";
2
+ import { forwardRef as y, useId as L, useState as _, useRef as d, useLayoutEffect as C } from "react";
3
+ import { c as m } from "./index-chunk-0LeqwHm8.js";
4
+ import { u as E } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ import { C as j } from "./ContextMenu-chunk-Zy9igFLz.js";
6
+ const R = y(
7
+ ({ url: b, label: c, className: f, first: o }, e) => {
8
+ const { prefix: n } = E();
9
+ return /* @__PURE__ */ r(
10
+ "li",
11
+ {
12
+ className: m({
13
+ [`${n}--breadcrumb--item`]: !0,
14
+ [`${n}--breadcrumb--item__first`]: o,
15
+ className: f
16
+ }),
17
+ ref: e,
18
+ children: /* @__PURE__ */ r(
19
+ "a",
20
+ {
21
+ className: `${n}--breadcrumb--link`,
22
+ href: b,
23
+ "aria-label": c,
24
+ children: !o && /* @__PURE__ */ r("span", { className: `${n}--breadcrumb--link--label`, children: c })
25
+ }
26
+ )
27
+ }
28
+ );
29
+ }
30
+ ), z = y(
31
+ ({ className: b, links: c, buttonLabel: f }, o) => {
32
+ const { prefix: e } = E(), n = L(), [a, g] = _(!1), [I, O] = _(!1), w = d(0), u = d(null), s = d(null), N = d(null);
33
+ if (C(() => {
34
+ w.current = N.current.offsetWidth;
35
+ }, []), C(() => {
36
+ function t(l) {
37
+ u.current && s.current && !u.current.contains(l.target) && !s.current.contains(l.target) && g(!1);
38
+ }
39
+ const $ = new ResizeObserver((l) => {
40
+ const p = l.at(0), i = w.current >= p.contentRect.width / 1.5;
41
+ O((M) => M !== i ? i : M);
42
+ });
43
+ return document.addEventListener("mousedown", t), $.observe(document.body), () => {
44
+ document.removeEventListener("mousedown", t), $.disconnect();
45
+ };
46
+ }, [n, e]), C(() => {
47
+ if (!(!u.current || !s.current) && a) {
48
+ const t = u.current.getBoundingClientRect(), l = s.current.firstChild.getBoundingClientRect(), p = t.left + t.width / 2 - l.width / 2 - 5, i = t.bottom + 16;
49
+ s.current.style.left = `${p}px`, s.current.style.top = `${i}px`;
50
+ }
51
+ }, [a]), c.length < 2)
52
+ throw new Error(
53
+ `Breadcrumb component requires at least two links, but received ${c.length}`
54
+ );
55
+ const v = c.at(0), h = c.slice(1, -1), B = c.at(-1);
56
+ return /* @__PURE__ */ x("nav", { className: m(`${e}--breadcrumb`, b), ref: o, children: [
57
+ /* @__PURE__ */ r("div", { className: `${e}--breadcrumb--inner`, children: /* @__PURE__ */ x(
58
+ "ol",
59
+ {
60
+ className: `${e}--breadcrumb--items`,
61
+ id: `${e}--breadcrumb--items-${n}`,
62
+ ref: N,
63
+ children: [
64
+ /* @__PURE__ */ r(
65
+ R,
66
+ {
67
+ first: !0,
68
+ url: v.url,
69
+ label: v.label
70
+ }
71
+ ),
72
+ h.length > 0 && /* @__PURE__ */ x(
73
+ "li",
74
+ {
75
+ className: m(`${e}--breadcrumb--context`, {
76
+ [`${e}--breadcrumb--context__collapse`]: I
77
+ }),
78
+ children: [
79
+ /* @__PURE__ */ r("ol", { className: `${e}--breadcrumb--items`, children: h.map((t) => /* @__PURE__ */ r(
80
+ R,
81
+ {
82
+ url: t.url,
83
+ label: t.label
84
+ },
85
+ `${t.label}-${t.url}`
86
+ )) }),
87
+ /* @__PURE__ */ r(
88
+ "button",
89
+ {
90
+ onClick: () => g(!a),
91
+ "aria-label": f,
92
+ "aria-expanded": a,
93
+ "aria-controls": `${e}--breadcrumb--menu-${n}`,
94
+ className: `${e}--breadcrumb--context--button`,
95
+ ref: u
96
+ }
97
+ )
98
+ ]
99
+ }
100
+ ),
101
+ /* @__PURE__ */ r(R, { url: B.url, label: B.label })
102
+ ]
103
+ }
104
+ ) }),
105
+ /* @__PURE__ */ r(
106
+ "div",
107
+ {
108
+ className: m(`${e}--breadcrumb--context--menu`, {
109
+ [`${e}--breadcrumb--context--menu__visible`]: a
110
+ }),
111
+ id: `${e}--breadcrumb--menu-${n}`,
112
+ ref: s,
113
+ children: /* @__PURE__ */ r(j, { links: h })
114
+ }
115
+ )
116
+ ] });
117
+ }
118
+ );
119
+ export {
120
+ z as B
121
+ };
@@ -0,0 +1,4 @@
1
+ import { B as e } from "./Breadcrumb-chunk-DcsXzPvT.js";
2
+ export {
3
+ e as Breadcrumb
4
+ };
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as u, useEffect as F } from "react";
3
3
  import { c as v } from "./index-chunk-0LeqwHm8.js";
4
4
  import { u as L } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
- import { u as S } from "./Fieldset-chunk-PK4HqNv_.js";
6
- import { u as $, F as B } from "./FormControl-chunk-D_3t65GG.js";
5
+ import { u as S } from "./Fieldset-chunk-udvv8dML.js";
6
+ import { u as $, F as B } from "./FormControl-chunk-C2LR6MBZ.js";
7
7
  import { u as N } from "./usePrevious-chunk-BtJVllKj.js";
8
8
  const P = u((o, n) => {
9
9
  const {
@@ -1,4 +1,4 @@
1
- import { L as n } from "./Checkbox-chunk-DJDgykAw.js";
1
+ import { L as n } from "./Checkbox-chunk-CdjFGjiG.js";
2
2
  const o = 3, c = {
3
3
  label: "Checkbox",
4
4
  className: "checkbox",
@@ -0,0 +1,30 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as c } from "react";
3
+ import { c as t } from "./index-chunk-0LeqwHm8.js";
4
+ import { u as n } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ const p = c(
6
+ ({ className: m, links: o }, r) => {
7
+ const { prefix: s } = n();
8
+ return /* @__PURE__ */ a(
9
+ "ol",
10
+ {
11
+ className: t(`${s}--context-menu`, m),
12
+ ref: r,
13
+ children: o.map((e) => /* @__PURE__ */ a(
14
+ "li",
15
+ {
16
+ className: t(`${s}--context-menu--item`, {
17
+ endsection: e.endsection,
18
+ className: e.className
19
+ }),
20
+ children: /* @__PURE__ */ a("a", { href: e.url, className: `${s}--context-menu--link`, children: /* @__PURE__ */ a("span", { className: `${s}--context-menu--label`, children: e.label }) })
21
+ },
22
+ `${e.label}-${e.url}`
23
+ ))
24
+ }
25
+ );
26
+ }
27
+ );
28
+ export {
29
+ p as C
30
+ };
@@ -0,0 +1,4 @@
1
+ import { C as t } from "./ContextMenu-chunk-Zy9igFLz.js";
2
+ export {
3
+ t as ContextMenu
4
+ };
@@ -2,7 +2,7 @@ import { jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as d } from "react";
3
3
  import { c as D } from "./index-chunk-0LeqwHm8.js";
4
4
  import { u as P } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
- import { u as F, F as L } from "./FormControl-chunk-D_3t65GG.js";
5
+ import { u as F, F as L } from "./FormControl-chunk-C2LR6MBZ.js";
6
6
  const $ = d(
7
7
  (e, a) => {
8
8
  const {
@@ -0,0 +1,4 @@
1
+ import { L as a } from "./DatePicker-chunk-BoTriI-e.js";
2
+ export {
3
+ a as DatePicker
4
+ };
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as b, useState as L } from "react";
3
3
  import { c as N } from "./index-chunk-0LeqwHm8.js";
4
4
  import { u as z } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
- import { u as B, F as j } from "./FormControl-chunk-D_3t65GG.js";
5
+ import { u as B, F as j } from "./FormControl-chunk-C2LR6MBZ.js";
6
6
  const q = b((o, l) => {
7
7
  const {
8
8
  autocomplete: t,
@@ -0,0 +1,4 @@
1
+ import { L as p } from "./Dropdown-chunk-DxXjnNBq.js";
2
+ export {
3
+ p as Dropdown
4
+ };
@@ -2,7 +2,7 @@ import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
2
  import { createContext as j, useState as S, useContext as T } from "react";
3
3
  import { c } from "./index-chunk-0LeqwHm8.js";
4
4
  import { u as k } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
- import { T as G } from "./Tooltip-chunk-CPT-dPDc.js";
5
+ import { T as G } from "./Tooltip-chunk-EJOnwIYn.js";
6
6
  const i = j({
7
7
  hasError: !1,
8
8
  setHasError: (t) => t
@@ -0,0 +1,4 @@
1
+ import { F as r } from "./Fieldset-chunk-udvv8dML.js";
2
+ export {
3
+ r as Fieldset
4
+ };
@@ -2,7 +2,7 @@ import { jsxs as u, Fragment as M, jsx as o } from "react/jsx-runtime";
2
2
  import p, { useState as N } from "react";
3
3
  import { c as U } from "./index-chunk-0LeqwHm8.js";
4
4
  import { u as w } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
- import { u as I, F as L } from "./FormControl-chunk-D_3t65GG.js";
5
+ import { u as I, F as L } from "./FormControl-chunk-C2LR6MBZ.js";
6
6
  function R(t, e = 2) {
7
7
  if (!+t) return "0 Bytes";
8
8
  const l = 1024, n = e < 0 ? 0 : e, a = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], s = Math.floor(Math.log(t) / Math.log(l));
@@ -0,0 +1,4 @@
1
+ import { L as e } from "./FileUpload-chunk-Cdl4F5zH.js";
2
+ export {
3
+ e as FileUpload
4
+ };
@@ -3,7 +3,7 @@ import { u as y } from "./useGlobalSettings-chunk-gkijV3S1.js";
3
3
  import { c as g } from "./index-chunk-0LeqwHm8.js";
4
4
  import { L } from "./LinkList-chunk-Doq6Z7IG.js";
5
5
  import { B as x } from "./Button-chunk-CTOnaHZ_.js";
6
- import { S as F } from "./SocialMedia-chunk-DdOAr_Gj.js";
6
+ import { S as F } from "./SocialMedia-chunk-B0IPGaVf.js";
7
7
  const S = ({
8
8
  className: n,
9
9
  logo: N,
@@ -0,0 +1,4 @@
1
+ import { F as e } from "./Footer-chunk-Cfulou_M.js";
2
+ export {
3
+ e as Footer
4
+ };
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as _ } from "react/jsx-runtime";
2
2
  import { c as u } from "./index-chunk-0LeqwHm8.js";
3
3
  import { createContext as U, useMemo as V, useState as k, useEffect as E, useContext as G } from "react";
4
4
  import { u as H } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
- import { T as R } from "./Tooltip-chunk-CPT-dPDc.js";
5
+ import { T as R } from "./Tooltip-chunk-EJOnwIYn.js";
6
6
  let p = (s = 21) => crypto.getRandomValues(new Uint8Array(s)).reduce((e, o) => (o &= 63, o < 36 ? e += o.toString(36) : o < 62 ? e += (o - 26).toString(36).toUpperCase() : o > 62 ? e += "-" : e += "_", e), "");
7
7
  function q(s = "", { tooltip: e, helper: o, errorMessage: r } = {}) {
8
8
  return {
@@ -0,0 +1,4 @@
1
+ import { F as m } from "./FormControl-chunk-C2LR6MBZ.js";
2
+ export {
3
+ m as FormControl
4
+ };
@@ -0,0 +1,67 @@
1
+ import { jsxs as d, jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as N, useMemo as v } from "react";
3
+ import { c as k } from "./index-chunk-0LeqwHm8.js";
4
+ import { u as x } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ import { B as w } from "./Breadcrumb-chunk-DcsXzPvT.js";
6
+ import { T as H } from "./Tooltip-chunk-EJOnwIYn.js";
7
+ import { H as j } from "./HeroCard-chunk-fz3EIUiE.js";
8
+ const I = N(
9
+ ({
10
+ className: l,
11
+ justify: m = "start",
12
+ align: n = "baseline",
13
+ cardSize: _ = "small",
14
+ posterSize: p = "large",
15
+ theme: $ = "dark",
16
+ image: a,
17
+ breadcrumb: c,
18
+ heroCard: f,
19
+ caption: o,
20
+ gap: i
21
+ }, u) => {
22
+ const { prefix: h } = x(), r = "hero", t = v(() => a ? a == null ? void 0 : a.url.sort((e, b) => e.breakpoint - b.breakpoint) : [], [a]);
23
+ return /* @__PURE__ */ d(
24
+ "div",
25
+ {
26
+ ref: u,
27
+ className: k(
28
+ r,
29
+ `${r}__card-justify__${m}`,
30
+ `${r}__card-align__${n}`,
31
+ `${r}__card-size__${_}`,
32
+ `${r}__poster-size__${p}`,
33
+ `${r}__card-theme__${$}`,
34
+ { [`${r}__gap__${i}`]: i },
35
+ l
36
+ ),
37
+ children: [
38
+ /* @__PURE__ */ s("div", { className: `${r}--background`, children: a && /* @__PURE__ */ s("figure", { className: `${r}--image`, children: /* @__PURE__ */ d("picture", { children: [
39
+ t.map((e) => /* @__PURE__ */ s(
40
+ "source",
41
+ {
42
+ srcSet: e.src,
43
+ media: `(min-width: ${e.breakpoint}px)`
44
+ },
45
+ e.breakpoint
46
+ )),
47
+ /* @__PURE__ */ s(
48
+ "img",
49
+ {
50
+ className: `${h}-${r}--image`,
51
+ src: t.at(-1).src,
52
+ alt: a.alt
53
+ }
54
+ )
55
+ ] }) }) }),
56
+ c && /* @__PURE__ */ s("div", { className: `${r}--breadcrumbs`, children: /* @__PURE__ */ s("div", { className: `${r}--breadcrumbs--wrapper`, children: /* @__PURE__ */ s(w, { ...c }) }) }),
57
+ /* @__PURE__ */ s("div", { className: `${r}--card-offset` }),
58
+ /* @__PURE__ */ s("div", { className: `${r}--card`, children: /* @__PURE__ */ s(j, { ...f }) }),
59
+ o && /* @__PURE__ */ s("div", { className: `${r}--caption`, children: /* @__PURE__ */ s("div", { className: `${r}--caption--wrapper`, children: /* @__PURE__ */ s(H, { ...o }) }) })
60
+ ]
61
+ }
62
+ );
63
+ }
64
+ );
65
+ export {
66
+ I as H
67
+ };
@@ -0,0 +1,4 @@
1
+ import { H as e } from "./Hero-chunk-swloBIGl.js";
2
+ export {
3
+ e as Hero
4
+ };
@@ -0,0 +1,47 @@
1
+ import { jsx as r, jsxs as $ } from "react/jsx-runtime";
2
+ import { forwardRef as u } from "react";
3
+ import { c as _ } from "./index-chunk-0LeqwHm8.js";
4
+ import { S as N } from "./SocialMedia-chunk-B0IPGaVf.js";
5
+ import { u as m } from "./useGlobalSettings-chunk-gkijV3S1.js";
6
+ const x = ({ title: c, url: e }) => {
7
+ const { prefix: o } = m(), a = `${o}--hero-card--title`;
8
+ return e ? /* @__PURE__ */ r("a", { className: `${a}-link`, href: e, children: /* @__PURE__ */ r("h1", { className: a, children: c }) }) : /* @__PURE__ */ r("h1", { className: a, children: c });
9
+ }, g = u(
10
+ ({
11
+ className: c,
12
+ theme: e = "dark",
13
+ background: o = "solid",
14
+ cornercut: a = !0,
15
+ eyebrow: t,
16
+ title: d,
17
+ url: h,
18
+ intro: l,
19
+ datecopy: n,
20
+ socialmedia: i
21
+ }, f) => {
22
+ const { prefix: p } = m(), s = `${p}--hero-card`;
23
+ return /* @__PURE__ */ $(
24
+ "div",
25
+ {
26
+ ref: f,
27
+ className: _({
28
+ [s]: !0,
29
+ [`${s}__background__${o}`]: !0,
30
+ [`${s}__theme__${e}`]: !0,
31
+ [`${s}__cornercut`]: a,
32
+ className: c
33
+ }),
34
+ children: [
35
+ t && /* @__PURE__ */ r("p", { className: `${s}--eyebrow`, children: t }),
36
+ /* @__PURE__ */ r(x, { title: d, url: h }),
37
+ l && /* @__PURE__ */ r("p", { className: `${s}--intro`, children: l }),
38
+ n && /* @__PURE__ */ r("p", { className: `${s}--datecopy`, children: n }),
39
+ i && /* @__PURE__ */ r(N, { ...i, theme: e })
40
+ ]
41
+ }
42
+ );
43
+ }
44
+ );
45
+ export {
46
+ g as H
47
+ };
@@ -0,0 +1,4 @@
1
+ import { H as a } from "./HeroCard-chunk-fz3EIUiE.js";
2
+ export {
3
+ a as HeroCard
4
+ };
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as x } from "react";
3
3
  import { c as F } from "./index-chunk-0LeqwHm8.js";
4
4
  import { u as I } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
- import { F as $ } from "./Fieldset-chunk-PK4HqNv_.js";
5
+ import { F as $ } from "./Fieldset-chunk-udvv8dML.js";
6
6
  import { F as b } from "./FormElement-chunk-DqR8rtCB.js";
7
7
  const j = x(
8
8
  ({
@@ -0,0 +1,4 @@
1
+ import { I as r } from "./Input-chunk-DT_YEVSQ.js";
2
+ export {
3
+ r as Input
4
+ };
@@ -0,0 +1,4 @@
1
+ const a = () => null, o = a;
2
+ export {
3
+ o as LocalNav
4
+ };
@@ -5,17 +5,17 @@ import { c as v } from "./index-chunk-0LeqwHm8.js";
5
5
  const M = ({
6
6
  clientHeight: e,
7
7
  clientWidth: s,
8
- scrollHeight: n,
8
+ scrollHeight: o,
9
9
  scrollWidth: i
10
- }) => n > e || i > s, P = (e, { maxSize: s = 600, startingHeight: n = 9, step: i = 0.5 }) => {
11
- let t = n, r = !1;
10
+ }) => o > e || i > s, P = (e, { maxSize: s = 600, startingHeight: o = 9, step: i = 0.5 }) => {
11
+ let t = o, r = !1;
12
12
  for (; !r && t < s; )
13
13
  e.style.fontSize = `${t}px`, e.style.lineHeight = `${t}px`, r = M(e), r || (t = t + i);
14
14
  return e.style.fontSize = "", e.style.lineHeight = "", t - i;
15
15
  }, w = ({
16
16
  baseClass: e,
17
17
  className: s,
18
- subbrand: n,
18
+ subbrand: o,
19
19
  alt: i,
20
20
  src: t,
21
21
  style: r,
@@ -23,24 +23,24 @@ const M = ({
23
23
  theme: l = "light",
24
24
  ...x
25
25
  }) => {
26
- const a = m(null), h = m(null), z = m(null), c = m(null), [g, N] = S(!1), [I, B] = S(0), [y, b] = S(0), [E, W] = S(!n), R = m(
27
- new ResizeObserver((o) => {
28
- const { height: p } = o[0].contentRect;
26
+ const a = m(null), h = m(null), z = m(null), c = m(null), [g, N] = S(!1), [I, B] = S(0), [y, b] = S(0), [E, W] = S(!o), R = m(
27
+ new ResizeObserver((n) => {
28
+ const { height: p } = n[0].contentRect;
29
29
  c.current || (c.current = p), B(p);
30
30
  })
31
31
  );
32
32
  J(() => {
33
- n && g && y && W(!0);
34
- }, [g, y, n]), L(() => {
33
+ o && g && y && W(!0);
34
+ }, [g, y, o]), L(() => {
35
35
  if (g && h.current && a.current) {
36
- const o = a.current;
37
- return R.current.observe(o), () => R.current.unobserve(o);
36
+ const n = a.current;
37
+ return R.current.observe(n), () => R.current.unobserve(n);
38
38
  }
39
39
  }, [g]), L(() => {
40
40
  F();
41
41
  }, [g, c.current]), L(() => {
42
42
  F();
43
- }, [n]);
43
+ }, [o]);
44
44
  function F() {
45
45
  if (h.current && z.current && c.current) {
46
46
  const p = P(h.current, {
@@ -52,7 +52,7 @@ const M = ({
52
52
  function j() {
53
53
  N(!0);
54
54
  }
55
- const d = !!n, k = f === "fluid", C = !k && typeof f == "number", $ = `${e}--sub-brand`, O = `${e}--size--fluid`, V = `${e}--visibility--hidden`, G = v(
55
+ const d = !!o, k = f === "fluid", C = !k && typeof f == "number", $ = `${e}--sub-brand`, O = `${e}--size--fluid`, V = `${e}--visibility--hidden`, G = v(
56
56
  e,
57
57
  s,
58
58
  `${e}--theme--${l}`,
@@ -62,8 +62,8 @@ const M = ({
62
62
  [$]: d
63
63
  }
64
64
  ), T = `${e}--image`, q = `${$}--image`, A = () => {
65
- const o = {};
66
- return d && (o["--logo-image-height"] = `${I}px`, o["--logo-font-size"] = `${y * I}px`), C && (o.width = `${f}px`), { ...r, ...o };
65
+ const n = {};
66
+ return d && (n["--logo-image-height"] = `${I}px`, n["--logo-font-size"] = `${y * I}px`), C && (n.width = `${f}px`), { ...r, ...n };
67
67
  }, D = () => typeof t == "string" ? t : t[l];
68
68
  return /* @__PURE__ */ H("figure", { className: G, style: A(), children: [
69
69
  /* @__PURE__ */ u(
@@ -82,13 +82,13 @@ const M = ({
82
82
  ),
83
83
  d && /* @__PURE__ */ H("div", { ref: h, className: `${$}--lock-up`, children: [
84
84
  /* @__PURE__ */ u("span", { className: `${$}--lock-up--separator` }),
85
- /* @__PURE__ */ u("span", { ref: z, children: n })
85
+ /* @__PURE__ */ u("span", { ref: z, children: o })
86
86
  ] })
87
87
  ] });
88
88
  }, Q = ({
89
89
  className: e,
90
90
  url: s,
91
- target: n,
91
+ target: o,
92
92
  style: i,
93
93
  size: t,
94
94
  ...r
@@ -98,7 +98,7 @@ const M = ({
98
98
  "a",
99
99
  {
100
100
  href: s,
101
- target: n,
101
+ target: o,
102
102
  className: v(x, e, {
103
103
  [a]: t === "fluid"
104
104
  }),
@@ -117,5 +117,5 @@ const M = ({
117
117
  );
118
118
  }, _ = Q;
119
119
  export {
120
- _ as L
120
+ _ as Logo
121
121
  };
@@ -0,0 +1,4 @@
1
+ const a = () => null, n = a;
2
+ export {
3
+ n as Navigation
4
+ };
@@ -2,7 +2,7 @@ import { jsx as c } from "react/jsx-runtime";
2
2
  import m from "react";
3
3
  import { c as x } from "./index-chunk-0LeqwHm8.js";
4
4
  import { u as P } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
- import { u as g, F } from "./FormControl-chunk-D_3t65GG.js";
5
+ import { u as g, F } from "./FormControl-chunk-C2LR6MBZ.js";
6
6
  const L = m.forwardRef(
7
7
  ({
8
8
  onChange: r,
@@ -0,0 +1,4 @@
1
+ import { L as m } from "./NumberPicker-chunk-Z_TIIuxb.js";
2
+ export {
3
+ m as NumberPicker
4
+ };
@@ -3,8 +3,8 @@ import u, { useEffect as L } from "react";
3
3
  import { c as N } from "./index-chunk-0LeqwHm8.js";
4
4
  import { u as S } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
5
  import { u as g } from "./usePrevious-chunk-BtJVllKj.js";
6
- import { u as j } from "./Fieldset-chunk-PK4HqNv_.js";
7
- import { u as w, F as P } from "./FormControl-chunk-D_3t65GG.js";
6
+ import { u as j } from "./Fieldset-chunk-udvv8dML.js";
7
+ import { u as w, F as P } from "./FormControl-chunk-C2LR6MBZ.js";
8
8
  const _ = u.forwardRef(
9
9
  ({
10
10
  onChange: s,
@@ -1,4 +1,4 @@
1
- import { L as d } from "./Radio-chunk-CZnGQoYJ.js";
1
+ import { L as d } from "./Radio-chunk-DDMoE7Le.js";
2
2
  const a = {
3
3
  className: "Radio",
4
4
  name: "radio"
@@ -2,7 +2,7 @@ import { jsxs as h, jsx as s } from "react/jsx-runtime";
2
2
  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
- import { I as g } from "./Input-chunk-p-3N8OO4.js";
5
+ import { I as g } from "./Input-chunk-DT_YEVSQ.js";
6
6
  import { I as j } from "./Icon-chunk-nLD8VsP5.js";
7
7
  const B = v(
8
8
  ({ action: f, callback: o, className: b, input: e }, C) => {
@@ -0,0 +1,4 @@
1
+ import { S as a } from "./SearchField-chunk-DfXCHmW0.js";
2
+ export {
3
+ a as SearchField
4
+ };
@@ -0,0 +1,62 @@
1
+ import { jsxs as $, jsx as a } from "react/jsx-runtime";
2
+ import { c as i } from "./index-chunk-0LeqwHm8.js";
3
+ import { forwardRef as d } from "react";
4
+ import { u as f } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
+ const b = d(
6
+ ({
7
+ className: r,
8
+ theme: c = "light",
9
+ justify: t = "start",
10
+ headline: e,
11
+ icons: o,
12
+ iconSize: m = "normal"
13
+ }, n) => {
14
+ const { prefix: _ } = f(), s = `${_}--social-media`;
15
+ return /* @__PURE__ */ $(
16
+ "div",
17
+ {
18
+ className: i(
19
+ s,
20
+ `${s}__theme__${c}`,
21
+ `${s}__justify__${t}`,
22
+ r
23
+ ),
24
+ ref: n,
25
+ children: [
26
+ e && /* @__PURE__ */ a("h5", { className: `${s}--headline`, children: e }),
27
+ /* @__PURE__ */ a(
28
+ "ul",
29
+ {
30
+ className: i(
31
+ `${s}--list`,
32
+ `${s}--list__size__${m}`
33
+ ),
34
+ children: o.map((l) => /* @__PURE__ */ a(
35
+ "li",
36
+ {
37
+ className: i(`${s}--list--item`, l.className),
38
+ children: /* @__PURE__ */ a(
39
+ "a",
40
+ {
41
+ title: l.label,
42
+ className: i(
43
+ `${s}--list--item--icon`,
44
+ `${s}--list--item--icon__${l.icon}`
45
+ ),
46
+ href: l.url,
47
+ children: l.label
48
+ }
49
+ )
50
+ },
51
+ l.url
52
+ ))
53
+ }
54
+ )
55
+ ]
56
+ }
57
+ );
58
+ }
59
+ );
60
+ export {
61
+ b as S
62
+ };