二货爱吃白萝卜
f90296b2b3
test: Refactor Affix related test case ( #37715 )
* test: refactor
* test: Refactor Affix test case
* test: refactor more test case
* test: fix lint
2 years ago
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
6c9a022ea7
test: Update test case ( #37436 )
2 years ago
Rex Zeng
df98cbb3e9
test(affix): fix query selector error ( #37414 )
2 years ago
Rex Zeng
f212b339c7
test(affix): split the last checkpoint ( #37386 )
2 years ago
Rex Zeng
77b9607ba7
test(affix): migrate test to testing-library ( #37299 )
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
Shang Song
22c8bc4c7a
test: migrate part of Affix tests ( #35860 )
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
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
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
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
Long Hao (龙濠)
7c182926bc
fix: wrong word and cancel export inner interface ( #34643 )
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
Long Hao (龙濠)
bef910b9bc
refactor: move prefixCls to wrapper ( #34482 )
* refactor: move prefixCls to wrapper
* fix: name change
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
二货机器人
a05a8674e9
refactor: Wrap affix with FC ( #34254 )
* test: fix
* chore: ts fix
* chore: update ts def
* test: fix test
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
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
Tom And Jerry
e0c777d5b4
refactor: replace let with const ( #33134 )
* refactor: replace let with const
* refactor: replace let with const
* refactor: replace let with const
* refactor: replace let with const new
* Update components/affix/index.tsx
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
Stef Schenkelaars
98e36aa036
test: add test helper for accessibility
As proposed in #22343 , the components can be automatically validated
for accessibility. This adds a test helper that runs Axe to check
for accessibility violations.
3 years ago
二货机器人
c6c0662b97
docs: Cascader displayRender data ( #33087 )
* docs: Cascader displayRender data
* ts: clean up
* test: Update rc-resize-observer version
* test: fix resize related test case
* chore: fix ts error
* test: Fix resize logic
3 years ago
Steven.zhong
abc689b796
chore: document and typescript definition update ( #32625 )
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
二货机器人
36bcaaef85
Add `variable.less` to support css variable ( #31496 )
* chore: use varaible.less
* chore: basic primary varaible
* chore: Move to variable
* chore: align active color
* chore: global fix of css variable
* chore: primary colors
* chore: button danger
* chore: btn default error color
* chore: button series
* chore: More examples
* chore: More components
* chore: Form demo
* chore: form style
* fix: Tag & Alert variable
* chore: update footer
* chore: rm tmp code
* chore: transfer
* fix: picker column active color
* chore: Adjust active bg color
* chore: table hover color
* chore: all css variables
* chore: Global using variables
* chore: Test case
* chore: Update test logic
* chore: back of default less
* chore: entry of site use proxy style
* chore: update entry
* chore: split of variables
* refactor: quick dist speed
* fix: site use variable version
* chore: Update less config
* chore: add mv script
* chore: Update repalcement script
* chore: Add inject variables
* chore: Update script
* fix: script path
* chore: Move to component instead
* chore: fix condition
* chore: update config
* chore: Update in less transform
* chore: Modify logic
* chore: change to variables
* chore: Update name
* fix: script name
* chore: do inject
* revert: back of path
* chore: 2 way of generate
* bump tools
* chore: Add auto replacement script
* chore: auto genrate less file
* chore: fix test
* test: More test case
* chore: Update limit config
* test: coverage
* docs: Update doc
3 years ago
afc163
576da9d0ef
fix: Input clear icon margin lost ( #31745 )
close #31741
3 years ago
Joshua Chen
d1dc0eba2c
docs: fix grammar and inconsistencies in en-US ( #31385 )
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
3 years ago
张宇
b2bdaf5134
docs: add affix's FAQ ( #30775 )
* docs: add affix's FAQ
* docs: update affix's FAQ
* docs: update affix's FAQ
4 years ago
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
4 years ago
dependabot[bot]
6697e96789
chore(deps-dev): bump typescript from 4.1.5 to 4.2.2 ( #29448 )
* chore(deps-dev): bump typescript from 4.1.5 to 4.2.2
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.1.5 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
Signed-off-by: dependabot[bot] <support@github.com>
* fix tsc errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
二货机器人
9e5e4c8743
chore: Fix ts ( #29383 )
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
Renny Ren
2961906265
Update index.en-US.md ( #29069 )
fix grammar
4 years ago
二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
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
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>
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
afc163
0de1358924
test: ✅ fix eslint jest rules
4 years ago
偏右
c53e8ac4c9
test: ✅ add test cases to increase coverage ( #26410 )
4 years ago
xrkffgg
aacdc2ebe1
docs: perfect site ( #26025 )
4 years ago
xrkffgg
ce54cee482
docs: reduce affix demo ( #25004 )
* docs: reduce affix demo
* fix
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
二货机器人
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
Eric Wang
64cb9584ce
fix: include tests in type check ( #23452 )
* fix: include tests in type check
* Do lint *.md
* Improve types in tests
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
Eric Wang
95f6f0f14a
Chore: Refactor affix test to typescript ( #23364 )
5 years ago
偏右
9e44b97436
fix: 🐛 Affix state update on unmounted component ( #22790 )
close #22683
5 years ago