vagusX
38cf5e8a75
docs: unify component export file as index.tsx ( #50013 )
...
* docs: unify component export file as index.tsx
* docs: compatible with old anchors
* chore: clean
* test: update snapshot
* fix: window env
---------
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
gin-lsl
5c42cfaa63
feat: Support affix props in Anchor ( #49295 )
...
* feat: Support affix props in Anchor
* Update components/anchor/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: gin-lsl <gin_lsl@outlook.com>
* docs: update doc
---------
Signed-off-by: gin-lsl <gin_lsl@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-12 15:00:56 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage ( #48004 )
...
* docs: init ref
* docs all support
* docs: fix link show
2024-03-22 14:22:42 +08:00
MadCcc
4ecc0d7f95
docs: optimize overview svg ( #47203 )
...
* docs: optimize overview svg
* docs: update
* docs: dark
2024-01-29 14:50:36 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc ( #44061 )
...
* docs: update rootClassName description
* docs: update rootClassName description
* docs: update docs
2023-08-08 18:27:48 +08:00
二货爱吃白萝卜
4eb6074bb7
fix: Anchor not trigger getCurrentAnchor
when scroll ( #43916 )
...
* docs: update doc
* fix: getCurrentLink not trigger when scroll
2023-07-31 18:26:33 +08:00
Danial Soheili
4af6a526e2
feat(Anchor): allow replacing in anchor ( #43006 )
...
* 📦 ADD: replace prop to Anchor
* 📖 DOC: add demo
* 🧪 TEST: snapshots
* Update components/anchor/index.en-US.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* Update components/anchor/index.en-US.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* Update components/anchor/index.zh-CN.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* Update components/anchor/index.zh-CN.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* 🧪 TEST: Anchor replace
* 🧪 TEST: Anchor with href
* 🗑 REMOVE: unnecessary href default value
* Update components/anchor/demo/replace.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* Update components/anchor/demo/replace.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
---------
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-06-18 18:55:36 +08:00
muxin
f11c3c3a08
feat: migrate less to token for Anchor ( #42141 )
...
* feat: rename anchor token
* docs: add component-token demo
* fix: update token
2023-05-19 18:26:31 +08:00
二货爱吃白萝卜
2a9f5ea1ab
docs: more token info ( #41475 )
2023-03-27 15:33:22 +08:00
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
...
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2023-02-09 22:17:31 +08:00
Yuki Zhang
4eff22497d
feat: Anchor horizontal ( #39372 )
...
* feat: AnchorInk
* feat: update
* feat: update ink
* test: add test
* feat: handle with nested link
* feat: improve
* fix: lint
* feat: get direction from context in AnchorLink
* docs: update demo
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update test cases
* test: update snapshot
* test: update snapshots
* test: update snapshots
* test: update test cases
* test: update test cases
* docs: update
* test: improve
* docs: update demo
* doc: update demos
* doc: update demos again
* feat: use scroll-into-view-if-needed
* fix: hide scrollbar
* docs: update demos
* fix: active transition for horizontal anchor
* chore: fix terser (#39617 )
* chore: fix terser
* chore: clean up
* test: update snapshot
* feat: improve code style
* feat: anchor ink improvement
* feat: improve code style
* fix: lint issue
* test: update snapshots
* docs: simplified the demo
* feat: Merge the AnchorInk component back into the Anchor component
* feat: Adjust DOM order
* test: update snapshots
* docs: Improve the document
* feat: simplify css classnames
* test: update snapshots
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2022-12-27 17:14:35 +08:00
Peach
6236e356b5
docs: update all site anchors ( #39687 )
...
* docs: update all site anchors
* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
yoyo837
0424ca14cd
Merge branch 'master' into mergeMaster
2022-12-14 17:30:07 +08:00
lijianan
1a09cfeb2f
docs: update API ( #39539 )
2022-12-13 22:18:43 +08:00
MadCcc
6e2a7e47b6
Merge branch 'master' into feature-merge-master
2022-12-13 11:36:27 +08:00
二货爱吃白萝卜
de31c90b08
docs: Adjust Anchor demo ( #39488 )
2022-12-12 19:44:32 +08:00
afc163
a87e68c797
chore: resolve conflict
2022-12-07 12:15:17 +08:00
lijianan
a59058f0b2
type: optimization ( #39305 )
2022-12-06 18:18:38 +08:00
github-actions[bot]
834f00022e
chore: auto merge branches ( #39192 )
...
chore: feature merge master
2022-12-02 08:22:43 +00:00
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
...
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2022-11-30 20:14:41 +08:00
Yuki Zhang
51da7e3dc1
feat: Anchor component changed to data-driven ( #39034 )
...
* feat: Anchor component changed to data-driven
* test: add test cases for data driven items
* fix: type
* chore: mark deprecated for anchor children prop
* docs: add items description
* test: update snapshot
* docs: demos changed to data-driven
* docs: Keep the old jsx syntax demo for debugging
2022-11-30 15:55:43 +08:00
afc163
ac143ffb4d
docs: fix component demo column number ( #38631 )
...
* docs: fix component demo column number
* test: skip test case
2022-11-17 18:28:13 +08:00
afc163
e027cbec1c
docs: format all markdown ( #38629 )
...
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
2022-11-17 17:31:26 +08:00
MadCcc
de555912c9
feat: anchor ink ball style ( #38616 )
...
* feat: anchor ink ball style
* chore: code clean
* chore: code clean
* chore: code clean
* chore: update snapshot
* chore: change cover
2022-11-17 16:49:09 +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
lijianan
05aa4c2a95
docs: add Notes ( #38296 )
...
* docs: add Notes
* fix: update snap
* fix: update snap
2022-10-31 14:49:43 +08:00
afc163
0edd112d5b
feat: Anchor supports getCurrentAnchor(activeLink)
( #34799 )
...
close #34784
2022-03-31 11:17:17 +08:00
Tom Xu
e5d908a078
docs: format api ( #29537 )
2021-03-01 19:20:48 +08:00
einq7
fa376f9c82
docs: prettier markdown ( #28510 )
2020-12-24 12:02:57 +08:00
Tom Xu
d44f404eae
docs: sort api ( #27251 )
...
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
2020-10-21 10:33:43 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs ( #27038 )
2020-10-09 10:08:52 +08:00
afc163
ca18e8cd87
docs: clearify Anchor showInkInFixed API
...
close #26702
2020-09-14 19:04:36 +08:00
Tom Xu
bef89ce686
docs: remove Anchor not use api ( #26672 )
2020-09-10 13:49:16 +08:00
xrkffgg
2d7d56985e
docs: format api ancho/backtop/config ( #25393 )
2020-07-02 17:26:33 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
...
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
2020-06-17 23:18:14 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
...
* docs: Update components cover
#24629
* docs: Update components cover
2020-06-05 13:50:09 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
...
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
陈立林
f32235d074
delete version ( #19854 )
...
delete version
2019-11-21 19:58:41 +08:00
骗你是小猫咪
b93d10d40b
feat(Anchor): add onChange prop ( #18715 )
...
* feat(Anchor): add onChange prop
* test(Anchor): add onChange prop
* update snapshots
2019-09-06 19:54:13 +08:00
偏右
c8f682448e
Merge pull request #18329 from ant-design/master
...
chore: Merge master into feature
2019-08-19 16:32:51 +08:00
DiamondYuan
a5f1fc80fd
fix: Anchor.Link add add new property target ( #18335 )
...
* fix: Anchor.Link add add new property target
* docs: update doc of anchor
2019-08-19 11:10:06 +08:00
afc163
7826e42d92
📝 fix getCurrentAnchor version
2019-08-17 22:46:31 +08:00
shaodahong
40c53c8ca4
feat(Anchor): change version
2019-08-16 17:59:20 +08:00
shao
b02e433226
docs(Anchor): add targetOffset doc
2019-08-16 17:54:12 +08:00
shao
7c7a19ef1c
docs(Anchor): add getCurrentAnchor prop feature version
2019-07-23 17:56:12 +08:00
shao
2a7cb944e0
feat(Anchor): add getCurrentAnchor prop
2019-07-23 14:59:28 +08:00
MuYu
fb0b4f0fc9
docs: show version Number features were added ( #17373 )
...
* docs: add api first appearance
* docs: fix auto-complete doc
* docs: replace Version Added with Version
* docs: date picker common method
* docs: date picker common method
* docs: tree
* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +08:00
mushan0x0
dd37457048
feat: Anchor onClick ( #11898 )
...
* update: 添加AntAnchor类型
* update: 完成代码逻辑
* update: 添加测试
* update: 点击锚点不记录历史
* update: 添加示例
* docs: 更新文档
* update: 更改onClick事件里的link为对象
* update: 优化代码
* update: 修改propClick为onClick
2018-08-28 20:20:46 +08:00
Wei Zhu
aa580beb8b
docs: sort api table
2018-06-24 17:09:18 +08:00