-
Notifications
You must be signed in to change notification settings - Fork 109
[stale] [v12] migrate buttons to the new theme #2340
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
Changes from all commits
0409626
daf1802
3ac5f16
fc67761
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,7 +53,7 @@ type BaseButtonOwnProps = { | |
| /** | ||
| * The size of the `Button` | ||
| */ | ||
| size?: 'small' | 'medium' | 'large' | ||
| size?: 'small' | 'medium' | 'large' | 'condensedSmall' | 'condensedMedium' | ||
|
|
||
|
Comment on lines
+56
to
57
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In Basebutton a size and color combination of like this below results some invisible button when it is not hovered. (Not sure if it a valid use case tho)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i guess this is not a valid state so i don't know how big of a deal this is. cc @hajnaldo
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @hajnaldo confirmed this combination should never exist |
||
| /** | ||
| * Provides a reference to the `Button`'s underlying html element. | ||
|
|
||
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.
import type { CloseButtonTheme } from '@instructure/shared-types'was removed from styles.ts of CloseButton, why was this change needed?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.
there is not closebuttontheme anymore, it does not have its own variables