@stihl-design-system/components 1.0.0-RC.47 → 1.0.0-RC.48
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.BQ7vavIt.js → accordion.D4XR2R7e.js} +2 -2
- package/{actionbutton.C7lqEmBx.js → actionbutton.C8hePX-D.js} +3 -3
- package/{actioncard.dgVHW0BC.js → actioncard.kDxu01xm.js} +1 -1
- package/{actionlink.CL6v1mQA.js → actionlink.dccc5JQV.js} +3 -3
- package/{arialiveregions.DC1Gq9Lo.js → arialiveregions.BniSDuPM.js} +9 -10
- package/assets/Accordion.RlqWqpGo.css +1 -0
- package/assets/ActionButton.Dw2FeIaW.css +1 -0
- package/assets/ActionCard.viEoC26n.css +1 -0
- package/assets/ActionLink.B1Jjaf7k.css +1 -0
- package/assets/Button.Bi1KUKMv.css +1 -0
- package/assets/Checkbox.C6RWhy0V.css +1 -0
- package/assets/Chip.DfamkUPw.css +1 -0
- package/assets/CustomReactSelect.CvWMmrAU.css +1 -0
- package/assets/Dialog.6AkQo8ew.css +1 -0
- package/assets/Drawer.CDOlX809.css +1 -0
- package/assets/Fieldset.BbLGXCWa.css +1 -0
- package/assets/InputFile.CDtghZtl.css +1 -0
- package/assets/InputNumber.BNpO9p7n.css +1 -0
- package/assets/InputPassword.BgZo-RUc.css +1 -0
- package/assets/InputSearch.BROFFTK9.css +1 -0
- package/assets/LinkButton.IKIlFnpH.css +1 -0
- package/assets/Notification.2B81JHOp.css +1 -0
- package/assets/Pagination.DH71DZ0j.css +1 -0
- package/assets/Popover.58Tb0dOt.css +1 -0
- package/assets/Select.CfTN3CJo.css +1 -0
- package/assets/Slider.B4kzL60S.css +1 -0
- package/assets/{SystemFeedback.DYi9QetY.css → SystemFeedback.DVMml_h9.css} +1 -1
- package/assets/TextUtility.BThulfyl.css +1 -0
- package/assets/Textarea.BO4AcRJD.css +1 -0
- package/assets/buttonround.syTU1QSI.css +1 -0
- package/assets/chipgroup.DtCnsmS7.css +1 -0
- package/assets/filelist.B-Ru0GP_.css +1 -0
- package/assets/input.Dy8VS73e.css +1 -0
- package/assets/numberindicator.CtbitPQ8.css +1 -0
- package/assets/progressindicator.tyY_RVQ9.css +1 -0
- package/assets/radio.9hUUyg8R.css +1 -0
- package/assets/switch.8v7Wp1Fj.css +1 -0
- package/assets/tabpane.DDaeSDQb.css +1 -0
- package/assets/text.BwGsYzGM.css +1 -0
- package/assets/tooltip.C_BL2kou.css +1 -0
- package/{banner.BlB_7xue.js → banner.DO7GsDL_.js} +1 -1
- package/{breadcrumb.DajORKq7.js → breadcrumb.DYov6vtt.js} +3 -3
- package/{button.EooIlFBI.js → button.qxcuzbnv.js} +2 -2
- package/buttonround.BO7_ewzA.js +101 -0
- package/{checkbox.NJj9qMnx.js → checkbox.C9kyIY9P.js} +4 -5
- package/{checkboxgroup.DELdyn0X.js → checkboxgroup.kEUxnKLf.js} +2 -2
- package/{chip.C4h8Hm9g.js → chip.5ktNLRYf.js} +3 -3
- package/chipgroup.kRU3Z98U.js +226 -0
- package/chunks/Accordion.gih2ni1d.js +179 -0
- package/chunks/ActionButton.B-wm5sUy.js +194 -0
- package/chunks/{ActionCard.Dbq2VqyZ.js → ActionCard.Bm-2ewfS.js} +44 -44
- package/chunks/ActionLink.D0KzqbH4.js +166 -0
- package/chunks/{AriaLiveRegions.utils.BPvIKT6B.js → AriaLiveRegions.utils.xoETe2Ps.js} +14 -16
- package/chunks/{Breadcrumb.Ccm79ver.js → Breadcrumb.I2G-T0zc.js} +2 -2
- package/chunks/Button.CCol--xy.js +165 -0
- package/chunks/Checkbox.BxOGR1bR.js +96 -0
- package/chunks/CheckboxGroup.TneO0tuE.js +85 -0
- package/chunks/Chip.DffaXMkV.js +148 -0
- package/chunks/{CustomReactSelect.oEQpO9iN.js → CustomReactSelect.DTAavYaz.js} +282 -277
- package/chunks/Dialog.guuxflWL.js +101 -0
- package/chunks/{Drawer.CDe_g99S.js → Drawer.CjUZu6GW.js} +27 -28
- package/chunks/Fieldset.BBMuLKps.js +94 -0
- package/chunks/{Flag.X9tB3Mfv.js → Flag.CbQYBzVC.js} +12 -13
- package/chunks/{Header.bLSdAY9-.js → Header.CvcGSuhX.js} +1 -1
- package/chunks/{Input.utils.CkmzxIrU.js → Input.utils.Wycy2SzG.js} +23 -25
- package/chunks/InputFile.y71Cd5J9.js +260 -0
- package/chunks/InputNumber.Fn2YbF_s.js +250 -0
- package/chunks/InputPassword.DtT9yrlx.js +129 -0
- package/chunks/InputSearch.BoAfGqoH.js +157 -0
- package/chunks/LinkButton.BxG7fx1O.js +150 -0
- package/chunks/LinkCard.DM-5WrSt.js +200 -0
- package/chunks/{MegaMenu.DbunD_yW.js → MegaMenu.udXR1H3W.js} +1 -1
- package/chunks/{NavigationTabList.CyrKNAer.js → NavigationTabList.thzA1pU8.js} +1 -1
- package/chunks/{NavigationTabs.DVBe-Wt3.js → NavigationTabs.BWewgBch.js} +1 -1
- package/chunks/Notification.C_o7Ge6Q.js +91 -0
- package/chunks/Pagination.BrOMUJMi.js +272 -0
- package/chunks/Popover.CxZZ_y1Z.js +230 -0
- package/chunks/RadioGroup.CO91_5hA.js +136 -0
- package/chunks/Select.EzoMdk1u.js +157 -0
- package/chunks/Slider.CX38t4Sk.js +330 -0
- package/chunks/{Stepper.KBRikedB.js → Stepper.Ds_aIEF8.js} +68 -69
- package/chunks/SystemFeedback.DhWcYjnu.js +43 -0
- package/chunks/{Tabs.xXn4zpGp.js → Tabs.BHVlgp7L.js} +2 -2
- package/chunks/Text.utils.DzlY9pJS.js +9 -0
- package/chunks/TextUtility.BZLwqyic.js +82 -0
- package/chunks/Textarea.vuJgvW6_.js +192 -0
- package/chunks/{Toast.NZfb7z3q.js → Toast.V_ZUAsf2.js} +1 -1
- package/chunks/translate.DSb-TdWR.js +2460 -0
- package/{combobox.CPsl2TC0.js → combobox.C6cPz4AJ.js} +1 -1
- package/components/Accordion/Accordion.d.ts +5 -0
- package/components/ActionButton/ActionButton.d.ts +5 -1
- package/components/ActionLink/ActionLink.d.ts +1 -1
- package/components/Button/Button.utils.d.ts +1 -1
- package/components/Checkbox/Checkbox.d.ts +8 -1
- package/components/CheckboxGroup/CheckboxGroup.d.ts +9 -1
- package/components/ChipGroup/Chip.d.ts +2 -0
- package/components/ChipGroup/ChipGroup.d.ts +12 -2
- package/components/ChipGroup/ChipGroup.utils.d.ts +39 -15
- package/components/Combobox/Combobox.utils.d.ts +66 -9
- package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +5 -1
- package/components/Combobox/CustomReactSelect/CustomReactSelect.utils.d.ts +1 -1
- package/components/Fieldset/Fieldset.d.ts +9 -2
- package/components/Input/Input.d.ts +8 -1
- package/components/InputFile/FileList/FileList.d.ts +4 -2
- package/components/InputFile/FileList/FilePreview/FilePreview.d.ts +8 -2
- package/components/InputFile/FileList/ProgressIndicator/ProgressIndicator.d.ts +8 -2
- package/components/InputFile/InputFile.d.ts +12 -2
- package/components/InputFile/InputFile.utils.d.ts +41 -23
- package/components/InputNumber/InputNumber.d.ts +8 -1
- package/components/InputPassword/InputPassword.d.ts +8 -1
- package/components/InputSearch/InputSearch.d.ts +8 -1
- package/components/LinkCard/LinkCard.d.ts +10 -4
- package/components/LinkCard/LinkCard.utils.d.ts +2 -2
- package/components/NumberIndicator/NumberIndicator.d.ts +6 -1
- package/components/Pagination/Pagination.d.ts +10 -3
- package/components/Pagination/Pagination.utils.d.ts +22 -9
- package/components/Popover/Popover.d.ts +9 -1
- package/components/Popover/Popover.utils.d.ts +3 -2
- package/components/Radio/Radio.d.ts +5 -0
- package/components/RadioGroup/RadioGroup.d.ts +8 -0
- package/components/Select/Select.d.ts +8 -1
- package/components/Slider/Slider.d.ts +8 -1
- package/components/Stepper/Step.d.ts +1 -1
- package/components/Stepper/Step.utils.d.ts +1 -1
- package/components/Stepper/Stepper.d.ts +4 -1
- package/components/Stepper/Stepper.utils.d.ts +9 -4
- package/components/SystemFeedback/SystemFeedback.d.ts +9 -1
- package/components/Textarea/Textarea.d.ts +8 -1
- package/{customreactselect.D7BJg-2s.js → customreactselect.L0zSh3Tg.js} +4 -4
- package/{dialog.BlprGigG.js → dialog.Ddq8o8Od.js} +2 -2
- package/{drawer.BoyrTFi1.js → drawer.rbbjQvqL.js} +2 -2
- package/{fieldset.D_e2-vo_.js → fieldset.BHf3XK2q.js} +3 -3
- package/filelist.GrEwoM1u.js +143 -0
- package/filepreview.B2Ot9SZ7.js +97 -0
- package/{flag.0vpitrQ-.js → flag.fX6LAgty.js} +3 -4
- package/{floatingactionbutton.BrdE1vi2.js → floatingactionbutton.BwCiybnc.js} +1 -1
- package/{header.C3AqYBtz.js → header.BCeCjYfG.js} +1 -1
- package/index.es.js +203 -204
- package/input.Dh0ws-9j.js +187 -0
- package/inputfile.DiZh3GcT.js +17 -0
- package/{inputnumber.Box5R2An.js → inputnumber.D2cmptaH.js} +8 -9
- package/{inputpassword.CBc8GNwI.js → inputpassword.C53Kg4EA.js} +4 -4
- package/inputsearch.BrsIDUSW.js +14 -0
- package/link.DEZDbUgq.js +81 -0
- package/{linkbutton.DxEPueLb.js → linkbutton._X50W2Md.js} +3 -3
- package/{linkcard.CCY-VFWN.js → linkcard.BtM3KnjT.js} +3 -3
- package/{logo.D7LnRA1E.js → logo.D6BTxbxv.js} +0 -1
- package/{megamenu.C8OynEzk.js → megamenu.odVCUm4c.js} +2 -2
- package/{navigationtablist.iSQd5PX4.js → navigationtablist.n9DrtYe5.js} +2 -2
- package/{navigationtabs.FtkVv_qV.js → navigationtabs.D0mSyAtK.js} +2 -2
- package/{notification.Cqg8HpJ8.js → notification._X8-8vOa.js} +2 -2
- package/numberindicator.DsK65Bj3.js +39 -0
- package/package.json +6 -1
- package/pagination.B7Hrx_sk.js +14 -0
- package/partials/index.js +68 -68
- package/{popover.DYiEGSnj.js → popover.BBaqL7y9.js} +3 -3
- package/progressindicator.D9CfVD95.js +74 -0
- package/radio.DjToa2aV.js +148 -0
- package/{radiogroup.wqgExwrG.js → radiogroup.mc-8lw65.js} +3 -3
- package/{scroller.Dqnsxq2M.js → scroller.CgWp2WXG.js} +10 -11
- package/{select.DkKuGI6O.js → select.DTZ6a6Ag.js} +5 -6
- package/{skeleton.DUkBgXxO.js → skeleton.CNJdNVav.js} +10 -10
- package/{skiptocontent.CRQywi6J.js → skiptocontent.BsRpWvyu.js} +4 -4
- package/{slider.BOjqQp9n.js → slider.BMGAihY0.js} +3 -3
- package/{step.C6zDRCBu.js → step.DCQ6CawJ.js} +1 -1
- package/stepper.D7-7BdSv.js +15 -0
- package/styles/scss/ds/index.scss +2 -0
- package/styles/scss/ds/lib/border-width.scss +3 -0
- package/styles/scss/ds/lib/ds-internal/_input.scss +65 -21
- package/styles/scss/ds/lib/ds-internal/_link-button.scss +4 -2
- package/styles/scss/ds/lib/ds-internal/_link.scss +23 -3
- package/styles/scss/ds/lib/input.scss +12 -7
- package/styles/scss/ds/lib/link.scss +2 -2
- package/styles/scss/ds/lib/radius.scss +5 -0
- package/{switch.CuNNdrkD.js → switch.tM2XBag8.js} +2 -2
- package/{systemfeedback.Da0wX0Eb.js → systemfeedback.BPPOht_9.js} +1 -1
- package/{tablist.BjKwrLz9.js → tablist.BAm0_UIG.js} +22 -23
- package/{tabpane.7vMXUKFX.js → tabpane.B9rZghU6.js} +1 -1
- package/{tabs.-U2k6Oll.js → tabs.BgTdWbTe.js} +3 -3
- package/text.BEO_ZfJq.js +72 -0
- package/{textarea.BWznY6Gg.js → textarea.Cki-uMkZ.js} +5 -6
- package/{textutility.CBLuAdaa.js → textutility.BypzssPt.js} +2 -2
- package/{toast.D9XLSgJg.js → toast.s0Hfuh5i.js} +2 -2
- package/{toastmanager.V5E05qgI.js → toastmanager.CPIPn4Io.js} +19 -20
- package/{tooltip.a1aWHK00.js → tooltip.BFQG-7VR.js} +1 -1
- package/{topbar.BdGK62KJ.js → topbar.Bbct-XkB.js} +3 -3
- package/utils/translate.d.ts +22 -6
- package/assets/Accordion.DPu2l_Kg.css +0 -1
- package/assets/ActionButton.DcQYatF1.css +0 -1
- package/assets/ActionCard.gRQVVFWz.css +0 -1
- package/assets/ActionLink.B62Aa8y9.css +0 -1
- package/assets/Button.BI6zz6Fw.css +0 -1
- package/assets/Checkbox.DknHnS9a.css +0 -1
- package/assets/Chip.CYhVB1Jh.css +0 -1
- package/assets/CustomReactSelect.lKMLwL7n.css +0 -1
- package/assets/Dialog.BKwWy1g2.css +0 -1
- package/assets/Drawer.IRb7Vc1n.css +0 -1
- package/assets/Fieldset.C4Fx4-UV.css +0 -1
- package/assets/InputFile.ne7gwc_5.css +0 -1
- package/assets/InputNumber.BIdsQuFc.css +0 -1
- package/assets/InputPassword.YSKTDTA1.css +0 -1
- package/assets/InputSearch.C3qtDQcj.css +0 -1
- package/assets/LinkButton.CmEE7Od_.css +0 -1
- package/assets/Notification.BO0Mu9No.css +0 -1
- package/assets/Pagination.OLmfdASf.css +0 -1
- package/assets/Popover.mL5g23EK.css +0 -1
- package/assets/Select.CDP-1_K9.css +0 -1
- package/assets/Slider.Cu7MgNph.css +0 -1
- package/assets/TextUtility.bwkCWEiV.css +0 -1
- package/assets/Textarea.Hsq68tg1.css +0 -1
- package/assets/buttonround.rmUb58WF.css +0 -1
- package/assets/chipgroup.BGxjdSDX.css +0 -1
- package/assets/filelist.cP3O1JeJ.css +0 -1
- package/assets/input.BEBgyvkK.css +0 -1
- package/assets/numberindicator.DSpNPJcs.css +0 -1
- package/assets/progressindicator.Dxrigyne.css +0 -1
- package/assets/radio.DsHt-9om.css +0 -1
- package/assets/switch.fwcMI6o7.css +0 -1
- package/assets/tabpane.o34hshTz.css +0 -1
- package/assets/text.Doa-APfR.css +0 -1
- package/assets/tooltip.DrSplliO.css +0 -1
- package/buttonround.BeQakrPs.js +0 -101
- package/chipgroup.BKjeuuM0.js +0 -213
- package/chunks/Accordion.8kTbiPxs.js +0 -173
- package/chunks/ActionButton.CBV1-_HP.js +0 -188
- package/chunks/ActionLink.BXxDS1Gg.js +0 -161
- package/chunks/Button.COycNYUI.js +0 -160
- package/chunks/Checkbox.CMshaWIU.js +0 -88
- package/chunks/CheckboxGroup.D3D1spfJ.js +0 -79
- package/chunks/Chip.DCJYE513.js +0 -157
- package/chunks/Dialog.lJXxzgu2.js +0 -102
- package/chunks/Fieldset.DOjI3DlI.js +0 -91
- package/chunks/InputFile.DYXvF6vT.js +0 -260
- package/chunks/InputNumber.CkWpchPo.js +0 -240
- package/chunks/InputPassword.21E6XMr5.js +0 -121
- package/chunks/InputSearch.Dy3EKa9f.js +0 -149
- package/chunks/LinkButton.BCHTLFMJ.js +0 -150
- package/chunks/LinkCard.BYmTwsS5.js +0 -197
- package/chunks/Notification.BjyLiO2h.js +0 -91
- package/chunks/Pagination.CJikF9Cw.js +0 -247
- package/chunks/Popover.ByaoNwGK.js +0 -221
- package/chunks/RadioGroup.Bh2X6pT9.js +0 -130
- package/chunks/Select.KWb09VmF.js +0 -147
- package/chunks/Slider.CxnIy51F.js +0 -309
- package/chunks/SystemFeedback.4osheYxC.js +0 -38
- package/chunks/Text.utils.BZ4nTZVu.js +0 -11
- package/chunks/TextUtility.BPrxUX-x.js +0 -82
- package/chunks/Textarea.CAOqZMUi.js +0 -181
- package/chunks/translate.nuU7uChI.js +0 -8
- package/filelist.DfAt2xJa.js +0 -128
- package/filepreview.Defs34bv.js +0 -94
- package/input.ChMzyHej.js +0 -175
- package/inputfile.DZIUs1EC.js +0 -18
- package/inputsearch.DzzYb-C0.js +0 -15
- package/link.aU1f2Xzu.js +0 -81
- package/numberindicator.Q7g4J3Ry.js +0 -36
- package/pagination.DA4PMLOq.js +0 -14
- package/progressindicator.DpmERE8T.js +0 -53
- package/radio.KQ8CUM3_.js +0 -137
- package/stepper.DHl3_XU9.js +0 -16
- package/text.CnP3baHy.js +0 -72
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
@use '_helpers' as *;
|
|
3
3
|
@use '_high-contrast' as *;
|
|
4
4
|
@use '_hover' as *;
|
|
5
|
+
@use '../border-width' as *;
|
|
5
6
|
@use '../media-query' as *;
|
|
7
|
+
@use '../radius' as *;
|
|
6
8
|
@use '../spacing' as *;
|
|
7
9
|
@use '../spacing-rem' as *;
|
|
8
10
|
@use '../text' as *;
|
|
@@ -37,7 +39,7 @@ $link-button-size-medium: $spacing-48-rem;
|
|
|
37
39
|
display: inline-flex;
|
|
38
40
|
justify-content: center;
|
|
39
41
|
align-items: center;
|
|
40
|
-
border-width: $
|
|
42
|
+
border-width: $border-width-1;
|
|
41
43
|
border-style: solid;
|
|
42
44
|
border-color: transparent;
|
|
43
45
|
gap: $spacing-8;
|
|
@@ -150,7 +152,7 @@ $link-button-size-medium: $spacing-48-rem;
|
|
|
150
152
|
@include utility-large-bold;
|
|
151
153
|
color: $theme-light-content-color-primary;
|
|
152
154
|
|
|
153
|
-
border-radius: $
|
|
155
|
+
border-radius: $radius-xs;
|
|
154
156
|
|
|
155
157
|
min-height: $link-button-size-small;
|
|
156
158
|
min-width: $link-button-size-small;
|
|
@@ -37,9 +37,8 @@
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
&[href^=
|
|
41
|
-
&[href^=
|
|
42
|
-
{
|
|
40
|
+
&[href^='http://']::after,
|
|
41
|
+
&[href^='https://']::after {
|
|
43
42
|
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{urlEncodeHexColor($content-color)}' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath fill-rule='evenodd' d='M9 2V0h7v7h-2V3.4L8.1 9.3 6.7 7.9 12.6 2H9Zm5 8h-2v4H2V4h4V2H0v14h14v-6Z' clip-rule='evenodd'/%3E%3C/svg%3E");
|
|
44
43
|
}
|
|
45
44
|
|
|
@@ -47,6 +46,27 @@
|
|
|
47
46
|
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{urlEncodeHexColor($content-color)}' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath d='M14.4 9.6 8 16 1.6 9.6 3 8.2l4 4V0h2v12.2l4-4 1.4 1.4Z'/%3E%3C/svg%3E");
|
|
48
47
|
}
|
|
49
48
|
|
|
49
|
+
@include high-contrast-media-query {
|
|
50
|
+
&[href^='http://']::after,
|
|
51
|
+
&[href^='https://']::after {
|
|
52
|
+
forced-color-adjust: none;
|
|
53
|
+
content: '';
|
|
54
|
+
background-color: LinkText;
|
|
55
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='100%25' height='100%25'%3E%3Cpath fill-rule='evenodd' d='M9 2V0h7v7h-2V3.4L8.1 9.3 6.7 7.9 12.6 2H9Zm5 8h-2v4H2V4h4V2H0v14h14v-6Z' clip-rule='evenodd'/%3E%3C/svg%3E");
|
|
56
|
+
mask-size: contain;
|
|
57
|
+
mask-repeat: no-repeat;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&[href^='#']::after {
|
|
61
|
+
forced-color-adjust: none;
|
|
62
|
+
content: '';
|
|
63
|
+
background-color: LinkText;
|
|
64
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='100%25' height='100%25'%3E%3Cpath d='M14.4 9.6 8 16 1.6 9.6 3 8.2l4 4V0h2v12.2l4-4 1.4 1.4Z'/%3E%3C/svg%3E");
|
|
65
|
+
mask-size: contain;
|
|
66
|
+
mask-repeat: no-repeat;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
50
70
|
|
|
51
71
|
|
|
52
72
|
@include focus($theme, $offset: 0);
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
@use './ds-internal/_input' as *;
|
|
2
2
|
|
|
3
|
-
@mixin input-label(
|
|
3
|
+
@mixin input-label(
|
|
4
|
+
$hasHint: false,
|
|
5
|
+
$isDisabled: false,
|
|
6
|
+
$isRequired: false,
|
|
7
|
+
$theme: 'light'
|
|
8
|
+
) {
|
|
4
9
|
@if (not $isDisabled and not $isRequired) {
|
|
5
|
-
@include input-label-base($hasHint);
|
|
10
|
+
@include input-label-base($hasHint, $theme);
|
|
6
11
|
}
|
|
7
12
|
@if $isDisabled {
|
|
8
13
|
@include input-label-disabled();
|
|
@@ -13,14 +18,14 @@
|
|
|
13
18
|
}
|
|
14
19
|
}
|
|
15
20
|
|
|
16
|
-
@mixin input-hint() {
|
|
17
|
-
@include input-hint-base();
|
|
21
|
+
@mixin input-hint($theme: 'light') {
|
|
22
|
+
@include input-hint-base($theme);
|
|
18
23
|
}
|
|
19
24
|
|
|
20
|
-
@mixin input($size: 'medium', $isInvalid: false) {
|
|
25
|
+
@mixin input($size: 'medium', $isInvalid: false, $theme: 'light') {
|
|
21
26
|
@if (not $isInvalid) {
|
|
22
|
-
@include input-base($size);
|
|
27
|
+
@include input-base($size, $theme);
|
|
23
28
|
} @else {
|
|
24
|
-
@include input-invalid();
|
|
29
|
+
@include input-invalid($theme);
|
|
25
30
|
}
|
|
26
31
|
}
|
|
@@ -5,11 +5,11 @@ import { c as q } from "./chunks/index.DQOqod3i.js";
|
|
|
5
5
|
import { forwardRef as z } from "react";
|
|
6
6
|
import { D as A } from "./chunks/Icon.DYtaQgbw.js";
|
|
7
7
|
import { DSSpinner as B } from "./spinner.DtLnsqVV.js";
|
|
8
|
-
import './assets/switch.
|
|
8
|
+
import './assets/switch.8v7Wp1Fj.css';const F = "ds-switch_root_1c6he_1", G = "ds-switch_root--label-right_1c6he_40", H = "ds-switch_root--stretched_1c6he_43", J = "ds-switch_loader_1c6he_53", K = "ds-switch_thumb_1c6he_111", M = "ds-switch_root--checked_1c6he_126", o = {
|
|
9
9
|
root: F,
|
|
10
10
|
rootLabelRight: G,
|
|
11
11
|
rootStretched: H,
|
|
12
|
-
switch: "ds-
|
|
12
|
+
switch: "ds-switch_switch_1c6he_48",
|
|
13
13
|
loader: J,
|
|
14
14
|
thumb: K,
|
|
15
15
|
rootChecked: M
|
|
@@ -4,7 +4,7 @@ import "./chunks/index.cKLI89Eg.js";
|
|
|
4
4
|
import "./chunks/index.DQOqod3i.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "./chunks/Icon.DYtaQgbw.js";
|
|
7
|
-
import { D as s } from "./chunks/SystemFeedback.
|
|
7
|
+
import { D as s } from "./chunks/SystemFeedback.DhWcYjnu.js";
|
|
8
8
|
export {
|
|
9
9
|
s as DSSystemFeedback
|
|
10
10
|
};
|
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
import { jsxs as k, jsx as p } from "react/jsx-runtime";
|
|
3
3
|
import { c as D } from "./chunks/index.DQOqod3i.js";
|
|
4
4
|
import { useState as E, useRef as g, useEffect as ot } from "react";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import "./chunks/
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
const b = 48, Lt = ({
|
|
5
|
+
import { D as X } from "./chunks/Button.CCol--xy.js";
|
|
6
|
+
import { D as nt } from "./chunks/Icon.DYtaQgbw.js";
|
|
7
|
+
import { NumberIndicator as st } from "./numberindicator.DsK65Bj3.js";
|
|
8
|
+
import { g as ct, a as j } from "./chunks/TabPane.utils.DG16Y2uD.js";
|
|
9
|
+
import { s as c, N as it } from "./chunks/NavigationTabList.thzA1pU8.js";
|
|
10
|
+
import { u as C } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
11
|
+
import { g as at } from "./chunks/helpers.CexwVao7.js";
|
|
12
|
+
import { g as h, i as W } from "./chunks/is-animation-disabled.B-V_68K-.js";
|
|
13
|
+
import { h as lt } from "./chunks/has-window.ut_-aShB.js";
|
|
14
|
+
const b = 48, Dt = ({
|
|
16
15
|
aria: q,
|
|
17
16
|
id: L,
|
|
18
17
|
selectedTabIndex: n,
|
|
@@ -28,12 +27,12 @@ const b = 48, Lt = ({
|
|
|
28
27
|
const [A, u] = E(Q), [U, V] = E(!1), [Y, Z] = E(!1), d = g([]), v = g(null), s = g(null), i = g(null), w = g(!1), H = g(n), N = () => {
|
|
29
28
|
P(), x();
|
|
30
29
|
};
|
|
31
|
-
|
|
30
|
+
C(() => {
|
|
32
31
|
const e = new ResizeObserver(N);
|
|
33
32
|
return s.current && e.observe(s.current), () => {
|
|
34
33
|
e.disconnect();
|
|
35
34
|
};
|
|
36
|
-
}, []),
|
|
35
|
+
}, []), C(() => {
|
|
37
36
|
const e = [
|
|
38
37
|
"18px 'STIHL Contraface Digital Text Regular'",
|
|
39
38
|
// utility large - Tab
|
|
@@ -45,7 +44,7 @@ const b = 48, Lt = ({
|
|
|
45
44
|
Promise.all(e.map((o) => document.fonts.load(o))).then(() => {
|
|
46
45
|
S(n), R("next", n, "instant"), P(), w.current = !0;
|
|
47
46
|
}).catch((o) => {
|
|
48
|
-
throw new Error(
|
|
47
|
+
throw new Error(at("DSTabs", `The component requires the fonts to be loaded: ${o}`));
|
|
49
48
|
});
|
|
50
49
|
const t = () => {
|
|
51
50
|
!w.current || !i.current || (r.matches ? i.current.style.transitionDuration = "0s" : i.current.style.transitionDuration = "");
|
|
@@ -53,7 +52,7 @@ const b = 48, Lt = ({
|
|
|
53
52
|
return r.addEventListener("change", t), s.current?.addEventListener("scroll", N), () => {
|
|
54
53
|
r.removeEventListener("change", t), s.current?.removeEventListener("scroll", N);
|
|
55
54
|
};
|
|
56
|
-
}, [l, I]),
|
|
55
|
+
}, [l, I]), C(() => {
|
|
57
56
|
if (w.current && (S(n), T)) {
|
|
58
57
|
const e = M(n);
|
|
59
58
|
u(n), R(e, n);
|
|
@@ -75,7 +74,7 @@ const b = 48, Lt = ({
|
|
|
75
74
|
V(t.left < e.left), Z(t.right > e.right + 4);
|
|
76
75
|
}
|
|
77
76
|
}, O = (e = 0) => {
|
|
78
|
-
|
|
77
|
+
lt && i.current && !W() && setTimeout(() => {
|
|
79
78
|
i.current && (i.current.style.transitionDuration = "250ms");
|
|
80
79
|
}, e);
|
|
81
80
|
}, x = () => {
|
|
@@ -145,14 +144,14 @@ const b = 48, Lt = ({
|
|
|
145
144
|
}
|
|
146
145
|
f.scrollTo({
|
|
147
146
|
left: B,
|
|
148
|
-
behavior:
|
|
147
|
+
behavior: W() ? "instant" : r
|
|
149
148
|
});
|
|
150
149
|
}
|
|
151
150
|
}, $ = (e) => {
|
|
152
151
|
const t = et(e);
|
|
153
152
|
s.current?.scrollTo({
|
|
154
153
|
left: t,
|
|
155
|
-
behavior:
|
|
154
|
+
behavior: W() ? "instant" : "smooth"
|
|
156
155
|
});
|
|
157
156
|
}, et = (e) => {
|
|
158
157
|
if (!v.current || !s.current)
|
|
@@ -167,7 +166,7 @@ const b = 48, Lt = ({
|
|
|
167
166
|
}), rt = T ? "nav" : "div";
|
|
168
167
|
return /* @__PURE__ */ k("div", { className: D(c.tabsWrapper, G), ...J, children: [
|
|
169
168
|
/* @__PURE__ */ k(rt, { className: c.scrollWrapper, ref: s, ...q, children: [
|
|
170
|
-
T ? /* @__PURE__ */ p(
|
|
169
|
+
T ? /* @__PURE__ */ p(it, { tabs: l, tabRefs: d, scrollerRef: v, handleNavigationKeydown: tt, scrollerClass: K, selectedTabIndex: n, setSelectedTab: y }) : /* @__PURE__ */ p("div", { role: "tablist", className: K, ref: v, children: l.map(({
|
|
171
170
|
id: e,
|
|
172
171
|
label: t,
|
|
173
172
|
iconName: r,
|
|
@@ -179,7 +178,7 @@ const b = 48, Lt = ({
|
|
|
179
178
|
id: j(L, e),
|
|
180
179
|
role: "tab",
|
|
181
180
|
"aria-selected": n === a,
|
|
182
|
-
"aria-controls":
|
|
181
|
+
"aria-controls": ct(L, e, a),
|
|
183
182
|
tabIndex: n === a ? 0 : -1,
|
|
184
183
|
className: c.tab,
|
|
185
184
|
ref: (m) => {
|
|
@@ -189,9 +188,9 @@ const b = 48, Lt = ({
|
|
|
189
188
|
onKeyDown: (m) => _(m, a),
|
|
190
189
|
type: "button",
|
|
191
190
|
children: [
|
|
192
|
-
r && /* @__PURE__ */ p(
|
|
191
|
+
r && /* @__PURE__ */ p(nt, { name: r, "aria-hidden": "true" }),
|
|
193
192
|
t,
|
|
194
|
-
o && /* @__PURE__ */ p(
|
|
193
|
+
o && /* @__PURE__ */ p(st, { "aria-label": f, label: o })
|
|
195
194
|
]
|
|
196
195
|
},
|
|
197
196
|
j(L, e)
|
|
@@ -207,5 +206,5 @@ const b = 48, Lt = ({
|
|
|
207
206
|
] });
|
|
208
207
|
};
|
|
209
208
|
export {
|
|
210
|
-
|
|
209
|
+
Dt as TabList
|
|
211
210
|
};
|
|
@@ -4,7 +4,7 @@ import { d as T } from "./chunks/index.cKLI89Eg.js";
|
|
|
4
4
|
import { c as g } from "./chunks/index.DQOqod3i.js";
|
|
5
5
|
import { useRef as y, useState as F, useEffect as N } from "react";
|
|
6
6
|
import { c as P, g as v, a as R } from "./chunks/TabPane.utils.DG16Y2uD.js";
|
|
7
|
-
import './assets/tabpane.
|
|
7
|
+
import './assets/tabpane.DDaeSDQb.css';const S = "ds-tabs_tabpane_1cps1_1", j = {
|
|
8
8
|
tabpane: S
|
|
9
9
|
}, k = (x) => {
|
|
10
10
|
const e = T.c(19), {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "./chunks/index.cKLI89Eg.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./tablist.
|
|
6
|
-
import "./tabpane.
|
|
5
|
+
import "./tablist.BAm0_UIG.js";
|
|
6
|
+
import "./tabpane.B9rZghU6.js";
|
|
7
7
|
import "./chunks/TabPane.utils.DG16Y2uD.js";
|
|
8
|
-
import { D as a } from "./chunks/Tabs.
|
|
8
|
+
import { D as a } from "./chunks/Tabs.BHVlgp7L.js";
|
|
9
9
|
export {
|
|
10
10
|
a as DSTabs
|
|
11
11
|
};
|
package/text.BEO_ZfJq.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as y } from "react/jsx-runtime";
|
|
3
|
+
import { d as $ } from "./chunks/index.cKLI89Eg.js";
|
|
4
|
+
import { c as P } from "./chunks/index.DQOqod3i.js";
|
|
5
|
+
import { useRef as R, useEffect as j } from "react";
|
|
6
|
+
import { i as M } from "./chunks/Text.utils.DzlY9pJS.js";
|
|
7
|
+
import { g as L } from "./chunks/helpers.CexwVao7.js";
|
|
8
|
+
import './assets/text.BwGsYzGM.css';const C = "ds-text_root_1skzv_6", O = "ds-text_root--large_1skzv_15", V = "ds-text_root--large-bold_1skzv_26", W = "ds-text_root--medium_1skzv_38", q = "ds-text_root--medium-bold_1skzv_49", A = "ds-text_root--small_1skzv_61", F = "ds-text_root--small-bold_1skzv_72", G = "ds-text_root--x-small_1skzv_84", H = "ds-text_root--x-small-bold_1skzv_95", I = "ds-text_root--xx-small_1skzv_107", J = "ds-text_root--theme-dark_1skzv_219", o = {
|
|
9
|
+
root: C,
|
|
10
|
+
rootLarge: O,
|
|
11
|
+
rootLargeBold: V,
|
|
12
|
+
rootMedium: W,
|
|
13
|
+
rootMediumBold: q,
|
|
14
|
+
rootSmall: A,
|
|
15
|
+
rootSmallBold: F,
|
|
16
|
+
rootXSmall: G,
|
|
17
|
+
rootXSmallBold: H,
|
|
18
|
+
rootXxSmall: I,
|
|
19
|
+
rootThemeDark: J
|
|
20
|
+
}, ot = (g) => {
|
|
21
|
+
const t = $.c(28);
|
|
22
|
+
let l, r, a, m, i, n, d;
|
|
23
|
+
t[0] !== g ? ({
|
|
24
|
+
children: l,
|
|
25
|
+
className: r,
|
|
26
|
+
size: m,
|
|
27
|
+
tag: i,
|
|
28
|
+
theme: n,
|
|
29
|
+
weight: d,
|
|
30
|
+
...a
|
|
31
|
+
} = g, t[0] = g, t[1] = l, t[2] = r, t[3] = a, t[4] = m, t[5] = i, t[6] = n, t[7] = d) : (l = t[1], r = t[2], a = t[3], m = t[4], i = t[5], n = t[6], d = t[7]);
|
|
32
|
+
const e = m === void 0 ? "medium" : m, s = i === void 0 ? "p" : i, N = n === void 0 ? "light" : n, c = d === void 0 ? "normal" : d, _ = R(null);
|
|
33
|
+
let x, h;
|
|
34
|
+
t[8] !== s ? (x = () => {
|
|
35
|
+
if (_.current && process.env.NODE_ENV !== "production")
|
|
36
|
+
t: switch (s) {
|
|
37
|
+
case "li": {
|
|
38
|
+
if (!M(_.current, "ul, ol"))
|
|
39
|
+
throw Error(L("DSText", `The DSText component with the tag "${s}" is not within a list element (ul, ol). This may cause issues with list semantics. Please ensure the DSText component is within a list element.`));
|
|
40
|
+
break t;
|
|
41
|
+
}
|
|
42
|
+
case "dt":
|
|
43
|
+
case "dd": {
|
|
44
|
+
if (!M(_.current, "dl"))
|
|
45
|
+
throw Error(L("DSText", `The DSText component with the tag "${s}" is not within a list element (dl). This may cause issues with list semantics. Please ensure the DSText component is within a list element.`));
|
|
46
|
+
break t;
|
|
47
|
+
}
|
|
48
|
+
default:
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
}, h = [s], t[8] = s, t[9] = x, t[10] = h) : (x = t[9], h = t[10]), j(x, h);
|
|
52
|
+
const f = s, k = e === "large", v = e === "large" && c === "bold", p = e == "medium", T = e === "medium" && c === "bold", w = e == "small", z = e == "small" && c === "bold", B = e == "x-small", D = e == "x-small" && c === "bold", b = e == "xx-small", X = N === "dark";
|
|
53
|
+
let u;
|
|
54
|
+
t[11] !== r || t[12] !== T || t[13] !== w || t[14] !== z || t[15] !== B || t[16] !== D || t[17] !== b || t[18] !== X || t[19] !== k || t[20] !== v || t[21] !== p ? (u = P(o.root, r, {
|
|
55
|
+
[o.rootLarge]: k,
|
|
56
|
+
[o.rootLargeBold]: v,
|
|
57
|
+
[o.rootMedium]: p,
|
|
58
|
+
[o.rootMediumBold]: T,
|
|
59
|
+
[o.rootSmall]: w,
|
|
60
|
+
[o.rootSmallBold]: z,
|
|
61
|
+
[o.rootXSmall]: B,
|
|
62
|
+
[o.rootXSmallBold]: D,
|
|
63
|
+
[o.rootXxSmall]: b,
|
|
64
|
+
[o.rootThemeDark]: X
|
|
65
|
+
}), t[11] = r, t[12] = T, t[13] = w, t[14] = z, t[15] = B, t[16] = D, t[17] = b, t[18] = X, t[19] = k, t[20] = v, t[21] = p, t[22] = u) : u = t[22];
|
|
66
|
+
const E = u;
|
|
67
|
+
let S;
|
|
68
|
+
return t[23] !== f || t[24] !== l || t[25] !== a || t[26] !== E ? (S = /* @__PURE__ */ y(f, { className: E, ref: _, ...a, children: l }), t[23] = f, t[24] = l, t[25] = a, t[26] = E, t[27] = S) : S = t[27], S;
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
ot as DSText
|
|
72
|
+
};
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "./chunks/index.DQOqod3i.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./chunks/helpers.CexwVao7.js";
|
|
6
5
|
import "./chunks/useBreakpoint.1txsny17.js";
|
|
7
|
-
import "./chunks/index.cKLI89Eg.js";
|
|
8
6
|
import "./asterisk.Dwtdwpkq.js";
|
|
9
|
-
import "./chunks/Popover.
|
|
10
|
-
import "./chunks/SystemFeedback.
|
|
11
|
-
import { D
|
|
7
|
+
import "./chunks/Popover.CxZZ_y1Z.js";
|
|
8
|
+
import "./chunks/SystemFeedback.DhWcYjnu.js";
|
|
9
|
+
import { D } from "./chunks/Textarea.vuJgvW6_.js";
|
|
10
|
+
import "./chunks/helpers.CexwVao7.js";
|
|
12
11
|
export {
|
|
13
|
-
|
|
12
|
+
D as DSTextarea
|
|
14
13
|
};
|
|
@@ -3,9 +3,9 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.cKLI89Eg.js";
|
|
4
4
|
import "./chunks/index.DQOqod3i.js";
|
|
5
5
|
import "react";
|
|
6
|
+
import "./chunks/Text.utils.DzlY9pJS.js";
|
|
7
|
+
import { D as s } from "./chunks/TextUtility.BZLwqyic.js";
|
|
6
8
|
import "./chunks/helpers.CexwVao7.js";
|
|
7
|
-
import "./chunks/Text.utils.BZ4nTZVu.js";
|
|
8
|
-
import { D as s } from "./chunks/TextUtility.BPrxUX-x.js";
|
|
9
9
|
export {
|
|
10
10
|
s as DSTextUtility
|
|
11
11
|
};
|
|
@@ -3,9 +3,9 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.cKLI89Eg.js";
|
|
4
4
|
import "./chunks/index.DQOqod3i.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/Button.
|
|
6
|
+
import "./chunks/Button.CCol--xy.js";
|
|
7
7
|
import "./chunks/Icon.DYtaQgbw.js";
|
|
8
|
-
import { D as a } from "./chunks/Toast.
|
|
8
|
+
import { D as a } from "./chunks/Toast.V_ZUAsf2.js";
|
|
9
9
|
export {
|
|
10
10
|
a as DSToast
|
|
11
11
|
};
|
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as C, jsx as O } from "react/jsx-runtime";
|
|
3
3
|
import { createContext as b, useState as h, useRef as L, useEffect as v, useMemo as _, useContext as y } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import { s as R, f as U } from "./chunks/AriaLiveRegions.utils.BPvIKT6B.js";
|
|
7
|
-
import { D as j, s as q } from "./chunks/Toast.NZfb7z3q.js";
|
|
4
|
+
import { s as R, f as U } from "./chunks/AriaLiveRegions.utils.xoETe2Ps.js";
|
|
5
|
+
import { D as j, s as q } from "./chunks/Toast.V_ZUAsf2.js";
|
|
8
6
|
import { h as Q } from "./chunks/has-window.ut_-aShB.js";
|
|
7
|
+
import { g } from "./chunks/helpers.CexwVao7.js";
|
|
9
8
|
const k = () => {
|
|
10
9
|
if (!Q)
|
|
11
10
|
return;
|
|
12
11
|
if (document.querySelectorAll("[data-ds-toast]").length > 1)
|
|
13
12
|
throw new Error(g("DSToast", 'The destructured "toast" element should only be used once in the DOM.'));
|
|
14
|
-
}, n = "data-ds-toast-timeout-id", S = "closing", B = 1e4, D = b(void 0),
|
|
13
|
+
}, n = "data-ds-toast-timeout-id", S = "closing", B = 1e4, D = b(void 0), H = () => {
|
|
15
14
|
const r = y(D);
|
|
16
15
|
if (!r)
|
|
17
16
|
throw new Error(g("DSToastProvider", "useDSToast must be used within a <DSToastProvider />, which wraps around your root component."));
|
|
18
17
|
return r;
|
|
19
|
-
},
|
|
18
|
+
}, J = ({
|
|
20
19
|
children: r
|
|
21
20
|
}) => {
|
|
22
|
-
const [u, a] = h([]), [o,
|
|
21
|
+
const [u, a] = h([]), [o, c] = h(null), e = L(null);
|
|
23
22
|
v(() => {
|
|
24
23
|
!o && u.length > 0 && setTimeout(() => {
|
|
25
|
-
|
|
24
|
+
c(u[0]);
|
|
26
25
|
});
|
|
27
26
|
}, [u]), v(() => {
|
|
28
|
-
o && (
|
|
27
|
+
o && (w(o.message, o.variant), I());
|
|
29
28
|
}, [o]);
|
|
30
|
-
const
|
|
29
|
+
const i = () => e.current?.getAttribute(n) || null, l = (t) => {
|
|
31
30
|
e.current?.setAttribute(n, t);
|
|
32
|
-
}, M = () => e.current?.removeAttribute(n),
|
|
31
|
+
}, M = () => e.current?.removeAttribute(n), w = (t, s) => {
|
|
33
32
|
s === "warning" ? R(t, "DSToast") : (s === "success" || s === "info") && U(t, "DSToast");
|
|
34
33
|
}, T = (t, s) => {
|
|
35
34
|
const P = {
|
|
@@ -40,27 +39,27 @@ const k = () => {
|
|
|
40
39
|
onClick: () => {
|
|
41
40
|
f();
|
|
42
41
|
},
|
|
43
|
-
onMouseEnter:
|
|
44
|
-
onMouseLeave:
|
|
42
|
+
onMouseEnter: A,
|
|
43
|
+
onMouseLeave: p
|
|
45
44
|
};
|
|
46
45
|
a((x) => [...x, P]);
|
|
47
|
-
},
|
|
46
|
+
}, A = () => {
|
|
48
47
|
m();
|
|
49
48
|
}, m = () => {
|
|
50
|
-
const t =
|
|
49
|
+
const t = i();
|
|
51
50
|
t && (clearTimeout(t), e.current?.removeAttribute(n));
|
|
52
51
|
}, d = () => {
|
|
53
52
|
const t = setTimeout(() => {
|
|
54
53
|
f();
|
|
55
54
|
}, B);
|
|
56
55
|
l(String(t));
|
|
57
|
-
},
|
|
58
|
-
|
|
56
|
+
}, p = () => {
|
|
57
|
+
i() !== S && e.current && d();
|
|
59
58
|
}, I = () => {
|
|
60
59
|
k(), o && e.current?.showPopover && (e.current.showPopover(), d());
|
|
61
60
|
}, f = () => {
|
|
62
61
|
m(), l(S), e.current && (e.current.addEventListener("animationend", () => {
|
|
63
|
-
e.current?.hidePopover && (e.current.hidePopover(), M(), e.current = null, a((t) => t.slice(1)),
|
|
62
|
+
e.current?.hidePopover && (e.current.hidePopover(), M(), e.current = null, a((t) => t.slice(1)), c(null));
|
|
64
63
|
}, {
|
|
65
64
|
once: !0
|
|
66
65
|
// removes event listener after being called once
|
|
@@ -74,6 +73,6 @@ const k = () => {
|
|
|
74
73
|
] });
|
|
75
74
|
};
|
|
76
75
|
export {
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
J as DSToastProvider,
|
|
77
|
+
H as useDSToast
|
|
79
78
|
};
|
|
@@ -6,7 +6,7 @@ import { j as Q, a as W, u as X, m as Y, n as Z, c as ee, d as te, e as oe, o as
|
|
|
6
6
|
import { c as re } from "./chunks/index.DQOqod3i.js";
|
|
7
7
|
import { g as F, c as V } from "./chunks/helpers.CexwVao7.js";
|
|
8
8
|
import { u as ce } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
9
|
-
import './assets/tooltip.
|
|
9
|
+
import './assets/tooltip.C_BL2kou.css';const ae = "ds-tooltip_tooltip_juoi3_5", fe = {
|
|
10
10
|
tooltip: ae
|
|
11
11
|
};
|
|
12
12
|
function pe(n) {
|
|
@@ -3,10 +3,10 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "./chunks/index.cKLI89Eg.js";
|
|
4
4
|
import "./chunks/index.DQOqod3i.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunks/
|
|
7
|
-
import
|
|
8
|
-
import "./logo.D7LnRA1E.js";
|
|
6
|
+
import { b } from "./chunks/Header.CvcGSuhX.js";
|
|
7
|
+
import "./logo.D6BTxbxv.js";
|
|
9
8
|
import "./logo100years.C0IojOp9.js";
|
|
9
|
+
import "./chunks/helpers.CexwVao7.js";
|
|
10
10
|
export {
|
|
11
11
|
b as DSTopBar
|
|
12
12
|
};
|
package/utils/translate.d.ts
CHANGED
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Language type for all translatable DS components.
|
|
3
|
+
* Use `'de'` or `'en'` for preconfigured translations, or any
|
|
4
|
+
* [BCP 47 language tag](https://www.rfc-editor.org/info/bcp47)
|
|
5
|
+
* (e.g. `'fr'`, `'pl'`, `'en-GB'`) when providing a custom `translations` object.
|
|
6
|
+
*/
|
|
7
|
+
export type DSLanguage = 'de' | 'en' | (string & {});
|
|
8
|
+
/**
|
|
9
|
+
* Translates a given key using ICU MessageFormat for proper pluralization and interpolation.
|
|
10
|
+
* Supports named parameters (e.g. `{count}`) and ICU plural syntax
|
|
11
|
+
* (e.g. `{count, plural, one {# item} other {# items}}`).
|
|
4
12
|
*
|
|
5
13
|
* @param key - The key identifying the text to be translated.
|
|
6
14
|
* @param translations - Object containing translation mappings.
|
|
7
|
-
* @param
|
|
8
|
-
* @
|
|
15
|
+
* @param locale - The locale string used for CLDR plural rule resolution (e.g. 'en', 'de', 'pl').
|
|
16
|
+
* @param values - Optional record of named values to interpolate into the message.
|
|
17
|
+
* @returns The translated string with all placeholders resolved.
|
|
18
|
+
*/
|
|
19
|
+
export declare const translate: <T extends Record<string, string>>(key: keyof T, translations: T, locale: string, values?: Record<string, string | number>) => string;
|
|
20
|
+
/**
|
|
21
|
+
* Higher-order function to bind translations and locale, returning a simple `t(key, values?)` helper.
|
|
22
|
+
*
|
|
23
|
+
* @param translations - Object containing translation mappings.
|
|
24
|
+
* @param locale - The locale string used for CLDR plural rule resolution.
|
|
25
|
+
* @returns A translation function `t(key, values?)`.
|
|
9
26
|
*/
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const translateWithTranslations: <T extends Record<string, string>>(translations: T) => (key: keyof T, replacements?: string[]) => string;
|
|
27
|
+
export declare const translateWithTranslations: <T extends Record<string, string>>(translations: T, locale: string) => (key: keyof T, values?: Record<string, string | number>) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*:not(li)>.ds-accordion_details_3l1oa_1:only-of-type,li>.ds-accordion_details_3l1oa_1:only-of-type:not(:only-child){border-bottom:none}.ds-accordion_details_3l1oa_1{max-width:44.9375rem;border-bottom:1px solid #B1B1B1}.ds-accordion_details_3l1oa_1::details-content{block-size:0;overflow:hidden;opacity:0;transition-property:block-size,content-visibility,opacity;transition-behavior:allow-discrete;transition-duration:var(--ds-animation-duration, .25s);transition-timing-function:cubic-bezier(.5,0,1,1)}@media(prefers-reduced-motion:reduce){.ds-accordion_details_3l1oa_1::details-content{transition-duration:0ms}}.ds-accordion_details_3l1oa_1[open]::details-content{overflow:visible;transition-timing-function:cubic-bezier(0,0,.5,1);block-size:auto;block-size:calc-size(auto);opacity:1}.ds-accordion_details_3l1oa_1 a:not([class]){display:inline;padding-inline-end:2px;padding-inline-start:2px;padding-block-start:0;padding-block-end:0;line-height:inherit;font-size:inherit;text-decoration-skip-ink:auto;text-decoration-line:underline;text-underline-offset:2px;text-decoration-thickness:1px;text-decoration-color:currentColor}:where(.ds-accordion_details_3l1oa_1 a:not([class]))[href^="http://"]:after,:where(.ds-accordion_details_3l1oa_1 a:not([class]))[href^="https://"]:after,:where(.ds-accordion_details_3l1oa_1 a:not([class]))[href^="#"]:after{display:inline-block;margin-inline-start:.375em;width:.75em;height:.75em}.ds-accordion_details_3l1oa_1 a:not([class]){color:#252525}.ds-accordion_details_3l1oa_1 a:not([class]):link,.ds-accordion_details_3l1oa_1 a:not([class]):visited{color:#252525}.ds-accordion_details_3l1oa_1 a:not([class]):active{background-color:#0000001a;color:#252525}@media(hover:hover){.ds-accordion_details_3l1oa_1 a:not([class]):hover{background-color:#0000001a;color:#252525}}@media screen and (hover:hover)and (forced-colors:active){.ds-accordion_details_3l1oa_1 a:not([class]):hover{background-color:Canvas}}.ds-accordion_details_3l1oa_1 a:not([class])[href^="http://"]:after,.ds-accordion_details_3l1oa_1 a:not([class])[href^="https://"]:after{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23252525' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath fill-rule='evenodd' d='M9 2V0h7v7h-2V3.4L8.1 9.3 6.7 7.9 12.6 2H9Zm5 8h-2v4H2V4h4V2H0v14h14v-6Z' clip-rule='evenodd'/%3E%3C/svg%3E")}.ds-accordion_details_3l1oa_1 a:not([class])[href^="#"]:after{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23252525' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath d='M14.4 9.6 8 16 1.6 9.6 3 8.2l4 4V0h2v12.2l4-4 1.4 1.4Z'/%3E%3C/svg%3E")}.ds-accordion_details_3l1oa_1 a:not([class]):focus{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors:active){.ds-accordion_details_3l1oa_1 a:not([class]):focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-accordion_details_3l1oa_1 a:not([class]):focus{outline:revert;outline-offset:revert}.ds-accordion_details_3l1oa_1 a:not([class]):focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors:active){.ds-accordion_details_3l1oa_1 a:not([class]):focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}.ds-accordion_details_3l1oa_1 a:not([class]){transition:background-color var(--ds-animation-duration, .1s) linear,border-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media(prefers-reduced-motion:reduce){.ds-accordion_details_3l1oa_1 a:not([class]){transition-duration:0ms}}.ds-accordion_summary_3l1oa_117{cursor:pointer;padding-block-start:12px;padding-inline-end:16px;padding-block-end:12px;padding-inline-start:16px;list-style:none}.ds-accordion_summary_3l1oa_117:focus{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors:active){.ds-accordion_summary_3l1oa_117:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-accordion_summary_3l1oa_117:focus{outline:revert;outline-offset:revert}.ds-accordion_summary_3l1oa_117:focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors:active){.ds-accordion_summary_3l1oa_117:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}.ds-accordion_summary_3l1oa_117::-webkit-details-marker{display:none}.ds-accordion_summary--utility--m_3l1oa_156{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-size:1rem;line-height:1.25;font-size-adjust:.414;font-weight:400}.ds-accordion_summary_3l1oa_117{transition:background-color var(--ds-animation-duration, .1s) linear}@media(prefers-reduced-motion:reduce){.ds-accordion_summary_3l1oa_117{transition-duration:0ms}}@media(hover:hover){.ds-accordion_summary_3l1oa_117:hover{background-color:#ededed}}@media screen and (hover:hover)and (forced-colors:active){.ds-accordion_summary_3l1oa_117:hover{background-color:Highlight}}.ds-accordion_summary--flush_3l1oa_185{color:#252525;position:relative;padding-inline-start:0;padding-inline-end:0}@media(hover:hover){.ds-accordion_summary--flush_3l1oa_185:hover:before{background-color:#ededed}}@media screen and (hover:hover)and (forced-colors:active){.ds-accordion_summary--flush_3l1oa_185:hover:before{background-color:Highlight}}@media screen and (hover:hover)and (forced-colors:active){.ds-accordion_summary--flush_3l1oa_185:hover{background-color:transparent}}.ds-accordion_summary--flush_3l1oa_185:before{content:"";position:absolute;inset:0 -16px}.ds-accordion_summary--flush_3l1oa_185:before{transition:background-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media(prefers-reduced-motion:reduce){.ds-accordion_summary--flush_3l1oa_185:before{transition-duration:0ms}}.ds-accordion_summary--flush_3l1oa_185:focus,.ds-accordion_summary--flush_3l1oa_185:focus-visible{outline:none}.ds-accordion_summary--flush_3l1oa_185:focus:before{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors:active){.ds-accordion_summary--flush_3l1oa_185:focus:before{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-accordion_summary--flush_3l1oa_185:focus:before{outline:revert;outline-offset:revert}.ds-accordion_summary--flush_3l1oa_185:focus-visible:before{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors:active){.ds-accordion_summary--flush_3l1oa_185:focus-visible:before{forced-color-adjust:auto;outline-color:Highlight}}}.ds-accordion_summary--small_3l1oa_253{padding-block-start:8px;padding-block-end:8px}.ds-accordion_summary--x-small_3l1oa_257{padding-block-start:6px;padding-block-end:6px}.ds-accordion_summary-content-wrapper_3l1oa_262{display:flex;justify-content:space-between;align-items:center;gap:16px}.ds-accordion_summary-content-wrapper--flush_3l1oa_268{position:relative;z-index:1}.ds-accordion_summary-content-wrapper--chevron-left_3l1oa_272{flex-flow:row-reverse;justify-content:flex-end}.ds-accordion_summary-content-wrapper--x-small_3l1oa_276{gap:8px}.ds-accordion_heading-summary-wrapper_3l1oa_280{flex-grow:1}.ds-accordion_heading-summary_3l1oa_280{display:flex;justify-content:space-between;align-items:center;gap:16px}.ds-accordion_heading-summary--x-small_3l1oa_290{gap:8px}.ds-accordion_hint_3l1oa_294{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-size:.875rem;line-height:1.14;font-size-adjust:.414;font-weight:400;display:block;margin-block-start:4px}.ds-accordion_icon_3l1oa_308{transform:rotate(0)}.ds-accordion_icon_3l1oa_308{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(.5,0,1,1)}@media(prefers-reduced-motion:reduce){.ds-accordion_icon_3l1oa_308{transition-duration:0ms}}.ds-accordion_icon--open_3l1oa_319{transform:rotate(-180deg)}.ds-accordion_icon--open_3l1oa_319{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1)}@media(prefers-reduced-motion:reduce){.ds-accordion_icon--open_3l1oa_319{transition-duration:0ms}}.ds-accordion_icon--open-caret_3l1oa_330{transform:rotate(90deg)}.ds-accordion_icon--open-caret_3l1oa_330{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1)}@media(prefers-reduced-motion:reduce){.ds-accordion_icon--open-caret_3l1oa_330{transition-duration:0ms}}.ds-accordion_content-wrapper_3l1oa_342{padding-block-start:4px;padding-inline-end:16px;padding-block-end:32px;padding-inline-start:16px}.ds-accordion_content-wrapper--flush_3l1oa_348{padding-inline-start:0;padding-inline-end:0}.ds-accordion_content-wrapper--small_3l1oa_352{padding-block-start:4px;padding-block-end:20px}.ds-accordion_content-wrapper--x-small_3l1oa_356{padding-inline-start:0px;padding-inline-end:0px;padding-block-start:2px;padding-block-end:16px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ds-action-button_root_1ckji_1:focus{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors:active){.ds-action-button_root_1ckji_1:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-action-button_root_1ckji_1:focus{outline:revert;outline-offset:revert}.ds-action-button_root_1ckji_1:focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors:active){.ds-action-button_root_1ckji_1:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}:where(.ds-action-button_root_1ckji_1){padding-block-start:5px;padding-block-end:5px;padding-inline-start:15px;padding-inline-end:15px}.ds-action-button_root_1ckji_1{color:#252525;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:2rem;border-width:1px;border-style:solid;border-color:transparent;border-radius:2px;transform:translateZ(0);white-space:nowrap;overflow-wrap:normal;text-align:center;text-decoration:none;background-color:transparent;cursor:pointer}@media(hover:hover){.ds-action-button_root_1ckji_1:hover{background-color:#0000001a}}.ds-action-button_root_1ckji_1{transition:background-color var(--ds-animation-duration, .1s) linear,border-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media(prefers-reduced-motion:reduce){.ds-action-button_root_1ckji_1{transition-duration:0ms}}@media screen and (forced-colors:active){.ds-action-button_root_1ckji_1{background-color:Canvas!important}.ds-action-button_root_1ckji_1:hover{border-color:Highlight}}.ds-action-button_root--indent-level-1_1ckji_75{padding-inline-start:39px}.ds-action-button_root--active_1ckji_78{background-color:#0000001a}.ds-action-button_root--active--with-marker_1ckji_81{padding-inline-start:0px}.ds-action-button_root--icon--top_1ckji_84{gap:4px;flex-direction:column;min-height:3.375rem;padding-block-start:11px;padding-block-end:5px;padding-inline-start:7px;padding-inline-end:7px}.ds-action-button_root_1ckji_1[aria-disabled=true]{background-color:transparent;color:#00000080;cursor:not-allowed}.ds-action-button_root_1ckji_1[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors:active){.ds-action-button_root_1ckji_1[aria-disabled=true]{color:GrayText;border-color:GrayText}}.ds-action-button_root_1ckji_1[aria-disabled=true]:before{background-color:transparent}.ds-action-button_root--stretched_1ckji_110{justify-content:flex-start;width:100%}.ds-action-button_active-marker_1ckji_115{width:.25rem;height:1.25rem;margin-inline-start:-1px;margin-inline-end:4px;background-color:#e9640c}@media screen and (forced-colors:active){.ds-action-button_active-marker_1ckji_115{background-color:Highlight}}.ds-action-button_active-marker--with-indent_1ckji_127{margin-inline-end:1.75rem}.ds-action-button_icon-wrapper_1ckji_131{height:1rem}.ds-action-button_icon-wrapper--x-large_1ckji_134{height:1.5rem}.ds-action-button_icon-wrapper--with-number-indicator_1ckji_137{position:relative}.ds-action-button_icon-wrapper--with-number-indicator_1ckji_137>span{position:absolute;top:-25%;left:.625rem}.ds-action-button_icon-wrapper--with-number-indicator--with-value_1ckji_145>span{top:-50%}.ds-action-button_label_1ckji_149{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-size:1rem;line-height:1.25;font-size-adjust:.414;font-weight:400}.ds-action-button_label--bold_1ckji_160,.ds-action-button_label--active_1ckji_172{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-size:1rem;line-height:1.25;font-size-adjust:.426;font-weight:700;font-synthesis-weight:none}.ds-action-button_label--icon-top_1ckji_184{font-family:STIHL Contraface Digital Text Demi,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-size:.75rem;line-height:1.33;font-size-adjust:.42}.ds-action-button_label--icon-top_1ckji_184.ds-action-button_label--active_1ckji_172{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-size:.75rem;line-height:1.33;font-size-adjust:.426;font-weight:700;font-synthesis-weight:none}.ds-action-button_number-indicator_1ckji_207{margin-inline-start:auto}.ds-action-button_label-wrapper_1ckji_211{display:flex;align-items:center;gap:6px}.ds-action-button_label-wrapper--icon-top_1ckji_216{gap:2px}.ds-action-button_chevron_1ckji_220{transform:rotate(0);min-width:.75rem;min-height:.75rem;width:.75rem;height:.75rem}.ds-action-button_chevron_1ckji_220{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(.5,0,1,1)}@media(prefers-reduced-motion:reduce){.ds-action-button_chevron_1ckji_220{transition-duration:0ms}}.ds-action-button_chevron--icon-position-top_1ckji_235{min-width:.625rem;min-height:.625rem;width:.625rem;height:.625rem}.ds-action-button_chevron--up_1ckji_241{transform:rotate(-180deg)}.ds-action-button_chevron--up_1ckji_241{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1)}@media(prefers-reduced-motion:reduce){.ds-action-button_chevron--up_1ckji_241{transition-duration:0ms}}.ds-action-button_chevron--right_1ckji_252{transform:rotate(-90deg)}.ds-action-button_chevron--right_1ckji_252{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1)}@media(prefers-reduced-motion:reduce){.ds-action-button_chevron--right_1ckji_252{transition-duration:0ms}}.ds-action-button_chevron--left_1ckji_263{transform:rotate(-270deg)}.ds-action-button_chevron--left_1ckji_263{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1)}@media(prefers-reduced-motion:reduce){.ds-action-button_chevron--left_1ckji_263{transition-duration:0ms}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ds-action-card_root_yc724_1{background-color:#fff;border-radius:4px;display:flex;flex-direction:column;height:fit-content;min-width:13rem;max-width:42.9375rem;box-shadow:0 0 0 1px #dadada}.ds-action-card_root_yc724_1{transition:box-shadow var(--ds-animation-duration, .1s) linear}@media(prefers-reduced-motion:reduce){.ds-action-card_root_yc724_1{transition-duration:0ms}}@media screen and (forced-colors:active){.ds-action-card_root_yc724_1{border:1px solid LinkText}}.ds-action-card_root--elevated_yc724_24{box-shadow:0 2px 12px #00000014,0 1px 2px #00000029}.ds-action-card_root--clickable_yc724_27{cursor:pointer;position:relative}@media(hover:hover){.ds-action-card_root--clickable_yc724_27:hover{box-shadow:0 2px 12px #00000029,0 1px 2px #0003}}.ds-action-card_root--clickable_yc724_27:has(:focus-visible) .ds-action-card_primary-action_yc724_36:after{outline:2px solid;outline-color:#252525;outline-offset:4px}@media screen and (forced-colors:active){.ds-action-card_root--clickable_yc724_27:has(:focus-visible) .ds-action-card_primary-action_yc724_36:after{forced-color-adjust:auto;outline-color:Highlight}}.ds-action-card_root--clickable_yc724_27:has(:focus-within) .ds-action-card_primary-action_yc724_36:focus{outline:none}.ds-action-card_root--clickable_yc724_27 :is(.ds-action-card_media-wrapper_yc724_50,.ds-action-card_header_yc724_50,.ds-action-card_footer_yc724_50,.ds-action-card_supplementary_yc724_50):has(button,input,select,textarea,a,label,details,summary,video,audio){position:relative;z-index:2}.ds-action-card_root--horizontal_yc724_63{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto;grid-template-areas:"media content" "supplementary supplementary";width:100%;max-width:88rem}.ds-action-card_root--horizontal_yc724_63 .ds-action-card_media-wrapper_yc724_50{grid-area:media;aspect-ratio:1/1;max-width:21.5625rem}.ds-action-card_root--horizontal_yc724_63 .ds-action-card_media-wrapper_yc724_50 img{border-top-right-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;aspect-ratio:1/1}.ds-action-card_root--horizontal_yc724_63 .ds-action-card_content_yc724_82{grid-area:content;height:auto;padding:32px}.ds-action-card_root--horizontal_yc724_63 .ds-action-card_content--padding-small_yc724_87{padding:16px}.ds-action-card_root--horizontal_yc724_63 .ds-action-card_supplementary_yc724_50{grid-area:supplementary;padding-block:8px;padding-inline:16px}.ds-action-card_root--horizontal-has-supplementary_yc724_95 .ds-action-card_media-wrapper_yc724_50 img{border-bottom-left-radius:0}.ds-action-card_root--padding-small_yc724_98 .ds-action-card_supplementary_yc724_50{padding-block:4px;padding-inline:0px}.ds-action-card_media-wrapper_yc724_50{width:100%;height:auto;aspect-ratio:16/9}.ds-action-card_media-wrapper_yc724_50 img{border-top-left-radius:4px;border-top-right-radius:4px;width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/9}.ds-action-card_content_yc724_82{display:flex;flex-direction:column;gap:24px;padding:24px;height:100%;order:1}.ds-action-card_content--padding-small_yc724_87{padding:16px}.ds-action-card_footer_yc724_50{margin-block-start:auto}.ds-action-card_supplementary_yc724_50{display:flex;border-top:1px solid #DADADA;flex-direction:column;align-items:stretch;gap:16px;padding-block:6px;padding-inline:8px;order:2}.ds-action-card_primary-action_yc724_36{appearance:none;background:transparent;border:none;color:inherit;font:inherit;text-align:inherit;text-decoration:none;padding:0;margin:0;position:absolute;inset:0;z-index:1}.ds-action-card_primary-action_yc724_36:after{content:"";position:absolute;z-index:1;cursor:pointer;inset:0}.ds-action-card_primary-action_yc724_36:focus{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors:active){.ds-action-card_primary-action_yc724_36:focus{forced-color-adjust:auto;outline-color:Highlight}}.ds-action-card_primary-action-label_yc724_178{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}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ds-action-link_root_oi5cc_1:focus{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors:active){.ds-action-link_root_oi5cc_1:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-action-link_root_oi5cc_1:focus{outline:revert;outline-offset:revert}.ds-action-link_root_oi5cc_1:focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors:active){.ds-action-link_root_oi5cc_1:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}:where(.ds-action-link_root_oi5cc_1){padding-block-start:5px;padding-block-end:5px;padding-inline-start:15px;padding-inline-end:15px}.ds-action-link_root_oi5cc_1{color:#252525;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:2rem;border-width:1px;border-style:solid;border-color:transparent;border-radius:2px;transform:translateZ(0);white-space:nowrap;overflow-wrap:normal;text-align:center;text-decoration:none;background-color:transparent;cursor:pointer}@media(hover:hover){.ds-action-link_root_oi5cc_1:hover{background-color:#0000001a}}.ds-action-link_root_oi5cc_1{transition:background-color var(--ds-animation-duration, .1s) linear,border-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media(prefers-reduced-motion:reduce){.ds-action-link_root_oi5cc_1{transition-duration:0ms}}@media screen and (forced-colors:active){.ds-action-link_root_oi5cc_1{background-color:Canvas!important}.ds-action-link_root_oi5cc_1:hover{border-color:Highlight}}.ds-action-link_root--indent-level-1_oi5cc_75{padding-inline-start:39px}.ds-action-link_root--active_oi5cc_78{background-color:#0000001a}.ds-action-link_root--active--with-marker_oi5cc_81{padding-inline-start:0px}.ds-action-link_root--icon--top_oi5cc_84{gap:4px;flex-direction:column;min-height:3.375rem;padding-block-start:11px;padding-block-end:5px;padding-inline-start:7px;padding-inline-end:7px}.ds-action-link_root_oi5cc_1[aria-disabled=true]{background-color:transparent;color:#00000080;cursor:not-allowed}.ds-action-link_root_oi5cc_1[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors:active){.ds-action-link_root_oi5cc_1[aria-disabled=true]{color:GrayText;border-color:GrayText}}.ds-action-link_root_oi5cc_1[aria-disabled=true]:before{background-color:transparent}.ds-action-link_root--stretched_oi5cc_110{justify-content:flex-start;width:100%}.ds-action-link_active-marker_oi5cc_115{width:.25rem;height:1.25rem;margin-inline-start:-1px;margin-inline-end:4px;background-color:#e9640c}@media screen and (forced-colors:active){.ds-action-link_active-marker_oi5cc_115{background-color:Highlight}}.ds-action-link_active-marker--with-indent_oi5cc_127{margin-inline-end:1.75rem}.ds-action-link_icon-wrapper_oi5cc_131{height:1rem}.ds-action-link_icon-wrapper--x-large_oi5cc_134{height:1.5rem}.ds-action-link_icon-wrapper--with-number-indicator_oi5cc_137{position:relative}.ds-action-link_icon-wrapper--with-number-indicator_oi5cc_137>span{position:absolute;top:-25%;left:.625rem}.ds-action-link_icon-wrapper--with-number-indicator--with-value_oi5cc_145>span{top:-50%}.ds-action-link_label_oi5cc_149{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-size:1rem;line-height:1.25;font-size-adjust:.414;font-weight:400}.ds-action-link_label--bold_oi5cc_160,.ds-action-link_label--active_oi5cc_172{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-size:1rem;line-height:1.25;font-size-adjust:.426;font-weight:700;font-synthesis-weight:none}.ds-action-link_label--icon-top_oi5cc_184{font-family:STIHL Contraface Digital Text Demi,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-size:.75rem;line-height:1.33;font-size-adjust:.42}.ds-action-link_label--icon-top_oi5cc_184.ds-action-link_label--active_oi5cc_172{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-size:.75rem;line-height:1.33;font-size-adjust:.426;font-weight:700;font-synthesis-weight:none}.ds-action-link_number-indicator_oi5cc_207{margin-inline-start:auto}
|