Commit Graph

439 Commits

Author SHA1 Message Date
陈帅
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
b4bdb19952
Fix snapshot 2019-04-16 14:22:22 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
afc163
95bd4d6903
🐛 Fix col element missing relative style
close #15626
2019-03-31 20:25:41 +08:00
afc163
e3559ffb32
🐛 Fix clear icon style in Input/Input.Search
close #15237
2019-03-26 22:40:10 +08:00
afc163
9f3ef09717
Fix demo snapshot 2019-03-26 22:40:10 +08:00
afc163
3a26573394
📝 Optimize prefix/suffix demo 2019-03-26 22:40:10 +08:00
杨小事er
a6a5e068eb fix(Input): fix password prop action (#15598)
* fix(Input): fix password prop action

* fix(InputPassword): add assert action is non-null
2019-03-24 16:21:48 +08:00
melchior voidwolf
906f722ea8 Correct suffix icon in Input.Password (#15381)
fix #15369
2019-03-14 15:34:09 +08:00
vthinkxie
057d58ebce style(module:input): add disabled selector style in ant input 2019-03-11 18:09:14 +08:00
zombieJ
dd435afadb
fix warning check logic (#15251) 2019-03-07 15:47:43 +08:00
Yangzhedi
bfbadabd52 fix(Input): fix search style with allowClear or suffix/prefix 2019-03-07 10:06:18 +08:00
afc163
881dce9a3e
💄 prettier codes 2019-03-06 13:45:40 +08:00
偏右
5dec4960df
Merge pull request #15184 from ant-design/fix-input-focus-state
Fix Input Password focus state
2019-03-05 11:32:05 +08:00
afc163
216c85211b
Add test cases 2019-03-05 11:16:13 +08:00
afc163
1b713c94e6
🐛 Focus input after clear input content 2019-03-04 22:19:40 +08:00
afc163
5cd5d1ff00
📝 Opatimize Input demo 2019-03-04 21:57:30 +08:00
afc163
eaadf94861
🐛 Fix Input.Password lost focused state issue
close #15173
2019-03-04 21:54:51 +08:00
afc163
6f22eaa2c4
🎨 Improve code style of Input.Password 2019-03-04 21:54:10 +08:00
zy410419243
74a5a10bee test: update aria-label for TextArea, to fix accesslint problems 2019-03-04 11:35:08 +08:00
zy410419243
9867e6f4cc test: update cases for TextArea 2019-03-04 11:34:01 +08:00
zy410419243
b4146854d6 test: update cases for calculateNodeHeight 2019-03-04 11:29:15 +08:00
陈帅
5e298dba51
3.14.0 Changelog (#15145)
* add responsive property to carousel (#15071)

* add responsive property to carousel #15065

* extend carousel props from Slick type definitions #15065

* rm key in OptionProps (#15104)

* update doc

* fix cascader should tab twice to exist (#15117)

* fix cascader should tab twice to exist

* update snapshot

* Drawer Body padding should be variable

* fix DatePicker to support an array of formats (#15116)

ref #13148

* table reader mobile friendly

* up

* up

* doc: add 3.14.0 changelog

* doc: fix ci warning

* doc: fix ci warning

* doc: fix typo

* doc: fix ci warning

* doc: fix ci warning

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* -m

* -m

* doc: fix cr warning
2019-03-04 10:45:15 +08:00
zombiej
6f95995faa merge master 2019-02-27 19:57:48 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
zombiej
8bf08cdf81 adjust css 2019-02-26 15:45:08 +08:00
Jason Yin
b30e90ba31 fix #15037 (#15042) 2019-02-26 10:37:00 +08:00
zombiej
440408a1dd update style 2019-02-21 12:13:47 +08:00
ztplz
e3eec8f2b6 Update snapshots 2019-02-20 16:58:30 +08:00
ztplz
45dc160701 Update 2019-02-20 16:58:30 +08:00
ztplz
f2ac516c87 Update 2019-02-20 16:58:30 +08:00
ztplz
b74038a4da Correct Input demo style 2019-02-20 16:58:30 +08:00
zombieJ
48900955f8
Warning Input by: add or remove prefix / suffix when Input is focused (#14948)
* todo

* add warning

* add FAQ

* fix typo
2019-02-20 15:12:29 +08:00
zombieJ
c80136a9a7
New Component: Typography (#14250)
* text with prefix

* add edit style

* support editable

* enhance accessibility & type experience

* optimize IME case

* support copy

* add locale

* add secondary & disabled

* add ellipsis shadow text

* split to 3 components

* update snapshot

* update desc

* change lines also need update ellipsis

* skip aria when is in ellipsis

* add ResizeObserver in _util

* update snapshot

* move TestBase into test file

* update test case

* update doc

* fix typo

* important => level

* use rows

* update demo cols to 1

* fix cssText not work in firefox

* update doc

* add miss point

* support extendable

* update snapshot

* fix doc

* copyable support string

* update snapshot

* update doc

* update doc desc

* adjust style

* full test

* reset after test

* rename

* update snapshot

* fix compile

* adjust style

* update desc

* update prefixCls

* update margin

* adjust

* nest wrap of tag content

* adjust style

* update comment

* rm %

* one more thing

* tmp of measure

* merge string as children

* update snapshot

* update testcase

* remove comment

* use internal variable for configProvider passing

* update snapshot

* use expandable instead of extendable

* less variable it

* update demo

* update less

* adjust code & mark style

* remove mark padding

* update measure logic

* support nest element style

* use childNode.textContent to fix react 15 error

* update css

* popout Typography

* add link style

* adjust doc

* use ellipsis instead of rows & expandable

* update doc

* update doc

* update doc & style

* fix typo

* add css ellipsis support

* client render

* update snapshot

* enhance copyable

* support onExpand

* update test case

* add test of css ellipsis

* fix logic in react 15

* rename onChange -> onSave

* use tagName of article

* fix lint
2019-02-19 11:42:05 +08:00
zombiej
eddfbd5f51 only affect addon & suffix 2019-02-19 11:38:26 +08:00
zombiej
fcc3820545 adjust input style 2019-02-19 11:38:26 +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
47e53ab0fe
Fix Input.Search not support addonAfter (#14799)
* fix addonAfter

* update snapshot
2019-02-12 21:39:36 +08:00
zy410419243
bf4560cf37 docs: fix wrong usage of comma 2019-02-07 13:59:32 +08:00
thilo-behnke
a9a6da47ed Input: Clear icon doesn't disappear if value is null (vs undefined or empy string) (#14733)
* fixed issue with allowClear if value is null

* added test cases for allowClear fix
2019-02-07 11:39:16 +08:00
afc163
5de5f4c458 🐛 Fix errors in lgtm.com
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2019-01-28 14:02:32 +08:00
zombiej
b835110f79 merge master 2019-01-26 12:02:56 +08:00
zombieJ
5ac80c8e55
Use addonAfter instead of suffix when use enterButton in Input.Search (#14461)
fix #14450
2019-01-25 11:06:05 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
* master: (45 commits)
  Add type definitions for Steps.Step (#14468)
  add select check to fix edge wave issue (#14469)
  Fix for Pagination ellipsis misalignment (#14473)
  change sentry id
   Add sentry in ant.design
  💄 New Sketch resources!
  fix transfer ref (#14441)
  Add onMouseEnter and onMouseLeave for Menu Item (#14454)
  update snapshot (#14467)
  📝 beautify code style in documentation (#14457)
  Updating type: TreeSelectProps.getPopupContainer (#14443)
  change error version
  3.12.4 changelog (#14436)
  Format
  Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364)
  docs: updated doc for create-react-app
  fix prefixCls of empty go to div (#14404)
  update snapshot (#14406)
  add radius on table-placeholder to fix table small size border clip (#14398)
  fix style of Input.Search with enterButton (#14397)
  ...
2019-01-22 17:34:10 +08:00
zombieJ
321117c5e8
fix style of Input.Search with enterButton (#14397)
fix #14396
2019-01-17 16:52:12 +08:00
zombieJ
4ea65d36da
add missing style copy (#14375) 2019-01-16 17:28:02 +08:00
afc163
766eafbb5f 🐛 Revert #14157 to resolve input icon missing
close #14310
2019-01-13 22:02:38 +08:00
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +08:00
Simo Aleksandrov
462819c5d9
Translate Input.Password properties 2019-01-11 14:07:03 +02:00