@prokodo/ui 0.0.24 → 0.0.26

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 (63) hide show
  1. package/dist/components/accordion/Accordion.js +65 -65
  2. package/dist/components/animated/Animated.js +17 -17
  3. package/dist/components/animatedText/AnimatedText.js +4 -4
  4. package/dist/components/avatar/Avatar.js +34 -34
  5. package/dist/components/base-link/BaseLink.js +12 -12
  6. package/dist/components/button/Button.js +48 -48
  7. package/dist/components/calendly/Calendly.js +32 -32
  8. package/dist/components/card/Card.js +107 -107
  9. package/dist/components/carousel/Carousel.js +106 -106
  10. package/dist/components/chip/Chip.js +26 -26
  11. package/dist/components/datePicker/DatePicker.js +37 -37
  12. package/dist/components/dialog/Dialog.js +82 -82
  13. package/dist/components/drawer/Drawer.js +48 -48
  14. package/dist/components/form/Form.js +94 -94
  15. package/dist/components/form/FormField.js +41 -41
  16. package/dist/components/form/FormResponse.js +22 -22
  17. package/dist/components/grid/Grid.js +8 -8
  18. package/dist/components/grid/GridRow.js +10 -10
  19. package/dist/components/headline/Headline.js +28 -28
  20. package/dist/components/icon/Icon.js +4 -4
  21. package/dist/components/image/Image.js +15 -15
  22. package/dist/components/image-text/ImageText.js +48 -48
  23. package/dist/components/input/Input.js +121 -121
  24. package/dist/components/inputOTP/InputOTP.js +24 -24
  25. package/dist/components/label/Label.js +26 -26
  26. package/dist/components/link/Link.js +27 -27
  27. package/dist/components/list/List.js +75 -75
  28. package/dist/components/loading/Loading.js +17 -17
  29. package/dist/components/lottie/Lottie.js +23 -23
  30. package/dist/components/map/Map.js +19 -19
  31. package/dist/components/post-item/PostItem.js +73 -73
  32. package/dist/components/post-item/PostItemAuthor.js +16 -16
  33. package/dist/components/post-item/index.js +4 -2
  34. package/dist/components/post-teaser/PostTeaser.js +76 -76
  35. package/dist/components/post-widget/PostWidget.js +63 -63
  36. package/dist/components/post-widget-carousel/PostWidgetCarousel.js +67 -67
  37. package/dist/components/quote/Quote.js +40 -40
  38. package/dist/components/rich-text/RichText.js +76 -76
  39. package/dist/components/select/Select.js +92 -92
  40. package/dist/components/skeleton/Skeleton.js +8 -8
  41. package/dist/components/slider/Slider.js +50 -50
  42. package/dist/components/stepper/Stepper.js +41 -41
  43. package/dist/components/switch/Switch.js +32 -32
  44. package/dist/components/table/Table.js +31 -31
  45. package/dist/components/teaser/Teaser.js +55 -55
  46. package/dist/constants/project.js +1 -1
  47. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js +23 -23
  48. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Portal/Portal.js +22 -22
  49. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js +46 -46
  50. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/Slider.js +141 -141
  51. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/Switch.js +33 -33
  52. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/Popup.js +31 -31
  53. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/SelectProvider.js +14 -14
  54. package/dist/tsconfig.build.tsbuildinfo +1 -1
  55. package/dist/types/components/post-item/index.d.ts +1 -0
  56. package/package.json +7 -3
  57. package/dist/_virtual/jsx-runtime.js +0 -5
  58. package/dist/_virtual/jsx-runtime2.js +0 -4
  59. package/dist/_virtual/react-jsx-runtime.development.js +0 -4
  60. package/dist/_virtual/react-jsx-runtime.production.js +0 -4
  61. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.development.js +0 -247
  62. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.production.js +0 -35
  63. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +0 -10
