@threadlabs/looma 0.51.2 → 0.51.3

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.
@@ -184,7 +184,9 @@
184
184
  }
185
185
 
186
186
  @media (prefers-reduced-motion: reduce) {
187
- input::after {
187
+ input,
188
+ input::after,
189
+ input:checked::after {
188
190
  transition: none;
189
191
  animation: none;
190
192
  }
@@ -92,6 +92,13 @@
92
92
  background-color: var(--_meter-fill);
93
93
  background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.26), transparent 70%);
94
94
  box-shadow: inset 0 1px rgb(255 255 255 / 0.26), inset 0 -1px rgb(0 0 0 / 0.1);
95
+ transition: inline-size var(--ui-motion-layout) var(--ui-motion-layout-ease), background-color var(--ui-motion-feedback) var(--ui-motion-feedback-ease);
96
+ }
97
+
98
+ @media (prefers-reduced-motion: reduce) {
99
+ .fill {
100
+ transition: none;
101
+ }
95
102
  }
96
103
 
97
104
  :host([tone="accent-secondary"]) {
@@ -93,6 +93,10 @@
93
93
  background-image: var(--ui-surface-highlight, none);
94
94
  box-shadow: var(--ui-control-inset);
95
95
  cursor: pointer;
96
+ transition:
97
+ background-color var(--ui-motion-feedback) var(--ui-motion-feedback-ease),
98
+ border-color var(--ui-motion-feedback) var(--ui-motion-feedback-ease),
99
+ box-shadow var(--ui-motion-feedback) var(--ui-motion-feedback-ease);
96
100
  }
97
101
 
98
102
  /* The native radio retains grouping, validation and keyboard behavior.
@@ -165,6 +169,7 @@
165
169
  }
166
170
 
167
171
  @media (prefers-reduced-motion: reduce) {
172
+ input,
168
173
  input::after {
169
174
  transition: none;
170
175
  }