@uva-glass/component-library 3.19.1 → 3.19.2

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 (35) hide show
  1. package/dist/assets/Card.css +1 -1
  2. package/dist/assets/Checkbox.css +1 -1
  3. package/dist/assets/CheckboxButton.css +1 -1
  4. package/dist/assets/CheckboxButtonBar.css +1 -1
  5. package/dist/assets/CheckboxTree.css +1 -1
  6. package/dist/assets/Chip.css +1 -1
  7. package/dist/assets/Drawer.css +1 -1
  8. package/dist/assets/EmptyStateDataDisplay.css +1 -1
  9. package/dist/assets/FeedbackBar.css +1 -1
  10. package/dist/assets/FeedbackBox.css +1 -1
  11. package/dist/assets/FormInput.css +1 -1
  12. package/dist/assets/Icon.css +1 -1
  13. package/dist/assets/IconButton.css +1 -1
  14. package/dist/assets/InfoMessage.css +1 -1
  15. package/dist/assets/Input.css +1 -1
  16. package/dist/assets/InputField.css +1 -1
  17. package/dist/assets/Label.css +1 -1
  18. package/dist/components/Card/Card.js +23 -23
  19. package/dist/components/Checkbox/Checkbox.js +3 -3
  20. package/dist/components/CheckboxButton/CheckboxButton.js +21 -21
  21. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +20 -20
  22. package/dist/components/CheckboxTree/CheckboxTree.js +40 -40
  23. package/dist/components/Chip/Chip.js +8 -8
  24. package/dist/components/Drawer/Drawer.js +28 -28
  25. package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js +20 -20
  26. package/dist/components/FeedbackBar/FeedbackBar.js +15 -15
  27. package/dist/components/FeedbackBox/FeedbackBox.js +13 -13
  28. package/dist/components/FormInput/FormInput.js +19 -19
  29. package/dist/components/Icon/Icon.stories.js +9 -9
  30. package/dist/components/IconButton/IconButton.js +10 -10
  31. package/dist/components/InfoMessage/InfoMessage.js +5 -5
  32. package/dist/components/Input/Input.js +14 -14
  33. package/dist/components/InputField/InputField.js +40 -40
  34. package/dist/components/Label/Label.js +13 -13
  35. package/package.json +7 -7
@@ -1,20 +1,20 @@
1
- import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
- import { useDialog as y } from "@react-aria/dialog";
1
+ import { jsx as r, jsxs as d } from "react/jsx-runtime";
2
+ import { useDialog as b } from "@react-aria/dialog";
3
3
  import { FocusScope as C } from "@react-aria/focus";
4
4
  import { useModal as D, useOverlay as g, usePreventScroll as N, OverlayContainer as v } from "@react-aria/overlays";
