@threadlabs/looma 0.47.3 → 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 buttons.</prop>
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
  }
@@ -70,6 +70,8 @@
70
70
  display: grid !important;
71
71
  gap: var(--ui-space-2) !important;
72
72
  inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
73
+ /* Prevent fixed popover grid tracks from stretching in older WebKit. */
74
+ align-content: start !important;
73
75
  max-inline-size: 100%;
74
76
  box-sizing: border-box !important;
75
77
  margin: 0 !important;