@stihl-design-system/components 1.0.0-RC.32 → 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.
- package/accordion.Dmqocj97.js +12 -0
- package/actionbutton.Du5CT-Mt.js +12 -0
- package/actionlink.BK9CaQUY.js +12 -0
- package/{arialiveregions.Fgcshs5k.js → arialiveregions.BUVY9NpY.js} +2 -2
- package/assets/Accordion.CzBGud45.css +1 -0
- package/assets/Button.CmeGVEAY.css +1 -0
- package/assets/Checkbox.CyOw3rXI.css +1 -0
- package/assets/CustomReactSelect.BihX36Uo.css +1 -0
- package/assets/Dialog.DJkn65Es.css +1 -0
- package/assets/Drawer.x3BCQvWE.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/{MegaMenu.DX9gChtY.css → MegaMenu.D5EtjFeL.css} +1 -1
- package/assets/Notification.CvohYEvT.css +1 -0
- package/assets/Select.CL0fqx7X.css +1 -0
- package/assets/Slider.DWLuIsNj.css +1 -0
- package/assets/Stepper.tXJl15yL.css +1 -0
- package/assets/{SystemFeedback.RcrPepSZ.css → SystemFeedback.PKzqnXUe.css} +1 -1
- package/assets/Textarea.B1HOakic.css +1 -0
- package/assets/Toast.CGyKXb4V.css +1 -0
- package/assets/buttonround.DBpMesfr.css +1 -0
- package/assets/input.RPDR8qdT.css +1 -0
- package/assets/step.BeLporJO.css +1 -0
- package/assets/switch.B9B-n_3y.css +1 -0
- package/{asterisk.CR60hx8S.js → asterisk.B2ih8VwF.js} +1 -1
- package/{banner.o4Etkjjo.js → banner.D-RX60nJ.js} +3 -3
- package/breadcrumb.tvMByFgp.js +11 -0
- package/button.CZupaV9L.js +12 -0
- package/buttonround.9IS0tUqw.js +96 -0
- package/checkbox.XYQI-ubx.js +12 -0
- package/checkboxgroup.CjnNJ8e6.js +9 -0
- package/chip.B-pxhsdb.js +12 -0
- package/chipgroup.cGjn4LVV.js +143 -0
- package/chunks/Accordion.CYIfNOWr.js +168 -0
- package/chunks/{ActionButton.DdDesD7K.js → ActionButton.BOYQYo5M.js} +37 -37
- package/chunks/{ActionLink.DqAsPYda.js → ActionLink.BlwvrnPN.js} +36 -36
- package/chunks/{AriaLiveRegions.utils.Cb327d_2.js → AriaLiveRegions.utils.CybNIBSa.js} +2 -2
- package/chunks/{Breadcrumb.9KinNuyQ.js → Breadcrumb.Qr6bDP2N.js} +35 -37
- package/chunks/Button.Cn5yg7dG.js +138 -0
- package/chunks/Checkbox.D5X5T6Yg.js +88 -0
- package/chunks/CheckboxGroup.CUR_0VMc.js +74 -0
- package/chunks/{Chip.BrbYu6i_.js → Chip.DIp5hdRH.js} +6 -6
- package/chunks/{CustomReactSelect.Cqq70QC0.js → CustomReactSelect.BA3hUVkh.js} +897 -878
- package/chunks/Dialog.DRk_jSj5.js +102 -0
- package/chunks/Drawer.Dj6WeUC8.js +107 -0
- package/chunks/Fieldset.C0RzpI-h.js +81 -0
- package/chunks/Header.18sOO0Gf.js +370 -0
- package/chunks/{Icon.NSsVrYeq.js → Icon.CDLyB7Pv.js} +77 -79
- package/chunks/{Input.utils.Cnnzvuk4.js → Input.utils.CL1u4Ctq.js} +30 -28
- package/chunks/InputFile.Bki3bs3U.js +236 -0
- package/chunks/InputNumber.B43cqBH0.js +242 -0
- package/chunks/InputPassword.DcdMjsXr.js +121 -0
- package/chunks/InputSearch.CJm6ph8W.js +149 -0
- package/chunks/LinkButton.C6F-yuLL.js +139 -0
- package/chunks/MegaMenu.qttkjGbD.js +188 -0
- package/chunks/NavigationTabList.G_l0GiUa.js +67 -0
- package/chunks/{NavigationTabs.DspPFHPh.js → NavigationTabs.CQxlahX1.js} +13 -14
- package/chunks/Notification.Qzz88ngL.js +91 -0
- package/chunks/Popover.D7McfVaH.js +214 -0
- package/chunks/RadioGroup.B2VCD9x-.js +106 -0
- package/chunks/Select.B0uMOSSD.js +147 -0
- package/chunks/Slider.YTIktxxD.js +306 -0
- package/chunks/Stepper.BvPmbbqw.js +152 -0
- package/chunks/{SystemFeedback.CyGbUCzT.js → SystemFeedback.CjlARKki.js} +9 -9
- package/chunks/Tabs.CoO_lrhV.js +83 -0
- package/chunks/{Text.DGWeWF1y.js → Text.DpRtTpB4.js} +3 -3
- package/chunks/Textarea.lYiPXerd.js +181 -0
- package/chunks/Toast.L5HAuEOn.js +76 -0
- package/chunks/{arrow-clockwise.BefOjGPg.js → arrow-clockwise.C4iOgjOc.js} +1 -1
- package/chunks/{arrow-counterclockwise.C7Ov32BZ.js → arrow-counterclockwise.CgQAuBUe.js} +1 -1
- package/chunks/{circle-check-colored.Bye_GwLy.js → circle-check-colored.qP2s3vjI.js} +1 -1
- package/chunks/{diamond-exclamationmark-colored.WNKYwZ8q.js → diamond-exclamationmark-colored.CzYiaTZ0.js} +1 -1
- package/chunks/feather.l1E4nFBx.js +10 -0
- package/chunks/file-type-doc.B_RSSYbu.js +10 -0
- package/chunks/floating-ui.react.COTL3jH5.js +2984 -0
- package/chunks/helpers.CexwVao7.js +38 -0
- package/chunks/{index.CgTHIF3K.js → index.D-sRdssb.js} +1 -1
- package/chunks/{index.CEyLAtio.js → index.DL9mof6u.js} +2 -2
- package/chunks/{is-animation-disabled.CUl4N3LI.js → is-animation-disabled.B-V_68K-.js} +5 -5
- package/chunks/{map.CXgG1iGz.js → map.DNl7PF61.js} +1 -1
- package/chunks/moon.5yILPYXs.js +10 -0
- package/chunks/muscle.DbNjWasV.js +10 -0
- package/chunks/petrol.BGWwCsTw.js +10 -0
- package/chunks/sun.CY6ttzTL.js +10 -0
- package/chunks/{triangle-exclamationmark-colored.CbVC3Gzi.js → triangle-exclamationmark-colored.e93zvQ6Q.js} +1 -1
- package/chunks/upload.BogDfonx.js +10 -0
- package/chunks/useBreakpoint.1txsny17.js +45 -0
- package/chunks/variants.-R3_RCW8.js +10 -0
- package/chunks/weight.DUPu2UT0.js +10 -0
- package/combobox.CGEDlMo0.js +71 -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/ChipGroup/ChipGroup.utils.d.ts +1 -3
- package/components/Combobox/Combobox.utils.d.ts +6 -6
- package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +17 -2
- 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/{InputStepper/InputStepper.d.ts → InputNumber/InputNumber.d.ts} +21 -8
- package/components/InputNumber/InputNumber.utils.d.ts +13 -0
- 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/Scroller/Scroller.d.ts +6 -2
- 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/Stepper/Step.d.ts +33 -0
- package/components/Stepper/Step.utils.d.ts +5 -0
- package/components/Stepper/Stepper.d.ts +56 -0
- package/components/Stepper/Stepper.test.d.ts +1 -0
- package/components/Stepper/Stepper.utils.d.ts +30 -0
- package/components/Stepper/Stepper.utils.test.d.ts +1 -0
- package/components/Textarea/Textarea.d.ts +13 -0
- package/components/Textarea/Textarea.utils.d.ts +2 -2
- package/customreactselect.BgYf8rKE.js +15 -0
- package/dialog.Bq-ZyzR8.js +9 -0
- package/drawer.DL5UzLWf.js +9 -0
- package/fieldset.BFLW2D9H.js +12 -0
- package/{filelist.BiKMKCyg.js → filelist.BG6SGVJ8.js} +23 -24
- package/{flag.72PONA83.js → flag.CE32qHPa.js} +3 -3
- package/{floatingactionbutton.B2YChsNU.js → floatingactionbutton.B5hJ2At2.js} +5 -5
- package/header.A77yIAH3.js +12 -0
- package/{heading.BXFBZhKv.js → heading.DHLpT4dc.js} +2 -2
- package/icon.vzkPwgjZ.js +9 -0
- package/index.d.ts +4 -2
- package/index.es.js +218 -206
- package/input.hBWqQr3X.js +190 -0
- package/inputfile.BSZuRujU.js +18 -0
- package/inputnumber.CA4JiUmq.js +17 -0
- package/inputnumber.d.ts +2 -0
- package/inputpassword.Cju_crMi.js +13 -0
- package/inputsearch.CU9AhVVv.js +15 -0
- package/{link.DbnvsD3j.js → link.DoiK003-.js} +5 -5
- package/linkbutton.CWco_B7v.js +12 -0
- package/{logo.C96KaG1P.js → logo.DprmD8HU.js} +3 -3
- package/{logo100years.BcB6_c-o.js → logo100years.DDzCrczW.js} +11 -11
- package/megamenu.BurL9MfF.js +12 -0
- package/navigationtablist.CkkLyHrM.js +10 -0
- package/navigationtabs.zhRZHjgs.js +9 -0
- package/notification.BiXdWNo7.js +10 -0
- package/{numberindicator.Ddf3ESi7.js → numberindicator.BdnPMogE.js} +2 -2
- package/{optioncheckbox.DqfXuPdi.js → optioncheckbox.nBVwGv6c.js} +3 -3
- package/package.json +42 -50
- package/partials/index.js +54 -48
- package/partials/lib/partials.d.ts +1 -1
- package/popover.79Voiadz.js +12 -0
- package/{radio.7_N_alaS.js → radio.DHUfSPai.js} +2 -2
- package/radiogroup.CwBh7u9L.js +11 -0
- package/scroller.IpfbFV8B.js +98 -0
- package/select.NHaEtX_u.js +14 -0
- package/{skiptocontent.BSCde5hT.js → skiptocontent.X4USTODk.js} +4 -4
- package/slider.jnNGEyBq.js +12 -0
- package/{spinner.BUjhjAvw.js → spinner.C9qCeq0R.js} +18 -18
- package/step.D5p7qppy.js +82 -0
- package/step.d.ts +6 -0
- package/stepper.DnMc4ex6.js +16 -0
- package/stepper.d.ts +2 -0
- 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/{switch.D7BCfyyZ.js → switch.Bqdyzi2E.js} +5 -5
- package/systemfeedback.O7tj1juR.js +10 -0
- package/tablist.BFE6RAPD.js +209 -0
- package/{tabpane.CB-eudyw.js → tabpane.C4nsUlwc.js} +2 -2
- package/tabs.CsOxxQyQ.js +11 -0
- package/text.cLv2PhjQ.js +10 -0
- package/textarea.C9OAAjhG.js +14 -0
- package/{title.Bz_k5Vda.js → title.DuLPB-VK.js} +2 -2
- package/toast.OBI9qnAM.js +11 -0
- package/toastmanager.CgsA-1y_.js +89 -0
- package/tooltip.Cj3AvYgB.js +177 -0
- package/topbar.CAujTZAE.js +12 -0
- package/types/icon-types.d.ts +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/mergeRefs.d.ts +5 -0
- package/utils/mergeRefs.test.d.ts +1 -0
- package/utils/useIsomorphicLayoutEffect.d.ts +2 -2
- package/accordion.HfUSDwQJ.js +0 -12
- package/actionbutton.kgd0E_xF.js +0 -12
- package/actionlink.CwC42RWc.js +0 -12
- package/assets/Accordion.BJb4TOG0.css +0 -1
- package/assets/Button.Dw8H5nFS.css +0 -1
- package/assets/Checkbox.BKHQN_tu.css +0 -1
- package/assets/CustomReactSelect.DGIItWIh.css +0 -1
- package/assets/Dialog.CGAg7bnN.css +0 -1
- package/assets/Drawer.VOvWQoEr.css +0 -1
- package/assets/Fieldset.CW9dBvAo.css +0 -1
- package/assets/InputFile.CCQxsulT.css +0 -1
- package/assets/InputPassword.124xVOiO.css +0 -1
- package/assets/InputSearch.Bkg-1urJ.css +0 -1
- package/assets/InputStepper.DvFJk1Mi.css +0 -1
- package/assets/LinkButton.xMvg_ojf.css +0 -1
- package/assets/Notification.BOuaA5GT.css +0 -1
- package/assets/Select.C1gWF32A.css +0 -1
- package/assets/Slider.Bidyhb-B.css +0 -1
- package/assets/Textarea.Dq4rH9Tg.css +0 -1
- package/assets/Toast.CJ1zhDIT.css +0 -1
- package/assets/buttonround.Cw9hnUan.css +0 -1
- package/assets/input.CUjGh-UM.css +0 -1
- package/assets/switch.Bc9KIyw9.css +0 -1
- package/breadcrumb.BsQm0kUD.js +0 -11
- package/button.Dyy6ajX6.js +0 -13
- package/buttonround.ChKWHzsv.js +0 -96
- package/checkbox.BNnp4ztM.js +0 -12
- package/checkboxgroup.BTVnKenc.js +0 -9
- package/chip.C7NstOHt.js +0 -12
- package/chipgroup.Zo1-IOCn.js +0 -210
- package/chunks/Accordion.CnqryAUu.js +0 -170
- package/chunks/Button.Cf1CKq8N.js +0 -142
- package/chunks/Checkbox.CiwriItT.js +0 -88
- package/chunks/CheckboxGroup.Cj68J6Ee.js +0 -72
- package/chunks/Dialog.Bv7k55He.js +0 -135
- package/chunks/Drawer.BVTvx276.js +0 -140
- package/chunks/Fieldset.D7cLR5ze.js +0 -74
- package/chunks/Header.um5MlziB.js +0 -377
- package/chunks/InputFile.bVWWdePn.js +0 -220
- package/chunks/InputPassword.Da3hEKTc.js +0 -136
- package/chunks/InputSearch.GOYqFCcZ.js +0 -174
- package/chunks/InputStepper.BuhPtfl-.js +0 -268
- package/chunks/LinkButton.59oNDwPU.js +0 -132
- package/chunks/MegaMenu._o3nNDAa.js +0 -192
- package/chunks/NavigationTabList.DuT7gzhj.js +0 -57
- package/chunks/Notification.Pts2oh0R.js +0 -92
- package/chunks/Popover.BRR8YZ-P.js +0 -228
- package/chunks/RadioGroup.DeTz3c19.js +0 -104
- package/chunks/Select.D2ehd4yN.js +0 -162
- package/chunks/Slider.84lkgq3W.js +0 -292
- package/chunks/Tabs.C8ADTzJ0.js +0 -83
- package/chunks/Textarea.Cw85sxHL.js +0 -163
- package/chunks/Toast.DG3WVvau.js +0 -76
- package/chunks/file-type-doc.DlovDOBh.js +0 -10
- package/chunks/floating-ui.dom.VgHc0h4l.js +0 -989
- package/chunks/floating-ui.react.DCyAzlZ4.js +0 -2011
- package/chunks/helpers.BbWkXTr3.js +0 -37
- package/chunks/petrol.Du6qAgp0.js +0 -10
- package/chunks/upload.ZImTAIgx.js +0 -10
- package/chunks/useBreakpoint.CMOR9ZOB.js +0 -44
- package/combobox.orZ3z8CB.js +0 -60
- package/components/InputStepper/InputStepper.utils.d.ts +0 -13
- package/customreactselect.Np-RpzvU.js +0 -14
- package/dialog.D4rcbW6A.js +0 -10
- package/drawer.BCCB3Rkj.js +0 -10
- package/fieldset.ZLs9IGpE.js +0 -11
- package/header.DUbn3BZt.js +0 -12
- package/icon.CHVAZr5T.js +0 -9
- package/input.DG20x6gh.js +0 -203
- package/inputfile.Dc56lQ4t.js +0 -17
- package/inputpassword.znFHRLsI.js +0 -13
- package/inputsearch.B1G6rfVk.js +0 -14
- package/inputstepper.d.ts +0 -2
- package/inputstepper.o6rdM_CW.js +0 -16
- package/linkbutton.DU8Ih8ZF.js +0 -12
- package/megamenu.CPH8EeFF.js +0 -12
- package/navigationtablist.C0iwsAad.js +0 -9
- package/navigationtabs.JjJtbuUe.js +0 -9
- package/notification.Ds_Q7ifk.js +0 -10
- package/popover.B72W0OvU.js +0 -12
- package/radiogroup.C_3IcNBq.js +0 -11
- package/scroller.CQxmQU6U.js +0 -123
- package/select.Ceyt-zvu.js +0 -13
- package/slider.Dq2dcziy.js +0 -11
- package/systemfeedback.CSdWOWuf.js +0 -10
- package/tablist.V7DBklhE.js +0 -256
- package/tabs.DQNLPAEN.js +0 -11
- package/text.ZOUuesnU.js +0 -10
- package/textarea.CixKeQBp.js +0 -13
- package/toast.D8QprMCa.js +0 -11
- package/toastmanager.BSVjYsg9.js +0 -116
- package/tooltip.CUCSRXd3.js +0 -191
- package/topbar.CVhJy-Br.js +0 -12
- /package/components/{InputStepper/InputStepper.test.d.ts → InputNumber/InputNumber.test.d.ts} +0 -0
- /package/components/{InputStepper/InputStepper.utils.test.d.ts → InputNumber/InputNumber.utils.test.d.ts} +0 -0
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import u from "react";
|
|
3
|
-
const l = (e) => typeof e != "number" || isNaN(e) ? 0 : e / 16, d = (e, r) => `[STIHL Design System] - [${e}]: ${r}`, m = (e, r) => `The "${e}" prop is required. Please add the "${e}" prop to the ${r} component.`, y = (e, r) => e == null ? void 0 : e.closest(r), c = (e, r, a) => {
|
|
4
|
-
let s = !1;
|
|
5
|
-
const n = {
|
|
6
|
-
fn: r,
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- any is needed here to allow any React component type to be checked
|
|
8
|
-
displayName: r.displayName || r.name
|
|
9
|
-
};
|
|
10
|
-
return u.Children.forEach(e, (t) => {
|
|
11
|
-
if (s || !u.isValidElement(t)) return;
|
|
12
|
-
if (t.type === n.fn) {
|
|
13
|
-
s = !0;
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
const i = t.type, o = (
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- any is needed here to allow any React component type to be checked
|
|
18
|
-
i.displayName || i.name
|
|
19
|
-
);
|
|
20
|
-
if (typeof o == "string" && o === n.displayName) {
|
|
21
|
-
s = !0;
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
const p = t.props;
|
|
25
|
-
if (a && p.children && c(p.children, n.fn, a)) {
|
|
26
|
-
s = !0;
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
}), s;
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
y as a,
|
|
33
|
-
c,
|
|
34
|
-
d as g,
|
|
35
|
-
l as p,
|
|
36
|
-
m as r
|
|
37
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import * as e from "react";
|
|
3
|
-
const n = ({
|
|
4
|
-
title: l,
|
|
5
|
-
titleId: t,
|
|
6
|
-
...a
|
|
7
|
-
}) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "#252525", viewBox: "0 0 16 17", focusable: "false", width: "100%", height: "100%", "aria-labelledby": t, ...a }, l ? /* @__PURE__ */ e.createElement("title", { id: t }, l) : null, /* @__PURE__ */ e.createElement("path", { d: "M4.257.98.792 4.446 2.206 5.86l3.465-3.465zM10.4 7.5l1.4 1.4-1.4 1.4 1.4 1.4-1.4 1.4L9 11.7l-1.4 1.4-1.4-1.4 1.4-1.4-1.4-1.4 1.4-1.4L9 8.9z" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", d: "M3 6.7 8.7 1H15v16H3zM5 15h8V3H9.5L5 7.5z", clipRule: "evenodd" }));
|
|
8
|
-
export {
|
|
9
|
-
n as default
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import * as e from "react";
|
|
3
|
-
const h = ({
|
|
4
|
-
title: t,
|
|
5
|
-
titleId: l,
|
|
6
|
-
...a
|
|
7
|
-
}) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "#252525", viewBox: "0 0 17 17", focusable: "false", width: "100%", height: "100%", "aria-labelledby": l, ...a }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "m13.136 5.745-5-5-5 5 1.5 1.4 2.5-2.6v6.2h2v-6.2l2.5 2.6z" }), /* @__PURE__ */ e.createElement("path", { d: "M4.136 8.745h-4v8h16v-8h-4v2h2v4h-12v-4h2z" }));
|
|
8
|
-
export {
|
|
9
|
-
h as default
|
|
10
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { d as c } from "./index.CgTHIF3K.js";
|
|
3
|
-
import { useState as u, useEffect as k } from "react";
|
|
4
|
-
const i = {
|
|
5
|
-
base: 0,
|
|
6
|
-
s: 320,
|
|
7
|
-
m: 768,
|
|
8
|
-
l: 1024,
|
|
9
|
-
xl: 1536
|
|
10
|
-
}, a = ["base", "s", "m", "l", "xl"], b = (e) => {
|
|
11
|
-
let n = "base";
|
|
12
|
-
for (const r of a)
|
|
13
|
-
if (e >= i[r])
|
|
14
|
-
n = r;
|
|
15
|
-
else
|
|
16
|
-
break;
|
|
17
|
-
return n;
|
|
18
|
-
}, l = (e) => e && typeof e == "object" && "base" in e, f = () => {
|
|
19
|
-
const e = c.c(1), [n, r] = u("base");
|
|
20
|
-
let t;
|
|
21
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = [], e[0] = t) : t = e[0], k(() => (o(), window.addEventListener("resize", o), () => window.removeEventListener("resize", o)), t);
|
|
22
|
-
const o = () => {
|
|
23
|
-
const s = window.innerWidth;
|
|
24
|
-
r(b(s));
|
|
25
|
-
};
|
|
26
|
-
return n;
|
|
27
|
-
}, B = (e) => {
|
|
28
|
-
const n = f();
|
|
29
|
-
if (e && typeof e != "object" || !l(e))
|
|
30
|
-
return e;
|
|
31
|
-
const r = [...a].reverse();
|
|
32
|
-
let t = e.base;
|
|
33
|
-
for (const o of r) {
|
|
34
|
-
const s = e[o];
|
|
35
|
-
if (s !== void 0 && i[n] >= i[o]) {
|
|
36
|
-
t = s;
|
|
37
|
-
break;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return t;
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
B as u
|
|
44
|
-
};
|
package/combobox.orZ3z8CB.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as h } from "react/jsx-runtime";
|
|
3
|
-
import { d as q } from "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import { v as L, c as R } from "./chunks/CustomReactSelect.Cqq70QC0.js";
|
|
5
|
-
import { forwardRef as j } from "react";
|
|
6
|
-
const k = j((x, C) => {
|
|
7
|
-
const e = q.c(30);
|
|
8
|
-
let l, t, o, s, i, n, a, d, c, r, u, m;
|
|
9
|
-
e[0] !== x ? ({
|
|
10
|
-
id: t,
|
|
11
|
-
label: o,
|
|
12
|
-
className: l,
|
|
13
|
-
disabled: i,
|
|
14
|
-
dropdownOnFocus: n,
|
|
15
|
-
hideLabel: a,
|
|
16
|
-
invalid: d,
|
|
17
|
-
lang: c,
|
|
18
|
-
required: r,
|
|
19
|
-
tabSelectsValue: u,
|
|
20
|
-
variant: m,
|
|
21
|
-
...s
|
|
22
|
-
} = x, e[0] = x, e[1] = l, e[2] = t, e[3] = o, e[4] = s, e[5] = i, e[6] = n, e[7] = a, e[8] = d, e[9] = c, e[10] = r, e[11] = u, e[12] = m) : (l = e[1], t = e[2], o = e[3], s = e[4], i = e[5], n = e[6], a = e[7], d = e[8], c = e[9], r = e[10], u = e[11], m = e[12]);
|
|
23
|
-
const O = i === void 0 ? !1 : i, p = n === void 0 ? !1 : n, S = a === void 0 ? !1 : a, N = d === void 0 ? !1 : d, g = c === void 0 ? "en" : c, w = r === void 0 ? !1 : r, D = u === void 0 ? !0 : u, M = m === void 0 ? "single" : m;
|
|
24
|
-
if (process.env.NODE_ENV !== "production") {
|
|
25
|
-
const {
|
|
26
|
-
options: V
|
|
27
|
-
} = s;
|
|
28
|
-
L({
|
|
29
|
-
id: t,
|
|
30
|
-
label: o,
|
|
31
|
-
options: V
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
const v = M === "multi", E = !p || v;
|
|
35
|
-
let b;
|
|
36
|
-
e[13] !== l || e[14] !== O || e[15] !== p || e[16] !== S || e[17] !== t || e[18] !== N || e[19] !== v || e[20] !== o || e[21] !== g || e[22] !== C || e[23] !== w || e[24] !== s || e[25] !== E || e[26] !== D ? (b = {
|
|
37
|
-
id: t,
|
|
38
|
-
label: o,
|
|
39
|
-
className: l,
|
|
40
|
-
disabled: O,
|
|
41
|
-
hideLabel: S,
|
|
42
|
-
isMulti: v,
|
|
43
|
-
invalid: N,
|
|
44
|
-
lang: g,
|
|
45
|
-
openMenuOnClick: p,
|
|
46
|
-
openMenuOnFocus: p,
|
|
47
|
-
isClearable: E,
|
|
48
|
-
required: w,
|
|
49
|
-
ref: C,
|
|
50
|
-
tabSelectsValue: D,
|
|
51
|
-
...s
|
|
52
|
-
}, e[13] = l, e[14] = O, e[15] = p, e[16] = S, e[17] = t, e[18] = N, e[19] = v, e[20] = o, e[21] = g, e[22] = C, e[23] = w, e[24] = s, e[25] = E, e[26] = D, e[27] = b) : b = e[27];
|
|
53
|
-
const F = b;
|
|
54
|
-
let f;
|
|
55
|
-
return e[28] !== F ? (f = /* @__PURE__ */ h(R, { ...F }), e[28] = F, e[29] = f) : f = e[29], f;
|
|
56
|
-
});
|
|
57
|
-
k.displayName = "DSCombobox";
|
|
58
|
-
export {
|
|
59
|
-
k as DSCombobox
|
|
60
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { InputStepperProps } from './InputStepper';
|
|
2
|
-
type ValidationProps = Pick<InputStepperProps, 'id' | 'label' | 'prefix' | 'suffix'>;
|
|
3
|
-
export declare const isValidValue: (value: string | number | readonly string[] | undefined | null) => boolean;
|
|
4
|
-
/**
|
|
5
|
-
* Validates the given properties of the DSInputStepper component for common configuration errors.
|
|
6
|
-
* This function is intended to be used in development mode to provide developers with
|
|
7
|
-
* warnings about potential misuse of the component.
|
|
8
|
-
*
|
|
9
|
-
* @param validationProps - The subset of DSInputStepper properties to validate. This includes
|
|
10
|
-
* properties related to the prefix, suffix, icons and action button of the input.
|
|
11
|
-
*/
|
|
12
|
-
export declare const validateInputStepperProps: ({ id, label, prefix, suffix, }: ValidationProps) => void;
|
|
13
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import { c as u } from "./chunks/CustomReactSelect.Cqq70QC0.js";
|
|
7
|
-
import "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
8
|
-
import "./asterisk.CR60hx8S.js";
|
|
9
|
-
import "./chunks/Icon.NSsVrYeq.js";
|
|
10
|
-
import "./chunks/SystemFeedback.CyGbUCzT.js";
|
|
11
|
-
import "./optioncheckbox.DqfXuPdi.js";
|
|
12
|
-
export {
|
|
13
|
-
u as CustomReactSelect
|
|
14
|
-
};
|
package/dialog.D4rcbW6A.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/Button.Cf1CKq8N.js";
|
|
7
|
-
import { D } from "./chunks/Dialog.Bv7k55He.js";
|
|
8
|
-
export {
|
|
9
|
-
D as DSDialog
|
|
10
|
-
};
|
package/drawer.BCCB3Rkj.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/Button.Cf1CKq8N.js";
|
|
7
|
-
import { D } from "./chunks/Drawer.BVTvx276.js";
|
|
8
|
-
export {
|
|
9
|
-
D as DSDrawer
|
|
10
|
-
};
|
package/fieldset.ZLs9IGpE.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CEyLAtio.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import "./asterisk.CR60hx8S.js";
|
|
6
|
-
import "./heading.BXFBZhKv.js";
|
|
7
|
-
import "./chunks/SystemFeedback.CyGbUCzT.js";
|
|
8
|
-
import { D as l } from "./chunks/Fieldset.D7cLR5ze.js";
|
|
9
|
-
export {
|
|
10
|
-
l as DSFieldset
|
|
11
|
-
};
|
package/header.DUbn3BZt.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/helpers.BbWkXTr3.js";
|
|
7
|
-
import "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
8
|
-
import { a as s, D } from "./chunks/Header.um5MlziB.js";
|
|
9
|
-
export {
|
|
10
|
-
s as DSHeader,
|
|
11
|
-
D as DSHeaderContext
|
|
12
|
-
};
|
package/icon.CHVAZr5T.js
DELETED
package/input.DG20x6gh.js
DELETED
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as H, jsxs as vt } from "react/jsx-runtime";
|
|
3
|
-
import { d as ne } from "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import { c as R } from "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import { forwardRef as ie, useState as Dt, useRef as Vt, useEffect as ae } from "react";
|
|
6
|
-
import { u as se } from "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
7
|
-
import { u as zt } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
8
|
-
import { Asterisk as le } from "./asterisk.CR60hx8S.js";
|
|
9
|
-
import { D as Gt } from "./chunks/Button.Cf1CKq8N.js";
|
|
10
|
-
import { D as oe } from "./chunks/Icon.NSsVrYeq.js";
|
|
11
|
-
import { D as ce } from "./chunks/SystemFeedback.CyGbUCzT.js";
|
|
12
|
-
import { v as de, b as fe, M as re, a as ue, s as pe, i as qt, c as me } from "./chunks/Input.utils.Cnnzvuk4.js";
|
|
13
|
-
import './assets/input.CUjGh-UM.css';const _e = "ds-input_input_1nmca_1", be = "ds-input_input--small_1nmca_9", he = "ds-input_input--invalid_1nmca_121", Ie = "ds-input_input--has-leading-icon_1nmca_179", xe = "ds-input_input--has-action-button_1nmca_182", ye = "ds-input_input--has-affix_1nmca_197", ge = "ds-input_input--is-ready_1nmca_211", Se = "ds-input_root_1nmca_218", ve = "ds-input_hint_1nmca_227", De = "ds-input_label_1nmca_227", Ne = "ds-input_wrapper_1nmca_231", ke = "ds-input_affix_1nmca_237", Be = "ds-input_affix--small_1nmca_258", Ce = "ds-input_prefix_1nmca_271", Le = "ds-input_suffix_1nmca_277", He = "ds-input_affix--disabled_1nmca_283", Re = "ds-input_affix--readonly_1nmca_294", Ae = "ds-input_leading-icon_1nmca_330", we = "ds-input_leading-icon--small_1nmca_342", Fe = "ds-input_leading-icon--disabled_1nmca_345", Pe = "ds-input_action-button_1nmca_354", Ee = "ds-input_label--hidden_1nmca_372", Te = "ds-input_label--disabled_1nmca_385", $e = "ds-input_feedback_1nmca_405", e = {
|
|
14
|
-
input: _e,
|
|
15
|
-
inputSmall: be,
|
|
16
|
-
inputInvalid: he,
|
|
17
|
-
inputHasLeadingIcon: Ie,
|
|
18
|
-
inputHasActionButton: xe,
|
|
19
|
-
inputHasAffix: ye,
|
|
20
|
-
inputIsReady: ge,
|
|
21
|
-
root: Se,
|
|
22
|
-
hint: ve,
|
|
23
|
-
label: De,
|
|
24
|
-
wrapper: Ne,
|
|
25
|
-
affix: ke,
|
|
26
|
-
affixSmall: Be,
|
|
27
|
-
prefix: Ce,
|
|
28
|
-
suffix: Le,
|
|
29
|
-
affixDisabled: He,
|
|
30
|
-
affixReadonly: Re,
|
|
31
|
-
leadingIcon: Ae,
|
|
32
|
-
leadingIconSmall: we,
|
|
33
|
-
leadingIconDisabled: Fe,
|
|
34
|
-
actionButton: Pe,
|
|
35
|
-
labelHidden: Ee,
|
|
36
|
-
labelDisabled: Te,
|
|
37
|
-
feedback: $e
|
|
38
|
-
}, Oe = ie((Nt, w) => {
|
|
39
|
-
const t = ne.c(175);
|
|
40
|
-
let A, S, m, o, I, u, p, a, x, i, f, G, U, J, K, Q, Y, Z;
|
|
41
|
-
t[0] !== Nt ? ({
|
|
42
|
-
id: o,
|
|
43
|
-
label: I,
|
|
44
|
-
actionButtonProps: A,
|
|
45
|
-
className: S,
|
|
46
|
-
disabled: G,
|
|
47
|
-
hint: m,
|
|
48
|
-
hideLabel: U,
|
|
49
|
-
invalid: J,
|
|
50
|
-
leadingIconName: u,
|
|
51
|
-
leadingIconSource: p,
|
|
52
|
-
prefix: a,
|
|
53
|
-
readonly: K,
|
|
54
|
-
required: Q,
|
|
55
|
-
size: Y,
|
|
56
|
-
suffix: i,
|
|
57
|
-
systemFeedback: f,
|
|
58
|
-
type: Z,
|
|
59
|
-
...x
|
|
60
|
-
} = Nt, t[0] = Nt, t[1] = A, t[2] = S, t[3] = m, t[4] = o, t[5] = I, t[6] = u, t[7] = p, t[8] = a, t[9] = x, t[10] = i, t[11] = f, t[12] = G, t[13] = U, t[14] = J, t[15] = K, t[16] = Q, t[17] = Y, t[18] = Z) : (A = t[1], S = t[2], m = t[3], o = t[4], I = t[5], u = t[6], p = t[7], a = t[8], x = t[9], i = t[10], f = t[11], G = t[12], U = t[13], J = t[14], K = t[15], Q = t[16], Y = t[17], Z = t[18]);
|
|
61
|
-
const n = G === void 0 ? !1 : G, Ut = U === void 0 ? !1 : U, d = J === void 0 ? !1 : J, l = K === void 0 ? !1 : K, v = Q === void 0 ? !1 : Q, s = Y === void 0 ? "medium" : Y, c = Z === void 0 ? "text" : Z;
|
|
62
|
-
process.env.NODE_ENV !== "production" && (de({
|
|
63
|
-
id: o,
|
|
64
|
-
label: I,
|
|
65
|
-
prefix: a,
|
|
66
|
-
suffix: i,
|
|
67
|
-
leadingIconName: u,
|
|
68
|
-
leadingIconSource: p,
|
|
69
|
-
actionButtonProps: A
|
|
70
|
-
}), fe(c, x.autoComplete));
|
|
71
|
-
let F;
|
|
72
|
-
t[19] !== A ? (F = A || {}, t[19] = A, t[20] = F) : F = t[20];
|
|
73
|
-
let P, _, b, E, T;
|
|
74
|
-
t[21] !== F ? ({
|
|
75
|
-
iconName: _,
|
|
76
|
-
iconSource: b,
|
|
77
|
-
label: P,
|
|
78
|
-
onClick: E,
|
|
79
|
-
...T
|
|
80
|
-
} = F, t[21] = F, t[22] = P, t[23] = _, t[24] = b, t[25] = E, t[26] = T) : (P = t[22], _ = t[23], b = t[24], E = t[25], T = t[26]);
|
|
81
|
-
const [tt, Jt] = Dt(!1), [kt, Kt] = Dt(!1), [y, Qt] = Dt(!1);
|
|
82
|
-
let at;
|
|
83
|
-
t[27] === Symbol.for("react.memo_cache_sentinel") ? (at = {}, t[27] = at) : at = t[27];
|
|
84
|
-
const [et, Yt] = Dt(at), Bt = Vt(null);
|
|
85
|
-
let st;
|
|
86
|
-
t[28] !== w ? (st = (r) => {
|
|
87
|
-
Bt.current = r, typeof w == "function" ? w(r) : w && (w.current = r);
|
|
88
|
-
}, t[28] = w, t[29] = st) : st = t[29];
|
|
89
|
-
const nt = st;
|
|
90
|
-
let lt;
|
|
91
|
-
t[30] !== a ? (lt = a == null ? void 0 : a.substring(0, re), t[30] = a, t[31] = lt) : lt = t[31];
|
|
92
|
-
const Ct = lt, Lt = Vt(null);
|
|
93
|
-
let ot;
|
|
94
|
-
t[32] !== i ? (ot = i == null ? void 0 : i.substring(0, ue), t[32] = i, t[33] = ot) : ot = t[33];
|
|
95
|
-
const Ht = ot, Rt = Vt(null), it = se(Ut);
|
|
96
|
-
let ct;
|
|
97
|
-
t[34] !== s ? (ct = () => {
|
|
98
|
-
const r = s === "medium" ? 16 : 8, L = {};
|
|
99
|
-
if (Lt.current) {
|
|
100
|
-
const h = Lt.current.offsetWidth;
|
|
101
|
-
L.paddingInlineStart = r + h + "px";
|
|
102
|
-
}
|
|
103
|
-
if (Rt.current) {
|
|
104
|
-
const h = Rt.current.offsetWidth;
|
|
105
|
-
L.paddingInlineEnd = r + h + "px";
|
|
106
|
-
}
|
|
107
|
-
Yt(L), Jt(!0);
|
|
108
|
-
}, t[34] = s, t[35] = ct) : ct = t[35];
|
|
109
|
-
let dt;
|
|
110
|
-
t[36] !== kt || t[37] !== a || t[38] !== s || t[39] !== i ? (dt = [a, i, s, kt], t[36] = kt, t[37] = a, t[38] = s, t[39] = i, t[40] = dt) : dt = t[40], zt(ct, dt);
|
|
111
|
-
let ft, rt;
|
|
112
|
-
t[41] === Symbol.for("react.memo_cache_sentinel") ? (ft = () => {
|
|
113
|
-
(async () => {
|
|
114
|
-
"fonts" in document && (await document.fonts.load('1em "STIHL Contraface Digital Text Regular"'), Kt(!0));
|
|
115
|
-
})();
|
|
116
|
-
}, rt = [], t[41] = ft, t[42] = rt) : (ft = t[41], rt = t[42]), zt(ft, rt);
|
|
117
|
-
let ut, pt;
|
|
118
|
-
t[43] !== c ? (ut = () => {
|
|
119
|
-
const r = pe(qt(c), me(c));
|
|
120
|
-
Qt(r);
|
|
121
|
-
}, pt = [c], t[43] = c, t[44] = ut, t[45] = pt) : (ut = t[44], pt = t[45]), ae(ut, pt);
|
|
122
|
-
const At = s === "small";
|
|
123
|
-
let g, $, O, W, D, N, X, j, k, B, C;
|
|
124
|
-
if (t[46] !== S || t[47] !== n || t[48] !== Ct || t[49] !== Ht || t[50] !== nt || t[51] !== it || t[52] !== m || t[53] !== _ || t[54] !== b || t[55] !== o || t[56] !== et || t[57] !== d || t[58] !== tt || t[59] !== y || t[60] !== I || t[61] !== u || t[62] !== p || t[63] !== a || t[64] !== l || t[65] !== v || t[66] !== x || t[67] !== s || t[68] !== i || t[69] !== f || t[70] !== At || t[71] !== c) {
|
|
125
|
-
const r = R(e.affix, {
|
|
126
|
-
[e.affixSmall]: At,
|
|
127
|
-
[e.affixDisabled]: n,
|
|
128
|
-
[e.affixReadonly]: l
|
|
129
|
-
}), L = `${o}-label`, h = `${o}-feedback`, _t = `${o}-hint`, Zt = m ? ` ${_t}` : "";
|
|
130
|
-
let bt;
|
|
131
|
-
t[83] !== d || t[84] !== f || t[85] !== h ? (bt = [d && f && h].filter(Boolean).join(" ") || void 0, t[83] = d, t[84] = f, t[85] = h, t[86] = bt) : bt = t[86];
|
|
132
|
-
const wt = bt;
|
|
133
|
-
let ht;
|
|
134
|
-
t[87] !== S ? (ht = R(e.root, S), t[87] = S, t[88] = ht) : ht = t[88];
|
|
135
|
-
const te = ht, Ft = s === "small", Pt = u || p, Et = a || i, Tt = _ || b || y;
|
|
136
|
-
let It;
|
|
137
|
-
t[89] !== d || t[90] !== tt || t[91] !== Ft || t[92] !== Pt || t[93] !== Et || t[94] !== Tt ? (It = R(e.input, {
|
|
138
|
-
[e.inputSmall]: Ft,
|
|
139
|
-
[e.inputInvalid]: d,
|
|
140
|
-
[e.inputHasLeadingIcon]: Pt,
|
|
141
|
-
[e.inputHasAffix]: Et,
|
|
142
|
-
[e.inputHasActionButton]: Tt,
|
|
143
|
-
[e.inputIsReady]: tt
|
|
144
|
-
}), t[89] = d, t[90] = tt, t[91] = Ft, t[92] = Pt, t[93] = Et, t[94] = Tt, t[95] = It) : It = t[95];
|
|
145
|
-
const $t = It;
|
|
146
|
-
let xt;
|
|
147
|
-
t[96] !== n || t[97] !== it ? (xt = R(e.label, {
|
|
148
|
-
[e.labelHidden]: it,
|
|
149
|
-
[e.labelDisabled]: n
|
|
150
|
-
}), t[96] = n, t[97] = it, t[98] = xt) : xt = t[98];
|
|
151
|
-
const Ot = xt, Wt = s === "small";
|
|
152
|
-
let yt;
|
|
153
|
-
t[99] !== n || t[100] !== Wt ? (yt = R(e.leadingIcon, {
|
|
154
|
-
[e.leadingIconSmall]: Wt,
|
|
155
|
-
[e.leadingIconDisabled]: n
|
|
156
|
-
}), t[99] = n, t[100] = Wt, t[101] = yt) : yt = t[101];
|
|
157
|
-
const Xt = yt, jt = s === "small";
|
|
158
|
-
let gt;
|
|
159
|
-
t[102] !== jt ? (gt = R(e.actionButton, {
|
|
160
|
-
[e.actionButtonSmall]: jt
|
|
161
|
-
}), t[102] = jt, t[103] = gt) : gt = t[103], g = gt;
|
|
162
|
-
let St;
|
|
163
|
-
t[104] !== n || t[105] !== l ? (St = (ee) => {
|
|
164
|
-
Bt.current && !n && !l && Bt.current.showPicker(), ee.preventDefault();
|
|
165
|
-
}, t[104] = n, t[105] = l, t[106] = St) : St = t[106], $ = St, j = te;
|
|
166
|
-
let z;
|
|
167
|
-
t[107] !== v ? (z = v && /* @__PURE__ */ H(le, {}), t[107] = v, t[108] = z) : z = t[108], t[109] !== o || t[110] !== L || t[111] !== I || t[112] !== Ot || t[113] !== z ? (k = /* @__PURE__ */ vt("label", { className: Ot, id: L, htmlFor: o, children: [
|
|
168
|
-
I,
|
|
169
|
-
z
|
|
170
|
-
] }), t[109] = o, t[110] = L, t[111] = I, t[112] = Ot, t[113] = z, t[114] = k) : k = t[114], t[115] !== m || t[116] !== _t ? (B = m && /* @__PURE__ */ H("div", { className: e.hint, id: _t, children: m }), t[115] = m, t[116] = _t, t[117] = B) : B = t[117], t[118] !== d || t[119] !== f || t[120] !== h ? (C = d && f && /* @__PURE__ */ H(ce, { className: e.feedback, message: f, variant: "error", id: h }), t[118] = d, t[119] = f, t[120] = h, t[121] = C) : C = t[121], O = e.wrapper, W = a && /* @__PURE__ */ H("span", { className: R(r, e.prefix), ref: Lt, "aria-disabled": n, children: Ct }), t[122] !== Xt || t[123] !== u || t[124] !== p || t[125] !== a ? (D = !a && (u || p) && /* @__PURE__ */ H(oe, { name: u, theme: "light", source: p, className: Xt, "aria-hidden": "true" }), t[122] = Xt, t[123] = u, t[124] = p, t[125] = a, t[126] = D) : D = t[126];
|
|
171
|
-
const Mt = `${L}${Zt}`;
|
|
172
|
-
t[127] !== wt || t[128] !== n || t[129] !== nt || t[130] !== o || t[131] !== $t || t[132] !== et || t[133] !== d || t[134] !== l || t[135] !== v || t[136] !== x || t[137] !== Mt || t[138] !== c ? (N = /* @__PURE__ */ H("input", { type: c, className: $t, id: o, ...x, ref: nt, style: et, "aria-labelledby": Mt, "aria-describedby": wt, "aria-invalid": d, "aria-disabled": l, readOnly: l, required: v, disabled: n }), t[127] = wt, t[128] = n, t[129] = nt, t[130] = o, t[131] = $t, t[132] = et, t[133] = d, t[134] = l, t[135] = v, t[136] = x, t[137] = Mt, t[138] = c, t[139] = N) : N = t[139], X = i && /* @__PURE__ */ H("span", { className: R(r, e.suffix), ref: Rt, "aria-disabled": n, children: Ht }), t[46] = S, t[47] = n, t[48] = Ct, t[49] = Ht, t[50] = nt, t[51] = it, t[52] = m, t[53] = _, t[54] = b, t[55] = o, t[56] = et, t[57] = d, t[58] = tt, t[59] = y, t[60] = I, t[61] = u, t[62] = p, t[63] = a, t[64] = l, t[65] = v, t[66] = x, t[67] = s, t[68] = i, t[69] = f, t[70] = At, t[71] = c, t[72] = g, t[73] = $, t[74] = O, t[75] = W, t[76] = D, t[77] = N, t[78] = X, t[79] = j, t[80] = k, t[81] = B, t[82] = C;
|
|
173
|
-
} else
|
|
174
|
-
g = t[72], $ = t[73], O = t[74], W = t[75], D = t[76], N = t[77], X = t[78], j = t[79], k = t[80], B = t[81], C = t[82];
|
|
175
|
-
let M;
|
|
176
|
-
t[140] !== g || t[141] !== P || t[142] !== n || t[143] !== _ || t[144] !== b || t[145] !== y || t[146] !== E || t[147] !== l || t[148] !== T || t[149] !== s || t[150] !== i ? (M = !i && !y && (_ || b) && /* @__PURE__ */ H(Gt, { ...T, hideLabel: !0, theme: "light", iconName: _, iconSource: b, variant: "ghost", className: g, size: s, onClick: E, type: "button", disabled: n || l, children: P }), t[140] = g, t[141] = P, t[142] = n, t[143] = _, t[144] = b, t[145] = y, t[146] = E, t[147] = l, t[148] = T, t[149] = s, t[150] = i, t[151] = M) : M = t[151];
|
|
177
|
-
let V;
|
|
178
|
-
t[152] !== g || t[153] !== n || t[154] !== $ || t[155] !== y || t[156] !== l || t[157] !== s || t[158] !== i || t[159] !== c ? (V = !i && y && !l && !n && /* @__PURE__ */ vt(Gt, { hideLabel: !0, theme: "light", iconName: qt(c) ? "calendar" : "clock", variant: "ghost", className: g, size: s, onClick: $, type: "button", children: [
|
|
179
|
-
"Open ",
|
|
180
|
-
qt(c) ? "date" : "time",
|
|
181
|
-
" picker"
|
|
182
|
-
] }), t[152] = g, t[153] = n, t[154] = $, t[155] = y, t[156] = l, t[157] = s, t[158] = i, t[159] = c, t[160] = V) : V = t[160];
|
|
183
|
-
let q;
|
|
184
|
-
t[161] !== O || t[162] !== W || t[163] !== D || t[164] !== N || t[165] !== X || t[166] !== M || t[167] !== V ? (q = /* @__PURE__ */ vt("div", { className: O, children: [
|
|
185
|
-
W,
|
|
186
|
-
D,
|
|
187
|
-
N,
|
|
188
|
-
X,
|
|
189
|
-
M,
|
|
190
|
-
V
|
|
191
|
-
] }), t[161] = O, t[162] = W, t[163] = D, t[164] = N, t[165] = X, t[166] = M, t[167] = V, t[168] = q) : q = t[168];
|
|
192
|
-
let mt;
|
|
193
|
-
return t[169] !== j || t[170] !== k || t[171] !== B || t[172] !== C || t[173] !== q ? (mt = /* @__PURE__ */ vt("div", { className: j, children: [
|
|
194
|
-
k,
|
|
195
|
-
B,
|
|
196
|
-
C,
|
|
197
|
-
q
|
|
198
|
-
] }), t[169] = j, t[170] = k, t[171] = B, t[172] = C, t[173] = q, t[174] = mt) : mt = t[174], mt;
|
|
199
|
-
});
|
|
200
|
-
Oe.displayName = "DSInput";
|
|
201
|
-
export {
|
|
202
|
-
Oe as DSInput
|
|
203
|
-
};
|
package/inputfile.Dc56lQ4t.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CEyLAtio.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import "./chunks/translate.nuU7uChI.js";
|
|
6
|
-
import "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
7
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
8
|
-
import "./chunks/AriaLiveRegions.utils.Cb327d_2.js";
|
|
9
|
-
import "./asterisk.CR60hx8S.js";
|
|
10
|
-
import "./chunks/Button.Cf1CKq8N.js";
|
|
11
|
-
import "./filelist.BiKMKCyg.js";
|
|
12
|
-
import "./chunks/Icon.NSsVrYeq.js";
|
|
13
|
-
import "./chunks/SystemFeedback.CyGbUCzT.js";
|
|
14
|
-
import { D as f } from "./chunks/InputFile.bVWWdePn.js";
|
|
15
|
-
export {
|
|
16
|
-
f as DSInputFile
|
|
17
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
7
|
-
import "./asterisk.CR60hx8S.js";
|
|
8
|
-
import "./chunks/Button.Cf1CKq8N.js";
|
|
9
|
-
import "./chunks/SystemFeedback.CyGbUCzT.js";
|
|
10
|
-
import { D as u } from "./chunks/InputPassword.Da3hEKTc.js";
|
|
11
|
-
export {
|
|
12
|
-
u as DSInputPassword
|
|
13
|
-
};
|
package/inputsearch.B1G6rfVk.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/helpers.BbWkXTr3.js";
|
|
7
|
-
import "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
8
|
-
import "./asterisk.CR60hx8S.js";
|
|
9
|
-
import "./chunks/Button.Cf1CKq8N.js";
|
|
10
|
-
import "./chunks/SystemFeedback.CyGbUCzT.js";
|
|
11
|
-
import { D as u } from "./chunks/InputSearch.GOYqFCcZ.js";
|
|
12
|
-
export {
|
|
13
|
-
u as DSInputSearch
|
|
14
|
-
};
|
package/inputstepper.d.ts
DELETED
package/inputstepper.o6rdM_CW.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/has-window.ut_-aShB.js";
|
|
7
|
-
import "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
8
|
-
import "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
9
|
-
import "./asterisk.CR60hx8S.js";
|
|
10
|
-
import "./chunks/Button.Cf1CKq8N.js";
|
|
11
|
-
import "./chunks/Input.utils.Cnnzvuk4.js";
|
|
12
|
-
import "./chunks/SystemFeedback.CyGbUCzT.js";
|
|
13
|
-
import { D as c } from "./chunks/InputStepper.BuhPtfl-.js";
|
|
14
|
-
export {
|
|
15
|
-
c as DSInputStepper
|
|
16
|
-
};
|
package/linkbutton.DU8Ih8ZF.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
7
|
-
import "./chunks/Icon.NSsVrYeq.js";
|
|
8
|
-
import "./tooltip.CUCSRXd3.js";
|
|
9
|
-
import { D as u } from "./chunks/LinkButton.59oNDwPU.js";
|
|
10
|
-
export {
|
|
11
|
-
u as DSLinkButton
|
|
12
|
-
};
|
package/megamenu.CPH8EeFF.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import { D as s } from "./chunks/MegaMenu._o3nNDAa.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/floating-ui.react.DCyAzlZ4.js";
|
|
7
|
-
import "./chunks/index.CEyLAtio.js";
|
|
8
|
-
import "./chunks/helpers.BbWkXTr3.js";
|
|
9
|
-
import "./chunks/Header.um5MlziB.js";
|
|
10
|
-
export {
|
|
11
|
-
s as DSMegaMenu
|
|
12
|
-
};
|
package/notification.Ds_Q7ifk.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import "./chunks/Button.Cf1CKq8N.js";
|
|
6
|
-
import "./chunks/Icon.NSsVrYeq.js";
|
|
7
|
-
import { D as a } from "./chunks/Notification.Pts2oh0R.js";
|
|
8
|
-
export {
|
|
9
|
-
a as DSNotification
|
|
10
|
-
};
|
package/popover.B72W0OvU.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import { D as a } from "./chunks/Popover.BRR8YZ-P.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/floating-ui.react.DCyAzlZ4.js";
|
|
7
|
-
import "./chunks/index.CEyLAtio.js";
|
|
8
|
-
import "./chunks/helpers.BbWkXTr3.js";
|
|
9
|
-
import "./chunks/Button.Cf1CKq8N.js";
|
|
10
|
-
export {
|
|
11
|
-
a as DSPopover
|
|
12
|
-
};
|
package/radiogroup.C_3IcNBq.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/Fieldset.D7cLR5ze.js";
|
|
7
|
-
import "./radio.7_N_alaS.js";
|
|
8
|
-
import { D as s } from "./chunks/RadioGroup.DeTz3c19.js";
|
|
9
|
-
export {
|
|
10
|
-
s as DSRadioGroup
|
|
11
|
-
};
|