uikit-react-public 0.51.0 → 0.52.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 (28) hide show
  1. package/dist/components/MultiSelect/MultiSelect.d.ts +4 -0
  2. package/dist/components/MultiSelect/MultiSelect.stories.d.ts +206 -0
  3. package/dist/components/MultiSelect/MultiSelect.types.d.ts +128 -0
  4. package/dist/components/MultiSelect/__tests__/MultiSelect.test.d.ts +1 -0
  5. package/dist/components/MultiSelect/index.d.ts +2 -0
  6. package/dist/components/MultiSelect/subcomponents/CustomOption.d.ts +3 -0
  7. package/dist/components/MultiSelect/subcomponents/CustomSelect.d.ts +4 -0
  8. package/dist/components/MultiSelect/subcomponents/FilterInput.d.ts +16 -0
  9. package/dist/components/MultiSelect/subcomponents/Panel.d.ts +8 -0
  10. package/dist/components/MultiSelect/subcomponents/VisibleField.d.ts +17 -0
  11. package/dist/components/MultiSelect/subcomponents/index.d.ts +5 -0
  12. package/dist/components/index.d.ts +2 -0
  13. package/dist/index.js +963 -498
  14. package/lib/components/MultiSelect/MultiSelect.mdx +151 -0
  15. package/lib/components/MultiSelect/MultiSelect.stories.tsx +308 -0
  16. package/lib/components/MultiSelect/MultiSelect.tsx +24 -0
  17. package/lib/components/MultiSelect/MultiSelect.types.ts +142 -0
  18. package/lib/components/MultiSelect/__tests__/MultiSelect.test.tsx +1300 -0
  19. package/lib/components/MultiSelect/__tests__/__snapshots__/MultiSelect.test.tsx.snap +44 -0
  20. package/lib/components/MultiSelect/index.ts +2 -0
  21. package/lib/components/MultiSelect/subcomponents/CustomOption.tsx +107 -0
  22. package/lib/components/MultiSelect/subcomponents/CustomSelect.tsx +701 -0
  23. package/lib/components/MultiSelect/subcomponents/FilterInput.tsx +90 -0
  24. package/lib/components/MultiSelect/subcomponents/Panel.tsx +69 -0
  25. package/lib/components/MultiSelect/subcomponents/VisibleField.tsx +147 -0
  26. package/lib/components/MultiSelect/subcomponents/index.tsx +5 -0
  27. package/lib/components/index.ts +3 -0
  28. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20532,8 +20532,473 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20532
20532
  PrimaryItem: ch.PrimaryItem,
20533
20533
  SecondaryItem: ch.SecondaryItem,
20534
20534
  ActionButton: ch.ActionButton
20535
- }), Oh = "ucl-divider", kh = ({ testId: e = Oh, className: t, ...n }) => {
20536
- let [r] = $(), i = V(Oh, H`
20535
+ }), Oh = "ucl-uikit-multiselect", kh = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"], audio[controls], video[controls], details > summary:first-of-type", Ah = ({ value: e = [], options: t = [], onValueChange: n, disabled: r, width: i = 325, clearable: a = !1, placeholder: o, selectionCountLabel: s, lineBreak: c = !1, dropdownWidth: u = "content", filterInputProps: p, testId: v = Oh, className: x, panelClassName: S, visibleFieldClassName: C, optionClassName: w, chevronIconClassName: T, filterable: E = !1, ref: D, ...O }) => {
20536
+ let k = h(() => {
20537
+ let e = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
20538
+ for (let r of t) e.has(r.value) ? n.add(r.value) : e.add(r.value);
20539
+ return Array.from(n);
20540
+ }, [t]);
20541
+ d(() => {
20542
+ k.length > 0 && console.warn(`Select options contain non-unique values: ${k.map(String).join(", ")}`);
20543
+ }, [k]);
20544
+ let A = g(null), j = l((e) => {
20545
+ A.current = e, typeof D == "function" ? D(e) : D && "current" in D && (D.current = e);
20546
+ }, [D]), [M] = $(), [N, P] = _(!1), [F, I] = _(""), [L, R] = _(null), ee = g(null), [te, ne] = _(null), [re, ie] = _(null), [ae, oe] = _(null), [se, ce] = _(""), le = g(null), z = g(null), ue = f(), B = g(!1), de = O.id ?? `${v}-${ue.replace(/[:]/g, "")}`, fe = `${de}-listbox`, pe = `${de}-selection-status`, me = parseFloat(String(M.margin.m32));
20547
+ d(() => {
20548
+ ee.current = L;
20549
+ }, [L]);
20550
+ let he = h(() => {
20551
+ let e = F.toLowerCase();
20552
+ return E ? t.reduce((t, n, r) => (n.label.toLowerCase().includes(e) && t.push(r), t), []) : t.map((e, t) => t);
20553
+ }, [
20554
+ E,
20555
+ t,
20556
+ F
20557
+ ]), ge = h(() => he.map((e) => t[e]), [he, t]);
20558
+ d(() => {
20559
+ !N && F && I("");
20560
+ }, [N, F]), d(() => {
20561
+ N && !B.current && ce(""), B.current = N;
20562
+ }, [N]), d(() => {
20563
+ let e = (e) => {
20564
+ A.current && !A.current.contains(e.target) && P(!1);
20565
+ };
20566
+ return document.addEventListener("mousedown", e), () => {
20567
+ document.removeEventListener("mousedown", e);
20568
+ };
20569
+ }, [A]);
20570
+ let _e = (e) => {
20571
+ let t = e.relatedTarget;
20572
+ A.current && t && A.current.contains(t) || Ce();
20573
+ }, ve = (e) => {
20574
+ if (!e.isConnected || e instanceof HTMLInputElement && e.type === "hidden" || e.tabIndex < 0 || "disabled" in e && e.disabled) return !1;
20575
+ let t = window.getComputedStyle(e);
20576
+ return t.display !== "none" && t.visibility !== "hidden";
20577
+ }, ye = (e) => {
20578
+ if (!A.current) return !1;
20579
+ let t = Array.from(document.querySelectorAll(kh)).filter(ve), n = le.current;
20580
+ if (!n) return !1;
20581
+ let r = t.indexOf(n);
20582
+ if (r === -1) return !1;
20583
+ let i = e ? -1 : 1, a = r + i;
20584
+ for (; a >= 0 && a < t.length;) {
20585
+ let e = t[a];
20586
+ if (!A.current.contains(e) && (e.focus(), document.activeElement === e)) return !0;
20587
+ a += i;
20588
+ }
20589
+ return !1;
20590
+ }, be = (e) => {
20591
+ Ce(), (!e.shiftKey && z.current && (z.current.focus(), document.activeElement === z.current) || ye(e.shiftKey)) && e.preventDefault();
20592
+ };
20593
+ d(() => {
20594
+ r && N && P(!1);
20595
+ }, [r, N]), d(() => {
20596
+ E && N && le.current && le.current.focus();
20597
+ }, [E, N]), m(() => {
20598
+ if (!N) {
20599
+ ne(null), ie(null), oe(null);
20600
+ return;
20601
+ }
20602
+ let e = () => {
20603
+ let e = A.current, t = ((e?.closest("dialog"))?.querySelector("[role=\"document\"]"))?.getBoundingClientRect(), n = e?.getBoundingClientRect();
20604
+ ie(n?.width ?? null), ne(t && n ? Math.max(0, t.right - n.left) : null);
20605
+ };
20606
+ return e(), window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
20607
+ }, [A, N]);
20608
+ let xe = () => {
20609
+ r || P((e) => !e);
20610
+ }, Se = () => {
20611
+ r || P(!0);
20612
+ }, Ce = () => {
20613
+ r || (P(!1), R(null));
20614
+ }, we = (e) => {
20615
+ oe((t) => t && t.referenceWidth === e.referenceWidth && t.availableWidth === e.availableWidth && t.availableHeight === e.availableHeight ? t : e);
20616
+ }, Te = (e) => {
20617
+ r || (N ? E && le.current && le.current.contains(e.target) || Ce() : (Se(), E && le.current && le.current.focus()));
20618
+ }, Ee = (e) => {
20619
+ r || (e.stopPropagation(), R(null), I(""), Ce(), A.current?.focus(), n?.([], e));
20620
+ }, De = (t) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t], Oe = (e, t) => {
20621
+ n?.(De(t), e);
20622
+ }, ke = t.filter((t) => e.includes(t.value)), Ae = L !== null && L >= 0 && L < ge.length ? L : null, je = Ae, Me = N && Ae !== null && je !== null ? `${de}-option-${he[je]}` : void 0, Ne = (t) => {
20623
+ (t.key === "ArrowUp" || t.key === "ArrowDown" || t.key === "ArrowLeft" || t.key === "ArrowRight") && t.preventDefault();
20624
+ let i = () => L !== null && L >= 0 && L < ge.length ? L : null;
20625
+ if (r) return;
20626
+ let a = t.getModifierState("AltGraph"), o = t.key.length === 1 && t.key !== " " && !t.metaKey && (!t.altKey && !t.ctrlKey || a);
20627
+ if (E && !N && o) t.preventDefault(), I(t.key), Se();
20628
+ else if (t.key === "Enter") {
20629
+ if (!N) {
20630
+ Se();
20631
+ return;
20632
+ }
20633
+ if (ge.length > 0) {
20634
+ let r = i(), a = ge[r === null ? 0 : r];
20635
+ n?.(De(a.value), t), ce(`${a.label} ${e.includes(a.value) ? "deselected" : "selected"}`), I(""), t.preventDefault();
20636
+ return;
20637
+ }
20638
+ t.preventDefault(), xe();
20639
+ } else if (!N && t.code === "Space") t.preventDefault(), Se();
20640
+ else if (N && t.key === "Escape") Ce(), t.currentTarget.focus();
20641
+ else if (t.key === "ArrowUp" || t.key === "ArrowLeft") {
20642
+ if (!N) {
20643
+ Se();
20644
+ return;
20645
+ }
20646
+ if (ge.length === 0) return;
20647
+ let e = i(), t = e === null ? ge.length - 1 : (e - 1 + ge.length) % ge.length;
20648
+ R(t);
20649
+ } else if (t.key === "ArrowDown" || t.key === "ArrowRight") {
20650
+ if (!N) {
20651
+ Se();
20652
+ return;
20653
+ }
20654
+ let e = i(), t = e === null ? 0 : (e + 1) % ge.length;
20655
+ R(t);
20656
+ }
20657
+ }, { md: Pe } = M.typography.body, Fe = H`
20658
+ display: inline-flex;
20659
+ align-items: center;
20660
+ justify-content: space-between;
20661
+ position: relative;
20662
+ min-width: 80px;
20663
+ max-width: calc(100vw - 64px);
20664
+ height: 48px;
20665
+ box-sizing: border-box;
20666
+ padding: 0 16px;
20667
+ background-color: ${M.colour.fill.inverse};
20668
+ color: ${M.colour.text.default};
20669
+ font-family: ${Pe.fontFamily};
20670
+ font-feature-settings: ${Pe.fontSettings};
20671
+ font-size: ${Pe.fontSize}px;
20672
+ font-weight: ${Pe.fontWeight};
20673
+ line-height: ${Pe.lineHeight}%;
20674
+ border: ${M.border.b1} solid ${M.colour.speciality.inputDefault};
20675
+ border-radius: ${M.radius.r4};
20676
+ cursor: pointer;
20677
+ user-select: none;
20678
+
20679
+ &:focus-visible,
20680
+ &:focus-within {
20681
+ outline: none;
20682
+ box-shadow: ${M.boxShadow.focus};
20683
+ }
20684
+ `, Ie = H`
20685
+ width: ${i}px;
20686
+ `, Le = H`
20687
+ color: ${M.colour.text.disabled};
20688
+ border: ${M.border.b1} solid ${M.colour.border.disabled};
20689
+ cursor: not-allowed;
20690
+
20691
+ &:hover {
20692
+ background-color: ${M.colour.fill.inverse};
20693
+ }
20694
+ `, Re = H`
20695
+ padding: ${M.padding.p8} ${M.padding.p16};
20696
+ color: ${M.colour.text.secondary};
20697
+ `, ze = H`
20698
+ position: absolute;
20699
+ width: 1px;
20700
+ height: 1px;
20701
+ padding: 0;
20702
+ margin: -1px;
20703
+ overflow: hidden;
20704
+ clip: rect(0, 0, 0, 0);
20705
+ white-space: nowrap;
20706
+ border: 0;
20707
+ `, Be = V(Oh, Fe, Ie, r && Le, x), Ve = {
20708
+ ...O["aria-label"] === void 0 ? {} : { "aria-label": O["aria-label"] },
20709
+ ...O["aria-labelledby"] === void 0 ? {} : { "aria-labelledby": O["aria-labelledby"] },
20710
+ "aria-describedby": [O["aria-describedby"], ke.length > 0 ? pe : void 0].filter(Boolean).join(" ") || void 0
20711
+ };
20712
+ return /* @__PURE__ */ b("div", {
20713
+ onClick: Te,
20714
+ onKeyDown: Ne,
20715
+ onBlur: _e,
20716
+ tabIndex: r || E && N ? -1 : 0,
20717
+ className: Be,
20718
+ "data-testid": v,
20719
+ ref: j,
20720
+ role: "combobox",
20721
+ "aria-haspopup": "listbox",
20722
+ "aria-expanded": N,
20723
+ "aria-disabled": r || void 0,
20724
+ "aria-controls": N ? fe : void 0,
20725
+ "aria-activedescendant": Me,
20726
+ ...O,
20727
+ children: [
20728
+ /* @__PURE__ */ y(Ih, {
20729
+ isOpen: N,
20730
+ selectedOptions: ke,
20731
+ placeholder: o,
20732
+ selectionCountLabel: s,
20733
+ disabled: r,
20734
+ filterable: E,
20735
+ clearable: a,
20736
+ onClear: Ee,
20737
+ clearButtonRef: z,
20738
+ className: C,
20739
+ chevronIconClassName: T,
20740
+ children: E && /* @__PURE__ */ y(Lh, {
20741
+ value: F,
20742
+ onChange: I,
20743
+ placeholder: o,
20744
+ disabled: r,
20745
+ inputRef: le,
20746
+ onBlur: _e,
20747
+ onTabOut: be,
20748
+ ariaControls: fe,
20749
+ ariaExpanded: N,
20750
+ ariaActiveDescendant: Me,
20751
+ ...Ve,
20752
+ ...p
20753
+ })
20754
+ }),
20755
+ E && N && ke.length > 0 && /* @__PURE__ */ y("span", {
20756
+ id: pe,
20757
+ className: ze,
20758
+ children: `${ke.length}${s ? ` ${s}` : ""} selected`
20759
+ }),
20760
+ /* @__PURE__ */ y("span", {
20761
+ role: "status",
20762
+ "aria-live": "polite",
20763
+ className: ze,
20764
+ children: se
20765
+ }),
20766
+ N && /* @__PURE__ */ y(Ed, {
20767
+ reference: A,
20768
+ placement: "bottom-start",
20769
+ strategy: "fixed",
20770
+ offset: 8,
20771
+ flip: { padding: me },
20772
+ shift: ({ rects: e }) => ({
20773
+ padding: me,
20774
+ mainAxis: u === "content" && e.floating.width > e.reference.width,
20775
+ crossAxis: !1
20776
+ }),
20777
+ size: {
20778
+ matchReferenceWidth: !0,
20779
+ padding: me
20780
+ },
20781
+ onSizeChange: we,
20782
+ children: /* @__PURE__ */ b(Ph, {
20783
+ className: S,
20784
+ dropdownWidth: u,
20785
+ referenceWidth: ae?.referenceWidth ?? re ?? void 0,
20786
+ maxWidth: te ?? void 0,
20787
+ "aria-multiselectable": "true",
20788
+ id: fe,
20789
+ role: "listbox",
20790
+ children: [ge.map((t, n) => {
20791
+ let { className: r, ...i } = t.optionProps ?? {}, a = typeof r == "string" ? r : void 0;
20792
+ return /* @__PURE__ */ y(Mh, {
20793
+ id: `${de}-option-${he[n]}`,
20794
+ value: t.value,
20795
+ isSelected: e.includes(t.value),
20796
+ isActive: je === n,
20797
+ onSelect: Oe,
20798
+ lineBreak: c,
20799
+ role: "option",
20800
+ "aria-selected": e.includes(t.value),
20801
+ "aria-posinset": n + 1,
20802
+ "aria-setsize": ge.length,
20803
+ ...i,
20804
+ className: V(w, a),
20805
+ children: t.label
20806
+ }, `${String(t.value)}-${he[n]}`);
20807
+ }), ge.length === 0 && /* @__PURE__ */ y("div", {
20808
+ className: Re,
20809
+ children: "No options"
20810
+ })]
20811
+ })
20812
+ })
20813
+ ]
20814
+ });
20815
+ }, jh = "ucl-uikit-multiselect__option", Mh = ({ value: e, isSelected: t = !1, isActive: n = !1, onSelect: r, lineBreak: i = !1, testId: a = jh, className: o, children: s, ...c }) => {
20816
+ let [l] = $(), u = g(null);
20817
+ d(() => {
20818
+ n && u.current && u.current.scrollIntoView({
20819
+ behavior: "auto",
20820
+ block: "nearest"
20821
+ });
20822
+ }, [n]);
20823
+ let { md: f } = l.typography.body, p = (t) => {
20824
+ r(t, e), t.stopPropagation();
20825
+ }, m = (e) => {
20826
+ e.preventDefault();
20827
+ }, h = H`
20828
+ display: flex;
20829
+ align-items: center;
20830
+ gap: 8px;
20831
+ min-height: 40px;
20832
+ box-sizing: border-box;
20833
+ padding: ${l.padding.p8} ${l.padding.p16};
20834
+ font-family: ${f.fontFamily};
20835
+ font-feature-settings: ${f.fontSettings};
20836
+ font-size: ${f.fontSize}px;
20837
+ font-weight: ${f.fontWeight};
20838
+ line-height: ${f.lineHeight}%;
20839
+ background-color: ${l.colour.fill.inverse};
20840
+ overflow: hidden;
20841
+
20842
+ &:hover {
20843
+ background-color: ${l.colour.fill.brandSubtleHover};
20844
+ }
20845
+ `, _ = H`
20846
+ white-space: nowrap;
20847
+ text-overflow: ellipsis;
20848
+ `, v = H`
20849
+ word-break: break-all;
20850
+ `, x = H`
20851
+ background-color: ${l.colour.fill.brandSubtleSelected};
20852
+ `, S = V(jh, h, !i && _, i && v, n && x, o);
20853
+ return /* @__PURE__ */ b("div", {
20854
+ onMouseDown: m,
20855
+ onClick: p,
20856
+ className: S,
20857
+ "data-testid": a,
20858
+ ref: u,
20859
+ ...c,
20860
+ children: [/* @__PURE__ */ y(Np, {
20861
+ checked: t,
20862
+ readOnly: !0,
20863
+ tabIndex: -1,
20864
+ "aria-hidden": "true"
20865
+ }), s]
20866
+ });
20867
+ }, Nh = "ucl-uikit-multiselect__panel", Ph = ({ className: e, dropdownWidth: t = "content", referenceWidth: n, maxWidth: r, ...i }) => {
20868
+ let [a] = $(), o = (e) => {
20869
+ e.stopPropagation();
20870
+ }, s = typeof n == "number" ? `${n}px` : "100%", c = H`
20871
+ min-width: ${s};
20872
+ width: fit-content;
20873
+ max-width: ${typeof r == "number" ? `min(${r}px, calc(100vw - (${a.margin.m32} * 2)))` : `calc(100vw - (${a.margin.m32} * 2))`};
20874
+ max-height: min(400px, var(--ucl-overlay-available-height, 400px));
20875
+ overflow-y: auto;
20876
+ overflow-x: hidden;
20877
+ box-sizing: border-box;
20878
+ padding: ${a.padding.p8} 0;
20879
+ border: ${a.border.b1} solid ${a.colour.border.subtle};
20880
+ background-color: ${a.colour.fill.inverse};
20881
+ `, l = H`
20882
+ width: ${s};
20883
+ max-width: ${s};
20884
+ `, u = V(Nh, c, t === "match-select" && l, e);
20885
+ return /* @__PURE__ */ y("div", {
20886
+ className: u,
20887
+ "data-testid": Nh,
20888
+ onClick: o,
20889
+ ...i
20890
+ });
20891
+ }, Fh = "ucl-uikit-multiselect__visible-field", Ih = ({ selectedOptions: e, isOpen: t, placeholder: n, selectionCountLabel: r, disabled: i, filterable: a, clearable: o = !1, onClear: s, clearButtonRef: c, className: l, chevronIconClassName: u, children: d }) => {
20892
+ let [f] = $(), { md: p } = f.typography.body, m = V(Fh, H`
20893
+ display: flex;
20894
+ align-items: center;
20895
+ justify-content: space-between;
20896
+
20897
+ gap: 8px;
20898
+ width: 100%;
20899
+ font-family: ${p.fontFamily};
20900
+ font-feature-settings: ${p.fontSettings};
20901
+ font-size: ${p.fontSize}px;
20902
+ font-weight: ${p.fontWeight};
20903
+ line-height: ${p.lineHeight}%;
20904
+ `, l), h = H`
20905
+ overflow: hidden;
20906
+ white-space: nowrap;
20907
+ text-overflow: ellipsis;
20908
+ `, g = H`
20909
+ flex-shrink: 0;
20910
+ margin-left: auto;
20911
+ color: ${f.colour.icon.default};
20912
+ `, _ = H`
20913
+ transform: rotate(180deg);
20914
+ `, v = H`
20915
+ color: ${f.colour.icon.disabled};
20916
+ `, x = V(g, t && _, i && v, u), S = H`
20917
+ display: flex;
20918
+ align-items: center;
20919
+ justify-content: center;
20920
+ flex-shrink: 0;
20921
+ margin-left: auto;
20922
+ padding: 0;
20923
+ border: none;
20924
+ background: transparent;
20925
+ color: ${f.colour.icon.default};
20926
+ cursor: pointer;
20927
+
20928
+ &:focus-visible {
20929
+ outline: none;
20930
+ box-shadow: ${f.boxShadow.focus};
20931
+ }
20932
+ `, C = e.length > 0, w = o && C && !i;
20933
+ return /* @__PURE__ */ b("div", {
20934
+ className: m,
20935
+ "data-testid": Fh,
20936
+ children: [a && t ? /* @__PURE__ */ y("div", {
20937
+ className: h,
20938
+ children: d
20939
+ }) : /* @__PURE__ */ y("span", {
20940
+ className: h,
20941
+ children: C ? e.length >= 3 ? `${e.length}${r ? ` ${r}` : ""} selected` : e.map((e) => e.label).join(", ") : n || ""
20942
+ }), w ? /* @__PURE__ */ y("button", {
20943
+ ref: c,
20944
+ type: "button",
20945
+ className: S,
20946
+ "aria-label": "Clear selection",
20947
+ "data-testid": `${Fh}-clear-button`,
20948
+ onClick: (e) => {
20949
+ e.stopPropagation(), s?.(e);
20950
+ },
20951
+ onKeyDown: (e) => {
20952
+ e.stopPropagation();
20953
+ },
20954
+ children: /* @__PURE__ */ y(U.X, {})
20955
+ }) : /* @__PURE__ */ y(U.ChevronDown, { className: x })]
20956
+ });
20957
+ }, Lh = ({ value: e, onChange: t, onBlur: n, onTabOut: r, placeholder: i, disabled: a, inputRef: o, className: s, ariaControls: c, ariaExpanded: l, ariaActiveDescendant: u, ...d }) => {
20958
+ let [f] = $(), p = (e) => {
20959
+ e.key === "Tab" ? r?.(e) : e.key !== "Escape" && e.key !== "Enter" && e.key !== "ArrowUp" && e.key !== "ArrowDown" && e.stopPropagation();
20960
+ }, m = H`
20961
+ flex: 1;
20962
+ border: none;
20963
+ outline: none;
20964
+ background: transparent;
20965
+ font: inherit;
20966
+ color: ${f.colour.text.default};
20967
+ &::placeholder {
20968
+ color: ${f.colour.text.tertiary};
20969
+ }
20970
+ &:disabled {
20971
+ color: ${f.colour.text.disabled};
20972
+ cursor: not-allowed;
20973
+ }
20974
+ `;
20975
+ return /* @__PURE__ */ y("input", {
20976
+ ref: o,
20977
+ className: V(m, s),
20978
+ value: e,
20979
+ placeholder: i,
20980
+ disabled: a,
20981
+ onChange: (e) => t(e.target.value),
20982
+ onBlur: n,
20983
+ onClick: (e) => e.stopPropagation(),
20984
+ onKeyDown: (e) => p(e),
20985
+ "aria-autocomplete": "list",
20986
+ role: "searchbox",
20987
+ "aria-haspopup": "listbox",
20988
+ "aria-controls": c,
20989
+ "aria-expanded": l,
20990
+ "aria-activedescendant": u,
20991
+ "aria-label": "Filter options",
20992
+ ...d
20993
+ });
20994
+ }, Rh = ((e) => {
20995
+ let { ref: t, ...n } = e;
20996
+ return /* @__PURE__ */ y(Ah, {
20997
+ ref: t,
20998
+ ...n
20999
+ });
21000
+ }), zh = "ucl-divider", Bh = ({ testId: e = zh, className: t, ...n }) => {
21001
+ let [r] = $(), i = V(zh, H`
20537
21002
  margin: 0;
20538
21003
  height: 1px;
20539
21004
  border: none;
@@ -20545,8 +21010,8 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20545
21010
  role: "separator",
20546
21011
  ...n
20547
21012
  });
20548
- }, Ah = "ucl-uikit-footer__column", jh = s(({ heading: e, testId: t = Ah, className: n, children: r, ...i }) => {
20549
- let [a] = $(), o = V(Ah, H`
21013
+ }, Vh = "ucl-uikit-footer__column", Hh = s(({ heading: e, testId: t = Vh, className: n, children: r, ...i }) => {
21014
+ let [a] = $(), o = V(Vh, H`
20550
21015
  margin-top: ${a.margin.m24};
20551
21016
  margin-bottom: ${a.margin.m24};
20552
21017
  flex: 1;
@@ -20569,7 +21034,7 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20569
21034
  children: e
20570
21035
  }), r]
20571
21036
  });
20572
- }), Mh = "ucl-uikit-footer__social-link", Nh = s(({ socialNetwork: e, testId: t = Mh, className: n, ...r }) => {
21037
+ }), Uh = "ucl-uikit-footer__social-link", Wh = s(({ socialNetwork: e, testId: t = Uh, className: n, ...r }) => {
20573
21038
  let i = {
20574
21039
  facebook: "https://www.facebook.com/uclofficial/",
20575
21040
  flickr: "https://www.flickr.com/groups/ucl/",
@@ -20586,7 +21051,7 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20586
21051
  tiktok: "TikTok",
20587
21052
  x: "X social media platform",
20588
21053
  youtube: "YouTube"
20589
- }[e], [o] = $(), s = V(Mh, H`
21054
+ }[e], [o] = $(), s = V(Uh, H`
20590
21055
  display: inline-block;
20591
21056
  height: ${o.height.h24};
20592
21057
  border-radius: ${o.radius.r8};
@@ -20633,8 +21098,8 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20633
21098
  title: a
20634
21099
  })
20635
21100
  });
20636
- }), Ph = "ucl-uikit-footer__nav-link", Fh = s(({ href: e, testId: t = Ph, className: n, children: r, ...i }) => {
20637
- let [a] = $(), o = V(Ph, H`
21101
+ }), Gh = "ucl-uikit-footer__nav-link", Kh = s(({ href: e, testId: t = Gh, className: n, children: r, ...i }) => {
21102
+ let [a] = $(), o = V(Gh, H`
20638
21103
  margin: ${a.margin.m8} 0;
20639
21104
  text-decoration: none;
20640
21105
  color: ${a.color.text.inverted};
@@ -20661,8 +21126,8 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20661
21126
  ...i,
20662
21127
  children: r
20663
21128
  });
20664
- }), Ih = "ucl-uikit-footer__column", Lh = s(({ heading: e, testId: t = Ih, className: n, children: r, ...i }) => {
20665
- let [a] = $(), o = V(Ih, H`
21129
+ }), qh = "ucl-uikit-footer__column", Jh = s(({ heading: e, testId: t = qh, className: n, children: r, ...i }) => {
21130
+ let [a] = $(), o = V(qh, H`
20666
21131
  flex: 1;
20667
21132
  display: flex;
20668
21133
  flex-direction: column;
@@ -20714,8 +21179,8 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20714
21179
  children: e
20715
21180
  }), r]
