@stihl-design-system/components 1.0.0-RC.34 → 1.0.0-RC.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/{actionbutton.DLQJU6AV.js → actionbutton.Du5CT-Mt.js} +2 -2
  2. package/{actionlink.DEBrWfN3.js → actionlink.BK9CaQUY.js} +2 -2
  3. package/assets/Button.CmeGVEAY.css +1 -0
  4. package/assets/CustomReactSelect.BihX36Uo.css +1 -0
  5. package/assets/Fieldset.Oqu7pOBv.css +1 -0
  6. package/assets/InputFile.D7Ihod7B.css +1 -0
  7. package/assets/InputNumber.z_UqRYdv.css +1 -0
  8. package/assets/InputPassword.DZENjxJ9.css +1 -0
  9. package/assets/InputSearch.GBH9Eh6F.css +1 -0
  10. package/assets/LinkButton.88j5ckLu.css +1 -0
  11. package/assets/Select.CL0fqx7X.css +1 -0
  12. package/assets/Slider.DWLuIsNj.css +1 -0
  13. package/assets/Textarea.B1HOakic.css +1 -0
  14. package/assets/buttonround.DBpMesfr.css +1 -0
  15. package/assets/input.RPDR8qdT.css +1 -0
  16. package/{banner.CI5HnDqD.js → banner.D-RX60nJ.js} +1 -1
  17. package/{breadcrumb.CtwAux3P.js → breadcrumb.tvMByFgp.js} +3 -3
  18. package/button.CZupaV9L.js +12 -0
  19. package/buttonround.9IS0tUqw.js +96 -0
  20. package/{checkbox.DwccD0Mp.js → checkbox.XYQI-ubx.js} +2 -2
  21. package/{checkboxgroup.ZiUFfCJ1.js → checkboxgroup.CjnNJ8e6.js} +2 -2
  22. package/{chip.B0s_fS8L.js → chip.B-pxhsdb.js} +2 -2
  23. package/{chipgroup.Dpu66bo5.js → chipgroup.cGjn4LVV.js} +2 -2
  24. package/chunks/{ActionButton.DOYsEHPr.js → ActionButton.BOYQYo5M.js} +1 -1
  25. package/chunks/{ActionLink.DbyciN3Y.js → ActionLink.BlwvrnPN.js} +1 -1
  26. package/chunks/{Breadcrumb.BgnpTo01.js → Breadcrumb.Qr6bDP2N.js} +2 -2
  27. package/chunks/Button.Cn5yg7dG.js +138 -0
  28. package/chunks/{Checkbox.BcGXAuuP.js → Checkbox.D5X5T6Yg.js} +1 -1
  29. package/chunks/CheckboxGroup.CUR_0VMc.js +74 -0
  30. package/chunks/{Chip.D6pubCZV.js → Chip.DIp5hdRH.js} +1 -1
  31. package/chunks/{CustomReactSelect.Dg3wC_VH.js → CustomReactSelect.BA3hUVkh.js} +816 -800
  32. package/chunks/{Dialog.DpqSVrYR.js → Dialog.DRk_jSj5.js} +1 -1
  33. package/chunks/{Drawer.DISWybOa.js → Drawer.Dj6WeUC8.js} +1 -1
  34. package/chunks/Fieldset.C0RzpI-h.js +81 -0
  35. package/chunks/{Header.7TQL_J9t.js → Header.18sOO0Gf.js} +1 -1
  36. package/chunks/{Input.utils.Dkw7gRrr.js → Input.utils.CL1u4Ctq.js} +27 -25
  37. package/chunks/InputFile.Bki3bs3U.js +236 -0
  38. package/chunks/InputNumber.B43cqBH0.js +242 -0
  39. package/chunks/InputPassword.DcdMjsXr.js +121 -0
  40. package/chunks/InputSearch.CJm6ph8W.js +149 -0
  41. package/chunks/LinkButton.C6F-yuLL.js +139 -0
  42. package/chunks/{MegaMenu.CQbOeaib.js → MegaMenu.qttkjGbD.js} +7 -8
  43. package/chunks/{NavigationTabs.BwM-6CRm.js → NavigationTabs.CQxlahX1.js} +1 -1
  44. package/chunks/{Notification.CrojkJ0E.js → Notification.Qzz88ngL.js} +1 -1
  45. package/chunks/{Popover.Bb0Pjmvg.js → Popover.D7McfVaH.js} +9 -10
  46. package/chunks/RadioGroup.B2VCD9x-.js +106 -0
  47. package/chunks/Select.B0uMOSSD.js +147 -0
  48. package/chunks/Slider.YTIktxxD.js +306 -0
  49. package/chunks/{Stepper.PTQdQBYf.js → Stepper.BvPmbbqw.js} +2 -2
  50. package/chunks/{Tabs.DyP4whX0.js → Tabs.CoO_lrhV.js} +1 -1
  51. package/chunks/Textarea.lYiPXerd.js +181 -0
  52. package/chunks/{Toast.ug_RjGgF.js → Toast.L5HAuEOn.js} +1 -1
  53. package/chunks/floating-ui.react.COTL3jH5.js +2984 -0
  54. package/chunks/{useBreakpoint.BzR_yaIv.js → useBreakpoint.1txsny17.js} +8 -5
  55. package/combobox.CGEDlMo0.js +71 -0
  56. package/components/Button/Button.d.ts +5 -0
  57. package/components/Button/Button.utils.d.ts +4 -5
  58. package/components/CheckboxGroup/CheckboxGroup.d.ts +14 -1
  59. package/components/Combobox/Combobox.utils.d.ts +3 -2
  60. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +13 -0
  61. package/components/Fieldset/Fieldset.d.ts +14 -1
  62. package/components/Input/Input.d.ts +13 -0
  63. package/components/Input/Input.utils.d.ts +2 -2
  64. package/components/InputFile/InputFile.d.ts +13 -0
  65. package/components/InputFile/InputFile.utils.d.ts +4 -2
  66. package/components/InputNumber/InputNumber.d.ts +17 -4
  67. package/components/InputNumber/InputNumber.utils.d.ts +2 -2
  68. package/components/InputPassword/InputPassword.d.ts +13 -0
  69. package/components/InputPassword/InputPassword.utils.d.ts +2 -2
  70. package/components/InputSearch/InputSearch.d.ts +13 -0
  71. package/components/InputSearch/InputSearch.utils.d.ts +2 -2
  72. package/components/LinkButton/LinkButton.d.ts +5 -0
  73. package/components/LinkButton/LinkButton.utils.d.ts +4 -5
  74. package/components/RadioGroup/RadioGroup.d.ts +13 -0
  75. package/components/Select/Select.d.ts +13 -0
  76. package/components/Select/Select.utils.d.ts +2 -2
  77. package/components/Slider/Slider.d.ts +13 -0
  78. package/components/Textarea/Textarea.d.ts +13 -0
  79. package/components/Textarea/Textarea.utils.d.ts +2 -2
  80. package/{customreactselect.BFN8cYJi.js → customreactselect.BgYf8rKE.js} +4 -3
  81. package/{dialog.CzM_Cxp0.js → dialog.Bq-ZyzR8.js} +2 -2
  82. package/{drawer._A9MQ8Cj.js → drawer.DL5UzLWf.js} +2 -2
  83. package/{fieldset.CId-NtI5.js → fieldset.BFLW2D9H.js} +3 -2
  84. package/{filelist.DgVuWpR3.js → filelist.BG6SGVJ8.js} +1 -1
  85. package/{floatingactionbutton.Bsnncudt.js → floatingactionbutton.B5hJ2At2.js} +1 -1
  86. package/{header.CelAkqtp.js → header.A77yIAH3.js} +1 -1
  87. package/index.es.js +38 -38
  88. package/input.hBWqQr3X.js +190 -0
  89. package/{inputfile.BjgJGefV.js → inputfile.BSZuRujU.js} +6 -5
  90. package/{inputnumber.BcrxBVv0.js → inputnumber.CA4JiUmq.js} +7 -6
  91. package/{inputpassword.CddmBW-T.js → inputpassword.Cju_crMi.js} +4 -4
  92. package/{inputsearch.CFOASqrd.js → inputsearch.CU9AhVVv.js} +6 -5
  93. package/{link.f8MMZo-w.js → link.DoiK003-.js} +2 -2
  94. package/{linkbutton.BYAvi-_V.js → linkbutton.CWco_B7v.js} +4 -4
  95. package/{logo100years.B4d_DIiB.js → logo100years.DDzCrczW.js} +10 -10
  96. package/{megamenu.Cy9Cc-mC.js → megamenu.BurL9MfF.js} +3 -3
  97. package/{navigationtabs.Dp7D2fnc.js → navigationtabs.zhRZHjgs.js} +2 -2
  98. package/{notification.B-norGiB.js → notification.BiXdWNo7.js} +2 -2
  99. package/package.json +2 -1
  100. package/partials/index.js +30 -30
  101. package/{popover.DFVDZY-m.js → popover.79Voiadz.js} +3 -3
  102. package/{radiogroup.DaThoMfq.js → radiogroup.CwBh7u9L.js} +2 -2
  103. package/{scroller.Cu7H_VCT.js → scroller.IpfbFV8B.js} +1 -1
  104. package/{select.CMdKf7tC.js → select.NHaEtX_u.js} +5 -4
  105. package/{skiptocontent.CHVh0hbr.js → skiptocontent.X4USTODk.js} +1 -1
  106. package/slider.jnNGEyBq.js +12 -0
  107. package/{step.DKf4CHGr.js → step.D5p7qppy.js} +1 -1
  108. package/{stepper.CCP_igpJ.js → stepper.DnMc4ex6.js} +3 -3
  109. package/styles/scss/ds/lib/ds-internal/_input.scss +12 -3
  110. package/styles/scss/ds/lib/ds-internal/_link-button.scss +10 -2
  111. package/styles/scss/ds/lib/link-button.scss +11 -3
  112. package/{tablist.DZgo49nZ.js → tablist.BFE6RAPD.js} +1 -1
  113. package/{tabs.BkoT7feH.js → tabs.CsOxxQyQ.js} +2 -2
  114. package/{textarea.DMn20z4p.js → textarea.C9OAAjhG.js} +4 -3
  115. package/{toast.Dvs8woTH.js → toast.OBI9qnAM.js} +2 -2
  116. package/{toastmanager.pi_Fhd5t.js → toastmanager.CgsA-1y_.js} +1 -1
  117. package/{tooltip.QJe_bfO-.js → tooltip.Cj3AvYgB.js} +22 -23
  118. package/{topbar.Bxwvp9Lf.js → topbar.CAujTZAE.js} +2 -2
  119. package/utils/useIsomorphicLayoutEffect.d.ts +2 -2
  120. package/assets/Button.C8sNwIeW.css +0 -1
  121. package/assets/CustomReactSelect.E_jJFVew.css +0 -1
  122. package/assets/Fieldset.CW9dBvAo.css +0 -1
  123. package/assets/InputFile.BnIvK65P.css +0 -1
  124. package/assets/InputNumber.BoiCIR1f.css +0 -1
  125. package/assets/InputPassword.Dk3_vNLV.css +0 -1
  126. package/assets/InputSearch.C1_4cVCi.css +0 -1
  127. package/assets/LinkButton.B86yacK5.css +0 -1
  128. package/assets/Select.COxLltX7.css +0 -1
  129. package/assets/Slider.DPEmJ3HD.css +0 -1
  130. package/assets/Textarea.y3MW7VW0.css +0 -1
  131. package/assets/buttonround.BN3vUDc_.css +0 -1
  132. package/assets/input.DTu4g_iA.css +0 -1
  133. package/button.DHuKanZP.js +0 -13
  134. package/buttonround.CMlmEDaN.js +0 -96
  135. package/chunks/Button.DCZgBNmA.js +0 -142
  136. package/chunks/CheckboxGroup.BuFd1luB.js +0 -72
  137. package/chunks/Fieldset.DiMtr6Vw.js +0 -74
  138. package/chunks/InputFile.C8nt9Fu8.js +0 -218
  139. package/chunks/InputNumber.CbH1XJfl.js +0 -267
  140. package/chunks/InputPassword.DbdjuSiJ.js +0 -136
  141. package/chunks/InputSearch.joxmugiv.js +0 -173
  142. package/chunks/LinkButton.BZgIGgc8.js +0 -132
  143. package/chunks/RadioGroup.CexC4v2Z.js +0 -104
  144. package/chunks/Select.BEIdNMML.js +0 -164
  145. package/chunks/Slider.CR0zYHeZ.js +0 -291
  146. package/chunks/Textarea.Du2RII5u.js +0 -168
  147. package/chunks/floating-ui.dom.BT8pKtCQ.js +0 -1005
  148. package/chunks/floating-ui.react.3FjeMiuN.js +0 -1999
  149. package/combobox.jG5GRA7C.js +0 -65
  150. package/input.DuEbg7d6.js +0 -206
  151. package/slider.C5dK6KcG.js +0 -11
  152. /package/components/InputNumber/{InputNumberutils.test.d.ts → InputNumber.utils.test.d.ts} +0 -0
@@ -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
- };
@@ -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
- };