Commit Graph

10482 Commits

Author SHA1 Message Date
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
ycjcl868
e15b9c5f37 fix: dark button color 2019-12-04 20:14:28 +08:00
偏右
62d7a2bbb0
restore test coverage (#20071) 2019-12-04 14:09:39 +08:00
ycjcl868
4e45bee68f feat: add @select-clear-background 2019-12-04 12:28:37 +08:00
ycjcl868
f194a9d885 fix: input password icon hover 2019-12-04 12:14:29 +08:00
偏右
bca69b6e8c 🔧 remove antd/es/form/__tests__ from npm package (#20069) 2019-12-04 12:07:22 +08:00
ycjcl868
dfab3c4ab5 fix: border-color in popover component 2019-12-04 11:58:48 +08:00
Liu Ya
3fed6f02a5 fix: DescriptionItem className error to label (#20067) 2019-12-03 23:59:37 +08:00
信鑫-King
c247e92463
Merge pull request #20012 from ant-design/fix-dark-theme
fix: test antd dark theme component
2019-12-03 23:38:00 +08:00
ycjcl868
4be9e9dd62 fix: remove dark.less import 2019-12-03 22:27:39 +08:00
ycjcl868
7b826879de fix: @link hover,active color 2019-12-03 21:14:16 +08:00
ycjcl868
62952a89b5 fix: empty prefix className, update snapshot 2019-12-03 20:17:13 +08:00
ycjcl868
d8ab994ecb fix: border-color use solid color 2019-12-03 19:57:09 +08:00
偏右
43bf7965de
🐛 Fix Button text not align center in Chrome (#20059)
revert solution of 05181d552e

close #19972
close #20058
2019-12-03 18:06:07 +08:00
ycjcl868
dc90c21f15 fix: @theme default 2019-12-03 15:40:15 +08:00
ycjcl868
e2251f515b fix: @theme condition 2019-12-03 15:39:32 +08:00
ycjcl868
22aba08b41 fix: progress trailColor support dark theme 2019-12-03 14:00:52 +08:00
Rustin
7a5fc8bb19 feat: add skeleton avatar (#19898)
* move avatar default props into skeleton

* #18237 complete skeleton avatar

* update skeleton avatar docs

* add more tests for skeleton avatar

* refactor class and props name

* revert Avatar props name

* combine avatar and button demo

* update demo and test snapshots

* move active props into element
2019-12-03 13:33:04 +08:00
ycjcl868
d6f41db414 fix: default theme button danger color 2019-12-03 12:21:21 +08:00
afc163
811d562527 update snapshots 2019-12-03 12:19:49 +08:00
afc163
16ac3b31df 🐛 Fix filterIcon Tooltip title is not working
close #20049
2019-12-03 12:19:49 +08:00
afc163
85b6744bf6 🐛 Fix filterIcon render string cause Table broken 2019-12-03 12:19:49 +08:00
ycjcl868
3fd3ad67d4 feat: svg dark theme, Close, Close #19971. 2019-12-02 20:18:59 +08:00
afc163
0ab55ce884 🐛 fix footer style in small table 2019-12-02 19:18:53 +08:00
afc163
ecce1e4aba update snapshots 2019-12-02 19:02:33 +08:00
afc163
6096f6e281 🐛 fix small table header border issue
close #20030
close #18762
2019-12-02 18:07:22 +08:00
damon.chen
cba968f9dc chore: fix RangePicker value and onChange definition (#20015) 2019-12-02 17:22:06 +08:00
偏右
be06f53e23
🐛 Fix List pagniation options text align (#20038)
close #20037
2019-12-02 16:12:32 +08:00
ycjcl868
d5d2051ec7 fix: components notification 2019-12-02 13:23:30 +08:00
ycjcl868
505b12a1e9 fix: table header dark 2019-12-02 12:27:14 +08:00
ycjcl868
898311c637 fix: datepicker bg @time-picker-panel-inner-bg 2019-12-02 12:22:19 +08:00
ycjcl868
dc1d1876f8 feat: @radio-dot-disabled-color 2019-12-02 12:03:05 +08:00
ycjcl868
28306fb304 fix: colorPalette and @tree-bg 2019-12-02 10:53:09 +08:00
ycjcl868
fcae72cd9f fix: md style 2019-12-02 00:03:59 +08:00
ycjcl868
646a1d091d fix: reset md style 2019-12-02 00:03:06 +08:00
ycjcl868
d94845fc7c fix: remove @import dark 2019-12-02 00:00:12 +08:00
ycjcl868
aa963b53c0 fix: @mentions-dropdown-bg 2019-12-01 23:58:14 +08:00
ycjcl868
208d954a1d fix: @input-number-handler-bg 2019-12-01 23:52:38 +08:00
ycjcl868
99f8d84f2f feat: date-picker, steps less dark 2019-12-01 23:44:51 +08:00
ycjcl868
5590ba0d4e Merge 4.0-prepare into fix-dark-theme 2019-12-01 22:46:15 +08:00
ycjcl868
f7f17c86d5 feat: @dropdown-menu-submenu-disabled-bg 2019-12-01 22:45:19 +08:00
ycjcl868
327011da77 feat: @theme dark, default 2019-12-01 22:28:35 +08:00
ycjcl868
689d9b7ada feat: @mention-textarea-bg 2019-12-01 21:49:49 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
ycjcl868
d388c1dcc6 fix: cascader and input-number-handler bg 2019-12-01 21:42:02 +08:00
ycjcl868
673f86b3f5 fix: pagination dark theme 2019-12-01 21:23:11 +08:00
coderge
ca6260c75a Update index.zh-CN.md (#19627) 2019-12-01 15:46:17 +08:00
zombiej
1d516d7f7f merge feature 2019-12-01 15:29:53 +08:00
zombiej
6e69bcc9ca fix test case 2019-12-01 15:28:49 +08:00
偏右
d7e81027d6
🐛 Fix Descriptions items not working with React.Fragment (#20019)
close #19887
2019-11-30 18:10:56 +08:00
偏右
0ec7fa84d0
🐛 Fix Slider tooltip not aligned center (#20016)
close #20014
2019-11-30 18:10:48 +08:00
偏右
329edc1ed0
🐛 Fix Input clear icon overclap with feedback icon (#20017)
close #19884
2019-11-30 17:34:06 +08:00
ycjcl868
8ad5b73016 chore: test antd dark theme component 2019-11-30 00:08:37 +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
信鑫-King
70c279d466
Merge pull request #19968 from ant-design/feat-dark-theme-4.0
feat: dark theme in 4.0
2019-11-29 22:26:52 +08:00
ycjcl868
8985abda11 fix: color palette use @blue-6 base in light theme 2019-11-29 22:15:02 +08:00
ycjcl868
fc3b775452 📝 dark theme usage 2019-11-29 22:09:07 +08:00
骗你是小猫咪
65312870d4 fix: Col default width (#19983)
* fix: Col default width

* update snapshots
2019-11-29 22:02:35 +08:00
ycjcl868
af0127c8e2 fix: layout dark theme 2019-11-29 09:04:39 +00:00
ycjcl868
212b6fb01d fix: @red-base 2019-11-29 09:04:39 +00:00
ycjcl868
f10f351219 chore: TODO colorPalette 2019-11-29 09:04:39 +00:00
ycjcl868
a124ec8ddf feat: use @{color}-base 2019-11-29 09:04:39 +00:00
ycjcl868
e0a60fbd0b revert: trailColor 2019-11-29 09:04:39 +00:00
ycjcl868
4216525ba1 fix: progress default trailColor 2019-11-29 09:04:39 +00:00
ycjcl868
dfa14f469a feat: add @dropdown-menu-bg, @time-picker-bg, @calendar-bg, @calendar-input-bg, @pagination-item-bg 2019-11-29 09:04:39 +00:00
ycjcl868
34f3b44f6d fix: button default background in dark theme 2019-11-29 09:04:39 +00:00
ycjcl868
b6b788b2e0 fix: stylelint fix 2019-11-29 09:04:39 +00:00
ycjcl868
4116a6ef59 feat: antd-dark.less build tool 2019-11-29 09:04:39 +00:00
ycjcl868
817b2ab70d feat: add @comment-bg, @anchor-bg, @radio-disabled-button-checked-bg, @radio-disabled-button-checked-color, @radtio-solid-checked-color 2019-11-29 09:04:39 +00:00
ycjcl868
f47a22e888 feat: add @table-bg 2019-11-29 09:04:39 +00:00
ycjcl868
aedea846fc feat: add @upload-actions-color 2019-11-29 09:04:38 +00:00
ycjcl868
90cca72327 feat: add @checkbox-check-bg, @switch-bg 2019-11-29 09:04:38 +00:00
ycjcl868
04ec04ac85 feat: add @calendar-item-active-bg 2019-11-29 09:04:38 +00:00
ycjcl868
4440062e66 feat: add @message-notice-content-bg and @calendar-border-color 2019-11-29 09:04:38 +00:00
ycjcl868
41609e40bc feat: add color-base for dark 2019-11-29 09:04:38 +00:00