-
Notifications
You must be signed in to change notification settings - Fork 383
refactor(color-picker): ensure mode switches based on color value #3572
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 12 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
7ff357b
refactor(color-picker): ensure mode switches based on color value
RylanBot 75a1b8c
fix(color-picker): ensure gradient and alpha values update correctly
RylanBot 992bee1
chore: update snapshots
RylanBot 6894db4
fix(color-picker): update alpha format handling
RylanBot d782ad3
fix(color-picker): ensure `onChange` includes `color` and `trigger`
RylanBot f037496
fix(color-picker): avoid color update failure in controlled mode
RylanBot 69f7c25
chore: update common
github-actions[bot] 10ca3f1
chore: merge develop
github-actions[bot] 95c8188
refactor(color-picker): replace logic with functions from common repo
RylanBot 41a3e66
fix(color-picker): incorrect format mapping
RylanBot e47a1e1
chore(color-picker): remove `onClear`
RylanBot 76e522e
chore: update submodule
RylanBot 432d044
docs(color-picker): remove the undeveloped `clear` event
RylanBot 51ddee4
chore: update snapshots
RylanBot 8290490
refactor(color-picker): remove unnecessary logic
RylanBot d681c2a
chore: update snapshot
RylanBot d2a76ac
refactor(color-picker): exclude non-gradient values in gradient-only …
RylanBot c7b89a3
docs(color-picker): update types and remove undeveloped props
RylanBot 598e354
fix(radio-group): highlight failure
RylanBot 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
Submodule _common
updated
16 files
| +8 −0 | .github/workflows/tdesign-component-repositories-ci.yml | |
| +39 −0 | docs/mobile/api/slider.en-US.md | |
| +16 −16 | docs/mobile/api/slider.md | |
| +1 −1 | docs/web/api/color-picker.en-US.md | |
| +1 −1 | docs/web/api/color-picker.md | |
| +30 −10 | js/color-picker/color.ts | |
| +132 −4 | js/color-picker/constants.ts | |
| +95 −0 | js/color-picker/format.ts | |
| +31 −22 | js/color-picker/gradient.ts | |
| +3 −0 | js/color-picker/index.ts | |
| +33 −0 | js/color-picker/types.ts | |
| +4 −3 | js/input-number/number.ts | |
| +9 −0 | js/progress/const.ts | |
| +37 −0 | js/progress/utils.ts | |
| +36 −5 | style/web/components/chat/_index.less | |
| +23 −0 | test/unit/input-number/number.test.js |
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
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.
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.