Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Benjy Cui
f2d4d0a9e4
refactor: simplify Anchor, and fix #6473
7 years ago
邦
e7053c1b39
refactor: support noImplicitAny in Alert ( #5836 )
* refactor(alert): Enable noImplicitAny
* refactor(anchor): enable noImplicitAny #5627
* chore: coding style
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
Mitchell Demler
65d62cd17c
Fix up which props are optional/required for Anchor and AnchorLink components ( #5539 )
8 years ago
陆离
c3102995b3
AnchorLink iteration bug ( #5143 )
+ close #5129
8 years ago
陆离
8eec86085b
typo stopPreventDefault -> stopPropagation ( #5093 )
* typo stopPreventDefault -> stopPropagation
* remove
8 years ago
陆离
9711c6bbf6
Anchor position with offsetTop bug ( #4817 )
+ close #4706
+ `<Anchor offset={x} />` will calculate target position correctly.
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
c94f577416
style: update code style for Anchor
8 years ago
Benjy Cui
db035aa691
style: update code style for Anchor
8 years ago
RaoHai
146f3180aa
lint fix
8 years ago
RaoHai
12c974660e
Anchor 优化
+ using `document.getElementById` instead of `document.querySelector`
+ ink will scroll to target position directly
8 years ago
afc163
850e713e7f
Improve text overflow for MenuItem and AnchorLink, close #3712
8 years ago
afc163
19be7db53f
improve anchor detail
8 years ago
陆离
45d2182137
fix some anchor bug ( #3777 )
* fix some anchor bug
* lint
8 years ago
afc163
74932b5de9
Add className and style props for Anchor
8 years ago
afc163
ec3f20936e
update anchor style
8 years ago
afc163
2df6476572
update anchor docs
8 years ago
RaoHai
0a0e14d610
Anchor Component
+ close #3557
8 years ago
RaoHai
616ecf1980
waiting for sketch
8 years ago
RaoHai
ef720db420
anchor
8 years ago