-
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
feat(radio-button, radio-button-group): add component tokens #8831
Conversation
} | ||
|
||
:host([scale="s"]) calcite-input-message { | ||
--calcite-input-message-spacing-value: calc(var(--calcite-spacing-xxs) * -1); | ||
--calcite-input-message-spacing-value: calc( |
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.
move this to an -internal-
var
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.
@alisonailea --calcite-radio-button-group-input-message-space
should be internal? Then a user wouldn't be able to set the spacing for the input-message component.
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.
I don't know why we'd want folks to adjust the distance between the input message and the control. Are there examples where we see this?
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.
I only added this because its a var on the input-message.
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.
Ah. Yeah maybe we can deprecate it there if it isn't. A standalone instance of the component can just be spaced with css on the element.
# Conflicts: # packages/calcite-components/src/assets/styles/includes.scss
Once the main tokens branch is merged to |
Related Issue: #7180
Summary
Radio Button