-
Notifications
You must be signed in to change notification settings - Fork 159
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
fix(cta-section): ensure buttons are not allowed as cta types #7782
fix(cta-section): ensure buttons are not allowed as cta types #7782
Conversation
Deploy preview created for package Built with commit: 894b875505e9f75b7069e29de5c1425163af8da7 |
Deploy preview created for package Built with commit: 894b875505e9f75b7069e29de5c1425163af8da7 |
Deploy preview created for package Built with commit: 894b875505e9f75b7069e29de5c1425163af8da7 |
Deploy preview created for package Built with commit: 894b875505e9f75b7069e29de5c1425163af8da7 |
Deploy preview created for package Built with commit: 894b875505e9f75b7069e29de5c1425163af8da7 |
Deploy preview created for package Built with commit: 894b875505e9f75b7069e29de5c1425163af8da7 |
Deploy preview created for package Built with commit: 894b875505e9f75b7069e29de5c1425163af8da7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, just one question about the filtering logic!
packages/web-components/src/components/cta-block/cta-block-item.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Related Ticket(s)
#7439
Description
Currently the CTA Section story allowed Buttons as CTA types for the content items. With this new PR, I removed the ability to choose Buttons from the knob, as well as ensure that any slotted Button Group does not render if within a
cta-block-item
element.Changelog
New
ButtonGroup
will not rendered if used inside acta-block-item
elementRemoved
CTASection