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
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +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
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
afc163
aff9d8fc62
fix lint
2018-05-25 21:43:21 +08:00
afc163
0feaf95629
Fix breadcrumb test case
2018-05-25 21:43:21 +08:00
afc163
076540c83e
test: breadcrumd work with react-router
2018-05-25 21:43:21 +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
George Gray
aa9e335145
add vars to theme Breadcrumb component ( #9022 )
2018-01-20 16:04:49 +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
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
afc163
ef443ad047
Merge branch 'master' into antd-3.0
2017-10-20 15:47:42 +08:00
memoryza
cf397a27f0
update Breadcrumb readme ( #7947 )
...
* update Breadcrumb readme
* update english
2017-10-19 22:36:49 +08:00
偏右
9053192ae9
Fix component style ( #7848 )
...
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
2017-10-11 12:01:27 +08:00
Wei Zhu
a3c3ec8070
Fix types and lint
2017-10-09 21:03:00 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
偏右
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 👻
2017-09-27 22:32:49 +08:00
ChaXinyu
14e2a56b75
export components interface ( #7654 )
...
* export components interface
* export specific props
* fix formItem missed import
2017-09-25 22:14:49 +08:00
偏右
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
2017-09-22 18:33:29 +08:00
Khalifa Lame
224e65fc27
docs: update Breadcrumb English doc ( #7490 )
...
Fixed minor typos.
2017-09-08 09:43:43 +08:00
afc163
72f7232929
Add test cases for Card and Breadcrumb
2017-08-23 16:29:56 +08:00
afc163
988e12f54b
tweak some font weight
2017-08-17 22:10:40 +08:00
Benjy Cui
119d498935
chore: replace http with https, close : #6893
2017-07-19 14:00:11 +08:00
Benjy Cui
88ee7b3e8e
docs: add demo for react-router@4, close : #5644
2017-06-16 14:57:14 +08:00
afc163
e34639a0a8
skip ssr test
2017-06-15 18:08:35 +08:00
afc163
1f3b9e4ee2
fix deps and snapshot
2017-06-15 13:57:07 +08:00
偏右
c140daabc5
Merge branch 'master' into fix-breadcrumb
2017-06-15 13:36:19 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
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
2017-05-09 13:40:33 +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
Wei Zhu
8e8c9eda7c
Skip Breadcrumb test temporarily
2017-04-09 03:36:03 +08:00
Benjy Cui
581040fc5d
fix: Breadcrumb should work with react-router@4
2017-04-06 14:38:40 +08:00
Wei Zhu
1a8e738142
Set snapshotSerializers
2017-04-02 18:09:23 +08:00
afc163
17aa47b8cb
when there is no breadcrumbName, do not show breadcrumb item, close #5542
2017-03-29 15:13:40 +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
ac1c7f312b
itemRender do not rely on route.breadcrumbName
2017-03-23 13:28:01 +08:00
afc163
491b0a199e
fix snapshot
2017-03-18 15:44:40 +08:00
afc163
3740fb7f3c
Improve iframe demo look
2017-03-18 15:15:00 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
d09d6672b8
fix test case
2017-03-06 11:21:26 +08:00
Robert Wilkinson
910199613d
Update Breadcrumb.tsx ( #5174 )
...
spelling in comment
2017-03-06 11:06:46 +08:00
afc163
9d0a06b657
add snap file
2017-02-23 13:45:16 +08:00
afc163
9c6a6d6175
Fix Breadcrumb falsy children, close #5015
2017-02-23 13:43:50 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
afc163
f9ee19ae05
Improve breadcrumb separator color for darker background
2017-02-08 14:09:27 +08:00
afc163
95a74044b0
fix eslint warning
2017-01-27 17:26:52 +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
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +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
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +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
1351b5da5d
refactor: remove splitObject
2016-12-19 15:19:15 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
afc163
f5775fec73
Add breadcrumb docs about #4106
2016-12-04 15:17:17 +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
Will Chen
6b774a1343
docs: improve docs' detail ( #4050 )
2016-11-29 17:13:24 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +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
87753482bf
style: update code style to please lint, close : #2811
2016-09-27 10:06:34 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f
docs: update docs details
2016-09-21 11:28:38 +08:00
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
...
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Benjy Cui
c754a3d3d4
chore: add warning for breaking changes
2016-09-14 11:42:06 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
afc163
0e6f677ff9
Fix doc headings
2016-09-10 13:43:30 +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
0eeca99f02
Merge 1.x-stable
2016-07-26 22:20:33 +08:00
afc163
5ec1a99dd4
fix transition
2016-07-25 11:57:37 +08:00
afc163
42d34a5db3
Merge branch '1.x-stable'
2016-07-21 14:34:37 +08:00
afc163
a26c2e8888
Fix breadcrume style detail, close #2434
2016-07-21 11:48:56 +08:00
afc163
730dbc72f7
Add typings
2016-07-14 18:15:59 +08:00
afc163
2e41e35cc6
Fix more tslint problems
2016-07-13 17:22:23 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00
The Rock
05b63147ad
docs: add(translation)component/breadcrumb ( #1969 )
2016-06-19 11:14:21 +08:00
afc163
e533846489
fix breadcrumb demo warning
2016-06-12 14:14:55 +08:00
afc163
3264f6b956
move paths as linkRender argument ( #2002 )
2016-06-11 18:21:46 +08:00
afc163
4b05250a6b
Fix breadcrumbName replace ( #1797 )
2016-06-11 17:05:19 +08:00
afc163
3c3811a227
update code style
2016-06-11 16:20:19 +08:00
afc163
f0f8f5e687
Add route and params to nameRender ( #2002 )
2016-06-11 16:11:08 +08:00
plandem
9d4a6848c1
fixed case when linkRender must accept raw paths
2016-06-10 17:22:07 +03:00
plandem
f6da6ef38b
added nameFormatter for routes
2016-06-10 16:12:52 +03:00
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
2016-06-06 13:54:10 +08:00
Benjy Cui
8842d9342a
site: update components' type
2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
2016-05-11 09:32:33 +08:00
afc163
0ca6a1c24a
css modularize ( #1448 )
...
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
2016-04-27 20:44:36 +08:00
Benjy Cui
12331ea57c
style: enable react/prefer-stateless-function in demo
2016-04-21 11:36:51 +08:00
afc163
8116e775ff
upgrade devDeps and fix some eslint problems
2016-04-18 14:58:38 +08:00