@db-ux/core-components 4.0.0 → 4.0.1-0-540218c
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 +5 -0
- package/agent/_instructions.md +7 -2
- package/build/components/accordion-item/accordion-item.css +4 -1
- package/build/components/badge/badge.css +2 -0
- package/build/components/brand/brand.css +2 -0
- package/build/components/button/button.css +2 -0
- package/build/components/checkbox/checkbox.css +4 -1
- package/build/components/custom-select/custom-select.css +61 -1
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +2 -0
- package/build/components/custom-select-form-field/custom-select-form-field.css +2 -0
- package/build/components/custom-select-list/custom-select-list.css +2 -0
- package/build/components/custom-select-list-item/custom-select-list-item.css +2 -0
- package/build/components/header/header.css +2 -0
- package/build/components/infotext/infotext.css +4 -1
- package/build/components/input/input.css +59 -1
- package/build/components/link/link.css +4 -1
- package/build/components/navigation/navigation.css +2 -0
- package/build/components/navigation-item/navigation-item.css +4 -1
- package/build/components/notification/notification.css +4 -1
- package/build/components/radio/radio.css +2 -0
- package/build/components/select/select.css +61 -1
- package/build/components/switch/switch.css +4 -1
- package/build/components/tab-item/tab-item.css +2 -0
- package/build/components/tab-list/tab-list.css +2 -0
- package/build/components/tabs/tabs.css +2 -0
- package/build/components/tag/tag.css +4 -1
- package/build/components/textarea/textarea.css +57 -0
- package/build/components/tooltip/tooltip.css +2 -0
- package/build/styles/absolute.css +4 -4
- package/build/styles/index.css +4 -4
- package/build/styles/internal/_form-components.scss +25 -0
- package/build/styles/relative.css +4 -4
- package/build/styles/rollup.css +4 -4
- package/build/styles/webpack.css +4 -4
- package/package.json +2 -2
|
@@ -71,10 +71,35 @@ $db-min-inline-size: var(
|
|
|
71
71
|
[id$="-placeholder"] {
|
|
72
72
|
@content;
|
|
73
73
|
}
|
|
74
|
+
|
|
75
|
+
// Workaround until the :blank pseudo-class is widely supported; then prefer targeting that pseudo-class.
|
|
76
|
+
#{$selector} {
|
|
77
|
+
&:is(
|
|
78
|
+
[type="date"],
|
|
79
|
+
[type="datetime-local"],
|
|
80
|
+
[type="month"],
|
|
81
|
+
[type="week"],
|
|
82
|
+
[type="time"]
|
|
83
|
+
):not(:user-valid)::-webkit-datetime-edit {
|
|
84
|
+
@content;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
74
87
|
}
|
|
75
88
|
|
|
76
89
|
@mixin set-floating-label-overwrites($selector) {
|
|
77
90
|
&[data-variant="floating"] {
|
|
91
|
+
@include get-validity($selector) {
|
|
92
|
+
label {
|
|
93
|
+
color: var(--db-successful-on-bg-basic-emphasis-80-default);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@include get-validity($selector, "invalid") {
|
|
98
|
+
label {
|
|
99
|
+
color: var(--db-critical-on-bg-basic-emphasis-80-default);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
78
103
|
> label {
|
|
79
104
|
@extend %db-overwrite-font-size-md;
|
|
80
105
|
|