二货爱吃白萝卜
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
renovate[bot]
1a0823a908
chore(deps): update dependency eslint-plugin-react to v7.31.8 ( #37887 )
* chore(deps): update dependency eslint-plugin-react to v7.31.8
* Update custom.md
* Apply suggestions from code review
* test: update snapshot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
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
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
afc163
80e7cc0afd
fix: <Icon component={HomeOutlined} /> align issue ( #33709 )
* fix: <Icon component={HomeOutlined} /> align issue
close #33703
* update snapshot
3 years ago
Tushar Kashyap
5b2489a2e6
docs: changed specific to specify in basic.md ( #30461 )
Specify is the correct word to use instead of specific in the current scenario.
4 years ago
xrkffgg
e26eb5f892
docs: optimize site of rtl ( #23995 )
5 years ago
Baic
7790046ce2
docs: update createFromIconfontCN scriptUrl new array usage ( #23704 )
* scriptUrl新增数组类型支持,增加文档说明,修改@ant-design/icons最低版本号
* 增加scriptUrl支持数组的代码演示,增加类型说明
* Icon 修改代码演示标题,补充文档
* 根据建议修改文档格式
* 增加scriptUrl为数组时候的覆盖关系说明
* 修改覆盖说明文案
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
Kelvin Chu
4a54c5698c
Fixed grammatical errors in Button and Icon documentation.
5 years ago
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
5 years ago
afc163
b780070351
💄 prittier all files
6 years ago
偏右
47e23d4137
Add expandIcon for Collapse ( #14060 )
close #14058 #12212
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
488f5a101d
Fix <Icon type="cross" /> compatibility, #12970
6 years ago
HeskeyBaozi
c0f709c35c
icon-docs: remove `namespace` fields
6 years ago
afc163
1fc9ad6129
improve two-tone.md and icon doc
6 years ago
HeskeyBaozi
24568f61ff
use the whole svg icons
6 years ago
afc163
3661689ad3
Add old-icons.md for test
6 years ago
HeskeyBaozi
4d681c7fd3
optimize icon docs
6 years ago
HeskeyBaozi
ab2c866f0c
simpify Icon api
6 years ago
HeskeyBaozi
bd59671585
default primary color #1890ff
6 years ago
HeskeyBaozi
7ffb205efe
two-tone -> twoTone
6 years ago
HeskeyBaozi
39ffee1fa5
new getter & setter
6 years ago
HeskeyBaozi
73218926c3
filled, outlined and two-tone
6 years ago
HeskeyBaozi
67331efb67
theme props & two-tone icon
6 years ago
HeskeyBaozi
abfd50a7bf
use component
6 years ago
HeskeyBaozi
af11401d33
upgrade svg
6 years ago
HeskeyBaozi
c523ae37b8
remove namespace & prefix
6 years ago
HeskeyBaozi
ed19561fdd
Icon: url => scriptUrl
6 years ago
HeskeyBaozi
88fa58aafa
icon English docs
6 years ago
HeskeyBaozi
1603cec802
upgrade icon docs
6 years ago
HeskeyBaozi
b5db75f8ea
upgrade svg tabs prev & next icon
6 years ago
HeskeyBaozi
7a31fd37ad
Icon.create => Icon.createFromIconfontCN
6 years ago
HeskeyBaozi
6557917554
update custom demo
6 years ago
HeskeyBaozi
f275f3090a
update Icon api
6 years ago
HeskeyBaozi
7925355ca7
upgrade Icon api
6 years ago
HeskeyBaozi
cd778e7a57
upgrade Icon api
6 years ago
HeskeyBaozi
3f9d5e949f
update icon demo code
6 years ago
HeskeyBaozi
f90d32a0ef
fix lint
6 years ago
HeskeyBaozi
bcfbf1f46a
update docs & support svg-sprite-loader
6 years ago
HeskeyBaozi
535f68dbd0
add icon features
6 years ago
HeskeyBaozi
2485d0de62
hotfix: svg sprite demo
6 years ago
HeskeyBaozi
e07dfea33f
chinese api doc
6 years ago
HeskeyBaozi
fa31c34f78
optimize CustomIcon, modify option field `scriptLink` => `scriptUrl`.
6 years ago
HeskeyBaozi
e07321024a
fix demo for ssr
6 years ago
HeskeyBaozi
50f5ee9059
tslint fix
6 years ago
HeskeyBaozi
3589159489
use <i/> to wrap <svg/>, <i/> only inherit className.
6 years ago
HeskeyBaozi
0db233ddb6
update icon chinese doc
6 years ago