@db-ux/core-components 4.4.2 → 4.5.0

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/build/components/accordion/accordion.css +0 -14
  3. package/build/components/accordion-item/accordion-item.css +38 -29
  4. package/build/components/accordion-item/accordion-item.scss +1 -1
  5. package/build/components/badge/badge.css +75 -33
  6. package/build/components/badge/badge.scss +6 -1
  7. package/build/components/brand/brand.css +2 -18
  8. package/build/components/brand/brand.scss +2 -0
  9. package/build/components/button/button.css +245 -82
  10. package/build/components/button/button.scss +1 -105
  11. package/build/components/card/card.css +88 -30
  12. package/build/components/checkbox/checkbox.css +1 -22
  13. package/build/components/custom-button/custom-button.css +892 -0
  14. package/build/components/custom-button/custom-button.scss +78 -0
  15. package/build/components/custom-select/custom-select.css +19 -25
  16. package/build/components/custom-select-dropdown/custom-select-dropdown.css +1 -22
  17. package/build/components/custom-select-dropdown/custom-select-dropdown.scss +1 -0
  18. package/build/components/custom-select-form-field/custom-select-form-field.css +0 -22
  19. package/build/components/custom-select-list/custom-select-list.css +0 -22
  20. package/build/components/custom-select-list-item/custom-select-list-item.css +36 -28
  21. package/build/components/divider/divider.css +0 -10
  22. package/build/components/drawer/drawer.css +4 -14
  23. package/build/components/drawer/drawer.scss +4 -0
  24. package/build/components/header/header.css +0 -22
  25. package/build/components/icon/icon.css +0 -10
  26. package/build/components/infotext/infotext.css +4 -18
  27. package/build/components/infotext/infotext.scss +4 -0
  28. package/build/components/input/input.css +19 -25
  29. package/build/components/link/link.css +73 -34
  30. package/build/components/navigation/navigation.css +0 -22
  31. package/build/components/navigation-item/navigation-item.css +111 -43
  32. package/build/components/navigation-item/navigation-item.scss +2 -1
  33. package/build/components/notification/notification.css +37 -28
  34. package/build/components/page/page.css +0 -10
  35. package/build/components/popover/popover.css +26 -14
  36. package/build/components/radio/radio.css +0 -22
  37. package/build/components/section/section.css +0 -14
  38. package/build/components/select/select.css +19 -25
  39. package/build/components/stack/stack-web-component.css +0 -10
  40. package/build/components/stack/stack.css +0 -10
  41. package/build/components/switch/switch.css +1 -22
  42. package/build/components/tab-item/tab-item.css +52 -32
  43. package/build/components/tab-list/tab-list.css +0 -22
  44. package/build/components/tab-panel/tab-panel.css +0 -10
  45. package/build/components/tabs/tabs.css +2 -22
  46. package/build/components/tabs/tabs.scss +2 -0
  47. package/build/components/tag/tag.css +859 -150
  48. package/build/components/textarea/textarea.css +18 -25
  49. package/build/components/tooltip/tooltip.css +30 -23
  50. package/build/components/tooltip/tooltip.scss +12 -10
  51. package/build/styles/absolute.css +10 -10
  52. package/build/styles/index.css +9 -9
  53. package/build/styles/index.scss +1 -0
  54. package/build/styles/internal/_button-components.scss +140 -2
  55. package/build/styles/internal/_custom-elements.scss +1 -1
  56. package/build/styles/internal/_icon-passing.scss +23 -3
  57. package/build/styles/internal/_popover-component.scss +19 -9
  58. package/build/styles/internal/_tag-components.scss +1 -0
  59. package/build/styles/relative.css +10 -10
  60. package/build/styles/rollup.css +10 -10
  61. package/build/styles/wc-workarounds.css +1 -1
  62. package/build/styles/webpack.css +10 -10
  63. package/package.json +10 -9
@@ -1,13 +1,3 @@
1
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
2
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
3
- /* The primary use-case for responsive spacings are
4
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
- /* Elevation */
6
- /* Border */
7
- /* Opacity */
8
- /* Transitions */
9
- /* Screen sizes */
10
- /* Container sizes */
11
1
  /* Variants for adaptive components like input, select, notification, ... */
