愚道
8cf518a865
use airbnb eslint config and fix some rule
8 years ago
niko
b75ca54a70
fix Ellipsis break in firefox #1882 ( #1921 )
8 years ago
niko
582523ccc9
Add overflow-wrap & wordWrap for ? character break line. Fix : #1767 ( #1808 )
8 years ago
niko
9bf818a9ea
Add overflow-wrap & wordWrap for ? character break line. Fix : #1767 ( #1808 )
8 years ago
yoyo837
d1b424df1c
fix some other eslint error , close #1722
8 years ago
niko
0f9f76783a
fix Ellipsis floor-mid to ceil-mid #1258 ( #1680 )
8 years ago
twisger
456d25aa60
change api name
8 years ago
twisger
5baed891ed
feature: consider full-width character length as 2 when calculate string length
8 years ago
niko
7dbd7c40d2
fix length property include "..." tail length ( #1592 )
8 years ago
jim
072e30b255
change to react 16.3.0
8 years ago
Cemre Mengu
558f73b6a5
Added en translation for Ellipsis ( #1210 )
* Added en translation
* Remove dots in description
* Fix chinese doc title
* lowercase description
* Updated and added demo translation
8 years ago
jim
6ef237e517
merge master
8 years ago
jim
645f7daf49
support perttier
8 years ago
jim
a28a71e9b9
standardized typescript d.ts file
8 years ago
jim
bd391d7e6c
Format the code
8 years ago
jim
fd9773f5c3
fix #933 add className prop
8 years ago
nikogu
e7ddfff8e8
add break-all to Ellipsis tooltip
8 years ago
nikogu
fc2862b771
move -webkit-box-orient to js Ellipsis
8 years ago
jim
2baef5e8e3
support typescript
8 years ago
nikogu
a17f543fd4
fixed Authorized Demo & Ellipsis tooltip #615
8 years ago
陈帅
8feaa32bb3
Support typescript ( #341 )
* fix some errors found during use
* fix some errors found during use
* Replace "string | React.ReactNode" with React.ReactNode
* replace with * as React
* remove excess property
8 years ago
jim chen
f15770abe7
add .d.ts file & optimized some docs ( #315 )
* 增加AvatarList d.ts说明文件
* 修改 axis的链接 , g2修改了新的官网
* AvatarList 增加判断是否为必须属性
* 删除无用的空行. 优化格式
* 修改错误的图表文档. 增加几处漏写的文档
* 添加图表的 描述文件chart.d.ts
* 改了个错别字!
* 增加CountDown d.ts描述文件
* 增加 DescriptionList d.ts描述文件
* 增加所有剩余对外开发的组件 .d.ts
完善一些文档
* fontWeight 推荐使用 number 来表示数字
* 增加文本自动省略号 .d.ts
8 years ago
huaxiabuluo
591beb1db4
fixed isSupportLineClamp’s judgment ( #240 )
8 years ago
nikogu
43add5605a
Fixed: https://github.com/ant-design/ant-design-pro/issues/212
8 years ago
niko
5a972e9d30
Update Ellipsis compute through height ( #171 )
* Update Ellipsis compute with height & Fixed https://github.com/ant-design/ant-design-pro/issues/167
8 years ago
nikogu
b6570f15fc
use -webkit-line-clamp & remove cover mode
9 years ago
nikogu
cfa8063099
Fixed Ellipsis PureComponent -> Component
9 years ago
nikogu
be80a72aa1
fixed Ellipsis demo title
9 years ago
niko
ffea9d99cf
Add Ellipsis Component ( #135 )
* add Ellipsis
* remove title of span
* update scaffold example
* remove dump code
* maxHeight -> lines
* update Ellipsis for all case
* remove dump code
* use bisection to imporve performance
9 years ago