@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.
@@ -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 */