Commit Graph

385 Commits

Author SHA1 Message Date
ycjcl868
e8dd412c84 fix: Avatar User icon 2019-11-29 16:36:33 +08:00
ycjcl868
6ca5628417 Merge 4.0-prepare into fix-button-demo 2019-11-29 14:27:47 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
ycjcl868
ec0dba9323 fix: button group 2019-11-25 07:02:24 +00:00
ycjcl868
55e34f6ac1 fix: icon error 2019-11-25 07:02:24 +00:00
二货机器人
6396ddb4e7
fix: Omit useless props & fix icon missing (#19833) 2019-11-20 17:31:11 +08:00
zombiej
fa8ddb4104 merge master 2019-09-16 11:23:26 +08:00
afc163
4615c70d95
🎬 fix Dragger style in Form demo 2019-09-07 19:32:24 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
afc163
d07b298ae4 Fix eslint errors 2019-08-12 19:04:31 +08:00
zombiej
1cb346573c merge master 2019-08-12 13:34:23 +08:00
Wendell
49c81322b2 docs: fix form doc typo (#18160) 2019-08-08 14:12:04 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
zombieJ
779bc5f56a
rename (#17729) 2019-07-19 14:07:39 +08:00
zombieJ
b3a76c14ca
feat: Form support scrollToField (#17457)
* support scroll & label htmlFor

* update snapshot

* add test case

* doc update

* add decleare

* adjust logic of label id

* clean ts error
2019-07-04 15:00:11 +08:00
zombieJ
4cdf37bedb
feat: New Form (#17327)
* init form

* first demo

* add normal login

* add style

* webit

* support nest errors

* beauti form errors

* use onReset

* modal demo

* add list demo

* match key of errors logic

* date demo

* customize component

* moving style

* add status style

* without form create

* add demos

* add inline style

* clean up legacy

* fix drawer demo

* mention

* fix edit-row

* editable table cell

* update mentions demo

* fix some test case

* fix upload test

* fix lint

* part of doc

* fix ts

* doc update

* rm react 15

* rm config

* enhance test coverage

* clean up

* fix FormItem context pass logic

* add more demo

* en to build

* update demo

* update demo & snapshot

* more doc

* update list doc

* update doc

* update demo to display condition render

* update snapshot

* add provider doc

* support configProvider

* more doc about validateMessages

* more description

* more and more doc

* fix typo

* en doc

* Form.List doc

* m v3 -> v4

* add skip
2019-07-03 20:14:39 +08:00
zombieJ
340ff711ab
chore: Support TypeScript & JavaScript with Demo (#17247)
* update bisheng

* support lang panel

* display tabs if multiple lang

* rm tmp file
2019-06-23 12:49:28 +08:00
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
afc163
715f2f6ebc
🐛 Fix hasFeedback overlap issue with Input.Password
close #16443
2019-05-07 11:13:55 +08:00
HiddenMan
0350544de1 fix: username misspelling in the form. (#16398)
* fix normal-login spelling mistake

* fix horizontal-login spelling mistake

* fix index.zh-CN spelling mistake

* fix index.en-US spelling mistake

* update form demo.test.js.snap
2019-05-01 23:44:22 +08:00
zombiej
b54157a395 update doc 2019-04-09 22:52:25 +08:00
Minwei Xu
98bc178a36 update mapPropsToFields demo 2019-04-04 12:51:14 -04:00
偏右
fc8977b627
Merge pull request #15808 from liaoyinglong/master
Update dynamic-form-item.md
2019-04-03 14:25:09 +08:00
zombiej
30b3fcdc18 update demo of dynamic form 2019-04-02 17:40:50 +08:00
廖应龙
065896f53b
Update dynamic-form-item.md
delete unnecessary props
2019-04-02 14:33:47 +08:00
Hsuan Lee
baa5a7971f refactor(form-item): move ant-form-item-no-colon selector position (#15592)
* refactor(form-item): better `ant-form-item-no-colon` selector position

fix: fix lint

close #15585

* chore: update snap
2019-03-24 17:03:52 +08:00
zombiej
6f95995faa merge master 2019-02-27 19:57:48 +08:00
zombieJ
70046f782d
update doc about customize form item component (#15088)
* update doc

* rm test code

* update doc
2019-02-27 18:34:47 +08:00
zombieJ
1fc8dd3042
Form support labelCol & wrapperCol props. (#15038)
* use context

* update doc

* update doc

* not pass context if nest

* update snapshot

* update doc

* update doc
2019-02-25 19:04:09 +08:00
zombiej
e94ce11bd9 update form item css 2019-02-20 19:38:09 +08:00
zombieJ
c29323b448
Revert to remove FormItem explain-holder (#14937)
* Revert "Adjust style to be similar with origin (#14886)"

This reverts commit 735175e3cf.

* Revert "sync form item (#14778)"

This reverts commit 5ac674e698.
2019-02-19 23:24:07 +08:00
zombieJ
735175e3cf
Adjust style to be similar with origin (#14886)
* adjust style to be similar with origin

* update snapshot

* add missing extra logic

* adjust tiny

* fix margin

* use element to keep the place

* update snapshot
2019-02-18 16:42:02 +08:00
ycjcl868
89653d2e89 📝 fix site demo, dynamic form firstItem undefined 2019-01-29 11:50:43 +08:00
Michael Salaverry
18dc2c2743 Documentation: fixed typos and grammar (#14518) 2019-01-24 10:51:47 +08:00
afc163
c29daf952a
🔨 Merge master into feature 2018-12-22 18:02:10 +08:00
afc163
1350c87ab1
🎨 Improve form demo code style 2018-12-22 16:48:30 +08:00
afc163
d78d0de36c
💄 Fix extra margin of nested form item
close #13748
2018-12-22 16:44:10 +08:00
zombiej
cdf4c1e6b8 merge origin/master 2018-12-18 19:18:08 +08:00
Julia Passynkova
7b643d2aaa Added CheckBox.Group to Form demo (#13680) 2018-12-18 13:33:57 +08:00
zombiej
83b449b1ff set form id on demo
fix #10218
2018-12-17 10:02:08 +08:00
yangxiaolin
6bc311123c fix syntax error 2018-12-06 16:48:48 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
ztplz
2fa90b17d0 Improve form demo 2018-11-23 13:42:51 +08:00
zombiej
e36e5aa5a2 fix form demo 2018-11-23 11:25:51 +08:00
Edward
cdc39d085b Update validate-other.md 2018-10-31 20:35:39 +08:00
ilanus
42ed19164e 🐛 dynamic form doc fix 2018-10-30 20:13:56 +08:00
zombiej
d814145b7e fix form demo 2018-10-21 13:29:43 +08:00
Ilan
0df4678562 👌 updating customized form controls demo 2018-10-15 10:49:50 +08:00
Federico Marcos
ab92c934d5 fix incorrect prop passed to checkbox in docs examples (#12448)
prop should be `checked` instead of `value`
2018-09-29 18:09:03 +08:00
afc163
2952a8625b site: remove old version hint of API 2018-09-12 21:43:01 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
afc163
61502ef942 Fix form demo error in IE9 2018-04-18 14:08:06 +08:00
ddcat1115
a402fdd8b3 fix #9907 (#9908)
* fix #9907

* update snapshot
2018-04-04 15:29:59 +08:00
André
245e1cf3d0 Minor typo (#9922)
Fixes minor typo
2018-04-03 22:00:31 +08:00
pellea
b61f4c1ad3 fix code sample in the Form component doc (issue #9591) (#9705)
* fix code sample in the Form component doc (issue #9591)

* fix wrong space indent

* add trailing comma
2018-03-26 15:41:42 +08:00
Benjy Cui
9d7d70becd docs: should not use ref for wrapped form, close: #9598 (#9685) 2018-03-15 14:40:47 +08:00
afc163
4f1f5fd152 update form demo style 2018-03-12 21:52:13 +08:00
afc163
7d3573d471 use more clear function name, close #9465 2018-03-02 12:06:33 +08:00
Benjy Cui
df1c56ee18 docs: update docs 2017-12-15 10:00:28 +08:00
Taylor Sabell
0589b23693 docs: fixed grammatical error (#8484) 2017-12-07 09:24:09 +08:00
afc163
cc43bd3f12 Improve advanced form style, close #8339 2017-12-04 10:47:01 +08:00
afc163
05200385ee improve form demo 2017-11-29 21:04:45 +08:00
Benjy Cui
ac463a10f2 deps: upgrade form to 2.0.0 (#8207) 2017-11-17 21:19:10 +08:00
afc163
4999a60643 update form demo 2017-11-10 17:19:47 +08:00
afc163
2e126c1323 Fix Rate style under form item 2017-11-10 17:09:35 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
偏右
9053192ae9 Fix component style (#7848)
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +08:00
afc163
8c0875239e update form demo 2017-10-09 11:13:03 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
afc163
9b715f0b90 Fix form demo, close #7547 2017-09-13 18:03:56 +08:00
afc163
94283b730f Fix validateStatus styles of some Form Controls, close #7498 2017-09-06 20:17:20 +08:00
afc163
9a85303f79 remove unneccesary size prop 2017-07-16 15:41:51 +08:00
afc163
01bbd5a3d3 update form dynamic demo 2017-07-11 11:59:30 +08:00
Benjy Cui
82d1957941 docs: update demo for: #6503 2017-06-19 11:25:30 +08:00
afc163
d7a29f682b upgrade Col span format in demo 2017-06-15 15:34:47 +08:00
afc163
4f874c5065 improve demo code 2017-06-09 21:24:40 +08:00
afc163
becb888f6e Fix form demo, close #6323 2017-06-01 17:56:05 +08:00
Benjy Cui
a9a8f68578 docs: update demo 2017-05-15 17:33:47 +08:00
ddcat1115
0b9ff23661 docs: add dynamic-rule form demo (#6035) 2017-05-15 17:25:50 +08:00
kossel
169e0f9762 fix: issue 5834, autocomplete is not being decorated (#6018) 2017-05-05 14:40:57 +08:00
Wei Zhu
5ddd7f847f docs: Document customized form control
Related: #5700
2017-04-10 22:42:56 +08:00
Kenaniah Cerny
ed434c57e9 improves link navigation 2017-04-01 04:06:34 -07:00
Benjy Cui
ce2fe2aa45 test: add test for Modal[footer=null] 2017-03-30 16:06:03 +08:00
afc163
93ec71ea58 fix whitespace required, close #5418 2017-03-21 15:21:40 +08:00
Benjy Cui
36a7ffc0d6 fix: Switch should not warning with size=large, close: #5368 2017-03-20 16:08:24 +08:00
Benjy Cui
be13831d92 Fix upload (#5358)
* docs: add demo to re-produce bug

* fix: dragger should work with form decorator, close: #5334

* test: update snapshot
2017-03-17 11:47:05 +08:00
Benjy Cui
aa4606cd9f feat: make Form.Item work with responsive layout, ref: #5296 (#5306) 2017-03-15 11:25:58 +08:00
Benjy Cui
228e9c0747 fix: remove Form auto-responsive layout (#5253)
* fix: remove Form auto-responsive layout

* test: update snapshot
2017-03-10 19:19:36 +08:00
afc163
a7a4d672f5 update form login demo, close #5172 2017-03-06 15:15:50 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
Benjy Cui
fb8f90c102 feat: form (#5063)
* feat: support Form[layout], close: #5056

* feat: Form should be responsive, close: #5055

* test: update snapshot

* fix: resolve conflict betwen layout defaultValue and inline & vertical
2017-03-02 10:49:06 +08:00
afc163
ea7dc3e56c update docs 2017-03-01 18:44:59 +08:00
Yogesh
0675acc3ef Typo/grammar change (#5117) 2017-03-01 12:45:24 +08:00
Eden Wang
445c940af4 docs: Change Password Blur from password to confirm (#5076)
* Change Password Blur from password to confirm

If you type check password, then type password, the validation won't be changed

* rename variables and functions name

rename handlePasswordBlur to handleConfirmBlur
rename passwordDirty to confirmDirty
2017-02-28 11:30:04 +08:00
afc163
0f46eed370 fix lint 2017-02-23 11:45:48 +08:00
feng zhi hao
62e80928d5 docs: rewrite Form demos to ES6 component (#4949) 2017-02-20 11:50:57 +08:00
Cordaro
168c576d4a docs: fix getFieldDecorator param (#4896)
close #4894
2017-02-15 22:58:24 +08:00
afc163
588dd3033f docs: update for customizing validation 2017-02-15 14:41:16 +08:00