@stihl-design-system/components 1.0.0-RC.35 → 1.0.0-RC.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Placeholder.svg +1 -1
- package/{actionbutton.Du5CT-Mt.js → actionbutton.qf7Bc8JA.js} +1 -1
- package/{actionlink.BK9CaQUY.js → actionlink.Ke8jQtse.js} +1 -1
- package/assets/ActionButton.sn7jTqva.css +1 -0
- package/assets/ActionLink.D7fuY3NQ.css +1 -0
- package/assets/LinkCard.DgC0-Ow5.css +1 -0
- package/assets/RadioGroup.q1lQ-HIZ.css +1 -0
- package/assets/TextUtility.BsMYk5lH.css +1 -0
- package/assets/radio.BLd_UGcp.css +1 -0
- package/assets/{Text.Dgpj61UP.css → text.ZCpNYmwU.css} +1 -1
- package/{banner.D-RX60nJ.js → banner.AhUeW3HM.js} +1 -1
- package/{breadcrumb.tvMByFgp.js → breadcrumb.DpIAQk3r.js} +3 -3
- package/{button.CZupaV9L.js → button.CqNYOfSj.js} +1 -1
- package/card-example-image-2.png +0 -0
- package/card-example-image-2.webp +0 -0
- package/card-example-image-3.webp +0 -0
- package/card-example-image.webp +0 -0
- package/{checkboxgroup.CjnNJ8e6.js → checkboxgroup.C66ZwglF.js} +2 -2
- package/{chipgroup.cGjn4LVV.js → chipgroup.CY3pWyLO.js} +2 -1
- package/chunks/{ActionButton.BOYQYo5M.js → ActionButton.CyMR7DqS.js} +47 -47
- package/chunks/ActionLink.5wdpwrU9.js +153 -0
- package/chunks/{Breadcrumb.Qr6bDP2N.js → Breadcrumb.C_Yaz_vw.js} +2 -2
- package/chunks/{Button.Cn5yg7dG.js → Button.CQlIao-Z.js} +3 -2
- package/chunks/{CheckboxGroup.CUR_0VMc.js → CheckboxGroup.BIspWqeW.js} +1 -1
- package/chunks/{CustomReactSelect.BA3hUVkh.js → CustomReactSelect.D4kopDzX.js} +1 -1
- package/chunks/{Dialog.DRk_jSj5.js → Dialog.DMxHRrxo.js} +1 -1
- package/chunks/{Drawer.Dj6WeUC8.js → Drawer.CatmvDHJ.js} +1 -1
- package/chunks/{Fieldset.C0RzpI-h.js → Fieldset.Bk8W5h13.js} +1 -1
- package/chunks/{InputFile.Bki3bs3U.js → InputFile.CjK3gEst.js} +3 -3
- package/chunks/{InputNumber.B43cqBH0.js → InputNumber.wfDjnz58.js} +2 -2
- package/chunks/{InputPassword.DcdMjsXr.js → InputPassword.Ctb0xbwg.js} +2 -2
- package/chunks/{InputSearch.CJm6ph8W.js → InputSearch.C-r5ktR8.js} +2 -2
- package/chunks/{LinkButton.C6F-yuLL.js → LinkButton.CWibqvhs.js} +2 -1
- package/chunks/LinkCard.BjXQ85ZH.js +159 -0
- package/chunks/{NavigationTabs.CQxlahX1.js → NavigationTabs.SBNLx87A.js} +1 -1
- package/chunks/{Notification.Qzz88ngL.js → Notification.DYl1rcGu.js} +1 -1
- package/chunks/{Popover.D7McfVaH.js → Popover.C9tT8xkE.js} +1 -1
- package/chunks/RadioGroup.DupoApOX.js +125 -0
- package/chunks/{Select.B0uMOSSD.js → Select.BjBPN-6W.js} +1 -1
- package/chunks/{Slider.YTIktxxD.js → Slider.Bh2jhGKn.js} +2 -2
- package/chunks/{Stepper.BvPmbbqw.js → Stepper.D1Yzw-gL.js} +2 -2
- package/chunks/{Tabs.CoO_lrhV.js → Tabs.BvG-OPWa.js} +1 -1
- package/chunks/Text.utils.B4MiHAK_.js +11 -0
- package/chunks/TextUtility.C68m5upo.js +82 -0
- package/chunks/{Textarea.lYiPXerd.js → Textarea.DibBqiam.js} +1 -1
- package/chunks/{Toast.L5HAuEOn.js → Toast.ldZRNpGM.js} +1 -1
- package/combobox.C2XUM4fM.js +67 -0
- package/components/LinkCard/Link.utils.test.d.ts +1 -0
- package/components/LinkCard/LinkCard.d.ts +80 -0
- package/components/LinkCard/LinkCard.test.d.ts +1 -0
- package/components/LinkCard/LinkCard.utils.d.ts +10 -0
- package/components/RadioGroup/RadioGroup.utils.d.ts +3 -2
- package/components/Scroller/Scroller.test.d.ts +1 -0
- package/components/TextUtility/TextUtility.d.ts +30 -0
- package/components/TextUtility/TextUtility.test.d.ts +1 -0
- package/components/TextUtility/TextUtility.utils.d.ts +10 -0
- package/components/TextUtility/TextUtility.utils.test.d.ts +1 -0
- package/{customreactselect.BgYf8rKE.js → customreactselect.BNwzk8Qi.js} +2 -2
- package/{dialog.Bq-ZyzR8.js → dialog.D5geKDtZ.js} +2 -2
- package/{drawer.DL5UzLWf.js → drawer.ucjhpIF4.js} +2 -2
- package/{fieldset.BFLW2D9H.js → fieldset.Crx4Cb9a.js} +2 -2
- package/{filelist.BG6SGVJ8.js → filelist.Bcu6TZRj.js} +1 -1
- package/index.d.ts +4 -0
- package/index.es.js +167 -156
- package/{input.hBWqQr3X.js → input.DL_M_Pg3.js} +2 -2
- package/{inputfile.BSZuRujU.js → inputfile.iwsNHjrc.js} +4 -4
- package/{inputnumber.CA4JiUmq.js → inputnumber.raC_7KIP.js} +3 -3
- package/{inputpassword.Cju_crMi.js → inputpassword.Brte78Sr.js} +3 -3
- package/{inputsearch.CU9AhVVv.js → inputsearch.BP0EzFcF.js} +3 -3
- package/{link.DoiK003-.js → link.BtZeNdii.js} +1 -1
- package/{linkbutton.CWco_B7v.js → linkbutton.In_ROT0Z.js} +1 -1
- package/linkcard.B43Y9rO4.js +12 -0
- package/linkcard.d.ts +2 -0
- package/{navigationtabs.zhRZHjgs.js → navigationtabs.EbmfKv1R.js} +2 -2
- package/{notification.BiXdWNo7.js → notification.tadg6lCc.js} +2 -2
- package/package.json +3 -3
- package/partials/index.js +20 -8
- package/partials/lib/partials.d.ts +1 -1
- package/{popover.79Voiadz.js → popover.CXq7VoZt.js} +2 -2
- package/radio.DYKHJbxF.js +134 -0
- package/{radiogroup.CwBh7u9L.js → radiogroup.D-t1_oGC.js} +3 -3
- package/{scroller.IpfbFV8B.js → scroller.B1LijjCF.js} +1 -1
- package/{select.NHaEtX_u.js → select.CZ0C3yJD.js} +2 -2
- package/{skiptocontent.X4USTODk.js → skiptocontent.CAQy194o.js} +1 -1
- package/{slider.jnNGEyBq.js → slider.B3u5du_Q.js} +3 -3
- package/{step.D5p7qppy.js → step.DaJFsafj.js} +1 -1
- package/{stepper.DnMc4ex6.js → stepper.DcaZESJi.js} +3 -3
- package/styles/scss/ds/lib/text.scss +5 -5
- package/{tablist.BFE6RAPD.js → tablist.mX5nQWwH.js} +1 -1
- package/{tabs.CsOxxQyQ.js → tabs.DjWfks34.js} +2 -2
- package/text.CQdFtUUQ.js +72 -0
- package/{textarea.C9OAAjhG.js → textarea.69r-5faY.js} +2 -2
- package/{text.cLv2PhjQ.js → textutility.DMKAWLsT.js} +3 -2
- package/textutility.d.ts +2 -0
- package/{toast.OBI9qnAM.js → toast.FzO5KoiK.js} +2 -2
- package/{toastmanager.CgsA-1y_.js → toastmanager.BGIYNKkT.js} +1 -1
- package/assets/ActionButton.oGVPTS1J.css +0 -1
- package/assets/ActionLink.CTh6IXrN.css +0 -1
- package/assets/RadioGroup.CM2mYOzc.css +0 -1
- package/assets/radio.CgpGvYc-.css +0 -1
- package/chunks/ActionLink.BlwvrnPN.js +0 -153
- package/chunks/RadioGroup.B2VCD9x-.js +0 -106
- package/chunks/Text.DpRtTpB4.js +0 -75
- package/combobox.CGEDlMo0.js +0 -71
- package/radio.DHUfSPai.js +0 -126
package/text.CQdFtUUQ.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as $ } from "react/jsx-runtime";
|
|
3
|
+
import { d as z } from "./chunks/index.D-sRdssb.js";
|
|
4
|
+
import { c as P } from "./chunks/index.DL9mof6u.js";
|
|
5
|
+
import { useRef as R, useEffect as j } from "react";
|
|
6
|
+
import { g as v } from "./chunks/helpers.CexwVao7.js";
|
|
7
|
+
import { i as N } from "./chunks/Text.utils.B4MiHAK_.js";
|
|
8
|
+
import './assets/text.ZCpNYmwU.css';const C = "ds-text_root_1x9it_6", O = "ds-text_root--large_1x9it_15", V = "ds-text_root--large-bold_1x9it_26", W = "ds-text_root--medium_1x9it_37", q = "ds-text_root--medium-bold_1x9it_48", A = "ds-text_root--small_1x9it_59", F = "ds-text_root--small-bold_1x9it_70", G = "ds-text_root--x-small_1x9it_81", H = "ds-text_root--x-small-bold_1x9it_92", I = "ds-text_root--xx-small_1x9it_103", J = "ds-text_root--theme-dark_1x9it_197", o = {
|
|
9
|
+
root: C,
|
|
10
|
+
rootLarge: O,
|
|
11
|
+
rootLargeBold: V,
|
|
12
|
+
rootMedium: W,
|
|
13
|
+
rootMediumBold: q,
|
|
14
|
+
rootSmall: A,
|
|
15
|
+
rootSmallBold: F,
|
|
16
|
+
rootXSmall: G,
|
|
17
|
+
rootXSmallBold: H,
|
|
18
|
+
rootXxSmall: I,
|
|
19
|
+
rootThemeDark: J
|
|
20
|
+
}, ot = (g) => {
|
|
21
|
+
const t = z.c(28);
|
|
22
|
+
let s, r, i, a, m, n, d;
|
|
23
|
+
t[0] !== g ? ({
|
|
24
|
+
children: s,
|
|
25
|
+
className: r,
|
|
26
|
+
size: a,
|
|
27
|
+
tag: m,
|
|
28
|
+
theme: n,
|
|
29
|
+
weight: d,
|
|
30
|
+
...i
|
|
31
|
+
} = g, t[0] = g, t[1] = s, t[2] = r, t[3] = i, t[4] = a, t[5] = m, t[6] = n, t[7] = d) : (s = t[1], r = t[2], i = t[3], a = t[4], m = t[5], n = t[6], d = t[7]);
|
|
32
|
+
const e = a === void 0 ? "medium" : a, l = m === void 0 ? "p" : m, y = n === void 0 ? "light" : n, c = d === void 0 ? "normal" : d, x = R(null);
|
|
33
|
+
let _, h;
|
|
34
|
+
t[8] !== l ? (_ = () => {
|
|
35
|
+
if (x.current && process.env.NODE_ENV !== "production")
|
|
36
|
+
t: switch (l) {
|
|
37
|
+
case "li": {
|
|
38
|
+
if (!N(x.current, "ul, ol"))
|
|
39
|
+
throw Error(v("DSText", `The DSText component with the tag "${l}" is not within a list element (ul, ol). This may cause issues with list semantics. Please ensure the DSText component is within a list element.`));
|
|
40
|
+
break t;
|
|
41
|
+
}
|
|
42
|
+
case "dt":
|
|
43
|
+
case "dd": {
|
|
44
|
+
if (!N(x.current, "dl"))
|
|
45
|
+
throw Error(v("DSText", `The DSText component with the tag "${l}" is not within a list element (dl). This may cause issues with list semantics. Please ensure the DSText component is within a list element.`));
|
|
46
|
+
break t;
|
|
47
|
+
}
|
|
48
|
+
default:
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
}, h = [l], t[8] = l, t[9] = _, t[10] = h) : (_ = t[9], h = t[10]), j(_, h);
|
|
52
|
+
const f = l, p = e === "large", T = e === "large" && c === "bold", w = e == "medium", B = e === "medium" && c === "bold", D = e == "small", b = e == "small" && c === "bold", X = e == "x-small", k = e == "x-small" && c === "bold", E = e == "xx-small", M = y === "dark";
|
|
53
|
+
let u;
|
|
54
|
+
t[11] !== r || t[12] !== B || t[13] !== D || t[14] !== b || t[15] !== X || t[16] !== k || t[17] !== E || t[18] !== M || t[19] !== p || t[20] !== T || t[21] !== w ? (u = P(o.root, r, {
|
|
55
|
+
[o.rootLarge]: p,
|
|
56
|
+
[o.rootLargeBold]: T,
|
|
57
|
+
[o.rootMedium]: w,
|
|
58
|
+
[o.rootMediumBold]: B,
|
|
59
|
+
[o.rootSmall]: D,
|
|
60
|
+
[o.rootSmallBold]: b,
|
|
61
|
+
[o.rootXSmall]: X,
|
|
62
|
+
[o.rootXSmallBold]: k,
|
|
63
|
+
[o.rootXxSmall]: E,
|
|
64
|
+
[o.rootThemeDark]: M
|
|
65
|
+
}), t[11] = r, t[12] = B, t[13] = D, t[14] = b, t[15] = X, t[16] = k, t[17] = E, t[18] = M, t[19] = p, t[20] = T, t[21] = w, t[22] = u) : u = t[22];
|
|
66
|
+
const L = u;
|
|
67
|
+
let S;
|
|
68
|
+
return t[23] !== f || t[24] !== s || t[25] !== i || t[26] !== L ? (S = /* @__PURE__ */ $(f, { className: L, ref: x, ...i, children: s }), t[23] = f, t[24] = s, t[25] = i, t[26] = L, t[27] = S) : S = t[27], S;
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
ot as DSText
|
|
72
|
+
};
|
|
@@ -6,9 +6,9 @@ import "./chunks/helpers.CexwVao7.js";
|
|
|
6
6
|
import "./chunks/useBreakpoint.1txsny17.js";
|
|
7
7
|
import "./chunks/index.D-sRdssb.js";
|
|
8
8
|
import "./asterisk.B2ih8VwF.js";
|
|
9
|
-
import "./chunks/Popover.
|
|
9
|
+
import "./chunks/Popover.C9tT8xkE.js";
|
|
10
10
|
import "./chunks/SystemFeedback.CjlARKki.js";
|
|
11
|
-
import { D as c } from "./chunks/Textarea.
|
|
11
|
+
import { D as c } from "./chunks/Textarea.DibBqiam.js";
|
|
12
12
|
export {
|
|
13
13
|
c as DSTextarea
|
|
14
14
|
};
|
|
@@ -4,7 +4,8 @@ import "./chunks/index.D-sRdssb.js";
|
|
|
4
4
|
import "./chunks/index.DL9mof6u.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "./chunks/helpers.CexwVao7.js";
|
|
7
|
-
import
|
|
7
|
+
import "./chunks/Text.utils.B4MiHAK_.js";
|
|
8
|
+
import { D as s } from "./chunks/TextUtility.C68m5upo.js";
|
|
8
9
|
export {
|
|
9
|
-
s as
|
|
10
|
+
s as DSTextUtility
|
|
10
11
|
};
|
package/textutility.d.ts
ADDED
|
@@ -3,9 +3,9 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.D-sRdssb.js";
|
|
4
4
|
import "./chunks/index.DL9mof6u.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/Button.
|
|
6
|
+
import "./chunks/Button.CQlIao-Z.js";
|
|
7
7
|
import "./chunks/Icon.CDLyB7Pv.js";
|
|
8
|
-
import { D as a } from "./chunks/Toast.
|
|
8
|
+
import { D as a } from "./chunks/Toast.ldZRNpGM.js";
|
|
9
9
|
export {
|
|
10
10
|
a as DSToast
|
|
11
11
|
};
|
|
@@ -4,7 +4,7 @@ import { createContext as C, useContext as O, useState as g, useRef as _, useEff
|
|
|
4
4
|
import { g as u } from "./chunks/helpers.CexwVao7.js";
|
|
5
5
|
import "./chunks/index.D-sRdssb.js";
|
|
6
6
|
import { b as A, g as w } from "./chunks/AriaLiveRegions.utils.CybNIBSa.js";
|
|
7
|
-
import { D as j, s as q } from "./chunks/Toast.
|
|
7
|
+
import { D as j, s as q } from "./chunks/Toast.ldZRNpGM.js";
|
|
8
8
|
import { h as Q } from "./chunks/has-window.ut_-aShB.js";
|
|
9
9
|
const k = () => {
|
|
10
10
|
if (!A() || !w())
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ds-action-button_root_15ybf_1:focus{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors: active){.ds-action-button_root_15ybf_1:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-action-button_root_15ybf_1:focus{outline:revert;outline-offset:revert}.ds-action-button_root_15ybf_1:focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors: active){.ds-action-button_root_15ybf_1:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}:where(.ds-action-button_root_15ybf_1){padding-block-start:5px;padding-block-end:5px;padding-inline-start:15px;padding-inline-end:15px}.ds-action-button_root_15ybf_1{color:#252525;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2rem;border-width:1px;border-style:solid;border-color:transparent;border-radius:2px;transform:translateZ(0);white-space:nowrap;overflow-wrap:normal;text-align:center;text-decoration:none;background-color:transparent;cursor:pointer}@media (hover: hover){.ds-action-button_root_15ybf_1:hover{background-color:#0000001a}}.ds-action-button_root_15ybf_1{transition:background-color var(--ds-animation-duration, .1s) linear,border-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-action-button_root_15ybf_1{transition-duration:0ms}}@media screen and (forced-colors: active){.ds-action-button_root_15ybf_1{background-color:Canvas!important}.ds-action-button_root_15ybf_1:hover{border-color:Highlight}}.ds-action-button_root--indent-level-1_15ybf_75{padding-inline-start:39px}.ds-action-button_root--active_15ybf_78{background-color:#0000001a}.ds-action-button_root--active--with-marker_15ybf_81{padding-inline-start:0px}.ds-action-button_root--icon--top_15ybf_84{gap:.25rem;flex-direction:column;min-height:3.375rem;padding-block-start:11px;padding-block-end:5px;padding-inline-start:7px;padding-inline-end:7px}.ds-action-button_root_15ybf_1[aria-disabled=true]{background-color:transparent;color:#00000080;cursor:not-allowed}.ds-action-button_root_15ybf_1[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){.ds-action-button_root_15ybf_1[aria-disabled=true]{color:GrayText;border-color:GrayText}}.ds-action-button_root_15ybf_1[aria-disabled=true]:before{background-color:transparent}.ds-action-button_root--stretched_15ybf_110{justify-content:flex-start;width:100%}.ds-action-button_active-marker_15ybf_115{width:.25rem;height:1.25rem;margin-inline-start:-.0625rem;margin-inline-end:.25rem;background-color:#e9640c}@media screen and (forced-colors: active){.ds-action-button_active-marker_15ybf_115{background-color:Highlight}}.ds-action-button_active-marker--with-indent_15ybf_127{margin-inline-end:1.75rem}.ds-action-button_icon-wrapper_15ybf_131{height:1rem}.ds-action-button_icon-wrapper--x-large_15ybf_134{height:1.5rem}.ds-action-button_icon-wrapper--with-number-indicator_15ybf_137{position:relative}.ds-action-button_icon-wrapper--with-number-indicator_15ybf_137>span{position:absolute;top:-25%;left:.625rem}.ds-action-button_icon-wrapper--with-number-indicator--with-value_15ybf_145>span{top:-50%}.ds-action-button_label_15ybf_149{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-action-button_label--bold_15ybf_160,.ds-action-button_label--active_15ybf_171{font-family:STIHL Contraface Digital Text Bold,-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:.426}.ds-action-button_label--icon-top_15ybf_182{font-family:STIHL Contraface Digital Text Demi,-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:.75rem;line-height:1.14;font-size-adjust:.42}.ds-action-button_label--icon-top_15ybf_182.ds-action-button_label--active_15ybf_171{font-family:STIHL Contraface Digital Text Bold,-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:.75rem;line-height:1.33;font-size-adjust:.426}.ds-action-button_number-indicator_15ybf_205{margin-inline-start:auto}.ds-action-button_label-wrapper_15ybf_209{display:flex;align-items:center;gap:.375rem}.ds-action-button_label-wrapper--icon-top_15ybf_214{gap:.125rem}.ds-action-button_chevron_15ybf_218{transform:rotate(0);min-width:.75rem;min-height:.75rem;width:.75rem;height:.75rem}.ds-action-button_chevron_15ybf_218{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(.5,0,1,1)}@media (prefers-reduced-motion: reduce){.ds-action-button_chevron_15ybf_218{transition-duration:0ms}}.ds-action-button_chevron--icon-position-top_15ybf_233{min-width:.625rem;min-height:.625rem;width:.625rem;height:.625rem}.ds-action-button_chevron--up_15ybf_239{transform:rotate(-180deg)}.ds-action-button_chevron--up_15ybf_239{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1)}@media (prefers-reduced-motion: reduce){.ds-action-button_chevron--up_15ybf_239{transition-duration:0ms}}.ds-action-button_chevron--right_15ybf_250{transform:rotate(-90deg)}.ds-action-button_chevron--right_15ybf_250{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1)}@media (prefers-reduced-motion: reduce){.ds-action-button_chevron--right_15ybf_250{transition-duration:0ms}}.ds-action-button_chevron--left_15ybf_261{transform:rotate(-270deg)}.ds-action-button_chevron--left_15ybf_261{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1)}@media (prefers-reduced-motion: reduce){.ds-action-button_chevron--left_15ybf_261{transition-duration:0ms}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ds-action-link_root_1xtta_1:focus{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors: active){.ds-action-link_root_1xtta_1:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-action-link_root_1xtta_1:focus{outline:revert;outline-offset:revert}.ds-action-link_root_1xtta_1:focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors: active){.ds-action-link_root_1xtta_1:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}:where(.ds-action-link_root_1xtta_1){padding-block-start:5px;padding-block-end:5px;padding-inline-start:15px;padding-inline-end:15px}.ds-action-link_root_1xtta_1{color:#252525;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2rem;border-width:1px;border-style:solid;border-color:transparent;border-radius:2px;transform:translateZ(0);white-space:nowrap;overflow-wrap:normal;text-align:center;text-decoration:none;background-color:transparent;cursor:pointer}@media (hover: hover){.ds-action-link_root_1xtta_1:hover{background-color:#0000001a}}.ds-action-link_root_1xtta_1{transition:background-color var(--ds-animation-duration, .1s) linear,border-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-action-link_root_1xtta_1{transition-duration:0ms}}@media screen and (forced-colors: active){.ds-action-link_root_1xtta_1{background-color:Canvas!important}.ds-action-link_root_1xtta_1:hover{border-color:Highlight}}.ds-action-link_root--indent-level-1_1xtta_75{padding-inline-start:39px}.ds-action-link_root--active_1xtta_78{background-color:#0000001a}.ds-action-link_root--active--with-marker_1xtta_81{padding-inline-start:0px}.ds-action-link_root--icon--top_1xtta_84{gap:.25rem;flex-direction:column;min-height:3.375rem;padding-block-start:11px;padding-block-end:5px;padding-inline-start:7px;padding-inline-end:7px}.ds-action-link_root_1xtta_1[aria-disabled=true]{background-color:transparent;color:#00000080;cursor:not-allowed}.ds-action-link_root_1xtta_1[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){.ds-action-link_root_1xtta_1[aria-disabled=true]{color:GrayText;border-color:GrayText}}.ds-action-link_root_1xtta_1[aria-disabled=true]:before{background-color:transparent}.ds-action-link_root--stretched_1xtta_110{justify-content:flex-start;width:100%}.ds-action-link_active-marker_1xtta_115{width:.25rem;height:1.25rem;margin-inline-start:-.0625rem;margin-inline-end:.25rem;background-color:#e9640c}@media screen and (forced-colors: active){.ds-action-link_active-marker_1xtta_115{background-color:Highlight}}.ds-action-link_active-marker--with-indent_1xtta_127{margin-inline-end:1.75rem}.ds-action-link_icon-wrapper_1xtta_131{height:1rem}.ds-action-link_icon-wrapper--x-large_1xtta_134{height:1.5rem}.ds-action-link_icon-wrapper--with-number-indicator_1xtta_137{position:relative}.ds-action-link_icon-wrapper--with-number-indicator_1xtta_137>span{position:absolute;top:-25%;left:.625rem}.ds-action-link_icon-wrapper--with-number-indicator--with-value_1xtta_145>span{top:-50%}.ds-action-link_label_1xtta_149{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-action-link_label--bold_1xtta_160,.ds-action-link_label--active_1xtta_171{font-family:STIHL Contraface Digital Text Bold,-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:.426}.ds-action-link_label--icon-top_1xtta_182{font-family:STIHL Contraface Digital Text Demi,-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:.75rem;line-height:1.14;font-size-adjust:.42}.ds-action-link_label--icon-top_1xtta_182.ds-action-link_label--active_1xtta_171{font-family:STIHL Contraface Digital Text Bold,-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:.75rem;line-height:1.33;font-size-adjust:.426}.ds-action-link_number-indicator_1xtta_205{margin-inline-start:auto}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ds-radio-group_root_12fot_1{display:flex;flex-direction:column;row-gap:16px;column-gap:24px;flex-wrap:wrap;margin-block-start:-8px}.ds-radio-group_root--horizontal_12fot_9{flex-direction:row}.ds-radio-group_root--invalid_12fot_12{margin-block-start:-16px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ds-radio_root_2idos_1{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;color:#252525;display:grid;grid-template-areas:"dot label";grid-template-columns:auto 1fr;justify-content:flex-start;gap:8px;padding:0;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;height:fit-content;max-width:fit-content}.ds-radio_root--disabled_2idos_24{cursor:not-allowed}.ds-radio_root--with-custom-area_2idos_27{max-width:none}.ds-radio_root--with-custom-area--above_2idos_30{grid-template-areas:"custom-area custom-area" "dot label";grid-template-columns:auto 1fr;grid-template-rows:auto}.ds-radio_radio_2idos_36{grid-area:dot;width:1.25rem;height:1.25rem;min-width:1.25rem;min-height:1.25rem;border-radius:50%;border:1px solid #252525;position:relative}.ds-radio_radio_2idos_36{transition:background-color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-radio_radio_2idos_36{transition-duration:0ms}}.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{opacity:0;height:.75rem;width:.75rem;border-radius:50%;background-color:#e9640c;position:absolute;top:50%;left:50%;transform:translate3d(-50%,-50%,0)}.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{transition:opacity var(--ds-animation-duration, .1s) linear,background-color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{transition-duration:0ms}}@media screen and (forced-colors: active){.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{background-color:Highlight}}.ds-radio_radio--invalid_2idos_78{border-color:#d43b3b;box-shadow:0 0 0 1px #d43b3b}.ds-radio_label_2idos_83{grid-area:label;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;width:100%;max-width:34em;display:grid;grid-template-areas:"label custom-area" "hint hint";grid-template-columns:auto minmax(auto,1fr)}.ds-radio_label--bold_2idos_100{font-family:STIHL Contraface Digital Text Bold,-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:.426}.ds-radio_label--with-custom-area_2idos_111{column-gap:8px}.ds-radio_custom-area_2idos_115{grid-area:custom-area;margin-inline-start:4px;min-width:max-content;min-height:1.25rem;max-height:2rem;overflow-y:hidden}.ds-radio_custom-area--above_2idos_123{overflow-y:visible;max-height:unset;margin-inline-start:0px}.ds-radio_hint_2idos_129{grid-area:hint;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;display:block;max-width:34em;grid-column:span 2;opacity:1}.ds-radio_hint_2idos_129{transition:height var(--ds-animation-duration, .25s) cubic-bezier(.5,0,.5,1),margin-block var(--ds-animation-duration, .25s) cubic-bezier(.5,0,.5,1),opacity var(--ds-animation-duration, .25s) cubic-bezier(.5,0,.5,1)}@media (prefers-reduced-motion: reduce){.ds-radio_hint_2idos_129{transition-duration:0ms}}.ds-radio_hint--visible_2idos_153{margin-block-start:4px;margin-block-end:4px}.ds-radio_hint--unchecked-hidden_2idos_157{height:0;opacity:0;pointer-events:none}.ds-radio_input_2idos_163{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}.ds-radio_input_2idos_163:checked+.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{opacity:1}.ds-radio_input_2idos_163:disabled+.ds-radio_radio_2idos_36{border-color:#00000080}.ds-radio_input_2idos_163:disabled+.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{background-color:#00000080}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:disabled+.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{background-color:GrayText}}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:disabled+.ds-radio_radio_2idos_36{border-color:GrayText}}.ds-radio_input_2idos_163:disabled~.ds-radio_label_2idos_83{color:#00000080}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:disabled~.ds-radio_label_2idos_83{color:GrayText}}.ds-radio_input_2idos_163:focus{outline:none}.ds-radio_input_2idos_163:focus+.ds-radio_radio_2idos_36{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:focus+.ds-radio_radio_2idos_36{forced-color-adjust:auto;outline-color:Highlight}}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:focus+.ds-radio_radio_2idos_36{border-color:Highlight}}@supports selector(:focus-visible){.ds-radio_input_2idos_163:focus{outline:none}.ds-radio_input_2idos_163:focus+.ds-radio_radio_2idos_36{outline:revert;outline-offset:revert}.ds-radio_input_2idos_163:focus-visible{outline:none}.ds-radio_input_2idos_163:focus-visible+.ds-radio_radio_2idos_36{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:focus-visible+.ds-radio_radio_2idos_36{forced-color-adjust:auto;outline-color:Highlight}}@media screen and (forced-colors: active){.ds-radio_input_2idos_163:focus-visible+.ds-radio_radio_2idos_36{border-color:Highlight}}}@media (hover: hover){.ds-radio_input_2idos_163:hover:not(:disabled)+.ds-radio_radio_2idos_36{background-color:#0000001a}.ds-radio_input_2idos_163:hover:not(:disabled)+.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{background-color:#d9480f}}@media screen and (hover: hover) and (forced-colors: active){.ds-radio_input_2idos_163:hover:not(:disabled)+.ds-radio_radio_2idos_36 .ds-radio_dot_2idos_54{background-color:Highlight}}@media screen and (hover: hover) and (forced-colors: active){.ds-radio_input_2idos_163:hover:not(:disabled)+.ds-radio_radio_2idos_36{border-color:Highlight}}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as lt, jsx as h, Fragment as _t } from "react/jsx-runtime";
|
|
3
|
-
import { d as mt } from "./index.D-sRdssb.js";
|
|
4
|
-
import { c as F } from "./index.DL9mof6u.js";
|
|
5
|
-
import { forwardRef as ft } from "react";
|
|
6
|
-
import { D as vt } from "./Icon.CDLyB7Pv.js";
|
|
7
|
-
import { NumberIndicator as ht } from "../numberindicator.BdnPMogE.js";
|
|
8
|
-
import { Tooltip as st } from "../tooltip.Cj3AvYgB.js";
|
|
9
|
-
import { g as S } from "./helpers.CexwVao7.js";
|
|
10
|
-
import '../assets/ActionLink.CTh6IXrN.css';const bt = "ds-action-link_root_1xtta_1", kt = "ds-action-link_root--indent-level-1_1xtta_75", It = "ds-action-link_root--active_1xtta_78", ut = "ds-action-link_root--active--with-marker_1xtta_81", Nt = "ds-action-link_root--icon--top_1xtta_84", At = "ds-action-link_root--stretched_1xtta_110", gt = "ds-action-link_active-marker_1xtta_115", wt = "ds-action-link_active-marker--with-indent_1xtta_127", Wt = "ds-action-link_icon-wrapper_1xtta_131", xt = "ds-action-link_icon-wrapper--x-large_1xtta_134", Lt = "ds-action-link_icon-wrapper--with-number-indicator_1xtta_137", St = "ds-action-link_icon-wrapper--with-number-indicator--with-value_1xtta_145", Pt = "ds-action-link_label_1xtta_149", Tt = "ds-action-link_label--bold_1xtta_160", Dt = "ds-action-link_label--active_1xtta_171", Ct = "ds-action-link_label--icon-top_1xtta_182", Mt = "ds-action-link_number-indicator_1xtta_205", o = {
|
|
11
|
-
root: bt,
|
|
12
|
-
rootIndentLevel1: kt,
|
|
13
|
-
rootActive: It,
|
|
14
|
-
rootActiveWithMarker: ut,
|
|
15
|
-
rootIconTop: Nt,
|
|
16
|
-
rootStretched: At,
|
|
17
|
-
activeMarker: gt,
|
|
18
|
-
activeMarkerWithIndent: wt,
|
|
19
|
-
iconWrapper: Wt,
|
|
20
|
-
iconWrapperXLarge: xt,
|
|
21
|
-
iconWrapperWithNumberIndicator: Lt,
|
|
22
|
-
iconWrapperWithNumberIndicatorWithValue: St,
|
|
23
|
-
label: Pt,
|
|
24
|
-
labelBold: Tt,
|
|
25
|
-
labelActive: Dt,
|
|
26
|
-
labelIconTop: Ct,
|
|
27
|
-
numberIndicator: Mt
|
|
28
|
-
}, Ft = ["left", "top"], Gt = ["large", "x-large"], Rt = [0, 1], Zt = ["normal", "bold"], Et = ({
|
|
29
|
-
iconName: f,
|
|
30
|
-
iconSize: v,
|
|
31
|
-
iconSource: t,
|
|
32
|
-
iconPosition: c,
|
|
33
|
-
indentLevel: l,
|
|
34
|
-
stretched: s,
|
|
35
|
-
weight: p
|
|
36
|
-
}) => {
|
|
37
|
-
if (f && !t && v === "x-large" && console.warn(S("DSActionLink", 'An "iconSize" prop set to "x-large" has no effect when "iconName" is set. Please remove the "iconSize" prop or provide a custom icon via the "iconSource" prop.')), c === "top") {
|
|
38
|
-
if (!f && !t)
|
|
39
|
-
throw new Error(S("DSActionLink", 'The "iconPosition" prop should not be set to "top", when no "iconName" or "iconSource" prop was provided. Please either remove the "iconPosition" prop or set a valid icon via the "iconName" or "iconSource" prop.'));
|
|
40
|
-
v === "x-large" && console.warn(S("DSActionLink", 'An "iconSize" prop set to "x-large" has no effect when "iconPosition" is set to "top". Please remove the "iconSize" prop.')), p === "bold" && console.warn(S("DSActionLink", 'A "weight" prop set to "bold" with "iconPosition" set to "top" has no effect. Please remove the "weight" prop.')), l === 1 && console.warn(S("DSActionLink", 'An "indentLevel" prop set to "1" with "iconPosition" set to "top" has no effect. Please remove the "indentLevel" prop.')), s && console.warn(S("DSActionLink", 'A "stretched" prop set to "true" with "iconPosition" set to "top" has no effect. Please remove the "stretched" prop.'));
|
|
41
|
-
}
|
|
42
|
-
}, Ot = ft((f, v) => {
|
|
43
|
-
const t = mt.c(81);
|
|
44
|
-
let c, l, s, p, _, n, r, i, b, k, I, P, T, D, C, M, E, O, m;
|
|
45
|
-
t[0] !== f ? ({
|
|
46
|
-
children: l,
|
|
47
|
-
aria: c,
|
|
48
|
-
className: s,
|
|
49
|
-
download: p,
|
|
50
|
-
href: _,
|
|
51
|
-
iconName: n,
|
|
52
|
-
iconPosition: P,
|
|
53
|
-
iconSize: T,
|
|
54
|
-
iconSource: r,
|
|
55
|
-
indentLevel: D,
|
|
56
|
-
isActive: C,
|
|
57
|
-
numberIndicatorValue: i,
|
|
58
|
-
referrerPolicy: b,
|
|
59
|
-
rel: k,
|
|
60
|
-
stretched: M,
|
|
61
|
-
target: E,
|
|
62
|
-
tooltip: m,
|
|
63
|
-
weight: O,
|
|
64
|
-
...I
|
|
65
|
-
} = f, t[0] = f, t[1] = c, t[2] = l, t[3] = s, t[4] = p, t[5] = _, t[6] = n, t[7] = r, t[8] = i, t[9] = b, t[10] = k, t[11] = I, t[12] = P, t[13] = T, t[14] = D, t[15] = C, t[16] = M, t[17] = E, t[18] = O, t[19] = m) : (c = t[1], l = t[2], s = t[3], p = t[4], _ = t[5], n = t[6], r = t[7], i = t[8], b = t[9], k = t[10], I = t[11], P = t[12], T = t[13], D = t[14], C = t[15], M = t[16], E = t[17], O = t[18], m = t[19]);
|
|
66
|
-
const e = P === void 0 ? "left" : P, z = T === void 0 ? "large" : T, G = D === void 0 ? 0 : D, d = C === void 0 ? !1 : C, pt = M === void 0 ? !1 : M, R = E === void 0 ? "_self" : E, dt = O === void 0 ? "normal" : O;
|
|
67
|
-
process.env.NODE_ENV !== "production" && Et({
|
|
68
|
-
iconName: n,
|
|
69
|
-
iconSize: z,
|
|
70
|
-
iconSource: r,
|
|
71
|
-
iconPosition: e,
|
|
72
|
-
indentLevel: G,
|
|
73
|
-
stretched: pt,
|
|
74
|
-
weight: dt
|
|
75
|
-
});
|
|
76
|
-
const a = i?.trim() === "", Z = e === "top", $ = G === 1, q = d && e === "left", J = pt === !0 && e === "left";
|
|
77
|
-
let V;
|
|
78
|
-
t[20] !== s || t[21] !== d || t[22] !== q || t[23] !== J || t[24] !== Z || t[25] !== $ ? (V = F(o.root, s, {
|
|
79
|
-
[o.rootIconTop]: Z,
|
|
80
|
-
[o.rootIndentLevel1]: $,
|
|
81
|
-
[o.rootActive]: d,
|
|
82
|
-
[o.rootActiveWithMarker]: q,
|
|
83
|
-
[o.rootStretched]: J
|
|
84
|
-
}), t[20] = s, t[21] = d, t[22] = q, t[23] = J, t[24] = Z, t[25] = $, t[26] = V) : V = t[26];
|
|
85
|
-
const Q = V, U = G === 1;
|
|
86
|
-
let K;
|
|
87
|
-
t[27] !== U ? (K = F(o.activeMarker, {
|
|
88
|
-
[o.activeMarkerWithIndent]: U
|
|
89
|
-
}), t[27] = U, t[28] = K) : K = t[28];
|
|
90
|
-
const Y = K, tt = d && e === "left", et = dt === "bold", ot = e === "top";
|
|
91
|
-
let y;
|
|
92
|
-
t[29] !== tt || t[30] !== et || t[31] !== ot ? (y = F(o.label, {
|
|
93
|
-
[o.labelActive]: tt,
|
|
94
|
-
[o.labelBold]: et,
|
|
95
|
-
[o.labelIconTop]: ot
|
|
96
|
-
}), t[29] = tt, t[30] = et, t[31] = ot, t[32] = y) : y = t[32];
|
|
97
|
-
const it = y, nt = z === "x-large", rt = (n || r) && (i || a), at = (n || r) && !a;
|
|
98
|
-
let B;
|
|
99
|
-
t[33] !== nt || t[34] !== rt || t[35] !== at ? (B = F(o.iconWrapper, {
|
|
100
|
-
[o.iconWrapperXLarge]: nt,
|
|
101
|
-
[o.iconWrapperWithNumberIndicator]: rt,
|
|
102
|
-
[o.iconWrapperWithNumberIndicatorWithValue]: at
|
|
103
|
-
}), t[33] = nt, t[34] = rt, t[35] = at, t[36] = B) : B = t[36];
|
|
104
|
-
const ct = B, u = _ === void 0 ? "span" : "a";
|
|
105
|
-
let N;
|
|
106
|
-
t[37] !== u || t[38] !== p || t[39] !== _ || t[40] !== b || t[41] !== k || t[42] !== R ? (N = u === "a" && {
|
|
107
|
-
href: _,
|
|
108
|
-
target: R,
|
|
109
|
-
rel: k,
|
|
110
|
-
referrerPolicy: b,
|
|
111
|
-
download: p
|
|
112
|
-
}, t[37] = u, t[38] = p, t[39] = _, t[40] = b, t[41] = k, t[42] = R, t[43] = N) : N = t[43];
|
|
113
|
-
let A;
|
|
114
|
-
t[44] !== Y || t[45] !== e || t[46] !== d ? (A = d && e === "left" && /* @__PURE__ */ h("div", { className: Y }), t[44] = Y, t[45] = e, t[46] = d, t[47] = A) : A = t[47];
|
|
115
|
-
let g;
|
|
116
|
-
t[48] !== n || t[49] !== e || t[50] !== z || t[51] !== r || t[52] !== ct || t[53] !== a || t[54] !== i ? (g = (n || r) && /* @__PURE__ */ h(_t, { children: /* @__PURE__ */ lt("span", { className: ct, children: [
|
|
117
|
-
/* @__PURE__ */ h(vt, { name: n, theme: "light", source: r, "aria-hidden": "true", size: n || e === "top" ? "large" : z }),
|
|
118
|
-
(e === "left" && a || e === "top" && (i || a)) && /* @__PURE__ */ h(ht, { variant: "highlight", label: i })
|
|
119
|
-
] }) }), t[48] = n, t[49] = e, t[50] = z, t[51] = r, t[52] = ct, t[53] = a, t[54] = i, t[55] = g) : g = t[55];
|
|
120
|
-
let w;
|
|
121
|
-
t[56] !== l || t[57] !== it ? (w = /* @__PURE__ */ h("span", { className: it, children: l }), t[56] = l, t[57] = it, t[58] = w) : w = t[58];
|
|
122
|
-
let W;
|
|
123
|
-
t[59] !== e || t[60] !== a || t[61] !== i ? (W = e === "left" && i && !a && /* @__PURE__ */ h(ht, { variant: "default", label: i, className: o.numberIndicator }), t[59] = e, t[60] = a, t[61] = i, t[62] = W) : W = t[62];
|
|
124
|
-
let X;
|
|
125
|
-
t[63] !== u || t[64] !== c || t[65] !== v || t[66] !== I || t[67] !== Q || t[68] !== N || t[69] !== A || t[70] !== g || t[71] !== w || t[72] !== W ? (X = /* @__PURE__ */ lt(u, { className: Q, ...N, ...c, ...I, ref: v, children: [
|
|
126
|
-
A,
|
|
127
|
-
g,
|
|
128
|
-
w,
|
|
129
|
-
W
|
|
130
|
-
] }), t[63] = u, t[64] = c, t[65] = v, t[66] = I, t[67] = Q, t[68] = N, t[69] = A, t[70] = g, t[71] = w, t[72] = W, t[73] = X) : X = t[73];
|
|
131
|
-
const j = X;
|
|
132
|
-
if (m) {
|
|
133
|
-
let x;
|
|
134
|
-
t[74] !== j ? (x = /* @__PURE__ */ h(st.Anchor, { children: j }), t[74] = j, t[75] = x) : x = t[75];
|
|
135
|
-
let L;
|
|
136
|
-
t[76] !== m ? (L = /* @__PURE__ */ h(st.Content, { children: m }), t[76] = m, t[77] = L) : L = t[77];
|
|
137
|
-
let H;
|
|
138
|
-
return t[78] !== x || t[79] !== L ? (H = /* @__PURE__ */ lt(st, { placement: "top", tooltipOffset: 6, children: [
|
|
139
|
-
x,
|
|
140
|
-
L
|
|
141
|
-
] }), t[78] = x, t[79] = L, t[80] = H) : H = t[80], H;
|
|
142
|
-
}
|
|
143
|
-
return j;
|
|
144
|
-
});
|
|
145
|
-
Ot.displayName = "DSActionLink";
|
|
146
|
-
export {
|
|
147
|
-
Ft as A,
|
|
148
|
-
Ot as D,
|
|
149
|
-
Gt as a,
|
|
150
|
-
Rt as b,
|
|
151
|
-
Zt as c,
|
|
152
|
-
Et as v
|
|
153
|
-
};
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as V } from "react/jsx-runtime";
|
|
3
|
-
import { d as K } from "./index.D-sRdssb.js";
|
|
4
|
-
import { c as Q } from "./index.DL9mof6u.js";
|
|
5
|
-
import { forwardRef as W, useState as X } from "react";
|
|
6
|
-
import { D as Y } from "./Fieldset.C0RzpI-h.js";
|
|
7
|
-
import { DSRadio as Z } from "../radio.DHUfSPai.js";
|
|
8
|
-
import { g as m, r as M } from "./helpers.CexwVao7.js";
|
|
9
|
-
import '../assets/RadioGroup.CM2mYOzc.css';const oo = "ds-radio-group_root_12fot_1", eo = "ds-radio-group_root--horizontal_12fot_9", to = "ds-radio-group_root--invalid_12fot_12", O = {
|
|
10
|
-
root: oo,
|
|
11
|
-
rootHorizontal: eo,
|
|
12
|
-
rootInvalid: to
|
|
13
|
-
}, j = (i) => i.some(({
|
|
14
|
-
hint: s
|
|
15
|
-
}) => !!s), T = (i) => i.some(({
|
|
16
|
-
customArea: s,
|
|
17
|
-
isCustomAreaAbove: o
|
|
18
|
-
}) => !!s && !o), ro = ({
|
|
19
|
-
legend: i,
|
|
20
|
-
name: s,
|
|
21
|
-
options: o,
|
|
22
|
-
description: l,
|
|
23
|
-
direction: c,
|
|
24
|
-
id: a,
|
|
25
|
-
systemFeedback: e
|
|
26
|
-
}) => {
|
|
27
|
-
if (!a && (l || e))
|
|
28
|
-
throw new Error(m("DSRadioGroup", 'A unique "id" prop is required when providing the description or systemFeedback property. Please add a unique "id" prop to the DSRadioGroup component.'));
|
|
29
|
-
if (!i)
|
|
30
|
-
throw new Error(m("DSRadioGroup", M("legend", "DSRadioGroup")));
|
|
31
|
-
if (!s)
|
|
32
|
-
throw new Error(m("DSRadioGroup", M("name", "DSRadioGroup")));
|
|
33
|
-
if (Array.isArray(o)) {
|
|
34
|
-
if (o.length === 0)
|
|
35
|
-
throw new Error(m("DSRadioGroup", "The options array must not be empty."));
|
|
36
|
-
} else throw new Error(m("DSRadioGroup", M("options", "DSRadioGroup")));
|
|
37
|
-
if (c === "horizontal" && j(o))
|
|
38
|
-
throw new Error(m("DSRadioGroup", "Horizontal direction is not possible when options contain a hint. Please remove hints or change direction property to 'vertical'."));
|
|
39
|
-
if (c === "horizontal" && T(o))
|
|
40
|
-
throw new Error(m("DSRadioGroup", "Horizontal direction is not possible when options contain a custom area without isCustomAreaAbove set to true. Please remove custom areas, change direction property to 'vertical' or set isCustomAreaAbove to true."));
|
|
41
|
-
}, io = W((i, s) => {
|
|
42
|
-
const o = K.c(57);
|
|
43
|
-
let l, c, a, e, u, p, h, t, v, D, w, d, b, y, H, E, _, z;
|
|
44
|
-
o[0] !== i ? ({
|
|
45
|
-
legend: u,
|
|
46
|
-
name: p,
|
|
47
|
-
options: t,
|
|
48
|
-
className: l,
|
|
49
|
-
defaultValue: c,
|
|
50
|
-
description: a,
|
|
51
|
-
direction: b,
|
|
52
|
-
disabled: y,
|
|
53
|
-
hideUncheckedHints: H,
|
|
54
|
-
id: e,
|
|
55
|
-
invalid: E,
|
|
56
|
-
popoverContent: v,
|
|
57
|
-
popoverInfoButtonProps: D,
|
|
58
|
-
required: _,
|
|
59
|
-
systemFeedback: d,
|
|
60
|
-
value: z,
|
|
61
|
-
onChange: h,
|
|
62
|
-
...w
|
|
63
|
-
} = i, o[0] = i, o[1] = l, o[2] = c, o[3] = a, o[4] = e, o[5] = u, o[6] = p, o[7] = h, o[8] = t, o[9] = v, o[10] = D, o[11] = w, o[12] = d, o[13] = b, o[14] = y, o[15] = H, o[16] = E, o[17] = _, o[18] = z) : (l = o[1], c = o[2], a = o[3], e = o[4], u = o[5], p = o[6], h = o[7], t = o[8], v = o[9], D = o[10], w = o[11], d = o[12], b = o[13], y = o[14], H = o[15], E = o[16], _ = o[17], z = o[18]);
|
|
64
|
-
const L = b === void 0 ? "vertical" : b, n = y === void 0 ? !1 : y, S = H === void 0 ? !1 : H, f = E === void 0 ? !1 : E, g = _ === void 0 ? !1 : _;
|
|
65
|
-
process.env.NODE_ENV !== "production" && ro({
|
|
66
|
-
legend: u,
|
|
67
|
-
name: p,
|
|
68
|
-
options: t,
|
|
69
|
-
description: a,
|
|
70
|
-
direction: L,
|
|
71
|
-
id: e,
|
|
72
|
-
systemFeedback: d
|
|
73
|
-
});
|
|
74
|
-
const [$, J] = X(c), C = z !== void 0, A = C ? z : $, P = L === "horizontal" && !j(t) && !T(t), U = f && !!d;
|
|
75
|
-
let k;
|
|
76
|
-
o[19] !== P || o[20] !== U ? (k = Q(O.root, {
|
|
77
|
-
[O.rootHorizontal]: P,
|
|
78
|
-
[O.rootInvalid]: U
|
|
79
|
-
}), o[19] = P, o[20] = U, o[21] = k) : k = o[21];
|
|
80
|
-
const x = k;
|
|
81
|
-
let q;
|
|
82
|
-
o[22] !== n || o[23] !== C || o[24] !== h ? (q = (r) => {
|
|
83
|
-
if (n) {
|
|
84
|
-
r.preventDefault();
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
C || J(r.target.value), h && h(r);
|
|
88
|
-
}, o[22] = n, o[23] = C, o[24] = h, o[25] = q) : q = o[25];
|
|
89
|
-
const B = q;
|
|
90
|
-
let I;
|
|
91
|
-
o[26] !== S || o[27] !== t ? (I = j(t) && !S, o[26] = S, o[27] = t, o[28] = I) : I = o[28];
|
|
92
|
-
const F = I;
|
|
93
|
-
let G;
|
|
94
|
-
o[29] !== F || o[30] !== A || o[31] !== n || o[32] !== S || o[33] !== e || o[34] !== f || o[35] !== p || o[36] !== t || o[37] !== s || o[38] !== g ? (G = t.map((r) => /* @__PURE__ */ V(Z, { name: p, checked: r.value === A, disabled: n, fieldsetId: e, hideUncheckedHint: S, hint: r.hint, invalid: f, isBold: F, required: g, ref: r.value === A ? s : null, ...r }, e + r.label + r.value + r.hint)), o[29] = F, o[30] = A, o[31] = n, o[32] = S, o[33] = e, o[34] = f, o[35] = p, o[36] = t, o[37] = s, o[38] = g, o[39] = G) : G = o[39];
|
|
95
|
-
let R;
|
|
96
|
-
o[40] !== x || o[41] !== G ? (R = /* @__PURE__ */ V("div", { className: x, children: G }), o[40] = x, o[41] = G, o[42] = R) : R = o[42];
|
|
97
|
-
let N;
|
|
98
|
-
return o[43] !== l || o[44] !== a || o[45] !== n || o[46] !== B || o[47] !== e || o[48] !== f || o[49] !== u || o[50] !== v || o[51] !== D || o[52] !== g || o[53] !== w || o[54] !== d || o[55] !== R ? (N = /* @__PURE__ */ V(Y, { id: e, legend: u, className: l, description: a, disabled: n, required: g, invalid: f, systemFeedback: d, popoverContent: v, popoverInfoButtonProps: D, ...w, role: "radiogroup", onChange: B, children: R }), o[43] = l, o[44] = a, o[45] = n, o[46] = B, o[47] = e, o[48] = f, o[49] = u, o[50] = v, o[51] = D, o[52] = g, o[53] = w, o[54] = d, o[55] = R, o[56] = N) : N = o[56], N;
|
|
99
|
-
});
|
|
100
|
-
io.displayName = "DSRadioGroup";
|
|
101
|
-
export {
|
|
102
|
-
io as D,
|
|
103
|
-
T as a,
|
|
104
|
-
j as o,
|
|
105
|
-
ro as v
|
|
106
|
-
};
|
package/chunks/Text.DpRtTpB4.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as $ } from "react/jsx-runtime";
|
|
3
|
-
import { d as z } from "./index.D-sRdssb.js";
|
|
4
|
-
import { c as C } from "./index.DL9mof6u.js";
|
|
5
|
-
import { useRef as G, useEffect as H } from "react";
|
|
6
|
-
import { a as v, g as y } from "./helpers.CexwVao7.js";
|
|
7
|
-
import '../assets/Text.Dgpj61UP.css';const I = "ds-text_root_1mo26_6", P = "ds-text_root--large_1mo26_15", R = "ds-text_root--large-bold_1mo26_26", W = "ds-text_root--medium_1mo26_37", j = "ds-text_root--medium-bold_1mo26_48", q = "ds-text_root--small_1mo26_59", O = "ds-text_root--small-bold_1mo26_70", V = "ds-text_root--x-small_1mo26_81", Z = "ds-text_root--x-small-bold_1mo26_92", F = "ds-text_root--xx-small_1mo26_103", J = "ds-text_root--theme-dark_1mo26_197", o = {
|
|
8
|
-
root: I,
|
|
9
|
-
rootLarge: P,
|
|
10
|
-
rootLargeBold: R,
|
|
11
|
-
rootMedium: W,
|
|
12
|
-
rootMediumBold: j,
|
|
13
|
-
rootSmall: q,
|
|
14
|
-
rootSmallBold: O,
|
|
15
|
-
rootXSmall: V,
|
|
16
|
-
rootXSmallBold: Z,
|
|
17
|
-
rootXxSmall: F,
|
|
18
|
-
rootThemeDark: J
|
|
19
|
-
}, ot = ["address", "blockquote", "cite", "div", "dd", "dfn", "dt", "figcaption", "legend", "li", "p", "span", "time"], et = ["large", "medium", "small", "x-small", "xx-small"], lt = ["bold", "normal"], N = (r, t) => Array.isArray(t) ? t.some((l) => !!v(r, l)) : !!v(r, t), st = (r) => {
|
|
20
|
-
const t = z.c(28);
|
|
21
|
-
let l, a, m, i, n, d, c;
|
|
22
|
-
t[0] !== r ? ({
|
|
23
|
-
children: l,
|
|
24
|
-
className: a,
|
|
25
|
-
size: i,
|
|
26
|
-
tag: n,
|
|
27
|
-
theme: d,
|
|
28
|
-
weight: c,
|
|
29
|
-
...m
|
|
30
|
-
} = r, t[0] = r, t[1] = l, t[2] = a, t[3] = m, t[4] = i, t[5] = n, t[6] = d, t[7] = c) : (l = t[1], a = t[2], m = t[3], i = t[4], n = t[5], d = t[6], c = t[7]);
|
|
31
|
-
const e = i === void 0 ? "medium" : i, s = n === void 0 ? "p" : n, A = d === void 0 ? "light" : d, _ = c === void 0 ? "normal" : c, x = G(null);
|
|
32
|
-
let u, h;
|
|
33
|
-
t[8] !== s ? (u = () => {
|
|
34
|
-
if (x.current && process.env.NODE_ENV !== "production")
|
|
35
|
-
t: switch (s) {
|
|
36
|
-
case "li": {
|
|
37
|
-
if (!N(x.current, "ul, ol"))
|
|
38
|
-
throw Error(y("DSText", `The DSText component with the tag "${s}" is not within a list element (ul, ol). This may cause issues with list semantics. Please ensure the DSText component is within a list element.`));
|
|
39
|
-
break t;
|
|
40
|
-
}
|
|
41
|
-
case "dt":
|
|
42
|
-
case "dd": {
|
|
43
|
-
if (!N(x.current, "dl"))
|
|
44
|
-
throw Error(y("DSText", `The DSText component with the tag "${s}" is not within a list element (dl). This may cause issues with list semantics. Please ensure the DSText component is within a list element.`));
|
|
45
|
-
break t;
|
|
46
|
-
}
|
|
47
|
-
default:
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
}, h = [s], t[8] = s, t[9] = u, t[10] = h) : (u = t[9], h = t[10]), H(u, h);
|
|
51
|
-
const S = s, f = e === "large", p = e === "large" && _ === "bold", b = e == "medium", w = e === "medium" && _ === "bold", D = e == "small", E = e == "small" && _ === "bold", B = e == "x-small", X = e == "x-small" && _ === "bold", k = e == "xx-small", M = A === "dark";
|
|
52
|
-
let g;
|
|
53
|
-
t[11] !== a || t[12] !== w || t[13] !== D || t[14] !== E || t[15] !== B || t[16] !== X || t[17] !== k || t[18] !== M || t[19] !== f || t[20] !== p || t[21] !== b ? (g = C(o.root, a, {
|
|
54
|
-
[o.rootLarge]: f,
|
|
55
|
-
[o.rootLargeBold]: p,
|
|
56
|
-
[o.rootMedium]: b,
|
|
57
|
-
[o.rootMediumBold]: w,
|
|
58
|
-
[o.rootSmall]: D,
|
|
59
|
-
[o.rootSmallBold]: E,
|
|
60
|
-
[o.rootXSmall]: B,
|
|
61
|
-
[o.rootXSmallBold]: X,
|
|
62
|
-
[o.rootXxSmall]: k,
|
|
63
|
-
[o.rootThemeDark]: M
|
|
64
|
-
}), t[11] = a, t[12] = w, t[13] = D, t[14] = E, t[15] = B, t[16] = X, t[17] = k, t[18] = M, t[19] = f, t[20] = p, t[21] = b, t[22] = g) : g = t[22];
|
|
65
|
-
const L = g;
|
|
66
|
-
let T;
|
|
67
|
-
return t[23] !== S || t[24] !== l || t[25] !== m || t[26] !== L ? (T = /* @__PURE__ */ $(S, { className: L, ref: x, ...m, children: l }), t[23] = S, t[24] = l, t[25] = m, t[26] = L, t[27] = T) : T = t[27], T;
|
|
68
|
-
};
|
|
69
|
-
export {
|
|
70
|
-
st as D,
|
|
71
|
-
ot as T,
|
|
72
|
-
et as a,
|
|
73
|
-
lt as b,
|
|
74
|
-
N as i
|
|
75
|
-
};
|
package/combobox.CGEDlMo0.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _ } from "react/jsx-runtime";
|
|
3
|
-
import { d as $ } from "./chunks/index.D-sRdssb.js";
|
|
4
|
-
import { v as z, c as A } from "./chunks/CustomReactSelect.BA3hUVkh.js";
|
|
5
|
-
import { forwardRef as G } from "react";
|
|
6
|
-
const H = G((x, N) => {
|
|
7
|
-
const t = $.c(36);
|
|
8
|
-
let a, r, e, d, o, l, p, i, c, s, v, u, n, f, m;
|
|
9
|
-
if (t[0] !== x) {
|
|
10
|
-
const {
|
|
11
|
-
id: q,
|
|
12
|
-
label: B,
|
|
13
|
-
className: I,
|
|
14
|
-
disabled: w,
|
|
15
|
-
dropdownOnFocus: D,
|
|
16
|
-
filterOption: L,
|
|
17
|
-
hideLabel: E,
|
|
18
|
-
invalid: F,
|
|
19
|
-
lang: M,
|
|
20
|
-
popoverContent: R,
|
|
21
|
-
popoverInfoButtonProps: j,
|
|
22
|
-
required: P,
|
|
23
|
-
tabSelectsValue: V,
|
|
24
|
-
variant: h,
|
|
25
|
-
...k
|
|
26
|
-
} = x;
|
|
27
|
-
if (l = q, i = B, a = I, d = L, s = R, v = j, n = k, r = w === void 0 ? !1 : w, e = D === void 0 ? !1 : D, o = E === void 0 ? !1 : E, p = F === void 0 ? !1 : F, c = M === void 0 ? "en" : M, u = P === void 0 ? !1 : P, f = V === void 0 ? !0 : V, m = h === void 0 ? "single" : h, process.env.NODE_ENV !== "production") {
|
|
28
|
-
const {
|
|
29
|
-
options: y
|
|
30
|
-
} = n;
|
|
31
|
-
z({
|
|
32
|
-
id: l,
|
|
33
|
-
label: i,
|
|
34
|
-
options: y,
|
|
35
|
-
hideLabel: o,
|
|
36
|
-
popoverContent: s
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
t[0] = x, t[1] = a, t[2] = r, t[3] = e, t[4] = d, t[5] = o, t[6] = l, t[7] = p, t[8] = i, t[9] = c, t[10] = s, t[11] = v, t[12] = u, t[13] = n, t[14] = f, t[15] = m;
|
|
40
|
-
} else
|
|
41
|
-
a = t[1], r = t[2], e = t[3], d = t[4], o = t[5], l = t[6], p = t[7], i = t[8], c = t[9], s = t[10], v = t[11], u = t[12], n = t[13], f = t[14], m = t[15];
|
|
42
|
-
const b = m === "multi", S = !e || b;
|
|
43
|
-
let C;
|
|
44
|
-
t[16] !== a || t[17] !== r || t[18] !== e || t[19] !== d || t[20] !== o || t[21] !== l || t[22] !== p || t[23] !== b || t[24] !== i || t[25] !== c || t[26] !== s || t[27] !== v || t[28] !== N || t[29] !== u || t[30] !== n || t[31] !== S || t[32] !== f ? (C = {
|
|
45
|
-
id: l,
|
|
46
|
-
label: i,
|
|
47
|
-
className: a,
|
|
48
|
-
disabled: r,
|
|
49
|
-
filterOption: d,
|
|
50
|
-
hideLabel: o,
|
|
51
|
-
isMulti: b,
|
|
52
|
-
invalid: p,
|
|
53
|
-
lang: c,
|
|
54
|
-
openMenuOnClick: e,
|
|
55
|
-
openMenuOnFocus: e,
|
|
56
|
-
isClearable: S,
|
|
57
|
-
required: u,
|
|
58
|
-
ref: N,
|
|
59
|
-
tabSelectsValue: f,
|
|
60
|
-
popoverContent: s,
|
|
61
|
-
popoverInfoButtonProps: v,
|
|
62
|
-
...n
|
|
63
|
-
}, t[16] = a, t[17] = r, t[18] = e, t[19] = d, t[20] = o, t[21] = l, t[22] = p, t[23] = b, t[24] = i, t[25] = c, t[26] = s, t[27] = v, t[28] = N, t[29] = u, t[30] = n, t[31] = S, t[32] = f, t[33] = C) : C = t[33];
|
|
64
|
-
const g = C;
|
|
65
|
-
let O;
|
|
66
|
-
return t[34] !== g ? (O = /* @__PURE__ */ _(A, { ...g }), t[34] = g, t[35] = O) : O = t[35], O;
|
|
67
|
-
});
|
|
68
|
-
H.displayName = "DSCombobox";
|
|
69
|
-
export {
|
|
70
|
-
H as DSCombobox
|
|
71
|
-
};
|