Hossein Mohammadi
4b1000fb7f
fix: React 17 findDOMNode is deprecated ( #27755 )
...
* fix: use ref instead of findDOMNode
* chore: use fillRef in setAndForwardRef
* chore: use rc-util fillRef instead
* chore: use support ref
* test: removed empty class
* chore: use composeRef instead of setAndForwardRef
2020-11-16 16:46:46 +08:00
Tom Xu
5e85ce47a0
chore: improve useCombinedRefs ( #27352 )
2020-10-24 23:52:59 +08:00
Tom Xu
6e0981d1df
refactor(responsive-observe): improve typescript type ( #27305 )
2020-10-23 10:57:13 +08:00
Tom Xu
179ee276c9
refactor: improve useCombinedRefs code ( #27181 )
...
* improve: useCombinedRefs code
* change location
2020-10-16 10:21:21 +08:00
二货机器人
dcd97ca46e
Merge pull request #27055 from ant-design/master
...
chore: Feature merge master
2020-10-09 17:28:17 +08:00
Rain120
820aa04a96
fix: words spell error at the file of wave.tsx ( #27013 )
2020-10-07 02:09:08 +08:00
zombiej
358c7fa4c4
chore: feature merge master
2020-09-22 10:56:04 +08:00
偏右
fc5e0a9155
test: ✅ 100% coverage ( #26839 )
...
* test: isStyleSupport
* test: 100% test coverage
2020-09-21 18:32:24 +08:00
偏右
c979850a5b
test: ✅ Motion for Collpase and Menu ( #26828 )
...
* test: ✅ test menu and collapse motion
* chore: move openAnimation into collapse
* add test case
* rm extra openAnimation.tsx
* remove unused code
2020-09-20 21:13:43 +08:00
偏右
40cee55141
test: add test case for switch click effect ( #26815 )
2020-09-18 17:53:37 +08:00
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
...
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
偏右
4a86b75c74
Merge pull request #26768 from ant-design/master
...
chore: merge master into feature
2020-09-16 14:49:19 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
...
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
二货机器人
b713f457f0
Merge pull request #26630 from ant-design/master
...
chore: merge master into feature
2020-09-07 23:10:36 +08:00
偏右
a409f3126f
test: ✅ add test cases to increase coverage ( #26559 )
...
* test: ✅ add test cases to increase coverage
* chore: remove console
2020-09-03 13:36:23 +08:00
xrkffgg
09e19b765d
chore: merge master into feature #26557
2020-09-03 11:30:46 +08:00
二货机器人
0097d34d01
fix: Update rc-motion
deps & fix ssr ( #26542 )
...
* chore: Update rc-motion deps
* frame wheel not prevent scroll
* update ts
2020-09-02 18:30:27 +08:00
Will Soares
9101f3666a
feat: add support to responsive sizes in Avatar component ( #26244 )
...
fix lint and test failures
update avatar demo card title
update ts type check for undefined
2020-08-29 13:43:52 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle ( #26270 )
2020-08-19 09:50:04 +08:00
二货机器人
c6244382a7
chore: Replace rc-animation/lib/CSSMotion
to rc-motion
( #26044 )
...
* chore: bump version
* chore: update rest version
* clean up rc-trigger ts define
* clean up motion define
2020-08-05 21:23:15 +08:00
偏右
8eb4e83535
test: ✅ increase test covarage ( #25857 )
...
* test: ✅ increase test covarage
* fix test case
2020-07-28 17:54:46 +08:00
07akioni
01cec29a8e
feat: Message hooks API ( #25422 )
...
* chore: comment on usePatchElement
* refactor: conform message & notifaction code logic
* feat: message useMessage, wip
* feat: message.useMessage, it works now
* fix: promise on regular api
* feat: message hooks
* chore: fix lint
* chore: new line
* chore: revert new line
* refactor: prefixCls
* fix: prefixCls
* test: cov
* chore
* chore
* chore
* chore
* docs
* docs: message hooks faq
* test: remove useless config provider
* chore: remove some test codes
* chore
* docs: hooks version
2020-07-15 19:51:56 +08:00
07akioni
e5e44d2aae
refactor: Radio.Group use useMergedState ( #25539 )
2020-07-09 15:36:40 +08:00
zhangchen
26fa36083e
fix: ResponsiveObserve unsubscribe ( #25309 ) ( #25319 )
...
* fix: ResponsiveObserve unsubscribe (#25309 )
* fix: ResponsiveObserve unsubscribe (#25309 )
* fix: ResponsiveObserve unsubscribe
* test: add responsiveObserve.test.js
2020-07-02 10:46:47 +08:00
二货机器人
cfcd990efd
fix: Menu transition finished by opacity ( #25341 )
2020-07-01 15:41:55 +08:00
jesse
09bb61e738
perf: Radio Group usePrevious instead of useState ( #25122 )
...
* perf: Radio Group usePrevious instead of useState
* fix: only re-run if value changes
* perf: put usePrevious custom Hook in _util/ref.ts
* Generics instead of any
* update
2020-06-30 10:45:16 +08:00
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
...
* 💄 fix lint
* 💄 fix lint
2020-06-08 18:01:50 +08:00
afc163
d039e32e6b
merge feature into master-to-merge-feature
2020-05-28 15:30:36 +08:00
Teng YANG
ccd2820ce7
fix : #24205 less class name prefix enhancement ( #24459 )
...
* replace ant class prefix with variable in mixin
* replace ant class prefix with variable in wave
2020-05-26 10:32:35 +08:00
偏右
4b485d393b
Merge pull request #24436 from ant-design/master
...
chore: merge master into feature
2020-05-25 11:50:02 +08:00
偏右
fdbf37a9c0
test: increase test case coverage ( #24430 )
...
* test: increase test case of Cascader
* test: increase test case of Grid and Tree
2020-05-24 23:52:25 +08:00
zombiej
508401cca4
add transBtn coverage
2020-05-23 15:19:24 +08:00
二货机器人
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
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
afc163
62bacb09bf
Fix wave render error in jest, close #11868
2018-08-24 12:11:44 +08:00
afc163
aba2f5e091
fix test case
2018-08-21 15:59:24 +08:00
afc163
60cff5de40
tweak wave effect detail
2018-08-20 23:55:35 +08:00
afc163
5e37710ecb
improve click effect ⭐
2018-08-20 20:59:48 +08:00
afc163
589415ed95
Fix Tag with wave effect
2018-08-11 15:46:45 +08:00
afc163
4d7f1b191f
remove console
2018-08-11 15:34:14 +08:00
afc163
9cf6ae6010
Refactor and apply wave click animation to more components
...
now support Button, Tag, Radio.Button and switch
2018-08-11 15:14:34 +08:00
陈帅
2cffe4f858
optimization: Fix problems found in review
2018-07-13 22:23:12 +08:00
Matt Lein
bcef7ca32e
get data-*, aria-*, and role attributes
2018-06-25 16:53:04 +08:00
Matt Lein
77fcbca04d
pass data-* aria-* and role props
2018-06-25 16:53:04 +08:00
Matt Lein
f0b684de6a
get data-*, aria-*, and role attributes
2018-06-25 16:53:04 +08:00
Matt Lein
20348614d5
Alert - pass data-* attributes to alert div
2018-06-25 16:53:04 +08:00
Karol Majewski
7c273912fd
Fix #10729 ( #10730 )
...
* Lift the requirement of the omitted keys being of string type
* Remove unused Diff mapped type
2018-06-01 16:58:15 +08:00
偏右
a2e0e40caa
[WIP] Use raf to replace getRequestAnimationFrame ( #10614 )
...
* use raf to replace getRequestAnimationFrame
* remove isCssAnimationSupported
2018-05-22 13:01:28 +08:00
Wei Zhu
82b721a432
Extend CardProps from native div element attributes
...
Close #9933
2018-04-11 19:41:54 +08:00
Wei Zhu
fe4d294c64
Fix moment require ( #9528 )
...
Fix #9502
2018-03-09 15:04:21 +08:00
afc163
2f427e172a
Fix a ts error
2018-03-06 21:28:54 +08:00
afc163
edd592cb9d
Fix broken animation of Menu and Collapse
2017-12-08 22:25:50 +08:00
Wei Zhu
541b9d146a
Fix implicit any error for _util
2017-11-22 12:14:43 +08:00
Wei Zhu
c0a42480ae
Fix implicit any error for Anchor
2017-11-22 11:34:46 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
bf36ebdf5e
Merge branch 'master' into antd-3.0
2017-11-13 21:24:32 +08:00
Wei Zhu
645be586f3
Run jest.useFakeTimers in beforeAll
2017-11-13 10:46:54 +08:00
afc163
b53e76cbd5
Merge branch 'master' into antd-3.0
2017-11-09 20:37:30 +08:00
afc163
54188b8e97
Reset timer in test
2017-11-09 20:33:25 +08:00
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
2017-10-20 14:54:38 +08:00
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
...
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
2017-09-26 23:12:47 +08:00
afc163
0a9a3887b5
Fix Invalid calling object in IE
...
with eval-source-map mode of webpack-dev-server
close #7060
ref https://github.com/vuejs/vue/issues/4465
2017-08-03 10:58:55 +08:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
Benjy Cui
e01c8c8ff6
fix: should work with ES2015 module, close : #6334
2017-06-02 16:11:30 +08:00
afc163
ac660d9f3c
Fix transfer search bug, close #5631
2017-05-02 15:47:51 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
00fac07d9e
refactor requestAnimationFrame
2017-02-26 19:08:36 +08:00
afc163
38c8360d1f
Improve Menu[inline] and Collapse animation, ref #4898
2017-02-20 15:34:16 +08:00
afc163
637c479c4c
Fix Tabs in IE9, close #4795
2017-02-08 17:16:48 +08:00
陆离
3789e0cbbb
Affix listener bug fix ( #4756 )
...
* Affix listener bug fix
+ close #4755
+ close #4760
+ clearScrollEventListeners before setTargetEventListeners
+ add tests for throttle
+ append affix test case
* genMockFn -> fn()
2017-02-08 14:44:43 +08:00
陆离
5cd111d486
recalculate width while resize ( #4676 )
...
+ close #4645
+ throttleByAnimationFrameDecorator as a function decorator
2017-01-26 11:23:54 +08:00
Benjy Cui
0aabdb3d8b
fix: locale should follow LocaleProvider, close : #4495 ( #4503 )
...
* fix: locale should follow LocaleProvider, close : #4495
* test: update snapshot
* fix: fix some bugs
2017-01-09 16:25:58 +08:00
Benjy Cui
1351b5da5d
refactor: remove splitObject
2016-12-19 15:19:15 +08:00
Benjy Cui
60ecb3c628
refactor: each message should warn just once
2016-11-01 11:10:11 +08:00
Benjy Cui
8268bfdd9e
refactor: udpate Affix to work with strictNullCheck
2016-10-21 17:44:34 +08:00
Benjy Cui
5d4d9f5cea
style: update code style
2016-10-20 14:48:13 +08:00
偏右
4f77a2e5f5
Fix back top ssr ( #3418 )
...
* improve code style
* move getRequestAnimationFrame to util
* Fix ssr problem in BackTop, close #3343
2016-10-13 16:26:15 +08:00
Benjy Cui
5705f72fb8
fix: make sure en|ru locale import after zh-CN ( #3246 )
...
* fix: make sure en|ru locale import after zh-CN
* refactor: simplify code
2016-10-01 00:17:31 +08:00
Benjy Cui
9685d06f45
fix: should test if window exist, close : #3216
2016-09-29 18:00:23 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
RaoHai
18f35047ec
Rewrite Checkbox in typescript
...
+ add return type of splitObject
+ rewrite `import React from 'react'` to `import * as React from 'react'`
+ rewrite Checkbox in typescript
2016-06-30 10:05:29 +08:00
yiminghe
be95d3fc23
fix split
2016-06-23 10:57:52 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00
yiminghe
777692a207
fix index
2016-06-01 12:09:32 +08:00