@ilo-org/react 0.23.4 → 0.24.1

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 (147) hide show
  1. package/lib/cjs/_store/Breadcrumb-chunk-BFveDqpn.js +1 -0
  2. package/lib/cjs/_store/{Breadcrumb-entry-BroW68u4.js → Breadcrumb-entry-Cf-EAu2Z.js} +1 -1
  3. package/lib/cjs/_store/{Cards-entry-D_M0rUf1.js → Cards-entry-DP-Xck6d.js} +1 -1
  4. package/lib/cjs/_store/{Checkbox-chunk-C0TreicR.js → Checkbox-chunk-CDFIXTn9.js} +1 -1
  5. package/lib/cjs/_store/{Checkbox-entry-DSo6zQ9X.js → Checkbox-entry-DNbcaLP7.js} +1 -1
  6. package/lib/cjs/_store/{DatePicker-chunk-Dl0GaODr.js → DatePicker-chunk-DouvjE3X.js} +1 -1
  7. package/lib/cjs/_store/{DatePicker-entry-D0ZGNOBa.js → DatePicker-entry-Ci2NFgfR.js} +1 -1
  8. package/lib/cjs/_store/{Dropdown-chunk-DyCHTZMD.js → Dropdown-chunk-BjeJjYZD.js} +1 -1
  9. package/lib/cjs/_store/{Dropdown-entry-BaMzO6Kv.js → Dropdown-entry-BpdKN773.js} +1 -1
  10. package/lib/cjs/_store/Fieldset-chunk-Dykzn_3y.js +1 -0
  11. package/lib/cjs/_store/{Fieldset-entry-BXHX9lh2.js → Fieldset-entry-CgUV-ElS.js} +1 -1
  12. package/lib/cjs/_store/{FileUpload-chunk-DASUCDJs.js → FileUpload-chunk-CC1oePLc.js} +1 -1
  13. package/lib/cjs/_store/{FileUpload-entry-DohgXShA.js → FileUpload-entry-DwKrIcA0.js} +1 -1
  14. package/lib/cjs/_store/Form-chunk-Bhz_CsMf.js +1 -0
  15. package/lib/cjs/_store/{Form-entry-BAkn3BkW.js → Form-entry-DkAB5Wzc.js} +1 -1
  16. package/lib/cjs/_store/FormControl-chunk-Bv623HDr.js +1 -0
  17. package/lib/cjs/_store/{FormControl-entry-B3EdY4s4.js → FormControl-entry-Bu1yj8yC.js} +1 -1
  18. package/lib/cjs/_store/{Hero-chunk-Blm775AV.js → Hero-chunk-BgeQPg_6.js} +1 -1
  19. package/lib/cjs/_store/{Hero-entry-Dym2gQ5h.js → Hero-entry-BDFK6TqZ.js} +1 -1
  20. package/lib/cjs/_store/{Input-chunk-sjstsyZQ.js → Input-chunk-DUdxvEKw.js} +1 -1
  21. package/lib/cjs/_store/{Input-entry-CHQay_-X.js → Input-entry-C3vOeYic.js} +1 -1
  22. package/lib/cjs/_store/{Nav-entry-BaGFEK89.js → Nav-entry-B46iUi8w.js} +1 -1
  23. package/lib/cjs/_store/{NumberPicker-chunk-BuYxdQBu.js → NumberPicker-chunk-kaW8wv3h.js} +1 -1
  24. package/lib/cjs/_store/{NumberPicker-entry-CP8qKRH4.js → NumberPicker-entry-CwXGzUsE.js} +1 -1
  25. package/lib/cjs/_store/Pagination-chunk-D3Ve2ASf.js +1 -0
  26. package/lib/cjs/_store/{Pagination-entry-578nR00W.js → Pagination-entry-B-PLD6Os.js} +1 -1
  27. package/lib/cjs/_store/{Radio-chunk-U-ZyTPH7.js → Radio-chunk-DoLctty-.js} +1 -1
  28. package/lib/cjs/_store/{Radio-entry-hNkJLhk7.js → Radio-entry-rG2UfQcr.js} +1 -1
  29. package/lib/cjs/_store/{ReadMore-chunk-D36Ibsoy.js → ReadMore-chunk-Cz3Dc9Cz.js} +1 -1
  30. package/lib/cjs/_store/{ReadMore-entry-o6NAV4k0.js → ReadMore-entry-DoeHMibd.js} +1 -1
  31. package/lib/cjs/_store/RichText-chunk-CLfo33Pr.js +1 -0
  32. package/lib/cjs/_store/{RichText-entry-BAqZEwbl.js → RichText-entry-BMEaokVO.js} +1 -1
  33. package/lib/cjs/_store/ScoreCard-chunk-CYb8wTsk.js +1 -0
  34. package/lib/cjs/_store/{SearchField-chunk-CUGa67lu.js → SearchField-chunk-BuB-C9aK.js} +1 -1
  35. package/lib/cjs/_store/{SearchField-entry-Bo7Zww4C.js → SearchField-entry-CZ0XwZwr.js} +1 -1
  36. package/lib/cjs/_store/SubsiteNav-chunk-CVWgp2ti.js +1 -0
  37. package/lib/cjs/_store/{TextInput-entry-kwL7qsH7.js → TextInput-entry-D5kHzQCt.js} +1 -1
  38. package/lib/cjs/_store/{TextInput.args-chunk-DIxsZT_y.js → TextInput.args-chunk-Bs7YIRuJ.js} +1 -1
  39. package/lib/cjs/_store/{Textarea-chunk-Gr_D4IfG.js → Textarea-chunk-XYsrIeDn.js} +1 -1
  40. package/lib/cjs/_store/{Textarea-entry-ChgzYZSz.js → Textarea-entry-rsUP7-OD.js} +1 -1
  41. package/lib/cjs/_store/{Toggle-entry-BuFM2YXY.js → Toggle-entry-CrF6OlKl.js} +1 -1
  42. package/lib/cjs/_store/{Tooltip-chunk-Dk0E60Nc.js → Tooltip-chunk-CQu5vz01.js} +1 -1
  43. package/lib/cjs/_store/{Tooltip-entry-D5w7X3z_.js → Tooltip-entry-B52nIoTe.js} +1 -1
  44. package/lib/cjs/_store/{components-entry-DI-IAypP.js → components-entry-3bYkJbl2.js} +1 -1
  45. package/lib/cjs/index.js +1 -1
  46. package/lib/esm/_store/Breadcrumb-chunk-DjN2sOwo.js +132 -0
  47. package/lib/esm/_store/Breadcrumb-entry-BdsMn8X1.js +4 -0
  48. package/lib/esm/_store/{Cards-entry-BsTiPrJs.js → Cards-entry-C6lcDtCN.js} +1 -1
  49. package/lib/esm/_store/{Checkbox-chunk-OsF35mGH.js → Checkbox-chunk-lwnCSzbU.js} +2 -2
  50. package/lib/esm/_store/{Checkbox-entry-fyDheYn3.js → Checkbox-entry-iDYW3mII.js} +1 -1
  51. package/lib/esm/_store/{DatePicker-chunk-BUOrwC0Y.js → DatePicker-chunk-Dh48mMAP.js} +1 -1
  52. package/lib/esm/_store/DatePicker-entry-DA2mnr5y.js +4 -0
  53. package/lib/esm/_store/{Dropdown-chunk-fpN7RweM.js → Dropdown-chunk-DaOJI8GU.js} +1 -1
  54. package/lib/esm/_store/Dropdown-entry-yIppvxFB.js +4 -0
  55. package/lib/esm/_store/Fieldset-chunk-JT4tXIzJ.js +61 -0
  56. package/lib/esm/_store/Fieldset-entry-BU1iTqO6.js +4 -0
  57. package/lib/esm/_store/{FileUpload-chunk-Dw6vDrtN.js → FileUpload-chunk-Cfr5vOip.js} +1 -1
  58. package/lib/esm/_store/FileUpload-entry-B_cQHX8H.js +4 -0
  59. package/lib/esm/_store/Form-chunk-BUqXdVaD.js +14 -0
  60. package/lib/esm/_store/{Form-entry-z2FiIQ-u.js → Form-entry-D0WjXxpC.js} +1 -1
  61. package/lib/esm/_store/FormControl-chunk-CJhnDujX.js +81 -0
  62. package/lib/esm/_store/FormControl-entry-ShYwA_1H.js +4 -0
  63. package/lib/esm/_store/{Hero-chunk-CqARzKwt.js → Hero-chunk-rnL21UKu.js} +2 -2
  64. package/lib/esm/_store/Hero-entry-prlmncq4.js +4 -0
  65. package/lib/esm/_store/{Input-chunk-CCDILCqo.js → Input-chunk-XCiBTjUt.js} +1 -1
  66. package/lib/esm/_store/Input-entry-hEad-fr1.js +4 -0
  67. package/lib/esm/_store/Nav-entry-uKA3aXck.js +4 -0
  68. package/lib/esm/_store/{NumberPicker-chunk-CaNDffBy.js → NumberPicker-chunk-j6uKlj6R.js} +1 -1
  69. package/lib/esm/_store/NumberPicker-entry-DLV6zbka.js +4 -0
  70. package/lib/esm/_store/{Pagination-chunk-B5541Ksz.js → Pagination-chunk-CRESCE8P.js} +37 -38
  71. package/lib/esm/_store/Pagination-entry-DDD4AfVJ.js +4 -0
  72. package/lib/esm/_store/{Radio-chunk-DE_LEr18.js → Radio-chunk-6JgiY5AT.js} +2 -2
  73. package/lib/esm/_store/{Radio-entry-g1635wr3.js → Radio-entry-CEkjEsjC.js} +1 -1
  74. package/lib/esm/_store/{ReadMore-chunk-pjNnS8Ji.js → ReadMore-chunk-CyCJMFw8.js} +1 -1
  75. package/lib/esm/_store/ReadMore-entry-D7Qpu2o4.js +4 -0
  76. package/lib/esm/_store/RichText-chunk-BWOoOlCR.js +20 -0
  77. package/lib/esm/_store/RichText-entry-BjufLWsb.js +4 -0
  78. package/lib/esm/_store/ScoreCard-chunk-DPDwOSdN.js +491 -0
  79. package/lib/esm/_store/{SearchField-chunk-C1BKjgFA.js → SearchField-chunk-C7r7Ectd.js} +1 -1
  80. package/lib/esm/_store/SearchField-entry-MVIyW8fs.js +4 -0
  81. package/lib/esm/_store/{SubsiteNav-chunk-SOH4RAJ1.js → SubsiteNav-chunk-DTA21jDN.js} +104 -116
  82. package/lib/esm/_store/TextInput-entry-CpSwj1ey.js +5 -0
  83. package/lib/esm/_store/{TextInput.args-chunk-gw5WCsYI.js → TextInput.args-chunk-DCwrQ9lS.js} +1 -1
  84. package/lib/esm/_store/{Textarea-chunk-BjZncFjh.js → Textarea-chunk-CEAOC4yE.js} +1 -1
  85. package/lib/esm/_store/{Textarea-entry-DVlbgKTT.js → Textarea-entry-Bh6ZxG82.js} +1 -1
  86. package/lib/esm/_store/{Toggle-entry-RwBHvx2w.js → Toggle-entry-BdxawvoW.js} +1 -1
  87. package/lib/esm/_store/{Tooltip-chunk-BIPZucx0.js → Tooltip-chunk-CC5huzaB.js} +49 -50
  88. package/lib/esm/_store/Tooltip-entry-DyEW_ai7.js +4 -0
  89. package/lib/esm/_store/{components-entry-BxxKZOP5.js → components-entry-CWXSZN_z.js} +19 -19
  90. package/lib/esm/index.js +19 -19
  91. package/lib/styles/components/breadcrumb.css +1 -1
  92. package/lib/styles/components/card.css +1 -1
  93. package/lib/styles/components/datacard.css +1 -1
  94. package/lib/styles/components/detailcard.css +1 -1
  95. package/lib/styles/components/featurecard.css +1 -1
  96. package/lib/styles/components/fieldset.css +1 -1
  97. package/lib/styles/components/form.css +1 -1
  98. package/lib/styles/components/formcontrol.css +1 -1
  99. package/lib/styles/components/languagetoggle.css +1 -1
  100. package/lib/styles/components/multilinkcard.css +1 -1
  101. package/lib/styles/components/pagination.css +1 -1
  102. package/lib/styles/components/richtext.css +1 -1
  103. package/lib/styles/components/scorecard.css +1 -1
  104. package/lib/styles/global.css.map +1 -1
  105. package/lib/styles/index.css +2 -2
  106. package/lib/styles/index.css.map +1 -1
  107. package/lib/styles/monorepo.css +2 -2
  108. package/lib/styles/monorepo.css.map +1 -1
  109. package/lib/types/components/Breadcrumb/Breadcrumb.d.ts +5 -0
  110. package/lib/types/components/Fieldset/Fieldset.props.d.ts +4 -0
  111. package/lib/types/components/Form/Form.d.ts +5 -0
  112. package/lib/types/components/Form/Form.props.d.ts +1 -1
  113. package/lib/types/components/FormControl/FormControl.props.d.ts +5 -0
  114. package/lib/types/components/Nav/Navigation.props.d.ts +0 -4
  115. package/lib/types/components/Pagination/Pagination.props.d.ts +4 -0
  116. package/lib/types/components/RichText/RichText.props.d.ts +7 -0
  117. package/package.json +3 -3
  118. package/lib/cjs/_store/Breadcrumb-chunk-BV3TmRn5.js +0 -1
  119. package/lib/cjs/_store/Fieldset-chunk-ChX_vSBT.js +0 -1
  120. package/lib/cjs/_store/Form-chunk-BJA6abAs.js +0 -1
  121. package/lib/cjs/_store/FormControl-chunk-CTRPINwt.js +0 -1
  122. package/lib/cjs/_store/Pagination-chunk-DYcRUXLg.js +0 -1
  123. package/lib/cjs/_store/RichText-chunk-B8HoKl_2.js +0 -1
  124. package/lib/cjs/_store/ScoreCard-chunk-CdqvfjmP.js +0 -1
  125. package/lib/cjs/_store/SubsiteNav-chunk-Cfmr4rbb.js +0 -1
  126. package/lib/esm/_store/Breadcrumb-chunk-DxH8m_ti.js +0 -126
  127. package/lib/esm/_store/Breadcrumb-entry-DCWVKCJk.js +0 -4
  128. package/lib/esm/_store/DatePicker-entry-iTkl-QSl.js +0 -4
  129. package/lib/esm/_store/Dropdown-entry-cEgUhErA.js +0 -4
  130. package/lib/esm/_store/Fieldset-chunk-BYqbIcGY.js +0 -57
  131. package/lib/esm/_store/Fieldset-entry-BuAubc6Z.js +0 -4
  132. package/lib/esm/_store/FileUpload-entry-BS-_F8ZK.js +0 -4
  133. package/lib/esm/_store/Form-chunk-CnI3CSpO.js +0 -13
  134. package/lib/esm/_store/FormControl-chunk-k6iX88xc.js +0 -77
  135. package/lib/esm/_store/FormControl-entry-DxxbHspw.js +0 -4
  136. package/lib/esm/_store/Hero-entry-xdofG0qk.js +0 -4
  137. package/lib/esm/_store/Input-entry-DZN_IP5o.js +0 -4
  138. package/lib/esm/_store/Nav-entry-DII1wFGi.js +0 -4
  139. package/lib/esm/_store/NumberPicker-entry-gJSmumaB.js +0 -4
  140. package/lib/esm/_store/Pagination-entry-CTafIaXw.js +0 -4
  141. package/lib/esm/_store/ReadMore-entry-Be7_PncI.js +0 -4
  142. package/lib/esm/_store/RichText-chunk-BQLMR58V.js +0 -18
  143. package/lib/esm/_store/RichText-entry-B5WFlH5n.js +0 -4
  144. package/lib/esm/_store/ScoreCard-chunk-T3fANZpV.js +0 -480
  145. package/lib/esm/_store/SearchField-entry-HNmMCvOI.js +0 -4
  146. package/lib/esm/_store/TextInput-entry-C1VYOhZw.js +0 -5
  147. package/lib/esm/_store/Tooltip-entry-BdZs-1tq.js +0 -4
