kiner-tang(文辉)
378b54281b
refactor(Modal): refactor closeIcon ( #43017 )
* refactor: refactor closeIcon
* docs: update docs
* refactor(Drawer): refactor drawer closeIcon (#42993 )
* feat: optimize closeIcon
* refactor: refactor closeIcon
* docs: update docs
* feat: optimize code
* feat: update test case
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* docs: update docs
* ✨ feat: migrate less to token for Slider (#42428 )
* ✨ feat: migrate less to token for Slider
* ✨ feat: update snap
* ✨ feat: update style
* ✨ feat: update style
* ✨ feat: test ci
* ✨ feat: test ci
* ✨ feat: test ci
* ✨ feat: test ci
* ✨ feat: update
* ✨ feat: update snap
* ✨ feat: update
* ✨ feat: update
* ✨ feat: 删除未使用token
* ✨ feat: update doc
* ✨ feat: update dome
* ✨ feat: update
* ✨ feat: test ci
* 📝 doc: update doc
* ✨ feat: update
* ✨ feat: update
* ✨ feat: update
* ✨ feat: update
* ✨ feat: add demo
* ✨ feat: add demo
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* Apply suggestions from code review
---------
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* docs: update docs
---------
Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: MadCcc <1075746765@qq.com>
1 year ago
MadCcc
34af3ec550
feat: component token rename ( #42184 )
* feat: component token naming rules
* dcos: update
* feat: modal token rename
* feat: rename result token
* feat: statsitic token rename
* feat: steps token remane
* chore: update snapshot
* chore: fix lint
* feat: semantic part component
* revert: button & notification
* revert: files
* chore: code clean
2 years ago
二货爱吃白萝卜
60dbef4963
feat: Disable motion ( #41856 )
* feat: Add motion off
* chore: update motion seed
* chore: all motion disabled
* test: add test case
* chore: fix lint
* chore: fix cov
* chore: fix motion of Switch & Segemented
* test: ignore empty
2 years ago
黑雨
cef58664e8
📝 doc: add design token table ( #41717 )
* ✨ feat: add token
* 📝 doc: update lint
* 📝 doc: update doc
2 years ago
muxin
2a7541b682
docs: update description of afterOpenChange api ( #41263 )
2 years ago
muxin
0ecb3caa61
chore: bump rc-dialog & rc-image version ( #41253 )
2 years ago
The 1975
88d5c67594
doc(modal): Update Modal.method() default icon ( #40966 )
* Update index.en-US.md
* Update index.zh-CN.md
2 years ago
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2 years ago
二货爱吃白萝卜
8f81298027
docs: Adjust Modal demos ( #40274 )
* docs: Adjust modal demo
* test: update snapshot
2 years ago
lijianan
8180bb983b
docs: use en link in EN_US ( #39808 )
2 years ago
黑雨
74262023ea
docs: update doc ( #39753 )
* feat: update doc
* feat: update doc
* feat: update doc
* feat: update doc
2 years ago
Peach
6236e356b5
docs: update all site anchors ( #39687 )
* docs: update all site anchors
* docs: handle hash change from Link component
2 years ago
xhh0223
451d2f6ee2
feat(Popconfirm): make title bold and add description prop ( #39250 )
* feat(popconfirm): make title bold and add description prop
* feat(popconfirm): make title bold and add description prop(update demos)
* feat(popconfirm): make title bold and add description prop(the update of demos translation)
* feat(popconfirm): make title bold and add description prop(the update of snapshot)
* feat(popconfirm): make title bold and add description prop(the update of popconfirm md)
* feat(popconfirm): make title bold and add description prop(the update of popconfirm md)2
* feat(popconfirm): make title bold and add description prop(run all test.ts.snaps and update popconfirm)
2 years ago
Jung Min O
a836a3a3fe
feat: Modal.xxx supports footer ( #39048 )
https://github.com/ant-design/ant-design/issues/16644
2 years ago
MadCcc
7b3adcb5ae
fix: wireframe style for popconfirm ( #39313 )
* fix: wireframe style for popconfirm
* chore: add demos
2 years ago
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2 years ago
Sonu Sharma
7728eec447
docs: spelling and grammar fix ( #38743 )
2 years ago
afc163
e027cbec1c
docs: format all markdown ( #38629 )
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
2 years ago
二货爱吃白萝卜
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>
2 years ago
二货爱吃白萝卜
aca046288e
docs: Add FAQ about open ( #37420 )
2 years ago
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>
2 years ago
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>
2 years ago
zombiej
eb70223bdb
docs: faq about modal. close #35177
3 years ago
afc163
cbd4f1b66d
docs: update getContainer of Modal and Drawer ( #35141 )
close https://github.com/ant-design/ant-design/issues/35124
3 years ago
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago
WeijieChen
b4d16125dd
docs: add Version ( #32678 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago
WeijieChen
70e1d6a1d0
feat: Modal.xxx support wrapClassName prop ( #32676 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago
Xuxin Zhang
bff590f561
docs: Fix the explanation typo in the comment ( #32410 )
[[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md )]
### 🤔 This is a ...
- [ ] New feature
- [ ] Bug fix
- [x] Site / documentation update
- [ ] Demo update
- [ ] Component style update
- [ ] TypeScript definition update
- [ ] Bundle size optimization
- [ ] Performance optimization
- [ ] Enhancement feature
- [ ] Internationalization
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Test Case
- [ ] Branch merge
- [ ] Other (about what?)
### 🔗 Related issue link
<!--
1. Describe the source of requirement, like related issue link.
-->
### 💡 Background and solution
<!--
1. Describe the problem and the scenario.
2. GIF or snapshot should be provided if includes UI/interactive modification.
3. How to fix the problem, and list final API implementation and usage sample if that is a new feature.
-->
### 📝 Changelog
Fix the typo in the comment to help foreign users better understand the usage of Modal.useModal()
| Language | Changelog |
| ---------- | --------- |
| 🇺🇸 English | docs update |
| 🇨🇳 Chinese | docs update |
### ☑️ Self Check before Merge
⚠️ Please check all items below before review. ⚠️
- [x] Doc is updated/provided or not needed
- [x] Demo is updated/provided or not needed
- [x] TypeScript definition is updated/provided or not needed
- [x] Changelog is provided or not needed
3 years ago
Tom Xu
e5d908a078
docs: format api ( #29537 )
4 years ago
叶枫
10c326ee94
feat: 添加全局静态配置 ( #29285 )
* feat: 添加全局静态配置
* chore: change globalConfig
* chore: change globalPrefixCls
* chore: review
* feat: 恢复 message 静态 prefix
* feat: modal
* feat: notification
* fix: prefix
* fix: prefix
* fix: 添加 test
* chore: review
* docs: doc
* chore: en
* chore: test
* fix: notification config set empty
* chore: link
* chore: change name
* chore: doc
* chore: doc
4 years ago
Mirza Hashir Baig
ca65a985a9
docs: Fixed typo in documentation ( #28421 )
4 years ago
Tom Xu
03909941b8
docs: fix tree api and improve other api ( #28264 )
4 years ago
liuchao233
f3ff21eca6
feat: Modal.method support afterClose ( #28053 )
* Modal.method support afterClose
* Update index.en-US.md
* Update index.zh-CN.md
* docs(dropdown): improve demo (#28032 )
* Modal.method support afterClose
* add afterClose test case
* resolve conflix
* Update index.en-US.md
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
Eugene Molokov
1852e7553e
feat: add a focusTriggerAfterClose prop to Modal for passing down to rc-dialog ( #27985 )
* Add a focusTriggerAfterClose prop to Modal for passing down to rc-dialog
- set default value to true, similarly to rc-dialog
- add comments to the Modal docs. CN is google-translated though.
* Add a version number to docs
From code review suggestions
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: Eugeny Molokov <eugeny.molokov@fastdev.se>
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago
jer-sen
2f6d0d9a68
docs: update Modal doc ( #28005 )
* Typo and clarification for Modal.method closing
* Typo
4 years ago
He Linming
0ca5326176
feat: Support closeIcon of Modal.method ( #27909 )
* feat: Support closeIcon of Modal.method
close #27900
* style: update modal conform close style
* test: update unit test for close button of confirm modal
* docs: update api doc
* refactor: reuse modal close button
* test: update unit test
* feat: add closable api for ConfirmDialog
* chore: use default props
* Update default.less
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago
afc163
7f8957eb9a
docs( 📖 ): improve useModal FAQ
4 years ago
Mongkii
ab4aeca60a
feat: modal.update() supports functional updating ( #27162 ) ( #27163 )
* feat: modal.update() supports functional updating (#27162 )
* docs: add version tip for modal.update() api
4 years ago
Tom Xu
4bf9105c4f
docs(modal): improve style type ( #27304 )
4 years ago
Tom Xu
888e28fe14
docs(Modal): add version ( #27300 )
4 years ago
Tom Xu
b969bb4df5
feat: Modal method add bodyStyle ( #27292 )
4 years ago
Tom Xu
d44f404eae
docs: sort api ( #27251 )
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
4 years ago
zombiej
0b592203b2
docs: Update Modal faq
close #27169
4 years ago
lich-yoo
1a4f5f7909
docs: update modal version column ( #27094 )
4 years ago
Tom Xu
5f2588ffd1
docs: improve api type docs ( #27038 )
4 years ago
zhangj
0c521962e7
feat: Update rc-dialog to 8.3.0, support Modal drag and drop. ( #26507 )
* feat: 更新到rc-dialog@8.3.0 添加Modal组件对拖拽的支持。
* fix: test case
* Update components/drawer/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* fix: 修复文档版本修改为4.7.0, 文档的order改为13最后一个,指针改为move
* fix: 修改API的顺序,按照字母顺序进行排列
* fix: 修复一些讨论的问题
* fix: test case
* fix: 修改Demo的Modal的Button的显示方式,进行竖着排列
* docs: 去掉多余的demo
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
4 years ago
ZHANGYU
09dd53915e
docs: update modal doc ( #26492 )
* docs: update modal doc
* docs: sort modal props
4 years ago
afc163
fb04927ada
📝 Add documentation for Form in Modal
4 years ago
偏右
cf42a16505
feat: Modal.config rootPrefixCls ( #25613 )
* feat: Modal.config rootPrefixCls
* fix tsd
4 years ago
偏右
3da88497ff
docs: info version about Modal.config ( #25610 )
4 years ago