@stihl-design-system/components 1.0.0-RC.39 → 1.0.0-RC.40
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.nt0Foequ.js +12 -0
- package/actionbutton.Ctea6drN.js +12 -0
- package/actionlink.VX1OMtm-.js +12 -0
- package/{arialiveregions.BUVY9NpY.js → arialiveregions.B0AV2JcV.js} +3 -3
- package/assets/Accordion.Cr1dbVTH.css +1 -0
- package/assets/ActionButton.BLOWs6IZ.css +1 -0
- package/assets/ActionLink.BJDUVdT7.css +1 -0
- package/assets/{Breadcrumb.BaYrwrYl.css → Breadcrumb.BavNNzAA.css} +1 -1
- package/assets/Button.C-UYIggc.css +1 -0
- package/assets/Checkbox.ZAPIO2N8.css +1 -0
- package/assets/Chip.D3vV0wyV.css +1 -0
- package/assets/CustomReactSelect.Ctze4SRN.css +1 -0
- package/assets/Dialog.DyiHUgTp.css +1 -0
- package/assets/Drawer.UugEajR2.css +1 -0
- package/assets/Fieldset.DmxbjOm1.css +1 -0
- package/assets/Header.BNYL2Y78.css +1 -0
- package/assets/{Icon.QeJ7TxZs.css → Icon.i2P_Jf3Q.css} +1 -1
- package/assets/InputFile.BUMCNCrj.css +1 -0
- package/assets/InputNumber.Bmz8cNKg.css +1 -0
- package/assets/InputPassword.CutbykTm.css +1 -0
- package/assets/InputSearch.Sr9jVpKt.css +1 -0
- package/assets/LinkButton.BEbmxP7h.css +1 -0
- package/assets/LinkCard.C6HtgbjH.css +1 -0
- package/assets/MegaMenu.Dw-oLSCX.css +1 -0
- package/assets/NavigationTabList.CzAiHz7G.css +1 -0
- package/assets/Notification.DBGpHzov.css +1 -0
- package/assets/Popover.mL5g23EK.css +1 -0
- package/assets/Select.BZYb_HAG.css +1 -0
- package/assets/Slider.vnSU0ya0.css +1 -0
- package/assets/TextUtility.CEBJaKBG.css +1 -0
- package/assets/Textarea.BIgA9_fl.css +1 -0
- package/assets/Toast.DgRXxA0s.css +1 -0
- package/assets/{banner.BLdW5VF4.css → banner.DFvdtgMp.css} +1 -1
- package/assets/buttonround.BTC-HthI.css +1 -0
- package/assets/{flag.C7i3MAAP.css → flag.CyCIPu_J.css} +1 -1
- package/assets/floatingactionbutton.CTbMRM9Q.css +1 -0
- package/assets/heading.mGwg9pVU.css +1 -0
- package/assets/input.BEOus9jX.css +1 -0
- package/assets/link.BemYqm4d.css +1 -0
- package/assets/logo.SVrBe1T8.css +1 -0
- package/assets/{numberindicator.O6XwvtL0.css → numberindicator.BYIPwkAK.css} +1 -1
- package/assets/optioncheckbox.6zYgifUk.css +1 -0
- package/assets/radio.l9OTraQU.css +1 -0
- package/assets/scroller.BGlPnnPD.css +1 -0
- package/assets/{spinner.Ctn_YYBG.css → spinner.C7QSv7jc.css} +1 -1
- package/assets/step.Ch508u7I.css +1 -0
- package/assets/switch.DYamtd9O.css +1 -0
- package/assets/tabpane.o34hshTz.css +1 -0
- package/assets/text.BA1eUihR.css +1 -0
- package/assets/title.N-QcA7Re.css +1 -0
- package/assets/{tooltip.Co1gWF_0.css → tooltip.BPcysHGE.css} +1 -1
- package/asterisk.Dwtdwpkq.js +13 -0
- package/{banner.AhUeW3HM.js → banner.S_c1UQJe.js} +5 -5
- package/breadcrumb.DiuuVblR.js +11 -0
- package/button.Z7Mmvwhv.js +12 -0
- package/{buttonround.9IS0tUqw.js → buttonround.Bqi8Ej-y.js} +6 -6
- package/checkbox.DtSSduSH.js +12 -0
- package/checkboxgroup.CSP1DOCW.js +9 -0
- package/chip.CyypeY5M.js +12 -0
- package/chipgroup.i5SOv6LA.js +199 -0
- package/chunks/Accordion.B-0pf8Fq.js +168 -0
- package/chunks/ActionButton.wdWh7E2b.js +182 -0
- package/chunks/ActionLink.DwUP-Kgm.js +155 -0
- package/chunks/{AriaLiveRegions.utils.CybNIBSa.js → AriaLiveRegions.utils.CLpOaVD9.js} +1 -1
- package/chunks/{Breadcrumb.C_Yaz_vw.js → Breadcrumb.nflDJoKs.js} +6 -6
- package/chunks/{Button.CQlIao-Z.js → Button.DpGeheky.js} +6 -6
- package/chunks/{Checkbox.D5X5T6Yg.js → Checkbox.B3NeB54s.js} +5 -5
- package/chunks/{CheckboxGroup.BIspWqeW.js → CheckboxGroup.BYZSvqF7.js} +4 -4
- package/chunks/{Chip.DIp5hdRH.js → Chip.SiGIIHR-.js} +42 -42
- package/chunks/{CustomReactSelect.DS9Ey-jr.js → CustomReactSelect.DBsnmMPl.js} +11 -11
- package/chunks/{Dialog.DMxHRrxo.js → Dialog.C-rcs_Up.js} +4 -4
- package/chunks/{Drawer.CatmvDHJ.js → Drawer.D0d557c5.js} +4 -4
- package/chunks/{Fieldset.Bk8W5h13.js → Fieldset.7WM7w62l.js} +7 -7
- package/chunks/Header.DyqOlV8L.js +402 -0
- package/chunks/{Icon.CDLyB7Pv.js → Icon.m6sMB6vl.js} +97 -94
- package/chunks/{Input.utils.CL1u4Ctq.js → Input.utils.D78E4MGO.js} +1 -1
- package/chunks/{InputFile.CjK3gEst.js → InputFile.DRGNdtY0.js} +10 -10
- package/chunks/{InputNumber.wfDjnz58.js → InputNumber.a44HnJ9B.js} +9 -11
- package/chunks/{InputPassword.Ctb0xbwg.js → InputPassword.B1E0Maub.js} +7 -7
- package/chunks/{InputSearch.C-r5ktR8.js → InputSearch.C7AvD7Eu.js} +7 -7
- package/chunks/{LinkButton.CWibqvhs.js → LinkButton.CMjq2FKc.js} +5 -5
- package/chunks/{LinkCard.SIrSjRNL.js → LinkCard.CJ5P0ews.js} +6 -6
- package/chunks/{MegaMenu.qttkjGbD.js → MegaMenu.CiSiMlE3.js} +9 -9
- package/chunks/{NavigationTabList.G_l0GiUa.js → NavigationTabList.C2f-lWex.js} +4 -4
- package/chunks/{NavigationTabs.SBNLx87A.js → NavigationTabs.D2QrnlL2.js} +2 -2
- package/chunks/{Notification.DYl1rcGu.js → Notification.COwLndR0.js} +5 -5
- package/chunks/{Popover.C9tT8xkE.js → Popover.C5wtha5l.js} +6 -6
- package/chunks/{RadioGroup.DupoApOX.js → RadioGroup.B-qTH31u.js} +4 -4
- package/chunks/{Select.BjBPN-6W.js → Select.DrDVi9lg.js} +7 -7
- package/chunks/{Slider.Bh2jhGKn.js → Slider.DGMrDfWv.js} +6 -6
- package/chunks/{Stepper.D1Yzw-gL.js → Stepper.DptsFh5n.js} +5 -5
- package/chunks/{SystemFeedback.CjlARKki.js → SystemFeedback.DFN6Y2cw.js} +3 -3
- package/chunks/{Tabs.BvG-OPWa.js → Tabs.2JTenRcr.js} +3 -3
- package/chunks/{Text.utils.B4MiHAK_.js → Text.utils.D_iOyOSH.js} +1 -1
- package/chunks/{TextUtility.C68m5upo.js → TextUtility.Wbd4oQXI.js} +4 -4
- package/chunks/{Textarea.DibBqiam.js → Textarea.ymNCbcvH.js} +6 -6
- package/chunks/{Toast.ldZRNpGM.js → Toast.RUzRjojQ.js} +14 -14
- package/chunks/{floating-ui.react.COTL3jH5.js → floating-ui.react.CP5A99-c.js} +1 -5
- package/chunks/{index.DL9mof6u.js → index.DQOqod3i.js} +0 -5
- package/chunks/{index.D-sRdssb.js → index.cKLI89Eg.js} +1 -13
- package/{combobox.Ds2prR5y.js → combobox.DzSEFo_5.js} +2 -2
- package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +4 -7
- package/components/Header/Header.d.ts +3 -3
- package/customreactselect.D7YraWJ7.js +15 -0
- package/dialog.CBovd8em.js +9 -0
- package/drawer.D5F0KXI2.js +9 -0
- package/fieldset.DgbZ_K_l.js +12 -0
- package/{filelist.Bcu6TZRj.js → filelist.CDEBo3Pi.js} +5 -5
- package/{flag.CE32qHPa.js → flag.D-wrUioF.js} +4 -4
- package/{floatingactionbutton.B5hJ2At2.js → floatingactionbutton.CE-Rz0dx.js} +7 -7
- package/{header.A77yIAH3.js → header.BtGgmM59.js} +3 -3
- package/{heading.DHLpT4dc.js → heading.BHSklXho.js} +3 -3
- package/icon.ByLYRkPZ.js +9 -0
- package/index.es.js +52 -52
- package/{input.DL_M_Pg3.js → input.MZXe6rlg.js} +10 -12
- package/inputfile.BO4wDnzQ.js +18 -0
- package/inputnumber.DevQudIX.js +17 -0
- package/inputpassword.C-XYK-JP.js +13 -0
- package/inputsearch.CmJdxnzX.js +15 -0
- package/{link.BtZeNdii.js → link.R1lfD5aN.js} +6 -6
- package/linkbutton.Y-ET1tc9.js +12 -0
- package/linkcard.CayqoQNo.js +12 -0
- package/{logo.DprmD8HU.js → logo.D7LnRA1E.js} +3 -3
- package/{logo100years.DDzCrczW.js → logo100years.C0IojOp9.js} +2 -2
- package/megamenu.CUjk3_h2.js +12 -0
- package/navigationtablist.CKPpQrme.js +10 -0
- package/navigationtabs.VUAOwesQ.js +9 -0
- package/notification.u_LLz-O0.js +10 -0
- package/numberindicator.ZGVRSmqf.js +36 -0
- package/{optioncheckbox.nBVwGv6c.js → optioncheckbox.v8Plcgeg.js} +5 -5
- package/package.json +37 -37
- package/partials/index.js +88 -88
- package/popover.T7-imfkx.js +12 -0
- package/radio.DxdVKoxe.js +137 -0
- package/radiogroup.CAh4wto1.js +11 -0
- package/{scroller.B1LijjCF.js → scroller.DfhhZelk.js} +16 -16
- package/select.CSCc_-6d.js +14 -0
- package/{skiptocontent.CAQy194o.js → skiptocontent.C2HpZt5q.js} +3 -3
- package/slider.B2aQwfc2.js +12 -0
- package/{spinner.C9qCeq0R.js → spinner.CRVyui04.js} +5 -5
- package/{step.DaJFsafj.js → step.C-LC5sKQ.js} +6 -6
- package/{stepper.DcaZESJi.js → stepper.CRljfUF8.js} +6 -6
- package/styles/scss/ds/lib/ds-internal/_focus.scss +5 -5
- package/{switch.Bqdyzi2E.js → switch.DgKgzm-j.js} +5 -5
- package/systemfeedback.BKLsE5sY.js +10 -0
- package/{tablist.mX5nQWwH.js → tablist.hMHdX1V8.js} +23 -22
- package/{tabpane.C4nsUlwc.js → tabpane.7vMXUKFX.js} +4 -4
- package/tabs.t-gR7dGc.js +11 -0
- package/{text.CQdFtUUQ.js → text.D_e3JBvf.js} +4 -4
- package/textarea.CDXY-OVz.js +14 -0
- package/textutility.CNWCGYOy.js +11 -0
- package/{title.DuLPB-VK.js → title.kJ48FkPU.js} +4 -4
- package/toast.Bev-Rfuw.js +11 -0
- package/{toastmanager.BGIYNKkT.js → toastmanager.DII20_9k.js} +3 -3
- package/{tooltip.Cj3AvYgB.js → tooltip._lP4aMV2.js} +8 -8
- package/topbar.Z9NNkxKU.js +12 -0
- package/utils/index.d.ts +1 -0
- package/utils/useElementSize.d.ts +14 -0
- package/utils/useElementSize.test.d.ts +1 -0
- package/accordion.Dmqocj97.js +0 -12
- package/actionbutton.qf7Bc8JA.js +0 -12
- package/actionlink.Ke8jQtse.js +0 -12
- package/assets/Accordion.CzBGud45.css +0 -1
- package/assets/ActionButton.sn7jTqva.css +0 -1
- package/assets/ActionLink.D7fuY3NQ.css +0 -1
- package/assets/Button.CmeGVEAY.css +0 -1
- package/assets/Checkbox.CyOw3rXI.css +0 -1
- package/assets/Chip.dxIYIjj7.css +0 -1
- package/assets/CustomReactSelect.BihX36Uo.css +0 -1
- package/assets/Dialog.DJkn65Es.css +0 -1
- package/assets/Drawer.x3BCQvWE.css +0 -1
- package/assets/Fieldset.Oqu7pOBv.css +0 -1
- package/assets/Header.CNqtWTxB.css +0 -1
- package/assets/InputFile.D7Ihod7B.css +0 -1
- package/assets/InputNumber.z_UqRYdv.css +0 -1
- package/assets/InputPassword.DZENjxJ9.css +0 -1
- package/assets/InputSearch.GBH9Eh6F.css +0 -1
- package/assets/LinkButton.88j5ckLu.css +0 -1
- package/assets/LinkCard.Bi9QqIDA.css +0 -1
- package/assets/MegaMenu.D5EtjFeL.css +0 -1
- package/assets/NavigationTabList.CFlVhUzS.css +0 -1
- package/assets/Notification.CvohYEvT.css +0 -1
- package/assets/Popover.CXyUaXiO.css +0 -1
- package/assets/Select.CL0fqx7X.css +0 -1
- package/assets/Slider.DWLuIsNj.css +0 -1
- package/assets/TextUtility.BsMYk5lH.css +0 -1
- package/assets/Textarea.B1HOakic.css +0 -1
- package/assets/Toast.CGyKXb4V.css +0 -1
- package/assets/buttonround.DBpMesfr.css +0 -1
- package/assets/floatingactionbutton.l0nvFiJU.css +0 -1
- package/assets/heading.B-rdLVZD.css +0 -1
- package/assets/input.RPDR8qdT.css +0 -1
- package/assets/link.CeJUHbdf.css +0 -1
- package/assets/logo._GqPgimo.css +0 -1
- package/assets/optioncheckbox.DAffEKvY.css +0 -1
- package/assets/radio.BLd_UGcp.css +0 -1
- package/assets/scroller.Hszs1Yq4.css +0 -1
- package/assets/step.BeLporJO.css +0 -1
- package/assets/switch.B9B-n_3y.css +0 -1
- package/assets/tabpane.D1LTb432.css +0 -1
- package/assets/text.ZCpNYmwU.css +0 -1
- package/assets/title.B0tsgJ-n.css +0 -1
- package/asterisk.B2ih8VwF.js +0 -13
- package/breadcrumb.DpIAQk3r.js +0 -11
- package/button.CqNYOfSj.js +0 -12
- package/checkbox.XYQI-ubx.js +0 -12
- package/checkboxgroup.C66ZwglF.js +0 -9
- package/chip.B-pxhsdb.js +0 -12
- package/chipgroup.CY3pWyLO.js +0 -144
- package/chunks/Accordion.CYIfNOWr.js +0 -168
- package/chunks/ActionButton.CyMR7DqS.js +0 -180
- package/chunks/ActionLink.5wdpwrU9.js +0 -153
- package/chunks/Header.18sOO0Gf.js +0 -370
- package/customreactselect.CUmUV5IW.js +0 -15
- package/dialog.D5geKDtZ.js +0 -9
- package/drawer.ucjhpIF4.js +0 -9
- package/fieldset.Crx4Cb9a.js +0 -12
- package/icon.vzkPwgjZ.js +0 -9
- package/inputfile.iwsNHjrc.js +0 -18
- package/inputnumber.raC_7KIP.js +0 -17
- package/inputpassword.Brte78Sr.js +0 -13
- package/inputsearch.BP0EzFcF.js +0 -15
- package/linkbutton.In_ROT0Z.js +0 -12
- package/linkcard.CyNfW13i.js +0 -12
- package/megamenu.BurL9MfF.js +0 -12
- package/navigationtablist.CkkLyHrM.js +0 -10
- package/navigationtabs.EbmfKv1R.js +0 -9
- package/notification.tadg6lCc.js +0 -10
- package/numberindicator.BdnPMogE.js +0 -33
- package/popover.CXq7VoZt.js +0 -12
- package/radio.DYKHJbxF.js +0 -134
- package/radiogroup.D-t1_oGC.js +0 -11
- package/select.CZ0C3yJD.js +0 -14
- package/slider.B3u5du_Q.js +0 -12
- package/systemfeedback.O7tj1juR.js +0 -10
- package/tabs.DjWfks34.js +0 -11
- package/textarea.69r-5faY.js +0 -14
- package/textutility.DMKAWLsT.js +0 -11
- package/toast.FzO5KoiK.js +0 -11
- package/topbar.CAujTZAE.js +0 -12
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as N, jsx as k } from "react/jsx-runtime";
|
|
3
|
-
import { d as q } from "./index.
|
|
4
|
-
import { c as H } from "./index.
|
|
3
|
+
import { d as q } from "./index.cKLI89Eg.js";
|
|
4
|
+
import { c as H } from "./index.DQOqod3i.js";
|
|
5
5
|
import { forwardRef as U } from "react";
|
|
6
6
|
import { t as M } from "./translate.nuU7uChI.js";
|
|
7
|
-
import { D as x } from "./Icon.
|
|
8
|
-
import { Tooltip as $ } from "../tooltip.
|
|
7
|
+
import { D as x } from "./Icon.m6sMB6vl.js";
|
|
8
|
+
import { Tooltip as $ } from "../tooltip._lP4aMV2.js";
|
|
9
9
|
import { g as E, r as z } from "./helpers.CexwVao7.js";
|
|
10
|
-
import { g as j } from "./AriaLiveRegions.utils.
|
|
11
|
-
import '../assets/Chip.
|
|
10
|
+
import { g as j } from "./AriaLiveRegions.utils.CLpOaVD9.js";
|
|
11
|
+
import '../assets/Chip.D3vV0wyV.css';const B = "ds-chip-group_chip_aidwn_1", W = "ds-chip-group_chip--small_aidwn_30", L = {
|
|
12
12
|
chip: B,
|
|
13
13
|
chipSmall: W
|
|
14
|
-
},
|
|
14
|
+
}, ne = ({
|
|
15
15
|
chips: t,
|
|
16
16
|
id: s,
|
|
17
17
|
label: e
|
|
@@ -22,10 +22,10 @@ import '../assets/Chip.dxIYIjj7.css';const B = "ds-chip-group_chip_aidwn_1", W =
|
|
|
22
22
|
throw new Error(E("DSChipGroup", 'A unique "id" prop is required when providing the description or systemFeedback property. Please add a unique "id" prop to the DSChipGroup component.'));
|
|
23
23
|
if (!e)
|
|
24
24
|
throw new Error(E("DSChipGroup", z("label", "DSChipGroup")));
|
|
25
|
-
},
|
|
25
|
+
}, ce = () => {
|
|
26
26
|
if (!j())
|
|
27
27
|
throw new Error(E("DSChipGroup", 'The DSAriaLiveRegions component has to be placed at the root of your application, as close to the "body" as possible, e.g. in your "App.tsx" or "layout.tsx".'));
|
|
28
|
-
},
|
|
28
|
+
}, pe = ["medium", "small"], Z = {
|
|
29
29
|
disabled: "disabled",
|
|
30
30
|
selected: "selected",
|
|
31
31
|
// {0} is the action (e.g., select/unselect)
|
|
@@ -57,8 +57,8 @@ import '../assets/Chip.dxIYIjj7.css';const B = "ds-chip-group_chip_aidwn_1", W =
|
|
|
57
57
|
en: Z,
|
|
58
58
|
de: J
|
|
59
59
|
}, Q = (t, s, e, i, a, l) => e ? `${s}, ${t("disabled")}` : l ? `${s}, ${t("removeChip")}` : `${s}, ${i ? `${t("selected")}, ` : ""}${t("selectChip", [t(a === "single" ? i ? "unselectAction" : "selectAction" : i ? "removeFromSelection" : "addToSelection")])}`, V = (t, s, e, i) => t(i ? "tooltipRemovable" : s ? "tooltipDisabled" : e ? "tooltipDeactivate" : "tooltipActivate"), X = U((t, s) => {
|
|
60
|
-
const e = q.c(
|
|
61
|
-
let i, a, l, p, o, n, r, d, h, m, u,
|
|
60
|
+
const e = q.c(49);
|
|
61
|
+
let i, a, l, p, o, n, r, d, h, m, u, A, C, f, v;
|
|
62
62
|
e[0] !== t ? ({
|
|
63
63
|
id: p,
|
|
64
64
|
label: r,
|
|
@@ -66,68 +66,68 @@ import '../assets/Chip.dxIYIjj7.css';const B = "ds-chip-group_chip_aidwn_1", W =
|
|
|
66
66
|
groupId: a,
|
|
67
67
|
isRemovable: o,
|
|
68
68
|
selectionMode: m,
|
|
69
|
-
disabled:
|
|
69
|
+
disabled: A,
|
|
70
70
|
iconName: l,
|
|
71
71
|
isSelected: n,
|
|
72
|
-
lang:
|
|
72
|
+
lang: C,
|
|
73
73
|
size: u,
|
|
74
74
|
tabIndex: f,
|
|
75
|
-
translations:
|
|
75
|
+
translations: v,
|
|
76
76
|
onClick: d,
|
|
77
77
|
...h
|
|
78
|
-
} = t, e[0] = t, e[1] = i, e[2] = a, e[3] = l, e[4] = p, e[5] = o, e[6] = n, e[7] = r, e[8] = d, e[9] = h, e[10] = m, e[11] = u, e[12] =
|
|
79
|
-
const
|
|
80
|
-
let c,
|
|
81
|
-
if (e[16] !== i || e[17] !==
|
|
82
|
-
|
|
78
|
+
} = t, e[0] = t, e[1] = i, e[2] = a, e[3] = l, e[4] = p, e[5] = o, e[6] = n, e[7] = r, e[8] = d, e[9] = h, e[10] = m, e[11] = u, e[12] = A, e[13] = C, e[14] = f, e[15] = v) : (i = e[1], a = e[2], l = e[3], p = e[4], o = e[5], n = e[6], r = e[7], d = e[8], h = e[9], m = e[10], u = e[11], A = e[12], C = e[13], f = e[14], v = e[15]);
|
|
79
|
+
const g = A === void 0 ? !1 : A, G = C === void 0 ? "en" : C;
|
|
80
|
+
let c, S;
|
|
81
|
+
if (e[16] !== i || e[17] !== g || e[18] !== a || e[19] !== l || e[20] !== p || e[21] !== o || e[22] !== n || e[23] !== r || e[24] !== G || e[25] !== d || e[26] !== s || e[27] !== h || e[28] !== m || e[29] !== u || e[30] !== f || e[31] !== v) {
|
|
82
|
+
S = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
83
83
|
e: {
|
|
84
|
-
const O = M(G), I = u === "small";
|
|
84
|
+
const O = M(v || K[G]), I = u === "small";
|
|
85
85
|
let _;
|
|
86
|
-
e[
|
|
86
|
+
e[34] !== I ? (_ = H(L.chip, {
|
|
87
87
|
[L.chipSmall]: I
|
|
88
|
-
}), e[
|
|
88
|
+
}), e[34] = I, e[35] = _) : _ = e[35];
|
|
89
89
|
const F = _;
|
|
90
90
|
let y;
|
|
91
|
-
e[
|
|
91
|
+
e[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = {
|
|
92
92
|
display: "contents"
|
|
93
|
-
}, e[
|
|
94
|
-
let
|
|
95
|
-
e[
|
|
93
|
+
}, e[36] = y) : y = e[36];
|
|
94
|
+
let b;
|
|
95
|
+
e[37] !== l ? (b = l && /* @__PURE__ */ k(x, { name: l, "aria-hidden": "true" }), e[37] = l, e[38] = b) : b = e[38];
|
|
96
96
|
let w;
|
|
97
|
-
e[
|
|
98
|
-
|
|
97
|
+
e[39] !== r || e[40] !== b ? (w = /* @__PURE__ */ N("div", { role: "gridcell", "aria-colindex": 1, style: y, children: [
|
|
98
|
+
b,
|
|
99
99
|
r
|
|
100
|
-
] }), e[
|
|
100
|
+
] }), e[39] = r, e[40] = b, e[41] = w) : w = e[41];
|
|
101
101
|
let R;
|
|
102
|
-
if (e[
|
|
102
|
+
if (e[42] !== o ? (R = o && /* @__PURE__ */ k(x, { name: "cross" }), e[42] = o, e[43] = R) : R = e[43], c = /* @__PURE__ */ N("div", { role: "row", "aria-label": Q(O, r, g, n, m, o), "aria-selected": n && !o, "aria-disabled": g && !o, id: `${a}-chip-${p}`, className: F, tabIndex: f, onClick: d, ref: s, ...h, children: [
|
|
103
103
|
w,
|
|
104
104
|
R
|
|
105
105
|
] }), !i) {
|
|
106
|
-
let
|
|
107
|
-
e[
|
|
108
|
-
const P = /* @__PURE__ */ k($.Content, { children: V(O,
|
|
106
|
+
let D;
|
|
107
|
+
e[44] !== c ? (D = /* @__PURE__ */ k($.Anchor, { children: c }), e[44] = c, e[45] = D) : D = e[45];
|
|
108
|
+
const P = /* @__PURE__ */ k($.Content, { children: V(O, g, n, o) });
|
|
109
109
|
let T;
|
|
110
|
-
e[
|
|
111
|
-
|
|
110
|
+
e[46] !== D || e[47] !== P ? (T = /* @__PURE__ */ N($, { placement: "top", tooltipOffset: 6, children: [
|
|
111
|
+
D,
|
|
112
112
|
P
|
|
113
|
-
] }), e[
|
|
113
|
+
] }), e[46] = D, e[47] = P, e[48] = T) : T = e[48], S = T;
|
|
114
114
|
break e;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
e[16] = i, e[17] =
|
|
117
|
+
e[16] = i, e[17] = g, e[18] = a, e[19] = l, e[20] = p, e[21] = o, e[22] = n, e[23] = r, e[24] = G, e[25] = d, e[26] = s, e[27] = h, e[28] = m, e[29] = u, e[30] = f, e[31] = v, e[32] = c, e[33] = S;
|
|
118
118
|
} else
|
|
119
|
-
c = e[
|
|
120
|
-
return
|
|
119
|
+
c = e[32], S = e[33];
|
|
120
|
+
return S !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel") ? S : c;
|
|
121
121
|
});
|
|
122
122
|
X.displayName = "DSChip";
|
|
123
123
|
export {
|
|
124
|
-
|
|
124
|
+
pe as C,
|
|
125
125
|
Z as D,
|
|
126
|
-
|
|
126
|
+
ce as a,
|
|
127
127
|
J as b,
|
|
128
128
|
K as c,
|
|
129
129
|
V as d,
|
|
130
130
|
X as e,
|
|
131
131
|
Q as g,
|
|
132
|
-
|
|
132
|
+
ne as v
|
|
133
133
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as se, jsx as M } from "react/jsx-runtime";
|
|
3
|
-
import { d as te } from "./index.
|
|
4
|
-
import { c as L } from "./index.
|
|
3
|
+
import { d as te } from "./index.cKLI89Eg.js";
|
|
4
|
+
import { c as L } from "./index.DQOqod3i.js";
|
|
5
5
|
import * as X from "react";
|
|
6
6
|
import { useState as ue, useCallback as T, useLayoutEffect as Dt, useRef as $, useMemo as oe, createContext as Ot, useContext as wt, Component as Tt, Fragment as Re, useEffect as lt, forwardRef as rt } from "react";
|
|
7
7
|
import { jsx as f, css as st, keyframes as Jt } from "@emotion/react";
|
|
8
8
|
import { createPortal as Lt } from "react-dom";
|
|
9
|
-
import { a as Yt } from "./floating-ui.react.
|
|
9
|
+
import { a as Yt } from "./floating-ui.react.CP5A99-c.js";
|
|
10
10
|
import { t as zt } from "./translate.nuU7uChI.js";
|
|
11
11
|
import { g as ce, r as kt } from "./helpers.CexwVao7.js";
|
|
12
12
|
import { u as jt } from "./useBreakpoint.1txsny17.js";
|
|
13
|
-
import { Asterisk as Ut } from "../asterisk.
|
|
14
|
-
import { D as ge } from "./Icon.
|
|
15
|
-
import { D as Qt } from "./Popover.
|
|
16
|
-
import { D as _t } from "./SystemFeedback.
|
|
17
|
-
import { OptionCheckbox as $t } from "../optioncheckbox.
|
|
18
|
-
import '../assets/CustomReactSelect.
|
|
13
|
+
import { Asterisk as Ut } from "../asterisk.Dwtdwpkq.js";
|
|
14
|
+
import { D as ge } from "./Icon.m6sMB6vl.js";
|
|
15
|
+
import { D as Qt } from "./Popover.C5wtha5l.js";
|
|
16
|
+
import { D as _t } from "./SystemFeedback.DFN6Y2cw.js";
|
|
17
|
+
import { OptionCheckbox as $t } from "../optioncheckbox.v8Plcgeg.js";
|
|
18
|
+
import '../assets/CustomReactSelect.Ctze4SRN.css';const qo = ({
|
|
19
19
|
id: n,
|
|
20
20
|
label: e,
|
|
21
21
|
options: i,
|
|
@@ -3214,7 +3214,7 @@ const So = (n) => {
|
|
|
3214
3214
|
const e = te.c(11);
|
|
3215
3215
|
let i, u, t, a;
|
|
3216
3216
|
if (e[0] !== n) {
|
|
3217
|
-
a = Symbol.for("react.early_return_sentinel");
|
|
3217
|
+
a = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
3218
3218
|
e: {
|
|
3219
3219
|
({
|
|
3220
3220
|
...u
|
|
@@ -3238,7 +3238,7 @@ const So = (n) => {
|
|
|
3238
3238
|
e[0] = n, e[1] = i, e[2] = u, e[3] = t, e[4] = a;
|
|
3239
3239
|
} else
|
|
3240
3240
|
i = e[1], u = e[2], t = e[3], a = e[4];
|
|
3241
|
-
if (a !== Symbol.for("react.early_return_sentinel"))
|
|
3241
|
+
if (a !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
|
|
3242
3242
|
return a;
|
|
3243
3243
|
const l = t;
|
|
3244
3244
|
let s;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as n, jsxs as E } from "react/jsx-runtime";
|
|
3
|
-
import { c as r } from "./index.
|
|
3
|
+
import { c as r } from "./index.DQOqod3i.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.DpGeheky.js";
|
|
6
6
|
import { g as x } from "./helpers.CexwVao7.js";
|
|
7
|
-
import "./index.
|
|
8
|
-
import '../assets/Dialog.
|
|
7
|
+
import "./index.cKLI89Eg.js";
|
|
8
|
+
import '../assets/Dialog.DyiHUgTp.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 = {
|
|
9
9
|
root: R,
|
|
10
10
|
contentWrapper: y,
|
|
11
11
|
contentWrapperNoFooter: z,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as t, jsxs as F } from "react/jsx-runtime";
|
|
3
|
-
import { c as n } from "./index.
|
|
3
|
+
import { c as n } from "./index.DQOqod3i.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.DpGeheky.js";
|
|
6
6
|
import { g as x } from "./helpers.CexwVao7.js";
|
|
7
|
-
import "./index.
|
|
8
|
-
import '../assets/Drawer.
|
|
7
|
+
import "./index.cKLI89Eg.js";
|
|
8
|
+
import '../assets/Drawer.UugEajR2.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 = {
|
|
9
9
|
root: I,
|
|
10
10
|
rootEnd: O,
|
|
11
11
|
contentWrapper: y,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as d, jsx as r, Fragment as M } from "react/jsx-runtime";
|
|
3
|
-
import { c as m } from "./index.
|
|
3
|
+
import { c as m } from "./index.DQOqod3i.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import { Asterisk as S } from "../asterisk.
|
|
6
|
-
import { DSHeading as P } from "../heading.
|
|
7
|
-
import { D as x } from "./Popover.
|
|
8
|
-
import { D as E } from "./SystemFeedback.
|
|
5
|
+
import { Asterisk as S } from "../asterisk.Dwtdwpkq.js";
|
|
6
|
+
import { DSHeading as P } from "../heading.BHSklXho.js";
|
|
7
|
+
import { D as x } from "./Popover.C5wtha5l.js";
|
|
8
|
+
import { D as E } from "./SystemFeedback.DFN6Y2cw.js";
|
|
9
9
|
import { g as y } from "./helpers.CexwVao7.js";
|
|
10
|
-
import "./index.
|
|
11
|
-
import '../assets/Fieldset.
|
|
10
|
+
import "./index.cKLI89Eg.js";
|
|
11
|
+
import '../assets/Fieldset.DmxbjOm1.css';const q = "ds-fieldset_root_1rlhb_1", A = "ds-fieldset_child-wrapper_1rlhb_98", T = "ds-fieldset_legend-wrapper_1rlhb_105", U = "ds-fieldset_legend_1rlhb_105", z = "ds-fieldset_legend--utility--m_1rlhb_116", B = "ds-fieldset_description_1rlhb_128", C = "ds-fieldset_description--small_1rlhb_142", I = "ds-fieldset_system-feedback_1rlhb_146", e = {
|
|
12
12
|
root: q,
|
|
13
13
|
childWrapper: A,
|
|
14
14
|
legendWrapper: T,
|
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as y, jsxs as ge, Fragment as Ee } from "react/jsx-runtime";
|
|
3
|
+
import { d as D } from "./index.cKLI89Eg.js";
|
|
4
|
+
import { c as x } from "./index.DQOqod3i.js";
|
|
5
|
+
import { useState as T, useEffect as Y, useContext as ie, createContext as Fe, useRef as z } from "react";
|
|
6
|
+
import { g as I, c as O, p as pe } from "./helpers.CexwVao7.js";
|
|
7
|
+
import { u as Ne } from "./useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
8
|
+
import { DSLogo as Re } from "../logo.D7LnRA1E.js";
|
|
9
|
+
import { Logo100Years as Ce } from "../logo100years.C0IojOp9.js";
|
|
10
|
+
import '../assets/Header.BNYL2Y78.css';const ue = (i) => {
|
|
11
|
+
const e = D.c(7);
|
|
12
|
+
let t;
|
|
13
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = {
|
|
14
|
+
width: 0,
|
|
15
|
+
height: 0
|
|
16
|
+
}, e[0] = t) : t = e[0];
|
|
17
|
+
const [o, n] = T(t);
|
|
18
|
+
let a, d;
|
|
19
|
+
e[1] !== i ? (a = () => {
|
|
20
|
+
const r = i.current;
|
|
21
|
+
r && n({
|
|
22
|
+
width: r.offsetWidth,
|
|
23
|
+
height: r.offsetHeight
|
|
24
|
+
});
|
|
25
|
+
}, d = [i], e[1] = i, e[2] = a, e[3] = d) : (a = e[2], d = e[3]), Ne(a, d);
|
|
26
|
+
let s, l;
|
|
27
|
+
return e[4] !== i ? (s = () => {
|
|
28
|
+
const r = i.current;
|
|
29
|
+
if (!r)
|
|
30
|
+
return;
|
|
31
|
+
const h = new ResizeObserver((m) => {
|
|
32
|
+
const A = m[0];
|
|
33
|
+
if (!A)
|
|
34
|
+
return;
|
|
35
|
+
const f = {
|
|
36
|
+
width: A.contentRect.width,
|
|
37
|
+
height: A.contentRect.height
|
|
38
|
+
};
|
|
39
|
+
n((p) => p.width === f.width && p.height === f.height ? p : f);
|
|
40
|
+
});
|
|
41
|
+
return h.observe(r), () => h.disconnect();
|
|
42
|
+
}, l = [i], e[4] = i, e[5] = s, e[6] = l) : (s = e[5], l = e[6]), Y(s, l), o;
|
|
43
|
+
}, Ve = (i) => {
|
|
44
|
+
const e = D.c(3), t = i, [o, n] = T("down");
|
|
45
|
+
let a, d;
|
|
46
|
+
return e[0] !== t ? (a = () => {
|
|
47
|
+
let s = window.scrollY;
|
|
48
|
+
const l = () => {
|
|
49
|
+
const r = window.scrollY, h = r > s ? "down" : "up";
|
|
50
|
+
Math.abs(r - s) > t && (n(h), s = r);
|
|
51
|
+
};
|
|
52
|
+
return window.addEventListener("scroll", l, {
|
|
53
|
+
passive: !0
|
|
54
|
+
}), () => window.removeEventListener("scroll", l);
|
|
55
|
+
}, d = [t], e[0] = t, e[1] = a, e[2] = d) : (a = e[1], d = e[2]), Y(a, d), o;
|
|
56
|
+
}, bt = ["full", "main"], Me = ({
|
|
57
|
+
hasBrandArea: i,
|
|
58
|
+
hasPrimaryArea: e,
|
|
59
|
+
hasSecondaryArea: t
|
|
60
|
+
}) => {
|
|
61
|
+
if (i)
|
|
62
|
+
throw new Error(I("DSHeader", "A <DSTopBar.BrandArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
|
|
63
|
+
if (e)
|
|
64
|
+
throw new Error(I("DSHeader", "A <DSTopBar.PrimaryArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
|
|
65
|
+
if (t)
|
|
66
|
+
throw new Error(I("DSHeader", "A <DSTopBar.SecondaryArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
|
|
67
|
+
}, qe = "ds-top-bar_root_q6oxc_1", ke = "ds-top-bar_root--sticky_q6oxc_49", $e = "ds-top-bar_root--fixed_q6oxc_53", We = "ds-top-bar_content_q6oxc_62", ze = "ds-top-bar_content--variant-full_q6oxc_81", Ie = "ds-top-bar_content--has-primary-area-and-secondary-area_q6oxc_85", Ye = "ds-top-bar_primary_q6oxc_90", Le = "ds-top-bar_content--has-brand-add-on-with-primary-area-and-secondary-area_q6oxc_105", Ue = "ds-top-bar_brand_q6oxc_110", je = "ds-top-bar_content--has-primary-area_q6oxc_85", Ge = "ds-top-bar_content--has-primary-area--with-brand-add-on_q6oxc_149", Je = "ds-top-bar_brand-add-on_q6oxc_213", Ke = "ds-top-bar_brand-add-on--double_q6oxc_234", Qe = "ds-top-bar_sub-title_q6oxc_248", Xe = "ds-top-bar_secondary_q6oxc_274", Ze = "ds-top-bar_logo_q6oxc_283", et = "ds-top-bar_logo--reduced_q6oxc_293", _ = {
|
|
68
|
+
root: qe,
|
|
69
|
+
rootSticky: ke,
|
|
70
|
+
rootFixed: $e,
|
|
71
|
+
content: We,
|
|
72
|
+
contentVariantFull: ze,
|
|
73
|
+
contentHasPrimaryAreaAndSecondaryArea: Ie,
|
|
74
|
+
primary: Ye,
|
|
75
|
+
contentHasBrandAddOnWithPrimaryAreaAndSecondaryArea: Le,
|
|
76
|
+
brand: Ue,
|
|
77
|
+
contentHasPrimaryArea: je,
|
|
78
|
+
contentHasPrimaryAreaWithBrandAddOn: Ge,
|
|
79
|
+
brandAddOn: Je,
|
|
80
|
+
brandAddOnDouble: Ke,
|
|
81
|
+
subTitle: Qe,
|
|
82
|
+
secondary: Xe,
|
|
83
|
+
logo: Ze,
|
|
84
|
+
logoReduced: et
|
|
85
|
+
}, tt = ({
|
|
86
|
+
hasBrandArea: i,
|
|
87
|
+
hasPrimaryArea: e,
|
|
88
|
+
hasSecondaryArea: t
|
|
89
|
+
}) => {
|
|
90
|
+
if (!i)
|
|
91
|
+
throw new Error(I("DSTopBar", "A <DSTopBar.BrandArea> component is required. Please include it as a child of DSTopBar."));
|
|
92
|
+
if (!e && t)
|
|
93
|
+
throw new Error(I("DSTopBar", "A <DSTopBar.PrimaryArea> is required when using <DSTopBar.SecondaryArea>. Please include <DSTopBar.PrimaryArea> as a child of DSTopBar, or move the content from <DSTopBar.SecondaryArea> into <DSTopBar.PrimaryArea>."));
|
|
94
|
+
}, Se = (i) => i == null || typeof i == "object" && !Array.isArray(i) && i !== null && Object.keys(i).length === 0, St = ["100years"], k = (i) => {
|
|
95
|
+
const e = D.c(28);
|
|
96
|
+
let t, o, n, a;
|
|
97
|
+
e[0] !== i ? ({
|
|
98
|
+
children: t,
|
|
99
|
+
className: o,
|
|
100
|
+
rootClassName: a,
|
|
101
|
+
...n
|
|
102
|
+
} = i, e[0] = i, e[1] = t, e[2] = o, e[3] = n, e[4] = a) : (t = e[1], o = e[2], n = e[3], a = e[4]);
|
|
103
|
+
const {
|
|
104
|
+
variant: d,
|
|
105
|
+
isHeaderSticky: s,
|
|
106
|
+
isMobile: l,
|
|
107
|
+
topBarAreaRef: r,
|
|
108
|
+
isStickyMainNavigationVisible: h,
|
|
109
|
+
hasBrandAddOn: m
|
|
110
|
+
} = ie(L);
|
|
111
|
+
let A, f;
|
|
112
|
+
if (e[5] !== t || e[6] !== o || e[7] !== m || e[8] !== s || e[9] !== l || e[10] !== h || e[11] !== a || e[12] !== d) {
|
|
113
|
+
const w = O(t, _e), g = O(t, ye), c = O(t, ve);
|
|
114
|
+
process.env.NODE_ENV !== "production" && tt({
|
|
115
|
+
hasBrandArea: w,
|
|
116
|
+
hasPrimaryArea: g,
|
|
117
|
+
hasSecondaryArea: c
|
|
118
|
+
});
|
|
119
|
+
let N;
|
|
120
|
+
e[15] !== s || e[16] !== l || e[17] !== h || e[18] !== a ? (N = x(_.root, a, s ? {
|
|
121
|
+
[_.rootSticky]: !l && h,
|
|
122
|
+
[_.rootFixed]: !l && !h
|
|
123
|
+
} : {}), e[15] = s, e[16] = l, e[17] = h, e[18] = a, e[19] = N) : N = e[19], A = N, f = x(_.content, o, {
|
|
124
|
+
[_.contentHasPrimaryArea]: g && !m && !c,
|
|
125
|
+
[_.contentHasPrimaryAreaWithBrandAddOn]: g && m && !c,
|
|
126
|
+
[_.contentHasBrandAddOnWithPrimaryAreaAndSecondaryArea]: m && g && c,
|
|
127
|
+
[_.contentHasPrimaryAreaAndSecondaryArea]: g && c && !m,
|
|
128
|
+
[_.contentVariantFull]: d === "full"
|
|
129
|
+
}), e[5] = t, e[6] = o, e[7] = m, e[8] = s, e[9] = l, e[10] = h, e[11] = a, e[12] = d, e[13] = A, e[14] = f;
|
|
130
|
+
} else
|
|
131
|
+
A = e[13], f = e[14];
|
|
132
|
+
const p = f;
|
|
133
|
+
let u;
|
|
134
|
+
e[20] !== t || e[21] !== p || e[22] !== n ? (u = /* @__PURE__ */ y("section", { className: p, ...n, children: t }), e[20] = t, e[21] = p, e[22] = n, e[23] = u) : u = e[23];
|
|
135
|
+
let v;
|
|
136
|
+
return e[24] !== A || e[25] !== u || e[26] !== r ? (v = /* @__PURE__ */ y("div", { className: A, ref: r, children: u }), e[24] = A, e[25] = u, e[26] = r, e[27] = v) : v = e[27], v;
|
|
137
|
+
}, _e = (i) => {
|
|
138
|
+
const e = D.c(22), {
|
|
139
|
+
children: t,
|
|
140
|
+
className: o
|
|
141
|
+
} = i, {
|
|
142
|
+
logoProps: n,
|
|
143
|
+
brandAddOnProps: a,
|
|
144
|
+
setHasBrandAddOn: d
|
|
145
|
+
} = ie(L), {
|
|
146
|
+
aria: s,
|
|
147
|
+
logo: l,
|
|
148
|
+
href: r,
|
|
149
|
+
target: h
|
|
150
|
+
} = n || {}, m = l === void 0 ? "main" : l, A = r === void 0 ? "/" : r, f = h === void 0 ? "_self" : h;
|
|
151
|
+
let p;
|
|
152
|
+
e[0] !== a || e[1] !== t || e[2] !== d ? (p = () => {
|
|
153
|
+
t || !Se(a) ? d?.(!0) : d?.(!1);
|
|
154
|
+
}, e[0] = a, e[1] = t, e[2] = d, e[3] = p) : p = e[3];
|
|
155
|
+
let u;
|
|
156
|
+
e[4] !== a || e[5] !== t ? (u = [t, a], e[4] = a, e[5] = t, e[6] = u) : u = e[6], Y(p, u);
|
|
157
|
+
const v = x(_.logo, {
|
|
158
|
+
[_.logoReduced]: m.includes("reduced")
|
|
159
|
+
});
|
|
160
|
+
let w;
|
|
161
|
+
e[7] !== o ? (w = x(_.brand, o), e[7] = o, e[8] = w) : w = e[8];
|
|
162
|
+
let g;
|
|
163
|
+
e[9] !== s || e[10] !== A || e[11] !== m || e[12] !== v || e[13] !== f ? (g = /* @__PURE__ */ y(Re, { className: v, aria: s, logo: m, href: A, target: f }), e[9] = s, e[10] = A, e[11] = m, e[12] = v, e[13] = f, e[14] = g) : g = e[14];
|
|
164
|
+
let c;
|
|
165
|
+
e[15] !== a ? (c = Se(a) ? void 0 : /* @__PURE__ */ y(Be, { ...a }), e[15] = a, e[16] = c) : c = e[16];
|
|
166
|
+
let N;
|
|
167
|
+
return e[17] !== t || e[18] !== w || e[19] !== g || e[20] !== c ? (N = /* @__PURE__ */ ge("div", { className: w, children: [
|
|
168
|
+
g,
|
|
169
|
+
c,
|
|
170
|
+
t
|
|
171
|
+
] }), e[17] = t, e[18] = w, e[19] = g, e[20] = c, e[21] = N) : N = e[21], N;
|
|
172
|
+
};
|
|
173
|
+
_e.displayName = "DSTopBar.BrandArea";
|
|
174
|
+
const Be = (i) => {
|
|
175
|
+
const e = D.c(15), {
|
|
176
|
+
children: t,
|
|
177
|
+
className: o,
|
|
178
|
+
subTitle: n,
|
|
179
|
+
variant: a
|
|
180
|
+
} = i;
|
|
181
|
+
let d;
|
|
182
|
+
e[0] !== o || e[1] !== n ? (d = x(_.brandAddOn, o, {
|
|
183
|
+
[_.brandAddOnDouble]: n
|
|
184
|
+
}), e[0] = o, e[1] = n, e[2] = d) : d = e[2];
|
|
185
|
+
const s = d;
|
|
186
|
+
if (n) {
|
|
187
|
+
let r;
|
|
188
|
+
e[3] !== t ? (r = /* @__PURE__ */ y("span", { children: t }), e[3] = t, e[4] = r) : r = e[4];
|
|
189
|
+
let h;
|
|
190
|
+
e[5] !== n ? (h = n && /* @__PURE__ */ y("span", { className: _.subTitle, children: n }), e[5] = n, e[6] = h) : h = e[6];
|
|
191
|
+
let m;
|
|
192
|
+
return e[7] !== s || e[8] !== r || e[9] !== h ? (m = /* @__PURE__ */ ge("div", { className: s, children: [
|
|
193
|
+
r,
|
|
194
|
+
h
|
|
195
|
+
] }), e[7] = s, e[8] = r, e[9] = h, e[10] = m) : m = e[10], m;
|
|
196
|
+
}
|
|
197
|
+
if (a === "100years") {
|
|
198
|
+
let r;
|
|
199
|
+
return e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ y(Ce, {}), e[11] = r) : r = e[11], r;
|
|
200
|
+
}
|
|
201
|
+
let l;
|
|
202
|
+
return e[12] !== s || e[13] !== t ? (l = /* @__PURE__ */ y("div", { className: s, children: t }), e[12] = s, e[13] = t, e[14] = l) : l = e[14], l;
|
|
203
|
+
};
|
|
204
|
+
Be.displayName = "DSTopBar.BrandAddOn";
|
|
205
|
+
const ye = (i) => {
|
|
206
|
+
const e = D.c(5), {
|
|
207
|
+
children: t,
|
|
208
|
+
className: o
|
|
209
|
+
} = i;
|
|
210
|
+
let n;
|
|
211
|
+
e[0] !== o ? (n = x(_.primary, o), e[0] = o, e[1] = n) : n = e[1];
|
|
212
|
+
let a;
|
|
213
|
+
return e[2] !== t || e[3] !== n ? (a = /* @__PURE__ */ y("div", { className: n, children: t }), e[2] = t, e[3] = n, e[4] = a) : a = e[4], a;
|
|
214
|
+
};
|
|
215
|
+
ye.displayName = "DSTopBar.PrimaryArea";
|
|
216
|
+
const ve = (i) => {
|
|
217
|
+
const e = D.c(5), {
|
|
218
|
+
children: t,
|
|
219
|
+
className: o
|
|
220
|
+
} = i;
|
|
221
|
+
let n;
|
|
222
|
+
e[0] !== o ? (n = x(_.secondary, o), e[0] = o, e[1] = n) : n = e[1];
|
|
223
|
+
let a;
|
|
224
|
+
return e[2] !== t || e[3] !== n ? (a = /* @__PURE__ */ y("div", { className: n, children: t }), e[2] = t, e[3] = n, e[4] = a) : a = e[4], a;
|
|
225
|
+
};
|
|
226
|
+
ve.displayName = "DSTopBar.SecondaryArea";
|
|
227
|
+
k.BrandArea = _e;
|
|
228
|
+
k.PrimaryArea = ye;
|
|
229
|
+
k.SecondaryArea = ve;
|
|
230
|
+
const at = "ds-header_root_c5fh4_1", rt = "ds-header_root--sticky_c5fh4_4", nt = "ds-header_root--hidden_c5fh4_9", ot = "ds-header_root--fixed_c5fh4_20", it = "ds-header_main-navigation-area_c5fh4_37", st = "ds-header_main-navigation-area--fixed_c5fh4_90", ct = "ds-header_main-navigation-area--fixed--visible_c5fh4_105", dt = "ds-header_main-navigation-content_c5fh4_111", lt = "ds-header_main-navigation-content--variant-full_c5fh4_115", ht = "ds-header_header-placeholder_c5fh4_120", mt = "ds-header_header-placeholder--with-banner_c5fh4_123", S = {
|
|
231
|
+
root: at,
|
|
232
|
+
rootSticky: rt,
|
|
233
|
+
rootHidden: nt,
|
|
234
|
+
rootFixed: ot,
|
|
235
|
+
mainNavigationArea: it,
|
|
236
|
+
mainNavigationAreaFixed: st,
|
|
237
|
+
mainNavigationAreaFixedVisible: ct,
|
|
238
|
+
mainNavigationContent: dt,
|
|
239
|
+
mainNavigationContentVariantFull: lt,
|
|
240
|
+
headerPlaceholder: ht,
|
|
241
|
+
headerPlaceholderWithBanner: mt
|
|
242
|
+
}, L = Fe({
|
|
243
|
+
variant: "main"
|
|
244
|
+
}), se = (i) => {
|
|
245
|
+
const e = D.c(61);
|
|
246
|
+
let t, o, n, a, d, s, l;
|
|
247
|
+
e[0] !== i ? ({
|
|
248
|
+
children: o,
|
|
249
|
+
brandAddOnProps: t,
|
|
250
|
+
className: n,
|
|
251
|
+
isHeaderSticky: s,
|
|
252
|
+
variant: l,
|
|
253
|
+
logoProps: a,
|
|
254
|
+
...d
|
|
255
|
+
} = i, e[0] = i, e[1] = t, e[2] = o, e[3] = n, e[4] = a, e[5] = d, e[6] = s, e[7] = l) : (t = e[1], o = e[2], n = e[3], a = e[4], d = e[5], s = e[6], l = e[7]);
|
|
256
|
+
const r = s === void 0 ? !1 : s, h = l === void 0 ? "main" : l, [m, A] = T(!1);
|
|
257
|
+
let f;
|
|
258
|
+
e[8] !== o ? (f = O(o, se.BannerArea, !0), e[8] = o, e[9] = f) : f = e[9];
|
|
259
|
+
const p = f, u = O(o, k.BrandArea), v = O(o, k.PrimaryArea), w = O(o, k.SecondaryArea);
|
|
260
|
+
process.env.NODE_ENV !== "production" && Me({
|
|
261
|
+
hasBrandArea: u,
|
|
262
|
+
hasPrimaryArea: v,
|
|
263
|
+
hasSecondaryArea: w
|
|
264
|
+
});
|
|
265
|
+
const g = Ve(2), [c, N] = T(!1), $ = z(null), U = z(null), ce = z(null), de = z(null), [le, xe] = T(!1), [E, De] = T(!1), [H, be] = T(!0), [he, Pe] = T(!1), me = z(c), j = ue($), G = ue(ce), J = ue(U), fe = G.height + j.height + J.height;
|
|
266
|
+
let K, Q;
|
|
267
|
+
e[10] !== r ? (K = () => {
|
|
268
|
+
if (r) {
|
|
269
|
+
const b = () => {
|
|
270
|
+
N((P) => (me.current = P, window.innerWidth < 1024));
|
|
271
|
+
};
|
|
272
|
+
return b(), window.addEventListener("resize", b), () => window.removeEventListener("resize", b);
|
|
273
|
+
}
|
|
274
|
+
}, Q = [r], e[10] = r, e[11] = K, e[12] = Q) : (K = e[11], Q = e[12]), Y(K, Q);
|
|
275
|
+
let X;
|
|
276
|
+
e[13] !== j.height || e[14] !== J.height || e[15] !== G.height ? (X = () => {
|
|
277
|
+
const b = document.documentElement, P = j.height || 0, ne = G.height || 0;
|
|
278
|
+
let B;
|
|
279
|
+
if (!de.current)
|
|
280
|
+
B = P + ne;
|
|
281
|
+
else {
|
|
282
|
+
const q = J.height || 0;
|
|
283
|
+
!q || q === P ? B = parseInt(b.style.getPropertyValue("--ds-header-height").replace("rem", "")) * 16 || 0 : B = q;
|
|
284
|
+
}
|
|
285
|
+
b.style.setProperty("--ds-banner-height", `${pe(P)}rem`), b.style.setProperty("--ds-header-height", `${pe(B)}rem`), b.style.setProperty("--ds-top-bar-height", `${pe(ne)}rem`);
|
|
286
|
+
}, e[13] = j.height, e[14] = J.height, e[15] = G.height, e[16] = X) : X = e[16];
|
|
287
|
+
let Z;
|
|
288
|
+
e[17] !== fe ? (Z = [fe], e[17] = fe, e[18] = Z) : Z = e[18], Ne(X, Z);
|
|
289
|
+
let ee;
|
|
290
|
+
e[19] !== r || e[20] !== c || e[21] !== H || e[22] !== g ? (ee = () => {
|
|
291
|
+
if (r) {
|
|
292
|
+
const b = () => {
|
|
293
|
+
const B = U.current, q = !!B && window.scrollY <= B.offsetHeight;
|
|
294
|
+
xe(q);
|
|
295
|
+
const W = de.current, oe = ce.current;
|
|
296
|
+
if (!c && me.current && !H) {
|
|
297
|
+
be(q && !!B && window.scrollY <= B.offsetHeight);
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
const Te = !!oe && !!W && W.getBoundingClientRect().bottom > oe.getBoundingClientRect().bottom, Oe = !W && !!oe && !!$.current && (window.scrollY >= $.current.offsetHeight || 0) || !W && !$.current && !!oe && window.scrollY >= 1;
|
|
301
|
+
be(W ? Te && !!B && window.scrollY <= B.offsetHeight : !Oe);
|
|
302
|
+
};
|
|
303
|
+
window.addEventListener("scroll", b, {
|
|
304
|
+
passive: !0
|
|
305
|
+
}), b();
|
|
306
|
+
const P = U.current, ne = !!P && P.getBoundingClientRect().bottom > 0;
|
|
307
|
+
return c && De(g === "up" && !ne), c || Pe(g === "up" && !H), () => {
|
|
308
|
+
window.removeEventListener("scroll", b);
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
}, e[19] = r, e[20] = c, e[21] = H, e[22] = g, e[23] = ee) : ee = e[23];
|
|
312
|
+
let te;
|
|
313
|
+
e[24] !== r || e[25] !== c || e[26] !== g ? (te = [r, c, me, g], e[24] = r, e[25] = c, e[26] = g, e[27] = te) : te = e[27], Y(ee, te);
|
|
314
|
+
let ae;
|
|
315
|
+
e[28] !== n || e[29] !== E || e[30] !== r || e[31] !== le || e[32] !== c ? (ae = x(S.root, n, r ? {
|
|
316
|
+
[S.rootSticky]: c,
|
|
317
|
+
[S.rootHidden]: c && !le,
|
|
318
|
+
[S.rootFixed]: c && E
|
|
319
|
+
} : {}), e[28] = n, e[29] = E, e[30] = r, e[31] = le, e[32] = c, e[33] = ae) : ae = e[33];
|
|
320
|
+
const Ae = ae;
|
|
321
|
+
let F;
|
|
322
|
+
e[34] !== t || e[35] !== m || e[36] !== he || e[37] !== r || e[38] !== c || e[39] !== H || e[40] !== a || e[41] !== h ? (F = {
|
|
323
|
+
variant: h,
|
|
324
|
+
bannerAreaRef: $,
|
|
325
|
+
brandAddOnProps: t,
|
|
326
|
+
hasBrandAddOn: m,
|
|
327
|
+
setHasBrandAddOn: A,
|
|
328
|
+
isFixedMainNavigation: he,
|
|
329
|
+
isHeaderSticky: r,
|
|
330
|
+
isMobile: c,
|
|
331
|
+
isStickyMainNavigationVisible: H,
|
|
332
|
+
mainNavigationAreaRef: de,
|
|
333
|
+
topBarAreaRef: ce,
|
|
334
|
+
logoProps: a
|
|
335
|
+
}, e[34] = t, e[35] = m, e[36] = he, e[37] = r, e[38] = c, e[39] = H, e[40] = a, e[41] = h, e[42] = F) : F = e[42];
|
|
336
|
+
let R;
|
|
337
|
+
e[43] !== o || e[44] !== F ? (R = /* @__PURE__ */ y(L.Provider, { value: F, children: o }), e[43] = o, e[44] = F, e[45] = R) : R = e[45];
|
|
338
|
+
let C;
|
|
339
|
+
e[46] !== d || e[47] !== Ae || e[48] !== R ? (C = /* @__PURE__ */ y("header", { className: Ae, ...d, ref: U, children: R }), e[46] = d, e[47] = Ae, e[48] = R, e[49] = C) : C = e[49];
|
|
340
|
+
let V;
|
|
341
|
+
e[50] !== E || e[51] !== c ? (V = c && E && /* @__PURE__ */ y("div", { className: S.headerPlaceholder }), e[50] = E, e[51] = c, e[52] = V) : V = e[52];
|
|
342
|
+
let M;
|
|
343
|
+
e[53] !== p || e[54] !== c || e[55] !== H ? (M = !c && !H && /* @__PURE__ */ y("div", { className: p ? S.headerPlaceholderWithBanner : S.headerPlaceholder }), e[53] = p, e[54] = c, e[55] = H, e[56] = M) : M = e[56];
|
|
344
|
+
let re;
|
|
345
|
+
return e[57] !== C || e[58] !== V || e[59] !== M ? (re = /* @__PURE__ */ ge(Ee, { children: [
|
|
346
|
+
C,
|
|
347
|
+
V,
|
|
348
|
+
M
|
|
349
|
+
] }), e[57] = C, e[58] = V, e[59] = M, e[60] = re) : re = e[60], re;
|
|
350
|
+
}, we = (i) => {
|
|
351
|
+
const e = D.c(4), {
|
|
352
|
+
children: t,
|
|
353
|
+
className: o
|
|
354
|
+
} = i, {
|
|
355
|
+
bannerAreaRef: n
|
|
356
|
+
} = ie(L);
|
|
357
|
+
let a;
|
|
358
|
+
return e[0] !== n || e[1] !== t || e[2] !== o ? (a = /* @__PURE__ */ y("div", { ref: n, className: o, children: t }), e[0] = n, e[1] = t, e[2] = o, e[3] = a) : a = e[3], a;
|
|
359
|
+
};
|
|
360
|
+
we.displayName = "DSHeader.BannerArea";
|
|
361
|
+
const He = (i) => {
|
|
362
|
+
const e = D.c(15), {
|
|
363
|
+
children: t,
|
|
364
|
+
className: o
|
|
365
|
+
} = i, {
|
|
366
|
+
variant: n,
|
|
367
|
+
isFixedMainNavigation: a,
|
|
368
|
+
isHeaderSticky: d,
|
|
369
|
+
isMobile: s,
|
|
370
|
+
isStickyMainNavigationVisible: l,
|
|
371
|
+
mainNavigationAreaRef: r
|
|
372
|
+
} = ie(L);
|
|
373
|
+
let h;
|
|
374
|
+
e[0] !== o || e[1] !== a || e[2] !== d || e[3] !== s || e[4] !== l ? (h = x(S.mainNavigationArea, o, d ? {
|
|
375
|
+
[S.mainNavigationAreaFixed]: !s && !l,
|
|
376
|
+
[S.mainNavigationAreaFixedVisible]: !s && a
|
|
377
|
+
} : {}), e[0] = o, e[1] = a, e[2] = d, e[3] = s, e[4] = l, e[5] = h) : h = e[5];
|
|
378
|
+
const m = h, A = n === "full";
|
|
379
|
+
let f;
|
|
380
|
+
e[6] !== A ? (f = x(S.mainNavigationContent, {
|
|
381
|
+
[S.mainNavigationContentVariantFull]: A
|
|
382
|
+
}), e[6] = A, e[7] = f) : f = e[7];
|
|
383
|
+
const p = f;
|
|
384
|
+
let u;
|
|
385
|
+
e[8] !== t || e[9] !== p ? (u = /* @__PURE__ */ y("div", { className: p, children: t }), e[8] = t, e[9] = p, e[10] = u) : u = e[10];
|
|
386
|
+
let v;
|
|
387
|
+
return e[11] !== r || e[12] !== m || e[13] !== u ? (v = /* @__PURE__ */ y("div", { className: m, ref: r, children: u }), e[11] = r, e[12] = m, e[13] = u, e[14] = v) : v = e[14], v;
|
|
388
|
+
};
|
|
389
|
+
He.displayName = "DSHeader.MainNavigationArea";
|
|
390
|
+
se.BannerArea = we;
|
|
391
|
+
se.MainNavigationArea = He;
|
|
392
|
+
se.displayName = "DSHeader";
|
|
393
|
+
export {
|
|
394
|
+
St as B,
|
|
395
|
+
L as D,
|
|
396
|
+
bt as H,
|
|
397
|
+
se as a,
|
|
398
|
+
k as b,
|
|
399
|
+
tt as c,
|
|
400
|
+
Se as i,
|
|
401
|
+
Me as v
|
|
402
|
+
};
|