@stihl-design-system/components 1.0.0-RC.3 → 1.0.0-RC.5
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/Klarna.svg +1 -0
- package/Mastercard.svg +2 -0
- package/PayPal.svg +2 -0
- package/Placeholder.svg +1 -0
- package/Visa.svg +2 -0
- package/arialiveregions.BvZhV6hb.js +27 -0
- package/arialiveregions.d.ts +1 -0
- package/assets/CustomReactSelect.Bsphydqt.css +1 -0
- package/assets/Fieldset.D0jHAGRL.css +1 -0
- package/assets/Icon.Duy_0R8w.css +1 -0
- package/assets/InputPassword.VCNO8ANM.css +1 -0
- package/assets/InputSearch.BMRAb95l.css +1 -0
- package/assets/InputStepper.BKjqNi-i.css +1 -0
- package/assets/Notification.Bg63cvs4.css +1 -0
- package/assets/RadioGroup.Bz3_xkZU.css +1 -0
- package/assets/Select.Bz1TImkI.css +1 -0
- package/assets/Textarea.D2h5cW_t.css +1 -0
- package/assets/Toast.BzVaebc0.css +1 -0
- package/assets/arialiveregions.GsGx2USO.css +1 -0
- package/assets/{asterisk.C-o6rbGQ.css → asterisk.JlyPArZu.css} +1 -1
- package/assets/button.BdxtFZKx.css +1 -0
- package/assets/buttonround.pR4StXA7.css +1 -0
- package/assets/checkbox.BjIn2stV.css +1 -0
- package/assets/dialog.CKwM2EBH.css +1 -0
- package/assets/floatingactionbutton.CUvMbEMf.css +1 -0
- package/assets/heading.CCbuI4X-.css +1 -0
- package/assets/input.71tOIrpp.css +1 -0
- package/assets/link.D61tKkSK.css +1 -0
- package/assets/linkstandalone.Bx8Uvo0G.css +1 -0
- package/assets/logo.C05WqGId.css +1 -0
- package/assets/optioncheckbox.BdRJHcSw.css +1 -0
- package/assets/radio.ewRpPo4W.css +1 -0
- package/assets/spinner.LuV09jaU.css +1 -0
- package/assets/switch.Ds-I_ybT.css +1 -0
- package/assets/{systemfeedback.WE3wClZ3.css → systemfeedback.BzJATHDd.css} +1 -1
- package/assets/text.B-CTuGgI.css +1 -0
- package/assets/{title.CE0Dm7PI.css → title.DlhX9K3W.css} +1 -1
- package/asterisk.Cjbk-xZi.js +8 -0
- package/button.DlFWwHuA.js +135 -0
- package/buttonround.eYOQM994.js +118 -0
- package/checkbox.DNHdo6_n.js +113 -0
- package/checkboxgroup.DqWlzAeR.js +9 -0
- package/chunks/AriaLiveRegions.utils.DzWI5KCU.js +31 -0
- package/{checkboxgroup.Cfxz9bk6.js → chunks/CheckboxGroup.DsQ6lI5a.js} +38 -31
- package/chunks/{CustomReactSelect.uzWNynay.js → CustomReactSelect.5dHi6PEO.js} +873 -917
- package/chunks/Fieldset.B1vsrHNv.js +99 -0
- package/chunks/Icon.n4XZrQ4N.js +223 -0
- package/chunks/{Input.utils.Bly6ZzLI.js → Input.utils.AKWCNkpA.js} +12 -8
- package/chunks/InputPassword.DTqI58Z4.js +140 -0
- package/chunks/InputSearch.IwQATLKh.js +189 -0
- package/chunks/InputStepper.Jew1ETB6.js +291 -0
- package/chunks/Notification.DbflCBIL.js +93 -0
- package/chunks/RadioGroup.BO4pbAJw.js +132 -0
- package/chunks/RadioGroup.module.BBZwHDjW.js +11 -0
- package/chunks/Select.COdS787F.js +191 -0
- package/chunks/Textarea.oqCrSopu.js +195 -0
- package/chunks/Toast.BLGKvAvZ.js +89 -0
- package/chunks/{circle-info-colored.DLY6BTL4.js → circle-info-colored.D2pp54gf.js} +3 -3
- package/chunks/{jsx-runtime.C-kxDJ4g.js → jsx-runtime.C115EyI4.js} +3 -7
- package/{combobox.BXHAo4Wx.js → combobox.CRlhqmuO.js} +8 -8
- package/components/AriaLiveRegions/AriaLiveRegions.d.ts +4 -0
- package/components/AriaLiveRegions/AriaLiveRegions.utils.d.ts +5 -0
- package/components/AriaLiveRegions/AriaLiveRegions.utils.test.d.ts +1 -0
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/CheckboxGroup/CheckboxGroup.utils.d.ts +1 -1
- package/components/Dialog/Dialog.d.ts +11 -0
- package/components/Dialog/Dialog.utils.d.ts +0 -0
- package/components/Fieldset/Fieldset.utils.d.ts +1 -1
- package/components/Notification/Notification.d.ts +26 -0
- package/components/Notification/Notification.test.d.ts +1 -0
- package/components/Notification/Notification.utils.d.ts +5 -0
- package/components/Radio/Radio.d.ts +11 -3
- package/components/RadioGroup/RadioGroup.d.ts +6 -3
- package/components/RadioGroup/RadioGroup.utils.d.ts +5 -3
- package/components/RadioGroup/RadioGroup.utils.test.d.ts +1 -0
- package/components/Toast/Toast.d.ts +21 -0
- package/components/Toast/Toast.utils.d.ts +9 -0
- package/components/Toast/ToastManager.d.ts +6 -0
- package/components/Toast/ToastManager.test.d.ts +1 -0
- package/components/Toast/ToastManager.utils.d.ts +2 -0
- package/components/Toast/ToastManager.utils.test.d.ts +1 -0
- package/customreactselect.CD58gwtp.js +13 -0
- package/dialog.d.ts +1 -0
- package/dialog.qd2pOyVc.js +45 -0
- package/fieldset.aY3V2jK2.js +11 -0
- package/floatingactionbutton.CGV3YFQq.js +87 -0
- package/heading.BTNroD1E.js +50 -0
- package/icon.D3RXjzh4.js +8 -0
- package/index.d.ts +24 -0
- package/index.es.js +140 -45
- package/input.BAxvG272.js +236 -0
- package/inputpassword.mn9qFlfs.js +12 -0
- package/inputsearch.qQJj9yFd.js +13 -0
- package/inputstepper.DhbHujiM.js +13 -0
- package/link.SAcKvzJ3.js +115 -0
- package/linkstandalone.DNe0Nydm.js +79 -0
- package/{logo.C_oJ8isW.js → logo.BR_CUXFl.js} +16 -16
- package/notification.CnJOdQza.js +9 -0
- package/notification.d.ts +1 -0
- package/{optioncheckbox.-DRnW_ch.js → optioncheckbox.C4l2UIak.js} +9 -9
- package/package.json +30 -26
- package/partials/index.js +51 -79
- package/radio.epf54-sG.js +115 -0
- package/radiogroup.CiENWRos.js +11 -0
- package/select.DLYav8gw.js +12 -0
- package/spinner.DEtbkdfi.js +58 -0
- package/styles/scss/_index.scss +1 -0
- package/styles/scss/lib/_animation.scss +20 -5
- package/styles/scss/lib/_container-query.scss +3 -3
- package/styles/scss/lib/_grid-sidebar-sidebar.scss +2 -0
- package/styles/scss/lib/_grid-sidebar.scss +14 -7
- package/styles/scss/lib/_link.scss +48 -41
- package/styles/scss/lib/_media-query.scss +3 -3
- package/styles/scss/lib/_shadow.scss +10 -0
- package/styles/scss/lib/_theme.scss +7 -5
- package/styles/scss/lib/_transition.scss +26 -7
- package/switch.BezS5z0Y.js +65 -0
- package/{systemfeedback.C7iXO5A1.js → systemfeedback.CUWch42u.js} +3 -3
- package/text.CrYUewrP.js +57 -0
- package/textarea.hLgeYdsI.js +12 -0
- package/title.Dvp8LKJt.js +36 -0
- package/toast.BR7QuHOG.js +10 -0
- package/toast.d.ts +1 -0
- package/toastmanager.DBp8B1e3.js +96 -0
- package/toastmanager.d.ts +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/remove-spaces.d.ts +6 -0
- package/utils/remove-spaces.test.d.ts +1 -0
- package/utils/vitest.setup.d.ts +2 -0
- package/assets/CustomReactSelect.BdwXfLLO.css +0 -1
- package/assets/RadioGroup.Ur8Ro-XL.css +0 -1
- package/assets/button.DJvR-58w.css +0 -1
- package/assets/buttonround.BlfQkmMV.css +0 -1
- package/assets/checkbox.BsFEWfQe.css +0 -1
- package/assets/fieldset.xazpUXJX.css +0 -1
- package/assets/floatingactionbutton.D7ywURL3.css +0 -1
- package/assets/heading.CGFucb-C.css +0 -1
- package/assets/icon.CB-KQmw4.css +0 -1
- package/assets/input.BcP5kkZ2.css +0 -1
- package/assets/inputpassword.C3Uyj7oA.css +0 -1
- package/assets/inputsearch.tL3e9-Ob.css +0 -1
- package/assets/inputstepper.paPJix5A.css +0 -1
- package/assets/link.V7pJOW1p.css +0 -1
- package/assets/linkstandalone.D3RbBp23.css +0 -1
- package/assets/logo.BbHYgnWo.css +0 -1
- package/assets/optioncheckbox.C-K1FLhc.css +0 -1
- package/assets/radio.CSHQGdpr.css +0 -1
- package/assets/select.D2qBxaHP.css +0 -1
- package/assets/spinner.C5rBmKiF.css +0 -1
- package/assets/switch.sqve8ApJ.css +0 -1
- package/assets/text.DDAveG7E.css +0 -1
- package/assets/textarea.BKbocznb.css +0 -1
- package/asterisk.DU8THnoC.js +0 -8
- package/button.BUUGRxIp.js +0 -135
- package/buttonround.CKc-a-hd.js +0 -118
- package/checkbox.C2Ga9yTK.js +0 -112
- package/chunks/RadioGroup.module.bi3leRes.js +0 -11
- package/customreactselect.CipgVXTR.js +0 -13
- package/fieldset.DGcIKzDI.js +0 -98
- package/floatingactionbutton.DzHD39NY.js +0 -87
- package/heading.DqGbFfj2.js +0 -50
- package/icon.PX9_1kNB.js +0 -215
- package/input.o8OT6rxJ.js +0 -236
- package/inputpassword.-MXq8baU.js +0 -139
- package/inputsearch.CoYTSjox.js +0 -188
- package/inputstepper.BBMQr6kM.js +0 -290
- package/link.BN6AZfhG.js +0 -115
- package/linkstandalone.4-fyRd08.js +0 -79
- package/radio.Bhu9OUY-.js +0 -79
- package/radiogroup.oILRMrX-.js +0 -102
- package/select.OGcreXnT.js +0 -190
- package/spinner.Diy_EeFY.js +0 -58
- package/switch.BjoFKMQC.js +0 -65
- package/text.CPU8IUqY.js +0 -57
- package/textarea.kc_Sfbgr.js +0 -193
- package/title.icX0VDiO.js +0 -36
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import '_hover';
|
|
2
|
+
@import '_transition';
|
|
2
3
|
@import '_spacing';
|
|
3
4
|
|
|
4
5
|
// Encode a color to be used in a data url.
|
|
@@ -19,7 +20,9 @@
|
|
|
19
20
|
$background-color-hover,
|
|
20
21
|
$content-color-hover
|
|
21
22
|
) {
|
|
22
|
-
|
|
23
|
+
& {
|
|
24
|
+
color: $content-color;
|
|
25
|
+
}
|
|
23
26
|
|
|
24
27
|
&:link,
|
|
25
28
|
&:visited {
|
|
@@ -97,29 +100,30 @@
|
|
|
97
100
|
|
|
98
101
|
// Type
|
|
99
102
|
@if ($type == 'inline') {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
103
|
+
& {
|
|
104
|
+
// Inline link
|
|
105
|
+
@include link-underline;
|
|
106
|
+
|
|
107
|
+
display: inline;
|
|
108
|
+
padding-inline-end: $ds-spacing-2;
|
|
109
|
+
padding-inline-start: $ds-spacing-2;
|
|
110
|
+
padding-block-start: 0;
|
|
111
|
+
padding-block-end: 0;
|
|
112
|
+
line-height: inherit;
|
|
113
|
+
font-size: inherit;
|
|
114
|
+
|
|
115
|
+
// Inline links do have two predefined icons for external links and anchors.
|
|
116
|
+
// The icons are added via the ::after pseudo element as svg data urls to
|
|
117
|
+
// enable the change of the icon color via the fill property.
|
|
118
|
+
:where(&)[href^="http://"]::after,
|
|
119
|
+
:where(&)[href^="https://"]::after,
|
|
120
|
+
:where(&)[href^='#']::after {
|
|
121
|
+
display: inline-block;
|
|
122
|
+
margin-inline-start: 0.375em;
|
|
123
|
+
width: 0.75em;
|
|
124
|
+
height: 0.75em;
|
|
125
|
+
}
|
|
121
126
|
}
|
|
122
|
-
|
|
123
127
|
&[href^="http://"]::after,
|
|
124
128
|
&[href^="https://"]::after
|
|
125
129
|
{
|
|
@@ -130,26 +134,29 @@
|
|
|
130
134
|
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{urlEncodeHexColor($link-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");
|
|
131
135
|
}
|
|
132
136
|
} @else {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
137
|
+
& {
|
|
138
|
+
// Standalone link
|
|
139
|
+
@include ds-utility-medium;
|
|
140
|
+
|
|
141
|
+
display: inline-flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
height: fit-content;
|
|
144
|
+
gap: $ds-spacing-6;
|
|
145
|
+
padding-inline-end: $ds-spacing-4;
|
|
146
|
+
padding-inline-start: $ds-spacing-4;
|
|
147
|
+
padding-block-start: $ds-spacing-2;
|
|
148
|
+
padding-block-end: $ds-spacing-2;
|
|
149
|
+
// Set color to transparent instead of text-decoration: none to support forced colors link decoration
|
|
150
|
+
text-decoration-color: transparent;
|
|
151
|
+
|
|
152
|
+
// The DSLinkStandalone component uses the DSIcon component to render a
|
|
153
|
+
// selectable icon. The icon is colored with the current text color.
|
|
154
|
+
svg {
|
|
155
|
+
fill: currentColor;
|
|
156
|
+
}
|
|
150
157
|
}
|
|
151
158
|
}
|
|
152
159
|
|
|
153
160
|
// Transition
|
|
154
|
-
@include transition(background-color, border-color, color);
|
|
161
|
+
@include ds-transition((background-color, border-color, color));
|
|
155
162
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@content;
|
|
7
7
|
}
|
|
8
8
|
} @else {
|
|
9
|
-
@error "Passed #{$min} breakpoint is not available
|
|
9
|
+
@error "[STIHL Design System] - [ds-media-query-min()]: Passed '#{$min}' breakpoint is not available in ds-media-query-min() mixin.";
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
@content;
|
|
17
17
|
}
|
|
18
18
|
} @else {
|
|
19
|
-
@error "Passed #{$max} breakpoint is not available
|
|
19
|
+
@error "[STIHL Design System] - [ds-media-query-max()]: Passed '#{$max}' breakpoint is not available in ds-media-query-max() mixin.";
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
@content;
|
|
28
28
|
}
|
|
29
29
|
} @else {
|
|
30
|
-
@error "Passed #{$min} and/or #{$max} breakpoint is not available
|
|
30
|
+
@error "[STIHL Design System] - [ds-media-query-min-max()]: Passed '#{$min}' and/or '#{$max}' breakpoint is not available in ds-media-query-min-max() mixin.";
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -70,6 +70,7 @@ $ds-theme-light-background-color-tertiary: $ds-color-core-grey-light;
|
|
|
70
70
|
$ds-theme-light-background-color-transparent-hover: $ds-color-core-black-opacity-10;
|
|
71
71
|
$ds-theme-light-background-color-transparent-pressed: $ds-color-core-black-opacity-10;
|
|
72
72
|
$ds-theme-light-border-color-feedback-error: $ds-color-core-red-base;
|
|
73
|
+
$ds-theme-light-border-color-feedback-info: $ds-color-core-grey-dark;
|
|
73
74
|
$ds-theme-light-border-color-feedback-success: $ds-color-core-green-base;
|
|
74
75
|
$ds-theme-light-border-color-feedback-warning: $ds-color-core-yellow-base;
|
|
75
76
|
$ds-theme-light-border-color-focus: $ds-color-core-grey-ultra-deep;
|
|
@@ -107,10 +108,10 @@ $ds-theme-dark-background-color-brand-disabled: $ds-color-core-grey-mid;
|
|
|
107
108
|
$ds-theme-dark-background-color-brand-hover: $ds-color-core-orange-dark;
|
|
108
109
|
$ds-theme-dark-background-color-brand-pressed: $ds-color-core-orange-dark;
|
|
109
110
|
$ds-theme-dark-background-color-brand: $ds-color-core-orange-base;
|
|
110
|
-
$ds-theme-dark-background-color-feedback-error: $ds-color-core-grey-
|
|
111
|
-
$ds-theme-dark-background-color-feedback-info: $ds-color-core-grey-
|
|
112
|
-
$ds-theme-dark-background-color-feedback-success: $ds-color-core-grey-
|
|
113
|
-
$ds-theme-dark-background-color-feedback-warning: $ds-color-core-grey-
|
|
111
|
+
$ds-theme-dark-background-color-feedback-error: $ds-color-core-grey-deep;
|
|
112
|
+
$ds-theme-dark-background-color-feedback-info: $ds-color-core-grey-deep;
|
|
113
|
+
$ds-theme-dark-background-color-feedback-success: $ds-color-core-grey-deep;
|
|
114
|
+
$ds-theme-dark-background-color-feedback-warning: $ds-color-core-grey-deep;
|
|
114
115
|
$ds-theme-dark-background-color-primary-disabled: $ds-color-core-black-base;
|
|
115
116
|
$ds-theme-dark-background-color-primary-hover: $ds-color-core-grey-deep;
|
|
116
117
|
$ds-theme-dark-background-color-primary-inverse-disabled: $ds-color-core-grey-mid;
|
|
@@ -122,11 +123,12 @@ $ds-theme-dark-background-color-primary: $ds-color-core-black-base;
|
|
|
122
123
|
$ds-theme-dark-background-color-secondary-disabled: $ds-color-core-grey-ultra-deep;
|
|
123
124
|
$ds-theme-dark-background-color-secondary-inverse: $ds-color-core-grey-light;
|
|
124
125
|
$ds-theme-dark-background-color-secondary: $ds-color-core-grey-ultra-deep;
|
|
125
|
-
$ds-theme-dark-background-color-sustainability: $ds-color-core-grey-
|
|
126
|
+
$ds-theme-dark-background-color-sustainability: $ds-color-core-grey-deep;
|
|
126
127
|
$ds-theme-dark-background-color-tertiary: $ds-color-core-grey-ultra-deep;
|
|
127
128
|
$ds-theme-dark-background-color-transparent-hover: $ds-color-core-white-opacity-15;
|
|
128
129
|
$ds-theme-dark-background-color-transparent-pressed: $ds-color-core-white-opacity-15;
|
|
129
130
|
$ds-theme-dark-border-color-feedback-error: $ds-color-core-red-base;
|
|
131
|
+
$ds-theme-dark-border-color-feedback-info: $ds-color-core-grey-dark;
|
|
130
132
|
$ds-theme-dark-border-color-feedback-success: $ds-color-core-green-base;
|
|
131
133
|
$ds-theme-dark-border-color-feedback-warning: $ds-color-core-yellow-base;
|
|
132
134
|
$ds-theme-dark-border-color-focus: $ds-color-core-white-base;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@import '_animation.scss';
|
|
1
2
|
/**
|
|
2
3
|
*
|
|
3
4
|
* This mixin provides a concise way to set transitions with a default
|
|
@@ -7,20 +8,38 @@
|
|
|
7
8
|
* motion and adjusts the transition duration accordingly.
|
|
8
9
|
*
|
|
9
10
|
* Example Usage:
|
|
10
|
-
* @include transition(opacity, transform);
|
|
11
|
+
* @include ds-transition((opacity, transform), '250', 'ease-out');
|
|
12
|
+
* @include ds-transition(width, $easing-key: 'ease-out');
|
|
11
13
|
*/
|
|
12
|
-
@mixin transition($properties
|
|
14
|
+
@mixin ds-transition($properties, $duration-key: '100', $easing-key: 'linear') {
|
|
13
15
|
@if length($properties) == 0 or $properties == null {
|
|
14
|
-
@error "No properties provided for transition mixin.";
|
|
16
|
+
@error "[STIHL Design System] - [ds-transition()]: No properties provided for ds-transition() mixin.";
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
$duration: map-get($ds-animation-durations, $duration-key);
|
|
20
|
+
$easing: map-get($ds-animation-easing-functions, $easing-key);
|
|
21
|
+
|
|
22
|
+
@if not map-has-key($ds-animation-durations, $duration-key) {
|
|
23
|
+
@error "[STIHL Design System] - [ds-transition()]: Duration key '#{$duration-key}' is not available in the ds-transition() mixin.";
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@if not map-has-key($ds-animation-easing-functions, $easing-key) {
|
|
27
|
+
@error "[STIHL Design System] - [ds-transition()]: Easing key '#{$easing-key}' is not available in the ds-transition() mixin.";
|
|
15
28
|
}
|
|
16
29
|
|
|
17
30
|
$transition-values: ();
|
|
18
31
|
@each $prop in $properties {
|
|
19
|
-
$transition-values: append(
|
|
32
|
+
$transition-values: append(
|
|
33
|
+
$transition-values,
|
|
34
|
+
#{$prop} #{$duration} #{$easing},
|
|
35
|
+
comma
|
|
36
|
+
);
|
|
20
37
|
}
|
|
21
|
-
|
|
38
|
+
& {
|
|
39
|
+
transition: $transition-values;
|
|
22
40
|
|
|
23
|
-
|
|
24
|
-
|
|
41
|
+
@media (prefers-reduced-motion: reduce) {
|
|
42
|
+
transition-duration: 0ms;
|
|
43
|
+
}
|
|
25
44
|
}
|
|
26
45
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as t } from "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as b } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { D as p } from "./chunks/Icon.n4XZrQ4N.js";
|
|
6
|
+
import { DSSpinner as f } from "./spinner.DEtbkdfi.js";
|
|
7
|
+
import './assets/switch.Ds-I_ybT.css';const v = "_root_vzlrg_76", x = "_root--label-right_vzlrg_114", z = "_root--stretched_vzlrg_117", j = "_loader_vzlrg_127", k = "_thumb_vzlrg_180", S = "_root--checked_vzlrg_195", r = {
|
|
8
|
+
root: v,
|
|
9
|
+
"root--label-right": "_root--label-right_vzlrg_114",
|
|
10
|
+
rootLabelRight: x,
|
|
11
|
+
"root--stretched": "_root--stretched_vzlrg_117",
|
|
12
|
+
rootStretched: z,
|
|
13
|
+
switch: "_switch_vzlrg_122",
|
|
14
|
+
loader: j,
|
|
15
|
+
thumb: k,
|
|
16
|
+
"root--checked": "_root--checked_vzlrg_195",
|
|
17
|
+
rootChecked: S
|
|
18
|
+
}, R = ({
|
|
19
|
+
children: l,
|
|
20
|
+
aria: h,
|
|
21
|
+
alignLabel: i = "left",
|
|
22
|
+
checked: e = !1,
|
|
23
|
+
className: _,
|
|
24
|
+
dataTrackingid: n,
|
|
25
|
+
disabled: s = !1,
|
|
26
|
+
loading: o = !1,
|
|
27
|
+
stretched: d = !1,
|
|
28
|
+
onClick: a,
|
|
29
|
+
...m
|
|
30
|
+
}) => {
|
|
31
|
+
const g = b(r.root, _, {
|
|
32
|
+
[r.rootChecked]: e === !0,
|
|
33
|
+
[r.rootStretched]: d === !0,
|
|
34
|
+
[r.rootLabelRight]: i === "right"
|
|
35
|
+
}), u = (c) => {
|
|
36
|
+
if (s || o) {
|
|
37
|
+
c.preventDefault();
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
a && a(c);
|
|
41
|
+
};
|
|
42
|
+
return /* @__PURE__ */ t.jsxs(
|
|
43
|
+
"button",
|
|
44
|
+
{
|
|
45
|
+
className: g,
|
|
46
|
+
"data-trackingid": n,
|
|
47
|
+
onClick: u,
|
|
48
|
+
...h,
|
|
49
|
+
...m,
|
|
50
|
+
type: "button",
|
|
51
|
+
role: "switch",
|
|
52
|
+
"aria-checked": e,
|
|
53
|
+
"aria-disabled": s || o,
|
|
54
|
+
"aria-busy": o,
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ t.jsx("span", { children: l }),
|
|
57
|
+
!o && /* @__PURE__ */ t.jsx("span", { className: r.switch, children: /* @__PURE__ */ t.jsx("span", { className: r.thumb, children: /* @__PURE__ */ t.jsx(p, { name: "check", "aria-hidden": "true" }) }) }),
|
|
58
|
+
o && /* @__PURE__ */ t.jsx("span", { className: r.loader, children: /* @__PURE__ */ t.jsx(f, { aria: { "aria-label": "Loading state" } }) })
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
};
|
|
63
|
+
export {
|
|
64
|
+
R as DSSwitch
|
|
65
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as o } from "./chunks/jsx-runtime.
|
|
2
|
+
import { j as o } from "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
3
|
import { c } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
-
import {
|
|
5
|
-
import './assets/systemfeedback.
|
|
4
|
+
import { D as n } from "./chunks/Icon.n4XZrQ4N.js";
|
|
5
|
+
import './assets/systemfeedback.BzJATHDd.css';const i = "_root_5hd20_76", l = {
|
|
6
6
|
root: i
|
|
7
7
|
}, m = {
|
|
8
8
|
valid: "circle-check-colored",
|
package/text.CrYUewrP.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as e } from "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as x } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import './assets/text.B-CTuGgI.css';const c = "_root_1dnm1_76", u = "_root--large_1dnm1_82", b = "_root--large-bold_1dnm1_92", S = "_root--medium_1dnm1_102", g = "_root--medium-bold_1dnm1_112", B = "_root--small_1dnm1_122", i = "_root--small-bold_1dnm1_132", X = "_root--x-small_1dnm1_142", k = "_root--x-small-bold_1dnm1_152", L = "_root--xx-small_1dnm1_162", M = "_root--theme-dark_1dnm1_172", o = {
|
|
5
|
+
root: c,
|
|
6
|
+
"root--large": "_root--large_1dnm1_82",
|
|
7
|
+
rootLarge: u,
|
|
8
|
+
"root--large-bold": "_root--large-bold_1dnm1_92",
|
|
9
|
+
rootLargeBold: b,
|
|
10
|
+
"root--medium": "_root--medium_1dnm1_102",
|
|
11
|
+
rootMedium: S,
|
|
12
|
+
"root--medium-bold": "_root--medium-bold_1dnm1_112",
|
|
13
|
+
rootMediumBold: g,
|
|
14
|
+
"root--small": "_root--small_1dnm1_122",
|
|
15
|
+
rootSmall: B,
|
|
16
|
+
"root--small-bold": "_root--small-bold_1dnm1_132",
|
|
17
|
+
rootSmallBold: i,
|
|
18
|
+
"root--x-small": "_root--x-small_1dnm1_142",
|
|
19
|
+
rootXSmall: X,
|
|
20
|
+
"root--x-small-bold": "_root--x-small-bold_1dnm1_152",
|
|
21
|
+
rootXSmallBold: k,
|
|
22
|
+
"root--xx-small": "_root--xx-small_1dnm1_162",
|
|
23
|
+
rootXxSmall: L,
|
|
24
|
+
"root--theme-dark": "_root--theme-dark_1dnm1_172",
|
|
25
|
+
rootThemeDark: M
|
|
26
|
+
}, h = ({
|
|
27
|
+
children: m,
|
|
28
|
+
className: t,
|
|
29
|
+
size: l = "medium",
|
|
30
|
+
tag: d = "p",
|
|
31
|
+
theme: a = "light",
|
|
32
|
+
weight: r = "normal",
|
|
33
|
+
..._
|
|
34
|
+
}) => {
|
|
35
|
+
const s = d, n = x(o.root, t, {
|
|
36
|
+
// large
|
|
37
|
+
[o.rootLarge]: l === "large",
|
|
38
|
+
[o.rootLargeBold]: l === "large" && r === "bold",
|
|
39
|
+
// medium
|
|
40
|
+
[o.rootMedium]: l == "medium",
|
|
41
|
+
[o.rootMediumBold]: l === "medium" && r === "bold",
|
|
42
|
+
// small
|
|
43
|
+
[o.rootSmall]: l == "small",
|
|
44
|
+
[o.rootSmallBold]: l == "small" && r === "bold",
|
|
45
|
+
// x-small
|
|
46
|
+
[o.rootXSmall]: l == "x-small",
|
|
47
|
+
[o.rootXSmallBold]: l == "x-small" && r === "bold",
|
|
48
|
+
// xx-small
|
|
49
|
+
[o.rootXxSmall]: l == "xx-small",
|
|
50
|
+
// dark theme
|
|
51
|
+
[o.rootThemeDark]: a === "dark"
|
|
52
|
+
});
|
|
53
|
+
return /* @__PURE__ */ e.jsx(s, { className: n, ..._, children: m });
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
h as DSText
|
|
57
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./chunks/useBreakpoint.5xBNDiCf.js";
|
|
6
|
+
import "./chunks/helpers.B1JT5ShS.js";
|
|
7
|
+
import "./asterisk.Cjbk-xZi.js";
|
|
8
|
+
import "./systemfeedback.CUWch42u.js";
|
|
9
|
+
import { D as x } from "./chunks/Textarea.oqCrSopu.js";
|
|
10
|
+
export {
|
|
11
|
+
x as DSTextarea
|
|
12
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as o } from "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as u } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import './assets/title.DlhX9K3W.css';const x = "_root_14u1x_76", g = "_root--x-large-uppercase_14u1x_79", n = "_root--large-uppercase_14u1x_93", h = "_root--theme-dark_14u1x_107", m = "_dash_14u1x_110", r = {
|
|
5
|
+
root: x,
|
|
6
|
+
"root--x-large-uppercase": "_root--x-large-uppercase_14u1x_79",
|
|
7
|
+
rootXLargeUppercase: g,
|
|
8
|
+
"root--large-uppercase": "_root--large-uppercase_14u1x_93",
|
|
9
|
+
rootLargeUppercase: n,
|
|
10
|
+
"root--theme-dark": "_root--theme-dark_14u1x_107",
|
|
11
|
+
rootThemeDark: h,
|
|
12
|
+
dash: m
|
|
13
|
+
}, k = ({
|
|
14
|
+
children: a,
|
|
15
|
+
className: t,
|
|
16
|
+
size: e = "x-large",
|
|
17
|
+
tag: s = "h1",
|
|
18
|
+
// Design suggested to set default tag to h1
|
|
19
|
+
theme: p = "light",
|
|
20
|
+
...c
|
|
21
|
+
}) => {
|
|
22
|
+
const _ = s, l = u(r.root, t, {
|
|
23
|
+
// sizes
|
|
24
|
+
[r.rootXLargeUppercase]: e === "x-large",
|
|
25
|
+
[r.rootLargeUppercase]: e === "large",
|
|
26
|
+
// dark theme
|
|
27
|
+
[r.rootThemeDark]: p === "dark"
|
|
28
|
+
});
|
|
29
|
+
return /* @__PURE__ */ o.jsxs(_, { className: l, ...c, children: [
|
|
30
|
+
a,
|
|
31
|
+
/* @__PURE__ */ o.jsx("span", { className: r.dash, "aria-hidden": "true", children: "ƒ" })
|
|
32
|
+
] });
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
k as DSTitle
|
|
36
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./button.DlFWwHuA.js";
|
|
6
|
+
import "./chunks/Icon.n4XZrQ4N.js";
|
|
7
|
+
import { D as s } from "./chunks/Toast.BLGKvAvZ.js";
|
|
8
|
+
export {
|
|
9
|
+
s as DSToast
|
|
10
|
+
};
|
package/toast.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/Toast/Toast'
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as w } from "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { useState as f, useRef as x, useEffect as g } from "react";
|
|
4
|
+
import { g as h, b as A } from "./chunks/AriaLiveRegions.utils.DzWI5KCU.js";
|
|
5
|
+
import { D, s as y } from "./chunks/Toast.BLGKvAvZ.js";
|
|
6
|
+
import { g as E } from "./chunks/helpers.B1JT5ShS.js";
|
|
7
|
+
const O = () => {
|
|
8
|
+
if (!h() || !A())
|
|
9
|
+
throw new Error(
|
|
10
|
+
E(
|
|
11
|
+
"DSToast",
|
|
12
|
+
'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".'
|
|
13
|
+
)
|
|
14
|
+
);
|
|
15
|
+
}, C = () => {
|
|
16
|
+
if (document.querySelectorAll("[data-ds-toast]").length > 1)
|
|
17
|
+
throw new Error(
|
|
18
|
+
E(
|
|
19
|
+
"DSToast",
|
|
20
|
+
'The destructured "toast" element should only be used once in the DOM.'
|
|
21
|
+
)
|
|
22
|
+
);
|
|
23
|
+
}, i = "data-ds-toast-timeout-id", v = "closing", P = 1e4, k = () => {
|
|
24
|
+
const [r, u] = f([]), [s, a] = f(null), o = x(null);
|
|
25
|
+
g(() => {
|
|
26
|
+
!s && r.length > 0 && setTimeout(() => {
|
|
27
|
+
a(r[0]);
|
|
28
|
+
});
|
|
29
|
+
}, [r]), g(() => {
|
|
30
|
+
s && (R(s.message, s.variant), b());
|
|
31
|
+
}, [s]);
|
|
32
|
+
const c = () => {
|
|
33
|
+
var e;
|
|
34
|
+
return ((e = o.current) == null ? void 0 : e.getAttribute(i)) || null;
|
|
35
|
+
}, l = (e) => {
|
|
36
|
+
var t;
|
|
37
|
+
(t = o.current) == null || t.setAttribute(i, e);
|
|
38
|
+
}, L = () => {
|
|
39
|
+
var e;
|
|
40
|
+
return (e = o.current) == null ? void 0 : e.removeAttribute(i);
|
|
41
|
+
}, R = (e, t) => {
|
|
42
|
+
if (t === "warning") {
|
|
43
|
+
const n = h();
|
|
44
|
+
n && (n.innerText = e);
|
|
45
|
+
} else if (t === "success" || t === "info") {
|
|
46
|
+
const n = A();
|
|
47
|
+
n && (n.innerText = e);
|
|
48
|
+
}
|
|
49
|
+
}, S = (e, t) => {
|
|
50
|
+
O();
|
|
51
|
+
const n = {
|
|
52
|
+
message: e,
|
|
53
|
+
hideIcon: t == null ? void 0 : t.hideIcon,
|
|
54
|
+
variant: (t == null ? void 0 : t.variant) || "info",
|
|
55
|
+
onClick: () => {
|
|
56
|
+
d();
|
|
57
|
+
},
|
|
58
|
+
onMouseEnter: I,
|
|
59
|
+
onMouseLeave: M
|
|
60
|
+
};
|
|
61
|
+
u((p) => [...p, n]);
|
|
62
|
+
}, I = () => {
|
|
63
|
+
T();
|
|
64
|
+
}, T = () => {
|
|
65
|
+
var t;
|
|
66
|
+
const e = c();
|
|
67
|
+
e && (clearTimeout(e), (t = o.current) == null || t.removeAttribute(i));
|
|
68
|
+
}, m = () => {
|
|
69
|
+
const e = setTimeout(() => {
|
|
70
|
+
d();
|
|
71
|
+
}, P);
|
|
72
|
+
l(String(e));
|
|
73
|
+
}, M = () => {
|
|
74
|
+
c() !== v && o.current && m();
|
|
75
|
+
}, b = () => {
|
|
76
|
+
C(), o.current && s && (o.current.showPopover(), m());
|
|
77
|
+
}, d = () => {
|
|
78
|
+
T(), l(v), o.current && (o.current.addEventListener(
|
|
79
|
+
"animationend",
|
|
80
|
+
() => {
|
|
81
|
+
o.current && (o.current.hidePopover(), L(), o.current = null, u((e) => e.slice(1)), a(null));
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
once: !0
|
|
85
|
+
// removes event listener after being called once
|
|
86
|
+
}
|
|
87
|
+
), o.current.classList.add(y.rootClosing));
|
|
88
|
+
};
|
|
89
|
+
return {
|
|
90
|
+
toast: s ? /* @__PURE__ */ w.jsx(D, { ...s, ref: o }) : void 0,
|
|
91
|
+
queueToastMessage: S
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export {
|
|
95
|
+
k as useToast
|
|
96
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/Toast/ToastManager'
|
package/utils/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/utils/vitest.setup.d.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._root_uo5u4_187{align-self:end}._root_uo5u4_187:has(._hint_uo5u4_195) ._label_uo5u4_195{margin-block-end:4px}._wrapper_uo5u4_199{display:grid;grid-template-columns:max-content 1fr max-content max-content;align-items:center}._action-button_uo5u4_205{grid-area:1/4/2/5}._label_uo5u4_195{font-family:STIHL Contraface Digital Text Regular,Arial Narrow,Arial,Heiti SC,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.25;display:block;max-width:fit-content;margin-block-end:8px}._label--hidden_uo5u4_222{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}._hint_uo5u4_195{font-family:STIHL Contraface Digital Text Regular,Arial Narrow,Arial,Heiti SC,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;display:block;max-width:25.5rem;margin-block-end:8px}._feedback_uo5u4_249{margin-block-end:8px;margin-block-start:8px}._select_uo5u4_254{font-family:STIHL Contraface Digital Text Regular,Arial Narrow,Arial,Heiti SC,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.25;transition:background-color .3s ease,color .3s ease;background:transparent;border:1px solid #252525;color:#252525;display:block;padding-inline-start:15px;padding-inline-end:15px;width:100%;min-height:3rem;height:3rem;inline-size:100%;grid-area:1/1/2/5;border-radius:0}._select_uo5u4_254:focus{outline:1px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){._select_uo5u4_254:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._select_uo5u4_254:focus{outline:revert;outline-offset:revert}._select_uo5u4_254:focus-visible{outline:1px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){._select_uo5u4_254:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}@media (prefers-reduced-motion: reduce){._select_uo5u4_254{transition-duration:0ms}}@media (hover: hover){._select_uo5u4_254:hover{background:#0000001a}}._select_uo5u4_254[readonly]{background-color:#ededed;border-color:transparent;color:#252525}._select_uo5u4_254[readonly]:focus{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){._select_uo5u4_254[readonly]:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._select_uo5u4_254[readonly]:focus{outline:revert;outline-offset:revert}._select_uo5u4_254[readonly]:focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){._select_uo5u4_254[readonly]:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}._select_uo5u4_254:disabled{background-color:transparent;border-color:#00000080;color:#00000080;cursor:not-allowed}._select_uo5u4_254::-webkit-placeholder,._select_uo5u4_254::placeholder{color:#666;opacity:1}._select--invalid_uo5u4_365{border-color:#d43b3b;outline-color:#d43b3b}._select--invalid_uo5u4_365:active,._select--invalid_uo5u4_365:focus,._select--invalid_uo5u4_365:focus-visible{border-color:#252525}._select--small_uo5u4_372{font-family:STIHL Contraface Digital Text Regular,Arial Narrow,Arial,Heiti SC,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;padding-inline-start:7px;padding-inline-end:7px}._select_uo5u4_254::-webkit-outer-spin-button,._select_uo5u4_254::-webkit-inner-spin-button,._select_uo5u4_254::-webkit-search-decoration,._select_uo5u4_254::-webkit-search-cancel-button,._select_uo5u4_254::-webkit-calendar-picker-indicator{display:none;-moz-appearance:none;appearance:none;-webkit-appearance:none}._select_uo5u4_254::-webkit-date-and-time-value{text-align:left}._select_uo5u4_254:is([type=date],[type=time],[type=datetime-local],[type=month],[type=week]){display:flex;align-items:center;min-width:-webkit-fill-available;-moz-appearance:none;appearance:none;-webkit-appearance:none}._select_uo5u4_254[type=search]{-moz-appearance:none;appearance:none;-webkit-appearance:none}._select_uo5u4_254[type=range]{accent-color:#E9640C}._select_uo5u4_254[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}._select--small_uo5u4_372{min-height:2rem;height:2rem}._select--small_uo5u4_372._input--has-leading-icon_uo5u4_418{padding-inline-start:calc(16px + 1rem)}._select--small_uo5u4_372._input--has-action-button_uo5u4_421{padding-inline-end:calc(2rem + 8px)}._select--small_uo5u4_372._input--has-second-action-button_uo5u4_424{padding-inline-end:calc(4rem + 8px)}._select--has-leading-icon_uo5u4_427{padding-inline-start:calc(32px + 1rem)}._select--has-action-button_uo5u4_430{padding-inline-end:calc(3rem + 16px)}._select--has-second-action-button_uo5u4_433{padding-inline-end:calc(6rem + 16px)}._select--has-affix_uo5u4_436{color:#0000}._select--has-affix_uo5u4_436::placeholder{color:#0000;transition:color .3s ease}@media (prefers-reduced-motion: reduce){._select--has-affix_uo5u4_436::placeholder{transition-duration:0ms}}._select--is-ready_uo5u4_448{color:#252525}._select--is-ready_uo5u4_448::placeholder{color:#666}._select_uo5u4_254._select--disabled_uo5u4_454{background-color:transparent;border-color:#00000080;color:#00000080;cursor:not-allowed}@media screen and (forced-colors: active){._select_uo5u4_254._select--disabled_uo5u4_454{color:GrayText}}._select_uo5u4_254._select--focused_uo5u4_465{outline:2px solid;outline-color:#252525;outline-offset:-1px}@media screen and (forced-colors: active){._select_uo5u4_254._select--focused_uo5u4_465{forced-color-adjust:auto;outline-color:Highlight}}@media screen and (forced-colors: active){._select_uo5u4_254._select--focused_uo5u4_465{outline-color:Highlight}}@media (hover: hover){._select--hovered_uo5u4_482{background:#0000001a}}._placeholder_uo5u4_487{color:#666}@media screen and (forced-colors: active){._placeholder_uo5u4_487{color:GrayText}}._menu-list_uo5u4_496{padding-block-start:8px;padding-block-end:7px;padding-inline-start:0;padding-inline-end:0;background-color:#fff;outline:2px solid;outline-color:#252525;outline-offset:-1px}@media screen and (forced-colors: active){._menu-list_uo5u4_496{forced-color-adjust:auto;outline-color:Highlight}}._group-heading_uo5u4_513{font-family:STIHL Contraface Digital Text Regular,Arial Narrow,Arial,Heiti SC,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;padding-block-start:16px;padding-block-end:11px;padding-inline-start:16px;padding-inline-end:16px;margin-block-start:4px;margin-block-end:8px;margin-inline-start:0;margin-inline-end:0;border-bottom:1px solid #B1B1B1;color:#666}._option_uo5u4_534{font-family:STIHL Contraface Digital Text Regular,Arial Narrow,Arial,Heiti SC,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.25;padding-block-start:12px;padding-block-end:12px;padding-inline-start:24px;padding-inline-end:24px;align-items:center}._option--small_uo5u4_549{font-family:STIHL Contraface Digital Text Regular,Arial Narrow,Arial,Heiti SC,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;padding-block-start:8px;padding-block-end:8px;padding-inline-start:16px;padding-inline-end:16px}._option--single_uo5u4_563{justify-content:space-between}._option--disabled_uo5u4_566{color:#00000080}@media screen and (forced-colors: active){._option--disabled_uo5u4_566{color:GrayText}}._option--focus-hover_uo5u4_574:not(._option--disabled_uo5u4_566){background-color:#0000001a;padding-block-start:10px;padding-block-end:10px;border:2px solid #252525;border-left:none;border-right:none}@media screen and (forced-colors: active){._option--focus-hover_uo5u4_574:not(._option--disabled_uo5u4_566){background-color:Canvas;border-color:Highlight}}._option--focus-hover_uo5u4_574._option--small_uo5u4_549:not(._option--disabled_uo5u4_566){padding-block-start:6px;padding-block-end:6px}._option--text_uo5u4_592{margin-inline-end:8px;text-wrap:nowrap;text-overflow:ellipsis;overflow:hidden}._option--check-icon_uo5u4_598{fill:#e9640c;margin-inline-start:auto}._option--check-icon--disabled_uo5u4_602{fill:#00000080}._single-option_uo5u4_606{display:flex;flex-wrap:nowrap;width:100%;align-items:center}._multi-option_uo5u4_613{width:100%}._single-value_uo5u4_617{display:flex;align-items:center}._single-value--text_uo5u4_621{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}._leading-icon_uo5u4_628{margin-inline-end:8px;fill:#666}@media screen and (forced-colors: active){._leading-icon_uo5u4_628{background-color:Canvas;fill:CanvasText}}._leading-icon--disabled_uo5u4_638{fill:#00000080}@media screen and (forced-colors: active){._leading-icon--disabled_uo5u4_638{fill:GrayText}}._indicator_uo5u4_647,._clear_uo5u4_648{width:3rem;height:3rem;justify-content:center;cursor:pointer}._indicator--small_uo5u4_654,._clear--small_uo5u4_655{width:2rem;height:2rem}._indicator--icon_uo5u4_659,._clear--icon_uo5u4_660{margin-block-start:16px;margin-block-end:16px;margin-inline-start:16px;margin-inline-end:16px;align-self:center}._indicator--icon--small_uo5u4_667,._clear--icon--small_uo5u4_668{margin-block-start:8px;margin-block-end:8px;margin-inline-start:8px;margin-inline-end:8px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._root_1c87m_63{display:flex;flex-direction:column;row-gap:16px;column-gap:24px;flex-wrap:wrap;margin-block-start:-8px}._root--horizontal_1c87m_71{flex-direction:row}._root--invalid_1c87m_74{margin-block-start:-16px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._root_1yf8n_125{font-family:STIHL Contraface Digital Text Bold,Arial Narrow,Arial,Heiti SC,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;font-weight:400;font-size:1rem;line-height:1.25;padding-block-start:11px;padding-block-end:11px;padding-inline-start:23px;padding-inline-end:23px;display:flex;justify-content:center;align-items:center;border-width:1px;border-style:solid;border-color:transparent;max-width:fit-content;min-height:3rem;min-width:3rem;gap:8px;transform:translateZ(0);overflow-wrap:break-word;text-align:left;text-decoration:none;background-color:transparent;cursor:pointer;transition:background-color .3s ease,border-color .3s ease,color .3s ease;position:relative}._root_1yf8n_125:focus{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors: active){._root_1yf8n_125:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._root_1yf8n_125:focus{outline:revert;outline-offset:revert}._root_1yf8n_125:focus-visible{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors: active){._root_1yf8n_125:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}@media (prefers-reduced-motion: reduce){._root_1yf8n_125{transition-duration:0ms}}._root--highlight_1yf8n_192,._root--dark-highlight_1yf8n_192{background-color:#f37a1f;color:#252525}@media (hover: hover){._root--highlight_1yf8n_192:hover,._root--dark-highlight_1yf8n_192:hover{background-color:#e9640c}}._root--highlight_1yf8n_192[aria-disabled=true],._root--dark-highlight_1yf8n_192[aria-disabled=true]{background-color:transparent;cursor:not-allowed;color:#00000080;background-color:#dadada}._root--highlight_1yf8n_192[aria-disabled=true]:before,._root--dark-highlight_1yf8n_192[aria-disabled=true]:before{background-color:transparent}._root--highlight_1yf8n_192[aria-disabled=true] svg,._root--dark-highlight_1yf8n_192[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){._root--highlight_1yf8n_192[aria-disabled=true],._root--dark-highlight_1yf8n_192[aria-disabled=true]{color:GrayText;border-color:GrayText}}._root--dark-highlight_1yf8n_192:focus{outline:2px solid;outline-color:#fff;outline-offset:2px}@media screen and (forced-colors: active){._root--dark-highlight_1yf8n_192:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._root--dark-highlight_1yf8n_192:focus{outline:revert;outline-offset:revert}._root--dark-highlight_1yf8n_192:focus-visible{outline:2px solid;outline-color:#fff;outline-offset:2px}@media screen and (forced-colors: active){._root--dark-highlight_1yf8n_192:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}._root--dark-highlight_1yf8n_192[aria-disabled=true]{background-color:transparent;cursor:not-allowed;color:#ffffff80;color:#00000080;background-color:#dadada}._root--dark-highlight_1yf8n_192[aria-disabled=true]:before{background-color:transparent}._root--dark-highlight_1yf8n_192[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){._root--dark-highlight_1yf8n_192[aria-disabled=true]{color:GrayText;border-color:GrayText}}._root--filled_1yf8n_270{background-color:#252525;color:#fff}@media (hover: hover){._root--filled_1yf8n_270:hover{background-color:#444}}._root--filled_1yf8n_270[aria-disabled=true]{background-color:transparent;cursor:not-allowed;color:#00000080;background-color:#dadada}._root--filled_1yf8n_270[aria-disabled=true]:before{background-color:transparent}._root--filled_1yf8n_270[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){._root--filled_1yf8n_270[aria-disabled=true]{color:GrayText;border-color:GrayText}}._root--outline_1yf8n_298{border-color:#252525;color:#252525}@media (hover: hover){._root--outline_1yf8n_298:hover{background-color:#0000001a}}._root--outline_1yf8n_298[aria-disabled=true]{background-color:transparent;color:#00000080;cursor:not-allowed;border-color:currentColor}._root--outline_1yf8n_298[aria-disabled=true]:before{background-color:transparent}._root--outline_1yf8n_298[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){._root--outline_1yf8n_298[aria-disabled=true]{color:GrayText;border-color:GrayText}}._root--ghost_1yf8n_325{color:#252525}@media (hover: hover){._root--ghost_1yf8n_325:hover{background-color:#0000001a}}._root--ghost_1yf8n_325[aria-disabled=true]{background-color:transparent;color:#00000080;cursor:not-allowed}._root--ghost_1yf8n_325[aria-disabled=true]:before{background-color:transparent}._root--ghost_1yf8n_325[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){._root--ghost_1yf8n_325[aria-disabled=true]{color:GrayText;border-color:GrayText}}._root--ghost-flush_1yf8n_350{padding-inline-start:0;padding-inline-end:0;min-width:0px;color:#252525}._root--ghost-flush_1yf8n_350._root--small_1yf8n_356{padding-inline-start:0;padding-inline-end:0;min-width:0px}._root--ghost-flush_1yf8n_350:before{content:"";position:absolute;top:-1px;right:-12px;bottom:-1px;left:-12px;transition:background-color .3s ease,color .3s ease}@media (prefers-reduced-motion: reduce){._root--ghost-flush_1yf8n_350:before{transition-duration:0ms}}._root--ghost-flush_1yf8n_350:focus,._root--ghost-flush_1yf8n_350:focus-visible{outline:none}._root--ghost-flush_1yf8n_350:focus:before{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors: active){._root--ghost-flush_1yf8n_350:focus:before{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._root--ghost-flush_1yf8n_350:focus:before{outline:revert;outline-offset:revert}._root--ghost-flush_1yf8n_350:focus-visible:before{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors: active){._root--ghost-flush_1yf8n_350:focus-visible:before{forced-color-adjust:auto;outline-color:Highlight}}}@media (hover: hover){._root--ghost-flush_1yf8n_350:hover:before{background-color:#0000001a}}._root--ghost-flush_1yf8n_350[aria-disabled=true]{background-color:transparent;color:#00000080;cursor:not-allowed}._root--ghost-flush_1yf8n_350[aria-disabled=true]:before{background-color:transparent}._root--ghost-flush_1yf8n_350[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){._root--ghost-flush_1yf8n_350[aria-disabled=true]{color:GrayText;border-color:GrayText}}._root--dark-filled_1yf8n_431{background-color:#f8f8f8;color:#252525}._root--dark-filled_1yf8n_431:focus{outline:2px solid;outline-color:#fff;outline-offset:2px}@media screen and (forced-colors: active){._root--dark-filled_1yf8n_431:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._root--dark-filled_1yf8n_431:focus{outline:revert;outline-offset:revert}._root--dark-filled_1yf8n_431:focus-visible{outline:2px solid;outline-color:#fff;outline-offset:2px}@media screen and (forced-colors: active){._root--dark-filled_1yf8n_431:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}@media (hover: hover){._root--dark-filled_1yf8n_431:hover{background-color:#dadada}}._root--dark-filled_1yf8n_431[aria-disabled=true]{background-color:transparent;cursor:not-allowed;color:#ffffff80;color:#00000080;background-color:#dadada}._root--dark-filled_1yf8n_431[aria-disabled=true]:before{background-color:transparent}._root--dark-filled_1yf8n_431[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){._root--dark-filled_1yf8n_431[aria-disabled=true]{color:GrayText;border-color:GrayText}}._root--dark-outline_1yf8n_490{border-color:#f8f8f8;color:#fff}._root--dark-outline_1yf8n_490:focus{outline:2px solid;outline-color:#fff;outline-offset:2px}@media screen and (forced-colors: active){._root--dark-outline_1yf8n_490:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._root--dark-outline_1yf8n_490:focus{outline:revert;outline-offset:revert}._root--dark-outline_1yf8n_490:focus-visible{outline:2px solid;outline-color:#fff;outline-offset:2px}@media screen and (forced-colors: active){._root--dark-outline_1yf8n_490:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}@media (hover: hover){._root--dark-outline_1yf8n_490:hover{background-color:#ffffff26}}._root--dark-outline_1yf8n_490[aria-disabled=true]{background-color:transparent;color:#00000080;cursor:not-allowed;color:#ffffff80;border-color:currentColor}._root--dark-outline_1yf8n_490[aria-disabled=true]:before{background-color:transparent}._root--dark-outline_1yf8n_490[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){._root--dark-outline_1yf8n_490[aria-disabled=true]{color:GrayText;border-color:GrayText}}._root--dark-ghost_1yf8n_548{color:#fff}._root--dark-ghost_1yf8n_548:focus{outline:2px solid;outline-color:#fff;outline-offset:2px}@media screen and (forced-colors: active){._root--dark-ghost_1yf8n_548:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._root--dark-ghost_1yf8n_548:focus{outline:revert;outline-offset:revert}._root--dark-ghost_1yf8n_548:focus-visible{outline:2px solid;outline-color:#fff;outline-offset:2px}@media screen and (forced-colors: active){._root--dark-ghost_1yf8n_548:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}@media (hover: hover){._root--dark-ghost_1yf8n_548:hover{background-color:#ffffff26}}._root--dark-ghost_1yf8n_548[aria-disabled=true]{background-color:transparent;color:#00000080;cursor:not-allowed;color:#ffffff80}._root--dark-ghost_1yf8n_548[aria-disabled=true]:before{background-color:transparent}._root--dark-ghost_1yf8n_548[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){._root--dark-ghost_1yf8n_548[aria-disabled=true]{color:GrayText;border-color:GrayText}}._root--dark-ghost-flush_1yf8n_604{color:#fff}._root--dark-ghost-flush_1yf8n_604:focus,._root--dark-ghost-flush_1yf8n_604:focus-visible{outline:none}._root--dark-ghost-flush_1yf8n_604:focus:before{outline:2px solid;outline-color:#fff;outline-offset:2px}@media screen and (forced-colors: active){._root--dark-ghost-flush_1yf8n_604:focus:before{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._root--dark-ghost-flush_1yf8n_604:focus:before{outline:revert;outline-offset:revert}._root--dark-ghost-flush_1yf8n_604:focus-visible:before{outline:2px solid;outline-color:#fff;outline-offset:2px}@media screen and (forced-colors: active){._root--dark-ghost-flush_1yf8n_604:focus-visible:before{forced-color-adjust:auto;outline-color:Highlight}}}@media (hover: hover){._root--dark-ghost-flush_1yf8n_604:hover:before{background-color:#ffffff26}}._root--dark-ghost-flush_1yf8n_604[aria-disabled=true]{background-color:transparent;color:#00000080;cursor:not-allowed;color:#ffffff80}._root--dark-ghost-flush_1yf8n_604[aria-disabled=true]:before{background-color:transparent}._root--dark-ghost-flush_1yf8n_604[aria-disabled=true] svg{fill:currentColor}@media screen and (forced-colors: active){._root--dark-ghost-flush_1yf8n_604[aria-disabled=true]{color:GrayText;border-color:GrayText}}._root--icon-left_1yf8n_663{flex-direction:row-reverse}._root--small_1yf8n_356{min-height:2rem;min-width:2rem;padding-block-start:5px;padding-block-end:5px;padding-inline-start:15px;padding-inline-end:15px}._root--small_1yf8n_356._root--ghost-flush_1yf8n_350:before{right:-8px;left:-8px}._root--icon-only_1yf8n_679{width:3rem;height:3rem}._root--icon-only-small_1yf8n_683{width:2rem;height:2rem;min-width:2rem;min-height:2rem}._loader_1yf8n_690{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:1rem;height:1rem}._loader_1yf8n_690 svg{fill:currentColor}._icon--hidden_1yf8n_702{opacity:0}._label--hidden_1yf8n_706{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}._label--loading_1yf8n_718{opacity:0}
|