MadCcc
2453e21744
fix: modal footer should be hidden if null ( #38138 )
2 years ago
MadCcc
0a0f96798d
chore: snapshot
2 years ago
MadCcc
2471bf88aa
test: fix test
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
尾宿君
80034250b5
test: replace Popconfirm part test with testing lib ( #37703 )
* test: replace Popconfirm part test with testing lib
* test: Update test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
Zheeeng
ea9b013bb1
refactor(locale): refine signature ( #37824 )
* chore: prefer using @internal annotation over other markups
* fix: typo
* fix: locale types
2 years ago
lijianan
3e2e12e98e
fix: delete defaultprops ( #37827 )
2 years ago
MadCcc
c61f283487
feat: switch motion ( #37658 )
* feat: switch motion
* chore: code clean
* feat: active text offset
* chore: update snapshot
2 years ago
MadCcc
7a73035f82
chore: fix snapshot
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
huisiyu
4692733ca9
fix(Popconfirm): the title element does not have padding when icon is not set and update jest snapshot ( #37384 )
2 years ago
MadCcc
870f9e504d
fix: v5 component style ( #37413 )
* fix: v5 component style
* chore: fix csp
2 years ago
yykoypj
6b658dab76
feat: switch visible to open for Tooltip ( #37241 )
* feat: switch visible to open for Tooltip & Popover & Popconfirm
* fix lint
* fix: merge state
* chore: Update ts part
* test: add legacy test
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
43d45330c5
feat: switch visible to open for Tooltip & Popover & Popconfirm ( #36807 )
* feat: switch visible to open for Tooltip
* feat: switch visible to open for Popover
* feat: switch visible to open for Popconfirm
* fix
* chore: resolve conflict
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
clean99
1239910f66
test: change act import from utils use act wrap timer and not wrap fireEvent ( #36921 )
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2 years ago
二货机器人
f654b6cce0
feat: Popconfirm support PurePanel ( #36538 )
* refactor: move popconfirm content out
* fix: lint
* chore: use locale
2 years ago
二货机器人
006c055cf8
refactor: move popconfirm content out ( #36530 )
* refactor: move popconfirm content out
* fix: lint
2 years ago
二货机器人
8a0764dd69
feat: Tooltip support pure render ( #36512 )
* chore: init
* feat: Pure Panel Tooltip
* test: snapshot
* chore: clean up
2 years ago
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2 years ago
二货机器人
de2992f96f
chore: move path ( #36243 )
* chore: base move
* chore: all path
* chore: fix script
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
二货机器人
0ff19bb239
fix: Table multiple dropdown not closed ( #36132 )
* fix: Table dropdown can not close
* test: Test case
* test: cov
* chore: bump rc-util
* chore: reorder
* chore: bump rc-util
* chore: rm test
* chore: clean up
2 years ago
二货机器人
0ecddfdb0d
refactor: Popconfirm cssinjs ( #35683 )
* chore: init
* chore: part of
* fix: Buttons style
* chore: refactor dom structure
* test: Update snapshot
* test: more coverage
3 years ago
二货机器人
8a6874cba3
refactor: align with popover ( #35676 )
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
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
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
二货机器人
67ccf39bd3
fix: Notification & message throw `createRoot` warning in React 18 ( #35030 )
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
3 years ago
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
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
二货机器人
b51c900847
refactor: rm useDestroy hook ( #34418 )
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago
MadCcc
3effa51572
refactor: refactor useMounted to useDestroyed
3 years ago
MadCcc
285e2bd9ea
refactor: refactor useMountedRef to useMounted
3 years ago
MadCcc
6d098783fc
test: add test for react memory leak warning in Popconfirm
3 years ago
MadCcc
19e4b578d9
chore: revert import order change
3 years ago
MadCcc
727e394d75
feat: add useMountedRef hook
3 years ago
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago
MadCcc
1d738d1902
fix: not allow setState in Popconfirm if unmounted
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
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
二货机器人
ce006bd44e
docs: Version Robin ( #32830 )
3 years ago
WeijieChen
b4d16125dd
docs: add Version ( #32678 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago
WeijieChen
16bb5489e6
feat: add showCancel prop for popconfirm ( #32620 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago
Wendell
5ddd9e6b97
feat(module:popconfirm): support closing based on promise ( #30871 )
* feat(module:popconfirm): support closing based on promise
fix: typos
fix: fix tests
fix: fix ActionButton for Popconfirm
* chore: cleanup
* test: add test
4 years ago
Ignatius Aggrey
e32c881cd0
fix: Change type of Popconfirm props: okButtonProps to ButtonProps ( #29928 )
* Change type of Popconfirm props: okButtonProps to ButtonProps
According to the Popconfirm API docs the type of the type of the props okButtonProps and cancelButtonProps is ButtonProps In the actual code however it is was typed as NativeButtonProps causing type errors when using ButtonProps like 'href'
* fix: Remove unused NativeButtonProps
4 years ago
二货机器人
53142ef237
refactor: rc-tooltip use motion config ( #29555 )
* refactor: internal add deadline & fix defaultVisible logic
* back of demo
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