12
2
  @layer variables {}
13
3
 
@@ -58,10 +48,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
58
48
  transform: rotate(1turn);
59
49
  }
60
50
  }
61
- /**
62
- * @mixin screen-min-max
63
- * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
64
- */
65
51
  .db-popover > article {
66
52
  border: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-60-default);
67
53
  }
@@ -74,10 +60,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
74
60
  .db-popover > article:not([data-placement], [data-corrected-placement]), .db-popover > article[data-placement=bottom]:not([data-corrected-placement]), .db-popover > article[data-placement=top]:not([data-corrected-placement]), .db-popover > article[data-corrected-placement=bottom], .db-popover > article[data-corrected-placement=top] {
75
61
  --db-popover-center-x: -50%;
76
62
  inset-inline-start: 50%;
63
+ transform: translateX(var(--db-popover-center-x, 0));
77
64
  }
78
65
  .db-popover > article[data-corrected-placement=left], .db-popover > article[data-corrected-placement=right], .db-popover > article[data-placement=left]:not([data-corrected-placement]), .db-popover > article[data-placement=right]:not([data-corrected-placement]) {
79
66
  --db-popover-center-y: -50%;
80
67
  inset-block-start: 50%;
68
+ transform: translateY(var(--db-popover-center-y, 0));
81
69
  }
82
70
 
83
71
  .db-popover > article {
@@ -174,6 +162,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
174
162
  opacity: 1;
175
163
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
176
164
  }
165
+ @media screen and (prefers-reduced-motion: reduce) {
166
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement]):not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-open=true] {
167
+ opacity: 1;
168
+ transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
169
+ }
170
+ }
177
171
  @media screen and (prefers-reduced-motion: no-preference) {
178
172
  .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=true][data-open=true] {
179
173
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
@@ -199,6 +193,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
199
193
  opacity: 1;
200
194
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
201
195
  }
196
+ @media screen and (prefers-reduced-motion: reduce) {
197
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-open=true] {
198
+ opacity: 1;
199
+ transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
200
+ }
201
+ }
202
202
  @media screen and (prefers-reduced-motion: no-preference) {
203
203
  .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=true][data-open=true] {
204
204
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
@@ -224,6 +224,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
224
224
  opacity: 1;
225
225
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
226
226
  }
227
+ @media screen and (prefers-reduced-motion: reduce) {
228
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-open=true] {
229
+ opacity: 1;
230
+ transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
231
+ }
232
+ }
227
233
  @media screen and (prefers-reduced-motion: no-preference) {
228
234
  .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=true][data-open=true] {
229
235
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
@@ -249,6 +255,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
249
255
  opacity: 1;
250
256
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
251
257
  }
