@db-ux/core-components 4.5.0 → 4.5.2-0-eff2227
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 +12 -0
- package/build/components/accordion-item/accordion-item.css +2 -0
- package/build/components/button/button.css +3 -2
- package/build/components/custom-button/custom-button.css +3 -2
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +2 -0
- package/build/components/drawer/drawer.css +2 -0
- package/build/components/input/input.css +12 -0
- package/build/components/input/input.scss +11 -0
- package/build/components/link/link.css +2 -0
- package/build/components/navigation-item/navigation-item.css +2 -0
- package/build/components/notification/notification.css +2 -0
- package/build/components/popover/popover.css +2 -0
- package/build/components/tab-list/tab-list.css +2 -0
- package/build/components/tag/tag.css +2 -0
- package/build/components/textarea/textarea.css +2 -0
- package/build/components/tooltip/tooltip.css +2 -0
- package/build/styles/absolute.css +2 -2
- package/build/styles/component-animations.css +1 -1
- package/build/styles/index.css +2 -2
- package/build/styles/internal/_button-components.scss +3 -2
- package/build/styles/internal/_form-components.scss +5 -1
- package/build/styles/relative.css +2 -2
- package/build/styles/rollup.css +2 -2
- package/build/styles/webpack.css +2 -2
- package/package.json +7 -5
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
&[data-no-text="true"] {
|
|
67
67
|
#{$selector} {
|
|
68
68
|
padding: 0;
|
|
69
|
-
aspect-ratio: 1;
|
|
70
69
|
inline-size: variables.$db-sizing-md;
|
|
70
|
+
block-size: variables.$db-sizing-md;
|
|
71
71
|
|
|
72
72
|
@include icons.is-icon-text-replace;
|
|
73
73
|
|
|
@@ -102,11 +102,12 @@
|
|
|
102
102
|
// Square icon only buttons
|
|
103
103
|
&[data-no-text="true"] {
|
|
104
104
|
inline-size: variables.$db-sizing-sm;
|
|
105
|
+
block-size: variables.$db-sizing-sm;
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
|
|
109
|
-
&[data-width="full"] {
|
|
110
|
+
&[data-width="full"]:not([data-no-text="true"]) {
|
|
110
111
|
#{$selector} {
|
|
111
112
|
inline-size: 100%;
|
|
112
113
|
}
|
|
@@ -138,7 +138,7 @@ $db-min-inline-size: var(
|
|
|
138
138
|
@extend %db-overwrite-font-size-sm;
|
|
139
139
|
|
|
140
140
|
inset-block-start: calc(
|
|
141
|
-
variables.$db-sizing-md / 2 - 0.5em +
|
|
141
|
+
#{variables.$db-sizing-md} / 2 - 0.5em +
|
|
142
142
|
#{variables.$db-spacing-fixed-3xs}
|
|
143
143
|
);
|
|
144
144
|
}
|
|
@@ -227,6 +227,10 @@ $db-min-inline-size: var(
|
|
|
227
227
|
$variant: "critical";
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
+
@if $selector == "input" {
|
|
231
|
+
--db-icon-color: var(--db-#{$variant}-on-bg-basic-emphasis-100-default);
|
|
232
|
+
}
|
|
233
|
+
|
|
230
234
|
@if $selector != textarea {
|
|
231
235
|
@extend %db-#{$variant}-variables;
|
|
232
236
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|