lijianan
c35787696b
demo: update demo ( #40079 )
* demo: update demo
* rerun ci
2 years ago
lijianan
e597fe8ec6
fix: Button block prop not work ( #39992 )
* fix: Button block prop not work
* fix
* remove auto
* update demo
* fix
* fix
* fix width
* fix
* update demo
2 years ago
洋
f3231bc375
fix: disabled style miss when has href on Button ( #39456 )
* fix: disabled style miss when has href on Button
* fix: Space lead to change hover color
* style: format
* fix: use &&& solve type style effect
* fix: replace &&& with .ant-btn&:hover
* chore: add demo
* 更新文档Snapshot
* 更新ci快照
2 years ago
MadCcc
ffbb19e090
chore: lint ( #39102 )
* chore: enable tsc for demos
* chore: site lint
* chore: fix lint
2 years ago
Wuxh
34a277cdaa
docs: improve component demo style ( #38598 )
* docs: delete redundant codes
repetitive examples that can make it difficult for developers to read
* chore: update snapshot
* docs(badge): wrapping documents with `Space`
* chore: update snapshot
* chore(space): optimize documents
easy to read
* chore: update badge demo
* chore: update demo
* Revert "chore(space): optimize documents"
This reverts commit 88a4378f16cede5b628f885a48a341d507fd53e3.
* chore: update snapshots
* chore(button): add debug demo
* test(button): update snapshots
* docs(button): example document beautify
* test(button): update snapshots
commit by af04705c8f
* test(alert): update snapshots
* chore: Reverse format
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
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2 years ago
MadCcc
932398333e
test: add override component token test ( #36257 )
* test: add override component token test
* test: update snapshot
2 years ago
afc163
15b8b85ce8
style: fix Button loading icon margin issue ( #36168 )
* style: fix Button loading icon margin issue
* test: update snapshot
* test: fix tsx demo error
2 years ago
章鱼
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
3 years ago
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
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
二货机器人
3e5d9be968
fix: Button Group style ( #35178 )
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
zombiej
4c127f3822
chore: bump cssinjs
3 years ago
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
3 years ago
二货机器人
d437f9fad9
refactor: More token used on component ( #34766 )
* chore: add fontSizeIcon
* chore: cascader
* chore: slider token
* chore: slider token
* chore: move to outline
* chore: input style
* chore: input align
* chore: slider full
* chore: align inputNumber
* chore: input token
* chore: input-number token
* chore: mention token
* fix: ts def
3 years ago
二货机器人
ebf52122a2
refactor: Button use full token & remove all `withPrefixCls` & support overrides ( #34690 )
* chore: init
* chore: button token
* chore: rm all withPrefixCls
* feat: overrides work
* feat: theme can be nest
* test: Update snapshot
* fix: memo logic
3 years ago
二货机器人
a67d39cd6c
feat: Menu support `items` ( #34559 )
* docs: Update Menu cn doc
* chore: update ts def
* chore: support convert
* docs: more demo
* docs: more demo
* docs: all menu demos
* docs: dropdown demo
* docs: dropdown all demos
* docs: update demo
* test: coverage
* docs: more demo
* docs: layout demo
* docs: all demo
* chore: fix ts lint
* docs: fix doc
* docs: all docs
3 years ago
afc163
6b56af466f
fix: Button with icon and href align issue ( #32373 )
3 years ago
二货机器人
9324e953e3
chore: Not preventEvent btn loading ( #32158 )
* chore: Not preventEvent btn loading
* test: Update snapshot
3 years ago
afc163
ccf14fce68
fix: ghost button style ( #31780 )
* fix: Button ghost style broken when it is danger
* update snapshot
3 years ago
afc163
0599c29f97
fix: Button icon align issue ( #31755 )
* fix: Button with only icon align issue in Chrome
close #31701
* update snapshot
3 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago
einq7
3357fccf0e
docs: format inline code ( #27634 )
4 years ago
afc163
b383c14114
docs: improve button dropdown demo
4 years ago
丁文涛
f7cfc19465
docs: optimize button docs ( #25712 )
Co-authored-by: wynterding <dingwententao@youzan.com>
4 years ago
07akioni
35f1b1b7fc
fix: remove style of ghost link & ghost text button ( #24953 )
* fix: remove style of ghost link & ghost text button
* feat: devWarning on link or text + ghost button
* test: update snapshot
* fix: fix devWarning valid arg
* test: test warning
* docs: update ghost button demo
* test: change resetWarned position
* chore
4 years ago
xrkffgg
cb544f7feb
docs: reduce button demo ( #24908 )
5 years ago
二货机器人
d5fea40ab5
fix: btn loading ( #24678 )
5 years ago
Teng YANG
9f8eb99807
fix : #24614 text button style inconsistent in `danger` ( #24622 )
* fix: update button style when type="text" of danger
* update wording in danger button demo
* format code
5 years ago
Teng YANG
03fad9177a
fix: update wording in ghost button demo ( #24624 )
5 years ago
xrkffgg
b34b956529
docs: fix btn demo typo ( #24463 )
5 years ago
偏右
c5bcf57537
feat: 💄 Add text type Button ( #22552 )
* 🆕 Add text type Button
`<Button type="text" />`
close #15892
* Add test cases
* missing type
* missing type
* fix missing type
* Update components/button/index.zh-CN.md
Co-Authored-By: zefeng <zefengbao@outlook.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: zefeng <zefengbao@outlook.com>
5 years ago
偏右
89bccf5752
🐛 Fix Button loading style of icon-only ( #23614 )
close #23610
5 years ago
二货机器人
22ffa61da0
fix: Legacy button group style ( #23590 )
5 years ago
二货机器人
410de6112f
fix: Button loading switch animation ( #23102 )
* init
* motion it
* update snapshot
* adjust speed
* update snapshot
* Update index.less
* fix opacity mask
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
二货机器人
06afc9cd9c
fix: Button.Group size style issue ( #21307 )
* remove useless fixing line-height
* update snapshot
5 years ago
zombiej
ff6c91537d
docs: Fix typo
5 years ago
afc163
e1262b0d1d
📝 optimize button docs and demos
5 years ago
ycjcl868
6477b46fa8
fix: data-theme
5 years ago
ycjcl868
194bf3603f
fix: site code action icon
5 years ago
vagusX
e0aeb4f4a9
fix: poweroff icon in button ( #20338 )
5 years ago
ycjcl868
864ccc436e
fix: button danger link
5 years ago
ycjcl868
beaf521835
fix: remove button group demo
5 years ago
二货机器人
64b905e9bd
chore: Update `@ant-design/icons` deps ( #19979 )
* update icons deps
* update all icon ref
* fix lint
* update snapshot
5 years ago
ycjcl868
1d0f97d0a9
fix: lint
5 years ago
ycjcl868
37a85366f3
feat: add Button danger
5 years ago
ycjcl868
3a6c76ecc3
feat: Button add danger-default type
5 years ago
ycjcl868
0e1998f643
feat: Button danger-link
5 years ago