Commit Graph

1028 Commits

Author SHA1 Message Date
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
zombiej
f58efe9b32 chore: merge master 2022-05-23 14:37:16 +08:00
yykoypj
10964f158c
fix: incorrect position of picker popup (#35620)
Co-authored-by: yangpj17 <yangpj17@chianunicom.com>

close #35590
2022-05-19 11:15:07 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo (#34742)
* docs: add general components TS demo

* docs: add layout components TS demo

* docs: add navigation components TS demo

* docs: add data entry components TS demo

* chore(deps): add types for qs

* docs: add data display TS demo

* docs: add feedback components TS demo

* docs: add other components TS demo

* chore(deps): add types

* docs: unified demo code style

* docs: fix lint error

* docs: add demo TS type

* docs: fix demo TS type

* test: update snapshot

* docs: fix TS demo

* feat: update Rate character type

* docs: fix lint error

* feat: update Rate character type

* feat: update Rate character type
2022-05-19 09:46:26 +08:00
zombiej
5e910e74c1 docs: Fix DatePicker throw demo 2022-05-18 17:25:40 +08:00
Amumu
b222f93cc5
feat: add a new locale tk_TK (#35605)
* feat: add a new locale tk_TK

* fix: fix moment locale
2022-05-18 11:20:53 +08:00
二货机器人
f56e66a262
fix: Picker focus & blur not working (#35552) 2022-05-14 16:34:35 +08:00
MadCcc
2d70027f45 Merge branch 'master' into feature-merge-master 2022-05-12 15:56:18 +08:00
dingkang
be2b0d8a6e
docs: replace class component with hooks (#35500)
* docs(badge): replace class component with hooks

* docs(button): replace class component with hooks

* docs(calendar): replace class component with hooks

* docs(card): replace class component with hooks

* docs(button): replace class component with hooks

* chore(deps): remove webpack devDependencies

* docs(cascader): replace class component with hooks

* docs(checkbox): replace class component with hooks

* docs(collapse): replace class component with hooks

* docs(comment): replace class component with hooks

* docs(descriptions): replace class component with hooks

* docs(config-provider): replace class component with hooks

* docs(date-picker): replace class component with hooks
2022-05-11 19:43:54 +08:00
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
2022-05-10 15:43:29 +08:00
MadCcc
01ebb6a563
test: update snapshot (#35452) 2022-05-09 20:25:55 +08:00
黑雨
42f91f970f
feat: edit date-picker to hook (#35425) 2022-05-09 10:34:10 +08:00
afc163
594f138760 resolve conflict between feature and master 2022-05-08 17:01:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
黑雨
b0a652580a
feat: Form disabled (#35210)
* feat: add form disabled

* feat: add form disabled

* feat: add radio disabled

* feat: update snap

* feat: add test case
2022-04-29 20:48:10 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases (#35026)
* test: React StrictMode

* test: fix Spin test

* chore: wrapper enzyme

* test: fix setState

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: disable part of it

* test: fix test & add placeholder

* test: Use orign enzyme mount

Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-18 21:02:11 +08:00
github-actions[bot]
e3d8689643
chore: auto merge branchs (#35053)
chore: sync master into feature
2022-04-17 15:03:29 +00:00
MadCcc
1c8e499f9c
test: migrate some test case to testing-library (#35062)
* test: migrate some test case to testing-library

* chore: code clean

* test: fix stylelint

* test: test case
2022-04-17 22:36:36 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +08:00
MadCcc
9b73058045
refactor: wrap picker with FC (#34994)
* refactor: wrap picker with FC

* chore: code clean

* feat: cast type

* test: fix test
2022-04-15 10:45:20 +08:00
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +08:00
MadCcc
6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
afc163
a73629fb85 chore: merge feature 2022-03-31 09:57:33 +08:00
二货机器人
8a3ee71006
chore: add control-radius (#34727) 2022-03-27 00:20:38 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form (#34712)
* refactor: feedbackIcon migration

* test: update snapshot
2022-03-25 17:48:12 +08:00
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
2022-03-24 21:54:20 +08:00
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
2022-03-15 18:38:22 +08:00
MadCcc
2c88f606c3
fix: remove duplicated style (#34101)
* fix: remove duplicated style

* chore: reduce bundle size limitation

* chore: raise bundle size
2022-02-18 10:31:19 +08:00
黑雨
483ebb9da1
fix: update quarter picker placeholder for RangePicker (#34089) 2022-02-17 13:38:49 +08:00
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status (#34073)
* feat: DatePicker and TimePicker support status

* docs: demo add version

* chore: code clean
2022-02-16 21:14:51 +08:00
MadCcc
76ad890deb Merge branch 'master' into feature-merge-master 2022-02-15 14:05:33 +08:00
afc163
92d5820457
chore: remove unused interface file (#34011) 2022-02-11 13:05:54 +08:00
MadCcc
926a8aaf8a
feat: tooltip round arrow (#33710)
* feat: tooltip round arrow

* chore: update demo

* docs: update docs

* feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker

* chore: code clean

* fix: fill gap

* chore: code clean

* chore: raise css bundle size

* fix: arrow style

* feat: use full path

* test: update snapshot

* perf: hack firefox

* perf: more magic position

* perf: RangePicker's arrow position

* chore: bump rc-picker version

* fix: arrow position
2022-02-08 09:52:33 +08:00
github-actions[bot]
281763f345
chore: auto merge branchs (#33945)
chore: merge master into feature
2022-02-07 04:30:42 +00:00
Amour1688
1176454437
types: export DatePickRef and RangePickerRef (close #33417) (#33901) 2022-01-31 12:04:47 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" (#33903)
This reverts commit 40433f357d, reversing
changes made to 27a498e021.
2022-01-30 15:21:41 +08:00
github-actions[bot]
d81ac2d5a9
chore: auto merge branchs (#33823)
chore: sync master into feature
2022-01-24 08:16:00 +00:00
afc163
578aaad7f2 test: fix lint 2022-01-24 11:26:26 +08:00
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>
2022-01-20 16:54:47 +08:00
二货机器人
be231f9fb5
feat: Merge TimePicker disabledXXX into disabledTime (#33503)
* feat: merge disabledXXX into disabledTime

* chore: fix ts
2021-12-31 11:28:02 +08:00
zombiej
6ed4d855b1 Merge remote-tracking branch 'origin/master' into feature-merge-master 2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content (#33378)
* auto demo

* chore: update demo snapshot

* fix: trigger mock ref logic

* chore: try 2 test case

* chore: more snapshot

* chore: update snapshot

* chore: fix ts

* chore: split test

* test: Update test case

* chore: fix test order
2021-12-23 11:51:10 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
chore: merge master into feature
2021-12-05 15:22:48 +08:00
afc163
b34f72b1b6
test: fix ci warnings (#33160) 2021-12-04 17:06:36 +08:00
zombiej
24ec3ba662 chore: merge master 2021-11-26 10:15:39 +08:00
WeijieChen
38ecbd7573
fix: remove space (#32974)
Co-authored-by: machixian <machixian@myweimai.com>
2021-11-22 18:40:02 +08:00
VIREAK KEOSOKVIBOL
f0c8402d65
feat: Add km_KH locale to component (#32853)
* Add km_KH locale to component

* Add test and docs

* Fix typo

* Add test snapshot
2021-11-20 15:02:28 +08:00
二货机器人
ce006bd44e
docs: Version Robin (#32830) 2021-11-12 11:46:42 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 (#32609)
* chore(deps): update dependency stylelint to v14

* Update package.json

* fix some stylelint

* fix some stylelint

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00