@umriss-ui/core 0.7.0 → 0.9.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 CHANGED
@@ -29,6 +29,17 @@ package stood at `0.1.0` the whole time, because it had exactly one caller and t
29
29
  caller lay in the same repository — and are grouped by unit of delivery, not by
30
30
  commit.
31
31
 
32
+ ## 0.9.0 – A token for figures (Sep. 2026)
33
+
34
+ ### Added
35
+
36
+ - **`--u-tracking-figures`** (`-0.01em`), the tracking of figures set in Geist
37
+ Mono. It carries exactly the value that stood written out in the number
38
+ field, the input's numeric mode, the date picker's field, the multi-select's
39
+ count and chip, and the data-viz figures; nothing moves.
40
+
41
+ ---
42
+
32
43
  ## Target environment: applications that render in the browser
33
44
 
34
45
  The library is aimed at client-side rendered applications. The markers a
@@ -50,6 +61,111 @@ module on the caller's side that carries `"use client"` and imports from there.
50
61
 
51
62
  ---
52
63
 
64
+ ## 0.8.0 – Motion, one stroke, one canon of states (Sep. 2026)
65
+
66
+ ### Added
67
+
68
+ - **`--u-text-mono`** (`0.75rem`), the size of figures set in Geist Mono inside
69
+ a control or a cell, and **`--u-leading-none`** (`1`), the line height of a
70
+ box as tall as its type. Both carry exactly the value that stood written out
71
+ in eight and six places before; nothing moves.
72
+
73
+ - **A motion vocabulary** in `tokens.css`, naming the distinctions the
74
+ library makes: `--u-ease-exit` (an exit that starts at once),
75
+ `--u-duration-press` with `--u-transition-press` (the press point),
76
+ `--u-transition-path` (something turns or slides), `--u-duration-draw` and
77
+ `--u-delay-draw` (the checkbox's tick), `--u-duration-exit-fast` (a panel or
78
+ tooltip leaves), and for continuous processes `--u-duration-spin`,
79
+ `--u-duration-shimmer`, `--u-ease-steady` and `--u-ease-swell`. Every
80
+ motion in the library's stylesheets now reads one of them.
81
+
82
+ - **`CalendarGlyph`** (with `range`) and **`ClockGlyph`**, the date and time
83
+ pickers' characters, in the shared set beside `CrossGlyph` and the others.
84
+
85
+ - **Three pressed surfaces**: `--u-color-surface-pressed`,
86
+ `--u-color-accent-subtle-pressed` and `--u-color-danger-subtle-pressed`, the
87
+ step below the sunken, subtle-accent and subtle-danger hovers. Each holds
88
+ 4.5:1 under the type that stands on it, in both themes.
89
+
90
+ ### Changed
91
+
92
+ - **`--u-transition` runs on `--u-ease-out`.** The collective token for hover
93
+ and colour carried the CSS keyword `ease-out`; it now carries the library's
94
+ own curve (`cubic-bezier(0.22, 1, 0.36, 1)`), which until now reached only
95
+ the few transitions that named it. Every hover, focus-edge and colour change
96
+ in core, table, schedule and calculation starts more decisively and lands
97
+ more softly; its duration (120 ms) is unchanged. An application that
98
+ overrides `--u-transition` is not affected.
99
+
100
+ - **Exits leave instead of retracing.** `Modal` enters by scale and opacity
101
+ from its centre (the 8 px rise is gone) and leaves by fading where it
102
+ stands, on `--u-ease-exit` instead of `ease-in`; its backdrop follows the
103
+ same curves. The leaving `Toast` glides out on `--u-ease-exit` as well.
104
+ - **Press points take 80 ms.** The pressed glyphs of `Alert`, `Tag`,
105
+ `NumberInput` and the date picker's time stepper ran on the 120 ms of a
106
+ hover; they now take the button's press duration.
107
+
108
+ - **Overlays unfold from their trigger.** Every panel on `Popover` - `Menu`,
109
+ `ContextMenu`, the lists of `Combobox` and `MultiSelect`, the panels of the
110
+ four date pickers - enters by scale and opacity from its motion origin, the
111
+ corner facing its trigger (a panel below a start-aligned trigger grows from
112
+ its top left; a flipped one from its bottom). It used to slide 6 px. On
113
+ closing it stays for `--u-duration-exit-fast` (100 ms), inert, and fades
114
+ where it stands; it no longer disappears in the same frame. `Tooltip`
115
+ follows the same pattern from the edge facing its trigger, and each `Toast`
116
+ grows out of the bottom right corner it stands in. Under reduced motion all
117
+ of them appear and go at once. `Select` keeps the browser's own list.
118
+
119
+ - **Every glyph draws one stroke width at one nominal size** – 1.4 per 10
120
+ units, so the rendered stroke follows the size a glyph is set at. The
121
+ `Alert`, `Modal` and `Toast` close crosses, the `Tag` and `MultiSelect`
122
+ remove crosses are now `CrossGlyph`: the Modal's cross is slightly heavier,
123
+ the Tag's and the chip's slightly lighter. The calendar's paging arrows, the
124
+ `ButtonGroup` arrow and the `Combobox` tick go from 1.5 and 1.8 to 1.4.
125
+ The date pickers' calendar leaf and clock are drawn anew at nominal size 10
126
+ and set at 12 pixels instead of 13; the range picker's leaf shows a bar
127
+ instead of an arrow. The `Toast` tone symbols keep their look, drawn in the
128
+ nominal box, their dots as strokes. Held by a check (`docs/glyphs.md`).
129
+
130
+ - **One canon of interaction states.** Hover changes the surface, a press
131
+ changes it more strongly, focus is `--u-focus-ring` and nothing else, and
132
+ disabled dims to half and reacts to nothing. What that changes:
133
+ - *Pressed*: every quiet key now sinks while it is pressed - `Button`
134
+ `secondary` and `ghost`, the close keys of `Modal`, `Toast` and `Alert`, the
135
+ remove key of `Tag`, the clear keys of the fields, the steppers, the date
136
+ picker's pages, days and presets, the items of `Menu`, the options of
137
+ `Combobox` and `MultiSelect`, the rows of `TreeView` and `CommandPalette`,
138
+ the tools of `Dock`, the chips and the counter of `MultiSelect`, the
139
+ collapse key of `Card`, and the empty boxes of `Checkbox` and `RadioGroup`.
140
+ Before, only the primary and danger buttons darkened.
141
+ - *Focus*: a `Menu` item reached by the keyboard carries the ring instead of
142
+ the hover surface, and so does a `MultiSelect` chip, which showed its focus
143
+ in the danger surface.
144
+ - *Disabled*: the fields (`Input`, `Textarea`, `Select`, `Combobox`,
145
+ `NumberInput`, `MultiSelect`, the date pickers' trigger and time fields),
146
+ `Checkbox`, a `Tabs` tab, a `Menu` item, a `Combobox` option and a `Dock`
147
+ tool dim to half opacity, as `Button` and `RadioGroup` always did, instead
148
+ of being repainted in a sunken ground and muted type. A disabled `Dock`
149
+ tool shows the not-allowed cursor.
150
+ - `Checkbox` has a hover edge on its empty box, as `RadioGroup` has.
151
+ - `NumberInput`'s steppers settle on the glyph (0.8) like the date picker's,
152
+ instead of scaling the whole key to 0.9.
153
+
154
+ ### Fixed
155
+
156
+ - **Disabled elements reacted underneath.** A disabled `Tabs` tab darkened
157
+ under the pointer; a disabled time stepper of the date pickers came back to
158
+ full presence and its hover surface when the pointer entered its group; the
159
+ × of a disabled `MultiSelect` chip appeared under the pointer; and the
160
+ pointer moved `Combobox`'s cursor onto a disabled option (the arrow keys
161
+ still reach it).
162
+ - **A hover took the focus ring away.** On a focused `Button` `secondary`,
163
+ `Checkbox` or `RadioGroup` the hover edge replaced the ring while the pointer
164
+ rested on it; on the date pickers the chosen day, the ends of a range and the
165
+ preview's end dropped the ring the same way.
166
+
167
+ ---
168
+
53
169
  ## 0.7.0 – A text token for danger (Sep. 2026)
54
170
 
55
171
  ### Added
package/README.md CHANGED
@@ -143,7 +143,7 @@ The table and the alarm list are not part of this package. They live in
143
143
  | `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 |
144
144
  | `Stat` | a metric: one value, read against its limits – the verdict as a word and a colour, the deviation from the target value, history and freshness |
145
145
  | `CommandPalette` / `useCommandPaletteShortcut` | a command palette: subsequence search with rank and highlighted finds, groups, a populated resting state; opens on Ctrl/⌘+K and `/` |
146
- | `CrossGlyph` / `PlusGlyph` / `MinusGlyph` / `GripGlyph` / `GridGlyph` / `MeasureGlyph` / `AngleGlyph` | the shared character set; specification and list of deviations in `docs/glyphs.md` |
146
+ | `CrossGlyph` / `PlusGlyph` / `MinusGlyph` / `AngleGlyph` / `CalendarGlyph` / `ClockGlyph` / `GripGlyph` / `GridGlyph` / `MeasureGlyph` | the shared character set, one stroke width at one nominal size; specification in `docs/glyphs.md` |
147
147
  | `Sparkline` | a miniature history line with an area gradient and an accent end point – for trends in cells |
148
148
  | `Spinner` | a functional loading indicator |
149
149