welcome-ui 8.0.0 → 8.0.3
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.
- package/dist/AXB53BZF-BOEe01VW.mjs +25 -0
- package/dist/Accordion.mjs +17 -17
- package/dist/Alert.mjs +19 -19
- package/dist/{BYC7LY2E-CVjUW1dr.mjs → BYC7LY2E-B1IDizRs.mjs} +298 -295
- package/dist/Badge.mjs +1 -1
- package/dist/Breadcrumb.mjs +27 -26
- package/dist/Button.mjs +2 -2
- package/dist/Checkbox.mjs +1 -1
- package/dist/{CustomInput-D_13Gd_3.mjs → CustomInput-IA_gVoXd.mjs} +2991 -2859
- package/dist/DatePicker.mjs +4 -4
- package/dist/DateTimePicker.mjs +9 -9
- package/dist/DateTimePickerCommon.mjs +1 -1
- package/dist/Drawer.mjs +7 -7
- package/dist/DropdownMenu.mjs +262 -262
- package/dist/Field.mjs +25 -25
- package/dist/FileDrop.mjs +273 -267
- package/dist/FileUpload.mjs +26 -26
- package/dist/Files.mjs +1 -1
- package/dist/Hint.mjs +1 -1
- package/dist/{ITI7HKP4-BONrZ9Pq.mjs → ITI7HKP4-EL9KXYBU.mjs} +150 -150
- package/dist/Icons.mjs +88 -88
- package/dist/IconsFont.mjs +159 -159
- package/dist/InputText.mjs +1 -1
- package/dist/{JC64G2H7-Dey-8h60.mjs → JC64G2H7-BzklVBKM.mjs} +70 -70
- package/dist/KUU7WJ55-CS4NemC6.mjs +61 -0
- package/dist/{LVA2YJMS-qFC9J-lt.mjs → LVA2YJMS-DDEmK0pp.mjs} +491 -488
- package/dist/Label.mjs +2 -2
- package/dist/Link.mjs +3 -3
- package/dist/MTZPJQMC-CMjAwC0N.mjs +15 -0
- package/dist/Modal.mjs +13 -13
- package/dist/NLEBE274-QOMV1l7e.mjs +84 -0
- package/dist/P2CTZE2T-Cl2w7OLV.mjs +300 -0
- package/dist/P4IRICAX-DezbJY4s.mjs +37 -0
- package/dist/Pagination.mjs +22 -22
- package/dist/Picker.mjs +2 -2
- package/dist/Popover.mjs +2 -2
- package/dist/QYJ6MIDR-Bb0O5xUM.mjs +97 -0
- package/dist/Radio.mjs +18 -18
- package/dist/RadioGroup.mjs +15 -15
- package/dist/RadioTab.mjs +9 -9
- package/dist/{SYRFVSLH-cVmYtx36.mjs → SYRFVSLH-jn06-eLy.mjs} +17 -17
- package/dist/Search.mjs +2 -2
- package/dist/Select.mjs +719 -716
- package/dist/Shape.mjs +1 -1
- package/dist/Slider.mjs +1 -1
- package/dist/Swiper.mjs +284 -278
- package/dist/Tabs.mjs +128 -128
- package/dist/Tag.mjs +16 -16
- package/dist/Text.mjs +1 -1
- package/dist/Textarea.mjs +4 -4
- package/dist/TimePicker.mjs +6 -6
- package/dist/Toast.mjs +69 -69
- package/dist/Toggle.mjs +2 -2
- package/dist/Tooltip.mjs +60 -60
- package/dist/UniversalLink.mjs +8 -8
- package/dist/VEVQD5MH-CuegL0m0.mjs +20 -0
- package/dist/{VGCJ63VH-B39w1tBw.mjs → VGCJ63VH-BMzoZtCu.mjs} +31 -33
- package/dist/VariantIcon.mjs +4 -4
- package/dist/WelcomeLoader.mjs +4862 -9223
- package/dist/X5NMLKT6-CvSCix-_.mjs +25 -0
- package/dist/YV4JVR4I-Bh7B7TET.mjs +344 -0
- package/dist/downshift.esm-D0ns_SQs.mjs +1082 -0
- package/dist/{field-styles-DLIhqG_8.mjs → field-styles-CfVLcVQp.mjs} +1 -1
- package/dist/{index-BDeIsk2X.mjs → index-5PUh49rV.mjs} +56 -56
- package/dist/{index-DEJJvyGk.mjs → index-B0gDDiFm.mjs} +7 -7
- package/dist/{index-CExLVjET.mjs → index-B22SHR8h.mjs} +4 -4
- package/dist/index-BhcLigYU.mjs +77 -0
- package/dist/{index-BJAZgeHL.mjs → index-Bkl89twW.mjs} +4 -4
- package/dist/{index-BYdkhqH4.mjs → index-CBBbX29m.mjs} +3652 -3584
- package/dist/{index-BpRjq7lj.mjs → index-CQD9fgf_.mjs} +3 -3
- package/dist/{index-BRDOakbf.mjs → index-CmsWSKKs.mjs} +5 -5
- package/dist/{index-SbQUT2mU.mjs → index-DgSynio4.mjs} +244 -239
- package/dist/{index-BrfXjmHY.mjs → index-wr_b5GSV.mjs} +6 -6
- package/dist/radio-group-RFyDp0KD.mjs +51 -0
- package/dist/theme.mjs +670 -615
- package/dist/{use-viewport-m3glsbna.mjs → use-viewport-CfklieD-.mjs} +5 -5
- package/dist/utils.mjs +29 -91
- package/package.json +13 -13
- package/dist/AXB53BZF-CGoc4K3d.mjs +0 -25
- package/dist/KUU7WJ55-3sP-w1F1.mjs +0 -61
- package/dist/MTZPJQMC-C0Xe_WK4.mjs +0 -13
- package/dist/NLEBE274-C94QU78N.mjs +0 -84
- package/dist/P2CTZE2T-YPes1GXe.mjs +0 -297
- package/dist/P4IRICAX-DzXqUYe-.mjs +0 -37
- package/dist/QYJ6MIDR-BLLqyXdd.mjs +0 -97
- package/dist/VEVQD5MH-ZMnHV8ZJ.mjs +0 -20
- package/dist/X5NMLKT6-uFSu0Lii.mjs +0 -25
- package/dist/YV4JVR4I-BGfUf3Nu.mjs +0 -341
- package/dist/downshift.esm-CEHW4VDy.mjs +0 -1085
- package/dist/radio-group-CGC6DTFJ.mjs +0 -51
package/dist/Picker.mjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import e from "react";
|
|
3
3
|
import u, { system as R } from "@xstyled/styled-components";
|
|
4
4
|
import { shouldForwardProp as $, forwardRef as k } from "./System.mjs";
|
|
5
|
-
import { R as y } from "./NLEBE274-
|
|
5
|
+
import { R as y } from "./NLEBE274-QOMV1l7e.mjs";
|
|
6
6
|
import { Label as E } from "./Label.mjs";
|
|
7
7
|
import { FieldGroup as b } from "./FieldGroup.mjs";
|
|
8
8
|
import { Box as w } from "./Box.mjs";
|
|
9
|
-
import { u as x, R as P } from "./radio-group-
|
|
9
|
+
import { u as x, R as P } from "./radio-group-RFyDp0KD.mjs";
|
|
10
10
|
const h = u(y).withConfig({ shouldForwardProp: $ })`
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 0;
|
package/dist/Popover.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import a, { th as l, css as p, system as m } from "@xstyled/styled-components";
|
|
4
|
-
import { P as h, a as v } from "./QYJ6MIDR-
|
|
5
|
-
import { P, H as $, a as C, u as w, b as E } from "./BYC7LY2E-
|
|
4
|
+
import { P as h, a as v } from "./QYJ6MIDR-Bb0O5xUM.mjs";
|
|
5
|
+
import { P, H as $, a as C, u as w, b as E } from "./BYC7LY2E-B1IDizRs.mjs";
|
|
6
6
|
import { forwardRef as i } from "./System.mjs";
|
|
7
7
|
import "./Icon.mjs";
|
|
8
8
|
import { C as H } from "./index-C7zM96J_.mjs";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { u as E, b as C, P as N } from "./MTZPJQMC-CMjAwC0N.mjs";
|
|
3
|
+
import { c as d, _ as m, d as P, e as x, g as i, f, h, i as w, t as l, z as V, F as j, G as z, b as R, E as O } from "./LVA2YJMS-DDEmK0pp.mjs";
|
|
4
|
+
import { useMemo as T, useState as W } from "react";
|
|
5
|
+
import { u as M } from "./AXB53BZF-BOEe01VW.mjs";
|
|
6
|
+
var H = "div", _ = d(
|
|
7
|
+
function(t) {
|
|
8
|
+
var r = t, { store: e } = r, o = m(r, ["store"]);
|
|
9
|
+
const s = E();
|
|
10
|
+
return e = e || s, o = P(i({}, o), {
|
|
11
|
+
ref: x(e == null ? void 0 : e.setAnchorElement, o.ref)
|
|
12
|
+
}), o;
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
f(function(t) {
|
|
16
|
+
const r = _(t);
|
|
17
|
+
return h(H, r);
|
|
18
|
+
});
|
|
19
|
+
var g = "M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z", L = "div", v = 30, a = v / 2, B = {
|
|
20
|
+
top: `rotate(180 ${a} ${a})`,
|
|
21
|
+
right: `rotate(-90 ${a} ${a})`,
|
|
22
|
+
bottom: `rotate(0 ${a} ${a})`,
|
|
23
|
+
left: `rotate(90 ${a} ${a})`
|
|
24
|
+
};
|
|
25
|
+
function F(c) {
|
|
26
|
+
const [t, r] = W(), e = c.useState("contentElement");
|
|
27
|
+
return j(() => {
|
|
28
|
+
if (!e) return;
|
|
29
|
+
const s = z(e).getComputedStyle(e);
|
|
30
|
+
r(s);
|
|
31
|
+
}, [e]), t;
|
|
32
|
+
}
|
|
33
|
+
var G = d(
|
|
34
|
+
function(t) {
|
|
35
|
+
var r = t, { store: e, size: o = v } = r, s = m(r, ["store", "size"]);
|
|
36
|
+
const p = C();
|
|
37
|
+
e = e || p, w(
|
|
38
|
+
e,
|
|
39
|
+
process.env.NODE_ENV !== "production" && "PopoverArrow must be wrapped in a Popover component."
|
|
40
|
+
);
|
|
41
|
+
const u = e.useState(
|
|
42
|
+
(k) => k.currentPlacement.split("-")[0]
|
|
43
|
+
), n = F(e), y = (n == null ? void 0 : n.getPropertyValue("background-color")) || "none", A = (n == null ? void 0 : n.getPropertyValue(`border-${u}-color`)) || "none", S = (n == null ? void 0 : n.getPropertyValue(`border-${u}-width`)) || "0px", $ = Number.parseInt(S) * 2 * (v / o), b = B[u], D = T(
|
|
44
|
+
() => /* @__PURE__ */ l.jsx("svg", { display: "block", viewBox: "0 0 30 30", children: /* @__PURE__ */ l.jsxs("g", { transform: b, children: [
|
|
45
|
+
/* @__PURE__ */ l.jsx("path", { fill: "none", d: g }),
|
|
46
|
+
/* @__PURE__ */ l.jsx("path", { stroke: "none", d: g })
|
|
47
|
+
] }) }),
|
|
48
|
+
[b]
|
|
49
|
+
);
|
|
50
|
+
return s = P(i({
|
|
51
|
+
children: D,
|
|
52
|
+
"aria-hidden": !0
|
|
53
|
+
}, s), {
|
|
54
|
+
ref: x(e.setArrowElement, s.ref),
|
|
55
|
+
style: i({
|
|
56
|
+
// server side rendering
|
|
57
|
+
position: "absolute",
|
|
58
|
+
fontSize: o,
|
|
59
|
+
width: "1em",
|
|
60
|
+
height: "1em",
|
|
61
|
+
pointerEvents: "none",
|
|
62
|
+
fill: y,
|
|
63
|
+
stroke: A,
|
|
64
|
+
strokeWidth: $
|
|
65
|
+
}, s.style)
|
|
66
|
+
}), V(s);
|
|
67
|
+
}
|
|
68
|
+
), X = f(function(t) {
|
|
69
|
+
const r = G(t);
|
|
70
|
+
return h(L, r);
|
|
71
|
+
}), I = "button", U = d(function(t) {
|
|
72
|
+
var r = t, { store: e } = r, o = m(r, ["store"]);
|
|
73
|
+
const s = E();
|
|
74
|
+
e = e || s, w(
|
|
75
|
+
e,
|
|
76
|
+
process.env.NODE_ENV !== "production" && "PopoverDisclosure must receive a `store` prop or be wrapped in a PopoverProvider component."
|
|
77
|
+
);
|
|
78
|
+
const p = o.onClick, u = R((n) => {
|
|
79
|
+
e == null || e.setAnchorElement(n.currentTarget), p == null || p(n);
|
|
80
|
+
});
|
|
81
|
+
return o = O(
|
|
82
|
+
o,
|
|
83
|
+
(n) => /* @__PURE__ */ l.jsx(N, { value: e, children: n }),
|
|
84
|
+
[e]
|
|
85
|
+
), o = P(i({}, o), {
|
|
86
|
+
onClick: u
|
|
87
|
+
}), o = _(i({ store: e }, o)), o = M(i({ store: e }, o)), o;
|
|
88
|
+
}), Y = f(function(t) {
|
|
89
|
+
const r = U(t);
|
|
90
|
+
return h(I, r);
|
|
91
|
+
});
|
|
92
|
+
export {
|
|
93
|
+
X as P,
|
|
94
|
+
Y as a,
|
|
95
|
+
U as b,
|
|
96
|
+
G as u
|
|
97
|
+
};
|
package/dist/Radio.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import o, {
|
|
4
|
-
import { d as $ } from "./field-styles-
|
|
3
|
+
import o, { th as i, system as g, css as x } from "@xstyled/styled-components";
|
|
4
|
+
import { d as $ } from "./field-styles-CfVLcVQp.mjs";
|
|
5
5
|
import { shouldForwardProp as k, forwardRef as w } from "./System.mjs";
|
|
6
6
|
import { Label as y } from "./Label.mjs";
|
|
7
|
-
import { R as E } from "./NLEBE274-
|
|
7
|
+
import { R as E } from "./NLEBE274-QOMV1l7e.mjs";
|
|
8
8
|
import { Hint as R } from "./Hint.mjs";
|
|
9
|
-
const
|
|
10
|
-
({ order: e = "-1", size: r, variant: a }) =>
|
|
9
|
+
const v = o(E).withConfig({ shouldForwardProp: k })(
|
|
10
|
+
({ order: e = "-1", size: r, variant: a }) => x`
|
|
11
11
|
${$({ size: r, variant: a })};
|
|
12
12
|
${i("radios.default")}
|
|
13
13
|
position: relative;
|
|
@@ -16,7 +16,7 @@ const C = o(E).withConfig({ shouldForwardProp: k })(
|
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
border-radius: 50%;
|
|
18
18
|
transition: medium;
|
|
19
|
-
${
|
|
19
|
+
${g};
|
|
20
20
|
|
|
21
21
|
&::after {
|
|
22
22
|
content: '';
|
|
@@ -46,11 +46,11 @@ const C = o(E).withConfig({ shouldForwardProp: k })(
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
`
|
|
49
|
-
),
|
|
49
|
+
), C = o(y)`
|
|
50
50
|
max-width: 100%;
|
|
51
51
|
/** we need to reset margin-bottom from Label component */
|
|
52
52
|
margin-bottom: 0 !important;
|
|
53
|
-
`,
|
|
53
|
+
`, L = o.divBox`
|
|
54
54
|
flex-shrink: 0;
|
|
55
55
|
position: relative;
|
|
56
56
|
align-items: center;
|
|
@@ -71,33 +71,33 @@ const C = o(E).withConfig({ shouldForwardProp: k })(
|
|
|
71
71
|
dataTestId: e,
|
|
72
72
|
disabled: r,
|
|
73
73
|
disabledIcon: a,
|
|
74
|
-
flexDirection:
|
|
75
|
-
hint:
|
|
74
|
+
flexDirection: p,
|
|
75
|
+
hint: n,
|
|
76
76
|
label: d,
|
|
77
|
-
maxWidth:
|
|
77
|
+
maxWidth: f,
|
|
78
78
|
onChange: s,
|
|
79
79
|
onClick: c,
|
|
80
80
|
variant: m,
|
|
81
81
|
...u
|
|
82
82
|
}, b) => {
|
|
83
|
-
const h = (
|
|
84
|
-
|
|
83
|
+
const h = (l) => {
|
|
84
|
+
l.stopPropagation(), c && c(l), s && s(l);
|
|
85
85
|
};
|
|
86
86
|
return /* @__PURE__ */ t.createElement(
|
|
87
|
-
|
|
87
|
+
C,
|
|
88
88
|
{
|
|
89
89
|
alignItems: "flex-start",
|
|
90
90
|
checkableField: !0,
|
|
91
91
|
disabled: r,
|
|
92
92
|
disabledIcon: a,
|
|
93
93
|
flexDirection: "column",
|
|
94
|
-
maxWidth:
|
|
94
|
+
maxWidth: f,
|
|
95
95
|
onClick: h,
|
|
96
96
|
variant: m,
|
|
97
97
|
withDisabledIcon: !1
|
|
98
98
|
},
|
|
99
|
-
/* @__PURE__ */ t.createElement(F, { flexDirection:
|
|
100
|
-
|
|
99
|
+
/* @__PURE__ */ t.createElement(F, { flexDirection: p }, /* @__PURE__ */ t.createElement(L, null, /* @__PURE__ */ t.createElement(
|
|
100
|
+
v,
|
|
101
101
|
{
|
|
102
102
|
"data-testid": e,
|
|
103
103
|
disabled: r,
|
|
@@ -106,7 +106,7 @@ const C = o(E).withConfig({ shouldForwardProp: k })(
|
|
|
106
106
|
variant: m,
|
|
107
107
|
...u
|
|
108
108
|
}
|
|
109
|
-
)), /* @__PURE__ */ t.createElement(B, null, /* @__PURE__ */ t.createElement("div", { "data-testid": e ? `${e}-label` : void 0 }, d),
|
|
109
|
+
)), /* @__PURE__ */ t.createElement(B, null, /* @__PURE__ */ t.createElement("div", { "data-testid": e ? `${e}-label` : void 0 }, d), n && /* @__PURE__ */ t.createElement(R, { "data-testid": e ? `${e}-hint` : void 0, mt: "0" }, n)))
|
|
110
110
|
);
|
|
111
111
|
}
|
|
112
112
|
);
|
package/dist/RadioGroup.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import
|
|
3
|
+
import b, { css as n } from "@xstyled/styled-components";
|
|
4
4
|
import { FieldGroup as y } from "./FieldGroup.mjs";
|
|
5
5
|
import { Radio as G } from "./Radio.mjs";
|
|
6
6
|
import { forwardRef as w } from "./System.mjs";
|
|
7
|
-
import { u as E, R as V } from "./radio-group-
|
|
8
|
-
const h =
|
|
9
|
-
({ flexDirection: a }) =>
|
|
7
|
+
import { u as E, R as V } from "./radio-group-RFyDp0KD.mjs";
|
|
8
|
+
const h = b.divBox(
|
|
9
|
+
({ flexDirection: a }) => n`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: ${a};
|
|
12
12
|
flex-wrap: wrap;
|
|
@@ -17,17 +17,17 @@ const h = x.divBox(
|
|
|
17
17
|
dataTestId: a,
|
|
18
18
|
flexDirection: i,
|
|
19
19
|
id: m,
|
|
20
|
-
label:
|
|
21
|
-
maxWidth:
|
|
20
|
+
label: o,
|
|
21
|
+
maxWidth: s,
|
|
22
22
|
name: u,
|
|
23
23
|
onChange: r,
|
|
24
|
-
options:
|
|
25
|
-
renderOption:
|
|
24
|
+
options: c = [],
|
|
25
|
+
renderOption: f = G,
|
|
26
26
|
required: p,
|
|
27
27
|
value: v,
|
|
28
28
|
...d
|
|
29
29
|
}, R) => {
|
|
30
|
-
const l = E({ defaultValue: v }),
|
|
30
|
+
const l = E({ defaultValue: v }), $ = l.useState("value"), x = (e) => {
|
|
31
31
|
d.disabled || (l.setValue(e), r == null || r(e));
|
|
32
32
|
};
|
|
33
33
|
return /* @__PURE__ */ t.createElement(
|
|
@@ -35,24 +35,24 @@ const h = x.divBox(
|
|
|
35
35
|
{
|
|
36
36
|
as: V,
|
|
37
37
|
dataTestId: a,
|
|
38
|
-
label:
|
|
38
|
+
label: o,
|
|
39
39
|
mb: 0,
|
|
40
40
|
ref: R,
|
|
41
41
|
required: p,
|
|
42
42
|
store: l
|
|
43
43
|
},
|
|
44
|
-
/* @__PURE__ */ t.createElement(h, { flexDirection: i },
|
|
45
|
-
|
|
44
|
+
/* @__PURE__ */ t.createElement(h, { flexDirection: i }, c.map((e) => /* @__PURE__ */ t.createElement(
|
|
45
|
+
f,
|
|
46
46
|
{
|
|
47
|
-
checked: e.value ===
|
|
47
|
+
checked: e.value === $,
|
|
48
48
|
dataTestId: a ? `${a}-${e.value}` : void 0,
|
|
49
49
|
hint: e.hint,
|
|
50
50
|
id: `${m || u}.${e.value}`,
|
|
51
51
|
key: e.value,
|
|
52
52
|
label: e.label,
|
|
53
|
-
maxWidth:
|
|
53
|
+
maxWidth: s,
|
|
54
54
|
name: u,
|
|
55
|
-
onChange: () =>
|
|
55
|
+
onChange: () => x(e.value),
|
|
56
56
|
value: e.value,
|
|
57
57
|
...d
|
|
58
58
|
}
|
package/dist/RadioTab.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import a, {
|
|
4
|
-
import { d as f } from "./field-styles-
|
|
2
|
+
import d from "react";
|
|
3
|
+
import a, { th as i, css as e } from "@xstyled/styled-components";
|
|
4
|
+
import { d as f } from "./field-styles-CfVLcVQp.mjs";
|
|
5
5
|
import { o as u } from "./overflow-ellipsis-DGV5Kgt-.mjs";
|
|
6
6
|
import { shouldForwardProp as b, forwardRef as h } from "./System.mjs";
|
|
7
|
-
import { R as c } from "./NLEBE274-
|
|
7
|
+
import { R as c } from "./NLEBE274-QOMV1l7e.mjs";
|
|
8
8
|
import { Button as g } from "./Button.mjs";
|
|
9
9
|
const y = a(c).withConfig({ shouldForwardProp: b })`
|
|
10
10
|
position: absolute;
|
|
@@ -37,7 +37,7 @@ const y = a(c).withConfig({ shouldForwardProp: b })`
|
|
|
37
37
|
}
|
|
38
38
|
`;
|
|
39
39
|
a.labelBox(
|
|
40
|
-
({ checked: o, flexDirection: t, size: r, variant:
|
|
40
|
+
({ checked: o, flexDirection: t, size: r, variant: s }) => e`
|
|
41
41
|
${i("radioTabs.default")};
|
|
42
42
|
flex: 1;
|
|
43
43
|
display: flex;
|
|
@@ -52,7 +52,7 @@ a.labelBox(
|
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
transition: medium;
|
|
54
54
|
|
|
55
|
-
${f({ size: r, variant:
|
|
55
|
+
${f({ size: r, variant: s })};
|
|
56
56
|
${o && e`
|
|
57
57
|
${i("radioTabs.checked")};
|
|
58
58
|
z-index: 2;
|
|
@@ -72,7 +72,7 @@ a.div`
|
|
|
72
72
|
max-width: 100%;
|
|
73
73
|
`;
|
|
74
74
|
const x = h(
|
|
75
|
-
({ checked: o, dataTestId: t, disabled: r, id:
|
|
75
|
+
({ checked: o, dataTestId: t, disabled: r, id: s, label: l, onChange: m, value: n }, p) => /* @__PURE__ */ d.createElement(
|
|
76
76
|
g,
|
|
77
77
|
{
|
|
78
78
|
as: "label",
|
|
@@ -83,13 +83,13 @@ const x = h(
|
|
|
83
83
|
ref: p,
|
|
84
84
|
variant: o ? "primary" : "ghost"
|
|
85
85
|
},
|
|
86
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ d.createElement(
|
|
87
87
|
y,
|
|
88
88
|
{
|
|
89
89
|
checked: o,
|
|
90
90
|
"data-testid": t ? `${t}-input` : void 0,
|
|
91
91
|
disabled: r,
|
|
92
|
-
id:
|
|
92
|
+
id: s,
|
|
93
93
|
onChange: m,
|
|
94
94
|
value: n
|
|
95
95
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { u as
|
|
3
|
-
import { b as
|
|
4
|
-
import {
|
|
5
|
-
import { useMemo as
|
|
6
|
-
var
|
|
2
|
+
import { u as m } from "./X5NMLKT6-CvSCix-_.mjs";
|
|
3
|
+
import { b as d } from "./VGCJ63VH-BMzoZtCu.mjs";
|
|
4
|
+
import { f as p, c as x, h as f, _ as D, b as g, t as r, d as h, g as k } from "./LVA2YJMS-DDEmK0pp.mjs";
|
|
5
|
+
import { useMemo as v } from "react";
|
|
6
|
+
var _ = "button", b = x(
|
|
7
7
|
function(i) {
|
|
8
|
-
var
|
|
9
|
-
const l =
|
|
10
|
-
|
|
11
|
-
const t = s.onClick, u =
|
|
12
|
-
t == null || t(
|
|
13
|
-
}),
|
|
8
|
+
var o = i, { store: e } = o, s = D(o, ["store"]);
|
|
9
|
+
const l = d();
|
|
10
|
+
e = e || l;
|
|
11
|
+
const t = s.onClick, u = g((a) => {
|
|
12
|
+
t == null || t(a), !a.defaultPrevented && (e == null || e.hide());
|
|
13
|
+
}), c = v(
|
|
14
14
|
() => /* @__PURE__ */ r.jsxs(
|
|
15
15
|
"svg",
|
|
16
16
|
{
|
|
@@ -32,16 +32,16 @@ var b = "button", v = p(
|
|
|
32
32
|
),
|
|
33
33
|
[]
|
|
34
34
|
);
|
|
35
|
-
return s =
|
|
35
|
+
return s = h(k({
|
|
36
36
|
"data-dialog-dismiss": "",
|
|
37
|
-
children:
|
|
37
|
+
children: c
|
|
38
38
|
}, s), {
|
|
39
39
|
onClick: u
|
|
40
|
-
}), s =
|
|
40
|
+
}), s = m(s), s;
|
|
41
41
|
}
|
|
42
|
-
), w =
|
|
43
|
-
const
|
|
44
|
-
return
|
|
42
|
+
), w = p(function(i) {
|
|
43
|
+
const o = b(i);
|
|
44
|
+
return f(_, o);
|
|
45
45
|
});
|
|
46
46
|
export {
|
|
47
47
|
w as D
|
package/dist/Search.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import t, { useState as de, useCallback as me, useMemo as pe, Fragment as fe } from "react";
|
|
3
|
-
import { D as W } from "./downshift.esm-
|
|
3
|
+
import { D as W } from "./downshift.esm-D0ns_SQs.mjs";
|
|
4
4
|
import { c as ue } from "./create-event-rXDe5aCQ.mjs";
|
|
5
|
-
import { d as he, F as ge } from "./field-styles-
|
|
5
|
+
import { d as he, F as ge } from "./field-styles-CfVLcVQp.mjs";
|
|
6
6
|
import { t as Ee } from "./throttle-BDBzFeFj.mjs";
|
|
7
7
|
import a, { css as F, th as o } from "@xstyled/styled-components";
|
|
8
8
|
import { o as V } from "./overflow-ellipsis-DGV5Kgt-.mjs";
|