@stihl-design-system/components 1.0.0-RC.35 → 1.0.0-RC.36
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/assets/RadioGroup.q1lQ-HIZ.css +1 -0
- package/assets/radio.CsfCywxz.css +1 -0
- 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/{checkboxgroup.CjnNJ8e6.js → checkboxgroup.C66ZwglF.js} +2 -2
- package/{chipgroup.cGjn4LVV.js → chipgroup.CY3pWyLO.js} +2 -1
- 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/{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.BDsVAhCK.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/{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/RadioGroup/RadioGroup.utils.d.ts +3 -2
- package/components/Scroller/Scroller.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.es.js +96 -95
- 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/{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 +2 -2
- package/{popover.79Voiadz.js → popover.CXq7VoZt.js} +2 -2
- package/radio.pyM5ma9s.js +134 -0
- package/{radiogroup.CwBh7u9L.js → radiogroup.sdob0iPE.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/{tablist.BFE6RAPD.js → tablist.mX5nQWwH.js} +1 -1
- package/{tabs.CsOxxQyQ.js → tabs.DjWfks34.js} +2 -2
- package/{textarea.C9OAAjhG.js → textarea.69r-5faY.js} +2 -2
- package/{toast.OBI9qnAM.js → toast.FzO5KoiK.js} +2 -2
- package/{toastmanager.CgsA-1y_.js → toastmanager.BGIYNKkT.js} +1 -1
- package/assets/RadioGroup.CM2mYOzc.css +0 -1
- package/assets/radio.CgpGvYc-.css +0 -1
- package/chunks/RadioGroup.B2VCD9x-.js +0 -106
- package/combobox.CGEDlMo0.js +0 -71
- package/radio.DHUfSPai.js +0 -126
package/Placeholder.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="33.333" height="20" fill="none" viewBox="0 0 40 24"><g clip-path="url(#a)"><path fill="#b1b1b1" d="M0 0h40v24H0Z"/><circle cx="24" cy="8" r="4" fill="#666"/><path fill="#666" d="m10.5 8-12 9.5-2 9 45.5 1 .5-7-12.5-7-7 3.5z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h40v24H0Z"/></clipPath></defs></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="33.333" height="20" fill="none" preserveAspectRatio="none" viewBox="0 0 40 24"><g clip-path="url(#a)"><path fill="#b1b1b1" d="M0 0h40v24H0Z"/><circle cx="24" cy="8" r="4" fill="#666"/><path fill="#666" d="m10.5 8-12 9.5-2 9 45.5 1 .5-7-12.5-7-7 3.5z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h40v24H0Z"/></clipPath></defs></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ds-radio-group_fieldset--custom-area-above_1r3gv_1{min-inline-size:auto}.ds-radio-group_root_1r3gv_5{display:flex;flex-direction:column;row-gap:16px;column-gap:24px;flex-wrap:wrap;margin-block-start:-8px}.ds-radio-group_root--horizontal_1r3gv_13{flex-direction:row}.ds-radio-group_root--invalid_1r3gv_16{margin-block-start:-16px}.ds-radio-group_root--custom-area-above_1r3gv_19{display:grid;justify-content:start;align-items:start;row-gap:20px;column-gap:var(--ds-spacing-dynamic-xs)}.ds-radio-group_root--custom-area-above--horizontal_1r3gv_26{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr))}
|
|
@@ -0,0 +1 @@
|
|
|
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}}
|
|
@@ -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.D-sRdssb.js";
|
|
4
4
|
import { c as H } from "./chunks/index.DL9mof6u.js";
|
|
5
|
-
import { D } from "./chunks/Button.
|
|
5
|
+
import { D } from "./chunks/Button.CQlIao-Z.js";
|
|
6
6
|
import './assets/banner.BLdW5VF4.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.D-sRdssb.js";
|
|
4
4
|
import "./chunks/index.DL9mof6u.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/Button.
|
|
7
|
-
import "./link.
|
|
8
|
-
import { D as c } from "./chunks/Breadcrumb.
|
|
6
|
+
import "./chunks/Button.CQlIao-Z.js";
|
|
7
|
+
import "./link.BtZeNdii.js";
|
|
8
|
+
import { D as c } from "./chunks/Breadcrumb.C_Yaz_vw.js";
|
|
9
9
|
export {
|
|
10
10
|
c as DSBreadcrumb
|
|
11
11
|
};
|
|
@@ -6,7 +6,7 @@ import "./chunks/useBreakpoint.1txsny17.js";
|
|
|
6
6
|
import "./chunks/Icon.CDLyB7Pv.js";
|
|
7
7
|
import "./spinner.C9qCeq0R.js";
|
|
8
8
|
import "./tooltip.Cj3AvYgB.js";
|
|
9
|
-
import { D as u } from "./chunks/Button.
|
|
9
|
+
import { D as u } from "./chunks/Button.CQlIao-Z.js";
|
|
10
10
|
export {
|
|
11
11
|
u as DSButton
|
|
12
12
|
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "./chunks/index.D-sRdssb.js";
|
|
4
4
|
import "./chunks/index.DL9mof6u.js";
|
|
5
|
-
import "./chunks/Fieldset.
|
|
6
|
-
import { D as e } from "./chunks/CheckboxGroup.
|
|
5
|
+
import "./chunks/Fieldset.Bk8W5h13.js";
|
|
6
|
+
import { D as e } from "./chunks/CheckboxGroup.BIspWqeW.js";
|
|
7
7
|
export {
|
|
8
8
|
e as DSCheckboxGroup
|
|
9
9
|
};
|
|
@@ -128,7 +128,8 @@ import './assets/chipgroup.BGxjdSDX.css';const Z = "ds-chip-group_label--hidden_
|
|
|
128
128
|
return n.length === 0 ? null : /* @__PURE__ */ q("div", { children: [
|
|
129
129
|
/* @__PURE__ */ I("div", { id: h, className: $({
|
|
130
130
|
[v.labelHidden]: z
|
|
131
|
-
|
|
131
|
+
// if no label classes are set via classNames, return undefined to avoid empty class attribute
|
|
132
|
+
}) || void 0, children: b }),
|
|
132
133
|
n.length > 0 && /* @__PURE__ */ I("div", { ref: D, role: "grid", "aria-labelledby": h, "aria-multiselectable": c === "multiple", tabIndex: -1, onKeyDown: G, onFocus: () => {
|
|
133
134
|
l === null ? (m.current[0].focus(), f === "keydown" && i(0)) : f === "keydown" && i(l);
|
|
134
135
|
}, onBlur: () => i(null), className: O, ...F, children: n.map((e, t) => /* @__PURE__ */ J(Y, { ...e, key: `${e.id}-${t}`, "data-focused": l === t, disableTooltips: K, groupId: h, isRemovable: r, lang: N, selectionMode: c, size: T, tabIndex: j(t), translations: B, onClick: (s) => {
|
|
@@ -3,8 +3,8 @@ import { jsx as w, jsxs as V } from "react/jsx-runtime";
|
|
|
3
3
|
import { d as q } from "./index.D-sRdssb.js";
|
|
4
4
|
import { c as F } from "./index.DL9mof6u.js";
|
|
5
5
|
import { isValidElement as M, useState as I, useEffect as O, cloneElement as R } from "react";
|
|
6
|
-
import { D as K } from "./Button.
|
|
7
|
-
import { DSLink as X } from "../link.
|
|
6
|
+
import { D as K } from "./Button.CQlIao-Z.js";
|
|
7
|
+
import { DSLink as X } from "../link.BtZeNdii.js";
|
|
8
8
|
import { g as d, r as z } from "./helpers.CexwVao7.js";
|
|
9
9
|
import '../assets/Breadcrumb.BaYrwrYl.css';const G = "ds-breadcrumb_root_1e9hu_1", H = "ds-breadcrumb_show-all-button_1e9hu_30", T = {
|
|
10
10
|
root: G,
|
|
@@ -102,12 +102,13 @@ import '../assets/Button.CmeGVEAY.css';const C = "ds-button_root_146u3_1", A = "
|
|
|
102
102
|
// icon only
|
|
103
103
|
[o.rootIconOnly]: r(s) && _ === "medium" && t !== "navigation",
|
|
104
104
|
[o.rootIconOnlySmall]: r(s) && _ === "small" && t !== "navigation"
|
|
105
|
-
}), B = p(
|
|
105
|
+
}), B = p({
|
|
106
106
|
// hide label only visually to keep them available for assistive technologies
|
|
107
107
|
[o.labelHidden]: r(s) && t !== "navigation",
|
|
108
108
|
// set label opacity to 0 when loading to prevent button size from changing
|
|
109
109
|
[o.labelLoading]: i
|
|
110
|
-
|
|
110
|
+
// if no label classes are set via classNames, return undefined to avoid empty class attribute
|
|
111
|
+
}) || void 0, G = p({
|
|
111
112
|
[o.iconNavigation]: t === "navigation",
|
|
112
113
|
// set icon opacity to 0 when loading to prevent button size from changing
|
|
113
114
|
[o.iconHidden]: i
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as w } from "react/jsx-runtime";
|
|
3
3
|
import { d as q } from "./index.D-sRdssb.js";
|
|
4
4
|
import { c as N } from "./index.DL9mof6u.js";
|
|
5
|
-
import { D as z } from "./Fieldset.
|
|
5
|
+
import { D as z } from "./Fieldset.Bk8W5h13.js";
|
|
6
6
|
import _ from "react";
|
|
7
7
|
import { g as v, r as I } from "./helpers.CexwVao7.js";
|
|
8
8
|
import { D as P } from "./Checkbox.D5X5T6Yg.js";
|
|
@@ -12,7 +12,7 @@ import { g as ce, r as kt } from "./helpers.CexwVao7.js";
|
|
|
12
12
|
import { u as jt } from "./useBreakpoint.1txsny17.js";
|
|
13
13
|
import { Asterisk as Ut } from "../asterisk.B2ih8VwF.js";
|
|
14
14
|
import { D as ge } from "./Icon.CDLyB7Pv.js";
|
|
15
|
-
import { D as Qt } from "./Popover.
|
|
15
|
+
import { D as Qt } from "./Popover.C9tT8xkE.js";
|
|
16
16
|
import { D as _t } from "./SystemFeedback.CjlARKki.js";
|
|
17
17
|
import { OptionCheckbox as $t } from "../optioncheckbox.nBVwGv6c.js";
|
|
18
18
|
import '../assets/CustomReactSelect.BihX36Uo.css';const Ko = ({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as n, jsxs as E } from "react/jsx-runtime";
|
|
3
3
|
import { c as r } from "./index.DL9mof6u.js";
|
|
4
4
|
import { useRef as g, useState as F, useEffect as v } from "react";
|
|
5
|
-
import { D as W } from "./Button.
|
|
5
|
+
import { D as W } from "./Button.CQlIao-Z.js";
|
|
6
6
|
import { g as x } from "./helpers.CexwVao7.js";
|
|
7
7
|
import "./index.D-sRdssb.js";
|
|
8
8
|
import '../assets/Dialog.DJkn65Es.css';const R = "ds-dialog_root_kvopn_5", y = "ds-dialog_content-wrapper_kvopn_166", z = "ds-dialog_content-wrapper--no-footer_kvopn_172", L = "ds-dialog_close-button_kvopn_180", M = "ds-dialog_header_kvopn_193", j = "ds-dialog_content_kvopn_166", H = "ds-dialog_footer_kvopn_195", I = "ds-dialog_header--scrollable_kvopn_216", O = "ds-dialog_header--close-button_kvopn_225", P = "ds-dialog_content--no-footer_kvopn_238", T = "ds-dialog_footer--scrollable_kvopn_245", o = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as t, jsxs as F } from "react/jsx-runtime";
|
|
3
3
|
import { c as n } from "./index.DL9mof6u.js";
|
|
4
4
|
import { useRef as p, useState as R, useEffect as v } from "react";
|
|
5
|
-
import { D as k } from "./Button.
|
|
5
|
+
import { D as k } from "./Button.CQlIao-Z.js";
|
|
6
6
|
import { g as x } from "./helpers.CexwVao7.js";
|
|
7
7
|
import "./index.D-sRdssb.js";
|
|
8
8
|
import '../assets/Drawer.x3BCQvWE.css';const I = "ds-drawer_root_4nbv0_10", O = "ds-drawer_root--end_4nbv0_68", y = "ds-drawer_content-wrapper_4nbv0_169", z = "ds-drawer_content-wrapper--no-footer_4nbv0_175", L = "ds-drawer_close-button_4nbv0_178", M = "ds-drawer_header_4nbv0_191", P = "ds-drawer_content_4nbv0_169", j = "ds-drawer_footer_4nbv0_193", H = "ds-drawer_header--scrollable_4nbv0_214", T = "ds-drawer_header--close-button_4nbv0_223", A = "ds-drawer_content--no-footer_4nbv0_237", V = "ds-drawer_footer--scrollable_4nbv0_244", o = {
|
|
@@ -4,7 +4,7 @@ import { c as m } from "./index.DL9mof6u.js";
|
|
|
4
4
|
import "react";
|
|
5
5
|
import { Asterisk as S } from "../asterisk.B2ih8VwF.js";
|
|
6
6
|
import { DSHeading as P } from "../heading.DHLpT4dc.js";
|
|
7
|
-
import { D as x } from "./Popover.
|
|
7
|
+
import { D as x } from "./Popover.C9tT8xkE.js";
|
|
8
8
|
import { D as E } from "./SystemFeedback.CjlARKki.js";
|
|
9
9
|
import { g as y } from "./helpers.CexwVao7.js";
|
|
10
10
|
import "./index.D-sRdssb.js";
|
|
@@ -7,10 +7,10 @@ import { u as P } from "./useBreakpoint.1txsny17.js";
|
|
|
7
7
|
import "./index.D-sRdssb.js";
|
|
8
8
|
import { g as Se } from "./AriaLiveRegions.utils.CybNIBSa.js";
|
|
9
9
|
import { Asterisk as Fe } from "../asterisk.B2ih8VwF.js";
|
|
10
|
-
import { D as ze } from "./Button.
|
|
11
|
-
import { FileList as Ne } from "../filelist.
|
|
10
|
+
import { D as ze } from "./Button.CQlIao-Z.js";
|
|
11
|
+
import { FileList as Ne } from "../filelist.Bcu6TZRj.js";
|
|
12
12
|
import { D as Le } from "./Icon.CDLyB7Pv.js";
|
|
13
|
-
import { D as ke } from "./Popover.
|
|
13
|
+
import { D as ke } from "./Popover.C9tT8xkE.js";
|
|
14
14
|
import { D as ye } from "./SystemFeedback.CjlARKki.js";
|
|
15
15
|
import { g as _ } from "./helpers.CexwVao7.js";
|
|
16
16
|
import '../assets/InputFile.D7Ihod7B.css';const Be = "ds-input-file_root_ad2pg_1", Te = "ds-input-file_browse-button--is-dragging-filled_ad2pg_1", Ae = "ds-input-file_browse-button--is-dragging_ad2pg_1", Pe = "ds-input-file_hint_ad2pg_14", $e = "ds-input-file_label-wrapper_ad2pg_14", Ce = "ds-input-file_label_ad2pg_14", Re = "ds-input-file_label--disabled_ad2pg_33", Ee = "ds-input-file_label-wrapper--hidden_ad2pg_45", We = "ds-input-file_feedback_ad2pg_73", qe = "ds-input-file_dropzone_ad2pg_77", xe = "ds-input-file_dropzone--disabled_ad2pg_83", He = "ds-input-file_dropzone--invalid_ad2pg_97", Oe = "ds-input-file_dropzone--is-dragging_ad2pg_100", Ve = "ds-input-file_hint-drop-zone_ad2pg_103", je = "ds-input-file_upload-icon_ad2pg_106", Me = "ds-input-file_browse-button-dropzone--is-dragging_ad2pg_109", Ue = "ds-input-file_instructions_ad2pg_112", Ze = "ds-input-file_input_ad2pg_149", Ge = "ds-input-file_required-sr-info_ad2pg_153", t = {
|
|
@@ -7,9 +7,9 @@ import { u as J } from "./useBreakpoint.1txsny17.js";
|
|
|
7
7
|
import { u as K } from "./useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
8
8
|
import "./index.D-sRdssb.js";
|
|
9
9
|
import { Asterisk as Re } from "../asterisk.B2ih8VwF.js";
|
|
10
|
-
import { D as Q } from "./Button.
|
|
10
|
+
import { D as Q } from "./Button.CQlIao-Z.js";
|
|
11
11
|
import { M as k, a as P } from "./Input.utils.CL1u4Ctq.js";
|
|
12
|
-
import { D as Ee } from "./Popover.
|
|
12
|
+
import { D as Ee } from "./Popover.C9tT8xkE.js";
|
|
13
13
|
import { D as We } from "./SystemFeedback.CjlARKki.js";
|
|
14
14
|
import { g as f } from "./helpers.CexwVao7.js";
|
|
15
15
|
import '../assets/InputNumber.z_UqRYdv.css';const ke = "ds-input-number_input_1nvt0_1", Pe = "ds-input-number_input--small_1nvt0_9", Ce = "ds-input-number_input--invalid_1nvt0_121", Ve = "ds-input-number_input--has-affix_1nvt0_197", $e = "ds-input-number_input--is-ready_1nvt0_211", He = "ds-input-number_root_1nvt0_222", Fe = "ds-input-number_hint_1nvt0_222", Te = "ds-input-number_label-wrapper_1nvt0_222", Me = "ds-input-number_wrapper_1nvt0_226", Xe = "ds-input-number_affix_1nvt0_232", je = "ds-input-number_affix--small_1nvt0_253", qe = "ds-input-number_prefix_1nvt0_266", Ue = "ds-input-number_suffix_1nvt0_272", Ge = "ds-input-number_affix--disabled_1nvt0_278", Oe = "ds-input-number_affix--readonly_1nvt0_289", Je = "ds-input-number_action-button_1nvt0_325", Ke = "ds-input-number_label_1nvt0_222", Qe = "ds-input-number_label--disabled_1nvt0_344", Ye = "ds-input-number_label-wrapper--hidden_1nvt0_356", Ze = "ds-input-number_feedback_1nvt0_384", ze = "ds-input-number_second-action-button_1nvt0_397", et = "ds-input-number_value-announcer_1nvt0_401", e = {
|
|
@@ -4,8 +4,8 @@ import { c as e } from "./index.DL9mof6u.js";
|
|
|
4
4
|
import { forwardRef as F, useState as M, useRef as U } from "react";
|
|
5
5
|
import { u as I } from "./useBreakpoint.1txsny17.js";
|
|
6
6
|
import { Asterisk as G } from "../asterisk.B2ih8VwF.js";
|
|
7
|
-
import { D as J } from "./Button.
|
|
8
|
-
import { D as K } from "./Popover.
|
|
7
|
+
import { D as J } from "./Button.CQlIao-Z.js";
|
|
8
|
+
import { D as K } from "./Popover.C9tT8xkE.js";
|
|
9
9
|
import { D as Q } from "./SystemFeedback.CjlARKki.js";
|
|
10
10
|
import { g as f } from "./helpers.CexwVao7.js";
|
|
11
11
|
import "./index.D-sRdssb.js";
|
|
@@ -6,8 +6,8 @@ import { g as m, a as st } from "./helpers.CexwVao7.js";
|
|
|
6
6
|
import { u as O } from "./useBreakpoint.1txsny17.js";
|
|
7
7
|
import "./index.D-sRdssb.js";
|
|
8
8
|
import { Asterisk as ot } from "../asterisk.B2ih8VwF.js";
|
|
9
|
-
import { D as W } from "./Button.
|
|
10
|
-
import { D as rt } from "./Popover.
|
|
9
|
+
import { D as W } from "./Button.CQlIao-Z.js";
|
|
10
|
+
import { D as rt } from "./Popover.C9tT8xkE.js";
|
|
11
11
|
import { D as it } from "./SystemFeedback.CjlARKki.js";
|
|
12
12
|
import '../assets/InputSearch.GBH9Eh6F.css';const ct = "ds-input-search_input_37dw5_1", lt = "ds-input-search_input--small_37dw5_9", ut = "ds-input-search_input--invalid_37dw5_121", pt = "ds-input-search_input--has-action-button_37dw5_182", dt = "ds-input-search_input--has-second-action-button_37dw5_185", ht = "ds-input-search_root_37dw5_218", mt = "ds-input-search_hint_37dw5_218", bt = "ds-input-search_label-wrapper_37dw5_218", ft = "ds-input-search_wrapper_37dw5_222", _t = "ds-input-search_action-button_37dw5_228", wt = "ds-input-search_second-action-button_37dw5_232", St = "ds-input-search_label_37dw5_218", Dt = "ds-input-search_label--disabled_37dw5_251", Bt = "ds-input-search_label-wrapper--hidden_37dw5_263", It = "ds-input-search_feedback_37dw5_291", t = {
|
|
13
13
|
input: ct,
|
|
@@ -103,7 +103,8 @@ import '../assets/LinkButton.88j5ckLu.css';const E = "ds-link-button_root_250ek_
|
|
|
103
103
|
}), G = p({
|
|
104
104
|
// hide label only visually to keep them available for assistive technologies
|
|
105
105
|
[t.labelHidden]: i(l) && o !== "navigation"
|
|
106
|
-
|
|
106
|
+
// if no label classes are set via classNames, return undefined to avoid empty class attribute
|
|
107
|
+
}) || void 0, T = p({
|
|
107
108
|
[t.iconNavigation]: o === "navigation"
|
|
108
109
|
}), F = n === "light" && o === "filled" || n === "dark" && o === "outline" || n === "dark" && o === "ghost" ? "dark" : "light", S = s === void 0 ? "span" : "a", v = /* @__PURE__ */ N(
|
|
109
110
|
S,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as v } from "react/jsx-runtime";
|
|
3
3
|
import { d as u } from "./index.D-sRdssb.js";
|
|
4
4
|
import { useState as T, useEffect as y } from "react";
|
|
5
|
-
import { TabList as h } from "../tablist.
|
|
5
|
+
import { TabList as h } from "../tablist.mX5nQWwH.js";
|
|
6
6
|
import { g as m, r as E } from "./helpers.CexwVao7.js";
|
|
7
7
|
const _ = ["left", "center"], j = ["prev", "next"], S = ({
|
|
8
8
|
aria: a,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as H, jsxs as F } from "react/jsx-runtime";
|
|
3
3
|
import { d as R } from "./index.D-sRdssb.js";
|
|
4
4
|
import { c as k } from "./index.DL9mof6u.js";
|
|
5
|
-
import { D as W } from "./Button.
|
|
5
|
+
import { D as W } from "./Button.CQlIao-Z.js";
|
|
6
6
|
import { D as j } from "./Icon.CDLyB7Pv.js";
|
|
7
7
|
import '../assets/Notification.CvohYEvT.css';const y = "ds-notification_root_trmu0_1", L = "ds-notification_root--success_trmu0_29", P = "ds-notification_root--error_trmu0_33", V = "ds-notification_root--warning_trmu0_37", z = "ds-notification_root--hide-icon_trmu0_41", Y = "ds-notification_content_trmu0_55", $ = "ds-notification_content--hide-close-button_trmu0_62", q = "ds-notification_content--hide-icon_trmu0_65", G = "ds-notification_icon_trmu0_69", J = "ds-notification_message_trmu0_73", K = "ds-notification_custom-action-area_trmu0_170", e = {
|
|
8
8
|
root: y,
|
|
@@ -5,7 +5,7 @@ import { useState as J, useRef as K, useMemo as Q, createContext as X, forwardRe
|
|
|
5
5
|
import { u as oe, o as te, j as re, s as se, k as ne, a as ae, b as ce, c as ie, d as le, e as pe, f as j, g as de, l as ue, F as he, i as ve } from "./floating-ui.react.COTL3jH5.js";
|
|
6
6
|
import { c as k } from "./index.DL9mof6u.js";
|
|
7
7
|
import { g as b, c as M } from "./helpers.CexwVao7.js";
|
|
8
|
-
import { D as fe } from "./Button.
|
|
8
|
+
import { D as fe } from "./Button.CQlIao-Z.js";
|
|
9
9
|
import '../assets/Popover.CXyUaXiO.css';const me = "ds-popover_popover_xg81f_5", ge = "ds-popover_popover--no-arrow_xg81f_64", we = "ds-popover_popover--variant-grey_xg81f_67", Pe = "ds-popover_arrow_xg81f_71", De = "ds-popover_arrow--variant-grey_xg81f_90", Se = "ds-popover_default-anchor_xg81f_107", _ = {
|
|
10
10
|
popover: me,
|
|
11
11
|
popoverNoArrow: ge,
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as T } from "react/jsx-runtime";
|
|
3
|
+
import { d as X } from "./index.D-sRdssb.js";
|
|
4
|
+
import { c as J } from "./index.DL9mof6u.js";
|
|
5
|
+
import { forwardRef as Y, useState as Z } from "react";
|
|
6
|
+
import { D as oo } from "./Fieldset.Bk8W5h13.js";
|
|
7
|
+
import { DSRadio as eo } from "../radio.pyM5ma9s.js";
|
|
8
|
+
import { g, r as W } from "./helpers.CexwVao7.js";
|
|
9
|
+
import '../assets/RadioGroup.q1lQ-HIZ.css';const to = "ds-radio-group_fieldset--custom-area-above_1r3gv_1", ro = "ds-radio-group_root_1r3gv_5", so = "ds-radio-group_root--horizontal_1r3gv_13", io = "ds-radio-group_root--invalid_1r3gv_16", ao = "ds-radio-group_root--custom-area-above_1r3gv_19", no = "ds-radio-group_root--custom-area-above--horizontal_1r3gv_26", H = {
|
|
10
|
+
fieldsetCustomAreaAbove: to,
|
|
11
|
+
root: ro,
|
|
12
|
+
rootHorizontal: so,
|
|
13
|
+
rootInvalid: io,
|
|
14
|
+
rootCustomAreaAbove: ao,
|
|
15
|
+
rootCustomAreaAboveHorizontal: no
|
|
16
|
+
}, lo = (r) => r.some(({
|
|
17
|
+
hint: s
|
|
18
|
+
}) => !!s), co = (r) => r.some(({
|
|
19
|
+
customArea: s,
|
|
20
|
+
isCustomAreaAbove: o
|
|
21
|
+
}) => !!s && !o), F = (r) => r.some(({
|
|
22
|
+
customArea: s,
|
|
23
|
+
isCustomAreaAbove: o
|
|
24
|
+
}) => !!s && o), uo = ({
|
|
25
|
+
legend: r,
|
|
26
|
+
name: s,
|
|
27
|
+
options: o,
|
|
28
|
+
description: d,
|
|
29
|
+
direction: p,
|
|
30
|
+
hideUncheckedHints: a,
|
|
31
|
+
id: t,
|
|
32
|
+
systemFeedback: n
|
|
33
|
+
}) => {
|
|
34
|
+
if (!t && (d || n))
|
|
35
|
+
throw new Error(g("DSRadioGroup", 'A unique "id" prop is required when providing the description or systemFeedback property. Please add a unique "id" prop to the DSRadioGroup component.'));
|
|
36
|
+
if (!r)
|
|
37
|
+
throw new Error(g("DSRadioGroup", W("legend", "DSRadioGroup")));
|
|
38
|
+
if (!s)
|
|
39
|
+
throw new Error(g("DSRadioGroup", W("name", "DSRadioGroup")));
|
|
40
|
+
if (Array.isArray(o)) {
|
|
41
|
+
if (o.length === 0)
|
|
42
|
+
throw new Error(g("DSRadioGroup", "The options array must not be empty."));
|
|
43
|
+
} else throw new Error(g("DSRadioGroup", W("options", "DSRadioGroup")));
|
|
44
|
+
if (p === "horizontal" && co(o))
|
|
45
|
+
throw new Error(g("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."));
|
|
46
|
+
p === "horizontal" && a && console.warn(g("DSRadioGroup", "Setting 'hideUncheckedHints' to 'true' is not possible when direction is 'horizontal'. Please remove 'hideUncheckedHints' or change direction property to 'vertical'."));
|
|
47
|
+
}, po = Y((r, s) => {
|
|
48
|
+
const o = X.c(66);
|
|
49
|
+
let d, p, a, t, n, v, m, e, A, b, C, c, z, G, R, y, E, k;
|
|
50
|
+
o[0] !== r ? ({
|
|
51
|
+
legend: n,
|
|
52
|
+
name: v,
|
|
53
|
+
options: e,
|
|
54
|
+
className: d,
|
|
55
|
+
defaultValue: p,
|
|
56
|
+
description: a,
|
|
57
|
+
direction: z,
|
|
58
|
+
disabled: G,
|
|
59
|
+
hideUncheckedHints: R,
|
|
60
|
+
id: t,
|
|
61
|
+
invalid: y,
|
|
62
|
+
popoverContent: A,
|
|
63
|
+
popoverInfoButtonProps: b,
|
|
64
|
+
required: E,
|
|
65
|
+
systemFeedback: c,
|
|
66
|
+
value: k,
|
|
67
|
+
onChange: m,
|
|
68
|
+
...C
|
|
69
|
+
} = r, o[0] = r, o[1] = d, o[2] = p, o[3] = a, o[4] = t, o[5] = n, o[6] = v, o[7] = m, o[8] = e, o[9] = A, o[10] = b, o[11] = C, o[12] = c, o[13] = z, o[14] = G, o[15] = R, o[16] = y, o[17] = E, o[18] = k) : (d = o[1], p = o[2], a = o[3], t = o[4], n = o[5], v = o[6], m = o[7], e = o[8], A = o[9], b = o[10], C = o[11], c = o[12], z = o[13], G = o[14], R = o[15], y = o[16], E = o[17], k = o[18]);
|
|
70
|
+
const u = z === void 0 ? "vertical" : z, l = G === void 0 ? !1 : G, h = R === void 0 ? !1 : R, f = y === void 0 ? !1 : y, D = E === void 0 ? !1 : E;
|
|
71
|
+
process.env.NODE_ENV !== "production" && uo({
|
|
72
|
+
legend: n,
|
|
73
|
+
name: v,
|
|
74
|
+
options: e,
|
|
75
|
+
description: a,
|
|
76
|
+
direction: u,
|
|
77
|
+
hideUncheckedHints: h,
|
|
78
|
+
id: t,
|
|
79
|
+
systemFeedback: c
|
|
80
|
+
});
|
|
81
|
+
const [K, Q] = Z(p), N = k !== void 0, q = N ? k : K;
|
|
82
|
+
let x;
|
|
83
|
+
o[19] !== d || o[20] !== e ? (x = J({
|
|
84
|
+
[H.fieldsetCustomAreaAbove]: F(e)
|
|
85
|
+
}, d), o[19] = d, o[20] = e, o[21] = x) : x = o[21];
|
|
86
|
+
const V = x, M = u === "horizontal", O = f && !!c;
|
|
87
|
+
let I;
|
|
88
|
+
o[22] !== u || o[23] !== e || o[24] !== M || o[25] !== O ? (I = J(H.root, {
|
|
89
|
+
[H.rootHorizontal]: M,
|
|
90
|
+
[H.rootInvalid]: O,
|
|
91
|
+
[H.rootCustomAreaAbove]: F(e),
|
|
92
|
+
[H.rootCustomAreaAboveHorizontal]: F(e) && u === "horizontal"
|
|
93
|
+
}), o[22] = u, o[23] = e, o[24] = M, o[25] = O, o[26] = I) : I = o[26];
|
|
94
|
+
const $ = I;
|
|
95
|
+
let P;
|
|
96
|
+
o[27] !== l || o[28] !== N || o[29] !== m ? (P = (i) => {
|
|
97
|
+
if (l) {
|
|
98
|
+
i.preventDefault();
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
N || Q(i.target.value), m && m(i);
|
|
102
|
+
}, o[27] = l, o[28] = N, o[29] = m, o[30] = P) : P = o[30];
|
|
103
|
+
const j = P;
|
|
104
|
+
let U;
|
|
105
|
+
o[31] !== h || o[32] !== e ? (U = lo(e) && !h, o[31] = h, o[32] = e, o[33] = U) : U = o[33];
|
|
106
|
+
const L = U;
|
|
107
|
+
let S;
|
|
108
|
+
o[34] !== u || o[35] !== e ? (S = F(e) && u === "horizontal" ? {
|
|
109
|
+
maxWidth: `calc(${e.length * 400}px + var(--ds-spacing-dynamic-xs))`
|
|
110
|
+
} : void 0, o[34] = u, o[35] = e, o[36] = S) : S = o[36];
|
|
111
|
+
let _;
|
|
112
|
+
o[37] !== L || o[38] !== q || o[39] !== l || o[40] !== h || o[41] !== t || o[42] !== f || o[43] !== v || o[44] !== e || o[45] !== s || o[46] !== D ? (_ = e.map((i) => /* @__PURE__ */ T(eo, { name: v, checked: i.value === q, disabled: l, fieldsetId: t, hideUncheckedHint: h, hint: i.hint, invalid: f, isBold: L, required: D, ref: i.value === q ? s : null, ...i }, t + i.label + i.value + i.hint)), o[37] = L, o[38] = q, o[39] = l, o[40] = h, o[41] = t, o[42] = f, o[43] = v, o[44] = e, o[45] = s, o[46] = D, o[47] = _) : _ = o[47];
|
|
113
|
+
let w;
|
|
114
|
+
o[48] !== $ || o[49] !== S || o[50] !== _ ? (w = /* @__PURE__ */ T("div", { className: $, style: S, children: _ }), o[48] = $, o[49] = S, o[50] = _, o[51] = w) : w = o[51];
|
|
115
|
+
let B;
|
|
116
|
+
return o[52] !== a || o[53] !== l || o[54] !== V || o[55] !== j || o[56] !== t || o[57] !== f || o[58] !== n || o[59] !== A || o[60] !== b || o[61] !== D || o[62] !== C || o[63] !== c || o[64] !== w ? (B = /* @__PURE__ */ T(oo, { id: t, legend: n, className: V, description: a, disabled: l, required: D, invalid: f, systemFeedback: c, popoverContent: A, popoverInfoButtonProps: b, ...C, role: "radiogroup", onChange: j, children: w }), o[52] = a, o[53] = l, o[54] = V, o[55] = j, o[56] = t, o[57] = f, o[58] = n, o[59] = A, o[60] = b, o[61] = D, o[62] = C, o[63] = c, o[64] = w, o[65] = B) : B = o[65], B;
|
|
117
|
+
});
|
|
118
|
+
po.displayName = "DSRadioGroup";
|
|
119
|
+
export {
|
|
120
|
+
po as D,
|
|
121
|
+
co as a,
|
|
122
|
+
F as b,
|
|
123
|
+
lo as o,
|
|
124
|
+
uo as v
|
|
125
|
+
};
|
|
@@ -6,7 +6,7 @@ import { u as A } from "./useBreakpoint.1txsny17.js";
|
|
|
6
6
|
import "./index.D-sRdssb.js";
|
|
7
7
|
import { Asterisk as G } from "../asterisk.B2ih8VwF.js";
|
|
8
8
|
import { D as ee } from "./Icon.CDLyB7Pv.js";
|
|
9
|
-
import { D as le } from "./Popover.
|
|
9
|
+
import { D as le } from "./Popover.C9tT8xkE.js";
|
|
10
10
|
import { D as se } from "./SystemFeedback.CjlARKki.js";
|
|
11
11
|
import { g as n, r as te } from "./helpers.CexwVao7.js";
|
|
12
12
|
import '../assets/Select.CL0fqx7X.css';const ae = "ds-select_root_1p3qq_1", re = "ds-select_hint_1p3qq_1", ce = "ds-select_label-wrapper_1p3qq_1", oe = "ds-select_label_1p3qq_1", ne = "ds-select_label--disabled_1p3qq_123", ie = "ds-select_label-wrapper--hidden_1p3qq_135", de = "ds-select_feedback_1p3qq_163", pe = "ds-select_select-wrapper_1p3qq_167", he = "ds-select_select_1p3qq_167", me = "ds-select_select--small_1p3qq_181", be = "ds-select_select--invalid_1p3qq_293", _e = "ds-select_select--placeholder_1p3qq_401", fe = "ds-select_chevron_1p3qq_451", Se = "ds-select_chevron--small_1p3qq_455", ue = "ds-select_chevron--disabled_1p3qq_458", e = {
|
|
@@ -4,8 +4,8 @@ import { d as mt } from "./index.D-sRdssb.js";
|
|
|
4
4
|
import { c as v } from "./index.DL9mof6u.js";
|
|
5
5
|
import { forwardRef as bt, useState as tt, useRef as ft } from "react";
|
|
6
6
|
import { u as _t } from "./useBreakpoint.1txsny17.js";
|
|
7
|
-
import { DSInput as ht } from "../input.
|
|
8
|
-
import { D as vt } from "./Popover.
|
|
7
|
+
import { DSInput as ht } from "../input.DL_M_Pg3.js";
|
|
8
|
+
import { D as vt } from "./Popover.C9tT8xkE.js";
|
|
9
9
|
import { g as lt } from "./helpers.CexwVao7.js";
|
|
10
10
|
import '../assets/Slider.DWLuIsNj.css';const Tt = "ds-slider_root_3zq13_1", xt = "ds-slider_hint_3zq13_4", gt = "ds-slider_label-wrapper_3zq13_4", kt = "ds-slider_label-hint-input-wrapper_3zq13_7", Nt = "ds-slider_number-input_3zq13_10", St = "ds-slider_label-wrapper--hidden_3zq13_20", Dt = "ds-slider_label_3zq13_4", yt = "ds-slider_label--disabled_3zq13_55", It = "ds-slider_number-input--small_3zq13_84", qt = "ds-slider_min-max-label-wrapper_3zq13_89", zt = "ds-slider_min-max-label-wrapper--disabled_3zq13_103", Mt = "ds-slider_min-label_3zq13_108", Lt = "ds-slider_max-label_3zq13_112", Wt = "ds-slider_slider-wrapper_3zq13_116", wt = "ds-slider_slider_3zq13_116", Vt = "ds-slider_value-tooltip_3zq13_135", Ct = "ds-slider_proxy-thumb_3zq13_139", Pt = "ds-slider_proxy-thumb--disabled_3zq13_217", $t = "ds-slider_custom-track_3zq13_246", At = "ds-slider_custom-track--progress_3zq13_251", Et = "ds-slider_custom-track--runnable_3zq13_263", Rt = "ds-slider_custom-track--disabled_3zq13_277", Ft = "ds-slider_tick-wrapper_3zq13_297", Bt = "ds-slider_tick_3zq13_297", Ht = "ds-slider_value-tooltip--visible_3zq13_356", Ot = "ds-slider_value-tooltip--disabled_3zq13_359", s = {
|
|
11
11
|
root: Tt,
|
|
@@ -8,8 +8,8 @@ import { t as H } from "./translate.nuU7uChI.js";
|
|
|
8
8
|
import { u as L } from "./useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
9
9
|
import "./index.D-sRdssb.js";
|
|
10
10
|
import { g as w } from "./AriaLiveRegions.utils.CybNIBSa.js";
|
|
11
|
-
import { DSScroller as F } from "../scroller.
|
|
12
|
-
import { StepperStep as G } from "../step.
|
|
11
|
+
import { DSScroller as F } from "../scroller.B1LijjCF.js";
|
|
12
|
+
import { StepperStep as G } from "../step.DaJFsafj.js";
|
|
13
13
|
import '../assets/Stepper.tXJl15yL.css';const ge = ["prev", "next"], N = 48, J = "ds-stepper_root_1d1si_1", K = "ds-stepper_root--vertical_1d1si_12", Q = "ds-stepper_scroller--centered_1d1si_17", U = "ds-stepper_scroller-button_1d1si_21", X = "ds-stepper_list_1d1si_26", Y = "ds-stepper_list--center_1d1si_35", Z = "ds-stepper_list--vertical_1d1si_38", a = {
|
|
14
14
|
root: J,
|
|
15
15
|
rootVertical: K,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as N, jsxs as C } from "react/jsx-runtime";
|
|
3
3
|
import { d as L } from "./index.D-sRdssb.js";
|
|
4
4
|
import { useState as M } from "react";
|
|
5
|
-
import { TabList as $ } from "../tablist.
|
|
5
|
+
import { TabList as $ } from "../tablist.mX5nQWwH.js";
|
|
6
6
|
import { TabPane as j } from "../tabpane.C4nsUlwc.js";
|
|
7
7
|
import { g as B } from "./TabPane.utils.DG16Y2uD.js";
|
|
8
8
|
import { g, r as O } from "./helpers.CexwVao7.js";
|
|
@@ -6,7 +6,7 @@ import { g as I, p as X } from "./helpers.CexwVao7.js";
|
|
|
6
6
|
import { u as Z } from "./useBreakpoint.1txsny17.js";
|
|
7
7
|
import "./index.D-sRdssb.js";
|
|
8
8
|
import { Asterisk as me } from "../asterisk.B2ih8VwF.js";
|
|
9
|
-
import { D as xe } from "./Popover.
|
|
9
|
+
import { D as xe } from "./Popover.C9tT8xkE.js";
|
|
10
10
|
import { D as ve } from "./SystemFeedback.CjlARKki.js";
|
|
11
11
|
import '../assets/Textarea.B1HOakic.css';const Se = "ds-textarea_textarea_19e2t_1", Ce = "ds-textarea_textarea--small_19e2t_9", we = "ds-textarea_textarea--invalid_19e2t_121", ye = "ds-textarea_textarea--resize-auto_19e2t_145", De = "ds-textarea_root_19e2t_155", Ae = "ds-textarea_hint_19e2t_155", Te = "ds-textarea_label-wrapper_19e2t_155", Ie = "ds-textarea_label_19e2t_155", Ne = "ds-textarea_label--disabled_19e2t_295", ke = "ds-textarea_label-wrapper--hidden_19e2t_307", Re = "ds-textarea_feedback_19e2t_335", Ee = "ds-textarea_footer_19e2t_339", He = "ds-textarea_footer--has-system-feedback_19e2t_344", ge = "ds-textarea_char-count_19e2t_353", $e = "ds-textarea_char-count-announcer_19e2t_366", a = {
|
|
12
12
|
textarea: Se,
|
|
@@ -3,7 +3,7 @@ import { jsx as S, jsxs as y } from "react/jsx-runtime";
|
|
|
3
3
|
import { d as E } from "./index.D-sRdssb.js";
|
|
4
4
|
import { c as W } from "./index.DL9mof6u.js";
|
|
5
5
|
import { forwardRef as L } from "react";
|
|
6
|
-
import { D as M } from "./Button.
|
|
6
|
+
import { D as M } from "./Button.CQlIao-Z.js";
|
|
7
7
|
import { D as O } from "./Icon.CDLyB7Pv.js";
|
|
8
8
|
import '../assets/Toast.CGyKXb4V.css';const P = "ds-toast_root_1jbef_5", z = "ds-toast_root--closing_1jbef_15", A = "ds-toast_root--success_1jbef_56", R = "ds-toast_root--info_1jbef_60", $ = "ds-toast_root--warning_1jbef_64", q = "ds-toast_content_1jbef_69", F = "ds-toast_content--hide-icon_1jbef_76", G = "ds-toast_icon_1jbef_80", J = "ds-toast_message_1jbef_84", s = {
|
|
9
9
|
root: P,
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { RadioProps } from '../Radio/Radio';
|
|
2
2
|
import { RadioGroupProps } from './RadioGroup';
|
|
3
3
|
export type RadioGroupOption = Pick<RadioProps, 'label' | 'value' | 'className' | 'customArea' | 'hint' | 'isCustomAreaAbove'>;
|
|
4
|
-
type ValidationProps = Pick<RadioGroupProps, 'legend' | 'name' | 'options' | 'description' | 'direction' | 'id' | 'systemFeedback'>;
|
|
4
|
+
type ValidationProps = Pick<RadioGroupProps, 'legend' | 'name' | 'options' | 'description' | 'direction' | 'hideUncheckedHints' | 'id' | 'systemFeedback'>;
|
|
5
5
|
export declare const optionsHaveHint: (options: RadioGroupOption[]) => boolean;
|
|
6
6
|
export declare const optionsHaveCustomAreaInline: (options: RadioGroupOption[]) => boolean;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const optionsHaveCustomAreaAbove: (options: RadioGroupOption[]) => boolean;
|
|
8
|
+
export declare const validateRadioGroupProps: ({ legend, name, options, description, direction, hideUncheckedHints, id, systemFeedback, }: ValidationProps) => void;
|
|
8
9
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,11 +3,11 @@ 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 { c as f } from "./chunks/CustomReactSelect.
|
|
6
|
+
import { c as f } from "./chunks/CustomReactSelect.D4kopDzX.js";
|
|
7
7
|
import "./chunks/useBreakpoint.1txsny17.js";
|
|
8
8
|
import "./asterisk.B2ih8VwF.js";
|
|
9
9
|
import "./chunks/Icon.CDLyB7Pv.js";
|
|
10
|
-
import "./chunks/Popover.
|
|
10
|
+
import "./chunks/Popover.C9tT8xkE.js";
|
|
11
11
|
import "./chunks/SystemFeedback.CjlARKki.js";
|
|
12
12
|
import "./optioncheckbox.nBVwGv6c.js";
|
|
13
13
|
export {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "./chunks/index.DL9mof6u.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./chunks/Button.
|
|
6
|
-
import { D as e } from "./chunks/Dialog.
|
|
5
|
+
import "./chunks/Button.CQlIao-Z.js";
|
|
6
|
+
import { D as e } from "./chunks/Dialog.DMxHRrxo.js";
|
|
7
7
|
export {
|
|
8
8
|
e as DSDialog
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "./chunks/index.DL9mof6u.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./chunks/Button.
|
|
6
|
-
import { D as e } from "./chunks/Drawer.
|
|
5
|
+
import "./chunks/Button.CQlIao-Z.js";
|
|
6
|
+
import { D as e } from "./chunks/Drawer.CatmvDHJ.js";
|
|
7
7
|
export {
|
|
8
8
|
e as DSDrawer
|
|
9
9
|
};
|
|
@@ -4,9 +4,9 @@ import "./chunks/index.DL9mof6u.js";
|
|
|
4
4
|
import "react";
|
|
5
5
|
import "./asterisk.B2ih8VwF.js";
|
|
6
6
|
import "./heading.DHLpT4dc.js";
|
|
7
|
-
import "./chunks/Popover.
|
|
7
|
+
import "./chunks/Popover.C9tT8xkE.js";
|
|
8
8
|
import "./chunks/SystemFeedback.CjlARKki.js";
|
|
9
|
-
import { D } from "./chunks/Fieldset.
|
|
9
|
+
import { D } from "./chunks/Fieldset.Bk8W5h13.js";
|
|
10
10
|
export {
|
|
11
11
|
D as DSFieldset
|
|
12
12
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as o, jsxs as w } from "react/jsx-runtime";
|
|
3
3
|
import { d as P } from "./chunks/index.D-sRdssb.js";
|
|
4
|
-
import { D as k } from "./chunks/Button.
|
|
4
|
+
import { D as k } from "./chunks/Button.CQlIao-Z.js";
|
|
5
5
|
import { D as u } from "./chunks/Icon.CDLyB7Pv.js";
|
|
6
6
|
import { D as S } from "./chunks/SystemFeedback.CjlARKki.js";
|
|
7
7
|
import { c as j } from "./chunks/index.DL9mof6u.js";
|