Commit Graph

411 Commits

Author SHA1 Message Date
afc163
b2e92d38eb docs: 📝 add doc about adding language
close #24497
2020-05-27 20:09:05 +08:00
zefeng
cb2094265e
feat(tooltip): Tooltip support colour background (#23155)
* feat(tooltip): Tooltip support colour background

Closes #23127

* patch: update test case

* chore: repalce h1 tag to Divider

* chore: update demo
2020-05-25 18:59:00 +08:00
偏右
a5efa7a81a
test: increase coverage of Progress/Comment/Avatar/Dropdown (#24439)
* test: increase test case of Progress and Comment

* test: add test case for Avatar

* test: add test case for Dropdown

* fix snapshot

* fix snapshot

* remove console.log

* fix lint

* add avatar
2020-05-25 16:27:02 +08:00
zombiej
7c260c03a5 chore: merge master 2020-05-23 15:00:18 +08:00
二货机器人
6f6430bfee
chore: Update snapshot (#24405) 2020-05-22 23:33:04 +08:00
zefeng
baf001898d
feat: use inner icon to replace back-top background-img (#24397)
* feat: use inner icon to  replace back-top background-img

* chore: update snapshots
2020-05-22 17:03:30 +08:00
afc163
d6d485b72d merge feature into master-to-merge-feature 2020-05-19 18:25:51 +08:00
xrkffgg
ce78029933
fix: empty in cascader/select/table/treeSelect (#24279)
* fix: empty in cascader\select\table\treeSelect

* fix: snap
2020-05-19 14:45:57 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion (#24254)
* init fix

* fix rtl

* clean up

* update snapshot

* fix style lint

* add motion of inner

* update un-checked focus style
2020-05-18 17:31:46 +08:00
二货机器人
b0e528d14c
feat: Transfer support oneWay (#24041)
* use flex

* show clear btn

* support one way

* add dropdown

* add pagination

* support pagination

* use flex

* operation stretch

* pagination works

* update selection logic

* no need to show checkbox on pagination

* fix tree demo

* support invert selection

* remove current pages

* update style

* update snapshot

* clean up

* update test case

* update test case

* update snapshot

* fix lint

* add deps

* update doc

* update hover style

* update hover checked style

* adjust demo & active region

* fix lint

* update snapshot
2020-05-13 19:15:40 +08:00
afc163
53d7a20939 merge feature into master-to-merge-feature 2020-05-13 16:16:16 +08:00
afc163
50e33768a9 fix DatePicker snapshot 2020-05-13 16:10:48 +08:00
zombiej
339246d316 chore: Merge master 2020-05-13 11:59:15 +08:00
afc163
fdcbfc909d fix snapshot
close #24070
2020-05-12 14:57:13 +08:00
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip (#24056)
* feat: add transformFile optionfor transform file before request

* feat: bump rc-upload 2.7.0

* feat(Upload): optimize doc

* feat: support custom cell ellipsis tooltip

* tests: update snapshots

* docs: update table ellipsis demo

* tests: update snap
2020-05-12 12:44:49 +08:00
偏右
4dccbd8eab
style: add @modal-close-color (#24053)
* 🆕 Add @modal-close-color

close #24050

* update snapshot

* fix var name
2020-05-11 20:08:46 +08:00
偏右
e188537c00
refactor: Dropdown.Button icon prop (#24020)
ref #24017
2020-05-10 23:53:29 +08:00
afc163
acb4cb6859 Merge feature into master 2020-05-09 20:40:12 +08:00
Xuhao
9c0f12c7e8
fix: #23986 [Comment] Should not render avatar wrapper when avatar is… (#23994)
* fix: #23986 [Comment] Should not render avatar wrapper when avatar is not present

* #23986 test snapshots revision
2020-05-09 16:50:34 +08:00
zombiej
3fad93e41b chore: feature merge master 2020-05-08 22:25:33 +08:00
偏右
fdf0f2e585
docs: fix moment locale faq (#23895)
close #23891
2020-05-06 12:03:46 +08:00
Tom Xu
747691f600
feat: ConfigProvider support virtual and dropdownMatchSelectWidth (#23841)
* feat: ConfigProvider support virtual and dropdownMatchSelectWidth

* update snap

* Update demo.test.js.snap

* update snap
2020-05-05 15:00:43 +08:00
二货机器人
6668d48c54
Merge pull request #23845 from ant-design/master
chore: Feature merge master
2020-05-04 11:49:37 +08:00
二货机器人
1489903d9d
fix: Modal async (#23826)
* make async

* fix tesst
2020-05-03 00:53:32 +08:00
偏右
ca896092e2
fix snapshot (#23816) 2020-05-02 15:18:23 +08:00
xrkffgg
402f3a9afb
feat: rewrite config with hook and add rtl config (#23759)
* feat: rewrite config with hook and add rtl config

* fix import

* fix lint
2020-04-29 23:18:22 +08:00
二货机器人
bb1f157645
feat: ConfigProvider support getTargetContainer (#23751)
* add getTargetContainer

* support affix

* test case

* anchor use new context api

* Anchor support getTargetContainer

* doc it

* update patch
2020-04-29 20:22:16 +08:00
偏右
0b61b13e56
docs: 🆙 Upgrade input number (#23742)
* 🆙 upgrade to rc-input-number@4.6.0

* 🆙 upgrade to rc-input-number@4.6.1

*  update snapshot

* fix version
2020-04-29 14:18:19 +08:00
诸岳
f955620601 chore: Merge master branch and fix conflicts 2020-04-26 13:34:11 +08:00
Tom Xu
8cdf1c017a
fix: ConfigProvider getPopupContainer invalid (#23594)
* fix: ConfigProvider getPopupContainer invalid

* slider getPopupContainer

* Create container.test.js

* Update container.test.js
2020-04-25 22:46:21 +08:00
二货机器人
a1e0c41c8b
feat: ConfigProvider support config Input autoComplete (#23455)
* support autoComplete

* update doc

* fix lint
2020-04-22 10:38:43 +08:00
偏右
2c86aebfa3
Merge pull request #23426 from ant-design/master
chore: merge master into feature
2020-04-21 11:24:57 +08:00
二货机器人
5a10d29796
fix: ConfigProvider with nest prefixCls (#23423)
* fix: ConfigProvider with nest prefixCls

* update

* update

* update
2020-04-21 11:16:33 +08:00
二货机器人
ac7865a6fc
chore: Adjust search style (#23406)
* chore: Adjust search style

* fix lint

* Update demo.test.js.snap

* update style

* update cover area

* area it
2020-04-21 09:41:09 +08:00
Tom Xu
6e1ffb96ca
fix: Input.Search ConfigProvider size (#23331)
* fix: Input.Search ConfigProvider size

* Update Search.tsx

* add test

* Update size.md
2020-04-18 18:31:03 +08:00
Tom Xu
50416b3a7b
improvement: Form default locale (#23165)
* improve: Form default locale

* fix lint

* fix lint

* improve form doc

* add test case

* improve form validate messages
2020-04-18 13:18:51 +08:00
偏右
bfd5d7c910
fix: PageHeader style breaks when title is too long (#23133)
* fix: PageHeader style breaks when title is too long

close #15664

*  update snapshot

* 💄 Improve PageHeader responsive design
2020-04-10 19:25:31 +08:00
二货机器人
ecf025548b
chore: adjust RangePicker style (#23074)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow

* use icon

* update font size

* update snashot
2020-04-09 13:18:13 +08:00
二货机器人
b28b2007be
fix: Center not work in Table (#22858)
* fix: Center not work in Table

* update snapshot

* fix test case
2020-04-02 18:53:49 +08:00
二货机器人
b174f98c6c
chore: Adjust range picker style (#22847)
* adjust rangepicker style

* update snapshot

* fix lint

* add aria label
2020-04-02 15:05:31 +08:00
偏右
aca2656721
fix: ⬆️ BackTop not working in iframe (#22788)
* docs: 🎬 improve BackTop demo

* fix Backtop not working in iframe

* fix lint

* fix ci

* fix ci

*  add more test case

*  add more test cases

* fix ci
2020-04-01 17:38:21 +08:00
zombiej
1ec7b2c068 merge master 2020-03-29 14:40:29 +08:00
二货机器人
d95dc831dd
fix: Drawer close btn style (#22710)
* fix: Drawer close btn style

* fix lint

* snapshot

* update snapshot
2020-03-29 12:38:12 +08:00
zombiej
913204282b merge master 2020-03-28 16:31:17 +08:00
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent (#22691)
* refactor: replace deprecated React.SFC with React.FunctionComponent

* refactoring: use typedef FC
2020-03-28 11:56:57 +08:00
zombiej
9e38928379 chore: Update snapshot 2020-03-27 22:43:39 +08:00
zombiej
73562d878c merge master 2020-03-27 13:12:37 +08:00
zombiej
9316f180ca chore: Update snapshot 2020-03-26 23:18:17 +08:00
Tom Xu
c7add36de6
fix: 4.0 Table with emptyText is not centered (#22548)
* fix #22176

* update table test
2020-03-24 19:51:34 +08:00
afc163
e12e2971d8 merge feature into master-to-merge-feature 2020-03-23 15:02:22 +08:00
二货机器人
147251345a
fix config provider size (#22486) 2020-03-22 15:52:02 +08:00
骗你是小猫咪
b8109bd20e
feat: 🆕 new Space component (#22363)
* feat: new component: Space

* add config-provider space doc

* fix lint fail

* revert test -u

* improve demo

* compatible invalidElement

* use inline-flex and wrap

* review change

* add space version

* improve classname

* review change

* review change
2020-03-22 11:38:02 +08:00
偏右
86946f434f
Merge pull request #22446 from ant-design/master
chore: 🔀 merge master into feature
2020-03-20 19:20:11 +08:00
偏右
ed6e8760e5
fix snapshot (#22445) 2020-03-20 18:43:47 +08:00
偏右
96bc5df2c4
feat: 🆕 Add keyboard prop to Tabs (#22287)
* 🆕 Add keyboard prop to Tabs

*  update snapshots

* fix Tabs keyboard tsd

* fix active tab outline style
2020-03-17 12:41:18 +08:00
偏右
71c8fac72f
Merge branch 'feature' into master-to-merge-feature 2020-03-13 11:52:28 +08:00
二货机器人
f44f6f38cf
fix: Table dropdown prefix cls (#22133)
* fix: Table dropdownPrefixCls

* update snapshot

* update snapshot
2020-03-11 23:58:32 +08:00
afc163
ebd31cdfc8 test: fix test cases 2020-03-10 20:43:19 +08:00
偏右
cff8c08286
🔨 simplify Popconfirm and Popover dom structure (#22052) 2020-03-10 15:17:23 +08:00
afc163
77d3a993fa 🔨 Merge master into feature 2020-03-09 17:18:32 +08:00
tdida
23e48552ad
fix: Input.Password ConfigProvider prefixCls not work (#21953)
* fix: Input.Password ConfigProvider prefixCls not work

* test: add ConfigProvider Input.Password test

Co-authored-by: TDiDa <>
2020-03-07 15:11:44 +08:00
二货机器人
d23d53b2e8
chore: Update snapshot (#21966) 2020-03-07 15:05:19 +08:00
二货机器人
e8876d5817
fix: MenuItem with icon only will still have additional margin (#21925)
* fix: MenuItem with icon only will still have additional margin

* update snapshot

* fix snapshot
2020-03-06 11:53:09 +08:00
afc163
c5e5a8c895 update snapshots 2020-03-05 20:32:38 +08:00
偏右
6e63b6f00e
Update index.zh-CN.md 2020-03-04 21:31:38 +08:00
afc163
211dadad4f 🎬 improve ConfigProvider rtl demo 2020-03-01 00:05:52 +08:00
偏右
8e367cc6d5
chore: 🆙 upgrade rc-pagination to 2.0 (#21650)
* 🆙 upgrade rc-pagination to 2.0.0

*  update pagination snapshots

* 🆙 upgrade rc-pagination to 2.0.1
2020-02-27 21:58:11 +08:00
Cong Zhang
d86c14ba8f
docs: fix link in ConfigProvider (#21647)
* fix link in ConfigProvider

* Apply suggestions from code review

Co-authored-by: 偏右 <afc163@gmail.com>
2020-02-27 18:29:59 +08:00
afc163
b4636ab2df 💄 tweak Upload showDownloadIcon default value
it should be false
2020-02-21 13:11:07 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size (#21476)
* fix: Form item has default height align with form size

* fix lint

* update snapshot
2020-02-19 22:04:25 +08:00
偏右
30a3ac63ef
Add test case for ConfigProvider and Spin (#21384) 2020-02-14 19:02:53 +08:00
偏右
291ba0c4be
🆙 pass disabled to custom prev and next buttons (#21361)
close #21351
2020-02-13 13:31:37 +08:00
二货机器人
52a1600a01
fix: Badge number style (#21235)
* fix css priority

* update snapshot

* update snapshot
2020-02-05 13:52:26 +08:00
afc163
e03209c7d4 update snapshot
close #20779
2020-02-04 17:42:18 +08:00
二货机器人
e6719cbf2a
fix: Should TimePicker defaultOpenValue work (#21198)
* fix: Should TimePicker defaultOpenValue work

* update snapshot
2020-02-03 19:09:04 +08:00
tae
88642f6048
refactor: Progress use React.Fragment to remove unused div (#21170) 2020-02-02 11:12:07 +08:00
偏右
4126ed8571
Update index.zh-CN.md 2020-01-25 11:34:39 +08:00
Yash Joshi
9cfc617ce6 fix(docs): add note about prefixCls styles (#21073)
* fix(docs): add note about prefixCls styles

* add docs for chinese
2020-01-22 22:16:16 +08:00
二货机器人
58133bcabd
update demo (#21069) 2020-01-22 12:11:49 +08:00
xrkffgg
4388a96c32 docs: Format string notation of all components (#20970) 2020-01-17 17:23:47 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 (#20642)
* fix: rtl direction bug

* 📝 dark theme usage docs

* fix: sketch download

* fix: theme dark

* 📝 empty image

* fix: dark form with mixture components like picker, input

* 📝 update sketch release download

* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
叶枫
6c3d6e7247 feat: upload add icon (#20034)
* feat: add custom icon

* chore: test

* fix: eye style

* fix: anticon style

* fix: stylelint

* Update Form.tsx

* Update Form.tsx

* feat: 26

* feat: fiie-type

* Update basic.md

* Update debug.md

* Update target.md

* Update Steps.tsx

* Update element.md

* chore: clearn up

* chore: clearn up

* chore: clearn up

* fix: handleIconRender

* fix: iconNode
2020-01-03 17:48:10 +08:00
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" (#20636)
* Revert "refactor: Remove duplicated less loop (#20590)"

This reverts commit af2d803829.

* Update package.json
2020-01-03 15:20:28 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size (#20570)
* feat: Support form & ConfigProvider set component size

* update snapshot

* fix lint

* rm only

* update doc

* Table & Card support sizing

* Update snapshot

* fix lint

* update snapshot

* flush rest snapshot
2020-01-03 13:38:16 +08:00
二货机器人
af2d803829
refactor: Remove duplicated less loop (#20590)
* refactor: Remove duplicated less loop

* update snapshot

* add more test case
2020-01-02 21:21:57 +08:00
Saeed Rahimi
676de29eb4 feat: added rtl direction to all of ant-design components (#19380)
* rtl demo change en-us description

* change bundlesize css limit

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* fix pagination.tsx compile error

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* fix select component arrow issue

* RTL: form component

* add pagination rtl test

* fix test lint error

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* some fixes to RTL components

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* fix switch component text rtl issue

* fix table grouped header text-align

* add rtl support to whole demo with RTL button

* Update rtl demo responsive

* RTL: page-header component

* RTL: typography component

* RTL: Dropdown (Partial)

* update config-provider doc

* RTL: input component

* RTL: select component

* RTL: switch component

* RTL: tree component

* fix rtl demo lint

* rtl demo change en-us description

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* RTL: form component

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* fix lost changes after rebase

* fix lint errors

* RTL: Transfer Component

* RTL: upload component

* RTL: update avatar demo

* RTL: comment component

* RTL: collapse component

* RTL: carousel component

* update snapshots

* RTL: Card component

* RTL: descriptions component

* RTL:  Empty component

* RTL: list component

* RTL: slider component

* slider component import/order

* add shared rtlTest

* RTL: Statistic component

* RTL: tooltip components

* RTL: popover component

* RTL: timeline component

* RTL: tag component

* RTL: alert component

* RTL: drawer component

* RTL: Tab component

* change direction definition

* RTL: progress component

* input.tsx, remove duplicate after rebase

* fix demo.less after rebase

* fix ant-row-rtl after rebase

* fix upload issues in rtl

* badge rtl demo margin fix

* fix: tabs with icon margin

* fix: radio-wrapper margin

* fix: table component after rebase

* fix: centered modal text-align

* update slider snapshot

* RTL: popconfirm component

* RTL: back-top component

* RTL: spin component

* RTL: result component

* RTL: skeleton component

* RTL: menu component

* RTL: time-picker component

* RTL: calendar component

* RTL: date-picker component

* RTL: home page

* update snapshots

* test: add auto-complete rtl test

* test: add avatar component rtl tests

* test: add badge component rtl tests

* test: add breadcrumb component rtl tests

* test: add button components rtl tests

* test: add card component rtl tests

* test: add carousel component rtl tests

* test: add cascader component rtl tests

* test: add checkbox component rtl tests

* test: add collapse component rtl tests

* test: add comment component rtl tests

* test: add dropdown component rtl tests

* test: add empty component rtl tests

* test: add form component rtl tests

* test: add grid component rtl tests

* test: add input component rtl tests

* test: add search component rtl tests

* test: add input-number component rtl tests

* test: add layout component rtl tests

* test: add list component rtl tests

* test: add mentions component rtl tests

* test: add modal component rtl tests

* test: add page-header component rtl tests

* test: add pagination component rtl tests

* test: add radio component rtl tests

* test: add rate component rtl tests

* test: add select component rtl tests

* test: add slider component rtl tests

* test: add steps component rtl tests

* test: add switch component rtl tests

* test: add table component rtl tests

* test: add transfer component rtl tests

* test: add tree component rtl tests

* test: add tree-select component rtl tests

* test: add typography component rtl tests

* test: add upload component rtl tests

* test: add affix component rtl tests

* update calendar tests

* increase css file maxSize

* update snapshots

* remove workflows to allow push

* remove duplicate reverse prop from slider

* fix: remove table demo from config-provider

* fix: remove table demo from config-provider

* fix lint error

* Added direction property to ConfigProvider

* cascader rtl tests added

* update config-provider doc

* RTL: grid system

* RTL: input component

* RTL: switch component

* fix rtl demo lint

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* fix pagination.tsx compile error

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* RTL: form component

* add pagination rtl test

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* RTL: input component

* RTL: select component

* RTL: switch component

* RTL: tree component

* fix rtl demo lint

* rtl demo change en-us description

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* RTL: form component

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* input.tsx, remove duplicate after rebase

* fix ant-row-rtl after rebase

* update snapshots

* test: add cascader component rtl tests

* test: add pagination component rtl tests

* update calendar tests

* update snapshots

* fix: remove table demo from config-provider

* fix: remove table demo from config-provider

* fix lint error

* update direction.md icons

* dropdown and cascader default placement in rtl

* update snapshots

* fix lint errors

* remove duplicate import

* update snapshots

* update snapshot

* update calendar snapshot

* update snapshots

* integrate with new rc-picker

* update snapshots

* fix lint errors

* update snapshot

* update snapshots

* update snapshots

* update snapshots :|

* update snapshots

* fix compile error.

* fix typo after rebase

* update snapshots

* remove workflows to allow push

* update snapshots

* update snapshots

* fix dist error

* front-page css fix

* update snapshots

* fix lint and test issues

* restore cascader index.less

* update snapshots

* fix logo in rtl and demo controls

* ci errors

* resolve steps/index.tsx conflicts

* tooltip family demo remove inline style

* resolve table/Table.tsx conflicts

* resolve modal/Modal.tsx conflicts

* resolve cascader/index.tsx conflicts

* add workflows from upstream

* update snapshots

* revert logo to default

* fix codebox demo direction of placements

* resolve tooltip overlayClassName conflicts

* update snapshots

* update popover test

* fix: cascader miss popupClassName

* fix: fix select missing dropdownClassName

* chore: Update snapshot

* chore: Adjust menu use rtl logic

* docs: Update demo line color

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
二货机器人
1636f6107e
fix: FormItem errors should show in diff line (#20512) 2019-12-28 14:53:43 +08:00
二货机器人
dd86ae251c
fix: Should also set className with customize help (#20489)
* add test case

* update snapshot

* update snapshot
2019-12-27 16:50:44 +08:00
zombiej
e449b1aee2 chore: Update snapshot 2019-12-27 12:22:00 +08:00
信鑫-King
1d9bb93625
Merge pull request #20281 from ant-design/feat-dark-palette
feat: dark palette preview
2019-12-26 16:13:09 +08:00
二货机器人
99aded6725
fix: IME should work in safari (#20457)
* update ts define

* delay to handle message update

* update snapshot

* fix test case
2019-12-26 15:48:52 +08:00
ycjcl868
e9c5667596 Merge origin/4.0-prepare into feat-dark-palette 2019-12-26 11:28:05 +08:00
vagusX
a0beb0f8df feat: update to @ant-design/icons@4.0.0-alpha.16 (#20451) 2019-12-26 00:27:59 +08:00
ycjcl868
607e69747c fix: demo style 2019-12-25 22:13:04 +08:00
ycjcl868
bd2633d303 Merge 4.0-prepare into feat-dark-palette 2019-12-25 21:13:07 +08:00
zombiej
6dc5a8c2f4 update snapshot 2019-12-25 20:07:10 +08:00
ycjcl868
4dc860decf Merge origin/4.0-prepare into feat-dark-palette 2019-12-25 19:32:38 +08:00
ycjcl868
56530f1055 fix: backtop demo 2019-12-25 19:30:58 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
zombiej
7a520f1ba4 chore: Update snapshot 2019-12-25 14:06:08 +08:00
zombiej
4b5a3259c1 chore: Update rc-select deps & snapshot 2019-12-25 11:29:54 +08:00
vagusX
46e1ad1b51 feat: update @ant-design/icons@4.0.0-alpha.13 (#20427) 2019-12-25 11:17:14 +08:00
偏右
8501b708ea refactor: 📦 smaller bundlesize limit (#20356)
* 📦 samller bundlesize limit

* 🗑️ remove React static PropTypes

* 🗑️ remove react-lifecycles-compat

* 🗑️ remove matchMedia polyfill

* 🗑️ remove Transfer buggy lazy prop

* 🗑️ remove enquire.js dep

* 🗑️ remove Transfer lazy related code and fix ci

* 🗑️ remove used dom-closest

*  replace dom-scroll-into-view to scroll-into-view for bundle size

*  fix eslint

* 🆙 upgrade browserslist

*  fix test cases

* 🗑️ remove @ant-design/create-react-context

* 🆙 upgrade @ant-design/bisheng-plugin

* 🆙 upgrade rc-slider

*  fix ci

* 🆙 upgrade rc-tabs and rc-mentions

* 📦 scroll-into-view -> scroll-into-view-if-needed

* remove unused devDep

* docs: 📝 update instruction about IE9/10

* 📦 reduce css bundle size by drop IE9/10 support

* 🆙 upgrade rc-upload

* 🗑️ drop unused swing motion css

*  update upload snapshots

* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
afc163
15f75e1c55 fix time picker test snapshots 2019-12-17 16:58:41 +08:00
二货机器人
407a41a142
feat: New Picker (#20023)
* init generate

* basic style

* basic panel style

* update mode panel style

* update style

* generate More picker

* default clear icon

* chore: Update separator type

* feat: Add ranged start & end className

* update range style

* Add transition effect

* support size config

* adjust range style

* chore: Auto fill time by showTime

* auto set time by format

* update disabled style

* update seperator style

* ranges style

* support extra footer style

* remove useless test case
part is not usable anymore
part is already tested in rc-picker

* init calendar

* all demos

* fix calendar basic test

* fix time-picker test case

* update snapshot

* fix tooltip test case & lint

* fix locale & style lint

* fix compile

* fix style

* fix style lint

* fix calendar style

* update rc-picker version

* adjust style

* move picker placeholder into locale file

* update snapshot

* add hover style

* update picker version

* fix icon position & style

* update picker version

* update deps for pading

* fix: align of suffix

* feat: Year & Month support range effect

* adjust range style to support up-down placement

* update rc-picker

* update range picker style

* adjust extra footer line style

* update snapshot

* fix: Locale error

* fix: style lint

* fix: add missing button style deps

* update test case

* fix firefox additional white line style issue

* rollback demo

* fix ff additional blue color

* docs: Remove placeholder in demo

* rangepicker ranges is tag now

* connect start / end background color with picker range

* update deps

* update deps for fixing blur text issue

* hide start-end demo

* range hover style update

* hover range with ranged value

* black magic of inner hover style

* hover style of range adjust

* fix css select miss hit on DatePicker

* remove one eslint rule

* fade range hovered color

* week should alway not show the cell selection

* update style of selection

* update snapshot

* fix style

* add margin back

* update rc-picker deps

* update date & time picker & form style

* fix disabled demo & update form style

* update docs about allowEmpty

* hide arrow in time range picker

* add hover & focused style

* fix lint

* fix style & update snapshot

* raise disabled selector proirity

* fix disabled today border color

* extra footer provides an bottom line

* time picker hover support transition background

* add padding style

* fix Firefox not correct calculate inline-flex

* fix style

* fix week picker missing today border color

* rm useless padding

* Force padding to 0

* test coverage

* dedup eslint rule

* adjust logic to imporve coverage

* fix render cell logic
2019-12-11 23:32:19 +08:00
afc163
fee211e3c4 📝 Add docs for ConfigProvider getPopupContainer
close #19974
2019-12-09 19:44:33 +08:00
骗你是小猫咪
8fda3972fe test: update snapshots (#20104) 2019-12-05 17:26:16 +08:00
骗你是小猫咪
2006fa7570 test: update snapshots (#20103) 2019-12-05 16:56:45 +08:00
骗你是小猫咪
114fdd9333
fix: upgrade rc-tooltip lint fail (#19408)
* fix: upgrade rc-tooltip lint fail

* fix tooltip typescript type

* rebase and update snapshots

* update tests

* change trigger mock export

* upgrade rc-trigger

* fix type error

* upgrade dependencies

* update snapshots

* upgrade rc-calendar and test use sleep

* update snapshots

* fix test fail

* update snapshots
2019-12-05 16:15:10 +08:00
ycjcl868
62952a89b5 fix: empty prefix className, update snapshot 2019-12-03 20:17:13 +08:00
afc163
ecce1e4aba update snapshots 2019-12-02 19:02:33 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
偏右
0ec7fa84d0
🐛 Fix Slider tooltip not aligned center (#20016)
close #20014
2019-11-30 18:10:48 +08:00
叶枫
b022eaf9c2 fix: fix upload long picture style (#20008)
* fix:  fix upload long picture style

* feat: add config-provider test

* fix: stylelint
2019-11-29 23:34:12 +08:00
二货机器人
5fc62314af
chore: Remove LocaleProvider & Mention in export (#19935)
* chore: Clean up

* clean up test case

* clean up
2019-11-26 14:21:05 +08:00
zombiej
b37b317b69 chore: merge master 2019-11-25 15:16:59 +08:00
陈立林
f32235d074 delete version (#19854)
delete version
2019-11-21 19:58:41 +08:00
Josiah Rooney
c57d7f3a6c Update index.en-US.md (#19848)
Improved the grammar of the documentation.
2019-11-21 07:39:57 +08:00
二货机器人
efd3b35830
feat: Col support flex prop (#16635)
* feat: Col support `flex` prop

* update snapshot

* update doc

* row component use flex type by default

* revert grid flex layout doc

* remove float style

* remove doc old FAQ

* revert .make-row

* col style use flex and max-width

* remove useless Col style and imorove base doc for a single Col

* update snapshots

* fix flex mode pseudo

* update snapshots

* back to old flex mode demo gray background color

* set default col flex => 1 auto

* change grid about flex mode description

* update snapshots

* improve grid introduce and fix with gutter bug

* update snapshots

* remove version
2019-11-20 11:13:24 +08:00
叶枫
d2e98b1bb9 fix: style (#19783) 2019-11-18 18:20:04 +08:00
二货机器人
72a7ba618f
New Table (#19678)
* chore: update rc-table

* add basic table style

* checked all logic

* checkbox support disabled

* selection style

* selection support radio

* add selections support

* selection extra style

* select all locale

* sorter logic

* add more desc

* init Filter hooks

* init filter hooks

* update style

* filter style

* filter style

* fix filter

* sort control

* ajax it

* add expandedable css

* expandable view style

* fixed style

* border style

* empty style

* fix pagination style

* add fixed demo

* un-comment

* clean up

* fix filter check logic

* fix overflow & ellipsis conflict

* fix tes

* adjust scroll shadow

* fix border fixed style

* add part of test case

* add filter test part

* more test case

* issue related test

* filter test

* adjust pagination logic

* fix pagination test case

* all selection test case

* table sorter test case

* table basic test

* fix test case

* update faq

* update expandable doc

* add v4 doc

* add summary docs

* more demo

* fix selection

* update snapshot

* update test case

* fix ff styling

* update rc-table

* update snapshot

* update snapshot

* fix lint

* fix style lint

* fix style

* update snapshot

* update desc

* fix missing icon
2019-11-15 14:35:25 +08:00
zombiej
2ba81538d8 chore: Merge master 2019-11-13 11:48:20 +08:00
叶枫
f4051d8efc fix: fix upload error style (#19689)
* fix: fix upload error style

* feat: demo

* feat: test

* fix: tooltip
2019-11-12 21:45:32 +08:00
afc163
c9682fcd6e
📝 Add FAQ for ConfigProvider locale not working 2019-11-09 16:24:07 +08:00
骗你是小猫咪
0ee4a531a1 refactor: upgrade rc-dropdown (#19498)
* refator: upgrade rc-dropdown

* upgrade rc-dropdown version

* update snapshots
2019-11-06 14:49:20 +08:00
骗你是小猫咪
4ded5e6777
fix: Drawer content overflow when placement is top or bottom (#19506)
* fix: drawer content overflow

* update snapshots

* review change
2019-11-06 10:47:36 +08:00
zombiej
7a12b2b1ae merge master 2019-10-30 16:28:28 +08:00
陈帅
c675354744 fix eslint error 2019-10-27 22:05:47 +08:00
zombiej
559e56c7f8 fix: Tree shaking should works on withContext 2019-10-21 13:38:38 +08:00
叶枫
a31deb7f5d fix: 修复点击下载按钮会执行预览方法 (#19268)
* fix: 修复点击下载按钮会执行预览方法

* chore: test

* chore: test
2019-10-18 00:02:04 +08:00
Hsuan Lee
d6c5e5358e docs: fix page header API (#19257) 2019-10-17 11:34:16 +08:00
zombiej
c75bbbd13d merge master 2019-10-16 10:44:56 +08:00
yoyo837
fb2bafbfdc upgrade snapshot 2019-10-15 19:13:38 +08:00
yoyo837
a9d7178c2b upgrade snapshot 2019-10-15 18:10:04 +08:00
yoyo837
cd3d9efd9f Merge branches 'add-args-unsorting' and 'master' of github.com:ant-design/ant-design 2019-10-15 17:52:59 +08:00
afc163
8e2b2470b2 update snapshots 2019-10-15 17:47:10 +08:00
yoyo837
0522d55f26 snapshot 2019-10-15 16:33:17 +08:00
陈帅
338018eba3
feat: Pageheader new style and props (#19100)
* pure page header style

* add type props

* add prue demo

* add config provider doc

* fix lint

* fix lint error

* change pure to ghost

* fix test

* default ghost is true

* fix review style

* fix review warning

* use online style

* remove defualt and remove comment

* add test
2019-10-15 11:46:12 +08:00
二货机器人
e75fa039ef
refactor: Use CSSMotion (#19205)
* refactor: Use CSSMotion

* fix lint

* update rc-menu deps

* fix test case

* clean up

* more test case

* fix lint
2019-10-14 15:01:16 +08:00
zombiej
04a27deb2b merge master 2019-10-14 10:53:35 +08:00
zombiej
e129e8dc7e merge master 2019-10-08 15:04:00 +08:00
二货机器人
7922090eaa
fix: TreeShaking (#19115) 2019-10-08 14:45:17 +08:00
zombiej
8367607c07 fix Transfer Button style 2019-09-29 18:20:09 +08:00
zombiej
2d25d0a5de bump alpha.6 update rc version & snapshot 2019-09-29 11:39:17 +08:00
zombiej
4d81cea17a Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-29 11:15:13 +08:00
只捱宅
dc0dfea201
Merge pull request #19049 from ant-design/master
chore: Merge master into feature
2019-09-28 19:27:19 +08:00
二货机器人
4907996b97
feat: TreeSelect use virtual scroll (#19040)
* use new rc-tree-select

* support not found

* add switch icon support

* support function

* support selection motion

* show search icon if open

* clean up

* fix lint

* fix lint
2019-09-27 22:31:28 -05:00
二货机器人
7ae663da6d
fix: ssr should not render string at first (#19029)
* fix: ssr should not render string at first

* update snapshot
2019-09-27 01:17:42 -05:00
ycjcl868
eedb71c146 test: snapshot 2019-09-18 18:09:24 +08:00
zombiej
f30b92ec21 merge master 2019-09-17 19:31:37 +08:00
zombiej
fa8ddb4104 merge master 2019-09-16 11:23:26 +08:00
偏右
1200f7fe00
Merge branch 'feature' into master-to-merge 2019-09-14 15:40:33 +08:00
二货机器人
2ea28af6ed
Virtual select component (#18658)
* init

* fix firefox

* add active style

* adjust arrow style

* update select

* update icon logic

* render empty

* init multiple

* fix ff display style

* sync font size

* adjust padding style

* add padding

* padding it

* hotfix of chrome

* single sm

* multiple size

* update option group style

* update snapshot

* clean up transition

* rm combobox in ts define

* auto complete init

* fix auto option def

* update demo

* update demo

* update uncertain demo

* update demo

* warning if user set `size` on AutoComplete

* add debug demo

* updat demo

* update demo of disabled

* update snapshot

* rm useless test

* fix pagination test

* fix Table test

* fix calendar test case

* fix calendar test case

* adjust style

* add big data demo

* support clean up

* fix ts define

* fix lint

* fix demo lint

* fix style lint fix

* rm useless deps

* update snapshot

* stop mock

* add space
2019-09-12 20:15:17 +08:00
叶枫
f659d23d22 feat: upload add download icon (#18664)
* feat: upload add download icon

* feat: clear up

* feat: log

* empty

* feat: 理解错误

* feat: test

* test

* feat: clean up

* Update components.test.js.snap

* Update demo.test.js.snap

* Update demo.test.js.snap

* Update demo.test.js.snap

* Update demo.test.js.snap

* Update work-with-us.zh-CN.md

* feat: clean up

* fix: showDownloadIcon=false 24px

* fix: More rigorous

* fix: test

* fix: test

* fix: [] key

* fix: hover css

* fix: test
2019-09-11 21:46:56 +08:00
afc163
7743967bf6 🐛 Fix ConfigProvider locale not working for confirm
close #18731
2019-09-09 12:08:38 +08:00
afc163
c9a8f698b1 fix slider snapshot 2019-09-06 17:40:20 +08:00
zombiej
b081fc4766 merge master 2019-09-02 16:09:05 +08:00
愚道
2f5537a65b Merge branch 'master' into chore/mergemaster 2019-09-02 10:47:32 +08:00
MrHeer
73554a2038 feat: allow disabling hover effect for Card.Grid (#18448) 2019-08-30 18:24:15 +08:00
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
偏右
19fc777351
Merge pull request #18274 from ant-design/master
Merge master into feature
2019-08-14 21:44:20 +08:00
偏右
8ae479d916
Merge pull request #18268 from ant-design/improve-lint
chore: 💄 eslint for all files!
2019-08-14 19:02:47 +08:00
afc163
760853e239 💄 eslint for all 2019-08-14 18:21:24 +08:00
zombieJ
74eda7e705
docs: Fix ConfigProvider demo (#18265)
* docs: Fix ConfigProvider in cn not working

* Use antd pro

* update docs
2019-08-14 18:19:55 +08:00
Yu
2d2d9f60c4 feat: steps component support type navigation (#17994)
* feat: support type nav style

* fix: some style for review issue

* fix: active hover style

* chore: use navigation and upgrade rc-steps

* feat: support disabled prop for Steps.Step

* feat: support subTitle and improve code style

* fix: navigation steps item style

* test: update snap test case

* fix: test steps snapshots and review style issue

* fix: lint issue

* fix: lint style issue of steps

* fix: update steps demo for review issue

* fix: steps nav style detail

* fix: steps nav fix style detail

* fix: Steps subtitle overflow style in firefox

* docs: fix Steps new api doc
2019-08-14 11:18:36 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
zombiej
1cb346573c merge master 2019-08-12 13:34:23 +08:00
zombieJ
8114516496
feat: Tree support virtual scroll (#18172)
* update tree deps

* add part of style

* flex grid

* update disabled

* update demo

* second demo

* add draggable style

* update demo

* update rc-tree version

* temp md

* update tree deps

* update icon demo

* update style

* update less

* update deps

* clean up

* update test case

* fix show line

* update snapshot

* fix lint

* update style

* update deps
2019-08-12 13:22:36 +08:00
偏右
a224d7c2e9 ⌨️ Improve Divider accessibility by add role="separator" (#18116)
https://www.w3.org/WAI/PF/aria/roles#separator
2019-08-08 12:32:39 +08:00
zombiej
b30dc1c3bc merge master 2019-08-06 17:46:53 +08:00
orzyyyy
b054ce3874 chore: adjust indent & revert demo & fix lint problem 2019-08-06 15:36:13 +08:00
orzyyyy
28f39739df test: update snapshots 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
zombieJ
f6566571ac
fix: ConfigProvider should not block LocaleProvider (#18105) 2019-08-06 00:27:47 +08:00
afc163
887aa4c347
📝 antd/lib/xxx => antd/es/xxx 2019-08-05 15:29:26 +08:00
zombieJ
2d7df45ab7 fix: ConfigProvider wrapper locale no need with only children (#18075)
* fix: ConfigProvider wrapper locale no need with only children

* skip react 15
2019-08-05 11:27:32 +08:00
陈帅
7b98df8075 fix: better typescript code, use svg components (#18036)
* better typescript code, use svg components

fix #18017

* snapshots updated

* snapshots updated
2019-08-02 21:37:26 +08:00
啸生
4c23bc2543
Feature (#18049)
Feature
2019-08-02 17:38:50 +08:00
zombiej
f56955846c merge master 2019-07-30 19:24:34 +08:00
afc163
4374514252 fix snapshot and test case 2019-07-30 11:58:45 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale (#17816)
* ConfigProvider support locale

* update docs

* update category

* clean up

* moving locale

* update check script

* update related code

* add test case

* demo link

* update doc

* hide one rule of md with eslint

* update error link
2019-07-24 10:34:55 +08:00
zombiej
ef66edd0c2 merge master 2019-07-19 11:54:08 +08:00
偏右
57c9c1f4e1
Merge pull request #17697 from ant-design/improve-less-variables
style: Improve less variables
2019-07-17 23:06:50 +08:00
afc163
37784bc8a2 fix snapshot 2019-07-17 19:04:40 +08:00
zombiej
735996ce35 merge master 2019-07-16 11:42:55 +08:00
jljsj
786bde9ca1 update modal and drawer protal 2019-07-15 14:33:56 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
zombiej
186f973e50 merge master 2019-07-03 20:29:44 +08:00
zombieJ
4cdf37bedb
feat: New Form (#17327)
* init form

* first demo

* add normal login

* add style

* webit

* support nest errors

* beauti form errors

* use onReset

* modal demo

* add list demo

* match key of errors logic

* date demo

* customize component

* moving style

* add status style

* without form create

* add demos

* add inline style

* clean up legacy

* fix drawer demo

* mention

* fix edit-row

* editable table cell

* update mentions demo

* fix some test case

* fix upload test

* fix lint

* part of doc

* fix ts

* doc update

* rm react 15

* rm config

* enhance test coverage

* clean up

* fix FormItem context pass logic

* add more demo

* en to build

* update demo

* update demo & snapshot

* more doc

* update list doc

* update doc

* update demo to display condition render

* update snapshot

* add provider doc

* support configProvider

* more doc about validateMessages

* more description

* more and more doc

* fix typo

* en doc

* Form.List doc

* m v3 -> v4

* add skip
2019-07-03 20:14:39 +08:00
偏右
8ac202401e
Merge branch 'feature' into improve-time-picker-accessibility 2019-06-14 16:37:16 +08:00
afc163
a62a3e95d3
⌨️ Improve TimePicker accessibility 2019-06-14 14:51:28 +08:00
afc163
9b3c0d3fa5
update snapshots 2019-06-11 14:45:04 +08:00
afc163
14dc252b04
🆙 fix for typescript@3.5 2019-06-05 14:41:36 +08:00
jljsj
d6bc4afe29 update config-provider test 2019-05-21 13:45:42 +08:00
zombieJ
ecb2eb6ede
feat: Add Mentions component (#16532)
* init

* first demo

* support empty

* add loading support

* add form sample

* update form sample

* omit value & defaultValue

* add 2 rest demo

* placement support

* update docs

* fix test

* update docs

* add test case

* fix lint

* follow textarea style

* update docs style
2019-05-17 12:05:03 +08:00
愚道
adfc4355b9 merge master 2019-05-12 22:35:25 +08:00
zombieJ
e88589d9ef
feat: Pagination support disabled prop (#16493)
* feat: Pagination support `disable`

* update snapshot

* update style

* update style

* update snapshot

* update font color
2019-05-10 15:38:35 +08:00
zombieJ
678c2e0b53
update snapshot (#16515) 2019-05-10 11:54:51 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00