@threadlabs/looma 0.37.1 → 0.37.2

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.
@@ -19,7 +19,7 @@
19
19
  <prop name="size" type="keyword" values="sm, md, lg" default="md"
20
20
  >Aligns the checkbox with fields and buttons of the same size. It keeps its box size; the label takes that size's field type size and its first line centres
21
21
  in that control height (sm 2rem, lg 3rem by default), so in a row of inputs, selects, and buttons of one size it shares their height and their text
22
- baseline. Under a coarse pointer an sm row grows to the 44px touch minimum, as they do. md is the standard layout.</prop>
22
+ baseline. Touch input keeps the same visible alignment. md is the standard layout.</prop>
23
23
  <state type="boolean" name="internalChecked" value="false"></state>
24
24
  <event name="change" type="object">
25
25
  <prop name="checked" required type="boolean"></prop>
@@ -85,7 +85,7 @@
85
85
  <prop name="size" type="keyword" values="sm, md, lg" default="md"
86
86
  >Field height, padding, and type size, matching Button's sizes so a field and a button of one size share a row. sm is the small control height (2rem by
87
87
  default) with smaller text, for compact rows such as a table row or a filter bar; md is the standard control height; lg is taller with roomier padding.
88
- Under a coarse pointer, sm grows to the 44px touch minimum and keeps body-size text. The label keeps its size.</prop>
88
+ Touch input keeps body-size field text without inflating the visible size ladder. The label keeps its size.</prop>
89
89
  <prop name="labelVisibility" type="keyword" values="visible, sr-only" default="visible"
90
90
  >visible shows the label above the field; sr-only hides it visually but keeps it as the input's accessible name. Use sr-only only when the surrounding
91
91
  layout already makes the field's purpose clear.</prop>
@@ -34,9 +34,9 @@
34
34
  <prop name="required" type="boolean" default="false">Marks the control as required for form validation.</prop>
35
35
  <prop name="size" type="keyword" values="sm, md, lg" default="md"
36
36
  >Height, padding, and type size, matching Button's sizes so a field and a button of one size share a row. sm is the small control height (2rem by default)
37
- with smaller text, for compact rows such as a table row or a filter bar; md is the standard control height; lg is taller with roomier padding. Under a
38
- coarse pointer, sm grows to the 44px touch minimum and keeps body-size text. Change it after render through this option; the element's size property is
39
- the native one.</prop>
37
+ with smaller text, for compact rows such as a table row or a filter bar; md is the standard control height; lg is taller with roomier padding. Touch input
38
+ keeps body-size field text without inflating the visible size ladder. Change it after render through this option; the element's size property is the
39
+ native one.</prop>
40
40
  </defs>
41
41
  <input from:type="$type" from:value="$value" from:disabled="$disabled" from:readonly="$readonly" from:required="$required" from:aria-invalid="$invalid">
42
42
  <style>
@@ -15,7 +15,7 @@
15
15
  <prop name="size" type="keyword" values="sm, md, lg" default="md"
16
16
  >Aligns the radio with fields and buttons of the same size. It keeps its box size; the label takes that size's field type size and its first line centres in
17
17
  that control height (sm 2rem, lg 3rem by default), so in a row of inputs, selects, and buttons of one size it shares their height and their text baseline.
18
- Under a coarse pointer an sm row grows to the 44px touch minimum, as they do. md is the standard layout.</prop>
18
+ Touch input keeps the same visible alignment. md is the standard layout.</prop>
19
19
  <state type="boolean" name="internalChecked" value="false"></state>
20
20
  <event name="change" type="object">
21
21
  <prop name="checked" required type="boolean"></prop>
@@ -9,8 +9,8 @@
9
9
  <prop name="size" type="keyword" values="sm, md, lg" default="md"
10
10
  >Height, padding, chevron, and type size, matching Button's sizes so a field and a button of one size share a row. sm is the small control height (2rem by
11
11
  default) with smaller text and a smaller chevron, for compact rows such as a table row or a filter bar; md is the standard control height; lg is taller
12
- with roomier padding. Under a coarse pointer, sm grows to the 44px touch minimum and keeps body-size text. It is not the native size attribute: a select
13
- is always a single-choice dropdown. Change it after render through this option; the element's size property is the native one.</prop>
12
+ with roomier padding. Touch input keeps body-size field text without inflating the visible size ladder. It is not the native size attribute: a select is
13
+ always a single-choice dropdown. Change it after render through this option; the element's size property is the native one.</prop>
14
14
  </defs>
15
15
  <select from:disabled="$disabled" from:required="$required" from:aria-invalid="$invalid"><slot></slot></select>
16
16
  <style>
@@ -12,7 +12,7 @@
12
12
  <prop name="size" type="keyword" values="sm, md, lg" default="md"
13
13
  >Aligns the switch with fields and buttons of the same size. It keeps its track size; the label takes that size's field type size and its first line centres
14
14
  in that control height (sm 2rem, lg 3rem by default), so in a row of inputs, selects, and buttons of one size it shares their height and their text
15
- baseline. Under a coarse pointer an sm row grows to the 44px touch minimum, as they do. md is the standard layout.</prop>
15
+ baseline. Touch input keeps the same visible alignment. md is the standard layout.</prop>
16
16
  <state type="boolean" name="internalChecked" value="false"></state>
17
17
  <event name="change" type="object">
18
18
  <prop name="checked" required type="boolean"></prop>