Commit Graph

100 Commits

Author SHA1 Message Date
偏右
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
偏右
eb9be9ef56
Update util.test.js 2019-05-27 20:24:53 +08:00
afc163
17ab75b8d9
Add test case for TransButton 2019-05-27 19:13:49 +08:00
陈帅
3e32364dc0
New component Descriptions (#14645)
* add new component: DescriptionList

* add warning message

* docs: fix doc typo

* feat: implement the size attribute

* docs: fix doc typo

* refactor: use new name Descriptions

* test: snapshots updated

* feat: support react15

* style: fix code style warring

* style: better var name

* style: better code style

* style: merge css class

* feat: add responsive config

* fix: fix error title

* style: use @border-radius-base

* update snapshot

* feat: set default column

* test: add test script

* style: fix property defaultProps is useless error

* style: more robust code

* style: fix codereview warning

* style: fix review warning

* use responsiveObserveserve

* fix review warning

* bug: add childrenArray copy,prevent changes to incoming parameters

* fix dom error

* fix typo

* fix test

* don't use this

* snapshot updated

* prettier md

* remove descriptions md text

* new rendering method

* doc :add dot

* style: add right border
2019-05-22 23:22:09 +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
zombieJ
fee6b61c19
fix: raf should keep same id (#16370) 2019-04-28 23:52:35 +08:00
afc163
04001a06ea
💄 update code style 2019-04-26 18:15:31 +08:00
陈帅
4e5497328a
Merge pull request #16187 from ant-design/page-header-button
Back icon should is a button
2019-04-25 16:29:13 +08:00
陈帅
6055905ae4 change onclick dom 2019-04-25 12:18:01 +08:00
zombieJ
e541a2492c
fix: List with actions style should be the right (#16239)
* update css

* should not affect vertical style

* update logic
2019-04-24 12:21:02 +08:00
陈帅
a1c4d9f45b use operation-unit function 2019-04-20 10:56:11 +08:00
陈帅
fa81af5abb TransButton use div#role=button 2019-04-19 17:52:27 +08:00
zombieJ
d1e58d058f
update wave style (#15978) 2019-04-09 19:32:58 +08:00
zombieJ
bef491ecc9
fix: Menu defaultOpenKeys not work as expect (#15970)
* Remove animation on first render

* update test cas
2019-04-09 16:39:33 +08:00
zombiej
3a9f81d6c1 return null for ResizeOb 2019-04-07 10:26:00 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
zombieJ
75cd91a966
Badge support customize color (#15764)
* popout

* update snapshot

* update doc

* update def
2019-03-31 20:21:20 +08:00
zy410419243
cdfdb2fa50 Revert "chore: remove unreachable code"
This reverts commit b438566fe315c424665a6d498cc60a6517ea238a.
2019-03-25 21:48:18 +08:00
zy410419243
ebbf07e233 chore: remove unreachable code 2019-03-25 21:47:25 +08:00
zy410419243
d17a5c49e5 test: update cases for Wave 2019-03-25 21:47:24 +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
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
b835110f79 merge master 2019-01-26 12:02:56 +08:00
zombieJ
bfec344de5
Not show spining mask in ie <= 10 (#14511)
* not show spining mask in ie <= 10
fix #14365

* revert, let's use css check for this

* add styleChecker

* add pointer-events check

* delay check spin not support when did mount

* use css hack replace style check
2019-01-26 11:55:53 +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
0e8e2b53e4
add select check to fix edge wave issue (#14469)
* add select check to fix edge wave issue
fix #14466

* update style

* add comment

* rm removeAttribute
2019-01-22 16:23:59 +08:00
ztplz
8abfcdd30a Correct type 2019-01-14 12:10:55 +08:00
ztplz
0b8fadd24c Update 2019-01-13 01:36:25 +08:00
ztplz
ab2dd31087 Add types for warning 2019-01-13 01:36:25 +08:00
zombieJ
54463c908b
ConfigProvider support csp prop (#14222)
close #12438
2019-01-09 20:15:37 +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
ztplz
0bd8596f18 Fix tslint warning 2019-01-03 22:26:26 +08:00
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
1d0ef997f4
🐛 Fix Button removeAttribute error in Edge
close #13216

close ant-design/ant-design-pro#2423
2018-12-04 18:26:47 +08:00
ycjcl868
9300cd88ba util test 2018-12-02 15:52:07 +08:00
zombieJ
dbbeec8dd9
add listener for start transition (#13094)
fix #12942
2018-11-12 20:31:58 +08:00
afc163
233f1891d1 Add test case for wave 2018-11-12 13:59:34 +08:00
afc163
16fca0d33d let => const 2018-11-10 00:38:06 +08:00
afc163
a8d2a0a8c1 Fix unexpected wave animation on hidden elements
close #12967
2018-11-08 12:33:56 +08:00
afc163
c3e9619ca6 Fix IE Edge Object doesn't support property or method 'removeAttribute'
close ant-design/ant-design-pro#2423
2018-11-07 14:25:02 +08:00
stickmy
51e895b67f fix: patch to components/_util/isNumeric type check (#12799) 2018-10-28 11:09:57 +08:00
ztplz
1fedef37b8 Improve getScroll 2018-10-23 13:34:13 +08:00
Wei Zhu
ee84f4ce0a fix: some type definitions 2018-09-30 16:07:01 +08:00
afc163
e23efe3f47 Fix wave color mixed up, close #11985 2018-08-31 17:38:02 +08:00
afc163
1707abb48d Fix switch click error, close #11891 2018-08-27 11:43:54 +08:00