Repository navigation
feat(lab): add TransferListSelector and Storybook examples - #4870
Merged
Merged
Conversation
* feat(lab): prototype TransferList * feat(lab): document advanced TransferList compositions * fix(storybook): remove TransferList section padding * feat(lab): align TransferList drag behavior * feat(lab): add TransferListSelector shell * refactor(lab): keep TransferListSelector self-contained
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
ernestt
enabled auto-merge (squash)
August 10, 2026 19:33
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR New ComponentsTransferList (@astryxdesign/lab) · View in Storybook
Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
cixzhang
added a commit
that referenced
this pull request
Aug 12, 2026
…ets guard MoreMenu hand-assembled its `astryx-more-menu` theme target with `stableClassName()` and string concatenation. Route it through `themeProps()`/`mergeProps()` instead, so the target sits on the same reflection surface as every other one. The rendered DOM is unchanged. themingTargets.test.ts grows the second direction of the guard — documented targets must actually be rendered — and scans both `@astryxdesign/core` and `@astryxdesign/lab` package-wide for the `docs` block. `docsZh` stays a per-directory check. Rebased onto main, which moved 69 commits under it: - `themeProps()` gained a third `options.legacyNames` argument (#4712, #4890) for targets renamed behind a deprecation window. The extractor only read the first two arguments, so `astryx-checkbox`, `astryx-radio` and `astryx-radio-dot` — emitted through `legacyNames` and deliberately documented with `deprecatedFor` — looked unrendered. Teach it to read `legacyNames` string literals as rendered sites of their own, with the same prop keys (they land on the same element), and cover it with two extractor tests. - ListInput (#4740) and TransferList (#4870) landed after this branch was cut and render five undocumented targets between them. Document them, the same way the other lab components here are documented. - Stepper's targets were extended on main with the same `indicatorPosition` entry this branch added, plus `astryx-step-indicator` and the matching `docsZh` block; kept main's superset. Both sides' new MoreMenu tests are kept.
cixzhang
added a commit
that referenced
this pull request
Aug 12, 2026
…ets guard MoreMenu hand-assembled its `astryx-more-menu` theme target with `stableClassName()` and string concatenation. Route it through `themeProps()`/`mergeProps()` instead, so the target sits on the same reflection surface as every other one. The rendered DOM is unchanged. themingTargets.test.ts grows the second direction of the guard — documented targets must actually be rendered — and scans both `@astryxdesign/core` and `@astryxdesign/lab` package-wide for the `docs` block. `docsZh` stays a per-directory check. Rebased onto main, which moved 69 commits under it: - `themeProps()` gained a third `options.legacyNames` argument (#4712, #4890) for targets renamed behind a deprecation window. The extractor only read the first two arguments, so `astryx-checkbox`, `astryx-radio` and `astryx-radio-dot` — emitted through `legacyNames` and deliberately documented with `deprecatedFor` — looked unrendered. Teach it to read `legacyNames` string literals as rendered sites of their own, with the same prop keys (they land on the same element), and cover it with two extractor tests. - ListInput (#4740) and TransferList (#4870) landed after this branch was cut and render five undocumented targets between them. Document them, the same way the other lab components here are documented. - Stepper's targets were extended on main with the same `indicatorPosition` entry this branch added, plus `astryx-step-indicator` and the matching `docsZh` block; kept main's superset. Both sides' new MoreMenu tests are kept.
cixzhang
added a commit
that referenced
this pull request
Aug 14, 2026
…ets guard MoreMenu hand-assembled its `astryx-more-menu` theme target with `stableClassName()` and string concatenation. Route it through `themeProps()`/`mergeProps()` instead, so the target sits on the same reflection surface as every other one. The rendered DOM is unchanged. themingTargets.test.ts grows the second direction of the guard — documented targets must actually be rendered — and scans both `@astryxdesign/core` and `@astryxdesign/lab` package-wide for the `docs` block. `docsZh` stays a per-directory check. Rebased onto main, which moved 69 commits under it: - `themeProps()` gained a third `options.legacyNames` argument (#4712, #4890) for targets renamed behind a deprecation window. The extractor only read the first two arguments, so `astryx-checkbox`, `astryx-radio` and `astryx-radio-dot` — emitted through `legacyNames` and deliberately documented with `deprecatedFor` — looked unrendered. Teach it to read `legacyNames` string literals as rendered sites of their own, with the same prop keys (they land on the same element), and cover it with two extractor tests. - ListInput (#4740) and TransferList (#4870) landed after this branch was cut and render five undocumented targets between them. Document them, the same way the other lab components here are documented. - Stepper's targets were extended on main with the same `indicatorPosition` entry this branch added, plus `astryx-step-indicator` and the matching `docsZh` block; kept main's superset. Both sides' new MoreMenu tests are kept.
cixzhang
added a commit
that referenced
this pull request
Aug 14, 2026
…ets guard MoreMenu hand-assembled its `astryx-more-menu` theme target with `stableClassName()` and string concatenation. Route it through `themeProps()`/`mergeProps()` instead, so the target sits on the same reflection surface as every other one. The rendered DOM is unchanged. themingTargets.test.ts grows the second direction of the guard — documented targets must actually be rendered — and scans both `@astryxdesign/core` and `@astryxdesign/lab` package-wide for the `docs` block. `docsZh` stays a per-directory check. Rebased onto main, which moved 69 commits under it: - `themeProps()` gained a third `options.legacyNames` argument (#4712, #4890) for targets renamed behind a deprecation window. The extractor only read the first two arguments, so `astryx-checkbox`, `astryx-radio` and `astryx-radio-dot` — emitted through `legacyNames` and deliberately documented with `deprecatedFor` — looked unrendered. Teach it to read `legacyNames` string literals as rendered sites of their own, with the same prop keys (they land on the same element), and cover it with two extractor tests. - ListInput (#4740) and TransferList (#4870) landed after this branch was cut and render five undocumented targets between them. Document them, the same way the other lab components here are documented. - Stepper's targets were extended on main with the same `indicatorPosition` entry this branch added, plus `astryx-step-indicator` and the matching `docsZh` block; kept main's superset. Both sides' new MoreMenu tests are kept.
cixzhang
added a commit
that referenced
this pull request
Aug 14, 2026
…ets guard MoreMenu hand-assembled its `astryx-more-menu` theme target with `stableClassName()` and string concatenation. Route it through `themeProps()`/`mergeProps()` instead, so the target sits on the same reflection surface as every other one. The rendered DOM is unchanged. themingTargets.test.ts grows the second direction of the guard — documented targets must actually be rendered — and scans both `@astryxdesign/core` and `@astryxdesign/lab` package-wide for the `docs` block. `docsZh` stays a per-directory check. Rebased onto main, which moved 69 commits under it: - `themeProps()` gained a third `options.legacyNames` argument (#4712, #4890) for targets renamed behind a deprecation window. The extractor only read the first two arguments, so `astryx-checkbox`, `astryx-radio` and `astryx-radio-dot` — emitted through `legacyNames` and deliberately documented with `deprecatedFor` — looked unrendered. Teach it to read `legacyNames` string literals as rendered sites of their own, with the same prop keys (they land on the same element), and cover it with two extractor tests. - ListInput (#4740) and TransferList (#4870) landed after this branch was cut and render five undocumented targets between them. Document them, the same way the other lab components here are documented. - Stepper's targets were extended on main with the same `indicatorPosition` entry this branch added, plus `astryx-step-indicator` and the matching `docsZh` block; kept main's superset. Both sides' new MoreMenu tests are kept.
cixzhang
added a commit
that referenced
this pull request
Aug 25, 2026
…ets guard MoreMenu hand-assembled its `astryx-more-menu` theme target with `stableClassName()` and string concatenation. Route it through `themeProps()`/`mergeProps()` instead, so the target sits on the same reflection surface as every other one. The rendered DOM is unchanged. themingTargets.test.ts grows the second direction of the guard — documented targets must actually be rendered — and scans both `@astryxdesign/core` and `@astryxdesign/lab` package-wide for the `docs` block. `docsZh` stays a per-directory check. Rebased onto main, which moved 69 commits under it: - `themeProps()` gained a third `options.legacyNames` argument (#4712, #4890) for targets renamed behind a deprecation window. The extractor only read the first two arguments, so `astryx-checkbox`, `astryx-radio` and `astryx-radio-dot` — emitted through `legacyNames` and deliberately documented with `deprecatedFor` — looked unrendered. Teach it to read `legacyNames` string literals as rendered sites of their own, with the same prop keys (they land on the same element), and cover it with two extractor tests. - ListInput (#4740) and TransferList (#4870) landed after this branch was cut and render five undocumented targets between them. Document them, the same way the other lab components here are documented. - Stepper's targets were extended on main with the same `indicatorPosition` entry this branch added, plus `astryx-step-indicator` and the matching `docsZh` block; kept main's superset. Both sides' new MoreMenu tests are kept.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the complete TransferList Lab package and its Storybook documentation directly on top of
main:TransferListas the lower-level controlled content primitiveTransferListSelectoras the default selector-popover experienceThis replaces the earlier stacked #4773 / #4869 arrangement. It intentionally changes only
packages/lab/**andapps/storybook/**; it does not depend on #4769 and contains no Core changes.API arbitration
We evaluated three shapes:
TransferListSelectordefaults to immediate commits and owns the selector popover.commitBehavior="staged"adds draft state and Apply/Cancel. The component uses only the ComplexSelector API currently onmain; future Core trigger variants or controlled-open APIs are not prerequisites.Validation
Screenshot