@umriss-ui/core 0.47.0 → 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 +19 -0
- package/README.md +7 -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 +10 -3
package/CHANGELOG.md
CHANGED
|
@@ -27,6 +27,25 @@ 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
|
+
|
|
45
|
+
## 0.47.1 – Released in step with the table (Oct. 2026)
|
|
46
|
+
|
|
47
|
+
No change of its own; the number moves with the table's repaired exports.
|
|
48
|
+
|
|
30
49
|
## 0.47.0 – Words, tokens and a date for the alarm package (Oct. 2026)
|
|
31
50
|
|
|
32
51
|
### Added
|
package/README.md
CHANGED
|
@@ -91,6 +91,8 @@ the built `dist/core.js` with Rollup - the peers external, the stylesheet
|
|
|
91
91
|
resolved to nothing - then minifying with esbuild and gzipping. `check:dist`
|
|
92
92
|
holds the first of them under 1.5 kB in every package.
|
|
93
93
|
|
|
94
|
+
umriss writes no HTML into the document and runs under `require-trusted-types-for 'script'`: the visual suite opens every demo page of every package under that policy, and an HTML sink reached while a page renders fails it.
|
|
95
|
+
|
|
94
96
|
## Styles
|
|
95
97
|
|
|
96
98
|
**They load themselves.** `dist/core.js` imports its stylesheet, and the
|
|
@@ -103,6 +105,11 @@ a full-window `Modal`, a `Drawer` and the `CommandPalette` keep clear of a notch
|
|
|
103
105
|
and a home indicator, each edge's inset added to its room. Without
|
|
104
106
|
`viewport-fit=cover` nothing moves.
|
|
105
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
|
+
|
|
106
113
|
**They touch nothing else** (ADR-0021). No rule selects `html`, `body`, `*` or a
|
|
107
114
|
native element of the page, and the only rules on `:root` declare the tokens.
|
|
108
115
|
Each component carries what it needs itself: its type, `box-sizing` on its own
|