Commit Graph

143 Commits

Author SHA1 Message Date
二货机器人
4047e2632e
fix: responsiveObserve init miss sizing (#20400)
* fix: init miss sizing

* update mock test
2019-12-23 23:24:47 +08:00
偏右
8501b708ea refactor: 📦 smaller bundlesize limit (#20356)
* 📦 samller bundlesize limit

* 🗑️ remove React static PropTypes

* 🗑️ remove react-lifecycles-compat

* 🗑️ remove matchMedia polyfill

* 🗑️ remove Transfer buggy lazy prop

* 🗑️ remove enquire.js dep

* 🗑️ remove Transfer lazy related code and fix ci

* 🗑️ remove used dom-closest

*  replace dom-scroll-into-view to scroll-into-view for bundle size

*  fix eslint

* 🆙 upgrade browserslist

*  fix test cases

* 🗑️ remove @ant-design/create-react-context

* 🆙 upgrade @ant-design/bisheng-plugin

* 🆙 upgrade rc-slider

*  fix ci

* 🆙 upgrade rc-tabs and rc-mentions

* 📦 scroll-into-view -> scroll-into-view-if-needed

* remove unused devDep

* docs: 📝 update instruction about IE9/10

* 📦 reduce css bundle size by drop IE9/10 support

* 🆙 upgrade rc-upload

* 🗑️ drop unused swing motion css

*  update upload snapshots

* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
QingLance
3ddc3a267a feat: Preset status color into Tag (#19399)
* feat: Tag add status props

* feat: change solution for status tag

* fix: fix coding specification issues

* fix coding specification issues in demo
2019-10-25 23:17:25 +08:00
zombiej
e129e8dc7e merge master 2019-10-08 15:04:00 +08:00
二货机器人
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
zombiej
867910e6f4 merge master 2019-09-29 18:11:24 +08: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
zombiej
f30b92ec21 merge master 2019-09-17 19:31:37 +08: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
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +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
zombiej
b30dc1c3bc merge master 2019-08-06 17:46:53 +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
f56955846c merge master 2019-07-30 19:24:34 +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
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
偏右
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