@@ -1,143 +1,143 @@
1
- import { j as l } from "../../_virtual/jsx-runtime.js";
2
- import { memo as z, useMemo as j, useCallback as g } from "react";
3
- import R from "react-markdown";
4
- import T from "remark-breaks";
5
- import _ from "remark-gfm";
6
- import { create as A } from "../../helpers/bem.js";
7
- import { isNull as u } from "../../helpers/validations.js";
8
- import w from "./RichText.module.scss.js";
9
- import { AnimatedText as E } from "../animatedText/AnimatedText.js";
10
- import { Icon as I } from "../icon/Icon.js";
11
- import { Link as M } from "../link/Link.js";
12
- import { Headline as a } from "../headline/Headline.js";
13
- const m = A(w, "RichText");
14
- function s(c) {
15
- return u(c) && "tagName" in c;
1
+ import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
+ import { memo as R, useMemo as N, useCallback as T } from "react";
3
+ import _ from "react-markdown";
4
+ import A from "remark-breaks";
5
+ import j from "remark-gfm";
6
+ import { create as w } from "../../helpers/bem.js";
7
+ import { isNull as x } from "../../helpers/validations.js";
8
+ import I from "./RichText.module.scss.js";
9
+ import { AnimatedText as M } from "../animatedText/AnimatedText.js";
10
+ import { Icon as B } from "../icon/Icon.js";
11
+ import { Link as C } from "../link/Link.js";
12
+ import { Headline as d } from "../headline/Headline.js";
13
+ const m = w(I, "RichText");
14
+ function E(c) {
15
+ return x(c) && "tagName" in c;
16
16
  }
17
- function B(c) {
18
- return !u(c) && (c == null ? void 0 : c.type) === "text" && "value" in c;
17
+ function G(c) {
18
+ return !x(c) && (c == null ? void 0 : c.type) === "text" && "value" in c;
19
19
  }
20
- const C = z(
20
+ const H = R(
21
21
  ({
22
22
  className: c,
23
- animated: d,
24
- animationProps: x = {},
25
- variant: f = "primary",
26
- schema: r = {},
27
- itemProp: N,
28
- children: v,
29
- ...y
23
+ animated: a,
24
+ animationProps: r = {},
25
+ variant: v = "primary",
26
+ schema: f = {},
27
+ itemProp: y,
28
+ children: k,
29
+ ...z
30
30
  }) => {
31
- const e = j(
31
+ const l = N(
32
32
  () => ({
33
- animated: d,
33
+ animated: a,
34
34
  className: c ?? void 0,
35
- ...r
35
+ ...f
36
36
  }),
37
- [d, r, c]
38
- ), n = j(
37
+ [a, f, c]
38
+ ), n = N(
39
39
  () => ({
40
- animationProps: x
40
+ animationProps: r
41
41
  }),
42
- [x]
43
- ), t = g(
44
- (i) => d === !1 || d === void 0 ? i : /* @__PURE__ */ l.jsx(E, { ...x, children: i }),
45
- [d, x]
42
+ [r]
43
+ ), t = T(
44
+ (i) => a === !1 || a === void 0 ? i : /* @__PURE__ */ e(M, { ...r, children: i }),
45
+ [a, r]
46
46
  );
47
- return /* @__PURE__ */ l.jsx(
48
- R,
47
+ return /* @__PURE__ */ e(
48
+ _,
49
49
  {
50
- remarkPlugins: [_, T],
50
+ remarkPlugins: [j, A],
51
51
  components: {
52
- h1: (i) => /* @__PURE__ */ l.jsx(a, { ...e, ...n, size: "xxl", type: "h1", children: i == null ? void 0 : i.children }),
53
- h2: (i) => /* @__PURE__ */ l.jsx(a, { ...e, ...n, size: "xl", type: "h2", children: i == null ? void 0 : i.children }),
54
- h3: (i) => /* @__PURE__ */ l.jsx(a, { ...e, ...n, size: "lg", type: "h3", children: i == null ? void 0 : i.children }),
55
- h4: (i) => /* @__PURE__ */ l.jsx(a, { ...e, ...n, size: "md", type: "h4", children: i == null ? void 0 : i.children }),
56
- h5: (i) => /* @__PURE__ */ l.jsx(a, { ...e, ...n, size: "sm", type: "h5", children: i == null ? void 0 : i.children }),
57
- h6: (i) => /* @__PURE__ */ l.jsx(a, { ...e, ...n, size: "xs", type: "h6", children: i == null ? void 0 : i.children }),
58
- p: (i) => /* @__PURE__ */ l.jsx(
52
+ h1: (i) => /* @__PURE__ */ e(d, { ...l, ...n, size: "xxl", type: "h1", children: i == null ? void 0 : i.children }),
53
+ h2: (i) => /* @__PURE__ */ e(d, { ...l, ...n, size: "xl", type: "h2", children: i == null ? void 0 : i.children }),
54
+ h3: (i) => /* @__PURE__ */ e(d, { ...l, ...n, size: "lg", type: "h3", children: i == null ? void 0 : i.children }),
55
+ h4: (i) => /* @__PURE__ */ e(d, { ...l, ...n, size: "md", type: "h4", children: i == null ? void 0 : i.children }),
56
+ h5: (i) => /* @__PURE__ */ e(d, { ...l, ...n, size: "sm", type: "h5", children: i == null ? void 0 : i.children }),
57
+ h6: (i) => /* @__PURE__ */ e(d, { ...l, ...n, size: "xs", type: "h6", children: i == null ? void 0 : i.children }),
58
+ p: (i) => /* @__PURE__ */ e(
59
59
  "p",
60
60
  {
61
- ...e,
62
- className: m("p", void 0, e == null ? void 0 : e.className),
63
- itemProp: N,
61
+ ...l,
62
+ className: m("p", void 0, l == null ? void 0 : l.className),
63
+ itemProp: y,
64
64
  children: t(i == null ? void 0 : i.children)
65
65
  }
66
66
  ),
67
67
  a: (i) => {
68
68
  var h;
69
- return /* @__PURE__ */ l.jsx(
70
- M,
69
+ return /* @__PURE__ */ e(
70
+ C,
71
71
  {
72
- ...e,
72
+ ...l,
73
73
  "aria-label": (h = i == null ? void 0 : i.children) == null ? void 0 : h.toString(),
74
74
  href: (i == null ? void 0 : i.href) ?? "#",
75
75
  children: t(i == null ? void 0 : i.children)
76
76
  }
77
77
  );
78
78
  },
79
- pre: (i) => /* @__PURE__ */ l.jsx(
79
+ pre: (i) => /* @__PURE__ */ e(
80
80
  "pre",
81
81
  {
82
- ...e,
83
- className: m("pre", void 0, e == null ? void 0 : e.className),
82
+ ...l,
83
+ className: m("pre", void 0, l == null ? void 0 : l.className),
84
84
  children: t(i == null ? void 0 : i.children)
85
85
  }
86
86
  ),
87
- ul: (i) => /* @__PURE__ */ l.jsx(
87
+ ul: (i) => /* @__PURE__ */ e(
88
88
  "ul",
89
89
  {
90
- ...e,
91
- className: m("ul", void 0, e == null ? void 0 : e.className),
90
+ ...l,
91
+ className: m("ul", void 0, l == null ? void 0 : l.className),
92
92
  children: t(i == null ? void 0 : i.children)
93
93
  }
94
94
  ),
95
- ol: ({ node: i }) => /* @__PURE__ */ l.jsx(
95
+ ol: ({ node: i }) => /* @__PURE__ */ e(
96
96
  "ol",
97
97
  {
98
- ...e,
99
- className: m("ol", void 0, e == null ? void 0 : e.className),
100
- children: i == null ? void 0 : i.children.map((h, k) => s(h) && h.children.length > 0 && B(h.children[0]) ? /* @__PURE__ */ l.jsxs(
98
+ ...l,
99
+ className: m("ol", void 0, l == null ? void 0 : l.className),
100
+ children: i == null ? void 0 : i.children.map((h, g) => E(h) && h.children.length > 0 && G(h.children[0]) ? /* @__PURE__ */ u(
101
101
  "li",
102
102
  {
103
- ...e,
104
- className: m("li", void 0, e == null ? void 0 : e.className),
103
+ ...l,
104
+ className: m("li", void 0, l == null ? void 0 : l.className),
105
105
  children: [
106
- /* @__PURE__ */ l.jsx("i", { className: m("ol__decimal"), children: k + 1 }),
107
- t(/* @__PURE__ */ l.jsx("span", { children: h.children[0].value }))
106
+ /* @__PURE__ */ e("i", { className: m("ol__decimal"), children: g + 1 }),
107
+ t(/* @__PURE__ */ e("span", { children: h.children[0].value }))
108
108
  ]
109
109
  },
110
110
  `item-${h.children[0].value}`
111
111
  ) : null)
112
112
  }
113
113
  ),
114
- li: (i) => /* @__PURE__ */ l.jsxs(
114
+ li: (i) => /* @__PURE__ */ u(
115
115
  "li",
116
116
  {
117
- ...e,
118
- className: m("li", void 0, e == null ? void 0 : e.className),
117
+ ...l,
118
+ className: m("li", void 0, l == null ? void 0 : l.className),
119
119
  children: [
120
- /* @__PURE__ */ l.jsx(
121
- I,
120
+ /* @__PURE__ */ e(
121
+ B,
122
122
  {
123
123
  className: m("li__icon"),
124
- color: f,
124
+ color: v,
125
125
  name: "ArrowRight01Icon",
126
126
  size: 18
127
127
  }
128
128
  ),
129
- t(/* @__PURE__ */ l.jsx("span", { children: i == null ? void 0 : i.children }))
129
+ t(/* @__PURE__ */ e("span", { children: i == null ? void 0 : i.children }))
130
130
  ]
131
131
  }
132
132
  )
133
133
  },
134
- ...y,
135
- children: v
134
+ ...z,
135
+ children: k
136
136
  }
137
137
  );
138
138
  }
139
139
  );
140
- C.displayName = "RichText";
140
+ H.displayName = "RichText";
141
141
  export {
142
- C as RichText
142
+ H as RichText
143
143
  };
@@ -1,106 +1,106 @@
1
- import { j as o } from "../../_virtual/jsx-runtime.js";
2
- import { memo as Z, useState as H, useEffect as q, useCallback as w } from "react";
3
- import { create as V } from "../../helpers/bem.js";
4
- import { isString as L, isTrue as z, isNull as C } from "../../helpers/validations.js";
5
- import I from "./Select.module.scss.js";
6
- import { Select as P } from "../../node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js";
7
- import { Option as D } from "../../node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js";
8
- import { Label as m } from "../label/Label.js";
9
- const n = V(I, "Select"), aa = Z(
1
+ import { jsxs as e, jsx as d } from "react/jsx-runtime";
2
+ import { memo as q, useState as R, useEffect as w, useCallback as V } from "react";
3
+ import { create as I } from "../../helpers/bem.js";
4
+ import { isString as z, isTrue as C, isNull as D } from "../../helpers/validations.js";
5
+ import P from "./Select.module.scss.js";
6
+ import { Select as m } from "../../node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js";
7
+ import { Option as G } from "../../node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js";
8
+ import { Label as aa } from "../label/Label.js";
9
+ const n = I(P, "Select"), ra = q(
10
10
  ({
11
- id: b,
12
- iconVisible: A,
13
- required: x,
14
- multiple: N,
11
+ id: f,
12
+ iconVisible: j,
13
+ required: h,
14
+ multiple: t,
15
15
  value: p,
16
- placeholder: G,
17
- color: $ = "primary",
18
- label: J,
19
- labelProps: K = {},
16
+ placeholder: J,
17
+ color: g = "primary",
18
+ label: K,
19
+ labelProps: Q = {},
20
20
  hideLabel: E,
21
- className: Q,
22
- classNameSelect: U,
23
- items: s,
21
+ className: U,
22
+ classNameSelect: W,
23
+ items: o,
24
24
  slotProps: c,
25
- errorText: g,
26
- helperText: O,
27
- onChange: f,
28
- ...W
25
+ errorText: O,
26
+ helperText: M,
27
+ onChange: v,
28
+ ...X
29
29
  }) => {
30
- const [i, M] = H(
30
+ const [i, T] = R(
31
31
  // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
32
- p ?? N ? [] : "default"
32
+ p ?? t ? [] : "default"
33
33
  );
34
- q(() => {
35
- p !== void 0 && M(p);
34
+ w(() => {
35
+ p !== void 0 && T(p);
36
36
  }, [p, i]);
37
- const X = w(
37
+ const Y = V(
38
38
  (a, r) => {
39
- r !== null && (M(r), f == null || f(a, r));
39
+ r !== null && (T(r), v == null || v(a, r));
40
40
  },
41
- [f]
42
- ), j = `${b}-label`, R = `${b}-error`, T = `${b}-helper`, [t, Y] = H(!1);
43
- if (Array.isArray(s) ? s.length === 0 : Object.keys(s).length === 0)
41
+ [v]
42
+ ), y = `${f}-label`, B = `${f}-error`, F = `${f}-helper`, [S, Z] = R(!1);
43
+ if (Array.isArray(o) ? o.length === 0 : Object.keys(o).length === 0)
44
44
  return null;
45
- const h = {
46
- expanded: t
47
- }, y = G ?? "-- Please choose --", u = L(g), S = x === !0, e = N === !0, B = L(O);
48
- return /* @__PURE__ */ o.jsxs("div", { className: n(void 0, void 0, Q), children: [
49
- (E === void 0 || E === !1) && /* @__PURE__ */ o.jsx(
50
- m,
45
+ const x = {
46
+ expanded: S
47
+ }, _ = J ?? "-- Please choose --", u = z(O), k = h === !0, b = t === !0, H = z(M);
48
+ return /* @__PURE__ */ e("div", { className: n(void 0, void 0, U), children: [
49
+ (E === void 0 || E === !1) && /* @__PURE__ */ d(
50
+ aa,
51
51
  {
52
- ...K,
52
+ ...Q,
53
53
  error: u,
54
- htmlFor: j,
55
- label: J,
56
- required: x
54
+ htmlFor: y,
55
+ label: K,
56
+ required: h
57
57
  }
58
58
  ),
59
- /* @__PURE__ */ o.jsx(
59
+ /* @__PURE__ */ d(
60
60
  "div",
61
61
  {
62
62
  className: n("field", {
63
- ...h,
64
- [$]: !!$
63
+ ...x,
64
+ [g]: !!g
65
65
  }),
66
- children: /* @__PURE__ */ o.jsxs(
67
- P,
66
+ children: /* @__PURE__ */ e(
67
+ m,
68
68
  {
69
- ...W,
69
+ ...X,
70
70
  "aria-invalid": u,
71
- "aria-labelledby": j,
72
- "aria-required": x ? "true" : void 0,
73
- className: n("select", void 0, U),
74
- id: b,
75
- multiple: N,
76
- required: x,
71
+ "aria-labelledby": y,
72
+ "aria-required": h ? "true" : void 0,
73
+ className: n("select", void 0, W),
74
+ id: f,
75
+ multiple: t,
76
+ required: h,
77
77
  slots: { root: "button", listbox: "ul", popup: "div" },
78
78
  value: i,
79
- "aria-describedby": u ? R : B ? T : void 0,
79
+ "aria-describedby": u ? B : H ? F : void 0,
80
80
  renderValue: (a) => {
81
- var v, _, d, F;
82
- if (a === null && (S || e) || Array.isArray(a) && a.length === 0 && (S || e))
83
- return /* @__PURE__ */ o.jsx(
81
+ var N, A, s, L;
82
+ if (a === null && (k || b) || Array.isArray(a) && a.length === 0 && (k || b))
83
+ return /* @__PURE__ */ d(
84
84
  "span",
85
85
  {
86
86
  className: n("button__inner", {
87
87
  "is-placeholder": !0
88
88
  }),
89
- children: y
89
+ children: _
90
90
  }
91
91
  );
92
92
  if (Array.isArray(a)) {
93
- const l = s == null ? void 0 : s.find((k) => k.value === p);
94
- return /* @__PURE__ */ o.jsxs("span", { className: n("button__inner", h), children: [
95
- z(A) && !C((v = l == null ? void 0 : l.icon) == null ? void 0 : v.call(l)) && ((_ = l == null ? void 0 : l.icon) == null ? void 0 : _.call(l)),
96
- a.map((k) => k.label).join(", ")
93
+ const l = o == null ? void 0 : o.find(($) => $.value === p);
94
+ return /* @__PURE__ */ e("span", { className: n("button__inner", x), children: [
95
+ C(j) && !D((N = l == null ? void 0 : l.icon) == null ? void 0 : N.call(l)) && ((A = l == null ? void 0 : l.icon) == null ? void 0 : A.call(l)),
96
+ a.map(($) => $.label).join(", ")
97
97
  ] });
98
98
  }
99
- const r = s == null ? void 0 : s.find(
99
+ const r = o == null ? void 0 : o.find(
100
100
  (l) => l.value === (a == null ? void 0 : a.value)
101
101
  );
102
- return /* @__PURE__ */ o.jsxs("span", { className: n("button__inner", h), children: [
103
- z(A) && !C((d = r == null ? void 0 : r.icon) == null ? void 0 : d.call(r)) && ((F = r == null ? void 0 : r.icon) == null ? void 0 : F.call(r)),
102
+ return /* @__PURE__ */ e("span", { className: n("button__inner", x), children: [
103
+ C(j) && !D((s = r == null ? void 0 : r.icon) == null ? void 0 : s.call(r)) && ((L = r == null ? void 0 : r.icon) == null ? void 0 : L.call(r)),
104
104
  a == null ? void 0 : a.label
105
105
  ] });
106
106
  },
@@ -108,10 +108,10 @@ const n = V(I, "Select"), aa = Z(
108
108
  ...c,
109
109
  root: {
110
110
  ...c == null ? void 0 : c.root,
111
- className: n("button", h),
111
+ className: n("button", x),
112
112
  role: "button",
113
113
  "aria-haspopup": "listbox",
114
- "aria-expanded": t ? "true" : "false"
114
+ "aria-expanded": S ? "true" : "false"
115
115
  },
116
116
  listbox: {
117
117
  ...c == null ? void 0 : c.listbox,
@@ -122,49 +122,49 @@ const n = V(I, "Select"), aa = Z(
122
122
  ...c == null ? void 0 : c.popup,
123
123
  disablePortal: !0,
124
124
  className: n("popup", {
125
- "is-expanded": t
125
+ "is-expanded": S
126
126
  })
127
127
  }
128
128
  },
129
- onChange: X,
130
- onListboxOpenChange: (a) => Y(a),
129
+ onChange: Y,
130
+ onListboxOpenChange: (a) => Z(a),
131
131
  children: [
132
- !S && !e && /* @__PURE__ */ o.jsx(
133
- D,
132
+ !k && !b && /* @__PURE__ */ d(
133
+ G,
134
134
  {
135
- "aria-label": y.toString(),
135
+ "aria-label": _.toString(),
136
136
  "aria-selected": i === "default" ? "true" : "false",
137
137
  value: "default",
138
138
  className: n("item", {
139
139
  selected: i === "default"
140
140
  }),
141
- children: y
141
+ children: _
142
142
  }
143
143
  ),
144
- s.map((a) => {
145
- const { icon: r, ...v } = a, d = ((a == null ? void 0 : a.value) === i || (i == null ? void 0 : i.includes(a == null ? void 0 : a.value))) === !0;
146
- return /* @__PURE__ */ o.jsxs(
147
- D,
144
+ o.map((a) => {
145
+ const { icon: r, ...N } = a, s = ((a == null ? void 0 : a.value) === i || (i == null ? void 0 : i.includes(a == null ? void 0 : a.value))) === !0;
146
+ return /* @__PURE__ */ e(
147
+ G,
148
148
  {
149
149
  className: n(
150
150
  "item",
151
151
  {
152
- selected: d && !e
152
+ selected: s && !b
153
153
  },
154
154
  a == null ? void 0 : a.className
155
155
  ),
156
- ...v,
156
+ ...N,
157
157
  "aria-label": a == null ? void 0 : a.label,
158
- "aria-selected": d ? "true" : "false",
158
+ "aria-selected": s ? "true" : "false",
159
159
  children: [
160
- e && /* @__PURE__ */ o.jsx(
160
+ b && /* @__PURE__ */ d(
161
161
  "input",
162
162
  {
163
163
  "aria-hidden": "true",
164
- defaultChecked: d,
164
+ defaultChecked: s,
165
165
  type: "checkbox",
166
166
  className: n("checkbox", {
167
- checked: d
167
+ checked: s
168
168
  })
169
169
  }
170
170
  ),
@@ -172,7 +172,7 @@ const n = V(I, "Select"), aa = Z(
172
172
  a == null ? void 0 : a.label
173
173
  ]
174
174
  },
175
- `${j}-item-${a == null ? void 0 : a.value}`
175
+ `${y}-item-${a == null ? void 0 : a.value}`
176
176
  );
177
177
  })
178
178
  ]
@@ -180,20 +180,20 @@ const n = V(I, "Select"), aa = Z(
180
180
  )
181
181
  }
182
182
  ),
183
- (u || B) && /* @__PURE__ */ o.jsx(
183
+ (u || H) && /* @__PURE__ */ d(
184
184
  "div",
185
185
  {
186
186
  "aria-live": u ? "assertive" : "polite",
187
187
  className: n("helperText", { "is-error": u }),
188
- id: u ? R : T,
188
+ id: u ? B : F,
189
189
  role: u ? "alert" : void 0,
190
- children: /* @__PURE__ */ o.jsx("span", { className: n("helperText__content"), children: g ?? O })
190
+ children: /* @__PURE__ */ d("span", { className: n("helperText__content"), children: O ?? M })
191
191
  }
192
192
  )
193
193
  ] });
194
194
  }
195
195
  );
196
- aa.displayName = "Select";
196
+ ra.displayName = "Select";
197
197
  export {
198
- aa as Select
198
+ ra as Select
199
199
  };
@@ -1,22 +1,22 @@
1
- import { j as m } from "../../_virtual/jsx-runtime.js";
1
+ import { jsx as s } from "react/jsx-runtime";
2
2
  import { create as a } from "../../helpers/bem.js";
3
- import i from "./Skeleton.module.scss.js";
4
- const l = a(i, "Skeleton"), x = ({
3
+ import l from "./Skeleton.module.scss.js";
4
+ const c = a(l, "Skeleton"), f = ({
5
5
  width: e = "100%",
6
6
  height: t = "16px",
7
7
  variant: o = "rectangular",
8
8
  animation: r = "wave",
9
- className: s
10
- }) => /* @__PURE__ */ m.jsx(
9
+ className: m
10
+ }) => /* @__PURE__ */ s(
11
11
  "div",
12
12
  {
13
- className: l(
13
+ className: c(
14
14
  void 0,
15
15
  {
16
16
  [o]: !0,
17
17
  [r]: !0
18
18
  },
19
- s
19
+ m
20
20
  ),
21
21
  style: {
22
22
  width: e,
@@ -25,5 +25,5 @@ const l = a(i, "Skeleton"), x = ({
25
25
  }
26
26
  );
27
27
  export {
28
- x as Skeleton
28
+ f as Skeleton
29
29
  };