@db-ux/core-components 4.12.1 → 4.13.0-shell-f221975

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 (107) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/agent/Best-Practise_Common-AI-Mistakes.md +3 -3
  3. package/build/components/accordion/accordion.css +13 -6
  4. package/build/components/accordion-item/accordion-item.css +6 -11
  5. package/build/components/badge/badge.css +1 -1
  6. package/build/components/badge/badge.scss +1 -1
  7. package/build/components/button/button.css +0 -8
  8. package/build/components/button/button.scss +0 -11
  9. package/build/components/checkbox/checkbox.css +6 -11
  10. package/build/components/control-panel-brand/control-panel-brand.css +53 -0
  11. package/build/components/control-panel-brand/control-panel-brand.scss +48 -0
  12. package/build/components/control-panel-desktop/control-panel-desktop.css +579 -0
  13. package/build/components/control-panel-desktop/control-panel-desktop.scss +30 -0
  14. package/build/components/control-panel-flat-icon/control-panel-flat-icon.css +258 -0
  15. package/build/components/control-panel-flat-icon/control-panel-flat-icon.scss +239 -0
  16. package/build/components/control-panel-meta/control-panel-meta.css +14 -0
  17. package/build/components/control-panel-meta/control-panel-meta.scss +15 -0
  18. package/build/components/control-panel-mobile/control-panel-mobile.css +438 -0
  19. package/build/components/control-panel-mobile/control-panel-mobile.scss +116 -0
  20. package/build/components/control-panel-navigation/control-panel-navigation.css +390 -0
  21. package/build/components/control-panel-navigation/control-panel-navigation.scss +186 -0
  22. package/build/components/control-panel-navigation-item/control-panel-navigation-item.css +87 -0
  23. package/build/components/control-panel-navigation-item/control-panel-navigation-item.scss +39 -0
  24. package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-popover.css +21 -0
  25. package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-popover.scss +125 -0
  26. package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-tree.css +35 -0
  27. package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-tree.scss +36 -0
  28. package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group.css +158 -0
  29. package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group.scss +80 -0
  30. package/build/components/control-panel-primary-actions/control-panel-primary-actions.css +12 -0
  31. package/build/components/control-panel-primary-actions/control-panel-primary-actions.scss +7 -0
  32. package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.css +12 -0
  33. package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.scss +7 -0
  34. package/build/components/control-panel-skip-navigation/control-panel-skip-navigation.css +23 -0
  35. package/build/components/control-panel-skip-navigation/control-panel-skip-navigation.scss +25 -0
  36. package/build/components/custom-button/custom-button.css +11 -19
  37. package/build/components/custom-select/custom-select.css +17 -16
  38. package/build/components/custom-select/custom-select.scss +1 -1
  39. package/build/components/custom-select-dropdown/custom-select-dropdown.css +39 -26
  40. package/build/components/custom-select-form-field/custom-select-form-field.css +6 -11
  41. package/build/components/custom-select-list/custom-select-list.css +6 -11
  42. package/build/components/custom-select-list-item/custom-select-list-item.css +24 -19
  43. package/build/components/divider/divider.css +18 -8
  44. package/build/components/drawer/drawer.css +78 -156
  45. package/build/components/drawer/drawer.scss +124 -167
  46. package/build/components/drawer-footer/drawer-footer.css +34 -0
  47. package/build/components/drawer-footer/drawer-footer.scss +11 -0
  48. package/build/components/drawer-header/drawer-header.css +38 -0
  49. package/build/components/drawer-header/drawer-header.scss +17 -0
  50. package/build/components/input/input.css +6 -11
  51. package/build/components/link/link.css +7 -1
  52. package/build/components/notification/notification.css +7 -1
  53. package/build/components/radio/radio.css +6 -11
  54. package/build/components/select/select.css +6 -11
  55. package/build/components/shell/shell-desktop.css +475 -0
  56. package/build/components/shell/shell-desktop.scss +105 -0
  57. package/build/components/shell/shell-mobile.css +441 -0
  58. package/build/components/shell/shell-mobile.scss +148 -0
  59. package/build/components/shell/shell.css +1670 -0
  60. package/build/components/shell/shell.scss +70 -0
  61. package/build/components/shell-content/shell-content.css +31 -0
  62. package/build/components/shell-content/shell-content.scss +49 -0
  63. package/build/components/shell-sub-navigation/shell-sub-navigation.css +51 -0
  64. package/build/components/shell-sub-navigation/shell-sub-navigation.scss +184 -0
  65. package/build/components/stack/stack-web-component.css +1 -0
  66. package/build/components/stack/stack.css +1 -0
  67. package/build/components/switch/switch.css +6 -11
  68. package/build/components/tab-item/tab-item.css +6 -11
  69. package/build/components/tab-item/tab-item.scss +0 -1
  70. package/build/components/tab-list/tab-list.css +6 -11
  71. package/build/components/table/table.css +6 -11
  72. package/build/components/tabs/tabs.css +55 -39
  73. package/build/components/tabs/tabs.scss +25 -70
  74. package/build/components/tag/tag.css +5 -10
  75. package/build/components/tag/tag.scss +1 -5
  76. package/build/components/textarea/textarea.css +6 -11
  77. package/build/styles/absolute.css +7 -7
  78. package/build/styles/bundle.css +7 -7
  79. package/build/styles/index.css +6 -6
  80. package/build/styles/index.scss +16 -5
  81. package/build/styles/internal/_component.scss +4 -0
  82. package/build/styles/internal/_control-panel-actions.scss +11 -0
  83. package/build/styles/internal/_control-panel-desktop.scss +412 -0
  84. package/build/styles/internal/_control-panel-mobile.scss +107 -0
  85. package/build/styles/internal/_custom-elements.scss +31 -7
  86. package/build/styles/internal/_icon-passing.scss +18 -10
  87. package/build/styles/internal/{_db-puls.scss → _indicator.scss} +37 -16
  88. package/build/styles/internal/_link-components.scss +7 -1
  89. package/build/styles/internal/_navigation-item.scss +122 -0
  90. package/build/styles/internal/_scrollbar.scss +71 -0
  91. package/build/styles/relative.css +7 -7
  92. package/build/styles/rollup.css +7 -7
  93. package/build/styles/visually-hidden.css +1 -1
  94. package/build/styles/wc-workarounds.css +1 -1
  95. package/build/styles/wc-workarounds.scss +11 -0
  96. package/build/styles/webpack.css +7 -7
  97. package/package.json +6 -7
  98. package/build/components/brand/brand.css +0 -32
  99. package/build/components/brand/brand.scss +0 -35
  100. package/build/components/header/header.css +0 -700
  101. package/build/components/header/header.scss +0 -274
  102. package/build/components/navigation/navigation.css +0 -202
  103. package/build/components/navigation/navigation.scss +0 -108
  104. package/build/components/navigation-item/navigation-item.css +0 -447
  105. package/build/components/navigation-item/navigation-item.scss +0 -337
  106. package/build/components/page/page.css +0 -61
  107. package/build/components/page/page.scss +0 -61
