-
Notifications
You must be signed in to change notification settings - Fork 31
feat: Add Theme support #290
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
Draft
Draft
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
efca401
fix: use correct aria roles for menu
4ff089b
Update all dependencies
csandman e0230ff
Add the ability to theme all nested components
csandman 8aa4d89
Add deprecated flag to `useBasicStyles`
csandman 33b5a58
Merge branch 'main' into aria-role-fix
csandman fc1040f
Merge remote-tracking branch 'origin' into feat/theming
csandman cf75b0d
Remove `selectedOptionColor` prop and add more specific `ColorScheme`...
csandman 21dc1c2
Update `isRequired` prop doc
csandman cd785cc
Remove the `useBasicStyles` prop
csandman a503b7b
Remove `hasStickyGroupHeaders` prop
csandman a88fd04
Add an initial implementation of a Codemod
csandman c3cd9cd
Merge remote-tracking branch 'origin' into feat/theming
csandman 0a42c9e
Remove the `colorScheme` prop rename
csandman 761f116
Pull default props from theme
csandman aabf251
Add aria props to icon
csandman 32f72c6
Add initial theme docs
csandman 5909f99
Add opacity back in
csandman fa610cc
Readd margin left to dropdown indicator
csandman 76fd90c
Add theme styles to the control
csandman e571be8
Swap import in the theme example in the README
csandman b96fd8c
Add missing theme styles the cross icon
csandman b628c33
Fix group styles
csandman 0079575
Remove extra group heading styles
csandman 785a004
Split up option padding to prevent overriding
csandman 2e6ca7b
Rename sx variable
csandman 8ae6a2a
Switch to passing all props into useMultiStyleConfig calls
csandman afafd4d
Update readme again
csandman 80720e6
Replace remaining selectProps
csandman 393fdac
Undo _dark styles
csandman 84d25d2
Reorder active styles
csandman 4a855fa
Fix data- props on the control
csandman fa98dc1
Switch menu styles to use data/aria attributes
csandman 8d1fce3
Add Anatomy for the theming
csandman 95bc70e
Merge branch 'feat/theming' into aria-role-fix
csandman a7e6efb
Merge pull request #283 from codebutler/aria-role-fix
csandman 2df5e1d
Switch option styling to use `_selected`
csandman 9994d43
Add missing id prop to group heading
csandman 70a20f6
Clean up data- props
csandman 5ef5c15
Add all component props along with the select props
csandman 5c1f5ee
Remove unused babel plugins
csandman 854c44e
5.0.0-rc.0
csandman 7c91bd0
Remove duplicate aria props from the input
csandman b87e179
5.0.0-rc.1
csandman 8429773
Switch to tsup
csandman c25b0d6
5.0.0-rc.2
csandman 836f4de
Add minify option and remove extra exports
csandman 5745d75
Merge pull request #294 from csandman/feat/tsup
csandman 8df88ca
Update License dates
csandman 5cea232
Update license type
csandman 988bf8c
Update codemod readme and remove unused color scheme mod
csandman fd78985
skipNodeModulesBundle
csandman 61b542f
Reorganize README
csandman 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
2 changes: 2 additions & 0 deletions
.eslintignore
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
node_modules/ | ||
dist/ | ||
tmp/ | ||
codemod/**/*.js | ||
codemod/**/*.d.ts |
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
2 changes: 1 addition & 1 deletion
LICENSE.md
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
21 changes: 0 additions & 21 deletions
babel.config.js
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
codemod/.gitignore
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dist | ||
*.d.ts | ||
*.js | ||
*.js.map |
20 changes: 20 additions & 0 deletions
codemod/LICENSE.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Chris Sandvik | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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.