Commit Graph

18529 Commits

Author SHA1 Message Date
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
二货机器人
c008f15885
fixed reproduce logic (#20234) 2019-12-13 15:49:52 +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
骗你是小猫咪
bb844e245c
refactor: upgrade rc-trigger (#19179)
* add rc-trigger to devDependencies

* upgrade dev and dep

* change dep rc* tilde to caret

* remove package.json rc-calendar and upgrade rc-util

Fixes #19169
2019-12-12 11:11:57 +08:00
zombiej
5a431868f5 bump 4.0.0-beta.0 2019-12-11 23:47:31 +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
偏右
f459ae9e63
🔧 Add unpkg field in package.json (#20193)
https://unpkg.com/
2019-12-11 16:56:01 +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
afc163
fdc6070b50
💄 fix home buttons align of Windows Firefox
close https://www.v2ex.com/t/627502
2019-12-10 23:56:05 +08:00
xiaohuoni
d0d521fc63 import/extensions:0 2019-12-10 15:04:11 +08:00
xiaohuoni
dd63f15b15 open codesandbox always use jsx 2019-12-10 15:04:11 +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
afc163
62839eb426 bump 3.26.2 2019-12-10 11:23:38 +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
Wei Zhu
57cb4a460b docs: update changelog 2019-12-09 17:42:15 +08:00
chenshuai2144
fd6d1796ed chore: lock eslint-plugin-impor 2019-12-09 17:07:11 +08:00
afc163
e01e545dcd 🆙 upgrade eslint-plugin-import
https://github.com/benmosher/eslint-plugin-import/issues/1557

bc3b034b59
2019-12-09 15:39:59 +08:00
afc163
13fb839032 🆙 fix eslint errors 2019-12-09 15:27:58 +08:00
afc163
85fcf0fe6e 🐛 fix Icon component ts error with cra definition
close #13205
close #19638
2019-12-09 15:27:58 +08:00
Wei Zhu
0b1a5409bd Bump 3.26.1 2019-12-09 15:04:53 +08:00
Wei Zhu
ea1f00d19f
Merge pull request #20140 from ant-design/release-3.26.1
add 3.6.1 changelog
2019-12-09 14:55:05 +08:00
Wei Zhu
bef81beba6 add 3.6.1 changelog 2019-12-09 14:09:22 +08:00
depfu[bot]
b875f2ac83 Update react-dnd to version 10.0.2 (#20138) 2019-12-09 10:00:01 +08:00
depfu[bot]
408fbb41e5 Update stylelint-config-prettier to version 8.0.0 (#20129) 2019-12-07 19:58:30 +08:00
信鑫-King
6f64b945b8
Merge pull request #20133 from ant-design/upd-4-version
chore: update 4.0.0-alpha.14
2019-12-07 16:05:32 +08:00
ycjcl868
ab92deefd3 chore: update 4.0.0-alpha.14 2019-12-07 16:04:20 +08:00
信鑫-King
57b4995653
Merge pull request #20130 from ant-design/fix-popover-bg-vars
fix: rename @gray-11 to @popover-background
2019-12-07 16:03:09 +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
信鑫-King
6e8df7cd53
Merge pull request #20127 from ant-design/fix-dark-filename
chore: use dark-theme.js, antd.dark.less and css
2019-12-06 22:15:51 +08:00
ycjcl868
840f1350b3 fix: test ci 2019-12-06 21:37:26 +08:00
ycjcl868
1ecf02b00a 📝 use dark-theme.js, antd.dark.less and css 2019-12-06 21:09:57 +08:00
信鑫-King
0024365962
Merge pull request #20117 from PeachScript/dist-dark-theme-css
chore: add entry to dist css files for the dark theme
2019-12-06 21:00:16 +08:00
PeachScript
88ca556fe5 build: rename css dist file for dark theme 2019-12-06 15:02:12 +08:00
叶枫
6bb5e4ea3d feat: export interface (#20121)
* Update Form.tsx

* Update Form.tsx

* feat: add export
2019-12-06 14:59:16 +08:00