MadCcc
24773d5796
test: lint
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
linqiqi077
44b9ab7e40
test: migrate part of anchor tests ( #35371 )
3 years ago
Long Hao (龙濠)
32d0067d55
refactor: Anchor cssinjs ( #35139 )
* refactor: anchor cssinjs
* fix: padding use logical css
* fix: link padding wrong
3 years ago
Long Hao (龙濠)
eb7f8c7ef1
refactor: change anchor to fc for the cssinjs prepare ( #35073 )
* refactor: change anchor to fc for the cssinjs prepare
* fix: fix anchor test
3 years ago
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
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
afc163
0edd112d5b
feat: Anchor supports `getCurrentAnchor(activeLink)` ( #34799 )
close #34784
3 years ago
Di Wu
f53e615518
fix: Invalid memoized context value in LocaleProvider ( #33723 )
* fix: Invalid memoized context value in LocaleProvider
* Add button type in test case.
* fix: Invalid memoized context value in Anchor
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
tangjinzhou
ea7c41b90a
fix: anchor add prefixCls ( #33085 )
Co-authored-by: undefined <undefined>
3 years ago
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
renovate[bot]
94b21979e0
chore(deps): update dependency @typescript-eslint/parser to v5 ( #32500 )
* chore(deps): update dependency @typescript-eslint/parser to v5
* fix md lint
* fix eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
Aex
5328b4bb62
fix(anchor): targetOffset not work when contain spaces ( #31952 )
* fix(anchor): targetOffset not work when contain spaces
* fix(anchor): Modify the code style according to the lint rules
3 years ago
afc163
e021147bb8
fix: Anchor should trigger onChange when have getCurrentAnchor ( #30601 )
* fix: Anchor should trigger onChange when have getCurrentAnchor
close #30584
* test: add test case
4 years ago
Tom Xu
e5d908a078
docs: format api ( #29537 )
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
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
* refactor: use optional chaining instead of if
* revert some code
4 years ago
einq7
fa376f9c82
docs: prettier markdown ( #28510 )
4 years ago
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
4 years ago
Hossein Mohammadi
4b1000fb7f
fix: React 17 findDOMNode is deprecated ( #27755 )
* fix: use ref instead of findDOMNode
* chore: use fillRef in setAndForwardRef
* chore: use rc-util fillRef instead
* chore: use support ref
* test: removed empty class
* chore: use composeRef instead of setAndForwardRef
4 years ago
xrkffgg
cba9634a3d
perf: reduce css size ( #27527 )
* perf: reduce css size
* add
* add
* fix line-height
* add .reset-component
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 years ago
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
4 years ago
Tom Xu
5f2588ffd1
docs: improve api type docs ( #27038 )
4 years ago
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
afc163
704899415e
docs: 📝 fix anchor demo
4 years ago
afc163
ca18e8cd87
docs: clearify Anchor showInkInFixed API
close #26702
4 years ago
Tom Xu
bef89ce686
docs: remove Anchor not use api ( #26672 )
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
xrkffgg
2d7d56985e
docs: format api ancho/backtop/config ( #25393 )
4 years ago
xrkffgg
7450c3fd8d
style: fix rtl.less missing variable ( #25088 )
4 years ago
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
5 years ago
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
* 💄 fix lint
* 💄 fix lint
5 years ago
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
* docs: Update components cover
#24629
* docs: Update components cover
5 years ago
偏右
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>
5 years ago
偏右
633d064640
✅ increase code cov ( #23880 )
5 years ago
Eric Wang
815baee4d9
chore: Transform anchor test to typescript ( #23499 )
* chore: Transform anchor test to typescript
* Separate dom
* use hash
* .
* chagnelog
* chore: Transform anchor test to typescript
* Separate dom
* use hash
* .
* rebase
5 years ago
Amumu
245deed4b6
fix proper react import again ( #23762 )
5 years ago
二货机器人
bb1f157645
feat: ConfigProvider support getTargetContainer ( #23751 )
* add getTargetContainer
* support affix
* test case
* anchor use new context api
* Anchor support getTargetContainer
* doc it
* update patch
5 years ago
zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
5 years ago
吴泽康
4c9d03874b
fix: anchor regexp ( #23577 ) ( #23595 )
* fix: anchor regexp (#23577 )
* test: fix anchor complete href scrollTo test
* test: anchor sharp matcher regexp
* test: Anchor render perfectly for complete href - hash router
5 years ago
Eric Wang
55265ac4ef
chore: Replace domhook with jest.spyon ( #23469 )
* chore: Replace domhook with jest.spyon
* use mockreturn value when possible
* Update tests/shared/focusTest.js
5 years ago
xrkffgg
934fe16690
style: add anchor rtl ( #22875 )
5 years ago
偏右
66f67051af
test: ✅ improve test for requestAnimationFrame ( #22433 )
* test: improve test for requestAnimationFrame
* ✅ fix test coverage
* fix test case
* fix test case
5 years ago
二货机器人
58133bcabd
update demo ( #21069 )
5 years ago
xiaohuoni
fa14546a40
chore: code style
5 years ago
xiaohuoni
1c1c30e99c
docs: a demo use typescript
5 years ago