-
Notifications
You must be signed in to change notification settings - Fork 0
Create centralized button component #74
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
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
c5511e8
Create Button component
jzgom067 786f61e
Refine mobile shrinking logic
jzgom067 d66ee49
Remove inaccurate comment
jzgom067 975726c
Add dynamic padding scaling
jzgom067 8ade333
Add button style classes
jzgom067 8d1e817
Add default value to shrinkOnMobile
jzgom067 d77449c
Move style classes assembly to a helper function
jzgom067 3af4c27
Create LoadingSpinner component
jzgom067 935abdb
Create centered absolute class
jzgom067 a8a48b0
Add loading state
jzgom067 39f1a7f
Add releaseOnSuccess prop
jzgom067 860774f
Implement disabled button styling
jzgom067 1646af7
Adjust loading spinner class application order
jzgom067 1bf94d2
Add button styles for disabled and hover/active
jzgom067 7ecd849
Move button to a feature folder
jzgom067 cd86d35
Add stricter type checking to button props
jzgom067 3b55681
Remove tooltip comment
jzgom067 41d9c8b
Add proper documentation to ButtonProps
jzgom067 dfe7678
Add custom focus ring to buttons
jzgom067 bb82319
Add loading prop to button component
jzgom067 db30361
Reorganize button props
jzgom067 9dc107e
Change button to BaseButton
jzgom067 129bf1f
Create ActionButton and LinkButton
jzgom067 e0effd8
Change href and onClick to required
jzgom067 3a67667
Add forwardRef to buttons and change style prop
jzgom067 036407e
Convert header buttons to new component
jzgom067 f73204a
Remove console.log
jzgom067 e0a7347
Update base auth page buttons
jzgom067 1912963
Update message page button types
jzgom067 6a645ed
Change CopyToast to use new button
jzgom067 465805b
Update buttons on painting and results pages
jzgom067 8e05f6a
Update button on error page
jzgom067 ace19da
Update landing page buttons
jzgom067 43c0a87
Slightly adjust left padding with icon
jzgom067 22047f6
Update event editor button
jzgom067 fa610e3
Merge branch 'main-preview' into button-component
jzgom067 3f091bd
Create ButtonArray type
jzgom067 170362c
Create mobile footer tray
jzgom067 9f92bdb
Consolidate action buttons on editor and painting
jzgom067 fa8fa0f
Update BaseButton to use centralized colors
jzgom067 367b023
Update colors on dashboard event buttons
jzgom067 33b7a93
Enforce no text wrapping on buttons
jzgom067 9ad879d
Remove redundant prop documentation
jzgom067 bc0a6be
Rename button files
jzgom067 4f1b3b5
Change group-focus to group-focus-visible
jzgom067 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.