@threadlabs/looma 0.52.7 → 0.52.9
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-icon-button/ui-icon-button.html +8 -8
- package/components/ui-segmented-control/ui-segmented-control.html +1 -1
- package/dist/index.js +1 -1
- package/docs/catalog.json +44 -2
- package/editor/components.css +8 -8
- package/package.json +1 -1
- package/styles/ui-icon-button.css +8 -8
- package/styles/ui-segmented-control.css +1 -1
- package/tokens.css +10 -0
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-secondary-solid) 5%, var(--ui-surface-default));
|
|
107
107
|
--_icon-button-solid-surface: var(--ui-accent-secondary);
|
|
108
108
|
--_icon-button-solid-hover-surface: var(--ui-accent-secondary-hover);
|
|
109
|
-
--_icon-button-solid-text: var(--ui-on-accent-secondary);
|
|
109
|
+
--_icon-button-solid-text: var(--ui-non-text-on-accent-secondary, var(--ui-on-accent-secondary));
|
|
110
110
|
color: var(--_icon-button-text);
|
|
111
111
|
}
|
|
112
112
|
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-tertiary-solid) 5%, var(--ui-surface-default));
|
|
129
129
|
--_icon-button-solid-surface: var(--ui-accent-tertiary);
|
|
130
130
|
--_icon-button-solid-hover-surface: var(--ui-accent-tertiary-hover);
|
|
131
|
-
--_icon-button-solid-text: var(--ui-on-accent-tertiary);
|
|
131
|
+
--_icon-button-solid-text: var(--ui-non-text-on-accent-tertiary, var(--ui-on-accent-tertiary));
|
|
132
132
|
color: var(--_icon-button-text);
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-danger) 5%, var(--ui-surface-default));
|
|
170
170
|
--_icon-button-solid-surface: var(--ui-danger);
|
|
171
171
|
--_icon-button-solid-hover-surface: var(--ui-danger-hover);
|
|
172
|
-
--_icon-button-solid-text: var(--ui-danger-on-strong);
|
|
172
|
+
--_icon-button-solid-text: var(--ui-non-text-on-danger, var(--ui-danger-on-strong));
|
|
173
173
|
color: var(--_icon-button-text);
|
|
174
174
|
}
|
|
175
175
|
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-success) 5%, var(--ui-surface-default));
|
|
192
192
|
--_icon-button-solid-surface: var(--ui-success);
|
|
193
193
|
--_icon-button-solid-hover-surface: var(--ui-success-hover);
|
|
194
|
-
--_icon-button-solid-text: var(--ui-success-on-strong);
|
|
194
|
+
--_icon-button-solid-text: var(--ui-non-text-on-success, var(--ui-success-on-strong));
|
|
195
195
|
color: var(--_icon-button-text);
|
|
196
196
|
}
|
|
197
197
|
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-warning) 5%, var(--ui-surface-default));
|
|
214
214
|
--_icon-button-solid-surface: var(--ui-warning);
|
|
215
215
|
--_icon-button-solid-hover-surface: var(--ui-warning-hover);
|
|
216
|
-
--_icon-button-solid-text: var(--ui-warning-on-strong);
|
|
216
|
+
--_icon-button-solid-text: var(--ui-non-text-on-warning, var(--ui-warning-on-strong));
|
|
217
217
|
color: var(--_icon-button-text);
|
|
218
218
|
}
|
|
219
219
|
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-info) 5%, var(--ui-surface-default));
|
|
236
236
|
--_icon-button-solid-surface: var(--ui-info);
|
|
237
237
|
--_icon-button-solid-hover-surface: var(--ui-info-hover);
|
|
238
|
-
--_icon-button-solid-text: var(--ui-info-on-strong);
|
|
238
|
+
--_icon-button-solid-text: var(--ui-non-text-on-info, var(--ui-info-on-strong));
|
|
239
239
|
color: var(--_icon-button-text);
|
|
240
240
|
}
|
|
241
241
|
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
border-color: var(--ui-icon-button-border, var(--_solid-border));
|
|
442
442
|
background-color: var(--ui-icon-button-solid-surface, var(--_icon-button-solid-surface, var(--ui-accent-solid)));
|
|
443
443
|
background-image: var(--_tone-highlight);
|
|
444
|
-
color: var(--ui-icon-button-solid-text, var(--_icon-button-solid-text, var(--ui-text-on-accent)));
|
|
444
|
+
color: var(--ui-icon-button-solid-text, var(--_icon-button-solid-text, var(--ui-non-text-on-accent, var(--ui-text-on-accent))));
|
|
445
445
|
box-shadow:
|
|
446
446
|
var(--ui-icon-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
447
447
|
var(--_tone-glow);
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
:host[data-appearance="solid"]:hover:enabled:not([aria-disabled="true"]) {
|
|
496
|
-
color: var(--ui-icon-button-solid-text, var(--_icon-button-solid-text, var(--ui-text-on-accent)));
|
|
496
|
+
color: var(--ui-icon-button-solid-text, var(--_icon-button-solid-text, var(--ui-non-text-on-accent, var(--ui-text-on-accent))));
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
:host[data-appearance="ghost"][aria-expanded="true"]:enabled:not([aria-disabled="true"]) {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
.segments {
|
|
78
78
|
display: inline-grid !important;
|
|
79
79
|
grid-auto-flow: column;
|
|
80
|
-
grid-auto-columns:
|
|
80
|
+
grid-auto-columns: auto;
|
|
81
81
|
min-inline-size: 0;
|
|
82
82
|
padding: var(--_segmented-padding) !important;
|
|
83
83
|
border: var(--ui-border-width) solid var(--ui-segmented-control-border, var(--ui-control-border));
|