afc163
d99778b605
Fix clicked effect when switch loading state
8 years ago
afc163
00fac07d9e
refactor requestAnimationFrame
8 years ago
afc163
376806dab8
Merge from "master"
8 years ago
afc163
a9599b802c
when labelCol is 24, it is a vertical form
8 years ago
afc163
3818f59a97
fix test case
8 years ago
afc163
30f2a1ed94
Add popup node snapshot test for Cascader
8 years ago
afc163
05b20c6a9f
fix stylelint problems of site
8 years ago
afc163
c31ebaad90
site: fix responsive design
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
afc163
14d380f0f9
use old button animation
8 years ago
偏右
4650d20abf
Update colorPalette.less
8 years ago
afc163
cf4ad5ddb8
fix test case
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
917ec5606e
Tweak tree style
8 years ago
afc163
511db23fcd
Add default title for form item label
8 years ago
afc163
68fde63ef7
refactor renderLabel
8 years ago
afc163
d2e178d215
update doc
8 years ago
afc163
c78d3032f5
site: fix aside menu
8 years ago
afc163
f6715df3b5
closest => dom-closest, fix ssr
8 years ago
afc163
6ea75c4d85
Filter dropdown menu inside scroll body should never be shown, close #5010
8 years ago
afc163
5076b6045c
fix snap
8 years ago
afc163
139d95022c
prefer stateless function
8 years ago
tianli.zhao
85ca5ed5ea
[WIP] filter the disabled options ( #4981 )
filter the disabled options
8 years ago
afc163
0cbe319839
Add copied message
8 years ago
afc163
2bf6e22653
fix documentation for onOk, close #5044
8 years ago
ddcat1115
d0db3ce426
fix menu icon not centered in Layout.Sidere ( #5039 )
8 years ago
afc163
4bde2917d2
fix internal links
8 years ago
afc163
c163232deb
fix snap
8 years ago
afc163
9c3268dcbc
continue to fix #4935
8 years ago
乐仪
55fca5cee4
Merge branch 'master' of https://github.com/ant-design/ant-design
8 years ago
乐仪
70ec413537
fix Layout demo, update documentation.
8 years ago
afc163
edaad09b67
update grid document for media queries rule, close #5030
8 years ago
Benjy Cui
3aac9adc40
docs: remove some demo
8 years ago
ddcat1115
e07cdf5387
add left out event parameters for Modal[onOk] Popconfirm[onConfirm] Popconfirm[onCancel] ( #5042 )
8 years ago
feng zhi hao
88100a29a3
chore: fix ts definition of Upload ( #5041 )
8 years ago
ddcat1115
e33bb82e62
change detect type of Layout.Sider ( #5036 )
* save
* change detect type of Layout.Sider
8 years ago
偏右
6df92ce16f
Fix staged lint ( #5037 )
* revert lint-staged
* remove git add
* fix lint-staged:demo typo
* fix: cnpm can not find tslint error
8 years ago
Benjy Cui
e72d93edfe
site: add copy button to demo, close : #4563
8 years ago
Graeme Yeates
19c11dd173
chore: RangePicker TimePicker component locking background to white ( #5031 )
8 years ago
Benjy Cui
4e59e9e769
docs: recommend to use LocaleProvider, ref: #5017
8 years ago
afc163
7deab1beec
do not autofix lint when commit, ref #4941
8 years ago
邦
411f352690
[WIP] Refactor lint-flow ( #5014 )
* refactor: lint-flow #4941
* chore: rename lint to lint-all #4941
* Revert "chore: rename lint to lint-all #4941"
This reverts commit 8e4e2b6da3289b62fa85354bee3068fe35836f3d.
8 years ago
afc163
f53d0b7646
upgrade rc-input-number for #5012
8 years ago
feng zhi hao
6d903a6ba5
add custom selection in Table ( #4962 )
* add custom selection in Table
* update snapshots
* update snapshots again
* optimize selection in Table
* update test
* update snapshots
* improve test
* fix test
8 years ago
Benjy Cui
1f844c1048
fix: Slider's Tooltip should not blink, close : #5003
8 years ago
Benjy Cui
1c837963e2
chore: add warning for deprecated API
8 years ago
Benjy Cui
ce0d4c39f2
docs: add missing info in Calendar, close : #5017
8 years ago
afc163
dded4bcde4
fix snap for rc-table@5.2.12
8 years ago