Commit Graph

16 Commits

Author SHA1 Message Date
栗嘉男
5933e6473f fix: fix lint 2023-07-28 17:15:04 +08:00
栗嘉男
674ff129ce Merge branch master into master-merge-feature 2023-07-28 16:43:15 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00
红果汁
c377457104
feat: ColorPicker implement disabledAlpha API (#43355)
* feat: implement disabledAlpha api

* refactor: add genAlphaColor and optimization code

* chore: clean code

* refactor: add warning and optimization code

* chore: clean code

* docs: modify version number

* fix: fix prettier
2023-07-12 19:42:33 +08:00
红果汁
e72a7836f4
feat: ColorPicker Implement onChangeComplete API (#43370)
* feat: implement onChangeComplete api

* docs: add change completed demo

* perf: optimization code
2023-07-10 13:37:43 +08:00
红果汁
6bb18b361d
feat: ColorPicker implement panelRender API (#43134)
* feat: implement `panelRender` api and add demo

* test: add test case

* docs: update doc

* fix: styles add overlayInnerStyle

* fix: variable name

* docs: reorder api

* refactor: optimize code

* test: update snapshot

* test: update snapshots

* refactor: remove memo

* refactor: rename  overlayInnerStyle to popupOverlayInner

* fix: props error

* docs: update demo
2023-06-29 11:46:11 +08:00
红果汁
9757df0447
docs: ColorPicker showText property add dropDown demo (#43177) 2023-06-25 20:44:16 +08:00
红果汁
326de2dc05
feat: ColorPicker implement size API (#43116)
* feat: add size prop

* test: add test case

* docs: update doc

* fix: style issue

* docs: add text size demo

* test: update snapshots
2023-06-21 11:30:09 +08:00
红果汁
1fb8fc57d3
feat: ColorPicker implement showText API (#42865)
* feat: color-picker support showValue api

* Update components/color-picker/index.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>

* docs: add version column

* test: fix test coverage

* feat: replace showValue with textRender

* Update components/color-picker/components/ColorTrigger.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* fix: style issue

* feat: add showText prop and optimization code

* fix: lint issue

* test: fix coverage

* refactor: combine showText and textRender

* fix: lint issue

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-19 19:29:39 +08:00
lijianan
5fd2ee5b65
demo: update docs & demo (#42681) 2023-05-28 15:15:28 +08:00
lijianan
bedd6b4f48
docs: add Custom Trigger Event demo (#42525)
* docs: add demo

* fix
2023-05-26 11:23:48 +08:00
kiner-tang(文辉)
75e40999cd
feat: color-picker pure panel (#42388) 2023-05-16 14:18:12 +08:00
lijianan
b6fc8604d9
docs: add controlled demo (#42383) 2023-05-16 13:49:59 +08:00
红果汁
843b89bf75
fix: color-picker review issues (#42356)
* fix: color-picker review issues

* style: fix prettier problem
2023-05-15 13:56:30 +08:00
lijianan
0470646a5f
refactor: optimize ColorPicker code again (#42334) 2023-05-14 11:47:01 +08:00
红果汁
b95d5674fa
feat: new component ColorPicker (#41990)
* feat: color picker

* chore: improve component logic

* test: update snapshots

* test: update snapshots

* fix: remove unuse code

* fix: adjusting the UI

* fix: hairy edge in dark mode

* fix: demo case

* chore: rollback file

* fix: improve code logic

* perf: improve code

* test: add test case

* refactor: trigger use Popover instead

* test: add test case

* refactor: improve code logic

* test: update snapshots

* refactor: improve code

* docs: add overview img

* feat: style

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: update snapshot

* feat: color block

* chore: pure render

* refactor: hex input number reduced to 6 digits

* fix: rename React to react

* refactor:  trigger demo

* docs: remove disabled demo

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-12 14:43:48 +08:00