MadCcc
630c24aa79
test: raise test covarage ( #38027 )
* test: raise test covarage
* chore: code clean
* chore: lock jest-dom to v28
* chore: lock jest-dom
* test: update setup
2 years ago
MadCcc
92a32998ac
test: mock matchMedia configurable ( #38034 )
2 years ago
MadCcc
2471bf88aa
test: fix test
2 years ago
vagusX
760cb38dbf
fix: tsc error ( #37932 )
* fix: tsc issue
* fix: typo
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
lijianan
c2d7fe4f0d
chore: delete Enzyme ( #37854 )
* chore: delete Enzyme
* fix: fix
2 years ago
二货机器人
437182b2e6
test: Update snapshot
2 years ago
二货机器人
069e44bcc3
chore: merge master
2 years ago
二货爱吃白萝卜
6f1e67d9b8
test: Refactor Spin part test case with fakeTimer ( #37759 )
* test: Update test case
* chore: fix lint
2 years ago
二货爱吃白萝卜
356715f4a6
fix: Typography tooltip bug ( #37754 )
* chore: basic
* fix: diff icon logic
* fix: Tooltip logic
* chore: fix lint
2 years ago
lijianan
a05b9d92c5
feat: Float Button ( #37520 )
* feat: add FloatButton
* feat: add FloatButton
* feat: FloatButton
* feat: FloatButton
* fix: fix
* feat: FloatButton
* feat: FloatButton
* feat: FloatButton
* feat: FloatButton
* feat: FloatButton
* fix: add groupShape
* feat: mergeShape
* fix: fix
* fix: fix style
* fix: style fix
* fix: fix
* fix: style fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix style
* fix: fix style
* fix: fix style
* fix: style fix
* feat: back-top
* fix: style bug fix
* fix: fix erroe
* fix: add tiggerElement
* fix: add tiggerElement
* fix: add tiggerElement
* fix: add tiggerElement
* feat: add useMemo
* docs: add docs
* fix: bugFix
* fix: bugFix
* fix: bugfix
* fix: style fix
* fix: bugfix
* test: add test case
* fix: style fix
* fix: style fix
* fix: fix style
* fix: fix style
* fix: fix trigger action
* fix: fix style
* feat: add demo
* fix: add demo
* feat: add docs
* fix: style ifx
* feat: update maxSize of bundlesize
* feat: add animation for group
* fix: fix
* fix: fix style
* fix: fix test case
* fix: fix test case
* fix: fix type
* fix: fix type
* fix: update bundlesize
* fix: fix
* fix: fix style
* fix: fix style
* fix: updata snap
* fix: fix CI
* fix: fix style
* fix: rename float button motion
* fix: fix style
* fix: bugFix
* fix: fix style
* fix: bugFix
* fix: update docs
* refactor: float button trigger
* test: fix test case & update snapshot
* fix: delete rest
* docs: update demo
* test: update snapshot
* fix: fix eslint error
* test: update snapshot
* style: update icon fontSize to 18
* fix: fix style
* fix: style fix
* fix: test case fix
* test: add test case
* fix: style fix
* test: update snap
* fix: style fix
* fix: style fix
* fix: style fix
* docs: demo update
* fix: style fix
* docs: update demo
* test: update snapshot
Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
二货爱吃白萝卜
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
MadCcc
7a73035f82
chore: fix snapshot
2 years ago
MadCcc
b7fe2078e8
chore: update test
2 years ago
lijianan
1bb58174c3
test: delete icon.svg ( #37499 )
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
二货爱吃白萝卜
7c087deded
chore: Add theme=null export for vite build error ( #37462 )
* fix: Vite build error
* test: Update snapshot
* chore: Update snapshot
2 years ago
lijianan
f47535a153
test: migrate part of rtlTest tests ( #37315 )
* test: migrate part of rtlTest tests
* style: performance optimize
* fix: add type
* fix: fallback
2 years ago
黑雨
5a2c6edefd
test: replace testing-lib in focusTest ( #37280 )
* feat: replace testing-lib
* feat: update for lint
2 years ago
二货机器人
ed59c7e79e
chore: fix lint
2 years ago
lijianan
db0344c85f
test: migrate part of ConfigProvider tests ( #37142 )
* test: migrate part of ConfigProvider tests
* test: migrate part of ConfigProvider tests
* test: update snap
* test: update snap
* test: migrate part of ConfigProvider tests
* fix: commented error case
* chore: update snapshot name
* test: csp test case
* test: revert test case
* test: Update snapshot
* test: Update ser logic
* test: more cov
* test: cascader snapshit
* test: update match
* test: more detact
* test: more handler
* chore: Update snapshot
* test: Table test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
78cca16779
chore: default hashed ( #37154 )
* chore: default hashed
* test: try for clean default hashed
* chore: clean up
* chore: fix dist
* chore: es inject
* chore: no hashed in test env
* chore: update comment
* chore: hack in jest env
* chore: try unique entry
2 years ago
二货爱吃白萝卜
304b36a5bf
refactor: Replace Tabs motion ( #36943 )
* chore: bump rc-tabs
* refactor: use internal motion
* test: Update snapshot
* chore: clean up
* test: Update snapshot
* test: coverage
* test: resolve conflict
2 years ago
clean99
20a2bb3374
fix: testing act error ( #36915 )
* test: switch act from react-dom/test-utils to testing-library/react
* test: fix jest.runAllTimers usage with act
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2 years ago
二货机器人
a92044afba
chore: fix test script
2 years ago
二货机器人
ddb97b22ba
chore: collapse title text auto width ( #36761 )
* chore: collapse title text auto width
* test: fix mock snapshot
2 years ago
dingkang
1ef45439d6
test: replace Cascader test case with test library ( #36475 )
* test: relpace test case with test library
* test: fix test case
* test: replace snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货机器人
d422d71c1e
refactor: Drawer refactor ( #36672 )
* chore: back part of styl
* chore: all basic
* test: part test case
* test: part test case
* test: more test case
* test: update snapshot
* test: demo test support
* test: update snapshot
* chore: adjust mock logic to inject on rc-drawer instead
* test: more snapshot
* chore: adjust pos
* chore: back of render
* test: drawer demo extends test
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
MadCcc
469d0bc81c
chore: compile without lib ( #36362 )
* chore: compile es only
* chore: update package.json
* chore: code clean
* chore: code clean
* chore: update workflow
* chore: update workflow
* chore: update less src
* chore: replace lib with es
* chore: recover less
* Revert "chore: replace lib with es"
This reverts commit 41b8bf1938
.
* chore: update dist less
* test: fix
2 years ago
二货机器人
66a3594e95
refactor: Provide top theme export and theme adjuster ( #36302 )
* chore: change theme mode
* refactor: export theme
* refactor: top of theme
* chore: map of token
* chore: fix lint
* chore: rename
* test: fix test case
2 years ago
二货机器人
d24f67f66b
test: Fix table empty test ( #36290 )
2 years ago
二货机器人
b4d9e8c4af
test: Fix diff snapshot ( #36275 )
2 years ago
二货机器人
fe907cc57b
refactor: Export theme useDesignToken as root hooks ( #36267 )
* refactor: export useDesignToken
* chore: site update
* chore: not conflict with react version
* chore: update snapshot
* chore: update snapshot
2 years ago
二货机器人
de2992f96f
chore: move path ( #36243 )
* chore: base move
* chore: all path
* chore: fix script
2 years ago
郑国庆
6e55310fca
test: replace Input part test with test lib ( #35754 )
* test: replace Input part test with test lib
* test: test input case
* test: update textarea case
Co-authored-by: z1399 <zhenggq@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
a61671f32f
chore: upgrade to jest-image-snapshot 5.x ( #35818 )
3 years ago
afc163
ed4d41676e
chore(deps-dev): upgrade to jest 28 ( #35334 )
https://jestjs.io/zh-Hans/docs/upgrading-to-jest28
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
iamkun
25c449862f
fix: update test
3 years ago
Zack Chang
19d5f07c16
test: Rewrite mountTest with testing lib ( #35326 )
3 years ago
Camol
bdabee4db4
feat(Typography): copyable text support format ( #35219 )
Co-authored-by: kanweiwei <kanweiwei@nutstore.net>
3 years ago
MadCcc
617449ddd2
test: add cssinjs test ( #35077 )
* test: add cssinjs test
* test: demoTest test cssinjs
* test: update snapshot
* test: adjust text
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
MadCcc
e4a87750ac
test: update test cases to testing-lib ( #35056 )
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
vagusX
ae4e660a05
feat: add new component `Segmented` ( #34319 )
* feat: basic implements in antd
* feat: use rc-segmented
* feat: add some demos
* feat: support dark theme
* docs: add more demos
* feat: support `icon` in segmented
* docs: format content
* test: add test cases
* docs: update docs
* chore: update
* fix: lint issues
* style: add border-radius for selected effect
* style: change border-radius-base
* chore: update gitignore
* feat: segmented support block
* chore: update gitignore
* feat: support block
* feat: add test case
* feat: support size
* docs: update demos
* chore: update
* chore: update
* test: update
* style: update colors
* style: hover and focus styles
* doc: add version mark in docs
* fix: style lint issue
* fix: some lint issues
* doc: add version in demo mds
* doc: add version mark before api details
* Revert "doc: add version in demo mds"
This reverts commit 2a9e86f6ffc2331f7d73eae6edac7c889358a838.
* test: only test for thumb appear
* style: update color vars
* style: add transition
* style: text vertial align
* test: update snapshots
* feat: add preview svg and support dark theme
* fix: update test snapshot
* docs: update docs
* fix: remove useless z-index
* build: add 1kb for bundlesize of antd.variable.min.css
Co-authored-by: taian.lta <taian.lta@antgroup.com>
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
二货机器人
811fed2fc2
refactor: Update rc-slider ( #34234 )
* chore: Update rc-slider version
* chore: bump
* chore: update sty;e
* fix: style
* test: update snapshot
* test: all fixed
* fix lint
3 years ago
二货机器人
912ffb15d0
refactor: Button with cssinjs ( #33890 )
* init
* chore: cssinjs base button
* chore: more style
* chore: mix style
* chore: size
* chore: more style
* misc
* chore: re-structrue
* chore: icon onlt
* chore: back of disabled
* chore: loading status
* chore: loading motion
* chore: add active style
* docs: site prepare dynamic theme
* chore: bump antd cssinjs
* chore: color type check
* chore: bump cssinjs version
* chore: clean up useless ts def
* chore: ignore button style
* chore: rename ci
* chore: update cssinjs ver
* chore: ssr default wrapper
* chore: bump cssinjs version
* chore: ssr support
* chore: fix script
* test: fix node snapshot
* chore: move cssinjs pkg size from css to js
* test: coverage
3 years ago