-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(Theme): override component prop defaults #6031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Bobakanoosh
wants to merge
25
commits into
nuxt:v4
Choose a base branch
from
Bobakanoosh:feat/theme-variants
base: v4
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e8f6242
feat(UTheme): variants poc
Bobakanoosh 5bb24e4
Merge branch 'v4' into feat/theme-variants
benjamincanac fcb206e
Merge branch 'v4' into feat/theme-variants
benjamincanac d7b5565
feat(Theme): add variants prop and unify theme context
benjamincanac d12961b
feat(Theme): replace `:variants` with `:props` for any-prop overrides
benjamincanac c342c29
Merge branch 'v4' into feat/theme-variants
benjamincanac 59e7e92
refactor(Theme): rename useComponentDefaults to useComponentProps andβ¦
benjamincanac c47df55
refactor(Theme): switch ThemeDefaults to flat literal interface
benjamincanac cf80cda
feat(cli): scaffold components with useComponentProps and auto-registβ¦
benjamincanac 9f23628
docs(contributing): align component templates with useComponentProps β¦
benjamincanac e299d0c
feat(Theme): migrate all components to :props proxy
benjamincanac 09b8dfe
test(Theme): cover closer-context precedence for FieldGroup and Avataβ¦
benjamincanac 52fce9c
docs(contributing): correct useComponentProps chain and fix CLI proseβ¦
benjamincanac 4d138d4
fix(Theme): catch bare prop refs from inherited interfaces
benjamincanac 1753a5a
fix(Theme): route remaining script-block prop reads through the proxy
benjamincanac 02e00c5
fix(Carousel,DashboardSidebar): align proxy reads and JSDoc with runtime
benjamincanac c47bac7
fix(ContentNavigation): route `level` reads through the proxy
benjamincanac 90dcd77
fix(form): respect <UTheme :props> on bare inputs without UFormField
benjamincanac f148b79
docs(theme): document _props + ?? props.X fallback in form/group compβ¦
benjamincanac ac90ac2
test(theme): cover bare form inputs and cross-component nested :props
benjamincanac c8c1025
feat(Listbox): expose color prop matching theme variant
benjamincanac 299276a
docs(theme): clarify nested inheritance and form component precedence
benjamincanac eddf64c
fix: use local proxy-aware `useForwardProps` for the rest of the compβ¦
sandros94 aa2c602
fix(Theme): drop ThemeDefaults entries that don't honor :props
sandros94 a98ea77
test(Theme): pin ThemeDefaults to the #build/ui registry
sandros94 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.