-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add heading text slot #790
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
Conversation
|
At the risk of merge conflicts, I'm thinking we may want to have a separate branch for these changes in case we want/need to push out other fixes before the whole set of slot changes is ready |
...c/components/testing/screenshots/EventSection/[desktop] default props with document data.png
Show resolved
Hide resolved
agree. then it's easier to ship smaller bits at a time too so multiple people can work on slots. How's https://github.com/yext/visual-editor/tree/fall-2025-slot-ify-components |
7a67734
into
fall-2025-slot-ify-components
Updates EventSection to use a slot component for the section heading text. Refactors HeadingText to include an align prop and organize props into data/styles
Will update the rest of EventSection (+tests) in separate PR but heading will be a shared component
Used a SlotsCategory because it seems like
resolvePermissionsdoesn't support checking if the component is in a slot or not. Will start a thread with the Puck team because that would be easier.Screen.Recording.2025-09-29.at.1.52.10.PM.mov