-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix(system-rsc): extendVariants Fix/compound variants types #5847
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
Merged
wingkwong
merged 20 commits into
heroui-inc:canary
from
ITBoomBKStudio:fix/compound-variants-types
Jan 28, 2026
Merged
Changes from 15 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f5d622e
fix(extendVariants): return component type error
IsDyh01 3858ffd
fix(CompoundVariants): correct type inference for extended/compound v…
ITBoomBKStudio 84aaa3e
test: cover compound/extend inference; enforce CP required props
ITBoomBKStudio 5ab2c68
fix(types): correct CompoundVariants class value inference
ITBoomBKStudio 2dfa44c
fix(system-rsc): correct slot detection in getSlots()
ITBoomBKStudio 6336fa8
fix(types): make ExtendVariants props optional and guard V[key] with …
ITBoomBKStudio b770b54
test(extendVariants): add compoundVariants integration test
ITBoomBKStudio 0293552
fix(system-rsc): getSlots() brief JSDoc comment added
ITBoomBKStudio 0021c8f
test(extendVariants): new styles - extended & fixed styles - origina…
ITBoomBKStudio 73032ce
test(extendVariants): fixed slot component variant styles extended test
ITBoomBKStudio 8baeab2
fix(types): avoid leaking React internals by removing PropsWithoutRef
ITBoomBKStudio 4e64ece
chore(changeset): add patch for extendVariants and CompoundVariants t…
ITBoomBKStudio c878267
chore(system-rsc): add changeset for getSlots() slot detection fix
ITBoomBKStudio d18110f
refactor(types): unify slot value inference via GetSuggestedValues<S>…
ITBoomBKStudio 5bbef15
Merge pull request #1 from ITBoomBKStudio/fix/getslots-logic
ITBoomBKStudio 9f38de7
fix(extendVariants): improved as-prop handling and exclude classNames…
ITBoomBKStudio fe87bdb
fix(system-rsc): add polymorphic 'as' prop support to extendVariants
ITBoomBKStudio 39581d3
Merge branch 'canary' into pr/5847
wingkwong a381ab1
Merge branch 'fix/compound-variants-types' of https://github.com/ITBo…
wingkwong 5eb049e
chore(system-rsc): add missing tests
wingkwong 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@heroui/system-rsc": minor | ||
| --- | ||
|
|
||
| fix(system-rsc): correct slot detection in getSlots() to ensure proper slot key extraction and consistent compoundVariants behavior. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@heroui/system-rsc": major | ||
| --- | ||
|
|
||
| fix(system-rsc): correct type inference in extendVariants and CompoundVariants | ||
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
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.