@db-ux/core-components 1.0.0 → 1.1.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 (32) hide show
  1. package/build/components/accordion/accordion.css +1 -1
  2. package/build/components/accordion/accordion.scss +2 -2
  3. package/build/components/accordion-item/accordion-item.css +16 -14
  4. package/build/components/accordion-item/accordion-item.scss +16 -6
  5. package/build/components/divider/divider.css +2 -2
  6. package/build/components/divider/divider.scss +4 -4
  7. package/build/components/drawer/drawer.css +17 -12
  8. package/build/components/drawer/drawer.scss +6 -3
  9. package/build/components/header/header.css +4 -4
  10. package/build/components/header/header.scss +4 -4
  11. package/build/components/link/link.css +0 -10
  12. package/build/components/navigation-item/navigation-item.css +2 -12
  13. package/build/components/navigation-item/navigation-item.scss +6 -6
  14. package/build/components/notification/notification.css +0 -10
  15. package/build/components/popover/popover.css +1 -11
  16. package/build/components/select/select.css +1 -1
  17. package/build/components/select/select.scss +2 -2
  18. package/build/components/switch/switch.css +3 -3
  19. package/build/components/tab-item/tab-item.css +9 -9
  20. package/build/components/tab-list/tab-list.css +0 -10
  21. package/build/components/tag/tag.css +0 -10
  22. package/build/components/textarea/textarea.css +0 -10
  23. package/build/components/tooltip/tooltip.css +1 -11
  24. package/build/styles/absolute.css +4 -4
  25. package/build/styles/component-animations.css +1 -1
  26. package/build/styles/index.css +4 -4
  27. package/build/styles/internal/_form-components.scss +12 -10
  28. package/build/styles/internal/_popover-component.scss +1 -1
  29. package/build/styles/relative.css +4 -4
  30. package/build/styles/rollup.css +4 -4
  31. package/build/styles/webpack.css +4 -4
  32. package/package.json +7 -7
@@ -22,9 +22,9 @@ The spacings are not part of the styling of the accordion items themselves.
22
22
  .db-accordion[data-variant=divider] db-accordion-item + db-accordion-item .db-accordion-item,
23
23
  .db-accordion[data-variant=divider] .db-accordion-item + .db-accordion-item, .db-accordion:not([data-variant]) db-accordion-item + db-accordion-item .db-accordion-item,
24
24
  .db-accordion:not([data-variant]) .db-accordion-item + .db-accordion-item {
25
+ margin-block-start: calc(2 * var(--db-spacing-fixed-sm));
25
26
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
26
27
  position: relative;
27
- margin-block-start: calc(2 * var(--db-spacing-fixed-sm));
28
28
  }
29
29
  .db-accordion[data-variant=divider] db-accordion-item + db-accordion-item .db-accordion-item[data-emphasis=strong],
30
30
  .db-accordion[data-variant=divider] .db-accordion-item + .db-accordion-item[data-emphasis=strong], .db-accordion:not([data-variant]) db-accordion-item + db-accordion-item .db-accordion-item[data-emphasis=strong],
@@ -22,11 +22,11 @@ The spacings are not part of the styling of the accordion items themselves.
22
22
  &[data-variant="divider"],
