@uva-glass/component-library 3.27.3 → 3.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as b, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as g, useState as x, useRef as y, useEffect as B } from "react";
2
+ import { forwardRef as g, useState as x, useRef as B, useEffect as y } from "react";
3
3
  import { c as C } from "../../clsx-OuTLNxxd.js";
4
4
  import '../../assets/InputField.css';const t = {
5
5
  "input-field-wrapper": "_input-field-wrapper_ndcss_1",
@@ -22,8 +22,8 @@ import '../../assets/InputField.css';const t = {
22
22
  onClear: c,
23
23
  ...o
24
24
  }, i) => {
25
- const [a, m] = x(0), l = y(null);
26
- B(() => {
25
+ const [a, m] = x(0), l = B(null);
26
+ y(() => {
27
27
  l.current && m(l.current.offsetWidth);
28
28
  }, [e]);
29
29
  const h = () => {
@@ -47,7 +47,7 @@ import '../../assets/InputField.css';const t = {
47
47
  style: { paddingRight: e && n ? a : void 0 }
48
48
  }
49
49
  ),
50
- e && n && /* @__PURE__ */ r(
50
+ !!e && n && /* @__PURE__ */ r(
51
51
  "button",
52
52
  {
53
53
  type: "button",
@@ -1 +1 @@
1
- {"version":3,"file":"InputField.js","sources":["../../../src/components/InputField/InputField.tsx"],"sourcesContent":["import { forwardRef, useEffect, useRef, useState } from 'react';\nimport { clsx } from 'clsx';\n\nimport type { InputHTMLAttributes, ReactNode } from 'react';\n\nimport styles from './InputField.module.css';\n\nexport interface InputFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'style'> {\n /** The variant to render. */\n variant?: 'large';\n /** The width to render. */\n width?: 'small' | 'compact';\n /** The type of the input element. */\n type?: 'text' | 'password' | 'email';\n /** The background color of the input. InputField is by default transparent. */\n background?: 'white';\n /** The id of the input element. */\n id: string;\n /** An element that represents a clear button. */\n clearTrigger?: ReactNode;\n /** The callback that is invoked when the clear button is triggered. */\n onClear?: () => void;\n}\n\n/** Represents a component that renders an input field which can have a clear button. */\nexport const InputField = forwardRef<HTMLInputElement, InputFieldProps>(\n (\n {\n autoComplete = 'off',\n id,\n value,\n variant,\n width,\n type = 'text',\n background,\n clearTrigger,\n onClear,\n ...restProps\n }: InputFieldProps,\n forwardedRef\n ) => {\n const [clearButtonWidth, setClearButtonWidth] = useState<number>(0);\n const clearButtonRef = useRef<HTMLButtonElement>(null);\n\n useEffect(() => {\n if (clearButtonRef.current) {\n setClearButtonWidth(clearButtonRef.current.offsetWidth);\n }\n }, [value]);\n\n const handleClearTriggerClick = () => {\n if (onClear && forwardedRef && 'current' in forwardedRef && forwardedRef.current) {\n onClear();\n forwardedRef.current.focus();\n }\n };\n\n return (\n <div className={styles['input-field-wrapper']}>\n <input\n {...restProps}\n autoComplete={autoComplete}\n ref={forwardedRef}\n id={id}\n className={clsx(styles['input-field'], {\n [styles['input-field--large']]: variant === 'large',\n [styles[`input-field--${width}`]]: width,\n [styles[`input-field--${background}`]]: background,\n })}\n type={type}\n value={value}\n style={{ paddingRight: value && clearTrigger ? clearButtonWidth : undefined }}\n />\n {value && clearTrigger && (\n <button\n type=\"button\"\n className={styles['input-field__clear-button']}\n onClick={handleClearTriggerClick}\n ref={clearButtonRef}\n aria-label={`clear trigger for ${id}`}\n >\n {clearTrigger}\n </button>\n )}\n </div>\n );\n }\n);\n"],"names":["InputField","forwardRef","autoComplete","id","value","variant","width","type","background","clearTrigger","onClear","restProps","forwardedRef","clearButtonWidth","setClearButtonWidth","useState","clearButtonRef","useRef","useEffect","handleClearTriggerClick","jsxs","styles","jsx","clsx"],"mappings":";;;;;;;;;;;GAyBaA,IAAaC;AAAA,EACxB,CACE;AAAA,IACE,cAAAC,IAAe;AAAA,IACf,IAAAC;AAAA,IACA,OAAAC;AAAA,IACA,SAAAC;AAAA,IACA,OAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,YAAAC;AAAA,IACA,cAAAC;AAAA,IACA,SAAAC;AAAA,IACA,GAAGC;AAAA,KAELC,MACG;AACH,UAAM,CAACC,GAAkBC,CAAmB,IAAIC,EAAiB,CAAC,GAC5DC,IAAiBC,EAA0B,IAAI;AAErD,IAAAC,EAAU,MAAM;AACd,MAAIF,EAAe,WACGF,EAAAE,EAAe,QAAQ,WAAW;AAAA,IACxD,GACC,CAACZ,CAAK,CAAC;AAEV,UAAMe,IAA0B,MAAM;AACpC,MAAIT,KAAWE,KAAgB,aAAaA,KAAgBA,EAAa,YAC/DF,EAAA,GACRE,EAAa,QAAQ,MAAM;AAAA,IAE/B;AAEA,WACG,gBAAAQ,EAAA,OAAA,EAAI,WAAWC,EAAO,qBAAqB,GAC1C,UAAA;AAAA,MAAA,gBAAAC;AAAA,QAAC;AAAA,QAAA;AAAA,UACE,GAAGX;AAAA,UACJ,cAAAT;AAAA,UACA,KAAKU;AAAA,UACL,IAAAT;AAAA,UACA,WAAWoB,EAAKF,EAAO,aAAa,GAAG;AAAA,YACrC,CAACA,EAAO,oBAAoB,CAAC,GAAGhB,MAAY;AAAA,YAC5C,CAACgB,EAAO,gBAAgBf,CAAK,EAAE,CAAC,GAAGA;AAAA,YACnC,CAACe,EAAO,gBAAgBb,CAAU,EAAE,CAAC,GAAGA;AAAA,UAAA,CACzC;AAAA,UACD,MAAAD;AAAA,UACA,OAAAH;AAAA,UACA,OAAO,EAAE,cAAcA,KAASK,IAAeI,IAAmB,OAAU;AAAA,QAAA;AAAA,MAC9E;AAAA,MACCT,KAASK,KACR,gBAAAa;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,WAAWD,EAAO,2BAA2B;AAAA,UAC7C,SAASF;AAAA,UACT,KAAKH;AAAA,UACL,cAAY,qBAAqBb,CAAE;AAAA,UAElC,UAAAM;AAAA,QAAA;AAAA,MAAA;AAAA,IACH,GAEJ;AAAA,EAAA;AAGN;"}
1
+ {"version":3,"file":"InputField.js","sources":["../../../src/components/InputField/InputField.tsx"],"sourcesContent":["import { forwardRef, useEffect, useRef, useState } from 'react';\nimport { clsx } from 'clsx';\n\nimport type { InputHTMLAttributes, ReactNode } from 'react';\n\nimport styles from './InputField.module.css';\n\nexport interface InputFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'style'> {\n /** The variant to render. */\n variant?: 'large';\n /** The width to render. */\n width?: 'small' | 'compact';\n /** The type of the input element. */\n type?: 'text' | 'password' | 'email';\n /** The background color of the input. InputField is by default transparent. */\n background?: 'white';\n /** The id of the input element. */\n id: string;\n /** An element that represents a clear button. */\n clearTrigger?: ReactNode;\n /** The callback that is invoked when the clear button is triggered. */\n onClear?: () => void;\n}\n\n/** Represents a component that renders an input field which can have a clear button. */\nexport const InputField = forwardRef<HTMLInputElement, InputFieldProps>(\n (\n {\n autoComplete = 'off',\n id,\n value,\n variant,\n width,\n type = 'text',\n background,\n clearTrigger,\n onClear,\n ...restProps\n }: InputFieldProps,\n forwardedRef\n ) => {\n const [clearButtonWidth, setClearButtonWidth] = useState<number>(0);\n const clearButtonRef = useRef<HTMLButtonElement>(null);\n\n useEffect(() => {\n if (clearButtonRef.current) {\n setClearButtonWidth(clearButtonRef.current.offsetWidth);\n }\n }, [value]);\n\n const handleClearTriggerClick = () => {\n if (onClear && forwardedRef && 'current' in forwardedRef && forwardedRef.current) {\n onClear();\n forwardedRef.current.focus();\n }\n };\n\n return (\n <div className={styles['input-field-wrapper']}>\n <input\n {...restProps}\n autoComplete={autoComplete}\n ref={forwardedRef}\n id={id}\n className={clsx(styles['input-field'], {\n [styles['input-field--large']]: variant === 'large',\n [styles[`input-field--${width}`]]: width,\n [styles[`input-field--${background}`]]: background,\n })}\n type={type}\n value={value}\n style={{ paddingRight: value && clearTrigger ? clearButtonWidth : undefined }}\n />\n {Boolean(value) && clearTrigger && (\n <button\n type=\"button\"\n className={styles['input-field__clear-button']}\n onClick={handleClearTriggerClick}\n ref={clearButtonRef}\n aria-label={`clear trigger for ${id}`}\n >\n {clearTrigger}\n </button>\n )}\n </div>\n );\n }\n);\n"],"names":["InputField","forwardRef","autoComplete","id","value","variant","width","type","background","clearTrigger","onClear","restProps","forwardedRef","clearButtonWidth","setClearButtonWidth","useState","clearButtonRef","useRef","useEffect","handleClearTriggerClick","jsxs","styles","jsx","clsx"],"mappings":";;;;;;;;;;;GAyBaA,IAAaC;AAAA,EACxB,CACE;AAAA,IACE,cAAAC,IAAe;AAAA,IACf,IAAAC;AAAA,IACA,OAAAC;AAAA,IACA,SAAAC;AAAA,IACA,OAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,YAAAC;AAAA,IACA,cAAAC;AAAA,IACA,SAAAC;AAAA,IACA,GAAGC;AAAA,KAELC,MACG;AACH,UAAM,CAACC,GAAkBC,CAAmB,IAAIC,EAAiB,CAAC,GAC5DC,IAAiBC,EAA0B,IAAI;AAErD,IAAAC,EAAU,MAAM;AACd,MAAIF,EAAe,WACGF,EAAAE,EAAe,QAAQ,WAAW;AAAA,IACxD,GACC,CAACZ,CAAK,CAAC;AAEV,UAAMe,IAA0B,MAAM;AACpC,MAAIT,KAAWE,KAAgB,aAAaA,KAAgBA,EAAa,YAC/DF,EAAA,GACRE,EAAa,QAAQ,MAAM;AAAA,IAE/B;AAEA,WACG,gBAAAQ,EAAA,OAAA,EAAI,WAAWC,EAAO,qBAAqB,GAC1C,UAAA;AAAA,MAAA,gBAAAC;AAAA,QAAC;AAAA,QAAA;AAAA,UACE,GAAGX;AAAA,UACJ,cAAAT;AAAA,UACA,KAAKU;AAAA,UACL,IAAAT;AAAA,UACA,WAAWoB,EAAKF,EAAO,aAAa,GAAG;AAAA,YACrC,CAACA,EAAO,oBAAoB,CAAC,GAAGhB,MAAY;AAAA,YAC5C,CAACgB,EAAO,gBAAgBf,CAAK,EAAE,CAAC,GAAGA;AAAA,YACnC,CAACe,EAAO,gBAAgBb,CAAU,EAAE,CAAC,GAAGA;AAAA,UAAA,CACzC;AAAA,UACD,MAAAD;AAAA,UACA,OAAAH;AAAA,UACA,OAAO,EAAE,cAAcA,KAASK,IAAeI,IAAmB,OAAU;AAAA,QAAA;AAAA,MAC9E;AAAA,MACC,EAAQT,KAAUK,KACjB,gBAAAa;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,WAAWD,EAAO,2BAA2B;AAAA,UAC7C,SAASF;AAAA,UACT,KAAKH;AAAA,UACL,cAAY,qBAAqBb,CAAE;AAAA,UAElC,UAAAM;AAAA,QAAA;AAAA,MAAA;AAAA,IACH,GAEJ;AAAA,EAAA;AAGN;"}
@@ -1,12 +1,12 @@
1
- import { jsx as a, jsxs as i } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as _ } from "react/jsx-runtime";
2
2
  import '../../assets/MetaDataList.css';const t = {
3
- "meta-data-list": "_meta-data-list_en1ef_1",
4
- "meta-data-list__item": "_meta-data-list__item_en1ef_5",
5
- "meta-data-list__term": "_meta-data-list__term_en1ef_16",
6
- "meta-data-list__description": "_meta-data-list__description_en1ef_20"
7
- }, m = ({ items: s }) => /* @__PURE__ */ a("dl", { className: t["meta-data-list"], children: Object.entries(s).map(([e, _]) => /* @__PURE__ */ i("div", { className: t["meta-data-list__item"], children: [
3
+ "meta-data-list": "_meta-data-list_1ripo_1",
4
+ "meta-data-list__item": "_meta-data-list__item_1ripo_5",
5
+ "meta-data-list__term": "_meta-data-list__term_1ripo_16",
6
+ "meta-data-list__description": "_meta-data-list__description_1ripo_20"
7
+ }, m = ({ items: i }) => /* @__PURE__ */ a("dl", { className: t["meta-data-list"], children: Object.entries(i).map(([e, s]) => /* @__PURE__ */ _("div", { className: t["meta-data-list__item"], children: [
8
8
  /* @__PURE__ */ a("dt", { className: t["meta-data-list__term"], children: e }),
9
- /* @__PURE__ */ a("dd", { className: t["meta-data-list__description"], children: _ })
9
+ /* @__PURE__ */ a("dd", { className: t["meta-data-list__description"], children: s })
10
10
  ] }, e)) });
11
11
  export {
12
12
  m as MetaDataList
@@ -1,102 +1,102 @@
1
- import { jsx as o, Fragment as $, jsxs as c } from "react/jsx-runtime";
1
+ import { jsx as a, Fragment as $, jsxs as c } from "react/jsx-runtime";
2
2
  import { useDialog as A } from "@react-aria/dialog";
3
3
  import { FocusScope as C } from "@react-aria/focus";
4
4
  import { useModal as K, useOverlay as M, usePreventScroll as U, OverlayContainer as V } from "@react-aria/overlays";
5
5
  import { c as i } from "../../clsx-OuTLNxxd.js";
6
- import { useRef as m, useState as f, useEffect as q } from "react";
6
+ import { useRef as d, useState as f, useEffect as q } from "react";
7
7
  import { OverlayCloseButton as G } from "../OverlayCloseButton/OverlayCloseButton.js";
8
8
  import { Spinner as J } from "../Spinner/Spinner.js";
9
9
  import { Backdrop as O } from "../Backdrop/Backdrop.js";
10
10
  import '../../assets/PageOverlay.css';const e = {
11
- "page-overlay__container": "_page-overlay__container_1oudu_1",
12
- "page-overlay": "_page-overlay_1oudu_1",
13
- "page-overlay--full-screen": "_page-overlay--full-screen_1oudu_19",
14
- "page-overlay--with-gutters": "_page-overlay--with-gutters_1oudu_23",
15
- "page-overlay__content": "_page-overlay__content_1oudu_28",
16
- "page-overlay__content--grey": "_page-overlay__content--grey_1oudu_39",
17
- "page-overlay__content--white": "_page-overlay__content--white_1oudu_43",
18
- "page-overlay__children": "_page-overlay__children_1oudu_47",
19
- "page-overlay__title-wrapper": "_page-overlay__title-wrapper_1oudu_51",
20
- "page-overlay__title": "_page-overlay__title_1oudu_51",
21
- "page-overlay__buttons-bar": "_page-overlay__buttons-bar_1oudu_62",
22
- "page-overlay__buttons-bar--shadow": "_page-overlay__buttons-bar--shadow_1oudu_88",
23
- "page-overlay__close": "_page-overlay__close_1oudu_94"
11
+ "page-overlay__container": "_page-overlay__container_x277a_1",
12
+ "page-overlay": "_page-overlay_x277a_1",
13
+ "page-overlay--full-screen": "_page-overlay--full-screen_x277a_19",
14
+ "page-overlay--with-gutters": "_page-overlay--with-gutters_x277a_23",
15
+ "page-overlay__content": "_page-overlay__content_x277a_28",
16
+ "page-overlay__content--grey": "_page-overlay__content--grey_x277a_39",
17
+ "page-overlay__content--white": "_page-overlay__content--white_x277a_43",
18
+ "page-overlay__children": "_page-overlay__children_x277a_47",
19
+ "page-overlay__title-wrapper": "_page-overlay__title-wrapper_x277a_51",
20
+ "page-overlay__title": "_page-overlay__title_x277a_51",
21
+ "page-overlay__buttons-bar": "_page-overlay__buttons-bar_x277a_62",
22
+ "page-overlay__buttons-bar--shadow": "_page-overlay__buttons-bar--shadow_x277a_88",
23
+ "page-overlay__close": "_page-overlay__close_x277a_94"
24
24
  };
25
25
  function le({
26
26
  buttons: t,
27
27
  children: h,
28
- isLoading: b,
29
- spinnerAriaValueText: w = "Loading",
30
- closeButtonAriaValueText: S = "Close",
31
- isOpen: a,
32
- noValidate: N = !1,
33
- onClose: u,
34
- onSubmit: P,
28
+ isLoading: x,
29
+ spinnerAriaValueText: b = "Loading",
30
+ closeButtonAriaValueText: w = "Close",
31
+ isOpen: r,
32
+ noValidate: S = !1,
33
+ onClose: p,
34
+ onSubmit: N,
35
35
  title: _,
36
36
  headerContent: n,
37
- variant: p = "full-screen",
38
- contentBackgroundColor: T = "grey"
37
+ variant: g = "full-screen",
38
+ contentBackgroundColor: P = "grey"
39
39
  }) {
40
- const s = m(null), g = m(null), [E, x] = f(!1), [L, B] = f(!1), { dialogProps: F, titleProps: H } = A({ role: "dialog" }, s), { modalProps: k } = K({ isDisabled: !a }), { overlayProps: z, underlayProps: D } = M({ isOpen: a, onClose: u }, s);
41
- U({ isDisabled: !a }), q(() => {
42
- const r = g.current;
43
- if (!r) return;
44
- function v() {
45
- const d = r.scrollHeight, y = r.clientHeight, j = r.scrollTop;
46
- x(d > y), B(j + y >= d);
40
+ const s = d(null), v = d(null), [T, E] = f(!1), [L, B] = f(!1), { dialogProps: F, titleProps: H } = A({ role: "dialog" }, s), { modalProps: k } = K({ isDisabled: !r }), { overlayProps: z, underlayProps: D } = M({ isOpen: r, onClose: p }, s);
41
+ U({ isDisabled: !r }), q(() => {
42
+ const o = v.current;
43
+ if (!o) return;
44
+ function y() {
45
+ const u = o.scrollHeight, m = o.clientHeight, j = o.scrollTop;
46
+ E(u > m), B(j + m >= u);
47
47
  }
48
48
  function l() {
49
- v();
49
+ y();
50
50
  }
51
- r.addEventListener("scroll", l), window.addEventListener("resize", l);
51
+ o.addEventListener("scroll", l), window.addEventListener("resize", l);
52
52
  const R = setTimeout(() => {
53
- v();
53
+ y();
54
54
  }, 0);
55
55
  return () => {
56
- r.removeEventListener("scroll", l), window.removeEventListener("resize", l), clearTimeout(R);
56
+ o.removeEventListener("scroll", l), window.removeEventListener("resize", l), clearTimeout(R);
57
57
  };
58
- }, [a, n]);
59
- function I(r) {
60
- r.stopPropagation();
58
+ }, [r, n]);
59
+ function I(o) {
60
+ o.stopPropagation();
61
61
  }
62
- return a ? /* @__PURE__ */ o(V, { className: e["page-overlay__container"], children: /* @__PURE__ */ o(O, { ...D, children: b ? /* @__PURE__ */ o(J, { ariaValueText: w }) : /* @__PURE__ */ o($, { children: /* @__PURE__ */ o(C, { autoFocus: !0, contain: !0, restoreFocus: !0, children: /* @__PURE__ */ c(
62
+ return r ? /* @__PURE__ */ a(V, { className: e["page-overlay__container"], children: /* @__PURE__ */ a(O, { ...D, children: x ? /* @__PURE__ */ a(J, { ariaValueText: b }) : /* @__PURE__ */ a($, { children: /* @__PURE__ */ a(C, { autoFocus: !0, contain: !0, restoreFocus: !0, children: /* @__PURE__ */ c(
63
63
  "div",
64
64
  {
65
65
  ...F,
66
66
  ...k,
67
67
  ...z,
68
68
  className: i(e["page-overlay"], {
69
- [e[`page-overlay--${p}`]]: p
69
+ [e[`page-overlay--${g}`]]: g
70
70
  }),
71
71
  onKeyUp: I,
72
72
  role: "presentation",
73
73
  ref: s,
74
74
  children: [
75
75
  (_ || n) && /* @__PURE__ */ c("div", { className: e["page-overlay__title-wrapper"], children: [
76
- _ && /* @__PURE__ */ o("h1", { ...H, className: e["page-overlay__title"], children: _ }),
76
+ _ && /* @__PURE__ */ a("h1", { ...H, className: e["page-overlay__title"], children: _ }),
77
77
  n,
78
- /* @__PURE__ */ o("span", { className: e["page-overlay__close"], children: /* @__PURE__ */ o(G, { "aria-label": S, onClick: u }) })
78
+ /* @__PURE__ */ a("span", { className: e["page-overlay__close"], children: /* @__PURE__ */ a(G, { "aria-label": w, onClick: p }) })
79
79
  ] }),
80
80
  /* @__PURE__ */ c(
81
81
  "form",
82
82
  {
83
83
  className: i(
84
84
  e["page-overlay__content"],
85
- e[`page-overlay__content--${T}`],
85
+ e[`page-overlay__content--${P}`],
86
86
  {
87
87
  [e["page-overlay--content-with-buttons"]]: t
88
88
  }
89
89
  ),
90
- onSubmit: P,
91
- noValidate: N,
92
- ref: g,
90
+ onSubmit: N,
91
+ noValidate: S,
92
+ ref: v,
93
93
  children: [
94
- /* @__PURE__ */ o("div", { className: e["page-overlay__children"], children: h }),
95
- t && /* @__PURE__ */ o(
94
+ /* @__PURE__ */ a("div", { className: e["page-overlay__children"], children: h }),
95
+ t && /* @__PURE__ */ a(
96
96
  "div",
97
97
  {
98
98
  className: i(e["page-overlay__buttons-bar"], {
99
- [e["page-overlay__buttons-bar--shadow"]]: E && !L
99
+ [e["page-overlay__buttons-bar--shadow"]]: T && !L
100
100
  }),
101
101
  children: t
102
102
  }
@@ -1,11 +1,11 @@
1
1
  import { jsxs as d, jsx as a } from "react/jsx-runtime";
2
2
  import { c as b } from "../../clsx-OuTLNxxd.js";
3
3
  import '../../assets/RadioButton.css';const t = {
4
- "radio-button": "_radio-button_175ij_1",
5
- "radio-button__input": "_radio-button__input_175ij_8",
6
- "radio-button__label": "_radio-button__label_175ij_13",
7
- "radio-button__description": "_radio-button__description_175ij_19",
8
- "radio-button--gap-large": "_radio-button--gap-large_175ij_34"
4
+ "radio-button": "_radio-button_1i4mp_1",
5
+ "radio-button__input": "_radio-button__input_1i4mp_8",
6
+ "radio-button__label": "_radio-button__label_1i4mp_17",
7
+ "radio-button__description": "_radio-button__description_1i4mp_23",
8
+ "radio-button--gap-large": "_radio-button--gap-large_1i4mp_38"
9
9
  }, s = ({ id: o, label: r, gap: _ = "normal", description: i, ...n }) => /* @__PURE__ */ d("div", { className: b(t["radio-button"], t[`radio-button--gap-${_}`]), children: [
10
10
  /* @__PURE__ */ a(
11
11
  "input",
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as C } from "react/jsx-runtime";
2
2
  import { c as f } from "../../../clsx-OuTLNxxd.js";
3
3
  import { forwardRef as E, useRef as g, useEffect as c } from "react";
4
- import { s as t } from "../../../SelectListbox.module-DHFU0NjU.js";
4
+ import { s as t } from "../../../SelectListbox.module-yzXaWwsm.js";
5
5
  import { Icon as L } from "../../Icon/Icon.js";
6
6
  import { useSelect as N } from "../SelectProvider.js";
7
7
  const O = E((d, u) => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
2
  import { useRef as i, useCallback as u, useEffect as l } from "react";
3
3
  import { useSelect as m } from "../SelectProvider.js";
4
- import { s as f } from "../../../SelectListbox.module-DHFU0NjU.js";
4
+ import { s as f } from "../../../SelectListbox.module-yzXaWwsm.js";
5
5
  const E = ({ children: o }) => {
6
6
  const { isOpen: r, setIsOpen: n } = m(), t = i(null), e = u(
7
7
  ({ target: s }) => {
@@ -2,7 +2,7 @@ import { jsxs as D, Fragment as h, jsx as m } from "react/jsx-runtime";
2
2
  import { c as y } from "../../../clsx-OuTLNxxd.js";
3
3
  import { useRef as O, useEffect as d } from "react";
4
4
  import { useSelect as x } from "../SelectProvider.js";
5
- import { s as o } from "../../../SelectListbox.module-DHFU0NjU.js";
5
+ import { s as o } from "../../../SelectListbox.module-yzXaWwsm.js";
6
6
  const j = ({ option: l, index: t, dividerAfter: u, children: v }) => {
7
7
  const i = O(null), { isOpen: r, activeIndex: s, setActiveIndex: c, selectedValue: f, setSelectedValue: p, setIsOpen: n, options: a } = x(), w = (e) => {
8
8
  p(a[e]), n(!1);
@@ -1,6 +1,6 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as m, useRef as x } from "react";
3
- import { s as i } from "../../../SelectListbox.module-DHFU0NjU.js";
3
+ import { s as i } from "../../../SelectListbox.module-yzXaWwsm.js";
4
4
  import { useSelect as a } from "../SelectProvider.js";
5
5
  const h = m((l, e) => {
6
6
  const { style: t, children: o } = l, { listboxId: r, isOpen: c } = a(), n = x(null);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uva-glass/component-library",
3
3
  "author": "Team Glass - Frontend vrienden",
4
4
  "private": false,
5
- "version": "3.27.3",
5
+ "version": "3.28.1",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -45,9 +45,9 @@
45
45
  "devDependencies": {
46
46
  "@commitlint/cli": "^19.8.1",
47
47
  "@commitlint/config-conventional": "^19.8.1",
48
- "@react-aria/button": "^3.13.2",
49
- "@react-aria/dialog": "^3.5.26",
50
- "@react-aria/overlays": "^3.27.2",
48
+ "@react-aria/button": "^3.13.3",
49
+ "@react-aria/dialog": "^3.5.27",
50
+ "@react-aria/overlays": "^3.27.3",
51
51
  "@react-types/dialog": "^3.5.19",
52
52
  "@semantic-release/git": "^10.0.1",
53
53
  "@semantic-release/gitlab": "^13.2.5",
@@ -112,7 +112,7 @@
112
112
  "lexical": "^0.32.1"
113
113
  },
114
114
  "optionalDependencies": {
115
- "@rollup/rollup-linux-x64-gnu": "^4.42.0",
115
+ "@rollup/rollup-linux-x64-gnu": "^4.43.0",
116
116
  "@rspack/binding-darwin-arm64": "1.3.15",
117
117
  "@rspack/binding-linux-x64-gnu": "1.3.15",
118
118
  "@ast-grep/napi-linux-x64-gnu": "0.38.5"
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectListbox.module-DHFU0NjU.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}