@@ -1,4 +1,5 @@
1
1
  import { BreadcrumbItemProps } from './BreadcrumbItem';
2
+ import { ThemeTypes } from '../../types';
2
3
 
3
4
  export type BreadcrumbProps = {
4
5
  /**
@@ -13,6 +14,10 @@ export type BreadcrumbProps = {
13
14
  * Specify the links to be displayed in the Breadcrumb
14
15
  */
15
16
  links: BreadcrumbItemProps[];
17
+ /**
18
+ * Specify the theme of the Breadcrumb
19
+ */
20
+ theme?: ThemeTypes;
16
21
  };
17
22
  declare const Breadcrumb: import('react').ForwardRefExoticComponent<BreadcrumbProps & import('react').RefAttributes<HTMLElement>>;
18
23
  export { Breadcrumb };
@@ -25,4 +25,8 @@ export interface FieldsetProps extends HTMLProps<HTMLFieldSetElement> {
25
25
  * How the Fieldset children will wrap
26
26
  */
27
27
  wrap?: "reverse" | "nowrap" | "wrap" | "wrap-reverse";
28
+ /**
29
+ * The theme of the Fieldset. This will be overridden by the theme of the Form.
30
+ */
31
+ theme?: "light" | "dark";
28
32
  }
@@ -1,4 +1,9 @@
1
1
  import { FormProps } from './Form.props';
