@stihl-design-system/components 1.0.0-RC.41 → 1.0.0-RC.43
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.CiiPLwYQ.js → accordion.CJYNJWAm.js} +2 -2
- package/action-card-example-image-1.webp +0 -0
- package/{actionbutton.DKb4ph1c.js → actionbutton.BLKEsCUm.js} +3 -3
- package/actioncard.WFXhVqOa.js +9 -0
- package/actioncard.d.ts +2 -0
- package/{actionlink.DEGta2h9.js → actionlink.xJDPIikL.js} +3 -3
- package/arialiveregions.BF6mUlPU.js +23 -0
- package/assets/ActionCard.C85bSGRa.css +1 -0
- package/assets/LinkCard.fwyPSY19.css +1 -0
- package/assets/Toast.CGl8z6mX.css +1 -0
- package/assets/filelist.CHVupL8T.css +1 -0
- package/assets/filepreview.2cdH-1Xs.css +1 -0
- package/assets/progressindicator.Cbbzo5-b.css +1 -0
- package/{banner.S_c1UQJe.js → banner.CYahlug-.js} +1 -1
- package/{breadcrumb.DiuuVblR.js → breadcrumb.Bg86bTsh.js} +3 -3
- package/{button.Z7Mmvwhv.js → button.oshwTInZ.js} +4 -4
- package/{buttonround.Bqi8Ej-y.js → buttonround.CPTvQIcE.js} +3 -3
- package/{checkbox.DtSSduSH.js → checkbox.BTnK5VzM.js} +3 -3
- package/{checkboxgroup.CSP1DOCW.js → checkboxgroup.DESMv2S7.js} +2 -2
- package/{chip.CyypeY5M.js → chip.BWL_yfeA.js} +3 -3
- package/chipgroup.DvoNDnTN.js +213 -0
- package/chunks/{Accordion.Q50G9LZ3.js → Accordion.D4jj5_nA.js} +1 -1
- package/chunks/{ActionButton.BEMy35Lh.js → ActionButton.BOKt8109.js} +2 -2
- package/chunks/ActionCard.oi3u27DL.js +242 -0
- package/chunks/{ActionLink.DECHT42B.js → ActionLink.BFwVQSTh.js} +2 -2
- package/chunks/AriaLiveRegions.utils.8ofDlHnN.js +65 -0
- package/chunks/{Breadcrumb.nflDJoKs.js → Breadcrumb.ClHgevZX.js} +2 -2
- package/chunks/{Button.DpGeheky.js → Button.BdqkFovu.js} +3 -3
- package/chunks/{Checkbox.B3NeB54s.js → Checkbox.vdWpXSUh.js} +2 -2
- package/chunks/{CheckboxGroup.BYZSvqF7.js → CheckboxGroup.BtVBLux3.js} +2 -2
- package/chunks/Chip.B_zwA2qc.js +157 -0
- package/chunks/{CustomReactSelect.DBsnmMPl.js → CustomReactSelect.Dtf3mXJ_.js} +4 -4
- package/chunks/{Dialog.C-rcs_Up.js → Dialog.9tejL9sZ.js} +1 -1
- package/chunks/{Drawer.D0d557c5.js → Drawer.DIFMs4Gh.js} +1 -1
- package/chunks/{Fieldset.7WM7w62l.js → Fieldset.8jatF24R.js} +2 -2
- package/chunks/Icon.BoxUJQDT.js +232 -0
- package/chunks/InputFile.zbXRpklU.js +260 -0
- package/chunks/{InputNumber.a44HnJ9B.js → InputNumber.d7gmAHaX.js} +3 -3
- package/chunks/{InputPassword.B1E0Maub.js → InputPassword.Cz41hBCt.js} +3 -3
- package/chunks/{InputSearch.C7AvD7Eu.js → InputSearch.DPQCT8Yo.js} +3 -3
- package/chunks/{LinkButton.CMjq2FKc.js → LinkButton.BGQOwjnE.js} +2 -2
- package/chunks/LinkCard.DRATPHdd.js +178 -0
- package/chunks/{NavigationTabList.ltT6igtk.js → NavigationTabList.Cf6csU_F.js} +1 -1
- package/chunks/{NavigationTabs.DsVepb7H.js → NavigationTabs.CSTtXPxd.js} +1 -1
- package/chunks/{Notification.COwLndR0.js → Notification.ChSYPU3r.js} +2 -2
- package/chunks/Popover.BSL3AilG.js +221 -0
- package/chunks/{RadioGroup.B-qTH31u.js → RadioGroup.DauFXAk6.js} +1 -1
- package/chunks/{Select.DrDVi9lg.js → Select.CWA7DHcL.js} +3 -3
- package/chunks/{Slider.DGMrDfWv.js → Slider.2ltYhUJb.js} +2 -2
- package/chunks/Stepper.Dh69BOVR.js +146 -0
- package/chunks/{SystemFeedback.DFN6Y2cw.js → SystemFeedback.C2XFC5WN.js} +1 -1
- package/chunks/{Tabs.DfH2q9EL.js → Tabs.BvwiBlXt.js} +1 -1
- package/chunks/{Textarea.ymNCbcvH.js → Textarea.Ck0sw4SI.js} +2 -2
- package/chunks/Toast.Ck4woVuy.js +76 -0
- package/chunks/battery-return.tBu7C6Q7.js +10 -0
- package/chunks/cookie.U09gK6it.js +10 -0
- package/chunks/credit-card.BmIN7RQ3.js +10 -0
- package/chunks/legal-info.-S9gzFzc.js +10 -0
- package/chunks/legal.CVCmbA3m.js +10 -0
- package/chunks/present.B4ImIJxi.js +10 -0
- package/chunks/return-package.Bt9FUc42.js +10 -0
- package/{combobox.DzSEFo_5.js → combobox.zkQtaMOE.js} +1 -1
- package/components/ActionButton/ActionButton.d.ts +1 -1
- package/components/ActionCard/ActionCard.d.ts +75 -0
- package/components/ActionCard/ActionCard.utils.d.ts +24 -0
- package/components/AriaLiveRegions/AriaLiveRegions.d.ts +22 -1
- package/components/AriaLiveRegions/AriaLiveRegions.test.d.ts +1 -0
- package/components/AriaLiveRegions/AriaLiveRegions.utils.d.ts +106 -0
- package/components/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/components/Button/Button.d.ts +1 -1
- package/components/ChipGroup/ChipGroup.utils.d.ts +14 -15
- package/components/Icon/Icon.d.ts +1 -1
- package/components/InputFile/FileList/FileList.d.ts +14 -0
- package/components/InputFile/FileList/FileList.test.d.ts +1 -0
- package/components/{FileList → InputFile/FileList}/FileList.utils.d.ts +0 -6
- package/components/InputFile/FileList/FileList.utils.test.d.ts +1 -0
- package/components/InputFile/FileList/FilePreview/FilePreview.d.ts +15 -0
- package/components/InputFile/FileList/FilePreview/FilePreview.test.d.ts +1 -0
- package/components/InputFile/FileList/FilePreview/FilePreview.utils.d.ts +11 -0
- package/components/InputFile/FileList/FilePreview/FilePreview.utils.test.d.ts +1 -0
- package/components/InputFile/FileList/ProgressIndicator/ProgressIndicator.d.ts +34 -0
- package/components/InputFile/FileList/ProgressIndicator/ProgressIndicator.test.d.ts +1 -0
- package/components/InputFile/InputFile.d.ts +49 -15
- package/components/InputFile/InputFile.utils.d.ts +14 -0
- package/components/LinkButton/LinkButton.d.ts +1 -1
- package/components/LinkCard/LinkCard.d.ts +16 -4
- package/components/Logo/Logo.d.ts +1 -1
- package/components/NavigationTabs/NavigationTabs.d.ts +1 -1
- package/components/Spinner/Spinner.d.ts +1 -1
- package/components/Stepper/Stepper.d.ts +1 -1
- package/components/Stepper/Stepper.utils.d.ts +0 -1
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Tabs/TabList/TabList.d.ts +1 -1
- package/components/Toast/ToastManager.utils.d.ts +0 -1
- package/components/TopBar/TopBar.d.ts +1 -1
- package/{customreactselect.D7YraWJ7.js → customreactselect.DbPXuk-C.js} +5 -5
- package/{dialog.CBovd8em.js → dialog.wzLHG12h.js} +2 -2
- package/{drawer.D5F0KXI2.js → drawer.DnHZCC60.js} +2 -2
- package/{fieldset.DgbZ_K_l.js → fieldset.DUU39krR.js} +3 -3
- package/filelist.d.ts +1 -1
- package/filelist.zRCzEN5D.js +128 -0
- package/filepreview.CK8DA0aR.js +94 -0
- package/filepreview.d.ts +2 -0
- package/{flag.D-wrUioF.js → flag.02uD-ADh.js} +1 -1
- package/{floatingactionbutton.CE-Rz0dx.js → floatingactionbutton.BwmRfmD_.js} +3 -3
- package/{icon.ByLYRkPZ.js → icon.DFM8rDOR.js} +1 -1
- package/index.d.ts +3 -0
- package/index.es.js +233 -219
- package/{input.MZXe6rlg.js → input.yBU7wjmW.js} +4 -4
- package/inputfile.BRt_BWK8.js +18 -0
- package/{inputnumber.DevQudIX.js → inputnumber.B0yCOPU1.js} +4 -4
- package/{inputpassword.C-XYK-JP.js → inputpassword.aQxGIeyf.js} +4 -4
- package/{inputsearch.CmJdxnzX.js → inputsearch.EbZnS29c.js} +4 -4
- package/{link.R1lfD5aN.js → link.Ck9Yd2y2.js} +3 -3
- package/{linkbutton.Y-ET1tc9.js → linkbutton.DzbJ1ws2.js} +3 -3
- package/{linkcard.CayqoQNo.js → linkcard.D65tvntF.js} +3 -3
- package/{navigationtablist.Cd9hZzFQ.js → navigationtablist.BMvJp48M.js} +2 -2
- package/{navigationtabs.DHG-TeF2.js → navigationtabs.BzYhrLVd.js} +2 -2
- package/{notification.u_LLz-O0.js → notification.B80f3Sh6.js} +3 -3
- package/{optioncheckbox.v8Plcgeg.js → optioncheckbox.DvF4Vr4C.js} +1 -1
- package/package.json +2 -2
- package/partials/index.js +15 -9
- package/partials/lib/partials.d.ts +1 -1
- package/{popover.T7-imfkx.js → popover.BR8IGyhi.js} +4 -3
- package/product-card-example-1.webp +0 -0
- package/product-card-example-2.webp +0 -0
- package/product-card-example-3.webp +0 -0
- package/product-card-example-4.webp +0 -0
- package/progressindicator.DYKf69nk.js +53 -0
- package/progressindicator.d.ts +2 -0
- package/{radiogroup.CAh4wto1.js → radiogroup.Cniqm1t0.js} +2 -2
- package/{scroller.DfhhZelk.js → scroller.CSSI5khP.js} +1 -1
- package/{select.CSCc_-6d.js → select.DPfXPv-k.js} +4 -4
- package/{skiptocontent.C2HpZt5q.js → skiptocontent.C_nrEIVL.js} +1 -1
- package/{slider.B2aQwfc2.js → slider.CyRU5Kys.js} +3 -3
- package/{spinner.CRVyui04.js → spinner.ww3wgdUU.js} +1 -1
- package/{step.C-LC5sKQ.js → step.C4gOI6c3.js} +2 -2
- package/{stepper.CRljfUF8.js → stepper.Bqdr6GS-.js} +4 -4
- package/{switch.DgKgzm-j.js → switch.DpYvgNSE.js} +2 -2
- package/{systemfeedback.BKLsE5sY.js → systemfeedback.g7odUaLC.js} +2 -2
- package/{tablist.DPiNeY3_.js → tablist.DLFJGmYV.js} +3 -3
- package/{tabs.Cxzm6ZZ-.js → tabs.Bne3Z3rz.js} +2 -2
- package/{textarea.CDXY-OVz.js → textarea.DcAoKkta.js} +3 -3
- package/{toast.Bev-Rfuw.js → toast.C_O0xDYn.js} +3 -3
- package/toastmanager.w_mhIehC.js +79 -0
- package/tooltip.C6HKano9.js +184 -0
- package/types/icon-types.d.ts +1 -1
- package/arialiveregions.B0AV2JcV.js +0 -18
- package/assets/LinkCard.C6HtgbjH.css +0 -1
- package/assets/Toast.DgRXxA0s.css +0 -1
- package/assets/filelist.H_wKcSPX.css +0 -1
- package/chipgroup.CSjQHeeW.js +0 -199
- package/chunks/AriaLiveRegions.utils.CLpOaVD9.js +0 -27
- package/chunks/Chip.SiGIIHR-.js +0 -133
- package/chunks/Icon.m6sMB6vl.js +0 -232
- package/chunks/InputFile.DRGNdtY0.js +0 -236
- package/chunks/LinkCard.CJ5P0ews.js +0 -199
- package/chunks/Popover.C5wtha5l.js +0 -214
- package/chunks/Stepper.DptsFh5n.js +0 -152
- package/chunks/Toast.RUzRjojQ.js +0 -76
- package/components/FileList/FileList.d.ts +0 -13
- package/filelist.CDEBo3Pi.js +0 -160
- package/inputfile.BO4wDnzQ.js +0 -18
- package/toastmanager.DII20_9k.js +0 -89
- package/tooltip._lP4aMV2.js +0 -177
- /package/components/{FileList/FileList.test.d.ts → ActionCard/ActionCard.test.d.ts} +0 -0
- /package/components/{FileList/FileList.utils.test.d.ts → ActionCard/ActionCard.utils.test.d.ts} +0 -0
|
@@ -4,9 +4,9 @@ import "./chunks/index.cKLI89Eg.js";
|
|
|
4
4
|
import "./chunks/index.DQOqod3i.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "./heading.BHSklXho.js";
|
|
7
|
-
import "./chunks/Icon.
|
|
7
|
+
import "./chunks/Icon.BoxUJQDT.js";
|
|
8
8
|
import "./numberindicator.ZGVRSmqf.js";
|
|
9
|
-
import { D as s } from "./chunks/Accordion.
|
|
9
|
+
import { D as s } from "./chunks/Accordion.D4jj5_nA.js";
|
|
10
10
|
export {
|
|
11
11
|
s as DSAccordion
|
|
12
12
|
};
|
|
Binary file
|
|
@@ -3,10 +3,10 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.cKLI89Eg.js";
|
|
4
4
|
import "./chunks/index.DQOqod3i.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/Icon.
|
|
6
|
+
import "./chunks/Icon.BoxUJQDT.js";
|
|
7
7
|
import "./numberindicator.ZGVRSmqf.js";
|
|
8
|
-
import "./tooltip.
|
|
9
|
-
import { D as s } from "./chunks/ActionButton.
|
|
8
|
+
import "./tooltip.C6HKano9.js";
|
|
9
|
+
import { D as s } from "./chunks/ActionButton.BOKt8109.js";
|
|
10
10
|
export {
|
|
11
11
|
s as DSActionButton
|
|
12
12
|
};
|
package/actioncard.d.ts
ADDED
|
@@ -3,10 +3,10 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.cKLI89Eg.js";
|
|
4
4
|
import "./chunks/index.DQOqod3i.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/Icon.
|
|
6
|
+
import "./chunks/Icon.BoxUJQDT.js";
|
|
7
7
|
import "./numberindicator.ZGVRSmqf.js";
|
|
8
|
-
import "./tooltip.
|
|
9
|
-
import { D as s } from "./chunks/ActionLink.
|
|
8
|
+
import "./tooltip.C6HKano9.js";
|
|
9
|
+
import { D as s } from "./chunks/ActionLink.BFwVQSTh.js";
|
|
10
10
|
export {
|
|
11
11
|
s as DSActionLink
|
|
12
12
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as n, Fragment as i, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import t from "react";
|
|
4
|
+
import { u as a } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
5
|
+
import "./chunks/index.cKLI89Eg.js";
|
|
6
|
+
import { e as o, v as f, A as l, a as u } from "./chunks/AriaLiveRegions.utils.8ofDlHnN.js";
|
|
7
|
+
import './assets/arialiveregions.e0Q16ZWi.css';const c = "ds-aria-live-regions_sr-only_2jvmr_1", e = {
|
|
8
|
+
srOnly: c
|
|
9
|
+
}, R = ({
|
|
10
|
+
microFrontendMode: s = !1
|
|
11
|
+
}) => (((typeof t.useInsertionEffect == "function" ? t.useInsertionEffect : void 0) ?? a)(() => {
|
|
12
|
+
if (s) {
|
|
13
|
+
o(e.srOnly);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
f();
|
|
17
|
+
}, [s]), s ? null : /* @__PURE__ */ n(i, { children: [
|
|
18
|
+
/* @__PURE__ */ r("span", { id: l, role: "alert", className: e.srOnly }),
|
|
19
|
+
/* @__PURE__ */ r("span", { id: u, role: "status", className: e.srOnly })
|
|
20
|
+
] }));
|
|
21
|
+
export {
|
|
22
|
+
R as DSAriaLiveRegions
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ds-action-card_root_rfquv_1{background-color:#fff;border-radius:4px;border:1px solid #DADADA;display:flex;flex-direction:column;height:fit-content;min-width:13rem;max-width:42.9375rem}.ds-action-card_root--clickable_rfquv_11{cursor:pointer;position:relative}@media(hover:hover){.ds-action-card_root--clickable_rfquv_11:hover{box-shadow:0 2px 12px #00000014,0 1px 2px #00000029}}.ds-action-card_root--clickable_rfquv_11:has(:focus-visible) .ds-action-card_primary-action_rfquv_20:after{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors:active){.ds-action-card_root--clickable_rfquv_11:has(:focus-visible) .ds-action-card_primary-action_rfquv_20:after{forced-color-adjust:auto;outline-color:Highlight}}.ds-action-card_root--clickable_rfquv_11:has(:focus-within) .ds-action-card_primary-action_rfquv_20:focus{outline:none}.ds-action-card_root--clickable_rfquv_11 :is(.ds-action-card_header_rfquv_34,.ds-action-card_content_rfquv_34,.ds-action-card_footer_rfquv_34,.ds-action-card_supplementary_rfquv_34):has(button,input,select,textarea,a,label){position:relative;z-index:2}.ds-action-card_root--horizontal_rfquv_43{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto;grid-template-areas:"media content" "supplementary supplementary";width:100%;max-width:88rem}.ds-action-card_root--horizontal_rfquv_43 .ds-action-card_image-wrapper_rfquv_51{grid-area:media;aspect-ratio:1/1;max-width:21.5625rem}.ds-action-card_root--horizontal_rfquv_43 .ds-action-card_image-wrapper_rfquv_51 img{border-top-right-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;aspect-ratio:1/1}.ds-action-card_root--horizontal_rfquv_43 .ds-action-card_content-wrapper_rfquv_62{grid-area:content;height:auto;padding:32px}.ds-action-card_root--horizontal_rfquv_43 .ds-action-card_content-wrapper--padding-small_rfquv_67{padding:16px}.ds-action-card_root--horizontal_rfquv_43 .ds-action-card_supplementary_rfquv_34{grid-area:supplementary;padding-block:8px;padding-inline:16px}.ds-action-card_root--horizontal-has-supplementary_rfquv_75 .ds-action-card_image-wrapper_rfquv_51 img{border-bottom-left-radius:0}.ds-action-card_root--padding-small_rfquv_78 .ds-action-card_supplementary_rfquv_34{padding-block:4px;padding-inline:0px}.ds-action-card_image-wrapper_rfquv_51{width:100%;height:auto;aspect-ratio:16/9}.ds-action-card_image-wrapper_rfquv_51 img{border-top-left-radius:4px;border-top-right-radius:4px;width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/9}.ds-action-card_content-wrapper_rfquv_62{display:flex;flex-direction:column;gap:24px;padding:24px;height:100%;order:1}.ds-action-card_content-wrapper--padding-small_rfquv_67{padding:16px}.ds-action-card_footer_rfquv_34{margin-block-start:auto}.ds-action-card_supplementary_rfquv_34{display:flex;border-top:1px solid #DADADA;flex-direction:column;align-items:stretch;gap:16px;padding-block:6px;padding-inline:8px;order:2}.ds-action-card_primary-action_rfquv_20{appearance:none;background:transparent;border:none;color:inherit;font:inherit;text-align:inherit;text-decoration:none;padding:0;margin:0;position:absolute;inset:0;z-index:1}.ds-action-card_primary-action_rfquv_20:after{content:"";position:absolute;z-index:1;cursor:pointer;inset:0}.ds-action-card_primary-action_rfquv_20:focus{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors:active){.ds-action-card_primary-action_rfquv_20:focus{forced-color-adjust:auto;outline-color:Highlight}}.ds-action-card_primary-action-label_rfquv_158{border:0;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;text-indent:-999999px;white-space:nowrap}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ds-link-card_root_e8szq_1{background-color:#fff;border-radius:4px;cursor:pointer;display:flex;flex-direction:column;height:fit-content;min-width:13rem;max-width:42.9375rem;position:relative;box-shadow:0 2px 12px #00000014,0 1px 2px #00000029}@media screen and (forced-colors:active){.ds-link-card_root_e8szq_1{border:1px solid CanvasText}}.ds-link-card_root_e8szq_1:hover{box-shadow:0 2px 12px #00000029,0 1px 2px #0003}.ds-link-card_root_e8szq_1 a:after{content:"";position:absolute;z-index:1;cursor:pointer;inset:0}.ds-link-card_root_e8szq_1 a:focus{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors:active){.ds-link-card_root_e8szq_1 a:focus{forced-color-adjust:auto;outline-color:Highlight}}.ds-link-card_root_e8szq_1:has(:focus-visible) a:after{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors:active){.ds-link-card_root_e8szq_1:has(:focus-visible) a:after{forced-color-adjust:auto;outline-color:Highlight}}.ds-link-card_root_e8szq_1:has(:focus-within) a:focus{outline:none}.ds-link-card_root--horizontal_e8szq_53{flex-direction:row;width:100%;max-width:88rem}.ds-link-card_root--horizontal_e8szq_53 .ds-link-card_image-wrapper_e8szq_58{aspect-ratio:1/1;max-width:21.5625rem}.ds-link-card_root--horizontal_e8szq_53 .ds-link-card_image-wrapper_e8szq_58 img{border-top-right-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;aspect-ratio:1/1}.ds-link-card_root--horizontal_e8szq_53 .ds-link-card_content_e8szq_68{padding:32px;height:auto}.ds-link-card_root--horizontal_e8szq_53 .ds-link-card_content--padding-small_e8szq_72{padding:16px}.ds-link-card_image-wrapper_e8szq_58{width:100%;height:auto;aspect-ratio:16/9}.ds-link-card_image-wrapper_e8szq_58 img{border-top-left-radius:4px;border-top-right-radius:4px;width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/9}.ds-link-card_content_e8szq_68{display:flex;flex-direction:column;gap:24px;padding:24px;height:100%;order:1}.ds-link-card_content--padding-small_e8szq_72{padding:16px}.ds-link-card_header_e8szq_103,.ds-link-card_footer_e8szq_104{display:flex;flex-direction:column;align-items:flex-start;gap:16px}.ds-link-card_footer_e8szq_104{margin-block-start:auto}.ds-link-card_heading_e8szq_115{margin:0}.ds-link-card_link_e8szq_119{text-decoration:none;color:#252525}.ds-link-card_description_e8szq_124{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.5;font-size-adjust:.414}.ds-link-card_meta-data_e8szq_141{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;font-size-adjust:.414}.ds-link-card_decorative-link_e8szq_158{margin-block-start:4px}.ds-link-card_flags_e8szq_162{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.ds-link-card_brand-flag_e8szq_171{position:absolute;top:8px;left:8px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--ds-toast-offset-bottom: 64px}.ds-toast_root_1k9pu_5{box-shadow:0 2px 12px #00000014,0 1px 2px #00000029;min-width:272px;max-width:min(100vw - 48px,400px)}@media(min-width:768px){.ds-toast_root_1k9pu_5{max-width:25rem}}.ds-toast_root--closing_1k9pu_15{animation:ds-toast_fade-out_1k9pu_1 var(--ds-animation-duration, .4s) cubic-bezier(0,0,.5,1) forwards}@media(prefers-reduced-motion:reduce){.ds-toast_root--closing_1k9pu_15{animation-duration:1ms}}.ds-toast_root_1k9pu_5[popover]{position:fixed;inset:unset;left:50%;transform:translate(-50%);border-width:0;border-left:4px solid;padding-block-start:12px;padding-block-end:12px;padding-inline-start:12px;padding-inline-end:16px;width:100%;bottom:var(--ds-toast-offset-bottom)}@media screen and (forced-colors:active){.ds-toast_root_1k9pu_5[popover]{border-top:1px solid transparent;border-right:1px solid transparent;border-bottom:1px solid transparent;padding-inline-end:15px;padding-block-start:11px;padding-block-end:11px}}:where(.ds-toast_root_1k9pu_5:popover-open){position:fixed;inset:unset;left:50%;transform:translate(-50%);bottom:var(--ds-toast-offset-bottom);animation:ds-toast_move-in_1k9pu_1 var(--ds-animation-duration, .4s) cubic-bezier(.5,0,1,1)}@media(prefers-reduced-motion:reduce){:where(.ds-toast_root_1k9pu_5:popover-open){animation-duration:0s}}.ds-toast_root--success_1k9pu_66[popover]{background-color:#e5f0db;border-color:#749f4a}.ds-toast_root--info_1k9pu_70[popover]{background-color:#ededed;border-color:#666}.ds-toast_root--warning_1k9pu_74[popover]{background-color:#fdecc3;border-color:#fdc543}.ds-toast_content_1k9pu_79{display:grid;grid-template-columns:auto minmax(auto,1fr) auto;gap:16px;place-items:start;min-height:2rem}.ds-toast_content--hide-icon_1k9pu_86{grid-template-columns:minmax(auto,1fr) auto}.ds-toast_icon_1k9pu_90{margin-block-start:8px}.ds-toast_message_1k9pu_94{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.5;font-size-adjust:.414;margin-block-start:4px;margin-block-end:0}@keyframes ds-toast_move-in_1k9pu_1{0%{bottom:0;opacity:0;transform:translate(-50%) translateY(100%)}to{opacity:1;transform:translate(-50%) translateY(0)}}@keyframes ds-toast_fade-out_1k9pu_1{0%{opacity:1;display:block}to{opacity:0;display:none}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ds-input-file_root_xvo5t_1{display:grid;row-gap:16px;margin-block-start:32px}.ds-input-file_file-wrapper_xvo5t_7{display:grid;grid-template-columns:auto 1fr auto;column-gap:8px;grid-auto-rows:auto auto;row-gap:4px;padding-block-end:15px;border-bottom:1px solid #B1B1B1}.ds-input-file_file-wrapper--invalid_xvo5t_16{border-color:#d43b3b}.ds-input-file_file-details_xvo5t_20{padding-block:6px;display:flex;font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.25;font-size-adjust:.414}.ds-input-file_file-name_xvo5t_34{overflow-wrap:anywhere}.ds-input-file_file-size_xvo5t_38{padding-inline-start:8px;padding-block-start:3px;color:#666;white-space:nowrap;font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;font-size-adjust:.414}.ds-input-file_progress-bar_xvo5t_54{grid-column:2;margin-block-end:4px}.ds-input-file_feedback_xvo5t_59{grid-column:2;padding-block:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ds-input-file_preview_15s1u_1{width:2rem;height:2rem;object-fit:cover}.ds-input-file_root_15s1u_7 .ds-input-file_file-icon_15s1u_7{width:2rem;height:2rem;padding:4px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ds-input-file_root_csqwh_1{display:flex;flex-direction:row;align-items:center}.ds-input-file_bar-background_csqwh_7{position:relative;width:100%;height:6px;background-color:#ededed;border-radius:3px;overflow:hidden}@media screen and (forced-colors:active){.ds-input-file_bar-background_csqwh_7{height:8px;margin-block:-1px;border:1px solid transparent;border-color:CanvasText}}.ds-input-file_bar-fill_csqwh_24{height:6px;border-radius:3px;background-color:#1e71a1}.ds-input-file_bar-fill--error_csqwh_29{background-color:#d43b3b}.ds-input-file_bar-fill_csqwh_24{transition:width var(--ds-animation-duration, .4s) linear}@media(prefers-reduced-motion:reduce){.ds-input-file_bar-fill_csqwh_24{transition-duration:0ms}}.ds-input-file_bar-fill-indeterminate_csqwh_40{width:42.05%;position:absolute;height:100%;border-radius:3px;background-color:#1e71a1;animation-name:ds-input-file_indeterminate-progress_csqwh_1;animation-duration:1.6s;animation-iteration-count:infinite}@media(prefers-reduced-motion:reduce){.ds-input-file_bar-fill-indeterminate_csqwh_40{animation-duration:0s}}@media screen and (forced-colors:active){.ds-input-file_bar-fill_csqwh_24{background-color:Highlight}}.ds-input-file_percent-label_csqwh_61{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;font-size-adjust:.414;min-width:2.25rem;color:#666}.ds-input-file_progress-text_csqwh_75{gap:8px;grid-column:2;font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;font-size-adjust:.414;color:#666;margin-block-end:4px}.ds-input-file_progress-bar_csqwh_91{gap:12px}.ds-input-file_sr-only_csqwh_95{border:0;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;text-indent:-999999px;white-space:nowrap}@keyframes ds-input-file_indeterminate-progress_csqwh_1{0%{left:-37.89%;animation-timing-function:ease-in}25%{left:0;animation-timing-function:ease-out}50%{left:95.84%;animation-timing-function:ease-in}75%{left:-8.55%;animation-timing-function:ease-out}to{left:-37.89%;animation-timing-function:ease-in}}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as w, jsxs as S } from "react/jsx-runtime";
|
|
3
3
|
import { d as x } from "./chunks/index.cKLI89Eg.js";
|
|
4
4
|
import { c as H } from "./chunks/index.DQOqod3i.js";
|
|
5
|
-
import { D } from "./chunks/Button.
|
|
5
|
+
import { D } from "./chunks/Button.BdqkFovu.js";
|
|
6
6
|
import './assets/banner.DFvdtgMp.css';const j = "ds-banner_root_1y1nw_1", k = "ds-banner_root--secondary_1y1nw_16", P = "ds-banner_root--highlight_1y1nw_20", z = "ds-banner_root--hide-close-button_1y1nw_24", E = "ds-banner_content_1y1nw_30", L = "ds-banner_close-button_1y1nw_42", d = {
|
|
7
7
|
root: j,
|
|
8
8
|
rootSecondary: k,
|
|
@@ -3,9 +3,9 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.cKLI89Eg.js";
|
|
4
4
|
import "./chunks/index.DQOqod3i.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/Button.
|
|
7
|
-
import "./link.
|
|
8
|
-
import { D as c } from "./chunks/Breadcrumb.
|
|
6
|
+
import "./chunks/Button.BdqkFovu.js";
|
|
7
|
+
import "./link.Ck9Yd2y2.js";
|
|
8
|
+
import { D as c } from "./chunks/Breadcrumb.ClHgevZX.js";
|
|
9
9
|
export {
|
|
10
10
|
c as DSBreadcrumb
|
|
11
11
|
};
|
|
@@ -3,10 +3,10 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.DQOqod3i.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "./chunks/useBreakpoint.1txsny17.js";
|
|
6
|
-
import "./chunks/Icon.
|
|
7
|
-
import "./spinner.
|
|
8
|
-
import "./tooltip.
|
|
9
|
-
import { D as u } from "./chunks/Button.
|
|
6
|
+
import "./chunks/Icon.BoxUJQDT.js";
|
|
7
|
+
import "./spinner.ww3wgdUU.js";
|
|
8
|
+
import "./tooltip.C6HKano9.js";
|
|
9
|
+
import { D as u } from "./chunks/Button.BdqkFovu.js";
|
|
10
10
|
export {
|
|
11
11
|
u as DSButton
|
|
12
12
|
};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsxs as P, jsx as H } from "react/jsx-runtime";
|
|
3
3
|
import { d as Q } from "./chunks/index.cKLI89Eg.js";
|
|
4
4
|
import { c as K } from "./chunks/index.DQOqod3i.js";
|
|
5
|
-
import { D as U } from "./chunks/Icon.
|
|
6
|
-
import { DSSpinner as V } from "./spinner.
|
|
7
|
-
import { Tooltip as M } from "./tooltip.
|
|
5
|
+
import { D as U } from "./chunks/Icon.BoxUJQDT.js";
|
|
6
|
+
import { DSSpinner as V } from "./spinner.ww3wgdUU.js";
|
|
7
|
+
import { Tooltip as M } from "./tooltip.C6HKano9.js";
|
|
8
8
|
import { forwardRef as W } from "react";
|
|
9
9
|
import './assets/buttonround.BTC-HthI.css';const X = "ds-button-round_root_1sl51_1", Y = "ds-button-round_root--highlight_1sl51_75", Z = "ds-button-round_root--dark-highlight_1sl51_75", tt = "ds-button-round_root--filled_1sl51_151", ot = "ds-button-round_root--dark-filled_1sl51_399", lt = "ds-button-round_root--icon-only-small_1sl51_656", et = "ds-button-round_icon--hidden_1sl51_673", it = "ds-button-round_label--hidden_1sl51_677", nt = "ds-button-round_label--loading_1sl51_689", st = "ds-button-round_loader_1sl51_693", l = {
|
|
10
10
|
root: X,
|
|
@@ -4,9 +4,9 @@ import "./chunks/index.DQOqod3i.js";
|
|
|
4
4
|
import "react";
|
|
5
5
|
import "./chunks/useBreakpoint.1txsny17.js";
|
|
6
6
|
import "./chunks/index.cKLI89Eg.js";
|
|
7
|
-
import "./chunks/Icon.
|
|
8
|
-
import "./chunks/SystemFeedback.
|
|
9
|
-
import { D as x } from "./chunks/Checkbox.
|
|
7
|
+
import "./chunks/Icon.BoxUJQDT.js";
|
|
8
|
+
import "./chunks/SystemFeedback.C2XFC5WN.js";
|
|
9
|
+
import { D as x } from "./chunks/Checkbox.vdWpXSUh.js";
|
|
10
10
|
export {
|
|
11
11
|
x as DSCheckbox
|
|
12
12
|
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "./chunks/index.cKLI89Eg.js";
|
|
4
4
|
import "./chunks/index.DQOqod3i.js";
|
|
5
|
-
import "./chunks/Fieldset.
|
|
6
|
-
import { D as e } from "./chunks/CheckboxGroup.
|
|
5
|
+
import "./chunks/Fieldset.8jatF24R.js";
|
|
6
|
+
import { D as e } from "./chunks/CheckboxGroup.BtVBLux3.js";
|
|
7
7
|
export {
|
|
8
8
|
e as DSCheckboxGroup
|
|
9
9
|
};
|
|
@@ -4,9 +4,9 @@ import "./chunks/index.cKLI89Eg.js";
|
|
|
4
4
|
import "./chunks/index.DQOqod3i.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "./chunks/translate.nuU7uChI.js";
|
|
7
|
-
import "./chunks/Icon.
|
|
8
|
-
import "./tooltip.
|
|
9
|
-
import { e as c } from "./chunks/Chip.
|
|
7
|
+
import "./chunks/Icon.BoxUJQDT.js";
|
|
8
|
+
import "./tooltip.C6HKano9.js";
|
|
9
|
+
import { e as c } from "./chunks/Chip.B_zwA2qc.js";
|
|
10
10
|
export {
|
|
11
11
|
c as DSChip
|
|
12
12
|
};
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as de, jsx as Y } from "react/jsx-runtime";
|
|
3
|
+
import { useState as W, useRef as Z, useEffect as V, createElement as fe } from "react";
|
|
4
|
+
import { d as me } from "./chunks/index.cKLI89Eg.js";
|
|
5
|
+
import { c as x } from "./chunks/index.DQOqod3i.js";
|
|
6
|
+
import { t as pe } from "./chunks/translate.nuU7uChI.js";
|
|
7
|
+
import { u as he } from "./chunks/useBreakpoint.1txsny17.js";
|
|
8
|
+
import { f as ge } from "./chunks/AriaLiveRegions.utils.8ofDlHnN.js";
|
|
9
|
+
import { v as be, b as Se, e as Ce, d as j } from "./chunks/Chip.B_zwA2qc.js";
|
|
10
|
+
import './assets/chipgroup.BGxjdSDX.css';const ke = "ds-chip-group_label--hidden_3zmt2_1", ye = "ds-chip-group_root_3zmt2_14", ee = {
|
|
11
|
+
labelHidden: ke,
|
|
12
|
+
root: ye
|
|
13
|
+
}, Be = (i) => {
|
|
14
|
+
const e = me.c(37);
|
|
15
|
+
let r, h, f, S, a, _, C, k, y, w, v, $, D;
|
|
16
|
+
e[0] !== i ? ({
|
|
17
|
+
chips: r,
|
|
18
|
+
id: f,
|
|
19
|
+
label: S,
|
|
20
|
+
className: h,
|
|
21
|
+
disableTooltips: C,
|
|
22
|
+
hideLabel: k,
|
|
23
|
+
isRemovable: y,
|
|
24
|
+
lang: w,
|
|
25
|
+
selectionMode: v,
|
|
26
|
+
size: $,
|
|
27
|
+
translations: D,
|
|
28
|
+
onChipsChange: a,
|
|
29
|
+
..._
|
|
30
|
+
} = i, e[0] = i, e[1] = r, e[2] = h, e[3] = f, e[4] = S, e[5] = a, e[6] = _, e[7] = C, e[8] = k, e[9] = y, e[10] = w, e[11] = v, e[12] = $, e[13] = D) : (r = e[1], h = e[2], f = e[3], S = e[4], a = e[5], _ = e[6], C = e[7], k = e[8], y = e[9], w = e[10], v = e[11], $ = e[12], D = e[13]);
|
|
31
|
+
const te = C === void 0 ? !1 : C, le = k === void 0 ? !1 : k, d = y === void 0 ? !1 : y, q = w === void 0 ? "en" : w, m = v === void 0 ? "single" : v, ne = $ === void 0 ? "medium" : $;
|
|
32
|
+
process.env.NODE_ENV !== "production" && be({
|
|
33
|
+
chips: r,
|
|
34
|
+
id: f,
|
|
35
|
+
label: S
|
|
36
|
+
});
|
|
37
|
+
const c = pe(D || Se[q]), [n, g] = W(null);
|
|
38
|
+
let A;
|
|
39
|
+
e[14] !== r ? (A = () => r.map(we), e[14] = r, e[15] = A) : A = e[15];
|
|
40
|
+
const [o, I] = W(A), J = Z(null), [u, P] = W();
|
|
41
|
+
let N;
|
|
42
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = [], e[16] = N) : N = e[16];
|
|
43
|
+
const E = Z(N);
|
|
44
|
+
let K, M;
|
|
45
|
+
e[17] !== r ? (M = () => {
|
|
46
|
+
I(r.map(ve));
|
|
47
|
+
}, K = [r], e[17] = r, e[18] = K, e[19] = M) : (K = e[18], M = e[19]), V(M, K);
|
|
48
|
+
let T, G;
|
|
49
|
+
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = () => {
|
|
50
|
+
const t = () => P("keydown"), l = () => P(null), s = () => P(null);
|
|
51
|
+
return document.addEventListener("keydown", t), document.addEventListener("mousedown", l), document.addEventListener("touchstart", s), () => {
|
|
52
|
+
document.removeEventListener("keydown", t), document.removeEventListener("mousedown", l), document.removeEventListener("touchstart", s);
|
|
53
|
+
};
|
|
54
|
+
}, G = [], e[20] = T, e[21] = G) : (T = e[20], G = e[21]), V(T, G);
|
|
55
|
+
let R;
|
|
56
|
+
e[22] !== n || e[23] !== u ? (R = () => {
|
|
57
|
+
n !== null && E.current[n] && u === "keydown" && E.current[n]?.focus();
|
|
58
|
+
}, e[22] = n, e[23] = u, e[24] = R) : R = e[24];
|
|
59
|
+
let z;
|
|
60
|
+
e[25] !== n ? (z = [n], e[25] = n, e[26] = z) : z = e[26], V(R, z);
|
|
61
|
+
let B;
|
|
62
|
+
e[27] !== o.length || e[28] !== n || e[29] !== u ? (B = () => {
|
|
63
|
+
u === "keydown" && n !== null && o.length > 0 && E.current.forEach((t, l) => {
|
|
64
|
+
t && (t.tabIndex = l === n ? 0 : -1, l === n && t.focus());
|
|
65
|
+
});
|
|
66
|
+
}, e[27] = o.length, e[28] = n, e[29] = u, e[30] = B) : B = e[30];
|
|
67
|
+
let F;
|
|
68
|
+
e[31] !== o ? (F = [o], e[31] = o, e[32] = F) : F = e[32], V(B, F);
|
|
69
|
+
const se = (t) => {
|
|
70
|
+
if (n === null)
|
|
71
|
+
return;
|
|
72
|
+
let l = n;
|
|
73
|
+
e: switch (t.key) {
|
|
74
|
+
case "a": {
|
|
75
|
+
(t.metaKey || t.ctrlKey) && (t.preventDefault(), oe());
|
|
76
|
+
break e;
|
|
77
|
+
}
|
|
78
|
+
case "ArrowRight":
|
|
79
|
+
case "ArrowDown": {
|
|
80
|
+
t.shiftKey && m === "multiple" && !d ? (l = n + 1 > o.length - 1 ? o.length - 1 : n + 1, n !== l ? (b(n), b(l)) : o[n].isSelected || b(n)) : (l = (n + 1) % o.length, t.preventDefault());
|
|
81
|
+
break e;
|
|
82
|
+
}
|
|
83
|
+
case "ArrowLeft":
|
|
84
|
+
case "ArrowUp": {
|
|
85
|
+
t.shiftKey && m === "multiple" && !d ? (l = n - 1 < 0 ? 0 : n - 1, n !== l ? (b(n), b(l)) : o[0].isSelected || b(0)) : (l = (n - 1 + o.length) % o.length, t.preventDefault());
|
|
86
|
+
break e;
|
|
87
|
+
}
|
|
88
|
+
case "Enter":
|
|
89
|
+
case " ": {
|
|
90
|
+
if (t.preventDefault(), d) {
|
|
91
|
+
U(l), o[l]?.onClick?.(t);
|
|
92
|
+
return;
|
|
93
|
+
} else
|
|
94
|
+
Q(l), o[l]?.onClick?.(t);
|
|
95
|
+
break e;
|
|
96
|
+
}
|
|
97
|
+
case "Backspace": {
|
|
98
|
+
d && U(l), t.preventDefault();
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
default:
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
g(l);
|
|
105
|
+
}, oe = () => {
|
|
106
|
+
if (m !== "multiple")
|
|
107
|
+
return;
|
|
108
|
+
const t = o.map($e);
|
|
109
|
+
I(t);
|
|
110
|
+
const l = t.length;
|
|
111
|
+
L(c("countSelected", [String(l), j(c, l), c("selected")])), a && a(t);
|
|
112
|
+
}, b = (t) => {
|
|
113
|
+
if (d)
|
|
114
|
+
return;
|
|
115
|
+
const l = o.map(De);
|
|
116
|
+
if (l[t].disabled)
|
|
117
|
+
return;
|
|
118
|
+
l[t].isSelected = !0;
|
|
119
|
+
const s = l.filter(Ie).length;
|
|
120
|
+
L(`${l[t].label} ${c("selected")}, ${c("countSelected", [String(s), j(c, s), c("selected")])}`), I(l), a && a(l);
|
|
121
|
+
}, Q = (t) => {
|
|
122
|
+
if (d)
|
|
123
|
+
return;
|
|
124
|
+
const l = [...o];
|
|
125
|
+
if (!l[t].disabled) {
|
|
126
|
+
if (m === "single")
|
|
127
|
+
l.forEach((s, p) => {
|
|
128
|
+
p === t ? (s.isSelected = !s.isSelected, L(s.isSelected ? `${s.label} ${c("selected")}` : `${s.label} ${c("notSelected")}`)) : s.isSelected = !1;
|
|
129
|
+
});
|
|
130
|
+
else if (m === "multiple") {
|
|
131
|
+
l[t].isSelected = !l[t].isSelected;
|
|
132
|
+
const s = l.filter(Ee).length, p = c("countSelected", [String(s), j(c, s), c("selected")]);
|
|
133
|
+
L(l[t].isSelected ? `${l[t].label} ${c("selected")}, ${p}` : `${l[t].label} ${c("notSelected")}, ${p}`);
|
|
134
|
+
}
|
|
135
|
+
I(l), a && a(l);
|
|
136
|
+
}
|
|
137
|
+
}, U = (t) => {
|
|
138
|
+
const l = o[t], s = o.filter((X, ue) => ue !== t).map(Le);
|
|
139
|
+
I(s);
|
|
140
|
+
const p = s.length;
|
|
141
|
+
if (L(`${l.label} ${c("removed")}, ${c("countRemaining", [String(p), j(c, p), c("remaining")])}`), u === "keydown")
|
|
142
|
+
if (s.length > 0) {
|
|
143
|
+
const X = Math.min(t, s.length - 1);
|
|
144
|
+
g(X);
|
|
145
|
+
} else
|
|
146
|
+
J.current?.focus(), g(null);
|
|
147
|
+
a && a(s);
|
|
148
|
+
}, ie = (t) => {
|
|
149
|
+
d ? U(t) : o[t].disabled || Q(t);
|
|
150
|
+
}, L = _e;
|
|
151
|
+
let H;
|
|
152
|
+
e[33] !== n ? (H = (t) => n === null || n === t ? 0 : -1, e[33] = n, e[34] = H) : H = e[34];
|
|
153
|
+
const ce = H, re = he(le);
|
|
154
|
+
let O;
|
|
155
|
+
e[35] !== h ? (O = x(ee.root, h), e[35] = h, e[36] = O) : O = e[36];
|
|
156
|
+
const ae = O;
|
|
157
|
+
return o.length === 0 ? null : /* @__PURE__ */ de("div", { children: [
|
|
158
|
+
/* @__PURE__ */ Y("div", { id: f, className: x({
|
|
159
|
+
[ee.labelHidden]: re
|
|
160
|
+
}) || void 0, children: S }),
|
|
161
|
+
o.length > 0 && /* @__PURE__ */ Y("div", { ref: J, role: "grid", "aria-labelledby": f, "aria-multiselectable": m === "multiple", tabIndex: -1, onKeyDown: se, onFocus: () => {
|
|
162
|
+
n === null ? (E.current[0].focus(), u === "keydown" && g(0)) : u === "keydown" && g(n);
|
|
163
|
+
}, onBlur: () => g(null), className: ae, ..._, children: o.map((t, l) => /* @__PURE__ */ fe(Ce, { ...t, key: `${t.id}-${l}`, "data-focused": n === l, disableTooltips: te, groupId: f, isRemovable: d, lang: q, selectionMode: m, size: ne, tabIndex: ce(l), translations: D, onClick: (s) => {
|
|
164
|
+
ie(l), t.onClick && t.onClick(s);
|
|
165
|
+
}, ref: (s) => {
|
|
166
|
+
E.current[l] = s;
|
|
167
|
+
} })) })
|
|
168
|
+
] });
|
|
169
|
+
};
|
|
170
|
+
function we(i) {
|
|
171
|
+
return {
|
|
172
|
+
...i
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
function ve(i) {
|
|
176
|
+
return {
|
|
177
|
+
...i
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
function $e(i) {
|
|
181
|
+
return {
|
|
182
|
+
...i,
|
|
183
|
+
selected: !i.disabled
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
function De(i) {
|
|
187
|
+
return {
|
|
188
|
+
...i
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
function Ie(i) {
|
|
192
|
+
const {
|
|
193
|
+
isSelected: e
|
|
194
|
+
} = i;
|
|
195
|
+
return e;
|
|
196
|
+
}
|
|
197
|
+
function Ee(i) {
|
|
198
|
+
const {
|
|
199
|
+
isSelected: e
|
|
200
|
+
} = i;
|
|
201
|
+
return e;
|
|
202
|
+
}
|
|
203
|
+
function Le(i) {
|
|
204
|
+
return {
|
|
205
|
+
...i
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
function _e(i) {
|
|
209
|
+
ge(i, "DSChipGroup");
|
|
210
|
+
}
|
|
211
|
+
export {
|
|
212
|
+
Be as DSChipGroup
|
|
213
|
+
};
|
|
@@ -4,7 +4,7 @@ import { d as fe } from "./index.cKLI89Eg.js";
|
|
|
4
4
|
import { c as N } from "./index.DQOqod3i.js";
|
|
5
5
|
import { forwardRef as ge, useRef as Se, useState as ve, useImperativeHandle as Ce, useEffect as ye } from "react";
|
|
6
6
|
import { DSHeading as We } from "../heading.BHSklXho.js";
|
|
7
|
-
import { D as Ne } from "./Icon.
|
|
7
|
+
import { D as Ne } from "./Icon.BoxUJQDT.js";
|
|
8
8
|
import { NumberIndicator as Oe } from "../numberindicator.ZGVRSmqf.js";
|
|
9
9
|
import { g as $ } from "./helpers.CexwVao7.js";
|
|
10
10
|
import '../assets/Accordion.Cr1dbVTH.css';const we = "ds-accordion_details_2g22m_1", De = "ds-accordion_summary_2g22m_117", be = "ds-accordion_summary--utility--m_2g22m_156", xe = "ds-accordion_summary--flush_2g22m_185", Ae = "ds-accordion_summary--small_2g22m_253", Ie = "ds-accordion_summary--x-small_2g22m_257", Ee = "ds-accordion_summary-content-wrapper_2g22m_262", Xe = "ds-accordion_summary-content-wrapper--flush_2g22m_268", Fe = "ds-accordion_summary-content-wrapper--chevron-left_2g22m_272", Te = "ds-accordion_summary-content-wrapper--x-small_2g22m_276", Pe = "ds-accordion_heading-summary-wrapper_2g22m_280", Re = "ds-accordion_heading-summary_2g22m_280", Le = "ds-accordion_heading-summary--x-small_2g22m_290", je = "ds-accordion_hint_2g22m_294", ze = "ds-accordion_icon_2g22m_308", Me = "ds-accordion_icon--open_2g22m_319", He = "ds-accordion_icon--open-caret_2g22m_330", Ue = "ds-accordion_content-wrapper_2g22m_342", qe = "ds-accordion_content-wrapper--flush_2g22m_348", Ve = "ds-accordion_content-wrapper--small_2g22m_352", Ze = "ds-accordion_content-wrapper--x-small_2g22m_356", t = {
|
|
@@ -3,9 +3,9 @@ import { jsxs as q, jsx as d, Fragment as zt } from "react/jsx-runtime";
|
|
|
3
3
|
import { d as St } from "./index.cKLI89Eg.js";
|
|
4
4
|
import { c as C } from "./index.DQOqod3i.js";
|
|
5
5
|
import { forwardRef as Pt } from "react";
|
|
6
|
-
import { D as wt } from "./Icon.
|
|
6
|
+
import { D as wt } from "./Icon.BoxUJQDT.js";
|
|
7
7
|
import { NumberIndicator as Tt } from "../numberindicator.ZGVRSmqf.js";
|
|
8
|
-
import { Tooltip as Wt } from "../tooltip.
|
|
8
|
+
import { Tooltip as Wt } from "../tooltip.C6HKano9.js";
|
|
9
9
|
import { g as f } from "./helpers.CexwVao7.js";
|
|
10
10
|
import '../assets/ActionButton.BLOWs6IZ.css';const Ct = "ds-action-button_root_19zdv_1", Dt = "ds-action-button_root--indent-level-1_19zdv_75", Ot = "ds-action-button_root--active_19zdv_78", Bt = "ds-action-button_root--active--with-marker_19zdv_81", kt = "ds-action-button_root--icon--top_19zdv_84", Lt = "ds-action-button_root--stretched_19zdv_110", Et = "ds-action-button_active-marker_19zdv_115", xt = "ds-action-button_active-marker--with-indent_19zdv_127", Mt = "ds-action-button_icon-wrapper_19zdv_131", Ut = "ds-action-button_icon-wrapper--x-large_19zdv_134", Rt = "ds-action-button_icon-wrapper--with-number-indicator_19zdv_137", Vt = "ds-action-button_icon-wrapper--with-number-indicator--with-value_19zdv_145", yt = "ds-action-button_label_19zdv_149", Ht = "ds-action-button_label--bold_19zdv_160", Xt = "ds-action-button_label--active_19zdv_171", jt = "ds-action-button_label--icon-top_19zdv_182", Ft = "ds-action-button_number-indicator_19zdv_205", Gt = "ds-action-button_label-wrapper_19zdv_209", Zt = "ds-action-button_label-wrapper--icon-top_19zdv_214", $t = "ds-action-button_chevron_19zdv_218", qt = "ds-action-button_chevron--icon-position-top_19zdv_233", Jt = "ds-action-button_chevron--up_19zdv_239", Kt = "ds-action-button_chevron--right_19zdv_250", Qt = "ds-action-button_chevron--left_19zdv_261", o = {
|
|
11
11
|
root: Ct,
|