Wei Zhu
2a5479a524
Fix type errors
Close #9988
7 years ago
Wei Zhu
da4062f9c1
Add Anchor[getContainer] ( #9694 )
7 years ago
yangwukang
16d7da31ad
Revision of Anchor Props document description,"affix" default value is true; 修正Anchor Props说明,"affix" 是true
7 years ago
junjing.zhang
0933201652
anchor scroll supports complete href link - test
anchor scroll supports complete href link, e.g. http://www.example.com/#id , not just #id
7 years ago
junjing.zhang
4bf675703d
anchor scroll supports complete href link
anchor scroll supports complete href link, e.g. http://www.example.com/#id , not just #id
7 years ago
afc163
8fb285fce9
Move maxHeight code into anchor, close #8606
7 years ago
Wei Zhu
c0a42480ae
Fix implicit any error for Anchor
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
偏右
bdceb5f083
Review fix ( #8125 )
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
0bc5936b23
resolve conflicted files
7 years ago
偏右
ffffd0f4c5
Fix styles ( #7924 )
* update demo
* Fix styles
* fix snap
* Fix back-top ci
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
c5487ad1eb
React 16 + Enzyme 3
7 years ago
ChaXinyu
14e2a56b75
export components interface ( #7654 )
* export components interface
* export specific props
* fix formItem missed import
7 years ago
afc163
91bbcd6f2c
Fix broken anchor, close #7712
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
afc163
afce275d25
refactor code style
7 years ago
Wei Zhu
047f62e9b4
Mark refs to private ( #7600 )
7 years ago
Wei Zhu
825a3d5e95
refactor: anchor string refs to callback ( #7483 )
7 years ago
Benjy Cui
2ba3a84331
fix: getDefaultTarget only be called in browser, close : #6926
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
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
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
陆离
36fd55c441
Anchor ink in fixed ( #4960 )
* A config for displaying ink-balls of fixed Anchor
+ close #4930
+ add `inkInFixed` props to show ink-balls in fixed mode.
* rename
8 years ago
Benjy Cui
200b88246f
docs: update docs format
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
3e17551b7e
site: improve build speed
8 years ago
偏右
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
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
Wei Zhu
17a0a33283
Restructure tests.
8 years ago
afc163
9006d74034
Change Anchor category
8 years ago
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
8 years ago
陆离
ee2654dbe1
fix: Anchor issue while scrolling window fast ( #4054 )
* Anchor issue while scrolling window fast
+ close #4503
* another implement...
8 years ago
Will Chen
6b774a1343
docs: improve docs' detail ( #4050 )
8 years ago
Benjy Cui
932443099a
css: use @component-background , ref: #4040
8 years ago
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
8 years ago
陆离
72fad02024
chore: Anchor 动画优化。 ( #4011 )
- close #3832
- 点击后给样式就行了, 不要把动画删掉
8 years ago
Benjy Cui
4ee2b9d930
site: SSR for official website ( #3903 )
* site: ssr for Layout
* site: SSR for site
* fix: ssr for Anchor
* chore: add ssr test
* chore: update deploy script
* site: udpate detail
* site: revert animation for site
* site: fix loading animation
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
afc163
b69fd4bf9f
fix lints
8 years ago
RaoHai
12c974660e
Anchor 优化
+ using `document.getElementById` instead of `document.querySelector`
+ ink will scroll to target position directly
8 years ago
afc163
ff803c2762
fix anchor style according to design file
8 years ago