258
+ @media screen and (prefers-reduced-motion: reduce) {
259
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-open=true] {
260
+ opacity: 1;
261
+ transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
262
+ }
263
+ }
252
264
  @media screen and (prefers-reduced-motion: no-preference) {
253
265
  .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=true][data-open=true] {
254
266
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
@@ -1,13 +1,3 @@
1
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
2
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
3
- /* The primary use-case for responsive spacings are
4
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
- /* Elevation */
6
- /* Border */
7
- /* Opacity */
8
- /* Transitions */
9
- /* Screen sizes */
10
- /* Container sizes */
11
1
  /* Variants for adaptive components like input, select, notification, ... */
12
2
  .db-visually-hidden,
13
3
  [data-visually-hidden=true] {
@@ -62,12 +52,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
62
52
 
63
53
  @layer variables {}
64
54
 
65
- /**
66
- Generates 3 types of placeholders, e.g:
67
- - %db-component-variables-md
68
- - %db-font-size-md
69
- - %db-overwrite-font-size-md
70
- */
71
55
  @layer variables {}
72
56
 
73
57
  @layer variables {}
@@ -142,12 +126,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
142
126
 
143
127
  @layer variables {}
144
128
 
145
- /* Use for body tags like <p> */
146
- /* Use for headline tags like <h1> */
147
- /**
148
- * @mixin screen-min-max
149
- * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
150
- */
151
129
  .db-radio {
152
130
  /* stylelint-disable-next-line at-rule-empty-line-before */
153
131
  /* stylelint-disable-next-line at-rule-empty-line-before */
@@ -1,13 +1,3 @@
1
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
2
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
3
- /* The primary use-case for responsive spacings are
4
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
- /* Elevation */
6
- /* Border */
7
- /* Opacity */
8
- /* Transitions */
9
- /* Screen sizes */
10
- /* Container sizes */
11
1
  /* Variants for adaptive components like input, select, notification, ... */
12
2
  @layer variables {}
13
3
 
@@ -43,10 +33,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
43
33
 
44
34
  @layer variables {}
45
35
 
46
- /**
47
- * @mixin screen-min-max
48
- * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
49
- */
50
36
  .db-section {
51
37
  /* stylelint-disable-next-line at-rule-empty-line-before */
52
38
  }
@@ -1,13 +1,3 @@
1
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
2
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
3
- /* The primary use-case for responsive spacings are
4
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
- /* Elevation */
6
- /* Border */
7
- /* Opacity */
8
- /* Transitions */
9
- /* Screen sizes */
10
- /* Container sizes */
11
1
  /* Variants for adaptive components like input, select, notification, ... */
12
2
  .db-select[data-hide-label=true] > label, .db-visually-hidden,
13
3
  [data-visually-hidden=true] {
@@ -387,6 +377,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
387
377
  text-transform: none;
388
378
  overflow: clip;
389
379
  vertical-align: var(--db-icon-vertical-align, middle);
380
+ /* stylelint-disable-next-line db-ux/use-sizing */
390
381
  block-size: var(--db-icon-font-size, 1.5rem);
391
382
  aspect-ratio: 1;
392
383
  flex-shrink: 0;
@@ -408,12 +399,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
408
399
  }
409
400
  }
410
401
 
411
- /**
412
- Generates 3 types of placeholders, e.g:
413
- - %db-component-variables-md
414
- - %db-font-size-md
415
- - %db-overwrite-font-size-md
416
- */
417
402
  @layer variables {}
418
403
 
419
404
  @layer variables {}
@@ -516,12 +501,6 @@ input[type=radio]:checked) > label {
516
501
 
517
502
  @layer variables {}
518
503
 
519
- /* Use for body tags like <p> */
520
- /* Use for headline tags like <h1> */
521
- /**
522
- * @mixin screen-min-max
523
- * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
524
- */
525
504
  .db-select select {
526
505
  border: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-100-default);
527
506
  }
@@ -882,14 +861,29 @@ input[type=radio]:checked) select:is([type=date],
882
861
  padding-inline: var(--db-form-component-padding-inline-start, var(--db-spacing-fixed-sm)) var(--db-form-component-padding-inline-end, var(--db-spacing-fixed-sm));
883
862
  /* stylelint-disable-next-line a11y/selector-pseudo-class-focus */
884
863
  }
