@umriss-ui/core 0.49.0 → 0.51.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 +29 -0
- package/README.md +1 -1
- package/dist/core.js +3571 -3509
- package/dist/de.d.ts +14 -0
- package/dist/index.d.ts +24 -0
- package/dist/wording/de.js +7 -2
- package/docs/llms-full.md +178 -83
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -27,6 +27,35 @@ 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.51.0 – A page is what its frame holds: a table fills its pane, the pager says the range (Oct. 2026)
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **`EndGlyph`**, the chevron against a bar - the step to the last item of a sequence, turned for the first; drawn like every glyph of the set (`docs/glyphs.md`).
|
|
35
|
+
- **Wording for the pager**: `pageRange` ("13–24 of 120", "13–24 von 120"), `firstPage` and `lastPage` ("First page", "Last page"; "Erste Seite", "Letzte Seite") and `fit` ("Fit", "Passend"), in English and German.
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- **`previousPage` and `nextPage` read "Previous page" and "Next page"** ("Vorherige Seite", "Nächste Seite"): they name the table pager's glyph steps now, where they were the words "Back" and "Next" on its buttons.
|
|
40
|
+
- Migration: an application that overrides `previousPage` or `nextPage` keeps its own text; a test that found the steps by "Back"/"Next" finds them by the new names.
|
|
41
|
+
|
|
42
|
+
## 0.50.0 – Straightened: dialogs focus without React's internals, tables work per change, the edges 0.49.0 left (Oct. 2026)
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- **A Modal, Drawer and ConfirmDialog mount their children when they open** and unmount them once the exit has ended, so a field with `autoFocus` gets the cursor in every React version - without a read of React's internals (ADR-0063 amended). A dialog without `autoFocus` focuses its first tab stop, and focus returns to the trigger, as before.
|
|
47
|
+
- Migration: state inside a closed dialog's children no longer survives closing - a form starts afresh on the next opening; keep what must survive in the host, as the dialog's `open` already is.
|
|
48
|
+
|
|
49
|
+
### Added
|
|
50
|
+
|
|
51
|
+
- **A NumberInput says why it refused a character**: it announces once, politely, "Only digits and the decimal separator" (wording `numberRefused`, English and German) and shows its invalid look for a moment; text and value stay as they were.
|
|
52
|
+
- **`warnOnce(pkg, reason, message)` and `hasWarned(pkg, reason)`**: the development warning the packages on core share - once per package and reason, silent in production, the package named in the prefix.
|
|
53
|
+
- **The Language page shows a third language**: `formatsFor("fr-CH")` with a Sunday-first week beside the default.
|
|
54
|
+
|
|
55
|
+
### Fixed
|
|
56
|
+
|
|
57
|
+
- **The development warning about a lowered `light-dark()`** fires only for a lowered build whose page is dark from JavaScript - once, also when dark is switched on after mount; a CSS-set dark mode, an unlowered build and a themed background raise nothing (ADR-0021 amended).
|
|
58
|
+
|
|
30
59
|
## 0.49.0 – The second shakedown: lists that shrink, a flood that scrolls, five things the table lacked (Oct. 2026)
|
|
31
60
|
|
|
32
61
|
### Changed
|
package/README.md
CHANGED
|
@@ -428,7 +428,7 @@ The table is not part of this package. It lives in
|
|
|
428
428
|
| `TreeView` / `TreeSearch` / `useTree` | a tree with exactly one active node and optional ticking (cascade, indeterminate, locked, unloaded); arrow keys, type to jump, range selection, virtualisation. The search keeps its term in the tree |
|
|
429
429
|
| `Stat` | a metric: one value, read against its limits – the verdict as a word and a colour, the deviation from the target value, history, freshness and the source's quality |
|
|
430
430
|
| `CommandPalette` / `useCommandPaletteShortcut` | a command palette: subsequence search with rank and highlighted finds, groups, keywords a candidate is found by, at most `maxFinds` finds with a line for the rest, a populated resting state; opens on Ctrl/⌘+K and `/` (`slash: false` switches the single key off, WCAG 2.1.4; neither opens inside a modal dialog) |
|
|
431
|
-
| `CrossGlyph` / `PlusGlyph` / `MinusGlyph` / `AngleGlyph` / `CalendarGlyph` / `ClockGlyph` / `GripGlyph` / `GridGlyph` / `MeasureGlyph` / `MoreGlyph` | the shared character set, one stroke width at one nominal size; specification in `docs/glyphs.md` |
|
|
431
|
+
| `CrossGlyph` / `PlusGlyph` / `MinusGlyph` / `AngleGlyph` / `EndGlyph` / `CalendarGlyph` / `ClockGlyph` / `GripGlyph` / `GridGlyph` / `MeasureGlyph` / `MoreGlyph` | the shared character set, one stroke width at one nominal size; specification in `docs/glyphs.md` |
|
|
432
432
|
| `Sparkline` | a miniature history line with an area gradient and an accent end point – for trends in cells |
|
|
433
433
|
| `Spinner` | a functional loading indicator |
|
|
434
434
|
| `Switch` | on or off, taking effect at once: a native checkbox under `role="switch"`, the label beside it, two sizes, invalid through `FormField`; the thumb travels on the path transition |
|