20716
21181
  });
20717
- }), Rh = "ucl-uikit-footer__nav-link", zh = s(({ href: e, testId: t = Rh, className: n, children: r, ...i }) => {
20718
- let [a] = $(), o = a.typography.body.sm, s = a.typography.body.md, c = V(Rh, H`
21182
+ }), Yh = "ucl-uikit-footer__nav-link", Xh = s(({ href: e, testId: t = Yh, className: n, children: r, ...i }) => {
21183
+ let [a] = $(), o = a.typography.body.sm, s = a.typography.body.md, c = V(Yh, H`
20719
21184
  text-decoration: none;
20720
21185
  color: ${a.colour.text.brandInverse};
20721
21186
  font-family: ${o.fontFamily};
@@ -20754,7 +21219,7 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20754
21219
  ...i,
20755
21220
  children: r
20756
21221
  });
20757
- }), Bh = "ucl-uikit-footer__social-link", Vh = s(({ socialNetwork: e, testId: t = Bh, className: n, ...r }) => {
21222
+ }), Zh = "ucl-uikit-footer__social-link", Qh = s(({ socialNetwork: e, testId: t = Zh, className: n, ...r }) => {
20758
21223
  let i = {
20759
21224
  bluesky: "https://bsky.app/profile/ucl.ac.uk",
20760
21225
  instagram: "https://www.instagram.com/ucl/",
@@ -20773,7 +21238,7 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20773
21238
  tiktok: "TikTok",
20774
21239
  threads: "Threads",
20775
21240
  soundcloud: "SoundCloud"
20776
- }[e], [o] = $(), s = V(Bh, H`
21241
+ }[e], [o] = $(), s = V(Zh, H`
20777
21242
  width: 36px;
20778
21243
  height: 36px;
20779
21244
  box-sizing: border-box;
@@ -20821,7 +21286,7 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20821
21286
  title: a
20822
21287
  })
20823
21288
  });
20824
- }), Hh = "ucl-uikit-footer__logo-address-social", Uh = ({ compact: e = !1, addressFormat: t, showSocialLinks: n = !0, testId: r = Hh, className: i, ...a }) => {
21289
+ }), $h = "ucl-uikit-footer__logo-address-social", eg = ({ compact: e = !1, addressFormat: t, showSocialLinks: n = !0, testId: r = $h, className: i, ...a }) => {
20825
21290
  let [o] = $(), s = H`
20826
21291
  margin-top: ${o.margin.m48};
20827
21292
 
@@ -20844,7 +21309,7 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20844
21309
  @media screen and (min-width: ${o.breakpoints.desktopLarge}px) {
20845
21310
  margin-left: 0;
20846
21311
  }
20847
- `, l = V(Hh, s, e && c, i), u = H`
21312
+ `, l = V($h, s, e && c, i), u = H`
20848
21313
  display: block;
20849
21314
  `, d = H`
20850
21315
  margin-top: ${o.margin.m16};
@@ -20929,20 +21394,20 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
20929
21394
  n && /* @__PURE__ */ b("div", {
20930
21395
  className: h,
20931
21396
  children: [
20932
- /* @__PURE__ */ y(Vh, { socialNetwork: "instagram" }),
20933
- /* @__PURE__ */ y(Vh, { socialNetwork: "linkedin" }),
20934
- /* @__PURE__ */ y(Vh, { socialNetwork: "youtube" }),
20935
- /* @__PURE__ */ y(Vh, { socialNetwork: "tiktok" }),
20936
- /* @__PURE__ */ y(Vh, { socialNetwork: "facebook" }),
20937
- /* @__PURE__ */ y(Vh, { socialNetwork: "bluesky" }),
20938
- /* @__PURE__ */ y(Vh, { socialNetwork: "threads" }),
20939
- /* @__PURE__ */ y(Vh, { socialNetwork: "soundcloud" })
21397
+ /* @__PURE__ */ y(Qh, { socialNetwork: "instagram" }),
21398
+ /* @__PURE__ */ y(Qh, { socialNetwork: "linkedin" }),
21399
+ /* @__PURE__ */ y(Qh, { socialNetwork: "youtube" }),
21400
+ /* @__PURE__ */ y(Qh, { socialNetwork: "tiktok" }),
21401
+ /* @__PURE__ */ y(Qh, { socialNetwork: "facebook" }),
21402
+ /* @__PURE__ */ y(Qh, { socialNetwork: "bluesky" }),
21403
+ /* @__PURE__ */ y(Qh, { socialNetwork: "threads" }),
21404
+ /* @__PURE__ */ y(Qh, { socialNetwork: "soundcloud" })
20940
21405
  ]
20941
21406
  })
20942
21407
  ]
20943
21408
  });
20944
- }, Wh = "ucl-uikit-footer__legal-and-copyright", Gh = ({ disclaimer: e, freedomOfInformation: t, accessibility: n, cookies: r, privacy: i, slaveryStatement: a, login: o, testId: s = Wh, className: c, ...l }) => {
20945
- let u = (/* @__PURE__ */ new Date()).getFullYear(), [d] = $(), f = d.typography.body.sm, p = V(Wh, H`
21409
+ }, tg = "ucl-uikit-footer__legal-and-copyright", ng = ({ disclaimer: e, freedomOfInformation: t, accessibility: n, cookies: r, privacy: i, slaveryStatement: a, login: o, testId: s = tg, className: c, ...l }) => {
21410
+ let u = (/* @__PURE__ */ new Date()).getFullYear(), [d] = $(), f = d.typography.body.sm, p = V(tg, H`
20946
21411
  margin-top: ${d.margin.m16};
20947
21412
  border-top: 6px solid ${d.colour.border.brandInverseSecondary};
20948
21413
  padding-top: ${d.padding.p24};
@@ -21062,14 +21527,14 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
21062
21527
  ]
21063
21528
  })]
21064
21529
  });
21065
- }, Kh = () => {
21530
+ }, rg = () => {
21066
21531
  window?.scrollTo({
21067
21532
  top: 0,
21068
21533
  behavior: "smooth"
21069
21534
  });
21070
- }, qh = "ucl-uikit-footer__back-to-top", Jh = ({ compact: e, testId: t = qh, className: n, ...r }) => {
21535
+ }, ig = "ucl-uikit-footer__back-to-top", ag = ({ compact: e, testId: t = ig, className: n, ...r }) => {
21071
21536
  let [i] = $(), a = i.typography.body.sm, o = i.typography.body.md, s = () => {
21072
- Kh();
21537
+ rg();
21073
21538
  }, c = H`
21074
21539
  margin-top: ${i.margin.m56};
21075
21540
  text-align: right;
@@ -21083,7 +21548,7 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
21083
21548
  @media screen and (min-width: ${i.breakpoints.tablet}px) {
21084
21549
  margin-top: ${i.margin.m16};
21085
21550
  }
21086
- `, u = V(qh, c, e && l, n), d = H`
21551
+ `, u = V(ig, c, e && l, n), d = H`
21087
21552
  display: inline;
21088
21553
  background-color: transparent;
21089
21554
  border: none;
@@ -21120,8 +21585,8 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
21120
21585
  children: ["Back to top ", /* @__PURE__ */ y(U.ArrowUp, {})]
21121
21586
  })
21122
21587
  });
