@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.
- package/components/ui-checkbox/ui-checkbox.html +3 -1
- package/components/ui-meter/ui-meter.html +7 -0
- package/components/ui-radio/ui-radio.html +5 -0
- package/dist/index.js +1 -1
- package/docs/catalog.json +19 -1
- package/editor/components.css +3 -1
- package/package.json +1 -1
- package/styles/ui-checkbox.css +3 -1
- package/styles/ui-meter.css +10 -0
- package/styles/ui-radio.css +5 -0
|
@@ -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
|
}
|