二货爱吃白萝卜
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
Ashish Kapoor
ce4d3a00d1
chore: Tree search demo type error ( #38390 )
* Update search.md
* Update search.md
2 years ago
二货机器人
069e44bcc3
chore: merge master
2 years ago
William Bergeron-Drouin
24d165ab9b
feat: [Tree] Custom leaf icon ( #37144 )
* Add ability to customize leafIcon
* Adapt docs
* Update test snapshots
* Update to single prop & adapt demo
* Update tests
* Rename icon type
* Fix docs
* Rename to .tsx and fix types
* Remove useless id properties in test
2 years ago
MadCcc
ab19033876
docs: replace lib with es ( #36367 )
2 years ago
MadCcc
6e04120265
docs: fix tree demo ( #35927 )
3 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
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
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
CommanderRoot
7c34addf57
refactor: replace deprecated String.prototype.substr() ( #34498 )
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
3 years ago
afc163
af805c098b
test: fix eslint errors ( #31961 )
* test: fix eslint errors
* test: fix eslint errors
3 years ago
Guru Mahendran
7e6bfa4a8c
chore: fix typo initTreeDate -> initTreeData ( #29911 )
4 years ago
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
4 years ago
偏右
a0eb9d31de
chore: merge master into feature ( #28751 )
* fix: Transfer dataSource cannot be immutable (#28675 )
close #28662
* docs: fix errors in example code (#28677 )
* ci: expand ie check (#28673 )
* ci: expand ie check
* Update issue-open-check.yml
* perf(📦 ): reduce @babel/runtime package size (#28678 )
* perf(📦 ): reduce @babel/runtime package size
04cd73dea1
* chore(🆙 ): upgrade @ant-design/react-slick to esm support version
* upgrade @ant-design/tools
* ci: add open condition (#28682 )
* fix(Slider): forcePopupAlign null when unmounted (#28699 )
* docs: Update overview.zh-CN.md (#28703 )
* docs: Update resources.en-US.md (#28701 )
* chore: bump rc-select to 12.1.0 (#28715 )
* fix: stylelint plugin (#28730 )
* Update package.json
* perf(📦 ): upgrade rc-image to 5.x (#28727 )
* refactor: upgrade rc-image to 5.x
reduce bundle size
* upgrade rc-image
* upgrade @ant-design/tools
https://github.com/ant-design/antd-tools/pull/226
* rc-image 5.0.0
* fix image preview icon missing
* refactor code
* docs: example of synchronous rc-tree (#28648 )
* ci: fix outputs type
过程中的使用 string。奇怪啊,之前测试过的,今天点的时候发现不行了
* Update package.json
* fix: site overflow cause sticky invalid (#28741 )
* fix: site overflow cause sticky invalid
* disable auto scroll
* chore: upgrade rc-dialog and rc-drawer (#28749 )
* chore: upgrade rc-dialog and rc-drawer (#28687 )
* chore: upgrade rc-dialog and rc-drawer
* upgrade rc-util
* update snapshots
* upgrade rc-util
* upgrade rc-util
* update snapshots
* upgrade rc-dialog
* perf: remove duplicated rc-dialog
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
Co-authored-by: bigbigbo <zxb141242@163.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Yann Pringault <yann.pringault@gmail.com>
Co-authored-by: godfather <greenday.wj@foxmail.com>
Co-authored-by: Mateusz Wierzbicki <22788841+mateusz-wierzbicki@users.noreply.github.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: AkiJoey <akijoey1010635951@gmail.com>
Co-authored-by: qqabcv520 <605655316@qq.com>
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
4 years ago
qqabcv520
3fbe13ae86
docs: example of synchronous rc-tree ( #28648 )
4 years ago
二货机器人
55e0d13234
chore: Add demo tsx check ( #28389 )
* chore: Add demo tsx check
* chore: Prettier
* chore: Fix lint
* fix: Upload ts definition
* chore: Demo onlt
* docs: Fix demo
* chore: Add CI action
* chore: Use real name
* chore: fix ts define
* chore: fix more ts
* chore: fix more ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: Update all rest TS demo
* fix test case
4 years ago
07akioni
35ee97dad4
refactor: tree drag behavior ( #26462 )
* refactor: Tree drag behavior
* fix: cov
* docs: Tree draggable, specify the difference compared with last version
4 years ago
zombiej
8d1ed2822b
docs: Remove useless code
4 years ago
二货机器人
a91c2f9cd8
fix: Tree showLine mutiple line title breaks ( #27386 )
* fix: Lines of tree style
* chore: Update style
* fix: style lint
* update snapshot
4 years ago
Tom Xu
0822ac618f
chore: add prettier ignore and format demo ( #27270 )
4 years ago
zhangchen
4da2260342
feat: show line in Tree first level ( #25991 )
* feat: tree line in first level
* update: Tree showLine demo
4 years ago
二货机器人
3b7d23485a
docs: Update Tree demo to use treeData ( #25916 )
* docs: Update Tree demo to use treeData
* clean up
4 years ago
zoomdong
12beeff3d6
docs: remove unseless TreeNode in Tree demo ( #25578 )
4 years ago
偏右
ab56668d40
feat: Tree support showLeafIcon in showLine ( #25271 )
closes #23261
Co-authored-by: zoomdong <1344492820@qq.com>
4 years ago
zoomdong
3044ed1f99
feat: adjust
4 years ago
xiaofine1122
0b8cc13a07
docs: update tree->draggable demo forEach ( #23055 )
5 years ago
二货机器人
8eb66473c6
docs: Update Tree dynamic update demo ( #21975 )
5 years ago
二货机器人
58133bcabd
update demo ( #21069 )
5 years ago
二货机器人
246adcd5dd
docs: Add Tree virtual scroll demo ( #20911 )
* docs: Add Tree virtual scroll demo
* update snapshot
* show debug demo
* rename
* fix lint
* skip virtual list demo snapshot since conflict in node test
5 years ago
二货机器人
deba77b3d6
fix: Tree missing aniation when virtual scrolled ( #20565 )
* fix: Tree missing aniation when virtual scrolled
* clean up
* skip debug test
5 years ago
plainnany
77dc5fa4e7
📝 Update draggable.md ( #20458 )
close #20455
5 years ago
ycjcl868
c10a6f029c
fix: demo style
5 years ago
afc163
b02d80d60f
🎬 improve Tree showLine demo
5 years ago
afc163
0a5ec6713c
🐛 Fix Tree showLine and showIcon missing icon
close #20192
5 years ago
偏右
4146efa810
🐛 fix duplicated icons when Tree showLine is true ( #20102 )
close #20090
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
zombiej
808d4075dc
chore: fix snapshot
5 years ago
MrHeer
fd31d91a9b
👌 add use case
5 years ago
MrHeer
75d5dff1f9
👌 add use case
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
zombieJ
8114516496
feat: Tree support virtual scroll ( #18172 )
* update tree deps
* add part of style
* flex grid
* update disabled
* update demo
* second demo
* add draggable style
* update demo
* update rc-tree version
* temp md
* update tree deps
* update icon demo
* update style
* update less
* update deps
* clean up
* update test case
* fix show line
* update snapshot
* fix lint
* update style
* update deps
5 years ago
orzyyyy
872ada07e7
fix: lint:demo
5 years ago
陈帅
82b85709be
style: run lint-fix ( #17172 )
6 years ago
afc163
13379aa0d8
💄 Optimize examples code style
6 years ago
afc163
b780070351
💄 prittier all files
6 years ago
Aaron Cawte
4cd0c74d0d
Documentation - Tree Component
6 years ago
zombieJ
645557f3d9
Proxy of event info ( #15967 )
6 years ago
zefeng
d0a1196e63
remove useless param in tree doc ( #15591 )
6 years ago
Cheng
c882a4b918
Style tree content to full width ( #14858 )
* ✨ (tree) new blockNode props
* 💄 (tree) style for blockNode
* 📝 (tree) update draggable demo
* 🐛 (tree) fix custom switcherIcon class
* ✅ (tree) update snapshots
* 📝 (tree) update docs
* 👌 opt trans
6 years ago
nick-ChenZe
d814c19356
feat: add switcherIcon prop to Tree
6 years ago