feat(Sidebar): add transition prop#169
Merged
Merged
Conversation
Port of nuxt/ui af80a674 (#6484).
- Sidebar.vue: add `transition?: boolean` prop (default true), forward it to
the b24ui computed.
- theme/sidebar.ts: move the transition utilities out of the base
gap/container/rail slots into a `transition: { true: {...} }` variant; switch
easing ease-linear -> ease-out (per upstream).
Snapshots regenerated with no change (b24ui's Sidebar specs don't render those
slots; default transition:true keeps behaviour). Also finalizes the previous
ledger entry (#168, fa525382 skip).
https://claude.ai/code/session_01Qz7EXMncvEGiCj4WbmYgJo
IgorShevchik
added a commit
that referenced
this pull request
Jun 17, 2026
Port of nuxt/ui 71b90010. docs/server/api/navigation.json.get.ts: add 'description' to the queryCollectionNavigation fields so the content TOC can surface page descriptions. Direct 1:1 — b24ui matched the upstream pre-change array. Also records the merge sha for the previous port (#169, af80a674) and advances the sync cursor. https://claude.ai/code/session_01Qz7EXMncvEGiCj4WbmYgJo Co-authored-by: Shevchik Igor <noreply@anthropic.com>
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.
Port of upstream nuxt/ui
af80a674—feat(Sidebar): addtransitionprop (#6484).Changes
Make the sidebar collapse/expand animation toggleable:
Sidebar.vue: addtransition?: booleanprop (@defaultValue true), default it inwithDefaults, and passtransition: props.transitionto theb24uicomputed.theme/sidebar.ts: move the transition utilities out of the basegap/container/railslots into a newtransition: { true: {...} }variant; switch the easingease-linear→ease-out(per upstream). Kept b24ui'safter:transition-colorsand the air token--ui-color-divider-accentonrail.Notes
transition: true) is transparent.Verification (pnpm 11.5.0, gate ON)
dev:prepare · lint · typecheck · test (4994 passed, 6 skipped) · module build — all green.
Ledger: records the merge sha for the previous entry (#168,
fa525382skip) and advances the sync cursor toaf80a674.https://claude.ai/code/session_01Qz7EXMncvEGiCj4WbmYgJo
Generated by Claude Code