21123
- }, Yh = "ucl-uikit-footer__links", Xh = ({ testId: e = Yh, className: t, children: n, ...r }) => {
21124
- let [i] = $(), a = V(Yh, H`
21588
+ }, og = "ucl-uikit-footer__links", sg = ({ testId: e = og, className: t, children: n, ...r }) => {
21589
+ let [i] = $(), a = V(og, H`
21125
21590
  @media screen and (min-width: ${i.breakpoints.tablet}px) {
21126
21591
  display: flex;
21127
21592
  justify-content: start;
@@ -21138,8 +21603,8 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
21138
21603
  ...r,
21139
21604
  children: n
21140
21605
  });
21141
- }, Zh = "ucl-uikit-footer", Qh = s(({ testId: e = Zh, className: t, addressFormat: n = "full", showSocialLinks: r = !0, disclaimer: i = "https://www.ucl.ac.uk/legal-services/disclaimer", freedomOfInformation: a = "https://www.ucl.ac.uk/foi", accessibility: o = "https://www.ucl.ac.uk/accessibility", cookies: s = "https://www.ucl.ac.uk/legal-services/privacy/cookie-policy", privacy: c = "https://www.ucl.ac.uk/legal-services/privacy", slaveryStatement: l = "https://www.ucl.ac.uk/commercial-procurement/modern-day-slavery-statement", login: u, children: d, ...f }) => {
21142
- let p = !!d, m = !p, [h] = $(), g = V(Zh, H`
21606
+ }, cg = "ucl-uikit-footer", lg = s(({ testId: e = cg, className: t, addressFormat: n = "full", showSocialLinks: r = !0, disclaimer: i = "https://www.ucl.ac.uk/legal-services/disclaimer", freedomOfInformation: a = "https://www.ucl.ac.uk/foi", accessibility: o = "https://www.ucl.ac.uk/accessibility", cookies: s = "https://www.ucl.ac.uk/legal-services/privacy/cookie-policy", privacy: c = "https://www.ucl.ac.uk/legal-services/privacy", slaveryStatement: l = "https://www.ucl.ac.uk/commercial-procurement/modern-day-slavery-statement", login: u, children: d, ...f }) => {
21607
+ let p = !!d, m = !p, [h] = $(), g = V(cg, H`
21143
21608
  background-color: ${h.colour.surface.inverseBrandPrimary};
21144
21609
  color: ${h.colour.text.brandInverse};
21145
21610
  padding: ${h.padding.p40} ${h.padding.p16};
@@ -21164,14 +21629,14 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
21164
21629
  children: [
21165
21630
  /* @__PURE__ */ b("div", {
21166
21631
  className: _,
21167
- children: [p && /* @__PURE__ */ y(Xh, { children: d }), /* @__PURE__ */ y(Uh, {
21632
+ children: [p && /* @__PURE__ */ y(sg, { children: d }), /* @__PURE__ */ y(eg, {
21168
21633
  compact: m,
21169
21634
  addressFormat: n,
21170
21635
  showSocialLinks: r
21171
21636
  })]
21172
21637
  }),
21173
- /* @__PURE__ */ y(Jh, { compact: m }),
21174
- /* @__PURE__ */ y(Gh, {
21638
+ /* @__PURE__ */ y(ag, { compact: m }),
21639
+ /* @__PURE__ */ y(ng, {
21175
21640
  disclaimer: i,
21176
21641
  freedomOfInformation: a,
21177
21642
  accessibility: o,
@@ -21183,10 +21648,10 @@ var Am = ({ icon: e, iconPosition: t = "left", endAdornment: n, className: r, ch
21183
21648
  ]
21184
21649
  });
21185
21650
  });
21186
- Qh.Column = Lh, Qh.NavLink = zh;
21651
+ lg.Column = Jh, lg.NavLink = Xh;
21187
21652
  // lib/components/Footer/Footer.tsx
21188
- var $h = "ucl-uikit-footer", eg = ({ testId: e = $h, className: t, disclaimer: n = "https://www.ucl.ac.uk/legal-services/disclaimer", freedomOfInformation: r = "https://www.ucl.ac.uk/foi", accessibility: i = "https://www.ucl.ac.uk/accessibility", cookies: a = "https://www.ucl.ac.uk/legal-services/privacy/cookie-policy", privacy: o = "https://www.ucl.ac.uk/legal-services/privacy", slaveryStatement: s = "https://www.ucl.ac.uk/commercial-procurement/modern-day-slavery-statement", children: c, ...l }) => {
21189
- let u = (/* @__PURE__ */ new Date()).getFullYear(), [d] = $(), f = d.typography.body.sm, p = V($h, H`
21653
+ var ug = "ucl-uikit-footer", dg = ({ testId: e = ug, className: t, disclaimer: n = "https://www.ucl.ac.uk/legal-services/disclaimer", freedomOfInformation: r = "https://www.ucl.ac.uk/foi", accessibility: i = "https://www.ucl.ac.uk/accessibility", cookies: a = "https://www.ucl.ac.uk/legal-services/privacy/cookie-policy", privacy: o = "https://www.ucl.ac.uk/legal-services/privacy", slaveryStatement: s = "https://www.ucl.ac.uk/commercial-procurement/modern-day-slavery-statement", children: c, ...l }) => {
21654
+ let u = (/* @__PURE__ */ new Date()).getFullYear(), [d] = $(), f = d.typography.body.sm, p = V(ug, H`
21190
21655
  background-color: ${d.color.neutral.grey90};
21191
21656
  color: ${d.color.text.inverted};
21192
21657
  font-family: ${f.fontFamily};
@@ -21320,17 +21785,17 @@ var $h = "ucl-uikit-footer", eg = ({ testId: e = $h, className: t, disclaimer: n
21320
21785
  children: [/* @__PURE__ */ y(Xf, { className: _ }), /* @__PURE__ */ b("div", {
21321
21786
  className: v,
21322
21787
  children: [
21323
- /* @__PURE__ */ y(Nh, { socialNetwork: "facebook" }),
21324
- /* @__PURE__ */ y(Nh, { socialNetwork: "flickr" }),
21325
- /* @__PURE__ */ y(Nh, { socialNetwork: "tiktok" }),
21326
- /* @__PURE__ */ y(Nh, { socialNetwork: "youtube" }),
21327
- /* @__PURE__ */ y(Nh, { socialNetwork: "soundcloud" }),
21328
- /* @__PURE__ */ y(Nh, { socialNetwork: "x" }),
21329
- /* @__PURE__ */ y(Nh, { socialNetwork: "instagram" })
21788
+ /* @__PURE__ */ y(Wh, { socialNetwork: "facebook" }),
21789
+ /* @__PURE__ */ y(Wh, { socialNetwork: "flickr" }),
21790
+ /* @__PURE__ */ y(Wh, { socialNetwork: "tiktok" }),
21791
+ /* @__PURE__ */ y(Wh, { socialNetwork: "youtube" }),
21792
+ /* @__PURE__ */ y(Wh, { socialNetwork: "soundcloud" }),
21793
+ /* @__PURE__ */ y(Wh, { socialNetwork: "x" }),
21794
+ /* @__PURE__ */ y(Wh, { socialNetwork: "instagram" })
21330
21795
  ]
21331
21796
  })]
21332
21797
  }),
21333
- /* @__PURE__ */ y(kh, {}),
21798
+ /* @__PURE__ */ y(Bh, {}),
21334
21799
  /* @__PURE__ */ b("div", {
21335
21800
  className: x,
21336
21801
  children: [
@@ -21403,9 +21868,9 @@ var $h = "ucl-uikit-footer", eg = ({ testId: e = $h, className: t, disclaimer: n
21403
21868
  ]
21404
21869
  })
21405
21870
  });
21406
- }, tg = ({ testId: e = $h, className: t, addressFormat: n, showSocialLinks: r, disclaimer: i, freedomOfInformation: a, accessibility: o, cookies: s, privacy: c, slaveryStatement: l, login: u, children: d, ...f }) => {
21871
+ }, fg = ({ testId: e = ug, className: t, addressFormat: n, showSocialLinks: r, disclaimer: i, freedomOfInformation: a, accessibility: o, cookies: s, privacy: c, slaveryStatement: l, login: u, children: d, ...f }) => {
21407
21872
  let [p] = $();
21408
- return p === xc.default ? /* @__PURE__ */ y(eg, {
21873
+ return p === xc.default ? /* @__PURE__ */ y(dg, {
21409
21874
  testId: e,
21410
21875
  className: t,
21411
21876
  disclaimer: i,
@@ -21416,7 +21881,7 @@ var $h = "ucl-uikit-footer", eg = ({ testId: e = $h, className: t, disclaimer: n
21416
21881
  slaveryStatement: l,
21417
21882
  ...f,
21418
21883
  children: d
21419
- }) : /* @__PURE__ */ y(Qh, {
21884
+ }) : /* @__PURE__ */ y(lg, {
21420
21885
  testId: e,
21421
21886
  className: t,
21422
21887
  addressFormat: n,
@@ -21431,17 +21896,17 @@ var $h = "ucl-uikit-footer", eg = ({ testId: e = $h, className: t, disclaimer: n
21431
21896
  ...f,
21432
21897
  children: d
21433
21898
  });
21434
- }, ng = (e) => {
21435
- let [t] = $(), n = t === xc.default ? jh : Qh.Column;
21899
+ }, pg = (e) => {
21900
+ let [t] = $(), n = t === xc.default ? Hh : lg.Column;
21436
21901
  return /* @__PURE__ */ y(n, { ...e });
21437
- }, rg = (e) => {
21438
- let [t] = $(), n = t === xc.default ? Fh : Qh.NavLink;
21902
+ }, mg = (e) => {
21903
+ let [t] = $(), n = t === xc.default ? Kh : lg.NavLink;
21439
21904
  return /* @__PURE__ */ y(n, { ...e });
21440
- }, ig = s(tg);
21441
- ig.Column = ng, ig.NavLink = rg;
21905
+ }, hg = s(fg);
21906
+ hg.Column = pg, hg.NavLink = mg;
21442
21907
  // lib/components/Header/HeaderMenu.tsx
21443
- var ag = "ucl-uikit-header__menu", og = ({ testId: e = ag, className: t, children: n, ...r }) => {
21444
- let [i] = $(), a = V(ag, H`
21908
+ var gg = "ucl-uikit-header__menu", _g = ({ testId: e = gg, className: t, children: n, ...r }) => {
21909
+ let [i] = $(), a = V(gg, H`
21445
21910
  position: absolute;
21446
21911
  right: 16px;
21447
21912
 
@@ -21455,8 +21920,8 @@ var ag = "ucl-uikit-header__menu", og = ({ testId: e = ag, className: t, childre
21455
21920
  ...r,
21456
21921
  children: n
21457
21922
  });
21458
- }, sg = "ucl-uikit-header__menu-container", cg = ({ testId: e = sg, className: t, children: n, ...r }) => {
21459
- let i = V(sg, H`
21923
+ }, vg = "ucl-uikit-header__menu-container", yg = ({ testId: e = vg, className: t, children: n, ...r }) => {
21924
+ let i = V(vg, H`
21460
21925
  display: inline-flex;
21461
21926
  align-items: center;
21462
21927
  align-self: center;
@@ -21469,8 +21934,8 @@ var ag = "ucl-uikit-header__menu", og = ({ testId: e = ag, className: t, childre
21469
21934
  ...r,
21470
21935
  children: n
21471
21936
  });
21472
- }, lg = "ucl-uikit-header__item", ug = ({ testId: e = lg, className: t, children: n, ...r }) => {
21473
- let [i] = $(), { md: a } = i.typography.body, o = V(lg, H`
21937
+ }, bg = "ucl-uikit-header__item", xg = ({ testId: e = bg, className: t, children: n, ...r }) => {
21938
+ let [i] = $(), { md: a } = i.typography.body, o = V(bg, H`
21474
21939
  display: inline-flex;
21475
21940
  align-items: center;
21476
21941
  align-self: center;
@@ -21497,8 +21962,8 @@ var ag = "ucl-uikit-header__menu", og = ({ testId: e = ag, className: t, childre
21497
21962
  ...r,
21498
21963
  children: n
21499
21964
  });
21500
- }, dg = "ucl-uikit-header__title", fg = ({ title: e, as: t = "span", linkHref: n, linkProps: r, testId: i = dg, className: a, ...o }) => {
21501
- let [s] = $(), c = V(dg, H`
21965
+ }, Sg = "ucl-uikit-header__title", Cg = ({ title: e, as: t = "span", linkHref: n, linkProps: r, testId: i = Sg, className: a, ...o }) => {
21966
+ let [s] = $(), c = V(Sg, H`
21502
21967
  display: block;
21503
21968
  flex: 1 1 auto;
21504
21969
  min-width: 0;
@@ -21546,8 +22011,8 @@ var ag = "ucl-uikit-header__menu", og = ({ testId: e = ag, className: t, childre
21546
22011
  children: e
21547
22012
  }) : e
21548
22013
  });
21549
- }, pg = "ucl-uikit-header__logo", mg = ({ linkHref: e, linkProps: t, testId: n = pg, className: r, ...i }) => {
21550
- let [a] = $(), o = V(pg, H`
22014
+ }, wg = "ucl-uikit-header__logo", Tg = ({ linkHref: e, linkProps: t, testId: n = wg, className: r, ...i }) => {
22015
+ let [a] = $(), o = V(wg, H`
21551
22016
  display: none;
21552
22017
  flex: 0 0 auto;
21553
22018
  height: 29px;
@@ -21583,8 +22048,8 @@ var ag = "ucl-uikit-header__menu", og = ({ testId: e = ag, className: t, childre
21583
22048
  "data-test": n,
21584
22049
  ...i
21585
22050
  });
21586
- }, hg = "ucl-uikit-header__border", gg = ({ linkHref: e, linkProps: t, testId: n = hg, className: r, ...i }) => {
21587
- let [a] = $(), o = V(hg, H`
22051
+ }, Eg = "ucl-uikit-header__border", Dg = ({ linkHref: e, linkProps: t, testId: n = Eg, className: r, ...i }) => {
22052
+ let [a] = $(), o = V(Eg, H`
21588
22053
  position: absolute;
21589
22054
  left: 16px;
21590
22055
  height: 100%;
@@ -21626,8 +22091,8 @@ var ag = "ucl-uikit-header__menu", og = ({ testId: e = ag, className: t, childre
21626
22091
  children: /* @__PURE__ */ y("div", { className: s })
21627
22092
  }) : /* @__PURE__ */ y("div", { className: s })
21628
22093
  });
21629
- }, _g = "ucl-uikit-header", vg = s(({ title: e, showBorder: t = !0, titleAs: n = "div", titleClassName: r, titleProps: i, homeLinkHref: a, homeLinkProps: o, testId: s = _g, className: c, children: l, ...u }) => {
21630
- let [d] = $(), f = V(_g, H`
22094
+ }, Og = "ucl-uikit-header", kg = s(({ title: e, showBorder: t = !0, titleAs: n = "div", titleClassName: r, titleProps: i, homeLinkHref: a, homeLinkProps: o, testId: s = Og, className: c, children: l, ...u }) => {
22095
+ let [d] = $(), f = V(Og, H`
21631
22096
  position: relative;
21632
22097
  background-color: ${d.colour.surface.primary};
21633
22098
  font-synthesis: none;
@@ -21652,15 +22117,15 @@ var ag = "ucl-uikit-header__menu", og = ({ testId: e = ag, className: t, childre
21652
22117
  "data-testid": s,
21653
22118
  ...u,
21654
22119
  children: [
21655
- /* @__PURE__ */ y(gg, {
22120
+ /* @__PURE__ */ y(Dg, {
21656
22121
  linkHref: a,
21657
22122
  linkProps: o
21658
22123
  }),
21659
- /* @__PURE__ */ y(mg, {
22124
+ /* @__PURE__ */ y(Tg, {
21660
22125
  linkHref: a,
21661
22126
  linkProps: o
21662
22127
  }),
21663
- /* @__PURE__ */ y(fg, {
22128
+ /* @__PURE__ */ y(Cg, {
21664
22129
  className: r,
21665
22130
  title: e,
21666
22131
  as: n,
@@ -21672,9 +22137,9 @@ var ag = "ucl-uikit-header__menu", og = ({ testId: e = ag, className: t, childre
21672
22137
  ]
21673
22138
  });
21674
22139
  });
21675
- vg.MenuContainer = cg, vg.Item = ug;
22140
+ kg.MenuContainer = yg, kg.Item = xg;
21676
22141
  // lib/components/Header/Header.tsx
21677
- var yg = "ucl-uikit-header", bg = ({ title: e, fixed: t = !1, titleAs: n = "div", titleClassName: r, titleProps: i, homeLinkHref: a, homeLinkProps: o, homeLinkAriaLabel: s = "Go to homepage", testId: c = yg, className: l, children: u, ...d }) => {
22142
+ var Ag = "ucl-uikit-header", jg = ({ title: e, fixed: t = !1, titleAs: n = "div", titleClassName: r, titleProps: i, homeLinkHref: a, homeLinkProps: o, homeLinkAriaLabel: s = "Go to homepage", testId: c = Ag, className: l, children: u, ...d }) => {
21678
22143
  let [f] = $(), p = f.typography.heading.lg.md, m = H`
21679
22144
  background-color: ${f.color.neutral.white};
21680
22145
  font-synthesis: none;
@@ -21698,7 +22163,7 @@ var yg = "ucl-uikit-header", bg = ({ title: e, fixed: t = !1, titleAs: n = "div"
21698
22163
  top: 0;
21699
22164
  width: 100%;
21700
22165
  z-index: ${3};
21701
- `, g = V(yg, m, t && h, l), _ = H`
22166
+ `, g = V(Ag, m, t && h, l), _ = H`
21702
22167
  position: absolute;
21703
22168
  left: 16px;
21704
22169
  bottom: -0.5px;
@@ -21758,9 +22223,9 @@ var yg = "ucl-uikit-header", bg = ({ title: e, fixed: t = !1, titleAs: n = "div"
21758
22223
  children: w
21759
22224
  }) : w, u]
21760
22225
  });
21761
- }, xg = s(({ title: e, showBorder: t = !0, titleAs: n = "div", titleClassName: r, titleProps: i, homeLinkHref: a, homeLinkProps: o, homeLinkAriaLabel: s, testId: c = yg, className: l, children: u, fixed: d, ...f }) => {
22226
+ }, Mg = s(({ title: e, showBorder: t = !0, titleAs: n = "div", titleClassName: r, titleProps: i, homeLinkHref: a, homeLinkProps: o, homeLinkAriaLabel: s, testId: c = Ag, className: l, children: u, fixed: d, ...f }) => {
21762
22227
  let [p] = $();
21763
- if (p === xc.default) return /* @__PURE__ */ y(bg, {
22228
+ if (p === xc.default) return /* @__PURE__ */ y(jg, {
21764
22229
  title: e,
21765
22230
  fixed: d,
21766
22231
  titleAs: n,
@@ -21778,7 +22243,7 @@ var yg = "ucl-uikit-header", bg = ({ title: e, fixed: t = !1, titleAs: n = "div"
21778
22243
  ...o,
21779
22244
  "aria-label": s
21780
22245
  } : o;
21781
- return /* @__PURE__ */ y(vg, {
22246
+ return /* @__PURE__ */ y(kg, {
21782
22247
  title: e ?? "",
21783
22248
  showBorder: t,
21784
22249
  titleAs: n,
@@ -21792,9 +22257,9 @@ var yg = "ucl-uikit-header", bg = ({ title: e, fixed: t = !1, titleAs: n = "div"
21792
22257
  children: u
21793
22258
  });
21794
22259
  });
21795
- xg.Menu = og, xg.MenuContainer = vg.MenuContainer, xg.Item = vg.Item;
22260
+ Mg.Menu = _g, Mg.MenuContainer = kg.MenuContainer, Mg.Item = kg.Item;
21796
22261
  // lib/components/NavigationBar/NavigationBarItem.tsx
21797
- var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, disabled: t = !1, icon: i, iconPosition: a = "right", testId: s = Sg, className: c, children: l, asChild: u = !1, ...d }, f) {
22262
+ var Ng = "ucl-uikit-navigation-bar__item", Pg = a(function({ active: e = !1, disabled: t = !1, icon: i, iconPosition: a = "right", testId: s = Ng, className: c, children: l, asChild: u = !1, ...d }, f) {
21798
22263
  let [p] = $(), m = H`
21799
22264
  display: inline-flex;
21800
22265
  `, h = H`
@@ -21876,7 +22341,7 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
21876
22341
  `, E = H`
21877
22342
  display: block;
21878
22343
  flex-shrink: 0;
21879
- `, D = V(Sg, h, e && g, t && _, c), O = (t) => /* @__PURE__ */ b("span", {
22344
+ `, D = V(Ng, h, e && g, t && _, c), O = (t) => /* @__PURE__ */ b("span", {
21880
22345
  className: v,
21881
22346
  children: [/* @__PURE__ */ b("span", {
21882
22347
  className: x,
@@ -21927,7 +22392,7 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
21927
22392
  children: k
21928
22393
  })
21929
22394
  });
21930
- }), wg = s(Cg), Tg = "ucl-uikit-navigation-bar", Eg = Object.assign(s(({ testId: e = Tg, className: t, children: r, "aria-label": i = "Primary navigation", ...a }) => {
22395
+ }), Fg = s(Pg), Ig = "ucl-uikit-navigation-bar", Lg = Object.assign(s(({ testId: e = Ig, className: t, children: r, "aria-label": i = "Primary navigation", ...a }) => {
21931
22396
  let [s] = $(), c = n.toArray(r).filter(o), l = H`
21932
22397
  box-sizing: border-box;
21933
22398
  display: flex;
@@ -21948,7 +22413,7 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
21948
22413
  margin: 0;
21949
22414
  padding: 0;
21950
22415
  list-style: none;
21951
- `, d = V(Tg, l, t);
22416
+ `, d = V(Ig, l, t);
21952
22417
  return /* @__PURE__ */ y("nav", {
21953
22418
  className: d,
21954
22419
  "data-testid": e,
@@ -21959,8 +22424,8 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
21959
22424
  children: c
21960
22425
  })
21961
22426
  });
21962
- }), { Item: wg }), Dg = "ucl-uikit-header__bottom--breadcrumbs", Og = s(({ testId: e = Dg, className: t, children: n, ...r }) => {
21963
- let [i] = $(), { sm: a } = i.typography.body, o = V(Dg, H`
22427
+ }), { Item: Fg }), Rg = "ucl-uikit-header__bottom--breadcrumbs", zg = s(({ testId: e = Rg, className: t, children: n, ...r }) => {
22428
+ let [i] = $(), { sm: a } = i.typography.body, o = V(Rg, H`
21964
22429
  color: ${i.color.text.primary};
21965
22430
  padding: ${i.padding.p16} 60px;
21966
22431
  box-sizing: border-box;
@@ -21987,8 +22452,8 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
21987
22452
  children: n
21988
22453
  })
21989
22454
  });
21990
- }), kg = "ucl-uikit-header__avatar", Ag = s(({ heading: e, subheading: t, name: n, role: r, profileImageSrc: i, testId: a = kg, className: o, ...s }) => {
21991
- let [c] = $(), l = c.typography.heading.sm.md, u = c.typography.body.md, d = c.typography.body.sm, f = V(kg, H`
22455
+ }), Bg = "ucl-uikit-header__avatar", Vg = s(({ heading: e, subheading: t, name: n, role: r, profileImageSrc: i, testId: a = Bg, className: o, ...s }) => {
22456
+ let [c] = $(), l = c.typography.heading.sm.md, u = c.typography.body.md, d = c.typography.body.sm, f = V(Bg, H`
21992
22457
  color: ${c.color.text.primary};
21993
22458
  padding: ${c.padding.p20} 60px;
21994
22459
  box-sizing: border-box;
@@ -22092,7 +22557,7 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
22092
22557
  ]
22093
22558
  })]
22094
22559
  });
22095
- }), jg = "ucl-uikit-header__breadcrumb", Mg = s(({ link: e = !1, testId: t = jg, className: n, children: r, ...i }) => {
22560
+ }), Hg = "ucl-uikit-header__breadcrumb", Ug = s(({ link: e = !1, testId: t = Hg, className: n, children: r, ...i }) => {
22096
22561
  let [a] = $(), { sm: o, smSemibold: s } = a.typography.body, c = H`
22097
22562
  color: ${a.color.text.primary};
22098
22563
  font-family: ${o.fontFamily};
@@ -22124,7 +22589,7 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
22124
22589
  margin-left: ${a.margin.m8};
22125
22590
  vertical-align: middle;
22126
22591
  color: ${a.color.text.secondary};
22127
- `, p = V(jg, c, n);
22592
+ `, p = V(Hg, c, n);
22128
22593
  return /* @__PURE__ */ b("li", {
22129
22594
  className: p,
22130
22595
  "data-testid": t,
@@ -22138,14 +22603,14 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
22138
22603
  strokeWidth: 1.5
22139
22604
  })]
22140
22605
  });
22141
- }), Ng = "ucl-uikit-header__menu", Pg = ({ testId: e = Ng, children: t, ...n }) => /* @__PURE__ */ y("div", {
22606
+ }), Wg = "ucl-uikit-header__menu", Gg = ({ testId: e = Wg, children: t, ...n }) => /* @__PURE__ */ y("div", {
22142
22607
  "data-testid": e,
22143
22608
  ...n,
22144
22609
  children: t
22145
- }), Fg = "ucl-uikit-header", Ig = s(({ variant: e, title: n, heading: r, subheading: i, name: a, role: o, profileImageSrc: s, menu: c = !1, fixed: l = !1, sticky: u = !1, testId: d = Fg, className: f, children: p, ...m }) => {
22610
+ }), Kg = "ucl-uikit-header", qg = s(({ variant: e, title: n, heading: r, subheading: i, name: a, role: o, profileImageSrc: s, menu: c = !1, fixed: l = !1, sticky: u = !1, testId: d = Kg, className: f, children: p, ...m }) => {
22146
22611
  let [h] = $(), { mdSemibold: g, lgBold: _ } = h.typography.body, v = [], x = [];
22147
22612
  t.Children.forEach(p, (e) => {
22148
- t.isValidElement(e) && e.type === Pg ? v.push(e) : x.push(e);
22613
+ t.isValidElement(e) && e.type === Gg ? v.push(e) : x.push(e);
22149
22614
  });
22150
22615
  let S = H`
22151
22616
  background-color: ${h.color.neutral.white};
@@ -22167,7 +22632,7 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
22167
22632
  `, w = H`
22168
22633
  position: sticky;
22169
22634
  top: -${72}px;
22170
- `, T = V(Fg, S, l && C, u && w, f), E = H`
22635
+ `, T = V(Kg, S, l && C, u && w, f), E = H`
22171
22636
  position: relative;
22172
22637
  height: ${72}px;
22173
22638
  background-color: ${h.color.neutral.grey90};
@@ -22233,8 +22698,8 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
22233
22698
  })
22234
22699
  ]
22235
22700
  }),
22236
- e === "breadcrumbs" && /* @__PURE__ */ y(Og, { children: x }),
22237
- e === "avatar" && /* @__PURE__ */ y(Ag, {
22701
+ e === "breadcrumbs" && /* @__PURE__ */ y(zg, { children: x }),
22702
+ e === "avatar" && /* @__PURE__ */ y(Vg, {
22238
22703
  heading: r,
22239
22704
  subheading: i,
22240
22705
  name: a,
@@ -22244,13 +22709,13 @@ var Sg = "ucl-uikit-navigation-bar__item", Cg = a(function({ active: e = !1, dis
22244
22709
  ]
22245
22710
  });
22246
22711
  });
22247
- Ig.Breadcrumb = Mg, Ig.Menu = Pg;
22712
+ qg.Breadcrumb = Ug, qg.Menu = Gg;
22248
22713
  // lib/components/Table/Table.context.ts
22249
- var Lg = i({
22714
+ var Jg = i({
22250
22715
  columns: [],
22251
22716
  disableMobileView: !1
22252
- }), Rg = Lg.Provider, zg = () => c(Lg), Bg = (e, t) => t ? -1 : e - 1, Vg = "ucl-uikit-table__head", Hg = ({ className: e, children: t, ...n }) => {
22253
- let [r] = $(), { disableMobileView: i } = zg(), a = Bg(r.breakpoints.tablet, i), o = H`
22717
+ }), Yg = Jg.Provider, Xg = () => c(Jg), Zg = (e, t) => t ? -1 : e - 1, Qg = "ucl-uikit-table__head", $g = ({ className: e, children: t, ...n }) => {
22718
+ let [r] = $(), { disableMobileView: i } = Xg(), a = Zg(r.breakpoints.tablet, i), o = H`
22254
22719
  height: 40px;
22255
22720
  background-color: ${r.colour.surface.secondary};
22256
22721
 
@@ -22267,17 +22732,17 @@ var Lg = i({
22267
22732
  }
22268
22733
  `, s = H`
22269
22734
  border-bottom: 1px solid ${r.colour.border.disabled};
22270
- `, c = V(o, e, Vg);
22735
+ `, c = V(o, e, Qg);
22271
22736
  return /* @__PURE__ */ y("thead", {
22272
22737
  className: c,
22273
- "data-testid": Vg,
22738
+ "data-testid": Qg,
22274
22739
  ...n,
22275
22740
  children: /* @__PURE__ */ y("tr", {
22276
22741
  className: s,
22277
22742
  children: t
22278
22743
  })
22279
22744
  });
22280
- }, Ug = ({ sortOrder: e, size: t = 16 }) => {
22745
+ }, e_ = ({ sortOrder: e, size: t = 16 }) => {
22281
22746
  let [n] = $(), r = e === "asc" ? n.colour.icon.default : n.colour.icon.disabled, i = e === "desc" ? n.colour.icon.default : n.colour.icon.disabled;
22282
22747
  return /* @__PURE__ */ y("svg", {
22283
22748
  width: t,
@@ -22317,26 +22782,26 @@ var Lg = i({
22317
22782
  })
22318
22783
  ] })
22319
22784
  });
22320
- }, Wg = "ucl-uikit-table__head-cell-content", Gg = ({ variant: e, sort: t, showSortIcon: n, checked: r, onCheckboxChange: i, checkboxAriaLabel: a, children: o }) => {
22785
+ }, t_ = "ucl-uikit-table__head-cell-content", n_ = ({ variant: e, sort: t, showSortIcon: n, checked: r, onCheckboxChange: i, checkboxAriaLabel: a, children: o }) => {
22321
22786
  let s = H`
22322
22787
  display: flex;
22323
22788
  align-items: center;
22324
22789
  gap: 8px;
22325
22790
  `, c = H`
22326
22791
  justify-content: flex-end;
22327
- `, l = V(s, e === "checkbox" && c, Wg);
22792
+ `, l = V(s, e === "checkbox" && c, t_);
22328
22793
  return /* @__PURE__ */ b("div", {
22329
22794
  className: l,
22330
- "data-testid": Wg,
22331
- children: [e === "default" && /* @__PURE__ */ b(v, { children: [o, n && /* @__PURE__ */ y(Ug, { sortOrder: t })] }), e === "checkbox" && /* @__PURE__ */ y(Np, {
22795
+ "data-testid": t_,
22796
+ children: [e === "default" && /* @__PURE__ */ b(v, { children: [o, n && /* @__PURE__ */ y(e_, { sortOrder: t })] }), e === "checkbox" && /* @__PURE__ */ y(Np, {
22332
22797
  checked: r,
22333
22798
  onChange: i,
22334
22799
  ariaLabel: a
22335
22800
  })]
22336
22801
  });
22337
- }, Kg = "ucl-uikit-table__head-cell", qg = ({ variant: e = "default", accessor: t, mobileRole: n, mobileLabel: r, sort: i = null, onSortChange: a, showSortIcon: o = !0, checked: s = !1, onCheck: c, testId: l = Kg, className: u, children: d, checkboxAriaLabel: f = "Select all rows", ...p }) => {
22802
+ }, r_ = "ucl-uikit-table__head-cell", i_ = ({ variant: e = "default", accessor: t, mobileRole: n, mobileLabel: r, sort: i = null, onSortChange: a, showSortIcon: o = !0, checked: s = !1, onCheck: c, testId: l = r_, className: u, children: d, checkboxAriaLabel: f = "Select all rows", ...p }) => {
22338
22803
  let [m] = $(), h = e !== "checkbox" && a && t, g = (e) => {
22339
- a && !t ? console.warn(`${Kg}: onSortChange requires an accessor to be defined.`) : h && (i === "asc" ? a(t, "desc", e) : i === "desc" ? a(t, null, e) : a(t, "asc", e));
22804
+ a && !t ? console.warn(`${r_}: onSortChange requires an accessor to be defined.`) : h && (i === "asc" ? a(t, "desc", e) : i === "desc" ? a(t, null, e) : a(t, "asc", e));
22340
22805
  }, _ = (e) => {
22341
22806
  g(e);
22342
22807
  }, v = (e) => {
@@ -22354,7 +22819,7 @@ var Lg = i({
22354
22819
  text-align: left;
22355
22820
  cursor: ${h ? "pointer" : "default"};
22356
22821
  user-select: none;
22357
- `, u, Kg);
22822
+ `, u, r_);
22358
22823
  return /* @__PURE__ */ y("th", {
22359
22824
  onClick: _,
22360
22825
  onKeyDown: v,
@@ -22368,7 +22833,7 @@ var Lg = i({
22368
22833
  tabIndex: h ? 0 : void 0,
22369
22834
  "aria-sort": h ? i === "asc" ? "ascending" : i === "desc" ? "descending" : "none" : void 0,
22370
22835
  ...p,
22371
- children: /* @__PURE__ */ y(Gg, {
22836
+ children: /* @__PURE__ */ y(n_, {
22372
22837
  variant: e,
22373
22838
  sort: i,
22374
22839
  showSortIcon: o,
@@ -22378,21 +22843,21 @@ var Lg = i({
22378
22843
  children: d
22379
22844
  })
22380
22845
  });
22381
- }, Jg = "ucl-uikit-table__body", Yg = ({ className: e, children: t, ...n }) => {
22382
- let [r] = $(), { disableMobileView: i } = zg(), a = V(H`
22383
- @media screen and (max-width: ${Bg(r.breakpoints.tablet, i)}px) {
22846
+ }, a_ = "ucl-uikit-table__body", o_ = ({ className: e, children: t, ...n }) => {
22847
+ let [r] = $(), { disableMobileView: i } = Xg(), a = V(H`
22848
+ @media screen and (max-width: ${Zg(r.breakpoints.tablet, i)}px) {
22384
22849
  display: block;
22385
22850
  width: 100%;
22386
22851
  }
22387
- `, e, Jg);
22852
+ `, e, a_);
22388
22853
  return /* @__PURE__ */ y("tbody", {
22389
22854
  className: a,
22390
- "data-testid": Jg,
22855
+ "data-testid": a_,
22391
22856
  ...n,
22392
22857
  children: t
22393
22858
  });
22394
- }, Xg = "ucl-uikit-table__row", Zg = (e) => !e || e === "field", Qg = (e, t) => e === t, $g = ({ selected: e = !1, mobileExpanded: t, defaultMobileExpanded: i = !0, mobileCollapsible: a = !0, mobileDetailsLabel: s = "Details", mobileExpandLabel: c = "Show details", mobileCollapseLabel: l = "Hide details", onMobileExpandedChange: u, className: d, children: f, ...p }) => {
22395
- let [m] = $(), { columns: h, disableMobileView: g } = zg(), v = Bg(m.breakpoints.tablet, g), [x, S] = _(i), C = t === void 0 ? x : t, w = n.toArray(f).some((e, t) => o(e) && Zg(h[t]?.mobileRole)), T = n.toArray(f).some((e, t) => o(e) && Qg(h[t]?.mobileRole, "selection")), E = n.toArray(f).some((e, t) => o(e) && Qg(h[t]?.mobileRole, "primaryMeta")), D = n.toArray(f).some((e, t) => o(e) && Qg(h[t]?.mobileRole, "contextMenu")), O = n.toArray(f).findIndex((e, t) => o(e) && Zg(h[t]?.mobileRole)), k = a && w, A = !k || C, j = () => {
22859
+ }, s_ = "ucl-uikit-table__row", c_ = (e) => !e || e === "field", l_ = (e, t) => e === t, u_ = ({ selected: e = !1, mobileExpanded: t, defaultMobileExpanded: i = !0, mobileCollapsible: a = !0, mobileDetailsLabel: s = "Details", mobileExpandLabel: c = "Show details", mobileCollapseLabel: l = "Hide details", onMobileExpandedChange: u, className: d, children: f, ...p }) => {
22860
+ let [m] = $(), { columns: h, disableMobileView: g } = Xg(), v = Zg(m.breakpoints.tablet, g), [x, S] = _(i), C = t === void 0 ? x : t, w = n.toArray(f).some((e, t) => o(e) && c_(h[t]?.mobileRole)), T = n.toArray(f).some((e, t) => o(e) && l_(h[t]?.mobileRole, "selection")), E = n.toArray(f).some((e, t) => o(e) && l_(h[t]?.mobileRole, "primaryMeta")), D = n.toArray(f).some((e, t) => o(e) && l_(h[t]?.mobileRole, "contextMenu")), O = n.toArray(f).findIndex((e, t) => o(e) && c_(h[t]?.mobileRole)), k = a && w, A = !k || C, j = () => {
22396
22861
  let e = !C;
22397
22862
  t === void 0 && S(e), u?.(e);
22398
22863
  }, M = H`
@@ -22447,7 +22912,7 @@ var Lg = i({
22447
22912
  @media screen and (max-width: ${v}px) {
22448
22913
  grid-template-columns: auto minmax(0, 1fr) auto auto;
22449
22914
  }
22450
- `, F = V(M, e && N, D && P, d, Xg), I = H`
22915
+ `, F = V(M, e && N, D && P, d, s_), I = H`
22451
22916
  display: block;
22452
22917
  grid-column: 1 / -1;
22453
22918
  order: 10;
@@ -22483,7 +22948,7 @@ var Lg = i({
22483
22948
  })) : e), te = C ? l : c;
22484
22949
  return /* @__PURE__ */ b("tr", {
22485
22950
  className: F,
22486
- "data-testid": Xg,
22951
+ "data-testid": s_,
22487
22952
  "aria-selected": e,
22488
22953
  "data-mobile-expanded": A,
22489
22954
  ...p,
@@ -22500,8 +22965,8 @@ var Lg = i({
22500
22965
  })
22501
22966
  })]
22502
22967
  });
22503
- }, e_ = "ucl-uikit-table__cell-content", t_ = ({ variant: e, mobileRole: t, icon: n, checked: r, checkboxProps: i, buttonProps: a, handleCheckboxChange: o, handleButtonClick: s, children: c }) => {
22504
- let [l] = $(), { disableMobileView: u } = zg(), d = Bg(l.breakpoints.tablet, u), f = H`
22968
+ }, d_ = "ucl-uikit-table__cell-content", f_ = ({ variant: e, mobileRole: t, icon: n, checked: r, checkboxProps: i, buttonProps: a, handleCheckboxChange: o, handleButtonClick: s, children: c }) => {
22969
+ let [l] = $(), { disableMobileView: u } = Xg(), d = Zg(l.breakpoints.tablet, u), f = H`
22505
22970
  display: flex;
22506
22971
  align-items: center;
22507
22972
  justify-content: flex-start;
@@ -22570,10 +23035,10 @@ var Lg = i({
22570
23035
  [_]: t === "primaryMeta",
22571
23036
  [v]: t === "primaryAction",
22572
23037
  [x]: t === "status" || t === "contextMenu"
22573
- }, h, e_);
23038
+ }, h, d_);
22574
23039
  return /* @__PURE__ */ b("div", {
22575
23040
  className: S,
22576
- "data-testid": e_,
23041
+ "data-testid": d_,
22577
23042
  children: [
22578
23043
  n,
22579
23044
  e === "checkbox" && /* @__PURE__ */ y(Np, {
@@ -22591,9 +23056,9 @@ var Lg = i({
22591
23056
  e !== "checkbox" && e !== "button" && c
22592
23057
  ]
22593
23058
  });
22594
- }, n_ = "ucl-uikit-table__cell", r_ = (e) => e === "checkbox" ? "selection" : e === "button" ? "primaryAction" : "field", i_ = ({ variant: e = "default", icon: t, onCheck: n, checked: r, onButtonClick: i = () => {}, testId: a = n_, className: o, children: s, checkboxProps: c, buttonProps: l, __mobileColumnIndex: u, __mobileHasSelection: d = !1, __mobileHasPrimaryMeta: f = !1, __mobileIsFirstBodyField: p = !1, ...m }) => {
22595
- let [h] = $(), { columns: g, disableMobileView: _ } = zg(), v = Bg(h.breakpoints.tablet, _), b = g[u ?? -1], x = b?.mobileRole ?? r_(e), S = b?.mobileLabel;
22596
- e === "checkbox" && !c?.ariaLabel && !c?.["aria-label"] && console.warn(`${n_}: checkboxProps.ariaLabel is required when using variant="checkbox". Provide a row-specific label (e.g. "Select John Smith") so screen readers can identify each checkbox.`);
23059
+ }, p_ = "ucl-uikit-table__cell", m_ = (e) => e === "checkbox" ? "selection" : e === "button" ? "primaryAction" : "field", h_ = ({ variant: e = "default", icon: t, onCheck: n, checked: r, onButtonClick: i = () => {}, testId: a = p_, className: o, children: s, checkboxProps: c, buttonProps: l, __mobileColumnIndex: u, __mobileHasSelection: d = !1, __mobileHasPrimaryMeta: f = !1, __mobileIsFirstBodyField: p = !1, ...m }) => {
23060
+ let [h] = $(), { columns: g, disableMobileView: _ } = Xg(), v = Zg(h.breakpoints.tablet, _), b = g[u ?? -1], x = b?.mobileRole ?? m_(e), S = b?.mobileLabel;
23061
+ e === "checkbox" && !c?.ariaLabel && !c?.["aria-label"] && console.warn(`${p_}: checkboxProps.ariaLabel is required when using variant="checkbox". Provide a row-specific label (e.g. "Select John Smith") so screen readers can identify each checkbox.`);
22597
23062
  let C = (t) => {
22598
23063
  e === "checkbox" && n && n(t.target.checked, t);
22599
23064
  }, w = (t) => {
@@ -22710,7 +23175,7 @@ var Lg = i({
22710
23175
  @media screen and (max-width: ${v}px) {
22711
23176
  display: none;
22712
23177
  }
22713
- `, ne = V(T, o, n_), re = V({
23178
+ `, ne = V(T, o, p_), re = V({
22714
23179
  [E]: x === "selection",
22715
23180
  [D]: x === "primary",
22716
23181
  [O]: x === "primary" && d,
@@ -22733,7 +23198,7 @@ var Lg = i({
22733
23198
  "data-mobile-role": x,
22734
23199
  "data-mobile-label": S,
22735
23200
  ...m,
22736
- children: /* @__PURE__ */ y(t_, {
23201
+ children: /* @__PURE__ */ y(f_, {
22737
23202
  variant: e,
22738
23203
  mobileRole: x,
22739
23204
  icon: t,
@@ -22745,12 +23210,12 @@ var Lg = i({
22745
23210
  children: s
22746
23211
  })
22747
23212
  });
22748
- }, a_ = "ucl-uikit-table", o_ = (e) => typeof e == "string" || typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(o_).join("").trim() : o(e) ? o_(e.props.children) : "", s_ = (e, t) => e === "primaryStatus" ? "status" : e || (t === "checkbox" ? "selection" : "field"), c_ = (e) => {
22749
- let t = n.toArray(e).find((e) => o(e) && e.type === Hg);
23213
+ }, g_ = "ucl-uikit-table", __ = (e) => typeof e == "string" || typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(__).join("").trim() : o(e) ? __(e.props.children) : "", v_ = (e, t) => e === "primaryStatus" ? "status" : e || (t === "checkbox" ? "selection" : "field"), y_ = (e) => {
23214
+ let t = n.toArray(e).find((e) => o(e) && e.type === $g);
22750
23215
  if (!o(t)) return [];
22751
23216
  let r = n.toArray(t.props.children).filter(o).map((e) => ({
22752
- mobileRole: s_(e.props.mobileRole, e.props.variant),
22753
- mobileLabel: e.props.mobileLabel ?? o_(e.props.children)
23217
+ mobileRole: v_(e.props.mobileRole, e.props.variant),
23218
+ mobileLabel: e.props.mobileLabel ?? __(e.props.children)
22754
23219
  }));
22755
23220
  if (r.some((e) => e.mobileRole === "primary")) return r;
22756
23221
  let i = r.findIndex((e) => e.mobileRole === "field");
@@ -22758,8 +23223,8 @@ var Lg = i({
22758
23223
  ...e,
22759
23224
  mobileRole: "primary"
22760
23225
  } : e);
22761
- }, l_ = ({ testId: e = a_, className: t, children: n, ref: r, ariaLabel: i, disableMobileView: a = !1, ...o }) => {
22762
- let [s] = $(), c = c_(n), l = Bg(s.breakpoints.tablet, a), u = V(H`
23226
+ }, b_ = ({ testId: e = g_, className: t, children: n, ref: r, ariaLabel: i, disableMobileView: a = !1, ...o }) => {
23227
+ let [s] = $(), c = y_(n), l = Zg(s.breakpoints.tablet, a), u = V(H`
22763
23228
  width: 100%;
22764
23229
  font-family: ${s.typography.body.sm.fontFamily};
22765
23230
  font-feature-settings: ${s.typography.body.sm.fontSettings};
@@ -22772,8 +23237,8 @@ var Lg = i({
22772
23237
  display: block;
22773
23238
  border-collapse: separate;
22774
23239
  }
22775
- `, t, a_);
22776
- return /* @__PURE__ */ y(Rg, {
23240
+ `, t, g_);
23241
+ return /* @__PURE__ */ y(Yg, {
22777
23242
  value: {
22778
23243
  columns: c,
22779
23244
  disableMobileView: a
@@ -22788,10 +23253,10 @@ var Lg = i({
22788
23253
  })
22789
23254
  });
22790
23255
  };
22791
- l_.Head = Hg, l_.HeadCell = qg, l_.Body = Yg, l_.Row = $g, l_.Cell = i_;
23256
+ b_.Head = $g, b_.HeadCell = i_, b_.Body = o_, b_.Row = u_, b_.Cell = h_;
22792
23257
  // lib/components/Alert/AlertMessage.tsx
22793
- var u_ = "ucl-uikit-alert__message", d_ = ({ testId: e = u_, className: t, children: n, ...r }) => {
22794
- let i = V(u_, t);
23258
+ var x_ = "ucl-uikit-alert__message", S_ = ({ testId: e = x_, className: t, children: n, ...r }) => {
23259
+ let i = V(x_, t);
22795
23260
  return /* @__PURE__ */ y(Ic, {
22796
23261
  level: "md",
22797
23262
  noMargins: !0,
@@ -22800,12 +23265,12 @@ var u_ = "ucl-uikit-alert__message", d_ = ({ testId: e = u_, className: t, child
22800
23265
  ...r,
22801
23266
  children: n
22802
23267
  });
22803
- }, f_ = "ucl-uikit-alert__title", p_ = ({ children: e, testId: t = f_, className: n, ...r }) => {
23268
+ }, C_ = "ucl-uikit-alert__title", w_ = ({ children: e, testId: t = C_, className: n, ...r }) => {
22804
23269
  let [i] = $(), a = H`
22805
23270
  margin: 0 0 ${i.margin.m8} 0;
22806
23271
  `;
22807
23272
  return /* @__PURE__ */ y("h3", {
22808
- className: V(f_, a, n),
23273
+ className: V(C_, a, n),
22809
23274
  "data-test-id": t,
22810
23275
  ...r,
22811
23276
  children: /* @__PURE__ */ y(Mc, {
@@ -22813,10 +23278,10 @@ var u_ = "ucl-uikit-alert__message", d_ = ({ testId: e = u_, className: t, child
22813
23278
  children: e
22814
23279
  })
22815
23280
  });
22816
- }, m_ = (e) => e.charAt(0).toUpperCase() + e.slice(1), h_ = "ucl-uikit-alert", g_ = i(null), __ = ({ variant: e, type: t, iconProps: n, contentProps: i, actionButton: a, children: o, testId: s = h_, className: c, ...l }) => {
23281
+ }, T_ = (e) => e.charAt(0).toUpperCase() + e.slice(1), E_ = "ucl-uikit-alert", D_ = i(null), O_ = ({ variant: e, type: t, iconProps: n, contentProps: i, actionButton: a, children: o, testId: s = E_, className: c, ...l }) => {
22817
23282
  let u = e ?? t;
22818
23283
  if (!u) throw Error("Alert requires a variant");
22819
- let d = m_(u), [f] = $(), { padding: p } = f, m = H`
23284
+ let d = T_(u), [f] = $(), { padding: p } = f, m = H`
22820
23285
  display: flex;
22821
23286
  align-items: flex-start;
22822
23287
  gap: ${a ? f.margin.m32 : f.margin.m8};
@@ -22835,7 +23300,7 @@ var u_ = "ucl-uikit-alert__message", d_ = ({ testId: e = u_, className: t, child
22835
23300
  `, x = H`
22836
23301
  background-color: ${f.colour.surface.critical};
22837
23302
  border-color: ${f.colour.border.critical};
22838
- `, S = V(h_, m, Ac(l, f), u === "info" && h, u === "success" && g, u === "warning" && _, u === "error" && x, c), C = V(u === "info" && H`
23303
+ `, S = V(E_, m, Ac(l, f), u === "info" && h, u === "success" && g, u === "warning" && _, u === "error" && x, c), C = V(u === "info" && H`
22839
23304
  color: ${f.colour.icon.brand};
22840
23305
  `, u === "success" && H`
22841
23306
  color: ${f.colour.icon.success};
@@ -22879,7 +23344,7 @@ var u_ = "ucl-uikit-alert__message", d_ = ({ testId: e = u_, className: t, child
22879
23344
  className: V(w, i?.className),
22880
23345
  children: o
22881
23346
  })] });
22882
- return /* @__PURE__ */ y(g_.Provider, {
23347
+ return /* @__PURE__ */ y(D_.Provider, {
22883
23348
  value: { type: u },
22884
23349
  children: /* @__PURE__ */ b("div", {
22885
23350
  className: S,
@@ -22892,17 +23357,17 @@ var u_ = "ucl-uikit-alert__message", d_ = ({ testId: e = u_, className: t, child
22892
23357
  }) : k, O]
22893
23358
  })
22894
23359
  });
22895
- }, v_ = __;
22896
- __.Title = p_, __.Message = d_;
23360
+ }, k_ = O_;
23361
+ O_.Title = w_, O_.Message = S_;
22897
23362
  // lib/components/Tabs/TabContext.tsx
22898
- var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-"), x_ = (e, t) => `${e}-panel-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-"), S_ = () => {
22899
- let e = c(y_);
23363
+ var A_ = i(void 0), j_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-"), M_ = (e, t) => `${e}-panel-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-"), N_ = () => {
23364
+ let e = c(A_);
22900
23365
  if (!e) throw Error("Tab components must be used within a Tabs component");
22901
23366
  return e;
22902
- }, C_ = "ucl-uikit-tabs__tab", w_ = (e, t) => (n) => {
23367
+ }, P_ = "ucl-uikit-tabs__tab", F_ = (e, t) => (n) => {
22903
23368
  e?.(n), t?.(n);
22904
- }, T_ = s(({ testId: e = C_, className: t, children: i, label: a, value: s, count: c, counter: l, disabled: u = !1, asChild: d = !1, onClick: f, ref: p, ...m }) => {
22905
- let [h] = $(), { value: g, setValue: _, baseId: y, fullWidth: x, panelValues: S } = S_(), C = g === s, w = i ?? a, T = c ?? l, E = H`
23369
+ }, I_ = s(({ testId: e = P_, className: t, children: i, label: a, value: s, count: c, counter: l, disabled: u = !1, asChild: d = !1, onClick: f, ref: p, ...m }) => {
23370
+ let [h] = $(), { value: g, setValue: _, baseId: y, fullWidth: x, panelValues: S } = N_(), C = g === s, w = i ?? a, T = c ?? l, E = H`
22906
23371
  all: unset;
22907
23372
  box-sizing: border-box;
22908
23373
  height: 40px;
@@ -22963,15 +23428,15 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
22963
23428
  overflow: hidden;
22964
23429
  visibility: hidden;
22965
23430
  pointer-events: none;
22966
- `, N = V(C_, E, x ? D : O, C && k, u && A, t), P = (e) => {
23431
+ `, N = V(P_, E, x ? D : O, C && k, u && A, t), P = (e) => {
22967
23432
  f?.(e), !(e.defaultPrevented || u) && _(s);
22968
23433
  }, F = {
22969
23434
  ...m,
22970
23435
  ref: p,
22971
23436
  className: N,
22972
23437
  role: "tab",
22973
- id: b_(y, s),
22974
- ...S.has(s) ? { "aria-controls": x_(y, s) } : {},
23438
+ id: j_(y, s),
23439
+ ...S.has(s) ? { "aria-controls": M_(y, s) } : {},
22975
23440
  "aria-selected": C,
22976
23441
  "aria-disabled": u || void 0,
22977
23442
  tabIndex: C ? 0 : -1,
@@ -22988,7 +23453,7 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
22988
23453
  tabIndex: u ? -1 : m.tabIndex ?? F.tabIndex,
22989
23454
  onClick: u ? (e) => {
22990
23455
  e.preventDefault(), e.stopPropagation();
22991
- } : w_(P, e.props.onClick),
23456
+ } : F_(P, e.props.onClick),
22992
23457
  children: /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ b(Mc, {
22993
23458
  level: C ? "md-semibold" : "md",
22994
23459
  className: j,
@@ -23018,8 +23483,8 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23018
23483
  children: [w, T === void 0 ? "" : ` ${T}`]
23019
23484
  })]
23020
23485
  });
23021
- }), E_ = "ucl-uikit-tabs__list", D_ = (e) => Array.from(e.querySelectorAll("[role=\"tab\"]:not([aria-disabled=\"true\"])")), O_ = s(({ fullWidth: e, testId: t = E_, className: n, children: r, onKeyDown: i, ref: a, ...o }) => {
23022
- let [s] = $(), { orientation: c, activationMode: l, fullWidth: u, setValue: d } = S_(), f = e ?? u, p = (e) => {
23486
+ }), L_ = "ucl-uikit-tabs__list", R_ = (e) => Array.from(e.querySelectorAll("[role=\"tab\"]:not([aria-disabled=\"true\"])")), z_ = s(({ fullWidth: e, testId: t = L_, className: n, children: r, onKeyDown: i, ref: a, ...o }) => {
23487
+ let [s] = $(), { orientation: c, activationMode: l, fullWidth: u, setValue: d } = N_(), f = e ?? u, p = (e) => {
23023
23488
  if (i?.(e), e.defaultPrevented) return;
23024
23489
  let t = c === "vertical" ? {
23025
23490
  next: "ArrowDown",
@@ -23034,7 +23499,7 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23034
23499
  "Home",
23035
23500
  "End"
23036
23501
  ].includes(e.key)) return;
23037
- let n = D_(e.currentTarget), r = n.indexOf(document.activeElement);
23502
+ let n = R_(e.currentTarget), r = n.indexOf(document.activeElement);
23038
23503
  if (r === -1) return;
23039
23504
  e.preventDefault();
23040
23505
  let a = n[{
@@ -23061,7 +23526,7 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23061
23526
  border-right: ${s.border.b1} solid ${s.colour.border.subtle};
23062
23527
  `, g = H`
23063
23528
  width: 100%;
23064
- `, _ = V(E_, m, c === "vertical" && h, f && g, n);
23529
+ `, _ = V(L_, m, c === "vertical" && h, f && g, n);
23065
23530
  return /* @__PURE__ */ y("div", {
23066
23531
  ref: a,
23067
23532
  className: _,
@@ -23072,10 +23537,10 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23072
23537
  ...o,
23073
23538
  children: r
23074
23539
  });
23075
- }), k_ = "ucl-uikit-tabs__panel", A_ = s(({ value: e, forceMount: t = !1, testId: n = k_, className: r, children: i, ref: a, ...o }) => {
23076
- let [s] = $(), { value: c, baseId: l } = S_(), u = c === e;
23540
+ }), B_ = "ucl-uikit-tabs__panel", V_ = s(({ value: e, forceMount: t = !1, testId: n = B_, className: r, children: i, ref: a, ...o }) => {
23541
+ let [s] = $(), { value: c, baseId: l } = N_(), u = c === e;
23077
23542
  if (!t && !u) return null;
23078
- let d = V(k_, H`
23543
+ let d = V(B_, H`
23079
23544
  color: ${s.colour.text.default};
23080
23545
  outline: none;
23081
23546
  `, r);
@@ -23084,23 +23549,23 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23084
23549
  className: d,
23085
23550
  "data-testid": n,
23086
23551
  role: "tabpanel",
23087
- id: x_(l, e),
23088
- "aria-labelledby": b_(l, e),
23552
+ id: M_(l, e),
23553
+ "aria-labelledby": j_(l, e),
23089
23554
  hidden: !u,
23090
23555
  ...o,
23091
23556
  children: i
23092
23557
  });
23093
- }), j_ = "ucl-uikit-tabs", M_ = (e) => n.toArray(e).some((e) => o(e) && e.type === O_), N_ = (e) => {
23558
+ }), H_ = "ucl-uikit-tabs", U_ = (e) => n.toArray(e).some((e) => o(e) && e.type === z_), W_ = (e) => {
23094
23559
  let t = /* @__PURE__ */ new Set();
23095
23560
  return n.toArray(e).forEach((e) => {
23096
- o(e) && (e.type === A_ && e.props.value ? t.add(e.props.value) : e.props.children && N_(e.props.children).forEach((e) => {
23561
+ o(e) && (e.type === V_ && e.props.value ? t.add(e.props.value) : e.props.children && W_(e.props.children).forEach((e) => {
23097
23562
  t.add(e);
23098
23563
  }));
23099
23564
  }), t;
23100
- }, P_ = Object.assign(s(({ value: e, defaultValue: t, onValueChange: n, activationMode: r = "automatic", orientation: i = "horizontal", activeTab: a, onChange: o, fullWidth: s, color: c, testId: l = j_, className: u, children: d, ref: p, ...m }) => {
23101
- let [h] = $(), g = f(), [v, b] = _(t ?? a), x = M_(d), S = N_(d), C = e !== void 0 || a !== void 0, w = e ?? a ?? v, T = s ?? !x, E = (e) => {
23565
+ }, G_ = Object.assign(s(({ value: e, defaultValue: t, onValueChange: n, activationMode: r = "automatic", orientation: i = "horizontal", activeTab: a, onChange: o, fullWidth: s, color: c, testId: l = H_, className: u, children: d, ref: p, ...m }) => {
23566
+ let [h] = $(), g = f(), [v, b] = _(t ?? a), x = U_(d), S = W_(d), C = e !== void 0 || a !== void 0, w = e ?? a ?? v, T = s ?? !x, E = (e) => {
23102
23567
  C || b(e), n?.(e), o?.(e);
23103
- }, D = V(j_, Ac(m, h), u), O = {
23568
+ }, D = V(H_, Ac(m, h), u), O = {
23104
23569
  value: w,
23105
23570
  setValue: E,
23106
23571
  baseId: `ucl-uikit-tabs-${g}`,
@@ -23109,7 +23574,7 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23109
23574
  fullWidth: T,
23110
23575
  panelValues: S
23111
23576
  };
23112
- return /* @__PURE__ */ y(y_.Provider, {
23577
+ return /* @__PURE__ */ y(A_.Provider, {
23113
23578
  value: O,
23114
23579
  children: x ? /* @__PURE__ */ y("div", {
23115
23580
  ref: p,
@@ -23117,7 +23582,7 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23117
23582
  "data-testid": l,
23118
23583
  ...m,
23119
23584
  children: d
23120
- }) : /* @__PURE__ */ y(O_, {
23585
+ }) : /* @__PURE__ */ y(z_, {
23121
23586
  ref: p,
23122
23587
  className: D,
23123
23588
  "data-testid": l,
@@ -23127,12 +23592,12 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23127
23592
  })
23128
23593
  });
23129
23594
  }), {
23130
- List: O_,
23131
- Tab: T_,
23132
- Panel: A_,
23133
- Trigger: T_
23134
- }), F_ = "ucl-uikit-accordion__heading", I_ = "ucl-uikit-accordion__heading__icon", L_ = ({ children: e, as: t, testId: n = F_, className: r }) => {
23135
- let [i] = $(), { isOpen: a, toggleAccordion: o, disabled: s, size: c } = H_(), l = c === "large", u = l ? "md" : "xs", d = t ?? (l ? "h4" : "h6"), f = (e) => {
23595
+ List: z_,
23596
+ Tab: I_,
23597
+ Panel: V_,
23598
+ Trigger: I_
23599
+ }), K_ = "ucl-uikit-accordion__heading", q_ = "ucl-uikit-accordion__heading__icon", J_ = ({ children: e, as: t, testId: n = K_, className: r }) => {
23600
+ let [i] = $(), { isOpen: a, toggleAccordion: o, disabled: s, size: c } = $_(), l = c === "large", u = l ? "md" : "xs", d = t ?? (l ? "h4" : "h6"), f = (e) => {
23136
23601
  s || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), o());
23137
23602
  }, p = H`
23138
23603
  display: flex;
@@ -23153,7 +23618,7 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23153
23618
  &:hover {
23154
23619
  background-color: ${i.colour.surface.brandHover};
23155
23620
 
23156
- [class*='${I_}'] {
23621
+ [class*='${q_}'] {
23157
23622
  color: ${i.colour.icon.default};
23158
23623
  }
23159
23624
  }
@@ -23163,20 +23628,20 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23163
23628
  box-shadow: ${i.boxShadow.focus};
23164
23629
  z-index: 1;
23165
23630
 
23166
- [class*='${I_}'] {
23631
+ [class*='${q_}'] {
23167
23632
  color: ${i.colour.icon.brand};
23168
23633
  }
23169
23634
  }
23170
23635
  `, m = H`
23171
23636
  cursor: not-allowed;
23172
23637
  color: ${i.colour.text.disabled};
23173
- `, h = V(F_, p, s && m, r), g = H`
23638
+ `, h = V(K_, p, s && m, r), g = H`
23174
23639
  transform: rotate(${a ? "180deg" : "0deg"});
23175
23640
  transition: transform 0.15s ease;
23176
23641
  color: ${i.colour.icon.default};
23177
23642
  `, _ = H`
23178
23643
  color: ${i.colour.icon.disabled};
23179
- `, v = V(I_, g, s && _);
23644
+ `, v = V(q_, g, s && _);
23180
23645
  return /* @__PURE__ */ b(Yd, {
23181
23646
  level: u,
23182
23647
  as: d,
@@ -23193,10 +23658,10 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23193
23658
  className: v
23194
23659
  })]
23195
23660
  });
23196
- }, R_ = "ucl-uikit-accordion__panel", z_ = ({ children: e, className: t, testId: n = R_ }) => {
23197
- let [r] = $(), { isOpen: i } = H_();
23661
+ }, Y_ = "ucl-uikit-accordion__panel", X_ = ({ children: e, className: t, testId: n = Y_ }) => {
23662
+ let [r] = $(), { isOpen: i } = $_();
23198
23663
  if (!i) return null;
23199
- let a = V(R_, H`
23664
+ let a = V(Y_, H`
23200
23665
  position: relative;
23201
23666
  width: 100%;
23202
23667
  max-width: 100%;
@@ -23216,11 +23681,11 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23216
23681
  testId: n,
23217
23682
  children: e
23218
23683
  });
23219
- }, B_ = "ucl-uikit-accordion", V_ = i(void 0), H_ = () => {
23220
- let e = u(V_);
23684
+ }, Z_ = "ucl-uikit-accordion", Q_ = i(void 0), $_ = () => {
23685
+ let e = u(Q_);
23221
23686
  if (!e) throw Error("useAccordionContext must be used within an AccordionProvider");
23222
23687
  return e;
23223
- }, U_ = ({ size: e = "default", disabled: t = !1, isOpen: n = !1, variant: r = "no-background", children: i, className: a, testId: o = B_ }) => {
23688
+ }, ev = ({ size: e = "default", disabled: t = !1, isOpen: n = !1, variant: r = "no-background", children: i, className: a, testId: o = Z_ }) => {
23224
23689
  let [s, c] = _(n), [l] = $(), u = e === "small" ? "default" : e === "medium" ? "large" : e, d = () => {
23225
23690
  t || c((e) => !e);
23226
23691
  }, f = H`
@@ -23237,8 +23702,8 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23237
23702
  color: ${l.colour.text.disabled};
23238
23703
  `, m = H`
23239
23704
  border: 1px solid ${l.colour.border.default};
23240
- `, h = V(B_, f, t && p, r === "on-background" && m, a);
23241
- return /* @__PURE__ */ y(V_.Provider, {
23705
+ `, h = V(Z_, f, t && p, r === "on-background" && m, a);
23706
+ return /* @__PURE__ */ y(Q_.Provider, {
23242
23707
  value: {
23243
23708
  isOpen: s,
23244
23709
  toggleAccordion: d,
@@ -23253,32 +23718,32 @@ var y_ = i(void 0), b_ = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g, "-
23253
23718
  })
23254
23719
  });
23255
23720
  };
23256
- U_.Heading = L_, U_.Panel = z_;
23721
+ ev.Heading = J_, ev.Panel = X_;
23257
23722
  // lib/utils/announce.ts
23258
- var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23723
+ var tv = null, nv = [], rv = !1, iv = "", av = 100, ov = 1e3, sv = (e) => {
23259
23724
  if (typeof document > "u") return;
23260
- W_ && !document.contains(W_) && (W_ = null);
23725
+ tv && !document.contains(tv) && (tv = null);
23261
23726
  let t = e || document.body || document.documentElement;
23262
23727
  if (!t) return;
23263
- if (W_ && e && W_.parentNode !== e) {
23264
- e.appendChild(W_);
23728
+ if (tv && e && tv.parentNode !== e) {
23729
+ e.appendChild(tv);
23265
23730
  return;
23266
23731
  }
23267
- if (W_) return;
23732
+ if (tv) return;
23268
23733
  let n = document.createElement("div");
23269
- n.setAttribute("aria-live", "polite"), n.setAttribute("aria-atomic", "true"), n.setAttribute("role", "status"), n.setAttribute("data-testid", "aria-live-region"), n.style.position = "absolute", n.style.left = "-9999px", n.style.width = "1px", n.style.height = "1px", n.style.overflow = "hidden", t.appendChild(n), W_ = n;
23270
- }, Z_ = () => {
23271
- if (K_ || G_.length === 0 || !W_) return;
23272
- let e = G_.shift();
23273
- q_ = e, K_ = !0, W_.textContent = "", setTimeout(() => {
23274
- W_ && (W_.textContent = e), setTimeout(() => {
23275
- K_ = !1, Z_();
23276
- }, Y_);
23277
- }, J_);
23278
- }, Q_ = (e, t = !1, n) => {
23279
- typeof document < "u" && (X_(n), t && (G_.length = 0), !t && e === q_ && G_.length === 0 || G_.includes(e) || K_ && q_ === e || (G_.push(e), Z_()));
23280
- }, $_ = s(({ name: e, testId: t, className: n, ...r }) => {
23281
- let [i] = $(), a = u(Ev), [o, s] = _(String(a?.currentPage ?? 1)), [c, l] = _(""), p = f();
23734
+ n.setAttribute("aria-live", "polite"), n.setAttribute("aria-atomic", "true"), n.setAttribute("role", "status"), n.setAttribute("data-testid", "aria-live-region"), n.style.position = "absolute", n.style.left = "-9999px", n.style.width = "1px", n.style.height = "1px", n.style.overflow = "hidden", t.appendChild(n), tv = n;
23735
+ }, cv = () => {
23736
+ if (rv || nv.length === 0 || !tv) return;
23737
+ let e = nv.shift();
23738
+ iv = e, rv = !0, tv.textContent = "", setTimeout(() => {
23739
+ tv && (tv.textContent = e), setTimeout(() => {
23740
+ rv = !1, cv();
23741
+ }, ov);
23742
+ }, av);
23743
+ }, lv = (e, t = !1, n) => {
23744
+ typeof document < "u" && (sv(n), t && (nv.length = 0), !t && e === iv && nv.length === 0 || nv.includes(e) || rv && iv === e || (nv.push(e), cv()));
23745
+ }, uv = s(({ name: e, testId: t, className: n, ...r }) => {
23746
+ let [i] = $(), a = u(Lv), [o, s] = _(String(a?.currentPage ?? 1)), [c, l] = _(""), p = f();
23282
23747
  if (d(() => {
23283
23748
  s(String(a?.currentPage ?? 1)), l("");
23284
23749
  }, [a?.currentPage]), !a) return null;
@@ -23305,7 +23770,7 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23305
23770
  let t = /^\d+$/.test(o), n = Number(o);
23306
23771
  if (!t || !Number.isInteger(n) || n < 1 || n > O) {
23307
23772
  let e = `Enter a page number from 1 to ${O}.`;
23308
- l(e), Q_(e, !0);
23773
+ l(e), lv(e, !0);
23309
23774
  } else l(""), A(n), e.currentTarget.blur();
23310
23775
  }, I = H`
23311
23776
  margin: 0;
@@ -23405,16 +23870,16 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23405
23870
  ]
23406
23871
  })
23407
23872
  });
23408
- }), ev = (e, t, n) => {
23873
+ }), dv = (e, t, n) => {
23409
23874
  if (t <= n) return Array.from({ length: t }, (e, t) => t + 1);
23410
23875
  let r = [], i = n - 2, a = Math.max(2, e - Math.floor(i / 2)), o = Math.min(t - 1, a + i - 1), s = Math.max(2, o - i + 1);
23411
23876
  r.push(1), s > 2 && r.push("...1");
23412
23877
  for (let e = s; e <= o; e++) r.push(e);
23413
23878
  return o < t - 1 && r.push("...2"), r.push(t), r;
23414
- }, tv = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"], audio[controls], video[controls], details > summary:first-of-type", nv = ({ isActive: e, containerRef: t, initialFocusRef: n, finalFocusRef: r, restoreFocus: i = !0, skipFirstFocusable: a = !1 }) => {
23879
+ }, fv = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"], audio[controls], video[controls], details > summary:first-of-type", pv = ({ isActive: e, containerRef: t, initialFocusRef: n, finalFocusRef: r, restoreFocus: i = !0, skipFirstFocusable: a = !1 }) => {
23415
23880
  let o = g(null), s = l(() => {
23416
23881
  if (!t.current) return [];
23417
- let e = t.current.querySelectorAll(tv);
23882
+ let e = t.current.querySelectorAll(fv);
23418
23883
  return Array.from(e);
23419
23884
  }, [t]), c = l((n) => {
23420
23885
  if (!e || n.key !== "Tab") return;
@@ -23460,47 +23925,47 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23460
23925
  r,
23461
23926
  i
23462
23927
  ]);
23463
- }, rv = "application/x-ucl-uikit-dnd", iv = (e) => e ? (typeof e == "string" ? e.split(",") : Array.from(e)).map((e) => e.trim()).filter(Boolean) : [], av = (e) => Array.from(e.types ?? []), ov = (e, t) => t.length === 0 ? e[0] ?? null : t.find((t) => e.includes(t)) ?? null, sv = (e) => {
23928
+ }, mv = "application/x-ucl-uikit-dnd", hv = (e) => e ? (typeof e == "string" ? e.split(",") : Array.from(e)).map((e) => e.trim()).filter(Boolean) : [], gv = (e) => Array.from(e.types ?? []), _v = (e, t) => t.length === 0 ? e[0] ?? null : t.find((t) => e.includes(t)) ?? null, vv = (e) => {
23464
23929
  if (!e) return e;
23465
23930
  try {
23466
23931
  return JSON.parse(e);
23467
23932
  } catch {
23468
23933
  return e;
23469
23934
  }
23470
- }, cv = (e, t, n) => {
23471
- let r = ov(av(e), t);
23935
+ }, yv = (e, t, n) => {
23936
+ let r = _v(gv(e), t);
23472
23937
  if (!r) return null;
23473
23938
  let i = r === "Files" ? "" : e.getData(r);
23474
23939
  return {
23475
- data: n ? n(i, r) : sv(i),
23940
+ data: n ? n(i, r) : vv(i),
23476
23941
  dataTransfer: e,
23477
23942
  files: Array.from(e.files ?? []),
23478
23943
  rawData: i,
23479
23944
  type: r
23480
23945
  };
23481
- }, lv = null, uv = /* @__PURE__ */ new Set(), dv = () => lv, fv = (e) => {
23482
- lv = e, uv.forEach((e) => e());
23483
- }, pv = () => {
23484
- lv = null, uv.forEach((e) => e());
23485
- }, mv = (e) => (uv.add(e), () => {
23486
- uv.delete(e);
23487
- }), hv = (e, t) => {
23946
+ }, bv = null, xv = /* @__PURE__ */ new Set(), Sv = () => bv, Cv = (e) => {
23947
+ bv = e, xv.forEach((e) => e());
23948
+ }, wv = () => {
23949
+ bv = null, xv.forEach((e) => e());
23950
+ }, Tv = (e) => (xv.add(e), () => {
23951
+ xv.delete(e);
23952
+ }), Ev = (e, t) => {
23488
23953
  e && (typeof e == "function" ? e(t) : e.current = t);
23489
- }, gv = ({ acceptedTypes: e, canDrop: t, disabled: n = !1, dropEffect: r = "move", keyboardDrop: i = !0, onDrop: a, onReject: o, parseData: s } = {}) => {
23490
- let c = g(null), u = g([]), [f, p] = _([]), [m, v] = _(!1), [y, b] = _(!1), [x, S] = _(!1), [C, w] = _(null), [T, E] = _(null), D = h(() => iv(e), [e]), O = l(() => {
23954
+ }, Dv = ({ acceptedTypes: e, canDrop: t, disabled: n = !1, dropEffect: r = "move", keyboardDrop: i = !0, onDrop: a, onReject: o, parseData: s } = {}) => {
23955
+ let c = g(null), u = g([]), [f, p] = _([]), [m, v] = _(!1), [y, b] = _(!1), [x, S] = _(!1), [C, w] = _(null), [T, E] = _(null), D = h(() => hv(e), [e]), O = l(() => {
23491
23956
  u.current = [], p([]), v(!1), b(!1), S(!1);
23492
23957
  }, []);
23493
23958
  d(() => {
23494
23959
  let e = () => {
23495
- let e = dv();
23960
+ let e = Sv();
23496
23961
  if (!e || n || !i) {
23497
23962
  O();
23498
23963
  return;
23499
23964
  }
23500
- let t = [e.type], r = ov(t, D) !== null;
23965
+ let t = [e.type], r = _v(t, D) !== null;
23501
23966
  p(t), v(!0), b(r), S(!r);
23502
23967
  };
23503
- return e(), mv(e);
23968
+ return e(), Tv(e);
23504
23969
  }, [
23505
23970
  n,
23506
23971
  i,
@@ -23530,23 +23995,23 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23530
23995
  activeTypes: f,
23531
23996
  getRootProps: l(({ onDragEnter: e, onDragLeave: t, onDragOver: a, onDrop: o, onKeyDown: l, ref: d, tabIndex: f, ...h } = {}) => {
23532
23997
  let g = (e) => {
23533
- c.current = e, hv(d, e);
23998
+ c.current = e, Ev(d, e);
23534
23999
  }, _ = (t) => {
23535
24000
  if (e?.(t), n || t.defaultPrevented) return;
23536
24001
  t.preventDefault();
23537
- let r = av(t.dataTransfer), i = ov(r, D) !== null;
24002
+ let r = gv(t.dataTransfer), i = _v(r, D) !== null;
23538
24003
  u.current = [...u.current, t.target], p(r), v(!0), b(i), S(!i);
23539
24004
  }, C = (e) => {
23540
24005
  a?.(e), !(n || e.defaultPrevented) && (e.preventDefault(), e.dataTransfer.dropEffect = r);
23541
24006
  }, w = (e) => {
23542
24007
  t?.(e), !(n || e.defaultPrevented) && (e.preventDefault(), u.current = u.current.filter((t) => t !== e.target), u.current.length === 0 && O());
23543
24008
  }, T = (e) => {
23544
- o?.(e), !(n || e.defaultPrevented) && (e.preventDefault(), O(), k(cv(e.dataTransfer, D, s), e));
24009
+ o?.(e), !(n || e.defaultPrevented) && (e.preventDefault(), O(), k(yv(e.dataTransfer, D, s), e));
23545
24010
  }, E = (e) => {
23546
- let t = dv();
23547
- if (l?.(e), n || !i || e.defaultPrevented || e.key !== "Enter" && e.key !== " " || e.target !== e.currentTarget || !t || dv()?.id !== t.id) return;
24011
+ let t = Sv();
24012
+ if (l?.(e), n || !i || e.defaultPrevented || e.key !== "Enter" && e.key !== " " || e.target !== e.currentTarget || !t || Sv()?.id !== t.id) return;
23548
24013
  e.preventDefault();
23549
- let r = ov([t.type], D);
24014
+ let r = _v([t.type], D);
23550
24015
  if (!r) {
23551
24016
  k(null, e);
23552
24017
  return;
@@ -23558,7 +24023,7 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23558
24023
  files: [],
23559
24024
  rawData: a,
23560
24025
  type: r
23561
- }, e), pv(), O();
24026
+ }, e), wv(), O();
23562
24027
  };
23563
24028
  return {
23564
24029
  ...h,
@@ -23592,16 +24057,16 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23592
24057
  lastDrop: C,
23593
24058
  lastRejection: T
23594
24059
  };
23595
- }, _v = (e) => {
24060
+ }, Ov = (e) => {
23596
24061
  let t = JSON.stringify(e);
23597
24062
  if (t === void 0) throw TypeError("Drag data must be JSON-serializable");
23598
24063
  return t;
23599
- }, vv = (e, t) => {
24064
+ }, kv = (e, t) => {
23600
24065
  e && (typeof e == "function" ? e(t) : e.current = t);
23601
- }, yv = ({ data: e, disabled: t = !1, dragImage: n, dragImageOffset: r = {
24066
+ }, Av = ({ data: e, disabled: t = !1, dragImage: n, dragImageOffset: r = {
23602
24067
  x: 0,
23603
24068
  y: 0
23604
- }, effectAllowed: i = "move", keyboardDrag: a = !0, onDragEnd: o, onKeyboardDragCancel: s, onDragStart: c, onKeyboardDragStart: u, serializeData: p = _v, type: m }) => {
24069
+ }, effectAllowed: i = "move", keyboardDrag: a = !0, onDragEnd: o, onKeyboardDragCancel: s, onDragStart: c, onKeyboardDragStart: u, serializeData: p = Ov, type: m }) => {
23605
24070
  let h = f(), v = g(null), [y, b] = _(!1), x = l(() => ({
23606
24071
  data: e,
23607
24072
  rawData: p(e),
@@ -23612,22 +24077,22 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23612
24077
  m
23613
24078
  ]);
23614
24079
  return d(() => {
23615
- let e = mv(() => {
23616
- dv()?.id !== h && b(!1);
24080
+ let e = Tv(() => {
24081
+ Sv()?.id !== h && b(!1);
23617
24082
  });
23618
24083
  return () => {
23619
- e(), dv()?.id === h && pv();
24084
+ e(), Sv()?.id === h && wv();
23620
24085
  };
23621
24086
  }, [h]), d(() => {
23622
- t && dv()?.id === h && pv();
24087
+ t && Sv()?.id === h && wv();
23623
24088
  }, [t, h]), {
23624
24089
  getDragProps: l(({ onDragEnd: e, onDragStart: l, onKeyDown: d, ref: f, tabIndex: p, ...g } = {}) => {
23625
24090
  let _ = (e) => {
23626
- v.current = e, vv(f, e);
24091
+ v.current = e, kv(f, e);
23627
24092
  }, S = (e) => {
23628
24093
  if (l?.(e), t || e.defaultPrevented) return;
23629
24094
  let a = x();
23630
- e.dataTransfer.effectAllowed = i, e.dataTransfer.setData(m, a.rawData ?? ""), e.dataTransfer.setData(rv, JSON.stringify({
24095
+ e.dataTransfer.effectAllowed = i, e.dataTransfer.setData(m, a.rawData ?? ""), e.dataTransfer.setData(mv, JSON.stringify({
23631
24096
  data: a.rawData,
23632
24097
  type: m
23633
24098
  })), n && e.dataTransfer.setDragImage(n, r.x, r.y), b(!0), c?.(a, e);
@@ -23638,13 +24103,13 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23638
24103
  if (e.key === "Escape" && y) {
23639
24104
  e.preventDefault();
23640
24105
  let t = x();
23641
- pv(), b(!1), s?.(t);
24106
+ wv(), b(!1), s?.(t);
23642
24107
  return;
23643
24108
  }
23644
- if (e.key !== "Enter" && e.key !== " " || dv()) return;
24109
+ if (e.key !== "Enter" && e.key !== " " || Sv()) return;
23645
24110
  e.preventDefault();
23646
24111
  let n = x();
23647
- fv({
24112
+ Cv({
23648
24113
  ...n,
23649
24114
  id: h,
23650
24115
  rawData: n.rawData ?? ""
@@ -23677,15 +24142,15 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23677
24142
  ]),
23678
24143
  isDragging: y
23679
24144
  };
23680
- }, bv = s(({ maxNumberButtons: e, name: t, testId: n, className: r, ...i }) => {
23681
- let [a] = $(), o = nf(`(min-width: ${a.breakpoints.tablet}px)`), s = u(Ev);
24145
+ }, jv = s(({ maxNumberButtons: e, name: t, testId: n, className: r, ...i }) => {
24146
+ let [a] = $(), o = nf(`(min-width: ${a.breakpoints.tablet}px)`), s = u(Lv);
23682
24147
  if (!s) return null;
23683
24148
  let { mode: c, limit: l, total: d, currentPage: f, trackedMaxPage: p, hasPreviousPage: m, hasNextPage: h, onPageChange: g, onNextPage: _, onPreviousPage: x } = s, S = (e) => {
23684
24149
  if (c === "tracked") {
23685
24150
  if (e < 1 || e > p || e === f) return;
23686
24151
  g?.(e);
23687
24152
  } else g?.((e - 1) * l);
23688
- }, C = typeof d == "number" ? Math.ceil(d / l) : void 0, w = c === "tracked" ? Array.from({ length: p }, (e, t) => t + 1) : ev(f, C ?? 0, o ? e : 5), T = V(t, r), E = H`
24153
+ }, C = typeof d == "number" ? Math.ceil(d / l) : void 0, w = c === "tracked" ? Array.from({ length: p }, (e, t) => t + 1) : dv(f, C ?? 0, o ? e : 5), T = V(t, r), E = H`
23689
24154
  margin: 0;
23690
24155
  padding: 0;
23691
24156
  display: flex;
@@ -23792,24 +24257,24 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23792
24257
  ]
23793
24258
  })
23794
24259
  });
23795
- }), xv = "ucl-ukit-pagination__controls", Sv = s(({ variant: e = "default", maxNumberButtons: t = 9, testId: n = xv, className: r, ...i }) => {
24260
+ }), Mv = "ucl-ukit-pagination__controls", Nv = s(({ variant: e = "default", maxNumberButtons: t = 9, testId: n = Mv, className: r, ...i }) => {
23796
24261
  let a = {
23797
24262
  ...i,
23798
24263
  className: r,
23799
- name: xv,
24264
+ name: Mv,
23800
24265
  testId: n
23801
24266
  };
23802
- return e === "compact" ? /* @__PURE__ */ y($_, { ...a }) : /* @__PURE__ */ y(bv, {
24267
+ return e === "compact" ? /* @__PURE__ */ y(uv, { ...a }) : /* @__PURE__ */ y(jv, {
23803
24268
  ...a,
23804
24269
  maxNumberButtons: t
23805
24270
  });
23806
- }), Cv = "ucl-uikit-pagination__info", wv = s(({ format: e = "pages", itemsPluralName: t, testId: n = Cv, className: r, ...i }) => {
23807
- let [a] = $(), o = u(Ev);
24271
+ }), Pv = "ucl-uikit-pagination__info", Fv = s(({ format: e = "pages", itemsPluralName: t, testId: n = Pv, className: r, ...i }) => {
24272
+ let [a] = $(), o = u(Lv);
23808
24273
  if (!o) return null;
23809
24274
  let { offset: s, limit: c, total: l, currentPage: d } = o, f = typeof l == "number" ? Math.ceil(l / c) : void 0, p = s + 1, m = typeof l == "number" ? Math.min(s + c, l) : s + c, h = {
23810
24275
  pages: typeof f == "number" ? `Page ${d} of ${f}` : `Page ${d}`,
23811
24276
  items: typeof l == "number" ? `${p}-${m} of ${l}${t ? ` ${t}` : ""}` : `${p}-${m}${t ? ` ${t}` : ""}`
23812
- }[e], g = V(Cv, H`
24277
+ }[e], g = V(Pv, H`
23813
24278
  margin: ${a.margin.m16} 0;
23814
24279
  text-align: center;
23815
24280
  color: ${a.colour.text.secondary};
@@ -23829,7 +24294,7 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23829
24294
  ...i,
23830
24295
  children: h
23831
24296
  });
23832
- }), Tv = "ucl-uikit-pagination", Ev = i(void 0), Dv = ({ offset: e, limit: t, total: n, onPageChange: r, mode: i = "offset", currentPage: a, trackedMaxPage: o, hasNextPage: s, hasPreviousPage: c, onNextPage: l, onPreviousPage: u, testId: d, className: f, children: p, ...m }) => {
24297
+ }), Iv = "ucl-uikit-pagination", Lv = i(void 0), Rv = ({ offset: e, limit: t, total: n, onPageChange: r, mode: i = "offset", currentPage: a, trackedMaxPage: o, hasNextPage: s, hasPreviousPage: c, onNextPage: l, onPreviousPage: u, testId: d, className: f, children: p, ...m }) => {
23833
24298
  let [h] = $(), g = i === "tracked", _ = g ? Math.max(1, a ?? 1) : Math.floor((e ?? 0) / t) + 1, v = g ? (_ - 1) * t : e ?? 0, b = {
23834
24299
  mode: i,
23835
24300
  offset: v,
@@ -23842,11 +24307,11 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23842
24307
  onPageChange: r,
23843
24308
  onNextPage: l,
23844
24309
  onPreviousPage: u
23845
- }, x = V(Tv, H`
24310
+ }, x = V(Iv, H`
23846
24311
  margin-left: auto;
23847
24312
  margin-right: auto;
23848
24313
  `, Ac(m, h), f);
23849
- return /* @__PURE__ */ y(Ev.Provider, {
24314
+ return /* @__PURE__ */ y(Lv.Provider, {
23850
24315
  value: b,
23851
24316
  children: /* @__PURE__ */ y("div", {
23852
24317
  "data-testid": d,
@@ -23856,17 +24321,17 @@ var W_ = null, G_ = [], K_ = !1, q_ = "", J_ = 100, Y_ = 1e3, X_ = (e) => {
23856
24321
  })
23857
24322
  });
23858
24323
  };
23859
- Dv.Controls = Sv, Dv.Info = wv;
24324
+ Rv.Controls = Nv, Rv.Info = Fv;
23860
24325
  // lib/components/Dialog/DialogHeader.tsx
23861
- var Ov = "ucl-uikit-dialog__header", kv = ({ decoration: e, headingProps: t, closeButtonStopPropagation: n = !0, children: r, testId: i = Ov, className: a }) => {
23862
- let { onClose: o, dialogHeaderId: s } = u(Fv), [c] = $(), d = H`
24326
+ var zv = "ucl-uikit-dialog__header", Bv = ({ decoration: e, headingProps: t, closeButtonStopPropagation: n = !0, children: r, testId: i = zv, className: a }) => {
24327
+ let { onClose: o, dialogHeaderId: s } = u(Kv), [c] = $(), d = H`
23863
24328
  padding: ${c.padding.p32} ${c.padding.p32} 0 ${c.padding.p32};
23864
24329
  `, f = H`
23865
24330
  height: ${c.height.h32};
23866
24331
  display: flex;
23867
24332
  justify-content: flex-end;
23868
24333
  align-items: start;
23869
- `, p = V(Ov, d, a), m = l((e) => {
24334
+ `, p = V(zv, d, a), m = l((e) => {
23870
24335
  o && (n && e.stopPropagation(), o(e));
23871
24336
  }, [n, o]);
23872
24337
  return /* @__PURE__ */ b("header", {
@@ -23894,8 +24359,8 @@ var Ov = "ucl-uikit-dialog__header", kv = ({ decoration: e, headingProps: t, clo
23894
24359
  })
23895
24360
  ]
23896
24361
  });
23897
- }, Av = "ucl-uikit-dialog__body", jv = s(({ children: e, testId: t = Av, className: n }) => {
23898
- let [r] = $(), { dialogBodyId: i } = u(Fv), a = V(Av, H`
24362
+ }, Vv = "ucl-uikit-dialog__body", Hv = s(({ children: e, testId: t = Vv, className: n }) => {
24363
+ let [r] = $(), { dialogBodyId: i } = u(Kv), a = V(Vv, H`
23899
24364
  margin: ${r.padding.p24} ${r.padding.p32};
23900
24365
  `, n);
23901
24366
  return /* @__PURE__ */ y("div", {
@@ -23905,8 +24370,8 @@ var Ov = "ucl-uikit-dialog__header", kv = ({ decoration: e, headingProps: t, clo
23905
24370
  role: "document",
23906
24371
  children: e
23907
24372
  });
23908
- }), Mv = "ucl-uikit-dialog__footer", Nv = ({ primaryButton: e, secondaryButton: t, primaryButtonProps: n, secondaryButtonProps: r, testId: i, className: a, ...o }) => {
23909
- let s = !(!e || t), c = !(e || !t), l = !!(e && t), { onAction: d, onSecondaryAction: f } = u(Fv), [p] = $(), m = H`
24373
+ }), Uv = "ucl-uikit-dialog__footer", Wv = ({ primaryButton: e, secondaryButton: t, primaryButtonProps: n, secondaryButtonProps: r, testId: i, className: a, ...o }) => {
24374
+ let s = !(!e || t), c = !(e || !t), l = !!(e && t), { onAction: d, onSecondaryAction: f } = u(Kv), [p] = $(), m = H`
23910
24375
  display: flex;
23911
24376
  align-items: center;
23912
24377
  margin: ${p.margin.m24} ${p.margin.m32} ${p.margin.m32};
@@ -23916,7 +24381,7 @@ var Ov = "ucl-uikit-dialog__header", kv = ({ decoration: e, headingProps: t, clo
23916
24381
  justify-content: flex-start;
23917
24382
  `, _ = H`
23918
24383
  justify-content: space-between;
23919
- `, v = V(Mv, m, s && h, c && g, l && _, a);
24384
+ `, v = V(Uv, m, s && h, c && g, l && _, a);
23920
24385
  return /* @__PURE__ */ b("footer", {
23921
24386
  className: v,
23922
24387
  "aria-label": "Dialog actions",
@@ -23934,19 +24399,19 @@ var Ov = "ucl-uikit-dialog__header", kv = ({ decoration: e, headingProps: t, clo
23934
24399
  children: e
23935
24400
  })]
23936
24401
  });
23937
- }, Pv = "ucl-uikit-dialog", Fv = i({}), Iv = a(function({ onClose: e, onAction: t, onSecondaryAction: n, testId: r = Pv, className: i, children: a, ...o }, s) {
24402
+ }, Gv = "ucl-uikit-dialog", Kv = i({}), qv = a(function({ onClose: e, onAction: t, onSecondaryAction: n, testId: r = Gv, className: i, children: a, ...o }, s) {
23938
24403
  let [c] = $(), l = {
23939
24404
  dialogHeaderId: f(),
23940
24405
  dialogBodyId: f(),
23941
24406
  onClose: e,
23942
24407
  onAction: t,
23943
24408
  onSecondaryAction: n
23944
- }, u = V(Pv, H`
24409
+ }, u = V(Gv, H`
23945
24410
  box-shadow: ${c.boxShadow.x2y4};
23946
24411
  `, i);
23947
- return /* @__PURE__ */ y(Fv, {
24412
+ return /* @__PURE__ */ y(Kv, {
23948
24413
  value: l,
23949
- children: /* @__PURE__ */ y(zv, {
24414
+ children: /* @__PURE__ */ y(Xv, {
23950
24415
  ref: s,
23951
24416
  onClose: e,
23952
24417
  testId: r,
@@ -23957,17 +24422,17 @@ var Ov = "ucl-uikit-dialog__header", kv = ({ decoration: e, headingProps: t, clo
23957
24422
  })
23958
24423
  });
23959
24424
  });
23960
- Iv.Header = kv, Iv.Body = jv, Iv.Footer = Nv;
24425
+ qv.Header = Bv, qv.Body = Hv, qv.Footer = Wv;
23961
24426
  // lib/components/Dialog/BaseDialog.tsx
23962
- var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "medium", fullScreenOnMobile: n = !0, modal: r = !0, closeOnClickOutside: i = !0, closeOnClickOutsideStopPropagation: a = !0, nonModalCloseOnEscape: o = !1, onClose: s, className: c, children: f, initialFocusRef: p, finalFocusRef: m, disableFocusTrap: h = !1, restoreFocus: _ = !0, skipCloseOnInitialFocus: v = !1, testId: b = Lv, ...x }, S) {
24427
+ var Jv = "ucl-uikit-base-dialog", Yv = a(function({ open: e = !1, size: t = "medium", fullScreenOnMobile: n = !0, modal: r = !0, closeOnClickOutside: i = !0, closeOnClickOutsideStopPropagation: a = !0, nonModalCloseOnEscape: o = !1, onClose: s, className: c, children: f, initialFocusRef: p, finalFocusRef: m, disableFocusTrap: h = !1, restoreFocus: _ = !0, skipCloseOnInitialFocus: v = !1, testId: b = Jv, ...x }, S) {
23963
24428
  let C = {
23964
24429
  small: 495,
23965
24430
  medium: 495,
23966
24431
  large: 740
23967
24432
  }[t], [w] = $(), { md: T } = w.typography.body, E = g(null), D = g(null), O = l((e) => {
23968
24433
  E.current = e, typeof S == "function" ? S(e) : S && (S.current = e);
23969
- }, [S]), k = u(Fv), A = k?.dialogHeaderId, j = k?.dialogBodyId;
23970
- nv({
24434
+ }, [S]), k = u(Kv), A = k?.dialogHeaderId, j = k?.dialogBodyId;
24435
+ pv({
23971
24436
  isActive: e && r && !h,
23972
24437
  containerRef: E,
23973
24438
  initialFocusRef: p,
@@ -24050,7 +24515,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24050
24515
  max-height: none;
24051
24516
  }
24052
24517
  }
24053
- `, L = V(Lv, F, n && I, c);
24518
+ `, L = V(Jv, F, n && I, c);
24054
24519
  return e ? /* @__PURE__ */ y("dialog", {
24055
24520
  ref: O,
24056
24521
  className: L,
@@ -24063,7 +24528,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24063
24528
  ...x,
24064
24529
  children: f
24065
24530
  }) : null;
24066
- }), zv = s(Rv), Bv = "ucl-uikit-dialog--feedback", Vv = ({ type: e, heading: t, buttonLabel: n, buttonVariant: r = "primary", buttonProps: i, testId: a = Bv, className: o, children: s, ...c }) => {
24531
+ }), Xv = s(Yv), Zv = "ucl-uikit-dialog--feedback", Qv = ({ type: e, heading: t, buttonLabel: n, buttonVariant: r = "primary", buttonProps: i, testId: a = Zv, className: o, children: s, ...c }) => {
24067
24532
  let l = typeof s == "string", [u] = $(), { colour: { icon: d } } = u, f = V(H`
24068
24533
  display: block;
24069
24534
  margin-top: ${u.margin.m32};
@@ -24089,7 +24554,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24089
24554
  size: 72,
24090
24555
  className: f
24091
24556
  })
24092
- }[e], m = V(Bv, H``, o), h = H`
24557
+ }[e], m = V(Zv, H``, o), h = H`
24093
24558
  text-align: center;
24094
24559
  `, g = H`
24095
24560
  text-align: center;
@@ -24099,12 +24564,12 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24099
24564
  margin-bottom: ${u.margin.m48};
24100
24565
  justify-content: center;
24101
24566
  `;
24102
- return /* @__PURE__ */ b(Iv, {
24567
+ return /* @__PURE__ */ b(qv, {
24103
24568
  testId: a,
24104
24569
  className: m,
24105
24570
  ...c,
24106
24571
  children: [
24107
- /* @__PURE__ */ y(Iv.Header, {
24572
+ /* @__PURE__ */ y(qv.Header, {
24108
24573
  decoration: p,
24109
24574
  headingProps: { className: h },
24110
24575
  children: t
@@ -24113,7 +24578,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24113
24578
  className: g,
24114
24579
  children: s
24115
24580
  }),
24116
- /* @__PURE__ */ y(Iv.Footer, {
24581
+ /* @__PURE__ */ y(qv.Footer, {
24117
24582
  className: _,
24118
24583
  primaryButton: n,
24119
24584
  primaryButtonProps: {
@@ -24123,7 +24588,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24123
24588
  })
24124
24589
  ]
24125
24590
  });
24126
- }, Hv = "ucl-uikit-error-dialog", Uv = ({ heading: e, errorCode: t, referenceCode: n, details: r = [], primaryButton: i = "Close", secondaryButton: a, primaryButtonProps: o, secondaryButtonProps: s, closeButtonProps: c, closeButtonAriaLabel: u = "Close error dialog", footerDivider: d = !1, onAction: p, onSecondaryAction: m, onClose: h, size: g = "medium", modal: _ = !0, role: v = "alertdialog", testId: x = Hv, className: S, children: C, ...w }) => {
24591
+ }, $v = "ucl-uikit-error-dialog", ey = ({ heading: e, errorCode: t, referenceCode: n, details: r = [], primaryButton: i = "Close", secondaryButton: a, primaryButtonProps: o, secondaryButtonProps: s, closeButtonProps: c, closeButtonAriaLabel: u = "Close error dialog", footerDivider: d = !1, onAction: p, onSecondaryAction: m, onClose: h, size: g = "medium", modal: _ = !0, role: v = "alertdialog", testId: x = $v, className: S, children: C, ...w }) => {
24127
24592
  let [T] = $(), E = f(), D = f(), O = C != null, k = t != null, A = n != null, j = k || A, M = r.length > 0, N = i != null, P = a != null, F = N || P, I = l((e) => {
24128
24593
  c?.onClick?.(e), e.defaultPrevented || h?.(e);
24129
24594
  }, [c, h]), L = l((e) => {
@@ -24138,7 +24603,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24138
24603
  h,
24139
24604
  m,
24140
24605
  s
24141
- ]), ee = V(Hv, H`
24606
+ ]), ee = V($v, H`
24142
24607
  box-shadow: ${T.boxShadow.x2y4};
24143
24608
  border-top: ${T.padding.p4} solid ${T.colour.border.critical};
24144
24609
  display: flex;
@@ -24154,20 +24619,20 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24154
24619
  @media (min-width: ${T.breakpoints.tablet}px) {
24155
24620
  padding: ${T.padding.p32} ${T.padding.p32} 0;
24156
24621
  }
24157
- `, ne = V(`${Hv}__header`, te), re = H`
24622
+ `, ne = V(`${$v}__header`, te), re = H`
24158
24623
  flex: 1 1 auto;
24159
24624
  min-width: 0;
24160
24625
  display: flex;
24161
24626
  flex-direction: column;
24162
24627
  align-items: flex-start;
24163
24628
  gap: ${T.padding.p16};
24164
- `, ie = V(`${Hv}__header-content`, re), ae = H`
24629
+ `, ie = V(`${$v}__header-content`, re), ae = H`
24165
24630
  flex: 0 0 auto;
24166
24631
  color: ${T.colour.icon.secondary};
24167
- `, oe = V(`${Hv}__close-button`, ae, c?.className), se = H`
24632
+ `, oe = V(`${$v}__close-button`, ae, c?.className), se = H`
24168
24633
  color: ${T.colour.icon.critical};
24169
24634
  flex: 0 0 auto;
24170
- `, ce = V(`${Hv}__icon`, se), le = H`
24635
+ `, ce = V(`${$v}__icon`, se), le = H`
24171
24636
  flex: 1 1 auto;
24172
24637
  min-height: 0;
24173
24638
  overflow-y: auto;
@@ -24176,27 +24641,27 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24176
24641
  @media (min-width: ${T.breakpoints.tablet}px) {
24177
24642
  padding: ${T.padding.p16} ${T.padding.p32};
24178
24643
  }
24179
- `, z = V(`${Hv}__body`, le), ue = H`
24644
+ `, z = V(`${$v}__body`, le), ue = H`
24180
24645
  display: flex;
24181
24646
  flex-direction: column;
24182
24647
  gap: ${T.padding.p8};
24183
- `, B = V(`${Hv}__body-content`, ue), de = H`
24648
+ `, B = V(`${$v}__body-content`, ue), de = H`
24184
24649
  display: flex;
24185
24650
  flex-direction: column;
24186
24651
  gap: ${T.padding.p8};
24187
24652
  margin-top: ${T.margin.m16};
24188
- `, fe = V(`${Hv}__details`, de), pe = H`
24653
+ `, fe = V(`${$v}__details`, de), pe = H`
24189
24654
  width: 100%;
24190
24655
  max-width: none;
24191
- `, me = V(`${Hv}__detail`, pe), he = H`
24656
+ `, me = V(`${$v}__detail`, pe), he = H`
24192
24657
  white-space: pre-line;
24193
- `, ge = V(`${Hv}__detail-value`, he), _e = H`
24658
+ `, ge = V(`${$v}__detail-value`, he), _e = H`
24194
24659
  color: ${T.colour.text.default};
24195
24660
  opacity: 0.9;
24196
- `, ve = V(`${Hv}__error-code`, _e), ye = H`
24661
+ `, ve = V(`${$v}__error-code`, _e), ye = H`
24197
24662
  color: ${T.colour.text.default};
24198
24663
  opacity: 0.9;
24199
- `, be = V(`${Hv}__reference-code`, ye), xe = H`
24664
+ `, be = V(`${$v}__reference-code`, ye), xe = H`
24200
24665
  flex: 0 0 auto;
24201
24666
  display: flex;
24202
24667
  flex-direction: column-reverse;
@@ -24211,11 +24676,11 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24211
24676
  }
24212
24677
  `, Se = H`
24213
24678
  border-top: ${T.border.b1} solid ${T.colour.border.default};
24214
- `, Ce = V(`${Hv}__footer`, xe, d && Se), we = H`
24679
+ `, Ce = V(`${$v}__footer`, xe, d && Se), we = H`
24215
24680
  display: flex;
24216
24681
  flex-direction: column;
24217
24682
  gap: ${T.padding.p4};
24218
- `, Te = V(`${Hv}__footer-metadata`, we), Ee = H`
24683
+ `, Te = V(`${$v}__footer-metadata`, we), Ee = H`
24219
24684
  display: flex;
24220
24685
  flex-direction: column-reverse;
24221
24686
  gap: ${T.padding.p12};
@@ -24225,14 +24690,14 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24225
24690
  justify-content: flex-end;
24226
24691
  align-items: center;
24227
24692
  }
24228
- `, De = V(`${Hv}__footer-actions`, Ee), Oe = H`
24693
+ `, De = V(`${$v}__footer-actions`, Ee), Oe = H`
24229
24694
  width: 100%;
24230
24695
 
24231
24696
  @media (min-width: ${T.breakpoints.tablet}px) {
24232
24697
  width: auto;
24233
24698
  }
24234
- `, ke = V(`${Hv}__primary-button`, Oe, o?.className), Ae = V(`${Hv}__secondary-button`, Oe, s?.className);
24235
- return /* @__PURE__ */ b(zv, {
24699
+ `, ke = V(`${$v}__primary-button`, Oe, o?.className), Ae = V(`${$v}__secondary-button`, Oe, s?.className);
24700
+ return /* @__PURE__ */ b(Xv, {
24236
24701
  size: g,
24237
24702
  modal: _,
24238
24703
  role: v,
@@ -24284,9 +24749,9 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24284
24749
  children: C
24285
24750
  }), M && /* @__PURE__ */ y("div", {
24286
24751
  className: fe,
24287
- children: r.map(({ label: e, value: t }, n) => /* @__PURE__ */ b(U_, {
24752
+ children: r.map(({ label: e, value: t }, n) => /* @__PURE__ */ b(ev, {
24288
24753
  className: me,
24289
- children: [/* @__PURE__ */ y(U_.Heading, { children: e }), /* @__PURE__ */ y(U_.Panel, { children: /* @__PURE__ */ y("span", {
24754
+ children: [/* @__PURE__ */ y(ev.Heading, { children: e }), /* @__PURE__ */ y(ev.Panel, { children: /* @__PURE__ */ y("span", {
24290
24755
  className: ge,
24291
24756
  children: t
24292
24757
  }) })]
@@ -24327,7 +24792,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24327
24792
  })
24328
24793
  ]
24329
24794
  });
24330
- }, Wv = "ucl-uikit-radio", Gv = a(({ checked: e, defaultChecked: t, disabled: n, testId: r = Wv, className: i, ...a }, o) => {
24795
+ }, ty = "ucl-uikit-radio", ny = a(({ checked: e, defaultChecked: t, disabled: n, testId: r = ty, className: i, ...a }, o) => {
24331
24796
  let [s] = $(), c = e !== void 0, [l, u] = _(t ?? !1), d = c ? e : l, f = (e) => {
24332
24797
  c || u(e.target.checked), a.onChange?.(e);
24333
24798
  }, p = H`
@@ -24365,7 +24830,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24365
24830
  background-color: ${s.colour.icon.disabled};
24366
24831
  border-color: ${s.colour.icon.disabled};
24367
24832
  cursor: not-allowed;
24368
- `, S = V(Wv, p, Ac(a, s), !n && m, d && h, !d && g, n && !d && v, n && d && x, i), C = H`
24833
+ `, S = V(ty, p, Ac(a, s), !n && m, d && h, !d && g, n && !d && v, n && d && x, i), C = H`
24369
24834
  cursor: inherit;
24370
24835
  position: absolute;
24371
24836
  opacity: 0;
@@ -24401,7 +24866,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24401
24866
  ...c ? { checked: e } : { defaultChecked: t }
24402
24867
  }), d && /* @__PURE__ */ y("div", { className: w })]
24403
24868
  });
24404
- }), Kv = s(Gv), qv = "ucl-uikit-labelled-radio", Jv = a(({ id: e, labelProps: t, testId: n = qv, m: r, mv: i, mh: a, mt: o, mb: s, ml: c, mr: l, noMargins: u, className: d, children: p, ...m }, h) => {
24869
+ }), ry = s(ny), iy = "ucl-uikit-labelled-radio", ay = a(({ id: e, labelProps: t, testId: n = iy, m: r, mv: i, mh: a, mt: o, mb: s, ml: c, mr: l, noMargins: u, className: d, children: p, ...m }, h) => {
24405
24870
  let [g] = $(), _ = f();
24406
24871
  e ??= _;
24407
24872
  let v = H`
@@ -24415,7 +24880,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24415
24880
  &:focus-within {
24416
24881
  box-shadow: ${g.boxShadow.focus};
24417
24882
  }
24418
- `, S = V(qv, v, !m.disabled && x, Ac({
24883
+ `, S = V(iy, v, !m.disabled && x, Ac({
24419
24884
  m: r,
24420
24885
  mv: i,
24421
24886
  mh: a,
@@ -24432,7 +24897,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24432
24897
  return /* @__PURE__ */ b("div", {
24433
24898
  className: S,
24434
24899
  "data-testid": n,
24435
- children: [/* @__PURE__ */ y(Kv, {
24900
+ children: [/* @__PURE__ */ y(ry, {
24436
24901
  ref: h,
24437
24902
  className: C,
24438
24903
  id: e,
@@ -24445,12 +24910,12 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24445
24910
  children: p
24446
24911
  })]
24447
24912
  });
24448
- }), Yv = s(Jv), Xv = (e, t, n) => {
24913
+ }), oy = s(ay), sy = (e, t, n) => {
24449
24914
  let r = (e) => (e.setHours(0, 0, 0, 0), e), i = /^(\d{1,2})[-/ ](\d{1,2})[-/ ](\d{4})$/.exec(e.trim());
24450
24915
  if (!i) return null;
24451
24916
  let a = Number(i[1]), o = Number(i[2]), s = Number(i[3]), c = new Date(s, o - 1, a);
24452
24917
  return Number.isNaN(c.getTime()) || c.getDate() !== a || c.getMonth() !== o - 1 || c.getFullYear() !== s ? null : t && c < r(new Date(t)) ? (console.warn(`Parsed date ${c} is before the minimum date ${t}`), null) : n && c > r(new Date(n)) ? (console.warn(`Parsed date ${c} is after the maximum date ${n}`), null) : c;
24453
- }, Zv = "ucl-uikit-datepicker", Qv = ({ value: e = null, onValueChange: t = () => {}, minDate: n, maxDate: r, minYear: i, maxYear: a, pickedMonth: o = null, disabled: s = !1, clearable: c = !1, events: u, statuses: f, showAcademicWeeks: p, academicWeeks: m = [], testId: h = Zv, className: v, ref: x, inputRef: S, inputProps: C = {}, ...w }) => {
24918
+ }, cy = "ucl-uikit-datepicker", ly = ({ value: e = null, onValueChange: t = () => {}, minDate: n, maxDate: r, minYear: i, maxYear: a, pickedMonth: o = null, disabled: s = !1, clearable: c = !1, events: u, statuses: f, showAcademicWeeks: p, academicWeeks: m = [], testId: h = cy, className: v, ref: x, inputRef: S, inputProps: C = {}, ...w }) => {
24454
24919
  e && isNaN(e.getTime()) && (console.warn("CustomDatepicker: value is invalid, defaulting to null"), e = null);
24455
24920
  let T = g(null), E = x || T, D = g(null), O = S || D, k = g(!1), [A] = $(), [j, M] = _(!1), N = parseFloat(A.margin.m32), P = e?.getDate().toString().padStart(2, "0") ?? "", F = e ? (e.getMonth() + 1).toString().padStart(2, "0") : "", I = e?.getFullYear().toString() ?? "", L = e ? `${P}/${F}/${I}` : "", [R, ee] = _(L), te = l(() => {
24456
24921
  ee(L);
@@ -24463,8 +24928,8 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24463
24928
  let ne = (e) => {
24464
24929
  ee(e.target.value);
24465
24930
  }, re = (e) => {
24466
- let i = Xv(R, n, r);
24467
- i ? (Q_("Selected date " + i.toLocaleDateString("en-GB", {
24931
+ let i = sy(R, n, r);
24932
+ i ? (lv("Selected date " + i.toLocaleDateString("en-GB", {
24468
24933
  weekday: "long",
24469
24934
  day: "numeric",
24470
24935
  month: "long",
@@ -24499,7 +24964,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24499
24964
  s && j && M(!1);
24500
24965
  }, [s, j]);
24501
24966
  let ae = (e, n) => {
24502
- t && (Q_("Selected date " + e?.toLocaleDateString("en-GB", {
24967
+ t && (lv("Selected date " + e?.toLocaleDateString("en-GB", {
24503
24968
  weekday: "long",
24504
24969
  day: "numeric",
24505
24970
  month: "long",
@@ -24511,7 +24976,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24511
24976
  s || M((e) => !e);
24512
24977
  }, ce = (e) => {
24513
24978
  e.stopPropagation(), k.current = !0, t(null, e);
24514
- }, le = V(Zv, H`
24979
+ }, le = V(cy, H`
24515
24980
  width: 196px;
24516
24981
  height: 48px;
24517
24982
  box-sizing: border-box;
@@ -24522,7 +24987,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24522
24987
  "data-testid": h,
24523
24988
  ref: E,
24524
24989
  ...w,
24525
- children: [/* @__PURE__ */ y(ey, {
24990
+ children: [/* @__PURE__ */ y(dy, {
24526
24991
  inputValue: R,
24527
24992
  onInputChange: ne,
24528
24993
  onInputKeyDown: ie,
@@ -24545,7 +25010,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24545
25010
  crossAxis: !0
24546
25011
  },
24547
25012
  offset: 8,
24548
- children: /* @__PURE__ */ y(iy, { children: /* @__PURE__ */ y(Ry, {
25013
+ children: /* @__PURE__ */ y(hy, { children: /* @__PURE__ */ y(Yy, {
24549
25014
  pickedDate: e,
24550
25015
  pickedMonth: o,
24551
25016
  onDatePick: ae,
@@ -24560,7 +25025,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24560
25025
  }) })
24561
25026
  })]
24562
25027
  });
24563
- }, $v = "ucl-uikit-datepicker__visible-field", ey = ({ inputValue: e, onInputChange: t, onInputKeyDown: n, onInputFocus: r, onButtonClick: i, onClear: a, disabled: o, clearable: s = !1, hasValue: c = !1, inputRef: l, inputProps: u }) => {
25028
+ }, uy = "ucl-uikit-datepicker__visible-field", dy = ({ inputValue: e, onInputChange: t, onInputKeyDown: n, onInputFocus: r, onButtonClick: i, onClear: a, disabled: o, clearable: s = !1, hasValue: c = !1, inputRef: l, inputProps: u }) => {
24564
25029
  let [d] = $(), f = H`
24565
25030
  display: flex;
24566
25031
  align-items: center;
@@ -24603,11 +25068,11 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24603
25068
  `, h = H`
24604
25069
  min-width: 24px;
24605
25070
  color: ${o ? d.colour.icon.disabled : d.colour.icon.secondary};
24606
- `, g = s && c && !o, _ = V($v, f, o && p);
25071
+ `, g = s && c && !o, _ = V(uy, f, o && p);
24607
25072
  return /* @__PURE__ */ b("div", {
24608
25073
  className: _,
24609
- "data-testid": $v,
24610
- children: [/* @__PURE__ */ y(ny, {
25074
+ "data-testid": uy,
25075
+ children: [/* @__PURE__ */ y(py, {
24611
25076
  value: e,
24612
25077
  onChange: t,
24613
25078
  onKeyDown: n,
@@ -24620,20 +25085,20 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24620
25085
  onClick: a,
24621
25086
  className: m,
24622
25087
  "aria-label": "Clear date",
24623
- "data-testid": `${$v}-icon-button`,
25088
+ "data-testid": `${uy}-icon-button`,
24624
25089
  children: /* @__PURE__ */ y(U.X, { className: h })
24625
25090
  }) : /* @__PURE__ */ y(Qc, {
24626
25091
  type: "button",
24627
25092
  onClick: i,
24628
25093
  className: m,
24629
25094
  "aria-label": "Open calendar",
24630
- "data-testid": `${$v}-icon-button`,
25095
+ "data-testid": `${uy}-icon-button`,
24631
25096
  tabIndex: -1,
24632
25097
  disabled: o,
24633
25098
  children: /* @__PURE__ */ y(U.Calendar, { className: h })
24634
25099
  })]
24635
25100
  });
24636
- }, ty = "ucl-uikit-datepicker__input", ny = ({ disabled: e, placeholder: t = "DD/MM/YYYY", inputMode: n = "numeric", testId: r = ty, className: i, ...a }) => {
25101
+ }, fy = "ucl-uikit-datepicker__input", py = ({ disabled: e, placeholder: t = "DD/MM/YYYY", inputMode: n = "numeric", testId: r = fy, className: i, ...a }) => {
24637
25102
  let [o] = $(), { md: s } = o.typography.body, c = H`
24638
25103
  width: 100%;
24639
25104
  height: 100%;
@@ -24663,7 +25128,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24663
25128
  &::placeholder {
24664
25129
  color: ${o.colour.text.disabled};
24665
25130
  }
24666
- `, u = V(ty, c, e && l, i);
25131
+ `, u = V(fy, c, e && l, i);
24667
25132
  return /* @__PURE__ */ y("input", {
24668
25133
  placeholder: t,
24669
25134
  inputMode: n,
@@ -24673,11 +25138,11 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24673
25138
  disabled: e,
24674
25139
  type: "text"
24675
25140
  });
24676
- }, ry = "ucl-uikit-datepicker__panel", iy = ({ children: e }) => /* @__PURE__ */ y("div", {
24677
- "data-testid": ry,
24678
- className: ry,
25141
+ }, my = "ucl-uikit-datepicker__panel", hy = ({ children: e }) => /* @__PURE__ */ y("div", {
25142
+ "data-testid": my,
25143
+ className: my,
24679
25144
  children: e
24680
- }), ay = ({ value: e, onValueChange: t, minDate: n, maxDate: r, minYear: i, maxYear: a, disabled: o, className: s, clearable: c, ...l }) => /* @__PURE__ */ y(Qv, {
25145
+ }), gy = ({ value: e, onValueChange: t, minDate: n, maxDate: r, minYear: i, maxYear: a, disabled: o, className: s, clearable: c, ...l }) => /* @__PURE__ */ y(ly, {
24681
25146
  value: e,
24682
25147
  onValueChange: t,
24683
25148
  minDate: n,
@@ -24688,7 +25153,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24688
25153
  disabled: o,
24689
25154
  clearable: c,
24690
25155
  ...l
24691
- }), oy = (e) => e ? e.toLocaleDateString("sv-SE") : null, sy = "ucl-uikit-native-datepicker", cy = ({ value: e, onValueChange: t, minDate: n, maxDate: r, className: i, disabled: a, testId: o = sy, ref: s, ...c }) => {
25156
+ }), _y = (e) => e ? e.toLocaleDateString("sv-SE") : null, vy = "ucl-uikit-native-datepicker", yy = ({ value: e, onValueChange: t, minDate: n, maxDate: r, className: i, disabled: a, testId: o = vy, ref: s, ...c }) => {
24692
25157
  let [l] = $(), { md: u } = l.typography.body, d = H`
24693
25158
  width: 196px;
24694
25159
  height: 48px;
@@ -24718,10 +25183,10 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24718
25183
  background-color: ${l.colour.fill.inverse};
24719
25184
  border-color: ${l.colour.border.disabled};
24720
25185
  cursor: not-allowed;
24721
- `, p = V(sy, d, a && f, i);
25186
+ `, p = V(vy, d, a && f, i);
24722
25187
  return /* @__PURE__ */ y("input", {
24723
25188
  type: "date",
24724
- value: oy(e) ?? "",
25189
+ value: _y(e) ?? "",
24725
25190
  onChange: (e) => {
24726
25191
  let n = e.target.value;
24727
25192
  t?.(n ? new Date(n) : null, e);
@@ -24734,7 +25199,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24734
25199
  ref: s,
24735
25200
  ...c
24736
25201
  });
24737
- }, ly = ({ label: e, value: t, options: n, onValueChange: r }) => {
25202
+ }, by = ({ label: e, value: t, options: n, onValueChange: r }) => {
24738
25203
  let [i] = $(), { md: a, mdSemibold: o } = i.typography.body, s = H`
24739
25204
  && {
24740
25205
  width: auto;
@@ -24788,25 +25253,25 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24788
25253
  value: t,
24789
25254
  onValueChange: r
24790
25255
  });
24791
- }, uy = (e) => {
25256
+ }, xy = (e) => {
24792
25257
  if (!e) return null;
24793
25258
  let t = new Date(e);
24794
25259
  return t.setDate(1), t.setHours(0, 0, 0, 0), t;
24795
- }, dy = (e) => {
25260
+ }, Sy = (e) => {
24796
25261
  let t = new Date(e);
24797
25262
  return isNaN(t.getTime()) ? (console.warn(`Calendar: Invalid date string provided: "${e}". Expected format is ISO 8601 (YYYY-MM-DD)`), null) : t;
24798
- }, fy = (e) => {
25263
+ }, Cy = (e) => {
24799
25264
  let t = new Date(e), n = (t.getDay() + 6) % 7;
24800
25265
  return t.setDate(t.getDate() - n), t.setHours(0, 0, 0, 0), t;
24801
- }, py = (e, t) => {
25266
+ }, wy = (e, t) => {
24802
25267
  if (!e || e.length === 0) return console.warn("Datepicker: No academic weeks provided"), [];
24803
25268
  if (!t || !(t instanceof Date) || Number.isNaN(t.getTime())) return console.warn("Datepicker: Invalid target date provided"), [];
24804
- let n = t.getFullYear(), r = t.getMonth(), i = fy(new Date(n, r, 1)), a = [];
25269
+ let n = t.getFullYear(), r = t.getMonth(), i = Cy(new Date(n, r, 1)), a = [];
24805
25270
  a.push(i);
24806
25271
  let o = new Date(i);
24807
25272
  for (o.setDate(i.getDate() + 7); o.getMonth() === r;) a.push(new Date(o)), o.setDate(o.getDate() + 7);
24808
25273
  return a.map((t) => e.find((e) => new Date(e.start).toDateString() === t.toDateString())?.number);
24809
- }, my = (e) => {
25274
+ }, Ty = (e) => {
24810
25275
  if (!e || !(e instanceof Date)) throw Error("No date provided");
24811
25276
  let t = e.getMonth(), n = new Date(e.getFullYear(), t + 1, 0).getDate(), r = [];
24812
25277
  for (let i = 1; i <= n; i++) {
@@ -24819,7 +25284,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24819
25284
  let l = [], u = new Date(e.getFullYear(), t + 1, 1), d = 6 - i(new Date(e.getFullYear(), t, n).getDay());
24820
25285
  for (let e = 1; e <= d; e++) l.push(new Date(u.getFullYear(), u.getMonth(), e));
24821
25286
  return r.unshift(...a), r.push(...l), r;
24822
- }, hy = [
25287
+ }, Ey = [
24823
25288
  "January",
24824
25289
  "February",
24825
25290
  "March",
@@ -24832,11 +25297,11 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24832
25297
  "October",
24833
25298
  "November",
24834
25299
  "December"
24835
- ], gy = () => hy.map((e, t) => ({
25300
+ ], Dy = () => Ey.map((e, t) => ({
24836
25301
  name: e,
24837
25302
  index: t
24838
- })), _y = "ucl-uikit-calendar__controls", vy = ({ month: e, changeMonth: t, onMonthSelect: n, onYearSelect: r, minYear: i, maxYear: a }) => {
24839
- let [o] = $(), s = e ?? /* @__PURE__ */ new Date(), c = s.getMonth(), l = s.getFullYear(), u = gy().map(({ name: e, index: t }) => ({
25303
+ })), Oy = "ucl-uikit-calendar__controls", ky = ({ month: e, changeMonth: t, onMonthSelect: n, onYearSelect: r, minYear: i, maxYear: a }) => {
25304
+ let [o] = $(), s = e ?? /* @__PURE__ */ new Date(), c = s.getMonth(), l = s.getFullYear(), u = Dy().map(({ name: e, index: t }) => ({
24840
25305
  label: e,
24841
25306
  value: t
24842
25307
  })), d = i, f = a, p = Array.from({ length: Math.max(1, f - d + 1) }, (e, t) => {
@@ -24862,10 +25327,10 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24862
25327
  width: 20px;
24863
25328
  height: 20px;
24864
25329
  color: ${o.colour.icon.default};
24865
- `, _ = V(_y, m);
25330
+ `, _ = V(Oy, m);
24866
25331
  return /* @__PURE__ */ b("div", {
24867
25332
  className: _,
24868
- "data-testid": _y,
25333
+ "data-testid": Oy,
24869
25334
  children: [/* @__PURE__ */ b("div", {
24870
25335
  className: h,
24871
25336
  children: [/* @__PURE__ */ y(Qc, {
@@ -24874,7 +25339,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24874
25339
  "aria-label": "Show previous month",
24875
25340
  onClick: () => t(-1),
24876
25341
  children: /* @__PURE__ */ y(U.ChevronLeft, { size: 20 })
24877
- }), /* @__PURE__ */ y(ly, {
25342
+ }), /* @__PURE__ */ y(by, {
24878
25343
  label: "Month",
24879
25344
  options: u,
24880
25345
  value: c,
@@ -24882,7 +25347,7 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24882
25347
  })]
24883
25348
  }), /* @__PURE__ */ b("div", {
24884
25349
  className: h,
24885
- children: [/* @__PURE__ */ y(ly, {
25350
+ children: [/* @__PURE__ */ y(by, {
24886
25351
  label: "Year",
24887
25352
  options: p,
24888
25353
  value: l,
@@ -24896,8 +25361,8 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24896
25361
  })]
24897
25362
  })]
24898
25363
  });
24899
- }, yy = "ucl-uikit-calendar__academic-weeks", by = ({ date: e, weeks: t }) => {
24900
- let [n] = $(), r = py(t, e), i = V(yy, H`
25364
+ }, Ay = "ucl-uikit-calendar__academic-weeks", jy = ({ date: e, weeks: t }) => {
25365
+ let [n] = $(), r = wy(t, e), i = V(Ay, H`
24901
25366
  display: flex;
24902
25367
  flex-direction: column;
24903
25368
  padding-top: 32px;
@@ -24906,12 +25371,12 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24906
25371
  user-select: none;
24907
25372
  `);
24908
25373
  return /* @__PURE__ */ y("div", {
24909
- "data-testid": yy,
25374
+ "data-testid": Ay,
24910
25375
  className: i,
24911
- children: r.map((e) => /* @__PURE__ */ y(Sy, { weekNumber: e }, e))
25376
+ children: r.map((e) => /* @__PURE__ */ y(Ny, { weekNumber: e }, e))
24912
25377
  });
24913
- }, xy = "ucl-uikit-calendar__academic-week", Sy = ({ weekNumber: e }) => {
24914
- let [t] = $(), n = V(xy, H`
25378
+ }, My = "ucl-uikit-calendar__academic-week", Ny = ({ weekNumber: e }) => {
25379
+ let [t] = $(), n = V(My, H`
24915
25380
  display: flex;
24916
25381
  align-items: center;
24917
25382
  justify-content: center;
@@ -24923,26 +25388,26 @@ var Lv = "ucl-uikit-base-dialog", Rv = a(function({ open: e = !1, size: t = "med
24923
25388
  as: "div",
24924
25389
  level: "sm",
24925
25390
  noMargins: !0,
24926
- testId: xy,
25391
+ testId: My,
24927
25392
  className: n,
24928
25393
  children: e && "W " + e.toString().padStart(2, "0")
24929
25394
  });
24930
- }, Cy = "ucl-uikit-calendar__grid";
24931
- function wy(e) {
25395
+ }, Py = "ucl-uikit-calendar__grid";
25396
+ function Fy(e) {
24932
25397
  let [t, n, r] = e.split("-").map(Number);
24933
25398
  return new Date(t, n - 1, r);
24934
25399
  }
24935
- function Ty(e) {
25400
+ function Iy(e) {
24936
25401
  return e.toISOString().split("T")[0];
24937
25402
  }
24938
- function Ey(e) {
25403
+ function Ly(e) {
24939
25404
  let t = /* @__PURE__ */ new Map();
24940
25405
  return e.forEach((e) => {
24941
- let n = Ty(wy(e.date));
25406
+ let n = Iy(Fy(e.date));
24942
25407
  t.has(n) || t.set(n, []), t.get(n).push(e);
24943
25408
  }), t;
24944
25409
  }
24945
- var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDate: i, events: a, statuses: o = {} }) => {
25410
+ var Ry = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDate: i, events: a, statuses: o = {} }) => {
24946
25411
  r && !isNaN(r.getTime()) && r.setHours(0, 0, 0, 0);
24947
25412
  let [s] = $(), c = [
24948
25413
  "M",
@@ -24952,7 +25417,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
24952
25417
  "F",
24953
25418
  "S",
24954
25419
  "S"
24955
- ], l = my(e), u = h(() => Ey(a), [a]), d = V(Cy, H`
25420
+ ], l = Ty(e), u = h(() => Ly(a), [a]), d = V(Py, H`
24956
25421
  display: grid;
24957
25422
  grid-template-columns: repeat(7, 1fr);
24958
25423
  gap: 0;
@@ -24963,14 +25428,14 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
24963
25428
  `);
24964
25429
  return /* @__PURE__ */ b("div", {
24965
25430
  className: d,
24966
- "data-testid": Cy,
24967
- children: [c.map((e, t) => /* @__PURE__ */ y(ky, {
25431
+ "data-testid": Py,
25432
+ children: [c.map((e, t) => /* @__PURE__ */ y(By, {
24968
25433
  index: t,
24969
25434
  day: e,
24970
25435
  isWeekend: t >= 5
24971
25436
  }, t)), l.map((a) => {
24972
- let s = Ty(a), c = u.get(s) || [];
24973
- return /* @__PURE__ */ y(jy, {
25437
+ let s = Iy(a), c = u.get(s) || [];
25438
+ return /* @__PURE__ */ y(Hy, {
24974
25439
  date: a,
24975
25440
  isSelected: t?.toDateString() === a.toDateString(),
24976
25441
  isToday: a.toDateString() === (/* @__PURE__ */ new Date()).toDateString(),
@@ -24982,8 +25447,8 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
24982
25447
  }, a.toISOString());
24983
25448
  })]
24984
25449
  });
24985
- }, Oy = "ucl-uikit-calendar__column-heading", ky = ({ index: e, day: t, isWeekend: n }) => {
24986
- let [r] = $(), i = V(Oy, H`
25450
+ }, zy = "ucl-uikit-calendar__column-heading", By = ({ index: e, day: t, isWeekend: n }) => {
25451
+ let [r] = $(), i = V(zy, H`
24987
25452
  display: flex;
24988
25453
  align-items: center;
24989
25454
  justify-content: center;
@@ -24996,10 +25461,10 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
24996
25461
  level: "md-semibold",
24997
25462
  noMargins: !0,
24998
25463
  className: i,
24999
- testId: Oy,
25464
+ testId: zy,
25000
25465
  children: t
25001
25466
  }, e);
25002
- }, Ay = "ucl-uikit-calendar__day", jy = ({ date: e, onPick: t, isSelected: n = !1, isToday: r = !1, isInCurrentMonth: i = !0, isDisabled: a = !1, events: o = [], statuses: s = {}, ariaLabel: c }) => {
25467
+ }, Vy = "ucl-uikit-calendar__day", Hy = ({ date: e, onPick: t, isSelected: n = !1, isToday: r = !1, isInCurrentMonth: i = !0, isDisabled: a = !1, events: o = [], statuses: s = {}, ariaLabel: c }) => {
25003
25468
  let [l] = $(), { md: u, mdSemibold: d } = l.typography.body, f = o.slice(0, 3), p = o.reduce((e, t) => {
25004
25469
  let n = t.status && s[t.status]?.ariaLabel || "event";
25005
25470
  return e.set(n, (e.get(n) ?? 0) + 1), e;
@@ -25067,13 +25532,13 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25067
25532
  position: absolute;
25068
25533
  bottom: 3px;
25069
25534
  width: 100%;
25070
- `, C = V(Ay, v);
25535
+ `, C = V(Vy, v);
25071
25536
  return /* @__PURE__ */ b("button", {
25072
25537
  type: "button",
25073
25538
  onClick: _,
25074
25539
  disabled: a,
25075
25540
  className: C,
25076
- "data-testid": Ay,
25541
+ "data-testid": Vy,
25077
25542
  "aria-label": g,
25078
25543
  tabIndex: -1,
25079
25544
  children: [/* @__PURE__ */ y("div", {
@@ -25081,14 +25546,14 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25081
25546
  children: e.getDate()
25082
25547
  }), /* @__PURE__ */ y("div", {
25083
25548
  className: S,
25084
- children: f.map((e, t) => /* @__PURE__ */ y(Py, {
25549
+ children: f.map((e, t) => /* @__PURE__ */ y(Gy, {
25085
25550
  inverted: n,
25086
25551
  variant: e.status ? s[e.status]?.variant : void 0,
25087
25552
  inCurrentMonth: i
25088
25553
  }, t))
25089
25554
  })]
25090
25555
  });
25091
- }, My = "ucl-uikit-calendar__event-dot", Ny = (e, t, n, r) => {
25556
+ }, Uy = "ucl-uikit-calendar__event-dot", Wy = (e, t, n, r) => {
25092
25557
  if (!n) return e.colour.icon.disabled;
25093
25558
  switch (r) {
25094
25559
  case "critical": return e.colour.icon.critical;
@@ -25098,23 +25563,23 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25098
25563
  case "info": return t ? e.colour.icon.inverse : e.colour.fill.brand;
25099
25564
  default: return t ? e.colour.icon.inverse : e.colour.fill.brand;
25100
25565
  }
25101
- }, Py = ({ inverted: e, inCurrentMonth: t, variant: n }) => {
25102
- let [r] = $(), i = V(My, H`
25566
+ }, Gy = ({ inverted: e, inCurrentMonth: t, variant: n }) => {
25567
+ let [r] = $(), i = V(Uy, H`
25103
25568
  width: 6px;
25104
25569
  height: 6px;
25105
25570
  border-radius: 50%;
25106
- background-color: ${Ny(r, e, t, n)};
25571
+ background-color: ${Wy(r, e, t, n)};
25107
25572
  `);
25108
25573
  return /* @__PURE__ */ y("div", {
25109
- "data-testid": My,
25574
+ "data-testid": Uy,
25110
25575
  className: i
25111
25576
  });
25112
- }, Fy = "ucl-uikit-calendar", Iy = 1920, Ly = 2100, Ry = ({ pickedDate: e = null, pickedMonth: t = null, onDatePick: n, minDate: r = null, maxDate: i = null, minYear: a = Iy, maxYear: o = Ly, events: s = [], statuses: c = {}, showAcademicWeeks: u = !1, academicWeeks: f = [], testId: p = Fy, className: m }) => {
25113
- let [h] = $(), v = r ? dy(r) : null, x = i ? dy(i) : null, S = v?.getFullYear() ?? a, C = x?.getFullYear() ?? o, w = Math.min(S, C), T = Math.max(S, C);
25577
+ }, Ky = "ucl-uikit-calendar", qy = 1920, Jy = 2100, Yy = ({ pickedDate: e = null, pickedMonth: t = null, onDatePick: n, minDate: r = null, maxDate: i = null, minYear: a = qy, maxYear: o = Jy, events: s = [], statuses: c = {}, showAcademicWeeks: u = !1, academicWeeks: f = [], testId: p = Ky, className: m }) => {
25578
+ let [h] = $(), v = r ? Sy(r) : null, x = i ? Sy(i) : null, S = v?.getFullYear() ?? a, C = x?.getFullYear() ?? o, w = Math.min(S, C), T = Math.max(S, C);
25114
25579
  e && isNaN(e.getTime()) && (console.warn("Calendar: pickedDate is invalid, defaulting to null"), e = null), t && isNaN(t.getTime()) && (console.warn("Calendar: pickedMonth is invalid, defaulting to null"), t = null);
25115
25580
  let E = l((e) => {
25116
25581
  let t = e.getFullYear();
25117
- return t < w ? new Date(w, 0, 1) : t > T ? new Date(T, 11, 1) : uy(e);
25582
+ return t < w ? new Date(w, 0, 1) : t > T ? new Date(T, 11, 1) : xy(e);
25118
25583
  }, [T, w]), D = e ?? t, O = g(D), [k, A] = _(E(D ?? /* @__PURE__ */ new Date()));
25119
25584
  d(() => {
25120
25585
  D && O.current?.getTime() !== D.getTime() && (D.getMonth() !== k.getMonth() || D.getFullYear() !== k.getFullYear()) && A(E(D)), O.current = D;
@@ -25155,7 +25620,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25155
25620
  return /* @__PURE__ */ b("div", {
25156
25621
  className: I,
25157
25622
  "data-testid": p,
25158
- children: [/* @__PURE__ */ y(vy, {
25623
+ children: [/* @__PURE__ */ y(ky, {
25159
25624
  month: k,
25160
25625
  changeMonth: j,
25161
25626
  onMonthSelect: M,
@@ -25164,10 +25629,10 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25164
25629
  maxYear: T
25165
25630
  }), /* @__PURE__ */ b("div", {
25166
25631
  className: F,
25167
- children: [u && /* @__PURE__ */ y(by, {
25632
+ children: [u && /* @__PURE__ */ y(jy, {
25168
25633
  date: k,
25169
25634
  weeks: f
25170
- }), /* @__PURE__ */ y(Dy, {
25635
+ }), /* @__PURE__ */ y(Ry, {
25171
25636
  month: k,
25172
25637
  pickedDate: e,
25173
25638
  onDatePick: n,
@@ -25178,7 +25643,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25178
25643
  })]
25179
25644
  })]
25180
25645
  });
25181
- }, zy = "ucl-uikit-weekpicker", By = ({ value: e = null, onValueChange: t = () => {}, minDate: n, maxDate: r, minYear: i, maxYear: a, disabled: o = !1, events: s, showAcademicWeeks: c, academicWeeks: u = [], testId: f = zy, className: p, ref: m, inputRef: h, ...v }) => {
25646
+ }, Xy = "ucl-uikit-weekpicker", Zy = ({ value: e = null, onValueChange: t = () => {}, minDate: n, maxDate: r, minYear: i, maxYear: a, disabled: o = !1, events: s, showAcademicWeeks: c, academicWeeks: u = [], testId: f = Xy, className: p, ref: m, inputRef: h, ...v }) => {
25182
25647
  e && isNaN(e.getTime()) && (console.warn("CustomDatepicker: value is invalid, defaulting to null"), e = null);
25183
25648
  function x(e) {
25184
25649
  if (!e) return null;
@@ -25207,7 +25672,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25207
25672
  let R = (e) => {
25208
25673
  I(e.target.value);
25209
25674
  }, ee = (e) => {
25210
- let i = Xv(F, n, r);
25675
+ let i = sy(F, n, r);
25211
25676
  i ? t(i, e) : L();
25212
25677
  }, te = (e) => {
25213
25678
  e.key === "Enter" ? ee(e) : e.key === "Escape" ? (L(), E.current?.blur(), k(!1)) : e.key === "Tab" && (L(), k(!1));
@@ -25243,7 +25708,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25243
25708
  o || k(!0);
25244
25709
  }, ie = () => {
25245
25710
  o || k((e) => !e);
25246
- }, ae = V(zy, p, H`
25711
+ }, ae = V(Xy, p, H`
25247
25712
  box-sizing: border-box;
25248
25713
  position: relative;
25249
25714
  display: flex;
@@ -25279,7 +25744,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25279
25744
  "aria-label": "Go to previous week",
25280
25745
  children: /* @__PURE__ */ y(U.ChevronLeft, {})
25281
25746
  }),
25282
- /* @__PURE__ */ y(Hy, {
25747
+ /* @__PURE__ */ y($y, {
25283
25748
  inputValue: F,
25284
25749
  onInputChange: R,
25285
25750
  onInputKeyDown: te,
@@ -25307,7 +25772,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25307
25772
  crossAxis: !0
25308
25773
  },
25309
25774
  offset: 8,
25310
- children: /* @__PURE__ */ y(iy, { children: /* @__PURE__ */ y(Ry, {
25775
+ children: /* @__PURE__ */ y(hy, { children: /* @__PURE__ */ y(Yy, {
25311
25776
  pickedDate: e,
25312
25777
  onDatePick: ne,
25313
25778
  minDate: n,
@@ -25321,7 +25786,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25321
25786
  })
25322
25787
  ]
25323
25788
  });
25324
- }, Vy = "ucl-uikit-weekpicker__visible-field", Hy = ({ inputValue: e, onInputChange: t, onInputKeyDown: n, onInputFocus: r, onButtonClick: i, disabled: a, inputRef: o, beginningOfWeek: s, endOfWeek: c, academicWeekNumber: l }) => {
25789
+ }, Qy = "ucl-uikit-weekpicker__visible-field", $y = ({ inputValue: e, onInputChange: t, onInputKeyDown: n, onInputFocus: r, onButtonClick: i, disabled: a, inputRef: o, beginningOfWeek: s, endOfWeek: c, academicWeekNumber: l }) => {
25325
25790
  let [u] = $(), d = H`
25326
25791
  display: flex;
25327
25792
  align-items: center;
@@ -25356,10 +25821,10 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25356
25821
  `, m = H`
25357
25822
  min-width: 16px;
25358
25823
  color: ${a ? u.colour.icon.disabled : u.colour.icon.tertiary};
25359
- `, h = V(Vy, d, a && f);
25824
+ `, h = V(Qy, d, a && f);
25360
25825
  return /* @__PURE__ */ b("div", {
25361
25826
  className: h,
25362
- "data-testid": Vy,
25827
+ "data-testid": Qy,
25363
25828
  children: [
25364
25829
  /* @__PURE__ */ y("div", {
25365
25830
  onClick: i,
@@ -25369,7 +25834,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25369
25834
  size: 16
25370
25835
  })
25371
25836
  }),
25372
- /* @__PURE__ */ y(Wy, {
25837
+ /* @__PURE__ */ y(tb, {
25373
25838
  value: e,
25374
25839
  onChange: t,
25375
25840
  onKeyDown: n,
@@ -25388,7 +25853,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25388
25853
  })
25389
25854
  ]
25390
25855
  });
25391
- }, Uy = "ucl-uikit-weekpicker__input", Wy = ({ value: e, onChange: t, onKeyDown: n, onFocus: r, disabled: i, beginningOfWeek: a, endOfWeek: o, academicWeekNumber: s, ref: c }) => {
25856
+ }, eb = "ucl-uikit-weekpicker__input", tb = ({ value: e, onChange: t, onKeyDown: n, onFocus: r, disabled: i, beginningOfWeek: a, endOfWeek: o, academicWeekNumber: s, ref: c }) => {
25392
25857
  let [l] = $(), { md: u } = l.typography.body, [d, f] = _(!1), p = H`
25393
25858
  width: 100%;
25394
25859
  height: 100%;
@@ -25416,7 +25881,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25416
25881
  &::placeholder {
25417
25882
  color: ${l.colour.text.disabled};
25418
25883
  }
25419
- `, h = V(Uy, p, i && m), g = a && o ? `${((e) => new Date(e).toLocaleDateString("en-GB", {
25884
+ `, h = V(eb, p, i && m), g = a && o ? `${((e) => new Date(e).toLocaleDateString("en-GB", {
25420
25885
  day: "2-digit",
25421
25886
  month: "short"
25422
25887
  }))(a)} - ${((e) => new Date(e).toLocaleDateString("en-GB", {
@@ -25437,11 +25902,11 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25437
25902
  inputMode: "numeric",
25438
25903
  placeholder: "DD/MM/YYYY",
25439
25904
  className: h,
25440
- "data-testid": Uy,
25905
+ "data-testid": eb,
25441
25906
  ref: c,
25442
25907
  "aria-label": `Currently selected date: ${e} - Week from ${g}. ${s ? `(Academic Week ${s})` : ""}`
25443
25908
  });
25444
- }, Gy = ({ value: e, onValueChange: t, minDate: n, maxDate: r, minYear: i, maxYear: a, disabled: o, className: s, ...c }) => /* @__PURE__ */ y(By, {
25909
+ }, nb = ({ value: e, onValueChange: t, minDate: n, maxDate: r, minYear: i, maxYear: a, disabled: o, className: s, ...c }) => /* @__PURE__ */ y(Zy, {
25445
25910
  value: e,
25446
25911
  onValueChange: t,
25447
25912
  minDate: n,
@@ -25451,12 +25916,12 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25451
25916
  className: s,
25452
25917
  disabled: o,
25453
25918
  ...c
25454
- }), Ky = "ucl-uikit-drop-zone", qy = (e) => {
25919
+ }), rb = "ucl-uikit-drop-zone", ib = (e) => {
25455
25920
  if (!e) return "Drop an item here";
25456
25921
  let t = (typeof e == "string" ? e.split(",") : Array.from(e)).map((e) => e.trim()).filter(Boolean);
25457
25922
  return t.length > 0 ? `Drop ${t.join(", ")} here` : "Drop an item here";
25458
- }, Jy = s(({ "aria-label": e, "aria-labelledby": t, acceptedTypes: n, canDrop: r, children: i, className: a, disabled: o = !1, dropEffect: s = "move", keyboardDrop: c, onDrop: l, onReject: u, parseData: d, ref: f, role: p, testId: m = Ky, ...h }) => {
25459
- let [g] = $(), { activeTypes: _, getRootProps: x, isDragAccept: S, isDragActive: C, isDragReject: w, lastDrop: T, lastRejection: E } = gv({
25923
+ }, ab = s(({ "aria-label": e, "aria-labelledby": t, acceptedTypes: n, canDrop: r, children: i, className: a, disabled: o = !1, dropEffect: s = "move", keyboardDrop: c, onDrop: l, onReject: u, parseData: d, ref: f, role: p, testId: m = rb, ...h }) => {
25924
+ let [g] = $(), { activeTypes: _, getRootProps: x, isDragAccept: S, isDragActive: C, isDragReject: w, lastDrop: T, lastRejection: E } = Dv({
25460
25925
  acceptedTypes: n,
25461
25926
  canDrop: r,
25462
25927
  disabled: o,
@@ -25500,7 +25965,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25500
25965
  cursor: not-allowed;
25501
25966
  `, M = H`
25502
25967
  color: ${o ? g.colour.icon.disabled : w ? g.colour.icon.critical : S ? g.colour.icon.success : g.colour.icon.brand};
25503
- `, N = V(Ky, D, Ac(h, g), C && O, S && k, w && A, o && j, a), P = {
25968
+ `, N = V(rb, D, Ac(h, g), C && O, S && k, w && A, o && j, a), P = {
25504
25969
  activeTypes: _,
25505
25970
  isDragAccept: S,
25506
25971
  isDragActive: C,
@@ -25525,13 +25990,13 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25525
25990
  as: "div",
25526
25991
  level: "md-semibold",
25527
25992
  noMargins: !0,
25528
- children: w ? "This item cannot be dropped here" : C ? "Release to drop" : qy(n)
25993
+ children: w ? "This item cannot be dropped here" : C ? "Release to drop" : ib(n)
25529
25994
  }), /* @__PURE__ */ y(Mc, {
25530
25995
  level: "sm",
25531
25996
  children: w ? "This drop target does not accept that item" : "Drag a compatible item into this area"
25532
25997
  })] })] })
25533
25998
  });
25534
- }), Yy = "ucl-uikit-fileinput", Xy = ({ testId: e = Yy, children: t, labelId: n = "1", ...r }) => {
25999
+ }), ob = "ucl-uikit-fileinput", sb = ({ testId: e = ob, children: t, labelId: n = "1", ...r }) => {
25535
26000
  let [i] = $(), a = g(null), { md: o, mdSemibold: s } = i.typography.body, c = H`
25536
26001
  font-family: ${o.fontFamily};
25537
26002
  font-feature-settings: ${o.fontSettings};
@@ -25555,7 +26020,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25555
26020
  line-height: ${s.lineHeight}%;
25556
26021
  margin-top: 3px;
25557
26022
  cursor: pointer;
25558
- `, d = V(Yy, c, r.className);
26023
+ `, d = V(ob, c, r.className);
25559
26024
  return /* @__PURE__ */ b("div", {
25560
26025
  className: d,
25561
26026
  children: [/* @__PURE__ */ b("label", {
@@ -25571,8 +26036,8 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25571
26036
  ...r
25572
26037
  })]
25573
26038
  });
25574
- }, Zy = (e) => e ? `${e.getHours().toString().padStart(2, "0")}:${e.getMinutes().toString().padStart(2, "0")}` : "", Qy = "ucl-uikit-timepicker", $y = ({ testId: e = Qy, value: t, className: n, onValueChange: r, ...i }) => {
25575
- let [a] = $(), { md: o } = a.typography.body, s = V(Qy, H`
26039
+ }, cb = (e) => e ? `${e.getHours().toString().padStart(2, "0")}:${e.getMinutes().toString().padStart(2, "0")}` : "", lb = "ucl-uikit-timepicker", ub = ({ testId: e = lb, value: t, className: n, onValueChange: r, ...i }) => {
26040
+ let [a] = $(), { md: o } = a.typography.body, s = V(lb, H`
25576
26041
  color: ${a.colour.text.default};
25577
26042
  border-radius: ${a.radius.r4};
25578
26043
  font-family: ${o.fontFamily};
@@ -25588,7 +26053,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25588
26053
  }
25589
26054
  `, n);
25590
26055
  return /* @__PURE__ */ y("input", {
25591
- value: Zy(t ?? null),
26056
+ value: cb(t ?? null),
25592
26057
  onChange: (e) => {
25593
26058
  let n = e.target.value;
25594
26059
  if (!n || !n.includes(":")) {
@@ -25616,14 +26081,14 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25616
26081
  type: "time",
25617
26082
  ...i
25618
26083
  });
25619
- }, eb = "ucl-uikit-cookie-notice", tb = "https://www.ucl.ac.uk/legal-services/privacy/cookie-policy", nb = "We use necessary cookies to manage your session and essential site functions. We also use Google Analytics cookies to understand how our site is used. You can accept or reject non-essential cookies.", rb = ({ policyHref: e = tb, text: t = nb, onAccept: n, onReject: r, trapFocus: i = !1, testId: a = eb, className: o, ...s }) => {
26084
+ }, db = "ucl-uikit-cookie-notice", fb = "https://www.ucl.ac.uk/legal-services/privacy/cookie-policy", pb = "We use necessary cookies to manage your session and essential site functions. We also use Google Analytics cookies to understand how our site is used. You can accept or reject non-essential cookies.", mb = ({ policyHref: e = fb, text: t = pb, onAccept: n, onReject: r, trapFocus: i = !1, testId: a = db, className: o, ...s }) => {
25620
26085
  let [c] = $(), l = g(null);
25621
- nv({
26086
+ pv({
25622
26087
  isActive: i,
25623
26088
  containerRef: l,
25624
26089
  restoreFocus: !0
25625
26090
  });
25626
- let u = V(eb, H`
26091
+ let u = V(db, H`
25627
26092
  position: fixed;
25628
26093
  left: 0;
25629
26094
  right: 0;
@@ -25678,30 +26143,30 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25678
26143
  ]
25679
26144
  })]
25680
26145
  });
25681
- }, ib = "https://www.ucl.ac.uk/legal-services/privacy/cookie-policy", ab = "Help us improve your experience", ob = [
26146
+ }, hb = "https://www.ucl.ac.uk/legal-services/privacy/cookie-policy", gb = "Help us improve your experience", _b = [
25682
26147
  {
25683
26148
  id: "necessary",
25684
26149
  title: "Necessary Cookies",
25685
26150
  description: "These cookies are necessary for the website to function and can't be switched off in our systems.",
25686
26151
  required: !0,
25687
26152
  defaultEnabled: !0,
25688
- learnMoreHref: ib
26153
+ learnMoreHref: hb
25689
26154
  },
25690
26155
  {
25691
26156
  id: "analytics",
25692
26157
  title: "Analytics",
25693
26158
  description: "These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site.",
25694
26159
  defaultEnabled: !0,
25695
- learnMoreHref: ib
26160
+ learnMoreHref: hb
25696
26161
  },
25697
26162
  {
25698
26163
  id: "marketing",
25699
26164
  title: "Marketing",
25700
26165
  description: "These cookies are set through our site by our advertising partners. They may be used to build a profile of your interests and show you relevant ads.",
25701
26166
  defaultEnabled: !0,
25702
- learnMoreHref: ib
26167
+ learnMoreHref: hb
25703
26168
  }
25704
- ], sb = "ucl-uikit-cookie-settings", cb = ({ open: e = !1, cookies: t = ob, preferences: n, description: r, policyHref: i = ib, policyLabel: a = "UCL privacy policy.", onClose: o, onPreferenceToggle: s, onSavePreferences: c, saveButtonLabel: u = "Save preferences", testId: d = sb, className: p, ...m }) => {
26169
+ ], vb = "ucl-uikit-cookie-settings", yb = ({ open: e = !1, cookies: t = _b, preferences: n, description: r, policyHref: i = hb, policyLabel: a = "UCL privacy policy.", onClose: o, onPreferenceToggle: s, onSavePreferences: c, saveButtonLabel: u = "Save preferences", testId: d = vb, className: p, ...m }) => {
25705
26170
  let [h] = $(), g = f(), _ = f(), v = l(() => {
25706
26171
  c?.();
25707
26172
  }, [c]), x = l((e) => {
@@ -25773,8 +26238,8 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25773
26238
  @media (min-width: ${h.breakpoints.tablet}px) {
25774
26239
  width: auto;
25775
26240
  }
25776
- `, L = V(sb, S, p);
25777
- return /* @__PURE__ */ b(zv, {
26241
+ `, L = V(vb, S, p);
26242
+ return /* @__PURE__ */ b(Xv, {
25778
26243
  open: e,
25779
26244
  modal: !0,
25780
26245
  size: "large",
@@ -25786,16 +26251,16 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25786
26251
  ...m,
25787
26252
  children: [
25788
26253
  /* @__PURE__ */ b("header", {
25789
- className: V(`${sb}__header`, C),
26254
+ className: V(`${vb}__header`, C),
25790
26255
  children: [/* @__PURE__ */ y(Yd, {
25791
26256
  id: g,
25792
26257
  level: "lg",
25793
26258
  noMargins: !0,
25794
- className: V(`${sb}__heading`, w),
26259
+ className: V(`${vb}__heading`, w),
25795
26260
  children: "Privacy preferences"
25796
26261
  }), /* @__PURE__ */ y(Qc, {
25797
26262
  "aria-label": "Close cookie settings",
25798
- className: V(`${sb}__close-button`, T),
26263
+ className: V(`${vb}__close-button`, T),
25799
26264
  onClick: x,
25800
26265
  children: /* @__PURE__ */ y(U.X, {
25801
26266
  role: "presentation",
@@ -25804,9 +26269,9 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25804
26269
  })]
25805
26270
  }),
25806
26271
  /* @__PURE__ */ y("div", {
25807
- className: V(`${sb}__body`, E),
26272
+ className: V(`${vb}__body`, E),
25808
26273
  children: /* @__PURE__ */ b("div", {
25809
- className: V(`${sb}__content`, D),
26274
+ className: V(`${vb}__content`, D),
25810
26275
  children: [
25811
26276
  r !== void 0 && /* @__PURE__ */ y(Ic, {
25812
26277
  id: _,
@@ -25830,13 +26295,13 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25830
26295
  ]
25831
26296
  }),
25832
26297
  /* @__PURE__ */ y("div", {
25833
- className: V(`${sb}__cookies`, k),
26298
+ className: V(`${vb}__cookies`, k),
25834
26299
  children: t.map((e) => /* @__PURE__ */ b("section", {
25835
- className: V(`${sb}__cookie`, A),
26300
+ className: V(`${vb}__cookie`, A),
25836
26301
  children: [/* @__PURE__ */ b("div", {
25837
- className: V(`${sb}__cookie-header`, j),
26302
+ className: V(`${vb}__cookie-header`, j),
25838
26303
  children: [/* @__PURE__ */ b("div", {
25839
- className: V(`${sb}__cookie-text`, M),
26304
+ className: V(`${vb}__cookie-text`, M),
25840
26305
  children: [/* @__PURE__ */ y(Yd, {
25841
26306
  level: "md",
25842
26307
  as: "h3",
@@ -25851,7 +26316,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25851
26316
  checked: n[e.id],
25852
26317
  disabled: e.required,
25853
26318
  "aria-label": e.toggleLabel ?? (typeof e.title == "string" ? `Allow ${e.title}` : `Allow ${e.id} cookies`),
25854
- className: V(`${sb}__cookie-toggle`, N),
26319
+ className: V(`${vb}__cookie-toggle`, N),
25855
26320
  onClick: () => s(e)
25856
26321
  })]
25857
26322
  }), e.learnMoreHref && /* @__PURE__ */ y(_l, {
@@ -25860,7 +26325,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25860
26325
  icon: /* @__PURE__ */ y(U.ChevronRight, {}),
25861
26326
  iconPosition: "right",
25862
26327
  noVisited: !0,
25863
- className: V(`${sb}__learn-more`, P),
26328
+ className: V(`${vb}__learn-more`, P),
25864
26329
  children: e.learnMoreLabel ?? "Learn more"
25865
26330
  })]
25866
26331
  }, e.id))
@@ -25869,22 +26334,22 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25869
26334
  })
25870
26335
  }),
25871
26336
  /* @__PURE__ */ y("footer", {
25872
- className: V(`${sb}__footer`, F),
26337
+ className: V(`${vb}__footer`, F),
25873
26338
  children: /* @__PURE__ */ y(qd, {
25874
26339
  variant: "accent",
25875
26340
  size: "medium",
25876
- className: V(`${sb}__save-button`, I),
26341
+ className: V(`${vb}__save-button`, I),
25877
26342
  onClick: v,
25878
26343
  children: u
25879
26344
  })
25880
26345
  })
25881
26346
  ]
25882
26347
  });
25883
- }, lb = "ucl-uikit-cookies-notice", ub = 944, db = (e) => e.reduce((e, t) => (e[t.id] = !0, e), {}), fb = (e) => e.reduce((e, t) => (e[t.id] = !!t.required, e), {}), pb = (e) => e.reduce((e, t) => (t.required && (e[t.id] = !0), e), {}), mb = (e) => e.reduce((e, t) => (e[t.id] = t.required ? !0 : t.defaultEnabled ?? !1, e), {}), hb = ({ heading: e = ab, description: t, policyHref: n = ib, policyLabel: r = "UCL privacy policy", cookies: i = ob, preferences: a, modal: o = !1, manageCookiesLabel: s = "Manage cookies", acceptAllLabel: c = "Accept all cookies", acceptNecessaryLabel: u = "Accept necessary only", onAcceptAll: p, onAcceptNecessary: m, onManageCookies: g, onPreferencesChange: x, onSavePreferences: S, onSettingsClose: C, testId: w = lb, className: T, ...E }) => {
26348
+ }, bb = "ucl-uikit-cookies-notice", xb = 944, Sb = (e) => e.reduce((e, t) => (e[t.id] = !0, e), {}), Cb = (e) => e.reduce((e, t) => (e[t.id] = !!t.required, e), {}), wb = (e) => e.reduce((e, t) => (t.required && (e[t.id] = !0), e), {}), Tb = (e) => e.reduce((e, t) => (e[t.id] = t.required ? !0 : t.defaultEnabled ?? !1, e), {}), Eb = ({ heading: e = gb, description: t, policyHref: n = hb, policyLabel: r = "UCL privacy policy", cookies: i = _b, preferences: a, modal: o = !1, manageCookiesLabel: s = "Manage cookies", acceptAllLabel: c = "Accept all cookies", acceptNecessaryLabel: u = "Accept necessary only", onAcceptAll: p, onAcceptNecessary: m, onManageCookies: g, onPreferencesChange: x, onSavePreferences: S, onSettingsClose: C, testId: w = bb, className: T, ...E }) => {
25884
26349
  let [D] = $(), O = f(), [k, A] = _(!1), j = h(() => ({
25885
- ...mb(i),
26350
+ ...Tb(i),
25886
26351
  ...a,
25887
- ...pb(i)
26352
+ ...wb(i)
25888
26353
  }), [i, a]), [M, N] = _(j), [P, F] = _(j);
25889
26354
  d(() => {
25890
26355
  N(j), F(j);
@@ -25897,10 +26362,10 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25897
26362
  };
25898
26363
  F(t), x?.(t);
25899
26364
  }, [P, x]), L = l(() => {
25900
- let e = db(i);
26365
+ let e = Sb(i);
25901
26366
  N(e), F(e), p?.(e);
25902
26367
  }, [i, p]), R = l(() => {
25903
- let e = fb(i);
26368
+ let e = Cb(i);
25904
26369
  N(e), F(e), m?.(e);
25905
26370
  }, [i, m]), ee = l(() => {
25906
26371
  g?.(), F(M), A(!0);
@@ -25989,29 +26454,29 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
25989
26454
  @media (min-width: ${D.breakpoints.tablet}px) {
25990
26455
  width: calc(100vw - ${D.margin.m64});
25991
26456
  max-width: calc(
25992
- ${ub}px + ${D.padding.p64}
26457
+ ${xb}px + ${D.padding.p64}
25993
26458
  );
25994
26459
  margin: auto;
25995
26460
 
25996
26461
  &:modal {
25997
26462
  max-width: min(
25998
- calc(${ub}px + ${D.padding.p64}),
26463
+ calc(${xb}px + ${D.padding.p64}),
25999
26464
  calc(100vw - ${D.margin.m64})
26000
26465
  );
26001
26466
  }
26002
26467
  }
26003
- `, B = V(lb, re, Ac(E, D), T), de = /* @__PURE__ */ b("div", {
26468
+ `, B = V(bb, re, Ac(E, D), T), de = /* @__PURE__ */ b("div", {
26004
26469
  className: B,
26005
26470
  "data-testid": w,
26006
26471
  ...E,
26007
26472
  children: [/* @__PURE__ */ b("div", {
26008
- className: V(`${lb}__content`, ie),
26473
+ className: V(`${bb}__content`, ie),
26009
26474
  children: [/* @__PURE__ */ y(Yd, {
26010
26475
  id: O,
26011
26476
  level: "md",
26012
26477
  as: "h2",
26013
26478
  noMargins: !0,
26014
- className: V(`${lb}__heading`, ae),
26479
+ className: V(`${bb}__heading`, ae),
26015
26480
  children: e
26016
26481
  }), /* @__PURE__ */ y(Ic, {
26017
26482
  level: "md",
@@ -26029,40 +26494,40 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26029
26494
  ] })
26030
26495
  })]
26031
26496
  }), /* @__PURE__ */ b("div", {
26032
- className: V(`${lb}__actions`, se),
26497
+ className: V(`${bb}__actions`, se),
26033
26498
  children: [/* @__PURE__ */ y(qd, {
26034
26499
  variant: "secondary",
26035
26500
  fullWidth: !0,
26036
- className: V(`${lb}__manage-button`, le),
26501
+ className: V(`${bb}__manage-button`, le),
26037
26502
  onClick: ee,
26038
26503
  children: s
26039
26504
  }), /* @__PURE__ */ b("div", {
26040
- className: V(`${lb}__accept-actions`, ce),
26505
+ className: V(`${bb}__accept-actions`, ce),
26041
26506
  children: [/* @__PURE__ */ y(qd, {
26042
26507
  variant: "accent",
26043
26508
  fullWidth: !0,
26044
- className: V(`${lb}__accept-necessary-button`, z),
26509
+ className: V(`${bb}__accept-necessary-button`, z),
26045
26510
  onClick: R,
26046
26511
  children: u
26047
26512
  }), /* @__PURE__ */ y(qd, {
26048
26513
  variant: "accent",
26049
26514
  fullWidth: !0,
26050
- className: V(`${lb}__accept-all-button`, z),
26515
+ className: V(`${bb}__accept-all-button`, z),
26051
26516
  onClick: L,
26052
26517
  children: c
26053
26518
  })]
26054
26519
  })]
26055
26520
  })]
26056
26521
  });
26057
- return /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(zv, {
26522
+ return /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(Xv, {
26058
26523
  open: !0,
26059
26524
  modal: o,
26060
26525
  size: "large",
26061
26526
  closeOnClickOutside: !1,
26062
- className: V(`${lb}__dialog`, ue),
26527
+ className: V(`${bb}__dialog`, ue),
26063
26528
  "aria-labelledby": O,
26064
26529
  children: de
26065
- }), /* @__PURE__ */ y(cb, {
26530
+ }), /* @__PURE__ */ y(yb, {
26066
26531
  open: k,
26067
26532
  cookies: i,
26068
26533
  preferences: P,
@@ -26072,7 +26537,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26072
26537
  onPreferenceToggle: I,
26073
26538
  onSavePreferences: ne
26074
26539
  })] });
26075
- }, gb = "ucl-uikit-search", _b = ({ placeholder: e = "", testId: t = gb, onSearch: n, onClear: r, disabled: i = !1, m: a, mv: o, mh: s, mt: c, mb: l, ml: u, mr: d, noMargins: f, inputProps: p, clearButtonProps: m, submitButtonProps: h, className: v, ...x }) => {
26540
+ }, Db = "ucl-uikit-search", Ob = ({ placeholder: e = "", testId: t = Db, onSearch: n, onClear: r, disabled: i = !1, m: a, mv: o, mh: s, mt: c, mb: l, ml: u, mr: d, noMargins: f, inputProps: p, clearButtonProps: m, submitButtonProps: h, className: v, ...x }) => {
26076
26541
  let [S, C] = _(""), w = g(null), [T] = $(), E = (e) => {
26077
26542
  C(e.target.value);
26078
26543
  }, D = () => {
@@ -26083,7 +26548,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26083
26548
  e.key === "Enter" && O();
26084
26549
  }, A = () => {
26085
26550
  O();
26086
- }, j = V(gb, H`
26551
+ }, j = V(Db, H`
26087
26552
  position: relative;
26088
26553
  height: 48px;
26089
26554
  `, Ac({
@@ -26159,7 +26624,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26159
26624
  ]
26160
26625
  })]
26161
26626
  });
26162
- }, vb = "ucl-uikit-skip-to-content", yb = s(({ href: e = "#main-content", testId: t = vb, className: n, children: r = "Skip to content", ref: i, ...a }) => {
26627
+ }, kb = "ucl-uikit-skip-to-content", Ab = s(({ href: e = "#main-content", testId: t = kb, className: n, children: r = "Skip to content", ref: i, ...a }) => {
26163
26628
  let [o] = $(), s = H`
26164
26629
  box-sizing: border-box;
26165
26630
  display: flex;
@@ -26183,7 +26648,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26183
26648
  padding-right: 60px;
26184
26649
  padding-left: 60px;
26185
26650
  }
26186
- `, c = V(vb, n);
26651
+ `, c = V(kb, n);
26187
26652
  return /* @__PURE__ */ y("div", {
26188
26653
  className: s,
26189
26654
  children: /* @__PURE__ */ y(qd, {
@@ -26198,13 +26663,13 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26198
26663
  children: r
26199
26664
  })
26200
26665
  });
26201
- }), bb = "ucl-uikit-dropdown__trigger", xb = s(({ children: e }) => {
26666
+ }), jb = "ucl-uikit-dropdown__trigger", Mb = s(({ children: e }) => {
26202
26667
  let { isOpen: t, toggle: n, triggerRef: i, contentId: a } = Lm();
26203
26668
  if (!o(e)) return null;
26204
26669
  let s = e.props, c = s.onClick, l = s.onKeyDown;
26205
26670
  return r(e, {
26206
26671
  ref: i,
26207
- className: [bb, s.className].filter(Boolean).join(" "),
26672
+ className: [jb, s.className].filter(Boolean).join(" "),
26208
26673
  onClick: (e) => {
26209
26674
  c?.(e), e.defaultPrevented || n();
26210
26675
  },
@@ -26215,7 +26680,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26215
26680
  "aria-expanded": t,
26216
26681
  "aria-controls": s["aria-controls"] ?? a
26217
26682
  });
26218
- }), Sb = "ucl-uikit-dropdown__content", Cb = 32, wb = 300, Tb = "header,[role=\"banner\"],[data-drawer-menu-boundary]", Eb = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", Db = (e) => typeof e == "number" ? `${e}px` : e, Ob = s(({ testId: e = Sb, topPx: t, bottomPx: n = 0, contentHeight: r, align: i = "right", variant: a = "dropdown", drawerBoundaryRef: o, drawerBoundarySelector: s = Tb, className: c, children: l, id: u, ...f }) => {
26683
+ }), Nb = "ucl-uikit-dropdown__content", Pb = 32, Fb = 300, Ib = "header,[role=\"banner\"],[data-drawer-menu-boundary]", Lb = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", Rb = (e) => typeof e == "number" ? `${e}px` : e, zb = s(({ testId: e = Nb, topPx: t, bottomPx: n = 0, contentHeight: r, align: i = "right", variant: a = "dropdown", drawerBoundaryRef: o, drawerBoundarySelector: s = Ib, className: c, children: l, id: u, ...f }) => {
26219
26684
  let [p] = $(), { isOpen: m, contentRef: h, contentId: v, triggerRef: b } = Lm(), [x, S] = _(void 0), [C, w] = _(0), T = nf(`(min-width: ${p.breakpoints.tablet}px)`), E = a === "drawer", D = g(m);
26220
26685
  d(() => {
26221
26686
  let e = D.current;
@@ -26237,7 +26702,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26237
26702
  e.target === t && e.propertyName === "transform" && i();
26238
26703
  };
26239
26704
  t.addEventListener("transitionend", a);
26240
- let o = window.setTimeout(i, wb);
26705
+ let o = window.setTimeout(i, Fb);
26241
26706
  return () => {
26242
26707
  t.removeEventListener("transitionend", a), window.clearTimeout(o);
26243
26708
  };
@@ -26257,7 +26722,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26257
26722
  t.style.overflow = "hidden", r.forEach(({ element: e }) => {
26258
26723
  e.setAttribute("aria-hidden", "true"), e.inert = !0;
26259
26724
  });
26260
- let i = () => Array.from(e.querySelectorAll(Eb)).filter((e) => !e.hasAttribute("disabled")), a = i();
26725
+ let i = () => Array.from(e.querySelectorAll(Lb)).filter((e) => !e.hasAttribute("disabled")), a = i();
26261
26726
  a.length > 0 ? a[0].focus() : e.focus();
26262
26727
  let o = (t) => {
26263
26728
  if (t.key !== "Tab") return;
@@ -26282,7 +26747,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26282
26747
  if (typeof document > "u" || !E || !T || !m) return;
26283
26748
  let e = h.current;
26284
26749
  if (!e) return;
26285
- let t = b.current, n = o?.current ?? t?.closest(s), r = n ? [n] : [t, e].filter((e) => !!e), i = () => Array.from(new Set(r.flatMap((e) => Array.from(e.querySelectorAll(Eb))))).filter((e) => !e.hasAttribute("disabled")), a = (t) => {
26750
+ let t = b.current, n = o?.current ?? t?.closest(s), r = n ? [n] : [t, e].filter((e) => !!e), i = () => Array.from(new Set(r.flatMap((e) => Array.from(e.querySelectorAll(Lb))))).filter((e) => !e.hasAttribute("disabled")), a = (t) => {
26286
26751
  if (t.key !== "Tab") return;
26287
26752
  let n = i();
26288
26753
  if (n.length === 0) {
@@ -26311,7 +26776,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26311
26776
  }
26312
26777
  let e = () => {
26313
26778
  let e = h.current?.getBoundingClientRect().top ?? 0;
26314
- S(Math.max(window.innerHeight - e - Cb, 0));
26779
+ S(Math.max(window.innerHeight - e - Pb, 0));
26315
26780
  };
26316
26781
  return e(), window.addEventListener("resize", e), () => {
26317
26782
  window.removeEventListener("resize", e);
@@ -26340,7 +26805,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26340
26805
  t,
26341
26806
  b
26342
26807
  ]);
26343
- let O = t === void 0 ? `${C}px` : Db(t), k = Db(n), A = r === void 0 ? `calc(100dvh - ${O} - ${k})` : Db(r), j = H`
26808
+ let O = t === void 0 ? `${C}px` : Rb(t), k = Rb(n), A = r === void 0 ? `calc(100dvh - ${O} - ${k})` : Rb(r), j = H`
26344
26809
  display: none;
26345
26810
  z-index: 9999;
26346
26811
  position: fixed;
@@ -26384,8 +26849,8 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26384
26849
  pointer-events: none;
26385
26850
  transform: translateX(100%);
26386
26851
  transition:
26387
- transform ${wb}ms ease-in,
26388
- visibility 0ms linear ${wb}ms;
26852
+ transform ${Fb}ms ease-in,
26853
+ visibility 0ms linear ${Fb}ms;
26389
26854
  will-change: transform;
26390
26855
 
26391
26856
  @media (min-width: ${p.breakpoints.tablet}px) {
@@ -26426,8 +26891,8 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26426
26891
  visibility: visible;
26427
26892
  pointer-events: auto;
26428
26893
  transform: translateX(0);
26429
- transition: transform ${wb}ms ease-out;
26430
- `, ee = V(Sb, j, E && M, !E && t !== void 0 && N, i === "left" && (E ? F : P), i === "right" && I, m && (E ? R : L)), te = H`
26894
+ transition: transform ${Fb}ms ease-out;
26895
+ `, ee = V(Nb, j, E && M, !E && t !== void 0 && N, i === "left" && (E ? F : P), i === "right" && I, m && (E ? R : L)), te = H`
26431
26896
  box-sizing: border-box;
26432
26897
  width: 100%;
26433
26898
  max-width: 100%;
@@ -26460,7 +26925,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26460
26925
  })
26461
26926
  });
26462
26927
  return T ? ie : (0, ud.createPortal)(ie, document.body);
26463
- }), kb = "ucl-uikit-dropdown", Ab = ({ testId: e = kb, className: t, children: n, ...r }) => {
26928
+ }), Bb = "ucl-uikit-dropdown", Vb = ({ testId: e = Bb, className: t, children: n, ...r }) => {
26464
26929
  let [i] = $(), { isOpen: a, setIsOpen: o, triggerRef: s, contentRef: c } = Lm(), l = g(a);
26465
26930
  d(() => {
26466
26931
  let e = (e) => {
@@ -26479,7 +26944,7 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26479
26944
  ]), d(() => {
26480
26945
  l.current && !a && s.current?.focus(), l.current = a;
26481
26946
  }, [a, s]);
26482
- let u = V(kb, H`
26947
+ let u = V(Bb, H`
26483
26948
  position: relative;
26484
26949
  display: inline-flex;
26485
26950
  font-family: ${i.font.family.primary};
@@ -26490,13 +26955,13 @@ var Dy = ({ month: e, pickedDate: t, onDatePick: n = () => {}, minDate: r, maxDa
26490
26955
  ...r,
26491
26956
  children: n
26492
26957
  });
26493
- }, jb = ({ defaultOpen: e = !1, ...t }) => /* @__PURE__ */ y(zm, {
26958
+ }, Hb = ({ defaultOpen: e = !1, ...t }) => /* @__PURE__ */ y(zm, {
26494
26959
  defaultOpen: e,
26495
- children: /* @__PURE__ */ y(Ab, { ...t })
26960
+ children: /* @__PURE__ */ y(Vb, { ...t })
26496
26961
  });
26497
- jb.Trigger = xb, jb.Content = Ob;
26962
+ Hb.Trigger = Mb, Hb.Content = zb;
26498
26963
  // lib/components/DropdownMenu/DropdownMenuTrigger.tsx
26499
- var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLabelExpanded: r, className: i, ...a }) => {
26964
+ var Ub = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLabelExpanded: r, className: i, ...a }) => {
26500
26965
  let o = !!a["aria-expanded"], s = o ? r : n, c = o ? /* @__PURE__ */ y(U.X, {
26501
26966
  title: "Close menu",
26502
26967
  testId: "ucl-uikit-dropdown-menu__icon-close"
@@ -26519,10 +26984,10 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26519
26984
  ...a,
26520
26985
  children: c
26521
26986
  });
26522
- }, Nb = "ucl-uikit-dropdown-menu", Pb = ({ children: e }) => {
26987
+ }, Wb = "ucl-uikit-dropdown-menu", Gb = ({ children: e }) => {
26523
26988
  let { setIsOpen: t } = Lm();
26524
26989
  return typeof e == "function" ? e({ close: () => t(!1) }) : e;
26525
- }, Fb = ({ align: e = "right", children: t, label: n = "MENU", triggerAriaLabelCollapsed: r = "Open menu", triggerAriaLabelExpanded: i = "Close menu", dropdownClassName: a, triggerClassName: o, contentClassName: s, className: c, ...l }) => {
26990
+ }, Kb = ({ align: e = "right", children: t, label: n = "MENU", triggerAriaLabelCollapsed: r = "Open menu", triggerAriaLabelExpanded: i = "Close menu", dropdownClassName: a, triggerClassName: o, contentClassName: s, className: c, ...l }) => {
26526
26991
  let [u] = $(), d = nf(`(min-width: ${u.breakpoints.desktop}px)`), f = H`
26527
26992
  color: ${u.colour.text.brandPrimary};
26528
26993
  font-family: ${u.typography.body.mdNumeric.fontFamily};
@@ -26530,7 +26995,7 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26530
26995
  font-size: ${u.typography.body.mdNumeric.fontSize}px;
26531
26996
  font-weight: ${u.typography.body.mdNumeric.fontWeight};
26532
26997
  line-height: ${u.typography.body.mdNumeric.lineHeight}%;
26533
- `, p = V(Nb, a), m = V(f, c, o), h = V(H`
26998
+ `, p = V(Wb, a), m = V(f, c, o), h = V(H`
26534
26999
  background-color: ${u.colour.surface.primary};
26535
27000
 
26536
27001
  @media (min-width: ${u.breakpoints.tablet}px) {
@@ -26540,25 +27005,25 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26540
27005
  border-radius: ${u.radius.r4};
26541
27006
  }
26542
27007
  `, s);
26543
- return /* @__PURE__ */ b(jb, {
27008
+ return /* @__PURE__ */ b(Hb, {
26544
27009
  className: p,
26545
27010
  ...l,
26546
- children: [/* @__PURE__ */ y(jb.Trigger, { children: /* @__PURE__ */ y(Mb, {
27011
+ children: [/* @__PURE__ */ y(Hb.Trigger, { children: /* @__PURE__ */ y(Ub, {
26547
27012
  isDesktop: d,
26548
27013
  label: n,
26549
27014
  triggerAriaLabelCollapsed: r,
26550
27015
  triggerAriaLabelExpanded: i,
26551
27016
  className: m
26552
- }) }), /* @__PURE__ */ y(jb.Content, {
27017
+ }) }), /* @__PURE__ */ y(Hb.Content, {
26553
27018
  className: h,
26554
27019
  align: e,
26555
- children: /* @__PURE__ */ y(Pb, { children: t })
27020
+ children: /* @__PURE__ */ y(Gb, { children: t })
26556
27021
  })]
26557
27022
  });
26558
- }, Ib = Mb, Lb = "ucl-uikit-drawer-menu", Rb = ({ children: e }) => {
27023
+ }, qb = Ub, Jb = "ucl-uikit-drawer-menu", Yb = ({ children: e }) => {
26559
27024
  let { setIsOpen: t } = Lm();
26560
27025
  return typeof e == "function" ? e({ close: () => t(!1) }) : e;
26561
- }, zb = ({ topPx: e, bottomPx: t, contentHeight: n, boundaryRef: r, boundarySelector: i, align: a = "right", children: o, label: s = "MENU", triggerAriaLabelCollapsed: c = "Open menu", triggerAriaLabelExpanded: l = "Close menu", dropdownClassName: u, triggerClassName: d, contentClassName: f, className: p, ...m }) => {
27026
+ }, Xb = ({ topPx: e, bottomPx: t, contentHeight: n, boundaryRef: r, boundarySelector: i, align: a = "right", children: o, label: s = "MENU", triggerAriaLabelCollapsed: c = "Open menu", triggerAriaLabelExpanded: l = "Close menu", dropdownClassName: u, triggerClassName: d, contentClassName: f, className: p, ...m }) => {
26562
27027
  let [h] = $(), g = nf(`(min-width: ${h.breakpoints.desktop}px)`), _ = H`
26563
27028
  color: ${h.colour.text.brandPrimary};
26564
27029
  font-family: ${h.typography.body.mdNumeric.fontFamily};
@@ -26566,7 +27031,7 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26566
27031
  font-size: ${h.typography.body.mdNumeric.fontSize}px;
26567
27032
  font-weight: ${h.typography.body.mdNumeric.fontWeight};
26568
27033
  line-height: ${h.typography.body.mdNumeric.lineHeight}%;
26569
- `, v = V(Lb, u), x = V(_, p, d), S = V(H`
27034
+ `, v = V(Jb, u), x = V(_, p, d), S = V(H`
26570
27035
  background-color: ${h.colour.surface.primary};
26571
27036
 
26572
27037
  @media (min-width: ${h.breakpoints.tablet}px) {
@@ -26574,16 +27039,16 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26574
27039
  border-left: ${h.border.b1} solid ${h.colour.border.default};
26575
27040
  }
26576
27041
  `, f);
26577
- return /* @__PURE__ */ b(jb, {
27042
+ return /* @__PURE__ */ b(Hb, {
26578
27043
  className: v,
26579
27044
  ...m,
26580
- children: [/* @__PURE__ */ y(jb.Trigger, { children: /* @__PURE__ */ y(Ib, {
27045
+ children: [/* @__PURE__ */ y(Hb.Trigger, { children: /* @__PURE__ */ y(qb, {
26581
27046
  isDesktop: g,
26582
27047
  label: s,
26583
27048
  triggerAriaLabelCollapsed: c,
26584
27049
  triggerAriaLabelExpanded: l,
26585
27050
  className: x
26586
- }) }), /* @__PURE__ */ y(jb.Content, {
27051
+ }) }), /* @__PURE__ */ y(Hb.Content, {
26587
27052
  className: S,
26588
27053
  align: a,
26589
27054
  variant: "drawer",
@@ -26592,10 +27057,10 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26592
27057
  contentHeight: n,
26593
27058
  drawerBoundaryRef: r,
26594
27059
  drawerBoundarySelector: i,
26595
- children: /* @__PURE__ */ y(Rb, { children: o })
27060
+ children: /* @__PURE__ */ y(Yb, { children: o })
26596
27061
  })]
26597
27062
  });
26598
- }, Bb = "ucl-uikit-sidebar", Vb = ({ collapsed: e, defaultCollapsed: t = !1, onCollapsedChange: r, testId: i = Bb, collapseButtonAriaLabel: a = "Collapse sidebar", expandButtonAriaLabel: o = "Expand sidebar", className: s, children: c, ...l }) => {
27063
+ }, Zb = "ucl-uikit-sidebar", Qb = ({ collapsed: e, defaultCollapsed: t = !1, onCollapsedChange: r, testId: i = Zb, collapseButtonAriaLabel: a = "Collapse sidebar", expandButtonAriaLabel: o = "Expand sidebar", className: s, children: c, ...l }) => {
26599
27064
  let [u] = $(), d = f(), [p, m] = _(t), h = e ?? p, g = () => {
26600
27065
  let t = !h;
26601
27066
  e === void 0 && m(t), r?.(t);
@@ -26669,7 +27134,7 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26669
27134
  background-color: ${u.colour.fill.brandSubtleHover};
26670
27135
  color: ${u.colour.icon.brandHover};
26671
27136
  }
26672
- `, D = V(Bb, v, h && x, s), O = V(S, h && C), k = V(w, h && T), A = Hb(n.only(c), {
27137
+ `, D = V(Zb, v, h && x, s), O = V(S, h && C), k = V(w, h && T), A = $b(n.only(c), {
26673
27138
  collapsed: h,
26674
27139
  className: O,
26675
27140
  id: d
@@ -26696,11 +27161,11 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26696
27161
  })
26697
27162
  })]
26698
27163
  });
26699
- }, Hb = (e, t) => r(e, {
27164
+ }, $b = (e, t) => r(e, {
26700
27165
  id: t.id,
26701
27166
  collapsed: t.collapsed,
26702
27167
  className: V(t.className, e.props.className)
26703
- }), Ub = s(Vb), Wb = "ucl-uikit-dropdown-user-menu", Gb = ({ children: e, userName: t, imageUrl: n, avatarVariant: r = "image", avatarSize: i = 32, triggerAriaLabel: a = "Open user menu", dropdownClassName: o, triggerClassName: s, contentClassName: c, avatarClassName: l, userNameClassName: u, className: d, ...f }) => {
27168
+ }), ex = s(Qb), tx = "ucl-uikit-dropdown-user-menu", nx = ({ children: e, userName: t, imageUrl: n, avatarVariant: r = "image", avatarSize: i = 32, triggerAriaLabel: a = "Open user menu", dropdownClassName: o, triggerClassName: s, contentClassName: c, avatarClassName: l, userNameClassName: u, className: d, ...f }) => {
26704
27169
  let [p] = $(), m = nf(`(min-width: ${p.breakpoints.desktop}px)`), h = H`
26705
27170
  display: inline-flex;
26706
27171
  align-items: center;
@@ -26733,11 +27198,11 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26733
27198
  box-shadow: ${p.boxShadow.y1};
26734
27199
  border-radius: ${p.radius.r4};
26735
27200
  }
26736
- `, x = V(Wb, o), S = V(h, d, s), C = V(g, u), w = V(_, l), T = V(v, c);
26737
- return /* @__PURE__ */ b(jb, {
27201
+ `, x = V(tx, o), S = V(h, d, s), C = V(g, u), w = V(_, l), T = V(v, c);
27202
+ return /* @__PURE__ */ b(Hb, {
26738
27203
  className: x,
26739
27204
  ...f,
26740
- children: [/* @__PURE__ */ y(jb.Trigger, { children: /* @__PURE__ */ b("div", {
27205
+ children: [/* @__PURE__ */ y(Hb.Trigger, { children: /* @__PURE__ */ b("div", {
26741
27206
  tabIndex: 0,
26742
27207
  role: "button",
26743
27208
  "aria-label": a,
@@ -26759,12 +27224,12 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26759
27224
  }),
26760
27225
  /* @__PURE__ */ y(U.ChevronDown, { size: 20 })
26761
27226
  ]
26762
- }) }), /* @__PURE__ */ y(jb.Content, {
27227
+ }) }), /* @__PURE__ */ y(Hb.Content, {
26763
27228
  className: T,
26764
27229
  children: e
26765
27230
  })]
26766
27231
  });
26767
- }, Kb = "ucl-uikit-layout", qb = ({ children: e, testId: t = Kb, className: n, ...r }) => {
27232
+ }, rx = "ucl-uikit-layout", ix = ({ children: e, testId: t = rx, className: n, ...r }) => {
26768
27233
  let [i] = $(), a = V(H`
26769
27234
  display: grid;
26770
27235
  grid-template-columns: repeat(4, 1fr);
@@ -26800,13 +27265,13 @@ var Mb = ({ isDesktop: e, label: t, triggerAriaLabelCollapsed: n, triggerAriaLab
26800
27265
  ...r,
26801
27266
  children: e
26802
27267
  });
26803
- }, Jb = "ucl-uikit-main", Yb = ({ layout: e = !1, testId: t = Jb, className: n, children: r, ...i }) => {
26804
- let a = V(Jb, n);
27268
+ }, ax = "ucl-uikit-main", ox = ({ layout: e = !1, testId: t = ax, className: n, children: r, ...i }) => {
27269
+ let a = V(ax, n);
26805
27270
  return /* @__PURE__ */ y("main", {
26806
27271
  className: a,
26807
27272
  "data-testid": t,
26808
27273
  ...i,
26809
- children: e ? /* @__PURE__ */ y(qb, { children: r }) : r
27274
+ children: e ? /* @__PURE__ */ y(ix, { children: r }) : r
26810
27275
  });
26811
27276
  };
26812
- export { up as APP_HEADER_HEIGHT, U_ as Accordion, v_ as Alert, dp as AppHeader, km as AppMenu, Cf as Avatar, Df as Badge, kf as BaseCheckbox, zv as BaseDialog, Cd as Blanket, Ap as Breadcrumbs, Ep as BreadcrumbsLegacy, bp as BreadcrumbsNew, qd as Button, Ry as Calendar, Zd as Callout, Np as Checkbox, gm as Chip, ul as ConfidentialDisplayField, il as ConfidentialInput, rb as CookieNotice, hb as CookiesNotice, ay as Datepicker, Iv as Dialog, sl as DisplayField, kh as Divider, zb as DrawerMenu, Jy as DropZone, jb as Dropdown, Fb as DropdownMenu, Gb as DropdownUserMenu, Uv as ErrorDialog, Vv as FeedbackDialog, Uc as Field, Xy as FileInput, lf as Filter, mf as Filters, ig as Footer, Qh as FooterNew, xg as Header, Ig as HeaderDraft, vg as HeaderNew, Yd as Heading, Yd as HeadingNew, U as Icon, Qc as IconButton, Yc as Input, ef as Label, Ip as LabelledCheckbox, Yv as LabelledRadio, qb as Layout, hl as Link, Yb as Main, Dh as Menu, Sh as MenuLegacy, ch as MenuNew, Yf as Modal, cy as NativeDatepicker, Eg as NavigationBar, Ed as Overlay, Dv as Pagination, Ic as Paragraph, Ic as ParagraphNew, Nf as ProgressBar, df as QuickFilter, Kv as Radio, _b as Search, nm as Select, Ub as Sidebar, Uf as Skeleton, yb as SkipToContent, gf as Snackbar, yf as Snackbars, yl as Spinner, _l as StandaloneLink, l_ as Table, P_ as Tabs, Mc as Text, Kf as Textarea, kc as ThemeConsumer, Oc as ThemeContextConsumer, Dc as ThemeContextProvider, $y as Timepicker, Vp as Toggle, pm as ToggleGroup, kd as Tooltip, rv as UIKIT_DND_DATA_TYPE, Xf as UclLogo, Zf as UclLogoNegativeSpace, np as UclLogoNew, Gy as WeekPicker, Q_ as announce, H as css, V as cx, cc as darkTheme, ac as lightTheme, X as theme, xc as themes, yc as uikitFontUrls, bc as uikitFonts, yv as useDraggable, gv as useDropZone, nv as useFocusTrap, nf as useMediaQuery, $ as useTheme };
27277
+ export { up as APP_HEADER_HEIGHT, ev as Accordion, k_ as Alert, dp as AppHeader, km as AppMenu, Cf as Avatar, Df as Badge, kf as BaseCheckbox, Xv as BaseDialog, Cd as Blanket, Ap as Breadcrumbs, Ep as BreadcrumbsLegacy, bp as BreadcrumbsNew, qd as Button, Yy as Calendar, Zd as Callout, Np as Checkbox, gm as Chip, ul as ConfidentialDisplayField, il as ConfidentialInput, mb as CookieNotice, Eb as CookiesNotice, gy as Datepicker, qv as Dialog, sl as DisplayField, Bh as Divider, Xb as DrawerMenu, ab as DropZone, Hb as Dropdown, Kb as DropdownMenu, nx as DropdownUserMenu, ey as ErrorDialog, Qv as FeedbackDialog, Uc as Field, sb as FileInput, lf as Filter, mf as Filters, hg as Footer, lg as FooterNew, Mg as Header, qg as HeaderDraft, kg as HeaderNew, Yd as Heading, Yd as HeadingNew, U as Icon, Qc as IconButton, Yc as Input, ef as Label, Ip as LabelledCheckbox, oy as LabelledRadio, ix as Layout, hl as Link, ox as Main, Dh as Menu, Sh as MenuLegacy, ch as MenuNew, Yf as Modal, Rh as MultiSelect, yy as NativeDatepicker, Lg as NavigationBar, Ed as Overlay, Rv as Pagination, Ic as Paragraph, Ic as ParagraphNew, Nf as ProgressBar, df as QuickFilter, ry as Radio, Ob as Search, nm as Select, ex as Sidebar, Uf as Skeleton, Ab as SkipToContent, gf as Snackbar, yf as Snackbars, yl as Spinner, _l as StandaloneLink, b_ as Table, G_ as Tabs, Mc as Text, Kf as Textarea, kc as ThemeConsumer, Oc as ThemeContextConsumer, Dc as ThemeContextProvider, ub as Timepicker, Vp as Toggle, pm as ToggleGroup, kd as Tooltip, mv as UIKIT_DND_DATA_TYPE, Xf as UclLogo, Zf as UclLogoNegativeSpace, np as UclLogoNew, nb as WeekPicker, lv as announce, H as css, V as cx, cc as darkTheme, ac as lightTheme, X as theme, xc as themes, yc as uikitFontUrls, bc as uikitFonts, Av as useDraggable, Dv as useDropZone, pv as useFocusTrap, nf as useMediaQuery, $ as useTheme };