Commit Graph

14217 Commits

Author SHA1 Message Date
Dunqing
77cad90c08
refactor: Calendar cssinjs (#34835)
* refactor: to cssinjs

* fix: css logical properties

* refactor: use mergeTokens handle customize token

* refactor: export genPanelStyle

* feat: add picker panel style

* fix: remove unused token

* refactor: replace arrowWidth with sizePopupArrow

* fix: add fixme

* fix: type error

* fix: remove arrowWidth

* fix: add fixme

* fix: remove comment

* fix: add fixme

* chore: code style

* test: fix lint

* test: fix lint

Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-11 20:07:40 +08:00
vagusX
5d66b0ba3f
refactor: cssinjs for segmented (#35134)
* refactor: cssinjs for segmented

* fix: disabled styles

* feat: sync code from master
2022-05-11 19:35:00 +08:00
afc163
2842524850 chore: sync master into next branch 2022-05-11 16:00:22 +08:00
afc163
84a969e5e0 chore: sync master into next branch 2022-05-11 15:36:22 +08:00
afc163
089dc7e36a docs: remove editable in table documentation
close
https://github.com/ant-design/ant-design/pull/35471#issuecomment-1123239879
2022-05-11 14:35:43 +08:00
Tony Wu
68a2f8b2ac
docs: indicate that menu items require keys (#35474) 2022-05-11 14:29:26 +08:00
二货机器人
2341a25d91
feat: refactor useNotification (#35423)
* more refactor

* chore: motion support

* chore: tmp test

* test: Hooks

* chore: static function

* tmp of it

* all of it

* mv prefix

* chore: clean up

* chore: clean up

* more test case

* test: all base test

* test: all test case

* init

* refactor: rm notification.open instance related code

* follow up

* refactor: singlton

* test: notification test case

* refactor to destroy

* refactor: message base

* test: part test case

* test: more

* test: more

* test: all test

* chore: clean up

* docs: reorder

* chore: fix lint

* test: fix test case

* chore: add act

* chore: back

* chore: fix style

* test: notification test

* test: more and more

* test: fix more test

* test: index

* test: more & more

* test: fix placement

* test: fix coverage

* chore: clean up

* chore: bundle size

* fix: 17

* chore: more

* test: message

* test: more test

* fix: lint

* test: rm class in static

* chore: clean up

* test: coverage

* chore: fix lint
2022-05-11 14:26:18 +08:00
miracles1919
d326765a6b
fix: tag line height (#35487) 2022-05-11 13:06:03 +08:00
MadCcc
da7f67db3f
fix: avatar rtl (#35486) 2022-05-11 11:33:40 +08:00
shuaijiumei
fc3688965d
refactor: progress cssinjs (#34692)
* refactor: progress cssinjs

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: ci fail

* fix: ci fail

* fix: ci fail rollback

* fix: single ''

* fix: single ''

* fix: single ''

* feat: update code

* feat: update code

* feat: update code

* feat: update code

* fix: RTL-model

* fix: RTL-model

* feat: new css-in-js type

* feat: new css-in-js type

* feat: new css-in-js type

* refactor: simplify the code

* refactor: Progress css in js

* test: fix lint

* fix: patch

* chore: code clean

* chore: code clean

Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-11 10:52:10 +08:00
dingkang
5cf579c37a
docs: replace class component with hooks (#35472)
* 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
2022-05-10 20:49:42 +08:00
MadCcc
9ca7973521
refactor: image full token (#35465)
* refactor: image full token

* chore: remain switch size

* refactor: less token

* chore: text color
2022-05-10 17:30:01 +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
lalalazero
17cd13fe53
refactor: remove cascader displayRender warning (#35417)
* refactor: remove useless warning (#35291)

* refactor: remove useless test case

* docs: remove cascader tagRender
2022-05-10 13:57:38 +08:00
dingkang
f5831f121d
docs: replace class component with hooks (#35461)
* 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
2022-05-10 13:00:31 +08:00
MadCcc
cde2103e48
refactor: image full token (#35449)
* refactor: image full token

* refactor: less component token
2022-05-10 10:16:46 +08:00
Ron Šmeral
1d3fd70dbf
fix: bad List.Item type (#35454) (#35455)
Co-authored-by: Ron Smeral <ron.smeral@merck.com>
2022-05-10 10:01:11 +08:00
MadCcc
24773d5796 test: lint 2022-05-09 22:20:07 +08:00
MadCcc
1f5e271eb6 Merge branch 'master' into next-merge-master 2022-05-09 21:26:25 +08:00
MadCcc
01ebb6a563
test: update snapshot (#35452) 2022-05-09 20:25:55 +08:00
Yanming Deng
36ded1a741
docs: fix typo (#35439)
* chore: fixed typo

* chore: fixed typo+1
2022-05-09 18:09:02 +08:00
Mykyta Velykanov
fcf2afd3fa
fix: add missing localizations (#35430)
* Add missing localizations

* Update snapshot
2022-05-08 22:35:46 +08:00
foryuki
d21c7f8f4e chore: add fixme 2022-05-07 21:09:18 +08:00
foryuki
5b7fe58403 chore: remove useless code 2022-05-07 21:09:18 +08:00
foryuki
32850a1e6c feat: support rtl for modal confirm 2022-05-07 21:09:18 +08:00
foryuki
5a0329bb19 feat: cssinjs for confirm 2022-05-07 21:09:18 +08:00
foryuki
ca4af2b9e7 fix: modal mask 2022-05-07 21:09:17 +08:00
foryuki
11fb223bc0 feat: support ltr for modal 2022-05-07 21:09:17 +08:00
foryuki
65ae54ece7 fix: lint issues 2022-05-07 21:09:17 +08:00
foryuki
5f12d88c69 refactor: cssinjs for modal components/modal/style/modal.less 2022-05-07 21:09:17 +08:00
MadCcc
e9f22cf192 chore: code enhance 2022-05-07 15:38:00 +08:00
MadCcc
83ed62aa0e Merge branch 'feature' into next-merge-feature 2022-05-07 15:19: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
二货机器人
00fb82276f
Merge pull request #35396 from zpc7/test/transfer-tooltip-to-testing-library
Replace Tooltip test case with testing library
2022-05-07 14:04:15 +08:00
Tom Xu
d1f85d94e5
fix: List.Item typescript (#35418) 2022-05-07 14:03:41 +08:00
Tom Xu
5d2475a2a1
fix: List.Item ref (#35321)
* fix: list item ref

* add test

* improve
2022-05-07 13:34:40 +08:00
zpc7
bd31a6a46a Revert "test: replace some slepp with jest.runAllTimers"
This reverts commit ad886d1f65.
2022-05-07 13:05:11 +08:00
MadCcc
130b146590 chore: update snapshot 2022-05-07 12:27:03 +08:00
MadCcc
4184cc782c Merge branch 'master' into feature-merge-master 2022-05-07 12:24:25 +08:00
zpc7
ad886d1f65 test: replace some slepp with jest.runAllTimers 2022-05-07 12:09:25 +08:00
MadCcc
7873bf7f1c
fix: arrow style (#35401)
* fix: arrow style

* fix: raise arrow z-index

* fix: fix defualt arrow color

* fix: mix shadow

* chore: code clean

* chore: code clean

* fix: use fadeout instead

* test: fix style lint
2022-05-07 12:04:46 +08:00
parabolazz
9b56ad86fb
docs: explain Avatar fallback strategy (#35415)
The original description was unclear, incomplete, and confusing, requiring a look at the code to understand it, so I revised it to a more understandable version.
2022-05-07 11:56:03 +08:00
Karott Schu
d07dcd46b7
fix(<Row/>): wipe out unnecessary prop (#35409)
* fix: wipe out unnecessary prop

* wipe out unnecessary prop(`row-gap: 0px`) on <Row />

* add test case

* chore: remove unnecessary import

* chore: add  prop to Row and Col

* chore: update snapshot (Form/Grid/Card)

* chore: update snapshot

* chore: move  location
2022-05-07 11:44:48 +08:00
MadCcc
4734f65f2f
feat: focus menu item automaticly when focusing menu (#35407)
* feat: focus menu item automaticly when focusing menu

* chore: update mentions

* test: fix test case

* chore: decrease bundle size

* chore: increase bundle size
2022-05-07 11:36:34 +08:00
zpc7
22b89eea5a test: foreach all placement 2022-05-07 10:43:59 +08:00
zpc7
55f9e29360 test: remove some test case 2022-05-07 09:35:12 +08:00
zpc7
8ade7ab323 test: try to fix the pr check 2022-05-07 09:35:12 +08:00
zpc7
d9ce1ad14c ci: trigger the pr check 2022-05-07 09:35:12 +08:00
zpc7
8545647313 test: transfer tooltip test case to testing library 2022-05-07 09:35:12 +08:00
二货机器人
69e1c33401
Merge pull request #34057 from ant-design/feat/momentjs-to-dayjs
feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js
2022-05-06 20:22:04 +08:00