@stihl-design-system/components 1.0.0-RC.35 → 1.0.0-RC.36
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/Placeholder.svg +1 -1
- package/assets/RadioGroup.q1lQ-HIZ.css +1 -0
- package/assets/radio.CsfCywxz.css +1 -0
- package/{banner.D-RX60nJ.js → banner.AhUeW3HM.js} +1 -1
- package/{breadcrumb.tvMByFgp.js → breadcrumb.DpIAQk3r.js} +3 -3
- package/{button.CZupaV9L.js → button.CqNYOfSj.js} +1 -1
- package/{checkboxgroup.CjnNJ8e6.js → checkboxgroup.C66ZwglF.js} +2 -2
- package/{chipgroup.cGjn4LVV.js → chipgroup.CY3pWyLO.js} +2 -1
- package/chunks/{Breadcrumb.Qr6bDP2N.js → Breadcrumb.C_Yaz_vw.js} +2 -2
- package/chunks/{Button.Cn5yg7dG.js → Button.CQlIao-Z.js} +3 -2
- package/chunks/{CheckboxGroup.CUR_0VMc.js → CheckboxGroup.BIspWqeW.js} +1 -1
- package/chunks/{CustomReactSelect.BA3hUVkh.js → CustomReactSelect.D4kopDzX.js} +1 -1
- package/chunks/{Dialog.DRk_jSj5.js → Dialog.DMxHRrxo.js} +1 -1
- package/chunks/{Drawer.Dj6WeUC8.js → Drawer.CatmvDHJ.js} +1 -1
- package/chunks/{Fieldset.C0RzpI-h.js → Fieldset.Bk8W5h13.js} +1 -1
- package/chunks/{InputFile.Bki3bs3U.js → InputFile.CjK3gEst.js} +3 -3
- package/chunks/{InputNumber.B43cqBH0.js → InputNumber.wfDjnz58.js} +2 -2
- package/chunks/{InputPassword.DcdMjsXr.js → InputPassword.Ctb0xbwg.js} +2 -2
- package/chunks/{InputSearch.CJm6ph8W.js → InputSearch.C-r5ktR8.js} +2 -2
- package/chunks/{LinkButton.C6F-yuLL.js → LinkButton.CWibqvhs.js} +2 -1
- package/chunks/{NavigationTabs.CQxlahX1.js → NavigationTabs.SBNLx87A.js} +1 -1
- package/chunks/{Notification.Qzz88ngL.js → Notification.DYl1rcGu.js} +1 -1
- package/chunks/{Popover.D7McfVaH.js → Popover.C9tT8xkE.js} +1 -1
- package/chunks/RadioGroup.BDsVAhCK.js +125 -0
- package/chunks/{Select.B0uMOSSD.js → Select.BjBPN-6W.js} +1 -1
- package/chunks/{Slider.YTIktxxD.js → Slider.Bh2jhGKn.js} +2 -2
- package/chunks/{Stepper.BvPmbbqw.js → Stepper.D1Yzw-gL.js} +2 -2
- package/chunks/{Tabs.CoO_lrhV.js → Tabs.BvG-OPWa.js} +1 -1
- package/chunks/{Textarea.lYiPXerd.js → Textarea.DibBqiam.js} +1 -1
- package/chunks/{Toast.L5HAuEOn.js → Toast.ldZRNpGM.js} +1 -1
- package/combobox.C2XUM4fM.js +67 -0
- package/components/RadioGroup/RadioGroup.utils.d.ts +3 -2
- package/components/Scroller/Scroller.test.d.ts +1 -0
- package/{customreactselect.BgYf8rKE.js → customreactselect.BNwzk8Qi.js} +2 -2
- package/{dialog.Bq-ZyzR8.js → dialog.D5geKDtZ.js} +2 -2
- package/{drawer.DL5UzLWf.js → drawer.ucjhpIF4.js} +2 -2
- package/{fieldset.BFLW2D9H.js → fieldset.Crx4Cb9a.js} +2 -2
- package/{filelist.BG6SGVJ8.js → filelist.Bcu6TZRj.js} +1 -1
- package/index.es.js +96 -95
- package/{input.hBWqQr3X.js → input.DL_M_Pg3.js} +2 -2
- package/{inputfile.BSZuRujU.js → inputfile.iwsNHjrc.js} +4 -4
- package/{inputnumber.CA4JiUmq.js → inputnumber.raC_7KIP.js} +3 -3
- package/{inputpassword.Cju_crMi.js → inputpassword.Brte78Sr.js} +3 -3
- package/{inputsearch.CU9AhVVv.js → inputsearch.BP0EzFcF.js} +3 -3
- package/{link.DoiK003-.js → link.BtZeNdii.js} +1 -1
- package/{linkbutton.CWco_B7v.js → linkbutton.In_ROT0Z.js} +1 -1
- package/{navigationtabs.zhRZHjgs.js → navigationtabs.EbmfKv1R.js} +2 -2
- package/{notification.BiXdWNo7.js → notification.tadg6lCc.js} +2 -2
- package/package.json +3 -3
- package/partials/index.js +2 -2
- package/{popover.79Voiadz.js → popover.CXq7VoZt.js} +2 -2
- package/radio.pyM5ma9s.js +134 -0
- package/{radiogroup.CwBh7u9L.js → radiogroup.sdob0iPE.js} +3 -3
- package/{scroller.IpfbFV8B.js → scroller.B1LijjCF.js} +1 -1
- package/{select.NHaEtX_u.js → select.CZ0C3yJD.js} +2 -2
- package/{skiptocontent.X4USTODk.js → skiptocontent.CAQy194o.js} +1 -1
- package/{slider.jnNGEyBq.js → slider.B3u5du_Q.js} +3 -3
- package/{step.D5p7qppy.js → step.DaJFsafj.js} +1 -1
- package/{stepper.DnMc4ex6.js → stepper.DcaZESJi.js} +3 -3
- package/{tablist.BFE6RAPD.js → tablist.mX5nQWwH.js} +1 -1
- package/{tabs.CsOxxQyQ.js → tabs.DjWfks34.js} +2 -2
- package/{textarea.C9OAAjhG.js → textarea.69r-5faY.js} +2 -2
- package/{toast.OBI9qnAM.js → toast.FzO5KoiK.js} +2 -2
- package/{toastmanager.CgsA-1y_.js → toastmanager.BGIYNKkT.js} +1 -1
- package/assets/RadioGroup.CM2mYOzc.css +0 -1
- package/assets/radio.CgpGvYc-.css +0 -1
- package/chunks/RadioGroup.B2VCD9x-.js +0 -106
- package/combobox.CGEDlMo0.js +0 -71
- package/radio.DHUfSPai.js +0 -126
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as x, jsxs as he } from "react/jsx-runtime";
|
|
3
|
+
import { d as pe } from "./chunks/index.D-sRdssb.js";
|
|
4
|
+
import { c as H } from "./chunks/index.DL9mof6u.js";
|
|
5
|
+
import { forwardRef as Ce, useRef as be, useState as ye, useEffect as ke } from "react";
|
|
6
|
+
import './assets/radio.CsfCywxz.css';const fe = (B) => B.replace(/\s+/g, ""), ge = "ds-radio_root_95tvb_1", De = "ds-radio_root--disabled_95tvb_24", Ne = "ds-radio_root--with-custom-area_95tvb_27", We = "ds-radio_root--with-custom-area--above_95tvb_30", xe = "ds-radio_radio_95tvb_38", He = "ds-radio_dot_95tvb_56", Be = "ds-radio_radio--invalid_95tvb_80", Ue = "ds-radio_label_95tvb_85", Ie = "ds-radio_label--bold_95tvb_102", Se = "ds-radio_label--with-custom-area_95tvb_113", $e = "ds-radio_custom-area_95tvb_117", we = "ds-radio_custom-area--disabled_95tvb_125", je = "ds-radio_custom-area--above_95tvb_128", Ee = "ds-radio_hint_95tvb_135", Ve = "ds-radio_hint--visible_95tvb_159", Oe = "ds-radio_hint--unchecked-hidden_95tvb_163", Re = "ds-radio_input_95tvb_169", t = {
|
|
7
|
+
root: ge,
|
|
8
|
+
rootDisabled: De,
|
|
9
|
+
rootWithCustomArea: Ne,
|
|
10
|
+
rootWithCustomAreaAbove: We,
|
|
11
|
+
radio: xe,
|
|
12
|
+
dot: He,
|
|
13
|
+
radioInvalid: Be,
|
|
14
|
+
label: Ue,
|
|
15
|
+
labelBold: Ie,
|
|
16
|
+
labelWithCustomArea: Se,
|
|
17
|
+
customArea: $e,
|
|
18
|
+
customAreaDisabled: we,
|
|
19
|
+
customAreaAbove: je,
|
|
20
|
+
hint: Ee,
|
|
21
|
+
hintVisible: Ve,
|
|
22
|
+
hintUncheckedHidden: Oe,
|
|
23
|
+
input: Re
|
|
24
|
+
}, qe = Ce((B, m) => {
|
|
25
|
+
const e = pe.c(88);
|
|
26
|
+
let U, _, i, n, l, c, d, u, v, I, S, $, w, j, E, h;
|
|
27
|
+
e[0] !== B ? ({
|
|
28
|
+
label: c,
|
|
29
|
+
name: d,
|
|
30
|
+
value: h,
|
|
31
|
+
checked: U,
|
|
32
|
+
className: _,
|
|
33
|
+
customArea: i,
|
|
34
|
+
isCustomAreaAbove: I,
|
|
35
|
+
defaultChecked: S,
|
|
36
|
+
disabled: $,
|
|
37
|
+
fieldsetId: n,
|
|
38
|
+
hint: l,
|
|
39
|
+
invalid: w,
|
|
40
|
+
isBold: j,
|
|
41
|
+
hideUncheckedHint: E,
|
|
42
|
+
onChange: u,
|
|
43
|
+
...v
|
|
44
|
+
} = B, e[0] = B, e[1] = U, e[2] = _, e[3] = i, e[4] = n, e[5] = l, e[6] = c, e[7] = d, e[8] = u, e[9] = v, e[10] = I, e[11] = S, e[12] = $, e[13] = w, e[14] = j, e[15] = E, e[16] = h) : (U = e[1], _ = e[2], i = e[3], n = e[4], l = e[5], c = e[6], d = e[7], u = e[8], v = e[9], I = e[10], S = e[11], $ = e[12], w = e[13], j = e[14], E = e[15], h = e[16]);
|
|
45
|
+
const b = I === void 0 ? !1 : I, me = S === void 0 ? !1 : S, s = $ === void 0 ? !1 : $, A = w === void 0 ? !1 : w, Y = j === void 0 ? !1 : j, r = E === void 0 ? !1 : E, _e = be(null), o = be(null), [ve, Ae] = ye(me), V = U !== void 0, a = V ? U : ve;
|
|
46
|
+
let O, R;
|
|
47
|
+
e[17] !== a || e[18] !== r ? (O = () => {
|
|
48
|
+
o.current && (r ? (o.current.style.height === "0px" || o.current.style.height === "") && a ? (o.current.style.height = `${o.current.scrollHeight}px`, o.current.style.opacity = "1") : a || (o.current.style.opacity = "0", o.current.style.height = "0px", o.current.style.pointerEvents = "none") : (o.current.style.height === "0px" || o.current.style.height === "") && (o.current.style.height = "auto", o.current.style.opacity = "1"));
|
|
49
|
+
}, R = [o, a, r], e[17] = a, e[18] = r, e[19] = O, e[20] = R) : (O = e[19], R = e[20]), ke(O, R);
|
|
50
|
+
const Z = !!i, ee = !!i && b;
|
|
51
|
+
let q;
|
|
52
|
+
e[21] !== _ || e[22] !== s || e[23] !== ee || e[24] !== Z ? (q = H(t.root, {
|
|
53
|
+
[t.rootDisabled]: s,
|
|
54
|
+
[t.rootWithCustomArea]: Z,
|
|
55
|
+
[t.rootWithCustomAreaAbove]: ee
|
|
56
|
+
}, _), e[21] = _, e[22] = s, e[23] = ee, e[24] = Z, e[25] = q) : q = e[25];
|
|
57
|
+
const te = q, se = !!i;
|
|
58
|
+
let z;
|
|
59
|
+
e[26] !== Y || e[27] !== se ? (z = H(t.label, {
|
|
60
|
+
[t.labelBold]: Y,
|
|
61
|
+
[t.labelWithCustomArea]: se
|
|
62
|
+
}), e[26] = Y, e[27] = se, e[28] = z) : z = e[28];
|
|
63
|
+
const oe = z;
|
|
64
|
+
let F;
|
|
65
|
+
e[29] !== a || e[30] !== r || e[31] !== l ? (F = () => !r && l ? !0 : !!(r && l && a), e[29] = a, e[30] = r, e[31] = l, e[32] = F) : F = e[32];
|
|
66
|
+
const G = F, ie = r && !G();
|
|
67
|
+
let J;
|
|
68
|
+
e[33] !== G || e[34] !== ie ? (J = H(t.hint, {
|
|
69
|
+
[t.hintUncheckedHidden]: ie,
|
|
70
|
+
[t.hintVisible]: G()
|
|
71
|
+
}), e[33] = G, e[34] = ie, e[35] = J) : J = e[35];
|
|
72
|
+
const le = J;
|
|
73
|
+
let K;
|
|
74
|
+
e[36] !== A ? (K = H(t.radio, {
|
|
75
|
+
[t.radioInvalid]: A
|
|
76
|
+
}), e[36] = A, e[37] = K) : K = e[37];
|
|
77
|
+
const ae = K;
|
|
78
|
+
let L;
|
|
79
|
+
e[38] !== s ? (L = H(t.customArea, {
|
|
80
|
+
[t.customAreaDisabled]: s
|
|
81
|
+
}), e[38] = s, e[39] = L) : L = e[39];
|
|
82
|
+
const re = L;
|
|
83
|
+
let M;
|
|
84
|
+
e[40] !== s ? (M = H(t.customArea, t.customAreaAbove, {
|
|
85
|
+
[t.customAreaDisabled]: s
|
|
86
|
+
}), e[40] = s, e[41] = M) : M = e[41];
|
|
87
|
+
const ce = M;
|
|
88
|
+
let P;
|
|
89
|
+
e[42] !== s || e[43] !== V || e[44] !== u ? (P = (f) => {
|
|
90
|
+
if (s) {
|
|
91
|
+
f.preventDefault();
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
V || Ae(f.target.checked), u && u(f);
|
|
95
|
+
}, e[42] = s, e[43] = V, e[44] = u, e[45] = P) : P = e[45];
|
|
96
|
+
const ne = P, p = l ? `${fe(d)}-${fe(h)}-description` : void 0;
|
|
97
|
+
let Q;
|
|
98
|
+
e[46] !== p || e[47] !== n || e[48] !== A ? (Q = [A && n && `${n}-feedback`, p].filter(Boolean).join(" ") || void 0, e[46] = p, e[47] = n, e[48] = A, e[49] = Q) : Q = e[49];
|
|
99
|
+
const de = Q;
|
|
100
|
+
let C;
|
|
101
|
+
e[50] !== m ? (C = (f) => {
|
|
102
|
+
typeof m == "function" ? m(f) : m !== null && (m.current = f), _e.current = f;
|
|
103
|
+
}, e[50] = m, e[51] = C) : C = e[51];
|
|
104
|
+
const ue = typeof c == "string" ? c : void 0;
|
|
105
|
+
let y;
|
|
106
|
+
e[52] !== de || e[53] !== a || e[54] !== s || e[55] !== ne || e[56] !== d || e[57] !== v || e[58] !== C || e[59] !== ue || e[60] !== h ? (y = /* @__PURE__ */ x("input", { type: "radio", value: h, name: d, className: t.input, ref: C, onChange: ne, ...v, disabled: s, checked: a, "aria-label": ue, "aria-describedby": de }), e[52] = de, e[53] = a, e[54] = s, e[55] = ne, e[56] = d, e[57] = v, e[58] = C, e[59] = ue, e[60] = h, e[61] = y) : y = e[61];
|
|
107
|
+
let T;
|
|
108
|
+
e[62] === Symbol.for("react.memo_cache_sentinel") ? (T = /* @__PURE__ */ x("div", { className: t.dot }), e[62] = T) : T = e[62];
|
|
109
|
+
let k;
|
|
110
|
+
e[63] !== ae ? (k = /* @__PURE__ */ x("span", { className: ae, children: T }), e[63] = ae, e[64] = k) : k = e[64];
|
|
111
|
+
let g;
|
|
112
|
+
e[65] !== i || e[66] !== ce || e[67] !== b ? (g = i && b && /* @__PURE__ */ x("div", { className: ce, children: i }), e[65] = i, e[66] = ce, e[67] = b, e[68] = g) : g = e[68];
|
|
113
|
+
let D;
|
|
114
|
+
e[69] !== i || e[70] !== re || e[71] !== b ? (D = i && !b && /* @__PURE__ */ x("div", { className: re, children: i }), e[69] = i, e[70] = re, e[71] = b, e[72] = D) : D = e[72];
|
|
115
|
+
let N;
|
|
116
|
+
e[73] !== p || e[74] !== l || e[75] !== le ? (N = /* @__PURE__ */ x("span", { id: p, className: le, ref: o, children: l }), e[73] = p, e[74] = l, e[75] = le, e[76] = N) : N = e[76];
|
|
117
|
+
let W;
|
|
118
|
+
e[77] !== c || e[78] !== oe || e[79] !== D || e[80] !== N ? (W = /* @__PURE__ */ he("span", { className: oe, children: [
|
|
119
|
+
c,
|
|
120
|
+
D,
|
|
121
|
+
N
|
|
122
|
+
] }), e[77] = c, e[78] = oe, e[79] = D, e[80] = N, e[81] = W) : W = e[81];
|
|
123
|
+
let X;
|
|
124
|
+
return e[82] !== te || e[83] !== y || e[84] !== k || e[85] !== g || e[86] !== W ? (X = /* @__PURE__ */ he("label", { className: te, children: [
|
|
125
|
+
y,
|
|
126
|
+
k,
|
|
127
|
+
g,
|
|
128
|
+
W
|
|
129
|
+
] }), e[82] = te, e[83] = y, e[84] = k, e[85] = g, e[86] = W, e[87] = X) : X = e[87], X;
|
|
130
|
+
});
|
|
131
|
+
qe.displayName = "DSRadio";
|
|
132
|
+
export {
|
|
133
|
+
qe as DSRadio
|
|
134
|
+
};
|
|
@@ -3,9 +3,9 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.D-sRdssb.js";
|
|
4
4
|
import "./chunks/index.DL9mof6u.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/Fieldset.
|
|
7
|
-
import "./radio.
|
|
8
|
-
import { D as s } from "./chunks/RadioGroup.
|
|
6
|
+
import "./chunks/Fieldset.Bk8W5h13.js";
|
|
7
|
+
import "./radio.pyM5ma9s.js";
|
|
8
|
+
import { D as s } from "./chunks/RadioGroup.BDsVAhCK.js";
|
|
9
9
|
export {
|
|
10
10
|
s as DSRadioGroup
|
|
11
11
|
};
|
|
@@ -6,7 +6,7 @@ import { i as b, g as S } from "./chunks/is-animation-disabled.B-V_68K-.js";
|
|
|
6
6
|
import { g as W } from "./chunks/helpers.CexwVao7.js";
|
|
7
7
|
import { u as R } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
8
8
|
import "./chunks/index.D-sRdssb.js";
|
|
9
|
-
import { D as L } from "./chunks/Button.
|
|
9
|
+
import { D as L } from "./chunks/Button.CQlIao-Z.js";
|
|
10
10
|
import './assets/scroller.Hszs1Yq4.css';function P(...u) {
|
|
11
11
|
return (l) => {
|
|
12
12
|
for (const s of u)
|
|
@@ -6,9 +6,9 @@ import "./chunks/useBreakpoint.1txsny17.js";
|
|
|
6
6
|
import "./chunks/index.D-sRdssb.js";
|
|
7
7
|
import "./asterisk.B2ih8VwF.js";
|
|
8
8
|
import "./chunks/Icon.CDLyB7Pv.js";
|
|
9
|
-
import "./chunks/Popover.
|
|
9
|
+
import "./chunks/Popover.C9tT8xkE.js";
|
|
10
10
|
import "./chunks/SystemFeedback.CjlARKki.js";
|
|
11
|
-
import { D as S } from "./chunks/Select.
|
|
11
|
+
import { D as S } from "./chunks/Select.BjBPN-6W.js";
|
|
12
12
|
export {
|
|
13
13
|
S as DSSelect
|
|
14
14
|
};
|
|
@@ -4,7 +4,7 @@ import { d as g } from "./chunks/index.D-sRdssb.js";
|
|
|
4
4
|
import { c as w } from "./chunks/index.DL9mof6u.js";
|
|
5
5
|
import { g as S } from "./chunks/helpers.CexwVao7.js";
|
|
6
6
|
import { forwardRef as T } from "react";
|
|
7
|
-
import { D as _ } from "./chunks/LinkButton.
|
|
7
|
+
import { D as _ } from "./chunks/LinkButton.CWibqvhs.js";
|
|
8
8
|
import './assets/skiptocontent.CTSDC_kG.css';const v = "ds-skip-to-content_root_uqkjt_1", C = "ds-skip-to-content_root--dark_uqkjt_8", D = {
|
|
9
9
|
root: v,
|
|
10
10
|
rootDark: C
|
|
@@ -4,9 +4,9 @@ import "./chunks/index.D-sRdssb.js";
|
|
|
4
4
|
import "./chunks/index.DL9mof6u.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "./chunks/useBreakpoint.1txsny17.js";
|
|
7
|
-
import "./input.
|
|
8
|
-
import "./chunks/Popover.
|
|
9
|
-
import { D } from "./chunks/Slider.
|
|
7
|
+
import "./input.DL_M_Pg3.js";
|
|
8
|
+
import "./chunks/Popover.C9tT8xkE.js";
|
|
9
|
+
import { D } from "./chunks/Slider.Bh2jhGKn.js";
|
|
10
10
|
export {
|
|
11
11
|
D as DSSlider
|
|
12
12
|
};
|
|
@@ -3,7 +3,7 @@ import { jsx as o, jsxs as V } from "react/jsx-runtime";
|
|
|
3
3
|
import { d as P } from "./chunks/index.D-sRdssb.js";
|
|
4
4
|
import { c as D } from "./chunks/index.DL9mof6u.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import { D as A } from "./chunks/Button.
|
|
6
|
+
import { D as A } from "./chunks/Button.CQlIao-Z.js";
|
|
7
7
|
import { D as E } from "./chunks/Icon.CDLyB7Pv.js";
|
|
8
8
|
import './assets/step.BeLporJO.css';const I = "ds-stepper_step_f4kic_1", R = "ds-stepper_step-content_f4kic_5", q = "ds-stepper_step-button_f4kic_12", w = "ds-stepper_step-button--horizontal_f4kic_49", F = "ds-stepper_step-button--vertical_f4kic_58", G = "ds-stepper_step-button--current_f4kic_69", J = "ds-stepper_step-button--completed_f4kic_107", K = "ds-stepper_step-button--disabled_f4kic_135", M = "ds-stepper_step-number_f4kic_166", Q = "ds-stepper_step-label_f4kic_176", T = "ds-stepper_step-hint_f4kic_184", U = "ds-stepper_step-number--current_f4kic_212", W = "ds-stepper_step-label--current_f4kic_238", X = "ds-stepper_sr-only_f4kic_266", s = {
|
|
9
9
|
step: I,
|
|
@@ -8,9 +8,9 @@ import "./chunks/translate.nuU7uChI.js";
|
|
|
8
8
|
import "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
9
9
|
import "./chunks/index.D-sRdssb.js";
|
|
10
10
|
import "./chunks/AriaLiveRegions.utils.CybNIBSa.js";
|
|
11
|
-
import "./scroller.
|
|
12
|
-
import { D as l } from "./chunks/Stepper.
|
|
13
|
-
import "./step.
|
|
11
|
+
import "./scroller.B1LijjCF.js";
|
|
12
|
+
import { D as l } from "./chunks/Stepper.D1Yzw-gL.js";
|
|
13
|
+
import "./step.DaJFsafj.js";
|
|
14
14
|
export {
|
|
15
15
|
l as DSStepper
|
|
16
16
|
};
|
|
@@ -7,7 +7,7 @@ import { h as nt } from "./chunks/has-window.ut_-aShB.js";
|
|
|
7
7
|
import { g as st } from "./chunks/helpers.CexwVao7.js";
|
|
8
8
|
import { u as W } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
9
9
|
import "./chunks/index.D-sRdssb.js";
|
|
10
|
-
import { D as X } from "./chunks/Button.
|
|
10
|
+
import { D as X } from "./chunks/Button.CQlIao-Z.js";
|
|
11
11
|
import { D as ct } from "./chunks/Icon.CDLyB7Pv.js";
|
|
12
12
|
import { NumberIndicator as it } from "./numberindicator.BdnPMogE.js";
|
|
13
13
|
import { g as at, a as j } from "./chunks/TabPane.utils.DG16Y2uD.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "./chunks/index.D-sRdssb.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./tablist.
|
|
5
|
+
import "./tablist.mX5nQWwH.js";
|
|
6
6
|
import "./tabpane.C4nsUlwc.js";
|
|
7
7
|
import "./chunks/TabPane.utils.DG16Y2uD.js";
|
|
8
|
-
import { D as a } from "./chunks/Tabs.
|
|
8
|
+
import { D as a } from "./chunks/Tabs.BvG-OPWa.js";
|
|
9
9
|
export {
|
|
10
10
|
a as DSTabs
|
|
11
11
|
};
|
|
@@ -6,9 +6,9 @@ import "./chunks/helpers.CexwVao7.js";
|
|
|
6
6
|
import "./chunks/useBreakpoint.1txsny17.js";
|
|
7
7
|
import "./chunks/index.D-sRdssb.js";
|
|
8
8
|
import "./asterisk.B2ih8VwF.js";
|
|
9
|
-
import "./chunks/Popover.
|
|
9
|
+
import "./chunks/Popover.C9tT8xkE.js";
|
|
10
10
|
import "./chunks/SystemFeedback.CjlARKki.js";
|
|
11
|
-
import { D as c } from "./chunks/Textarea.
|
|
11
|
+
import { D as c } from "./chunks/Textarea.DibBqiam.js";
|
|
12
12
|
export {
|
|
13
13
|
c as DSTextarea
|
|
14
14
|
};
|
|
@@ -3,9 +3,9 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.D-sRdssb.js";
|
|
4
4
|
import "./chunks/index.DL9mof6u.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/Button.
|
|
6
|
+
import "./chunks/Button.CQlIao-Z.js";
|
|
7
7
|
import "./chunks/Icon.CDLyB7Pv.js";
|
|
8
|
-
import { D as a } from "./chunks/Toast.
|
|
8
|
+
import { D as a } from "./chunks/Toast.ldZRNpGM.js";
|
|
9
9
|
export {
|
|
10
10
|
a as DSToast
|
|
11
11
|
};
|
|
@@ -4,7 +4,7 @@ import { createContext as C, useContext as O, useState as g, useRef as _, useEff
|
|
|
4
4
|
import { g as u } from "./chunks/helpers.CexwVao7.js";
|
|
5
5
|
import "./chunks/index.D-sRdssb.js";
|
|
6
6
|
import { b as A, g as w } from "./chunks/AriaLiveRegions.utils.CybNIBSa.js";
|
|
7
|
-
import { D as j, s as q } from "./chunks/Toast.
|
|
7
|
+
import { D as j, s as q } from "./chunks/Toast.ldZRNpGM.js";
|
|
8
8
|
import { h as Q } from "./chunks/has-window.ut_-aShB.js";
|
|
9
9
|
const k = () => {
|
|
10
10
|
if (!A() || !w())
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ds-radio-group_root_12fot_1{display:flex;flex-direction:column;row-gap:16px;column-gap:24px;flex-wrap:wrap;margin-block-start:-8px}.ds-radio-group_root--horizontal_12fot_9{flex-direction:row}.ds-radio-group_root--invalid_12fot_12{margin-block-start:-16px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ds-radio_root_2idos_1{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.25;font-size-adjust:.414;color:#252525;display:grid;grid-template-areas:"dot label";grid-template-columns:auto 1fr;justify-content:flex-start;gap:8px;padding:0;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;height:fit-content;max-width:fit-content}.ds-radio_root--disabled_2idos_24{cursor:not-allowed}.ds-radio_root--with-custom-area_2idos_27{max-width:none}.ds-radio_root--with-custom-area--above_2idos_30{grid-template-areas:"custom-area custom-area" "dot label";grid-template-columns:auto 1fr;grid-template-rows:auto}.ds-radio_radio_2idos_36{grid-area:dot;width:1.25rem;height:1.25rem;min-width:1.25rem;min-height:1.25rem;border-radius:50%;border:1px solid #252525;position:relative}.ds-radio_radio_2idos_36{transition:background-color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-radio_radio_2idos_36{transition-duration:0ms}}.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{opacity:0;height:.75rem;width:.75rem;border-radius:50%;background-color:#e9640c;position:absolute;top:50%;left:50%;transform:translate3d(-50%,-50%,0)}.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{transition:opacity var(--ds-animation-duration, .1s) linear,background-color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{transition-duration:0ms}}@media screen and (forced-colors: active){.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{background-color:Highlight}}.ds-radio_radio--invalid_2idos_78{border-color:#d43b3b;box-shadow:0 0 0 1px #d43b3b}.ds-radio_label_2idos_83{grid-area:label;font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.25;font-size-adjust:.414;width:100%;max-width:34em;display:grid;grid-template-areas:"label custom-area" "hint hint";grid-template-columns:auto minmax(auto,1fr)}.ds-radio_label--bold_2idos_100{font-family:STIHL Contraface Digital Text Bold,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.25;font-size-adjust:.426}.ds-radio_label--with-custom-area_2idos_111{column-gap:8px}.ds-radio_custom-area_2idos_115{grid-area:custom-area;margin-inline-start:4px;min-width:max-content;min-height:1.25rem;max-height:2rem;overflow-y:hidden}.ds-radio_custom-area--above_2idos_123{overflow-y:visible;max-height:unset;margin-inline-start:0px}.ds-radio_hint_2idos_129{grid-area:hint;font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;font-size-adjust:.414;display:block;max-width:34em;grid-column:span 2;opacity:1}.ds-radio_hint_2idos_129{transition:height var(--ds-animation-duration, .25s) cubic-bezier(.5,0,.5,1),margin-block var(--ds-animation-duration, .25s) cubic-bezier(.5,0,.5,1),opacity var(--ds-animation-duration, .25s) cubic-bezier(.5,0,.5,1)}@media (prefers-reduced-motion: reduce){.ds-radio_hint_2idos_129{transition-duration:0ms}}.ds-radio_hint--visible_2idos_153{margin-block-start:4px;margin-block-end:4px}.ds-radio_hint--unchecked-hidden_2idos_157{height:0;opacity:0;pointer-events:none}.ds-radio_input_2idos_163{border:0;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;text-indent:-999999px;white-space:nowrap}.ds-radio_input_2idos_163:checked+.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{opacity:1}.ds-radio_input_2idos_163:disabled+.ds-radio_radio_2idos_36{border-color:#00000080}.ds-radio_input_2idos_163:disabled+.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{background-color:#00000080}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:disabled+.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{background-color:GrayText}}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:disabled+.ds-radio_radio_2idos_36{border-color:GrayText}}.ds-radio_input_2idos_163:disabled~.ds-radio_label_2idos_83{color:#00000080}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:disabled~.ds-radio_label_2idos_83{color:GrayText}}.ds-radio_input_2idos_163:focus{outline:none}.ds-radio_input_2idos_163:focus+.ds-radio_radio_2idos_36{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:focus+.ds-radio_radio_2idos_36{forced-color-adjust:auto;outline-color:Highlight}}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:focus+.ds-radio_radio_2idos_36{border-color:Highlight}}@supports selector(:focus-visible){.ds-radio_input_2idos_163:focus{outline:none}.ds-radio_input_2idos_163:focus+.ds-radio_radio_2idos_36{outline:revert;outline-offset:revert}.ds-radio_input_2idos_163:focus-visible{outline:none}.ds-radio_input_2idos_163:focus-visible+.ds-radio_radio_2idos_36{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:focus-visible+.ds-radio_radio_2idos_36{forced-color-adjust:auto;outline-color:Highlight}}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:focus-visible+.ds-radio_radio_2idos_36{border-color:Highlight}}}@media (hover: hover){.ds-radio_input_2idos_163:hover:not(:disabled)+.ds-radio_radio_2idos_36{background-color:#0000001a}.ds-radio_input_2idos_163:hover:not(:disabled)+.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{background-color:#d9480f}}@media screen and (hover: hover) and (forced-colors: active){.ds-radio_input_2idos_163:hover:not(:disabled)+.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{background-color:Highlight}}@media screen and (hover: hover) and (forced-colors: active){.ds-radio_input_2idos_163:hover:not(:disabled)+.ds-radio_radio_2idos_36{border-color:Highlight}}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as V } from "react/jsx-runtime";
|
|
3
|
-
import { d as K } from "./index.D-sRdssb.js";
|
|
4
|
-
import { c as Q } from "./index.DL9mof6u.js";
|
|
5
|
-
import { forwardRef as W, useState as X } from "react";
|
|
6
|
-
import { D as Y } from "./Fieldset.C0RzpI-h.js";
|
|
7
|
-
import { DSRadio as Z } from "../radio.DHUfSPai.js";
|
|
8
|
-
import { g as m, r as M } from "./helpers.CexwVao7.js";
|
|
9
|
-
import '../assets/RadioGroup.CM2mYOzc.css';const oo = "ds-radio-group_root_12fot_1", eo = "ds-radio-group_root--horizontal_12fot_9", to = "ds-radio-group_root--invalid_12fot_12", O = {
|
|
10
|
-
root: oo,
|
|
11
|
-
rootHorizontal: eo,
|
|
12
|
-
rootInvalid: to
|
|
13
|
-
}, j = (i) => i.some(({
|
|
14
|
-
hint: s
|
|
15
|
-
}) => !!s), T = (i) => i.some(({
|
|
16
|
-
customArea: s,
|
|
17
|
-
isCustomAreaAbove: o
|
|
18
|
-
}) => !!s && !o), ro = ({
|
|
19
|
-
legend: i,
|
|
20
|
-
name: s,
|
|
21
|
-
options: o,
|
|
22
|
-
description: l,
|
|
23
|
-
direction: c,
|
|
24
|
-
id: a,
|
|
25
|
-
systemFeedback: e
|
|
26
|
-
}) => {
|
|
27
|
-
if (!a && (l || e))
|
|
28
|
-
throw new Error(m("DSRadioGroup", 'A unique "id" prop is required when providing the description or systemFeedback property. Please add a unique "id" prop to the DSRadioGroup component.'));
|
|
29
|
-
if (!i)
|
|
30
|
-
throw new Error(m("DSRadioGroup", M("legend", "DSRadioGroup")));
|
|
31
|
-
if (!s)
|
|
32
|
-
throw new Error(m("DSRadioGroup", M("name", "DSRadioGroup")));
|
|
33
|
-
if (Array.isArray(o)) {
|
|
34
|
-
if (o.length === 0)
|
|
35
|
-
throw new Error(m("DSRadioGroup", "The options array must not be empty."));
|
|
36
|
-
} else throw new Error(m("DSRadioGroup", M("options", "DSRadioGroup")));
|
|
37
|
-
if (c === "horizontal" && j(o))
|
|
38
|
-
throw new Error(m("DSRadioGroup", "Horizontal direction is not possible when options contain a hint. Please remove hints or change direction property to 'vertical'."));
|
|
39
|
-
if (c === "horizontal" && T(o))
|
|
40
|
-
throw new Error(m("DSRadioGroup", "Horizontal direction is not possible when options contain a custom area without isCustomAreaAbove set to true. Please remove custom areas, change direction property to 'vertical' or set isCustomAreaAbove to true."));
|
|
41
|
-
}, io = W((i, s) => {
|
|
42
|
-
const o = K.c(57);
|
|
43
|
-
let l, c, a, e, u, p, h, t, v, D, w, d, b, y, H, E, _, z;
|
|
44
|
-
o[0] !== i ? ({
|
|
45
|
-
legend: u,
|
|
46
|
-
name: p,
|
|
47
|
-
options: t,
|
|
48
|
-
className: l,
|
|
49
|
-
defaultValue: c,
|
|
50
|
-
description: a,
|
|
51
|
-
direction: b,
|
|
52
|
-
disabled: y,
|
|
53
|
-
hideUncheckedHints: H,
|
|
54
|
-
id: e,
|
|
55
|
-
invalid: E,
|
|
56
|
-
popoverContent: v,
|
|
57
|
-
popoverInfoButtonProps: D,
|
|
58
|
-
required: _,
|
|
59
|
-
systemFeedback: d,
|
|
60
|
-
value: z,
|
|
61
|
-
onChange: h,
|
|
62
|
-
...w
|
|
63
|
-
} = i, o[0] = i, o[1] = l, o[2] = c, o[3] = a, o[4] = e, o[5] = u, o[6] = p, o[7] = h, o[8] = t, o[9] = v, o[10] = D, o[11] = w, o[12] = d, o[13] = b, o[14] = y, o[15] = H, o[16] = E, o[17] = _, o[18] = z) : (l = o[1], c = o[2], a = o[3], e = o[4], u = o[5], p = o[6], h = o[7], t = o[8], v = o[9], D = o[10], w = o[11], d = o[12], b = o[13], y = o[14], H = o[15], E = o[16], _ = o[17], z = o[18]);
|
|
64
|
-
const L = b === void 0 ? "vertical" : b, n = y === void 0 ? !1 : y, S = H === void 0 ? !1 : H, f = E === void 0 ? !1 : E, g = _ === void 0 ? !1 : _;
|
|
65
|
-
process.env.NODE_ENV !== "production" && ro({
|
|
66
|
-
legend: u,
|
|
67
|
-
name: p,
|
|
68
|
-
options: t,
|
|
69
|
-
description: a,
|
|
70
|
-
direction: L,
|
|
71
|
-
id: e,
|
|
72
|
-
systemFeedback: d
|
|
73
|
-
});
|
|
74
|
-
const [$, J] = X(c), C = z !== void 0, A = C ? z : $, P = L === "horizontal" && !j(t) && !T(t), U = f && !!d;
|
|
75
|
-
let k;
|
|
76
|
-
o[19] !== P || o[20] !== U ? (k = Q(O.root, {
|
|
77
|
-
[O.rootHorizontal]: P,
|
|
78
|
-
[O.rootInvalid]: U
|
|
79
|
-
}), o[19] = P, o[20] = U, o[21] = k) : k = o[21];
|
|
80
|
-
const x = k;
|
|
81
|
-
let q;
|
|
82
|
-
o[22] !== n || o[23] !== C || o[24] !== h ? (q = (r) => {
|
|
83
|
-
if (n) {
|
|
84
|
-
r.preventDefault();
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
C || J(r.target.value), h && h(r);
|
|
88
|
-
}, o[22] = n, o[23] = C, o[24] = h, o[25] = q) : q = o[25];
|
|
89
|
-
const B = q;
|
|
90
|
-
let I;
|
|
91
|
-
o[26] !== S || o[27] !== t ? (I = j(t) && !S, o[26] = S, o[27] = t, o[28] = I) : I = o[28];
|
|
92
|
-
const F = I;
|
|
93
|
-
let G;
|
|
94
|
-
o[29] !== F || o[30] !== A || o[31] !== n || o[32] !== S || o[33] !== e || o[34] !== f || o[35] !== p || o[36] !== t || o[37] !== s || o[38] !== g ? (G = t.map((r) => /* @__PURE__ */ V(Z, { name: p, checked: r.value === A, disabled: n, fieldsetId: e, hideUncheckedHint: S, hint: r.hint, invalid: f, isBold: F, required: g, ref: r.value === A ? s : null, ...r }, e + r.label + r.value + r.hint)), o[29] = F, o[30] = A, o[31] = n, o[32] = S, o[33] = e, o[34] = f, o[35] = p, o[36] = t, o[37] = s, o[38] = g, o[39] = G) : G = o[39];
|
|
95
|
-
let R;
|
|
96
|
-
o[40] !== x || o[41] !== G ? (R = /* @__PURE__ */ V("div", { className: x, children: G }), o[40] = x, o[41] = G, o[42] = R) : R = o[42];
|
|
97
|
-
let N;
|
|
98
|
-
return o[43] !== l || o[44] !== a || o[45] !== n || o[46] !== B || o[47] !== e || o[48] !== f || o[49] !== u || o[50] !== v || o[51] !== D || o[52] !== g || o[53] !== w || o[54] !== d || o[55] !== R ? (N = /* @__PURE__ */ V(Y, { id: e, legend: u, className: l, description: a, disabled: n, required: g, invalid: f, systemFeedback: d, popoverContent: v, popoverInfoButtonProps: D, ...w, role: "radiogroup", onChange: B, children: R }), o[43] = l, o[44] = a, o[45] = n, o[46] = B, o[47] = e, o[48] = f, o[49] = u, o[50] = v, o[51] = D, o[52] = g, o[53] = w, o[54] = d, o[55] = R, o[56] = N) : N = o[56], N;
|
|
99
|
-
});
|
|
100
|
-
io.displayName = "DSRadioGroup";
|
|
101
|
-
export {
|
|
102
|
-
io as D,
|
|
103
|
-
T as a,
|
|
104
|
-
j as o,
|
|
105
|
-
ro as v
|
|
106
|
-
};
|
package/combobox.CGEDlMo0.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _ } from "react/jsx-runtime";
|
|
3
|
-
import { d as $ } from "./chunks/index.D-sRdssb.js";
|
|
4
|
-
import { v as z, c as A } from "./chunks/CustomReactSelect.BA3hUVkh.js";
|
|
5
|
-
import { forwardRef as G } from "react";
|
|
6
|
-
const H = G((x, N) => {
|
|
7
|
-
const t = $.c(36);
|
|
8
|
-
let a, r, e, d, o, l, p, i, c, s, v, u, n, f, m;
|
|
9
|
-
if (t[0] !== x) {
|
|
10
|
-
const {
|
|
11
|
-
id: q,
|
|
12
|
-
label: B,
|
|
13
|
-
className: I,
|
|
14
|
-
disabled: w,
|
|
15
|
-
dropdownOnFocus: D,
|
|
16
|
-
filterOption: L,
|
|
17
|
-
hideLabel: E,
|
|
18
|
-
invalid: F,
|
|
19
|
-
lang: M,
|
|
20
|
-
popoverContent: R,
|
|
21
|
-
popoverInfoButtonProps: j,
|
|
22
|
-
required: P,
|
|
23
|
-
tabSelectsValue: V,
|
|
24
|
-
variant: h,
|
|
25
|
-
...k
|
|
26
|
-
} = x;
|
|
27
|
-
if (l = q, i = B, a = I, d = L, s = R, v = j, n = k, r = w === void 0 ? !1 : w, e = D === void 0 ? !1 : D, o = E === void 0 ? !1 : E, p = F === void 0 ? !1 : F, c = M === void 0 ? "en" : M, u = P === void 0 ? !1 : P, f = V === void 0 ? !0 : V, m = h === void 0 ? "single" : h, process.env.NODE_ENV !== "production") {
|
|
28
|
-
const {
|
|
29
|
-
options: y
|
|
30
|
-
} = n;
|
|
31
|
-
z({
|
|
32
|
-
id: l,
|
|
33
|
-
label: i,
|
|
34
|
-
options: y,
|
|
35
|
-
hideLabel: o,
|
|
36
|
-
popoverContent: s
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
t[0] = x, t[1] = a, t[2] = r, t[3] = e, t[4] = d, t[5] = o, t[6] = l, t[7] = p, t[8] = i, t[9] = c, t[10] = s, t[11] = v, t[12] = u, t[13] = n, t[14] = f, t[15] = m;
|
|
40
|
-
} else
|
|
41
|
-
a = t[1], r = t[2], e = t[3], d = t[4], o = t[5], l = t[6], p = t[7], i = t[8], c = t[9], s = t[10], v = t[11], u = t[12], n = t[13], f = t[14], m = t[15];
|
|
42
|
-
const b = m === "multi", S = !e || b;
|
|
43
|
-
let C;
|
|
44
|
-
t[16] !== a || t[17] !== r || t[18] !== e || t[19] !== d || t[20] !== o || t[21] !== l || t[22] !== p || t[23] !== b || t[24] !== i || t[25] !== c || t[26] !== s || t[27] !== v || t[28] !== N || t[29] !== u || t[30] !== n || t[31] !== S || t[32] !== f ? (C = {
|
|
45
|
-
id: l,
|
|
46
|
-
label: i,
|
|
47
|
-
className: a,
|
|
48
|
-
disabled: r,
|
|
49
|
-
filterOption: d,
|
|
50
|
-
hideLabel: o,
|
|
51
|
-
isMulti: b,
|
|
52
|
-
invalid: p,
|
|
53
|
-
lang: c,
|
|
54
|
-
openMenuOnClick: e,
|
|
55
|
-
openMenuOnFocus: e,
|
|
56
|
-
isClearable: S,
|
|
57
|
-
required: u,
|
|
58
|
-
ref: N,
|
|
59
|
-
tabSelectsValue: f,
|
|
60
|
-
popoverContent: s,
|
|
61
|
-
popoverInfoButtonProps: v,
|
|
62
|
-
...n
|
|
63
|
-
}, t[16] = a, t[17] = r, t[18] = e, t[19] = d, t[20] = o, t[21] = l, t[22] = p, t[23] = b, t[24] = i, t[25] = c, t[26] = s, t[27] = v, t[28] = N, t[29] = u, t[30] = n, t[31] = S, t[32] = f, t[33] = C) : C = t[33];
|
|
64
|
-
const g = C;
|
|
65
|
-
let O;
|
|
66
|
-
return t[34] !== g ? (O = /* @__PURE__ */ _(A, { ...g }), t[34] = g, t[35] = O) : O = t[35], O;
|
|
67
|
-
});
|
|
68
|
-
H.displayName = "DSCombobox";
|
|
69
|
-
export {
|
|
70
|
-
H as DSCombobox
|
|
71
|
-
};
|
package/radio.DHUfSPai.js
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as D, jsxs as ne } from "react/jsx-runtime";
|
|
3
|
-
import { d as ve } from "./chunks/index.D-sRdssb.js";
|
|
4
|
-
import { c as E } from "./chunks/index.DL9mof6u.js";
|
|
5
|
-
import { forwardRef as Ae, useRef as ce, useState as pe, useEffect as Ce } from "react";
|
|
6
|
-
import './assets/radio.CgpGvYc-.css';const he = (H) => H.replace(/\s+/g, ""), ye = "ds-radio_root_2idos_1", ke = "ds-radio_root--disabled_2idos_24", ge = "ds-radio_root--with-custom-area_2idos_27", Ne = "ds-radio_root--with-custom-area--above_2idos_30", We = "ds-radio_radio_2idos_36", xe = "ds-radio_dot_2idos_54", De = "ds-radio_radio--invalid_2idos_78", He = "ds-radio_label_2idos_83", Be = "ds-radio_label--bold_2idos_100", Se = "ds-radio_label--with-custom-area_2idos_111", Ue = "ds-radio_custom-area_2idos_115", Ie = "ds-radio_custom-area--above_2idos_123", $e = "ds-radio_hint_2idos_129", we = "ds-radio_hint--visible_2idos_153", je = "ds-radio_hint--unchecked-hidden_2idos_157", Ee = "ds-radio_input_2idos_163", t = {
|
|
7
|
-
root: ye,
|
|
8
|
-
rootDisabled: ke,
|
|
9
|
-
rootWithCustomArea: ge,
|
|
10
|
-
rootWithCustomAreaAbove: Ne,
|
|
11
|
-
radio: We,
|
|
12
|
-
dot: xe,
|
|
13
|
-
radioInvalid: De,
|
|
14
|
-
label: He,
|
|
15
|
-
labelBold: Be,
|
|
16
|
-
labelWithCustomArea: Se,
|
|
17
|
-
customArea: Ue,
|
|
18
|
-
customAreaAbove: Ie,
|
|
19
|
-
hint: $e,
|
|
20
|
-
hintVisible: we,
|
|
21
|
-
hintUncheckedHidden: je,
|
|
22
|
-
input: Ee
|
|
23
|
-
}, Ve = Ae((H, _) => {
|
|
24
|
-
const e = ve.c(83);
|
|
25
|
-
let B, b, o, n, i, d, c, h, v, S, U, I, $, w, j, u;
|
|
26
|
-
e[0] !== H ? ({
|
|
27
|
-
label: d,
|
|
28
|
-
name: c,
|
|
29
|
-
value: u,
|
|
30
|
-
checked: B,
|
|
31
|
-
className: b,
|
|
32
|
-
customArea: o,
|
|
33
|
-
isCustomAreaAbove: S,
|
|
34
|
-
defaultChecked: U,
|
|
35
|
-
disabled: I,
|
|
36
|
-
fieldsetId: n,
|
|
37
|
-
hint: i,
|
|
38
|
-
invalid: $,
|
|
39
|
-
isBold: w,
|
|
40
|
-
hideUncheckedHint: j,
|
|
41
|
-
onChange: h,
|
|
42
|
-
...v
|
|
43
|
-
} = H, e[0] = H, e[1] = B, e[2] = b, e[3] = o, e[4] = n, e[5] = i, e[6] = d, e[7] = c, e[8] = h, e[9] = v, e[10] = S, e[11] = U, e[12] = I, e[13] = $, e[14] = w, e[15] = j, e[16] = u) : (B = e[1], b = e[2], o = e[3], n = e[4], i = e[5], d = e[6], c = e[7], h = e[8], v = e[9], S = e[10], U = e[11], I = e[12], $ = e[13], w = e[14], j = e[15], u = e[16]);
|
|
44
|
-
const f = S === void 0 ? !1 : S, ue = U === void 0 ? !1 : U, a = I === void 0 ? !1 : I, A = $ === void 0 ? !1 : $, X = w === void 0 ? !1 : w, r = j === void 0 ? !1 : j, fe = ce(null), s = ce(null), [me, _e] = pe(ue), V = B !== void 0, l = V ? B : me;
|
|
45
|
-
let O, R;
|
|
46
|
-
e[17] !== l || e[18] !== r ? (O = () => {
|
|
47
|
-
s.current && (r ? (s.current.style.height === "0px" || s.current.style.height === "") && l ? (s.current.style.height = `${s.current.scrollHeight}px`, s.current.style.opacity = "1") : l || (s.current.style.opacity = "0", s.current.style.height = "0px", s.current.style.pointerEvents = "none") : (s.current.style.height === "0px" || s.current.style.height === "") && (s.current.style.height = "auto", s.current.style.opacity = "1"));
|
|
48
|
-
}, R = [s, l, r], e[17] = l, e[18] = r, e[19] = O, e[20] = R) : (O = e[19], R = e[20]), Ce(O, R);
|
|
49
|
-
const Y = !!o, Z = !!o && f;
|
|
50
|
-
let q;
|
|
51
|
-
e[21] !== b || e[22] !== a || e[23] !== Z || e[24] !== Y ? (q = E(t.root, {
|
|
52
|
-
[t.rootDisabled]: a,
|
|
53
|
-
[t.rootWithCustomArea]: Y,
|
|
54
|
-
[t.rootWithCustomAreaAbove]: Z
|
|
55
|
-
}, b), e[21] = b, e[22] = a, e[23] = Z, e[24] = Y, e[25] = q) : q = e[25];
|
|
56
|
-
const ee = q, te = !!o;
|
|
57
|
-
let z;
|
|
58
|
-
e[26] !== X || e[27] !== te ? (z = E(t.label, {
|
|
59
|
-
[t.labelBold]: X,
|
|
60
|
-
[t.labelWithCustomArea]: te
|
|
61
|
-
}), e[26] = X, e[27] = te, e[28] = z) : z = e[28];
|
|
62
|
-
const se = z;
|
|
63
|
-
let F;
|
|
64
|
-
e[29] !== l || e[30] !== r || e[31] !== i ? (F = () => !r && i ? !0 : !!(r && i && l), e[29] = l, e[30] = r, e[31] = i, e[32] = F) : F = e[32];
|
|
65
|
-
const G = F, oe = r && !G();
|
|
66
|
-
let J;
|
|
67
|
-
e[33] !== G || e[34] !== oe ? (J = E(t.hint, {
|
|
68
|
-
[t.hintUncheckedHidden]: oe,
|
|
69
|
-
[t.hintVisible]: G()
|
|
70
|
-
}), e[33] = G, e[34] = oe, e[35] = J) : J = e[35];
|
|
71
|
-
const ie = J;
|
|
72
|
-
let K;
|
|
73
|
-
e[36] !== A ? (K = E(t.radio, {
|
|
74
|
-
[t.radioInvalid]: A
|
|
75
|
-
}), e[36] = A, e[37] = K) : K = e[37];
|
|
76
|
-
const le = K;
|
|
77
|
-
let L;
|
|
78
|
-
e[38] === Symbol.for("react.memo_cache_sentinel") ? (L = E(t.customArea, t.customAreaAbove), e[38] = L) : L = e[38];
|
|
79
|
-
const be = L;
|
|
80
|
-
let M;
|
|
81
|
-
e[39] !== a || e[40] !== V || e[41] !== h ? (M = (m) => {
|
|
82
|
-
if (a) {
|
|
83
|
-
m.preventDefault();
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
V || _e(m.target.checked), h && h(m);
|
|
87
|
-
}, e[39] = a, e[40] = V, e[41] = h, e[42] = M) : M = e[42];
|
|
88
|
-
const ae = M, p = i ? `${he(c)}-${he(u)}-description` : void 0;
|
|
89
|
-
let P;
|
|
90
|
-
e[43] !== p || e[44] !== n || e[45] !== A ? (P = [A && n && `${n}-feedback`, p].filter(Boolean).join(" ") || void 0, e[43] = p, e[44] = n, e[45] = A, e[46] = P) : P = e[46];
|
|
91
|
-
const re = P;
|
|
92
|
-
let C;
|
|
93
|
-
e[47] !== _ ? (C = (m) => {
|
|
94
|
-
typeof _ == "function" ? _(m) : _ !== null && (_.current = m), fe.current = m;
|
|
95
|
-
}, e[47] = _, e[48] = C) : C = e[48];
|
|
96
|
-
const de = typeof d == "string" ? d : void 0;
|
|
97
|
-
let y;
|
|
98
|
-
e[49] !== re || e[50] !== l || e[51] !== a || e[52] !== ae || e[53] !== c || e[54] !== v || e[55] !== C || e[56] !== de || e[57] !== u ? (y = /* @__PURE__ */ D("input", { type: "radio", value: u, name: c, className: t.input, ref: C, onChange: ae, ...v, disabled: a, checked: l, "aria-label": de, "aria-describedby": re }), e[49] = re, e[50] = l, e[51] = a, e[52] = ae, e[53] = c, e[54] = v, e[55] = C, e[56] = de, e[57] = u, e[58] = y) : y = e[58];
|
|
99
|
-
let Q;
|
|
100
|
-
e[59] === Symbol.for("react.memo_cache_sentinel") ? (Q = /* @__PURE__ */ D("div", { className: t.dot }), e[59] = Q) : Q = e[59];
|
|
101
|
-
let k;
|
|
102
|
-
e[60] !== le ? (k = /* @__PURE__ */ D("span", { className: le, children: Q }), e[60] = le, e[61] = k) : k = e[61];
|
|
103
|
-
let g;
|
|
104
|
-
e[62] !== o || e[63] !== f ? (g = o && f && /* @__PURE__ */ D("div", { className: be, children: o }), e[62] = o, e[63] = f, e[64] = g) : g = e[64];
|
|
105
|
-
let N;
|
|
106
|
-
e[65] !== o || e[66] !== f ? (N = o && !f && /* @__PURE__ */ D("div", { className: t.customArea, children: o }), e[65] = o, e[66] = f, e[67] = N) : N = e[67];
|
|
107
|
-
let W;
|
|
108
|
-
e[68] !== p || e[69] !== i || e[70] !== ie ? (W = /* @__PURE__ */ D("span", { id: p, className: ie, ref: s, children: i }), e[68] = p, e[69] = i, e[70] = ie, e[71] = W) : W = e[71];
|
|
109
|
-
let x;
|
|
110
|
-
e[72] !== d || e[73] !== se || e[74] !== N || e[75] !== W ? (x = /* @__PURE__ */ ne("span", { className: se, children: [
|
|
111
|
-
d,
|
|
112
|
-
N,
|
|
113
|
-
W
|
|
114
|
-
] }), e[72] = d, e[73] = se, e[74] = N, e[75] = W, e[76] = x) : x = e[76];
|
|
115
|
-
let T;
|
|
116
|
-
return e[77] !== ee || e[78] !== y || e[79] !== k || e[80] !== g || e[81] !== x ? (T = /* @__PURE__ */ ne("label", { className: ee, children: [
|
|
117
|
-
y,
|
|
118
|
-
k,
|
|
119
|
-
g,
|
|
120
|
-
x
|
|
121
|
-
] }), e[77] = ee, e[78] = y, e[79] = k, e[80] = g, e[81] = x, e[82] = T) : T = e[82], T;
|
|
122
|
-
});
|
|
123
|
-
Ve.displayName = "DSRadio";
|
|
124
|
-
export {
|
|
125
|
-
Ve as DSRadio
|
|
126
|
-
};
|