You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit faebef7
Browse filesBrowse the repository at this point in the historyBrowse files
[perf] With an `animatedLayout` handle, a Collapsible or TreeList change in a long list reads every row's place before any glide starts, so the page is laid out once rather than once per gliding row.
[fix] The animated-layout module gains its internal in-place swap: old content held as one inert, transient copy while new content enters in its place, on the shared motion. Nothing uses it yet and nothing public changes. In right-to-left containers, content after a Collapsible or TreeList size change (with an `animatedLayout` handle) now glides by its inline-start edge instead of jumping.
[feat]`astryx theme build` keeps function icon entries, so a built theme answers each `<Icon>` request with the size and variant it renders, exactly as the runtime theme does. This includes entries inherited from a built or package theme, and family builds. A built theme's `icons` field and the registry its module re-exports are React nodes, each function read at `{size: 'md'}`. A theme that lists `iconVariants` writes an `IconVariantMap` augmentation into `<theme>.variants.d.ts`, and its declaration carries the list, so a theme that extends the built theme types `variant` by those names. A function written in the theme file itself fails the build, as an inline registry always has. Themes without function entries or an icon variant list build the same output as before.
[feat]`Icon` takes an optional `variant` (an `IconVariant` name) that requests the active theme's alternate artwork for a semantic icon: `<Icon icon="info" variant="filled" />`. The theme's icon entry receives the variant only when the active theme lists it in `iconVariants` and, for an inherited entry, the theme that defined the entry lists it too; otherwise it receives `undefined` and draws its normal artwork. `astryx theme build` keeps each inherited entry's defining list, so a built theme passes the same variants as its runtime theme. A `registerIcons()` entry receives the variants the active theme lists, and a node entry ignores `variant`. An icon component passed directly never receives `variant`, and `variant` is never written to the DOM or reflected on the `icon` theming target. Icons without `variant` render as before.
[fix] SideNav's rail no longer snaps when it collapses or expands. Layout snaps to the new width at once, the rail covers or reveals its labels with a clip and ends in its real collapsed state, and inside AppShell the content slides with it, its old line wrapping fading out over the new one, all on one motion (`springs.settle`). Under Reduce Motion it cross-fades with a finger and changes at once otherwise. Nothing animates a width, and no new props.
[fix]`astryx theme build` reports a theme module that fails to load (an import it cannot resolve, or an error it throws) instead of building the theme from the text of its `defineTheme()` or default-export object; a theme module whose default export is a plain object builds as before, and a theme outside a project that imports Core builds with the Core the CLI answers with.
[fix]`astryx theme build` fails, naming it and its import error, when the project's installed `@astryxdesign/core` (or, outside a project, the Core the CLI release carries) does not load or lacks `defineTheme` or `generateThemeRulesSplit`, instead of building with the CLI's own Core. A project with no Core installed still builds with the CLI's.
(INV11), and scroll-progress-source (INV12) requirements.
266
+
(INV11), scroll-progress-source (INV12), and group press-tracking (INV13)
267
+
requirements.
256
268
- The Core velocity tracker and its release filter (INV10) — the one source of
257
269
gesture velocity for Core components; not exported.
258
270
- The hover recognizer, `HoverGestureRecognizer`, and its `intent` setting
259
271
(INV11) — the one source of hover-show timing for Core components; not
260
272
exported.
261
273
- The native-scroll module's progress and its subscription (INV12) — the one
262
274
source of scroll progress for Core components; not exported.
275
+
- The action-group tracker (INV13) — the one press tracker for action groups
276
+
outside menus and Selector's and MultiSelector's options; not exported.
263
277
264
278
## Deciding specs
265
279
266
-
`spec:AST-100/DEC-1` decides one release velocity per kind of surface (INV10).
267
-
Otherwise no separate specification changes this record. The last-input rule was approved as
280
+
`spec:AST-100/DEC-1` decides one release velocity per kind of surface (INV10),
281
+
and `spec:AST-094/DEC-17` decides one press tracking for every action group
282
+
(INV13). Otherwise no separate specification changes this record. The last-input rule was approved as
268
283
a system architecture decision by `cixzhang` on 2026-08-30. Essential-action
269
284
reachability, newer-intent precedence, and the evidence/scope guard were approved by
270
285
`cixzhang` on 2026-09-10.
@@ -284,6 +299,7 @@ reachability, newer-intent precedence, and the evidence/scope guard were approve
284
299
| INV10 | Source boundary check over Core and Lab, a Lab-to-Core comparison on one recorded stream, and release-filter unit tests over recorded iOS pan and scroll-view streams | A Core component with its own sample buffer, velocity math, or release filter; a Lab component with its own sample buffer, velocity math, or release filter; a Lab component reporting a different velocity than Core for the same stream; an export of the tracker; a non-zero release after a still pause |
285
300
| INV11 | Evidence gap: not implemented yet; the shared hover recognizer and its adopters' move onto it are pending. Then: unit tests of the hover recognizer's intent and browser tests of its adopters with a mouse, a pen, a finger, and the keyboard | A show without the owner's entry delay, a missed handoff within a group, a delayed keyboard show, a hover-shown surface that closes before the pointer reaches it, a finger served by it, or a second hover-timing implementation fails |
286
301
| INV12 | Unit tests of native scroll's progress and real-browser proofs of its adopters | Progress routed through React state, a missing edge, travel under Reduce Motion, use where native scroll-driven animation is supported, or a public export fails |
302
+
| INV13 | Source boundary check over Core and each family member's pointer-stream tests | A member outside menus and Selector's and MultiSelector's options that tracks a held pointer across its actions with its own code, or a public export of the tracker, fails |
287
303
288
304
Real-browser evidence is required when the behavior depends on
289
305
`:focus-visible`, pointer capability, touch or pen synthesis, rendered focus
@@ -297,3 +313,8 @@ indicator on pointer press, and keeping internal action focus owned by the
297
313
action. The benchmark also verifies programmatic editor focus after both
298
314
keyboard and pointer input before the behavior is treated as complete. A
299
315
benchmark demonstrates the invariants; it does not carry authority for them.
316
+
317
+
## Open questions
318
+
319
+
-**OQ1 — When do menus and Selector's and MultiSelector's options move onto
0 commit comments