@stihl-design-system/components 1.0.0-RC.32 → 1.0.0-RC.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion.Dmqocj97.js +12 -0
- package/actionbutton.Du5CT-Mt.js +12 -0
- package/actionlink.BK9CaQUY.js +12 -0
- package/{arialiveregions.Fgcshs5k.js → arialiveregions.BUVY9NpY.js} +2 -2
- package/assets/Accordion.CzBGud45.css +1 -0
- package/assets/Button.CmeGVEAY.css +1 -0
- package/assets/Checkbox.CyOw3rXI.css +1 -0
- package/assets/CustomReactSelect.BihX36Uo.css +1 -0
- package/assets/Dialog.DJkn65Es.css +1 -0
- package/assets/Drawer.x3BCQvWE.css +1 -0
- package/assets/Fieldset.Oqu7pOBv.css +1 -0
- package/assets/InputFile.D7Ihod7B.css +1 -0
- package/assets/InputNumber.z_UqRYdv.css +1 -0
- package/assets/InputPassword.DZENjxJ9.css +1 -0
- package/assets/InputSearch.GBH9Eh6F.css +1 -0
- package/assets/LinkButton.88j5ckLu.css +1 -0
- package/assets/{MegaMenu.DX9gChtY.css → MegaMenu.D5EtjFeL.css} +1 -1
- package/assets/Notification.CvohYEvT.css +1 -0
- package/assets/Select.CL0fqx7X.css +1 -0
- package/assets/Slider.DWLuIsNj.css +1 -0
- package/assets/Stepper.tXJl15yL.css +1 -0
- package/assets/{SystemFeedback.RcrPepSZ.css → SystemFeedback.PKzqnXUe.css} +1 -1
- package/assets/Textarea.B1HOakic.css +1 -0
- package/assets/Toast.CGyKXb4V.css +1 -0
- package/assets/buttonround.DBpMesfr.css +1 -0
- package/assets/input.RPDR8qdT.css +1 -0
- package/assets/step.BeLporJO.css +1 -0
- package/assets/switch.B9B-n_3y.css +1 -0
- package/{asterisk.CR60hx8S.js → asterisk.B2ih8VwF.js} +1 -1
- package/{banner.o4Etkjjo.js → banner.D-RX60nJ.js} +3 -3
- package/breadcrumb.tvMByFgp.js +11 -0
- package/button.CZupaV9L.js +12 -0
- package/buttonround.9IS0tUqw.js +96 -0
- package/checkbox.XYQI-ubx.js +12 -0
- package/checkboxgroup.CjnNJ8e6.js +9 -0
- package/chip.B-pxhsdb.js +12 -0
- package/chipgroup.cGjn4LVV.js +143 -0
- package/chunks/Accordion.CYIfNOWr.js +168 -0
- package/chunks/{ActionButton.DdDesD7K.js → ActionButton.BOYQYo5M.js} +37 -37
- package/chunks/{ActionLink.DqAsPYda.js → ActionLink.BlwvrnPN.js} +36 -36
- package/chunks/{AriaLiveRegions.utils.Cb327d_2.js → AriaLiveRegions.utils.CybNIBSa.js} +2 -2
- package/chunks/{Breadcrumb.9KinNuyQ.js → Breadcrumb.Qr6bDP2N.js} +35 -37
- package/chunks/Button.Cn5yg7dG.js +138 -0
- package/chunks/Checkbox.D5X5T6Yg.js +88 -0
- package/chunks/CheckboxGroup.CUR_0VMc.js +74 -0
- package/chunks/{Chip.BrbYu6i_.js → Chip.DIp5hdRH.js} +6 -6
- package/chunks/{CustomReactSelect.Cqq70QC0.js → CustomReactSelect.BA3hUVkh.js} +897 -878
- package/chunks/Dialog.DRk_jSj5.js +102 -0
- package/chunks/Drawer.Dj6WeUC8.js +107 -0
- package/chunks/Fieldset.C0RzpI-h.js +81 -0
- package/chunks/Header.18sOO0Gf.js +370 -0
- package/chunks/{Icon.NSsVrYeq.js → Icon.CDLyB7Pv.js} +77 -79
- package/chunks/{Input.utils.Cnnzvuk4.js → Input.utils.CL1u4Ctq.js} +30 -28
- package/chunks/InputFile.Bki3bs3U.js +236 -0
- package/chunks/InputNumber.B43cqBH0.js +242 -0
- package/chunks/InputPassword.DcdMjsXr.js +121 -0
- package/chunks/InputSearch.CJm6ph8W.js +149 -0
- package/chunks/LinkButton.C6F-yuLL.js +139 -0
- package/chunks/MegaMenu.qttkjGbD.js +188 -0
- package/chunks/NavigationTabList.G_l0GiUa.js +67 -0
- package/chunks/{NavigationTabs.DspPFHPh.js → NavigationTabs.CQxlahX1.js} +13 -14
- package/chunks/Notification.Qzz88ngL.js +91 -0
- package/chunks/Popover.D7McfVaH.js +214 -0
- package/chunks/RadioGroup.B2VCD9x-.js +106 -0
- package/chunks/Select.B0uMOSSD.js +147 -0
- package/chunks/Slider.YTIktxxD.js +306 -0
- package/chunks/Stepper.BvPmbbqw.js +152 -0
- package/chunks/{SystemFeedback.CyGbUCzT.js → SystemFeedback.CjlARKki.js} +9 -9
- package/chunks/Tabs.CoO_lrhV.js +83 -0
- package/chunks/{Text.DGWeWF1y.js → Text.DpRtTpB4.js} +3 -3
- package/chunks/Textarea.lYiPXerd.js +181 -0
- package/chunks/Toast.L5HAuEOn.js +76 -0
- package/chunks/{arrow-clockwise.BefOjGPg.js → arrow-clockwise.C4iOgjOc.js} +1 -1
- package/chunks/{arrow-counterclockwise.C7Ov32BZ.js → arrow-counterclockwise.CgQAuBUe.js} +1 -1
- package/chunks/{circle-check-colored.Bye_GwLy.js → circle-check-colored.qP2s3vjI.js} +1 -1
- package/chunks/{diamond-exclamationmark-colored.WNKYwZ8q.js → diamond-exclamationmark-colored.CzYiaTZ0.js} +1 -1
- package/chunks/feather.l1E4nFBx.js +10 -0
- package/chunks/file-type-doc.B_RSSYbu.js +10 -0
- package/chunks/floating-ui.react.COTL3jH5.js +2984 -0
- package/chunks/helpers.CexwVao7.js +38 -0
- package/chunks/{index.CgTHIF3K.js → index.D-sRdssb.js} +1 -1
- package/chunks/{index.CEyLAtio.js → index.DL9mof6u.js} +2 -2
- package/chunks/{is-animation-disabled.CUl4N3LI.js → is-animation-disabled.B-V_68K-.js} +5 -5
- package/chunks/{map.CXgG1iGz.js → map.DNl7PF61.js} +1 -1
- package/chunks/moon.5yILPYXs.js +10 -0
- package/chunks/muscle.DbNjWasV.js +10 -0
- package/chunks/petrol.BGWwCsTw.js +10 -0
- package/chunks/sun.CY6ttzTL.js +10 -0
- package/chunks/{triangle-exclamationmark-colored.CbVC3Gzi.js → triangle-exclamationmark-colored.e93zvQ6Q.js} +1 -1
- package/chunks/upload.BogDfonx.js +10 -0
- package/chunks/useBreakpoint.1txsny17.js +45 -0
- package/chunks/variants.-R3_RCW8.js +10 -0
- package/chunks/weight.DUPu2UT0.js +10 -0
- package/combobox.CGEDlMo0.js +71 -0
- package/components/Button/Button.d.ts +5 -0
- package/components/Button/Button.utils.d.ts +4 -5
- package/components/CheckboxGroup/CheckboxGroup.d.ts +14 -1
- package/components/ChipGroup/ChipGroup.utils.d.ts +1 -3
- package/components/Combobox/Combobox.utils.d.ts +6 -6
- package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +17 -2
- package/components/Fieldset/Fieldset.d.ts +14 -1
- package/components/Input/Input.d.ts +13 -0
- package/components/Input/Input.utils.d.ts +2 -2
- package/components/InputFile/InputFile.d.ts +13 -0
- package/components/InputFile/InputFile.utils.d.ts +4 -2
- package/components/{InputStepper/InputStepper.d.ts → InputNumber/InputNumber.d.ts} +21 -8
- package/components/InputNumber/InputNumber.utils.d.ts +13 -0
- package/components/InputPassword/InputPassword.d.ts +13 -0
- package/components/InputPassword/InputPassword.utils.d.ts +2 -2
- package/components/InputSearch/InputSearch.d.ts +13 -0
- package/components/InputSearch/InputSearch.utils.d.ts +2 -2
- package/components/LinkButton/LinkButton.d.ts +5 -0
- package/components/LinkButton/LinkButton.utils.d.ts +4 -5
- package/components/RadioGroup/RadioGroup.d.ts +13 -0
- package/components/Scroller/Scroller.d.ts +6 -2
- package/components/Select/Select.d.ts +13 -0
- package/components/Select/Select.utils.d.ts +2 -2
- package/components/Slider/Slider.d.ts +13 -0
- package/components/Stepper/Step.d.ts +33 -0
- package/components/Stepper/Step.utils.d.ts +5 -0
- package/components/Stepper/Stepper.d.ts +56 -0
- package/components/Stepper/Stepper.test.d.ts +1 -0
- package/components/Stepper/Stepper.utils.d.ts +30 -0
- package/components/Stepper/Stepper.utils.test.d.ts +1 -0
- package/components/Textarea/Textarea.d.ts +13 -0
- package/components/Textarea/Textarea.utils.d.ts +2 -2
- package/customreactselect.BgYf8rKE.js +15 -0
- package/dialog.Bq-ZyzR8.js +9 -0
- package/drawer.DL5UzLWf.js +9 -0
- package/fieldset.BFLW2D9H.js +12 -0
- package/{filelist.BiKMKCyg.js → filelist.BG6SGVJ8.js} +23 -24
- package/{flag.72PONA83.js → flag.CE32qHPa.js} +3 -3
- package/{floatingactionbutton.B2YChsNU.js → floatingactionbutton.B5hJ2At2.js} +5 -5
- package/header.A77yIAH3.js +12 -0
- package/{heading.BXFBZhKv.js → heading.DHLpT4dc.js} +2 -2
- package/icon.vzkPwgjZ.js +9 -0
- package/index.d.ts +4 -2
- package/index.es.js +218 -206
- package/input.hBWqQr3X.js +190 -0
- package/inputfile.BSZuRujU.js +18 -0
- package/inputnumber.CA4JiUmq.js +17 -0
- package/inputnumber.d.ts +2 -0
- package/inputpassword.Cju_crMi.js +13 -0
- package/inputsearch.CU9AhVVv.js +15 -0
- package/{link.DbnvsD3j.js → link.DoiK003-.js} +5 -5
- package/linkbutton.CWco_B7v.js +12 -0
- package/{logo.C96KaG1P.js → logo.DprmD8HU.js} +3 -3
- package/{logo100years.BcB6_c-o.js → logo100years.DDzCrczW.js} +11 -11
- package/megamenu.BurL9MfF.js +12 -0
- package/navigationtablist.CkkLyHrM.js +10 -0
- package/navigationtabs.zhRZHjgs.js +9 -0
- package/notification.BiXdWNo7.js +10 -0
- package/{numberindicator.Ddf3ESi7.js → numberindicator.BdnPMogE.js} +2 -2
- package/{optioncheckbox.DqfXuPdi.js → optioncheckbox.nBVwGv6c.js} +3 -3
- package/package.json +42 -50
- package/partials/index.js +54 -48
- package/partials/lib/partials.d.ts +1 -1
- package/popover.79Voiadz.js +12 -0
- package/{radio.7_N_alaS.js → radio.DHUfSPai.js} +2 -2
- package/radiogroup.CwBh7u9L.js +11 -0
- package/scroller.IpfbFV8B.js +98 -0
- package/select.NHaEtX_u.js +14 -0
- package/{skiptocontent.BSCde5hT.js → skiptocontent.X4USTODk.js} +4 -4
- package/slider.jnNGEyBq.js +12 -0
- package/{spinner.BUjhjAvw.js → spinner.C9qCeq0R.js} +18 -18
- package/step.D5p7qppy.js +82 -0
- package/step.d.ts +6 -0
- package/stepper.DnMc4ex6.js +16 -0
- package/stepper.d.ts +2 -0
- package/styles/scss/ds/lib/ds-internal/_input.scss +12 -3
- package/styles/scss/ds/lib/ds-internal/_link-button.scss +10 -2
- package/styles/scss/ds/lib/link-button.scss +11 -3
- package/{switch.D7BCfyyZ.js → switch.Bqdyzi2E.js} +5 -5
- package/systemfeedback.O7tj1juR.js +10 -0
- package/tablist.BFE6RAPD.js +209 -0
- package/{tabpane.CB-eudyw.js → tabpane.C4nsUlwc.js} +2 -2
- package/tabs.CsOxxQyQ.js +11 -0
- package/text.cLv2PhjQ.js +10 -0
- package/textarea.C9OAAjhG.js +14 -0
- package/{title.Bz_k5Vda.js → title.DuLPB-VK.js} +2 -2
- package/toast.OBI9qnAM.js +11 -0
- package/toastmanager.CgsA-1y_.js +89 -0
- package/tooltip.Cj3AvYgB.js +177 -0
- package/topbar.CAujTZAE.js +12 -0
- package/types/icon-types.d.ts +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/mergeRefs.d.ts +5 -0
- package/utils/mergeRefs.test.d.ts +1 -0
- package/utils/useIsomorphicLayoutEffect.d.ts +2 -2
- package/accordion.HfUSDwQJ.js +0 -12
- package/actionbutton.kgd0E_xF.js +0 -12
- package/actionlink.CwC42RWc.js +0 -12
- package/assets/Accordion.BJb4TOG0.css +0 -1
- package/assets/Button.Dw8H5nFS.css +0 -1
- package/assets/Checkbox.BKHQN_tu.css +0 -1
- package/assets/CustomReactSelect.DGIItWIh.css +0 -1
- package/assets/Dialog.CGAg7bnN.css +0 -1
- package/assets/Drawer.VOvWQoEr.css +0 -1
- package/assets/Fieldset.CW9dBvAo.css +0 -1
- package/assets/InputFile.CCQxsulT.css +0 -1
- package/assets/InputPassword.124xVOiO.css +0 -1
- package/assets/InputSearch.Bkg-1urJ.css +0 -1
- package/assets/InputStepper.DvFJk1Mi.css +0 -1
- package/assets/LinkButton.xMvg_ojf.css +0 -1
- package/assets/Notification.BOuaA5GT.css +0 -1
- package/assets/Select.C1gWF32A.css +0 -1
- package/assets/Slider.Bidyhb-B.css +0 -1
- package/assets/Textarea.Dq4rH9Tg.css +0 -1
- package/assets/Toast.CJ1zhDIT.css +0 -1
- package/assets/buttonround.Cw9hnUan.css +0 -1
- package/assets/input.CUjGh-UM.css +0 -1
- package/assets/switch.Bc9KIyw9.css +0 -1
- package/breadcrumb.BsQm0kUD.js +0 -11
- package/button.Dyy6ajX6.js +0 -13
- package/buttonround.ChKWHzsv.js +0 -96
- package/checkbox.BNnp4ztM.js +0 -12
- package/checkboxgroup.BTVnKenc.js +0 -9
- package/chip.C7NstOHt.js +0 -12
- package/chipgroup.Zo1-IOCn.js +0 -210
- package/chunks/Accordion.CnqryAUu.js +0 -170
- package/chunks/Button.Cf1CKq8N.js +0 -142
- package/chunks/Checkbox.CiwriItT.js +0 -88
- package/chunks/CheckboxGroup.Cj68J6Ee.js +0 -72
- package/chunks/Dialog.Bv7k55He.js +0 -135
- package/chunks/Drawer.BVTvx276.js +0 -140
- package/chunks/Fieldset.D7cLR5ze.js +0 -74
- package/chunks/Header.um5MlziB.js +0 -377
- package/chunks/InputFile.bVWWdePn.js +0 -220
- package/chunks/InputPassword.Da3hEKTc.js +0 -136
- package/chunks/InputSearch.GOYqFCcZ.js +0 -174
- package/chunks/InputStepper.BuhPtfl-.js +0 -268
- package/chunks/LinkButton.59oNDwPU.js +0 -132
- package/chunks/MegaMenu._o3nNDAa.js +0 -192
- package/chunks/NavigationTabList.DuT7gzhj.js +0 -57
- package/chunks/Notification.Pts2oh0R.js +0 -92
- package/chunks/Popover.BRR8YZ-P.js +0 -228
- package/chunks/RadioGroup.DeTz3c19.js +0 -104
- package/chunks/Select.D2ehd4yN.js +0 -162
- package/chunks/Slider.84lkgq3W.js +0 -292
- package/chunks/Tabs.C8ADTzJ0.js +0 -83
- package/chunks/Textarea.Cw85sxHL.js +0 -163
- package/chunks/Toast.DG3WVvau.js +0 -76
- package/chunks/file-type-doc.DlovDOBh.js +0 -10
- package/chunks/floating-ui.dom.VgHc0h4l.js +0 -989
- package/chunks/floating-ui.react.DCyAzlZ4.js +0 -2011
- package/chunks/helpers.BbWkXTr3.js +0 -37
- package/chunks/petrol.Du6qAgp0.js +0 -10
- package/chunks/upload.ZImTAIgx.js +0 -10
- package/chunks/useBreakpoint.CMOR9ZOB.js +0 -44
- package/combobox.orZ3z8CB.js +0 -60
- package/components/InputStepper/InputStepper.utils.d.ts +0 -13
- package/customreactselect.Np-RpzvU.js +0 -14
- package/dialog.D4rcbW6A.js +0 -10
- package/drawer.BCCB3Rkj.js +0 -10
- package/fieldset.ZLs9IGpE.js +0 -11
- package/header.DUbn3BZt.js +0 -12
- package/icon.CHVAZr5T.js +0 -9
- package/input.DG20x6gh.js +0 -203
- package/inputfile.Dc56lQ4t.js +0 -17
- package/inputpassword.znFHRLsI.js +0 -13
- package/inputsearch.B1G6rfVk.js +0 -14
- package/inputstepper.d.ts +0 -2
- package/inputstepper.o6rdM_CW.js +0 -16
- package/linkbutton.DU8Ih8ZF.js +0 -12
- package/megamenu.CPH8EeFF.js +0 -12
- package/navigationtablist.C0iwsAad.js +0 -9
- package/navigationtabs.JjJtbuUe.js +0 -9
- package/notification.Ds_Q7ifk.js +0 -10
- package/popover.B72W0OvU.js +0 -12
- package/radiogroup.C_3IcNBq.js +0 -11
- package/scroller.CQxmQU6U.js +0 -123
- package/select.Ceyt-zvu.js +0 -13
- package/slider.Dq2dcziy.js +0 -11
- package/systemfeedback.CSdWOWuf.js +0 -10
- package/tablist.V7DBklhE.js +0 -256
- package/tabs.DQNLPAEN.js +0 -11
- package/text.ZOUuesnU.js +0 -10
- package/textarea.CixKeQBp.js +0 -13
- package/toast.D8QprMCa.js +0 -11
- package/toastmanager.BSVjYsg9.js +0 -116
- package/tooltip.CUCSRXd3.js +0 -191
- package/topbar.CVhJy-Br.js +0 -12
- /package/components/{InputStepper/InputStepper.test.d.ts → InputNumber/InputNumber.test.d.ts} +0 -0
- /package/components/{InputStepper/InputStepper.utils.test.d.ts → InputNumber/InputNumber.utils.test.d.ts} +0 -0
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _ } from "react/jsx-runtime";
|
|
3
|
-
import { d as w } from "./index.CgTHIF3K.js";
|
|
4
|
-
import { c as G } from "./index.CEyLAtio.js";
|
|
5
|
-
import { D as q } from "./Fieldset.D7cLR5ze.js";
|
|
6
|
-
import S from "react";
|
|
7
|
-
import { g as x, r as N } from "./helpers.BbWkXTr3.js";
|
|
8
|
-
import { D as z } from "./Checkbox.CiwriItT.js";
|
|
9
|
-
import '../assets/CheckboxGroup.Dd-Huo7x.css';const F = "ds-checkbox-group_root_12fot_1", H = "ds-checkbox-group_root--horizontal_12fot_9", I = "ds-checkbox-group_root--invalid_12fot_12", g = {
|
|
10
|
-
root: F,
|
|
11
|
-
rootHorizontal: H,
|
|
12
|
-
rootInvalid: I
|
|
13
|
-
}, O = ({
|
|
14
|
-
children: c,
|
|
15
|
-
description: e,
|
|
16
|
-
id: t,
|
|
17
|
-
legend: s,
|
|
18
|
-
systemFeedback: r
|
|
19
|
-
}) => {
|
|
20
|
-
if (!t && (e || r))
|
|
21
|
-
throw new Error(x("DSCheckboxGroup", 'A unique "id" prop is required when providing the description or systemFeedback property. Please add a unique "id" prop to the DSCheckboxGroup component.'));
|
|
22
|
-
if (!s)
|
|
23
|
-
throw new Error(x("DSCheckboxGroup", N("legend", "DSCheckboxGroup")));
|
|
24
|
-
if (!c)
|
|
25
|
-
throw new Error(x("DSCheckboxGroup", "The component requires DSCheckbox components to be explicitly set as its children. Ensure that you include individual DSCheckbox components within the DSCheckboxGroup to create a cohesive checkbox group."));
|
|
26
|
-
S.Children.forEach(c, (o) => {
|
|
27
|
-
if (!S.isValidElement(o) || // Object.keys(child.type)[1] !== '_payload' checks if the object is currently in a hydration phase
|
|
28
|
-
o.type !== z && Object.keys(o.type)[1] !== "_payload") {
|
|
29
|
-
const i = S.isValidElement(o) ? `Currently you are passing a child of type: ${JSON.stringify(o.type)}.` : "Currently you are passing an invalid React element.";
|
|
30
|
-
throw new Error(x("DSCheckboxGroup", `The component requires the children to be DSCheckbox elements. ${i} Ensure that you include individual DSCheckbox components within the DSCheckboxGroup to create a cohesive checkbox group.`));
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
}, A = (c) => {
|
|
34
|
-
const e = w.c(29);
|
|
35
|
-
let t, s, r, o, i, a, n, d, p, h, u;
|
|
36
|
-
e[0] !== c ? ({
|
|
37
|
-
children: t,
|
|
38
|
-
legend: i,
|
|
39
|
-
className: s,
|
|
40
|
-
description: r,
|
|
41
|
-
direction: d,
|
|
42
|
-
disabled: p,
|
|
43
|
-
id: o,
|
|
44
|
-
invalid: h,
|
|
45
|
-
required: u,
|
|
46
|
-
systemFeedback: n,
|
|
47
|
-
...a
|
|
48
|
-
} = c, e[0] = c, e[1] = t, e[2] = s, e[3] = r, e[4] = o, e[5] = i, e[6] = a, e[7] = n, e[8] = d, e[9] = p, e[10] = h, e[11] = u) : (t = e[1], s = e[2], r = e[3], o = e[4], i = e[5], a = e[6], n = e[7], d = e[8], p = e[9], h = e[10], u = e[11]);
|
|
49
|
-
const E = d === void 0 ? "vertical" : d, k = p === void 0 ? !1 : p, m = h === void 0 ? !1 : h, v = u === void 0 ? !1 : u;
|
|
50
|
-
process.env.NODE_ENV !== "production" && O({
|
|
51
|
-
children: t,
|
|
52
|
-
description: r,
|
|
53
|
-
id: o,
|
|
54
|
-
legend: i,
|
|
55
|
-
systemFeedback: n
|
|
56
|
-
});
|
|
57
|
-
const D = E === "horizontal", C = m && !!n;
|
|
58
|
-
let b;
|
|
59
|
-
e[12] !== D || e[13] !== C ? (b = G(g.root, {
|
|
60
|
-
[g.rootHorizontal]: D,
|
|
61
|
-
[g.rootInvalid]: C
|
|
62
|
-
}), e[12] = D, e[13] = C, e[14] = b) : b = e[14];
|
|
63
|
-
const y = b;
|
|
64
|
-
let l;
|
|
65
|
-
e[15] !== t || e[16] !== y ? (l = /* @__PURE__ */ _("div", { className: y, children: t }), e[15] = t, e[16] = y, e[17] = l) : l = e[17];
|
|
66
|
-
let f;
|
|
67
|
-
return e[18] !== s || e[19] !== r || e[20] !== k || e[21] !== o || e[22] !== m || e[23] !== i || e[24] !== v || e[25] !== a || e[26] !== n || e[27] !== l ? (f = /* @__PURE__ */ _(q, { id: o, legend: i, className: s, description: r, disabled: k, required: v, invalid: m, systemFeedback: n, ...a, children: l }), e[18] = s, e[19] = r, e[20] = k, e[21] = o, e[22] = m, e[23] = i, e[24] = v, e[25] = a, e[26] = n, e[27] = l, e[28] = f) : f = e[28], f;
|
|
68
|
-
};
|
|
69
|
-
export {
|
|
70
|
-
A as D,
|
|
71
|
-
O as v
|
|
72
|
-
};
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as F, jsxs as Z } from "react/jsx-runtime";
|
|
3
|
-
import { d as ee } from "./index.CgTHIF3K.js";
|
|
4
|
-
import { c as W } from "./index.CEyLAtio.js";
|
|
5
|
-
import { useRef as Q, useState as oe, useEffect as U } from "react";
|
|
6
|
-
import { D as te } from "./Button.Cf1CKq8N.js";
|
|
7
|
-
import { g as le } from "./helpers.BbWkXTr3.js";
|
|
8
|
-
import '../assets/Dialog.CGAg7bnN.css';const se = "ds-dialog_root_kvopn_5", ne = "ds-dialog_content-wrapper_kvopn_166", re = "ds-dialog_content-wrapper--no-footer_kvopn_172", ce = "ds-dialog_close-button_kvopn_180", ae = "ds-dialog_header_kvopn_193", ie = "ds-dialog_content_kvopn_166", de = "ds-dialog_footer_kvopn_195", fe = "ds-dialog_header--scrollable_kvopn_216", pe = "ds-dialog_header--close-button_kvopn_225", ue = "ds-dialog_content--no-footer_kvopn_238", he = "ds-dialog_footer--scrollable_kvopn_245", t = {
|
|
9
|
-
root: se,
|
|
10
|
-
contentWrapper: ne,
|
|
11
|
-
contentWrapperNoFooter: re,
|
|
12
|
-
closeButton: ce,
|
|
13
|
-
header: ae,
|
|
14
|
-
content: ie,
|
|
15
|
-
footer: de,
|
|
16
|
-
headerScrollable: fe,
|
|
17
|
-
headerCloseButton: pe,
|
|
18
|
-
contentNoFooter: ue,
|
|
19
|
-
footerScrollable: he
|
|
20
|
-
}, _e = ({
|
|
21
|
-
tabIndex: c
|
|
22
|
-
}) => {
|
|
23
|
-
if (c || c === 0)
|
|
24
|
-
throw new Error(le("DSDialog", "Do not pass the tabindex property to the DSDialog component as it is not interactive and does not receive focus. The DSDialogs contents, including the close button contained in the DSDialog, can receive focus and be interactive."));
|
|
25
|
-
}, De = (c) => {
|
|
26
|
-
const e = ee.c(59);
|
|
27
|
-
let a, i, d, l, f, s, n, C, E, w;
|
|
28
|
-
e[0] !== c ? ({
|
|
29
|
-
children: a,
|
|
30
|
-
className: i,
|
|
31
|
-
closeButtonProps: d,
|
|
32
|
-
disableBackdropClose: C,
|
|
33
|
-
footer: l,
|
|
34
|
-
header: f,
|
|
35
|
-
hideCloseButton: E,
|
|
36
|
-
isOpen: w,
|
|
37
|
-
onClose: s,
|
|
38
|
-
...n
|
|
39
|
-
} = c, e[0] = c, e[1] = a, e[2] = i, e[3] = d, e[4] = l, e[5] = f, e[6] = s, e[7] = n, e[8] = C, e[9] = E, e[10] = w) : (a = e[1], i = e[2], d = e[3], l = e[4], f = e[5], s = e[6], n = e[7], C = e[8], E = e[9], w = e[10]);
|
|
40
|
-
const H = C === void 0 ? !1 : C, y = E === void 0 ? !1 : E, O = w === void 0 ? !1 : w;
|
|
41
|
-
if (process.env.NODE_ENV !== "production") {
|
|
42
|
-
const {
|
|
43
|
-
tabIndex: o
|
|
44
|
-
} = n;
|
|
45
|
-
_e({
|
|
46
|
-
tabIndex: o
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
let p;
|
|
50
|
-
e[11] !== d ? (p = d || {}, e[11] = d, e[12] = p) : p = e[12];
|
|
51
|
-
let u, x;
|
|
52
|
-
e[13] !== p ? ({
|
|
53
|
-
label: x,
|
|
54
|
-
...u
|
|
55
|
-
} = p, e[13] = p, e[14] = u, e[15] = x) : (u = e[14], x = e[15]);
|
|
56
|
-
const I = x === void 0 ? "Close dialog" : x, r = Q(null), A = Q(null), [h, X] = oe(!1);
|
|
57
|
-
let R, z;
|
|
58
|
-
e[16] === Symbol.for("react.memo_cache_sentinel") ? (R = () => {
|
|
59
|
-
const o = A.current;
|
|
60
|
-
if (o) {
|
|
61
|
-
const J = () => {
|
|
62
|
-
X(o.scrollHeight > o.clientHeight);
|
|
63
|
-
};
|
|
64
|
-
J();
|
|
65
|
-
const K = new ResizeObserver(J);
|
|
66
|
-
return K.observe(o), () => {
|
|
67
|
-
K.disconnect();
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
}, z = [], e[16] = R, e[17] = z) : (R = e[16], z = e[17]), U(R, z);
|
|
71
|
-
let L;
|
|
72
|
-
e[18] !== O || e[19] !== s ? (L = [O, s], e[18] = O, e[19] = s, e[20] = L) : L = e[20], U(() => {
|
|
73
|
-
const o = r.current;
|
|
74
|
-
if (o)
|
|
75
|
-
return o.addEventListener("close", G), O ? o.showModal() : o.close(), () => {
|
|
76
|
-
o.removeEventListener("close", G);
|
|
77
|
-
};
|
|
78
|
-
}, L);
|
|
79
|
-
const G = () => {
|
|
80
|
-
s && s();
|
|
81
|
-
};
|
|
82
|
-
let M;
|
|
83
|
-
e[21] !== H ? (M = (o) => {
|
|
84
|
-
H || r.current && o.target === r.current && r.current.close();
|
|
85
|
-
}, e[21] = H, e[22] = M) : M = e[22];
|
|
86
|
-
const T = M;
|
|
87
|
-
let P;
|
|
88
|
-
e[23] === Symbol.for("react.memo_cache_sentinel") ? (P = () => {
|
|
89
|
-
r.current && r.current.close();
|
|
90
|
-
}, e[23] = P) : P = e[23];
|
|
91
|
-
const Y = P;
|
|
92
|
-
let _;
|
|
93
|
-
e[24] !== i ? (_ = W(t.root, i), e[24] = i, e[25] = _) : _ = e[25];
|
|
94
|
-
let m;
|
|
95
|
-
e[26] !== T ? (m = (o) => T(o), e[26] = T, e[27] = m) : m = e[27];
|
|
96
|
-
const V = !l;
|
|
97
|
-
let v;
|
|
98
|
-
e[28] !== V ? (v = W(t.contentWrapper, {
|
|
99
|
-
[t.contentWrapperNoFooter]: V
|
|
100
|
-
}), e[28] = V, e[29] = v) : v = e[29];
|
|
101
|
-
let g;
|
|
102
|
-
e[30] !== y || e[31] !== I || e[32] !== u ? (g = !y && /* @__PURE__ */ F(te, { ...u, className: t.closeButton, hideLabel: !0, iconName: "cross", size: "small", type: "button", variant: "ghost", onClick: () => Y(), children: I }), e[30] = y, e[31] = I, e[32] = u, e[33] = g) : g = e[33];
|
|
103
|
-
const $ = !y;
|
|
104
|
-
let b;
|
|
105
|
-
e[34] !== h || e[35] !== $ ? (b = W(t.header, {
|
|
106
|
-
[t.headerCloseButton]: $,
|
|
107
|
-
[t.headerScrollable]: h
|
|
108
|
-
}), e[34] = h, e[35] = $, e[36] = b) : b = e[36];
|
|
109
|
-
let S;
|
|
110
|
-
e[37] !== f || e[38] !== b ? (S = /* @__PURE__ */ F("header", { className: b, children: f }), e[37] = f, e[38] = b, e[39] = S) : S = e[39];
|
|
111
|
-
const q = !l;
|
|
112
|
-
let k;
|
|
113
|
-
e[40] !== q ? (k = W(t.content, {
|
|
114
|
-
[t.contentNoFooter]: q
|
|
115
|
-
}), e[40] = q, e[41] = k) : k = e[41];
|
|
116
|
-
let D;
|
|
117
|
-
e[42] !== a || e[43] !== k ? (D = /* @__PURE__ */ F("div", { ref: A, className: k, tabIndex: 0, children: a }), e[42] = a, e[43] = k, e[44] = D) : D = e[44];
|
|
118
|
-
let N;
|
|
119
|
-
e[45] !== l || e[46] !== h ? (N = l && /* @__PURE__ */ F("footer", { className: W(t.footer, {
|
|
120
|
-
[t.footerScrollable]: h
|
|
121
|
-
}), children: l }), e[45] = l, e[46] = h, e[47] = N) : N = e[47];
|
|
122
|
-
let B;
|
|
123
|
-
e[48] !== v || e[49] !== g || e[50] !== S || e[51] !== D || e[52] !== N ? (B = /* @__PURE__ */ Z("div", { className: v, children: [
|
|
124
|
-
g,
|
|
125
|
-
S,
|
|
126
|
-
D,
|
|
127
|
-
N
|
|
128
|
-
] }), e[48] = v, e[49] = g, e[50] = S, e[51] = D, e[52] = N, e[53] = B) : B = e[53];
|
|
129
|
-
let j;
|
|
130
|
-
return e[54] !== n || e[55] !== _ || e[56] !== m || e[57] !== B ? (j = /* @__PURE__ */ F("dialog", { ...n, ref: r, className: _, onMouseDown: m, "aria-modal": "true", children: B }), e[54] = n, e[55] = _, e[56] = m, e[57] = B, e[58] = j) : j = e[58], j;
|
|
131
|
-
};
|
|
132
|
-
export {
|
|
133
|
-
De as D,
|
|
134
|
-
_e as v
|
|
135
|
-
};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as x, jsxs as oe } from "react/jsx-runtime";
|
|
3
|
-
import { d as re } from "./index.CgTHIF3K.js";
|
|
4
|
-
import { c as F } from "./index.CEyLAtio.js";
|
|
5
|
-
import { useRef as X, useState as se, useEffect as Y } from "react";
|
|
6
|
-
import { D as ne } from "./Button.Cf1CKq8N.js";
|
|
7
|
-
import { g as le } from "./helpers.BbWkXTr3.js";
|
|
8
|
-
import '../assets/Drawer.VOvWQoEr.css';const ce = "ds-drawer_root_4nbv0_10", ae = "ds-drawer_root--end_4nbv0_68", ie = "ds-drawer_content-wrapper_4nbv0_169", de = "ds-drawer_content-wrapper--no-footer_4nbv0_175", fe = "ds-drawer_close-button_4nbv0_178", _e = "ds-drawer_header_4nbv0_191", pe = "ds-drawer_content_4nbv0_169", ue = "ds-drawer_footer_4nbv0_193", be = "ds-drawer_header--scrollable_4nbv0_214", he = "ds-drawer_header--close-button_4nbv0_223", me = "ds-drawer_content--no-footer_4nbv0_237", ve = "ds-drawer_footer--scrollable_4nbv0_244", o = {
|
|
9
|
-
root: ce,
|
|
10
|
-
rootEnd: ae,
|
|
11
|
-
contentWrapper: ie,
|
|
12
|
-
contentWrapperNoFooter: de,
|
|
13
|
-
closeButton: fe,
|
|
14
|
-
header: _e,
|
|
15
|
-
content: pe,
|
|
16
|
-
footer: ue,
|
|
17
|
-
headerScrollable: be,
|
|
18
|
-
headerCloseButton: he,
|
|
19
|
-
contentNoFooter: me,
|
|
20
|
-
footerScrollable: ve
|
|
21
|
-
}, ge = ["start", "end"], we = ({
|
|
22
|
-
tabIndex: c
|
|
23
|
-
}) => {
|
|
24
|
-
if (c || c === 0)
|
|
25
|
-
throw new Error(le("DSDrawer", "Do not pass the tabindex property to the DSDrawer component as it is not interactive and does not receive focus. The DSDrawers contents, including the close button contained in the DSDrawer, can receive focus and be interactive."));
|
|
26
|
-
}, ke = (c) => {
|
|
27
|
-
const e = re.c(61);
|
|
28
|
-
let a, i, d, r, f, s, n, E, g, k, O;
|
|
29
|
-
e[0] !== c ? ({
|
|
30
|
-
children: a,
|
|
31
|
-
className: i,
|
|
32
|
-
closeButtonProps: d,
|
|
33
|
-
disableBackdropClose: E,
|
|
34
|
-
footer: r,
|
|
35
|
-
header: f,
|
|
36
|
-
hideCloseButton: g,
|
|
37
|
-
position: k,
|
|
38
|
-
isOpen: O,
|
|
39
|
-
onClose: s,
|
|
40
|
-
...n
|
|
41
|
-
} = c, e[0] = c, e[1] = a, e[2] = i, e[3] = d, e[4] = r, e[5] = f, e[6] = s, e[7] = n, e[8] = E, e[9] = g, e[10] = k, e[11] = O) : (a = e[1], i = e[2], d = e[3], r = e[4], f = e[5], s = e[6], n = e[7], E = e[8], g = e[9], k = e[10], O = e[11]);
|
|
42
|
-
const H = E === void 0 ? !1 : E, R = g === void 0 ? !1 : g, Z = k === void 0 ? "start" : k, y = O === void 0 ? !1 : O;
|
|
43
|
-
if (process.env.NODE_ENV !== "production") {
|
|
44
|
-
const {
|
|
45
|
-
tabIndex: t
|
|
46
|
-
} = n;
|
|
47
|
-
we({
|
|
48
|
-
tabIndex: t
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
let _;
|
|
52
|
-
e[12] !== d ? (_ = d || {}, e[12] = d, e[13] = _) : _ = e[13];
|
|
53
|
-
let p, W;
|
|
54
|
-
e[14] !== _ ? ({
|
|
55
|
-
label: W,
|
|
56
|
-
...p
|
|
57
|
-
} = _, e[14] = _, e[15] = p, e[16] = W) : (p = e[15], W = e[16]);
|
|
58
|
-
const T = W === void 0 ? "Close modal" : W, l = X(null), J = X(null), [u, ee] = se(!1);
|
|
59
|
-
let I, P;
|
|
60
|
-
e[17] === Symbol.for("react.memo_cache_sentinel") ? (I = () => {
|
|
61
|
-
const t = J.current;
|
|
62
|
-
if (t) {
|
|
63
|
-
const Q = () => {
|
|
64
|
-
ee(t.scrollHeight > t.clientHeight);
|
|
65
|
-
};
|
|
66
|
-
Q();
|
|
67
|
-
const U = new ResizeObserver(Q);
|
|
68
|
-
return U.observe(t), () => {
|
|
69
|
-
U.disconnect();
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
}, P = [], e[17] = I, e[18] = P) : (I = e[17], P = e[18]), Y(I, P);
|
|
73
|
-
let z;
|
|
74
|
-
e[19] !== y || e[20] !== s ? (z = [y, s], e[19] = y, e[20] = s, e[21] = z) : z = e[21], Y(() => {
|
|
75
|
-
const t = l.current;
|
|
76
|
-
if (t)
|
|
77
|
-
return t.addEventListener("close", K), y ? t.showModal() : t.close(), () => {
|
|
78
|
-
t.removeEventListener("close", K);
|
|
79
|
-
};
|
|
80
|
-
}, z);
|
|
81
|
-
const K = () => {
|
|
82
|
-
s && s();
|
|
83
|
-
};
|
|
84
|
-
let L;
|
|
85
|
-
e[22] !== H ? (L = (t) => {
|
|
86
|
-
H || l.current && t.target === l.current && l.current.close();
|
|
87
|
-
}, e[22] = H, e[23] = L) : L = e[23];
|
|
88
|
-
const A = L;
|
|
89
|
-
let M;
|
|
90
|
-
e[24] === Symbol.for("react.memo_cache_sentinel") ? (M = () => {
|
|
91
|
-
l.current && l.current.close();
|
|
92
|
-
}, e[24] = M) : M = e[24];
|
|
93
|
-
const te = M, V = Z === "end";
|
|
94
|
-
let b;
|
|
95
|
-
e[25] !== V ? (b = F(o.root, {
|
|
96
|
-
[o.rootEnd]: V
|
|
97
|
-
}), e[25] = V, e[26] = b) : b = e[26];
|
|
98
|
-
let h;
|
|
99
|
-
e[27] !== A ? (h = (t) => A(t), e[27] = A, e[28] = h) : h = e[28];
|
|
100
|
-
const $ = !r;
|
|
101
|
-
let m;
|
|
102
|
-
e[29] !== i || e[30] !== $ ? (m = F(o.contentWrapper, i, {
|
|
103
|
-
[o.contentWrapperNoFooter]: $
|
|
104
|
-
}), e[29] = i, e[30] = $, e[31] = m) : m = e[31];
|
|
105
|
-
let v;
|
|
106
|
-
e[32] !== R || e[33] !== T || e[34] !== p ? (v = !R && /* @__PURE__ */ x(ne, { ...p, className: o.closeButton, hideLabel: !0, iconName: "cross", size: "small", type: "button", variant: "ghost", onClick: () => te(), children: T }), e[32] = R, e[33] = T, e[34] = p, e[35] = v) : v = e[35];
|
|
107
|
-
const q = !R;
|
|
108
|
-
let w;
|
|
109
|
-
e[36] !== u || e[37] !== q ? (w = F(o.header, {
|
|
110
|
-
[o.headerCloseButton]: q,
|
|
111
|
-
[o.headerScrollable]: u
|
|
112
|
-
}), e[36] = u, e[37] = q, e[38] = w) : w = e[38];
|
|
113
|
-
let S;
|
|
114
|
-
e[39] !== f || e[40] !== w ? (S = /* @__PURE__ */ x("header", { className: w, children: f }), e[39] = f, e[40] = w, e[41] = S) : S = e[41];
|
|
115
|
-
const G = !r;
|
|
116
|
-
let D;
|
|
117
|
-
e[42] !== G ? (D = F(o.content, {
|
|
118
|
-
[o.contentNoFooter]: G
|
|
119
|
-
}), e[42] = G, e[43] = D) : D = e[43];
|
|
120
|
-
let N;
|
|
121
|
-
e[44] !== a || e[45] !== D ? (N = /* @__PURE__ */ x("div", { ref: J, className: D, tabIndex: 0, children: a }), e[44] = a, e[45] = D, e[46] = N) : N = e[46];
|
|
122
|
-
let B;
|
|
123
|
-
e[47] !== r || e[48] !== u ? (B = r && /* @__PURE__ */ x("footer", { className: F(o.footer, {
|
|
124
|
-
[o.footerScrollable]: u
|
|
125
|
-
}), children: r }), e[47] = r, e[48] = u, e[49] = B) : B = e[49];
|
|
126
|
-
let C;
|
|
127
|
-
e[50] !== m || e[51] !== v || e[52] !== S || e[53] !== N || e[54] !== B ? (C = /* @__PURE__ */ oe("div", { className: m, children: [
|
|
128
|
-
v,
|
|
129
|
-
S,
|
|
130
|
-
N,
|
|
131
|
-
B
|
|
132
|
-
] }), e[50] = m, e[51] = v, e[52] = S, e[53] = N, e[54] = B, e[55] = C) : C = e[55];
|
|
133
|
-
let j;
|
|
134
|
-
return e[56] !== n || e[57] !== b || e[58] !== h || e[59] !== C ? (j = /* @__PURE__ */ x("dialog", { ...n, ref: l, className: b, onMouseDown: h, "aria-modal": "true", children: C }), e[56] = n, e[57] = b, e[58] = h, e[59] = C, e[60] = j) : j = e[60], j;
|
|
135
|
-
};
|
|
136
|
-
export {
|
|
137
|
-
ke as D,
|
|
138
|
-
ge as a,
|
|
139
|
-
we as v
|
|
140
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as p, jsx as i, Fragment as j } from "react/jsx-runtime";
|
|
3
|
-
import { c as m } from "./index.CEyLAtio.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import { Asterisk as y } from "../asterisk.CR60hx8S.js";
|
|
6
|
-
import { DSHeading as M } from "../heading.BXFBZhKv.js";
|
|
7
|
-
import { D as x } from "./SystemFeedback.CyGbUCzT.js";
|
|
8
|
-
import { g as D } from "./helpers.BbWkXTr3.js";
|
|
9
|
-
import "./index.CgTHIF3K.js";
|
|
10
|
-
import '../assets/Fieldset.CW9dBvAo.css';const E = "ds-fieldset_root_dtiam_1", q = "ds-fieldset_child-wrapper_dtiam_98", C = "ds-fieldset_legend_dtiam_105", P = "ds-fieldset_legend--utility--m_dtiam_109", T = "ds-fieldset_description_dtiam_121", U = "ds-fieldset_description--small_dtiam_135", W = "ds-fieldset_system-feedback_dtiam_139", s = {
|
|
11
|
-
root: E,
|
|
12
|
-
childWrapper: q,
|
|
13
|
-
legend: C,
|
|
14
|
-
legendUtilityM: P,
|
|
15
|
-
description: T,
|
|
16
|
-
descriptionSmall: U,
|
|
17
|
-
systemFeedback: W
|
|
18
|
-
}, z = ({
|
|
19
|
-
description: a,
|
|
20
|
-
id: e,
|
|
21
|
-
legend: l,
|
|
22
|
-
systemFeedback: t
|
|
23
|
-
}) => {
|
|
24
|
-
if (!e && (a || t))
|
|
25
|
-
throw new Error(D("DSFieldset", 'A unique "id" prop is required when providing the description or systemFeedback property. Please add a unique "id" prop to the DSFieldset component.'));
|
|
26
|
-
if (!l)
|
|
27
|
-
throw new Error(D("DSFieldset", "The legend prop is required. Please add the legend prop to the DSFieldset component."));
|
|
28
|
-
}, G = ({
|
|
29
|
-
children: a,
|
|
30
|
-
legend: e,
|
|
31
|
-
className: l,
|
|
32
|
-
description: t,
|
|
33
|
-
disabled: b = !1,
|
|
34
|
-
id: n,
|
|
35
|
-
invalid: c = !1,
|
|
36
|
-
required: f = !1,
|
|
37
|
-
systemFeedback: o,
|
|
38
|
-
...u
|
|
39
|
-
}) => {
|
|
40
|
-
process.env.NODE_ENV !== "production" && z({
|
|
41
|
-
description: t,
|
|
42
|
-
id: n,
|
|
43
|
-
legend: e,
|
|
44
|
-
systemFeedback: o
|
|
45
|
-
});
|
|
46
|
-
let d, g, _;
|
|
47
|
-
const r = typeof e == "object" && e !== void 0;
|
|
48
|
-
r && ({
|
|
49
|
-
headingSize: d,
|
|
50
|
-
headingTag: g,
|
|
51
|
-
headingText: _
|
|
52
|
-
} = e);
|
|
53
|
-
const h = `${n}-feedback`, S = `${n}-description`, F = [c && o && h, t && S].filter(Boolean).join(" ") || void 0, N = !r || d === "small" || d === "small-uppercase", v = m(s.root, l), k = m(s.legend, {
|
|
54
|
-
[s.legendUtilityM]: !r
|
|
55
|
-
}), w = m(s.description, {
|
|
56
|
-
[s.descriptionSmall]: N
|
|
57
|
-
});
|
|
58
|
-
return /* @__PURE__ */ p("fieldset", { className: v, disabled: b, ...u, "aria-invalid": c, "aria-describedby": F, children: [
|
|
59
|
-
/* @__PURE__ */ i("legend", { className: k, children: r ? /* @__PURE__ */ p(M, { tag: g, size: d, children: [
|
|
60
|
-
_,
|
|
61
|
-
f && /* @__PURE__ */ i(y, {})
|
|
62
|
-
] }) : /* @__PURE__ */ p(j, { children: [
|
|
63
|
-
e,
|
|
64
|
-
f && /* @__PURE__ */ i(y, {})
|
|
65
|
-
] }) }),
|
|
66
|
-
t && /* @__PURE__ */ i("span", { id: S, className: w, children: t }),
|
|
67
|
-
c && o && /* @__PURE__ */ i(x, { id: h, variant: "error", message: o, className: s.systemFeedback }),
|
|
68
|
-
/* @__PURE__ */ i("div", { className: s.childWrapper, children: a })
|
|
69
|
-
] });
|
|
70
|
-
};
|
|
71
|
-
export {
|
|
72
|
-
G as D,
|
|
73
|
-
z as v
|
|
74
|
-
};
|