-
Notifications
You must be signed in to change notification settings - Fork 77
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(calcite-loader, calcite-input-message)!: drop active in favor of hidden #5761
fix(calcite-loader, calcite-input-message)!: drop active in favor of hidden #5761
Conversation
…ive-to-favor-hidden-breaking
…n other components
…atic hidden for consistency, as we don't provide knobs for native global attributes
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.
I think just stories need to be updated with regards to toggling hidden in some cases.
We also should decide if we need to document the global hidden
attribute.
…ive-to-favor-hidden-breaking
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.
🎉 🌮
Related Issue: #3821
Summary
Loader
andInput-Messag
e are small building blocks that an owning component should be able to display or hide.This deprecates/removes the role of
active
prop in toggling visibility in favor of the global attributehidden
. Styles for hidden take precedence overactive
.The benefit is one less custom prop to manage, and it aligns with existing HTML conventions.
Removes
active
knob from stories and subs the ones set tofalse
with statichidden
for consistency, as we don't provide knobs for native global attributes.