Commit Graph

12697 Commits

Author SHA1 Message Date
jer-sen
2f6d0d9a68
docs: update Modal doc (#28005)
* Typo and clarification for Modal.method closing

* Typo
2020-11-26 10:00:48 +08:00
xrkffgg
e1663d1fc2
style: optimize descriptions border in rtl (#28010) 2020-11-26 09:58:32 +08:00
二货机器人
20788d870c
fix: Badge should not do motion when appear (#28003)
* fix: Badge no need appear motion

* test: Update snapshot
2020-11-25 19:49:44 +08:00
xrkffgg
9db881ce91
refactor: improve mixins modal-mask (#27998) 2020-11-25 19:19:43 +08:00
二货机器人
e19d0e0357
fix: zeroWidth trigger sider not collapsible (#28000)
* test: Test driven

* fix: Hooks for reuse

* test: More test case
2020-11-25 17:28:17 +08:00
xrkffgg
0cec7ff982
fix: Steps vertical style in rtl (#27996) 2020-11-25 14:55:56 +08:00
偏右
05a82f2d48
fix: Menu custom icon style (#27983)
* fix: Menu custom icon style

close #27973

* fix snapshot
2020-11-25 14:31:51 +08:00
Charlie Jonas
fc4592bc06
docs: Added missing property documentation for "searchValue" on Select component (#27992) 2020-11-25 10:52:50 +08:00
偏右
323f99cbf2
fix: Search button style when customize less vars (#27986)
close #27965
2020-11-25 10:50:50 +08:00
Eugene Matvejev
3201693f34
chore: remove not need proxy-function in <Collapse /> (#27962)
* chore: remove not need proxy-function in <Collapse />

* [CodeFactor] Apply fixes to commit b2fa428

[ci skip] [skip ci]

* Update Collapse.tsx

Co-authored-by: codefactor-io <support@codefactor.io>
2020-11-25 10:50:22 +08:00
Eugene Matvejev
683eec118b
chore: make < TimelineItem /> a bit lighter, drop unneeded omit.js and defaultProps (#27961) 2020-11-24 20:19:35 +08:00
Eugene Matvejev
41a6c655bf
refactor: remove defaultProps from <Collapse /> and move logic to destruction, as rest of props for single source of truth (#27963) 2020-11-24 20:06:41 +08:00
偏右
0ca5e686d9
fix: Typography.Link copyable text default behavior (#27982)
close #27966
2020-11-24 20:05:49 +08:00
偏右
7c50bfb1ad
fix: Input.Search addonBefore style (#27960)
close #27829
2020-11-23 21:10:07 +08:00
偏右
7041989b7b
fix(🐛): Carousel throws error Unable to preventDefault inside passive event listener (#27957)
close #27927

https://github.com/akiran/react-slick/issues/1650
2020-11-23 18:47:21 +08:00
CodingYingYingYing
e0c19e4a3d
fix: 修改beforeUpload ts定义 (#27946)
Co-authored-by: zhoubingling.00 <zhoubingling.00@bytedance.com>
2020-11-23 13:14:54 +08:00
诸岳
709e048576 Merge branch 'master' into feature-branch-merge-master 2020-11-23 10:18:15 +08:00
陈帅
ec9111ed8d
fix: fix _internalItemRender transparent transmission problem (#27934) 2020-11-23 10:10:28 +08:00
Alexander Ionov
66f425c1ef
fix: CarouselRef type (#27935)
* CarouselRef type

* fix: CarouselRef type
2020-11-23 10:08:24 +08:00
诸岳
4317286c28
Merge pull request #27884 from ant-design/feat/statistic-suffix
feat: change statistic deciaml font size
2020-11-22 12:55:16 +08:00
xrkffgg
f4a69d3711
Merge pull request #27925 from ant-design/merge
chore: merge master into feature
2020-11-21 22:07:09 +08:00
He Linming
0ca5326176
feat: Support closeIcon of Modal.method (#27909)
* feat: Support closeIcon of Modal.method

close #27900

* style: update modal conform close style

* test: update unit test for close button of confirm modal

* docs: update api doc

* refactor: reuse modal close button

* test: update unit test

* feat: add closable api for ConfirmDialog

* chore: use default props

* Update default.less

Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-21 21:13:28 +08:00
Tom Xu
ea85335ca1
refactor: remove not use code (#27926) 2020-11-21 20:42:32 +08:00
Tom Xu
0676f07266 Merge branch 'feature' into merge 2020-11-21 19:50:41 +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
Matt Wilkinson
d0ed231dba
docs: fix typo on Component Overview docs (#27919)
* fix recommend typo

* fix: recommend typo

* fix: revert space added to pass Semantic check
2020-11-21 08:29:38 +08:00
xrkffgg
6412140cae
fix: RangePicker panel style & picker 2.4.0 (#27894)
* fix: RangePicker panel style & picker 2.4.0

* add snap & rtl

* add

* fix
2020-11-21 00:33:21 +08:00
陈帅
95ce54ca79
feat: FormItem support _internalItemRender (#27881)
* feat: formitem support _internalItemRender

* add mark

* up rc-field-form

* fix ts error

* Update components/form/FormItemInput.tsx

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* update notes

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-20 21:43:43 +08:00
Tom Xu
dfdea4c347 Revert "refactor: input remove not use code (#27895)"
This reverts commit d5b63f8a61.
2020-11-20 16:42:18 +08:00
Tom Xu
d5b63f8a61
refactor: input remove not use code (#27895) 2020-11-20 14:13:00 +08:00
二货机器人
093a458026
feat: Support label & content style of Desc (#27897)
* feat: Support label & content style of Desc

* test: Update snasphot

* docs: fix desc
2020-11-20 13:41:58 +08:00
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf (#27864) 2020-11-20 12:11:50 +08:00
Tom Xu
d4e8ac4499 fix: texterea test 2020-11-20 11:01:10 +08:00
Tom Xu
a9602b6d71 Merge branch 'feature' into merge-feature 2020-11-20 10:15:53 +08:00
Tom Xu
986fa9000f
refactor: AutoComplete dataSource prop type (#27892) 2020-11-20 10:11:58 +08:00
ElsaOOo
c7d591e9ab
fix: AutoComplete dataSource prop type error (#27870)
Co-authored-by: jingjing.ye <jingjing.ye@datayes.com>
2020-11-20 09:33:35 +08:00
Tom Xu
b3d0f1d2c6
refactor(checkbox): rewrite with hook (#27739)
* refactor(checkbox): rewrite with hook

* Update index.test.js.snap

* Update Group.tsx
2020-11-20 08:58:14 +08:00
Tom Xu
050185bce1
refactor(layout.sider): rewrite with hook (#27719)
* refactor(sider): rewrite with hook

* Update layout.tsx

* Update layout.tsx
2020-11-20 08:56:12 +08:00
兼续
310c16bf06 feat: change statistic deciaml font size 2020-11-19 19:07:53 +08:00
xrkffgg
1f935803f8
fix: Tree switcher icon in rtl (#27876)
* fix: Tree switcher icon in rtl

* remove
2020-11-19 17:20:32 +08:00
二货机器人
8e3c828c9f
feat: Form.List support initialValue (#27872)
* feat: upport initialValue List

* docs: Update doc
2020-11-19 14:29:57 +08:00
偏右
db49d1174c
style(💄): fix Switch loading style (#27860)
close #27858
2020-11-18 19:01:56 +08:00
二货机器人
507b596926
refactor: Replace Badge with rc-motion (#27848)
* refactor: Replace Badge with rc-motion

* fix: Cache for hidden

* fix: Dot style

* revert demo

* fix demo snapshot

* test: Update snapshot

* test: Update snapshot
2020-11-18 18:32:00 +08:00
偏右
6836414300
style(💄): optimize Skeleton color (#27836)
* style(💄): optimize Skeleton color

* Update package.json
2020-11-18 18:07:49 +08:00
二货机器人
4703001e15
Revert "fix(Select): export SelectInterface to avoid ts error (#27838)" (#27857)
This reverts commit bc566c0731.
2020-11-18 17:34:30 +08:00
二货机器人
5ea58857f9
test: Update snapshot (#27854)
* chore: Update badge snapshot

* test: Update snapshot
2020-11-18 17:23:46 +08:00
Joseph Burton
e3a013f6cf
refactor: remove duplicate deconstruction in components/form/Form.tsx (#27810)
* refactor: make the code more concise

* Update Form.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-11-18 15:29:26 +08:00
偏右
fa7cb53239
chore: update comment about break point
close https://github.com/ant-design/ant-design/issues/27843
2020-11-18 14:28:52 +08:00
Dave
4aa06ca28b
feat(type): export ImageProps interface (#27846) 2020-11-18 13:48:30 +08:00
liuchao233
c04e51048d
fix: Spin render 0 (#27839) 2020-11-18 11:59:29 +08:00
Tom Xu
30372ffad3
refactor(textarea): rewirte with hook (#27693)
* refactor(textarea): rewirte with hook

* Update TextArea.tsx

* Update TextArea.tsx

* Update TextArea.tsx

* Update ClearableLabeledInput.tsx

* fix

* improve

* Update TextArea.tsx
2020-11-18 11:27:58 +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
pd
bc566c0731
fix(Select): export SelectInterface to avoid ts error (#27838) 2020-11-17 22:05:32 +08:00
偏右
c464f61f39
Merge pull request #27822 from ant-design/master
chore: merge master into feature
2020-11-17 13:03:46 +08:00
二货机器人
1a8bb04bf8
chore: Use rc-util composeRef (#27821) 2020-11-17 12:01:02 +08:00
wf-francescoalbanese
696396a62f
refactor: make autosize true by default (#27814)
Made `autoSize = true` by default deconstructing it from props, rather than explicitly checking if it's undefined at render times.
2020-11-17 11:02:59 +08:00
Eugene Matvejev
1ab93a3cf4
refactor: Radio.Group defaultProps (#27807) 2020-11-17 11:01:05 +08:00
Tom Xu
572601fb4b
docs(cascader): change demo to hook (#27745) 2020-11-17 11:00:06 +08:00
afc163
a60ce663fe docs(📖): improve Menu doc
close #27820
2020-11-17 10:59:08 +08:00
二货机器人
92cefa8aa6
Merge pull request #27805 from atzcl/master
docs(TreeSelect): add onDropdownVisibleChange api description
2020-11-17 10:22:41 +08:00
Eugene Matvejev
21775482ab
refactor: improve card/Grid to save some bundle size after transpilation (#27804)
* improve card/Grid to save some space in transpile

* fix tslint error
2020-11-16 22:16:33 +08:00
atzcl
8e7c5b5e0a docs(TreeSelect): add onDropdownVisibleChange api description 2020-11-16 21:28:03 +08:00
偏右
f4c7058bd9
fix: Modal.confirm locale missing (#27797)
* fix: Modal.confirm locale missing

* fix snapshot

* refactor
2020-11-16 20:21:39 +08:00
Tom Xu
ef77539920
refactor(search): use context (#27657)
* refactor(search): use context

* Update Search.tsx
2020-11-16 19:18:48 +08:00
偏右
e0c26b4ac1
style(💄): fix Button and Form loading spin animation (#27794) 2020-11-16 18:05:00 +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
zombiej
e6e74564a1 update snasphot 2020-11-16 16:39:58 +08:00
zombiej
7af0cb0d9f chore: Feature merge master 2020-11-16 16:17:42 +08:00
youmoo
56b3c7539f
docs: fix typo in demo (#27781) 2020-11-16 09:27:02 +08:00
骗你是小猫咪
3f126f116f
test: skip tree virtual-scroll render (#27771)
* test: skip tree virtual-scroll render

* test: remove branches-ignore, and use head ref to fix when merged
2020-11-14 21:24:37 +08:00
Shengnan
9bcd511ae6
fix(select): tags mode white space wrapping issue (#27726)
Co-authored-by: baxtergu <gu.shengnan@iwhalecloud.com>
2020-11-14 16:30:13 +08:00
偏右
e7bed7cff7
perf(📦): upgrade @ant-design/colors and remove rc-trigger from deps (#27761)
* perf(📦): upgrade @ant-design/colors

* move rc-trigger to devDeps

* fix lint

* update snapshot

* update snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
wf-erikslokharts
478f611a16
chore: refactor LoadingIcon.tsx (#27765) 2020-11-14 00:13:48 +08:00
Eugene Matvejev
d1d215e222
chore: improve code style and perf (#27760) 2020-11-13 19:37:23 +08:00
Eugene Matvejev
9913062d42
small cleanup in button.tsx (#27759) 2020-11-13 19:26:48 +08:00
LeoYang
520407925a
docs(date-picker): modify datepicker select-in-range demo (#27751)
* feat: modify datepicker select-in-range demo

* fix: lint
2020-11-13 17:05:16 +08:00
afc163
7f8957eb9a docs(📖): improve useModal FAQ 2020-11-13 16:51:55 +08:00
叶枫
1155d44321
fix: checked 非必须 (#27717)
* fix: checked 非必须

* docs: desc

* fix: 😶

* Update CheckableTag.tsx

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-13 12:05:20 +08:00
Tom Xu
90872cf3bd
docs(select): change demo to hook (#27736) 2020-11-13 09:33:57 +08:00
xrkffgg
c80524f475
fix: Typography.Link disabled hover style (#27734) 2020-11-13 09:06:35 +08:00
Shivam Modi
3d04e5d3fb
docs: fixed nested ternary operator in Form (#27724) 2020-11-12 23:20:13 +08:00
einq7
652374ff4c
fix: DateRangePicker hover effect overflow (#27731)
* fix: DateRangePicker hover effect overflow

* fix: update rtl style
2020-11-12 23:11:21 +08:00
Tom Xu
57246c518f
docs(grid): fix api table (#27723) 2020-11-12 19:55:50 +08:00
Tom Xu
7b6bb4244d
docs(radio): change demo to hook (#27722) 2020-11-12 19:54:57 +08:00
Tom Xu
5b7811f2ee Merge branch 'feature' into merge 2020-11-12 15:24:00 +08:00
zombiej
8d1ed2822b docs: Remove useless code 2020-11-12 11:32:10 +08:00
Shivam Modi
5818fdb1a2
fix Specific Note for option other for Gender in Form (#27704) 2020-11-12 11:30:56 +08:00
xrkffgg
9c009f9bdb
style: add @radio-border-width (#27703) 2020-11-11 23:44:49 +08:00
Tom Xu
c3f6a38c65
docs(carousel): change demo to hook (#27698) 2020-11-11 20:13:36 +08:00
二货机器人
a987f7f3ed
chore: UPDATE menu version (#27663)
* chore: UPDATE menu version

* test: Fix part test

* test: Fix menu test case

* Update package.json

* fix: popup position style

* test: Fix test case

* style: fix ltr transition-origin

* fix: multiple dropdown

* fix: RTL menu arrow pos

* Update package.json

* force re-build

* force re-build
2020-11-11 19:05:01 +08:00
Tom Xu
16093118a4
refactor(carousel): rewirte with hook (#27694)
* refactor(Carousel): rewirte with hook

* add coverage
2020-11-11 17:23:05 +08:00
afc163
d4da406b13 docs(📖): improve cascader showSearch docs 2020-11-11 17:05:04 +08:00
Tom Xu
b3e75d5b57
style: fix Avatar src Image style (#27691) 2020-11-11 15:20:01 +08:00
偏右
6a1e9b0200
style: fix Select mutiple cursor position (#27689) 2020-11-11 11:53:02 +08:00
Tom Xu
4b8674d9e9
refactor(editable): rewrite with hook (#27655)
* refactor(editable): rewrite with hook

* Update Editable.tsx

* chore: imrpove

* Update Editable.tsx

* Update Editable.tsx

* Update Editable.tsx
2020-11-11 11:28:06 +08:00
jiang.he
9881be97fd
fix: update the slice rule when the TextArea component limits maxLength (#27679) 2020-11-11 00:56:57 +08:00
fish yu
e5319bd1df
fix: RangePicker align active-bar with small size (#27673)
* fix: RangePicker align active-bar with small size

* fix: RangePicker align active-bar with small size on RTL
2020-11-10 14:58:23 +08:00
偏右
8a3e271386
style: revert menu animation easing functions (#27651) 2020-11-10 11:18:39 +08:00