二货机器人
f8e7cba353
refactor: Simplify Button Group Style ( #35175 )
* chore: refactor grp with context
* test: Update snapshot
* chore: clean up
* test: fix test case
* chore: clean up
* test: fix 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
二货机器人
b51c900847
refactor: rm useDestroy hook ( #34418 )
3 years ago
MadCcc
3effa51572
refactor: refactor useMounted to useDestroyed
3 years ago
MadCcc
285e2bd9ea
refactor: refactor useMountedRef to useMounted
3 years ago
MadCcc
727e394d75
feat: add useMountedRef hook
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]
14fa342da3
chore(deps): update dependency eslint to v8 ( #32501 )
* chore(deps): update dependency eslint to v8
* fix eslint errors
* fix eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
undefined
ba9323decb
Fix Button Wave Effect in shadow root ( #29897 )
* fix wave effect for shadow dom
fix
* fix: wave tests
components are inside shadow dom, test fail because they are looking for a style element outside of the shadow dom, they fail because style is now placed (as expected) inside the shadow dom
* fix: typeguard
* fix: use updateCSS api
4 years ago
二货机器人
9914ceb6be
fix: Grid flexGap lazy check ( #29202 )
* fix: get flex gap support before render
* chore: patch unit
* chore: rename
* test: fix test case
4 years ago
xinhui.zxh
2dd4d9b0d4
feat: use useMemo for config-provider
4 years ago
xinhui.zxh
81129554ce
feat: use hooks to memo config-provider config
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf ( #27864 )
4 years ago
Tom Xu
44e41b5ced
refactor(trans-button): rewrite with hook ( #27743 )
* refactor(trans-button): rewrite with hook
* Update Base.tsx
* Update util.test.js
* Update transButton.tsx
* Update transButton.tsx
* Update transButton.tsx
* Update util.test.js
4 years ago
偏右
fc5e0a9155
test: ✅ 100% coverage ( #26839 )
* test: isStyleSupport
* test: 100% test coverage
4 years ago
偏右
c979850a5b
test: ✅ Motion for Collpase and Menu ( #26828 )
* test: ✅ test menu and collapse motion
* chore: move openAnimation into collapse
* add test case
* rm extra openAnimation.tsx
* remove unused code
4 years ago
Kermit Xuan
f98e3eee25
refactor: optimize code stle ( #26270 )
4 years ago
zhangchen
26fa36083e
fix: ResponsiveObserve unsubscribe ( #25309 ) ( #25319 )
* fix: ResponsiveObserve unsubscribe (#25309 )
* fix: ResponsiveObserve unsubscribe (#25309 )
* fix: ResponsiveObserve unsubscribe
* test: add responsiveObserve.test.js
4 years ago
zombiej
508401cca4
add transBtn coverage
5 years ago
Tom Xu
9f633bc002
chore: getScroll add more test ( #24180 )
* chore: getScroll add more test
* Update getScroll.test.js
5 years ago
Tom Xu
159d42fda8
chore: scrollTo add more test ( #24177 )
5 years ago
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip ( #24056 )
* feat: add transformFile optionfor transform file before request
* feat: bump rc-upload 2.7.0
* feat(Upload): optimize doc
* feat: support custom cell ellipsis tooltip
* tests: update snapshots
* docs: update table ellipsis demo
* tests: update snap
5 years ago
偏右
c6a1c3f743
✅ test TransButton focus and blur ( #22979 )
5 years ago
Eric Wang
316b925f94
chore: Use unreachable exception in favor of type safety ( #22933 )
* Use unreachable exception in favor of type safety
* Add tests
* add test
5 years ago
偏右
aca2656721
fix: ⬆️ BackTop not working in iframe ( #22788 )
* docs: 🎬 improve BackTop demo
* fix Backtop not working in iframe
* fix lint
* fix ci
* fix ci
* ✅ add more test case
* ✅ add more test cases
* fix ci
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
偏右
813a93ab24
test: ✅ Add test cases for wave ( #22393 )
* ✅ Add test cases for wave
* refactor code
5 years ago
偏右
7dea548551
refactor: 🗑 remove deprecated or compatibility css code ( #20547 )
* 🗑️ remove deprecated or compatibility css code
* ✅ update snapshots
* ✅ fix test case and compile error
* ✅ fix stylelint
5 years ago
啸生
71b53b7175
master to feature ( #19062 )
* ✅ increase upload test cov
* chore: replace resizeObserver with `rc-resize-observer` (#19057 )
* replace resizeObserver with rc-resize-observer
* fix affix lint
* fix es lint
* changelog (#19056 )
* Release 3.23.5
5 years ago
二货机器人
e07bba91fa
chore: replace resizeObserver with `rc-resize-observer` ( #19057 )
* replace resizeObserver with rc-resize-observer
* fix affix lint
* fix es lint
5 years ago
shaodahong
83022a4cff
test: try mock Date.now to reduce test time
5 years ago
shaodahong
b277a963f0
fix: eslint fail
5 years ago
shaodahong
b1cd8e32d9
test: add easings.ts test suite
5 years ago
shaodahong
3b692bc8b6
test: fix test fail
5 years ago
shao
3ab3b014e0
test: use jest.useFakeTimers replace sleep
5 years ago
shao
d45dc1b347
feat(Anchor): fix test fail
5 years ago
shao
a266f45395
feat(Anchor): remove scrollTo option
5 years ago
shao
32b09fc8f3
feat(Anchor): perf easings export
5 years ago
shao
06abd9503c
fix: some bad writing
5 years ago
shao
ccef30885a
perf: optimization BackTop and Anchor components scrollTo func
5 years ago
zombieJ
fd284ecc47
fix: ResizeObserver should ignore shaking ( #18289 )
* fix: ResizeObserver should ignore shaking
* fix lint
* fix domHook
5 years ago
afc163
2bddeef1e5
🆙 upgrade eslint-config-airbnb
5 years ago
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
5 years ago
陈帅
82b85709be
style: run lint-fix ( #17172 )
6 years ago
偏右
eb9be9ef56
Update util.test.js
6 years ago
afc163
17ab75b8d9
✅ Add test case for TransButton
6 years ago
zombieJ
fee6b61c19
fix: raf should keep same id ( #16370 )
6 years ago
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
6 years ago
zy410419243
d17a5c49e5
test: update cases for Wave
6 years ago