MadCcc
663d1454f2
chore: fix ci ( #39811 )
...
* chore: fix ci
* chore: code clean
* chore: update form test
* chore: test
2022-12-26 15:48:50 +08:00
yoyo837
0424ca14cd
Merge branch 'master' into mergeMaster
2022-12-14 17:30:07 +08:00
二货爱吃白萝卜
fe8d59754e
fix: Modal hooks not pass CP ( #39513 )
...
* fix: CP pass not override
* test: Update test case
* docs: missing demo
2022-12-13 13:57:17 +08:00
Jung Min O
a836a3a3fe
feat: Modal.xxx supports footer ( #39048 )
...
https://github.com/ant-design/ant-design/issues/16644
2022-12-07 21:33:44 +08:00
MadCcc
7b3adcb5ae
fix: wireframe style for popconfirm ( #39313 )
...
* fix: wireframe style for popconfirm
* chore: add demos
2022-12-06 23:14:30 +08:00
lijianan
4efa3b2896
test: console.error
should nullable in Console ( #39050 )
2022-11-28 14:19:25 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
MadCcc
f36a01a647
chore: update snapshot
2022-11-17 14:07:37 +08:00
MadCcc
ab4bcc4463
Merge branch 'master' into next-merge-master
2022-11-17 14:04:31 +08:00
kiner-tang(文辉)
1ca984a19c
feat(modal): support pass mousePosition to control modal's animation origin position ( #38584 )
...
* feat: support pass mousePosition to control modal's animation target position
* feat: update test case
* Update components/modal/demo/custom-mouse-position.md
Co-authored-by: afc163 <afc163@gmail.com>
* docs: update docs
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-15 22:20:02 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
...
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
二货机器人
d5cfd195dd
chore: merge master
2022-11-07 23:32:46 +08:00
github-actions[bot]
6c6913c367
chore: auto merge branches ( #38278 )
...
chore: merge feature into master
2022-10-31 03:22:15 +00:00
hms181231
46c846a34c
test: Update modal test case ( #38288 )
2022-10-31 10:15:52 +08:00
MadCcc
2453e21744
fix: modal footer should be hidden if null ( #38138 )
2022-10-21 10:16:03 +08:00
MadCcc
630c24aa79
test: raise test covarage ( #38027 )
...
* test: raise test covarage
* chore: code clean
* chore: lock jest-dom to v28
* chore: lock jest-dom
* test: update setup
2022-10-14 20:01:50 +08:00
MadCcc
2471bf88aa
test: fix test
2022-10-11 21:33:29 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
二货机器人
5f28b2e5a4
chore: merge maaster
2022-10-11 14:54:30 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
...
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2022-10-08 16:17:20 +08:00
二货爱吃白萝卜
f39a861c07
refactor: Use new rc-dialog ( #37790 )
...
* refactor: Use new rc-dialog
* chore: bump rc-image also
* fix: timeout order
* test: Update snapshot
2022-09-29 16:23:38 +08:00
二货爱吃白萝卜
a407715dc2
chor: Modal panel support height ( #37696 )
...
* chore: Modal purePanel support height
* test: Update snapshot
2022-09-22 15:14:53 +08:00
二货爱吃白萝卜
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
黑雨
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
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
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
二货机器人
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
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
二货机器人
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
二货机器人
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
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
二货机器人
821d540805
refactor: Modal support PureRender ( #36012 )
...
* chore: init
* chore: Modal pure render
* chore: update snapshot
2022-06-11 21:39:58 +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