@db-ux/core-components 4.5.3 → 4.5.4-mcp-server-6cda8b3
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 +25 -16
- package/build/components/accordion-item/accordion-item.css +2 -2
- package/build/components/accordion-item/accordion-item.scss +1 -1
- package/build/components/custom-button/custom-button.css +1 -1
- package/build/components/custom-select/custom-select.css +6 -6
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +3 -3
- package/build/components/custom-select-dropdown/custom-select-dropdown.scss +1 -1
- package/build/components/custom-select-list-item/custom-select-list-item.css +1 -1
- package/build/components/drawer/drawer.css +2 -2
- package/build/components/drawer/drawer.scss +2 -2
- package/build/components/header/header.css +22 -22
- package/build/components/input/input.css +6 -6
- package/build/components/input/input.scss +1 -1
- package/build/components/navigation/navigation.css +12 -12
- package/build/components/navigation/navigation.scss +1 -1
- package/build/components/navigation-item/navigation-item.css +11 -11
- package/build/components/navigation-item/navigation-item.scss +2 -2
- package/build/components/page/page.css +47 -41
- package/build/components/page/page.scss +31 -27
- package/build/components/popover/popover.css +12 -12
- package/build/components/radio/radio.css +1 -1
- package/build/components/radio/radio.scss +1 -1
- package/build/components/select/select.css +5 -5
- package/build/components/switch/switch.css +3 -6
- package/build/components/switch/switch.scss +3 -7
- package/build/components/tab-item/tab-item.css +1 -1
- package/build/components/tabs/tabs.css +3 -3
- package/build/components/textarea/textarea.css +3 -3
- package/build/components/tooltip/tooltip.css +12 -12
- package/build/styles/absolute.css +7 -7
- package/build/styles/index.css +7 -7
- package/build/styles/internal/_db-puls.scss +3 -3
- package/build/styles/internal/_form-components.scss +3 -3
- package/build/styles/internal/_popover-component.scss +2 -2
- package/build/styles/internal/_select-components.scss +1 -1
- package/build/styles/relative.css +7 -7
- package/build/styles/rollup.css +7 -7
- package/build/styles/webpack.css +7 -7
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
# @db-ux/core-components
|
|
2
2
|
|
|
3
|
+
## 4.5.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- refactor: Enhance the accessibility of the navigation components by adding missing WAI-ARIA attributes (`aria-controls`, `aria-label`, `aria-haspopup`) for better screen reader support. - [see commit f040188](https://github.com/db-ux-design-system/core-web/commit/f0401886267359518c37062373bb0f9df311214c)
|
|
8
|
+
|
|
9
|
+
- fix: adjusted `@media` queries (removed `screen` from combined queries) to avoid broken layouts when printing - [see commit 0960eb6](https://github.com/db-ux-design-system/core-web/commit/0960eb6f9223fe23bdaac0de685cf7aa5eb7654e)
|
|
10
|
+
|
|
11
|
+
- fix(switch): removed obsolete gap towards label in `small` variant - [see commit 40bad01](https://github.com/db-ux-design-system/core-web/commit/40bad017f068bf8968829977808a6d8e9d21b4fe)
|
|
12
|
+
|
|
3
13
|
## 4.5.3
|
|
4
14
|
|
|
5
15
|
_version bump_
|
|
6
16
|
|
|
7
|
-
|
|
8
17
|
## 4.5.2
|
|
9
18
|
|
|
10
19
|
### Patch Changes
|
|
@@ -130,14 +139,14 @@ _version bump_
|
|
|
130
139
|
- refactor(notification): update and simplify grid layout for block link variant - [see commit cb83f96](https://github.com/db-ux-design-system/core-web/commit/cb83f966eaf29c85b4cf0079750bdd563f216d6e)
|
|
131
140
|
|
|
132
141
|
- fix(DBCustomSelect): properly announce selected options - [see commit 773edeb](https://github.com/db-ux-design-system/core-web/commit/773edeb943a085eb79e1c8d59059137b2830fbf0):
|
|
133
|
-
|
|
142
|
+
- feat(DBCustomSelect): introduce new property `selectedPrefix`
|
|
134
143
|
|
|
135
144
|
### Patch Changes
|
|
136
145
|
|
|
137
146
|
- fix(DBCustomSelect): automatically handle form reset events - [see commit 6af5246](https://github.com/db-ux-design-system/core-web/commit/6af5246b3b2e6febdc6ff6342ba1a8eb10184d14):
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
147
|
+
- An event listener is now added for every form component (input, custom-select, etc.) when a `form` property is passed.
|
|
148
|
+
- This listener detects form resets and updates the component's internal value/checked state accordingly.
|
|
149
|
+
- > **Note**: This does not work for `ngModel` in Angular.
|
|
141
150
|
|
|
142
151
|
- fix(button): Replace fixed height with min-height for buttons to allow dynamic height adjustment when text wraps - [see commit d1fd2c4](https://github.com/db-ux-design-system/core-web/commit/d1fd2c4e58a5ed6f75fab44700cd2d93c7232474)
|
|
143
152
|
|
|
@@ -160,7 +169,7 @@ _version bump_
|
|
|
160
169
|
### Patch Changes
|
|
161
170
|
|
|
162
171
|
- chore: update instructions files for better copilot outputs - [see commit e4bc905](https://github.com/db-ux-design-system/core-web/commit/e4bc90508479387371d816d5776f9f568aa5fb82):
|
|
163
|
-
|
|
172
|
+
- fix: add some missing variables
|
|
164
173
|
|
|
165
174
|
- fix(card): Remove the obsolete but harmful declaration regarding wrapping button and link styles. - [see commit 34c78df](https://github.com/db-ux-design-system/core-web/commit/34c78dffd4f43b0ac740574358b426a562e05cd0)
|
|
166
175
|
|
|
@@ -175,9 +184,9 @@ _version bump_
|
|
|
175
184
|
### Major Changes
|
|
176
185
|
|
|
177
186
|
- feat: Switch stable rework - [see commit cb2deb0](https://github.com/db-ux-design-system/core-web/commit/cb2deb0f1c54900d1967483aea05d81279c02f59):
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
187
|
+
- **BREAKING CHANGE**: remove `emphasis` property
|
|
188
|
+
- introduce validation (invalid and valid)
|
|
189
|
+
- configurable label position
|
|
181
190
|
|
|
182
191
|
- **BREAKING CHANGE**: refactor(Custom Select): renamed `ariaListLabel` property to `listLabel` - [see commit 966d5ad](https://github.com/db-ux-design-system/core-web/commit/966d5ad01f00d0ca1707cc316a63e2d431fff1e9)
|
|
183
192
|
|
|
@@ -196,12 +205,12 @@ _version bump_
|
|
|
196
205
|
### Patch Changes
|
|
197
206
|
|
|
198
207
|
- fix(DBTabs): ensure navigation arrows appear correctly on window resize - [see commit 4e65e00](https://github.com/db-ux-design-system/core-web/commit/4e65e00d280cae18baee03b5a7a9b13eec063835):
|
|
199
|
-
|
|
208
|
+
- This update resolves an issue where navigation arrows in DBTabs would not appear or update correctly when the window was resized. The component now properly responds to resize events, ensuring arrows are always shown or hidden as needed.
|
|
200
209
|
|
|
201
210
|
- fix(select): jumping placeholder for label above - [see commit 7ed8d22](https://github.com/db-ux-design-system/core-web/commit/7ed8d2225102e0e9044437e95917e11eef4bc73f)
|
|
202
211
|
|
|
203
212
|
- enabled [`@db-ux/agent-cli`](https://www.npmjs.com/package/@db-ux/agent-cli) for every package - [see commit 0233048](https://github.com/db-ux-design-system/core-web/commit/023304869e61f5a506dca66a22d69e5f3d70f4d0):
|
|
204
|
-
|
|
213
|
+
- auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation
|
|
205
214
|
|
|
206
215
|
## 3.1.17
|
|
207
216
|
|
|
@@ -209,17 +218,17 @@ _version bump_
|
|
|
209
218
|
|
|
210
219
|
- fix: color mode for textarea resizer control set by color-mode-switch documentation UI component - [see commit 354e270](https://github.com/db-ux-design-system/core-web/commit/354e27029a4378288a97ed5e31b75c11758f0c01)
|
|
211
220
|
- refactor: enabling `hidden` HTML attribute in every context in which we need to set overwriting styling declarations (`display`) - [see commit 4826455](https://github.com/db-ux-design-system/core-web/commit/4826455637590b6ae780afb93abb9effe9380342)
|
|
212
|
-
|
|
221
|
+
- @db-ux/core-foundations@3.1.17
|
|
213
222
|
|
|
214
223
|
## 3.1.16
|
|
215
224
|
|
|
216
225
|
### Patch Changes
|
|
217
226
|
|
|
218
227
|
- a28eb71: fix(custom-select): keyboard navigation for option groups in single-select mode - [see commit 6d60bab](https://github.com/db-ux-design-system/core-web/commit/6d60bab2eb87f16a9ffa942085bffd658564769c):
|
|
219
|
-
|
|
220
|
-
|
|
228
|
+
- Fixes a keyboard accessibility issue where users could not navigate to options in subsequent option groups using arrow keys in single-select mode.
|
|
229
|
+
- Now, all options are accessible via keyboard regardless of group boundaries.
|
|
221
230
|
- fix: JS framework core-components packages are missing `@db-ux` dependencies - [see commit 49df866](https://github.com/db-ux-design-system/core-web/commit/49df866e753a9459f5acdca4ad1e19141b477471)
|
|
222
|
-
|
|
231
|
+
- @db-ux/core-foundations@3.1.16
|
|
223
232
|
|
|
224
233
|
## 3.1.15
|
|
225
234
|
|
|
@@ -228,4 +237,4 @@ _version bump_
|
|
|
228
237
|
- 262964b: fix(Switch): double event firing with Angular signals
|
|
229
238
|
- 262964b: fix(CustomSelect): tags remaining visible when form values are reset
|
|
230
239
|
- 262964b: fix(CustomSelect): custom removeTagsTexts are not applied correctly
|
|
231
|
-
|
|
240
|
+
- @db-ux/core-foundations@3.1.15
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
.db-accordion-item > details > summary::after {
|
|
188
188
|
pointer-events: none;
|
|
189
189
|
}
|
|
190
|
-
@media
|
|
190
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
191
191
|
.db-accordion-item > details > summary::after {
|
|
192
192
|
transition: transform var(--db-transition-straight-emotional);
|
|
193
193
|
}
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
pointer-events: none;
|
|
212
212
|
opacity: var(--db-opacity-md);
|
|
213
213
|
}
|
|
214
|
-
@media
|
|
214
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
215
215
|
.db-accordion-item > details > summary + div {
|
|
216
216
|
transition: block-size var(--db-transition-straight-emotional);
|
|
217
217
|
}
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
outline-offset: var(--db-border-width-xs);
|
|
57
57
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
58
58
|
}
|
|
59
|
-
@media
|
|
59
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
60
60
|
.db-custom-button:not([data-disable-focus=true]):has(input):focus-within {
|
|
61
61
|
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
62
62
|
}
|
|
@@ -679,7 +679,7 @@ input[type=radio]:checked) > label {
|
|
|
679
679
|
.db-custom-select::after {
|
|
680
680
|
pointer-events: none;
|
|
681
681
|
}
|
|
682
|
-
@media
|
|
682
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
683
683
|
.db-custom-select::after {
|
|
684
684
|
transition: transform var(--db-transition-straight-emotional);
|
|
685
685
|
}
|
|
@@ -704,7 +704,7 @@ input[type=radio]:checked) > label {
|
|
|
704
704
|
inset-inline-start: 0;
|
|
705
705
|
opacity: 0;
|
|
706
706
|
}
|
|
707
|
-
@media
|
|
707
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
708
708
|
.db-custom-select-placeholder {
|
|
709
709
|
transition: opacity var(--db-transition-straight-emotional), outline var(--db-transition-duration-extra-fast), border-color var(--db-transition-straight-emotional), background-color var(--db-transition-straight-emotional);
|
|
710
710
|
}
|
|
@@ -885,7 +885,7 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
885
885
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
886
886
|
padding-block-start: var(--db-base-body-icon-font-size-2xs);
|
|
887
887
|
}
|
|
888
|
-
@media
|
|
888
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
889
889
|
.db-custom-select[data-variant=floating]:has(:focus-within,
|
|
890
890
|
summary:is(input, textarea):not(:placeholder-shown),
|
|
891
891
|
> select option:checked:not(.placeholder),
|
|
@@ -924,7 +924,7 @@ input[type=radio]:checked) summary:is([type=date],
|
|
|
924
924
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
925
925
|
padding-block-start: var(--db-base-body-icon-font-size-2xs);
|
|
926
926
|
}
|
|
927
|
-
@media
|
|
927
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
928
928
|
.db-custom-select[data-variant=floating]:has(:focus-within,
|
|
929
929
|
summary:is(input, textarea):not(:placeholder-shown),
|
|
930
930
|
> select option:checked:not(.placeholder),
|
|
@@ -1094,7 +1094,7 @@ input[type=radio]:checked) summary:is([type=date],
|
|
|
1094
1094
|
white-space: nowrap;
|
|
1095
1095
|
overflow: hidden;
|
|
1096
1096
|
}
|
|
1097
|
-
@media
|
|
1097
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1098
1098
|
.db-custom-select > label {
|
|
1099
1099
|
transition: font-size var(--db-transition-straight-emotional);
|
|
1100
1100
|
}
|
|
@@ -1192,7 +1192,7 @@ summary[aria-disabled=true]) {
|
|
|
1192
1192
|
background-color: color(from var(--db-adaptive-on-bg-basic-emphasis-100-default) srgb r g b/var(--db-opacity-lg));
|
|
1193
1193
|
opacity: var(--db-opacity-lg);
|
|
1194
1194
|
}
|
|
1195
|
-
@media
|
|
1195
|
+
@media (max-width: 47.9375em) {
|
|
1196
1196
|
.db-custom-select > details[open] > summary::before {
|
|
1197
1197
|
position: fixed;
|
|
1198
1198
|
z-index: 9998;
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
block-size: fit-content;
|
|
302
302
|
margin: auto;
|
|
303
303
|
}
|
|
304
|
-
@media
|
|
304
|
+
@media (max-width: 47.9375em) {
|
|
305
305
|
.db-custom-select-dropdown {
|
|
306
306
|
position: fixed;
|
|
307
307
|
z-index: 9999;
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
@media
|
|
404
|
+
@media (min-width: 48em) {
|
|
405
405
|
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button):not([data-force-mobile]):not([hidden]), .db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button)[data-force-mobile=false]:not([hidden]),
|
|
406
406
|
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button):not([data-force-mobile]):not([hidden]),
|
|
407
407
|
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button)[data-force-mobile=false]:not([hidden]) {
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
padding: var(--db-spacing-fixed-lg) var(--db-spacing-fixed-md);
|
|
414
414
|
margin: auto;
|
|
415
415
|
}
|
|
416
|
-
@media
|
|
416
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
417
417
|
.db-custom-select-dropdown > db-infotext > .db-infotext[data-icon=circular_arrows]::before,
|
|
418
418
|
.db-custom-select-dropdown > .db-infotext[data-icon=circular_arrows]::before {
|
|
419
419
|
animation: rotate 1.5s linear 0s infinite normal none running;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
outline-offset: var(--db-border-width-xs);
|
|
58
58
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
59
59
|
}
|
|
60
|
-
@media
|
|
60
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
61
61
|
.db-custom-select-list-item:not([data-disable-focus=true]):has(> label > input:focus-visible) {
|
|
62
62
|
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
63
63
|
}
|
|
@@ -237,7 +237,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
237
237
|
.db-drawer .db-drawer-container[data-rounded=true] {
|
|
238
238
|
box-shadow: var(--db-elevation-md);
|
|
239
239
|
}
|
|
240
|
-
@media
|
|
240
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
241
241
|
.db-drawer .db-drawer-container {
|
|
242
242
|
transition: transform var(--db-transition-duration-extra-slow) var(--db-transition-timing-emotional);
|
|
243
243
|
}
|
|
@@ -307,7 +307,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
307
307
|
.db-drawer[open] .db-drawer-container[data-transition=open][data-direction=up], .db-drawer[open] .db-drawer-container[data-transition=open][data-direction=down] {
|
|
308
308
|
transform: translateY(0%);
|
|
309
309
|
}
|
|
310
|
-
@media
|
|
310
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
311
311
|
.db-drawer[open] .db-drawer-container[data-transition=close] {
|
|
312
312
|
transition: transform var(--db-transition-duration-slow) var(--db-transition-timing-emotional);
|
|
313
313
|
}
|
|
@@ -198,7 +198,7 @@ $spacings: (
|
|
|
198
198
|
box-shadow: variables.$db-elevation-md;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
@media
|
|
201
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
202
202
|
transition: transform
|
|
203
203
|
#{variables.$db-transition-duration-extra-slow}
|
|
204
204
|
#{variables.$db-transition-timing-emotional};
|
|
@@ -297,7 +297,7 @@ $spacings: (
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
&[data-transition="close"] {
|
|
300
|
-
@media
|
|
300
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
301
301
|
transition: transform
|
|
302
302
|
#{variables.$db-transition-duration-slow}
|
|
303
303
|
#{variables.$db-transition-timing-emotional};
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
132
132
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
133
133
|
}
|
|
134
|
-
@media
|
|
134
|
+
@media (width <= 48em) {
|
|
135
135
|
.db-header-meta-navigation {
|
|
136
136
|
--db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-mobile-3xs);
|
|
137
137
|
--db-spacing-responsive-2xs: var(--db-spacing-responsive-functional-mobile-2xs);
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
--db-spacing-responsive-3xl: var(--db-spacing-responsive-functional-mobile-3xl);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
@media
|
|
147
|
+
@media (48em < width <= 64em) {
|
|
148
148
|
.db-header-meta-navigation {
|
|
149
149
|
--db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-tablet-3xs);
|
|
150
150
|
--db-spacing-responsive-2xs: var(--db-spacing-responsive-functional-tablet-2xs);
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
--db-spacing-responsive-3xl: var(--db-spacing-responsive-functional-tablet-3xl);
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
@media
|
|
160
|
+
@media (64em < width) {
|
|
161
161
|
.db-header-meta-navigation {
|
|
162
162
|
--db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-desktop-3xs);
|
|
163
163
|
--db-spacing-responsive-2xs: var(--db-spacing-responsive-functional-desktop-2xs);
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
193
193
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
194
194
|
}
|
|
195
|
-
@media
|
|
195
|
+
@media (width <= 48em) {
|
|
196
196
|
.db-header-meta-navigation {
|
|
197
197
|
--db-type-headline-3xs: var(--db-typography-functional-mobile-headline-3xs);
|
|
198
198
|
--db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-functional-mobile-headline-3xs);
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
--db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-functional-mobile-headline-3xl);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
@media
|
|
226
|
+
@media (48em < width <= 64em) {
|
|
227
227
|
.db-header-meta-navigation {
|
|
228
228
|
--db-type-headline-3xs: var(--db-typography-functional-tablet-headline-3xs);
|
|
229
229
|
--db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-functional-tablet-headline-3xs);
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
--db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-functional-tablet-headline-3xl);
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
|
-
@media
|
|
257
|
+
@media (64em < width) {
|
|
258
258
|
.db-header-meta-navigation {
|
|
259
259
|
--db-type-headline-3xs: var(--db-typography-functional-desktop-headline-3xs);
|
|
260
260
|
--db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-functional-desktop-headline-3xs);
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
300
300
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
301
301
|
}
|
|
302
|
-
@media
|
|
302
|
+
@media (width <= 48em) {
|
|
303
303
|
.db-header-meta-navigation {
|
|
304
304
|
--db-type-body-3xs: var(--db-typography-functional-mobile-body-3xs);
|
|
305
305
|
--db-base-body-icon-weight-3xs: var(--db-base-icon-weight-functional-mobile-body-3xs);
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
--db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-functional-mobile-body-3xl);
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
@media
|
|
333
|
+
@media (48em < width <= 64em) {
|
|
334
334
|
.db-header-meta-navigation {
|
|
335
335
|
--db-type-body-3xs: var(--db-typography-functional-tablet-body-3xs);
|
|
336
336
|
--db-base-body-icon-weight-3xs: var(--db-base-icon-weight-functional-tablet-body-3xs);
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
--db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-functional-tablet-body-3xl);
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
@media
|
|
364
|
+
@media (64em < width) {
|
|
365
365
|
.db-header-meta-navigation {
|
|
366
366
|
--db-type-body-3xs: var(--db-typography-functional-desktop-body-3xs);
|
|
367
367
|
--db-base-body-icon-weight-3xs: var(--db-base-icon-weight-functional-desktop-body-3xs);
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
.db-header:not([hidden]) {
|
|
411
411
|
display: flex;
|
|
412
412
|
}
|
|
413
|
-
@media
|
|
413
|
+
@media (min-width: 64em) {
|
|
414
414
|
.db-header:not([data-force-mobile]), .db-header[data-force-mobile=false] {
|
|
415
415
|
--db-drawer-max-width: 48em;
|
|
416
416
|
}
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
.db-header-navigation-bar:not([hidden]) {
|
|
459
459
|
display: flex;
|
|
460
460
|
}
|
|
461
|
-
@media
|
|
461
|
+
@media (min-width: 64em) {
|
|
462
462
|
.db-header-navigation-bar:not([data-force-mobile]), .db-header-navigation-bar[data-force-mobile=false] {
|
|
463
463
|
padding: var(--db-spacing-fixed-md) var(--db-spacing-fixed-lg);
|
|
464
464
|
}
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
@media
|
|
499
|
+
@media (min-width: 64em) {
|
|
500
500
|
.db-header-meta-navigation:not([data-force-mobile]), .db-header-meta-navigation[data-force-mobile=false] {
|
|
501
501
|
padding: var(--db-spacing-fixed-xs) var(--db-spacing-fixed-lg);
|
|
502
502
|
margin: 0;
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
.db-header-navigation-container:not([hidden]) {
|
|
526
526
|
display: inherit;
|
|
527
527
|
}
|
|
528
|
-
@media
|
|
528
|
+
@media (min-width: 64em) {
|
|
529
529
|
.db-header-navigation-container:not([data-force-mobile]), .db-header-navigation-container[data-force-mobile=false] {
|
|
530
530
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
|
|
531
531
|
position: var(--db-tooltip-parent-position, relative);
|
|
@@ -543,13 +543,13 @@
|
|
|
543
543
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
@media
|
|
546
|
+
@media (min-width: 64em) and (forced-colors: active) {
|
|
547
547
|
.db-header-navigation-container:not([data-force-mobile]), .db-header-navigation-container[data-force-mobile=false] {
|
|
548
548
|
/* stylelint-disable-next-line no-invalid-position-declaration, db-ux/use-border-color */
|
|
549
549
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
|
-
@media
|
|
552
|
+
@media (min-width: 64em) {
|
|
553
553
|
.db-header-navigation-container:not([data-force-mobile])::before, .db-header-navigation-container[data-force-mobile=false]::before {
|
|
554
554
|
position: inherit;
|
|
555
555
|
block-size: var(--db-sizing-md);
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
570
570
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
571
571
|
}
|
|
572
|
-
@media
|
|
572
|
+
@media (min-width: 64em) {
|
|
573
573
|
.db-header-action-container:has(> .db-header-secondary-action:empty):not([data-force-mobile]):not([hidden]), .db-header-action-container:has(> .db-header-secondary-action:empty)[data-force-mobile=false]:not([hidden]) {
|
|
574
574
|
display: none;
|
|
575
575
|
}
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
@media
|
|
606
|
+
@media (min-width: 64em) {
|
|
607
607
|
.db-header-action-container:not([data-force-mobile])::before, .db-header-action-container[data-force-mobile=false]::before {
|
|
608
608
|
margin-inline: var(--db-spacing-fixed-sm);
|
|
609
609
|
}
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
|
-
@media
|
|
659
|
+
@media (min-width: 64em) {
|
|
660
660
|
.db-header-secondary-action:not([data-force-mobile])::before, .db-header-secondary-action[data-force-mobile=false]::before {
|
|
661
661
|
display: none;
|
|
662
662
|
}
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
679
679
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
680
680
|
}
|
|
681
|
-
@media
|
|
681
|
+
@media (min-width: 64em) {
|
|
682
682
|
.db-header-navigation:not([data-force-mobile]), .db-header-navigation[data-force-mobile=false] {
|
|
683
683
|
margin-inline: var(--db-spacing-fixed-lg);
|
|
684
684
|
}
|
|
@@ -695,7 +695,7 @@
|
|
|
695
695
|
.db-header-secondary-action:not([hidden]) {
|
|
696
696
|
display: flex;
|
|
697
697
|
}
|
|
698
|
-
@media
|
|
698
|
+
@media (min-width: 64em) {
|
|
699
699
|
.db-header-navigation:not([data-force-mobile]), .db-header-navigation[data-force-mobile=false],
|
|
700
700
|
.db-header-secondary-action:not([data-force-mobile]),
|
|
701
701
|
.db-header-secondary-action[data-force-mobile=false] {
|
|
@@ -732,7 +732,7 @@
|
|
|
732
732
|
.db-header-action-container > .db-header-secondary-action:not([hidden]) {
|
|
733
733
|
display: none;
|
|
734
734
|
}
|
|
735
|
-
@media
|
|
735
|
+
@media (min-width: 64em) {
|
|
736
736
|
.db-header-meta-navigation:not([data-force-mobile]):not([hidden]), .db-header-meta-navigation[data-force-mobile=false]:not([hidden]),
|
|
737
737
|
.db-header-navigation-container > .db-header-navigation:not([data-force-mobile]):not([hidden]),
|
|
738
738
|
.db-header-navigation-container > .db-header-navigation[data-force-mobile=false]:not([hidden]),
|
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
753
753
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
754
754
|
}
|
|
755
|
-
@media
|
|
755
|
+
@media (min-width: 64em) {
|
|
756
756
|
.db-header-drawer:not([data-force-mobile]):not([hidden]), .db-header-drawer[data-force-mobile=false]:not([hidden]),
|
|
757
757
|
.db-header-burger-menu-container:not([data-force-mobile]):not([hidden]),
|
|
758
758
|
.db-header-burger-menu-container[data-force-mobile=false]:not([hidden]) {
|
|
@@ -526,7 +526,7 @@ input[type=radio]:checked) > label {
|
|
|
526
526
|
.db-input:has(datalist)::after {
|
|
527
527
|
pointer-events: none;
|
|
528
528
|
}
|
|
529
|
-
@media
|
|
529
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
530
530
|
.db-input:has(datalist)::after {
|
|
531
531
|
transition: transform var(--db-transition-straight-emotional);
|
|
532
532
|
}
|
|
@@ -657,7 +657,7 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
657
657
|
font-family: var(--db-font-family-sans);
|
|
658
658
|
font-style: italic;
|
|
659
659
|
}
|
|
660
|
-
@media
|
|
660
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
661
661
|
.db-input[data-variant=floating]:has(input:focus-within,
|
|
662
662
|
input:is(input, textarea):not(:placeholder-shown),
|
|
663
663
|
> select option:checked:not(.placeholder),
|
|
@@ -694,7 +694,7 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
694
694
|
font-family: var(--db-font-family-sans);
|
|
695
695
|
font-style: italic;
|
|
696
696
|
}
|
|
697
|
-
@media
|
|
697
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
698
698
|
.db-input[data-variant=floating]:has(input:focus-within,
|
|
699
699
|
input:is(input, textarea):not(:placeholder-shown),
|
|
700
700
|
> select option:checked:not(.placeholder),
|
|
@@ -890,7 +890,7 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
890
890
|
white-space: nowrap;
|
|
891
891
|
overflow: hidden;
|
|
892
892
|
}
|
|
893
|
-
@media
|
|
893
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
894
894
|
.db-input > label {
|
|
895
895
|
transition: font-size var(--db-transition-straight-emotional);
|
|
896
896
|
}
|
|
@@ -958,7 +958,7 @@ input[type=time]) {
|
|
|
958
958
|
.db-input:has(input[type=search])::after {
|
|
959
959
|
opacity: 0;
|
|
960
960
|
}
|
|
961
|
-
@media
|
|
961
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
962
962
|
.db-input:has(input[type=search])::after {
|
|
963
963
|
transition: opacity var(--db-transition-duration-fast);
|
|
964
964
|
}
|
|
@@ -1037,7 +1037,7 @@ input:focus-visible)::after {
|
|
|
1037
1037
|
outline-offset: var(--db-border-width-xs);
|
|
1038
1038
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
1039
1039
|
}
|
|
1040
|
-
@media
|
|
1040
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1041
1041
|
.db-input input::-webkit-calendar-picker-indicator:focus-visible, .db-input input::-webkit-search-cancel-button:focus-visible {
|
|
1042
1042
|
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
1043
1043
|
}
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
position: absolute;
|
|
112
112
|
border-radius: var(--db-border-radius-xs);
|
|
113
113
|
}
|
|
114
|
-
@media
|
|
114
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
115
115
|
.db-navigation > menu .db-navigation-item::after {
|
|
116
116
|
transition: height var(--db-transition-duration-fast) var(--db-transition-timing-emotional), width var(--db-transition-duration-fast) var(--db-transition-timing-emotional);
|
|
117
117
|
}
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
background-color: var(--db-brand-on-bg-basic-emphasis-70-default);
|
|
130
130
|
inset-inline-start: calc(-1 * var(--db-spacing-fixed-xs));
|
|
131
131
|
}
|
|
132
|
-
@media
|
|
132
|
+
@media (min-width: 64em) {
|
|
133
133
|
.db-navigation > menu .db-navigation-item:not([data-force-mobile])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item::after {
|
|
134
134
|
block-size: var(--db-border-width-xs);
|
|
135
135
|
inline-size: 0;
|
|
@@ -148,18 +148,18 @@
|
|
|
148
148
|
block-size: 100%;
|
|
149
149
|
inline-size: var(--db-border-width-xs);
|
|
150
150
|
}
|
|
151
|
-
@media (forced-colors: active) {
|
|
151
|
+
@media (forced-colors: active), print {
|
|
152
152
|
.db-navigation > menu .db-navigation-item:has([aria-current=page])::after, .db-navigation > menu .db-navigation-item:has([data-active=true])::after, .db-navigation > menu .db-navigation-item[aria-current=page]::after, .db-navigation > menu .db-navigation-item[data-active=true]::after {
|
|
153
153
|
border: calc(var(--db-border-width-xs) - 1px) solid var(--db-adaptive-on-bg-basic-emphasis-100-default);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
@media
|
|
156
|
+
@media (min-width: 64em) {
|
|
157
157
|
.db-navigation > menu .db-navigation-item:not([data-force-mobile]):has([aria-current=page])::after, .db-navigation > menu .db-navigation-item:not([data-force-mobile]):has([data-active=true])::after, .db-navigation > menu .db-navigation-item[aria-current=page]:not([data-force-mobile])::after, .db-navigation > menu .db-navigation-item[data-active=true]:not([data-force-mobile])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item:has([aria-current=page])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item:has([data-active=true])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item[aria-current=page]::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item[data-active=true]::after {
|
|
158
158
|
block-size: var(--db-border-width-xs);
|
|
159
159
|
inline-size: 100%;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
@media
|
|
162
|
+
@media (min-width: 64em) and (forced-colors: active), print and (min-width: 64em) {
|
|
163
163
|
.db-navigation > menu .db-navigation-item:not([data-force-mobile]):has([aria-current=page])::after, .db-navigation > menu .db-navigation-item:not([data-force-mobile]):has([data-active=true])::after, .db-navigation > menu .db-navigation-item[aria-current=page]:not([data-force-mobile])::after, .db-navigation > menu .db-navigation-item[data-active=true]:not([data-force-mobile])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item:has([aria-current=page])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item:has([data-active=true])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item[aria-current=page]::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item[data-active=true]::after {
|
|
164
164
|
border: calc(var(--db-border-width-xs) - 1px) solid var(--db-adaptive-on-bg-basic-emphasis-100-default);
|
|
165
165
|
}
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
172
172
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
173
173
|
}
|
|
174
|
-
@media
|
|
174
|
+
@media (min-width: 64em) {
|
|
175
175
|
.db-navigation:not([data-force-mobile]), .db-navigation[data-force-mobile=false] {
|
|
176
176
|
-webkit-tap-highlight-color: inherit;
|
|
177
177
|
inline-size: auto;
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
187
187
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
188
188
|
}
|
|
189
|
-
@media
|
|
189
|
+
@media (min-width: 64em) {
|
|
190
190
|
.db-navigation > menu:not([data-force-mobile]), .db-navigation > menu[data-force-mobile=false] {
|
|
191
191
|
flex-direction: row;
|
|
192
192
|
}
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
197
197
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
198
198
|
}
|
|
199
|
-
@media
|
|
199
|
+
@media (min-width: 64em) {
|
|
200
200
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button):not([data-force-mobile])::after, .db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button)[data-force-mobile=false]::after,
|
|
201
201
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button > button:not([data-force-mobile])::after,
|
|
202
202
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button > button[data-force-mobile=false]::after {
|
|
@@ -204,14 +204,14 @@
|
|
|
204
204
|
--db-icon-trailing: "chevron_down";
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
@media
|
|
207
|
+
@media (min-width: 64em) and (prefers-reduced-motion: no-preference) {
|
|
208
208
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button):not([data-force-mobile])::after, .db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button)[data-force-mobile=false]::after,
|
|
209
209
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button > button:not([data-force-mobile])::after,
|
|
210
210
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button > button[data-force-mobile=false]::after {
|
|
211
211
|
transition: transform var(--db-transition-straight-emotional);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
@media
|
|
214
|
+
@media (min-width: 64em) {
|
|
215
215
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button):not([data-force-mobile]):is(:hover, :focus-visible)::after, .db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button):not([data-force-mobile]):has(~ .db-sub-navigation:is(:hover,
|
|
216
216
|
:focus-visible,
|
|
217
217
|
:focus-within))::after, .db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button)[data-force-mobile=false]:is(:hover, :focus-visible)::after, .db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button)[data-force-mobile=false]:has(~ .db-sub-navigation:is(:hover,
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
234
234
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
235
235
|
}
|
|
236
|
-
@media
|
|
236
|
+
@media (min-width: 64em) {
|
|
237
237
|
.db-navigation > menu .db-navigation-item > menu .db-navigation-item-expand-button:is(button):not([data-force-mobile])::after, .db-navigation > menu .db-navigation-item > menu .db-navigation-item-expand-button:is(button)[data-force-mobile=false]::after,
|
|
238
238
|
.db-navigation > menu .db-navigation-item > menu .db-navigation-item-expand-button > button:not([data-force-mobile])::after,
|
|
239
239
|
.db-navigation > menu .db-navigation-item > menu .db-navigation-item-expand-button > button[data-force-mobile=false]::after {
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
266
266
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
267
267
|
}
|
|
268
|
-
@media
|
|
268
|
+
@media (min-width: 64em) {
|
|
269
269
|
.db-navigation[data-force-close=true] > menu menu:not([data-force-mobile]):not([hidden]), .db-navigation[data-force-close=true] > menu menu[data-force-mobile=false]:not([hidden]) {
|
|
270
270
|
display: none;
|
|
271
271
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
--db-icon-margin-start: #{variables.$db-spacing-fixed-sm};
|
|
37
37
|
--db-icon-trailing: "chevron_down";
|
|
38
38
|
|
|
39
|
-
@media
|
|
39
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
40
40
|
transition: form-components.$dropdown-icon-transition;
|
|
41
41
|
}
|
|
42
42
|
}
|