afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
afc163
aff9d8fc62
fix lint
7 years ago
afc163
0feaf95629
Fix breadcrumb test case
7 years ago
afc163
076540c83e
test: breadcrumd work with react-router
7 years ago
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/
7 years ago
George Gray
aa9e335145
add vars to theme Breadcrumb component ( #9022 )
7 years ago
Wei Zhu
de340a83ba
Fix implicit any error for Breadcrumb
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
0bc5936b23
resolve conflicted files
7 years ago
memoryza
cf397a27f0
update Breadcrumb readme ( #7947 )
* update Breadcrumb readme
* update english
7 years ago
偏右
9053192ae9
Fix component style ( #7848 )
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
7 years ago
Wei Zhu
a3c3ec8070
Fix types and lint
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
偏右
2bced36f0c
New component styles ( #7731 )
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
7 years ago
ChaXinyu
14e2a56b75
export components interface ( #7654 )
* export components interface
* export specific props
* fix formItem missed import
7 years ago
偏右
759b0bb821
seperate reset styles ( #7682 )
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
7 years ago
Khalifa Lame
224e65fc27
docs: update Breadcrumb English doc ( #7490 )
Fixed minor typos.
7 years ago
afc163
72f7232929
Add test cases for Card and Breadcrumb
7 years ago
afc163
988e12f54b
tweak some font weight
7 years ago
Benjy Cui
119d498935
chore: replace http with https, close : #6893
7 years ago
Benjy Cui
88ee7b3e8e
docs: add demo for react-router@4, close : #5644
8 years ago
afc163
e34639a0a8
skip ssr test
8 years ago
afc163
1f3b9e4ee2
fix deps and snapshot
8 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
Tyler
919cb22eb7
Use the prop-types package from npm instead of React.PropTypes ( #6057 )
* Use the prop-types package from npm instead of React.PropTypes
* Remove using of PropTypes from React in docs and site
8 years ago
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
8 years ago
Wei Zhu
8e8c9eda7c
Skip Breadcrumb test temporarily
8 years ago
Benjy Cui
581040fc5d
fix: Breadcrumb should work with react-router@4
8 years ago
Wei Zhu
1a8e738142
Set snapshotSerializers
8 years ago
afc163
17aa47b8cb
when there is no breadcrumbName, do not show breadcrumb item, close #5542
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
4f1811a3cc
itemRender do not rely on route.breadcrumbName
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
ac1c7f312b
itemRender do not rely on route.breadcrumbName
8 years ago
afc163
491b0a199e
fix snapshot
8 years ago
afc163
3740fb7f3c
Improve iframe demo look
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
afc163
d09d6672b8
fix test case
8 years ago
Robert Wilkinson
910199613d
Update Breadcrumb.tsx ( #5174 )
spelling in comment
8 years ago
afc163
9d0a06b657
add snap file
8 years ago
afc163
9c6a6d6175
Fix Breadcrumb falsy children, close #5015
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
afc163
f9ee19ae05
Improve breadcrumb separator color for darker background
8 years ago
afc163
95a74044b0
fix eslint warning
8 years ago
Wei Zhu
85086f14b6
Using a special static property for type detecting ( #4673 )
Related issue: #4655
8 years ago
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
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
8 years ago
paranoidjk
4d3f574d05
fix: typo; caused by #4435
8 years ago
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判断
8 years ago