@stihl-design-system/components 1.0.0-RC.31 → 1.0.0-RC.34
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.DLQJU6AV.js +12 -0
- package/actionlink.DEBrWfN3.js +12 -0
- package/{arialiveregions.Fgcshs5k.js → arialiveregions.BUVY9NpY.js} +2 -2
- package/assets/Accordion.CzBGud45.css +1 -0
- package/assets/Button.C8sNwIeW.css +1 -0
- package/assets/Checkbox.CyOw3rXI.css +1 -0
- package/assets/CustomReactSelect.E_jJFVew.css +1 -0
- package/assets/Dialog.DJkn65Es.css +1 -0
- package/assets/Drawer.x3BCQvWE.css +1 -0
- package/assets/InputFile.BnIvK65P.css +1 -0
- package/assets/InputNumber.BoiCIR1f.css +1 -0
- package/assets/InputPassword.Dk3_vNLV.css +1 -0
- package/assets/InputSearch.C1_4cVCi.css +1 -0
- package/assets/LinkButton.B86yacK5.css +1 -0
- package/assets/{MegaMenu.DX9gChtY.css → MegaMenu.D5EtjFeL.css} +1 -1
- package/assets/Notification.CvohYEvT.css +1 -0
- package/assets/Popover.CXyUaXiO.css +1 -0
- package/assets/Select.COxLltX7.css +1 -0
- package/assets/Slider.DPEmJ3HD.css +1 -0
- package/assets/Stepper.tXJl15yL.css +1 -0
- package/assets/{SystemFeedback.RcrPepSZ.css → SystemFeedback.PKzqnXUe.css} +1 -1
- package/assets/Textarea.y3MW7VW0.css +1 -0
- package/assets/Toast.CGyKXb4V.css +1 -0
- package/assets/buttonround.BN3vUDc_.css +1 -0
- package/assets/input.DTu4g_iA.css +1 -0
- package/assets/logo100years.CQrEg-Vo.css +1 -0
- package/assets/step.BeLporJO.css +1 -0
- package/assets/switch.B9B-n_3y.css +1 -0
- package/assets/tooltip.Co1gWF_0.css +1 -0
- package/{asterisk.CR60hx8S.js → asterisk.B2ih8VwF.js} +1 -1
- package/{banner.j9YpudOS.js → banner.CI5HnDqD.js} +3 -3
- package/breadcrumb.CtwAux3P.js +11 -0
- package/button.DHuKanZP.js +13 -0
- package/buttonround.CMlmEDaN.js +96 -0
- package/checkbox.DwccD0Mp.js +12 -0
- package/checkboxgroup.ZiUFfCJ1.js +9 -0
- package/chip.B0s_fS8L.js +12 -0
- package/chipgroup.Dpu66bo5.js +143 -0
- package/chunks/Accordion.CYIfNOWr.js +168 -0
- package/chunks/ActionButton.DOYsEHPr.js +180 -0
- package/chunks/ActionLink.DbyciN3Y.js +153 -0
- package/chunks/{AriaLiveRegions.utils.Cb327d_2.js → AriaLiveRegions.utils.CybNIBSa.js} +2 -2
- package/chunks/{Breadcrumb.BGzwzvh8.js → Breadcrumb.BgnpTo01.js} +35 -37
- package/chunks/Button.DCZgBNmA.js +142 -0
- package/chunks/Checkbox.BcGXAuuP.js +88 -0
- package/chunks/{CheckboxGroup.Dy_6tiGk.js → CheckboxGroup.BuFd1luB.js} +5 -5
- package/chunks/Chip.D6pubCZV.js +133 -0
- package/chunks/{CustomReactSelect.iE5iTdez.js → CustomReactSelect.Dg3wC_VH.js} +484 -473
- package/chunks/Dialog.DpqSVrYR.js +102 -0
- package/chunks/Drawer.DISWybOa.js +107 -0
- package/chunks/{Fieldset.CjIfmN_5.js → Fieldset.DiMtr6Vw.js} +6 -6
- package/chunks/Header.7TQL_J9t.js +370 -0
- package/chunks/Icon.CDLyB7Pv.js +229 -0
- package/chunks/{Input.utils.Cnnzvuk4.js → Input.utils.Dkw7gRrr.js} +17 -17
- package/chunks/InputFile.C8nt9Fu8.js +218 -0
- package/chunks/InputNumber.CbH1XJfl.js +267 -0
- package/chunks/{InputPassword.DC2POUc1.js → InputPassword.DbdjuSiJ.js} +34 -34
- package/chunks/InputSearch.joxmugiv.js +173 -0
- package/chunks/LinkButton.BZgIGgc8.js +132 -0
- package/chunks/MegaMenu.CQbOeaib.js +189 -0
- package/chunks/NavigationTabList.G_l0GiUa.js +67 -0
- package/chunks/{NavigationTabs.ClpVGcl0.js → NavigationTabs.BwM-6CRm.js} +13 -14
- package/chunks/Notification.CrojkJ0E.js +91 -0
- package/chunks/Popover.Bb0Pjmvg.js +215 -0
- package/chunks/{RadioGroup.peTeMK45.js → RadioGroup.CexC4v2Z.js} +5 -5
- package/chunks/Select.BEIdNMML.js +164 -0
- package/chunks/{Slider.kyVr7BLk.js → Slider.CR0zYHeZ.js} +70 -71
- package/chunks/Stepper.PTQdQBYf.js +152 -0
- package/chunks/{SystemFeedback.B9f67mjJ.js → SystemFeedback.CjlARKki.js} +9 -9
- package/chunks/Tabs.DyP4whX0.js +83 -0
- package/chunks/{Text.DGWeWF1y.js → Text.DpRtTpB4.js} +3 -3
- package/chunks/Textarea.Du2RII5u.js +168 -0
- package/chunks/Toast.ug_RjGgF.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/battery-charge-0.DxlgEAto.js +10 -0
- package/chunks/battery-charge-100.D0Cax7dU.js +10 -0
- package/chunks/{battery.YCg9lYqC.js → battery.6Idoickg.js} +3 -3
- package/chunks/bluetooth-off.BzZCh4Q8.js +10 -0
- 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/document-s.CoOp0kBK.js +10 -0
- package/chunks/feather.l1E4nFBx.js +10 -0
- package/chunks/file-type-doc.B_RSSYbu.js +10 -0
- package/chunks/floating-ui.dom.BT8pKtCQ.js +1005 -0
- package/chunks/floating-ui.react.3FjeMiuN.js +1999 -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.BzR_yaIv.js +42 -0
- package/chunks/variants.-R3_RCW8.js +10 -0
- package/chunks/weight.DUPu2UT0.js +10 -0
- package/combobox.jG5GRA7C.js +65 -0
- package/components/ActionButton/ActionButton.d.ts +2 -0
- package/components/Button/Button.d.ts +4 -0
- package/components/ChipGroup/Chip.d.ts +1 -0
- package/components/ChipGroup/ChipGroup.d.ts +4 -0
- package/components/ChipGroup/ChipGroup.utils.d.ts +10 -12
- package/components/Combobox/Combobox.utils.d.ts +3 -4
- package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +4 -2
- package/components/Header/Header.d.ts +4 -5
- package/components/{InputStepper/InputStepper.d.ts → InputNumber/InputNumber.d.ts} +10 -4
- package/components/InputNumber/InputNumber.utils.d.ts +13 -0
- package/components/LinkButton/LinkButton.d.ts +2 -0
- package/components/Logo100Years/Logo100Years.d.ts +1 -0
- package/components/Popover/Popover.d.ts +29 -7
- package/components/Popover/Popover.utils.d.ts +34 -3
- package/components/Scroller/Scroller.d.ts +6 -2
- 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/Tooltip/Tooltip.d.ts +40 -0
- package/components/Tooltip/Tooltip.test.d.ts +1 -0
- package/components/Tooltip/Tooltip.utils.d.ts +70 -0
- package/components/Tooltip/Tooltip.utils.test.d.ts +1 -0
- package/components/TopBar/TopBar.d.ts +4 -4
- package/components/TopBar/TopBar.utils.d.ts +1 -1
- package/customreactselect.BFN8cYJi.js +14 -0
- package/dialog.CzM_Cxp0.js +9 -0
- package/drawer._A9MQ8Cj.js +9 -0
- package/fieldset.CId-NtI5.js +11 -0
- package/{filelist.nunJKxkv.js → filelist.DgVuWpR3.js} +23 -24
- package/{flag.D_iN8iD6.js → flag.CE32qHPa.js} +3 -3
- package/floatingactionbutton.Bsnncudt.js +87 -0
- package/header.CelAkqtp.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 +217 -204
- package/input.DuEbg7d6.js +206 -0
- package/inputfile.BjgJGefV.js +17 -0
- package/inputnumber.BcrxBVv0.js +16 -0
- package/inputnumber.d.ts +2 -0
- package/inputpassword.CddmBW-T.js +13 -0
- package/inputsearch.CFOASqrd.js +14 -0
- package/link.f8MMZo-w.js +81 -0
- package/linkbutton.BYAvi-_V.js +12 -0
- package/{logo.C96KaG1P.js → logo.DprmD8HU.js} +3 -3
- package/logo100years.B4d_DIiB.js +24 -0
- package/logo100years.d.ts +2 -0
- package/megamenu.Cy9Cc-mC.js +12 -0
- package/navigationtablist.CkkLyHrM.js +10 -0
- package/navigationtabs.Dp7D2fnc.js +9 -0
- package/notification.B-norGiB.js +10 -0
- package/{numberindicator.Ddf3ESi7.js → numberindicator.BdnPMogE.js} +2 -2
- package/{optioncheckbox.D97W3zeW.js → optioncheckbox.nBVwGv6c.js} +3 -3
- package/package.json +41 -51
- package/partials/index.js +58 -52
- package/partials/lib/partials.d.ts +1 -1
- package/popover.DFVDZY-m.js +12 -0
- package/{radio.7_N_alaS.js → radio.DHUfSPai.js} +2 -2
- package/radiogroup.DaThoMfq.js +11 -0
- package/scroller.Cu7H_VCT.js +98 -0
- package/select.CMdKf7tC.js +13 -0
- package/{skiptocontent._F-d8y5b.js → skiptocontent.CHVh0hbr.js} +4 -4
- package/slider.C5dK6KcG.js +11 -0
- package/{spinner.Dht6FspZ.js → spinner.C9qCeq0R.js} +18 -18
- package/step.DKf4CHGr.js +82 -0
- package/step.d.ts +6 -0
- package/stepper.CCP_igpJ.js +16 -0
- package/stepper.d.ts +2 -0
- package/{switch.B37S4vfP.js → switch.Bqdyzi2E.js} +5 -5
- package/systemfeedback.O7tj1juR.js +10 -0
- package/tablist.DZgo49nZ.js +209 -0
- package/{tabpane.CB-eudyw.js → tabpane.C4nsUlwc.js} +2 -2
- package/tabs.BkoT7feH.js +11 -0
- package/text.cLv2PhjQ.js +10 -0
- package/textarea.DMn20z4p.js +13 -0
- package/{title.Bz_k5Vda.js → title.DuLPB-VK.js} +2 -2
- package/toast.Dvs8woTH.js +11 -0
- package/toastmanager.pi_Fhd5t.js +89 -0
- package/tooltip.QJe_bfO-.js +178 -0
- package/tooltip.d.ts +2 -0
- package/topbar.Bxwvp9Lf.js +12 -0
- package/types/icon-types.d.ts +1 -1
- package/types/prettier-plugin-organize-imports.d.ts +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/mergeRefs.d.ts +5 -0
- package/utils/mergeRefs.test.d.ts +1 -0
- package/accordion.DkwtJy--.js +0 -12
- package/actionbutton.u1qp8oGC.js +0 -11
- package/actionlink.C7HzeIVa.js +0 -11
- 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.D0b1Hg1T.css +0 -1
- package/assets/Dialog.CGAg7bnN.css +0 -1
- package/assets/Drawer.VOvWQoEr.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.Dth4qZN_.css +0 -1
- package/assets/LinkButton.xMvg_ojf.css +0 -1
- package/assets/Notification.BOuaA5GT.css +0 -1
- package/assets/Popover.BDTDsPAt.css +0 -1
- package/assets/Select.CYACicZ3.css +0 -1
- package/assets/Slider.DzwSjDPV.css +0 -1
- package/assets/Textarea.BXWhXpXx.css +0 -1
- package/assets/Toast.CJ1zhDIT.css +0 -1
- package/assets/buttonround.Cw9hnUan.css +0 -1
- package/assets/input.ONbL-_C1.css +0 -1
- package/assets/switch.Bc9KIyw9.css +0 -1
- package/breadcrumb.BS-S3zUI.js +0 -11
- package/button.CPilCCUI.js +0 -12
- package/buttonround.C426mO4d.js +0 -81
- package/checkbox.BtlUvs0z.js +0 -12
- package/checkboxgroup.C5NgyyQF.js +0 -9
- package/chip.tVIG1ysH.js +0 -11
- package/chipgroup.CjIK0Z0x.js +0 -209
- package/chunks/Accordion.C5V5IcM-.js +0 -170
- package/chunks/ActionButton.B8zFwOrJ.js +0 -165
- package/chunks/ActionLink.IX6oRXU3.js +0 -138
- package/chunks/Button.B7xF1E19.js +0 -127
- package/chunks/Checkbox.DxV7-F5W.js +0 -88
- package/chunks/Chip.31UfPwQF.js +0 -119
- package/chunks/Dialog.B_2pKRnd.js +0 -135
- package/chunks/Drawer.HFlBTcqN.js +0 -140
- package/chunks/Header.DqZRryB5.js +0 -366
- package/chunks/Icon.DGTYCv63.js +0 -231
- package/chunks/InputFile.DvOatDzg.js +0 -220
- package/chunks/InputSearch.B0aCuPRZ.js +0 -174
- package/chunks/InputStepper.D_1YqlWl.js +0 -263
- package/chunks/LinkButton.DdTspmJz.js +0 -117
- package/chunks/MegaMenu.BY7eOnhj.js +0 -189
- package/chunks/NavigationTabList.dYFYTmWv.js +0 -57
- package/chunks/Notification.DIdIhGTQ.js +0 -92
- package/chunks/Popover.NGetxKGg.js +0 -159
- package/chunks/Select.BDHLJ2ma.js +0 -162
- package/chunks/Tabs.CkVL8Jw8.js +0 -83
- package/chunks/Textarea.ORkJUx-S.js +0 -163
- package/chunks/Toast.DHo4pLH3.js +0 -76
- package/chunks/file-type-doc.DlovDOBh.js +0 -10
- package/chunks/floating-ui.dom.C9TD1WpB.js +0 -950
- package/chunks/floating-ui.react.x0F9CYgn.js +0 -1637
- 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.Bk2ycofh.js +0 -60
- package/components/InputStepper/InputStepper.utils.d.ts +0 -12
- package/customreactselect.Hnch9LGg.js +0 -14
- package/dialog.7sWoqGwL.js +0 -10
- package/drawer.DsF4KIPn.js +0 -10
- package/fieldset.DUFUMcT-.js +0 -11
- package/floatingactionbutton.DOH2k0gv.js +0 -72
- package/header.QpNjE3N-.js +0 -12
- package/icon.vMQcEBnH.js +0 -9
- package/input.BKHOY118.js +0 -203
- package/inputfile.DK8759wV.js +0 -17
- package/inputpassword.rV_ZZw5F.js +0 -13
- package/inputsearch.CmhakTpa.js +0 -14
- package/inputstepper.Y-YzUHhF.js +0 -16
- package/inputstepper.d.ts +0 -2
- package/link.D_FjTyoZ.js +0 -66
- package/linkbutton.D2C4vykc.js +0 -11
- package/megamenu.CdHrEeoh.js +0 -12
- package/navigationtablist.CVjh1k-b.js +0 -9
- package/navigationtabs.BGfi9AG2.js +0 -9
- package/notification.Dn-FZWEL.js +0 -10
- package/popover.DXxm1oWI.js +0 -11
- package/radiogroup.J8WpEEo8.js +0 -11
- package/scroller.BiRLQg__.js +0 -123
- package/select.DIzGPVx3.js +0 -13
- package/slider.DuJK0RdB.js +0 -11
- package/systemfeedback.C_2PhwKe.js +0 -10
- package/tablist.g_Nwu6GA.js +0 -256
- package/tabs.oh9-wHPp.js +0 -11
- package/text.ZOUuesnU.js +0 -10
- package/textarea.dQ12-oYB.js +0 -13
- package/toast.sMNbfKxi.js +0 -11
- package/toastmanager.CVamaS5T.js +0 -116
- package/topbar.Dhy_TL0U.js +0 -11
- /package/components/{InputStepper/InputStepper.test.d.ts → InputNumber/InputNumber.test.d.ts} +0 -0
- /package/components/{InputStepper/InputStepper.utils.test.d.ts → InputNumber/InputNumberutils.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.Bk2ycofh.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.iE5iTdez.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,12 +0,0 @@
|
|
|
1
|
-
import { InputStepperProps } from './InputStepper';
|
|
2
|
-
type ValidationProps = Pick<InputStepperProps, 'id' | 'label' | 'prefix' | 'suffix'>;
|
|
3
|
-
/**
|
|
4
|
-
* Validates the given properties of the DSInputStepper component for common configuration errors.
|
|
5
|
-
* This function is intended to be used in development mode to provide developers with
|
|
6
|
-
* warnings about potential misuse of the component.
|
|
7
|
-
*
|
|
8
|
-
* @param validationProps - The subset of DSInputStepper properties to validate. This includes
|
|
9
|
-
* properties related to the prefix, suffix, icons and action button of the input.
|
|
10
|
-
*/
|
|
11
|
-
export declare const validateInputStepperProps: ({ id, label, prefix, suffix, }: ValidationProps) => void;
|
|
12
|
-
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.iE5iTdez.js";
|
|
7
|
-
import "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
8
|
-
import "./asterisk.CR60hx8S.js";
|
|
9
|
-
import "./chunks/Icon.DGTYCv63.js";
|
|
10
|
-
import "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
11
|
-
import "./optioncheckbox.D97W3zeW.js";
|
|
12
|
-
export {
|
|
13
|
-
u as CustomReactSelect
|
|
14
|
-
};
|
package/dialog.7sWoqGwL.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.B7xF1E19.js";
|
|
7
|
-
import { D } from "./chunks/Dialog.B_2pKRnd.js";
|
|
8
|
-
export {
|
|
9
|
-
D as DSDialog
|
|
10
|
-
};
|
package/drawer.DsF4KIPn.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.B7xF1E19.js";
|
|
7
|
-
import { D } from "./chunks/Drawer.HFlBTcqN.js";
|
|
8
|
-
export {
|
|
9
|
-
D as DSDrawer
|
|
10
|
-
};
|
package/fieldset.DUFUMcT-.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.B9f67mjJ.js";
|
|
8
|
-
import { D as l } from "./chunks/Fieldset.CjIfmN_5.js";
|
|
9
|
-
export {
|
|
10
|
-
l as DSFieldset
|
|
11
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as L, jsx as I } from "react/jsx-runtime";
|
|
3
|
-
import { d as R } from "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import { c as O } from "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import { D as $ } from "./chunks/Icon.DGTYCv63.js";
|
|
6
|
-
import { DSSpinner as q } from "./spinner.Dht6FspZ.js";
|
|
7
|
-
import { forwardRef as G } from "react";
|
|
8
|
-
import './assets/floatingactionbutton.l0nvFiJU.css';const J = "ds-floating-action-button_root_1any0_1", K = "ds-floating-action-button_root--dark_1any0_70", M = "ds-floating-action-button_root--small_1any0_108", P = "ds-floating-action-button_loader_1any0_129", Q = "ds-floating-action-button_icon--hidden_1any0_141", T = "ds-floating-action-button_label--hidden_1any0_145", e = {
|
|
9
|
-
root: J,
|
|
10
|
-
rootDark: K,
|
|
11
|
-
rootSmall: M,
|
|
12
|
-
loader: P,
|
|
13
|
-
iconHidden: Q,
|
|
14
|
-
labelHidden: T
|
|
15
|
-
}, U = G((v, C) => {
|
|
16
|
-
const t = R.c(43);
|
|
17
|
-
let n, i, s, l, a, c, f, _, b, u, p;
|
|
18
|
-
t[0] !== v ? ({
|
|
19
|
-
aria: n,
|
|
20
|
-
children: i,
|
|
21
|
-
className: s,
|
|
22
|
-
disabled: f,
|
|
23
|
-
iconName: _,
|
|
24
|
-
iconSource: l,
|
|
25
|
-
loading: b,
|
|
26
|
-
size: u,
|
|
27
|
-
theme: p,
|
|
28
|
-
onClick: a,
|
|
29
|
-
...c
|
|
30
|
-
} = v, t[0] = v, t[1] = n, t[2] = i, t[3] = s, t[4] = l, t[5] = a, t[6] = c, t[7] = f, t[8] = _, t[9] = b, t[10] = u, t[11] = p) : (n = t[1], i = t[2], s = t[3], l = t[4], a = t[5], c = t[6], f = t[7], _ = t[8], b = t[9], u = t[10], p = t[11]);
|
|
31
|
-
const g = f === void 0 ? !1 : f, y = _ === void 0 ? "placeholder" : _, o = b === void 0 ? !1 : b, E = u === void 0 ? "medium" : u, h = p === void 0 ? "light" : p, x = h === "dark", j = E === "small";
|
|
32
|
-
let S;
|
|
33
|
-
t[12] !== s || t[13] !== x || t[14] !== j ? (S = O(e.root, e.rootIconOnlySmall, s, {
|
|
34
|
-
[e.rootDark]: x,
|
|
35
|
-
[e.rootSmall]: j
|
|
36
|
-
}), t[12] = s, t[13] = x, t[14] = j, t[15] = S) : S = t[15];
|
|
37
|
-
const z = S;
|
|
38
|
-
let D;
|
|
39
|
-
t[16] !== o ? (D = O(e.icon, {
|
|
40
|
-
[e.iconHidden]: o
|
|
41
|
-
}), t[16] = o, t[17] = D) : D = t[17];
|
|
42
|
-
const A = D;
|
|
43
|
-
let N;
|
|
44
|
-
t[18] !== g || t[19] !== o || t[20] !== a ? (N = (w) => {
|
|
45
|
-
if (g || o) {
|
|
46
|
-
w.preventDefault();
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
a && a(w);
|
|
50
|
-
}, t[18] = g, t[19] = o, t[20] = a, t[21] = N) : N = t[21];
|
|
51
|
-
const B = N, F = g || o;
|
|
52
|
-
let r;
|
|
53
|
-
t[22] !== o ? (r = o && /* @__PURE__ */ I(q, { className: e.loader, aria: {
|
|
54
|
-
"aria-label": "Loading state"
|
|
55
|
-
} }), t[22] = o, t[23] = r) : r = t[23];
|
|
56
|
-
let k;
|
|
57
|
-
t[24] === Symbol.for("react.memo_cache_sentinel") ? (k = O(e.label, e.labelHidden), t[24] = k) : k = t[24];
|
|
58
|
-
let d;
|
|
59
|
-
t[25] !== i ? (d = /* @__PURE__ */ I("span", { className: k, children: i }), t[25] = i, t[26] = d) : d = t[26];
|
|
60
|
-
let m;
|
|
61
|
-
t[27] !== A || t[28] !== y || t[29] !== l || t[30] !== h ? (m = (y || l) && /* @__PURE__ */ I($, { name: y, theme: h, source: l, className: A, "aria-hidden": "true" }), t[27] = A, t[28] = y, t[29] = l, t[30] = h, t[31] = m) : m = t[31];
|
|
62
|
-
let H;
|
|
63
|
-
return t[32] !== n || t[33] !== B || t[34] !== o || t[35] !== C || t[36] !== c || t[37] !== z || t[38] !== F || t[39] !== r || t[40] !== d || t[41] !== m ? (H = /* @__PURE__ */ L("button", { className: z, type: "button", onClick: B, ...n, ...c, "aria-disabled": F, "aria-busy": o, ref: C, children: [
|
|
64
|
-
r,
|
|
65
|
-
d,
|
|
66
|
-
m
|
|
67
|
-
] }), t[32] = n, t[33] = B, t[34] = o, t[35] = C, t[36] = c, t[37] = z, t[38] = F, t[39] = r, t[40] = d, t[41] = m, t[42] = H) : H = t[42], H;
|
|
68
|
-
});
|
|
69
|
-
U.displayName = "DSFloatingActionButton";
|
|
70
|
-
export {
|
|
71
|
-
U as DSFloatingActionButton
|
|
72
|
-
};
|
package/header.QpNjE3N-.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.DqZRryB5.js";
|
|
9
|
-
export {
|
|
10
|
-
s as DSHeader,
|
|
11
|
-
D as DSHeaderContext
|
|
12
|
-
};
|
package/icon.vMQcEBnH.js
DELETED
package/input.BKHOY118.js
DELETED
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as H, jsxs as ve } from "react/jsx-runtime";
|
|
3
|
-
import { d as st } from "./chunks/index.CgTHIF3K.js";
|
|
4
|
-
import { c as R } from "./chunks/index.CEyLAtio.js";
|
|
5
|
-
import { forwardRef as it, useState as De, useRef as Ve, useEffect as nt } from "react";
|
|
6
|
-
import { u as lt } from "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
7
|
-
import { u as ze } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
8
|
-
import { Asterisk as at } from "./asterisk.CR60hx8S.js";
|
|
9
|
-
import { D as Ge } from "./chunks/Button.B7xF1E19.js";
|
|
10
|
-
import { D as ot } from "./chunks/Icon.DGTYCv63.js";
|
|
11
|
-
import { D as dt } from "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
12
|
-
import { v as ct, b as ft, M as rt, a as ut, s as pt, i as qe, c as mt } from "./chunks/Input.utils.Cnnzvuk4.js";
|
|
13
|
-
import './assets/input.ONbL-_C1.css';const _t = "ds-input_input_fds0e_1", bt = "ds-input_input--small_fds0e_9", ht = "ds-input_input--invalid_fds0e_121", It = "ds-input_input--has-leading-icon_fds0e_179", xt = "ds-input_input--has-action-button_fds0e_182", yt = "ds-input_input--has-affix_fds0e_197", gt = "ds-input_input--is-ready_fds0e_211", St = "ds-input_root_fds0e_218", vt = "ds-input_hint_fds0e_227", Dt = "ds-input_label_fds0e_227", Nt = "ds-input_wrapper_fds0e_231", kt = "ds-input_affix_fds0e_237", Bt = "ds-input_affix--small_fds0e_258", Ct = "ds-input_affix--disabled_fds0e_271", Lt = "ds-input_prefix_fds0e_279", Ht = "ds-input_affix--readonly_fds0e_282", Rt = "ds-input_suffix_fds0e_292", At = "ds-input_leading-icon_fds0e_299", wt = "ds-input_leading-icon--small_fds0e_311", Ft = "ds-input_leading-icon--disabled_fds0e_314", Pt = "ds-input_action-button_fds0e_323", Et = "ds-input_label--hidden_fds0e_341", Tt = "ds-input_label--disabled_fds0e_354", $t = "ds-input_feedback_fds0e_374", t = {
|
|
14
|
-
input: _t,
|
|
15
|
-
inputSmall: bt,
|
|
16
|
-
inputInvalid: ht,
|
|
17
|
-
inputHasLeadingIcon: It,
|
|
18
|
-
inputHasActionButton: xt,
|
|
19
|
-
inputHasAffix: yt,
|
|
20
|
-
inputIsReady: gt,
|
|
21
|
-
root: St,
|
|
22
|
-
hint: vt,
|
|
23
|
-
label: Dt,
|
|
24
|
-
wrapper: Nt,
|
|
25
|
-
affix: kt,
|
|
26
|
-
affixSmall: Bt,
|
|
27
|
-
affixDisabled: Ct,
|
|
28
|
-
prefix: Lt,
|
|
29
|
-
affixReadonly: Ht,
|
|
30
|
-
suffix: Rt,
|
|
31
|
-
leadingIcon: At,
|
|
32
|
-
leadingIconSmall: wt,
|
|
33
|
-
leadingIconDisabled: Ft,
|
|
34
|
-
actionButton: Pt,
|
|
35
|
-
labelHidden: Et,
|
|
36
|
-
labelDisabled: Tt,
|
|
37
|
-
feedback: $t
|
|
38
|
-
}, Ot = it((Ne, w) => {
|
|
39
|
-
const e = st.c(175);
|
|
40
|
-
let A, S, m, o, I, u, p, n, x, i, f, G, U, J, K, Q, Y, Z;
|
|
41
|
-
e[0] !== Ne ? ({
|
|
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: n,
|
|
53
|
-
readonly: K,
|
|
54
|
-
required: Q,
|
|
55
|
-
size: Y,
|
|
56
|
-
suffix: i,
|
|
57
|
-
systemFeedback: f,
|
|
58
|
-
type: Z,
|
|
59
|
-
...x
|
|
60
|
-
} = Ne, e[0] = Ne, e[1] = A, e[2] = S, e[3] = m, e[4] = o, e[5] = I, e[6] = u, e[7] = p, e[8] = n, e[9] = x, e[10] = i, e[11] = f, e[12] = G, e[13] = U, e[14] = J, e[15] = K, e[16] = Q, e[17] = Y, e[18] = Z) : (A = e[1], S = e[2], m = e[3], o = e[4], I = e[5], u = e[6], p = e[7], n = e[8], x = e[9], i = e[10], f = e[11], G = e[12], U = e[13], J = e[14], K = e[15], Q = e[16], Y = e[17], Z = e[18]);
|
|
61
|
-
const s = G === void 0 ? !1 : G, Ue = U === void 0 ? !1 : U, c = J === void 0 ? !1 : J, a = K === void 0 ? !1 : K, v = Q === void 0 ? !1 : Q, l = Y === void 0 ? "medium" : Y, d = Z === void 0 ? "text" : Z;
|
|
62
|
-
process.env.NODE_ENV !== "production" && (ct({
|
|
63
|
-
id: o,
|
|
64
|
-
label: I,
|
|
65
|
-
prefix: n,
|
|
66
|
-
suffix: i,
|
|
67
|
-
leadingIconName: u,
|
|
68
|
-
leadingIconSource: p,
|
|
69
|
-
actionButtonProps: A
|
|
70
|
-
}), ft(d, x.autoComplete));
|
|
71
|
-
let F;
|
|
72
|
-
e[19] !== A ? (F = A || {}, e[19] = A, e[20] = F) : F = e[20];
|
|
73
|
-
let P, _, b, E, T;
|
|
74
|
-
e[21] !== F ? ({
|
|
75
|
-
iconName: _,
|
|
76
|
-
iconSource: b,
|
|
77
|
-
label: P,
|
|
78
|
-
onClick: E,
|
|
79
|
-
...T
|
|
80
|
-
} = F, e[21] = F, e[22] = P, e[23] = _, e[24] = b, e[25] = E, e[26] = T) : (P = e[22], _ = e[23], b = e[24], E = e[25], T = e[26]);
|
|
81
|
-
const [ee, Je] = De(!1), [ke, Ke] = De(!1), [y, Qe] = De(!1);
|
|
82
|
-
let ne;
|
|
83
|
-
e[27] === Symbol.for("react.memo_cache_sentinel") ? (ne = {}, e[27] = ne) : ne = e[27];
|
|
84
|
-
const [te, Ye] = De(ne), Be = Ve(null);
|
|
85
|
-
let le;
|
|
86
|
-
e[28] !== w ? (le = (r) => {
|
|
87
|
-
Be.current = r, typeof w == "function" ? w(r) : w && (w.current = r);
|
|
88
|
-
}, e[28] = w, e[29] = le) : le = e[29];
|
|
89
|
-
const se = le;
|
|
90
|
-
let ae;
|
|
91
|
-
e[30] !== n ? (ae = n == null ? void 0 : n.substring(0, rt), e[30] = n, e[31] = ae) : ae = e[31];
|
|
92
|
-
const Ce = ae, Le = Ve(null);
|
|
93
|
-
let oe;
|
|
94
|
-
e[32] !== i ? (oe = i == null ? void 0 : i.substring(0, ut), e[32] = i, e[33] = oe) : oe = e[33];
|
|
95
|
-
const He = oe, Re = Ve(null), ie = lt(Ue);
|
|
96
|
-
let de;
|
|
97
|
-
e[34] !== l ? (de = () => {
|
|
98
|
-
const r = l === "medium" ? 16 : 8, L = {};
|
|
99
|
-
if (Le.current) {
|
|
100
|
-
const h = Le.current.offsetWidth;
|
|
101
|
-
L.paddingInlineStart = r + h + "px";
|
|
102
|
-
}
|
|
103
|
-
if (Re.current) {
|
|
104
|
-
const h = Re.current.offsetWidth;
|
|
105
|
-
L.paddingInlineEnd = r + h + "px";
|
|
106
|
-
}
|
|
107
|
-
Ye(L), Je(!0);
|
|
108
|
-
}, e[34] = l, e[35] = de) : de = e[35];
|
|
109
|
-
let ce;
|
|
110
|
-
e[36] !== ke || e[37] !== n || e[38] !== l || e[39] !== i ? (ce = [n, i, l, ke], e[36] = ke, e[37] = n, e[38] = l, e[39] = i, e[40] = ce) : ce = e[40], ze(de, ce);
|
|
111
|
-
let fe, re;
|
|
112
|
-
e[41] === Symbol.for("react.memo_cache_sentinel") ? (fe = () => {
|
|
113
|
-
(async () => {
|
|
114
|
-
"fonts" in document && (await document.fonts.load('1em "STIHL Contraface Digital Text Regular"'), Ke(!0));
|
|
115
|
-
})();
|
|
116
|
-
}, re = [], e[41] = fe, e[42] = re) : (fe = e[41], re = e[42]), ze(fe, re);
|
|
117
|
-
let ue, pe;
|
|
118
|
-
e[43] !== d ? (ue = () => {
|
|
119
|
-
const r = pt(qe(d), mt(d));
|
|
120
|
-
Qe(r);
|
|
121
|
-
}, pe = [d], e[43] = d, e[44] = ue, e[45] = pe) : (ue = e[44], pe = e[45]), nt(ue, pe);
|
|
122
|
-
const Ae = l === "small";
|
|
123
|
-
let g, $, O, W, D, N, X, j, k, B, C;
|
|
124
|
-
if (e[46] !== S || e[47] !== s || e[48] !== Ce || e[49] !== He || e[50] !== se || e[51] !== ie || e[52] !== m || e[53] !== _ || e[54] !== b || e[55] !== o || e[56] !== te || e[57] !== c || e[58] !== ee || e[59] !== y || e[60] !== I || e[61] !== u || e[62] !== p || e[63] !== n || e[64] !== a || e[65] !== v || e[66] !== x || e[67] !== l || e[68] !== i || e[69] !== f || e[70] !== Ae || e[71] !== d) {
|
|
125
|
-
const r = R(t.affix, {
|
|
126
|
-
[t.affixSmall]: Ae,
|
|
127
|
-
[t.affixDisabled]: s,
|
|
128
|
-
[t.affixReadonly]: a
|
|
129
|
-
}), L = `${o}-label`, h = `${o}-feedback`, _e = `${o}-hint`, Ze = m ? ` ${_e}` : "";
|
|
130
|
-
let be;
|
|
131
|
-
e[83] !== c || e[84] !== f || e[85] !== h ? (be = [c && f && h].filter(Boolean).join(" ") || void 0, e[83] = c, e[84] = f, e[85] = h, e[86] = be) : be = e[86];
|
|
132
|
-
const we = be;
|
|
133
|
-
let he;
|
|
134
|
-
e[87] !== S ? (he = R(t.root, S), e[87] = S, e[88] = he) : he = e[88];
|
|
135
|
-
const et = he, Fe = l === "small", Pe = u || p, Ee = n || i, Te = _ || b || y;
|
|
136
|
-
let Ie;
|
|
137
|
-
e[89] !== c || e[90] !== ee || e[91] !== Fe || e[92] !== Pe || e[93] !== Ee || e[94] !== Te ? (Ie = R(t.input, {
|
|
138
|
-
[t.inputSmall]: Fe,
|
|
139
|
-
[t.inputInvalid]: c,
|
|
140
|
-
[t.inputHasLeadingIcon]: Pe,
|
|
141
|
-
[t.inputHasAffix]: Ee,
|
|
142
|
-
[t.inputHasActionButton]: Te,
|
|
143
|
-
[t.inputIsReady]: ee
|
|
144
|
-
}), e[89] = c, e[90] = ee, e[91] = Fe, e[92] = Pe, e[93] = Ee, e[94] = Te, e[95] = Ie) : Ie = e[95];
|
|
145
|
-
const $e = Ie;
|
|
146
|
-
let xe;
|
|
147
|
-
e[96] !== s || e[97] !== ie ? (xe = R(t.label, {
|
|
148
|
-
[t.labelHidden]: ie,
|
|
149
|
-
[t.labelDisabled]: s
|
|
150
|
-
}), e[96] = s, e[97] = ie, e[98] = xe) : xe = e[98];
|
|
151
|
-
const Oe = xe, We = l === "small";
|
|
152
|
-
let ye;
|
|
153
|
-
e[99] !== s || e[100] !== We ? (ye = R(t.leadingIcon, {
|
|
154
|
-
[t.leadingIconSmall]: We,
|
|
155
|
-
[t.leadingIconDisabled]: s
|
|
156
|
-
}), e[99] = s, e[100] = We, e[101] = ye) : ye = e[101];
|
|
157
|
-
const Xe = ye, je = l === "small";
|
|
158
|
-
let ge;
|
|
159
|
-
e[102] !== je ? (ge = R(t.actionButton, {
|
|
160
|
-
[t.actionButtonSmall]: je
|
|
161
|
-
}), e[102] = je, e[103] = ge) : ge = e[103], g = ge;
|
|
162
|
-
let Se;
|
|
163
|
-
e[104] !== s || e[105] !== a ? (Se = (tt) => {
|
|
164
|
-
Be.current && !s && !a && Be.current.showPicker(), tt.preventDefault();
|
|
165
|
-
}, e[104] = s, e[105] = a, e[106] = Se) : Se = e[106], $ = Se, j = et;
|
|
166
|
-
let z;
|
|
167
|
-
e[107] !== v ? (z = v && /* @__PURE__ */ H(at, {}), e[107] = v, e[108] = z) : z = e[108], e[109] !== o || e[110] !== L || e[111] !== I || e[112] !== Oe || e[113] !== z ? (k = /* @__PURE__ */ ve("label", { className: Oe, id: L, htmlFor: o, children: [
|
|
168
|
-
I,
|
|
169
|
-
z
|
|
170
|
-
] }), e[109] = o, e[110] = L, e[111] = I, e[112] = Oe, e[113] = z, e[114] = k) : k = e[114], e[115] !== m || e[116] !== _e ? (B = m && /* @__PURE__ */ H("div", { className: t.hint, id: _e, children: m }), e[115] = m, e[116] = _e, e[117] = B) : B = e[117], e[118] !== c || e[119] !== f || e[120] !== h ? (C = c && f && /* @__PURE__ */ H(dt, { className: t.feedback, message: f, variant: "error", id: h }), e[118] = c, e[119] = f, e[120] = h, e[121] = C) : C = e[121], O = t.wrapper, W = n && /* @__PURE__ */ H("span", { className: R(r, t.prefix), ref: Le, "aria-disabled": s, children: Ce }), e[122] !== Xe || e[123] !== u || e[124] !== p || e[125] !== n ? (D = !n && (u || p) && /* @__PURE__ */ H(ot, { name: u, theme: "light", source: p, className: Xe, "aria-hidden": "true" }), e[122] = Xe, e[123] = u, e[124] = p, e[125] = n, e[126] = D) : D = e[126];
|
|
171
|
-
const Me = `${L}${Ze}`;
|
|
172
|
-
e[127] !== we || e[128] !== s || e[129] !== se || e[130] !== o || e[131] !== $e || e[132] !== te || e[133] !== c || e[134] !== a || e[135] !== v || e[136] !== x || e[137] !== Me || e[138] !== d ? (N = /* @__PURE__ */ H("input", { type: d, className: $e, id: o, ...x, ref: se, style: te, "aria-labelledby": Me, "aria-describedby": we, "aria-invalid": c, "aria-disabled": a, readOnly: a, required: v, disabled: s }), e[127] = we, e[128] = s, e[129] = se, e[130] = o, e[131] = $e, e[132] = te, e[133] = c, e[134] = a, e[135] = v, e[136] = x, e[137] = Me, e[138] = d, e[139] = N) : N = e[139], X = i && /* @__PURE__ */ H("span", { className: R(r, t.suffix), ref: Re, "aria-disabled": s, children: He }), e[46] = S, e[47] = s, e[48] = Ce, e[49] = He, e[50] = se, e[51] = ie, e[52] = m, e[53] = _, e[54] = b, e[55] = o, e[56] = te, e[57] = c, e[58] = ee, e[59] = y, e[60] = I, e[61] = u, e[62] = p, e[63] = n, e[64] = a, e[65] = v, e[66] = x, e[67] = l, e[68] = i, e[69] = f, e[70] = Ae, e[71] = d, e[72] = g, e[73] = $, e[74] = O, e[75] = W, e[76] = D, e[77] = N, e[78] = X, e[79] = j, e[80] = k, e[81] = B, e[82] = C;
|
|
173
|
-
} else
|
|
174
|
-
g = e[72], $ = e[73], O = e[74], W = e[75], D = e[76], N = e[77], X = e[78], j = e[79], k = e[80], B = e[81], C = e[82];
|
|
175
|
-
let M;
|
|
176
|
-
e[140] !== g || e[141] !== P || e[142] !== s || e[143] !== _ || e[144] !== b || e[145] !== y || e[146] !== E || e[147] !== a || e[148] !== T || e[149] !== l || e[150] !== i ? (M = !i && !y && (_ || b) && /* @__PURE__ */ H(Ge, { ...T, hideLabel: !0, theme: "light", iconName: _, iconSource: b, variant: "ghost", className: g, size: l, onClick: E, type: "button", disabled: s || a, children: P }), e[140] = g, e[141] = P, e[142] = s, e[143] = _, e[144] = b, e[145] = y, e[146] = E, e[147] = a, e[148] = T, e[149] = l, e[150] = i, e[151] = M) : M = e[151];
|
|
177
|
-
let V;
|
|
178
|
-
e[152] !== g || e[153] !== s || e[154] !== $ || e[155] !== y || e[156] !== a || e[157] !== l || e[158] !== i || e[159] !== d ? (V = !i && y && !a && !s && /* @__PURE__ */ ve(Ge, { hideLabel: !0, theme: "light", iconName: qe(d) ? "calendar" : "clock", variant: "ghost", className: g, size: l, onClick: $, type: "button", children: [
|
|
179
|
-
"Open ",
|
|
180
|
-
qe(d) ? "date" : "time",
|
|
181
|
-
" picker"
|
|
182
|
-
] }), e[152] = g, e[153] = s, e[154] = $, e[155] = y, e[156] = a, e[157] = l, e[158] = i, e[159] = d, e[160] = V) : V = e[160];
|
|
183
|
-
let q;
|
|
184
|
-
e[161] !== O || e[162] !== W || e[163] !== D || e[164] !== N || e[165] !== X || e[166] !== M || e[167] !== V ? (q = /* @__PURE__ */ ve("div", { className: O, children: [
|
|
185
|
-
W,
|
|
186
|
-
D,
|
|
187
|
-
N,
|
|
188
|
-
X,
|
|
189
|
-
M,
|
|
190
|
-
V
|
|
191
|
-
] }), e[161] = O, e[162] = W, e[163] = D, e[164] = N, e[165] = X, e[166] = M, e[167] = V, e[168] = q) : q = e[168];
|
|
192
|
-
let me;
|
|
193
|
-
return e[169] !== j || e[170] !== k || e[171] !== B || e[172] !== C || e[173] !== q ? (me = /* @__PURE__ */ ve("div", { className: j, children: [
|
|
194
|
-
k,
|
|
195
|
-
B,
|
|
196
|
-
C,
|
|
197
|
-
q
|
|
198
|
-
] }), e[169] = j, e[170] = k, e[171] = B, e[172] = C, e[173] = q, e[174] = me) : me = e[174], me;
|
|
199
|
-
});
|
|
200
|
-
Ot.displayName = "DSInput";
|
|
201
|
-
export {
|
|
202
|
-
Ot as DSInput
|
|
203
|
-
};
|
package/inputfile.DK8759wV.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.B7xF1E19.js";
|
|
11
|
-
import "./filelist.nunJKxkv.js";
|
|
12
|
-
import "./chunks/Icon.DGTYCv63.js";
|
|
13
|
-
import "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
14
|
-
import { D as f } from "./chunks/InputFile.DvOatDzg.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.B7xF1E19.js";
|
|
9
|
-
import "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
10
|
-
import { D as u } from "./chunks/InputPassword.DC2POUc1.js";
|
|
11
|
-
export {
|
|
12
|
-
u as DSInputPassword
|
|
13
|
-
};
|
package/inputsearch.CmhakTpa.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.B7xF1E19.js";
|
|
10
|
-
import "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
11
|
-
import { D as u } from "./chunks/InputSearch.B0aCuPRZ.js";
|
|
12
|
-
export {
|
|
13
|
-
u as DSInputSearch
|
|
14
|
-
};
|
package/inputstepper.Y-YzUHhF.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.B7xF1E19.js";
|
|
11
|
-
import "./chunks/Input.utils.Cnnzvuk4.js";
|
|
12
|
-
import "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
13
|
-
import { D as c } from "./chunks/InputStepper.D_1YqlWl.js";
|
|
14
|
-
export {
|
|
15
|
-
c as DSInputStepper
|
|
16
|
-
};
|
package/inputstepper.d.ts
DELETED