@tpc-mare/mare-ui-components-react 0.1.21 → 0.1.23

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 (34) hide show
  1. package/dist/filter-chip/FilterChip.d.ts +2 -0
  2. package/dist/filter-chip/FilterChip.types.d.ts +40 -0
  3. package/dist/filter-chip/index.d.ts +2 -0
  4. package/dist/filter-chip/index.js +4 -0
  5. package/dist/filter-chip-dropdown-multiple/FilterChipDropdownMultiple.d.ts +9 -0
  6. package/dist/filter-chip-dropdown-multiple/FilterChipDropdownMultiple.types.d.ts +19 -0
  7. package/dist/filter-chip-dropdown-multiple/index.d.ts +2 -0
  8. package/dist/filter-chip-dropdown-multiple/index.js +4 -0
  9. package/dist/filter-chip-dropdown-single/FilterChipDropdownSingle.d.ts +11 -0
  10. package/dist/filter-chip-dropdown-single/FilterChipDropdownSingle.types.d.ts +15 -0
  11. package/dist/filter-chip-dropdown-single/index.d.ts +2 -0
  12. package/dist/filter-chip-dropdown-single/index.js +4 -0
  13. package/dist/filter-chip-group/FilterChipGroup.d.ts +8 -0
  14. package/dist/filter-chip-group/FilterChipGroup.types.d.ts +12 -0
  15. package/dist/filter-chip-group/index.d.ts +2 -0
  16. package/dist/filter-chip-group/index.js +5 -0
  17. package/dist/index/index.d.ts +12 -0
  18. package/dist/index/index.js +97 -85
  19. package/dist/overlay-badge/OverlayBadge.d.ts +2 -0
  20. package/dist/overlay-badge/OverlayBadge.types.d.ts +17 -0
  21. package/dist/overlay-badge/index.d.ts +2 -0
  22. package/dist/overlay-badge/index.js +4 -0
  23. package/dist/segmented-control/SegmentedControl.d.ts +2 -0
  24. package/dist/segmented-control/SegmentedControl.types.d.ts +54 -0
  25. package/dist/segmented-control/index.d.ts +2 -0
  26. package/dist/segmented-control/index.js +4 -0
  27. package/dist/shared/FilterChip-eECL3oO7.js +71 -0
  28. package/dist/shared/FilterChipDropdownMultiple-D2eMYXyS.js +162 -0
  29. package/dist/shared/FilterChipDropdownSingle-4G5LDRCw.js +135 -0
  30. package/dist/shared/FilterChipGroup-BzE-EQsA.js +19 -0
  31. package/dist/shared/OverlayBadge-jHzuklUb.js +60 -0
  32. package/dist/shared/SegmentedControl-BpH7DANc.js +94 -0
  33. package/dist/styles.css +1 -1
  34. package/package.json +1 -1
