二货机器人
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
二货机器人
688422b490
test: back of coverage ( #34964 )
* test: fix coverage
* chore: bump bisheng
* chore: clean up
* chore: update deps
* chore: test coverage
3 years ago
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
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
Tmk
c4ffbff841
fix: set requestId to null after fn was cancelled ( #34858 )
3 years ago
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
* refactor: feedbackIcon migration
* test: update snapshot
3 years ago
CommanderRoot
7c34addf57
refactor: replace deprecated String.prototype.substr() ( #34498 )
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
3 years ago
二货机器人
b51c900847
refactor: rm useDestroy hook ( #34418 )
3 years ago
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
3 years ago
MadCcc
37e042358d
feat: Input support status ( #33995 )
* feat: remove form status style && input support status
* test: update snapshot
* feat: update status prop in config provider
* fix: form item validateStatus support
* chore: code clean
* feat: status classname change
* test: update snapshot
* refactor: move formItemStatusContext to form folder
* refactor: merge utils
* refactor: rename statusUtils
* chore: code clean
* test: fix coverage
* chore: remove status prop of Form.Item
* chore: code clean
* docs: update demo
* test: fix lint
* feat: status only success and warning
* test: fix lint
* docs: update deamo
3 years ago
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
This reverts commit 6b1a48d5ed
.
3 years ago
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
3 years ago
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement ( #33541 )
* feat: select components add placement api
* feat: select components add placement api
* fix: delete placement
* fix: change md demo and delete export
* feat: cascader and tree-select add placement
* feat: datapicker add placement api
* fix: change repeat static declaration to single
* test: updata test units
* doc: change doc
* fix: delete merge message & delete decalare ts
* test: fix unit test
* fix: add transName in select & treeSelect & cascader
* fix: change common api in utils
* fix: change useless if block to only
* fix: change placement string to enum
* fix: lint done
Co-authored-by: 礼检 <ljj337009@antgroup.com>
3 years ago
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center ( #33658 )
* feat: add pointAtCenter prop for dropdown
* feat: dropdown support arrow pointing at center
* chore: code clean
* chore: use getPlacements in tooltip
* feat: dropdown support 'top' and 'bottom'
* chore: update snapshot
* chore: move placements to util folder
* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated
* test: update snapshot
* test: add test for topCenter and bottomCenter
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
727e394d75
feat: add useMountedRef hook
3 years ago
MadCcc
1d738d1902
fix: not allow setState in Popconfirm if unmounted
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
二货机器人
968590e8d0
chore: Mv style to rc-util ( #32177 )
3 years ago
二货机器人
9324e953e3
chore: Not preventEvent btn loading ( #32158 )
* chore: Not preventEvent btn loading
* test: Update snapshot
3 years ago
Jaimy de Graaf
c278430bf4
fix: Collapse crashing of hot-reload on change ( #31827 )
close #29918
3 years ago
Zuobin Wang
7f16838631
chore(all): delete useless Omit define ( #31661 )
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
二货机器人
7a3bf8287f
feat: Form `rule` support `warningOnly` that not block form submit ( #30829 )
* chore: bump rc-field-form
* docs: Demo driven
* refactor: Use event instead
* chore: collection logic update
* chore: clean up
* chore: show warning
* chore: warning no need required mark
* feat: warning example
* docs: mix error
* chore: tmp list
* chore: magic code
* chore: fix motion
* chore: fix style
* chore: clean up useless code
* chore: RM useless import
* chore: RM useless file
* test: Update snapshot
* chore: Should reset
* fix: Memo logic
* fix: Form basic test case
* fix: lint
* chore: back of ref
* test: Update snapshot
* test: RM ueseless test case
* chore: RM useless code
4 years ago
陈帅
0d1b1c40a6
merge featrue into master ( #30636 )
* feat: add Table expandable fixed (#29959 )
* fix: Use flex gap of space (#30023 )
* fix: use flex gap when supported
* test: update snapshot
* refactor: Use single hooks
* feat: Allow breadcrumb component in PageHeader (#30019 )
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Rename variable
rename var from _breadcrumbRender to breadcrumbRenderDomFromProps
* feat: add onChange for Statistic.Countdown (#30265 )
* feat: add onChange for countdown
* update the demo
* feat(upload): add onDrop (#30319 )
* feat(upload): Add onDrop
* Replace "if prop" logic with existential operator
* Remove redundant conditional
* feat(upload): itemRender add actions params (#30236 )
* feat(upload): itemRender add actions params
* chore: optimize type definition
* chore: update doc
* chore: rename actions
* chore: trigger ci
* chore: rename method name of actions
* feat: Add missing dutch translations (#30389 )
* feat: Add missing dutch translations
* fix: Translate remaining english values
* fix: Update snapshot for ui tests
* test: increase code coverage to 100% (#30415 )
* test: fix Space code coverage
* test: should use nl_BE locale for DatePicker
* fix: Switch tabIndex type (#30416 )
* feat: updated Romanian internationalization (#30419 )
* feat: updated Romanian internationalization
* fixed lint error
* feat: Menu support accessibility & keyboard access (#30382 )
* chore: Use focus style
* fix: prefixCls
* fix: prefixCls
* fix: inline tooltip
* fix: inlineCollapse logic
* fix: ts definition
* test: Update snapshot
* test: Update snapshot
* fix: dropdown logic
* test: Update snapshot
* test: Fix some test case
* bump rc-menu
* test: More test case
* fix test finder
* test: fix test case
* test: Update snapshot
* test: Update snapshot
* chore: Update ssr effect
* test: Update ConfigProvider snapshot
* test: Fix Table Filter test case
* test: Fix table test case
* chore: Update style
* chore: beauti css
* bump rc-menu
* test: update snapshot
* test: update snapshot
* test: Fix menu test
* test: Fix test case
* test: Coverage
* chore: clean up
* bump rc-menu
* ehance accessibility style
* feat(radioGroup): support data-* and aria-* props (#30507 )
close #30501
* feat: Typography add italic type (#30458 )
* Typography增加斜体字支持
* update snapshot
* 文档添加版本号
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
* chore: alpha Menu fix merge (#30546 )
* chore: Update script
* bump alpha version
* chore: Update script desc
* chore: bump rc-tabs & rc-mentions
* chore: Adjust style
* chore: 4.16.0-alpha.1
* test: Fix mention test case
* fix: sider of layout width style
* chore: bump 4.16.0-alpha.2
* fix: Tabs tabBarGutter should work as expected (#30545 )
close #30526
* feat: Table summary support sticky mode (#30631 )
* chore: Bump rc-table
* feat: Patch summary fixed color
* fix: style className
* test: Update snapshot
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
4 years ago
JuFeng Zhang
88c4aef1c3
fix(Collapse): end motion when set activeKey while hiding ( #30555 )
4 years ago
二货机器人
ebd60df124
fix: Use flex gap of space ( #30023 )
* fix: use flex gap when supported
* test: update snapshot
* refactor: Use single hooks
4 years ago
undefined
2ca113afd5
fix: Cannot read property 'removeChild' of null ( #29961 )
* fix: undefined error
fix: undefined error
* fix: exec order
4 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
二货机器人
2e35b4ee05
refactor: use rc-util for csp ( #29804 )
* refactor: use rc-util for csp
* update icons version
* add csp support
* update deps
4 years ago
bcd337
290aa1adf3
fix: error when target not an html element ( #29523 )
fix error when target is object but not an html element
4 years ago
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
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
陈帅
40f9be9417
megre Feature into master ( #29141 )
* feat: Allow user to configure the Tooltip in the Table header (#29002 )
* feat: Table header supports tooltipPlacement
* docs: add Table tooltipPlacement
* feat: Allow user to configure the Tooltip in the Table header
* fix: fix jsx and use old code style
* fix: replace if blocks with ternary operator
* docs: fix url
Co-authored-by: 偏右 <afc163@gmail.com>
* docs: fix url
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
* fix: Row with gutter has additional gap (#29059 )
* chore: init gutter
* feat: col support gap
* chore: Update playground
* fix: Safari padding
* test: fix test case
* test: More test case
* docs: Update demo
* test: Update coverage
* test: Update test hack
* feat(input-number): add keyboard prop to support disable keyboard (#29110 )
Co-authored-by: Ant Design GitHub Bot <yesmeck+ant-design-bot@gmail.com>
Co-authored-by: Harrison <stlebea@foxmail.com>
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
4 years ago
二货机器人
f45bb9f8e2
fix: Row with gutter has additional gap ( #29059 )
* chore: init gutter
* feat: col support gap
* chore: Update playground
* fix: Safari padding
* test: fix test case
* test: More test case
* docs: Update demo
* test: Update coverage
* test: Update test hack
4 years ago
Rick Zhou
986c709161
fix: styleForPseudo of wave should be added to ownerDocument instead of document ( #28995 )
* fix: styleForPseudo of wave should be added to ownerDocument instead of document
* fix lint error, reuse node from function parameter in wave.tsx
close #28934
4 years ago
xinhui.zxh
2dd4d9b0d4
feat: use useMemo for config-provider
4 years ago
xinhui.zxh
1d00ec2876
fix: config-provider ts error
4 years ago
xinhui.zxh
69295c5e1a
feat: fix useDeepMemo
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
Germini
481335bbaa
chore: wave component isHidden function has not invaild hidden css attribute ( #28291 )
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
偏右
28d3d9038f
perf( 📦 ): remove @ant-design/css-animation ( #28201 )
* perf(📦 ): remove @ant-design/css-animation
* fix test case
* fix test case
4 years ago
Elaina Cherudim
52ceeafa7e
chore: optimize useModal performance - Do not trigger rerender of parent component ( #28122 )
4 years ago
二货机器人
388edca10b
refactor: UploadList use `rc-motion` instead of `rc-animate` ( #27923 )
* chore: Update rc-motion version
* refactor: Move item into single file
* refactor: Use CSSMotion of progress bar
* chore: part style it
* chore: slit style of pic card
* chore: RM count-x
* support appendAction back
* chore: Style smooth
* fix progress makes shaking
* docs: clean up demo
* test: Update snapshot
* test: fix test case
* fix: lint
* test: Update snapshot
* test: coverage
* clean up
4 years ago