@@ -6,18 +6,59 @@
6
6
  @use "../../styles/internal/component";
7
7
  @use "../../styles/dialog-init";
8
8
 
9
- %direction-right {
10
- transform: translateX(110%);
11
- inset-inline: auto 0;
9
+ %container-size-horizontal {
10
+ inline-size: calc(
11
+ 100lvw - var(--db-drawer-container-backdrop-spacing, 0px)
12
+ );
13
+ min-inline-size: var(--db-drawer-min-width, auto);
14
+ max-inline-size: var(
15
+ --db-drawer-max-width,
16
+ var(--db-drawer-max-width-horizontal)
17
+ );
18
+
19
+ &:not([data-container-size]),
20
+ &[data-container-size="small"] {
21
+ --db-drawer-max-width-horizontal: #{variables.$db-container-xs};
22
+ }
12
23
 
13
- &[data-rounded="true"] {
14
- border-start-start-radius: variables.$db-border-radius-sm;
15
- border-end-start-radius: variables.$db-border-radius-sm;
24
+ &[data-container-size="medium"] {
25
+ --db-drawer-max-width-horizontal: #{variables.$db-container-lg};
26
+ }
27
+
28
+ &[data-container-size="large"] {
29
+ --db-drawer-max-width-horizontal: #{variables.$db-container-3xl};
16
30
  }
17
31
  }
18
32
 
19
- %direction-left {
20
- transform: translateX(-110%);
33
+ %container-size-vertical {
34
+ block-size: calc(100lvh - var(--db-drawer-container-backdrop-spacing, 0px));
35
+ min-block-size: var(--db-drawer-min-height, auto);
36
+ max-block-size: var(
37
+ --db-drawer-max-height,
38
+ var(--db-drawer-max-height-vertical)
39
+ );
40
+
41
+ &[data-container-size="small"] {
42
+ --db-drawer-max-height-vertical: 33lvh;
43
+ }
44
+
45
+ &[data-container-size="medium"] {
46
+ --db-drawer-max-height-vertical: 50lvh;
47
+ }
48
+
49
+ &:not([data-container-size]),
50
+ &[data-container-size="large"] {
51
+ --db-drawer-max-height-vertical: 67lvh;
52
+ }
53
+ }
54
+
55
+ %direction-from-left-to-right {
56
+ @extend %container-size-horizontal;
57
+
58
+ &:not([data-transition="open"]) {
59
+ transform: translateX(-110%);
60
+ }
61
+
21
62
  inset-inline: 0 auto;
22
63
 
23
64
  &[data-rounded="true"] {
@@ -26,27 +67,28 @@
26
67
  }
27
68
  }
28
69
 
29
- %full-horizontal {
30
- &:not([data-width="full"]) {
31
- /// Sets the maximum height of the drawer
32
- /// @propertyname max-block-size
33
- /// @cssprop --db-drawer-max-height
34
- /// @default calc(100% - #{variables.$db-spacing-fixed-xl})
35
- /* stylelint-disable-next-line db-ux/use-sizing */
36
- max-block-size: var(
37
- --db-drawer-max-height,
38
- calc(100% - #{variables.$db-spacing-fixed-xl})
39
- );
40
- /* stylelint-disable-next-line db-ux/use-sizing */
41
- min-block-size: var(--db-drawer-min-height, auto);
42
- max-inline-size: none;
70
+ %direction-from-right-to-left {
71
+ @extend %container-size-horizontal;
72
+
73
+ &:not([data-transition="open"]) {
74
+ transform: translateX(110%);
75
+ }
76
+
77
+ inset-inline: auto 0;
78
+
79
+ &[data-rounded="true"] {
80
+ border-start-start-radius: variables.$db-border-radius-sm;
81
+ border-end-start-radius: variables.$db-border-radius-sm;
43
82
  }
44
83
  }
45
84
 
46
- %direction-up {
47
- @extend %full-horizontal;
85
+ %direction-from-bottom-to-top {
86
+ @extend %container-size-vertical;
87
+
88
+ &:not([data-transition="open"]) {
89
+ transform: translateY(110%);
90
+ }
48
91
 
49
- transform: translateY(110%);
50
92
  inset: auto 0 0;
51
93
 
52
94
  &[data-rounded="true"] {
@@ -55,10 +97,13 @@
55
97
  }
56
98
  }
57
99
 
58
- %direction-down {
59
- @extend %full-horizontal;
100
+ %direction-from-top-to-bottom {
101
+ @extend %container-size-vertical;
102
+
103
+ &:not([data-transition="open"]) {
104
+ transform: translateY(-110%);
105
+ }
60
106
 
61
- transform: translateY(-110%);
62
107
  inset: 0 0 auto;
63
108
 
64
109
  &[data-rounded="true"] {
@@ -67,118 +112,65 @@
67
112
  }
68
113
  }
69
114
 
70
- $spacings: (
71
- "small": (
72
- "block": variables.$db-spacing-fixed-xs,
73
- "inline": variables.$db-spacing-fixed-md
74
- ),
75
- "medium": (
76
- "block": variables.$db-spacing-fixed-sm,
77
- "inline": variables.$db-spacing-fixed-lg
78
- ),
79
- "large": (
80
- "block": variables.$db-spacing-fixed-md,
81
- "inline": variables.$db-spacing-fixed-xl
82
- ),
83
- "none": (
84
- "block": 0,
85
- "inline": 0
86
- )
87
- );
88
-
89
- @mixin get-spacing($spacing) {
90
- /* stylelint-disable-next-line block-no-redundant-nested-style-rules */
91
- & {
92
- padding-block: map.get($spacing, "block");
93
- }
94
-
95
- .db-drawer-header {
96
- // We need this variable to overwrite it inside the header
97
- /// Controls the bottom padding inside the drawer header
98
- /// @propertyname padding-block-end
99
- /// @cssprop --db-drawer-header-padding-block-end
100
- /// @default #{map.get($spacing, "block")}
101
- /* stylelint-disable-next-line db-ux/use-spacings */
102
- padding-block-end: var(
103
- --db-drawer-header-padding-block-end,
104
- #{map.get($spacing, "block")}
105
- );
106
- padding-inline: map.get($spacing, "inline");
107
- }
108
-
109
- .db-drawer-content {
110
- // We need this variable to overwrite it inside the header
111
- /// Controls left/right padding inside the drawer content area
112
- /// @propertyname padding-inline
113
- /// @cssprop --db-drawer-content-padding-inline
114
- /// @default #{map.get($spacing, "inline")}
115
- /* stylelint-disable-next-line db-ux/use-spacings */
116
- padding-inline: var(
117
- --db-drawer-content-padding-inline,
118
- #{map.get($spacing, "inline")}
119
- );
120
-
121
- // TODO: Evaluate whether we need overflow: hidden and that for only specifically set y here.
122
- overflow-y: auto;
123
- overflow-block: auto;
124
- }
125
- }
126
-
127
- %spacing-drawer {
128
- @each $name, $spacing in $spacings {
129
- @if $name == "medium" {
130
- @include get-spacing($spacing);
115
+ %drawer-safe-area {
116
+ &:not(:has(.db-drawer-footer)) {
117
+ > .db-drawer-content {
118
+ margin-block-end: env(safe-area-inset-bottom);
131
119
  }
120
+ }
132
121
 
133
- &[data-spacing="#{$name}"] {
134
- @include get-spacing($spacing);
122
+ &:has(.db-drawer-footer) {
123
+ .db-drawer-footer {
124
+ padding-block-end: calc(
125
+ #{variables.$db-spacing-fixed-xs} + env(safe-area-inset-bottom)
126
+ );
135
127
  }
136
128
  }
137
129
  }
138
130
 
139
131
  .db-drawer {
140
132
  .db-drawer-container {
141
- @extend %spacing-drawer;
133
+ @extend %drawer-safe-area;
134
+
135
+ // Close delay: 0s by default (reduced motion), set to transition duration
136
+ // when motion is allowed. Read by JS to schedule dialog.close().
137
+ --db-drawer-close-delay: 0;
138
+
139
+ @media (prefers-reduced-motion: no-preference) {
140
+ --db-drawer-close-delay: #{variables.$db-transition-duration-slow};
141
+ }
142
142
 
143
- display: flex;
144
- flex-direction: column;
143
+ display: grid;
144
+ grid-template-rows:
145
+ [header] auto
146
+ [main] 1fr
147
+ [footer] auto;
145
148
  background-color: colors.$db-adaptive-bg-basic-level-1-default;
146
- block-size: 100%;
147
- inline-size: 100%;
149
+ inline-size: 100lvw;
150
+ block-size: 100lvh;
148
151
  position: fixed;
149
152
  box-shadow: variables.$db-elevation-md;
150
153
 
151
- &:not([data-width="full"]) {
152
- /// Sets the maximum width of the drawer
153
- /// and some default values for the drawer
154
- /// @propertyname max-inline-size
155
- /// @cssprop --db-drawer-max-width
156
- /// @default calc(100% - #{variables.$db-spacing-fixed-xl})
157
- ///
158
- /// @example css - Wide drawer
159
- /// .db-drawer-wide {
160
- /// --db-drawer-max-width: 800px;
161
- /// }
162
- /// <div class="db-drawer db-drawer-wide">
163
- /// <!-- wide drawer -->
164
- /// </div>
165
- /* stylelint-disable-next-line db-ux/use-sizing */
166
- max-inline-size: var(
167
- --db-drawer-max-width,
168
- calc(100% - #{variables.$db-spacing-fixed-xl})
169
- );
170
- /* stylelint-disable-next-line db-ux/use-sizing */
171
- min-inline-size: var(--db-drawer-min-width, auto);
154
+ > .db-drawer-content {
155
+ overflow-y: auto;
156
+ overscroll-behavior: contain;
157
+ padding: variables.$db-spacing-fixed-xs
158
+ component.$drawer-content-padding-inline;
159
+ }
172
160
 
173
- &:not([data-direction]),
174
- &[data-direction="right"] {
175
- border-inline-start: component.$component-border;
176
- }
161
+ &[data-show-spacing="true"] {
162
+ // We use the size of a button for this spacing to make sure backdrop is clickable
163
+ --db-drawer-container-backdrop-spacing: #{variables.$db-sizing-md};
177
164
 
165
+ &:not([data-direction]),
178
166
  &[data-direction="left"] {
179
167
  border-inline-end: component.$component-border;
180
168
  }
181
169
 
170
+ &[data-direction="right"] {
171
+ border-inline-start: component.$component-border;
172
+ }
173
+
182
174
  &[data-direction="up"] {
183
175
  border-block-start: component.$component-border;
184
176
  }
@@ -198,46 +190,21 @@ $spacings: (
198
190
  #{variables.$db-transition-timing-emotional};
199
191
  }
200
192
 
201
- &:not([data-direction]),
202
193
  &[data-direction="right"] {
203
- @extend %direction-right;
194
+ @extend %direction-from-left-to-right;
204
195
  }
205
196
 
197
+ &:not([data-direction]),
206
198
  &[data-direction="left"] {
207
- @extend %direction-left;
199
+ @extend %direction-from-right-to-left;
208
200
  }
209
201
 
210
202
  &[data-direction="up"] {
211
- @extend %direction-up;
203
+ @extend %direction-from-bottom-to-top;
212
204
  }
213
205
 
214
206
  &[data-direction="down"] {
215
- @extend %direction-down;
216
- }
217
-
218
- .db-drawer-header {
219
- display: none;
220
-
221
- @include helpers.divider("bottom");
222
-
223
- .db-drawer-header-text {
224
- margin-block: auto;
225
- font-weight: 700;
226
- }
227
-
228
- .button-close-drawer {
229
- margin-inline-start: auto;
230
-
231
- // angular-workaround
232
- button {
233
- margin-inline-start: auto;
234
- }
235
- }
236
-
237
- &:has(.button-close-drawer),
238
- &:has(:not(.db-drawer-header-text:empty)) {
239
- display: flex;
240
- }
207
+ @extend %direction-from-top-to-bottom;
241
208
  }
242
209
  }
243
210
 
@@ -259,15 +226,15 @@ $spacings: (
259
226
  flex-direction: column;
260
227
  }
261
228
 
262
- &[data-direction="left"],
229
+ &[data-direction="right"],
263
230
  &[data-direction="down"] {
264
- align-items: start;
231
+ align-items: flex-start;
265
232
  }
266
233
 
267
234
  &:not([data-direction]),
268
- &[data-direction="right"],
235
+ &[data-direction="left"],
269
236
  &[data-direction="up"] {
270
- align-items: end;
237
+ align-items: flex-end;
271
238
  }
272
239
 
273
240
  .db-drawer-container {
@@ -278,22 +245,12 @@ $spacings: (
278
245
  &[open] {
279
246
  .db-drawer-container {
280
247
  &[data-transition="open"] {
281
- &:not([data-direction]),
282
- &[data-direction="right"],
283
- &[data-direction="left"] {
284
- transform: none;
285
- }
286
-
287
- &[data-direction="up"],
288
- &[data-direction="down"] {
289
- transform: none;
290
- }
248
+ transform: none;
291
249
  }
292
250
 
293
251
  &[data-transition="close"] {
294
252
  @media (prefers-reduced-motion: no-preference) {
295
- transition: transform
296
- #{variables.$db-transition-duration-slow}
253
+ transition: transform var(--db-drawer-close-delay)
297
254
  #{variables.$db-transition-timing-emotional};
298
255
  }
299
256
  }
@@ -0,0 +1,34 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
3
+ /* Variants for adaptive components like input, select, notification, ... */
4
+ .db-drawer-footer {
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: var(--db-spacing-fixed-sm);
8
+ padding: var(--db-spacing-fixed-xs) var(--db-spacing-fixed-sm);
9
+ --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
10
+ position: var(--db-tooltip-parent-position, relative);
11
+ }
12
+ .db-drawer-footer[data-emphasis=strong] {
13
+ --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
14
+ }
15
+ .db-drawer-footer::before {
16
+ content: "";
17
+ background-color: var(--db-divider-bg-color);
18
+ position: absolute;
19
+ /* jscpd:ignore-start */
20
+ block-size: var(--db-border-width-3xs);
21
+ inset-block-start: 0;
22
+ inset-inline: 0;
23
+ /* stylelint-disable-next-line db-ux/use-border-color */
24
+ }
25
+ @media (forced-colors: active) {
26
+ .db-drawer-footer::before {
27
+ /* stylelint-disable-next-line db-ux/use-border-color */
28
+ border-block-start: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
29
+ }
30
+ }
31
+ .db-drawer-footer::before {
32
+ /* stylelint-disable-next-line at-rule-empty-line-before */
33
+ /* jscpd:ignore-end */
34
+ }
@@ -0,0 +1,11 @@
1
+ @use "@db-ux/core-foundations/build/styles/variables";
2
+ @use "@db-ux/core-foundations/build/styles/helpers";
3
+
4
+ .db-drawer-footer {
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: variables.$db-spacing-fixed-sm;
8
+ padding: variables.$db-spacing-fixed-xs variables.$db-spacing-fixed-sm;
9
+
10
+ @include helpers.divider("top");
11
+ }
@@ -0,0 +1,38 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
3
+ /* Variants for adaptive components like input, select, notification, ... */
4
+ .db-drawer-header {
5
+ display: flex;
6
+ gap: var(--db-spacing-fixed-sm);
7
+ align-items: center;
8
+ padding: calc(var(--db-spacing-fixed-xs) + env(safe-area-inset-top)) var(--db-spacing-fixed-sm) var(--db-spacing-fixed-xs);
9
+ --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
10
+ position: var(--db-tooltip-parent-position, relative);
11
+ }
12
+ .db-drawer-header[data-emphasis=strong] {
13
+ --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
14
+ }
15
+ .db-drawer-header::before {
16
+ content: "";
17
+ background-color: var(--db-divider-bg-color);
18
+ position: absolute;
19
+ /* jscpd:ignore-start */
20
+ block-size: var(--db-border-width-3xs);
21
+ inset-block-end: 0;
22
+ inset-inline: 0;
23
+ /* stylelint-disable-next-line db-ux/use-border-color */
24
+ }
25
+ @media (forced-colors: active) {
26
+ .db-drawer-header::before {
27
+ /* stylelint-disable-next-line db-ux/use-border-color */
28
+ border-block-end: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
29
+ }
30
+ }
31
+ .db-drawer-header::before {
32
+ /* stylelint-disable-next-line at-rule-empty-line-before */
33
+ /* jscpd:ignore-end */
34
+ }
35
+ .db-drawer-header .db-drawer-header-container {
36
+ font-weight: 700;
37
+ margin-inline-end: auto;
38
+ }
@@ -0,0 +1,17 @@
1
+ @use "@db-ux/core-foundations/build/styles/variables";
2
+ @use "@db-ux/core-foundations/build/styles/helpers";
3
+
4
+ .db-drawer-header {
5
+ display: flex;
6
+ gap: variables.$db-spacing-fixed-sm;
7
+ align-items: center;
8
+ padding: calc(#{variables.$db-spacing-fixed-xs} + env(safe-area-inset-top))
9
+ variables.$db-spacing-fixed-sm variables.$db-spacing-fixed-xs;
10
+
11
+ @include helpers.divider("bottom");
12
+
13
+ .db-drawer-header-container {
14
+ font-weight: 700;
15
+ margin-inline-end: auto;
16
+ }
17
+ }
@@ -1,18 +1,13 @@
1
1
  .db-input[data-hide-label=true] > label, .db-visually-hidden,
2
2
  [data-visually-hidden=true] {
3
- clip: rect(0, 0, 0, 0) !important;
4
- overflow: hidden !important;
5
- white-space: nowrap !important;
6
- font-size: 0 !important;
7
- all: initial;
8
- inset-block-start: 0 !important;
9
- block-size: 1px !important;
10
3
  position: absolute !important;
4
+ inset-block-start: 0 !important;
11
5
  inline-size: 1px !important;
12
- border-width: 0 !important;
13
- border-style: initial !important;
14
- border-color: initial !important;
15
- border-image: initial !important;
6
+ block-size: 1px !important;
7
+ overflow: hidden !important;
8
+ clip: rect(0, 0, 0, 0) !important;
9
+ white-space: nowrap !important;
10
+ border: 0 !important;
16
11
  padding: 0 !important;
17
12
  pointer-events: none !important;
18
13
  }
@@ -82,7 +82,10 @@
82
82
  }
83
83
 
84
84
  .db-link a:not([hidden]), .db-link:not([hidden]) {
85
- display: inline-block;
85
+ display: inline-flex;
86
+ }
87
+ .db-link a, .db-link {
88
+ align-items: center;
86
89
  }
87
90
  .db-link a:not([data-wrap=true]), .db-link:not([data-wrap=true]) {
88
91
  block-size: var(--db-sizing-sm);
@@ -122,6 +125,9 @@
122
125
  opacity: var(--db-opacity-md);
123
126
  pointer-events: none;
124
127
  }
128
+ .db-link::after {
129
+ text-decoration: none;
130
+ }
125
131
 
126
132
  .db-link {
127
133
  --db-icon-margin-start: var(--db-spacing-fixed-2xs);
@@ -841,7 +841,10 @@
841
841
  }
842
842
  }
843
843
  .db-notification a:not([hidden]) {
844
- display: inline-block;
844
+ display: inline-flex;
845
+ }
846
+ .db-notification a {
847
+ align-items: center;
845
848
  }
846
849
  .db-notification a:not([data-wrap=true]) {
847
850
  block-size: var(--db-sizing-sm);
@@ -881,6 +884,9 @@
881
884
  opacity: var(--db-opacity-md);
882
885
  pointer-events: none;
883
886
  }
887
+ .db-notification a::after {
888
+ text-decoration: none;
889
+ }
884
890
 
885
891
  .db-notification {
886
892
  grid-template-areas: "content";
@@ -3,19 +3,14 @@
3
3
  /* Variants for adaptive components like input, select, notification, ... */
4
4
  .db-visually-hidden,
5
5
  [data-visually-hidden=true] {
6
- clip: rect(0, 0, 0, 0) !important;
7
- overflow: hidden !important;
8
- white-space: nowrap !important;
9
- font-size: 0 !important;
10
- all: initial;
11
- inset-block-start: 0 !important;
12
- block-size: 1px !important;
13
6
  position: absolute !important;
7
+ inset-block-start: 0 !important;
14
8
  inline-size: 1px !important;
15
- border-width: 0 !important;
16
- border-style: initial !important;
17
- border-color: initial !important;
18
- border-image: initial !important;
9
+ block-size: 1px !important;
10
+ overflow: hidden !important;
11
+ clip: rect(0, 0, 0, 0) !important;
12
+ white-space: nowrap !important;
13
+ border: 0 !important;
19
14
  padding: 0 !important;
20
15
  pointer-events: none !important;
21
16
  }
@@ -3,19 +3,14 @@
3
3
  /* Variants for adaptive components like input, select, notification, ... */
4
4
  .db-select[data-hide-label=true] > label, .db-visually-hidden,
5
5
  [data-visually-hidden=true] {
6
- clip: rect(0, 0, 0, 0) !important;
7
- overflow: hidden !important;
8
- white-space: nowrap !important;
9
- font-size: 0 !important;
10
- all: initial;
11
- inset-block-start: 0 !important;
12
- block-size: 1px !important;
13
6
  position: absolute !important;
7
+ inset-block-start: 0 !important;
14
8
  inline-size: 1px !important;
15
- border-width: 0 !important;
16
- border-style: initial !important;
17
- border-color: initial !important;
18
- border-image: initial !important;
9
+ block-size: 1px !important;
10
+ overflow: hidden !important;
11
+ clip: rect(0, 0, 0, 0) !important;
12
+ white-space: nowrap !important;
13
+ border: 0 !important;
19
14
  padding: 0 !important;
20
15
  pointer-events: none !important;
21
16
  }