885
- .db-select select:hover:not(:disabled, [aria-disabled=true]) {
864
+ .db-select select:hover:not(:disabled,
865
+ [aria-disabled=true],
866
+ [tabindex="-1"],
867
+ :has(:disabled)) {
886
868
  cursor: var(--db-overwrite-cursor, pointer);
887
869
  background-color: var(--db-adaptive-bg-basic-transparent-semi-hovered);
888
870
  }
889
- .db-select select:hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-select select:hover:not(:disabled, [aria-disabled=true]):is(input) {
871
+ .db-select select:hover:not(:disabled,
872
+ [aria-disabled=true],
873
+ [tabindex="-1"],
874
+ :has(:disabled)):is(textarea), .db-select select:hover:not(:disabled,
875
+ [aria-disabled=true],
876
+ [tabindex="-1"],
877
+ :has(:disabled)):is(input) {
890
878
  cursor: initial;
891
879
  }
892
- .db-select select:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-select select:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
880
+ .db-select select:hover:not(:disabled,
881
+ [aria-disabled=true],
882
+ [tabindex="-1"],
883
+ :has(:disabled)):is(input[type=checkbox]), .db-select select:hover:not(:disabled,
884
+ [aria-disabled=true],
885
+ [tabindex="-1"],
886
+ :has(:disabled)):is(input[type=radio]:not(:checked)) {
893
887
  cursor: pointer;
894
888
  }
895
889
  .db-select > label {
@@ -1,13 +1,3 @@
1
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
2
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
3
- /* The primary use-case for responsive spacings are
4
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
- /* Elevation */
6
- /* Border */
7
- /* Opacity */
8
- /* Transitions */
9
- /* Screen sizes */
10
- /* Container sizes */
11
1
  /* Variants for adaptive components like input, select, notification, ... */
12
2
  @layer variables {}
13
3
 
@@ -1,13 +1,3 @@
1
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
2
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
3
- /* The primary use-case for responsive spacings are
4
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
- /* Elevation */
6
- /* Border */
7
- /* Opacity */
8
- /* Transitions */
9
- /* Screen sizes */
10
- /* Container sizes */
11
1
  /* Variants for adaptive components like input, select, notification, ... */
12
2
  @layer variables {}
13
3
 
@@ -1,14 +1,4 @@
1
1
  @charset "UTF-8";
2
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
3
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
4
- /* The primary use-case for responsive spacings are
5
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
6
- /* Elevation */
7
- /* Border */
8
- /* Opacity */
9
- /* Transitions */
10
- /* Screen sizes */
11
- /* Container sizes */
12
2
  /* Variants for adaptive components like input, select, notification, ... */
13
3
  .db-visually-hidden,
14
4
  [data-visually-hidden=true] {
@@ -63,12 +53,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
63
53
 
64
54
  @layer variables {}
65
55
 
66
- /**
67
- Generates 3 types of placeholders, e.g:
68
- - %db-component-variables-md
69
- - %db-font-size-md
70
- - %db-overwrite-font-size-md
71
- */
72
56
  @layer variables {}
73
57
 
74
58
  @layer variables {}
@@ -153,8 +137,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
153
137
 
154
138
  @layer variables {}
155
139
 
156
- /* Use for body tags like <p> */
157
- /* Use for headline tags like <h1> */
158
140
  .db-switch input:not([data-show-icon-trailing=false])::after, .db-switch[data-visual-aid=true] input:checked:not([data-aid-icon]):not([data-show-icon-trailing=false])::after {
159
141
  color: var(--db-icon-color, inherit);
160
142
  display: inline-block;
@@ -174,6 +156,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
174
156
  text-transform: none;
175
157
  overflow: clip;
176
158
  vertical-align: var(--db-icon-vertical-align, middle);
159
+ /* stylelint-disable-next-line db-ux/use-sizing */
177
160
  block-size: var(--db-icon-font-size, 1.5rem);
178
161
  aspect-ratio: 1;
179
162
  flex-shrink: 0;
@@ -195,10 +178,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
195
178
  }
196
179
  }
197
180
 
198
- /**
199
- * @mixin screen-min-max
200
- * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
201
- */
202
181
  .db-switch > db-infotext > .db-infotext,
203
182
  .db-switch > .db-infotext {
204
183
  margin-block-start: var(--db-spacing-fixed-2xs);
@@ -1,13 +1,3 @@
1
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
2
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
3
- /* The primary use-case for responsive spacings are
4
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
- /* Elevation */
6
- /* Border */
7
- /* Opacity */
8
- /* Transitions */
9
- /* Screen sizes */
10
- /* Container sizes */
11
1
  /* Variants for adaptive components like input, select, notification, ... */
12
2
  .db-visually-hidden,
13
3
  [data-visually-hidden=true] {
@@ -76,16 +66,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
76
66
  border-radius: var(--db-border-radius-xs);
77
67
  }
78
68
 
79
- /**
80
- * @mixin screen-min-max
81
- * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
82
- */
83
- /**
84
- Generates 3 types of placeholders, e.g:
85
- - %db-component-variables-md
86
- - %db-font-size-md
87
- - %db-overwrite-font-size-md
88
- */
89
69
  @layer variables {}
90
70
 
91
71
  @layer variables {}
@@ -140,8 +120,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
140
120
 
141
121
  @layer variables {}
142
122
 
143
- /* Use for body tags like <p> */
144
- /* Use for headline tags like <h1> */
145
123
  .db-tab-item {
146
124
  position: relative;
147
125
  list-style-type: "";
@@ -168,34 +146,76 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
168
146
  .db-tab-item label:not([hidden]) {
169
147
  display: inline-block;
170
148
  }
171
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]) {
149
+ .db-tab-item label:hover:not(:disabled,
150
+ [aria-disabled=true],
151
+ [tabindex="-1"],
152
+ :has(:disabled)) {
172
153
  cursor: var(--db-overwrite-cursor, pointer);
173
154
  }
174
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):has(:not(input:disabled)) {
155
+ .db-tab-item label:hover:not(:disabled,
156
+ [aria-disabled=true],
157
+ [tabindex="-1"],
158
+ :has(:disabled)):has(:not(input:disabled)) {
175
159
  background-color: var(--db-adaptive-bg-basic-transparent-full-hovered);
176
160
  }
177
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):has(input:disabled) {
161
+ .db-tab-item label:hover:not(:disabled,
162
+ [aria-disabled=true],
163
+ [tabindex="-1"],
164
+ :has(:disabled)):has(input:disabled) {
178
165
  cursor: initial;
179
166
  }
180
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(input) {
167
+ .db-tab-item label:hover:not(:disabled,
168
+ [aria-disabled=true],
169
+ [tabindex="-1"],
170
+ :has(:disabled)):is(textarea), .db-tab-item label:hover:not(:disabled,
171
+ [aria-disabled=true],
172
+ [tabindex="-1"],
173
+ :has(:disabled)):is(input) {
181
174
  cursor: initial;
182
175
  }
183
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
176
+ .db-tab-item label:hover:not(:disabled,
177
+ [aria-disabled=true],
178
+ [tabindex="-1"],
179
+ :has(:disabled)):is(input[type=checkbox]), .db-tab-item label:hover:not(:disabled,
180
+ [aria-disabled=true],
181
+ [tabindex="-1"],
182
+ :has(:disabled)):is(input[type=radio]:not(:checked)) {
184
183
  cursor: pointer;
185
184
  }
186
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]) {
185
+ .db-tab-item label:hover:not(:disabled,
186
+ [aria-disabled=true],
187
+ [tabindex="-1"],
188
+ :has(:disabled)) {
187
189
  cursor: var(--db-overwrite-cursor, pointer);
188
190
  }
189
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):has(:not(input:disabled)) {
191
+ .db-tab-item label:hover:not(:disabled,
192
+ [aria-disabled=true],
193
+ [tabindex="-1"],
194
+ :has(:disabled)):has(:not(input:disabled)) {
190
195
  background-color: var(--db-adaptive-bg-basic-transparent-full-hovered);
191
196
  }
192
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):has(input:disabled) {
197
+ .db-tab-item label:hover:not(:disabled,
198
+ [aria-disabled=true],
199
+ [tabindex="-1"],
200
+ :has(:disabled)):has(input:disabled) {
193
201
  cursor: initial;
194
202
  }
195
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(input) {
203
+ .db-tab-item label:hover:not(:disabled,
204
+ [aria-disabled=true],
205
+ [tabindex="-1"],
206
+ :has(:disabled)):is(textarea), .db-tab-item label:hover:not(:disabled,
207
+ [aria-disabled=true],
208
+ [tabindex="-1"],
209
+ :has(:disabled)):is(input) {
196
210
  cursor: initial;
197
211
  }
198
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
212
+ .db-tab-item label:hover:not(:disabled,
213
+ [aria-disabled=true],
214
+ [tabindex="-1"],
215
+ :has(:disabled)):is(input[type=checkbox]), .db-tab-item label:hover:not(:disabled,
216
+ [aria-disabled=true],
217
+ [tabindex="-1"],
218
+ :has(:disabled)):is(input[type=radio]:not(:checked)) {
199
219
  cursor: pointer;
200
220
  }
201
221
  .db-tab-item label:has(input:checked) {
@@ -1,13 +1,3 @@
1
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
2
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
3
- /* The primary use-case for responsive spacings are
4
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
- /* Elevation */
6
- /* Border */
7
- /* Opacity */
8
- /* Transitions */
9
- /* Screen sizes */
10
- /* Container sizes */
11
1
  /* Variants for adaptive components like input, select, notification, ... */
12
2
  .db-visually-hidden,
13
3
  [data-visually-hidden=true] {
@@ -81,12 +71,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
81
71
  transform: rotate(1turn);
82
72
  }
83
73
  }
84
- /**
85
- Generates 3 types of placeholders, e.g:
86
- - %db-component-variables-md
87
- - %db-font-size-md
88
- - %db-overwrite-font-size-md
89
- */
90
74
  @layer variables {}
91
75
 
92
76
  @layer variables {}
@@ -151,12 +135,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
151
135
 
152
136
  @layer variables {}
153
137
 
154
- /* Use for body tags like <p> */
155
- /* Use for headline tags like <h1> */
156
- /**
157
- * @mixin screen-min-max
158
- * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
159
- */
160
138
  .db-tab-list > ul {
161
139
  /* Buttons */
162
140
  /* Up */
@@ -1,13 +1,3 @@
1
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
2
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
3
- /* The primary use-case for responsive spacings are
4
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
- /* Elevation */
6
- /* Border */
7
- /* Opacity */
8
- /* Transitions */
9
- /* Screen sizes */
10
- /* Container sizes */
11
1
  /* Variants for adaptive components like input, select, notification, ... */
12
2
  @layer variables {}
13
3
 
@@ -1,13 +1,3 @@
1
- /* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
2
- /* Use fixed spacings for all kind of distances (margin, padding, ...) */
3
- /* The primary use-case for responsive spacings are
4
- paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
- /* Elevation */
6
- /* Border */
7
- /* Opacity */
8
- /* Transitions */
9
- /* Screen sizes */
10
- /* Container sizes */
11
1
  /* Variants for adaptive components like input, select, notification, ... */
12
2
  .db-visually-hidden,
13
3
  [data-visually-hidden=true] {
@@ -62,12 +52,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
62
52
 
63
53
  @layer variables {}
64
54
 
65
- /**
66
- Generates 3 types of placeholders, e.g:
67
- - %db-component-variables-md
68
- - %db-font-size-md
69
- - %db-overwrite-font-size-md
70
- */
71
55
  @layer variables {}
72
56
 
73
57
  @layer variables {}
@@ -122,12 +106,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
122
106
 
123
107
  @layer variables {}
124
108
 
125
- /* Use for body tags like <p> */
126
- /* Use for headline tags like <h1> */
127
- /**
128
- * @mixin screen-min-max
129
- * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
130
- */
131
109
  .db-tabs .db-tab-item::after {
132
110
  content: "";
133
111
  position: absolute;
@@ -357,7 +335,9 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
357
335
  - min-inline-size: tab-list is not displayed narrower than defined
358
336
  - max-inline-size: tab-list is not displayed wider than defined
359
337
  */
338
+ /* stylelint-disable-next-line db-ux/use-sizing */
360
339
  min-inline-size: var(--db-tab-list-vertical-width, var(--db-sizing-3xl));
340
+ /* stylelint-disable-next-line db-ux/use-sizing */
361
341
  max-inline-size: var(--db-tab-list-vertical-width, var(--db-sizing-3xl));
362
342
  /* horizontal space to the tab panels */
363
343
  padding-inline-end: var(--db-spacing-fixed-xs);
@@ -191,7 +191,9 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
191
191
  - min-inline-size: tab-list is not displayed narrower than defined
192
192
  - max-inline-size: tab-list is not displayed wider than defined
193
193
  */
194
+ /* stylelint-disable-next-line db-ux/use-sizing */
194
195
  min-inline-size: $width;
196
+ /* stylelint-disable-next-line db-ux/use-sizing */
195
197
  max-inline-size: $width;
196
198
 
197
199
  /* horizontal space to the tab panels */