Commit Graph

342 Commits

Author SHA1 Message Date
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
偏右
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
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
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
nnecec
82ca39275e fix(Cascader): check if options exists before use options.length 2019-08-09 18:09:34 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
陈帅
7b98df8075 fix: better typescript code, use svg components (#18036)
* better typescript code, use svg components

fix #18017

* snapshots updated

* snapshots updated
2019-08-02 21:37:26 +08:00
afc163
93e41ed593
🐛 Fix Cascader broken when option children is null
close #17735
2019-07-20 12:24:17 +08:00
偏右
756ded9540
Merge pull request #17583 from ant-design/fix-cascader-style
fix: 💄 Optimize Cascader input style
2019-07-11 14:23:49 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
偏右
72f531dce8
💄 Optimize Cascader input style
avoid to overclap arrow

close #17582
2019-07-11 14:09:55 +08:00
MrHeer
7e4e5a8866 Fix: Typescript definition of CascaderOptionType missing some fields #17555 2019-07-11 12:05:43 +08:00
zombieJ
56a961cb2b
fix: Align cascader loading style & update doc (#17550) 2019-07-09 19:10:36 +08:00
诸岳
85d81e7e3e
fix(Cascader): Should show not found content when options.length is 0, close #17513 (#17538) 2019-07-09 16:29:42 +08:00
ztplz
a614b54c28 Improve code style 2019-07-08 17:42:36 +08:00
zombieJ
4a1d68c87f
chore: Add warn of value not provided in Cascader (#17511)
* add warn of `value` not provided

* adjust desc & logic
2019-07-08 10:57:34 +08:00
Juraj Carnogursky
24ee1634f0 🐛 fixes #16871 Cascader - Space during search 2019-06-01 23:40:49 +02:00
afc163
c102ef7551
🐛 Fix Cascader displayRender not interactive
close #16738 and #10433

this bug had been fixed in bc4143f before, but it was broken by #12407

here we change another method to fix #12395
2019-05-24 18:49:36 +08:00
afc163
1c918b0921
💄 unified Cascader selected style with Select 2019-05-17 14:09:56 +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
afc163
a10ea03754
Fix cascader test snapshot 2019-04-28 12:06:05 +08:00
陈帅
30508b0124 fix error types (#16043) 2019-04-28 11:47:22 +08:00
afc163
b4bdb19952
Fix snapshot 2019-04-16 14:22:22 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
zombieJ
38f701cc90
fix: Empty in IE not fully render (#16016)
* fix viewBox

* update snapshot
2019-04-11 13:49:57 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
afc163
bc737727a9
test: fix snapshots 2019-04-03 19:11:41 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
DiamondYuan
addc7bd266 feat: Improve Empty component again (#15487)
* feat: rewrite component empty

* refactor: use static variable

* refactor: extraction function for component empty

* docs: update docs and demo

* feature: image add image style prop

* docs: update doc of component empty

* docs: add since comment to imageStyle prop

* test: update snapshots

* style: use number in style

* docs: update docs of component empty

* docs: update doc of component empty

* test: fix test broken

* docs: update docs for empty component

* refactor: rewrite empty component

* docs: update doc of component empty

* doc: change image size
2019-03-20 17:45:35 +08:00
DiamondYuan
972840e74d feat: Improve Empty component (#15444)
* feat: empty support imageSize prop

* docs: update demo for empty component

* docs: update docs for empty component

* test: update snapshot of empty component demo

* feat: empty component support use simple image

* docs: update demo for component empty

* docs: update doc for empyt component

* docs: add absence of a space for demo of empty component
2019-03-18 12:01:38 +08:00
陈帅
5e298dba51
3.14.0 Changelog (#15145)
* add responsive property to carousel (#15071)

* add responsive property to carousel #15065

* extend carousel props from Slick type definitions #15065

* rm key in OptionProps (#15104)

* update doc

* fix cascader should tab twice to exist (#15117)

* fix cascader should tab twice to exist

* update snapshot

* Drawer Body padding should be variable

* fix DatePicker to support an array of formats (#15116)

ref #13148

* table reader mobile friendly

* up

* up

* doc: add 3.14.0 changelog

* doc: fix ci warning

* doc: fix ci warning

* doc: fix typo

* doc: fix ci warning

* doc: fix ci warning

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* -m

* -m

* doc: fix cr warning
2019-03-04 10:45:15 +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
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +08:00
zombiej
0a67272ae4 add locale update 2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
zombieJ
b826ecf849
add miss style deps (#14214)
close #14204
2019-01-09 15:05:41 +08:00
zombiej
3d92443f85 update snapshot 2019-01-07 15:48:35 +08:00
zombiej
9b256b03d4 use inline svg of antd-tools 2019-01-07 14:43:51 +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
zombieJ
2164c58198
New Component: Empty (#13651) 2018-12-26 16:01:00 +08:00
afc163
464c4c804d
fix snapshot 2018-12-21 20:59:14 +08:00
afc163
9cfaa16211
update test snapshot 2018-12-20 17:46:17 +08:00
afc163
879784c665
Merge branch "master" into "feature" 2018-12-20 17:43:00 +08:00
Sam Lanning
8f830ec366 fix inconsistent component state updates
React component state updates using setState may
asynchronously update this.props and this.state, thus it is
not safe to use either of the two when calculating the new
state passed to setState, and instead the callback-based
variant should be used instead.
2018-12-20 17:29:02 +08:00
zombiej
cdf4c1e6b8 merge origin/master 2018-12-18 19:18:08 +08:00
zombiej
812c28f26e update snapshot 2018-12-14 15:31:53 +08:00
zombiej
cf43c19a80 use new lifecycle method of Cascader
ref #9792
2018-12-14 11:40:47 +08:00
陈帅
daca08b6f1 merge master 2018-12-13 22:03:12 +08:00
afc163
a2a016d8cf
:globe: fix cascader locale, close #13486 2018-12-07 20:07:33 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
zombiej
9f5d421cd6 merge master 2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
zombieJ
9b49fb60d9
Config provider (#12991)
close #12985
2018-11-26 12:06:42 +08:00
zombieJ
b1d1b75a8f
Cascader support limit filtered item count (#13206)
close #13097
2018-11-26 11:29:16 +08:00
ztplz
6ad23c370e Fix CI 2018-11-10 22:09:29 +08:00
afc163
c466776805 fix typo, #12970 2018-11-07 00:20:27 +08:00
afc163
e6d9a77029 Fix filedNames broken after 3.7.x
close #12970
2018-11-06 12:36:03 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
Wei Zhu
1c1a67fe1d Merge branch 'feature' 2018-09-30 16:53:28 +08:00
Tom Xu
ff4d803181 fix #12395. input group hover style error (#12407)
First of all, thank you for your contribution! :-)

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.

Extra checklist:

**if** *isBugFix* **:**

  * [x] Make sure that you add at least one unit test for the bug which you had fixed.

**elif** *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update TypeScript definition for the component.
  * [ ] Add unit tests for the feature.
2018-09-30 15:23:47 +08:00
Wei Zhu
4ce3800de7 Merge branch 'master' into feature 2018-09-29 16:27:07 +08:00
zombiej
176a8dfcda update test snapshot 2018-09-25 19:45:41 +08:00
HeskeyBaozi
fb8ec65ca0 fix test case snapshot 2018-09-21 13:40:27 +08:00
HeskeyBaozi
2d4a6db22d cascader: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
844a5a92d7 add suffix icon to tree-select 2018-09-21 13:40:27 +08:00
HeskeyBaozi
160d34aeba add suffix icon to date-picker 2018-09-21 13:40:27 +08:00
HeskeyBaozi
96282b1fe8 add suffix icon to cascader 2018-09-21 13:40:27 +08:00
afc163
4cac7917c4 update snapshot 2018-09-19 14:33:36 +08:00
包子熊
4eb7d8f693 Hotfix(Select) add select clear icon (#12196)
close #12181
2018-09-11 20:45:40 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
afc163
be78706364 Merge branch 'master' into feature-3.9.0 2018-08-25 18:55:32 +08:00
afc163
0ac47fe74f Fix abnormal width of Cascader in IE/Edge, close #11857 2018-08-24 21:07:29 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
726d32031f upgrade rc-cascader 2018-08-23 22:15:25 +08:00
HeskeyBaozi
796de6390b update test snapshot 2018-08-14 15:32:29 +08:00
HeskeyBaozi
b9a9c308c9 [breaking] remove iconfont-font class helper 2018-08-14 15:31:20 +08:00
HeskeyBaozi
35974d67b2 update test snap shot 2018-08-13 20:51:01 +08:00
HeskeyBaozi
9f3d58faca update cascader snapshot 2018-08-13 11:45:27 +08:00
HeskeyBaozi
c0e365c488 use cascader expand icon 2018-08-13 11:44:25 +08:00
HeskeyBaozi
3baec95628 Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-13 09:26:33 +08:00
afc163
e2534681c4 update snapshot 2018-08-08 11:05:07 +08:00
João Paquim
363a29c942 Fix typo, filed => field 2018-08-08 10:37:42 +08:00
HeskeyBaozi
6c42d711e8 Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-07-31 15:36:23 +08:00
afc163
7d46cabb17 docs: Add instruction about cascader typo api 2018-07-29 00:05:44 +08:00
qliu
c6518b92aa fix: get label should use childrenKeyName for arrayTreeFilter when us… (#11311)
* fix: get label should use childrenKeyName for arrayTreeFilter when use customer fieldNames otherwise It can not get correct label array

* feat: add fieldNames test case in Cascader

* fix: cli fail

* fix: cil fail again
2018-07-28 13:29:39 +08:00
HeskeyBaozi
ee16585b6d update test cases 2018-07-25 11:51:19 +08:00
HeskeyBaozi
d076ad84d5 fix lint 2018-07-25 11:48:50 +08:00
HeskeyBaozi
a81fba08c0 fix cascader arrow font icon 2018-07-23 12:07:36 +08:00
HeskeyBaozi
4a553a2006 upgrade test cases 2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022 update test cases 2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c update test cases 2018-07-18 10:33:54 +08:00