@@ -0,0 +1,162 @@
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
+ import { useState as N, useMemo as x } from "react";
3
+ import { createListCollection as I, SelectRoot as D, SelectControl as z, SelectTrigger as _, SelectPositioner as j, SelectContent as O, SelectItem as q, SelectItemText as E } from "@ark-ui/react/select";
4
+ import { C as g } from "./Checkbox-BXnSN2vK.js";
5
+ import { I as F } from "./IconChevronDown-ev2ML7Ex.js";
6
+ import { I as M } from "./IconSearch-CgM6jEUh.js";
7
+ const P = {
8
+ medium: "mare:h-10",
9
+ large: "mare:h-12"
10
+ }, T = {
11
+ medium: "mare:px-3.5",
12
+ large: "mare:px-4"
13
+ }, $ = (r) => `
14
+ mare:group mare:inline-flex mare:items-center mare:gap-1.5 mare:max-w-full
15
+ mare:rounded-full mare:border mare:cursor-pointer mare:select-none
16
+ mare:tpc-typography-body-s mare:transition-colors mare:duration-150
17
+ ${P[r]} ${T[r]}
18
+ mare:bg-default mare:text-default mare:border-default
19
+ mare:ark-open:outline-solid mare:ark-open:outline-2 mare:ark-open:outline-accent mare:ark-open:-outline-offset-2
20
+ mare:not-ark-disabled:hover:bg-hover
21
+ mare:ark-disabled:cursor-not-allowed mare:ark-disabled:text-disabled mare:ark-disabled:border-disabled-default
22
+ mare:data-[invalid]:outline-solid mare:data-[invalid]:outline-2 mare:data-[invalid]:outline-danger mare:data-[invalid]:-outline-offset-2
23
+ `, B = "mare:truncate mare:data-[placeholder-shown]:text-weak", K = "mare:flex mare:items-center mare:shrink-0 mare:[&>svg]:size-4 mare:transition-transform mare:ark-open:rotate-180", L = `
24
+ mare:flex mare:flex-col mare:gap-0.5 mare:p-1
25
+ mare:rounded-input mare:border mare:border-default mare:bg-raised
26
+ mare:shadow-[0_2px_6px_0_rgba(0,0,0,0.16)]
27
+ mare:max-h-72 mare:overflow-y-auto
28
+ mare:min-w-[var(--reference-width)]
29
+ mare:z-50
30
+ `, Q = `
31
+ mare:flex mare:items-center mare:gap-2 mare:mb-1 mare:px-3 mare:h-10
32
+ mare:rounded-input mare:border mare:border-strong mare:bg-default
33
+ mare:focus-within:outline-solid mare:focus-within:outline-2 mare:focus-within:outline-accent mare:focus-within:-outline-offset-2
34
+ `, R = "mare:flex-auto mare:bg-transparent mare:outline-none mare:text-default mare:placeholder:text-weak mare:tpc-typography-body-s", V = "mare:flex mare:items-center mare:shrink-0 mare:text-weak", G = "mare:flex mare:items-center mare:gap-2 mare:py-2 mare:px-3 mare:mb-0.5 mare:rounded-menu-item mare:cursor-pointer mare:hover:bg-hover mare:tpc-typography-body-s mare:text-default", H = `
35
+ mare:group/option mare:flex mare:items-center mare:gap-2
36
+ mare:w-full mare:min-h-8 mare:py-2 mare:px-3 mare:cursor-pointer mare:rounded-menu-item
37
+ mare:tpc-typography-body-s mare:text-default
38
+ mare:ark-highlighted:bg-hover
39
+ mare:ark-selected:bg-accent-weak mare:ark-selected:text-accent
40
+ mare:ark-disabled:text-disabled mare:ark-disabled:cursor-not-allowed
41
+ `, J = "mare:py-2 mare:px-3 mare:tpc-typography-body-s mare:text-weak", y = (r, m) => {
42
+ const a = r.filter((l) => !l.disabled);
43
+ return a.length > 0 && a.every((l) => m.includes(l.value));
44
+ }, U = (r, m) => {
45
+ const a = r.filter((n) => !n.disabled).map((n) => n.value), l = m.filter((n) => !a.includes(n));
46
+ return y(r, m) ? l : [...l, ...a];
47
+ }, W = (r, m) => r.filter((a) => m.includes(a.value)).map((a) => a.label).join(", ");
48
+ function ae({
49
+ value: r = [],
50
+ onValueChange: m,
51
+ options: a,
52
+ placeholder: l = "Select…",
53
+ size: n = "medium",
54
+ disabled: k = !1,
55
+ invalid: v = !1,
56
+ filter: s = !1,
57
+ headerLabel: d,
58
+ hasCheckbox: f = !0,
59
+ showToggleAll: c = !1,
60
+ renderOption: h
61
+ }) {
62
+ const [u, b] = N(""), o = x(() => {
63
+ if (!s) return a;
64
+ const e = u.trim().toLowerCase();
65
+ return e ? a.filter(
66
+ (p) => p.label.toLowerCase().includes(e)
67
+ ) : a;
68
+ }, [s, u, a]), w = x(
69
+ () => I({
70
+ items: o,
71
+ itemToValue: (e) => e.value,
72
+ itemToString: (e) => e.label,
73
+ isItemDisabled: (e) => !!e.disabled
74
+ }),
75
+ [o]
76
+ ), S = W(a, r), C = y(o, r);
77
+ return /* @__PURE__ */ i(
78
+ D,
79
+ {
80
+ multiple: !0,
81
+ closeOnSelect: !1,
82
+ collection: w,
83
+ value: r,
84
+ disabled: k,
85
+ invalid: v,
86
+ onValueChange: (e) => m?.(e.value),
87
+ onOpenChange: (e) => {
88
+ e.open || b("");
89
+ },
90
+ children: [
91
+ /* @__PURE__ */ t(z, { children: /* @__PURE__ */ i(_, { className: $(n), children: [
92
+ /* @__PURE__ */ t("span", { className: B, children: S || l }),
93
+ /* @__PURE__ */ t("span", { className: K, children: /* @__PURE__ */ t(F, { size: "1em" }) })
94
+ ] }) }),
95
+ /* @__PURE__ */ t(j, { children: /* @__PURE__ */ i(O, { className: L, children: [
96
+ s && /* @__PURE__ */ i("div", { className: Q, children: [
97
+ /* @__PURE__ */ t(
98
+ "input",
99
+ {
100
+ className: R,
101
+ value: u,
102
+ onChange: (e) => b(e.target.value),
103
+ onKeyDown: (e) => {
104
+ e.key === "Enter" && e.preventDefault(), e.key !== "Escape" && e.stopPropagation();
105
+ },
106
+ placeholder: "Buscar…"
107
+ }
108
+ ),
109
+ /* @__PURE__ */ t("span", { className: V, children: /* @__PURE__ */ t(M, { size: "1em" }) })
110
+ ] }),
111
+ (c || d) && /* @__PURE__ */ i(
112
+ "div",
113
+ {
114
+ className: G,
115
+ onClick: c ? () => m?.(
116
+ U(
117
+ o,
118
+ r
119
+ )
120
+ ) : void 0,
121
+ children: [
122
+ c && f && /* @__PURE__ */ t(
123
+ g,
124
+ {
125
+ checked: C,
126
+ readOnly: !0
127
+ }
128
+ ),
129
+ d && /* @__PURE__ */ t("span", { children: d })
130
+ ]
131
+ }
132
+ ),
133
+ o.length === 0 && /* @__PURE__ */ t("div", { className: J, children: "Sin resultados" }),
134
+ o.map((e) => {
135
+ const p = r.includes(e.value);
136
+ return /* @__PURE__ */ i(
137
+ q,
138
+ {
139
+ item: e,
140
+ className: H,
141
+ children: [
142
+ f && /* @__PURE__ */ t(
143
+ g,
144
+ {
145
+ checked: p,
146
+ readOnly: !0
147
+ }
148
+ ),
149
+ /* @__PURE__ */ t(E, { children: h ? h(e) : e.label })
150
+ ]
151
+ },
152
+ e.value
153
+ );
154
+ })
155
+ ] }) })
156
+ ]
157
+ }
158
+ );
159
+ }
160
+ export {
161
+ ae as F
162
+ };
@@ -0,0 +1,135 @@
1
+ import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
+ import { useState as y, useMemo as c } from "react";
3
+ import { createListCollection as v, SelectRoot as S, SelectControl as I, SelectTrigger as C, SelectValueText as N, SelectClearTrigger as z, SelectIndicator as T, SelectPositioner as D, SelectContent as _, SelectItem as j, SelectItemText as L, SelectItemIndicator as V } from "@ark-ui/react/select";
4
+ import { I as q } from "./IconX-CpPADKjZ.js";
5
+ import { I as E } from "./IconChevronDown-ev2ML7Ex.js";
6
+ import { I as F } from "./IconSearch-CgM6jEUh.js";
7
+ import { I as P } from "./IconCheck-DzZA6b2U.js";
8
+ const $ = {
9
+ medium: "mare:h-10",
10
+ large: "mare:h-12"
11
+ }, B = {
12
+ medium: "mare:px-3.5",
13
+ large: "mare:px-4"
14
+ }, K = (r) => `
15
+ mare:group mare:relative mare:inline-flex mare:items-center mare:gap-1.5 mare:max-w-full
16
+ mare:rounded-full mare:border mare:cursor-pointer mare:select-none
17
+ mare:tpc-typography-body-s mare:transition-colors mare:duration-150
18
+ ${$[r]} ${B[r]}
19
+ mare:bg-default mare:text-default mare:border-default
20
+ mare:focus-within:outline-solid mare:focus-within:outline-2 mare:focus-within:outline-accent mare:focus-within:-outline-offset-2
21
+ mare:not-ark-disabled:hover:bg-hover
22
+ mare:ark-disabled:cursor-not-allowed mare:ark-disabled:text-disabled mare:ark-disabled:border-disabled-default
23
+ mare:data-[invalid]:outline-solid mare:data-[invalid]:outline-2 mare:data-[invalid]:outline-danger mare:data-[invalid]:-outline-offset-2
24
+ `, M = "mare:flex-auto mare:flex mare:items-center mare:cursor-pointer mare:bg-transparent mare:text-left mare:min-w-0", Q = "mare:truncate mare:data-[placeholder-shown]:text-weak", R = "mare:flex mare:items-center mare:shrink-0 mare:text-base mare:cursor-pointer mare:hover:text-weak", X = "mare:flex mare:items-center mare:shrink-0 mare:[&>svg]:size-4 mare:transition-transform mare:ark-open:rotate-180", A = `
25
+ mare:flex mare:flex-col mare:gap-0.5 mare:p-1
26
+ mare:rounded-input mare:border mare:border-default mare:bg-raised
27
+ mare:shadow-[0_2px_6px_0_rgba(0,0,0,0.16)]
28
+ mare:max-h-72 mare:overflow-y-auto
29
+ mare:min-w-[var(--reference-width)]
30
+ mare:z-50
31
+ `, G = `
32
+ mare:flex mare:items-center mare:gap-2 mare:mb-1 mare:px-3 mare:h-10
33
+ mare:rounded-input mare:border mare:border-strong mare:bg-default
34
+ mare:focus-within:outline-solid mare:focus-within:outline-2 mare:focus-within:outline-accent mare:focus-within:-outline-offset-2
35
+ `, H = "mare:flex-auto mare:bg-transparent mare:outline-none mare:text-default mare:placeholder:text-weak mare:tpc-typography-body-s", J = "mare:flex mare:items-center mare:shrink-0 mare:text-weak", O = `
36
+ mare:group/option mare:flex mare:items-center mare:justify-between mare:gap-2
37
+ mare:w-full mare:min-h-8 mare:py-2 mare:px-3 mare:cursor-pointer mare:rounded-menu-item
38
+ mare:tpc-typography-body-s mare:text-default
39
+ mare:ark-highlighted:bg-hover
40
+ mare:ark-selected:bg-accent-weak mare:ark-selected:text-accent
41
+ mare:ark-disabled:text-disabled mare:ark-disabled:cursor-not-allowed
42
+ `, U = "mare:flex mare:items-center mare:text-accent", W = "mare:py-2 mare:px-3 mare:tpc-typography-body-s mare:text-weak";
43
+ function le({
44
+ value: r = null,
45
+ onValueChange: d,
46
+ options: m,
47
+ placeholder: u = "Select…",
48
+ size: f = "medium",
49
+ disabled: p = !1,
50
+ invalid: h = !1,
51
+ filter: o = !1,
52
+ clearable: x = !1,
53
+ renderOption: n,
54
+ checkIcon: g,
55
+ clearIcon: b
56
+ }) {
57
+ const [i, s] = y(""), l = c(() => {
58
+ if (!o) return m;
59
+ const e = i.trim().toLowerCase();
60
+ return e ? m.filter((k) => k.label.toLowerCase().includes(e)) : m;
61
+ }, [o, i, m]), w = c(
62
+ () => v({
63
+ items: l,
64
+ itemToValue: (e) => e.value,
65
+ itemToString: (e) => e.label,
66
+ isItemDisabled: (e) => !!e.disabled
67
+ }),
68
+ [l]
69
+ );
70
+ return /* @__PURE__ */ t(
71
+ S,
72
+ {
73
+ collection: w,
74
+ value: r == null ? [] : [r],
75
+ disabled: p,
76
+ invalid: h,
77
+ onValueChange: (e) => d?.(e.value[0] ?? null),
78
+ onOpenChange: (e) => {
79
+ e.open || s("");
80
+ },
81
+ children: [
82
+ /* @__PURE__ */ t(I, { className: K(f), children: [
83
+ /* @__PURE__ */ a(C, { className: M, children: /* @__PURE__ */ a(
84
+ N,
85
+ {
86
+ className: Q,
87
+ placeholder: u
88
+ }
89
+ ) }),
90
+ x && /* @__PURE__ */ a(z, { className: R, children: b ?? /* @__PURE__ */ a(q, { size: "1em" }) }),
91
+ /* @__PURE__ */ a(T, { className: X, children: /* @__PURE__ */ a(E, { size: "1em" }) })
92
+ ] }),
93
+ /* @__PURE__ */ a(D, { children: /* @__PURE__ */ t(_, { className: A, children: [
94
+ o && /* @__PURE__ */ t("div", { className: G, children: [
95
+ /* @__PURE__ */ a(
96
+ "input",
97
+ {
98
+ className: H,
99
+ value: i,
100
+ onChange: (e) => s(e.target.value),
101
+ onKeyDown: (e) => {
102
+ e.key === "Enter" && e.preventDefault(), e.key !== "Escape" && e.stopPropagation();
103
+ },
104
+ placeholder: "Buscar…"
105
+ }
106
+ ),
107
+ /* @__PURE__ */ a("span", { className: J, children: /* @__PURE__ */ a(F, { size: "1em" }) })
108
+ ] }),
109
+ l.length === 0 && /* @__PURE__ */ a("div", { className: W, children: "Sin resultados" }),
110
+ l.map((e) => /* @__PURE__ */ t(
111
+ j,
112
+ {
113
+ item: e,
114
+ className: O,
115
+ children: [
116
+ /* @__PURE__ */ a(L, { children: n ? n(e) : e.label }),
117
+ /* @__PURE__ */ a(
118
+ V,
119
+ {
120
+ className: U,
121
+ children: g ?? /* @__PURE__ */ a(P, { size: "1em" })
122
+ }
123
+ )
124
+ ]
125
+ },
126
+ e.value
127
+ ))
128
+ ] }) })
129
+ ]
130
+ }
131
+ );
132
+ }
133
+ export {
134
+ le as F
135
+ };
@@ -0,0 +1,19 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { createContext as l } from "react";
3
+ const c = "mare:inline-flex mare:flex-wrap mare:gap-2", p = (e, i) => i ? Array.isArray(e) ? e : [] : typeof e == "string" ? [e] : [], f = (e, i) => e.includes(i), d = (e, i, o) => o ? e.includes(i) ? e.filter((r) => r !== i) : [...e, i] : e[0] === i ? void 0 : i, m = l(null);
4
+ function g({
5
+ multiple: e = !1,
6
+ value: i,
7
+ onValueChange: o,
8
+ children: r
9
+ }) {
10
+ const t = p(i, e), s = {
11
+ isSelected: (n) => f(t, n),
12
+ toggle: (n) => o?.(d(t, n, e))
13
+ };
14
+ return /* @__PURE__ */ a("div", { className: c, children: /* @__PURE__ */ a(m.Provider, { value: s, children: r }) });
15
+ }
16
+ export {
17
+ g as F,
18
+ m as a
19
+ };
@@ -0,0 +1,60 @@
1
+ import { jsxs as x, jsx as d } from "react/jsx-runtime";
2
+ import { useRef as b, useState as R, useLayoutEffect as w } from "react";
3
+ import { B as M } from "./Badge-WC6my4Aw.js";
4
+ const v = "mare:relative mare:inline-flex mare:w-fit", B = `
5
+ mare:absolute mare:top-0 mare:end-0 mare:origin-[100%_0]
6
+ mare:m-0 mare:outline mare:outline-tpc-bg-default
7
+ `;
8
+ function N(a, c, l, u = 0, s = 0) {
9
+ const t = a.getBoundingClientRect(), r = t.width / 2, n = t.height / 2, m = c.getBoundingClientRect(), p = Number.parseFloat(
10
+ getComputedStyle(a).borderRadius.replaceAll("px", "")
11
+ );
12
+ if (m.width > p) return "";
13
+ const e = l * (Math.PI / 180), o = (r + u) * Math.cos(e), i = (n + s) * Math.sin(e);
14
+ return `translate(${-Math.abs(r - o)}px, ${Math.abs(n - i)}px)`;
15
+ }
16
+ const y = 45, g = "translate(50%, -50%)";
17
+ function O({
18
+ children: a,
19
+ severity: c = "accent",
20
+ icon: l,
21
+ value: u,
22
+ offsetX: s = 0,
23
+ offsetY: t = 0
24
+ }) {
25
+ const r = b(null), n = b(null), [m, p] = R(g);
26
+ return w(() => {
27
+ const e = r.current, o = n.current;
28
+ if (!e || !o) return;
29
+ const i = () => {
30
+ const h = e.firstElementChild;
31
+ h && p(
32
+ N(h, o, y, s, t) || g
33
+ );
34
+ };
35
+ i();
36
+ const f = new ResizeObserver(i);
37
+ return f.observe(e, { box: "border-box" }), () => f.disconnect();
38
+ }, [s, t]), /* @__PURE__ */ x("span", { className: v, children: [
39
+ /* @__PURE__ */ d("span", { ref: r, children: a }),
40
+ /* @__PURE__ */ d(
41
+ "span",
42
+ {
43
+ ref: n,
44
+ className: B,
45
+ style: { transform: m },
46
+ children: /* @__PURE__ */ d(
47
+ M,
48
+ {
49
+ severity: c,
50
+ icon: l,
51
+ children: u
52
+ }
53
+ )
54
+ }
55
+ )
56
+ ] });
57
+ }
58
+ export {
59
+ O
60
+ };
@@ -0,0 +1,94 @@
1
+ import { jsx as a, jsxs as p } from "react/jsx-runtime";
2
+ import { SegmentGroupRoot as g, SegmentGroupItem as f, SegmentGroupItemControl as h, SegmentGroupItemText as x, SegmentGroupItemHiddenInput as b } from "@ark-ui/react/segment-group";
3
+ const v = `
4
+ mare:inline-flex mare:select-none mare:rounded-tpc-segmented-control-container
5
+ mare:bg-tpc-bg-neutral-weak mare:gap-1 mare:p-1
6
+ mare:ark-disabled:opacity-40
7
+ `, k = (r) => `
8
+ mare:inline-flex mare:items-center mare:justify-center mare:overflow-hidden mare:relative
9
+ mare:cursor-pointer mare:select-none
10
+ ${r === "equal" ? "mare:flex-1" : "mare:grow"}
11
+ mare:rounded-tpc-segmented-control-segment
12
+ mare:data-size-small:h-8
13
+ mare:data-size-medium:h-10
14
+
15
+ mare:text-tpc-fg-weak
16
+ mare:not-ark-disabled:hover:bg-tpc-bg-hover
17
+ mare:ark-disabled:cursor-not-allowed
18
+
19
+ mare:ark-checked:bg-tpc-bg-default
20
+ mare:ark-checked:text-tpc-fg-default
21
+
22
+ mare:tpc-typography-label-s
23
+ mare:transition-colors mare:duration-200
24
+ `, y = `
25
+ mare:relative mare:flex-auto mare:inline-flex mare:items-center mare:justify-center mare:gap-2
26
+ mare:data-size-small:py-1 mare:data-size-small:px-3
27
+ mare:data-size-medium:py-2.5 mare:data-size-medium:px-3.5
28
+ mare:transition-colors mare:duration-200 mare:h-full
29
+ `, z = "mare:px-0.5", S = "mare:sr-only";
30
+ function I({
31
+ items: r,
32
+ value: l,
33
+ defaultValue: n,
34
+ onValueChange: o,
35
+ size: m = "small",
36
+ optionWidth: s = "auto",
37
+ disabled: d = !1,
38
+ renderOption: t,
39
+ name: i,
40
+ form: c,
41
+ id: u
42
+ }) {
43
+ return /* @__PURE__ */ a(
44
+ g,
45
+ {
46
+ value: l,
47
+ defaultValue: n,
48
+ onValueChange: (e) => {
49
+ e.value && o?.(e.value);
50
+ },
51
+ disabled: d,
52
+ name: i,
53
+ form: c,
54
+ id: u,
55
+ className: v,
56
+ children: r.map((e) => /* @__PURE__ */ p(
57
+ f,
58
+ {
59
+ value: e.value,
60
+ disabled: e.disabled,
61
+ className: k(s),
62
+ "data-size": m,
63
+ children: [
64
+ /* @__PURE__ */ a(
65
+ h,
66
+ {
67
+ className: y,
68
+ "data-size": m,
69
+ children: t ? t(e) : /* @__PURE__ */ a(
70
+ x,
71
+ {
72
+ className: z,
73
+ "data-size": m,
74
+ children: e.label
75
+ }
76
+ )
77
+ }
78
+ ),
79
+ /* @__PURE__ */ a(
80
+ b,
81
+ {
82
+ className: S
83
+ }
84
+ )
85
+ ]
86
+ },
87
+ e.value
88
+ ))
89
+ }
90
+ );
91
+ }
92
+ export {
93
+ I as S
94
+ };