afc163
|
48f7d22929
|
site: improve code collapse icon design
|
7 years ago |
afc163
|
57e3be2c32
|
Fix select popupContainer in site header
|
7 years ago |
Amorites
|
29d2a756b0
|
site: place 'search...' at the bottom of the search options (#7021) (#7022)
|
7 years ago |
afc163
|
032d3bea12
|
Support open demo in riddle
|
7 years ago |
afc163
|
66a731b4c2
|
site: open demo in codepen with prefill code, close #5140
|
7 years ago |
Minqi Pan
|
d0bbfd3d2d
|
Add Enclose.IO link in footer
|
8 years ago |
afc163
|
d7a29f682b
|
upgrade Col span format in demo
|
8 years ago |
afc163
|
3202d28cb9
|
Add mobile.ant.design link in menu, close #3079
|
8 years ago |
afc163
|
d7837da175
|
Fix icon API documentation
|
8 years ago |
afc163
|
f9017c677c
|
upgrade react-color
|
8 years ago |
afc163
|
8703145d70
|
Fix prop-types and createClass warning, #5678
|
8 years ago |
Benjy Cui
|
82bfa3dcde
|
site: update text
|
8 years ago |
Benjy Cui
|
067d1af287
|
site: add warning for not translated articles, close: #5404
|
8 years ago |
Benjy Cui
|
61d6cf14ff
|
deps: upgrade eslint relative deps
|
8 years ago |
afc163
|
7daf47b5b1
|
Add scaffold market link
|
8 years ago |
afc163
|
811ecfddf6
|
Add fork icon
|
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 |
afc163
|
085f196dbd
|
fix color palette tool
|
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 |
afc163
|
3ca3c178cc
|
Add English gitter chat room
|
8 years ago |
afc163
|
e93dd1e5af
|
site: fix menu item
|
8 years ago |
afc163
|
0793534665
|
Add ga event analytic code
|
8 years ago |
afc163
|
f230f61c23
|
Improve docs detail
|
8 years ago |
Benjy Cui
|
dda79aa88e
|
site: add link to design platform
|
8 years ago |
Benjy Cui
|
50f46d0919
|
feat: merge Select[multiple|tags|combobox] to Select[mode], close: #5471 (#5534)
|
8 years ago |
jiang
|
00326db74e
|
fix scrollAnim hideProps header … (#5506)
* fix https://github.com/react-component/scroll-anim/issues/19, header switch
* fix home icon down animation
|
8 years ago |
afc163
|
3740fb7f3c
|
Improve iframe demo look
|
8 years ago |
afc163
|
c361165352
|
Improve Layout fixed demo
|
8 years ago |
afc163
|
3b4a51d1ef
|
Refactor color.md
|
8 years ago |
afc163
|
ebeda75c36
|
Add color palette generator tool
|
8 years ago |
afc163
|
46b344eabe
|
tweak icons
|
8 years ago |
偏右
|
84e3aa2a37
|
New design docs (#5370)
* refactor design documentations
* update color document
* Add icon
* Fix images in documentation
* fix some documentation style
* Finish icon doc
* Add copywriting doc
* Add layout.md and navigation.md
* Add more docs
* Fix error color
* improve markdown doc width
* update some details
* fix doc detail
* Add motion.md
|
8 years ago |
afc163
|
b3982ad210
|
site: improve copy icon and color
|
8 years ago |
afc163
|
2aae84f375
|
site: fix #5239
|
8 years ago |
afc163
|
941782f7ec
|
Add iconfont shake and android-o
|
8 years ago |
afc163
|
7645a77c44
|
Update iconfont url and docs
|
8 years ago |
afc163
|
78d33604ac
|
site: improve copy code style
|
8 years ago |
afc163
|
bc743a0ea6
|
Add eggjs link in footer
eggjs/egg#492
|
8 years ago |
afc163
|
f997becadc
|
docs: update footer link
|
8 years ago |
偏右
|
f29ff2f822
|
Add some new icons, ref #3674 (#5107)
|
8 years ago |
paranoidjk
|
15e381ae44
|
docs: update site
|
8 years ago |
afc163
|
4823ce4d08
|
site: update design documentation
|
8 years ago |
afc163
|
05b20c6a9f
|
fix stylelint problems of site
|
8 years ago |
afc163
|
0f6d1db614
|
fix lint
|
8 years ago |
afc163
|
d44a0ece3f
|
site: improve styles
|
8 years ago |
YuyingWu
|
e8cf22ad0e
|
site: fix locale switch
* antD首页从英文切换到中文时,replace导致链接错误
首页从英文转到中文,点击header上的“中文”时,链接会跳到 https://ant.design/index-cn/ant.design/ (Chrome)或者 https://index-cn/ant.design/ (Safari)
bug来自handleLangChange函数下,最后对location.href.replace操作时出错,原因来自replace匹配到location.href的第一个/
('https://ant.design/').replace('/', '/index-cn') 的运行结果是 https:/index-cn/ant.design/
为了避免replace匹配到location.href的第一个/,我建议的方案是使用 location.origin + location.pathname.replace
最后,感谢antD团队开发出那么棒的UI~
* 英转中,url替换(带hash、query)
英转中URL问题,上一版使用了location.origin + location.pathname,会丢失query和hash。此版本原理还是用location.href做replace,鉴于首页pathname可能是/会在替换中匹配到https:后的第一个/,所以先把href的protocol部分提取出来,再做replace,最后再拼回去做跳转。
|
8 years ago |
YuyingWu
|
a5f136f334
|
antD首页从英文切换到中文时,replace导致链接错误 (#5050)
首页从英文转到中文,点击header上的“中文”时,链接会跳到 https://ant.design/index-cn/ant.design/ (Chrome)或者 https://index-cn/ant.design/ (Safari)
bug来自handleLangChange函数下,最后对location.href.replace操作时出错,原因来自replace匹配到location.href的第一个/
('https://ant.design/').replace('/', '/index-cn') 的运行结果是 https:/index-cn/ant.design/
为了避免replace匹配到location.href的第一个/,我建议的方案是使用 location.origin + location.pathname.replace
最后,感谢antD团队开发出那么棒的UI~
|
8 years ago |
afc163
|
c78d3032f5
|
site: fix aside menu
|
8 years ago |
afc163
|
0cbe319839
|
Add copied message
|
8 years ago |
afc163
|
4bde2917d2
|
fix internal links
|
8 years ago |