Commit Graph

10556 Commits

Author SHA1 Message Date
ycjcl868
6c318d85c9 fix: layout demo 2019-12-26 12:21:08 +08:00
ycjcl868
2dc8316ca6 fix: empty dark image 2019-12-26 11:42:50 +08:00
ycjcl868
e9c5667596 Merge origin/4.0-prepare into feat-dark-palette 2019-12-26 11:28:05 +08:00
afc163
7c24239f3d 💄 tweak @card-hover-border color 2019-12-26 11:10: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
Amumu
9120ff8c42 feat: TextArea add support onResize (#20408)
* textarea add support onresize

* add test case

* Improve code coverage

* improve

* snapshot

* improve test case

* none

* update docs
2019-12-25 22:02:19 +08:00
ycjcl868
0f9ee82d89 fix: card demo inner 2019-12-25 21:58:28 +08:00
ycjcl868
f866fac698 fix: demo margin in dark 2019-12-25 21:54:21 +08:00
ycjcl868
27a3758e1f fix: input group demo dark 2019-12-25 21:48:54 +08:00
ycjcl868
fa0da1257a fix: Modal icon 2019-12-25 21:28:06 +08:00
ycjcl868
51b118e489 fix: empty svg 2019-12-25 21:19:15 +08:00
ycjcl868
bd2633d303 Merge 4.0-prepare into feat-dark-palette 2019-12-25 21:13:07 +08:00
ycjcl868
7215fee6e3 fix: alert component dark theme 2019-12-25 21:04:47 +08:00
ycjcl868
0431074711 fix: collapse custom demo style 2019-12-25 20:58:24 +08:00
二货机器人
0f63cfceaf
Merge pull request #20449 from ant-design/merge-master
chore: Merge master
2019-12-25 20:38:44 +08:00
骗你是小猫咪
30bb97552e fix: datePicker size (#20384)
* fix: datePicker size

* fix align

* remove componet less var and use input base

* use padding spread

* extract picker-padding

* fix spelling mistakes
2019-12-25 20:35:29 +08:00
ycjcl868
c6fa94c534 fix: picker-date hover range color 2019-12-25 20:34:40 +08:00
ycjcl868
ca77c02d10 fix: Progress steps item bg 2019-12-25 20:24:40 +08:00
zombiej
80359a15b1 clean up 2019-12-25 20:19:33 +08:00
zombiej
6dc5a8c2f4 update snapshot 2019-12-25 20:07:10 +08:00
ycjcl868
f1c8dc70ed fix: result error icon demo 2019-12-25 20:04:23 +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
ycjcl868
f7cfb21d1c fix: calendar-full background 2019-12-25 18:06:50 +08:00
ycjcl868
2c3c39f026 fix: drawer style 2019-12-25 17:43:39 +08:00
ycjcl868
d0dc06a2e0 fix: tag demo style 2019-12-25 17:20:47 +08:00
ycjcl868
ceaf19112d fix: tabs dark demo 2019-12-25 17:16:53 +08:00
偏右
2464de1888
perf: optimize bundlesize (#20436)
* 📦 react-slick => @ant-design/react-slick

* 📦 Reduce non-minified dist files size

* 🆙 @ant-design/react-slick
2019-12-25 17:15:35 +08:00
ycjcl868
bd8564e53e fix: form demo dark style 2019-12-25 17:12:36 +08:00
骗你是小猫咪
0b0fd9a62c refactor(Button): Back to inline-block (#20440) 2019-12-25 17:08:34 +08:00
ycjcl868
76f31cb6f8 fix: list demo dark style 2019-12-25 17:05:51 +08:00
ycjcl868
2af4c84c22 fix: table header sort active bg 2019-12-25 16:59:21 +08:00
陈小聪
41ce3e2f5b chore: TimePicker types (#20439) 2019-12-25 16:23:14 +08:00
ycjcl868
c100b892ba fix: table dark theme style 2019-12-25 15:59:16 +08:00
ycjcl868
cc2b5ddca7 fix: icon, dropdown style 2019-12-25 15:44:58 +08:00
ycjcl868
5a80917dca fix: checkbox en doc style 2019-12-25 15:16:47 +08:00
ycjcl868
839ed3ed05 fix: table site dark style 2019-12-25 15:14:34 +08:00
ycjcl868
957b1ac7d0 fix: calendar style hover 2019-12-25 15:04:41 +08:00
ycjcl868
5dbfe42159 fix: Icon dark theme 2019-12-25 14:42:15 +08:00
xrkffgg
847f5fcd31 fix: tab bar animated style (#20417)
* fix: tab-bar animated style

* fix css style
2019-12-25 14:11:57 +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
ycjcl868
fb44177f2f fix: dark theme fixed 2019-12-25 11:02:45 +08:00
ycjcl868
35c01f6874 fix: descriptions bg 2019-12-25 10:28:29 +08:00
ycjcl868
057c4a6745 fix: menu pop submenu theme 2019-12-25 10:23:01 +08:00
ycjcl868
a70560ae19 Merge 4.0-prepare into feat-dark-palette 2019-12-24 23:40:25 +08:00
ycjcl868
c10a6f029c fix: demo style 2019-12-24 20:58:42 +08:00
叶枫
fd98901a9c feat: Form list add move typescript (#20406)
* Update Form.tsx

* Update Form.tsx

* feat: add-typescript
2019-12-24 20:36:27 +08:00
ycjcl868
6a7752a587 fix: steps custom-icon 2019-12-24 19:06:14 +08:00
ycjcl868
589750dbd6 fix: dark.css theme in site 2019-12-24 18:14:21 +08:00
zombiej
a78e5c99bf update snapshot 2019-12-24 17:39:45 +08:00
ycjcl868
c352a1786b fix: steps custom icon style 2019-12-24 15:01:03 +08:00
zouxiaomingya
1ebf5fa4b7 feat: Typography add suffix (#20224)
* feat:Typography add suffix

* feat:run test

* fix:lint

* feat: update suffix example

* feat: update test

* fix: updateupdateSnapshot

* fix: upate test

* run lint

* feat: measureSuffixText

* feat: suffix 不可省略

* fix: title

* fix: update node_modules

* fix: change title type
2019-12-24 11:59:17 +08:00
wwwxy
b826157e73 update TreeSelect docs (#20402) 2019-12-24 11:18:43 +08:00
ycjcl868
52e9c20b10 Merge origin/4.0-prepare into feat-dark-palette 2019-12-24 10:42:07 +08:00
二货机器人
4047e2632e
fix: responsiveObserve init miss sizing (#20400)
* fix: init miss sizing

* update mock test
2019-12-23 23:24:47 +08:00
ycjcl868
3a38cfaa01 fix: card, form site dark theme 2019-12-23 20:07:56 +08:00
ycjcl868
180effc5db fix: steps icon 2019-12-23 19:23:39 +08:00
ycjcl868
0f546690b5 fix: steps styles 2019-12-23 18:36:49 +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
ycjcl868
27ce7012e7 fix: border-color 2019-12-23 18:08:15 +08:00
ycjcl868
7acab87a03 Merge origin/4.0-prepare into feat-dark-palette 2019-12-23 17:31:31 +08:00
ycjcl868
6477b46fa8 fix: data-theme 2019-12-23 17:16:26 +08:00
ycjcl868
194bf3603f fix: site code action icon 2019-12-23 16:36:40 +08:00
二货机器人
d4d79bbe13
fix: Adjust Select style (#20387)
* fix: Select style sync with v3

* update demo

* update test case
2019-12-23 16:22:59 +08:00
chenshuai2144
cbfc052d0d dark theme sync 2019-12-23 16:02:09 +08:00
ycjcl868
5d0aa4a231 fix: grid 2019-12-23 14:49:45 +08:00
ycjcl868
4895c3d2a9 fix: dark theme 2019-12-23 11:46:40 +08:00
约修亚
f4fd7cf0da Update index.zh-CN.md (#20382)
API中遗漏了code属性?
2019-12-23 11:13:01 +08:00
ycjcl868
65695f4f62 Merge origin/4.0-prepare into feat-dark-palette 2019-12-23 09:15:40 +08:00
Hami Abdi
0a00c5e22a Correct Grammar in Form Component's Documentation (#20381)
In a demo corresponding to the form component, a comment contains a grammatical mistake: an infinitive in this context requires the present instead of past tense.
2019-12-23 09:13:04 +08:00
Rustin
92169c4853 upload: fix upload not support ico file type issue(#20360) (#20375) 2019-12-22 17:23:08 +08:00
骗你是小猫咪
5b29913174
refactor(Button): base style use flex (#20300)
* improvement(Button): base style use flex

* remove unnecessary style

* add vertical-align

* fix style lint order

* remove vertical-align and improve global line-height

* change line-height-base

* update form debug demo
2019-12-21 22:01:47 +08:00
ycjcl868
b15458f8c5 fix: dark theme 2019-12-21 17:11:32 +08:00
ycjcl868
608c000852 fix: mentions bg 2019-12-21 17:07:29 +08:00
ycjcl868
d316190e41 fix: picker dark theme 2019-12-21 16:38:51 +08:00
ycjcl868
b2576d92bc Merge origin/4.0-prepare into feat-dark-palette 2019-12-20 22:40:59 +08:00
二货机器人
2b309341cd
fix: Select empty style & default width (#20232)
* fix empty style

* update select deps

* fix arrow position & group style

* add missing hover color

* form style update

* fix form style
2019-12-20 18:29:39 +08:00
ycjcl868
6a96299010 Merge 4.0-prepare into feat-dark-palette 2019-12-20 16:38:33 +08:00
骗你是小猫咪
74082defe9 fix(Form): feedback icon with input suffix display not correct (#20363)
* fix(From): feedback icon with input suffix display not correct

* update snapshots

* review change

* revert register.md and improve feedback example
2019-12-20 16:24:55 +08:00
偏右
f98debaeee
chore: 📝 improve docs and config json (#20364) 2019-12-20 15:07:18 +08:00
偏右
6e27c62eb3
🐛 fix Tag onClick triggered when close (#20355)
close #20344
2019-12-19 22:12:37 +08:00
二货机器人
bfe1294562
4.0 table (#20350)
* chore: Update table style

* chore: diff table filter hover color

* style lint
2019-12-19 17:48:56 +08:00
xrkffgg
38dab1f725 fix: cascader error color (#20347)
* [fix] cascader error color

* fix: cascader error/warning color
2019-12-19 17:14:12 +08:00
二货机器人
a33acaacf4
fix: datePicker popup z-index should over modal (#20346) 2019-12-19 16:35:04 +08:00
二货机器人
95e45044ee
fix: Form select error style (#20345) 2019-12-19 16:23:30 +08:00
zombiej
4ce683a8b2 test: Update test case 2019-12-19 16:10:36 +08:00
wwwxy
f14f934c3d update TreeSelect docs (#20341) 2019-12-19 14:48:06 +08:00
kailunyao
32744e733c fix: Disallow auto focus input after triggering "onSearch" event in mobile and tablet devices (#20332)
close #20297
2019-12-19 12:52:53 +08:00
Rustin
1c4bae59ba feat: add Input element for Skeleton (#20264)
* complete skeleton input element (#18237)

* update test snapshots

* update skeleton doc

* add more test for skeleton input

* fix test snapshots issue
2019-12-19 11:56:50 +08:00
vagusX
e0aeb4f4a9 fix: poweroff icon in button (#20338) 2019-12-19 11:51:12 +08:00
He Linming
ea9e9fb410 🐛 (Table): fix filters define in onChange (#20337)
close #20270
2019-12-19 10:42:19 +08:00
ycjcl868
8ffcbe468a feat: change theme 2019-12-18 18:45:05 +08:00
偏右
7a2d1f2017
💄 optimize Steps labelPlacement vertical UI (#20325) 2019-12-18 17:46:17 +08:00
ycjcl868
e53a05cf53 tmp: not merge 2019-12-18 15:28:36 +08:00
ycjcl868
dae4e4f5fe fix: primary color , fix select item bg 2019-12-18 15:28:36 +08:00
ycjcl868
70ea42aa18 fix: slider color 2019-12-18 15:28:36 +08:00
ycjcl868
3b112e048d fix: process-tail-color 2019-12-18 15:28:36 +08:00
偏右
4d6bcf4978
🐛 Fix Alert description wrapping (#20318)
close #20313
2019-12-18 12:25:43 +08:00
偏右
930ad2eb40
docs: 📝 Description List => Descriptions (#20316)
* chore: 📝 Description List => Descriptions

* Update index.en-US.md
2019-12-18 12:09:05 +08:00
陈小聪
53bed3ffa8 fix: 4.0 table demo ts to js no work (#20298) 2019-12-17 17:54:10 +08:00
afc163
15f75e1c55 fix time picker test snapshots 2019-12-17 16:58:41 +08:00
偏右
f805d2e292
🐛 fix Tabs ink bar missing transition animation (#20283)
close #20239
2019-12-16 22:20:42 +08:00
偏右
9fa72ab74d
🐛 Fix TreeNode without icon white block (#20274) 2019-12-16 21:25:14 +08:00
Guichi Zhao
1958b78ecc docs: copy state to props is a bad practice (#20212)
* Copy state to props is a bad practice 

The original code copy the props the state which is not necessary at all, it will only confuse the reader!
Also, it considered being a bad practice: https://overreacted.io/writing-resilient-components/

* remove console

* fix indentation

* fix lint error

* improve js syntax
2019-12-13 20:00:35 +08:00
二货机器人
c35174e9e5
fix Form.Item align style (#20216) 2019-12-13 10:38:40 +08:00
vagusX
871ab3da81 feat: add waring for icon props in Avatar, Button, Modal.method and Result (#20226) 2019-12-13 10:18:12 +08:00
Chuck
a90e447758 docs: Update Tree docs (#20208) 2019-12-12 19:24:46 +08:00
二货机器人
92e5107ef8
fix: required support dynamic updated rules (#20207) 2019-12-12 12:05:59 +08:00
afc163
b02d80d60f 🎬 improve Tree showLine demo 2019-12-12 11:18:23 +08:00
afc163
0a5ec6713c 🐛 Fix Tree showLine and showIcon missing icon
close #20192
2019-12-12 11:18:23 +08:00
二货机器人
b07d95b0dd
docs: Update Table scroll docs (#20204) 2019-12-12 11:14:43 +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
zombiej
50b82ca509 test: Update test case snapshot 2019-12-11 18:32:07 +08:00
二货机器人
ae88fdeabd
feat: Warning invalidate element when using name. (#20191) 2019-12-11 16:08:59 +08:00
TsesamLi
6301c20f6c fix: fix type of OptionProps
rc-select#Option could accept "label" props, but it was lose in type def OptionProps
9ad3b02c82/src/interface/index.ts (L11)
2019-12-11 16:00:29 +08:00
Olivier Louvignes
3ef0a402b5 feat(table): Add defaultFilteredValues to table columns (#20088) 2019-12-11 15:15:23 +08:00
偏右
05c2f92b69 ⚠️ Add Alert.ErrorBoundary (#19923)
 support ErrorBoundary message and description
2019-12-11 14:15:45 +08:00
二货机器人
7b4123258b
fix: table should not show sorter when sorter is falsy (#20187)
fix #20096
2019-12-11 14:14:52 +08:00
Theo Satloff
721d8cb4a0 improve dropdown/cascader/select customization 2019-12-10 13:21:36 +08:00
Theo Satloff
b0d55c8861 fix icon spacing in forms 2019-12-10 13:14:23 +08:00
afc163
20ef1f199c 🎬 improve Dropdown context menu demo 2019-12-10 11:37:32 +08:00
Khaled
2f7998cc0c Fix: "disabledTime" property type in date-picker
disabledTime property should not be required in DatePicker component.
2019-12-09 23:38:00 +08:00
afc163
fee211e3c4 📝 Add docs for ConfigProvider getPopupContainer
close #19974
2019-12-09 19:44:33 +08:00
陈杰
8188956193 When using the render property to customize the title, the title property of the datasource is not required 2019-12-09 19:15:41 +08:00
afc163
85fcf0fe6e 🐛 fix Icon component ts error with cra definition
close #13205
close #19638
2019-12-09 15:27:58 +08:00
ycjcl868
1641e5a37b fix: lint 2019-12-07 10:38:14 +08:00
ycjcl868
bb42770da7 fix: rename @gray-11 to @popover-background 2019-12-07 10:21:05 +08:00
叶枫
6bb5e4ea3d feat: export interface (#20121)
* Update Form.tsx

* Update Form.tsx

* feat: add export
2019-12-06 14:59:16 +08:00
Kim, Harim
850a5b4567 Docs: fix table demo typing error (#20115)
* Docs: fix table demo typing error

* test: update snapshots (#20115)

* test: update snapshots (#20115)
2019-12-06 14:22:54 +08:00
信鑫-King
96d8ee30d2
Merge pull request #20095 from ant-design/fix-dark-theme-4
fix: dark theme in 4.0
2019-12-06 13:43:20 +08:00
afc163
adf5288524 💄 Fix Editable Textarea flash in Firefox 2019-12-06 12:03:16 +08:00
afc163
4300c046a0 📝 improve Typography demo description 2019-12-06 12:03:16 +08:00
afc163
fb68fcdc05 💄 use classNames in Editable 2019-12-06 12:03:16 +08:00
叶枫
4f43482059 feat: export interface (#20111)
* feat: add export

* Update Title.tsx
2019-12-06 10:44:47 +08:00
zombiej
3d8b076b83 fix: table fixed columns should not overlap other z-index element
fix #20098
2019-12-05 19:31:24 +08:00
偏右
4146efa810
🐛 fix duplicated icons when Tree showLine is true (#20102)
close #20090
2019-12-05 17:48:47 +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
89e8d01310 fix: @menu-popup-bg in dark 2019-12-05 12:33:48 +08:00
叶枫
6a70d31f1c feat: export FormItemProps (#20089) 2019-12-05 11:19:27 +08:00
偏右
89a6593c44
🐛 Fix Table column align in windows chrome (#19986)
close #19952
2019-12-05 10:55:45 +08:00
ycjcl868
6af7f8382c feat: @input-icon-hover-color 2019-12-05 00:04:50 +08:00
ycjcl868
b6f2d73a56 fix: progress ts 2019-12-04 21:01:55 +08:00
ycjcl868
1cb4acce60 test: update snapshot 2019-12-04 20:48:36 +08:00
ycjcl868
34332116fb feat: @skeleton-to-color, @transfer-item-hover-bg, fix: progress style statusColor 2019-12-04 20:45:12 +08:00