Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
haianweifeng
c6ea0aa3d7
Update Breadcrumb.tsx
2019-06-03 16:36:07 +08:00
haianweifeng
eee76be930
fix Breadcrumb.tsx
...
对于子路径是否为空进行判断
2019-05-30 22:59:01 +08:00
haianweifeng
1fac84b222
fix Breadcrumb.tsx
...
getPath() 参数赋默认值
2019-05-30 17:28:19 +08:00
haianweifeng
3122f3b86b
修复Breadcrumb.tsx 中处理route.children 路径不对
...
<Menu.Item key={child.breadcrumbName || child.path}>
{itemRender(child, params, routes, [...paths, this.getPath(child.path, params)])}
</Menu.Item>
itemRender(...args) 中路径应该到拼接当前child.path
2019-05-30 17:06:59 +08:00
Marcel Jackwerth
56ff8728d2
Remove ancient prop types ( #16705 )
...
* Remove ancient Modal.propTypes.align and Progress.propTypes.size
* Remove linkRender and nameRender from Breadcrumb
2019-05-26 10:41:02 +08:00
Gin-X
7cdcc7cc2f
fix children's type of interface Route ( #16550 )
2019-05-13 17:54:18 +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
4d1a998246
add component param in warning ( #15078 )
...
* add component param in warning
* update snapshot
2019-02-27 15:32:29 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
Karol Majewski
1479726932
Use exact type for Breadcrumb.Item ( #10372 )
...
Using "any" breaks the build for TSLint users having the "no-unsafe-any" rule enabled.
See https://palantir.github.io/tslint/rules/no-unsafe-any/
2018-05-05 00:47:44 +08:00
Wei Zhu
de340a83ba
Fix implicit any error for Breadcrumb
2017-11-22 11:10:33 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
Benjy Cui
119d498935
chore: replace http with https, close : #6893
2017-07-19 14:00:11 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
...
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
ac1c7f312b
itemRender do not rely on route.breadcrumbName
2017-03-23 13:28:01 +08:00
Robert Wilkinson
910199613d
Update Breadcrumb.tsx ( #5174 )
...
spelling in comment
2017-03-06 11:06:46 +08:00
afc163
9c6a6d6175
Fix Breadcrumb falsy children, close #5015
2017-02-23 13:43:50 +08:00
Wei Zhu
85086f14b6
Using a special static property for type detecting ( #4673 )
...
Related issue: #4655
2017-01-27 17:08:05 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
paranoidjk
4d3f574d05
fix: typo; caused by #4435
2017-01-14 17:07:17 +08:00
kun sam
b6217e62df
add warning when using Breadcrumb without its Item ( #4435 )
...
* add warning when using Breadcrumb without its Item
fix issue ' Warning: Unknown prop `separator` on <div> tag. When I using Breadcrumb #4403 '
ps: 我是个前端beginner, - ( ゜- ゜)つロ, 这是我第一个PR welcome, 如果写错或者还有更好的写法请大神指正。thanks
* remove compatible and use type as condition
按照 @benjycui 的意见去掉了兼容项,并使用type判断
2017-01-14 15:25:37 +08:00
偏右
0062867274
Feature 2.6 ( #4429 )
...
* new Layout Component (#4087 )
* change Anchor type
* new Layout
* Component update && add snap
* Revert "new Layout Component" (#4131 )
* add Layout (#4169 )
* add Layout
* update
* fix snapshot
* Improve layout component
1. update demo code
2. drop `position` of Sider
3. improve demo style
2016-12-30 21:41:28 +08:00
Benjy Cui
c4d8c4770c
Add upgrade warning ( #4028 )
...
* chore: add upgrade warning for time related value
* chore: update warning
* chore: update demo url
2016-12-02 15:07:33 +08:00
Benjy Cui
60ecb3c628
refactor: each message should warn just once
2016-11-01 11:10:11 +08:00
Benjy Cui
4878258f6c
refactor: ref: #3490
2016-10-24 12:04:26 +08:00
yiminghe
c2d3f16dfb
update tslint
2016-10-20 19:19:16 +08:00
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
...
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
2016-10-18 11:55:00 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
c754a3d3d4
chore: add warning for breaking changes
2016-09-14 11:42:06 +08:00
Benjy Cui
14fb2c78ba
chore: remove deprecated code ( #2920 )
...
* chore: remove deprecated code
* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
afc163
a7874cd2a2
change linkRender
and nameRender
to a simpler itemRender
, close #2871
2016-08-29 16:52:35 +08:00
afc163
730dbc72f7
Add typings
2016-07-14 18:15:59 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00