二货机器人
f56e66a262
fix: Picker focus & blur not working ( #35552 )
3 years ago
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
3 years ago
黑雨
42f91f970f
feat: edit date-picker to hook ( #35425 )
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
黑雨
b0a652580a
feat: Form disabled ( #35210 )
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
3 years ago
MadCcc
9b73058045
refactor: wrap picker with FC ( #34994 )
* refactor: wrap picker with FC
* chore: code clean
* feat: cast type
* test: fix test
3 years ago
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
* refactor: feedbackIcon migration
* test: update snapshot
3 years ago
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
3 years ago
MadCcc
ed651f450d
fix: missing status style for RangePicker ( #34509 )
* fix: range picker should has status style
* chore: code clean
* chore: code clean
* chore: code clean
3 years ago
黑雨
483ebb9da1
fix: update quarter picker placeholder for RangePicker ( #34089 )
3 years ago
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status ( #34073 )
* feat: DatePicker and TimePicker support status
* docs: demo add version
* chore: code clean
3 years ago
afc163
92d5820457
chore: remove unused interface file ( #34011 )
3 years ago
Amour1688
1176454437
types: export DatePickRef and RangePickerRef ( close #33417 ) ( #33901 )
3 years ago
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
This reverts commit 6b1a48d5ed
.
3 years ago
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
3 years ago
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement ( #33541 )
* feat: select components add placement api
* feat: select components add placement api
* fix: delete placement
* fix: change md demo and delete export
* feat: cascader and tree-select add placement
* feat: datapicker add placement api
* fix: change repeat static declaration to single
* test: updata test units
* doc: change doc
* fix: delete merge message & delete decalare ts
* test: fix unit test
* fix: add transName in select & treeSelect & cascader
* fix: change common api in utils
* fix: change useless if block to only
* fix: change placement string to enum
* fix: lint done
Co-authored-by: 礼检 <ljj337009@antgroup.com>
3 years ago
二货机器人
be231f9fb5
feat: Merge TimePicker disabledXXX into disabledTime ( #33503 )
* feat: merge disabledXXX into disabledTime
* chore: fix ts
3 years ago
acfasj
999660c574
fix(date-picker): DatePicker ref typing ( #31993 )
3 years ago
Jean-Philippe Roy
1cd694837c
feat: Allow DatePicker/RangePicker Icon Overrides ( #31703 )
* Hoist default values and expose props
* Add new props to the common API docs
* CN Docs
* Apply suggestions from code review
Co-authored-by: Jean-Philippe Roy <jean-philippe.roy@meraki.net>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
Map1en_
1699754bd5
fix(DatePicker): locale in DatePicker cannot override ConfigProvider locale ( #30380 )
* fix(DatePicker): locale in DatePicker cannot override ConfigProvider locale
close #30374
* fix: DatePicker.RangePicker
* test: add test
4 years ago
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
4 years ago
Kermit Xuan
e883e4ba40
fix(date-picker): showTime should work correctly when format is function ( #27156 )
4 years ago
Kermit Xuan
a733885b50
feat(date-picker): support custom format ( #26845 )
* feat(upload): ✨ support custom format
* test: update demo snapshot
4 years ago
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice ( #25768 )
* docs: Update DatePicker docs and add legacy notice
* clean up
* only warning for QuarterPicker
* update docs
* fix lint
* note to warning
4 years ago
afc163
019eeec3ce
fix: TimePicker.RangePicker don't support bordred={false}
when has className
close #24768
5 years ago
二货机器人
34bf3fdb66
fix: DatePicker miss placeholder when it's undefined ( #23818 )
* fix placeholder
* add test case
* update snapshot
5 years ago
Tom Xu
8cdf1c017a
fix: ConfigProvider getPopupContainer invalid ( #23594 )
* fix: ConfigProvider getPopupContainer invalid
* slider getPopupContainer
* Create container.test.js
* Update container.test.js
5 years ago
二货机器人
ecf025548b
chore: adjust RangePicker style ( #23074 )
* adjust range color
* fix lint
* update color
* update dark logic
* adjust little of arrow
* use icon
* update font size
* update snashot
5 years ago
二货机器人
9ecb12db76
refactor: Refactor picker generate to multiple files ( #22850 )
* move single picker out
* move generateRangePicker out
* fix compile
5 years ago