huangkairan
8cb46243fd
docs: remove v3 to v4 migration docs ( #39290 )
...
* docs: remove v3 to v4 migration docs
* update
Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com>
2022-12-06 20:11:22 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
二货爱吃白萝卜
38d75cf346
fix: menu grp item style missing ( #38525 )
2022-11-12 16:27:31 +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
MadCcc
ba5a7b8d1b
feat: v5 menu style ( #38009 )
...
* feat: v5 menu style
* chore: code clean
* feat: more component token
* docs: add v4 demo
* test: fix lint
* docs: update docs
2022-10-18 17:04:06 +08:00
zombiej
cd0ace3d40
chore: merge master
2022-05-21 22:14:15 +08:00
章鱼
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
2022-05-19 09:46:26 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
afc163
255bfddc3f
docs: improve menu usage for items ( #35131 )
...
* docs: improve menu usage for items
* test: update snapshot
* docs: update menu title
2022-04-20 22:31:21 +08:00
zombiej
566632efa3
docs: Update Menu demo sample
2022-04-20 19:03:39 +08:00
二货机器人
4de07ad102
docs: Add deprecated usage ( #35128 )
2022-04-20 17:56:11 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
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
2022-04-03 23:27:45 +08:00
二货机器人
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
2022-03-18 15:20:35 +08:00
David
2843bd32dd
feat: Add ability to overwrite Menu theme at Menu.SubMenu level. ( #33971 )
...
* Add theme support to Menu.SubMenu
* Tidy up docs
* Tidy up docs
* Update components/menu/index.en-US.md
* Update components/menu/index.en-US.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Add Chinese lang docs
* Extend menu theme demo to additionally demonstrate Sub-menu theming
* Add submenu theme demo
* Revert "Extend menu theme demo to additionally demonstrate Sub-menu theming"
This reverts commit 642a2b5b72
.
* Add tests
* Correct typo
* Make demo vertical so absolutely positioned popover doesn't overflow
* Make demo functional component
* Update components/menu/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/menu/index.zh-CN.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Update components/menu/demo/submenu-theme.md
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-02-14 15:21:33 +08:00
二货机器人
f1e0c9c1d2
chore: Internal Menu interface for ProLayout usage ( #33399 )
...
* test: Update snapshot
* chore: disable tooltip
* chore: rename
2021-12-24 10:57:35 +08:00
Map1en_
c59580f215
feat: add the dashed props of menu divider ( #31379 )
...
close #31292
2021-07-19 15:42:07 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
偏右
05a82f2d48
fix: Menu custom icon style ( #27983 )
...
* fix: Menu custom icon style
close #27973
* fix snapshot
2020-11-25 14:31:51 +08:00
Tom Xu
e9591e858f
docs(menu): sider demo change to hook ( #27643 )
2020-11-09 10:20:26 +08:00
Tom Xu
a2acc56235
docs(menu): switch mode demo change to hook ( #27638 )
...
* Update switch-mode.md
* Update switch-mode.md
2020-11-09 08:57:24 +08:00
偏右
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
2020-10-15 10:42:15 +08:00
xrk
852b28c235
docs: update menu api ( #27096 )
...
* docs: update menu api
* perf
2020-10-12 12:00:00 +08:00
偏右
39b40b573d
fix: Menu not support React.Fragment ( #26656 )
...
* fix: Menu support React.Fragment
* chore: tweak menu demo
* fix: React key warning
2020-09-09 16:52:04 +08:00
07akioni
f498ae0344
fix: menu horizontal dark style & site ( #25850 )
...
* fix: menu horizontal dark style & site
* fix: lint
* fix: update snapshot
* chore: revert
* chore
* fix: padding transition glitch
2020-07-28 17:09:09 +08:00
偏右
87d32a7a3d
fix: Menu SubMenu background in dark theme ( #25205 )
...
close #25202
2020-06-24 18:58:27 +08:00
偏右
cfff7967b3
fix: Dropdown menu item link color when has icon ( #24702 )
...
* 🐛 fix Dropdown menu item link color when has icon
close #24700
* fix snapshot
2020-06-03 13:33:37 +08:00
二货机器人
6668d48c54
Merge pull request #23845 from ant-design/master
...
chore: Feature merge master
2020-05-04 11:49:37 +08:00
二货机器人
e4a1a45b09
fix: Menu a color ( #23832 )
...
* fix: Menu a color
* update snapshot
* fix menu item
2020-05-03 11:28:15 +08:00
二货机器人
98232382f1
feat: MenuItem support danger
( #23785 )
...
* feat: Basic danger color
* dark of it
* danger dark style
* invers of dropdown
* update less
* update snapshot
2020-04-30 21:14:10 +08:00
偏右
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>
2020-04-26 23:16:15 +08:00
偏右
0716d1498f
fix: Dropdown submenu background ( #23296 )
...
* 🐛 Fix Dropdown submenu background
close #23293
* remove unused code
2020-04-15 23:00:51 +08:00
二货机器人
698d358af9
docs: Update Demo icon ( #22100 )
2020-03-11 12:31:53 +08:00
偏右
17e7a3d57f
📝 fix codeopen demo ( #21801 )
2020-03-03 12:09:02 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 ( #20642 )
...
* fix: rtl direction bug
* 📝 dark theme usage docs
* fix: sketch download
* fix: theme dark
* 📝 empty image
* fix: dark form with mixture components like picker, input
* 📝 update sketch release download
* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons
deps ( #19979 )
...
* update icons deps
* update all icon ref
* fix lint
* update snapshot
2019-11-28 12:34:33 +08:00
zombiej
28a6358439
merge master
2019-10-11 11:51:55 +08:00
vaytsel
d8526f43f6
Update theme.md
2019-10-10 10:58:45 +08:00
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
2019-08-13 14:07:17 +08:00
陈帅
82b85709be
style: run lint-fix ( #17172 )
2019-06-19 19:09:08 +08:00
afc163
13379aa0d8
💄 Optimize examples code style
2019-05-27 22:04:17 +08:00
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
picodoth
6237511c04
feat: use menu with 7.4.0-beta, supporting menu overflow collapsing. Currently React >= 16.0 only
2018-09-02 19:21:03 +08:00
Wei Zhu
e6c4c6667d
Revert rc-menu upgrade
...
Revert "use default hover trigger for horizontal menu demo"
This reverts commit 159b09342d
.
Revert "upgrade menu@7.2.0"
This reverts commit d4c9a1deea
.
Revert "feat: prevent horizontal menu items wrapping"
This reverts commit 5c7f9feecb
.
2018-07-17 21:59:16 +08:00
picodoth
159b09342d
use default hover trigger for horizontal menu demo
2018-07-15 08:41:06 +08:00
picodoth
5c7f9feecb
feat: prevent horizontal menu items wrapping
2018-07-14 13:05:36 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
afc163
649d733048
fix snapshot ci
2018-04-19 11:54:44 +08:00