@stihl-design-system/components 1.0.0-RC.34 → 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/{actionbutton.DLQJU6AV.js → actionbutton.Du5CT-Mt.js} +2 -2
- package/{actionlink.DEBrWfN3.js → actionlink.BK9CaQUY.js} +2 -2
- package/assets/Button.CmeGVEAY.css +1 -0
- package/assets/CustomReactSelect.BihX36Uo.css +1 -0
- package/assets/Fieldset.Oqu7pOBv.css +1 -0
- package/assets/InputFile.D7Ihod7B.css +1 -0
- package/assets/InputNumber.z_UqRYdv.css +1 -0
- package/assets/InputPassword.DZENjxJ9.css +1 -0
- package/assets/InputSearch.GBH9Eh6F.css +1 -0
- package/assets/LinkButton.88j5ckLu.css +1 -0
- package/assets/RadioGroup.q1lQ-HIZ.css +1 -0
- package/assets/Select.CL0fqx7X.css +1 -0
- package/assets/Slider.DWLuIsNj.css +1 -0
- package/assets/Textarea.B1HOakic.css +1 -0
- package/assets/buttonround.DBpMesfr.css +1 -0
- package/assets/input.RPDR8qdT.css +1 -0
- package/assets/radio.CsfCywxz.css +1 -0
- package/{banner.CI5HnDqD.js → banner.AhUeW3HM.js} +1 -1
- package/{breadcrumb.CtwAux3P.js → breadcrumb.DpIAQk3r.js} +3 -3
- package/button.CqNYOfSj.js +12 -0
- package/buttonround.9IS0tUqw.js +96 -0
- package/{checkbox.DwccD0Mp.js → checkbox.XYQI-ubx.js} +2 -2
- package/{checkboxgroup.ZiUFfCJ1.js → checkboxgroup.C66ZwglF.js} +2 -2
- package/{chip.B0s_fS8L.js → chip.B-pxhsdb.js} +2 -2
- package/{chipgroup.Dpu66bo5.js → chipgroup.CY3pWyLO.js} +4 -3
- package/chunks/{ActionButton.DOYsEHPr.js → ActionButton.BOYQYo5M.js} +1 -1
- package/chunks/{ActionLink.DbyciN3Y.js → ActionLink.BlwvrnPN.js} +1 -1
- package/chunks/{Breadcrumb.BgnpTo01.js → Breadcrumb.C_Yaz_vw.js} +2 -2
- package/chunks/Button.CQlIao-Z.js +139 -0
- package/chunks/{Checkbox.BcGXAuuP.js → Checkbox.D5X5T6Yg.js} +1 -1
- package/chunks/CheckboxGroup.BIspWqeW.js +74 -0
- package/chunks/{Chip.D6pubCZV.js → Chip.DIp5hdRH.js} +1 -1
- package/chunks/{CustomReactSelect.Dg3wC_VH.js → CustomReactSelect.D4kopDzX.js} +816 -800
- package/chunks/{Dialog.DpqSVrYR.js → Dialog.DMxHRrxo.js} +1 -1
- package/chunks/{Drawer.DISWybOa.js → Drawer.CatmvDHJ.js} +1 -1
- package/chunks/Fieldset.Bk8W5h13.js +81 -0
- package/chunks/{Header.7TQL_J9t.js → Header.18sOO0Gf.js} +1 -1
- package/chunks/{Input.utils.Dkw7gRrr.js → Input.utils.CL1u4Ctq.js} +27 -25
- package/chunks/InputFile.CjK3gEst.js +236 -0
- package/chunks/InputNumber.wfDjnz58.js +242 -0
- package/chunks/InputPassword.Ctb0xbwg.js +121 -0
- package/chunks/InputSearch.C-r5ktR8.js +149 -0
- package/chunks/LinkButton.CWibqvhs.js +140 -0
- package/chunks/{MegaMenu.CQbOeaib.js → MegaMenu.qttkjGbD.js} +7 -8
- package/chunks/{NavigationTabs.BwM-6CRm.js → NavigationTabs.SBNLx87A.js} +1 -1
- package/chunks/{Notification.CrojkJ0E.js → Notification.DYl1rcGu.js} +1 -1
- package/chunks/{Popover.Bb0Pjmvg.js → Popover.C9tT8xkE.js} +9 -10
- package/chunks/RadioGroup.BDsVAhCK.js +125 -0
- package/chunks/Select.BjBPN-6W.js +147 -0
- package/chunks/Slider.Bh2jhGKn.js +306 -0
- package/chunks/{Stepper.PTQdQBYf.js → Stepper.D1Yzw-gL.js} +2 -2
- package/chunks/{Tabs.DyP4whX0.js → Tabs.BvG-OPWa.js} +1 -1
- package/chunks/Textarea.DibBqiam.js +181 -0
- package/chunks/{Toast.ug_RjGgF.js → Toast.ldZRNpGM.js} +1 -1
- package/chunks/floating-ui.react.COTL3jH5.js +2984 -0
- package/chunks/{useBreakpoint.BzR_yaIv.js → useBreakpoint.1txsny17.js} +8 -5
- package/combobox.C2XUM4fM.js +67 -0
- package/components/Button/Button.d.ts +5 -0
- package/components/Button/Button.utils.d.ts +4 -5
- package/components/CheckboxGroup/CheckboxGroup.d.ts +14 -1
- package/components/Combobox/Combobox.utils.d.ts +3 -2
- package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +13 -0
- package/components/Fieldset/Fieldset.d.ts +14 -1
- package/components/Input/Input.d.ts +13 -0
- package/components/Input/Input.utils.d.ts +2 -2
- package/components/InputFile/InputFile.d.ts +13 -0
- package/components/InputFile/InputFile.utils.d.ts +4 -2
- package/components/InputNumber/InputNumber.d.ts +17 -4
- package/components/InputNumber/InputNumber.utils.d.ts +2 -2
- package/components/InputPassword/InputPassword.d.ts +13 -0
- package/components/InputPassword/InputPassword.utils.d.ts +2 -2
- package/components/InputSearch/InputSearch.d.ts +13 -0
- package/components/InputSearch/InputSearch.utils.d.ts +2 -2
- package/components/LinkButton/LinkButton.d.ts +5 -0
- package/components/LinkButton/LinkButton.utils.d.ts +4 -5
- package/components/RadioGroup/RadioGroup.d.ts +13 -0
- package/components/RadioGroup/RadioGroup.utils.d.ts +3 -2
- package/components/Scroller/Scroller.test.d.ts +1 -0
- package/components/Select/Select.d.ts +13 -0
- package/components/Select/Select.utils.d.ts +2 -2
- package/components/Slider/Slider.d.ts +13 -0
- package/components/Textarea/Textarea.d.ts +13 -0
- package/components/Textarea/Textarea.utils.d.ts +2 -2
- package/{customreactselect.BFN8cYJi.js → customreactselect.BNwzk8Qi.js} +4 -3
- package/{dialog.CzM_Cxp0.js → dialog.D5geKDtZ.js} +2 -2
- package/{drawer._A9MQ8Cj.js → drawer.ucjhpIF4.js} +2 -2
- package/{fieldset.CId-NtI5.js → fieldset.Crx4Cb9a.js} +3 -2
- package/{filelist.DgVuWpR3.js → filelist.Bcu6TZRj.js} +1 -1
- package/{floatingactionbutton.Bsnncudt.js → floatingactionbutton.B5hJ2At2.js} +1 -1
- package/{header.CelAkqtp.js → header.A77yIAH3.js} +1 -1
- package/index.es.js +103 -102
- package/input.DL_M_Pg3.js +190 -0
- package/{inputfile.BjgJGefV.js → inputfile.iwsNHjrc.js} +6 -5
- package/{inputnumber.BcrxBVv0.js → inputnumber.raC_7KIP.js} +7 -6
- package/{inputpassword.CddmBW-T.js → inputpassword.Brte78Sr.js} +4 -4
- package/{inputsearch.CFOASqrd.js → inputsearch.BP0EzFcF.js} +6 -5
- package/{link.f8MMZo-w.js → link.BtZeNdii.js} +2 -2
- package/{linkbutton.BYAvi-_V.js → linkbutton.In_ROT0Z.js} +4 -4
- package/{logo100years.B4d_DIiB.js → logo100years.DDzCrczW.js} +10 -10
- package/{megamenu.Cy9Cc-mC.js → megamenu.BurL9MfF.js} +3 -3
- package/{navigationtabs.Dp7D2fnc.js → navigationtabs.EbmfKv1R.js} +2 -2
- package/{notification.B-norGiB.js → notification.tadg6lCc.js} +2 -2
- package/package.json +4 -3
- package/partials/index.js +32 -32
- package/{popover.DFVDZY-m.js → popover.CXq7VoZt.js} +3 -3
- package/radio.pyM5ma9s.js +134 -0
- package/{radiogroup.DaThoMfq.js → radiogroup.sdob0iPE.js} +3 -3
- package/{scroller.Cu7H_VCT.js → scroller.B1LijjCF.js} +1 -1
- package/{select.CMdKf7tC.js → select.CZ0C3yJD.js} +5 -4
- package/{skiptocontent.CHVh0hbr.js → skiptocontent.CAQy194o.js} +1 -1
- package/slider.B3u5du_Q.js +12 -0
- package/{step.DKf4CHGr.js → step.DaJFsafj.js} +1 -1
- package/{stepper.CCP_igpJ.js → stepper.DcaZESJi.js} +3 -3
- package/styles/scss/ds/lib/ds-internal/_input.scss +12 -3
- package/styles/scss/ds/lib/ds-internal/_link-button.scss +10 -2
- package/styles/scss/ds/lib/link-button.scss +11 -3
- package/{tablist.DZgo49nZ.js → tablist.mX5nQWwH.js} +1 -1
- package/{tabs.BkoT7feH.js → tabs.DjWfks34.js} +2 -2
- package/{textarea.DMn20z4p.js → textarea.69r-5faY.js} +4 -3
- package/{toast.Dvs8woTH.js → toast.FzO5KoiK.js} +2 -2
- package/{toastmanager.pi_Fhd5t.js → toastmanager.BGIYNKkT.js} +1 -1
- package/{tooltip.QJe_bfO-.js → tooltip.Cj3AvYgB.js} +22 -23
- package/{topbar.Bxwvp9Lf.js → topbar.CAujTZAE.js} +2 -2
- package/utils/useIsomorphicLayoutEffect.d.ts +2 -2
- package/assets/Button.C8sNwIeW.css +0 -1
- package/assets/CustomReactSelect.E_jJFVew.css +0 -1
- package/assets/Fieldset.CW9dBvAo.css +0 -1
- package/assets/InputFile.BnIvK65P.css +0 -1
- package/assets/InputNumber.BoiCIR1f.css +0 -1
- package/assets/InputPassword.Dk3_vNLV.css +0 -1
- package/assets/InputSearch.C1_4cVCi.css +0 -1
- package/assets/LinkButton.B86yacK5.css +0 -1
- package/assets/RadioGroup.CM2mYOzc.css +0 -1
- package/assets/Select.COxLltX7.css +0 -1
- package/assets/Slider.DPEmJ3HD.css +0 -1
- package/assets/Textarea.y3MW7VW0.css +0 -1
- package/assets/buttonround.BN3vUDc_.css +0 -1
- package/assets/input.DTu4g_iA.css +0 -1
- package/assets/radio.CgpGvYc-.css +0 -1
- package/button.DHuKanZP.js +0 -13
- package/buttonround.CMlmEDaN.js +0 -96
- package/chunks/Button.DCZgBNmA.js +0 -142
- package/chunks/CheckboxGroup.BuFd1luB.js +0 -72
- package/chunks/Fieldset.DiMtr6Vw.js +0 -74
- package/chunks/InputFile.C8nt9Fu8.js +0 -218
- package/chunks/InputNumber.CbH1XJfl.js +0 -267
- package/chunks/InputPassword.DbdjuSiJ.js +0 -136
- package/chunks/InputSearch.joxmugiv.js +0 -173
- package/chunks/LinkButton.BZgIGgc8.js +0 -132
- package/chunks/RadioGroup.CexC4v2Z.js +0 -104
- package/chunks/Select.BEIdNMML.js +0 -164
- package/chunks/Slider.CR0zYHeZ.js +0 -291
- package/chunks/Textarea.Du2RII5u.js +0 -168
- package/chunks/floating-ui.dom.BT8pKtCQ.js +0 -1005
- package/chunks/floating-ui.react.3FjeMiuN.js +0 -1999
- package/combobox.jG5GRA7C.js +0 -65
- package/input.DuEbg7d6.js +0 -206
- package/radio.DHUfSPai.js +0 -126
- package/slider.C5dK6KcG.js +0 -11
- /package/components/InputNumber/{InputNumberutils.test.d.ts → InputNumber.utils.test.d.ts} +0 -0
package/combobox.jG5GRA7C.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as y } from "react/jsx-runtime";
|
|
3
|
-
import { d as P } from "./chunks/index.D-sRdssb.js";
|
|
4
|
-
import { v as _, c as $ } from "./chunks/CustomReactSelect.Dg3wC_VH.js";
|
|
5
|
-
import { forwardRef as z } from "react";
|
|
6
|
-
const A = z((O, x) => {
|
|
7
|
-
const e = P.c(32);
|
|
8
|
-
let s, a, t, n, d, l, r, o, c, p, i, m, u;
|
|
9
|
-
if (e[0] !== O) {
|
|
10
|
-
const {
|
|
11
|
-
id: h,
|
|
12
|
-
label: q,
|
|
13
|
-
className: L,
|
|
14
|
-
disabled: S,
|
|
15
|
-
dropdownOnFocus: g,
|
|
16
|
-
filterOption: R,
|
|
17
|
-
hideLabel: w,
|
|
18
|
-
invalid: D,
|
|
19
|
-
lang: E,
|
|
20
|
-
required: F,
|
|
21
|
-
tabSelectsValue: M,
|
|
22
|
-
variant: V,
|
|
23
|
-
...j
|
|
24
|
-
} = O;
|
|
25
|
-
if (l = h, o = q, s = L, n = R, i = j, a = S === void 0 ? !1 : S, t = g === void 0 ? !1 : g, d = w === void 0 ? !1 : w, r = D === void 0 ? !1 : D, c = E === void 0 ? "en" : E, p = F === void 0 ? !1 : F, m = M === void 0 ? !0 : M, u = V === void 0 ? "single" : V, process.env.NODE_ENV !== "production") {
|
|
26
|
-
const {
|
|
27
|
-
options: k
|
|
28
|
-
} = i;
|
|
29
|
-
_({
|
|
30
|
-
id: l,
|
|
31
|
-
label: o,
|
|
32
|
-
options: k
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
e[0] = O, e[1] = s, e[2] = a, e[3] = t, e[4] = n, e[5] = d, e[6] = l, e[7] = r, e[8] = o, e[9] = c, e[10] = p, e[11] = i, e[12] = m, e[13] = u;
|
|
36
|
-
} else
|
|
37
|
-
s = e[1], a = e[2], t = e[3], n = e[4], d = e[5], l = e[6], r = e[7], o = e[8], c = e[9], p = e[10], i = e[11], m = e[12], u = e[13];
|
|
38
|
-
const b = u === "multi", C = !t || b;
|
|
39
|
-
let f;
|
|
40
|
-
e[14] !== s || e[15] !== a || e[16] !== t || e[17] !== n || e[18] !== d || e[19] !== l || e[20] !== r || e[21] !== b || e[22] !== o || e[23] !== c || e[24] !== x || e[25] !== p || e[26] !== i || e[27] !== C || e[28] !== m ? (f = {
|
|
41
|
-
id: l,
|
|
42
|
-
label: o,
|
|
43
|
-
className: s,
|
|
44
|
-
disabled: a,
|
|
45
|
-
filterOption: n,
|
|
46
|
-
hideLabel: d,
|
|
47
|
-
isMulti: b,
|
|
48
|
-
invalid: r,
|
|
49
|
-
lang: c,
|
|
50
|
-
openMenuOnClick: t,
|
|
51
|
-
openMenuOnFocus: t,
|
|
52
|
-
isClearable: C,
|
|
53
|
-
required: p,
|
|
54
|
-
ref: x,
|
|
55
|
-
tabSelectsValue: m,
|
|
56
|
-
...i
|
|
57
|
-
}, e[14] = s, e[15] = a, e[16] = t, e[17] = n, e[18] = d, e[19] = l, e[20] = r, e[21] = b, e[22] = o, e[23] = c, e[24] = x, e[25] = p, e[26] = i, e[27] = C, e[28] = m, e[29] = f) : f = e[29];
|
|
58
|
-
const N = f;
|
|
59
|
-
let v;
|
|
60
|
-
return e[30] !== N ? (v = /* @__PURE__ */ y($, { ...N }), e[30] = N, e[31] = v) : v = e[31], v;
|
|
61
|
-
});
|
|
62
|
-
A.displayName = "DSCombobox";
|
|
63
|
-
export {
|
|
64
|
-
A as DSCombobox
|
|
65
|
-
};
|
package/input.DuEbg7d6.js
DELETED
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as b, jsxs as at } from "react/jsx-runtime";
|
|
3
|
-
import { d as se } from "./chunks/index.D-sRdssb.js";
|
|
4
|
-
import { c as q } from "./chunks/index.DL9mof6u.js";
|
|
5
|
-
import { forwardRef as ae, useState as lt, useRef as Ct, useEffect as le } from "react";
|
|
6
|
-
import { u as oe } from "./chunks/useBreakpoint.BzR_yaIv.js";
|
|
7
|
-
import { u as $t } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
8
|
-
import { Asterisk as de } from "./asterisk.B2ih8VwF.js";
|
|
9
|
-
import { D as Ot } from "./chunks/Button.DCZgBNmA.js";
|
|
10
|
-
import { D as ce } from "./chunks/Icon.CDLyB7Pv.js";
|
|
11
|
-
import { D as fe } from "./chunks/SystemFeedback.CjlARKki.js";
|
|
12
|
-
import { v as re, b as ue, M as pe, a as me, s as _e, i as Lt, c as be } from "./chunks/Input.utils.Dkw7gRrr.js";
|
|
13
|
-
import './assets/input.DTu4g_iA.css';const qe = "ds-input_input_zq4fq_1", he = "ds-input_input--small_zq4fq_9", xe = "ds-input_input--invalid_zq4fq_121", Ie = "ds-input_input--has-leading-icon_zq4fq_179", ye = "ds-input_input--has-action-button_zq4fq_182", ge = "ds-input_input--has-affix_zq4fq_197", Se = "ds-input_input--is-ready_zq4fq_211", ve = "ds-input_root_zq4fq_218", ze = "ds-input_hint_zq4fq_218", Ne = "ds-input_label_zq4fq_218", De = "ds-input_wrapper_zq4fq_222", ke = "ds-input_affix_zq4fq_228", Be = "ds-input_affix--small_zq4fq_249", Ce = "ds-input_prefix_zq4fq_262", Le = "ds-input_suffix_zq4fq_268", He = "ds-input_affix--disabled_zq4fq_274", Re = "ds-input_affix--readonly_zq4fq_285", we = "ds-input_leading-icon_zq4fq_321", Ae = "ds-input_leading-icon--small_zq4fq_333", Fe = "ds-input_leading-icon--disabled_zq4fq_336", Pe = "ds-input_action-button_zq4fq_345", Ee = "ds-input_label--hidden_zq4fq_363", Te = "ds-input_label--disabled_zq4fq_376", $e = "ds-input_feedback_zq4fq_396", e = {
|
|
14
|
-
input: qe,
|
|
15
|
-
inputSmall: he,
|
|
16
|
-
inputInvalid: xe,
|
|
17
|
-
inputHasLeadingIcon: Ie,
|
|
18
|
-
inputHasActionButton: ye,
|
|
19
|
-
inputHasAffix: ge,
|
|
20
|
-
inputIsReady: Se,
|
|
21
|
-
root: ve,
|
|
22
|
-
hint: ze,
|
|
23
|
-
label: Ne,
|
|
24
|
-
wrapper: De,
|
|
25
|
-
affix: ke,
|
|
26
|
-
affixSmall: Be,
|
|
27
|
-
prefix: Ce,
|
|
28
|
-
suffix: Le,
|
|
29
|
-
affixDisabled: He,
|
|
30
|
-
affixReadonly: Re,
|
|
31
|
-
leadingIcon: we,
|
|
32
|
-
leadingIconSmall: Ae,
|
|
33
|
-
leadingIconDisabled: Fe,
|
|
34
|
-
actionButton: Pe,
|
|
35
|
-
labelHidden: Ee,
|
|
36
|
-
labelDisabled: Te,
|
|
37
|
-
feedback: $e
|
|
38
|
-
}, Oe = ae((ot, y) => {
|
|
39
|
-
const t = se.c(123);
|
|
40
|
-
let w, g, i, T, _, d, c, h, u, p, o, a, m, x, n, s, r, l;
|
|
41
|
-
if (t[0] !== ot) {
|
|
42
|
-
const {
|
|
43
|
-
id: f,
|
|
44
|
-
label: P,
|
|
45
|
-
actionButtonProps: E,
|
|
46
|
-
className: Kt,
|
|
47
|
-
disabled: Rt,
|
|
48
|
-
hint: Qt,
|
|
49
|
-
hideLabel: wt,
|
|
50
|
-
invalid: At,
|
|
51
|
-
leadingIconName: Yt,
|
|
52
|
-
leadingIconSource: Zt,
|
|
53
|
-
prefix: te,
|
|
54
|
-
readonly: Ft,
|
|
55
|
-
required: Pt,
|
|
56
|
-
size: Et,
|
|
57
|
-
suffix: ee,
|
|
58
|
-
systemFeedback: ie,
|
|
59
|
-
type: Tt,
|
|
60
|
-
...ne
|
|
61
|
-
} = ot;
|
|
62
|
-
d = f, h = P, w = E, g = Kt, _ = Qt, u = Yt, p = Zt, o = te, s = ee, r = ie, x = ne, i = Rt === void 0 ? !1 : Rt, T = wt === void 0 ? !1 : wt, c = At === void 0 ? !1 : At, a = Ft === void 0 ? !1 : Ft, m = Pt === void 0 ? !1 : Pt, n = Et === void 0 ? "medium" : Et, l = Tt === void 0 ? "text" : Tt, process.env.NODE_ENV !== "production" && (re({
|
|
63
|
-
id: d,
|
|
64
|
-
label: h,
|
|
65
|
-
prefix: o,
|
|
66
|
-
suffix: s,
|
|
67
|
-
leadingIconName: u,
|
|
68
|
-
leadingIconSource: p,
|
|
69
|
-
actionButtonProps: w
|
|
70
|
-
}), ue(l, x.autoComplete)), t[0] = ot, t[1] = w, t[2] = g, t[3] = i, t[4] = T, t[5] = _, t[6] = d, t[7] = c, t[8] = h, t[9] = u, t[10] = p, t[11] = o, t[12] = a, t[13] = m, t[14] = x, t[15] = n, t[16] = s, t[17] = r, t[18] = l;
|
|
71
|
-
} else
|
|
72
|
-
w = t[1], g = t[2], i = t[3], T = t[4], _ = t[5], d = t[6], c = t[7], h = t[8], u = t[9], p = t[10], o = t[11], a = t[12], m = t[13], x = t[14], n = t[15], s = t[16], r = t[17], l = t[18];
|
|
73
|
-
const {
|
|
74
|
-
iconName: A,
|
|
75
|
-
iconSource: F,
|
|
76
|
-
label: dt,
|
|
77
|
-
onClick: ct,
|
|
78
|
-
...ft
|
|
79
|
-
} = w || {}, [Wt, Xt] = lt(!1), [rt, jt] = lt(!1), [I, Mt] = lt(!1);
|
|
80
|
-
let $;
|
|
81
|
-
t[19] === Symbol.for("react.memo_cache_sentinel") ? ($ = {}, t[19] = $) : $ = t[19];
|
|
82
|
-
const [ut, Vt] = lt($), pt = Ct(null);
|
|
83
|
-
let O;
|
|
84
|
-
t[20] !== y ? (O = (f) => {
|
|
85
|
-
pt.current = f, typeof y == "function" ? y(f) : y && (y.current = f);
|
|
86
|
-
}, t[20] = y, t[21] = O) : O = t[21];
|
|
87
|
-
const mt = O;
|
|
88
|
-
let W;
|
|
89
|
-
t[22] !== o ? (W = o?.substring(0, pe), t[22] = o, t[23] = W) : W = t[23];
|
|
90
|
-
const Gt = W, _t = Ct(null);
|
|
91
|
-
let X;
|
|
92
|
-
t[24] !== s ? (X = s?.substring(0, me), t[24] = s, t[25] = X) : X = t[25];
|
|
93
|
-
const Ut = X, bt = Ct(null), qt = oe(T);
|
|
94
|
-
let j;
|
|
95
|
-
t[26] !== n ? (j = () => {
|
|
96
|
-
const f = n === "medium" ? 16 : 8, P = {};
|
|
97
|
-
if (_t.current) {
|
|
98
|
-
const E = _t.current.offsetWidth;
|
|
99
|
-
P.paddingInlineStart = f + E + "px";
|
|
100
|
-
}
|
|
101
|
-
if (bt.current) {
|
|
102
|
-
const E = bt.current.offsetWidth;
|
|
103
|
-
P.paddingInlineEnd = f + E + "px";
|
|
104
|
-
}
|
|
105
|
-
Vt(P), Xt(!0);
|
|
106
|
-
}, t[26] = n, t[27] = j) : j = t[27];
|
|
107
|
-
let M;
|
|
108
|
-
t[28] !== rt || t[29] !== o || t[30] !== n || t[31] !== s ? (M = [o, s, n, rt], t[28] = rt, t[29] = o, t[30] = n, t[31] = s, t[32] = M) : M = t[32], $t(j, M);
|
|
109
|
-
let V, G;
|
|
110
|
-
t[33] === Symbol.for("react.memo_cache_sentinel") ? (V = () => {
|
|
111
|
-
(async () => {
|
|
112
|
-
"fonts" in document && (await document.fonts.load('1em "STIHL Contraface Digital Text Regular"'), jt(!0));
|
|
113
|
-
})();
|
|
114
|
-
}, G = [], t[33] = V, t[34] = G) : (V = t[33], G = t[34]), $t(V, G);
|
|
115
|
-
let U, J;
|
|
116
|
-
t[35] !== l ? (J = () => {
|
|
117
|
-
const f = _e(Lt(l), be(l));
|
|
118
|
-
Mt(f);
|
|
119
|
-
}, U = [l], t[35] = l, t[36] = U, t[37] = J) : (U = t[36], J = t[37]), le(J, U);
|
|
120
|
-
const Ht = q(e.affix, {
|
|
121
|
-
[e.affixSmall]: n === "small",
|
|
122
|
-
[e.affixDisabled]: i,
|
|
123
|
-
[e.affixReadonly]: a
|
|
124
|
-
}), K = `${d}-label`, S = `${d}-feedback`, Q = `${d}-hint`, Jt = _ ? ` ${Q}` : "";
|
|
125
|
-
let Y;
|
|
126
|
-
t[38] !== c || t[39] !== r || t[40] !== S ? (Y = [c && r && S].filter(Boolean).join(" ") || void 0, t[38] = c, t[39] = r, t[40] = S, t[41] = Y) : Y = t[41];
|
|
127
|
-
const ht = Y;
|
|
128
|
-
let Z;
|
|
129
|
-
t[42] !== g ? (Z = q(e.root, g), t[42] = g, t[43] = Z) : Z = t[43];
|
|
130
|
-
const xt = Z, It = q(e.input, {
|
|
131
|
-
[e.inputSmall]: n === "small",
|
|
132
|
-
[e.inputInvalid]: c,
|
|
133
|
-
[e.inputHasLeadingIcon]: u || p,
|
|
134
|
-
[e.inputHasAffix]: o || s,
|
|
135
|
-
[e.inputHasActionButton]: A || F || I,
|
|
136
|
-
[e.inputIsReady]: Wt
|
|
137
|
-
});
|
|
138
|
-
let tt;
|
|
139
|
-
t[44] !== i || t[45] !== qt ? (tt = q(e.label, {
|
|
140
|
-
[e.labelHidden]: qt,
|
|
141
|
-
[e.labelDisabled]: i
|
|
142
|
-
}), t[44] = i, t[45] = qt, t[46] = tt) : tt = t[46];
|
|
143
|
-
const yt = tt, gt = n === "small";
|
|
144
|
-
let et;
|
|
145
|
-
t[47] !== i || t[48] !== gt ? (et = q(e.leadingIcon, {
|
|
146
|
-
[e.leadingIconSmall]: gt,
|
|
147
|
-
[e.leadingIconDisabled]: i
|
|
148
|
-
}), t[47] = i, t[48] = gt, t[49] = et) : et = t[49];
|
|
149
|
-
const St = et, vt = n === "small";
|
|
150
|
-
let it;
|
|
151
|
-
t[50] !== vt ? (it = q(e.actionButton, {
|
|
152
|
-
[e.actionButtonSmall]: vt
|
|
153
|
-
}), t[50] = vt, t[51] = it) : it = t[51];
|
|
154
|
-
const v = it;
|
|
155
|
-
let nt;
|
|
156
|
-
t[52] !== i || t[53] !== a ? (nt = (f) => {
|
|
157
|
-
pt.current && !i && !a && pt.current.showPicker(), f.preventDefault();
|
|
158
|
-
}, t[52] = i, t[53] = a, t[54] = nt) : nt = t[54];
|
|
159
|
-
const zt = nt;
|
|
160
|
-
let z;
|
|
161
|
-
t[55] !== m ? (z = m && /* @__PURE__ */ b(de, {}), t[55] = m, t[56] = z) : z = t[56];
|
|
162
|
-
let N;
|
|
163
|
-
t[57] !== d || t[58] !== K || t[59] !== h || t[60] !== yt || t[61] !== z ? (N = /* @__PURE__ */ at("label", { className: yt, id: K, htmlFor: d, children: [
|
|
164
|
-
h,
|
|
165
|
-
z
|
|
166
|
-
] }), t[57] = d, t[58] = K, t[59] = h, t[60] = yt, t[61] = z, t[62] = N) : N = t[62];
|
|
167
|
-
let D;
|
|
168
|
-
t[63] !== _ || t[64] !== Q ? (D = _ && /* @__PURE__ */ b("div", { className: e.hint, id: Q, children: _ }), t[63] = _, t[64] = Q, t[65] = D) : D = t[65];
|
|
169
|
-
const Nt = e, Dt = o && /* @__PURE__ */ b("span", { className: q(Ht, e.prefix), ref: _t, "aria-disabled": i, children: Gt });
|
|
170
|
-
let k;
|
|
171
|
-
t[66] !== St || t[67] !== u || t[68] !== p || t[69] !== o ? (k = !o && (u || p) && /* @__PURE__ */ b(ce, { name: u, theme: "light", source: p, className: St, "aria-hidden": "true" }), t[66] = St, t[67] = u, t[68] = p, t[69] = o, t[70] = k) : k = t[70];
|
|
172
|
-
const kt = `${K}${Jt}`;
|
|
173
|
-
let B;
|
|
174
|
-
t[71] !== ht || t[72] !== i || t[73] !== mt || t[74] !== d || t[75] !== It || t[76] !== ut || t[77] !== c || t[78] !== a || t[79] !== m || t[80] !== x || t[81] !== kt || t[82] !== l ? (B = /* @__PURE__ */ b("input", { type: l, className: It, id: d, ...x, ref: mt, style: ut, "aria-labelledby": kt, "aria-describedby": ht, "aria-invalid": c, "aria-disabled": a, readOnly: a, required: m, disabled: i }), t[71] = ht, t[72] = i, t[73] = mt, t[74] = d, t[75] = It, t[76] = ut, t[77] = c, t[78] = a, t[79] = m, t[80] = x, t[81] = kt, t[82] = l, t[83] = B) : B = t[83];
|
|
175
|
-
const Bt = s && /* @__PURE__ */ b("span", { className: q(Ht, e.suffix), ref: bt, "aria-disabled": i, children: Ut });
|
|
176
|
-
let C;
|
|
177
|
-
t[84] !== v || t[85] !== dt || t[86] !== i || t[87] !== A || t[88] !== F || t[89] !== I || t[90] !== ct || t[91] !== a || t[92] !== ft || t[93] !== n || t[94] !== s ? (C = !s && !I && (A || F) && /* @__PURE__ */ b(Ot, { ...ft, hideLabel: !0, theme: "light", iconName: A, iconSource: F, variant: "ghost", className: v, size: n, onClick: ct, type: "button", disabled: i || a, children: dt }), t[84] = v, t[85] = dt, t[86] = i, t[87] = A, t[88] = F, t[89] = I, t[90] = ct, t[91] = a, t[92] = ft, t[93] = n, t[94] = s, t[95] = C) : C = t[95];
|
|
178
|
-
let L;
|
|
179
|
-
t[96] !== v || t[97] !== i || t[98] !== zt || t[99] !== I || t[100] !== a || t[101] !== n || t[102] !== s || t[103] !== l ? (L = !s && I && !a && !i && /* @__PURE__ */ at(Ot, { hideLabel: !0, theme: "light", iconName: Lt(l) ? "calendar" : "clock", variant: "ghost", className: v, size: n, onClick: zt, type: "button", children: [
|
|
180
|
-
"Open ",
|
|
181
|
-
Lt(l) ? "date" : "time",
|
|
182
|
-
" picker"
|
|
183
|
-
] }), t[96] = v, t[97] = i, t[98] = zt, t[99] = I, t[100] = a, t[101] = n, t[102] = s, t[103] = l, t[104] = L) : L = t[104];
|
|
184
|
-
let H;
|
|
185
|
-
t[105] !== Nt.wrapper || t[106] !== Dt || t[107] !== k || t[108] !== B || t[109] !== Bt || t[110] !== C || t[111] !== L ? (H = /* @__PURE__ */ at("div", { className: Nt.wrapper, children: [
|
|
186
|
-
Dt,
|
|
187
|
-
k,
|
|
188
|
-
B,
|
|
189
|
-
Bt,
|
|
190
|
-
C,
|
|
191
|
-
L
|
|
192
|
-
] }), t[105] = Nt.wrapper, t[106] = Dt, t[107] = k, t[108] = B, t[109] = Bt, t[110] = C, t[111] = L, t[112] = H) : H = t[112];
|
|
193
|
-
let R;
|
|
194
|
-
t[113] !== c || t[114] !== r || t[115] !== S ? (R = c && r && /* @__PURE__ */ b(fe, { className: e.feedback, message: r, variant: "error", id: S }), t[113] = c, t[114] = r, t[115] = S, t[116] = R) : R = t[116];
|
|
195
|
-
let st;
|
|
196
|
-
return t[117] !== xt || t[118] !== N || t[119] !== D || t[120] !== H || t[121] !== R ? (st = /* @__PURE__ */ at("div", { className: xt, children: [
|
|
197
|
-
N,
|
|
198
|
-
D,
|
|
199
|
-
H,
|
|
200
|
-
R
|
|
201
|
-
] }), t[117] = xt, t[118] = N, t[119] = D, t[120] = H, t[121] = R, t[122] = st) : st = t[122], st;
|
|
202
|
-
});
|
|
203
|
-
Oe.displayName = "DSInput";
|
|
204
|
-
export {
|
|
205
|
-
Oe as DSInput
|
|
206
|
-
};
|
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
|
-
};
|
package/slider.C5dK6KcG.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.D-sRdssb.js";
|
|
4
|
-
import "./chunks/index.DL9mof6u.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/useBreakpoint.BzR_yaIv.js";
|
|
7
|
-
import "./input.DuEbg7d6.js";
|
|
8
|
-
import { D as s } from "./chunks/Slider.CR0zYHeZ.js";
|
|
9
|
-
export {
|
|
10
|
-
s as DSSlider
|
|
11
|
-
};
|
|
File without changes
|