@stihl-design-system/components 1.0.0-RC.36 → 1.0.0-RC.38
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/{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/TextUtility.BsMYk5lH.css +1 -0
- package/assets/radio.BLd_UGcp.css +1 -0
- package/assets/{Text.Dgpj61UP.css → text.ZCpNYmwU.css} +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/chunks/{ActionButton.BOYQYo5M.js → ActionButton.CyMR7DqS.js} +47 -47
- package/chunks/ActionLink.5wdpwrU9.js +153 -0
- package/chunks/{CustomReactSelect.D4kopDzX.js → CustomReactSelect.DS9Ey-jr.js} +234 -226
- package/chunks/LinkCard.BjXQ85ZH.js +159 -0
- package/chunks/{RadioGroup.BDsVAhCK.js → RadioGroup.DupoApOX.js} +1 -1
- package/chunks/Text.utils.B4MiHAK_.js +11 -0
- package/chunks/TextUtility.C68m5upo.js +82 -0
- package/combobox.Ds2prR5y.js +69 -0
- package/components/Combobox/Combobox.utils.d.ts +2 -0
- package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +4 -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/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.BNwzk8Qi.js → customreactselect.CUmUV5IW.js} +1 -1
- package/index.d.ts +4 -0
- package/index.es.js +156 -146
- package/linkcard.B43Y9rO4.js +12 -0
- package/linkcard.d.ts +2 -0
- package/package.json +7 -7
- package/partials/index.js +20 -8
- package/partials/lib/partials.d.ts +1 -1
- package/{radio.pyM5ma9s.js → radio.DYKHJbxF.js} +37 -37
- package/{radiogroup.sdob0iPE.js → radiogroup.D-t1_oGC.js} +2 -2
- package/styles/scss/ds/lib/text.scss +5 -5
- package/text.CQdFtUUQ.js +72 -0
- package/{text.cLv2PhjQ.js → textutility.DMKAWLsT.js} +3 -2
- package/textutility.d.ts +2 -0
- package/assets/ActionButton.oGVPTS1J.css +0 -1
- package/assets/ActionLink.CTh6IXrN.css +0 -1
- package/assets/radio.CsfCywxz.css +0 -1
- package/chunks/ActionLink.BlwvrnPN.js +0 -153
- package/chunks/Text.DpRtTpB4.js +0 -75
- package/combobox.C2XUM4fM.js +0 -67
|
@@ -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_root_95tvb_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_95tvb_24{cursor:not-allowed}.ds-radio_root--with-custom-area_95tvb_27{max-width:none}.ds-radio_root--with-custom-area--above_95tvb_30{min-width:10rem;max-width:25rem;grid-template-areas:"custom-area custom-area" "dot label";grid-template-columns:auto 1fr;grid-template-rows:auto}.ds-radio_radio_95tvb_38{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_95tvb_38{transition:background-color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-radio_radio_95tvb_38{transition-duration:0ms}}.ds-radio_radio_95tvb_38 .ds-radio_dot_95tvb_56{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_95tvb_38 .ds-radio_dot_95tvb_56{transition:opacity var(--ds-animation-duration, .1s) linear,background-color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-radio_radio_95tvb_38 .ds-radio_dot_95tvb_56{transition-duration:0ms}}@media screen and (forced-colors: active){.ds-radio_radio_95tvb_38 .ds-radio_dot_95tvb_56{background-color:Highlight}}.ds-radio_radio--invalid_95tvb_80{border-color:#d43b3b;box-shadow:0 0 0 1px #d43b3b}.ds-radio_label_95tvb_85{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_95tvb_102{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_95tvb_113{column-gap:8px}.ds-radio_custom-area_95tvb_117{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--disabled_95tvb_125{opacity:.5}.ds-radio_custom-area--above_95tvb_128{overflow-y:visible;max-height:unset;height:fit-content;margin-inline-start:0px}.ds-radio_hint_95tvb_135{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_95tvb_135{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_95tvb_135{transition-duration:0ms}}.ds-radio_hint--visible_95tvb_159{margin-block-start:4px;margin-block-end:4px}.ds-radio_hint--unchecked-hidden_95tvb_163{height:0;opacity:0;pointer-events:none}.ds-radio_input_95tvb_169{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_95tvb_169:checked+.ds-radio_radio_95tvb_38 .ds-radio_dot_95tvb_56{opacity:1}.ds-radio_input_95tvb_169:disabled+.ds-radio_radio_95tvb_38{border-color:#00000080}.ds-radio_input_95tvb_169:disabled+.ds-radio_radio_95tvb_38 .ds-radio_dot_95tvb_56{background-color:#00000080}@media screen and (forced-colors: active){.ds-radio_input_95tvb_169:disabled+.ds-radio_radio_95tvb_38 .ds-radio_dot_95tvb_56{background-color:GrayText}}@media screen and (forced-colors: active){.ds-radio_input_95tvb_169:disabled+.ds-radio_radio_95tvb_38{border-color:GrayText}}.ds-radio_input_95tvb_169:disabled~.ds-radio_label_95tvb_85{color:#00000080}@media screen and (forced-colors: active){.ds-radio_input_95tvb_169:disabled~.ds-radio_label_95tvb_85{color:GrayText}}.ds-radio_input_95tvb_169:focus{outline:none}.ds-radio_input_95tvb_169:focus+.ds-radio_radio_95tvb_38{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors: active){.ds-radio_input_95tvb_169:focus+.ds-radio_radio_95tvb_38{forced-color-adjust:auto;outline-color:Highlight}}@media screen and (forced-colors: active){.ds-radio_input_95tvb_169:focus+.ds-radio_radio_95tvb_38{border-color:Highlight}}@supports selector(:focus-visible){.ds-radio_input_95tvb_169:focus{outline:none}.ds-radio_input_95tvb_169:focus+.ds-radio_radio_95tvb_38{outline:revert;outline-offset:revert}.ds-radio_input_95tvb_169:focus-visible{outline:none}.ds-radio_input_95tvb_169:focus-visible+.ds-radio_radio_95tvb_38{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors: active){.ds-radio_input_95tvb_169:focus-visible+.ds-radio_radio_95tvb_38{forced-color-adjust:auto;outline-color:Highlight}}@media screen and (forced-colors: active){.ds-radio_input_95tvb_169:focus-visible+.ds-radio_radio_95tvb_38{border-color:Highlight}}}@media (hover: hover){.ds-radio_input_95tvb_169:hover:not(:disabled)+.ds-radio_radio_95tvb_38{background-color:#0000001a}.ds-radio_input_95tvb_169:hover:not(:disabled)+.ds-radio_radio_95tvb_38 .ds-radio_dot_95tvb_56{background-color:#d9480f}}@media screen and (hover: hover) and (forced-colors: active){.ds-radio_input_95tvb_169:hover:not(:disabled)+.ds-radio_radio_95tvb_38 .ds-radio_dot_95tvb_56{background-color:Highlight}}@media screen and (hover: hover) and (forced-colors: active){.ds-radio_input_95tvb_169:hover:not(:disabled)+.ds-radio_radio_95tvb_38{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
|
-
};
|
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.C2XUM4fM.js
DELETED
|
@@ -1,67 +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 G } from "./chunks/CustomReactSelect.D4kopDzX.js";
|
|
5
|
-
import { forwardRef as H } from "react";
|
|
6
|
-
const J = H((x, N) => {
|
|
7
|
-
const t = $.c(36);
|
|
8
|
-
let a, r, e, d, l, i, p, s, c, n, v, f, o, u, m;
|
|
9
|
-
if (t[0] !== x) {
|
|
10
|
-
const h = x ?? {}, {
|
|
11
|
-
id: q,
|
|
12
|
-
label: A,
|
|
13
|
-
className: B,
|
|
14
|
-
disabled: g,
|
|
15
|
-
dropdownOnFocus: w,
|
|
16
|
-
filterOption: I,
|
|
17
|
-
hideLabel: y,
|
|
18
|
-
invalid: D,
|
|
19
|
-
lang: E,
|
|
20
|
-
popoverContent: L,
|
|
21
|
-
popoverInfoButtonProps: R,
|
|
22
|
-
required: F,
|
|
23
|
-
tabSelectsValue: M,
|
|
24
|
-
variant: V,
|
|
25
|
-
...j
|
|
26
|
-
} = h;
|
|
27
|
-
i = q, s = A, a = B, d = I, n = L, v = R, o = j, r = g === void 0 ? !1 : g, e = w === void 0 ? !1 : w, l = y === void 0 ? !1 : y, p = D === void 0 ? !1 : D, c = E === void 0 ? "en" : E, f = F === void 0 ? !1 : F, u = M === void 0 ? !0 : M, m = V === void 0 ? "single" : V;
|
|
28
|
-
const k = Array.isArray(o.options) ? o.options : [];
|
|
29
|
-
process.env.NODE_ENV !== "production" && z({
|
|
30
|
-
id: i,
|
|
31
|
-
label: s,
|
|
32
|
-
options: k,
|
|
33
|
-
hideLabel: l,
|
|
34
|
-
popoverContent: n
|
|
35
|
-
}), t[0] = x, t[1] = a, t[2] = r, t[3] = e, t[4] = d, t[5] = l, t[6] = i, t[7] = p, t[8] = s, t[9] = c, t[10] = n, t[11] = v, t[12] = f, t[13] = o, t[14] = u, t[15] = m;
|
|
36
|
-
} else
|
|
37
|
-
a = t[1], r = t[2], e = t[3], d = t[4], l = t[5], i = t[6], p = t[7], s = t[8], c = t[9], n = t[10], v = t[11], f = t[12], o = t[13], u = t[14], m = t[15];
|
|
38
|
-
const b = m === "multi", S = !e || b;
|
|
39
|
-
let C;
|
|
40
|
-
t[16] !== a || t[17] !== r || t[18] !== e || t[19] !== d || t[20] !== l || t[21] !== i || t[22] !== p || t[23] !== b || t[24] !== s || t[25] !== c || t[26] !== n || t[27] !== v || t[28] !== N || t[29] !== f || t[30] !== o || t[31] !== S || t[32] !== u ? (C = {
|
|
41
|
-
id: i,
|
|
42
|
-
label: s,
|
|
43
|
-
className: a,
|
|
44
|
-
disabled: r,
|
|
45
|
-
filterOption: d,
|
|
46
|
-
hideLabel: l,
|
|
47
|
-
isMulti: b,
|
|
48
|
-
invalid: p,
|
|
49
|
-
lang: c,
|
|
50
|
-
openMenuOnClick: e,
|
|
51
|
-
openMenuOnFocus: e,
|
|
52
|
-
isClearable: S,
|
|
53
|
-
required: f,
|
|
54
|
-
ref: N,
|
|
55
|
-
tabSelectsValue: u,
|
|
56
|
-
popoverContent: n,
|
|
57
|
-
popoverInfoButtonProps: v,
|
|
58
|
-
...o
|
|
59
|
-
}, t[16] = a, t[17] = r, t[18] = e, t[19] = d, t[20] = l, t[21] = i, t[22] = p, t[23] = b, t[24] = s, t[25] = c, t[26] = n, t[27] = v, t[28] = N, t[29] = f, t[30] = o, t[31] = S, t[32] = u, t[33] = C) : C = t[33];
|
|
60
|
-
const P = C;
|
|
61
|
-
let O;
|
|
62
|
-
return t[34] !== P ? (O = /* @__PURE__ */ _(G, { ...P }), t[34] = P, t[35] = O) : O = t[35], O;
|
|
63
|
-
});
|
|
64
|
-
J.displayName = "DSCombobox";
|
|
65
|
-
export {
|
|
66
|
-
J as DSCombobox
|
|
67
|
-
};
|