MadCcc
c60fc82ab3
style: v5 style optimization ( #37634 )
* style: ui update
* style: v5 style optimization
* chore: code clean
* style: modal close btn style
* style: notification close button style
* chore: code clean
2 years ago
二货爱吃白萝卜
b4898946ea
fix: visible follow up of confirm back to true ( #37613 )
2 years ago
MadCcc
1a051dcc5e
test: fix lint
2 years ago
MadCcc
7a73035f82
chore: fix snapshot
2 years ago
二货爱吃白萝卜
a8fc6e893a
fix: Fix icon set `null` not hide icon ( #37532 )
* fix: Modal confirm can set icon to null
* test: add test case
2 years ago
MadCcc
0b8c112193
feat: token wireframe ( #37507 )
* feat: wireframe token
* feat: token wireframe
* feat: wireframe steps
* feat: wireframe table
* feat: wireframe modal
* feat: wireframe popover
* chore: update token collect
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
Aaron674092290
87f39244e1
fix: unable to close modal when using visible in Modal.confirm().update ( #37471 )
* fix: unable to close modal when using visible in Modal.confirm().update
* chore: test case update
Co-authored-by: yangguangte <yangguangte@bytedance.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
MadCcc
b4f4873d54
feat: use filled icon by default ( #37450 )
* feat: use filled icon by default
* test: update snapshot
2 years ago
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this ( #37422 )
* chore: tags deprecated support
* chore: Slider Tooltip test
* chore: Table dropdown visible legacy
* chore: drawer warning of legacy
* chore: Modal legacy prop
* chore: dropdown open legacy prop
* chore: Tooltiop visible legacy info
* fix: format logic
* test: Update test for 18
* chore: fix lint
2 years ago
二货爱吃白萝卜
aca046288e
docs: Add FAQ about open ( #37420 )
2 years ago
lijianan
c34caad24c
test: js => ts ( #37392 )
* test: js => ts
* test: add test
* fix: fix eslint error
* test: add test case
* fix: fix test error
* fix: fix eslint error
* fix: fix eslint error
* fix: eslint error fix
* fix: fallback eslint config & add test case
* test: add all test case
* fix: bugfix
* fix: bugFix
* fix: bugFix
* fix: bugFix
* fix: lint
* fix: add React.createRef
* fix: add breadcrumbName in Routes
* fix: any commit for restart ci/cd
* fix: remove type
* fix: test fix
* fix: test fix
* fix: add ts-ignore for id
* test: add Icon test case
* test: remove ts-ignore
* test: add Icon test case
2 years ago
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
MadCcc
c0653c8a3c
feat: v5 margin ( #37283 )
* feat: v5 margin
* fix: alert icon line-height
2 years ago
MadCcc
ec13e824be
feat: v5 shadow & colorPrimary ( #37254 )
* feat: v5 shadow
* chore: color lint
* test: fix test case
2 years ago
yykoypj
771c7a6f2d
feat: change visible to open for Modal ( #36774 )
* feat: change visible to open for Modal
* feat: add warning when use visible
* test: fix lint
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货机器人
acc80d8916
test: update test case
2 years ago
二货机器人
f64c6ca2f3
test: Update warning
2 years ago
二货机器人
83eda31e73
test: fix warning check
2 years ago
yykoypj
3d8cd0b451
feat: switch visible to open for Modal ( #37084 )
* feat: switch visible to open for Modal
* test: depcated check
* docs: site api update
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
MadCcc
93908debec
feat: v5 radius ( #37146 )
* feat: v5 radius
* test: fix test
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
MadCcc
ec3444a407
refactor: token udpate ( #36892 )
2 years ago
Wuxh
16ecdbb58d
fix(modal): Modal.xxx onCancel close argument is not a function ( #36600 )
* fix(modal): fix the error of `onCancel` parameter of modal returned by `useModal`
resolve: 36581
ref: https://github.com/ant-design/ant-design/issues/36581#issuecomment-1189396007
* test(confirm): 补充 modal 测试用例
* test(modal): 添加测试用例
* Revert "fix(modal): fix the error of `onCancel` parameter of modal returned by `useModal`"
This reverts commit e4fcb3e62add63193ec9081b2c21e657379bebfb.
* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter
closed : #36581
* chore: cancel the introduction of `noop` from third-party library
2 years ago
MadCcc
1ad0553249
refactor: token update ( #36637 )
* refactor: token update
* refactor: token
* chore: error color
* fix: menu danger
2 years ago
二货机器人
b8a2f0a0c7
feat: Modal PureRender type support `type` ( #36544 )
* feat: Modal type support PurePanel
* feat: Modal PurePanel support type
* chore: do fix
* chore: do fix
* fix: Static logic locale
2 years ago
Neil
9989a2d751
add Modal @modal-border-radius less variable ( #36527 )
* add Modal @modal-border-radius less variable
* fix: add less variable
2 years ago
MadCcc
cdbfe45df1
feat: generate anchor style for all components ( #36460 )
* test: fix lint
* chore: code clean
* doc: anchor color
* chore: style order
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
abb409ccf7
refactor: token update ( #36306 )
2 years ago
二货机器人
de2992f96f
chore: move path ( #36243 )
* chore: base move
* chore: all path
* chore: fix script
2 years ago
MadCcc
9f2f9bb57f
refactor: default theme with algorithm ( #36175 )
* refactor: alias token
* refactor: use palettes
* refactor: default theme
* chore: code clean
* refactor: component token
* feat: light tokens
* feat: add dark theme
* feat: dark derivative
* chore: code clean
* refactor: fix colorBgContainer
* refactor: rename token
* test: fix lint
* chore: code clean
* chore: code clen
* refactor: badge shadow color
* test: add test case
2 years ago
Andrew Horn
1c8415c494
Corrected grammar in comment in hooks.md ( #36185 )
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
MadCcc
1bcfe0cce3
refactor: motion ( #36136 )
* fix: modal motion
* fix: image motion
* refactor: popover & tooltip motion
* chore: code clean
* refactor: move motion
* refactor
* chore: code clean
* refactor: dropdown support move motion
2 years ago
MadCcc
5639e1a5ba
feat: update token ( #36095 )
* feat: update token
* feat: update token
* fix: override ts definition
* fix: rename token
2 years ago
二货机器人
c720965d13
refactor: rename of _InternalPanelDoNotUseOrYouWillBeFired ( #36028 )
2 years ago
二货机器人
821d540805
refactor: Modal support PureRender ( #36012 )
* chore: init
* chore: Modal pure render
* chore: update snapshot
2 years ago
MadCcc
1f080c299e
fix: Form.Item noStyle should not be affected by parent Form.Item ( #35849 )
* fix: Form.Item noStyle should not be affected by parent Form.Item
* test: update snapshot
* fix: status
* chore: code clean
* fix: modal and drawer
* test: fix lint
* chore: code clean
* refactor: noFormStyle
* chore: code clean
* revert: revert change in Form.Item
* chore: code clean
3 years ago
Yuki Zhang
b46e839a5f
test: move test cases to @testing/library for Modal ( #35785 )
* test: move test cases to @testing/library for Modal
* update
* fix: test
* test: add test case for mouse position
* chore: revert
3 years ago
zombiej
409eee2254
test: Update snapshot
3 years ago
Yuki Zhang
651dae1430
refactor: use text-align instead of flex for modal confirm bottom btns ( #35630 )
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
dingkang
e5b09aa879
docs: replace class component with hooks ( #35613 )
* docs(badge): replace class component with hooks
* docs(button): replace class component with hooks
* docs(calendar): replace class component with hooks
* docs(card): replace class component with hooks
* docs(button): replace class component with hooks
* chore(deps): remove webpack devDependencies
* docs(cascader): replace class component with hooks
* docs(checkbox): replace class component with hooks
* docs(collapse): replace class component with hooks
* docs(comment): replace class component with hooks
* docs(descriptions): replace class component with hooks
* docs(config-provider): replace class component with hooks
* docs(date-picker): replace class component with hooks
* docs(drawer): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(empty): replace class component with hooks
* docs(grid): replace class component with hooks
* docs(input): replace class component with hooks
* docs(input-number): replace class component with hooks
* docs(demo): fix lint error
* docs(layout): replace class component with hooks
* docs(list): replace class component with hooks
* docs(mentions): replace class component with hooks
* docs: fix code review issue
* docs(modal): replace class component with hooks
3 years ago
Yuki Zhang
0846d4fce7
refactor: modal confirm button style ( #35530 )
* fix: modal rtl style
* fix: cannot use logic css
* chore: change css writing order
3 years ago
MadCcc
5d67d78611
refactor: modal full token ( #35477 )
* refactor: modal full token
* chore: code clean
* feat: fontSizeIconLG
* Revert "feat: fontSizeIconLG"
This reverts commit 4074f4887a
.
* chore
3 years ago
MadCcc
9ca7973521
refactor: image full token ( #35465 )
* refactor: image full token
* chore: remain switch size
* refactor: less token
* chore: text color
3 years ago
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
3 years ago
MadCcc
24773d5796
test: lint
3 years ago
foryuki
d21c7f8f4e
chore: add fixme
3 years ago