Commit Graph

9762 Commits

Author SHA1 Message Date
偏右
4e9c477bb3
fix: Cascader notFoundContent width (#18325)
* 🐛 Fix Cascader notFoundContent width

close #18176

* 🔒 lock less to 3.9.0

https://github.com/less/less.js/issues/3416
https://github.com/less/less.js/issues/3414
2019-08-17 22:29:02 +08:00
偏右
9b3ac9bbd1
fix: model close (#18323)
* 💄 support Modal closeIcon

close #18307

* 🐛 closeIcon should put into span

https://github.com/ant-design/ant-design/pull/18309/files#r314946527
2019-08-17 21:30:58 +08:00
偏右
c0f98beb4a
🐛 support jfif image in Upload (#18322)
close #18183
2019-08-17 21:23:41 +08:00
偏右
a767a495b0
feat: Modal closeIcon (#18309)
* 💄 support Modal closeIcon

close #18307

*  Add test case for closeIcon
2019-08-17 20:55:59 +08:00
Vijay Thirugnanam
c7e11a0eac feat: upgrade rc-mentions (#18298)
* upgrade rc-mentions

* update docs for mentions component

* update docs
2019-08-17 16:13:12 +08:00
shao
4968052574 test: fix lint fail 2019-08-16 18:15:28 +08:00
shao
2416d17b74 test: reduce test time 2019-08-16 17:59:33 +08:00
shao
9a3feda565 test: reduce test time 2019-08-16 17:59:32 +08:00
shao
6729ce30fa test: fix lint 2019-08-16 17:59:31 +08:00
shao
ce5375f95c test: remove unused var 2019-08-16 17:59:29 +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
ebdbd0ef6f test: fix test fail 2019-08-16 17:59:25 +08:00
shaodahong
3b692bc8b6 test: fix test fail 2019-08-16 17:59:24 +08:00
shao
a796f871a6 test: use jest.useFakeTimers replace sleep 2019-08-16 17:59:23 +08:00
shao
3ab3b014e0 test: use jest.useFakeTimers replace sleep 2019-08-16 17:59:22 +08:00
shaodahong
40c53c8ca4 feat(Anchor): change version 2019-08-16 17:59:20 +08:00
shaodahong
32621cf41a feat(Anchor): fix getCurrentAnchor offset 2019-08-16 17:58:45 +08:00
shao
554d8cb3e3 fix: review change 2019-08-16 17:58:43 +08:00
shao
b4a228c4f4 perf: replace all test suite delay func to common test util sleep func 2019-08-16 17:58:42 +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
shao
90a65d1e57 feat(Anchor): fix add targetOffset prop deme test fail 2019-08-16 17:58:33 +08:00
shao
5e4835363b feat(Anchor): add targetOffset prop demo 2019-08-16 17:58:32 +08:00
shao
a103d21062 feat(Anchor): add targetOffset prop test case 2019-08-16 17:57:41 +08:00
shao
b3537d5c38 docs(Anchor): fix targetOffset prop doc of review change 2019-08-16 17:56:51 +08:00
shao
b02e433226 docs(Anchor): add targetOffset doc 2019-08-16 17:54:12 +08:00
shao
9803ebab34 feat(Anchor): add targetOffset prop 2019-08-16 17:52:41 +08:00
yoyo837
c7e07baff9 The last-child highlight, whether or not it is linkable 2019-08-16 17:19:05 +08:00
偏右
3b0723bff2
Merge pull request #18284 from wendzhue/progress-styles
fix(module:progress): fix progress styles to adapt changes in rc progress
2019-08-16 15:52:47 +08:00
偏右
4e26107a4e
Merge pull request #17823 from shaodahong/feat-anchor-getCurrentAnchor
feat(Anchor): add getCurrentAnchor prop
2019-08-16 15:00:44 +08:00
陈帅
b133c4a2c4
style: descriptions style update (#18270)
* padding bottom support size

* add toc readme

* add demo

* fix lint

* snapshot updated
2019-08-16 10:01:46 +08:00
Phyllis
ea6bf51816 add style to CheckableTagProps (#18300) 2019-08-15 23:43:25 +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
GalenWong
be931ac6bf Update okText documentation for PopConfirm 2019-08-15 15:25:49 +08:00
vagusX
ab9d8589a3 feat: use warning from rc-util (#18287) 2019-08-15 15:08:53 +08:00
偏右
2c63305c2d
Merge pull request #18282 from lidianhao123/fix-ts1259
fix: ts compile error with import React fix-ts-1259
2019-08-15 11:57:55 +08:00
dian.li
dd7e0c54ef chore: disable eslint rule 2019-08-15 11:12:56 +08:00
Wendell
2eb3d22ccc 🐛 fix progress gradient 2019-08-15 10:30:18 +08:00
dian.li
3e1560d753 fix: import multiple times 2019-08-15 09:47:04 +08:00
dian.li
882f343e10 fix: ts compile error with import React fix-ts-1259 2019-08-15 09:28:15 +08:00
Omar López
76a30f0294
[FIX] Allos to override the autocomplete prop in Cascader
Regarding [my comment on this issue](https://github.com/ant-design/ant-design/issues/15875#issuecomment-521373139). This will allow me to fix [Chrome's autofill bug](https://bugs.chromium.org/p/chromium/issues/detail?id=370363#c7).
2019-08-14 13:18:12 -06:00
偏右
19fc777351
Merge pull request #18274 from ant-design/master
Merge master into feature
2019-08-14 21:44:20 +08:00
afc163
00375c2c5e fix eslint 2019-08-14 19:38:01 +08:00
afc163
6cd8f2bc3c fix unsafe link href 2019-08-14 19:36:59 +08:00
afc163
9e4a36de61 🔨 Use new lifecycle methods for Table
ref #9792
2019-08-14 19:31:16 +08:00
偏右
8ae479d916
Merge pull request #18268 from ant-design/improve-lint
chore: 💄 eslint for all files!
2019-08-14 19:02:47 +08:00
afc163
28130501fc fix snapshot 2019-08-14 18:30:15 +08:00
afc163
760853e239 💄 eslint for all 2019-08-14 18:21:24 +08:00
zombieJ
74eda7e705
docs: Fix ConfigProvider demo (#18265)
* docs: Fix ConfigProvider in cn not working

* Use antd pro

* update docs
2019-08-14 18:19:55 +08:00
zombieJ
dfd6ce8609
fix: Checkbox should not show highlight when disabled (#18168)
* fix: Checkbox should not show highlight when disabled

* add comment
2019-08-14 18:19:07 +08:00
afc163
ab9eaed8d0 🐛 Fix Table row selected hover style
close #18195
2019-08-14 15:47:51 +08:00
Yu
2d2d9f60c4 feat: steps component support type navigation (#17994)
* feat: support type nav style

* fix: some style for review issue

* fix: active hover style

* chore: use navigation and upgrade rc-steps

* feat: support disabled prop for Steps.Step

* feat: support subTitle and improve code style

* fix: navigation steps item style

* test: update snap test case

* fix: test steps snapshots and review style issue

* fix: lint issue

* fix: lint style issue of steps

* fix: update steps demo for review issue

* fix: steps nav style detail

* fix: steps nav fix style detail

* fix: Steps subtitle overflow style in firefox

* docs: fix Steps new api doc
2019-08-14 11:18:36 +08:00
偏右
8519734a5a
Merge pull request #18242 from RageBill/master
Fixed grammatical errors in Button and Icon documentation.
2019-08-13 16:00:47 +08:00
Kelvin Chu
4a54c5698c Fixed grammatical errors in Button and Icon documentation. 2019-08-13 15:56:29 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
afc163
9095189bcf fix Carousel test case 2019-08-12 19:04:33 +08:00
afc163
5e99ed7bbe Fix eslint warnings 2019-08-12 19:04:33 +08:00
afc163
0448a0fc06 Remove jest.runAllTimers 2019-08-12 19:04:32 +08:00
afc163
e5a83dd884 Fix carousel react 15 support 2019-08-12 19:04:32 +08:00
afc163
d45d494a4b Fix carousel test case 2019-08-12 19:04:32 +08:00
afc163
d07b298ae4 Fix eslint errors 2019-08-12 19:04:31 +08:00
afc163
2bddeef1e5 🆙 upgrade eslint-config-airbnb 2019-08-12 19:04:30 +08:00
jljsj
090afe0402 Merge branch 'master' of github.com:ant-design/ant-design 2019-08-12 18:51:07 +08:00
jljsj
0e349ba209 re modal test 2019-08-12 18:50:47 +08:00
afc163
29a47b0c7d 🎬 fix Select search demo
close #18222
2019-08-12 18:09:38 +08:00
xrkffgg
d8af45d662 fix: timeline-right-content-width (#18221) 2019-08-12 17:43:48 +08:00
zombiej
2d7059cd51 Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-08-12 17:13:46 +08:00
jljsj
729113d196 fix modal test #18215 2019-08-12 15:39:05 +08:00
zombiej
1cb346573c merge master 2019-08-12 13:34:23 +08:00
zombieJ
8114516496
feat: Tree support virtual scroll (#18172)
* update tree deps

* add part of style

* flex grid

* update disabled

* update demo

* second demo

* add draggable style

* update demo

* update rc-tree version

* temp md

* update tree deps

* update icon demo

* update style

* update less

* update deps

* clean up

* update test case

* fix show line

* update snapshot

* fix lint

* update style

* update deps
2019-08-12 13:22:36 +08:00
偏右
aa2ed79770
🐛 Fix Button loading prop warning (#18208)
close #18205
2019-08-11 16:32:55 +08:00
jiang
33a5da4e9a style: Drawer get container (#18167)
* update drawer position and add get-container demo

* fix lint

* update get-container.md

* rm HTMLElement

* update get-container to render-in-current

* fix lint

* update style

* update test

* re form test
2019-08-10 14:02:51 +08:00
zombieJ
286538ff71
chore: update ts define (#18196) 2019-08-10 13:06:23 +08:00
偏右
729744be9c
Merge pull request #18192 from JonathanLee-LX/master
types: complete monthCellContentRender property type definition on Da…
2019-08-09 22:08:50 +08:00
偏右
03189b3ba2
Merge pull request #18190 from nnecec/master
fix(Cascader): check if options exists before use options.length
2019-08-09 22:06:42 +08:00
Jonathan Lee
a2cd6a5e7f types: complete monthCellContentRender property type definition on DatePicker.MonthPicker Component 2019-08-09 19:11:53 +08:00
Meck Zhu
2815198df6 fix: Dropdown.Button[title] should be optional 2019-08-09 18:10:00 +08:00
nnecec
82ca39275e fix(Cascader): check if options exists before use options.length 2019-08-09 18:09:34 +08:00
Meck Zhu
57833a260f chore: fix css style 2019-08-09 17:16:20 +08:00
偏右
b105ed2663
Merge pull request #18185 from ant-design/improve-cov
test: Add test case for AutoComplete
2019-08-09 15:51:21 +08:00
afc163
3ef5661a1f Add test case for AutoComplete 2019-08-09 15:25:10 +08:00
偏右
682a720029
Merge pull request #18184 from ant-design/improve-cov
chore: Improve cov
2019-08-09 15:08:59 +08:00
afc163
d81bae68d8 📝 fix AutoComplete API table 2019-08-09 14:53:42 +08:00
jiang
97df74200f
update getContainer to props before (#18182) 2019-08-09 14:38:54 +08:00
afc163
94ab1ea2b1 Add test case for AutoComplete 2019-08-09 14:31:36 +08:00
偏右
64dbcc5504
Merge pull request #18124 from ant-design/master
chore: 😊 Merge master into feature
2019-08-09 14:02:26 +08:00
afc163
54cf37d95f 🐛 Fix Card action style when it is a button
close #18154
2019-08-09 11:13:15 +08:00
afc163
88de53d5af fix snapshot 2019-08-08 18:01:15 +08:00
Ștefan Filip
a5a8f38dde Added support for Romanian locale (#18163) 2019-08-08 17:24:31 +08:00
偏右
2cadd5be9f fix: Input clear icon align problem (#18151)
* 🐛 Fix Input clear icon align problem

close #18150
close #17414

* Update index.less
2019-08-08 15:09:36 +08:00
XTY
0f60283cc9 fix: remove unwanted vertical space at the top of Tabs (#18125)
* fix: remove unwanted vertical space at the top of Tabs

* fix: correct misspellings and change wording
2019-08-08 14:54:05 +08:00
Wendell
49c81322b2 docs: fix form doc typo (#18160) 2019-08-08 14:12:04 +08:00