23
23
  &:not([data-variant]) {
24
24
  @include accordion-subsequent-item-selector() {
25
- @include helpers.divider($position: "top");
26
-
27
25
  // One space each before and after the divider results in a double spacing
28
26
  margin-block-start: calc(2 * #{variables.$db-spacing-fixed-sm});
29
27
 
28
+ @include helpers.divider($position: "top");
29
+
30
30
  // Moves the divider to the vertical center of the double spacing
31
31
  &::before {
32
32
  inset-block-start: calc(-1 * #{variables.$db-spacing-fixed-sm});
@@ -89,16 +89,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
89
89
  transform: translateY(-110%);
90
90
  }
91
91
  }
92
- @keyframes accordion-open {
93
- 0% {
94
- opacity: 0;
95
- transform: translateY(-10%);
96
- }
97
- 100% {
98
- opacity: 1;
99
- transform: translateY(0%);
100
- }
101
- }
102
92
  @keyframes popover-animation {
103
93
  0% {
104
94
  opacity: 0;
@@ -182,10 +172,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
182
172
  border-radius: var(--db-border-radius-sm);
183
173
  list-style-type: "";
184
174
  }
185
- @media screen and (prefers-reduced-motion: no-preference) {
186
- .db-accordion-item > details[open] summary + div {
187
- animation: accordion-open var(--db-transition-straight-emotional) normal both;
188
- }
175
+ .db-accordion-item > details[open] summary + div {
176
+ block-size: auto;
177
+ /* stylelint-disable-next-line declaration-property-value-no-unknown */
178
+ block-size: calc-size(auto, size);
189
179
  }
190
180
  .db-accordion-item > details[open] summary::after {
191
181
  transform: rotate(-180deg);
@@ -194,7 +184,19 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
194
184
  pointer-events: none;
195
185
  opacity: 0.4;
196
186
  }
187
+ @media screen and (prefers-reduced-motion: reduce) {
188
+ .db-accordion-item summary + div {
189
+ block-size: 0;
190
+ overflow: hidden;
191
+ transition: none;
192
+ padding: var(--db-spacing-fixed-md);
193
+ padding-block-end: var(--db-spacing-fixed-lg);
194
+ }
195
+ }
197
196
  .db-accordion-item summary + div {
197
+ block-size: 0;
198
+ overflow: hidden;
199
+ transition: block-size var(--db-transition-straight-emotional);
198
200
  padding: var(--db-spacing-fixed-md);
199
201
  padding-block-end: var(--db-spacing-fixed-lg);
200
202
  }
@@ -5,7 +5,6 @@
5
5
  @use "../../styles/internal/form-components";
6
6
  @use "../../styles/internal/component";
7
7
 
8
-
9
8
  .db-accordion-item {
10
9
  position: relative;
11
10
  inline-size: 100%;
@@ -15,11 +14,9 @@
15
14
  > details {
16
15
  &[open] {
17
16
  summary + div {
18
- @media screen and (prefers-reduced-motion: no-preference) {
19
- animation: accordion-open
20
- #{variables.$db-transition-straight-emotional} normal
21
- both;
22
- }
17
+ block-size: auto;
18
+ /* stylelint-disable-next-line declaration-property-value-no-unknown */
19
+ block-size: calc-size(auto, size);
23
20
  }
24
21
 
25
22
  summary::after {
@@ -33,7 +30,20 @@
33
30
  }
34
31
  }
35
32
 
33
+ @media screen and (prefers-reduced-motion: reduce) {
34
+ summary + div {
35
+ block-size: 0;
36
+ overflow: hidden;
37
+ transition: none;
38
+ padding: variables.$db-spacing-fixed-md;
39
+ padding-block-end: variables.$db-spacing-fixed-lg;
40
+ }
41
+ }
42
+
36
43
  summary + div {
44
+ block-size: 0;
45
+ overflow: hidden;
46
+ transition: block-size #{variables.$db-transition-straight-emotional};
37
47
  padding: variables.$db-spacing-fixed-md;
38
48
  padding-block-end: variables.$db-spacing-fixed-lg;
39
49
  }
@@ -19,9 +19,9 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
19
19
  margin: 0;
20
20
  }
21
21
  .db-divider:not([data-variant=vertical]) {
22
+ block-size: var(--db-border-height-3xs);
22
23
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
23
24
  position: relative;
24
- block-size: var(--db-border-height-3xs);
25
25
  }
26
26
  .db-divider:not([data-variant=vertical])[data-emphasis=strong] {
27
27
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
@@ -45,9 +45,9 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
45
45
  inline-size: 100%;
46
46
  }
47
47
  .db-divider[data-variant=vertical] {
48
+ inline-size: var(--db-border-height-3xs);
48
49
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
49
50
  position: relative;
50
- inline-size: var(--db-border-height-3xs);
51
51
  }
52
52
  .db-divider[data-variant=vertical][data-emphasis=strong] {
53
53
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
@@ -19,20 +19,20 @@
19
19
  }
20
20
 
21
21
  &:not([data-variant="vertical"]) {
22
- @include helpers.divider();
23
-
24
22
  block-size: variables.$db-border-height-3xs;
25
23
 
24
+ @include helpers.divider();
25
+
26
26
  &[data-width="full"] {
27
27
  inline-size: 100%;
28
28
  }
29
29
  }
30
30
 
31
31
  &[data-variant="vertical"] {
32
- @include helpers.divider("left");
33
-
34
32
  inline-size: variables.$db-border-height-3xs;
35
33
 
34
+ @include helpers.divider("left");
35
+
36
36
  &:is(:not([data-margin]), [data-margin="small"]) {
37
37
  margin: 0 variables.$db-spacing-fixed-sm;
38
38
  }
@@ -70,16 +70,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
70
70
  transform: translateY(-110%);
71
71
  }
72
72
  }
73
- @keyframes accordion-open {
74
- 0% {
75
- opacity: 0;
76
- transform: translateY(-10%);
77
- }
78
- 100% {
79
- opacity: 1;
80
- transform: translateY(0%);
81
- }
82
- }
83
73
  @keyframes popover-animation {
84
74
  0% {
85
75
  opacity: 0;
@@ -157,7 +147,10 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
157
147
  }
158
148
 
159
149
  .db-drawer .db-drawer-container {
160
- padding-block: var(--db-spacing-fixed-sm);
150
+ /* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector */
151
+ }
152
+ .db-drawer [data-spacing=small].db-drawer-container {
153
+ /* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector */
161
154
  }
162
155
  .db-drawer [data-spacing=small].db-drawer-container {
163
156
  padding-block: var(--db-spacing-fixed-xs);
@@ -172,6 +165,9 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
172
165
  padding-inline: var(--db-drawer-content-padding-inline, var(--db-spacing-fixed-md));
173
166
  overflow-y: auto;
174
167
  }
168
+ .db-drawer .db-drawer-container {
169
+ padding-block: var(--db-spacing-fixed-sm);
170
+ }
175
171
  .db-drawer .db-drawer-container .db-drawer-header {
176
172
  /* stylelint-disable-next-line db-ux/use-spacings */
177
173
  padding-block-end: var(--db-drawer-header-padding-block-end, var(--db-spacing-fixed-sm));
@@ -182,6 +178,9 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
182
178
  padding-inline: var(--db-drawer-content-padding-inline, var(--db-spacing-fixed-lg));
183
179
  overflow-y: auto;
184
180
  }
181
+ .db-drawer [data-spacing=medium].db-drawer-container {
182
+ /* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector */
183
+ }
185
184
  .db-drawer [data-spacing=medium].db-drawer-container {
186
185
  padding-block: var(--db-spacing-fixed-sm);
187
186
  }
@@ -195,6 +194,9 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
195
194
  padding-inline: var(--db-drawer-content-padding-inline, var(--db-spacing-fixed-lg));
196
195
  overflow-y: auto;
197
196
  }
197
+ .db-drawer [data-spacing=large].db-drawer-container {
198
+ /* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector */
199
+ }
198
200
  .db-drawer [data-spacing=large].db-drawer-container {
199
201
  padding-block: var(--db-spacing-fixed-md);
200
202
  }
@@ -208,6 +210,9 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
208
210
  padding-inline: var(--db-drawer-content-padding-inline, var(--db-spacing-fixed-xl));
209
211
  overflow-y: auto;
210
212
  }
213
+ .db-drawer [data-spacing=none].db-drawer-container {
214
+ /* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector */
215
+ }
211
216
  .db-drawer [data-spacing=none].db-drawer-container {
212
217
  padding-block: 0;
213
218
  }
@@ -238,9 +243,9 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
238
243
  box-shadow: var(--db-elevation-md);
239
244
  }
240
245
  .db-drawer .db-drawer-container .db-drawer-header {
246
+ display: none;
241
247
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
242
248
  position: relative;
243
- display: none;
244
249
  }
245
250
  .db-drawer .db-drawer-container .db-drawer-header[data-emphasis=strong] {
246
251
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
@@ -76,7 +76,10 @@ $spacings: (
76
76
  );
77
77
 
78
78
  @mixin get-spacing($spacing) {
79
- padding-block: map.get($spacing, "block");
79
+ /* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector */
80
+ & {
81
+ padding-block: map.get($spacing, "block");
82
+ }
80
83
 
81
84
  .db-drawer-header {
82
85
  // We need this variable to overwrite it inside the header
@@ -149,10 +152,10 @@ $spacings: (
149
152
  }
150
153
 
151
154
  .db-drawer-header {
152
- @include helpers.divider("bottom");
153
-
154
155
  display: none;
155
156
 
157
+ @include helpers.divider("bottom");
158
+
156
159
  .db-drawer-header-text {
157
160
  margin-block: auto;
158
161
  font-weight: 700;
@@ -401,14 +401,14 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
401
401
  }
402
402
 
403
403
  .db-header-meta-navigation {
404
- --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
405
- position: relative;
406
404
  display: flex;
407
405
  flex-direction: column;
408
406
  gap: var(--db-spacing-fixed-sm);
409
407
  justify-content: flex-end;
410
408
  background-color: var(--db-adaptive-bg-basic-level-2-default);
411
409
  padding: var(--db-spacing-fixed-md);
410
+ --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
411
+ position: relative;
412
412
  /* stylelint-disable at-rule-empty-line-before */
413
413
  /* stylelint-enable at-rule-empty-line-before */
414
414
  /* stylelint-disable-next-line media-query-no-invalid */
@@ -566,12 +566,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
566
566
  }
567
567
 
568
568
  .db-header-secondary-action {
569
- --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
570
- position: relative;
571
569
  flex: 0 1 auto;
572
570
  flex-grow: 0;
573
571
  flex-shrink: 0;
574
572
  padding-block-start: var(--db-spacing-fixed-xs);
573
+ --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
574
+ position: relative;
575
575
  /* stylelint-disable at-rule-empty-line-before */
576
576
  /* stylelint-enable at-rule-empty-line-before */
577
577
  /* stylelint-disable-next-line media-query-no-invalid */
@@ -69,8 +69,6 @@
69
69
  .db-header-meta-navigation {
70
70
  @extend %db-density-functional;
71
71
 
72
- @include helpers.divider("top");
73
-
74
72
  display: flex;
75
73
  flex-direction: column;
76
74
  gap: variables.$db-spacing-fixed-sm;
@@ -78,6 +76,8 @@
78
76
  background-color: colors.$db-adaptive-bg-basic-level-2-default;
79
77
  padding: variables.$db-spacing-fixed-md;
80
78
 
79
+ @include helpers.divider("top");
80
+
81
81
  @include screen-sizes.screen("md") {
82
82
  padding: variables.$db-spacing-fixed-xs variables.$db-spacing-fixed-lg;
83
83
  margin: 0;
@@ -162,13 +162,13 @@
162
162
  }
163
163
 
164
164
  .db-header-secondary-action {
165
- @include helpers.divider("top");
166
-
167
165
  flex: 0 1 auto;
168
166
  flex-grow: 0;
169
167
  flex-shrink: 0;
170
168
  padding-block-start: variables.$db-spacing-fixed-xs;
171
169
 
170
+ @include helpers.divider("top");
171
+
172
172
  @include screen-sizes.screen("md") {
173
173
  &::before {
174
174
  display: none;
@@ -99,16 +99,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
99
99
  transform: translateY(-110%);
100
100
  }
101
101
  }
102
- @keyframes accordion-open {
103
- 0% {
104
- opacity: 0;
105
- transform: translateY(-10%);
106
- }
107
- 100% {
108
- opacity: 1;
109
- transform: translateY(0%);
110
- }
111
- }
112
102
  @keyframes popover-animation {
113
103
  0% {
114
104
  opacity: 0;
@@ -87,16 +87,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
87
87
  transform: translateY(-110%);
88
88
  }
89
89
  }
90
- @keyframes accordion-open {
91
- 0% {
92
- opacity: 0;
93
- transform: translateY(-10%);
94
- }
95
- 100% {
96
- opacity: 1;
97
- transform: translateY(0%);
98
- }
99
- }
100
90
  @keyframes popover-animation {
101
91
  0% {
102
92
  opacity: 0;
@@ -454,13 +444,13 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
454
444
  }
455
445
 
456
446
  .db-mobile-navigation-back {
457
- --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
458
- position: relative;
459
447
  display: flex;
460
448
  font-weight: normal;
461
449
  background-color: var(--db-adaptive-bg-basic-level-1-default);
462
450
  padding-block-end: var(--db-spacing-fixed-md);
463
451
  margin-block-end: var(--db-spacing-fixed-md);
452
+ --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
453
+ position: relative;
464
454
  }
465
455
  .db-mobile-navigation-back[data-emphasis=strong] {
466
456
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
@@ -23,14 +23,14 @@
23
23
  // show/hide sub-navigation by click
24
24
  &[aria-expanded="true"] {
25
25
  ~ .db-sub-navigation {
26
+ visibility: visible;
27
+
26
28
  @media screen and (prefers-reduced-motion: no-preference) {
27
29
  transition: visibility 0ms linear 0ms;
28
30
  animation: show-right-to-left
29
31
  #{variables.$db-transition-straight-show};
30
32
  }
31
33
 
32
- visibility: visible;
33
-
34
34
  .db-sub-navigation {
35
35
  inset-block: 0;
36
36
  }
@@ -118,10 +118,10 @@
118
118
  @extend %sub-navi-handler-desktop;
119
119
  @extend %navigation-item;
120
120
 
121
+ font-weight: inherit;
122
+
121
123
  // default icon for navigation
122
124
  @include icons.set-icon("chevron_right", "after");
123
-
124
- font-weight: inherit;
125
125
  }
126
126
  }
127
127
 
@@ -300,11 +300,11 @@
300
300
  }
301
301
 
302
302
  .db-mobile-navigation-back {
303
- @include helpers.divider("bottom");
304
-
305
303
  display: flex;
306
304
  font-weight: normal;
307
305
  background-color: colors.$db-adaptive-bg-basic-level-1-default;
308
306
  padding-block-end: variables.$db-spacing-fixed-md;
309
307
  margin-block-end: variables.$db-spacing-fixed-md;
308
+
309
+ @include helpers.divider("bottom");
310
310
  }
@@ -865,16 +865,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
865
865
  transform: translateY(-110%);
866
866
  }
867
867
  }
868
- @keyframes accordion-open {
869
- 0% {
870
- opacity: 0;
871
- transform: translateY(-10%);
872
- }
873
- 100% {
874
- opacity: 1;
875
- transform: translateY(0%);
876
- }
877
- }
878
868
  @keyframes popover-animation {
879
869
  0% {
880
870
  opacity: 0;
@@ -70,16 +70,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
70
70
  transform: translateY(-110%);
71
71
  }
72
72
  }
73
- @keyframes accordion-open {
74
- 0% {
75
- opacity: 0;
76
- transform: translateY(-10%);
77
- }
78
- 100% {
79
- opacity: 1;
80
- transform: translateY(0%);
81
- }
82
- }
83
73
  @keyframes popover-animation {
84
74
  0% {
85
75
  opacity: 0;
@@ -256,7 +246,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
256
246
  background-color: var(--db-adaptive-bg-basic-level-1-default);
257
247
  box-shadow: var(--db-elevation-md);
258
248
  display: none;
259
- z-index: 1;
249
+ z-index: 1337;
260
250
  white-space: nowrap;
261
251
  }
262
252
  .db-popover > article[data-width=fixed] {
@@ -439,11 +439,11 @@ select:is(input, textarea):not(:placeholder-shown),
439
439
  --db-form-component-padding-inline-end: calc(
440
440
  calc(var(--db-base-font-size) * var(--db-base-line-height)) + var(--db-spacing-fixed-sm)
441
441
  );
442
+ min-inline-size: calc(4 * var(--db-sizing-md) + var(--db-form-has-before) * var(--db-sizing-md));
442
443
  --db-form-has-before: 0;
443
444
  position: relative;
444
445
  display: flex;
445
446
  flex-direction: column;
446
- min-inline-size: calc(4 * var(--db-sizing-md) + var(--db-form-has-before) * var(--db-sizing-md));
447
447
  }
448
448
  .db-select[data-variant=floating] label {
449
449
  opacity: 0.69;
@@ -26,13 +26,13 @@ $has-before-padding: calc(
26
26
  // shared from form-components
27
27
  @extend %select-icon;
28
28
 
29
- @include form-components.set-default-form-component(select);
30
-
31
29
  min-inline-size: calc(
32
30
  4 * #{variables.$db-sizing-md} + var(--db-form-has-before) *
33
31
  #{variables.$db-sizing-md}
34
32
  );
35
33
 
34
+ @include form-components.set-default-form-component(select);
35
+
36
36
  select {
37
37
  text-indent: $has-before-padding;
38
38
  }
@@ -863,15 +863,15 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
863
863
  background-color: var(--db-adaptive-bg-inverted-contrast-low-pressed);
864
864
  border-color: var(--db-adaptive-on-bg-basic-emphasis-70-pressed);
865
865
  }
866
+ .db-switch[data-emphasis=strong] > input:active:not(:disabled, [aria-disabled=true])::before {
867
+ block-size: calc(calc(var(--db-base-font-size) * var(--db-base-line-height)) - 0.125rem * 2);
868
+ }
866
869
  .db-switch[data-emphasis=strong] > input:active:not(:disabled, [aria-disabled=true]):is(textarea), .db-switch[data-emphasis=strong] > input:active:not(:disabled, [aria-disabled=true]):is(input) {
867
870
  cursor: initial;
868
871
  }
869
872
  .db-switch[data-emphasis=strong] > input:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-switch[data-emphasis=strong] > input:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
870
873
  cursor: pointer;
871
874
  }
872
- .db-switch[data-emphasis=strong] > input:active:not(:disabled, [aria-disabled=true])::before {
873
- block-size: calc(calc(var(--db-base-font-size) * var(--db-base-line-height)) - 0.125rem * 2);
874
- }
875
875
  .db-switch[data-emphasis=strong] > input:not(:checked) {
876
876
  --thumb-offset-x: 0;
877
877
  }
@@ -70,33 +70,33 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
70
70
  .db-tab-item label:hover:not(:disabled, [aria-disabled=true]) {
71
71
  cursor: pointer;
72
72
  }
73
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(input) {
74
- cursor: initial;
75
- }
76
- .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)) {
77
- cursor: pointer;
78
- }
79
73
  .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):has(:not(input:disabled)) {
80
74
  background-color: var(--db-adaptive-bg-basic-transparent-hovered);
81
75
  }
82
76
  .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):has(input:disabled) {
83
77
  cursor: initial;
84
78
  }
85
- .db-tab-item label:hover:not(:disabled, [aria-disabled=true]) {
86
- cursor: pointer;
87
- }
88
79
  .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(input) {
89
80
  cursor: initial;
90
81
  }
91
82
  .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)) {
92
83
  cursor: pointer;
93
84
  }
85
+ .db-tab-item label:hover:not(:disabled, [aria-disabled=true]) {
86
+ cursor: pointer;
87
+ }
94
88
  .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):has(:not(input:disabled)) {
95
89
  background-color: var(--db-adaptive-bg-basic-transparent-hovered);
96
90
  }
97
91
  .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):has(input:disabled) {
98
92
  cursor: initial;
99
93
  }
94
+ .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-tab-item label:hover:not(:disabled, [aria-disabled=true]):is(input) {
95
+ cursor: initial;
96
+ }
97
+ .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)) {
98
+ cursor: pointer;
99
+ }
100
100
  .db-tab-item label:has(input:checked) {
101
101
  font-weight: 700;
102
102
  }
