Commit Graph

453 Commits

Author SHA1 Message Date
二货机器人
870b72af88
docs: 4.17.0 changelog (#32859)
* docs: 4.17.0 changelog

* test: Update snapshot

* docs: Update desc

* docs: merge changelog
2021-11-15 19:35:25 +08:00
github-actions[bot]
bac876a14d
chore: auto merge branchs (#32839)
chore: sync master to feature
2021-11-12 07:15:31 +00:00
二货机器人
ce006bd44e
docs: Version Robin (#32830) 2021-11-12 11:46:42 +08:00
seaSuper
9bc148abcc
feat: ConfigProvider add form colon (#32818)
* feat: ConfigProvider add form colon

* add: test for ant-design#32799

* fix: Modify FormItemLabel get ConfigColon from From

* refactor: Simplify the code
2021-11-11 17:51:33 +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
二货机器人
7c330b77d1
chore: Adjust Collapse header style (#32492)
* chore: Adjust collapse header style for align

* chore: replace variable

* test: Update snapshot
2021-10-14 17:16:38 +08:00
afc163
827225b895
chore: replace demo image to public avatar resources (#32479)
* docs: replace avatar image to joeschmoe placeholder

* docs: usage randomme avatar url
2021-10-14 12:09:07 +08:00
afc163
6d3973fb95
chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1 (#32444)
* chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.7.0 to 25.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/v24.7.0...v25.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 and warnings

* fix rc-slider version

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 13:14:26 +08:00
Michael Adams
bdbbbb9f9e
fix: typescript error in ConfigProvider. (#32406) 2021-10-09 10:24:41 +08:00
二货机器人
5161e9c671
feat: Tree support draggable handler (#32306)
* chore: Add draggable style

* chore: Add handler style

* refactor: Add dragging style

* chore: merge api

* chore: test case

* docs: Update doc desc

* test: More coverage

* chore: bump version

* test: Update snapshot
2021-09-27 15:54:06 +08:00
二货机器人
272ff9885a
fix: Cascader missing props (#32143)
* fix: Cascader deps

* docs: Update using new API

* test: Test case cover

* chore: compressed skip dup check
2021-09-13 15:59:57 +08:00
绯一
008242b35e
chore: add Button.shape 'default' definition (#32004)
* feat: add Button.shape 'default'

* fix: ignore shape when falsy value

* fix: generate className only when shape match

* fix: remove necessary .ant-btn-default and update snapshot
2021-09-13 15:29:57 +08:00
afc163
0f47b50df0
fix: Alert message could be nullable (#32057)
* fix: Alert message could be nullable

close #32047

* update snapshot
2021-09-07 13:07:41 +08:00
Shengnan
e4cbb9cedd
chore: update rc-drawer & fix snap (#32007)
* chore: bump rc-drawer to 4.4.2

* feat: DrawerProps interface add autoFocus support

* docs: add autoFocus to Drawer doc

* fix: snapshot update

* fix: snapshot update

* Update components/drawer/index.en-US.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-09-02 18:57:25 +08:00
二货机器人
93dd93bf45
docs: add 4.17.0-alpha.0 changelog (#31987)
* chore: 4.17.0 changelog

* chore: Update emoji

* docs: Update changelog

* docs: dynamic theme ref

* chore: bump version

* docs: Update content

* docs: Add ref

* docs: Add rc changelog

* chore: bump version

* test: Update snapshot
2021-09-01 15:39:09 +08:00
二货机器人
36bcaaef85
Add variable.less to support css variable (#31496)
* chore: use varaible.less

* chore: basic primary varaible

* chore: Move to variable

* chore: align active color

* chore: global fix of css variable

* chore: primary colors

* chore: button danger

* chore: btn default error color

* chore: button series

* chore: More examples

* chore: More components

* chore: Form demo

* chore: form style

* fix: Tag & Alert variable

* chore: update footer

* chore: rm tmp code

* chore: transfer

* fix: picker column active color

* chore: Adjust active bg color

* chore: table hover color

* chore: all css variables

* chore: Global using variables

* chore: Test case

* chore: Update test logic

* chore: back of default less

* chore: entry of site use proxy style

* chore: update entry

* chore: split of variables

* refactor: quick dist speed

* fix: site use variable version

* chore: Update less config

* chore: add mv script

* chore: Update repalcement script

* chore: Add inject variables

* chore: Update script

* fix: script path

* chore: Move to component instead

* chore: fix condition

* chore: update config

* chore: Update in less transform

* chore: Modify logic

* chore: change to variables

* chore: Update name

* fix: script name

* chore: do inject

* revert: back of path

* chore: 2 way of generate

* bump tools

* chore: Add auto replacement script

* chore: auto genrate less file

* chore: fix test

* test: More test case

* chore: Update limit config

* test: coverage

* docs: Update doc
2021-09-01 10:56:50 +08:00
二货机器人
282b7c8575
feat: Cascader support multiple mode (#31936)
* chore: Update cascader version

* chore: replace cascader

* chore: default allowClear

* chore: Update docs

* test: Back of part

* test: More snapshot

* test: more and more

* test: Failed of defaultValue

* test: all basic test case

* test: All snapshot

* chore: Update cascader

* chore: disable react/jsx-no-bind

* chore: fix lint

* chore: fix less order

* chore: fix deps

* docs: Update multiple demo

* docs: Add multiple example

* test: Update snapshot

* test: update snapshot
2021-08-31 15:51:02 +08:00
二货机器人
47f2bd47e1
feat: Select & TreeSelect support fieldNames (#31925)
* feat: Select & TreeSelect support fieldNames

* test: Update snapshot

* chore: force trigger CI
2021-08-27 11:48:59 +08:00
afc163
b56f6110fa merge feature into master 2021-08-16 14:42:04 +08:00
afc163
f0163aa337
fix: Form label hide title on help icon and optional text (#31785)
close #31769
2021-08-13 17:06:30 +08:00
afc163
7084654731
docs(): release 4.16.11 (#31710)
* docs(): release 4.16.11

* update pagination snapshot
2021-08-08 20:02:13 +08:00
Map1en_
8f3f0076de
fix: ConfigProvider rerender unexpectedly when switching some language (#31630)
* fix: ConfigProvide could not maintain the state of components when switching some lang

close #31592

* chore: add test case

* Update components/config-provider/index.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* chore: fix checks

Co-authored-by: afc163 <afc163@gmail.com>
2021-08-04 13:45:35 +08:00
二货机器人
86c5bf6e60
feat: Tree support fieldNames (#31395)
* feat: Tree support fieldNames

* docs: Update desc

* chore: Update snapshot
2021-07-14 14:23:50 +08:00
afc163
c3eda10999 chore: sync feature into master 2021-07-12 19:28:42 +08:00
afc163
a145336687
fix: BackTop should disappear when fade out (#31357)
* fix: BackTop should disappear when fade out

close #31253

* remove default value of removeOnLeave and motionAppear

* fix snapshot
2021-07-12 19:25:45 +08:00
afc163
993b934c7f merge feature into master 2021-06-29 17:09:39 +08:00
netcon
6ee413c604
fix: span element should not contains p element in Badge (#31042)
fixes #30916
2021-06-22 22:53:55 +08:00
afc163
62949a6bd6
feat: change Drawer close icon placement and add extra property (#30908)
* feat: Drawer supports extra

* docs: add description for drawer extra demo

* docs: add extra in API

* update snapshot

* fix rtl style

* fix demo typescript errors

* update snapshot

* design for close icon only

* update snapshot

* update demo and default width

* add size prop

* improve demo

* update snapshot

* update demo

* update snapshot
2021-06-11 08:39:17 +08:00
二货机器人
eb70f00513
feat: ConfigProvider static function support iconPrefixCls (#30925)
* feat: Static iconPrefixCls

* feat: message & notification support iconPrefixCls

* docs: Update doc

* chore: Force update

* fix: ts def
2021-06-09 15:36:59 +08:00
二货机器人
93c33fbf93
fix: patch more style of errorList (#30887)
* fix: patch more style of errorList

* chore: Use className instead

* test: Update snapshot

* test: Update snapshot
2021-06-07 14:32:07 +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
afc163
9f0dbf2b4d
chore: upgrade to jest 27 (#30783)
* chore: upgrade devDeps

* upgrade @ant-design/tools

* support  CSS Minification

* test: jsdom as testEnvironment

* fix setImmediate

* update snapshot

* fix test

* fix test

* fix test

* fix test
2021-06-01 10:11:24 +08:00
afc163
7427f52a64
fix: Table column align with sorter and filter (#30744)
* fix: Table column align with sorter and filter

close #30741

* update snapshot
2021-05-28 13:27:58 +08:00
zombiej
737c172c2b test: Update snapshot 2021-05-28 11:44:16 +08:00
二货机器人
0a0fa61cb5
fix: Long text of menu ellipsis issue (#30682)
* fix: menu item long text ellipsis

* test: Update snapshot

* test: Update snapshot
2021-05-25 20:52:52 +08:00
afc163
082f626a3e
style: redesign Table header action (#30651)
* feat: improve Table filter and sorter position

* fix: edge cases of th border

* fix lint

* style: apply new design

* fix css detail

* fix stylelint

* fix css error

* style: sorter icon hover color

* fix test cases

* update snapshot

* fix th padding

* fix calc

* style: fix dark theme
2021-05-24 22:16:06 +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
Kermit
9275866f24
chore(config-provider): support dynamic prefixCls (#30625) 2021-05-24 11:46:12 +08:00
Bernard Niset
e49281c7f5
feat: Apply ConfigProvider componentSize on Tabs component (#29844) 2021-03-24 12:23:24 +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
afc163
99289a0856
style: better Checkbox/Radio label text layout (#29788)
* style: optimize checkbox label text layout

* style: optimize radio label text layout

* fix transfer checkbox position

* fix checkbox align issue in Transfer

* fix snapshot
2021-03-17 14:56:32 +08:00
xrkffgg
b5ac892ada docs: perf website 2021-03-16 09:33:16 +08:00
杨兴洲
d775fb830d
docs: fix ConfigProvider doc typo (#29776) 2021-03-15 22:40:40 +08:00
二货机器人
2e5c848799
fix: message with prefixCls should not break (#29574)
* fix: compitable for legacy usage

* chore: Add modal warning

* fix lint

* test: ConfigProvider.config
2021-03-02 11:53:12 +08:00
afc163
ba7fa15058 merge feature into master 2021-02-23 13:20:07 +08:00
afc163
76434a15df
chore(🆙): upgrade devDeps (#29418)
* chore(🆙): upgrade devDeps

* prettier code

* fix dnd demo

* fix react-dnd demo

* fix npm start and demo tsx compile

* fix snapshot
2021-02-23 10:45:11 +08:00
二货机器人
bec5a08368
feat: InputNumber support stringMode (#29373)
* add input-number demo

* update snapshot

* update demo

* docs: Update desc

* update doc

* clean up React useLayoutEffect warning

* fix ts definition

* re-trigger

* update rc-uitl version

* bump rc-input-number

* update

* update

* fix ts

* update demo snapshot

* update doc

* update demo
2021-02-22 22:07:19 +08:00
叶枫
10c326ee94
feat: 添加全局静态配置 (#29285)
* feat: 添加全局静态配置

* chore: change globalConfig

* chore: change globalPrefixCls

* chore: review

* feat: 恢复 message 静态 prefix

* feat: modal

* feat: notification

* fix: prefix

* fix: prefix

* fix: 添加 test

* chore: review

* docs: doc

* chore: en

* chore: test

* fix: notification config set empty

* chore: link

* chore: change name

* chore: doc

* chore: doc
2021-02-09 21:49:15 +08:00
xrkffgg
dcc0ffa016
chore : prettier code (#29123)
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
二货机器人
f1568a656a
Badge number (#29100)
* init number component

* use single nodes

* clean up

* add current class

* clean up

* fallback

* fix: Safari render issue

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test : Update snaposhot

* test : Update cp snaposhot
2021-01-29 14:27:36 +08:00
二货机器人
cbbffe4a98
chore: Import IconContext directly (#29045) 2021-01-26 16:18:13 +08:00
陈帅
0afdbe4d4a
fix: exporting common types (#28963)
* exporting common types

* no use importype

* fix test

* try fix test

* Update components/index.tsx

Co-authored-by: 偏右 <afc163@gmail.com>

* remove typo

* fix test

Co-authored-by: 偏右 <afc163@gmail.com>
2021-01-24 23:24:06 +08:00
二货机器人
f01066467e
feat: ConfigProvider support iconPrefixCls (#28924)
* add iconPrefixCls support

* test: Update test case

* update less variable
2021-01-19 17:33:05 +08:00
二货机器人
aea8c34958
Merge pull request #28792 from zxc0328/config-provider-fix
fix: add memorization for ConfigProvider (#27617)
2021-01-19 15:33:05 +08:00
xinhui.zxh
ccc56546ad feat: rm Consumer usage in test case 2021-01-18 16:51:34 +08:00
xinhui.zxh
6029b18056 fix: remove reduant getConfig call 2021-01-15 23:11:11 +08:00
偏右
ec6f198b0d
fix: Empty description validateDOMNesting warning (#28862)
* fix: Empty description validateDOMNesting warning

close #28860

* update snapshot
2021-01-14 16:29:48 +08:00
xinhui.zxh
0418448571 fix: undo change for configConsumerProps 2021-01-13 17:52:01 +08:00
xinhui.zxh
6292e8b53c feat: use rc-util's useMemo for config provider 2021-01-13 17:05:05 +08:00
xinhui.zxh
749f03e424 feat: use useCallback for getPrefixCls 2021-01-13 13:02:56 +08:00
xinhui.zxh
2dd4d9b0d4 feat: use useMemo for config-provider 2021-01-12 21:02:53 +08:00
xinhui.zxh
81129554ce feat: use hooks to memo config-provider config 2021-01-12 10:40:15 +08:00
xinhui.zxh
91c4cb2793 fix: add memorization for ConfigProvider (#27617) 2021-01-09 15:23:28 +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
Tom Xu
32a9ba52b8
chore: 🆙 upgrade react 17 (#27268)
#26136
2020-12-01 18:28:35 +08:00
二货机器人
7bea2380c5
chore: Bump tree & treeSelect version (#28068)
* chore: Bump version

* test: Update snapshot
2020-11-30 13:39:01 +08:00
jesse
4b3aa350b8
feat: Add action in Alert and replace with flexbox layout (#25892)
* feat: Add action in Alert and replace with flexbox layout

* update

* update test

* doc

* Revert "update"

This reverts commit aef6e135a757341becdb01082238d48f7648ec5e.

* Update index.less

* Update index.less

* update test

* Update index.test.tsx.snap

* @alert-closable-padding-right

* Update index.less

* correct top of icon

* correct top of close icon

* fix @alert-closable-padding-right

* update

* doc

* Update components/alert/demo/action.md

Co-authored-by: 偏右 <afc163@gmail.com>

* Remove duplicate css

* Simplify styles of close-icon

* font size of close icon

* update test

* update test

* Remove unused less var

Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-30 11:04:56 +08:00
07akioni
35ee97dad4
refactor: tree drag behavior (#26462)
* refactor: Tree drag behavior

* fix: cov

* docs: Tree draggable, specify the difference compared with last version
2020-11-29 14:15:08 +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
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
偏右
f4c7058bd9
fix: Modal.confirm locale missing (#27797)
* fix: Modal.confirm locale missing

* fix snapshot

* refactor
2020-11-16 20:21:39 +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
xrkffgg
3c157e637d
fix: Progress.Line strokeColor direction in rtl (#27515) 2020-11-03 16:22:18 +08:00
偏右
6880bf7073
Merge pull request #27388 from ant-design/master
chore: merge master into featrue
2020-10-27 12:21:04 +08:00
Amumu
a7ae888a90
docs: docs upgrade (#27367) 2020-10-26 11:57:37 +08:00
Tom Xu
af6d8f7e0c fix: snap 2020-10-24 21:07:46 +08:00
Tom Xu
7be4339806 Merge branch 'feature' into merge 2020-10-24 20:53:34 +08:00
二货机器人
d6bd89e370
fix: Form warning (#27343)
* fix: Not warning in drawer

* add test case
2020-10-24 14:47:44 +08:00
Tom Xu
7e782daec0
feat: ConfigProvider add form requiredMark (#27322)
* feat: ConfigProvider add form requiredMark

* Update Form.tsx
2020-10-24 14:27:49 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
4cd2cfa14f update snap 2020-10-21 14:48:24 +08:00
Tom Xu
1f1956ccd9 Merge branch 'feature' into merge-into-feature 2020-10-21 14:31:16 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +08:00
二货机器人
8ea1e52d4d
fix: TextArea wrapper with div when !showCount (#27216)
* fix: TextArea layout

* test: Update snapshot

* fix: value logic

* fix: className & style logic

* chore: rm uesless code

* chore: Clean up
2020-10-19 14:03:19 +08:00
陈帅
3770b3f423
fix: if form warp drawer, close button will trigger submit (#27175)
* fix:  if form warp drawer, close button will trigger submit

* update snapshot
2020-10-15 18:54:24 +08:00
偏右
2788140d1a
Merge pull request #27137 from ant-design/master
chore: merge master into feature
2020-10-14 16:35:29 +08:00
偏右
3ef6ea3ead
refactor: 📦 some styles to reduce css bundle size (#27129)
* refactor: some styles to reduce css bundle size

* test: update snapshot

* fix snapshot

* fix test case

* fix addonAfter

* fix firefox style

* reduce riddon css size

* fix Input.Group border radius

* remove unused css selectors

* fix test cov

* fix search button hover border

* fix rtl textarea clear icon style

* update demos

* fix search rtl style

* fix input search style
2020-10-13 21:16:20 +08:00
zoomdong
e6cc0009c3
feat: Input.Textarea support size props (#27110)
* feat: Input.Textarea add size props

* update snapshot

* update snapshot

* add case

* fix code
2020-10-12 20:39:51 +08:00
zhangchen
138b953afd
feat: TextArea showCount (#26952)
* feat: TextArea showCount

* update: TextArea showCount test

* update: TextArea showCount test

* update: test

* update: test

* update: test

* update: interface

* revert: interface change
2020-10-10 11:30:58 +08:00
二货机器人
442c146e3c
refator: update rc-dialog to remove rc-animate (#26940)
* chore: bump rc-dialog

* fix 1 test case

* test case

* more test

* fix confirm test case

* clean up

* fix snapshot

* update local-provider snapshot

* update Modal snapshot

* fix test of dialog hook

* fix lint
2020-09-29 19:33:37 +08:00
偏右
0067b923b9
Merge pull request #26738 from ant-design/master
chore: merge master into feature
2020-09-14 19:02:34 +08:00
afc163
58a57224a8 test: fix test snapshot change 2020-09-14 18:19:36 +08:00
二货机器人
1faabb219d
feat: Form.List support rules (#26676)
* Add ErrorList component

* move class to ErrorList

* support cache of status

* update doc

* update snapshot

* patch test case

* clean up

* docs: add faq
2020-09-11 21:27:51 +08:00
paranoidjk
ea19589619
feat: feat: expose ConfigContext (#26705) 2020-09-11 21:24:26 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
偏右
a8dea916b2
fix: Search autocomplele list in Chrome (#26590)
* fix: 🆙 upgrade rc-select to 11.2.x

* style: fix input search clear button

* test: update snapshot
2020-09-05 00:38:39 +08:00
PeakFish
71f726afb1
docs: fix api display (#26504) 2020-08-31 20:19:35 +08:00
二货机器人
f68c743448
test: Remove timeout in configProvider test (#26499)
* test: Remove timeout in configProvider test

* chore: Clean up

* move form test out
2020-08-31 17:41:56 +08:00
xrkffgg
2005546d22
test: update snap (#26467) 2020-08-28 21:43:44 +08:00
二货机器人
bd2d50c114
chore: Update snapshot (#26306) 2020-08-20 16:45:10 +08:00