Commit Graph

133 Commits

Author SHA1 Message Date
二货机器人
4680ddc009
fix: Typography warning for ref error (#19074)
* Revert "fix: Typography funtion compoent use Ref console log warning (#19066)"

This reverts commit 3d378f2fd8.

* fix: Typography warning for ref

* not crash on react 15

* still use class if react15

* fix ts define

* clean up

* react 15 lock ref obj

* Use rc-util findDOMNode instead
2019-10-01 01:06:09 -05:00
二货机器人
e07bba91fa
chore: replace resizeObserver with rc-resize-observer (#19057)
* replace resizeObserver with rc-resize-observer

* fix affix lint

* fix es lint
2019-09-29 04:56:56 -05:00
ztplz
fe30adc18d Improve code for better compatibility 2019-09-16 20:11:20 +08:00
愚道
2f5537a65b Merge branch 'master' into chore/mergemaster 2019-09-02 10:47:32 +08:00
Tay Zheng Yu
414de6b5c9 fix next.js serverless error (#18541)
https://github.com/zeit/next.js/issues/8151
2019-08-29 13:57:33 +08:00
偏右
8345554cd7
Merge pull request #18324 from ant-design/master
chore: Merge master into feature
2019-08-17 22:39:04 +08:00
shao
4968052574 test: fix lint fail 2019-08-16 18:15:28 +08:00
shaodahong
83022a4cff test: try mock Date.now to reduce test time 2019-08-16 17:59:28 +08:00
shaodahong
b277a963f0 fix: eslint fail 2019-08-16 17:59:27 +08:00
shaodahong
b1cd8e32d9 test: add easings.ts test suite 2019-08-16 17:59:26 +08:00
shaodahong
3b692bc8b6 test: fix test fail 2019-08-16 17:59:24 +08:00
shao
3ab3b014e0 test: use jest.useFakeTimers replace sleep 2019-08-16 17:59:22 +08:00
shao
554d8cb3e3 fix: review change 2019-08-16 17:58:43 +08:00
shao
d45dc1b347 feat(Anchor): fix test fail 2019-08-16 17:58:41 +08:00
shao
a266f45395 feat(Anchor): remove scrollTo option 2019-08-16 17:58:40 +08:00
shao
32b09fc8f3 feat(Anchor): perf easings export 2019-08-16 17:58:39 +08:00
shao
5f153c1d83 fix: remove Easings easeOutCubic func 2019-08-16 17:58:38 +08:00
shao
b6c5db845c fix: modify naming 2019-08-16 17:58:37 +08:00
shao
fcd39e574c fix: modify naming 2019-08-16 17:58:36 +08:00
shao
06abd9503c fix: some bad writing 2019-08-16 17:58:35 +08:00
shao
ccef30885a perf: optimization BackTop and Anchor components scrollTo func 2019-08-16 17:58:34 +08:00
zombieJ
fd284ecc47
fix: ResizeObserver should ignore shaking (#18289)
* fix: ResizeObserver should ignore shaking

* fix lint

* fix domHook
2019-08-15 15:52:36 +08:00
vagusX
ab9d8589a3 feat: use warning from rc-util (#18287) 2019-08-15 15:08:53 +08:00
afc163
760853e239 💄 eslint for all 2019-08-14 18:21:24 +08:00
afc163
5e99ed7bbe Fix eslint warnings 2019-08-12 19:04:33 +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
afc163
9630410b4e
🐛 Fix noStyle warning
close #18082
2019-08-05 16:54:36 +08:00
啸生
4c23bc2543
Feature (#18049)
Feature
2019-08-02 17:38:50 +08:00
zombieJ
1f8f4bca2d
fix: Wave perf (#17945) 2019-07-29 16:29:54 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale (#17816)
* ConfigProvider support locale

* update docs

* update category

* clean up

* moving locale

* update check script

* update related code

* add test case

* demo link

* update doc

* hide one rule of md with eslint

* update error link
2019-07-24 10:34:55 +08:00
zombieJ
42468b6ad7
feat: Enhance accessibility of Table expanded icon (#17781)
* use icon instead of css

* update snapshot

* clean up

* update style

* update snapshot

* add click test case

* clean up

* update snapshot
2019-07-22 19:28:23 +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
偏右
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