@@ -93,16 +93,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
93
93
  transform: translateY(-110%);
94
94
  }
95
95
  }
96
- @keyframes accordion-open {
97
- 0% {
98
- opacity: 0;
99
- transform: translateY(-10%);
100
- }
101
- 100% {
102
- opacity: 1;
103
- transform: translateY(0%);
104
- }
105
- }
106
96
  @keyframes popover-animation {
107
97
  0% {
108
98
  opacity: 0;
@@ -73,16 +73,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
73
73
  transform: translateY(-110%);
74
74
  }
75
75
  }
76
- @keyframes accordion-open {
77
- 0% {
78
- opacity: 0;
79
- transform: translateY(-10%);
80
- }
81
- 100% {
82
- opacity: 1;
83
- transform: translateY(0%);
84
- }
85
- }
86
76
  @keyframes popover-animation {
87
77
  0% {
88
78
  opacity: 0;
@@ -160,16 +160,6 @@ textarea:is(input, textarea):not(:placeholder-shown),
160
160
  transform: translateY(-110%);
161
161
  }
162
162
  }
163
- @keyframes accordion-open {
164
- 0% {
165
- opacity: 0;
166
- transform: translateY(-10%);
167
- }
168
- 100% {
169
- opacity: 1;
170
- transform: translateY(0%);
171
- }
172
- }
173
163
  @keyframes popover-animation {
174
164
  0% {
175
165
  opacity: 0;
@@ -86,16 +86,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
86
86
  transform: translateY(-110%);
87
87
  }
88
88
  }
89
- @keyframes accordion-open {
90
- 0% {
91
- opacity: 0;
92
- transform: translateY(-10%);
93
- }
94
- 100% {
95
- opacity: 1;
96
- transform: translateY(0%);
97
- }
98
- }
99
89
  @keyframes popover-animation {
100
90
  0% {
101
91
  opacity: 0;
@@ -272,7 +262,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
272
262
  background-color: var(--db-adaptive-bg-basic-level-1-default);
273
263
  box-shadow: var(--db-elevation-md);
274
264
  display: none;
275
- z-index: 1;
265
+ z-index: 1337;
276
266
  white-space: nowrap;
277
267
  }
278
268
  [data-width=fixed].db-tooltip {