2
+ import { ThemeTypes } from '../../types';
2
3
 
4
+ interface FormContextValue {
5
+ theme: ThemeTypes | null;
6
+ }
7
+ export declare const useFormContext: () => FormContextValue;
3
8
  declare const Form: import('react').ForwardRefExoticComponent<FormProps & import('react').RefAttributes<HTMLFormElement>>;
4
9
  export default Form;
@@ -1,7 +1,7 @@
1
1
  export interface FormProps extends React.FormHTMLAttributes<HTMLFormElement> {
2
2
  children?: React.ReactNode;
3
3
  /**
4
- * The theme of the form. Also sets the theme of the form's children.
4
+ * The theme of the form. Also sets the theme of the form's children. Defaults to "light".
5
5
  */
6
6
  theme?: "light" | "dark";
7
7
  }
@@ -3,6 +3,7 @@ import { DropdownProps } from '../Dropdown/Dropdown.props';
3
3
  import { InputProps } from '../Input/Input.props';
4
4
  import { TextareaProps } from '../Textarea';
5
5
  import { ToggleProps } from '../Toggle';
6
+ import { ThemeTypes } from '../../types';
6
7
 
7
8
  export interface FormControlPublicProps {
8
9
  /**
@@ -45,6 +46,10 @@ export interface FormControlPublicProps {
45
46
  * Optional text to render in a tooltip
46
47
  */
47
48
  tooltip?: string;
49
+ /**
50
+ * Theme to use for the FormControl. This will be overridden by the theme of the Form.
51
+ */
52
+ theme?: ThemeTypes;
48
53
  }
49
54
  export interface FormControlPrivateProps {
50
55
  /**
@@ -24,10 +24,6 @@ export interface SubsiteNavCoreProps {
24
24
  */
25
25
  drawer?: ReactNode;
26
26
  };
27
- /**
28
- * The site or product name
29
- */
30
- name: string;
31
27
  /**
32
28
  * The handler to call when the branding is clicked
33
29
  */
@@ -51,4 +51,8 @@ export interface PaginationProps {
51
51
  * total number of pages that are available
52
52
  */
53
53
  totalPages: number;
54
+ /**
55
+ * theme of the pagination
56
+ */
57
+ theme?: "dark" | "light";
54
58
  }
@@ -1,3 +1,5 @@
1
+ import { ThemeTypes } from '../../types';
2
+
1
3
  export interface RichTextProps {
2
4
  /**
3
5
  * Specify an optional className to be added to your RichText.
@@ -7,4 +9,9 @@ export interface RichTextProps {
7
9
  * Specify the html content
8
10
  */
9
11
  content: string;
12
+ /**
13
+ * Specify the theme to be used for the RichText component.
14
+ * @default "light"
15
+ */
16
+ theme?: ThemeTypes;
10
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilo-org/react",
3
- "version": "0.23.4",
3
+ "version": "0.24.1",
4
4
  "description": "React components for the ILO's Design System",
5
5
  "keywords": [
6
6
  "ui_patterns",
@@ -75,7 +75,7 @@
75
75
  "@ilo-org/brand-assets": "1.0.0",
76
76
  "@ilo-org/fonts": "1.0.0",
77
77
  "@ilo-org/icons-react": "1.0.3",
78
- "@ilo-org/styles": "1.7.3",
78
+ "@ilo-org/styles": "1.8.1",
79
79
  "@ilo-org/themes": "0.9.1",
80
80
  "@ilo-org/utils": "0.1.1"
81
81
  },
@@ -112,8 +112,8 @@
112
112
  "vite-plugin-dts": "^3.9.1",
113
113
  "vite-plugin-static-copy": "^1.0.6",
114
114
  "vitest": "^2.0.5",
115
- "@ilo-org/eslint-config": "2.0.0",
116
115
  "@ilo-org/prettier-config": "2.0.0",
116
+ "@ilo-org/eslint-config": "2.0.0",
117
117
  "@ilo-org/typescript-config": "2.0.0"
118
118
  },
