Commit Graph

276 Commits

Author SHA1 Message Date
愚道
2f5537a65b Merge branch 'master' into chore/mergemaster 2019-09-02 10:47:32 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
dian.li
3e1560d753 fix: import multiple times 2019-08-15 09:47:04 +08:00
dian.li
882f343e10 fix: ts compile error with import React fix-ts-1259 2019-08-15 09:28:15 +08:00
afc163
2bddeef1e5 🆙 upgrade eslint-config-airbnb 2019-08-12 19:04:30 +08:00
orzyyyy
47fd80c8ad fix: disable next line instead of the whole file 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
偏右
189ad71d32
Revert "chore: use none-dist icons entry" 2019-07-09 11:33:03 +08:00
afc163
390807605e
🔧 use none-dist icons entry 2019-07-08 20:46:19 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
Zzzen
f1ee189bd2 eliminate any type in exported interfaces.#14044 2019-06-16 20:51:47 +08:00
afc163
e3565ac110
🚨 Fix lgtm errors
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2019-06-16 17:41:25 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +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
Aaron Cawte
0fc9b86ced Documentation - Badge Component 2019-04-19 23:34:09 +01:00
afc163
b4bdb19952
Fix snapshot 2019-04-16 14:22:22 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
zombieJ
6b2d72e2c1
fix: badge should accept negative number (#15810)
* fix badge negative number

* support negative as count
2019-04-02 19:01:12 +08:00
zombieJ
550ff72e1e
Merge pull request #15775 from ant-design/merge-feature
Merge feature
2019-04-01 11:07:45 +08:00
afc163
1f2375deca
🎬 Remove useless badge demo 2019-04-01 10:15:15 +08:00
zombieJ
75cd91a966
Badge support customize color (#15764)
* popout

* update snapshot

* update doc

* update def
2019-03-31 20:21:20 +08:00
偏右
771b2c426a
Merge pull request #15395 from ant-design/fix-badge-height
Fix Badge dot a litter higher
2019-03-14 20:39:03 +08:00
DiamondYuan
59d996b4f3 fix: should color style works on Badge (#15356)
fix ##15349
2019-03-14 15:53:51 +08:00
afc163
5a33f8ced1
🐛 Fix Badge dot a litter higher
close #15367
2019-03-14 12:20:44 +08:00
afc163
d9ca0d8381
Optimize badge code again 2019-03-11 17:13:59 +08:00
afc163
f694a1bbb8
Opatimize badge code 2019-03-11 16:54:29 +08:00
afc163
bd0eb34487
make sure count compare as number 2019-03-08 15:57:07 +08:00
afc163
da6662562b
refactor some code after #15254 2019-03-08 15:43:46 +08:00
偏右
5415b81f63
Merge pull request #15254 from zy410419243/migrate
refactor: migrate lifecycle method
2019-03-08 14:13:24 +08:00
ztplz
2e0a85324b Fix type (#15266)
* Fix type

* Update index.tsx
2019-03-08 12:26:01 +08:00
陈小聪
85a293eacb
change badge text types
```jsx
<Badge status="default" text={<span style={{ color: 'rgba(0, 0, 0, 0.45)' }}>未响应</span>} />
```
2019-03-08 00:21:53 +08:00
zy410419243
4dc533c202 refactor: update lifecycle method for Badge 2019-03-07 16:03:02 +08:00
zombieJ
3a16708765
update snapshot (#15108) 2019-02-28 14:42:11 +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
b835110f79 merge master 2019-01-26 12:02:56 +08:00
ztplz
d30fdf11d7 Fix changing the count of a badge with border-color raises an error (#14525)
fix #14516
2019-01-24 12:17:38 +08:00
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +08:00
zombiej
0a67272ae4 add locale update 2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
ztplz
b2fed8711e Support float number for Badge (#14195)
fix #13815
2019-01-09 22:32:06 +08:00
Junbin Huang
dc4247bdff
Merge branch 'feature' into master 2019-01-06 13:34:41 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict (#14126)
* adjust table fixed column z-index (#14036)

fix #13930

* 📝 Add instruction for one column without width left in fixed table

* Add full PR template link in template (#14061)

* add full tmpl link

* adjust

* simplify it

* add cn link

* Fix Affix flickering when scrolling

* update

* fix: top border disappeared under some ie9

* fix calendar month range display (#14049)

* Fix tslint warning

* Correct typescript usage (#14074)

* 🐛 Fix steps style under IE9

close #14001

* 🐛 tweak style for not affecting vertical steps

* 📝 enhance upload documentation

* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010

* 🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png

* 📝 site: fix BackTop been covered by footer

close #14093

* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md

* 🐛 Fix nested Timeline last item missing line (#14110)

close #14108

* init Spin should also support delay trigger (#14105)

fix #14100

* Update table docs

* bugfix

* Format

* update snapshot

* test: fix spin test
2019-01-06 13:25:59 +08:00
zombieJ
95660c4fac
adjust table fixed column z-index (#14036)
fix #13930
2019-01-02 17:17:23 +08:00
zombiej
874ed98e31 merge master 2019-01-02 17:12:34 +08:00
shangyuan.ning
8288e8b82c fix a spelling mistake 2018-12-28 23:00:50 +08:00
afc163
8b5e78f174
Merge branch 'master' into feature
* master:
  Fixed Modal width when screen size smaller than 768px
  🚨 coverage precision to 1
  🚨 update .codecov.yml
  💄 Fix Badge animation jump when count is ReactNode
  fix Popover arrow narrow line at top
  fix Popover arrow border in different directions
  fix popover arrow top shadow
  Change render of + & - icon fix #13924
  🐛 loose button type propTypes for custom usage
  fix input has min size close #3699
  fix: fix-picture-spell-error
2018-12-26 20:47:12 +08:00
afc163
5727bbc36a
💄 Fix Badge animation jump when count is ReactNode
close #13800
2018-12-26 19:06:02 +08:00