Simon He
901957cf02
perf(anchor): reduce unnecessary calculations ( #42018 )
2023-04-27 15:27:55 +08:00
JiaQi
a573dde6ed
fix(Anchor): onChange method is not updated ( #41934 )
2023-04-23 19:59:29 +08:00
二货爱吃白萝卜
2a9f5ea1ab
docs: more token info ( #41475 )
2023-03-27 15:33:22 +08:00
ZivHe
b915094498
style: fix Anchor horizontal direction style ( #41336 )
2023-03-19 23:28:34 +08:00
Amumu
ec33f75bc0
chore: code style improve ( #41335 )
2023-03-19 23:20:16 +08:00
acyza
16f0b576a7
fix(anchor): ink correct switch direction ( #41317 )
...
* fix(anchor): ink correct switch direction
* chore(anchor): fix test error
* chore(anchor): fix test error
* chore: test
* chore: test
* chore: test
* chore: update
2023-03-19 16:17:08 +08:00
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test ( #41242 )
...
* test: update snapshot
* test: use render
* test: fix skip
* test: fix skip
2023-03-15 00:08:31 +08:00
lijianan
669e58c380
refactor: use React.useContext replace ConfigConsumer ( #41184 )
...
* chore: use React.useContext replace ConfigConsumer
* fix
2023-03-14 10:54:46 +08:00
zqran
98939365dd
fix(Anchor): fix highlighting failure when dynamically updating items ( #40743 )
...
* fix(Anchor): fix highlighting failure when dynamically updating items
* fix: improve test coverage
* refactor(Anchor): use `useEvent` instead
2023-03-10 15:54:05 +08:00
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 ( #41109 )
...
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1
Bumps [glob](https://github.com/isaacs/node-glob ) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: update api
* fix
* fix
* fix path
* fix path
* update snap
* update snap
* update snap
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-03-10 11:50:12 +08:00
Lioness100
fd0d8b6031
docs: fix typos ( #40791 )
...
* docs: fix typos
* Update index.zh-CN.md
* test: update snapshot
* docs: fix demo ref
* chore: force trigger ci
* chore: force trigger ci
* chore: bump dumi ver
---------
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-23 21:56:43 +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
二货机器人
d2aa0f8b5d
chore: fix lint
2023-01-31 10:33:56 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00
二货机器人
56f76c79ec
chore: feature merge master
2023-01-19 17:21:02 +08:00
lijianan
3892ce3c6d
chore: remove useless code ( #40303 )
2023-01-18 14:46:01 +08:00
René Wang
a2980e3d57
lint: remove useless ts-ignore
comment ( #40289 )
2023-01-18 10:07:16 +08:00
github-actions[bot]
ede5121d5f
chore: auto merge branches ( #40244 )
...
chore: feature merge master
2023-01-16 03:37:15 +00:00
lijianan
28d1157d6b
type: optimization undefined type ( #40241 )
...
* type: optimization undefined type
* fix type
* fix type
* add
* revert
* revert
* revert
2023-01-16 09:55:52 +08:00
github-actions[bot]
2d58e1843a
chore: auto merge branches ( #40107 )
...
chore: feature merge master
2023-01-09 09:53:07 +00:00
lijianan
8501adbd84
fix: add displayName ( #40092 )
...
* fix: add displayName
* rerun ci
* rerun ci
2023-01-08 21:30:41 +08:00
lijianan
6660e53863
chore: remove rc-util/addEventListener ( #39923 )
...
* chore: remove rc-utils/addEventListener
* fix
* fix
2022-12-31 22:24:55 +08:00
lijianan
3ed7ec906e
chore: remove useless tsx support ( #39890 )
...
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2022-12-31 22:24:55 +08:00
lijianan
a80b39d34d
chore: remove rc-util/addEventListener ( #39923 )
...
* chore: remove rc-utils/addEventListener
* fix
* fix
2022-12-30 17:15:54 +08:00
lijianan
9aec72c395
chore: remove useless tsx support ( #39890 )
...
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2022-12-29 18:33:13 +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
lijianan
7f89d9a7c9
refactor: use React.useContext() replace <ConfigConsumer /> ( #39793 )
...
* feat: use React.useContext() replace <ConfigConsumer />
* fix
* fix
* add
2022-12-25 18:34:42 +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
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
...
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2022-11-23 20:22:38 +08:00
Dave
d32a1fe274
fix(types): external module type error (CompoundedComponent) ( #38666 )
...
* fix(types): external module type error (CompoundedComponent)
* refactor(types): rename and replace internal CompoundedComponent type
2022-11-19 16:56:23 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +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
MadCcc
2298ae6099
fix: anchor ball visible
2022-11-10 10:08:10 +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 028265d3ba5987df5f13c3e9d42cf76cb1812b2e.
* 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
二货机器人
d5cfd195dd
chore: merge master
2022-11-07 23:32:46 +08:00
lijianan
d448c37cdb
test: simplify test case ( #38374 )
2022-11-04 11:23:59 +08:00
lijianan
81864f9b8a
fix: ball lose ( #38338 )
...
* fix: ball lose
* Update components/anchor/style/index.less
Co-authored-by: afc163 <afc163@gmail.com>
* fix: fix style
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-02 12:00:11 +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
Rex Zeng
b0fe69c18f
refactor(Anchor): rewrite CC => FC ( #38265 )
...
* fix: fix
* fix: fix
* fix: del forwardRef
* fix: add depList
* test(anchor): rewrite test to match the latest fc implementation
* fix: eslint error fix
* style: type optimization
* style: type optimization
* Update components/anchor/Anchor.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* Update Anchor.tsx
* Update components/anchor/Anchor.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* fix: rename
* fix: fix
* fix: fix
* Update components/anchor/style/index.less
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-30 14:35:45 +08:00