willc001
4e1bbccd54
refactor: add @form-item-label-colon-margin-{right,left} ( #15478 )
2019-10-14 14:52:23 +08:00
二货机器人
2ea28af6ed
Virtual select component ( #18658 )
...
* init
* fix firefox
* add active style
* adjust arrow style
* update select
* update icon logic
* render empty
* init multiple
* fix ff display style
* sync font size
* adjust padding style
* add padding
* padding it
* hotfix of chrome
* single sm
* multiple size
* update option group style
* update snapshot
* clean up transition
* rm combobox in ts define
* auto complete init
* fix auto option def
* update demo
* update demo
* update uncertain demo
* update demo
* warning if user set `size` on AutoComplete
* add debug demo
* updat demo
* update demo of disabled
* update snapshot
* rm useless test
* fix pagination test
* fix Table test
* fix calendar test case
* fix calendar test case
* adjust style
* add big data demo
* support clean up
* fix ts define
* fix lint
* fix demo lint
* fix style lint fix
* rm useless deps
* update snapshot
* stop mock
* add space
2019-09-12 20:15:17 +08:00
zombiej
186f973e50
merge master
2019-07-03 20:29:44 +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
陈帅
722b39ec16
Merge branch 'master' into feature
2019-06-28 21:55:15 +08:00
zombieJ
6d0cf1de01
rm useless style ( #17319 )
2019-06-26 18:38:27 +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
Alexander.Kosov
97f2b7b0d9
Add a variable to stylize the background of the input in the validation error state
2019-06-06 14:18:31 +03:00
诸岳
7a728daca9
Merge branch 'master' into feature
2019-05-20 13:29:34 +08:00
zombieJ
ecb2eb6ede
feat: Add Mentions component ( #16532 )
...
* init
* first demo
* support empty
* add loading support
* add form sample
* update form sample
* omit value & defaultValue
* add 2 rest demo
* placement support
* update docs
* fix test
* update docs
* add test case
* fix lint
* follow textarea style
* update docs style
2019-05-17 12:05:03 +08:00
Sebastian Busch
8c9b6ec653
prevent negative margin-bottom for form-item-with-help
...
without this, value can become negative. this caused following fieldset to float
to the right of the field with validation errors
(cherry picked from commit 43da8a5a835904270a6ccf48859d7bd6d91e04cd)
2019-05-14 09:52:46 +02:00
afc163
715f2f6ebc
🐛 Fix hasFeedback overlap issue with Input.Password
...
close #16443
2019-05-07 11:13:55 +08:00
陈帅
785c132262
meger feature to master ( #16421 )
...
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
2019-05-06 12:04:39 +08:00
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +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
willc001
3a2e1abfa7
refector: add @form-explain-font-size ( #15488 )
2019-03-18 18:44:08 +08:00
偏右
71440a218b
Update components/form/style/index.less
...
Co-Authored-By: jinxin0112 <m18508218948@163.com>
2019-03-08 15:53:27 +08:00
JinXin
7ccf6855c6
fix: appear two colons
...
If the label attribute of the component Form.Item is a ReactNode and the same label tag exists inside the ReactNode, two colons will appear.
2019-03-08 15:31:46 +08:00
yoyo837
5281d7b7f2
add labelAlign for Form and FormItem
2019-03-07 15:14:27 +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
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
...
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
zombieJ
5ac674e698
sync form item ( #14778 )
...
* sync form item
* update snapshot
* use before
2019-02-13 21:45:47 +08:00
afc163
3fcb8fa0b3
💄 Fix stylelint errors
2019-01-28 19:06:38 +08:00
Ran Byron
4a5e681627
Allow vertical form labels to break line
2019-01-06 17:39:01 +02:00
afc163
c29daf952a
🔨 Merge master into feature
2018-12-22 18:02:10 +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
Teng YANG
c2d1d72675
Fix #13529 input group compact border color issues ( #13550 )
...
fix #13529
2018-12-18 16:53:45 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
zombiej
8a912e5426
add transfer form error style
...
fix #13273
2018-11-29 14:37:54 +08:00
afc163
595de71315
💄 tweak form control margin, close #13183
2018-11-27 00:36:01 +08:00
afc163
a616f89a1b
🔥 update less code style
2018-11-12 12:02:30 +08:00
afc163
b1f9d36881
Fix different height of FormItem with help info
...
windows 7
close #12803
2018-10-27 17:40:05 +08:00
afc163
df5bf38bdc
Fix Form[inline] help and extra overlapped
...
close #12725
2018-10-26 23:53:57 +08:00
Benedikt Franke
ac2d094a4a
Inherit @form-feedback-icon-size from @font-size-base;
2018-09-04 11:01:46 +08:00
HeskeyBaozi
af11401d33
upgrade svg
2018-08-24 17:36:22 +08:00
HeskeyBaozi
c3816d2859
align validating icon with input suffix icon
2018-08-14 18:20:45 +08:00
HeskeyBaozi
b9a9c308c9
[breaking] remove iconfont-font class helper
2018-08-14 15:31:20 +08:00
HeskeyBaozi
768af40c4c
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# components/drawer/__tests__/__snapshots__/Drawer.test.js.snap
# components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
# components/drawer/index.tsx
2018-07-25 12:03:00 +08:00
HeskeyBaozi
2f469a3404
use svg icon in form feedback
2018-07-25 11:42:26 +08:00
afc163
101fdc7241
Fix InputNumber overlap in fixed columns table
...
close #11408
ref #6289
2018-07-23 15:10:43 +08:00
jiang
9e01b24272
fix 10445 ( #10457 )
...
* fix 10445
* re help anim timing
* refactor
* use this.helpShow
* is show no set state
* remove state.helpShow
2018-05-10 21:48:11 +08:00
afc163
d95379cfa5
Fix broken style of Input with addons, close #10371
2018-05-05 19:50:48 +08:00
afc163
3d079af7cd
Fix Input.Group align issue in Form, close #10281
2018-04-27 15:57:27 +08:00
ddcat1115
a402fdd8b3
fix #9907 ( #9908 )
...
* fix #9907
* update snapshot
2018-04-04 15:29:59 +08:00
jiang
76994bd772
Remove Form Item help transition, fix #8831 ( #9675 )
...
* fix #8831
* remove help transition
2018-03-14 17:43:02 +08:00
VTHINKXIE
0070628fa8
style(module:form): narrow css selector ( #9648 )
2018-03-14 11:08:07 +08:00
afc163
1ae7da3878
Fix hasFeedback icon position in vertical form layout
...
close #9153 and #9309
2018-02-11 11:44:49 +08:00
afc163
9f2b4905f0
Fix AutoComplete border color in form
2018-01-31 10:47:25 +08:00
afc163
d4844bbaf8
tweak input group align in form item
2018-01-12 15:54:10 +08:00
afc163
314345cf8c
Fix Form[layout=vertical] style
2018-01-12 14:55:04 +08:00
afc163
3973d245b9
remove unused form control font-size reset
2018-01-05 22:44:39 +08:00
afc163
e1cea9e4e4
Tweak form feedback icon position
2017-12-22 17:35:55 +08:00
afc163
24f0359e2d
Fix some form components align
2017-12-22 15:22:22 +08:00
afc163
525efb8c76
Fix form item height problem
...
close #8701
revert fix of #6097 cause it does not exist in 3.x
2017-12-22 11:48:07 +08:00
ddcat1115
f780759f91
fix large size formItem vertical align ( #8495 )
...
* - fix large size input with prefix/suffix vertical align
- fix large size button vertical align
* use large size for formItem default line-height
* improve
2017-12-08 20:57:30 +08:00
ddcat1115
1f0ee08574
Form item vertical align ( #8415 )
...
* fix formItem vertical align
* fix formItem vertical align
* rebase master
2017-12-04 14:00:15 +08:00
Wei Zhu
01f4b4e713
Merge branch 'master' into antd-3.0
2017-12-01 11:50:07 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints ( #8358 )
...
* upgrade devDeps and fix lint
* Fix stylelint problems
2017-11-29 21:00:16 +08:00
ddcat1115
91fc059c9d
fix input with addon(in form) vertical align issue ( #8325 )
2017-11-29 11:20:38 +08:00
afc163
72741db902
Fix margin of nested FormItem, close #8320
2017-11-27 22:14:15 +08:00
Wei Zhu
4f1da98045
Merge branch 'master' into antd-3.0
2017-11-17 14:39:53 +08:00
afc163
b77e7ed554
Fix extra 0.5px height in chrome
...
close #8220
2017-11-17 12:13:07 +08:00
afc163
58e3743c6d
Tweak cascader arrow style
2017-11-10 17:15:02 +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
afc163
ef443ad047
Merge branch 'master' into antd-3.0
2017-10-20 15:47:42 +08:00
syssam
f8b7aad53d
less variable @form-vertical-label-padding, @form-vertical-label-margin, @input-padding-horizontal-base, @input-padding-horizontal-sm, @input-padding-horizontal-lg ( #7886 ) ( #7919 )
2017-10-20 15:11:44 +08:00
afc163
3bc8f1ce5a
Tweak form nested form style
2017-10-20 11:35:05 +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
b0381a6ce4
fix icons, ref #7854
2017-10-11 10:44:26 +08:00
afc163
b174331be4
Fix hasFeedback icon overlap
...
close #7854
2017-10-11 10:44:26 +08:00
afc163
43659752d2
Fix hasFeedback icon overlap
...
close #7854
2017-10-11 10:37:45 +08:00
afc163
9c3c88d3cc
Fix focused cascader error style
2017-10-09 13:47:24 +08:00
afc163
73a4873e78
Fix focused cascader error style
2017-10-09 13:46:56 +08:00
afc163
c9768e1099
tweak form item margin
2017-10-09 11:09:25 +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
f9754c8a25
Merge branch 'master' into antd-3.0
2017-09-25 23:10:42 +08:00
afc163
9f017bc5ae
Fix mention error style
2017-09-25 22:53:11 +08:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +08:00
afc163
5724a55c7b
Merge branch 'master' into antd-3.0
2017-09-06 20:22:55 +08:00
afc163
94283b730f
Fix validateStatus styles of some Form Controls, close #7498
2017-09-06 20:17:20 +08:00
偏右
2dedc5ec7f
Upgrade grid break points ( #7230 )
...
close #5122
2017-08-16 20:19:41 +08:00
jiang
22ef7d1147
add form explain animate ( #7172 )
2017-08-11 17:05:25 +08:00
afc163
9bcde59001
Add @form-feedback-icon-size
2017-08-10 11:34:08 +08:00
afc163
0ad85e2987
Fix #4431 again
2017-07-21 10:07:18 +08:00
afc163
4419d4c94c
Fix select extra padding, close #6723
2017-07-11 12:14:35 +08:00
afc163
384803528f
Fix extra error outline of select in input addon
2017-07-08 16:20:01 +08:00
afc163
e188036606
remove unused code
2017-06-27 14:33:35 +08:00
afc163
dbd6f29c29
Fix form item extra content line height, close #6618
2017-06-27 12:08:16 +08:00
afc163
6e583325ea
Don't impact select inside input group
2017-06-26 21:44:38 +08:00
afc163
e24a8cb5d8
Tweak inline form item margin
2017-06-26 17:05:42 +08:00
afc163
5964e42a9b
tweak form label style
2017-06-26 11:51:41 +08:00
afc163
9f78e71c65
Fix select vertical issue inside input addon
2017-06-25 17:22:07 +08:00
afc163
7dafa985c5
remove colon block of vertical form
2017-06-25 16:48:01 +08:00
afc163
9089674a6f
Fix form item layout bug when zoom out, close #6097
2017-05-11 21:10:30 +08:00