MadCcc
fbab5df655
docs: update Layout demo ( #39255 )
* docs: update Layout demo
* chore: code clean
* chore: update snapshot
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
周晨阳
6a5f53d6e6
docs(Layout): update demo style to `sticky` ( #38542 )
* Update fixed.md
* Update demo.test.ts.snap
* update snapshot
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
Wuxh
c86d02e03f
docs: simplified `Layout` component sample code ( #36497 )
the component example code expands to take up the entire monitor screen and is not well read
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
196a4351e3
docs: replace class component with hooks ( #35580 )
* 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
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
PCCCCCCC
a74fdbc911
Refactor:Component Layout Less to cssinjs ( #35102 )
* refactor: add basic cssinjs strcture
* refactor: add more refactor style
* style: modify more style
* style: keep the code style consistent
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
二货机器人
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
7a3f7ba58c
test: improve layout demo ( #33653 )
* test: improve layout demo
* test: improve layout demo
* update snapshot
3 years ago
afc163
a4d139687a
fix: image demo test in argo-ci ( #33523 )
close #33512
3 years ago
二货机器人
b837ecd950
fix: Menu overflow with `horizontal` should not affect by `float` element ( #30879 )
* fix: Menu horizontal layout style
* test: Update snapshot
* fix: lint
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago
陈帅
4f811cbe82
docs: add a little pro-compents advertising ( #28043 )
* docs: add a little pro-compents advertising
* docs: add a little pro-compents advertising
4 years ago
xrk
c84cd88f51
docs: optimize layout demo css ( #27369 )
4 years ago
偏右
0a3af0b2e2
fix: 💄 Layout.Sider collapsedWidth cannot work without @menu-collapsed-width ( #27154 )
* fix: collapsedWidth do not work on Sider
* fix test case
* fix test case
* fix extra trigger div
* fix lint
4 years ago
xrkffgg
cbdd2f5703
docs: perfect website ( #26198 )
4 years ago
xrk
acd3fe58d2
docs: fix layout demo style ( #25645 )
4 years ago
xrkffgg
96cbed4356
docs: fix layout demo style
4 years ago
afc163
258d335450
docs: 📝 fix layout demo
4 years ago
xrk
2a051bac64
docs: fix layout demo ( #25602 )
4 years ago
xrkffgg
ff0c00d624
docs: reduce layout demo ( #25003 )
5 years ago
MengZhaoFly
a534e4a56a
doc: fix layout demo ( #23683 )
5 years ago
偏右
8934bbfffa
feat: Menu.Item support icon ( #23629 )
* feat: Menu.Item support icon
* docs: update menu item usage
* docs: remove span wrap,when use icon
* fix: Collapsed depends on the span
* ✅ fix demo snapshot
* do not wrap children when it is span
* Menu.SubMenu support icon prop
* fix sub menu title
* fix eslint
* update dropdown demo
* fix extra icon attribute on li
Co-authored-by: MengZhaoFly <1424254461@qq.com>
5 years ago
zefeng
dda45e4796
feat: support compact theme ( #22126 )
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
5 years ago
Adam Stankiewicz
f69ff7eff5
Inherit menu line-height from header ( #16142 )
5 years ago
信鑫-King
f88f383be6
fix: dark site in Form and iframe change ( #20573 )
* fix: suggestion dark bg
* fix: demo use autoComplete="off"
* feat: support iframe theme change
* fix: iframe dark theme
* upd: test snapshot
* fix: lint
* fix: lint
* tweak: use theme-switcher to handle iframe and parent
* feat: support iframe theme change
* fix: dark shadow
* fix: layout style
* fix: dark site style
* fix: snapshot
5 years ago
ycjcl868
6c318d85c9
fix: layout demo
5 years ago
ycjcl868
589750dbd6
fix: dark.css theme in site
5 years ago
ycjcl868
c352a1786b
fix: steps custom icon style
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
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
13379aa0d8
💄 Optimize examples code style
6 years ago
afc163
b780070351
💄 prittier all files
6 years ago
zombieJ
89dd827b7f
fix: Refactor Menu related components life cycle methods ( #15868 )
* use state instead
* rollback demo markdown
* clean test
* sider context should be clean
* update test case
* fix test
* update debug desc
* add siderCollapsed into omit
* rm useless code
6 years ago
zy410419243
a2eee8843d
revert: remove dev code
6 years ago
zy410419243
198c01d454
fix: bad position of collapsible submenu in sider when collapsed
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
Ilan Hasanov
8ee70e84b6
💬 update layout copyrights year and fix typos
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
nuintun
ff24f1a978
Layout.Sider add onBreakpoint porp support ( #10750 )
* Layout.Sider add onBreakpoint porp support
* Add onBreakpoint zh-CN doc
* Add onBreakpoint en-US doc
* Add demo test for Layout.Sider onBreakpoint
* Add Layout.Sider onBreakpoint test cases
7 years ago
Wu Haotian
4f91fe61bf
add z-index for fixed header demo
#10693
7 years ago
afc163
bce66d6b3b
fix code style
7 years ago
afc163
2a34866e83
update layout demo
7 years ago
afc163
475e4ff23d
upgrade eslint-config-airbnb
7 years ago
偏右
2bced36f0c
New component styles ( #7731 )
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
7 years ago
afc163
56b6fc38d7
fix sider layout min height
7 years ago
afc163
f689ede0fa
The collapse trigger of Sider should be fixed and upon menus
close #7161
7 years ago