welcome-ui 0.0.0-dev.1759222868187 → 0.0.0-dev.1759252708223
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/4CMBR7SL-DXQR7a9T.js +308 -0
- package/dist/{ASMQKSDT-CyLroRiC.js → ASMQKSDT-GE79MhKX.js} +12 -12
- package/dist/{AXB53BZF-DBGkYxAF.js → AXB53BZF-ClCOTGI-.js} +3 -3
- package/dist/Accordion.js +3 -3
- package/dist/{BYC7LY2E-sahp7oqU.js → BYC7LY2E-DeD1QoQl.js} +108 -108
- package/dist/Button.js +1 -1
- package/dist/Checkbox.js +1 -1
- package/dist/Drawer.js +4 -4
- package/dist/DropdownMenu.js +140 -139
- package/dist/FieldGroup.css +1 -0
- package/dist/FieldGroup.js +17 -0
- package/dist/ITI7HKP4-MlgGFEDr.js +187 -0
- package/dist/InputText.css +1 -1
- package/dist/InputText.js +34 -34
- package/dist/{JC64G2H7-oyI4lllS.js → JC64G2H7-jNBZrGfv.js} +126 -126
- package/dist/{KUU7WJ55-iyg84yrl.js → KUU7WJ55-CRa_letc.js} +1 -1
- package/dist/{LVA2YJMS-BmLXjKP9.js → LVA2YJMS-C6Bdr5Em.js} +35 -35
- package/dist/Label.js +13 -13
- package/dist/{MTZPJQMC-CEQxLFTu.js → MTZPJQMC-DgscjgO6.js} +2 -2
- package/dist/Modal.js +3 -3
- package/dist/{NLEBE274-BPGIVzin.js → NLEBE274-BlP1TDp5.js} +16 -16
- package/dist/{P2CTZE2T-CHi91Yb8.js → P2CTZE2T-DqsBJuIy.js} +32 -32
- package/dist/{P4IRICAX-CIAVAXlF.js → P4IRICAX-CvgWqpy0.js} +3 -3
- package/dist/Popover.js +3 -3
- package/dist/{QYJ6MIDR-DRpzeJNT.js → QYJ6MIDR-BWg_HLyh.js} +3 -3
- package/dist/Radio.css +1 -1
- package/dist/Radio.js +39 -38
- package/dist/RadioGroup.css +1 -0
- package/dist/RadioGroup.js +72 -0
- package/dist/RadioTab.js +1 -1
- package/dist/{SYRFVSLH-vrz7_KNH.js → SYRFVSLH-D5X1Ofws.js} +3 -3
- package/dist/Slider.css +1 -0
- package/dist/Slider.js +423 -0
- package/dist/Tabs.js +79 -78
- package/dist/Toggle.js +1 -1
- package/dist/Tooltip.js +31 -31
- package/dist/{VGCJ63VH-CV_AMRHp.js → VGCJ63VH-Bdd6jzVW.js} +31 -31
- package/dist/{X5NMLKT6-DqDJBMYO.js → X5NMLKT6-C7-nsL44.js} +2 -2
- package/dist/{YV4JVR4I-CvfP1OCB.js → YV4JVR4I-BN6SUVuh.js} +54 -54
- package/dist/types/components/FieldGroup/index.d.ts +1 -0
- package/dist/types/components/FieldGroup/types.d.ts +8 -0
- package/dist/types/components/Label/index.d.ts +1 -1
- package/dist/types/components/RadioGroup/index.d.ts +2 -0
- package/dist/types/components/RadioGroup/types.d.ts +17 -0
- package/dist/types/components/Slider/Range.d.ts +6 -0
- package/dist/types/components/Slider/index.d.ts +10 -0
- package/dist/types/components/Slider/types.d.ts +28 -0
- package/package.json +1 -1
- package/dist/ITI7HKP4-BwM8j6XI.js +0 -488
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { C as te, a as z, u as re, g as v, s as oe, i as x, f as se, b as ne } from "./P2CTZE2T-DqsBJuIy.js";
|
|
3
|
+
import { P as ie, a as ae } from "./MTZPJQMC-DgscjgO6.js";
|
|
4
|
+
import { t as ue, c as ce, _ as L, i as le, w as fe, x as de, y as M, z as C, A as pe, B as me, u as E, p as P, e as ve, q as U, v as ye, b as ge, j as Ce, d as R, n as Pe, C as Ie, f as Ee, a as Se } from "./LVA2YJMS-C6Bdr5Em.js";
|
|
5
|
+
import { createContext as b, useRef as H, useEffect as V, useState as Fe, useCallback as we } from "react";
|
|
6
|
+
import { f as xe, r as be } from "./4CMBR7SL-DXQR7a9T.js";
|
|
7
|
+
import { jsx as Ae } from "react/jsx-runtime";
|
|
8
|
+
b(
|
|
9
|
+
void 0
|
|
10
|
+
);
|
|
11
|
+
var j = ue(
|
|
12
|
+
[ae, z],
|
|
13
|
+
[ie, te]
|
|
14
|
+
), Ne = j.useContext, qe = j.useProviderContext;
|
|
15
|
+
b(
|
|
16
|
+
void 0
|
|
17
|
+
);
|
|
18
|
+
b(!1);
|
|
19
|
+
var Ke = "div";
|
|
20
|
+
function _e(r) {
|
|
21
|
+
return r.some((i) => !!i.rowId);
|
|
22
|
+
}
|
|
23
|
+
function ke(r) {
|
|
24
|
+
const i = r.target;
|
|
25
|
+
return i && !U(i) ? !1 : r.key.length === 1 && !r.ctrlKey && !r.metaKey;
|
|
26
|
+
}
|
|
27
|
+
function he(r) {
|
|
28
|
+
return r.key === "Shift" || r.key === "Control" || r.key === "Alt" || r.key === "Meta";
|
|
29
|
+
}
|
|
30
|
+
function O(r, i, l) {
|
|
31
|
+
return E((e) => {
|
|
32
|
+
var s;
|
|
33
|
+
if (i == null || i(e), e.defaultPrevented || e.isPropagationStopped() || !P(e) || he(e) || ke(e)) return;
|
|
34
|
+
const f = r.getState(), p = (s = v(r, f.activeId)) == null ? void 0 : s.element;
|
|
35
|
+
if (!p) return;
|
|
36
|
+
const n = e, { view: A } = n, w = L(n, ["view"]), c = l == null ? void 0 : l.current;
|
|
37
|
+
p !== c && p.focus(), Ie(p, e.type, w) || e.preventDefault(), e.currentTarget.contains(p) && e.stopPropagation();
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function Te(r) {
|
|
41
|
+
return se(
|
|
42
|
+
xe(be(ne(r)))
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
function De(r) {
|
|
46
|
+
const [i, l] = Fe(!1), e = we(() => l(!0), []), s = r.useState(
|
|
47
|
+
(f) => v(r, f.activeId)
|
|
48
|
+
);
|
|
49
|
+
return V(() => {
|
|
50
|
+
const f = s == null ? void 0 : s.element;
|
|
51
|
+
i && f && (l(!1), f.focus({ preventScroll: !0 }));
|
|
52
|
+
}, [s, i]), e;
|
|
53
|
+
}
|
|
54
|
+
var Be = ce(
|
|
55
|
+
function(i) {
|
|
56
|
+
var l = i, {
|
|
57
|
+
store: e,
|
|
58
|
+
composite: s = !0,
|
|
59
|
+
focusOnMove: f = s,
|
|
60
|
+
moveOnKeyPress: p = !0
|
|
61
|
+
} = l, n = L(l, [
|
|
62
|
+
"store",
|
|
63
|
+
"composite",
|
|
64
|
+
"focusOnMove",
|
|
65
|
+
"moveOnKeyPress"
|
|
66
|
+
]);
|
|
67
|
+
const A = re();
|
|
68
|
+
e = e || A, le(
|
|
69
|
+
e,
|
|
70
|
+
process.env.NODE_ENV !== "production" && "Composite must receive a `store` prop or be wrapped in a CompositeProvider component."
|
|
71
|
+
);
|
|
72
|
+
const w = H(null), c = H(null), N = De(e), S = e.useState("moves"), [, q] = fe(
|
|
73
|
+
s ? e.setBaseElement : null
|
|
74
|
+
);
|
|
75
|
+
V(() => {
|
|
76
|
+
var t;
|
|
77
|
+
if (!e || !S || !s || !f) return;
|
|
78
|
+
const { activeId: o } = e.getState(), a = (t = v(e, o)) == null ? void 0 : t.element;
|
|
79
|
+
a && de(a);
|
|
80
|
+
}, [e, S, s, f]), M(() => {
|
|
81
|
+
if (!e || !S || !s) return;
|
|
82
|
+
const { baseElement: t, activeId: o } = e.getState();
|
|
83
|
+
if (!(o === null) || !t) return;
|
|
84
|
+
const u = c.current;
|
|
85
|
+
c.current = null, u && C(u, { relatedTarget: t }), pe(t) || t.focus();
|
|
86
|
+
}, [e, S, s]);
|
|
87
|
+
const K = e.useState("activeId"), _ = e.useState("virtualFocus");
|
|
88
|
+
M(() => {
|
|
89
|
+
var t;
|
|
90
|
+
if (!e || !s || !_) return;
|
|
91
|
+
const o = c.current;
|
|
92
|
+
if (c.current = null, !o) return;
|
|
93
|
+
const u = ((t = v(e, K)) == null ? void 0 : t.element) || me(o);
|
|
94
|
+
u !== o && C(o, { relatedTarget: u });
|
|
95
|
+
}, [e, K, _, s]);
|
|
96
|
+
const G = O(
|
|
97
|
+
e,
|
|
98
|
+
n.onKeyDownCapture,
|
|
99
|
+
c
|
|
100
|
+
), W = O(
|
|
101
|
+
e,
|
|
102
|
+
n.onKeyUpCapture,
|
|
103
|
+
c
|
|
104
|
+
), k = n.onFocusCapture, J = E((t) => {
|
|
105
|
+
if (k == null || k(t), t.defaultPrevented || !e) return;
|
|
106
|
+
const { virtualFocus: o } = e.getState();
|
|
107
|
+
if (!o) return;
|
|
108
|
+
const a = t.relatedTarget, u = oe(t.currentTarget);
|
|
109
|
+
P(t) && u && (t.stopPropagation(), c.current = a);
|
|
110
|
+
}), h = n.onFocus, Q = E((t) => {
|
|
111
|
+
if (h == null || h(t), t.defaultPrevented || !s || !e) return;
|
|
112
|
+
const { relatedTarget: o } = t, { virtualFocus: a } = e.getState();
|
|
113
|
+
a ? P(t) && !x(e, o) && queueMicrotask(N) : P(t) && e.setActiveId(null);
|
|
114
|
+
}), T = n.onBlurCapture, X = E((t) => {
|
|
115
|
+
var o;
|
|
116
|
+
if (T == null || T(t), t.defaultPrevented || !e) return;
|
|
117
|
+
const { virtualFocus: a, activeId: u } = e.getState();
|
|
118
|
+
if (!a) return;
|
|
119
|
+
const m = (o = v(e, u)) == null ? void 0 : o.element, y = t.relatedTarget, F = x(e, y), d = c.current;
|
|
120
|
+
c.current = null, P(t) && F ? (y === m ? d && d !== y && C(d, t) : m ? C(m, t) : d && C(d, t), t.stopPropagation()) : !x(e, t.target) && m && C(m, t);
|
|
121
|
+
}), D = n.onKeyDown, Y = ve(p), Z = E((t) => {
|
|
122
|
+
var o;
|
|
123
|
+
if (D == null || D(t), t.defaultPrevented || !e || !P(t)) return;
|
|
124
|
+
const { orientation: a, renderedItems: u, activeId: m } = e.getState(), y = v(e, m);
|
|
125
|
+
if ((o = y == null ? void 0 : y.element) != null && o.isConnected) return;
|
|
126
|
+
const F = a !== "horizontal", d = a !== "vertical", g = _e(u);
|
|
127
|
+
if ((t.key === "ArrowLeft" || t.key === "ArrowRight" || t.key === "Home" || t.key === "End") && U(t.currentTarget)) return;
|
|
128
|
+
const B = {
|
|
129
|
+
ArrowUp: (g || F) && (() => {
|
|
130
|
+
if (g) {
|
|
131
|
+
const I = Te(u);
|
|
132
|
+
return I == null ? void 0 : I.id;
|
|
133
|
+
}
|
|
134
|
+
return e == null ? void 0 : e.last();
|
|
135
|
+
}),
|
|
136
|
+
ArrowRight: (g || d) && e.first,
|
|
137
|
+
ArrowDown: (g || F) && e.first,
|
|
138
|
+
ArrowLeft: (g || d) && e.last,
|
|
139
|
+
Home: e.first,
|
|
140
|
+
End: e.last,
|
|
141
|
+
PageUp: e.first,
|
|
142
|
+
PageDown: e.last
|
|
143
|
+
}[t.key];
|
|
144
|
+
if (B) {
|
|
145
|
+
const I = B();
|
|
146
|
+
if (I !== void 0) {
|
|
147
|
+
if (!Y(t)) return;
|
|
148
|
+
t.preventDefault(), e.move(I);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
n = ye(
|
|
153
|
+
n,
|
|
154
|
+
(t) => /* @__PURE__ */ Ae(z, { value: e, children: t }),
|
|
155
|
+
[e]
|
|
156
|
+
);
|
|
157
|
+
const $ = e.useState((t) => {
|
|
158
|
+
var o;
|
|
159
|
+
if (e && s && t.virtualFocus)
|
|
160
|
+
return (o = v(e, t.activeId)) == null ? void 0 : o.id;
|
|
161
|
+
});
|
|
162
|
+
n = ge(R({
|
|
163
|
+
"aria-activedescendant": $
|
|
164
|
+
}, n), {
|
|
165
|
+
ref: Ce(w, q, n.ref),
|
|
166
|
+
onKeyDownCapture: G,
|
|
167
|
+
onKeyUpCapture: W,
|
|
168
|
+
onFocusCapture: J,
|
|
169
|
+
onFocus: Q,
|
|
170
|
+
onBlurCapture: X,
|
|
171
|
+
onKeyDown: Z
|
|
172
|
+
});
|
|
173
|
+
const ee = e.useState(
|
|
174
|
+
(t) => s && (t.virtualFocus || t.activeId === null)
|
|
175
|
+
);
|
|
176
|
+
return n = Pe(R({ focusable: ee }, n)), n;
|
|
177
|
+
}
|
|
178
|
+
);
|
|
179
|
+
Ee(function(i) {
|
|
180
|
+
const l = Be(i);
|
|
181
|
+
return Se(Ke, l);
|
|
182
|
+
});
|
|
183
|
+
export {
|
|
184
|
+
Be as a,
|
|
185
|
+
qe as b,
|
|
186
|
+
Ne as u
|
|
187
|
+
};
|
package/dist/InputText.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{._input-text-
|
|
1
|
+
@layer components{._input-text-wrapper_1n264_2{position:relative;width:100%;width:var(--inputTextWrapperWidth, 100%)}._root_1n264_8{border-radius:var(--radius-md);border-style:solid;border-width:var(--border-width-sm);font-size:var(--font-size-sm);font-weight:var(--font-weight-regular);line-height:var(--line-height-16);outline:transparent solid var(--border-width-md);width:100%;transition:var(--duration-medium);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--backgroundColor, var(--color-neutral-10));color:var(--color, var(--color-neutral-90));border-color:var(--borderColor, var(--color-neutral-30));height:var(--height);padding-inline:var(--paddingInline);padding-block:var(--paddingBlock)}._root_1n264_8:disabled,._root_1n264_8[aria-disabled]{--backgroundColor: var(--color-beige-40);--color: var(--color-beige-70);cursor:not-allowed}._root_1n264_8:hover{--borderColor: var(--borderColorHover, var(--color-neutral-40))}._root_1n264_8[data-focus-visible],._root_1n264_8:focus-visible{--borderColor: var(--borderColorFocused, var(--color-brand-40));outline-color:var(--outlineColorFocus, var(--color-brand-20))}._root_1n264_8::placeholder{--color: var(--color-neutral-60)}._variant-danger_1n264_42{--borderColor: var(--color-red-70);--borderColorHover: var(--color-red-70);--borderColorFocused: var(--color-red-70);--outlineColorFocus: var(--color-red-30)}._variant-warning_1n264_48{--borderColor: var(--color-orange-60);--borderColorHover: var(--color-orange-60);--borderColorFocused: var(--color-orange-60);--outlineColorFocus: var(--color-orange-30)}._variant-success_1n264_54{--borderColor: var(--color-green-60);--borderColorHover: var(--color-green-60);--borderColorFocused: var(--color-green-60);--outlineColorFocus: var(--color-green-30)}._placement-left_1n264_60._size-xs_1n264_60{padding-left:1.75rem}._placement-left_1n264_60._size-sm_1n264_63,._placement-left_1n264_60._size-md_1n264_63,._placement-left_1n264_60._size-lg_1n264_63{padding-left:2.25rem}._placement-right_1n264_66._size-xs_1n264_60{padding-right:1.75rem}._placement-right_1n264_66._size-sm_1n264_63,._placement-right_1n264_66._size-md_1n264_63,._placement-right_1n264_66._size-lg_1n264_63{padding-right:2.25rem}._transparent_1n264_72{--borderColor: transparent;--backgroundColor: transparent;--borderColorHover: var(--color-neutral-20)}._size-xs_1n264_60{--height: var(--height-elements-sm);--paddingBlock: var(--spacing-xs);--paddingInline: var(--spacing-sm)}._size-sm_1n264_63{--height: var(--height-elements-md);--paddingBlock: var(--spacing-sm);--paddingInline: var(--spacing-md)}._size-md_1n264_63{--height: var(--height-elements-lg);--paddingBlock: var(--spacing-md);--paddingInline: var(--spacing-md)}._size-lg_1n264_63{--height: var(--height-elements-xl);--paddingBlock: var(--spacing-lg);--paddingInline: var(--spacing-md)}._clearable_1n264_97{padding-right:var(--spacing-xl)}._icon-wrapper_1n264_100{position:absolute;top:0;bottom:0;left:var(--left);right:var(--right);display:flex;justify-content:center;align-items:center;pointer-events:none;transition:var(--duration-medium);transition-timing-function:var(--timing-primary);color:var(--color-neutral-90);gap:var(--spacing-xs);--left: auto;--right: auto}._icon-wrapper_1n264_100>button{pointer-events:auto}._icon-placement-left-xs_1n264_121{--left: var(--spacing-sm)}._icon-placement-left-sm_1n264_124{--left: var(--spacing-md)}._icon-placement-right-xs_1n264_127{--right: var(--spacing-sm)}._icon-placement-right-sm_1n264_130{--right: var(--spacing-md)}}
|
package/dist/InputText.js
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as f, jsx as
|
|
2
|
+
import { jsxs as f, jsx as i } from "react/jsx-runtime";
|
|
3
3
|
import u, { forwardRef as E } from "react";
|
|
4
4
|
import { CloseButton as R } from "./CloseButton.js";
|
|
5
5
|
import { useField as S } from "./Field.js";
|
|
6
6
|
import { c as b } from "./classNames-qiokGROM.js";
|
|
7
|
-
const j = "
|
|
8
|
-
"input-text-wrapper": "_input-text-
|
|
7
|
+
const j = "_root_1n264_8", D = "_transparent_1n264_72", F = "_clearable_1n264_97", L = {
|
|
8
|
+
"input-text-wrapper": "_input-text-wrapper_1n264_2",
|
|
9
9
|
root: j,
|
|
10
|
-
"variant-danger": "_variant-
|
|
11
|
-
"variant-warning": "_variant-
|
|
12
|
-
"variant-success": "_variant-
|
|
13
|
-
"placement-left": "_placement-
|
|
14
|
-
"size-xs": "_size-
|
|
15
|
-
"size-sm": "_size-
|
|
16
|
-
"size-md": "_size-
|
|
17
|
-
"size-lg": "_size-
|
|
18
|
-
"placement-right": "_placement-
|
|
10
|
+
"variant-danger": "_variant-danger_1n264_42",
|
|
11
|
+
"variant-warning": "_variant-warning_1n264_48",
|
|
12
|
+
"variant-success": "_variant-success_1n264_54",
|
|
13
|
+
"placement-left": "_placement-left_1n264_60",
|
|
14
|
+
"size-xs": "_size-xs_1n264_60",
|
|
15
|
+
"size-sm": "_size-sm_1n264_63",
|
|
16
|
+
"size-md": "_size-md_1n264_63",
|
|
17
|
+
"size-lg": "_size-lg_1n264_63",
|
|
18
|
+
"placement-right": "_placement-right_1n264_66",
|
|
19
19
|
transparent: D,
|
|
20
20
|
clearable: F,
|
|
21
|
-
"icon-wrapper": "_icon-
|
|
22
|
-
"icon-placement-left-xs": "_icon-placement-left-
|
|
23
|
-
"icon-placement-left-sm": "_icon-placement-left-
|
|
24
|
-
"icon-placement-right-xs": "_icon-placement-right-
|
|
25
|
-
"icon-placement-right-sm": "_icon-placement-right-
|
|
21
|
+
"icon-wrapper": "_icon-wrapper_1n264_100",
|
|
22
|
+
"icon-placement-left-xs": "_icon-placement-left-xs_1n264_121",
|
|
23
|
+
"icon-placement-left-sm": "_icon-placement-left-sm_1n264_124",
|
|
24
|
+
"icon-placement-right-xs": "_icon-placement-right-xs_1n264_127",
|
|
25
|
+
"icon-placement-right-sm": "_icon-placement-right-sm_1n264_130"
|
|
26
26
|
}, s = b(L), T = { lg: "sm", md: "sm", sm: "sm", xs: "xs" }, q = E(
|
|
27
27
|
({
|
|
28
28
|
className: x,
|
|
29
29
|
icon: t,
|
|
30
30
|
iconPlacement: e = "left",
|
|
31
|
-
isClearable:
|
|
32
|
-
name:
|
|
33
|
-
onChange:
|
|
34
|
-
size:
|
|
31
|
+
isClearable: c,
|
|
32
|
+
name: l,
|
|
33
|
+
onChange: r,
|
|
34
|
+
size: _ = "md",
|
|
35
35
|
transparent: d,
|
|
36
36
|
type: g = "text",
|
|
37
|
-
value:
|
|
37
|
+
value: o,
|
|
38
38
|
variant: v,
|
|
39
39
|
...h
|
|
40
40
|
}, z) => {
|
|
41
|
-
const { getInputProps: w, variant: I } = S(), p = I || v,
|
|
42
|
-
|
|
41
|
+
const { getInputProps: w, variant: I } = S(), p = I || v, a = t && e, m = a && e === "right", N = a && e === "left", n = T[_], $ = () => {
|
|
42
|
+
r && r({
|
|
43
43
|
preventDefault: () => null,
|
|
44
|
-
target: { name:
|
|
44
|
+
target: { name: l, value: "" }
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
return /* @__PURE__ */ f("div", { className: s("input-text-wrapper"), children: [
|
|
48
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ i(
|
|
49
49
|
"input",
|
|
50
50
|
{
|
|
51
51
|
...w(h),
|
|
52
52
|
className: s(
|
|
53
53
|
"root",
|
|
54
|
-
`size-${
|
|
54
|
+
`size-${_}`,
|
|
55
55
|
p && `variant-${p}`,
|
|
56
56
|
d && "transparent",
|
|
57
|
-
|
|
57
|
+
a && `placement-${e}`,
|
|
58
58
|
x
|
|
59
59
|
),
|
|
60
|
-
name:
|
|
61
|
-
onChange:
|
|
60
|
+
name: l,
|
|
61
|
+
onChange: r,
|
|
62
62
|
ref: z,
|
|
63
63
|
type: g,
|
|
64
|
-
value:
|
|
64
|
+
value: o
|
|
65
65
|
}
|
|
66
66
|
),
|
|
67
|
-
N ? /* @__PURE__ */
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
N ? /* @__PURE__ */ i("div", { className: s("icon-wrapper", `icon-placement-left-${n}`), children: u.cloneElement(t, { ...t.props, size: n }) }) : null,
|
|
68
|
+
c || m ? /* @__PURE__ */ f("div", { className: s("icon-wrapper", `icon-placement-right-${n}`), children: [
|
|
69
|
+
c && o ? /* @__PURE__ */ i(R, { onClick: $, size: "xs" }) : null,
|
|
70
70
|
m ? u.cloneElement(t, { ...t.props, size: n }) : null
|
|
71
71
|
] }) : null
|
|
72
72
|
] });
|