119
119
  "peerDependencies": {
@@ -1 +0,0 @@
1
- "use strict";const t=require("react/jsx-runtime"),r=require("react"),x=require("./index-chunk-D921N0ug.js"),p=require("./useGlobalSettings-chunk-DEacV16j.js"),q=require("./ContextMenu-chunk-LNOPuIui.js"),E=({component:o,componentProps:c,first:i,label:u,url:e})=>{const{prefix:l}=p.useGlobalSettings(),s=t.jsx("span",{className:`${l}--breadcrumb--link--label`,children:u}),b={href:e,className:`${l}--breadcrumb--link`,"aria-label":u};return o?t.jsx(o,{...b,...c,children:!i&&s}):t.jsx("a",{...b,children:!i&&s})},R=r.forwardRef(({url:o,label:c,className:i,first:u,...e},l)=>{const{prefix:s}=p.useGlobalSettings();return t.jsx("li",{className:x.classnames({[`${s}--breadcrumb--item`]:!0,[`${s}--breadcrumb--item__first`]:u,className:i}),ref:l,children:t.jsx(E,{label:c,url:o,first:u,...e})})}),S=r.forwardRef(({className:o,links:c,buttonLabel:i},u)=>{const{prefix:e}=p.useGlobalSettings(),l=r.useId(),[s,b]=r.useState(!1),[B,M]=r.useState(!1),C=r.useRef(0),m=r.useRef(null),a=r.useRef(null),g=r.useRef(null);if(r.useEffect(()=>{C.current=g.current.offsetWidth},[]),r.useEffect(()=>{function n(d){m.current&&a.current&&!m.current.contains(d.target)&&!a.current.contains(d.target)&&b(!1)}const $=new ResizeObserver(d=>{const j=d.at(0),f=C.current>=j.contentRect.width/1.5;M(v=>v!==f?f:v)});return document.addEventListener("mousedown",n),$.observe(document.body),()=>{document.removeEventListener("mousedown",n),$.disconnect()}},[l,e]),r.useEffect(()=>{if(!(!m.current||!a.current)&&s){const n=m.current.getBoundingClientRect(),d=a.current.firstChild.getBoundingClientRect(),j=n.left+n.width/2-d.width/2-5,f=n.bottom+16;a.current.style.left=`${j}px`,a.current.style.top=`${f}px`}},[s]),c.length<2)throw new Error(`Breadcrumb component requires at least two links, but received ${c.length}`);const w=c.at(0),h=c.slice(1,-1),N=c.at(-1);return t.jsxs("nav",{className:x.classnames(`${e}--breadcrumb`,o),ref:u,children:[t.jsx("div",{className:`${e}--breadcrumb--inner`,children:t.jsxs("ol",{className:`${e}--breadcrumb--items`,id:`${e}--breadcrumb--items-${l}`,ref:g,children:[t.jsx(R,{first:!0,url:w.url,label:w.label}),h.length>0&&t.jsxs("li",{className:x.classnames(`${e}--breadcrumb--context`,{[`${e}--breadcrumb--context__collapse`]:B}),children:[t.jsx("ol",{className:`${e}--breadcrumb--items`,children:h.map(n=>t.jsx(R,{url:n.url,label:n.label},`${n.label}-${n.url}`))}),t.jsx("button",{onClick:()=>b(!s),"aria-label":i,"aria-expanded":s,"aria-controls":`${e}--breadcrumb--menu-${l}`,className:`${e}--breadcrumb--context--button`,ref:m})]}),t.jsx(R,{url:N.url,label:N.label})]})}),t.jsx("div",{className:x.classnames(`${e}--breadcrumb--context--menu`,{[`${e}--breadcrumb--context--menu__visible`]:s}),id:`${e}--breadcrumb--menu-${l}`,ref:a,children:t.jsx(q.ContextMenu,{links:h})})]})});exports.Breadcrumb=S;
@@ -1 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),n=require("react"),c=require("./index-chunk-D921N0ug.js"),v=require("./useGlobalSettings-chunk-DEacV16j.js"),H=require("./Tooltip-chunk-Dk0E60Nc.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 +0,0 @@
1
- "use strict";const i=require("react/jsx-runtime"),m=require("react"),l=require("./useGlobalSettings-chunk-DEacV16j.js"),u=require("./index-chunk-D921N0ug.js"),f=m.forwardRef(({children:e,theme:t="light",...r},o)=>{const{prefix:n}=l.useGlobalSettings(),s=`${n}--form`,c=`${s}__theme__${t}`,a=u.classnames(s,c);return i.jsx("form",{ref:o,className:a,...r,children:e})}),q=f;exports.Form=q;
@@ -1 +0,0 @@
1
- "use strict";const r=require("react/jsx-runtime"),C=require("./index-chunk-D921N0ug.js"),a=require("react"),G=require("./useGlobalSettings-chunk-DEacV16j.js"),P=require("./Tooltip-chunk-Dk0E60Nc.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 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),a=require("./index-chunk-D921N0ug.js"),F=require("./useGlobalSettings-chunk-DEacV16j.js"),G=({className:i,callback:c,currentPage:l,firstPageUrl:h,firstPageTitle:r="First page",lastPageUrl:j,lastPageTitle:o="Last page",nextPageUrl:C,nextPageTitle:d="Next page",pageCountPreposition:m="of",prevPageUrl:g,prevPageTitle:p="Previous page",totalPages:u})=>{const{prefix:f}=F.useGlobalSettings(),s=`${f}--pagination`,k=a.classnames(i,{[s]:!0}),x=l===0,$=l+1===u,b=a.classnames(i,{[`${s}--first-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:x}),v=a.classnames(i,{[`${s}--prev-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:x}),N=a.classnames(i,{[`${s}--next-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:$}),q=a.classnames(i,{[`${s}--last-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:$}),t=n=>{c&&c(n)};return e.jsxs("div",{className:k,children:[e.jsxs("div",{className:`${s}--previous-set`,children:[e.jsx("a",{className:b,onClick:n=>t(n),href:h,title:r,children:r}),e.jsx("a",{className:v,onClick:n=>t(n),href:g,title:p,children:p})]}),e.jsxs("p",{className:`${s}--page`,children:[e.jsx("span",{children:l+1}),e.jsx("span",{children:m}),e.jsx("span",{children:u})]}),e.jsxs("div",{className:`${s}--next-set`,children:[e.jsx("a",{className:N,onClick:n=>t(n),href:C,title:d,children:d}),e.jsx("a",{className:q,onClick:n=>t(n),href:j,title:o,children:o})]})]})},L=G;exports.Pagination=L;
@@ -1 +0,0 @@
1
- "use strict";const i=require("react/jsx-runtime"),r=require("./index-chunk-D921N0ug.js"),o=require("./useGlobalSettings-chunk-DEacV16j.js"),a=({className:e,content:s})=>{const{prefix:t}=o.useGlobalSettings(),n=`${t}--richtext`,c=r.classnames(e,{[n]:!0});return i.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:s}})},l=a;exports.RichText=l;
@@ -1 +0,0 @@
1
- "use strict";const s=require("react/jsx-runtime"),N=require("react"),u=require("./index-chunk-D921N0ug.js"),v=require("./useGlobalSettings-chunk-DEacV16j.js"),C=require("./Button-chunk-B65FgSLG.js"),y=require("./Link-chunk-DuZiglb_.js"),L=require("./LinkList-chunk-AT26ZVEG.js"),E=require("./Profile-chunk-Du8HEAQA.js"),k=require("./List-entry-DRGsrQZi.js"),I=require("./Picture-chunk-CK6tJPnd.js"),M=require("./Status-chunk-3GZXo15N.js"),z=require("./Icon-chunk-QFryHTpy.js"),S=N.forwardRef(({className:p,title:c,theme:r="light",size:e="standard",color:o,intro:$,source:m,titleLevel:x="p"},n)=>{const{prefix:a}=v.useGlobalSettings(),i=`${a}--card`,_=u.classnames(`${i}--wrapper`,p),t=u.classnames(i,`${i}__type__stat`,{[`${i}__size__${String(e)}`]:e,[`${i}__theme__${r}`]:r,[`${i}__color__${o}`]:o});return s.jsx("div",{className:_,ref:n,children:s.jsx("div",{className:t,children:s.jsx("div",{className:`${i}--wrap`,children:s.jsxs("div",{className:`${i}--content`,children:[s.jsx(x,{className:`${i}--title`,children:c}),$&&s.jsx("p",{className:`${i}--intro`,children:$}),m&&s.jsx(y.Link,{className:`${i}--source`,url:m.url,label:m.label})]})})})})}),G=N.forwardRef(({className:p,title:c,size:r="standard",alignment:e,intro:o,link:$,linklist:m,image:x,titleLevel:n="p",eyebrow:a,isVideo:i,theme:_="light"},t)=>{const{prefix:l}=v.useGlobalSettings(),d=`${l}--card`,h=u.classnames(d,p,`${d}__type__multilink`,{[`${d}__align__${e}`]:e,[`${d}__size__${r}`]:r,[`${d}__isvideo`]:i,[`${d}--no-image`]:!x,[`${d}__theme__${_}`]:_});return s.jsxs("div",{className:h,ref:t,children:[$&&s.jsx("a",{className:`${d}--link`,href:$,title:c,children:s.jsx("span",{className:`${d}--link--text`,children:c})}),s.jsxs("div",{className:`${d}--wrap`,children:[x&&s.jsx("div",{className:`${d}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:x,alt:c,className:`${d}--picture`})})}),s.jsxs("div",{className:`${d}--content`,children:[a&&s.jsx("p",{className:`${d}--eyebrow`,children:a}),s.jsx(n,{className:`${d}--title`,children:c}),x&&s.jsx("div",{className:`${d}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:x,alt:c,className:`${d}--picture`})})}),o&&(N.isValidElement(o)?s.jsx("div",{className:`${d}--intro`,children:o}):s.jsx("p",{className:`${d}--intro`,children:o})),m&&s.jsx(L.LinkList,{...m})]})]})]})}),q=N.forwardRef(({className:p,title:c,theme:r="light",size:e="narrow",date:o,profile:$,link:m,titleLevel:x="p",eyebrow:n},a)=>{const{prefix:i}=v.useGlobalSettings(),_=`${i}--card`,t=u.classnames(`${_}--wrapper`,p),l=u.classnames(_,`${_}__type__text`,{[`${_}__size__${String(e)}`]:e,[`${_}__theme__${r}`]:r});return s.jsx("div",{className:t,ref:a,children:s.jsxs("div",{className:l,children:[s.jsx("a",{className:`${_}--link`,href:m,title:c,children:s.jsx("span",{className:`${_}--link--text`,children:c})}),s.jsx("div",{className:`${_}--wrap`,children:s.jsxs("div",{className:`${_}--content`,children:[n&&s.jsx("p",{className:`${_}--eyebrow`,children:n}),s.jsx(x,{className:`${_}--title`,children:c}),o&&s.jsx("time",{className:`${_}--date`,dateTime:o.unix,children:o.human}),$&&s.jsx(E.Profile,{avatar:$.avatar,description:$.description,link:$.link,name:$.name,role:$.role,theme:r})]})})]})})}),R=N.forwardRef(({className:p,title:c,theme:r="light",size:e="narrow",cornercut:o,intro:$,link:m,cta:x,titleLevel:n="p",eyebrow:a},i)=>{const{prefix:_}=v.useGlobalSettings(),t=`${_}--card`,l=u.classnames(`${t}--wrapper`,p,`${t}--wrapper__type__promo`,`${t}--wrapper__type__promo__size__${e}`),d=u.classnames(t,`${t}__type__promo`,{[`${t}__size__${String(e)}`]:e,[`${t}__theme__${r}`]:r,[`${t}__cornercut`]:o});return s.jsx("div",{className:l,ref:i,children:s.jsxs("div",{className:d,children:[s.jsx("a",{className:`${t}--link`,href:m,title:c,children:s.jsx("span",{className:`${t}--link--text`,children:c})}),s.jsx("div",{className:`${t}--wrap`,children:s.jsxs("div",{className:`${t}--content`,children:[a&&s.jsx("p",{className:`${t}--eyebrow`,children:a}),s.jsx(n,{className:`${t}--title`,children:c}),$&&s.jsx("p",{className:`${t}--intro`,children:$}),(x==null?void 0:x.label)&&s.jsx("div",{className:`${t}--cta`,children:s.jsx(C.Button,{link:{url:x.url,label:x.label},size:"medium",type:"primary"})})]})})]})})}),T=N.forwardRef(({className:p,title:c,theme:r="light",size:e="narrow",date:o,link:$,linklist:m,image:x,titleLevel:n="p",eyebrow:a,isVideo:i},_)=>{const{prefix:t}=v.useGlobalSettings(),l=`${t}--card`,d=u.classnames(l,p,`${l}__type__feature`,{[`${l}__size__${String(e)}`]:e,[`${l}__theme__${r}`]:r,[`${l}__isvideo`]:i,[`${l}__linklist`]:m});return s.jsxs("div",{className:d,ref:_,children:[$&&s.jsx("a",{className:`${l}--link`,href:$,title:c,children:s.jsx("span",{className:`${l}--link--text`,children:c})}),s.jsxs("div",{className:`${l}--wrap`,children:[x&&s.jsx("div",{className:`${l}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:x,alt:c,className:`${l}--picture`})})}),s.jsxs("div",{className:`${l}--content`,children:[a&&s.jsx("p",{className:`${l}--eyebrow`,children:a}),s.jsx(n,{className:`${l}--title`,children:c}),o&&s.jsx("time",{className:`${l}--date`,dateTime:o.unix,children:o.human}),m&&s.jsx(L.LinkList,{headline:m.headline,linkgroup:m.linkgroup,theme:r})]})]})]})}),P=N.forwardRef(({className:p,title:c,theme:r="light",size:e="narrow",date:o,details:$,link:m,titleLevel:x="p",eyebrow:n,intro:a,image:i,isVideo:_=!1,linkComponent:t},l)=>{const{prefix:d}=v.useGlobalSettings(),h=`${d}--card`,j=u.classnames(h,`${h}__type__detail`,p,{[`${h}__size__${String(e)}`]:e,[`${h}__theme__${r}`]:r,[`${h}__isvideo`]:_}),b=N.createElement(t||"a",{className:`${h}--link`,href:m,title:c},s.jsx("span",{className:`${h}--link--text`,children:c}));return s.jsxs("div",{className:j,ref:l,children:[m&&b,s.jsxs("div",{className:`${h}--wrap`,children:[i&&s.jsx("div",{className:`${h}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${h}--picture`,src:i,alt:c})})}),s.jsxs("div",{className:`${h}--content`,children:[n&&s.jsx("p",{className:`${h}--eyebrow`,children:n}),c&&s.jsx(x,{className:`${h}--title`,children:c}),a&&(N.isValidElement(a)?s.jsx("div",{className:`${h}--intro`,children:a}):s.jsx("p",{className:`${h}--intro`,children:a})),o&&s.jsx("time",{className:`${h}--date`,dateTime:o.unix,children:o.human}),$&&s.jsx("p",{className:`${h}--date-extra`,children:$})]})]})]})}),B=N.forwardRef(({title:p,theme:c="light",size:r="narrow",list:e,titleLevel:o="p",className:$},m)=>{const{prefix:x}=v.useGlobalSettings(),n=`${x}--card`,a=u.classnames(n,`${n}__type__factlist`,$,{[`${n}__size__${r}`]:r,[`${n}__theme__${c}`]:c});return s.jsx("div",{className:a,ref:m,children:s.jsx("div",{className:`${n}--wrap`,children:s.jsxs("div",{className:`${n}--content`,children:[p&&s.jsx(o,{className:`${x}--card--title`,children:p}),s.jsx(k.List,{alignment:"default",ordered:"unordered",theme:c,children:e.map(i=>s.jsx(k.List.Item,{children:s.jsx("p",{children:i})},i))})]})})})}),F=N.forwardRef(({eyebrow:p,size:c="narrow",image:r,dataset:e,columns:o="one",className:$},m)=>{var t;const{prefix:x}=v.useGlobalSettings(),n=c==="narrow"?"one":o,a=`${x}--card`,i=u.classnames(a,`${a}__type__data`,$,{[`${a}__size__${String(c)}`]:c,[`${a}__type__data__columns__${n}`]:n}),_=u.classnames(`${a}--content`,{[`${a}--content__with-image`]:r,[`${a}--content__no-image-with-links`]:!r&&(e==null?void 0:e.links),[`${a}--content__default`]:!r&&!(e!=null&&e.links)});return s.jsx("div",{className:i,ref:m,children:s.jsxs("div",{className:`${a}--wrap`,children:[!r&&p&&s.jsx("div",{className:`${a}--eyebrow`,children:p}),s.jsxs("div",{className:_,children:[r&&s.jsxs("div",{className:`${a}--area--image`,children:[p&&s.jsx("div",{className:`${a}--eyebrow`,children:p}),s.jsx("div",{className:`${a}--image`,children:s.jsx("picture",{children:s.jsx("img",{className:`${a}--picture`,src:r,alt:p})})})]}),(t=e==null?void 0:e.content)==null?void 0:t.items.map((l,d)=>s.jsxs("div",{className:`${a}--area--content`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:l.label}),s.jsx("p",{className:`${a}__type__data--content-copy`,children:l.copy})]},d)),(e==null?void 0:e.files)&&s.jsx("div",{className:`${a}--area--files`,children:s.jsxs("div",{className:`${a}__type__data--content-files`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:e.files.headline}),e.files.items.map((l,d)=>s.jsx(C.Button,{link:{url:l.url,label:l.label,target:l.target||"_self"},size:"small"},d))]})}),(e==null?void 0:e.cta)&&s.jsx("div",{className:`${a}--area--cta`,children:s.jsxs("div",{className:`${a}__type__data--content-cta`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:e.cta.headline}),e.cta.items.map(l=>s.jsx(C.Button,{type:"secondary",size:"small",link:{url:l.url,label:l.label,target:l.target}},l.label))]})}),(e==null?void 0:e.links)&&s.jsx("div",{className:`${a}--area--links`,children:s.jsxs("div",{className:`${a}__type__data--content-links`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:e.links.headline}),s.jsx("div",{className:`${a}__type__data--content-links-list`,children:e.links.items.map(l=>s.jsx(N.Fragment,{children:s.jsx(y.Link,{url:l.url,label:l.label,className:`${a}__type__data--content-link`})},l.label+l.url))})]})})]})]})})}),V={stat:S,multilink:G,text:q,promo:R,feature:T,detail:P,factlist:B,data:F},A=N.forwardRef(({type:p,group:c,cardCount:r="one",cta:e,collapsed:o=!1},$)=>{const m=V[p],{prefix:x}=v.useGlobalSettings(),n=`${x}--cardgroup`,a=u.classnames(n,`${n}__count__${r}`,{[`${n}__collapsed`]:o});return s.jsxs("div",{className:a,ref:$,children:[s.jsx("div",{className:`${n}--inner`,children:c.map((i,_)=>s.jsx(m,{...i},_))}),e&&s.jsx("div",{className:`${n}--button-wrap`,children:s.jsx(C.Button,{link:{url:e.url,label:e.label},type:"secondary",size:"medium"})})]})}),H=N.forwardRef(({className:p,theme:c="light",titleLevel:r="p",size:e="narrow",link:o,linkComponent:$,title:m,isVideo:x=!1,image:n,status:a,eyebrow:i,content:_,cta:t},l)=>{var g;const{prefix:d}=v.useGlobalSettings(),h=c==="dark"?"var(--ilo-color-white)":"var(--ilo-color-gray-accessible)",j=`${d}--card`,b=u.classnames(j,`${j}__type__score`,{[`${j}__theme__${c}`]:c,[`${j}__size__${e}`]:e,[`${j}__isvideo`]:x}),D=N.createElement($||"a",{href:o,title:m,className:`${j}--link`},s.jsx("span",{className:`${j}--link--text`,children:m}));return s.jsxs("div",{className:u.classnames(b,p),ref:l,children:[D,s.jsxs("div",{className:`${j}--wrap`,children:[n&&e!=="simple"&&s.jsx("div",{className:`${j}--image--wrapper`,children:s.jsx(I.Picture,{...n})}),s.jsxs("div",{className:`${j}--content`,children:[a&&s.jsx(M.Status,{content:a.content,statusType:a.statusType}),i&&e!=="simple"&&s.jsx("p",{className:`${j}--eyebrow`,children:i}),m&&s.jsx(r,{className:`${j}--title`,children:m}),_&&s.jsx("div",{className:`${j}--area--content`,children:(g=_.items)==null?void 0:g.map((f,w)=>s.jsxs("div",{className:`${j}--content--item`,children:[s.jsx(z.Icon,{name:f.icon,size:20,color:h}),s.jsx("span",{children:f.label})]},w))}),t&&s.jsx("div",{className:`${j}--area--cta`,children:t.items.map((f,w)=>s.jsx("div",{className:`${j}--cta`,children:f},w))})]})]})]})});exports.CardGroup=A;exports.DataCard=F;exports.DetailCard=P;exports.FactListCard=B;exports.FeatureCard=T;exports.MultiLinkCard=G;exports.PromoCard=R;exports.ScoreCard=H;exports.StatCard=S;exports.TextCard=q;
@@ -1 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),u=require("react"),N=require("./useGlobalSettings-chunk-DEacV16j.js"),I=require("react-dom"),b=require("./index-chunk-D921N0ug.js"),O=require("./LanguageToggle-chunk-DdIPnYuL.js"),B=require("./useBreakpoint-chunk-B5MpfIru.js"),q=({isOpen:l,className:r,navRef:c,children:s})=>{const{prefix:a}=N.useGlobalSettings(),t=u.useRef(null),m=`${a}--nav-dropdown`,i=u.useCallback(()=>{if(!(t!=null&&t.current)||!(c!=null&&c.current))return;const o=c.current.getBoundingClientRect();t.current.style.top=`${o.bottom}px`,t.current.style.width=`${o.width}px`},[c]);return u.useEffect(()=>(i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}),[c]),typeof document>"u"?null:I.createPortal(e.jsx("div",{ref:t,className:b.classnames({[m]:!0,[`${m}--open`]:l,className:r}),children:e.jsx("div",{className:`${m}__container`,children:s})}),document.body)},S=u.memo(q),$=l=>{const{label:r,component:c,...s}=l;return c?e.jsx(c,{...s,children:r}):e.jsx("a",{...s,children:r})},M=({menu:l})=>{const{prefix:r}=N.useGlobalSettings(),c=`${r}--nav-menu-grid`,s=[];for(let a=0;a<l.length;a+=5)s.push(l.slice(a,a+5));return e.jsx("div",{className:c,children:s.map((a,t)=>e.jsx("div",{className:`${c}__column`,children:a.map(m=>{var i;return e.jsx($,{className:`${c}__item`,href:m.href,label:m.label},(i=m.label)==null?void 0:i.toString())})},t))})},k=({menu:l})=>{const{prefix:r}=N.useGlobalSettings(),c=`${r}--nav-mobile-menu`;return e.jsx("ul",{className:`${c}`,children:l.map((s,a)=>{const t=typeof s.isActive=="function"?s.isActive():s.isActive;return e.jsxs("li",{className:`${c}__item`,children:[e.jsx($,{label:s.label,href:s.href,className:`${c}__link`}),t&&e.jsx("span",{className:`${c}__marked`})]},a)})})},C=({isOpen:l,onClose:r,header:c,widgets:s,children:a,className:t})=>{const{prefix:m}=N.useGlobalSettings(),i=u.useId(),o=`${m}--nav-mobile-drawer`;return typeof document>"u"?null:I.createPortal(e.jsxs("div",{id:`${o}__${i}`,className:b.classnames(o,t,{[`${o}--open`]:l}),children:[e.jsxs("div",{className:`${o}__header`,children:[e.jsx("div",{className:`${o}__header-main`,children:c}),e.jsx("button",{className:`${o}__header-close`,onClick:r,"aria-label":"Close navigation",children:e.jsx("span",{className:`${o}__header-close__icon`})})]}),e.jsxs("div",{className:`${o}__container`,children:[e.jsx("div",{className:`${o}__widgets`,children:s}),a]})]}),document.body)},D=({options:l,selected:r})=>{const c=(l==null?void 0:l.map(a=>({label:a.label,href:a.url})))||[],s=[{label:r,href:"#",isActive:!0},...c];return e.jsx(k,{menu:s})},L=({isOpen:l,navigationProps:{branding:r,menu:{items:c,labels:s},widgets:a},onClose:t})=>{var v,f,g;const{prefix:m}=N.useGlobalSettings(),[i,o]=u.useState(!1),[j,d]=u.useState(!1),h=u.useCallback(()=>{o(!1),d(!1)},[]),_=`${m}--nav-mobile`,x=i||j,p=c.slice(0,5),n=c.slice(5);return e.jsxs(C,{isOpen:l,onClose:t,header:e.jsxs("div",{className:`${_}__branding`,children:[e.jsx("div",{className:`${_}__logo`,children:r.logo.drawer||r.logo.main}),e.jsx("h3",{className:`${_}__name`,children:r.name})]}),widgets:e.jsxs("div",{className:`${_}__widgets`,children:[(a==null?void 0:a.search)&&e.jsxs("a",{className:`${_}__widgets-search`,href:a.search.url,"aria-label":"Search",children:[e.jsx("span",{className:`${_}__widgets-search__label`,children:a.search.label}),e.jsx("span",{className:`${_}__widgets-search__icon`})]}),(a==null?void 0:a.link)&&e.jsx($,{className:`${_}__widgets-link`,href:a.link.href,"aria-label":a.link.label,label:a.link.label}),(a==null?void 0:a.language)&&e.jsxs("button",{className:`${_}__widgets-language`,onClick:()=>d(!0),"aria-expanded":j,"aria-controls":"language-list","aria-label":"Select language",children:[e.jsxs("span",{className:`${_}__widgets-language__label`,children:[a.language.label,": ",a.language.language]}),e.jsx("span",{className:`${_}__widgets-language__icon`})]})]}),children:[e.jsx(k,{menu:p}),!!n.length&&e.jsxs("button",{className:`${_}__more`,onClick:()=>o(!0),"aria-expanded":i,"aria-controls":"more-items","aria-label":"More items",children:[s.more,e.jsx("span",{className:`${_}__more__icon`})]}),e.jsx(C,{className:`${_}__nested`,header:e.jsxs("button",{className:`${_}__nested__header`,onClick:h,"aria-label":"Back to menu",children:[e.jsx("span",{className:`${_}__nested__header__icon`}),s.backToMenu]}),widgets:e.jsx("span",{className:`${_}__nested__title`,children:i?s.more:(v=a==null?void 0:a.language)==null?void 0:v.label}),isOpen:x,onClose:h,"aria-modal":"true",children:i?e.jsx(k,{menu:n,id:"more-items"}):e.jsx(D,{selected:((f=a==null?void 0:a.language)==null?void 0:f.language)||"",options:(g=a==null?void 0:a.language)==null?void 0:g.options,id:"language-list"})})]})};function G({menu:l,split:r}){const{breakpoint:c}=B.useBreakpoint(),[s,a]=u.useState(!1),[t,m]=u.useState(!1),[i,o]=u.useState(!1),j=u.useRef(null),d=["xl","xxl"].includes(c||"md"),h=d?r.desktop:r.mobile,_=l.slice(0,h),x=l.slice(h);return u.useEffect(()=>{o(!0)},[]),{menu:{facade:_,more:x},more:[s,a],mobile:[t,m],isDesktop:d,isClient:i,ref:j}}const y=({className:l,menu:r,more:c})=>{const{prefix:s}=N.useGlobalSettings(),a=`${s}--nav-menu`;return e.jsxs("div",{className:b.classnames(a,l),children:[e.jsx("ul",{className:`${a}__list`,children:r.map(({isActive:t,...m})=>{var o;const i=typeof t=="function"?t():t;return e.jsx("li",{className:`${a}__item`,children:e.jsx($,{...m,className:b.classnames({[`${a}__link`]:!0,[`${a}__link--active`]:i,[m.className||""]:m.className})})},(o=m.label)==null?void 0:o.toString())})}),c&&e.jsxs("button",{onClick:c.onClick,className:b.classnames({[`${a}__more`]:!0,[`${a}__more--open`]:c.isOpen}),"aria-expanded":c.isOpen,"aria-haspopup":"menu",children:[c.label,e.jsx("span",{className:`${a}__more-icon`})]})]})},A=u.forwardRef(({props:{branding:l,menu:{items:r,labels:c},widgets:s}},a)=>{const{prefix:t}=N.useGlobalSettings(),{menu:{facade:m,more:i},more:[o,j],mobile:[d,h],isDesktop:_,ref:x,isClient:p}=G({menu:r,split:{desktop:4,mobile:2}});u.useImperativeHandle(a,()=>x.current);const n=`${t}--subsite-nav-compact`;return e.jsxs("header",{ref:x,className:n,children:[e.jsxs("div",{className:`${n}__container`,children:[e.jsxs("nav",{className:`${n}__nav`,children:[e.jsxs("div",{className:`${n}__branding`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:[e.jsx("div",{className:`${n}__branding-logo`,children:l.logo.main}),e.jsx("h3",{className:`${n}__branding-name`,children:l.name})]}),e.jsx(y,{className:`${n}__menu`,menu:m,more:i.length?{label:c.more,onClick:()=>j(!o),isOpen:o}:void 0})]}),s&&e.jsxs("div",{className:`${n}__widget-bar`,children:[e.jsx("span",{className:`${n}__widget-bar-corner`}),e.jsxs("div",{className:`${n}__widget-bar-content`,children:[s.link&&e.jsx($,{className:`${n}__widget-bar-link`,href:s.link.href,label:s.link.label}),s.language&&p&&e.jsx("div",{className:`${n}__widget-bar-language`,children:e.jsx(O.LanguageToggle,{theme:"dark",...s.language,hideIcon:!_})}),s.search&&e.jsx($,{href:s.search.url,className:`${n}__widget-bar-search`,label:"","aria-label":s.search.label})]})]}),e.jsx("button",{className:`${n}__burger`,"aria-label":"Toggle navigation","aria-expanded":d,onClick:()=>h(!d),children:e.jsx("span",{className:`${n}__burger-icon`})})]}),i&&p&&e.jsx(S,{isOpen:o,navRef:x,children:e.jsx(M,{menu:i})}),p&&e.jsx(L,{isOpen:d,onClose:()=>{h(!1)},navigationProps:{widgets:s,branding:l,menu:{items:r,labels:c}}})]})}),P=u.forwardRef(({props:{branding:l,menu:{items:r,labels:c},widgets:s}},a)=>{var v,f,g;const{prefix:t}=N.useGlobalSettings(),{menu:{facade:m,more:i},more:[o,j],mobile:[d,h],isDesktop:_,ref:x,isClient:p}=G({menu:r,split:{desktop:6,mobile:5}});u.useImperativeHandle(a,()=>x.current);const n=`${t}--subsite-nav-complex`;return e.jsxs("header",{ref:x,className:n,children:[e.jsx("div",{className:b.classnames(`${n}-bg--light`),children:e.jsxs("div",{className:b.classnames(`${n}__widgets`,`${n}__container`),children:[e.jsx("span",{className:`${n}__widgets-bar-corner`}),e.jsxs("span",{className:`${n}__widgets-bar`,children:[(s==null?void 0:s.link)&&e.jsx($,{href:s.link.href,label:s.link.label,className:`${n}__widgets-bar__link`}),(s==null?void 0:s.language)&&p&&e.jsx(O.LanguageToggle,{className:`${n}__widgets-bar__language`,...s.language,hideIcon:!_})]})]})}),e.jsx("div",{className:b.classnames(`${n}-bg--light`),children:e.jsxs("div",{className:b.classnames(`${n}__branding`,`${n}__container`),children:[e.jsxs("div",{className:`${n}__branding-main`,children:[e.jsx("div",{className:`${n}__branding-main__logo`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:l.logo.main}),e.jsx("h3",{className:`${n}__branding-main__name`,children:l.name})]}),e.jsxs("div",{className:`${n}__branding-tag`,children:[e.jsx("h4",{className:`${n}__branding-tag__main`,children:(v=l.tag)==null?void 0:v.main}),((f=l.tag)==null?void 0:f.sub)&&e.jsx("span",{className:`${n}__branding-tag__sub`,children:(g=l.tag)==null?void 0:g.sub})]})]})}),e.jsx("div",{className:b.classnames(`${n}-bg--dark`),children:e.jsxs("nav",{className:b.classnames(`${n}__nav`,`${n}__container`),children:[e.jsxs("div",{className:`${n}__nav-mobile`,children:[e.jsx("div",{className:`${n}__nav-mobile__logo`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:l.logo.mobile}),e.jsx("h3",{className:`${n}__nav-mobile__name`,children:l.name})]}),m&&e.jsx(y,{className:`${n}__nav-menu`,menu:m,more:i.length?{label:c.more,onClick:()=>j(!o),isOpen:o}:void 0}),(s==null?void 0:s.search)&&e.jsx("a",{className:`${n}__nav-search`,href:s.search.url,"aria-label":s.search.label,children:e.jsx("span",{className:`${n}__nav-search__icon`})}),e.jsx("button",{className:`${n}__nav-burger`,"aria-label":"Toggle navigation","aria-expanded":d,onClick:()=>h(!d),children:e.jsx("span",{className:`${n}__nav-burger__icon`})})]})}),i&&p&&e.jsx(S,{isOpen:o,navRef:x,children:e.jsx(M,{menu:i})}),p&&e.jsx(L,{isOpen:d,onClose:()=>{h(!1)},navigationProps:{widgets:s,branding:l,menu:{items:r,labels:c}}})]})}),R={complex:P,compact:A},T=u.forwardRef(({type:l="compact",props:r},c)=>{const s=R[l];return e.jsx(s,{ref:c,props:r})});exports.SubsiteNav=T;
@@ -1,126 +0,0 @@
1
- import { jsx as t, jsxs as C } from "react/jsx-runtime";
2
- import { forwardRef as E, useId as k, useState as y, useRef as f, useEffect as R } from "react";
3
- import { c as h } from "./index-chunk-CY3PQDr4.js";
4
- import { u as w } from "./useGlobalSettings-chunk-Bu2lRvQa.js";
5
- import { C as L } from "./ContextMenu-chunk-Dk-ifDZI.js";
6
- const j = ({
7
- component: o,
8
- componentProps: c,
9
- first: u,
10
- label: l,
11
- url: e
12
- }) => {
13
- const { prefix: s } = w(), r = /* @__PURE__ */ t("span", { className: `${s}--breadcrumb--link--label`, children: l }), d = {
14
- href: e,
15
- className: `${s}--breadcrumb--link`,
16
- "aria-label": l
17
- };
18
- return o ? /* @__PURE__ */ t(o, { ...d, ...c, children: !u && r }) : /* @__PURE__ */ t("a", { ...d, children: !u && r });
19
- }, g = E(
20
- ({ url: o, label: c, className: u, first: l, ...e }, s) => {
21
- const { prefix: r } = w();
22
- return /* @__PURE__ */ t(
23
- "li",
24
- {
25
- className: h({
26
- [`${r}--breadcrumb--item`]: !0,
27
- [`${r}--breadcrumb--item__first`]: l,
28
- className: u
29
- }),
30
- ref: s,
31
- children: /* @__PURE__ */ t(j, { label: c, url: o, first: l, ...e })
32
- }
33
- );
34
- }
35
- ), G = E(
36
- ({ className: o, links: c, buttonLabel: u }, l) => {
37
- const { prefix: e } = w(), s = k(), [r, d] = y(!1), [I, O] = y(!1), N = f(0), m = f(null), a = f(null), v = f(null);
38
- if (R(() => {
39
- N.current = v.current.offsetWidth;
40
- }, []), R(() => {
41
- function n(i) {
42
- m.current && a.current && !m.current.contains(i.target) && !a.current.contains(i.target) && d(!1);
43
- }
44
- const p = new ResizeObserver((i) => {
45
- const x = i.at(0), b = N.current >= x.contentRect.width / 1.5;
46
- O((_) => _ !== b ? b : _);
47
- });
48
- return document.addEventListener("mousedown", n), p.observe(document.body), () => {
49
- document.removeEventListener("mousedown", n), p.disconnect();
50
- };
51
- }, [s, e]), R(() => {
52
- if (!(!m.current || !a.current) && r) {
53
- const n = m.current.getBoundingClientRect(), i = a.current.firstChild.getBoundingClientRect(), x = n.left + n.width / 2 - i.width / 2 - 5, b = n.bottom + 16;
54
- a.current.style.left = `${x}px`, a.current.style.top = `${b}px`;
55
- }
56
- }, [r]), c.length < 2)
57
- throw new Error(
58
- `Breadcrumb component requires at least two links, but received ${c.length}`
59
- );
60
- const B = c.at(0), $ = c.slice(1, -1), M = c.at(-1);
61
- return /* @__PURE__ */ C("nav", { className: h(`${e}--breadcrumb`, o), ref: l, children: [
62
- /* @__PURE__ */ t("div", { className: `${e}--breadcrumb--inner`, children: /* @__PURE__ */ C(
63
- "ol",
64
- {
65
- className: `${e}--breadcrumb--items`,
66
- id: `${e}--breadcrumb--items-${s}`,
67
- ref: v,
68
- children: [
69
- /* @__PURE__ */ t(
70
- g,
71
- {
72
- first: !0,
73
- url: B.url,
74
- label: B.label
75
- }
76
- ),
77
- $.length > 0 && /* @__PURE__ */ C(
78
- "li",
79
- {
80
- className: h(`${e}--breadcrumb--context`, {
81
- [`${e}--breadcrumb--context__collapse`]: I
82
- }),
83
- children: [
84
- /* @__PURE__ */ t("ol", { className: `${e}--breadcrumb--items`, children: $.map((n) => /* @__PURE__ */ t(
85
- g,
86
- {
87
- url: n.url,
88
- label: n.label
89
- },
90
- `${n.label}-${n.url}`
91
- )) }),
92
- /* @__PURE__ */ t(
93
- "button",
94
- {
95
- onClick: () => d(!r),
96
- "aria-label": u,
97
- "aria-expanded": r,
98
- "aria-controls": `${e}--breadcrumb--menu-${s}`,
99
- className: `${e}--breadcrumb--context--button`,
100
- ref: m
101
- }
102
- )
103
- ]
104
- }
105
- ),
106
- /* @__PURE__ */ t(g, { url: M.url, label: M.label })
107
- ]
108
- }
109
- ) }),
110
- /* @__PURE__ */ t(
111
- "div",
112
- {
113
- className: h(`${e}--breadcrumb--context--menu`, {
114
- [`${e}--breadcrumb--context--menu__visible`]: r
115
- }),
116
- id: `${e}--breadcrumb--menu-${s}`,
117
- ref: a,
118
- children: /* @__PURE__ */ t(L, { links: $ })
119
- }
120
- )
121
- ] });
122
- }
123
- );
124
- export {
125
- G as B
126
- };
@@ -1,4 +0,0 @@
1
- import { B as e } from "./Breadcrumb-chunk-DxH8m_ti.js";
2
- export {
3
- e as Breadcrumb
4
- };
@@ -1,4 +0,0 @@
1
- import { L as a } from "./DatePicker-chunk-BUOrwC0Y.js";
2
- export {
3
- a as DatePicker
4
- };
@@ -1,4 +0,0 @@
1
- import { L as p } from "./Dropdown-chunk-fpN7RweM.js";
2
- export {
3
- p as Dropdown
4
- };
@@ -1,57 +0,0 @@
1
- import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
- import { createContext as j, useState as S, useContext as T } from "react";
3
- import { c } from "./index-chunk-CY3PQDr4.js";
4
- import { u as k } from "./useGlobalSettings-chunk-Bu2lRvQa.js";
5
- import { T as G } from "./Tooltip-chunk-BIPZucx0.js";
6
- const i = j({
7
- hasError: !1,
8
- setHasError: (t) => t
9
- }), A = () => T(i), M = ({
10
- children: t,
11
- className: d,
12
- legend: a,
13
- helper: o,
14
- tooltip: n,
15
- errorMessage: m,
16
- disabled: p = !1,
17
- wrap: $ = "nowrap",
18
- direction: f = "column",
19
- ...u
20
- }) => {
21
- const { prefix: h } = k(), [e, C] = S(!1), s = `${h}--fieldset`, x = `${s}--wrap__${$}`, _ = `${s}--direction__${f}`, E = `${s}--helper`, N = `${s}__error`, b = `${s}__disabled`, w = c(
22
- d,
23
- s,
24
- x,
25
- _,
26
- {
27
- [b]: p
28
- }
29
- ), F = c(E, {
30
- [N]: e
31
- }), g = {
32
- hasError: e,
33
- setHasError: C
34
- }, v = !!o || e, H = e ? m : o;
35
- return /* @__PURE__ */ l("fieldset", { className: w, ...u, children: [
36
- a || o ? /* @__PURE__ */ l("div", { className: `${s}--legend-wrapper`, children: [
37
- a && /* @__PURE__ */ l("legend", { className: `${s}--legend`, children: [
38
- a,
39
- n && /* @__PURE__ */ r(
40
- G,
41
- {
42
- className: `${s}--legend--tooltip`,
43
- icon: !0,
44
- label: n,
45
- theme: "dark"
46
- }
47
- )
48
- ] }),
49
- v && /* @__PURE__ */ r("span", { className: F, children: H })
50
- ] }) : null,
51
- /* @__PURE__ */ r("div", { className: `${s}--elements`, children: /* @__PURE__ */ r(i.Provider, { value: g, children: t }) })
52
- ] });
53
- }, B = M;
54
- export {
55
- B as F,
56
- A as u
57
- };
@@ -1,4 +0,0 @@
1
- import { F as r } from "./Fieldset-chunk-BYqbIcGY.js";
2
- export {
3
- r as Fieldset
4
- };
@@ -1,4 +0,0 @@
1
- import { L as e } from "./FileUpload-chunk-Dw6vDrtN.js";
2
- export {
3
- e as FileUpload
4
- };
@@ -1,13 +0,0 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { forwardRef as n } from "react";
3
- import { u as l } from "./useGlobalSettings-chunk-Bu2lRvQa.js";
4
- import { c as i } from "./index-chunk-CY3PQDr4.js";
5
- const p = n(
6
- ({ children: o, theme: r = "light", ...m }, t) => {
7
- const { prefix: e } = l(), s = `${e}--form`, a = `${s}__theme__${r}`, f = i(s, a);
8
- return /* @__PURE__ */ c("form", { ref: t, className: f, ...m, children: o });
9
- }
10
- ), x = p;
11
- export {
12
- x as F
13
- };
@@ -1,77 +0,0 @@
1
- import { jsx as a, jsxs as _ } from "react/jsx-runtime";
2
- import { c as u } from "./index-chunk-CY3PQDr4.js";
3
- import { createContext as U, useMemo as V, useState as k, useEffect as E, useContext as G } from "react";
4
- import { u as H } from "./useGlobalSettings-chunk-Bu2lRvQa.js";
5
- import { T as R } from "./Tooltip-chunk-BIPZucx0.js";
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
- function q(s = "", { tooltip: e, helper: o, errorMessage: r } = {}) {
8
- return {
9
- tooltipId: e && `${s}--tooltip--${p()}`,
10
- helperId: o && `${s}--helper--${p()}`,
11
- errorId: r && `${s}--error--${p()}`
12
- };
13
- }
14
- function J(s, e) {
15
- const { tooltipId: o, helperId: r, errorId: n } = s, l = u(o, {
16
- [`${r}`]: !e,
17
- [`${n}`]: e
18
- });
19
- if (!(!l || l === "undefined"))
20
- return l;
21
- }
22
- const h = U({}), Y = () => G(h), K = ({
23
- children: s,
24
- className: e,
25
- label: o,
26
- helper: r,
27
- errorMessage: n,
28
- tooltip: l,
29
- style: b,
30
- error: c,
31
- disabled: I,
32
- fieldId: x,
33
- labelSize: F = "medium",
34
- labelPlacement: v = "top"
35
- }) => {
36
- const { prefix: B } = H(), t = `${B}--form-control`, N = V(
37
- () => q(t, { helper: r, errorMessage: n, tooltip: l }),
38
- [t, r, n, l]
39
- ), { tooltipId: i, helperId: d, errorId: m } = N, [S, g] = k(
40
- void 0
41
- );
42
- E(() => {
43
- g(
44
- J({ tooltipId: i, helperId: d, errorId: m }, c)
45
- );
46
- }, [i, d, m, c]);
47
- const A = {
48
- ariaDescribedBy: S
49
- }, D = `${t}__error`, w = `${t}__disabled`, y = `${t}__label-placement__${v}`, j = u(
50
- t,
51
- e,
52
- y,
53
- [{ [D]: c }, { [w]: I }]
54
- ), $ = `${t}--label`, z = `${$}__size__${F}`, P = u($, z), f = `${t}--helper`, C = !!c && !!n, T = !C && !!r;
55
- return /* @__PURE__ */ a(h.Provider, { value: A, children: /* @__PURE__ */ _("div", { className: j, style: b, children: [
56
- /* @__PURE__ */ _("span", { className: P, children: [
57
- /* @__PURE__ */ a("label", { htmlFor: x, children: o }),
58
- l && /* @__PURE__ */ a(
59
- R,
60
- {
61
- id: i,
62
- className: `${t}--legend--tooltip`,
63
- icon: !0,
64
- label: l,
65
- theme: "dark"
66
- }
67
- )
68
- ] }),
69
- s,
70
- T && /* @__PURE__ */ a("span", { id: d, className: f, children: r }),
71
- C && /* @__PURE__ */ a("span", { id: m, className: f, "aria-live": "assertive", children: n })
72
- ] }) });
73
- }, Z = K;
74
- export {
75
- Z as F,
76
- Y as u
77
- };
@@ -1,4 +0,0 @@
1
- import { F as m } from "./FormControl-chunk-k6iX88xc.js";
2
- export {
3
- m as FormControl
4
- };
@@ -1,4 +0,0 @@
1
- import { H as e } from "./Hero-chunk-CqARzKwt.js";
2
- export {
3
- e as Hero
4
- };
@@ -1,4 +0,0 @@
1
- import { I as r } from "./Input-chunk-CCDILCqo.js";
2
- export {
3
- r as Input
4
- };
@@ -1,4 +0,0 @@
1
- import { S as o } from "./SubsiteNav-chunk-SOH4RAJ1.js";
2
- export {
3
- o as SubsiteNav
4
- };
@@ -1,4 +0,0 @@
1
- import { L as m } from "./NumberPicker-chunk-CaNDffBy.js";
2
- export {
3
- m as NumberPicker
4
- };
@@ -1,4 +0,0 @@
1
- import { P as i } from "./Pagination-chunk-B5541Ksz.js";
2
- export {
3
- i as Pagination
4
- };
@@ -1,4 +0,0 @@
1
- import { R as r } from "./ReadMore-chunk-pjNnS8Ji.js";
2
- export {
3
- r as ReadMore
4
- };
@@ -1,18 +0,0 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { c } from "./index-chunk-CY3PQDr4.js";
3
- import { u as n } from "./useGlobalSettings-chunk-Bu2lRvQa.js";
4
- const i = ({ className: s, content: t }) => {
5
- const { prefix: e } = n(), r = `${e}--richtext`, o = c(s, {
6
- [r]: !0
7
- });
8
- return /* @__PURE__ */ a(
9
- "div",
10
- {
11
- className: o,
12
- dangerouslySetInnerHTML: { __html: t }
13
- }
14
- );
15
- }, h = i;
16
- export {
17
- h as R
18
- };
@@ -1,4 +0,0 @@
1
- import { R as r } from "./RichText-chunk-BQLMR58V.js";
2
- export {
3
- r as RichText
4
- };