@umriss-ui/core 0.47.1 → 0.48.0
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/CHANGELOG.md +15 -0
- package/README.md +5 -0
- package/dist/core.css +1 -1
- package/dist/core.js +1109 -1085
- package/dist/touch-scale.css +9 -0
- package/docs/llms-full.md +174 -132
- package/package.json +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -27,6 +27,21 @@ package stood at `0.1.0` the whole time, because it had exactly one caller and t
|
|
|
27
27
|
caller lay in the same repository — and are grouped by unit of delivery, not by
|
|
28
28
|
commit.
|
|
29
29
|
|
|
30
|
+
## 0.48.0 – One size on every device, and a dialog's focus where Tab would put it (Oct. 2026)
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- **`md` controls stay 32 px under a finger** (ADR-0079); the 24 px hit areas and the touch behaviours stay.
|
|
35
|
+
- Migration: to keep the 44 px of 0.43.0 to 0.47.0, `import "@umriss-ui/core/touch-scale.css"`.
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- **`@umriss-ui/core/touch-scale.css`**, the opt-in for 44 px `md` controls under a finger: static CSS in the tokens layer, so a server renders one markup and the size is known before the first paint. An application that wants another height writes its own media query.
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- **A dialog Popover focuses its first tab stop**: in a radio group the chosen option, in a composite its tab stop, never a hidden element.
|
|
44
|
+
|
|
30
45
|
## 0.47.1 – Released in step with the table (Oct. 2026)
|
|
31
46
|
|
|
32
47
|
No change of its own; the number moves with the table's repaired exports.
|
package/README.md
CHANGED
|
@@ -105,6 +105,11 @@ a full-window `Modal`, a `Drawer` and the `CommandPalette` keep clear of a notch
|
|
|
105
105
|
and a home indicator, each edge's inset added to its room. Without
|
|
106
106
|
`viewport-fit=cover` nothing moves.
|
|
107
107
|
|
|
108
|
+
**Touch.** Under a finger (a coarse primary pointer) hit areas are at least
|
|
109
|
+
24 × 24 px, a field's text is 16 px and behaviours follow the gesture; a `md`
|
|
110
|
+
control stays 32 px. To make it 44 px under a finger, the height WCAG 2.5.5
|
|
111
|
+
names, opt in with `import "@umriss-ui/core/touch-scale.css"` (ADR-0079).
|
|
112
|
+
|
|
108
113
|
**They touch nothing else** (ADR-0021). No rule selects `html`, `body`, `*` or a
|
|
109
114
|
native element of the page, and the only rules on `:root` declare the tokens.
|
|
110
115
|
Each component carries what it needs itself: its type, `box-sizing` on its own
|