二货机器人
7de007100d
Merge pull request #24199 from ant-design/master
...
chore: Feature merge master
2020-05-16 12:30:58 +08:00
偏右
04ad7236e4
🐛 Fix Backtop cannot work in Chrome iframe ( #24194 )
...
close #24192
2020-05-15 23:16:49 +08:00
偏右
02dccd9643
Merge pull request #24185 from ant-design/master
...
chore: merge master into feature
2020-05-15 17:40:05 +08:00
Tom Xu
9f633bc002
chore: getScroll add more test ( #24180 )
...
* chore: getScroll add more test
* Update getScroll.test.js
2020-05-15 16:14:38 +08:00
Tom Xu
159d42fda8
chore: scrollTo add more test ( #24177 )
2020-05-15 14:57:12 +08:00
zombiej
9f38c46039
merge master
2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
...
* update config
* replace react function
* fix alert
2020-05-14 20:54:49 +08:00
zombiej
e6b1b1a4e7
Merge remote-tracking branch 'origin/master' into feature-merge-master
2020-05-14 16:19:39 +08:00
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
...
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
二货机器人
b0e528d14c
feat: Transfer support oneWay
( #24041 )
...
* use flex
* show clear btn
* support one way
* add dropdown
* add pagination
* support pagination
* use flex
* operation stretch
* pagination works
* update selection logic
* no need to show checkbox on pagination
* fix tree demo
* support invert selection
* remove current pages
* update style
* update snapshot
* clean up
* update test case
* update test case
* update snapshot
* fix lint
* add deps
* update doc
* update hover style
* update hover checked style
* adjust demo & active region
* fix lint
* update snapshot
2020-05-13 19:15:40 +08:00
afc163
53d7a20939
merge feature into master-to-merge-feature
2020-05-13 16:16:16 +08:00
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip ( #24056 )
...
* feat: add transformFile optionfor transform file before request
* feat: bump rc-upload 2.7.0
* feat(Upload): optimize doc
* feat: support custom cell ellipsis tooltip
* tests: update snapshots
* docs: update table ellipsis demo
* tests: update snap
2020-05-12 12:44:49 +08:00
偏右
22c313d032
chore: 🔨 replace css-animation by @ant-design/css-animation ( #23932 )
...
* 🆙 use @ant-design/css-animation
* fix ci
* fix ci
2020-05-07 16:29:41 +08:00
Amumu
245deed4b6
fix proper react import again ( #23762 )
2020-04-29 22:06:04 +08:00
二货机器人
efbb2849dc
fix: Tree with quick loadData
frozen the virtual scroll ( #23581 )
...
* update version
* add deadline
* clean up
2020-04-25 11:13:14 +08:00
pdeva
3e22b505a3
fix: proper react import ( #23381 )
...
* proper react import
fix for #22708
* update iconutil in select
* update in tree component
2020-04-22 09:37:46 +08:00
Chiciuc Nicușor
eb90c5b0a0
fix: Use ElementOf<T> instead of array indexing ( #23132 )
2020-04-11 20:46:09 +08:00
Jay Fong
b41301b168
chore(Tag): improve color types ( #22999 )
2020-04-07 22:10:07 +08:00
偏右
c6a1c3f743
✅ test TransButton focus and blur ( #22979 )
2020-04-07 15:41:05 +08:00
Eric Wang
316b925f94
chore: Use unreachable exception in favor of type safety ( #22933 )
...
* Use unreachable exception in favor of type safety
* Add tests
* add test
2020-04-05 21:18:28 +08:00
Chiciuc Nicușor
f67d09b28e
fix: Extract type of the element of a tuple without indexing. ( #22916 )
...
* Extract type of the element of a tuple without indexing.
* Amend ElementOf<T> to also support readonly arrays.
2020-04-04 12:32:56 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
...
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
2020-04-03 15:02:11 +08:00
偏右
aca2656721
fix: ⬆️ BackTop not working in iframe ( #22788 )
...
* docs: 🎬 improve BackTop demo
* fix Backtop not working in iframe
* fix lint
* fix ci
* fix ci
* ✅ add more test case
* ✅ add more test cases
* fix ci
2020-04-01 17:38:21 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
...
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
偏右
66f67051af
test: ✅ improve test for requestAnimationFrame ( #22433 )
...
* test: improve test for requestAnimationFrame
* ✅ fix test coverage
* fix test case
* fix test case
2020-03-20 15:07:47 +08:00
偏右
813a93ab24
test: ✅ Add test cases for wave ( #22393 )
...
* ✅ Add test cases for wave
* refactor code
2020-03-19 19:27:02 +08:00
Gibson C
428f743b50
feat: Support render props for <Popover/> and <Popconfirm/> ( #22034 )
...
* feat: Support render props for <Popover/>
* feat: Support render props for <Popconfirm/>
* docs: Update Popconfirm docs
2020-03-10 13:57:02 +08:00
二货机器人
d02c486052
feat: Modal support hooks ( #20949 )
...
* init hooks
* portal it in
* children with 2 context demo
* Remove config since not more second demo
* Quit with same Component for logic reuse
* add rest functions
* use localeReceiver
* use localeReceiver
* update test case
* fix lint
* update docs
* update demo title
2020-02-03 13:00:35 +08:00
偏右
37b61c1ada
🐛 Fix Grid initial gutter ( #20762 )
...
like SSR situation
2020-01-08 17:14:29 +08:00
zombiej
e38a88181d
chore: Merge 4.0-prepare
2020-01-06 11:13:39 +08:00
偏右
7dea548551
refactor: 🗑 remove deprecated or compatibility css code ( #20547 )
...
* 🗑️ remove deprecated or compatibility css code
* ✅ update snapshots
* ✅ fix test case and compile error
* ✅ fix stylelint
2019-12-31 11:54:39 +08:00
二货机器人
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
陈帅
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