5
- import { c as P } from "../../clsx-OuTLNxxd.js";
6
- import { useState as x, useRef as S, useEffect as j } from "react";
7
- import { Backdrop as k } from "../Backdrop/Backdrop.js";
8
- import { OverlayCloseButton as B } from "../OverlayCloseButton/OverlayCloseButton.js";
9
- import '../../assets/Drawer.css';const F = "_drawer_1ytb4_1", R = "_drawer__content_1ytb4_22", T = "_drawer__header_1ytb4_32", E = "_drawer__footer_1ytb4_39", K = "_drawer__heading_1ytb4_26", M = "_drawer__buttons_1ytb4_64", r = {
10
- drawer: F,
11
- drawer__content: R,
12
- drawer__header: T,
13
- drawer__footer: E,
14
- drawer__heading: K,
15
- "drawer--open": "_drawer--open_1ytb4_59",
16
- drawer__buttons: M
17
- }, q = 200;
5
+ import { c as z } from "../../clsx-OuTLNxxd.js";
6
+ import { useState as P, useRef as x, useEffect as S } from "react";
7
+ import { Backdrop as j } from "../Backdrop/Backdrop.js";
8
+ import { OverlayCloseButton as k } from "../OverlayCloseButton/OverlayCloseButton.js";
9
+ import '../../assets/Drawer.css';const B = "_drawer_1yz6e_1", F = "_drawer__content_1yz6e_22", R = "_drawer__header_1yz6e_32", T = "_drawer__footer_1yz6e_39", E = "_drawer__heading_1yz6e_26", K = "_drawer__buttons_1yz6e_64", e = {
10
+ drawer: B,
11
+ drawer__content: F,
12
+ drawer__header: R,
13
+ drawer__footer: T,
14
+ drawer__heading: E,
15
+ "drawer--open": "_drawer--open_1yz6e_59",
16
+ drawer__buttons: K
17
+ }, M = 200;
18
18
  function U({
19
19
  buttons: s,
20
20
  children: n,
@@ -24,34 +24,34 @@ function U({
24
24
  closeButtonAriaValueText: i = "Close",
25
25
  ...w
26
26
  }) {
27
- const [m, t] = x(r.drawer), { modalProps: u } = D({ isDisabled: !o }), a = S(null);
27
+ const [m, t] = P(e.drawer), { modalProps: u } = D({ isDisabled: !o }), a = x(null);
28
28
  function _() {
29
- t(r.drawer), globalThis.setTimeout(() => {
29
+ t(e.drawer), globalThis.setTimeout(() => {
30
30
  l();
31
- }, q);
31
+ }, M);
32
32
  }
33
33
  const { overlayProps: f, underlayProps: h } = g(
34
34
  { isDismissable: !0, isKeyboardDismissDisabled: !1, isOpen: o, onClose: _ },
35
35
  a
36
- ), { dialogProps: b, titleProps: p } = y({}, a);
37
- return N({ isDisabled: !o }), j(() => {
38
- t(P(r.drawer, { [r["drawer--open"]]: o }));
39
- }, [o]), /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(k, { ...h, children: /* @__PURE__ */ e(C, { contain: !0, restoreFocus: !0, children: /* @__PURE__ */ d(
36
+ ), { dialogProps: p, titleProps: y } = b({}, a);
37
+ return N({ isDisabled: !o }), S(() => {
38
+ t(z(e.drawer, { [e["drawer--open"]]: o }));
39
+ }, [o]), /* @__PURE__ */ r(v, { children: /* @__PURE__ */ r(j, { ...h, children: /* @__PURE__ */ r(C, { contain: !0, restoreFocus: !0, children: /* @__PURE__ */ d(
40
40
  "aside",
41
41
  {
42
42
  ...u,
43
43
  ...f,
44
- ...b,
44
+ ...p,
45
45
  ...w,
46
46
  className: m,
47
47
  ref: a,
48
48
  children: [
49
- /* @__PURE__ */ d("header", { className: r.drawer__header, children: [
50
- /* @__PURE__ */ e("h1", { className: r.drawer__heading, ...p, children: c }),
51
- /* @__PURE__ */ e(B, { "aria-label": i, onClick: _ })
49
+ /* @__PURE__ */ d("header", { className: e.drawer__header, children: [
50
+ /* @__PURE__ */ r("h1", { className: e.drawer__heading, ...y, children: c }),
51
+ /* @__PURE__ */ r(k, { "aria-label": i, onClick: _ })
52
52
  ] }),
53
- /* @__PURE__ */ e("div", { className: r.drawer__content, children: n }),
54
- s && /* @__PURE__ */ e("footer", { className: r.drawer__footer, children: /* @__PURE__ */ e("div", { className: r.drawer__buttons, children: s }) })
53
+ /* @__PURE__ */ r("div", { className: e.drawer__content, children: n }),
54
+ s && /* @__PURE__ */ r("footer", { className: e.drawer__footer, children: /* @__PURE__ */ r("div", { className: e.drawer__buttons, children: s }) })
55
55
  ]
56
56
  }
57
57
  ) }) }) });
@@ -1,34 +1,34 @@
1
- import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
- import { c as l } from "../../clsx-OuTLNxxd.js";
3
- import { Icon as r } from "../Icon/Icon.js";
1
+ import { jsxs as p, jsx as t } from "react/jsx-runtime";
2
+ import { c as d } from "../../clsx-OuTLNxxd.js";
3
+ import { Icon as l } from "../Icon/Icon.js";
4
4
  import '../../assets/EmptyStateDataDisplay.css';const a = {
5
- "empty-state-data-display_wrapper": "_empty-state-data-display_wrapper_1blmp_1",
6
- "empty-state-data-display_icon-frame": "_empty-state-data-display_icon-frame_1blmp_9",
7
- "empty-state-data-display_wrapper--invert-colors": "_empty-state-data-display_wrapper--invert-colors_1blmp_19",
8
- "empty-state-data-display_icon-frame--invert-colors": "_empty-state-data-display_icon-frame--invert-colors_1blmp_23",
9
- "empty-state-data-display_text-content": "_empty-state-data-display_text-content_1blmp_27",
10
- "empty-state-data-display_label": "_empty-state-data-display_label_1blmp_33",
11
- "empty-state-data-display_paragraph": "_empty-state-data-display_paragraph_1blmp_37"
5
+ "empty-state-data-display_wrapper": "_empty-state-data-display_wrapper_14bsh_1",
6
+ "empty-state-data-display_icon-frame": "_empty-state-data-display_icon-frame_14bsh_9",
7
+ "empty-state-data-display_wrapper--invert-colors": "_empty-state-data-display_wrapper--invert-colors_14bsh_19",
8
+ "empty-state-data-display_icon-frame--invert-colors": "_empty-state-data-display_icon-frame--invert-colors_14bsh_23",
9
+ "empty-state-data-display_text-content": "_empty-state-data-display_text-content_14bsh_27",
10
+ "empty-state-data-display_label": "_empty-state-data-display_label_14bsh_33",
11
+ "empty-state-data-display_paragraph": "_empty-state-data-display_paragraph_14bsh_37"
12
12
  };
13
- function _({ label: d, paragraph: e, invertColors: p }) {
14
- return /* @__PURE__ */ s(
13
+ function m({ label: r, paragraph: e, invertColors: s }) {
14
+ return /* @__PURE__ */ p(
15
15
  "div",
16
16
  {
17
- className: l(a["empty-state-data-display_wrapper"], {
18
- [a["empty-state-data-display_wrapper--invert-colors"]]: p
17
+ className: d(a["empty-state-data-display_wrapper"], {
18
+ [a["empty-state-data-display_wrapper--invert-colors"]]: s
19
19
  }),
20
20
  children: [
21
21
  /* @__PURE__ */ t(
22
22
  "div",
23
23
  {
24
- className: l(a["empty-state-data-display_icon-frame"], {
25
- [a["empty-state-data-display_icon-frame--invert-colors"]]: p
24
+ className: d(a["empty-state-data-display_icon-frame"], {
25
+ [a["empty-state-data-display_icon-frame--invert-colors"]]: s
26
26
  }),
27
- children: /* @__PURE__ */ t(r, { name: "CubeTransparent" })
27
+ children: /* @__PURE__ */ t(l, { name: "CubeTransparent" })
28
28
  }
29
29
  ),
30
- /* @__PURE__ */ s("div", { className: a["empty-state-data-display_text-content"], children: [
31
- /* @__PURE__ */ t("label", { className: a["empty-state-data-display_label"], children: d }),
30
+ /* @__PURE__ */ p("div", { className: a["empty-state-data-display_text-content"], children: [
31
+ /* @__PURE__ */ t("label", { className: a["empty-state-data-display_label"], children: r }),
32
32
  e && /* @__PURE__ */ t("p", { className: a["empty-state-data-display_paragraph"], children: e })
33
33
  ] })
34
34
  ]
@@ -36,6 +36,6 @@ function _({ label: d, paragraph: e, invertColors: p }) {
36
36
  );
37
37
  }
38
38
  export {
39
- _ as EmptyStateDataDisplay
39
+ m as EmptyStateDataDisplay
40
40
  };
41
41
  //# sourceMappingURL=EmptyStateDataDisplay.js.map
@@ -1,27 +1,27 @@
1
- import { jsxs as r, jsx as a } from "react/jsx-runtime";
1
+ import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
2
  import { c } from "../../clsx-OuTLNxxd.js";
3
3
  import { useState as l, useEffect as _ } from "react";
4
- import { Icon as s } from "../Icon/Icon.js";
4
+ import { Icon as b } from "../Icon/Icon.js";
5
5
  import { Repeater as f } from "../Repeater/Repeater.js";
6
6
  import '../../assets/FeedbackBar.css';const e = {
7
- "feedback-bar": "_feedback-bar_aoc1x_1",
8
- "feedback-bar--visible": "_feedback-bar--visible_aoc1x_15",
9
- "feedback-bar__icon": "_feedback-bar__icon_aoc1x_21",
10
- "feedback-bar__close-button": "_feedback-bar__close-button_aoc1x_25"
11
- }, x = ({ children: b }) => {
12
- const [t, o] = l(!1);
7
+ "feedback-bar": "_feedback-bar_1exld_1",
8
+ "feedback-bar--visible": "_feedback-bar--visible_1exld_15",
9
+ "feedback-bar__icon": "_feedback-bar__icon_1exld_21",
10
+ "feedback-bar__close-button": "_feedback-bar__close-button_1exld_25"
11
+ }, x = ({ children: o }) => {
12
+ const [t, r] = l(!1);
13
13
  _(() => {
14
- o(!0);
14
+ r(!0);
15
15
  }, []);
16
16
  const i = () => {
17
- o(!1);
17
+ r(!1);
18
18
  };
19
- return /* @__PURE__ */ r("div", { className: c(e["feedback-bar"], { [e["feedback-bar--visible"]]: t }), role: "alert", children: [
20
- /* @__PURE__ */ r(f, { flexDirection: "row", children: [
21
- /* @__PURE__ */ a(s, { className: c(e["feedback-bar__icon"]), name: "CheckCircle" }),
22
- b
19
+ return /* @__PURE__ */ s("div", { className: c(e["feedback-bar"], { [e["feedback-bar--visible"]]: t }), role: "alert", children: [
20
+ /* @__PURE__ */ s(f, { flexDirection: "row", children: [
21
+ /* @__PURE__ */ a(b, { className: c(e["feedback-bar__icon"]), name: "CheckCircle" }),
22
+ o
23
23
  ] }),
24
- /* @__PURE__ */ a("button", { className: c(e["feedback-bar__close-button"]), type: "button", onClick: i, children: /* @__PURE__ */ a(s, { name: "Cross", size: 24 }) })
24
+ /* @__PURE__ */ a("button", { className: c(e["feedback-bar__close-button"]), type: "button", onClick: i, children: /* @__PURE__ */ a(b, { name: "Cross", size: 24 }) })
25
25
  ] });
26
26
  };
27
27
  export {
@@ -1,27 +1,27 @@
1
- import { jsxs as r, jsx as s } from "react/jsx-runtime";
2
- import { c as a } from "../../clsx-OuTLNxxd.js";
3
- import { Icon as b } from "../Icon/Icon.js";
1
+ import { jsxs as _, jsx as r } from "react/jsx-runtime";
2
+ import { c as s } from "../../clsx-OuTLNxxd.js";
3
+ import { Icon as a } from "../Icon/Icon.js";
4
4
  import '../../assets/FeedbackBox.css';const c = {
5
- "feedback-box": "_feedback-box_1th4y_1",
6
- "feedback-box__success": "_feedback-box__success_1th4y_15",
7
- "feedback-box__warning": "_feedback-box__warning_1th4y_19",
8
- "feedback-box__error": "_feedback-box__error_1th4y_23"
9
- }, n = {
5
+ "feedback-box": "_feedback-box_oidbb_1",
6
+ "feedback-box__success": "_feedback-box__success_oidbb_15",
7
+ "feedback-box__warning": "_feedback-box__warning_oidbb_19",
8
+ "feedback-box__error": "_feedback-box__error_oidbb_23"
9
+ }, i = {
10
10
  success: "CheckCircle",
11
11
  warning: "ExclamationCircle",
12
12
  error: "ExclamationTriangleMini"
13
- }, f = ({ id: _, level: e, feedback: o }) => /* @__PURE__ */ r(
13
+ }, f = ({ id: o, level: e, feedback: b }) => /* @__PURE__ */ _(
14
14
  "div",
15
15
  {
16
- className: a(c["feedback-box"], {
16
+ className: s(c["feedback-box"], {
17
17
  [c["feedback-box__success"]]: e === "success",
18
18
  [c["feedback-box__warning"]]: e === "warning",
19
19
  [c["feedback-box__error"]]: e === "error"
20
20
  }),
21
- id: _,
21
+ id: o,
22
22
  children: [
23
- /* @__PURE__ */ s(b, { name: n[e], size: 16 }),
24
- o
23
+ /* @__PURE__ */ r(a, { name: i[e], size: 16 }),
24
+ b
25
25
  ]
26
26
  }
27
27
  );
@@ -1,16 +1,16 @@
1
- import { jsxs as c, jsx as t, Fragment as b } from "react/jsx-runtime";
2
- import { c as g } from "../../clsx-OuTLNxxd.js";
1
+ import { jsxs as a, jsx as t, Fragment as b } from "react/jsx-runtime";
2
+ import { c as v } from "../../clsx-OuTLNxxd.js";
3
3
  import "react";
4
4
  import "../Buttons/Button.js";
5
5
  import "../Buttons/LinkButton.js";
6
6
  import "@react-aria/button";
7
7
  import "../Checkbox/Checkbox.js";
8
- import { Label as x } from "../Label/Label.js";
8
+ import { Label as h } from "../Label/Label.js";
9
9
  import "@react-aria/dialog";
10
10
  import "@react-aria/focus";
11
11
  import "@react-aria/overlays";
12
12
  import "../OverlayCloseButton/OverlayCloseButton.js";
13
- import { FeedbackBox as h } from "../FeedbackBox/FeedbackBox.js";
13
+ import { FeedbackBox as k } from "../FeedbackBox/FeedbackBox.js";
14
14
  import "../GridRow/GridRow.js";
15
15
  import "../IconButton/IconButton.js";
16
16
  import "../Input/Input.js";
@@ -26,42 +26,42 @@ import "../SelectListbox/SelectProvider.js";
26
26
  import "../Sortable/components/SortableItem.js";
27
27
  import "../../SortableProvider-DZggDO3M.js";
28
28
  import '../../assets/FormInput.css';const o = {
29
- "form-input__container": "_form-input__container_g2j8x_1",
30
- "form-input__container--label-left": "_form-input__container--label-left_g2j8x_7",
31
- "form-input__container--label-top": "_form-input__container--label-top_g2j8x_18",
32
- "form-input__input-feedback-container": "_form-input__input-feedback-container_g2j8x_25",
33
- "form-input__input-container": "_form-input__input-container_g2j8x_35",
34
- "form-input__input": "_form-input__input_g2j8x_25"
29
+ "form-input__container": "_form-input__container_c0vpz_1",
30
+ "form-input__container--label-left": "_form-input__container--label-left_c0vpz_7",
31
+ "form-input__container--label-top": "_form-input__container--label-top_c0vpz_18",
32
+ "form-input__input-feedback-container": "_form-input__input-feedback-container_c0vpz_25",
33
+ "form-input__input-container": "_form-input__input-container_c0vpz_35",
34
+ "form-input__input": "_form-input__input_c0vpz_25"
35
35
  }, U = ({
36
36
  id: i,
37
37
  label: n,
38
38
  labelPosition: f = "top",
39
- type: e = "text",
39
+ type: p = "text",
40
40
  required: l = !1,
41
- notValidatedText: p = "",
41
+ notValidatedText: e = "",
42
42
  onChange: m,
43
43
  noContainer: u = !1,
44
44
  customInput: _
45
45
  }) => {
46
46
  const s = (r) => ["e", "E", "+", "-"].includes(r.key) && r.preventDefault(), d = (r) => {
47
47
  typeof m == "function" && m(r.target.value);
48
- }, a = /* @__PURE__ */ c(b, { children: [
49
- n && /* @__PURE__ */ t(x, { htmlFor: i, required: l, alignRight: !0, children: n }),
50
- /* @__PURE__ */ c("div", { className: o["form-input__input-feedback-container"], children: [
48
+ }, c = /* @__PURE__ */ a(b, { children: [
49
+ n && /* @__PURE__ */ t(h, { htmlFor: i, required: l, alignRight: !0, children: n }),
50
+ /* @__PURE__ */ a("div", { className: o["form-input__input-feedback-container"], children: [
51
51
  _ || /* @__PURE__ */ t("div", { className: o["form-input__input-container"], children: /* @__PURE__ */ t(
52
52
  "input",
53
53
  {
54
54
  id: i,
55
- type: e,
56
- ...e === "number" && { onKeyDown: s },
55
+ type: p,
56
+ ...p === "number" && { onKeyDown: s },
57
57
  onChange: d,
58
58
  className: o["form-input__input"]
59
59
  }
60
60
  ) }),
61
- p !== "" && /* @__PURE__ */ t(h, { level: "error", feedback: p })
61
+ e !== "" && /* @__PURE__ */ t(k, { level: "error", feedback: e })
62
62
  ] })
63
63
  ] });
64
- return u ? a : /* @__PURE__ */ t("div", { className: g(o["form-input__container"], o[`form-input__container--label-${f}`]), children: a });
64
+ return u ? c : /* @__PURE__ */ t("div", { className: v(o["form-input__container"], o[`form-input__container--label-${f}`]), children: c });
65
65
  };
66
66
  export {
67
67
  U as FormInput
@@ -1,8 +1,8 @@
1
- import { jsx as o, jsxs as n } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
2
  import { Icon as i } from "./Icon.js";
3
3
  import { Icons as r } from "./icons/index.js";
4
4
  import { ClipboardButton as c } from "../../storyComponents/ClipboardButton/ClipboardButton.js";
5
- import '../../assets/Icon.css';const s = "_icon__wrapper_lse0u_1", p = "_icon__item_lse0u_13", t = {
5
+ import '../../assets/Icon.css';const s = "_icon__wrapper_106v1_1", p = "_icon__item_106v1_13", t = {
6
6
  icon__wrapper: s,
7
7
  icon__item: p
8
8
  }, a = "<Icon name={iconName} size={size} />", w = {
@@ -12,13 +12,13 @@ import '../../assets/Icon.css';const s = "_icon__wrapper_lse0u_1", p = "_icon__i
12
12
  inspectComponent: i,
13
13
  codeString: a
14
14
  }
15
- }, m = (e) => /* @__PURE__ */ o(i, { ...e }), _ = m.bind({});
15
+ }, m = (o) => /* @__PURE__ */ e(i, { ...o }), _ = m.bind({});
16
16
  _.args = {
17
17
  name: "ArrowDownOnSquare",
18
18
  size: 32,
19
19
  title: "Optional Icon title"
20
20
  };
21
- const x = () => /* @__PURE__ */ o(
21
+ const x = () => /* @__PURE__ */ e(
22
22
  "div",
23
23
  {
24
24
  style: {
@@ -28,13 +28,13 @@ const x = () => /* @__PURE__ */ o(
28
28
  padding: "1rem",
29
29
  maxWidth: "1024px"
30
30
  },
31
- children: Object.keys(r).map((e) => /* @__PURE__ */ n("div", { className: t.icon__wrapper, children: [
32
- /* @__PURE__ */ o(i, { name: e, size: 48 }),
31
+ children: Object.keys(r).map((o) => /* @__PURE__ */ n("div", { className: t.icon__wrapper, children: [
32
+ /* @__PURE__ */ e(i, { name: o, size: 48 }),
33
33
  /* @__PURE__ */ n("div", { className: t.icon__item, children: [
34
- /* @__PURE__ */ o("span", { children: e }),
35
- /* @__PURE__ */ o(c, { text: `<Icon icon={${e}} />` })
34
+ /* @__PURE__ */ e("span", { children: o }),
35
+ /* @__PURE__ */ e(c, { text: `<Icon icon={${o}} />` })
36
36
  ] })
37
- ] }, e))
37
+ ] }, o))
38
38
  }
39
39
  );
40
40
  export {
@@ -2,19 +2,19 @@ import { jsx as b } from "react/jsx-runtime";
2
2
  import { c as s } from "../../clsx-OuTLNxxd.js";
3
3
  import { forwardRef as _ } from "react";
4
4
  import '../../assets/IconButton.css';const t = {
5
- "icon-button": "_icon-button_159x3_1",
6
- "icon-button--destructive": "_icon-button--destructive_159x3_27",
7
- "icon-button--no-border": "_icon-button--no-border_159x3_35",
8
- "icon-button--wide": "_icon-button--wide_159x3_44"
9
- }, f = _(
10
- ({ children: o, type: n = "button", variant: c, noBorder: i, wide: r, ...e }, u) => /* @__PURE__ */ b(
5
+ "icon-button": "_icon-button_1qz6r_1",
6
+ "icon-button--destructive": "_icon-button--destructive_1qz6r_27",
7
+ "icon-button--no-border": "_icon-button--no-border_1qz6r_35",
8
+ "icon-button--wide": "_icon-button--wide_1qz6r_44"
9
+ }, a = _(
10
+ ({ children: o, type: n = "button", variant: r, noBorder: c, wide: i, ...e }, u) => /* @__PURE__ */ b(
11
11
  "button",
12
12
  {
13
13
  ...e,
14
14
  className: s(t["icon-button"], {
15
- [t["icon-button--destructive"]]: c === "destructive",
16
- [t["icon-button--no-border"]]: i,
17
- [t["icon-button--wide"]]: r
15
+ [t["icon-button--destructive"]]: r === "destructive",
16
+ [t["icon-button--no-border"]]: c,
17
+ [t["icon-button--wide"]]: i
18
18
  }),
19
19
  ref: u,
20
20
  type: n,
@@ -23,6 +23,6 @@ import '../../assets/IconButton.css';const t = {
23
23
  )
24
24
  );
25
25
  export {
26
- f as IconButton
26
+ a as IconButton
27
27
  };
28
28
  //# sourceMappingURL=IconButton.js.map
@@ -2,10 +2,10 @@ import { jsxs as n, jsx as i } from "react/jsx-runtime";
2
2
  import { c as a } from "../../clsx-OuTLNxxd.js";
3
3
  import { Icon as _ } from "../Icon/Icon.js";
4
4
  import '../../assets/InfoMessage.css';const s = {
5
- "info-message": "_info-message_1fqoy_1",
6
- "info-message__container": "_info-message__container_1fqoy_6",
7
- "info-message__icon": "_info-message__icon_1fqoy_11"
8
- }, r = ({ message: e, hasOwnContainer: o = !1 }) => /* @__PURE__ */ n(
5
+ "info-message": "_info-message_1jurj_1",
6
+ "info-message__container": "_info-message__container_1jurj_6",
7
+ "info-message__icon": "_info-message__icon_1jurj_11"
8
+ }, f = ({ message: e, hasOwnContainer: o = !1 }) => /* @__PURE__ */ n(
9
9
  "div",
10
10
  {
11
11
  className: a(s["info-message"], {
@@ -18,6 +18,6 @@ import '../../assets/InfoMessage.css';const s = {
18
18
  }
19
19
  );
20
20
  export {
21
- r as InfoMessage
21
+ f as InfoMessage
22
22
  };
23
23
  //# sourceMappingURL=InfoMessage.js.map
@@ -1,21 +1,21 @@
1
- import { jsx as f } from "react/jsx-runtime";
2
- import { forwardRef as w } from "react";
3
- import { c as _ } from "../../clsx-OuTLNxxd.js";
4
- import '../../assets/Input.css';const c = "_input_whbfw_1", t = {
5
- input: c,
6
- "input--numeric": "_input--numeric_whbfw_13",
7
- "input--error": "_input--error_whbfw_18",
8
- "input--full-with": "_input--full-with_whbfw_23"
9
- }, a = w(function({ id: r, appearance: n, type: i = "text", isNumeric: u, fullWidth: p, ...o }, e) {
10
- return /* @__PURE__ */ f(
1
+ import { jsx as _ } from "react/jsx-runtime";
2
+ import { forwardRef as h } from "react";
3
+ import { c } from "../../clsx-OuTLNxxd.js";
4
+ import '../../assets/Input.css';const f = "_input_1hohz_1", t = {
5
+ input: f,
6
+ "input--numeric": "_input--numeric_1hohz_13",
7
+ "input--error": "_input--error_1hohz_18",
8
+ "input--full-with": "_input--full-with_1hohz_23"
9
+ }, w = h(function({ id: r, appearance: n, type: i = "text", isNumeric: u, fullWidth: o, ...p }, e) {
10
+ return /* @__PURE__ */ _(
11
11
  "input",
12
12
  {
13
- ...o,
13
+ ...p,
14
14
  ref: e,
15
15
  id: r,
16
- className: _(t.input, {
16
+ className: c(t.input, {
17
17
  [t["input--error"]]: n === "error",
18
- [t["input--full-with"]]: p,
18
+ [t["input--full-with"]]: o,
19
19
  [t["input--numeric"]]: u
20
20
  }),
21
21
  type: i
@@ -23,6 +23,6 @@ import '../../assets/Input.css';const c = "_input_whbfw_1", t = {
23
23
  );
24
24
  });
25
25
  export {
26
- a as Input
26
+ w as Input
27
27
  };
28
28
  //# sourceMappingURL=Input.js.map
@@ -1,67 +1,67 @@
1
- import { jsxs as z, jsx as c } from "react/jsx-runtime";
2
- import { forwardRef as v, useState as b, useRef as g, useEffect as x } from "react";
3
- import { c as y } from "../../clsx-OuTLNxxd.js";
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";
3
+ import { c as C } from "../../clsx-OuTLNxxd.js";
4
4
  import '../../assets/InputField.css';const t = {
5
- "input-field-wrapper": "_input-field-wrapper_z4v9l_1",
6
- "input-field": "_input-field_z4v9l_1",
7
- "input-field--large": "_input-field--large_z4v9l_22",
8
- "input-field--small": "_input-field--small_z4v9l_26",
9
- "input-field--compact": "_input-field--compact_z4v9l_30",
10
- "input-field--white": "_input-field--white_z4v9l_34",
11
- "input-field__clear-button": "_input-field__clear-button_z4v9l_42"
12
- }, W = v(
5
+ "input-field-wrapper": "_input-field-wrapper_ndcss_1",
6
+ "input-field": "_input-field_ndcss_1",
7
+ "input-field--large": "_input-field--large_ndcss_22",
8
+ "input-field--small": "_input-field--small_ndcss_26",
9
+ "input-field--compact": "_input-field--compact_ndcss_30",
10
+ "input-field--white": "_input-field--white_ndcss_34",
11
+ "input-field__clear-button": "_input-field__clear-button_ndcss_42"
12
+ }, j = g(
13
13
  ({
14
- autoComplete: s = "off",
15
- id: u,
14
+ autoComplete: f = "off",
15
+ id: s,
16
16
  value: e,
17
- variant: _,
18
- width: p,
19
- type: o = "text",
20
- background: r,
21
- clearTrigger: l,
22
- onClear: f,
23
- ...a
17
+ variant: d,
18
+ width: u,
19
+ type: _ = "text",
20
+ background: p,
21
+ clearTrigger: n,
22
+ onClear: c,
23
+ ...o
24
24
  }, i) => {
25
- const [d, m] = b(0), n = g(null);
26
- x(() => {
27
- n.current && m(n.current.offsetWidth);
25
+ const [a, m] = x(0), l = y(null);
26
+ B(() => {
27
+ l.current && m(l.current.offsetWidth);
28
28
  }, [e]);
29
29
  const h = () => {
30
- f && i && "current" in i && i.current && (f(), i.current.focus());
30
+ c && i && "current" in i && i.current && (c(), i.current.focus());
31
31
  };
32
- return /* @__PURE__ */ z("div", { className: t["input-field-wrapper"], children: [
33
- /* @__PURE__ */ c(
32
+ return /* @__PURE__ */ b("div", { className: t["input-field-wrapper"], children: [
33
+ /* @__PURE__ */ r(
34
34
  "input",
35
35
  {
36
- ...a,
37
- autoComplete: s,
36
+ ...o,
37
+ autoComplete: f,
38
38
  ref: i,
39
- id: u,
40
- className: y(t["input-field"], {
41
- [t["input-field--large"]]: _ === "large",
42
- [t[`input-field--${p}`]]: p,
43
- [t[`input-field--${r}`]]: r
39
+ id: s,
40
+ className: C(t["input-field"], {
41
+ [t["input-field--large"]]: d === "large",
42
+ [t[`input-field--${u}`]]: u,
43
+ [t[`input-field--${p}`]]: p
44
44
  }),
45
- type: o,
45
+ type: _,
46
46
  value: e,
47
- style: { paddingRight: e && l ? d : void 0 }
47
+ style: { paddingRight: e && n ? a : void 0 }
48
48
  }
49
49
  ),
50
- e && l && /* @__PURE__ */ c(
50
+ e && n && /* @__PURE__ */ r(
51
51
  "button",
52
52
  {
53
53
  type: "button",
54
54
  className: t["input-field__clear-button"],
55
55
  onClick: h,
56
- ref: n,
57
- "aria-label": `clear trigger for ${u}`,
58
- children: l
56
+ ref: l,
57
+ "aria-label": `clear trigger for ${s}`,
58
+ children: n
59
59
  }
60
60
  )
61
61
  ] });
62
62
  }
63
63
  );
64
64
  export {
65
- W as InputField
65
+ j as InputField
66
66
  };
67
67
  //# sourceMappingURL=InputField.js.map
@@ -1,24 +1,24 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { c as g } from "../../clsx-OuTLNxxd.js";
3
- import '../../assets/Label.css';const n = "_label_16gis_1", l = {
4
- label: n,
5
- "label--required": "_label--required_16gis_6",
6
- "label--unset-font-weight": "_label--unset-font-weight_16gis_14",
7
- "label--align-right": "_label--align-right_16gis_18"
8
- }, c = ({ children: e, htmlFor: a, noFontWeight: t, required: i = !1, alignRight: s, ...b }) => /* @__PURE__ */ r(
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { c as n } from "../../clsx-OuTLNxxd.js";
3
+ import '../../assets/Label.css';const _ = "_label_1elrd_1", l = {
4
+ label: _,
5
+ "label--required": "_label--required_1elrd_6",
6
+ "label--unset-font-weight": "_label--unset-font-weight_1elrd_14",
7
+ "label--align-right": "_label--align-right_1elrd_18"
8
+ }, d = ({ children: e, htmlFor: a, noFontWeight: t, required: r = !1, alignRight: b, ...i }) => /* @__PURE__ */ s(
9
9
  "label",
10
10
  {
11
- ...b,
11
+ ...i,
12
12
  htmlFor: a,
13
- className: g(l.label, {
13
+ className: n(l.label, {
14
14
  [l["label--unset-font-weight"]]: t,
15
- [l["label--required"]]: i,
16
- [l["label--align-right"]]: s
15
+ [l["label--required"]]: r,
16
+ [l["label--align-right"]]: b
17
17
  }),
18
18
  children: e
19
19
  }
20
20
  );
21
21
  export {
22
- c as Label
22
+ d as Label
23
23
  };
24
24
  //# sourceMappingURL=Label.js.map