Commit Graph

10620 Commits

Author SHA1 Message Date
二货机器人
0b5c92b1a4
chore: Clean up merged code (#20595)
* chore: Clean up merged code

* fix hy-am
2020-01-02 16:51:52 +08:00
陈小聪
014bed6358 docs: generate picker (#20515)
* docs: faq How to use dayjs instead of moment

* adjust article position

* add steps and use cases

* change docs

* add bisheng config source

* translate title

* remove customize TimePicker

* simplified document

* Update docs/react/generate-picker.zh-CN.md

Co-Authored-By: 偏右 <afc163@gmail.com>

* Update docs/react/generate-picker.zh-CN.md

Co-Authored-By: 偏右 <afc163@gmail.com>

* add cra demo

* init demo refer 'Use in TypeScript'

Co-authored-by: 偏右 <afc163@gmail.com>
2020-01-02 16:05:59 +08:00
二货机器人
1168cb5909
docs: Update demo remove table background (#20593) 2020-01-02 15:47:30 +08:00
vagusX
da8ebb973a feat: use @ant-design/icons@4.0.0-alpha.19 to fix ref issue (#20588) 2020-01-02 14:11:12 +08:00
叶枫
4adc4df3e6 fix: form item array children interface (#20577)
* Update Form.tsx

* Update Form.tsx

* fix: fix formItem array children interface

* fix: array

* feat: test
2020-01-01 20:07:09 +08:00
zombiej
36189b5787 docs: Add missing form List operation 2019-12-31 20:54:04 +08:00
capdiem
91e342355c 🐛 fix: Fix that types of property 'children' are incompatible (#20554) 2019-12-31 20:21:30 +08:00
信鑫-King
f69b656a04
Merge pull request #20555 from ant-design/fix-dark-component
fix: site dark tweak style
2019-12-31 17:49:04 +08:00
ycjcl868
857fc6e73c fix: timeline dot bg 2019-12-31 15:45:33 +08:00
二货机器人
deba77b3d6
fix: Tree missing aniation when virtual scrolled (#20565)
* fix: Tree missing aniation when virtual scrolled

* clean up

* skip debug test
2019-12-31 15:45:28 +08:00
ycjcl868
b2722078a2 fix: transfer customize disable Input style 2019-12-31 15:32:09 +08:00
ycjcl868
eb005a17cb fix: table header 2019-12-31 15:12:18 +08:00
ycjcl868
fce441843c fix: margin-bottom style 2019-12-31 15:12:18 +08:00
ycjcl868
e7663800c6 fix: Picker margin-bottom 2019-12-31 15:12:18 +08:00
ycjcl868
0903e3924c fix: button dark hover,active 2019-12-31 15:12:18 +08:00
ycjcl868
f230ac58d6 fix: site dark, tweak style 2019-12-31 15:12:18 +08:00
偏右
d8cea7489d
💄 fix stylelint warnings and errors (#20562) 2019-12-31 15:04:00 +08:00
偏右
2adf8ced24
fix: 💄 Remove Input.Password value attribute from dom (#20544)
* 💄 Remove Input.Password value attribute in dom

close #20541
close #7761
close #19959
close #20536
close #12672
close #10952

*  fix test coverage

* 🐛 fix defaultValue create `value` attribute in Input.Password
2019-12-31 14:41:09 +08:00
偏右
cc2a29ca54
💄 optimize card hoverable style (#20561) 2019-12-31 14:30:46 +08:00
偏右
7dea548551 refactor: 🗑 remove deprecated or compatibility css code (#20547)
* 🗑️ remove deprecated or compatibility css code

*  update snapshots

*  fix test case and compile error

*  fix stylelint
2019-12-31 11:54:39 +08:00
Yash Joshi
8704569a30 fix(style): form field error border style for select (#20517)
* fix(style): form  field error border style for select

* fix: add style for input-group-addon

* fix: remove invalid styles
2019-12-30 22:50:33 +08:00
二货机器人
849746b361
fix: Select use value width instead of default fixed width (#20538)
* init using content width

* auto width

* tmp magic number

* clean useless style
2019-12-30 22:49:19 +08:00
DiamondYuan
4297f33e85 fix: use Object.prototype.toString to check object (#20546)
close #20528
2019-12-30 22:14:17 +08:00
偏右
8ea9356399
💄 Improve Step type="navigation" UI in small screen (#20545)
close #19877
2019-12-30 20:13:24 +08:00
zombiej
530db658bc chore: Merge master 2019-12-30 16:43:34 +08:00
liyuanqiu
121437b666 Remove inconsistant style (#20533)
Remove "line-height: unset;" from ".@{radio-group-prefix-cls}".
It causes inconsistance with Checkbox.Group.
See: https://codesandbox.io/s/antd-radio-line-height-8kt7u
2019-12-30 16:01:29 +08:00
二货机器人
f2fdf490de
fix: Table with invalidate pagination totol should ignore (#20532) 2019-12-30 15:35:53 +08:00
二货机器人
5f7ca16ed5
docs: Update form demo to remove defaultValue (#20524)
* docs: Update form demo to remove defaultValue

* update demo

* update styl

* add missing content

* update snapshot
2019-12-30 14:53:47 +08:00
二货机器人
e3126ab20d
chore: Add warning when use remove function (#20527) 2019-12-30 12:13:58 +08:00
二货机器人
0189ba61bf
docs: Update demo error message (#20521) 2019-12-29 18:32:13 +08:00
Yash Joshi
f022709f91 fix: padding right for select[size=small] (#20506)
* fix: padding right for select[size=small]

* fix: add style on class with arrow icon
2019-12-28 22:39:18 +08:00
偏右
df8f34309f revert Table page return 1 after sort (#20507)
close #16978
close #17770
close #17648
close #18099
close #17075
close #19369
2019-12-28 21:52:09 +08:00
Yash Joshi
8b81ce7cc3 fix: select icon on hover & focus in input.group (#20504) 2019-12-28 16:13:33 +08:00
二货机器人
1636f6107e
fix: FormItem errors should show in diff line (#20512) 2019-12-28 14:53:43 +08:00
二货机器人
695b67b045
fix getPopupContainer not work (#20509) 2019-12-28 12:55:03 +08:00
偏右
31b1bf7272
Merge pull request #20492 from ant-design/add-form-demo
docs: Add form demo
2019-12-27 17:36:09 +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
afc163
276a02dfe0 fix test case 2019-12-27 16:13:13 +08:00
afc163
08ab82d17f :clipper: Add complex form control demo for Form
https://github.com/ant-design/ant-design/issues/20481#issuecomment-569184410
2019-12-27 15:36:27 +08:00
偏右
4fc544e023
Merge branch '4.0-prepare' into master-for-merge-4.x 2019-12-27 12:34:40 +08:00
afc163
670bd4bf5b update snapshots 2019-12-27 12:27:56 +08:00
zombiej
e449b1aee2 chore: Update snapshot 2019-12-27 12:22:00 +08:00
ycjcl868
61520d2f00 fix: card hover border not change 2019-12-27 10:58:01 +08:00
ycjcl868
7c3beabd4c fix: button ghost color 2019-12-27 10:16:02 +08:00
zombiej
c5df5c1547 chore: Update test to fix useRealTimer 2019-12-26 17:07:59 +08:00
ycjcl868
18cba6dd9c fix: version 4.0.0-beta.1 2019-12-26 16:14:56 +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
偏右
2f72e472e5
🐛 Fix Table header text align when colspan=1 (#20463)
https://github.com/ant-design/ant-design/issues/20126#issuecomment-563307001
2019-12-26 16:07:01 +08:00
ycjcl868
090f25845c fix: lint 2019-12-26 15:59:50 +08:00
ycjcl868
e5bc8bab5a fix: style:lint 2019-12-26 15:55:10 +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
cb788dc77c chore: update snapshot 2019-12-26 15:42:08 +08:00
ycjcl868
f36b4deaaa Merge origin/4.0-prepare into feat-dark-palette 2019-12-26 15:31:05 +08:00
二货机器人
abf215a982
docs: Update 4.0 site (#20290)
* init recommend block

* init design pages

* home frames

* add background banner

* hello, Hitu makes the animation

* add media query

* add images

* update types

* add declare

* preload support

* update ignore

* additional ignore site Home lint

* update ignore

* add hover effect

* adjust alt of bannber

* adjust lang & card shadow

* fix typo

* adjust desc

* hitu in english

* article add link

* Certainty is hitu

* Meaning Hitu

* Growth with Hitu

* Natural Hitu

* slow down of Natural

* adjust speed of icons

* New Meaning animation

* adjust animation duration

* update card link

* update link

* values doc

* replace images

* faster Growth

* update values

* fix lint

* all slow down

* adjust padding

* update icons

* adjust margin

* update images

* adjust montion

* adjust by designer

* update pages

* update design prod

* update articles

* update site style

* update doc

* update images

* update style

* lint fix

* adjust liner color

* github text color update

* adjust margin of title

* mobile design

* update design sub card

* update style

* less lint

* update images

* design card auto height

* update img

* update logo transition

* adjust card style

* adjust style to fix 184

* adjust nav style

* category it

* slow down of logo

* update style

* hide video link

* hitu article

* use img of hitu

* update docs

* style lint

* update Hitu layout doc

* update images

* speed up logo

* update link

* clean up

* clean up

* update doc

* adjust doc

* update images
2019-12-26 15:27:52 +08:00
ycjcl868
0306096356 chore: update snapshot 2019-12-26 15:15:46 +08:00
ycjcl868
3a527c63fe fix: docs Menu api 2019-12-26 15:10:15 +08:00
ycjcl868
a8579affd1 Merge origin/4.0-prepare into feat-dark-palette 2019-12-26 15:04:53 +08:00
ycjcl868
78c8647d00 fix: https image url 2019-12-26 14:52:13 +08:00
ycjcl868
8a7beb02bd fix: dropdown menu 2019-12-26 14:48:29 +08:00
Amumu
29b4b7004e docs upgrade (#20460) 2019-12-26 14:37:39 +08:00
plainnany
77dc5fa4e7 📝 Update draggable.md (#20458)
close #20455
2019-12-26 14:32:14 +08:00
ycjcl868
6921bd4b8b fix: checkbox demo dark 2019-12-26 14:18:50 +08:00
ycjcl868
45082873d6 fix: menu popup dark color 2019-12-26 14:06:32 +08:00
偏右
9ea5fb3050
🐛 Fix Tree wrong indent (#20456)
close #20441
2019-12-26 12:25:00 +08:00
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