@db-ux/core-components 4.13.1-angular-signal-forms13-577b861 → 4.14.0-shell-52d18db
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/CHANGELOG.md +12 -0
- package/agent/Best-Practise_Common-AI-Mistakes.md +3 -3
- package/build/components/accordion/accordion.css +33 -6
- package/build/components/accordion/accordion.scss +25 -0
- package/build/components/accordion-item/accordion-item.css +9 -14
- package/build/components/accordion-item/accordion-item.scss +5 -3
- package/build/components/badge/badge.css +1 -1
- package/build/components/badge/badge.scss +1 -1
- package/build/components/button/button.css +0 -8
- package/build/components/button/button.scss +0 -11
- package/build/components/checkbox/checkbox.css +6 -11
- package/build/components/control-panel-brand/control-panel-brand.css +53 -0
- package/build/components/control-panel-brand/control-panel-brand.scss +48 -0
- package/build/components/control-panel-desktop/control-panel-desktop.css +579 -0
- package/build/components/control-panel-desktop/control-panel-desktop.scss +30 -0
- package/build/components/control-panel-flat-icon/control-panel-flat-icon.css +258 -0
- package/build/components/control-panel-flat-icon/control-panel-flat-icon.scss +239 -0
- package/build/components/control-panel-meta/control-panel-meta.css +14 -0
- package/build/components/control-panel-meta/control-panel-meta.scss +15 -0
- package/build/components/control-panel-mobile/control-panel-mobile.css +442 -0
- package/build/components/control-panel-mobile/control-panel-mobile.scss +119 -0
- package/build/components/control-panel-navigation/control-panel-navigation.css +402 -0
- package/build/components/control-panel-navigation/control-panel-navigation.scss +186 -0
- package/build/components/control-panel-navigation-item/control-panel-navigation-item.css +87 -0
- package/build/components/control-panel-navigation-item/control-panel-navigation-item.scss +39 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-popover.css +21 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-popover.scss +129 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-tree.css +35 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-tree.scss +36 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group.css +158 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group.scss +80 -0
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.css +12 -0
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.scss +7 -0
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.css +12 -0
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.scss +7 -0
- package/build/components/control-panel-skip-navigation/control-panel-skip-navigation.css +23 -0
- package/build/components/control-panel-skip-navigation/control-panel-skip-navigation.scss +25 -0
- package/build/components/custom-button/custom-button.css +15 -20
- package/build/components/custom-button/custom-button.scss +1 -1
- package/build/components/custom-select/custom-select.css +17 -16
- package/build/components/custom-select/custom-select.scss +1 -1
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +39 -26
- package/build/components/custom-select-form-field/custom-select-form-field.css +6 -11
- package/build/components/custom-select-list/custom-select-list.css +6 -11
- package/build/components/custom-select-list-item/custom-select-list-item.css +24 -19
- package/build/components/divider/divider.css +18 -8
- package/build/components/drawer/drawer.css +79 -157
- package/build/components/drawer/drawer.scss +130 -170
- package/build/components/drawer-footer/drawer-footer.css +34 -0
- package/build/components/drawer-footer/drawer-footer.scss +11 -0
- package/build/components/drawer-header/drawer-header.css +38 -0
- package/build/components/drawer-header/drawer-header.scss +17 -0
- package/build/components/header/header.css +81 -46
- package/build/components/header/header.scss +34 -21
- package/build/components/input/input.css +6 -11
- package/build/components/link/link.css +12 -2
- package/build/components/navigation/navigation.css +6 -11
- package/build/components/navigation-item/navigation-item.css +45 -30
- package/build/components/navigation-item/navigation-item.scss +28 -13
- package/build/components/notification/notification.css +12 -2
- package/build/components/page/page.css +8 -0
- package/build/components/page/page.scss +8 -0
- package/build/components/radio/radio.css +6 -11
- package/build/components/select/select.css +6 -11
- package/build/components/shell/shell-desktop.css +475 -0
- package/build/components/shell/shell-desktop.scss +105 -0
- package/build/components/shell/shell-mobile.css +441 -0
- package/build/components/shell/shell-mobile.scss +148 -0
- package/build/components/shell/shell.css +1670 -0
- package/build/components/shell/shell.scss +70 -0
- package/build/components/shell-content/shell-content.css +34 -0
- package/build/components/shell-content/shell-content.scss +53 -0
- package/build/components/shell-sub-navigation/shell-sub-navigation.css +51 -0
- package/build/components/shell-sub-navigation/shell-sub-navigation.scss +184 -0
- package/build/components/stack/stack-web-component.css +1 -0
- package/build/components/stack/stack.css +1 -0
- package/build/components/switch/switch.css +6 -11
- package/build/components/tab-item/tab-item.css +6 -11
- package/build/components/tab-list/tab-list.css +6 -11
- package/build/components/table/table.css +6 -11
- package/build/components/tabs/tabs.css +50 -33
- package/build/components/tabs/tabs.scss +10 -55
- package/build/components/tag/tag.css +7 -10
- package/build/components/tag/tag.scss +1 -5
- package/build/components/textarea/textarea.css +6 -11
- package/build/styles/absolute.css +7 -7
- package/build/styles/bundle.css +7 -7
- package/build/styles/index.css +6 -6
- package/build/styles/index.scss +18 -2
- package/build/styles/internal/_component.scss +4 -0
- package/build/styles/internal/_control-panel-actions.scss +11 -0
- package/build/styles/internal/_control-panel-desktop.scss +412 -0
- package/build/styles/internal/_control-panel-mobile.scss +107 -0
- package/build/styles/internal/_custom-elements.scss +32 -7
- package/build/styles/internal/_icon-passing.scss +20 -10
- package/build/styles/internal/_link-components.scss +11 -2
- package/build/styles/internal/_navigation-item.scss +122 -0
- package/build/styles/internal/_scrollbar.scss +71 -0
- package/build/styles/relative.css +7 -7
- package/build/styles/rollup.css +7 -7
- package/build/styles/visually-hidden.css +1 -1
- package/build/styles/wc-workarounds.css +1 -1
- package/build/styles/wc-workarounds.scss +11 -0
- package/build/styles/webpack.css +7 -7
- package/package.json +3 -3
|
@@ -2,19 +2,14 @@
|
|
|
2
2
|
/* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
|
|
3
3
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
4
4
|
.db-custom-button input {
|
|
5
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
6
|
-
overflow: hidden !important;
|
|
7
|
-
white-space: nowrap !important;
|
|
8
|
-
font-size: 0 !important;
|
|
9
|
-
all: initial;
|
|
10
|
-
inset-block-start: 0 !important;
|
|
11
|
-
block-size: 1px !important;
|
|
12
5
|
position: absolute !important;
|
|
6
|
+
inset-block-start: 0 !important;
|
|
13
7
|
inline-size: 1px !important;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
block-size: 1px !important;
|
|
9
|
+
overflow: hidden !important;
|
|
10
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
11
|
+
white-space: nowrap !important;
|
|
12
|
+
border: 0 !important;
|
|
18
13
|
padding: 0 !important;
|
|
19
14
|
pointer-events: none !important;
|
|
20
15
|
}
|
|
@@ -166,17 +161,16 @@
|
|
|
166
161
|
}
|
|
167
162
|
.db-custom-button[data-icon-leading]:not([data-show-icon-leading=false])::before, .db-custom-button[data-icon]:not([data-show-icon=false])::before {
|
|
168
163
|
position: absolute;
|
|
169
|
-
inset-block-start: calc(50% - 0.5em);
|
|
170
|
-
inset-inline-start: var(--db-icon-passing-inline-start, var(--db-spacing-fixed-sm));
|
|
164
|
+
inset-block-start: var(--db-icon-passing-inset-block-start, calc(50% - 0.5em));
|
|
165
|
+
inset-inline-start: var(--db-icon-passing-inset-inline-start, var(--db-spacing-fixed-sm));
|
|
171
166
|
pointer-events: none;
|
|
172
167
|
z-index: 1;
|
|
173
168
|
}
|
|
174
|
-
.db-custom-button[data-icon-leading]:not([data-show-icon-leading=false])
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
);
|
|
169
|
+
.db-custom-button[data-icon-leading]:not([data-show-icon-leading=false]) > :is(label, button, a),
|
|
170
|
+
.db-custom-button[data-icon-leading]:not([data-show-icon-leading=false]) > * > :is(label, button, a), .db-custom-button[data-icon]:not([data-show-icon=false]) > :is(label, button, a),
|
|
171
|
+
.db-custom-button[data-icon]:not([data-show-icon=false]) > * > :is(label, button, a) {
|
|
178
172
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
179
|
-
padding-inline-start: var(--db-padding-inline-start);
|
|
173
|
+
padding-inline-start: var(--db-icon-passing-padding-inline-start, calc(var(--db-spacing-fixed-sm) + var(--db-icon-margin-end, var(--db-spacing-fixed-xs)) + var(--db-icon-font-size)));
|
|
180
174
|
}
|
|
181
175
|
.db-custom-button[data-icon-trailing]:not([data-show-icon-trailing=false])::after {
|
|
182
176
|
position: absolute;
|
|
@@ -185,7 +179,8 @@
|
|
|
185
179
|
pointer-events: none;
|
|
186
180
|
z-index: 1;
|
|
187
181
|
}
|
|
188
|
-
.db-custom-button[data-icon-trailing]:not([data-show-icon-trailing=false])
|
|
182
|
+
.db-custom-button[data-icon-trailing]:not([data-show-icon-trailing=false]) > :is(label, button, a),
|
|
183
|
+
.db-custom-button[data-icon-trailing]:not([data-show-icon-trailing=false]) > * > :is(label, button, a) {
|
|
189
184
|
padding-inline-end: calc(var(--db-spacing-fixed-sm) + var(--db-icon-margin-end, var(--db-spacing-fixed-xs)) + var(--db-icon-font-size));
|
|
190
185
|
}
|
|
191
186
|
.db-custom-button:has(:is(input, button):disabled,
|
|
@@ -194,7 +189,7 @@
|
|
|
194
189
|
}
|
|
195
190
|
.db-custom-button[data-no-text=true] {
|
|
196
191
|
--db-icon-margin-end: 0;
|
|
197
|
-
--db-icon-passing-inline-start: calc(50% - 0.5em);
|
|
192
|
+
--db-icon-passing-inset-inline-start: calc(50% - 0.5em);
|
|
198
193
|
}
|
|
199
194
|
.db-custom-button label:has(input:checked) {
|
|
200
195
|
color: var(--db-adaptive-on-bg-inverted-default);
|
|
@@ -3,19 +3,14 @@
|
|
|
3
3
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
4
4
|
.db-custom-select[data-hide-label=true] > label, .db-visually-hidden,
|
|
5
5
|
[data-visually-hidden=true] {
|
|
6
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
7
|
-
overflow: hidden !important;
|
|
8
|
-
white-space: nowrap !important;
|
|
9
|
-
font-size: 0 !important;
|
|
10
|
-
all: initial;
|
|
11
|
-
inset-block-start: 0 !important;
|
|
12
|
-
block-size: 1px !important;
|
|
13
6
|
position: absolute !important;
|
|
7
|
+
inset-block-start: 0 !important;
|
|
14
8
|
inline-size: 1px !important;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
block-size: 1px !important;
|
|
10
|
+
overflow: hidden !important;
|
|
11
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
12
|
+
white-space: nowrap !important;
|
|
13
|
+
border: 0 !important;
|
|
19
14
|
padding: 0 !important;
|
|
20
15
|
pointer-events: none !important;
|
|
21
16
|
}
|
|
@@ -1030,18 +1025,24 @@ summary[aria-disabled=true]) {
|
|
|
1030
1025
|
content: "";
|
|
1031
1026
|
background-color: var(--db-divider-bg-color);
|
|
1032
1027
|
position: absolute;
|
|
1028
|
+
/* jscpd:ignore-start */
|
|
1033
1029
|
inline-size: var(--db-border-width-3xs);
|
|
1034
1030
|
inset-inline-end: 0;
|
|
1035
1031
|
inset-block: 0;
|
|
1032
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
1036
1033
|
}
|
|
1037
1034
|
@media (forced-colors: active) {
|
|
1038
|
-
.db-custom-select > db-button > .db-button[data-icon=cross][data-variant=ghost],
|
|
1039
|
-
.db-custom-select > .db-button[data-icon=cross][data-variant=ghost] {
|
|
1040
|
-
/* stylelint-disable-next-line
|
|
1041
|
-
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
1035
|
+
.db-custom-select > db-button > .db-button[data-icon=cross][data-variant=ghost]::after,
|
|
1036
|
+
.db-custom-select > .db-button[data-icon=cross][data-variant=ghost]::after {
|
|
1037
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
1038
|
+
border-inline-end: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
1042
1039
|
}
|
|
1043
1040
|
}
|
|
1044
1041
|
.db-custom-select > db-button > .db-button[data-icon=cross][data-variant=ghost]::after,
|
|
1042
|
+
.db-custom-select > .db-button[data-icon=cross][data-variant=ghost]::after {
|
|
1043
|
+
/* jscpd:ignore-end */
|
|
1044
|
+
}
|
|
1045
|
+
.db-custom-select > db-button > .db-button[data-icon=cross][data-variant=ghost]::after,
|
|
1045
1046
|
.db-custom-select > .db-button[data-icon=cross][data-variant=ghost]::after {
|
|
1046
1047
|
position: absolute;
|
|
1047
1048
|
inset-inline-end: calc(-1 * var(--db-spacing-fixed-xs) - var(--db-border-width-3xs));
|
|
@@ -1054,7 +1055,7 @@ summary[aria-disabled=true]) {
|
|
|
1054
1055
|
flex-wrap: wrap;
|
|
1055
1056
|
}
|
|
1056
1057
|
.db-custom-select[data-selected-type=tag] .db-custom-select-form-field > button {
|
|
1057
|
-
align-self: start;
|
|
1058
|
+
align-self: flex-start;
|
|
1058
1059
|
}
|
|
1059
1060
|
.db-custom-select > details[open] > summary[data-force-mobile=true]::before {
|
|
1060
1061
|
position: fixed;
|
|
@@ -3,19 +3,14 @@
|
|
|
3
3
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
4
4
|
.db-visually-hidden,
|
|
5
5
|
[data-visually-hidden=true] {
|
|
6
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
7
|
-
overflow: hidden !important;
|
|
8
|
-
white-space: nowrap !important;
|
|
9
|
-
font-size: 0 !important;
|
|
10
|
-
all: initial;
|
|
11
|
-
inset-block-start: 0 !important;
|
|
12
|
-
block-size: 1px !important;
|
|
13
6
|
position: absolute !important;
|
|
7
|
+
inset-block-start: 0 !important;
|
|
14
8
|
inline-size: 1px !important;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
block-size: 1px !important;
|
|
10
|
+
overflow: hidden !important;
|
|
11
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
12
|
+
white-space: nowrap !important;
|
|
13
|
+
border: 0 !important;
|
|
19
14
|
padding: 0 !important;
|
|
20
15
|
pointer-events: none !important;
|
|
21
16
|
}
|
|
@@ -249,18 +244,24 @@
|
|
|
249
244
|
content: "";
|
|
250
245
|
background-color: var(--db-divider-bg-color);
|
|
251
246
|
position: absolute;
|
|
247
|
+
/* jscpd:ignore-start */
|
|
252
248
|
block-size: var(--db-border-width-3xs);
|
|
253
249
|
inset-block-end: 0;
|
|
254
250
|
inset-inline: 0;
|
|
255
|
-
/* stylelint-disable-next-line
|
|
251
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
256
252
|
}
|
|
257
253
|
@media (forced-colors: active) {
|
|
258
|
-
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-checkbox),
|
|
259
|
-
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-checkbox) {
|
|
260
|
-
/* stylelint-disable-next-line
|
|
261
|
-
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
254
|
+
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-checkbox)::after,
|
|
255
|
+
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-checkbox)::after {
|
|
256
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
257
|
+
border-block-end: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
262
258
|
}
|
|
263
259
|
}
|
|
260
|
+
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-checkbox)::after,
|
|
261
|
+
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-checkbox)::after {
|
|
262
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
263
|
+
/* jscpd:ignore-end */
|
|
264
|
+
}
|
|
264
265
|
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button), .db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-input),
|
|
265
266
|
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button),
|
|
266
267
|
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-input) {
|
|
@@ -280,18 +281,24 @@
|
|
|
280
281
|
content: "";
|
|
281
282
|
background-color: var(--db-divider-bg-color);
|
|
282
283
|
position: absolute;
|
|
284
|
+
/* jscpd:ignore-start */
|
|
283
285
|
block-size: var(--db-border-width-3xs);
|
|
284
286
|
inset-block-end: 0;
|
|
285
287
|
inset-inline: 0;
|
|
286
|
-
/* stylelint-disable-next-line
|
|
288
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
287
289
|
}
|
|
288
290
|
@media (forced-colors: active) {
|
|
289
|
-
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-input),
|
|
290
|
-
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-input) {
|
|
291
|
-
/* stylelint-disable-next-line
|
|
292
|
-
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
291
|
+
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-input)::after,
|
|
292
|
+
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-input)::after {
|
|
293
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
294
|
+
border-block-end: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
293
295
|
}
|
|
294
296
|
}
|
|
297
|
+
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-input)::after,
|
|
298
|
+
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-input)::after {
|
|
299
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
300
|
+
/* jscpd:ignore-end */
|
|
301
|
+
}
|
|
295
302
|
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button),
|
|
296
303
|
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button) {
|
|
297
304
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
|
|
@@ -306,18 +313,24 @@
|
|
|
306
313
|
content: "";
|
|
307
314
|
background-color: var(--db-divider-bg-color);
|
|
308
315
|
position: absolute;
|
|
316
|
+
/* jscpd:ignore-start */
|
|
309
317
|
block-size: var(--db-border-width-3xs);
|
|
310
318
|
inset-block-start: 0;
|
|
311
319
|
inset-inline: 0;
|
|
312
|
-
/* stylelint-disable-next-line
|
|
320
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
313
321
|
}
|
|
314
322
|
@media (forced-colors: active) {
|
|
315
|
-
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button),
|
|
316
|
-
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button) {
|
|
317
|
-
/* stylelint-disable-next-line
|
|
318
|
-
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
323
|
+
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button)::after,
|
|
324
|
+
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button)::after {
|
|
325
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
326
|
+
border-block-start: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
319
327
|
}
|
|
320
328
|
}
|
|
329
|
+
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button)::after,
|
|
330
|
+
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button)::after {
|
|
331
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
332
|
+
/* jscpd:ignore-end */
|
|
333
|
+
}
|
|
321
334
|
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button),
|
|
322
335
|
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button) {
|
|
323
336
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
.db-visually-hidden,
|
|
2
2
|
[data-visually-hidden=true] {
|
|
3
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
4
|
-
overflow: hidden !important;
|
|
5
|
-
white-space: nowrap !important;
|
|
6
|
-
font-size: 0 !important;
|
|
7
|
-
all: initial;
|
|
8
|
-
inset-block-start: 0 !important;
|
|
9
|
-
block-size: 1px !important;
|
|
10
3
|
position: absolute !important;
|
|
4
|
+
inset-block-start: 0 !important;
|
|
11
5
|
inline-size: 1px !important;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
block-size: 1px !important;
|
|
7
|
+
overflow: hidden !important;
|
|
8
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
9
|
+
white-space: nowrap !important;
|
|
10
|
+
border: 0 !important;
|
|
16
11
|
padding: 0 !important;
|
|
17
12
|
pointer-events: none !important;
|
|
18
13
|
}
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
.db-custom-select-list > legend, .db-visually-hidden,
|
|
2
2
|
[data-visually-hidden=true] {
|
|
3
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
4
|
-
overflow: hidden !important;
|
|
5
|
-
white-space: nowrap !important;
|
|
6
|
-
font-size: 0 !important;
|
|
7
|
-
all: initial;
|
|
8
|
-
inset-block-start: 0 !important;
|
|
9
|
-
block-size: 1px !important;
|
|
10
3
|
position: absolute !important;
|
|
4
|
+
inset-block-start: 0 !important;
|
|
11
5
|
inline-size: 1px !important;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
block-size: 1px !important;
|
|
7
|
+
overflow: hidden !important;
|
|
8
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
9
|
+
white-space: nowrap !important;
|
|
10
|
+
border: 0 !important;
|
|
16
11
|
padding: 0 !important;
|
|
17
12
|
pointer-events: none !important;
|
|
18
13
|
}
|
|
@@ -3,19 +3,14 @@
|
|
|
3
3
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
4
4
|
.db-visually-hidden,
|
|
5
5
|
[data-visually-hidden=true] {
|
|
6
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
7
|
-
overflow: hidden !important;
|
|
8
|
-
white-space: nowrap !important;
|
|
9
|
-
font-size: 0 !important;
|
|
10
|
-
all: initial;
|
|
11
|
-
inset-block-start: 0 !important;
|
|
12
|
-
block-size: 1px !important;
|
|
13
6
|
position: absolute !important;
|
|
7
|
+
inset-block-start: 0 !important;
|
|
14
8
|
inline-size: 1px !important;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
block-size: 1px !important;
|
|
10
|
+
overflow: hidden !important;
|
|
11
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
12
|
+
white-space: nowrap !important;
|
|
13
|
+
border: 0 !important;
|
|
19
14
|
padding: 0 !important;
|
|
20
15
|
pointer-events: none !important;
|
|
21
16
|
}
|
|
@@ -47,17 +42,22 @@ db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-d
|
|
|
47
42
|
content: "";
|
|
48
43
|
background-color: var(--db-divider-bg-color);
|
|
49
44
|
position: absolute;
|
|
45
|
+
/* jscpd:ignore-start */
|
|
50
46
|
block-size: var(--db-border-width-3xs);
|
|
51
47
|
inset-block-end: 0;
|
|
52
48
|
inset-inline: 0;
|
|
53
|
-
/* stylelint-disable-next-line
|
|
49
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
54
50
|
}
|
|
55
51
|
@media (forced-colors: active) {
|
|
56
|
-
db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-divider=true] {
|
|
57
|
-
/* stylelint-disable-next-line
|
|
58
|
-
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
52
|
+
db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-divider=true]::before {
|
|
53
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
54
|
+
border-block-end: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
59
55
|
}
|
|
60
56
|
}
|
|
57
|
+
db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-divider=true]::before {
|
|
58
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
59
|
+
/* jscpd:ignore-end */
|
|
60
|
+
}
|
|
61
61
|
|
|
62
62
|
.db-custom-select-list-item:not([hidden]) {
|
|
63
63
|
display: flex;
|
|
@@ -95,17 +95,22 @@ db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-d
|
|
|
95
95
|
content: "";
|
|
96
96
|
background-color: var(--db-divider-bg-color);
|
|
97
97
|
position: absolute;
|
|
98
|
+
/* jscpd:ignore-start */
|
|
98
99
|
block-size: var(--db-border-width-3xs);
|
|
99
100
|
inset-block-end: 0;
|
|
100
101
|
inset-inline: 0;
|
|
101
|
-
/* stylelint-disable-next-line
|
|
102
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
102
103
|
}
|
|
103
104
|
@media (forced-colors: active) {
|
|
104
|
-
.db-custom-select-list-item[data-divider=true]:not(:last-of-type) {
|
|
105
|
-
/* stylelint-disable-next-line
|
|
106
|
-
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
105
|
+
.db-custom-select-list-item[data-divider=true]:not(:last-of-type)::before {
|
|
106
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
107
|
+
border-block-end: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
107
108
|
}
|
|
108
109
|
}
|
|
110
|
+
.db-custom-select-list-item[data-divider=true]:not(:last-of-type)::before {
|
|
111
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
112
|
+
/* jscpd:ignore-end */
|
|
113
|
+
}
|
|
109
114
|
.db-custom-select-list-item > label {
|
|
110
115
|
--db-icon-margin-start: auto;
|
|
111
116
|
--db-check-element-label-color: var(--db-adaptive-on-bg-basic-emphasis-100-default);
|
|
@@ -22,17 +22,22 @@
|
|
|
22
22
|
content: "";
|
|
23
23
|
background-color: var(--db-divider-bg-color);
|
|
24
24
|
position: absolute;
|
|
25
|
+
/* jscpd:ignore-start */
|
|
25
26
|
block-size: var(--db-border-width-3xs);
|
|
26
27
|
inset-block-start: 0;
|
|
27
28
|
inset-inline: 0;
|
|
28
|
-
/* stylelint-disable-next-line
|
|
29
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
29
30
|
}
|
|
30
31
|
@media (forced-colors: active) {
|
|
31
|
-
.db-divider:not([data-variant=vertical]) {
|
|
32
|
-
/* stylelint-disable-next-line
|
|
33
|
-
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
32
|
+
.db-divider:not([data-variant=vertical])::before {
|
|
33
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
34
|
+
border-block-start: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
34
35
|
}
|
|
35
36
|
}
|
|
37
|
+
.db-divider:not([data-variant=vertical])::before {
|
|
38
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
39
|
+
/* jscpd:ignore-end */
|
|
40
|
+
}
|
|
36
41
|
.db-divider:not([data-variant=vertical])[data-width=full] {
|
|
37
42
|
inline-size: 100%;
|
|
38
43
|
}
|
|
@@ -48,17 +53,22 @@
|
|
|
48
53
|
content: "";
|
|
49
54
|
background-color: var(--db-divider-bg-color);
|
|
50
55
|
position: absolute;
|
|
56
|
+
/* jscpd:ignore-start */
|
|
51
57
|
inline-size: var(--db-border-width-3xs);
|
|
52
58
|
inset-inline-start: 0;
|
|
53
59
|
inset-block: 0;
|
|
54
|
-
/* stylelint-disable-next-line
|
|
60
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
55
61
|
}
|
|
56
62
|
@media (forced-colors: active) {
|
|
57
|
-
.db-divider[data-variant=vertical] {
|
|
58
|
-
/* stylelint-disable-next-line
|
|
59
|
-
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
63
|
+
.db-divider[data-variant=vertical]::before {
|
|
64
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
65
|
+
border-inline-start: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
60
66
|
}
|
|
61
67
|
}
|
|
68
|
+
.db-divider[data-variant=vertical]::before {
|
|
69
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
70
|
+
/* jscpd:ignore-end */
|
|
71
|
+
}
|
|
62
72
|
.db-divider[data-variant=vertical]:is(:not([data-margin]), [data-margin=small]) {
|
|
63
73
|
margin: 0 var(--db-spacing-fixed-sm);
|
|
64
74
|
}
|