-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Alpha 36 #5852
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
Alpha 36 #5852
Conversation
* refactor(component): compound and named pattern * refactor(component): tabs component naming consistency * docs(changelog): v3.0.0-alpha-36
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
* fix(component): support compound pattern in server component * fix(component): keep accordion and chip in sync with compound pattern * fix(component): type of forward refs * fix(calendar): temporary workaround for ref error * fix(storybook): imports * feat(checkbox): initial draft * refactor(styles): remove orientation * refactor: migration from dot notation to separted components to support RSC * refactor: migrate to React 19 ref pattern - remove forwardRef wrappers and explicit ref declarations from all components * chore(checkbox): revise checkbox story * feat(checkbox): checkmark & indeterminate * chore(styles): checkmark & indeterminate styles * refactor: provider context removed as it is not longer needed on react 19 * feat: made the migration smoother by still supporting the "dot" exports but adjusting the main compound component * fix: compound patter, radio group api, ref on react 19 * refactor(switch): split switch and switch-group into separate components following radio/radio-group pattern * chore(changelog): update v3.0.0-alpha.35 release notes and date * fix(page): update version label to reflect RSC support * chore(changelog): update examples to use new component names CardRoot and TabsRoot * refactor(checkbox): adopt latest component structure * chore: remove radio stories * refactor(checkbox): adopt new api and revised stories * refactor(checkbox-group): adopt new api and add stories * chore(checkbox-group): revise examples * chore(checkbox): separate checkbox group css * chore(styles): revise checkbox styels * fix(styles): add border for invalid * feat(checkbox): add invalid story * chore: sync changes from v3 redesign * refactor(checkbox): remove slots * refactor(checkbox): apply compound and named pattern * feat(docs): checkbox page * refactor(checkbox): remove use client * chore(docs): revise based on the latest revamp --------- Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Junior Garcia <[email protected]>
refactor(component): compound and named pattern
refactor(component): tabs component naming consistency
docs(changelog): v3.0.0-alpha-36
Closes #
📝 Description
⛳️ Current behavior (updates)
🚀 New behavior
💣 Is this a breaking change (Yes/No):
📝 Additional Information
Note
Adds dual component usage (compound with/without .Root and named exports) across components and renames Tabs TabListWrapper to TabListContainer, updating types, CSS, docs, and demos.
.Root), with.Root, or named exports; convert indexes to compound objects (e.g.,Avatar,Button,Card,Disclosure,Fieldset,Kbd,Link,Popover,Radio,RadioGroup,Separator,Skeleton,Slider,Spinner,Switch,SwitchGroup,Text,TextArea,TextField,Input,InputOTP,Alert,Accordion,Calendar,ListBox,Tooltip,Tabs).slots.tsre-exports; add explicit*Rootcomponent exports and typedComponentPropsaliases.Avatar["RootProps"]).TabListWrapper→TabListContaineracross code, stories, demos..tabs__list-wrapper→.tabs__list-container,data-slot="tabs-list-wrapper"→data-slot="tabs-list-container".v3.0.0-alpha.36detailing dual patterns and Tabs renames.ListContainerAPI and CSS classes.v3-0-0-alpha-36.Written by Cursor Bugbot for commit c39392c. This will update automatically on new commits. Configure here.