二货爱吃白萝卜
b4898946ea
fix: visible follow up of confirm back to true ( #37613 )
2022-09-18 11:22:05 +08:00
MadCcc
1a051dcc5e
test: fix lint
2022-09-14 14:41:20 +08:00
MadCcc
7a73035f82
chore: fix snapshot
2022-09-14 14:29:05 +08:00
MadCcc
d1be33f224
Merge branch 'master' into next-merge-master
2022-09-14 10:31:17 +08:00
二货爱吃白萝卜
a8fc6e893a
fix: Fix icon set null
not hide icon ( #37532 )
...
* fix: Modal confirm can set icon to null
* test: add test case
2022-09-13 18:09:58 +08:00
MadCcc
0b8c112193
feat: token wireframe ( #37507 )
...
* feat: wireframe token
* feat: token wireframe
* feat: wireframe steps
* feat: wireframe table
* feat: wireframe modal
* feat: wireframe popover
* chore: update token collect
2022-09-13 11:52:56 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
...
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
Aaron674092290
87f39244e1
fix: unable to close modal when using visible in Modal.confirm().update ( #37471 )
...
* fix: unable to close modal when using visible in Modal.confirm().update
* chore: test case update
Co-authored-by: yangguangte <yangguangte@bytedance.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-08 17:30:49 +08:00
MadCcc
b4f4873d54
feat: use filled icon by default ( #37450 )
...
* feat: use filled icon by default
* test: update snapshot
2022-09-08 09:51:32 +08:00
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this ( #37422 )
...
* chore: tags deprecated support
* chore: Slider Tooltip test
* chore: Table dropdown visible legacy
* chore: drawer warning of legacy
* chore: Modal legacy prop
* chore: dropdown open legacy prop
* chore: Tooltiop visible legacy info
* fix: format logic
* test: Update test for 18
* chore: fix lint
2022-09-06 21:46:49 +08:00
二货爱吃白萝卜
aca046288e
docs: Add FAQ about open ( #37420 )
2022-09-06 14:03:39 +08:00
MadCcc
d5c17a9a7c
Merge branch 'master' into next-merge-master
2022-09-05 21:26:04 +08:00
lijianan
c34caad24c
test: js => ts ( #37392 )
...
* test: js => ts
* test: add test
* fix: fix eslint error
* test: add test case
* fix: fix test error
* fix: fix eslint error
* fix: fix eslint error
* fix: eslint error fix
* fix: fallback eslint config & add test case
* test: add all test case
* fix: bugfix
* fix: bugFix
* fix: bugFix
* fix: bugFix
* fix: lint
* fix: add React.createRef
* fix: add breadcrumbName in Routes
* fix: any commit for restart ci/cd
* fix: remove type
* fix: test fix
* fix: test fix
* fix: add ts-ignore for id
* test: add Icon test case
* test: remove ts-ignore
* test: add Icon test case
2022-09-05 19:41:32 +08:00
MadCcc
e5e2159882
Merge branch 'feature' into master-merge-feature
2022-09-04 14:46:28 +08:00
MadCcc
0d50767aa8
Merge branch 'master' into next-merge-master
2022-08-30 13:05:50 +08:00
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
...
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-08-30 10:57:13 +08:00
MadCcc
c0653c8a3c
feat: v5 margin ( #37283 )
...
* feat: v5 margin
* fix: alert icon line-height
2022-08-29 17:09:41 +08:00
MadCcc
ec13e824be
feat: v5 shadow & colorPrimary ( #37254 )
...
* feat: v5 shadow
* chore: color lint
* test: fix test case
2022-08-26 16:05:16 +08:00
yykoypj
771c7a6f2d
feat: change visible to open for Modal ( #36774 )
...
* feat: change visible to open for Modal
* feat: add warning when use visible
* test: fix lint
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-24 11:15:25 +08:00
二货机器人
acc80d8916
test: update test case
2022-08-23 23:05:02 +08:00
二货机器人
f64c6ca2f3
test: Update warning
2022-08-23 22:41:01 +08:00
二货机器人
83eda31e73
test: fix warning check
2022-08-23 22:38:53 +08:00
二货机器人
d9a9fdc509
chore: merge next
2022-08-23 17:48:00 +08:00
yykoypj
3d8cd0b451
feat: switch visible to open for Modal ( #37084 )
...
* feat: switch visible to open for Modal
* test: depcated check
* docs: site api update
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 16:55:57 +08:00
MadCcc
93908debec
feat: v5 radius ( #37146 )
...
* feat: v5 radius
* test: fix test
2022-08-19 10:10:51 +08:00
MadCcc
dbff63666a
Merge branch 'master' into next-merge-master
2022-08-08 15:12:31 +08:00
clean99
1239910f66
test: change act import from utils use act wrap timer and not wrap fireEvent ( #36921 )
...
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-08-08 13:31:55 +08:00
MadCcc
ec3444a407
refactor: token udpate ( #36892 )
2022-08-04 16:16:50 +08:00
二货机器人
394aba4afe
chore: merge master
2022-07-29 15:56:11 +08:00
Wuxh
16ecdbb58d
fix(modal): Modal.xxx onCancel close argument is not a function ( #36600 )
...
* fix(modal): fix the error of `onCancel` parameter of modal returned by `useModal`
resolve: 36581
ref: https://github.com/ant-design/ant-design/issues/36581#issuecomment-1189396007
* test(confirm): 补充 modal 测试用例
* test(modal): 添加测试用例
* Revert "fix(modal): fix the error of `onCancel` parameter of modal returned by `useModal`"
This reverts commit e4fcb3e62add63193ec9081b2c21e657379bebfb.
* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter
closed : #36581
* chore: cancel the introduction of `noop` from third-party library
2022-07-23 16:04:23 +08:00
MadCcc
1ad0553249
refactor: token update ( #36637 )
...
* refactor: token update
* refactor: token
* chore: error color
* fix: menu danger
2022-07-21 17:00:42 +08:00
zombiej
c71ce67e14
chore: next merge feature
2022-07-19 17:51:35 +08:00
二货机器人
b8a2f0a0c7
feat: Modal PureRender type support type
( #36544 )
...
* feat: Modal type support PurePanel
* feat: Modal PurePanel support type
* chore: do fix
* chore: do fix
* fix: Static logic locale
2022-07-15 20:51:07 +08:00
Neil
9989a2d751
add Modal @modal-border-radius less variable ( #36527 )
...
* add Modal @modal-border-radius less variable
* fix: add less variable
2022-07-15 14:50:07 +08:00
MadCcc
cdbfe45df1
feat: generate anchor style for all components ( #36460 )
...
* test: fix lint
* chore: code clean
* doc: anchor color
* chore: style order
2022-07-11 15:35:58 +08:00
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
...
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2022-07-05 21:55:21 +08:00
MadCcc
abb409ccf7
refactor: token update ( #36306 )
2022-06-29 21:24:29 +08:00
二货机器人
de2992f96f
chore: move path ( #36243 )
...
* chore: base move
* chore: all path
* chore: fix script
2022-06-27 14:25:59 +08:00
afc163
4ca2a812e0
resolve conflict
2022-06-24 11:35:54 +08:00
afc163
a5fe576d48
chore: merge master to next
2022-06-24 11:32:42 +08:00
MadCcc
9f2f9bb57f
refactor: default theme with algorithm ( #36175 )
...
* refactor: alias token
* refactor: use palettes
* refactor: default theme
* chore: code clean
* refactor: component token
* feat: light tokens
* feat: add dark theme
* feat: dark derivative
* chore: code clean
* refactor: fix colorBgContainer
* refactor: rename token
* test: fix lint
* chore: code clean
* chore: code clen
* refactor: badge shadow color
* test: add test case
2022-06-24 11:11:42 +08:00
Andrew Horn
1c8415c494
Corrected grammar in comment in hooks.md ( #36185 )
2022-06-23 10:33:12 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
MadCcc
1bcfe0cce3
refactor: motion ( #36136 )
...
* fix: modal motion
* fix: image motion
* refactor: popover & tooltip motion
* chore: code clean
* refactor: move motion
* refactor
* chore: code clean
* refactor: dropdown support move motion
2022-06-21 00:34:51 +08:00
MadCcc
5639e1a5ba
feat: update token ( #36095 )
...
* feat: update token
* feat: update token
* fix: override ts definition
* fix: rename token
2022-06-17 18:47:47 +08:00
二货机器人
c720965d13
refactor: rename of _InternalPanelDoNotUseOrYouWillBeFired ( #36028 )
2022-06-13 17:55:00 +08:00
二货机器人
821d540805
refactor: Modal support PureRender ( #36012 )
...
* chore: init
* chore: Modal pure render
* chore: update snapshot
2022-06-11 21:39:58 +08:00
zombiej
cffc4f05aa
chore: merge master
2022-06-07 21:13:52 +08:00
MadCcc
1f080c299e
fix: Form.Item noStyle should not be affected by parent Form.Item ( #35849 )
...
* fix: Form.Item noStyle should not be affected by parent Form.Item
* test: update snapshot
* fix: status
* chore: code clean
* fix: modal and drawer
* test: fix lint
* chore: code clean
* refactor: noFormStyle
* chore: code clean
* revert: revert change in Form.Item
* chore: code clean
2022-06-06 23:39:00 +08:00
zombiej
01dbe2ff25
chore: merge master
2022-06-01 18:46:38 +08:00
afc163
6423e22f78
chore: merge feature
2022-06-01 18:28:31 +08:00
Yuki Zhang
b46e839a5f
test: move test cases to @testing/library for Modal ( #35785 )
...
* test: move test cases to @testing/library for Modal
* update
* fix: test
* test: add test case for mouse position
* chore: revert
2022-05-31 10:29:13 +08:00
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +08:00
zombiej
409eee2254
test: Update snapshot
2022-05-21 22:32:35 +08:00
zombiej
cd0ace3d40
chore: merge master
2022-05-21 22:14:15 +08:00
Yuki Zhang
651dae1430
refactor: use text-align instead of flex for modal confirm bottom btns ( #35630 )
2022-05-19 16:25:37 +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
dingkang
e5b09aa879
docs: replace class component with hooks ( #35613 )
...
* 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
* docs(drawer): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(empty): replace class component with hooks
* docs(grid): replace class component with hooks
* docs(input): replace class component with hooks
* docs(input-number): replace class component with hooks
* docs(demo): fix lint error
* docs(layout): replace class component with hooks
* docs(list): replace class component with hooks
* docs(mentions): replace class component with hooks
* docs: fix code review issue
* docs(modal): replace class component with hooks
2022-05-18 19:29:01 +08:00
Yuki Zhang
0846d4fce7
refactor: modal confirm button style ( #35530 )
...
* fix: modal rtl style
* fix: cannot use logic css
* chore: change css writing order
2022-05-13 14:40:56 +08:00
MadCcc
5d67d78611
refactor: modal full token ( #35477 )
...
* refactor: modal full token
* chore: code clean
* feat: fontSizeIconLG
* Revert "feat: fontSizeIconLG"
This reverts commit 4074f4887a
.
* chore
2022-05-13 14:33:50 +08:00
afc163
84a969e5e0
chore: sync master into next branch
2022-05-11 15:36:22 +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
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
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
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
iamkun
7dd0bd396d
fix: update merge
2022-05-06 14:02:45 +08:00
zombiej
eb70223bdb
docs: faq about modal. close #35177
2022-04-22 19:30:44 +08:00
afc163
cbd4f1b66d
docs: update getContainer of Modal and Drawer ( #35141 )
...
close https://github.com/ant-design/ant-design/issues/35124
2022-04-20 23:14:32 +08:00
zombiej
7f54a459f6
test: Update snapshot
2022-04-18 22:37:28 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
iamkun
2804cb843a
update test
2022-04-13 14:27:29 +08:00
二货机器人
688422b490
test: back of coverage ( #34964 )
...
* test: fix coverage
* chore: bump bisheng
* chore: clean up
* chore: update deps
* chore: test coverage
2022-04-11 15:32:00 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
...
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
2022-04-08 22:55:42 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
...
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
2022-04-06 11:07:15 +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
iamkun
f8dc201218
fix merge
2022-03-18 16:57:11 +08:00
qdzhaoxiaodao
6c1057724a
feat: add variable for aliyun theme of modal ( #34191 )
...
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 13:51:58 +08:00
iamkun
b22815d4d2
feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js
2022-02-14 15:01:00 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-12-28 13:29:43 +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
zombiej
dd1670a3b4
chore: merge master
2021-11-26 15:19:31 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
zombiej
24ec3ba662
chore: merge master
2021-11-26 10:15:39 +08:00
afc163
285fa6e407
fix: Modal centered not centered ( #33022 )
...
close #33021
2021-11-25 18:06:40 +08:00
ppbl
9166e9940b
refactor: Remove unnecessary div containers ( #31492 )
2021-11-19 22:43:44 +08:00
benben
30844793a2
fix: Modal.method bodyStyle not working ( #32934 )
...
* fix: Modal.method bodyStyle失效
* test: Modal.method bodyStyle失效
* Apply suggestions from code review
Co-authored-by: 晋文涛 <jinwentao@zhaojiafang.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-18 18:29:29 +08:00
huangkairan
b03fae3f70
chore: fix types declaration ( #32935 )
2021-11-18 14:39:22 +08:00
WeijieChen
b4d16125dd
docs: add Version ( #32678 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-29 08:50:01 +08:00