@threadlabs/looma 0.47.4 → 0.47.5
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.
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
by the adjustable control target preference.</prop>
|
|
19
19
|
<prop name="matchButton" type="boolean" default="false"
|
|
20
20
|
>Matches a boxed Button of the same size when the two share a flex row. Uses the control-size theme tokens and stretches to the row's height, on mouse and
|
|
21
|
-
touch alike. Leave it off for compact toolbar and inline icon
|
|
21
|
+
touch alike. Touch expansion stays vertical so an adjacent action keeps its own horizontal boundary. Leave it off for compact toolbar and inline icon
|
|
22
|
+
buttons.</prop>
|
|
22
23
|
<prop name="variant" type="keyword" values="ghost, outline, solid" default="ghost"
|
|
23
24
|
>Emphasis. ghost shows only the icon until it is hovered, for toolbars and dense rows; outline adds a border on the default surface; solid fills with its
|
|
24
25
|
chosen tone.</prop>
|
|
@@ -399,6 +400,12 @@
|
|
|
399
400
|
align-self: stretch;
|
|
400
401
|
}
|
|
401
402
|
|
|
403
|
+
/* A paired action may grow vertically for touch, without intercepting its neighbour. */
|
|
404
|
+
:host([matchButton])::after,
|
|
405
|
+
html[data-ui-input-modality="touch"] :host([matchButton])::after {
|
|
406
|
+
inline-size: 100%;
|
|
407
|
+
}
|
|
408
|
+
|
|
402
409
|
:host([matchButton][size="sm"]) {
|
|
403
410
|
--_size: var(--ui-control-size-sm);
|
|
404
411
|
}
|