Commit Graph

1250 Commits

Author SHA1 Message Date
zombiej
9f38c46039 merge master 2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up (#24164)
* update config

* replace react function

* fix alert
2020-05-14 20:54:49 +08:00
zombiej
e6b1b1a4e7 Merge remote-tracking branch 'origin/master' into feature-merge-master 2020-05-14 16:19:39 +08:00
二货机器人
2e284aa017
chore: small bundle size (#24135)
* update warning

* rm warning

* replace with dev warning

* fix test

* fix site

* Update webpack.config.js

Co-authored-by: 偏右 <afc163@gmail.com>

* Update webpack.config.js

* fix sytax

* adjust

* move into function

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +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
精武陈真
227233268d
docs: fix typo (#24109)
from改为form
2020-05-13 12:11:58 +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
二货机器人
72a846681a
chore: Fix Form.List render logic (#24009)
* update snapshot

* update nest logic

* clean up
2020-05-10 10:39:30 +08:00
二货机器人
fafa3b7e51
feat: Form support validateTrigger (#23972) 2020-05-08 23:04:20 +08:00
二货机器人
c4b602e835
fix: FormItem with help (#23945)
* fix: Help status error

* update logic

* adjust ref

* fix ts

* adjust hidden logic
2020-05-07 23:26:07 +08:00
二货机器人
2a0df4f465
fix: FormItem getValueProps warning (#23875) 2020-05-05 16:15:36 +08:00
二货机器人
e15773e25b
fix: Form.Item warning for initialValue (#23846)
* fix: Form.Item warning for initialValue

* Update index.test.js

* Update index.test.js
2020-05-04 12:13:44 +08:00
二货机器人
34bf3fdb66
fix: DatePicker miss placeholder when it's undefined (#23818)
* fix placeholder

* add test case

* update snapshot
2020-05-02 21:55:23 +08:00
二货机器人
58fcee34c1
docs: Add FAQ of form onFieldsChange (#23808) 2020-05-01 16:20:37 +08:00
Zester Quinn Albano
9f2af262ef
docs: add a link to FieldData in setFields FormInstance (#23790) 2020-04-30 20:49:33 +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
hengkx
9868a4dc59 Merge branch 'feature' into mergefeature 2020-04-27 21:02:16 +08:00
偏右
57d36f5b68
Delete tutorial.md 2020-04-27 15:29:51 +08:00
偏右
a4c07fc0af
Merge pull request #23465 from ant-design/master
chore: merge master into feature
2020-04-22 10:42:00 +08:00
Amumu
17c63e52bf
chore: improve less variable @form-item-margin-bottom (#23436)
* improve @formItemMarginBottom

* Revert "improve @formItemMarginBottom"

This reverts commit 6d8da5bdb9.

* update style
2020-04-21 17:48:15 +08:00
偏右
4902c5a4f0
docs: 📖 update Form ts demo for createRef (#23440)
close #23417
2020-04-21 16:42:56 +08:00
偏右
fabec4831c
Merge pull request #23377 from ant-design/master
chore: Merge master into feature
2020-04-18 23:54:51 +08:00
kenve
edcd1b2609
docs(components): improve link (#23355) 2020-04-17 17:56:42 +08:00
二货机器人
02d7292576
fix: Input inline allowClear style (#23259)
* fix: Input allow clear icon

* update test case

* update snapshot
2020-04-14 23:04:23 +08:00
二货机器人
c338569cff
docs: Update Form required desc (#23238)
* Update index.zh-CN.md

* Update index.en-US.md
2020-04-14 15:41:15 +08:00
Eric Wang
436d4b1be5
improvement: Fix types in form item (#22962)
* Fix types in form item

* use jsx.element
2020-04-13 21:30:55 +08:00
afc163
3f4f5864fe fix test case which fails a lot 2020-04-13 20:38:31 +08:00
二货机器人
ca93757747
fix: vertial from label height (#23192) 2020-04-13 16:59:05 +08:00
afc163
78ec790311 resolve merge conflict 2020-04-12 14:44:29 +08:00
二货机器人
50d908662e
docs: Update Form FAQ (#23138)
* docs: Update Form FAQ

* Update index.en-US.md
2020-04-11 10:30:05 +08:00
afc163
b5dd56611b test: fix form test case 2020-04-10 17:05:24 +08:00
二货机器人
9b9839d4d9
docs: Update Form normalize desc (#23108)
* docs: Update Form normalize desc

* Update index.en-US.md
2020-04-10 11:38:02 +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
二货机器人
70eaea6978
clean up when field reset removed (#23041) 2020-04-08 18:47:59 +08:00
二货机器人
4e3c58f2ba
fix form status (#23004) 2020-04-07 22:51:54 +08:00
二货机器人
77d45690c0
feat: Form.Item support initialValue & getValueProps (#22993)
* add getValueProps

* field initialValue

* add faq
2020-04-07 21:57:27 +08:00
zombiej
b0f0a32865 docs: Form doc add version column 2020-04-07 20:43:19 +08:00
骗你是小猫咪
c4fb9edfe0
chore: export form value type (#22755) 2020-04-06 11:32:59 +08:00
偏右
6fc0ca089e
Update index.en-US.md 2020-04-05 21:49:28 +08:00
Rohan Bagchi
d45d4bbd28
Updating document to correct few typos (#22902) 2020-04-03 22:45:39 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn (#22883)
* 🦄 Add eslint-plugin-unicorn

* fix eslint errors

* fix eslint errors

* fix lint demo

* fix lint demo
2020-04-03 15:02:11 +08:00
Hanjun Kim
de827d7eb7
fix typo (#22856)
`bellow` -> `below`
2020-04-02 17:47:39 +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
二货机器人
8f34161db0
fix: Remove useless form textarea height (#22793) 2020-03-31 21:07:13 +08:00
xrkffgg
fd7e7d3695
style: optimization form rtl and demo (#22621) 2020-03-30 21:23:05 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

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

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
zombiej
913204282b merge master 2020-03-28 16:31:17 +08:00
二货机器人
567e8a14c6
chore: adjust ts define (#22662)
* chore: adjust ts define

* Update FormItem.tsx
2020-03-27 15:08:55 +08:00
zombiej
73562d878c merge master 2020-03-27 13:12:37 +08:00
afc163
43de6f3db9 fix test case 2020-03-27 12:26:57 +08:00
Vyacheslav Kamenev
fbdfd4afc0
move @form-item-label-height from form styles to theme variables (#22600) 2020-03-25 21:19:48 +08:00
二货机器人
8514e0f71e
fix: Form.List nest warning (#22575) 2020-03-24 23:39:56 +08:00
二货机器人
d0e182ea70
chore: Warning with defaultValue (#22571)
* add faq

* chore: Warning if Field with defaultValue
2020-03-24 22:23:40 +08:00
二货机器人
f8a342f415
docs: Fix demo (#22569) 2020-03-24 21:46:09 +08:00
afc163
e12e2971d8 merge feature into master-to-merge-feature 2020-03-23 15:02:22 +08:00
二货机器人
3459bfc0be
docs: 4.0.4 changelog (#22505)
* docs: Init changelog

* order

* grouping

* clean up
2020-03-23 10:57:37 +08:00
偏右
41e378a914
docs: 📖 better form demo code naming style (#22490) 2020-03-22 18:31:05 +08:00
Simon Knott
3dd2332549
Address diverse users without gender assumption (#22464)
Not all diverse users don't want to be addressed as "lady" - if they wanted to, they'd have put in "lady".
This commit fixes this potential offense and replaces it using a less specific "hi there".
2020-03-22 17:58:59 +08:00
二货机器人
d33784b813
docs: Update form demo (#22483) 2020-03-22 11:48:56 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
偏右
5bf2b0df8d
🐛 fix Form requestAnimationFrame is not defined (#22429) 2020-03-20 11:51:51 +08:00
偏右
36924dda25
docs: update Form documentation (#22427)
* Update index.en-US.md

* Update index.zh-CN.md

* Update index.en-US.md
2020-03-20 11:17:16 +08:00
二货机器人
9e3ddb22ff
opt of noStyle message (#22410) 2020-03-19 21:43:57 +08:00
xrkffgg
cdcd28860c
style: add rtl.less of Form (#22389) 2020-03-19 14:32:22 +08:00
偏右
b80788556d
Merge pull request #22381 from ant-design/master
chore: 🔀 merge master into feature
2020-03-19 12:10:07 +08:00
丶尘殇
3645bd4ecc
docs: 📝 fix array type field of Form.Item name (#22304)
* 嵌套字段定义数组形式文档错误修复

* Update v3.en-US.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-18 11:03:33 +08:00
afc163
46a8cf7dc7 merge feature into master-to-merge-feature 2020-03-16 15:52:39 +08:00
二货机器人
6d9f010dc2
docs: Add dynamic multiple fields demo (#22247) 2020-03-16 15:00:27 +08:00
Saeed Rahimi
c52d25d2cf
style: fix form item with feedback in rtl (#22222) 2020-03-15 19:20:10 +08:00
xrkffgg
a50c42c08b
style: fix form item rtl style (#22214) 2020-03-14 23:05:49 +08:00
afc163
d03ac85f36 🔀 merge master into feature 2020-03-11 15:41:51 +08:00
骗你是小猫咪
9ccd5bcc33
fix: basic form style abnormal (#21907)
* fix: basic form style abnormal

* improve grid

* upgrade snapshots and improve priority

* resolve #22009

* fix wrap element

* increase priority

* revert grid basic demo

* fix snapshots
2020-03-10 22:15:27 +08:00
Jingsong Gao
639cedeac2
fix: fix FormList Operation type definitions (#22058) 2020-03-10 15:46:13 +08:00
Jingsong Gao
f21b4684c8
fix: fix FormItem hooks render error (#22053) 2020-03-10 13:19:35 +08:00
Jingsong Gao
6d48c131dc
docs: correct inline to noStyle (#22029) 2020-03-09 17:55:22 +08:00
afc163
77d3a993fa 🔨 Merge master into feature 2020-03-09 17:18:32 +08:00
qiqiboy
a476197405
perf(Form): FormContext use a memoized value(#21976) (#21980)
* perf(Form): FormContext  use a memorized value(#21976)

* fix #21976

* fix(Form): fix typo ‘useMemo’

Co-authored-by: qiqiboy <qiqiboy@tigerbrokers.com>
2020-03-08 17:41:45 +08:00
二货机器人
9fdb82b7df
refactor: Form.Item with pure children will only render once (#21991)
* refactor: Form.Item with pure children will only render once

* not skip for real render
2020-03-08 16:28:33 +08:00
zefeng
be990f9332
chore: remove unnecessary loop (#21978) 2020-03-08 00:54:45 +08:00
zombiej
bde335c761 merge master 2020-03-06 18:12:39 +08:00
二货机器人
5fcdbe152e
chore: Form.useForm return same instance now (#21927)
* add test case

* memo of useForm
2020-03-06 12:07:55 +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
偏右
afe0e3ddad
💄 Add less variable @form-item-label-height (#21912) 2020-03-05 23:04:27 +08:00
二货机器人
e6965c909f
chore: Form.Item renderProps define (#21911) 2020-03-05 22:05:22 +08:00
afc163
c5e5a8c895 update snapshots 2020-03-05 20:32:38 +08:00
zombiej
3de412353f chore: Remove duplicated css
close #21860
2020-03-05 17:23:28 +08:00
二货机器人
103385ecb5
fix: Nest FormItem warning (#21896) 2020-03-05 16:22:02 +08:00
偏右
e01abd2309
Merge pull request #21849 from ant-design/master
chore: Merge master to feature
2020-03-04 13:52:34 +08:00
偏右
3c292b9d62
docs: 📝 instruction about useForm
close https://github.com/ant-design/codemod-v4/issues/90
2020-03-04 11:26:37 +08:00
zombiej
55734400cc docs: Fix v3 form mig doc 2020-03-04 10:26:55 +08:00
二货机器人
661ff7921d
feat: Form validateMessages support ${label} (#21835)
* update form deps

* update demo

* update test case
2020-03-03 21:57:06 +08:00
afc163
c928952a89 🎬 improve form demo 2020-03-03 16:39:50 +08:00
二货机器人
228c978c7c
fix: help change cause react warning (#21800) 2020-03-03 12:10:32 +08:00
Martin Cermak
a226c226bf
doc: added more info about nested fields to migration guide (#21758)
Added more examples to form nested fields.
2020-03-03 10:51:54 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking (#21752)
* alert

* more icons

* another grouping

* all done
2020-03-02 12:09:38 +08:00
二货机器人
1f108ee086
fix: Form.Item renderProps return type define (#21716) 2020-03-01 00:21:37 +08:00
二货机器人
105c3938b5
docs: Update migration guid (#21705) 2020-02-29 17:09:34 +08:00
二货机器人
20a6ba3b86
fix: React 16.13 warning (#21702) 2020-02-29 15:21:32 +08:00