@db-ux/core-components 4.0.3 → 4.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.
- package/CHANGELOG.md +33 -8
- package/build/assets/fonts/OpenSans-Bold-EU.woff2 +0 -0
- package/build/assets/fonts/OpenSans-ExtraBold-EU.woff2 +0 -0
- package/build/assets/fonts/OpenSans-Light-EU.woff2 +0 -0
- package/build/assets/fonts/OpenSans-Medium-EU.woff2 +0 -0
- package/build/assets/fonts/OpenSans-Regular-EU.woff2 +0 -0
- package/build/assets/fonts/OpenSans-SemiBold-EU.woff2 +0 -0
- package/build/assets/fonts/generate-eu-fonts.ts +1 -1
- package/build/assets/fonts/unicode-eu.txt +1 -0
- package/build/components/badge/badge.css +2 -1
- package/build/components/brand/brand.scss +2 -2
- package/build/components/button/button.css +10 -5
- package/build/components/button/button.scss +10 -5
- package/build/components/custom-select/custom-select.css +47 -4
- package/build/components/custom-select/custom-select.scss +4 -0
- package/build/components/custom-select-list/custom-select-list.css +1 -3
- package/build/components/custom-select-list/custom-select-list.scss +2 -4
- package/build/components/drawer/drawer.css +4 -8
- package/build/components/drawer/drawer.scss +5 -4
- package/build/components/icon/icon.scss +2 -2
- package/build/components/infotext/infotext.scss +2 -2
- package/build/components/input/input.css +46 -5
- package/build/components/navigation/navigation.css +1 -3
- package/build/components/navigation/navigation.scss +3 -4
- package/build/components/notification/notification-grid-default.scss +50 -0
- package/build/components/notification/notification-grid-non-overlay.scss +70 -58
- package/build/components/notification/notification-grid-overlay.scss +153 -52
- package/build/components/notification/notification-grid-shared.css +1 -0
- package/build/components/notification/notification-grid-shared.scss +80 -0
- package/build/components/notification/notification.css +165 -67
- package/build/components/notification/notification.scss +56 -68
- package/build/components/page/page.css +35 -0
- package/build/components/page/page.scss +4 -4
- package/build/components/popover/popover.scss +2 -2
- package/build/components/select/select.css +45 -5
- package/build/components/select/select.scss +1 -2
- package/build/components/tab-list/tab-list.css +1 -3
- package/build/components/tab-list/tab-list.scss +1 -2
- package/build/components/tab-panel/tab-panel.css +35 -0
- package/build/components/tab-panel/tab-panel.scss +2 -2
- package/build/components/tabs/tabs.scss +4 -4
- package/build/components/tag/tag.css +2 -1
- package/build/components/textarea/textarea.css +44 -4
- package/build/styles/absolute.css +7 -7
- package/build/styles/index.css +7 -7
- package/build/styles/internal/_button-components.scss +4 -3
- package/build/styles/internal/_form-components.scss +14 -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 +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,45 @@
|
|
|
1
1
|
# @db-ux/core-components
|
|
2
2
|
|
|
3
|
+
## 4.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 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)
|
|
8
|
+
|
|
9
|
+
- fix(DBCustomSelect): properly announce selected options - [see commit 773edeb](https://github.com/db-ux-design-system/core-web/commit/773edeb943a085eb79e1c8d59059137b2830fbf0):
|
|
10
|
+
- feat(DBCustomSelect): introduce new property `selectedPrefix`
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- fix(DBCustomSelect): automatically handle form reset events - [see commit 6af5246](https://github.com/db-ux-design-system/core-web/commit/6af5246b3b2e6febdc6ff6342ba1a8eb10184d14):
|
|
15
|
+
- An event listener is now added for every form component (input, custom-select, etc.) when a `form` property is passed.
|
|
16
|
+
- This listener detects form resets and updates the component's internal value/checked state accordingly.
|
|
17
|
+
- > **Note**: This does not work for `ngModel` in Angular.
|
|
18
|
+
|
|
19
|
+
- 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)
|
|
20
|
+
|
|
21
|
+
## 4.0.4
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- fix: hide-animation for drawer - [see commit d4a73fa](https://github.com/db-ux-design-system/core-web/commit/d4a73fa9faba38b6f20fda6f7c85d5c6617793fe)
|
|
26
|
+
|
|
3
27
|
## 4.0.3
|
|
4
28
|
|
|
5
|
-
|
|
29
|
+
### Patch Changes
|
|
6
30
|
|
|
31
|
+
- chore: generate Amazon Q rule file with [`@db-ux/agent-cli` node package](https://www.npmjs.com/package/@db-ux/agent-cli) - [see commit b61c8b1](https://github.com/db-ux-design-system/core-web/commit/b61c8b14992f5a5b3615c6bff74018d5682aa0cc)
|
|
7
32
|
|
|
8
33
|
## 4.0.2
|
|
9
34
|
|
|
10
35
|
### Patch Changes
|
|
11
36
|
|
|
12
|
-
- chore: update instructions files for better copilot outputs - [see commit
|
|
37
|
+
- chore: update instructions files for better copilot outputs - [see commit e4bc905](https://github.com/db-ux-design-system/core-web/commit/e4bc90508479387371d816d5776f9f568aa5fb82):
|
|
13
38
|
- fix: add some missing variables
|
|
14
39
|
|
|
15
|
-
- fix(card): Remove the obsolete but harmful declaration regarding wrapping button and link styles. - [see commit
|
|
40
|
+
- 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)
|
|
16
41
|
|
|
17
|
-
- Set border of select, textarea, custom select and input to corresponding color when in/valid state is set. - [see commit
|
|
42
|
+
- Set border of select, textarea, custom select and input to corresponding color when in/valid state is set. - [see commit 2a02263](https://github.com/db-ux-design-system/core-web/commit/2a022632f8fea7445e77fb632f109d6cd093e2d3)
|
|
18
43
|
|
|
19
44
|
## 4.0.1
|
|
20
45
|
|
|
@@ -57,18 +82,18 @@ _version bump_
|
|
|
57
82
|
|
|
58
83
|
### Patch Changes
|
|
59
84
|
|
|
60
|
-
-
|
|
61
|
-
-
|
|
85
|
+
- 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)
|
|
86
|
+
- 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)
|
|
62
87
|
- @db-ux/core-foundations@3.1.17
|
|
63
88
|
|
|
64
89
|
## 3.1.16
|
|
65
90
|
|
|
66
91
|
### Patch Changes
|
|
67
92
|
|
|
68
|
-
- a28eb71: fix(custom-select): keyboard navigation for option groups in single-select mode:
|
|
93
|
+
- 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):
|
|
69
94
|
- Fixes a keyboard accessibility issue where users could not navigate to options in subsequent option groups using arrow keys in single-select mode.
|
|
70
95
|
- Now, all options are accessible via keyboard regardless of group boundaries.
|
|
71
|
-
-
|
|
96
|
+
- 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)
|
|
72
97
|
- @db-ux/core-foundations@3.1.16
|
|
73
98
|
|
|
74
99
|
## 3.1.15
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -27,7 +27,7 @@ const generateFonts = async () => {
|
|
|
27
27
|
try {
|
|
28
28
|
const files = await glob(`${__dirname}/*.ttf`);
|
|
29
29
|
|
|
30
|
-
for (const file of files) {
|
|
30
|
+
for (const file of files.map(f=> f.replaceAll('\\', '/'))) {
|
|
31
31
|
// Security: Validate that the file is within the expected directory
|
|
32
32
|
// and has the expected extension to prevent path traversal attacks
|
|
33
33
|
if (!file.startsWith(__dirname) || !file.endsWith('.ttf')) {
|
|
@@ -12,3 +12,4 @@ U+010C, U+010D, U+010E, U+010F, U+011A, U+011B, U+0147, U+0148, U+0158, U+0159,
|
|
|
12
12
|
U+00E9, U+00E8, U+00EB, U+00E4, U+00FC, U+00F6, U+00EF, U+00C9, U+00C8, U+00CB, U+00C4, U+00DC, U+00D6, U+00CF # Netherlands characters
|
|
13
13
|
U+0391-03A9, U+03B1-03C9 # Greek characters
|
|
14
14
|
U+0410-042F, U+0430-044F # Cyrillic characters
|
|
15
|
+
U+0404,U+0406-0407,U+0456-0457,U+0413-0419,U+0433-0439,U+041A-041F,U+043A-043F,U+0420-0429,U+0440-0449,U+0490-0491 # Ukrainian characters
|
|
@@ -131,7 +131,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
131
131
|
/* Use for headline tags like <h1> */
|
|
132
132
|
.db-badge {
|
|
133
133
|
font-weight: 700;
|
|
134
|
-
|
|
134
|
+
overflow-wrap: break-word;
|
|
135
|
+
white-space: pre-line;
|
|
135
136
|
justify-content: center;
|
|
136
137
|
text-align: center;
|
|
137
138
|
align-items: center;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@use "@db-ux/core-foundations/build/styles/variables";
|
|
2
2
|
@use "@db-ux/core-foundations/build/styles/colors";
|
|
3
3
|
@use "@db-ux/core-foundations/build/styles/fonts";
|
|
4
|
-
@use "@db-ux/core-foundations/build/styles/helpers
|
|
4
|
+
@use "@db-ux/core-foundations/build/styles/helpers";
|
|
5
5
|
|
|
6
6
|
.db-brand {
|
|
7
7
|
@extend %db-overwrite-font-size-md;
|
|
8
|
-
@include
|
|
8
|
+
@include helpers.display(flex);
|
|
9
9
|
|
|
10
10
|
gap: variables.$db-spacing-fixed-sm;
|
|
11
11
|
align-items: center;
|
|
@@ -143,7 +143,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
143
143
|
|
|
144
144
|
.db-button {
|
|
145
145
|
font-weight: 700;
|
|
146
|
-
|
|
146
|
+
overflow-wrap: break-word;
|
|
147
|
+
white-space: pre-line;
|
|
147
148
|
justify-content: center;
|
|
148
149
|
text-align: center;
|
|
149
150
|
align-items: center;
|
|
@@ -154,16 +155,19 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
154
155
|
}
|
|
155
156
|
|
|
156
157
|
.db-button {
|
|
158
|
+
max-inline-size: 100%;
|
|
157
159
|
color: var(--db-adaptive-on-bg-basic-emphasis-100-default);
|
|
158
|
-
block-size: var(--db-sizing-md);
|
|
160
|
+
min-block-size: var(--db-sizing-md);
|
|
161
|
+
block-size: max-content;
|
|
159
162
|
inline-size: fit-content;
|
|
160
|
-
padding: var(--db-spacing-fixed-
|
|
163
|
+
padding: var(--db-spacing-fixed-2xs) var(--db-spacing-fixed-md);
|
|
161
164
|
text-decoration: none;
|
|
162
165
|
}
|
|
163
166
|
.db-button[data-no-text=true] {
|
|
164
167
|
font-size: 0 !important;
|
|
165
168
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
166
169
|
padding: 0;
|
|
170
|
+
aspect-ratio: 1;
|
|
167
171
|
inline-size: var(--db-sizing-md);
|
|
168
172
|
}
|
|
169
173
|
.db-button[data-no-text=true]::before {
|
|
@@ -174,10 +178,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
174
178
|
}
|
|
175
179
|
.db-button[data-size=small] {
|
|
176
180
|
font-weight: 700;
|
|
177
|
-
block-size: var(--db-sizing-sm);
|
|
181
|
+
min-block-size: var(--db-sizing-sm);
|
|
178
182
|
}
|
|
179
183
|
.db-button[data-size=small]:not([data-no-text=true]) {
|
|
180
|
-
padding:
|
|
184
|
+
padding: 1px var(--db-spacing-fixed-sm);
|
|
181
185
|
}
|
|
182
186
|
.db-button[data-size=small]:not([data-no-text=true])::before {
|
|
183
187
|
margin-inline-end: var(--db-spacing-fixed-2xs);
|
|
@@ -270,6 +274,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
270
274
|
.db-button:has(> .db-button) {
|
|
271
275
|
margin: 0;
|
|
272
276
|
padding: 0;
|
|
277
|
+
block-size: var(--db-sizing-md);
|
|
273
278
|
}
|
|
274
279
|
.db-button:has(> .db-button)::before {
|
|
275
280
|
content: none;
|
|
@@ -7,15 +7,18 @@
|
|
|
7
7
|
@use "../../styles/internal/component";
|
|
8
8
|
@use "../../styles/internal/button-components";
|
|
9
9
|
|
|
10
|
+
// generic styles can be found in _button-components.scss
|
|
10
11
|
.db-button {
|
|
11
12
|
@extend %default-interactive-component;
|
|
12
13
|
@extend %default-button;
|
|
13
14
|
@extend %db-overwrite-font-size-md;
|
|
14
15
|
|
|
16
|
+
max-inline-size: 100%;
|
|
15
17
|
color: colors.$db-adaptive-on-bg-basic-emphasis-100-default;
|
|
16
|
-
block-size: variables.$db-sizing-md;
|
|
18
|
+
min-block-size: variables.$db-sizing-md;
|
|
19
|
+
block-size: max-content;
|
|
17
20
|
inline-size: fit-content;
|
|
18
|
-
padding: variables.$db-spacing-fixed-
|
|
21
|
+
padding: variables.$db-spacing-fixed-2xs variables.$db-spacing-fixed-md;
|
|
19
22
|
|
|
20
23
|
// disable text-decoration if someone wants to use the button for an <a> tag
|
|
21
24
|
text-decoration: none;
|
|
@@ -25,6 +28,7 @@
|
|
|
25
28
|
@include icons.is-icon-text-replace;
|
|
26
29
|
|
|
27
30
|
padding: 0;
|
|
31
|
+
aspect-ratio: 1;
|
|
28
32
|
inline-size: variables.$db-sizing-md;
|
|
29
33
|
|
|
30
34
|
&::before {
|
|
@@ -36,11 +40,11 @@
|
|
|
36
40
|
@extend %db-overwrite-font-size-sm;
|
|
37
41
|
|
|
38
42
|
font-weight: 700;
|
|
39
|
-
block-size: variables.$db-sizing-sm;
|
|
43
|
+
min-block-size: variables.$db-sizing-sm;
|
|
40
44
|
|
|
41
45
|
&:not([data-no-text="true"]) {
|
|
42
|
-
|
|
43
|
-
|
|
46
|
+
// stylelint-disable-next-line db-ux/use-spacings
|
|
47
|
+
padding: 1px variables.$db-spacing-fixed-sm;
|
|
44
48
|
|
|
45
49
|
&::before {
|
|
46
50
|
margin-inline-end: variables.$db-spacing-fixed-2xs;
|
|
@@ -113,6 +117,7 @@
|
|
|
113
117
|
&:has(> .db-button) {
|
|
114
118
|
margin: 0;
|
|
115
119
|
padding: 0;
|
|
120
|
+
block-size: variables.$db-sizing-md;
|
|
116
121
|
|
|
117
122
|
&::before {
|
|
118
123
|
content: none;
|
|
@@ -869,7 +869,17 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
869
869
|
[type=datetime-local],
|
|
870
870
|
[type=month],
|
|
871
871
|
[type=week],
|
|
872
|
-
[type=time]):not(:user-valid
|
|
872
|
+
[type=time]):not(:user-valid,
|
|
873
|
+
[value*="1"],
|
|
874
|
+
[value*="2"],
|
|
875
|
+
[value*="3"],
|
|
876
|
+
[value*="4"],
|
|
877
|
+
[value*="5"],
|
|
878
|
+
[value*="6"],
|
|
879
|
+
[value*="7"],
|
|
880
|
+
[value*="8"],
|
|
881
|
+
[value*="9"],
|
|
882
|
+
[value*="0"])::-webkit-datetime-edit {
|
|
873
883
|
transition: none;
|
|
874
884
|
opacity: 0;
|
|
875
885
|
}
|
|
@@ -924,7 +934,17 @@ input[type=radio]:checked) summary:is([type=date],
|
|
|
924
934
|
[type=datetime-local],
|
|
925
935
|
[type=month],
|
|
926
936
|
[type=week],
|
|
927
|
-
[type=time]):not(:user-valid
|
|
937
|
+
[type=time]):not(:user-valid,
|
|
938
|
+
[value*="1"],
|
|
939
|
+
[value*="2"],
|
|
940
|
+
[value*="3"],
|
|
941
|
+
[value*="4"],
|
|
942
|
+
[value*="5"],
|
|
943
|
+
[value*="6"],
|
|
944
|
+
[value*="7"],
|
|
945
|
+
[value*="8"],
|
|
946
|
+
[value*="9"],
|
|
947
|
+
[value*="0"])::-webkit-datetime-edit {
|
|
928
948
|
opacity: var(--db-opacity-xl);
|
|
929
949
|
font-family: var(--db-font-family-sans);
|
|
930
950
|
font-style: italic;
|
|
@@ -940,7 +960,17 @@ input[type=radio]:checked) summary:is([type=date],
|
|
|
940
960
|
[type=datetime-local],
|
|
941
961
|
[type=month],
|
|
942
962
|
[type=week],
|
|
943
|
-
[type=time]):not(:user-valid
|
|
963
|
+
[type=time]):not(:user-valid,
|
|
964
|
+
[value*="1"],
|
|
965
|
+
[value*="2"],
|
|
966
|
+
[value*="3"],
|
|
967
|
+
[value*="4"],
|
|
968
|
+
[value*="5"],
|
|
969
|
+
[value*="6"],
|
|
970
|
+
[value*="7"],
|
|
971
|
+
[value*="8"],
|
|
972
|
+
[value*="9"],
|
|
973
|
+
[value*="0"])::-webkit-datetime-edit {
|
|
944
974
|
transition: opacity var(--db-transition-straight-emotional);
|
|
945
975
|
}
|
|
946
976
|
}
|
|
@@ -1060,7 +1090,17 @@ input[type=radio]:checked) summary:is([type=date],
|
|
|
1060
1090
|
[type=datetime-local],
|
|
1061
1091
|
[type=month],
|
|
1062
1092
|
[type=week],
|
|
1063
|
-
[type=time]):not(:user-valid
|
|
1093
|
+
[type=time]):not(:user-valid,
|
|
1094
|
+
[value*="1"],
|
|
1095
|
+
[value*="2"],
|
|
1096
|
+
[value*="3"],
|
|
1097
|
+
[value*="4"],
|
|
1098
|
+
[value*="5"],
|
|
1099
|
+
[value*="6"],
|
|
1100
|
+
[value*="7"],
|
|
1101
|
+
[value*="8"],
|
|
1102
|
+
[value*="9"],
|
|
1103
|
+
[value*="0"])::-webkit-datetime-edit {
|
|
1064
1104
|
opacity: var(--db-opacity-xl);
|
|
1065
1105
|
font-family: var(--db-font-family-sans);
|
|
1066
1106
|
font-style: italic;
|
|
@@ -1202,6 +1242,9 @@ summary[aria-disabled=true]) {
|
|
|
1202
1242
|
opacity: var(--db-opacity-lg);
|
|
1203
1243
|
}
|
|
1204
1244
|
}
|
|
1245
|
+
.db-custom-select > details[open] > summary > span > span::after {
|
|
1246
|
+
content: ": ";
|
|
1247
|
+
}
|
|
1205
1248
|
.db-custom-select[data-variant=floating] .db-custom-select-form-field > span {
|
|
1206
1249
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
1207
1250
|
padding-block-start: calc(var(--db-type-body-font-size-2xs) + var(--db-spacing-fixed-3xs));
|
|
@@ -141,10 +141,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
141
141
|
}
|
|
142
142
|
.db-custom-select-list > ul {
|
|
143
143
|
all: unset;
|
|
144
|
-
flex-direction: column;
|
|
145
|
-
}
|
|
146
|
-
.db-custom-select-list > ul:not([hidden]) {
|
|
147
144
|
display: flex;
|
|
145
|
+
flex-direction: column;
|
|
148
146
|
}
|
|
149
147
|
.db-custom-select-list > ul:has(span) {
|
|
150
148
|
--db-custom-select-list-item-group-padding: 1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use "@db-ux/core-foundations/build/styles/variables";
|
|
2
2
|
@use "../../styles/internal/form-components";
|
|
3
|
-
@use "@db-ux/core-foundations/build/styles/helpers
|
|
3
|
+
@use "@db-ux/core-foundations/build/styles/helpers";
|
|
4
4
|
|
|
5
5
|
.db-custom-select-list {
|
|
6
6
|
all: unset;
|
|
@@ -27,9 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
> ul {
|
|
29
29
|
all: unset;
|
|
30
|
-
|
|
31
|
-
@include display.display(flex);
|
|
32
|
-
|
|
30
|
+
display: flex;
|
|
33
31
|
flex-direction: column;
|
|
34
32
|
|
|
35
33
|
&:has(span) {
|
|
@@ -278,6 +278,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
.db-drawer .db-drawer-container {
|
|
281
|
+
display: flex;
|
|
281
282
|
flex-direction: column;
|
|
282
283
|
background-color: var(--db-adaptive-bg-basic-level-1-default);
|
|
283
284
|
block-size: 100%;
|
|
@@ -285,9 +286,6 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
285
286
|
position: fixed;
|
|
286
287
|
box-shadow: var(--db-elevation-md);
|
|
287
288
|
}
|
|
288
|
-
.db-drawer .db-drawer-container:not([hidden]) {
|
|
289
|
-
display: flex;
|
|
290
|
-
}
|
|
291
289
|
.db-drawer .db-drawer-container:not([data-width=full]) {
|
|
292
290
|
max-inline-size: var(--db-drawer-max-width, calc(100% - var(--db-spacing-fixed-xl)));
|
|
293
291
|
min-inline-size: var(--db-drawer-min-width, calc(100% - var(--db-spacing-fixed-xl)));
|
|
@@ -308,12 +306,10 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
308
306
|
box-shadow: var(--db-elevation-md);
|
|
309
307
|
}
|
|
310
308
|
.db-drawer .db-drawer-container .db-drawer-header {
|
|
309
|
+
display: none;
|
|
311
310
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
|
|
312
311
|
position: var(--db-tooltip-parent-position, relative);
|
|
313
312
|
}
|
|
314
|
-
.db-drawer .db-drawer-container .db-drawer-header:not([hidden]) {
|
|
315
|
-
display: none;
|
|
316
|
-
}
|
|
317
313
|
.db-drawer .db-drawer-container .db-drawer-header[data-emphasis=strong] {
|
|
318
314
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
|
|
319
315
|
}
|
|
@@ -342,7 +338,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
342
338
|
.db-drawer .db-drawer-container .db-drawer-header .button-close-drawer button {
|
|
343
339
|
margin-inline-start: auto;
|
|
344
340
|
}
|
|
345
|
-
.db-drawer .db-drawer-container .db-drawer-header:has(.button-close-drawer)
|
|
341
|
+
.db-drawer .db-drawer-container .db-drawer-header:has(.button-close-drawer), .db-drawer .db-drawer-container .db-drawer-header:has(:not(.db-drawer-header-text:empty)) {
|
|
346
342
|
display: flex;
|
|
347
343
|
}
|
|
348
344
|
.db-drawer[data-position=absolute] {
|
|
@@ -353,7 +349,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
353
349
|
inline-size: 100%;
|
|
354
350
|
background-color: transparent;
|
|
355
351
|
}
|
|
356
|
-
.db-drawer[data-position=absolute][open]
|
|
352
|
+
.db-drawer[data-position=absolute][open] {
|
|
357
353
|
display: flex;
|
|
358
354
|
}
|
|
359
355
|
.db-drawer[data-position=absolute]:not([data-direction]), .db-drawer[data-position=absolute][data-direction=right], .db-drawer[data-position=absolute][data-direction=left] {
|
|
@@ -137,8 +137,8 @@ $spacings: (
|
|
|
137
137
|
.db-drawer-container {
|
|
138
138
|
@extend %direction-right;
|
|
139
139
|
@extend %spacing-drawer;
|
|
140
|
-
@include helpers.display(flex);
|
|
141
140
|
|
|
141
|
+
display: flex;
|
|
142
142
|
flex-direction: column;
|
|
143
143
|
background-color: colors.$db-adaptive-bg-basic-level-1-default;
|
|
144
144
|
block-size: 100%;
|
|
@@ -204,7 +204,8 @@ $spacings: (
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
.db-drawer-header {
|
|
207
|
-
|
|
207
|
+
display: none;
|
|
208
|
+
|
|
208
209
|
@include helpers.divider("bottom");
|
|
209
210
|
|
|
210
211
|
.db-drawer-header-text {
|
|
@@ -223,7 +224,7 @@ $spacings: (
|
|
|
223
224
|
|
|
224
225
|
&:has(.button-close-drawer),
|
|
225
226
|
&:has(:not(.db-drawer-header-text:empty)) {
|
|
226
|
-
|
|
227
|
+
display: flex;
|
|
227
228
|
}
|
|
228
229
|
}
|
|
229
230
|
}
|
|
@@ -237,7 +238,7 @@ $spacings: (
|
|
|
237
238
|
background-color: transparent;
|
|
238
239
|
|
|
239
240
|
&[open] {
|
|
240
|
-
|
|
241
|
+
display: flex;
|
|
241
242
|
}
|
|
242
243
|
|
|
243
244
|
&:not([data-direction]),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@use "@db-ux/core-foundations/build/styles/icons";
|
|
2
|
-
@use "@db-ux/core-foundations/build/styles/helpers
|
|
2
|
+
@use "@db-ux/core-foundations/build/styles/helpers";
|
|
3
3
|
|
|
4
4
|
.db-icon {
|
|
5
5
|
@include icons.is-icon-text-replace;
|
|
6
6
|
|
|
7
7
|
/* Safari hack */
|
|
8
8
|
@supports (-webkit-hyphens: none) {
|
|
9
|
-
@include
|
|
9
|
+
@include helpers.display(inline-block);
|
|
10
10
|
|
|
11
11
|
&::before {
|
|
12
12
|
block-size: auto;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "@db-ux/core-foundations/build/styles/fonts";
|
|
3
3
|
@use "@db-ux/core-foundations/build/styles/variables";
|
|
4
|
-
@use "@db-ux/core-foundations/build/styles/helpers
|
|
4
|
+
@use "@db-ux/core-foundations/build/styles/helpers";
|
|
5
5
|
@use "@db-ux/core-foundations/build/styles/colors";
|
|
6
6
|
@use "@db-ux/core-foundations/build/styles/icons";
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--db-icon-margin-end: #{variables.$db-spacing-fixed-2xs};
|
|
10
10
|
|
|
11
11
|
@extend %db-overwrite-font-size-sm;
|
|
12
|
-
@include
|
|
12
|
+
@include helpers.display(flex);
|
|
13
13
|
|
|
14
14
|
@include icons.has-no-icon {
|
|
15
15
|
@include icons.to-filled-icon;
|
|
@@ -570,7 +570,8 @@ input[type=radio]:checked) > label {
|
|
|
570
570
|
|
|
571
571
|
.db-input input::file-selector-button {
|
|
572
572
|
font-weight: 700;
|
|
573
|
-
|
|
573
|
+
overflow-wrap: break-word;
|
|
574
|
+
white-space: pre-line;
|
|
574
575
|
justify-content: center;
|
|
575
576
|
text-align: center;
|
|
576
577
|
align-items: center;
|
|
@@ -642,7 +643,17 @@ input[type=radio]:checked) > label {
|
|
|
642
643
|
[type=datetime-local],
|
|
643
644
|
[type=month],
|
|
644
645
|
[type=week],
|
|
645
|
-
[type=time]):not(:user-valid
|
|
646
|
+
[type=time]):not(:user-valid,
|
|
647
|
+
[value*="1"],
|
|
648
|
+
[value*="2"],
|
|
649
|
+
[value*="3"],
|
|
650
|
+
[value*="4"],
|
|
651
|
+
[value*="5"],
|
|
652
|
+
[value*="6"],
|
|
653
|
+
[value*="7"],
|
|
654
|
+
[value*="8"],
|
|
655
|
+
[value*="9"],
|
|
656
|
+
[value*="0"])::-webkit-datetime-edit {
|
|
646
657
|
transition: none;
|
|
647
658
|
opacity: 0;
|
|
648
659
|
}
|
|
@@ -695,7 +706,17 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
695
706
|
[type=datetime-local],
|
|
696
707
|
[type=month],
|
|
697
708
|
[type=week],
|
|
698
|
-
[type=time]):not(:user-valid
|
|
709
|
+
[type=time]):not(:user-valid,
|
|
710
|
+
[value*="1"],
|
|
711
|
+
[value*="2"],
|
|
712
|
+
[value*="3"],
|
|
713
|
+
[value*="4"],
|
|
714
|
+
[value*="5"],
|
|
715
|
+
[value*="6"],
|
|
716
|
+
[value*="7"],
|
|
717
|
+
[value*="8"],
|
|
718
|
+
[value*="9"],
|
|
719
|
+
[value*="0"])::-webkit-datetime-edit {
|
|
699
720
|
opacity: var(--db-opacity-xl);
|
|
700
721
|
font-family: var(--db-font-family-sans);
|
|
701
722
|
font-style: italic;
|
|
@@ -709,7 +730,17 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
709
730
|
[type=datetime-local],
|
|
710
731
|
[type=month],
|
|
711
732
|
[type=week],
|
|
712
|
-
[type=time]):not(:user-valid
|
|
733
|
+
[type=time]):not(:user-valid,
|
|
734
|
+
[value*="1"],
|
|
735
|
+
[value*="2"],
|
|
736
|
+
[value*="3"],
|
|
737
|
+
[value*="4"],
|
|
738
|
+
[value*="5"],
|
|
739
|
+
[value*="6"],
|
|
740
|
+
[value*="7"],
|
|
741
|
+
[value*="8"],
|
|
742
|
+
[value*="9"],
|
|
743
|
+
[value*="0"])::-webkit-datetime-edit {
|
|
713
744
|
transition: opacity var(--db-transition-straight-emotional);
|
|
714
745
|
}
|
|
715
746
|
}
|
|
@@ -844,7 +875,17 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
844
875
|
[type=datetime-local],
|
|
845
876
|
[type=month],
|
|
846
877
|
[type=week],
|
|
847
|
-
[type=time]):not(:user-valid
|
|
878
|
+
[type=time]):not(:user-valid,
|
|
879
|
+
[value*="1"],
|
|
880
|
+
[value*="2"],
|
|
881
|
+
[value*="3"],
|
|
882
|
+
[value*="4"],
|
|
883
|
+
[value*="5"],
|
|
884
|
+
[value*="6"],
|
|
885
|
+
[value*="7"],
|
|
886
|
+
[value*="8"],
|
|
887
|
+
[value*="9"],
|
|
888
|
+
[value*="0"])::-webkit-datetime-edit {
|
|
848
889
|
opacity: var(--db-opacity-xl);
|
|
849
890
|
font-family: var(--db-font-family-sans);
|
|
850
891
|
font-style: italic;
|
|
@@ -200,6 +200,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
.db-navigation > menu {
|
|
203
|
+
display: flex;
|
|
203
204
|
flex-direction: column;
|
|
204
205
|
padding: 0;
|
|
205
206
|
margin: 0;
|
|
@@ -207,9 +208,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
207
208
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
208
209
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
209
210
|
}
|
|
210
|
-
.db-navigation > menu:not([hidden]) {
|
|
211
|
-
display: flex;
|
|
212
|
-
}
|
|
213
211
|
@media screen and (min-width: 64em) {
|
|
214
212
|
.db-navigation > menu:not([data-force-mobile]), .db-navigation > menu[data-force-mobile=false] {
|
|
215
213
|
flex-direction: row;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use "@db-ux/core-foundations/build/styles/variables";
|
|
2
2
|
@use "@db-ux/core-foundations/build/styles/screen-sizes";
|
|
3
3
|
@use "../../styles/internal/component";
|
|
4
|
-
@use "@db-ux/core-foundations/build/styles/helpers
|
|
4
|
+
@use "@db-ux/core-foundations/build/styles/helpers";
|
|
5
5
|
@use "../../styles/internal/form-components";
|
|
6
6
|
@use "../../styles/internal/db-puls";
|
|
7
7
|
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
> menu {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
display: flex;
|
|
20
19
|
flex-direction: column;
|
|
21
20
|
padding: 0;
|
|
22
21
|
margin: 0;
|
|
@@ -102,7 +101,7 @@
|
|
|
102
101
|
&[data-force-close="true"] {
|
|
103
102
|
> menu menu {
|
|
104
103
|
@include screen-sizes.screen("md") {
|
|
105
|
-
@include
|
|
104
|
+
@include helpers.display(none);
|
|
106
105
|
}
|
|
107
106
|
}
|
|
108
107
|
}
|