@db-ux/core-components 3.1.16 → 3.1.18
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/README.md +1 -1
- package/agent/_instructions.md +9 -0
- package/build/components/accordion-item/accordion-item.css +3 -1
- package/build/components/accordion-item/accordion-item.scss +3 -1
- package/build/components/badge/badge.css +3 -1
- package/build/components/brand/brand.css +3 -1
- package/build/components/brand/brand.scss +2 -1
- package/build/components/button/button.css +3 -1
- package/build/components/card/card.css +3 -1
- package/build/components/card/card.scss +1 -1
- package/build/components/checkbox/checkbox.css +29 -24
- package/build/components/checkbox/checkbox.scss +2 -1
- package/build/components/custom-select/custom-select.css +34 -26
- package/build/components/custom-select/custom-select.scss +1 -1
- 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-form-field/custom-select-form-field.css +6 -2
- package/build/components/custom-select-form-field/custom-select-form-field.scss +5 -2
- package/build/components/custom-select-list/custom-select-list.css +3 -1
- package/build/components/custom-select-list/custom-select-list.scss +4 -1
- package/build/components/custom-select-list-item/custom-select-list-item.css +3 -1
- package/build/components/custom-select-list-item/custom-select-list-item.scss +2 -1
- package/build/components/drawer/drawer.css +8 -4
- package/build/components/drawer/drawer.scss +29 -5
- package/build/components/header/header.css +46 -24
- package/build/components/header/header.scss +27 -18
- package/build/components/icon/icon.css +1 -1
- package/build/components/icon/icon.scss +2 -1
- package/build/components/infotext/infotext.css +2 -0
- package/build/components/infotext/infotext.scss +2 -2
- package/build/components/input/input.css +30 -26
- package/build/components/link/link.css +2 -2
- package/build/components/navigation/navigation.css +4 -2
- package/build/components/navigation/navigation.scss +4 -2
- package/build/components/navigation-item/navigation-item.css +15 -6
- package/build/components/navigation-item/navigation-item.scss +10 -6
- package/build/components/notification/notification-grid-non-overlay.scss +3 -1
- package/build/components/notification/notification.css +6 -4
- package/build/components/notification/notification.scss +2 -1
- package/build/components/page/page.css +12 -4
- package/build/components/page/page.scss +8 -3
- package/build/components/popover/popover.css +3 -1
- package/build/components/popover/popover.scss +4 -1
- package/build/components/radio/radio.css +4 -1
- package/build/components/select/select.css +34 -26
- package/build/components/select/select.scss +2 -1
- package/build/components/stack/stack-web-component.css +3 -1
- package/build/components/stack/stack.css +3 -1
- package/build/components/switch/switch.css +7 -2
- package/build/components/switch/switch.scss +3 -1
- package/build/components/tab-item/tab-item.css +6 -2
- package/build/components/tab-item/tab-item.scss +6 -2
- package/build/components/tab-list/tab-list.css +3 -1
- package/build/components/tab-list/tab-list.scss +2 -1
- package/build/components/tab-panel/tab-panel.css +1 -1
- package/build/components/tab-panel/tab-panel.scss +2 -1
- package/build/components/tabs/tabs.css +58 -56
- package/build/components/tabs/tabs.scss +4 -3
- package/build/components/tag/tag.css +11 -5
- package/build/components/tag/tag.scss +5 -3
- package/build/components/textarea/textarea.css +27 -25
- package/build/styles/absolute.css +16 -16
- package/build/styles/index.css +15 -15
- package/build/styles/internal/_button-components.scss +5 -1
- package/build/styles/internal/_form-components.scss +8 -6
- package/build/styles/internal/_link-components.scss +2 -2
- package/build/styles/internal/_select-components.scss +9 -0
- package/build/styles/internal/_stack-components.scss +2 -1
- package/build/styles/relative.css +16 -16
- package/build/styles/rollup.css +16 -16
- package/build/styles/webpack.css +16 -16
- package/package.json +6 -2
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
@use "@db-ux/core-foundations/build/styles/helpers/display";
|
|
2
|
+
|
|
1
3
|
%default-button {
|
|
2
4
|
font-weight: 700;
|
|
3
5
|
white-space: nowrap; // we don't want to break buttons
|
|
4
6
|
justify-content: center;
|
|
5
7
|
text-align: center;
|
|
6
|
-
|
|
8
|
+
|
|
9
|
+
@include display.display(inline-flex);
|
|
10
|
+
|
|
7
11
|
align-items: center; // Centering the content vertically and horizontally
|
|
8
12
|
vertical-align: top; // Alignment of inline-flex buttons with different content
|
|
9
13
|
}
|
|
@@ -61,7 +61,7 @@ $db-min-inline-size: var(
|
|
|
61
61
|
margin-block-start: variables.$db-spacing-fixed-2xs;
|
|
62
62
|
|
|
63
63
|
&:is([data-semantic="successful"], [data-semantic="critical"]) {
|
|
64
|
-
display
|
|
64
|
+
@include helpers.display(none);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -160,17 +160,17 @@ $db-min-inline-size: var(
|
|
|
160
160
|
> .db-infotext {
|
|
161
161
|
@if $key == "valid" {
|
|
162
162
|
&[data-semantic="successful"] {
|
|
163
|
-
display
|
|
163
|
+
@include helpers.display(flex);
|
|
164
164
|
}
|
|
165
165
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
166
166
|
} @else {
|
|
167
167
|
&[data-semantic="critical"] {
|
|
168
|
-
display
|
|
168
|
+
@include helpers.display(flex);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
&:not([data-semantic]) {
|
|
173
|
-
display
|
|
173
|
+
@include helpers.display(none);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
}
|
|
@@ -312,8 +312,9 @@ $input-valid-types:
|
|
|
312
312
|
|
|
313
313
|
// we use absolute icons
|
|
314
314
|
position: relative;
|
|
315
|
-
display: flex;
|
|
316
315
|
flex-direction: column;
|
|
316
|
+
|
|
317
|
+
@include helpers.display(flex);
|
|
317
318
|
}
|
|
318
319
|
|
|
319
320
|
&[data-variant="floating"],
|
|
@@ -513,7 +514,8 @@ $input-valid-types:
|
|
|
513
514
|
|
|
514
515
|
&:is(label),
|
|
515
516
|
> label {
|
|
516
|
-
display
|
|
517
|
+
@include helpers.display(flex);
|
|
518
|
+
|
|
517
519
|
align-items: flex-start;
|
|
518
520
|
position: relative;
|
|
519
521
|
color: var(
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@use "./component";
|
|
6
6
|
|
|
7
7
|
%db-link-height {
|
|
8
|
-
display
|
|
8
|
+
@include helpers.display(inline-block);
|
|
9
9
|
|
|
10
10
|
&:not([data-wrap="true"]) {
|
|
11
11
|
block-size: variables.$db-sizing-sm;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&[data-variant="inline"] {
|
|
53
|
-
display
|
|
53
|
+
@include helpers.display(inline);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&:focus-visible {
|
|
@@ -23,6 +23,15 @@ $select-icon-padding: calc(
|
|
|
23
23
|
position: absolute;
|
|
24
24
|
inset-block-start: 0;
|
|
25
25
|
inset-inline-start: 0;
|
|
26
|
+
opacity: 0;
|
|
27
|
+
|
|
28
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
29
|
+
transition:
|
|
30
|
+
opacity #{variables.$db-transition-straight-emotional},
|
|
31
|
+
outline #{variables.$db-transition-duration-extra-fast},
|
|
32
|
+
border-color #{variables.$db-transition-straight-emotional},
|
|
33
|
+
background-color #{variables.$db-transition-straight-emotional};
|
|
34
|
+
}
|
|
26
35
|
}
|
|
27
36
|
|
|
28
37
|
%select-placeholder {
|