Tmk
c4ffbff841
fix: set requestId to null after fn was cancelled ( #34858 )
2022-04-05 13:01:18 +08:00
MadCcc
d0c4d7b0ec
feat: add useComponentStyle ( #34802 )
...
* feat: add useComponentStyle
* chore: auto generic
* feat: add overload
* feat: filter component token
* feat: genComponentStyleHook
* test: fix lint
* feat: button for test case
* chore: code clean
* chore: code clean
* feat: add componentCls into token
* feat: merge token statistic
* chore: code clean
* fix: cache token merge
* chore: code clean
* chore: add comment & rename variables
* chore: code enhancement
* chore: FullToken<ComponentName>
* chore: clean input
* chore: code clean
* test: fix lint
* feat: inset prefixCls
Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-02 22:55:02 +08:00
Long Hao (龙濠)
bffdf0dee5
refactor: Empty cssinjs ( #34842 )
...
* feat: next-empty finish
* fix: add comment and remove type
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-04-02 18:17:14 +08:00
二货机器人
1dc998ace5
docs: Access component use which token ( #34827 )
...
* chore: token of it
* chore: not only
* chore: site always can statistic
* chore: shows
* chore: ignore useless coverage
2022-04-01 17:00:12 +08:00
MadCcc
833ff22728
refactor: form cssinjs ( #34679 )
...
* refactor: form cssinjs
* fix: use rootPrefixCls
* feat: enhance
* test: update snapshot
* chore: code clean
* refactor: code enhance
* chore: code clean
* feat: add feedback icon style
* fix: padding
* feat: add motion easeout
* fix: explain padding
* fix: style
* chore: code clean
* test: update snapshot
2022-03-30 14:13:36 +08:00
二货机器人
d437f9fad9
refactor: More token used on component ( #34766 )
...
* chore: add fontSizeIcon
* chore: cascader
* chore: slider token
* chore: slider token
* chore: move to outline
* chore: input style
* chore: input align
* chore: slider full
* chore: align inputNumber
* chore: input token
* chore: input-number token
* chore: mention token
* fix: ts def
2022-03-29 15:57:39 +08:00
MadCcc
9f3dc50df6
Merge branch 'next' into next-merge-feature
2022-03-25 20:19:42 +08:00
MadCcc
cf18b1443b
Merge branch 'feature' into next-merge-feature
2022-03-25 20:08:05 +08:00
二货机器人
2aa33578c2
refactor: Align with token ( #34713 )
...
* chore: Divider full token
* chore: typography with tokn
* chore: select with token
* chore: tree with token
* chore: select style
* chore: select style
* chore: clean up
2022-03-25 17:54:57 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
...
* refactor: feedbackIcon migration
* test: update snapshot
2022-03-25 17:48:12 +08:00
xrkffgg
1627207255
refactor: popover cssinjs ( #34607 )
...
* refactor: popover cssinjs
* fix cls
* fix cls
* fix overlay
* fix: token
* fix: util
* fix: block -> line
* fix: interface
2022-03-25 13:20:42 +08:00
二货机器人
ebf52122a2
refactor: Button use full token & remove all withPrefixCls
& support overrides ( #34690 )
...
* chore: init
* chore: button token
* chore: rm all withPrefixCls
* feat: overrides work
* feat: theme can be nest
* test: Update snapshot
* fix: memo logic
2022-03-24 18:44:42 +08:00
二货机器人
d952088650
refactor: More alias token ( #34681 )
...
* chore: colorHighlight
* chore: bgSecondary
* chore: colorLink
* chore: link style
* chore: rm fly variables
* chore: colorAction
* chore: add warning comment
* chore: token outline
* chore: colorBgXXX
* chore: alert
* rm: zIndex
* chore: rm zIndexComponent
* fix: tag color checkabl
* chore: tags tmp
2022-03-24 14:30:48 +08:00
二货机器人
b967f9eb81
refactor: More alias token ( #34658 )
...
* chore: rm disabled color
* chore: color heading
* chore: shows tokn
* chore: fix color mapping
* chore: status colors
* chore: durations
* chore: outline color
* chore: comment info
* chore: background color
* chore: merge nexr
2022-03-22 20:02:04 +08:00
Long Hao (龙濠)
18c4fe5fd9
refactor: next-affix change affix use cssinjs ( #34558 )
...
* refactor: next-affix
* fix: wrong spell
* fix: add fixme
* fix: prefixnam
* fix: change hash to classname
* fix: omit hashclassName
* fix: change name to rootclassName
* fix: rootClassName add
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-03-22 13:27:12 +08:00
二货机器人
a7a180b913
refactor: Color related token ( #34648 )
...
* chore: move controlHeight in der
* chore: controlLineWidth
* chore: controlRadius
* chore: color
* chore: outline width
* chore: outline width
* chore: rm outlineBlurSize
* chore: colorTextLightSolid
2022-03-22 13:26:29 +08:00
二货机器人
608ce271b1
refactor: Move token to latest one ( #34637 )
...
* chore: rename motion
* chore: primary color
* chore: success color
* chore: all colors
* chore: mv control height up
* chore: font size format
2022-03-22 09:37:37 +08:00
二货机器人
f3f1dbf1b1
refactor: Move design token in ( #34624 )
...
* chore: move in
* wip: refactor the structure of design token
* refactor: merge override
* chore: mv in
* chore: fix ts
* chore: tmp all
* chore: comment
* chore: comment
* chore: use variables
* fix: compile error
Co-authored-by: arvinxx <arvinx@foxmail.com>
2022-03-21 16:48:25 +08:00
iamkun
5d3bdf4c34
refactor: refactor badge component with css in js ( #34386 )
...
* refactor: refactor badge component with css in js
* refactor: refactor ribbon component with css in js
* update: update ribbon css
* fix review
* fix review
* fix review
2022-03-18 17:26:17 +08:00
afc163
ef09eefb85
refactor: Typography move to cssinjs ( #34372 )
...
* refactor: move to css in js
* add some style
* update code style
* update
* update
* update
* update
* add reset styles
* use token.errorColors
* remove less files
* add operationUnit
* getEditableStyles
* fix overflow
* fix ediable/copy
* fix ediable/copy
* refactor: move to css in js
* add some style
* update code style
* update
* update
* update
* update
* add reset styles
* use token.errorColors
* remove less files
* add operationUnit
* getEditableStyles
* fix overflow
* fix ediable/copy
* fix ediable/copy
* rtl style
* rtl style
* add TypographyToken
* fix ts
* use GenerateStyle<TypographyToken>
* fix ts errors
* fix ediable
* remove comment
* fix ediable
* fix ediable
* revert less files
* comment less
* fix review issues
* fix review issues
* fix review issues
* fix missing style
2022-03-16 19:10:36 +08:00
vagusX
11ffb1ba6f
refactor: cssinjs for tag ( #34422 )
...
* feat: basic implements
* feat: add rtl
* feat: reorganize types
* test: add test cases for capitalize
* test: improve coverage
* chore: improve types
* chore: update
* chore: update
2022-03-15 15:33:50 +08:00
zombiej
a338a1b00e
Merge branch 'master' into next
2022-03-15 14:14:14 +08:00
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>
2022-03-15 10:41:12 +08:00
MadCcc
d446bafc6b
refactor: cssinjs for textarea ( #34484 )
...
* refactor: cssinjs for textarea
* chore: code clean
* refactor: better code style
* test: fix lint
* chore: code clean
* test: fix rtl warning
2022-03-14 20:57:01 +08:00
二货机器人
cd30664ce3
refactor: slider with cssinjs ( #34489 )
...
* chore: slider cssinjs
* chore: clean up
2022-03-14 19:12:10 +08:00
github-actions[bot]
15112c0653
chore: auto merge branchs ( #34432 )
...
chore: sync master into next
2022-03-11 07:27:50 +00:00
二货机器人
80bf60c717
chore: Add GenerateStyle ts def ( #34429 )
...
* chore: Alert with types
* chore: rest component
* chore: more
* chore: fix lint
2022-03-11 14:29:29 +08:00
二货机器人
b51c900847
refactor: rm useDestroy hook ( #34418 )
2022-03-10 18:54:32 +08:00
Long Hao (龙濠)
4db1fc1a20
refactor: change divider into cssinjs ( #34364 )
...
* refactor: change divider into cssinjs
* fix: token and logical css
* fix: token to margin
* fix: token add marginLG 24px margin * 1.5 = 16 * 1.5
* fix: comment the _style less
* fix: move file
* fix: add px for marginNumber
* fix: borderwidth
* fix: delete test css
* fix: add comment fixme
* fix: add dividerNotDefaultTextPadding token to divider
* fix: add prefixCls to fix the inner classname
* fix: delete useless code
* fix: delete withPrefix
* fix: delete import
* fix: wrapper with prefixCls
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-03-10 13:59:49 +08:00
MadCcc
228d451832
refactor: input support cssinjs ( #34288 )
...
* refactor: input with cssinjs
* refactor: input cssinjs
* refactor: rtl
* chore: code clean
* chore: code clean
* refactor: adapt hash
* refactor: use input token
* refactor: status
* fix: style
* fix: rtl
* chore: update token
* chore: code clean
* chore: code clean
* chore: code clean
* refactor: enhance token
* fix: enhance padding
* perf: replace rtl styles
* refactor: place placeholder in input
* perf: rtl
* refactor: code perf
* style: code style
* fix: prefixCls
2022-03-09 10:38:02 +08:00
二货机器人
de24558a6c
refactor: Cascader cssinjs ( #34374 )
2022-03-09 00:29:00 +08:00
二货机器人
068584b76c
refactor: change Select into CSSINJS ( #34339 )
...
* chore: init
* chore: init single
* chore: merge next
* chore: select single base
* chore: basic all style of select
* chore: speed of dropdown
* chore: move size in single
* chore: single size
* chore: lg style
* chore: left & right
* chore: rtl
* chore: auto rtl
* chore: rtl
* fix: height cal
* chore: clean up
* chore: status color
2022-03-08 10:29:00 +08:00
vagusX
4459a200bb
refactor: cssinjs for Result ( #34317 )
...
* refactor: cssinjs for Result
* chore: add some comments
* style: use marign inline to remove rtl styles
2022-03-07 14:20:10 +08:00
xrkffgg
8b1e5a2ab5
refactor: cssinjs alert ( #34285 )
...
* refactor: cssinjs alert
* fix: color
* fix: default
* fix: cs
* fix: ssr
* fix: ssr
* fix: ssr
* fix: ssr
2022-03-04 19:09:55 +08:00
github-actions[bot]
6b08487afc
chore: auto merge branchs ( #34284 )
...
chore: merge master into next
2022-03-03 09:52:51 +00:00
二货机器人
43eaa357b4
chore: cssinjs hashed as default ( #34272 )
...
* checkbox hashId support
* chore: tree hashed
* chore: fix lint
* fix: compile
2022-03-03 14:55:19 +08:00
二货机器人
989a27ada8
refactor: tree support cssinjs ( #34258 )
...
* chore: part of tree
* chore: tree cssinjs
* chore: fix lint
* refactor: RTL support
* fix: checkbox hover logic
* chore: rtl use same style
* fix: check style priority
2022-03-02 20:32:25 +08:00
二货机器人
20ae690b14
refactor: Cssinjs checkbox ( #34247 )
...
* refactor: Checkbox support cssinjs
* chore: clean up
* chore: clean up
2022-03-01 21:12:00 +08:00
zombiej
4aac9f7522
chore: simplify style requirement
2022-02-27 22:17:17 +08:00
二货机器人
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
2022-02-18 14:17:32 +08:00
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
...
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
2022-02-16 11:48:24 +08:00
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
2022-02-14 17:09:35 +08:00
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>
2022-01-20 16:54:47 +08:00
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
2022-01-13 13:34:34 +08:00
MadCcc
3effa51572
refactor: refactor useMounted to useDestroyed
2021-12-29 17:10:16 +08:00
MadCcc
285e2bd9ea
refactor: refactor useMountedRef to useMounted
2021-12-29 14:42:00 +08:00
MadCcc
6d098783fc
test: add test for react memory leak warning in Popconfirm
2021-12-29 11:31:50 +08:00
MadCcc
727e394d75
feat: add useMountedRef hook
2021-12-28 17:21:00 +08:00
MadCcc
1d738d1902
fix: not allow setState in Popconfirm if unmounted
2021-12-27 18:06:46 +08:00
zombiej
dd1670a3b4
chore: merge master
2021-11-26 15:19:31 +08:00
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>
2021-11-26 12:18:21 +08:00
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>
2021-10-15 11:19:14 +08:00
二货机器人
968590e8d0
chore: Mv style to rc-util ( #32177 )
2021-09-15 14:13:32 +08:00
二货机器人
9324e953e3
chore: Not preventEvent btn loading ( #32158 )
...
* chore: Not preventEvent btn loading
* test: Update snapshot
2021-09-14 15:31:42 +08:00
afc163
8416e31821
chore: resolve conflict between master and feature
2021-08-23 17:48:23 +08:00
Jaimy de Graaf
c278430bf4
fix: Collapse crashing of hot-reload on change ( #31827 )
...
close #29918
2021-08-18 11:40:44 +08:00
afc163
b56f6110fa
merge feature into master
2021-08-16 14:42:04 +08:00
Zuobin Wang
7f16838631
chore(all): delete useless Omit define ( #31661 )
2021-08-04 20:07:28 +08:00
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
2021-06-09 12:18:52 +08:00
二货机器人
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
2021-06-04 14:44:41 +08:00
陈帅
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>
2021-05-24 16:24:00 +08:00
JuFeng Zhang
88c4aef1c3
fix(Collapse): end motion when set activeKey while hiding ( #30555 )
2021-05-18 13:02:17 +08:00
undefined
2ca113afd5
fix: Cannot read property 'removeChild' of null ( #29961 )
...
* fix: undefined error
fix: undefined error
* fix: exec order
2021-04-03 22:31:13 +08:00
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
2021-03-25 11:57:49 +08:00
二货机器人
2e35b4ee05
refactor: use rc-util for csp ( #29804 )
...
* refactor: use rc-util for csp
* update icons version
* add csp support
* update deps
2021-03-19 16:23:25 +08:00
bcd337
290aa1adf3
fix: error when target not an html element ( #29523 )
...
fix error when target is object but not an html element
2021-02-26 18:43:15 +08:00
叶枫
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
2021-02-08 17:09:13 +08:00
二货机器人
9914ceb6be
fix: Grid flexGap lazy check ( #29202 )
...
* fix: get flex gap support before render
* chore: patch unit
* chore: rename
* test: fix test case
2021-02-03 15:39:51 +08:00
陈帅
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>
2021-02-01 10:15:39 +08:00
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
2021-01-24 17:41:06 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +08:00
Germini
481335bbaa
chore: wave component isHidden function has not invaild hidden css attribute ( #28291 )
2020-12-10 12:16:06 +08:00
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>
2020-12-09 17:12:32 +08:00
偏右
28d3d9038f
perf( 📦 ): remove @ant-design/css-animation ( #28201 )
...
* perf(📦 ): remove @ant-design/css-animation
* fix test case
* fix test case
2020-12-04 19:36:16 +08:00
Elaina Cherudim
52ceeafa7e
chore: optimize useModal performance - Do not trigger rerender of parent component ( #28122 )
2020-12-02 20:00:31 +08:00
二货机器人
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
2020-11-21 19:00:11 +08:00
Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts ( #27920 )
...
ref.ts remove
2020-11-21 15:40:06 +08:00
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf ( #27864 )
2020-11-20 12:11:50 +08:00
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
2020-11-18 11:20:31 +08:00
二货机器人
b8861dc483
refactor: Replace BackTop with rc-motion ( #27840 )
2020-11-17 23:03:07 +08:00
二货机器人
1a8bb04bf8
chore: Use rc-util composeRef ( #27821 )
2020-11-17 12:01:02 +08:00
Hossein Mohammadi
4b1000fb7f
fix: React 17 findDOMNode is deprecated ( #27755 )
...
* fix: use ref instead of findDOMNode
* chore: use fillRef in setAndForwardRef
* chore: use rc-util fillRef instead
* chore: use support ref
* test: removed empty class
* chore: use composeRef instead of setAndForwardRef
2020-11-16 16:46:46 +08:00
Tom Xu
5e85ce47a0
chore: improve useCombinedRefs ( #27352 )
2020-10-24 23:52:59 +08:00
Tom Xu
6e0981d1df
refactor(responsive-observe): improve typescript type ( #27305 )
2020-10-23 10:57:13 +08:00
Tom Xu
179ee276c9
refactor: improve useCombinedRefs code ( #27181 )
...
* improve: useCombinedRefs code
* change location
2020-10-16 10:21:21 +08:00
二货机器人
dcd97ca46e
Merge pull request #27055 from ant-design/master
...
chore: Feature merge master
2020-10-09 17:28:17 +08:00
Rain120
820aa04a96
fix: words spell error at the file of wave.tsx ( #27013 )
2020-10-07 02:09:08 +08:00
zombiej
358c7fa4c4
chore: feature merge master
2020-09-22 10:56:04 +08:00
偏右
fc5e0a9155
test: ✅ 100% coverage ( #26839 )
...
* test: isStyleSupport
* test: 100% test coverage
2020-09-21 18:32:24 +08:00
偏右
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
2020-09-20 21:13:43 +08:00
偏右
40cee55141
test: add test case for switch click effect ( #26815 )
2020-09-18 17:53:37 +08:00
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
...
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
偏右
4a86b75c74
Merge pull request #26768 from ant-design/master
...
chore: merge master into feature
2020-09-16 14:49:19 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
...
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
二货机器人
b713f457f0
Merge pull request #26630 from ant-design/master
...
chore: merge master into feature
2020-09-07 23:10:36 +08:00
偏右
a409f3126f
test: ✅ add test cases to increase coverage ( #26559 )
...
* test: ✅ add test cases to increase coverage
* chore: remove console
2020-09-03 13:36:23 +08:00
xrkffgg
09e19b765d
chore: merge master into feature #26557
2020-09-03 11:30:46 +08:00
二货机器人
0097d34d01
fix: Update rc-motion
deps & fix ssr ( #26542 )
...
* chore: Update rc-motion deps
* frame wheel not prevent scroll
* update ts
2020-09-02 18:30:27 +08:00
Will Soares
9101f3666a
feat: add support to responsive sizes in Avatar component ( #26244 )
...
fix lint and test failures
update avatar demo card title
update ts type check for undefined
2020-08-29 13:43:52 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle ( #26270 )
2020-08-19 09:50:04 +08:00