Commit Graph

1617 Commits

Author SHA1 Message Date
afc163
3a25ef8d14
💄 Fix lgtm alerts
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2018-12-22 17:40:25 +08:00
afc163
7fe6dec9b8
Merge branch 'master' into feature
* master:
  feat(table): support table border-radius define in theme
  add form-tutorial.md
  📝 Put gitter flags in badges in README (#13744)
  update deps of rc-select
  skip show-tooltip.md test when is dist test
  💄 update slider demo
  Fix a regular expression
  Improvements to badges in README (#13743)
2018-12-21 16:12:14 +08:00
Sam Lanning
97ee28ee7a Fix a regular expression
Pipe (|) is not supposed to be used as a delimiter in character classes, though
it seems like that's what someone's trying to do here, given it's trying to
extract numbers from a css transform property.
2018-12-20 20:30:18 +08:00
afc163
879784c665
Merge branch "master" into "feature" 2018-12-20 17:43:00 +08:00
kenve
6106e459a3 fix: demos can‘t be opened correctly in CodeSandbox (#13734) 2018-12-20 16:47:10 +08:00
afc163
f706e2554f
🎅 🎅 🎅 2018-12-19 14:14:09 +08:00
陈帅
daca08b6f1 merge master 2018-12-13 22:03:12 +08:00
zombiej
e2ec0c2b48 update antd-tools & bisheng version 2018-12-11 17:43:05 +08:00
afc163
7e911637e2
📝 detect recommendation links click data 2018-12-11 12:33:23 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
df356a586c Merge branch 'master' into feature 2018-12-07 18:52:13 +08:00
afc163
98ff831e2e
💄 site: tweak site style 2018-12-07 18:48:07 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
6388410c1f
💄 site: fix demo edit tooltip text 2018-12-05 21:06:27 +08:00
zombiej
b8630b3455 add eye-invisible icon 2018-12-03 16:52:25 +08:00
Wei Zhu
d2d893c52f icons: add eye-invisible 2018-12-03 15:47:48 +08:00
zombiej
9f5d421cd6 merge master 2018-11-30 14:48:37 +08:00
afc163
1a17cd0842
🐛 fix npm start 2018-11-28 17:59:29 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
zombieJ
9b49fb60d9
Config provider (#12991)
close #12985
2018-11-26 12:06:42 +08:00
afc163
c7b9eee709 improve getDerivedStateFromProps return value 2018-11-13 18:03:57 +08:00
afc163
6b285439c4 📈 site: fix recourse card click node 2018-11-13 15:44:14 +08:00
afc163
c1908e78e5 📈 site: fix ga event 2018-11-13 15:24:12 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
afc163
ee8e413cf5
💄 upgrade site footer 2018-11-10 14:52:16 +08:00
afc163
4647d46c22
🔧 Use webpackbar in antd-tools and bisheng 2018-11-10 12:42:11 +08:00
afc163
5204b45e01 revert webpackbar 2018-11-09 18:32:20 +08:00
jljsj33
15d3070275 add landing to home Solution 2018-11-09 17:30:35 +08:00
afc163
272df0149c Renew Sketch Symbols! 2018-11-09 16:59:46 +08:00
afc163
cbf9a6a694 site: fix icon copy text 2018-11-08 17:29:56 +08:00
jljsj33
23c4e222c9 update doc video responsive 2018-11-08 15:09:04 +08:00
jljsj33
877fdffb52 add Landing to footer 2018-11-08 14:43:41 +08:00
alex
2de0bdf686 添加在线编辑对react-router3/4的支持 2018-11-06 17:04:08 +08:00
afc163
a769850c2c update homepage text 2018-11-06 16:26:32 +08:00
afc163
00c65b046b site: update icon doc translation 2018-11-05 19:04:28 +08:00
afc163
3b4a043412 remove unused dep 2018-11-05 14:07:14 +08:00
afc163
c2184d6334 site: update header responsive ui 2018-11-05 11:59:15 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
afc163
934b92b943 site: still need the fallback scrollIntoView, #12683 2018-10-31 16:54:58 +08:00
afc163
1f0263ccf7 site: fix npm run site error 2018-10-31 13:15:40 +08:00
afc163
de492b90a4 componentWillReceiveProps => getDerivedStateFromProps 2018-10-30 16:17:24 +08:00
afc163
f51feebe36 use React.StrictMode to show deprecated message 2018-10-30 16:17:24 +08:00
afc163
71b8cf7a0c site: tweak style detail 2018-10-28 21:04:11 +08:00
afc163
01a59880e8 site: primary color for hotjar and nprogress 2018-10-28 17:59:34 +08:00
afc163
98489f4717 site: now hash jump would be ok
no need to scrollIntoView
2018-10-28 17:35:21 +08:00
afc163
96e0cb5313 site: fix hash 2018-10-26 20:31:06 +08:00
afc163
a93cd4140b site: fix banner responsive bug 2018-10-24 10:43:40 +08:00
afc163
2c6ee4caa1 site: update button transition style 2018-10-23 19:56:32 +08:00
afc163
8ccd6b8277 site: add promote link 2018-10-23 12:21:26 +08:00
Wei Zhu
e56a3310df docs: Add missing codesandbox icon 2018-10-22 13:36:03 +08:00
afc163
e03a4e166b site: fix hash link
close #12683
2018-10-19 11:19:41 +08:00
偏右
fb7ca35c57
Update zh-CN.js 2018-10-16 16:03:22 +08:00
jljsj33
6767bcf0b0 fix Home Page1 icon hover animation 2018-10-12 20:29:25 +08:00
°))))彡
9aa4172c27 feat(website): add link to ng-zorro-mobile website; (#12619) 2018-10-12 17:09:43 +08:00
afc163
4e3cbec038 site: change link to xtech 2018-10-06 15:31:53 +08:00
Wei Zhu
9cfaf1750d fix: type error 2018-09-30 21:39:12 +08:00
Wei Zhu
40001d8220 Revert "fix: more types"
This reverts commit e063e1916d.
2018-09-30 21:29:14 +08:00
Wei Zhu
e063e1916d fix: more types 2018-09-30 16:39:51 +08:00
jiang
aee625b2ea
update motion language (#12478) 2018-09-30 11:43:53 +08:00
Wei Zhu
1bb1418eb7 site: Remove unused files 2018-09-28 11:02:18 +08:00
Wei Zhu
1815bba876 Unregister service worker 2018-09-26 11:13:19 +08:00
Wei Zhu
70ef4f28aa Remove offline plugin, continue work of aeeabb1 2018-09-26 10:56:02 +08:00
Wei Zhu
aeeabb1263 Disable offline temporarily 2018-09-26 10:44:12 +08:00
afc163
4c0c24428c site: fix duplicated menu icon 2018-09-19 14:47:24 +08:00
afc163
ead460afe4 site: tweak header transition style 2018-09-16 17:49:07 +08:00
afc163
a669f24afe site: improve hr style 2018-09-16 15:40:05 +08:00
afc163
d030121ce2 change faq links 2018-09-16 15:40:05 +08:00
afc163
0698c82173 adjust icon svg align 2018-09-14 10:58:03 +08:00
愚道
edee08006d fix review code style issue 2018-09-12 12:01:39 +08:00
愚道
76cf0816dc doc: add course link to site nav 2018-09-12 12:01:39 +08:00
afc163
7a4107eab8 site: update footer links 2018-09-11 14:34:36 +08:00
愚道
5dd292f8b7 doc: add yuque antd course link 2018-09-11 14:22:38 +08:00
afc163
5364675ab7 update cdn link 2018-09-11 14:15:48 +08:00
afc163
8fee0fd567 site: update heading font 2018-09-10 15:59:18 +08:00
afc163
5ab199b867 site: fix some icon align styles 2018-09-10 14:51:18 +08:00
HeskeyBaozi
9fae6b443d remove fields.js 2018-09-07 14:14:23 +08:00
HeskeyBaozi
403ac4d0df add missed icons 2018-09-07 14:14:23 +08:00
包子熊
67024893ce Hotfix/icon issue (#12016)
* fix progress icon

* remove IconDisplay fields.js

* update progress test snapshot

* fix form item circle filled

* update form-item test snapshot

* fix close icon in upload item list

* fix alert icon theme

* update alert test snapshot

* fix time picker clear icon

* fix test snapshot

* fix rotate icon in the header

* update test snapshot

* update new tree test snapshot

* fix icon position

* fix old icon and new icon both display

* fix card actions icon position
2018-09-03 19:29:27 +08:00
afc163
f22247bce0 site: fix demo icon 2018-09-03 12:20:14 +08:00
包子熊
fd61989852 remove strikethrough to edit icons 2018-09-02 23:56:48 +08:00
HeskeyBaozi
4d681c7fd3 optimize icon docs 2018-09-02 20:59:37 +08:00
HeskeyBaozi
bd53700766 default to icon 2018-09-02 20:59:37 +08:00
HeskeyBaozi
28b3ed19ee add logo alibaba 2018-09-02 20:59:37 +08:00
HeskeyBaozi
af95133c5b icon size: 24px -> 36px 2018-09-02 20:59:37 +08:00
HeskeyBaozi
92ea2dcc68 90+ new icons 2018-09-02 20:59:37 +08:00
HeskeyBaozi
7e1c373ca4 remove IconSet 2018-09-02 20:59:37 +08:00
HeskeyBaozi
bd59671585 default primary color #1890ff 2018-09-02 20:59:37 +08:00
HeskeyBaozi
b453db3c9b fix typescript type 2018-09-02 20:59:37 +08:00
HeskeyBaozi
3bc88ed7fa use more reusable color 2018-09-02 20:59:37 +08:00
HeskeyBaozi
2a54d80639 new icon display 2018-09-02 20:59:37 +08:00
HeskeyBaozi
2600d8a4ca remove IconDisplay jsx 2018-09-02 20:59:37 +08:00
HeskeyBaozi
dcc35f1deb default to icon 2018-09-02 20:59:37 +08:00
afc163
207bad7b47 Merge branch 'master' into feature-3.9.0 2018-09-01 13:22:06 +08:00
afc163
b84d515969 site: add promote badge 2018-08-31 17:03:27 +08:00
afc163
bf2f7e9c33 Merge branch 'master' into feature-3.9.0 2018-08-28 18:09:01 +08:00
afc163
b99f205cf8 site: clear out new icons which were not new 2018-08-27 22:32:54 +08:00
afc163
0e1b304513 Fix codepen error for react@16 and moment, close #11886 2018-08-27 13:28:41 +08:00
HeskeyBaozi
d9b38aee4b Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	package.json
2018-08-25 13:24:44 +08:00
HeskeyBaozi
abfd50a7bf use component 2018-08-24 19:47:07 +08:00
afc163
68959b9a4f site: update yuque description 2018-08-23 23:14:26 +08:00
HeskeyBaozi
96b38dd3ec use svg icon in introduce 2018-08-21 18:33:52 +08:00
HeskeyBaozi
678e2aac4f use svg icon in docs footer nav 2018-08-21 17:46:20 +08:00
HeskeyBaozi
ea6656f734 Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-21 16:32:30 +08:00
afc163
d13187ba1e site: tweak script and style tags order 2018-08-20 17:08:07 +08:00
HeskeyBaozi
65600c8a95 upgrade to 3.8.2 2018-08-20 14:00:51 +08:00
afc163
55d43eb13b site: move script to body bottom 2018-08-17 22:29:36 +08:00
afc163
45ac4872b2 update chinese slogan 2018-08-16 23:32:50 +08:00
HeskeyBaozi
f275f3090a update Icon api 2018-08-16 11:41:37 +08:00
HeskeyBaozi
7925355ca7 upgrade Icon api 2018-08-15 17:21:02 +08:00
afc163
8d873785a7 Add badge above footer kitchen link 2018-08-14 12:26:53 +08:00
afc163
799c7be17e Fix site error in IE10/11 which don't support conditional comments 2018-08-12 00:04:58 +08:00
HeskeyBaozi
a0a5641c79 use pretty webpack bar 2018-08-05 15:13:53 +08:00
Thibault Derousseaux
43abea3212 Use tabular-nums font variant instead of switching to Tahoma for figures
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422.
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric) that can be set to `tabular-nums`.

This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/).
2018-08-04 11:28:14 +08:00
Wei Zhu
bb29c46cda
Update ErrorBoundary.js 2018-08-02 18:10:59 +08:00
afc163
0587804fb1 Fix kcard.alipay.com issue, close #11349 2018-08-02 17:00:39 +08:00
afc163
e397c094bb site: Add ErrorBoundary for live demo, ref #11553 2018-08-02 16:34:04 +08:00
afc163
7ec566928d site: improve code style 2018-08-02 16:25:47 +08:00
Ilan Hasanov
68ce09be4e 🐛 fix icons page 100% cpu usage 2018-07-28 02:05:02 +08:00
afc163
6be189aa0f site: styling API Tables 2018-07-21 15:00:20 +08:00
afc163
18d85141e1 site: update document title in home page
Tribute to material-ui.com and 😉
2018-07-21 13:18:23 +08:00
Wei Zhu
f22353cd2b Use npm package for offline-plugin
tnpm don't support git dependency
2018-07-20 11:53:49 +08:00
jim
306389273a Improve documentation 2018-07-13 22:23:12 +08:00
afc163
5fe25d9c23 site: fix collapse all button and import it, close #11113 2018-07-01 12:13:46 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
afc163
7e2ba7e6d3 site: fix code demo icon style in IE 2018-06-10 23:03:07 +08:00
Wei Zhu
05c5115991 site: fix lint 2018-06-08 23:21:25 +08:00
Wei Zhu
c2d94ad84d Don't cache badge since they don't allow cor 2018-06-04 16:24:49 +08:00
Wei Zhu
7149d1fdff Add offline support (#10738)
* site: add offline support

* test update

* Revert "test update"

This reverts commit e1cb2fba80.

* use reduce
2018-06-02 12:46:09 +08:00
afc163
0fc5a0ece5 site: add alt to images 2018-05-21 23:47:22 +08:00
afc163
6458280cb3 site: add alt to images 2018-05-21 23:42:57 +08:00
afc163
0f73b5d3f7 site: upgrade analytics code 2018-05-21 23:27:26 +08:00
afc163
14beee1fe1 site: add baidu tongji 2018-05-21 22:58:12 +08:00
Zohaib Ijaz
df7ef9a833 site: Repalced generateColorLess script with antd-theme-generator
* Repalced generateColorLess script with antd-theme-generator which allows to dynamically change theme for all color variables

* Updated antd-theme-generator version

* Updated Ant styles directory path
2018-05-18 12:01:32 +08:00
afc163
9b17a943f5 site: use correct locale for component 2018-05-18 11:34:26 +08:00
afc163
d5d0501ac7 site: change footer ui 2018-05-15 12:40:15 +08:00
afc163
77e21d33ea site: fix link 2018-05-14 21:25:38 +08:00
afc163
bdb4483ef5 site: add kitchen link in footer 2018-05-14 19:52:51 +08:00
afc163
bc8353729c site: add kitchen homepage 2018-05-14 13:58:54 +08:00
afc163
5e0b8df412 site: fix button align of home page 2018-05-14 00:07:39 +08:00
afc163
35b751da15 site: better responsive 2018-05-12 14:02:34 +08:00
afc163
fbf09e86af site: show version info in home page 2018-05-09 10:45:45 +08:00
afc163
74e36325a2 site: tweak style 2018-04-29 23:02:07 +08:00
Benjy Cui
cd6ad64cab
chore: remove advertisement for yuque (#10299) 2018-04-29 10:42:45 +08:00
afc163
8b02a21d36 site: valid primary color range 2018-04-27 22:09:49 +08:00
afc163
be43e56835 site: fix color tool, close #10265 2018-04-27 21:23:51 +08:00
afc163
8ab4aeb9c4 site: fix ad flush 2018-04-22 22:37:58 +08:00
Benjy Cui
e444dc5e39
chore: add ad for yuque (#10182) 2018-04-22 18:58:40 +08:00
Wei Zhu
163f2aae64 site: fix typo 2018-04-19 17:49:29 +08:00
偏右
a7f898e4b2
Update zh-CN.js 2018-04-08 00:20:57 +08:00
afc163
134e60fe2b site: fix color index 2018-03-30 11:20:13 +08:00
jljsj
a7107c6adf fix site icon hover transition 2018-03-27 15:40:31 +08:00
afc163
e400ef6d30 site: fix extra space in page bottom 2018-03-26 16:53:02 +08:00
afc163
1abe1517d8 Add deer tracking code 2018-03-26 15:35:39 +08:00
afc163
99cc5b9607 site: add search input in home page 2018-03-26 15:32:48 +08:00
afc163
e7ba4fb3f0 remove unused comment 2018-03-26 15:04:36 +08:00
afc163
fc99a6a436 site: use ant-design-palettes 2018-03-12 17:11:41 +08:00
afc163
468a7629e7 site: fix intersection-observer polyfill 2018-03-07 15:56:40 +08:00
afc163
a2018e7c44 site: fix scroll to current hash in chrome 2018-03-03 16:42:48 +08:00
愚指导
2548a4bcf9 add polyfill for ie (#9444) 2018-03-02 11:49:56 +08:00
afc163
d4a5d2c188 site: fix home button align 2018-02-26 13:54:09 +08:00
afc163
5294a69296 site: fix home page style 2018-02-11 18:10:02 +08:00
afc163
ec399ba27f site: update link description 2018-02-11 17:59:41 +08:00
afc163
d31612f2de site: renew footer links 2018-02-11 17:54:55 +08:00
afc163
c04377e541 Add more icons, #9092 2018-02-11 17:10:18 +08:00
afc163
80a4ee7731 site: update home button style 2018-01-31 10:14:25 +08:00
nikogu
1329de5ebd fix home page button text overflow 2018-01-27 22:34:44 +08:00
afc163
70569c6d28 site: improve responsive style 2018-01-27 15:17:43 +08:00
afc163
3c9c4077fa Fix missing file-word icon in demo, #9092 #9061 2018-01-24 12:21:43 +08:00
Reed Sun
024e7c342f Optimize the button tip about expand/hide all code (#9086) 2018-01-23 18:56:31 +08:00
Wei Zhu
cdb160ae4b site: fix forEach call on IE 11 2018-01-22 12:11:28 +08:00
jljsj
7b90be6326 update responsive, add home footer style 2018-01-19 18:17:10 +08:00
afc163
32023c24e5 Add aliyun icon 2018-01-19 12:04:50 +08:00
Eli White
d9062bdb5c Fixing typo on homepage (#8962) 2018-01-13 23:55:43 -06:00
Wei Zhu
46b45acb12
Remove babel-plugin-add-module-exports (#8888) 2018-01-13 05:11:53 -06:00
afc163
8de2b470b0 site: update resource card style 2018-01-13 14:34:50 +08:00
afc163
19c65cece7 remove santa code 2018-01-13 14:01:23 +08:00
afc163
7dc4ee6d7d site: remove home page video 2018-01-12 21:05:48 +08:00
afc163
27a2d68a1b site: update home page font family 2018-01-12 20:47:07 +08:00
afc163
ccd419029a site: update search placeholder 2018-01-12 15:00:03 +08:00
afc163
ebac0f7675 site: fix overflow arrow 2018-01-11 21:29:18 +08:00
Wei Zhu
3467ba639d site: update grey color value 2018-01-11 10:25:49 +08:00
afc163
5654cb46a3 typo 2018-01-10 14:26:39 +08:00
afc163
f0dd8191d4 update home style 2018-01-10 13:43:39 +08:00
jljsj
e09c71f22e add bnts will-change 2018-01-10 10:35:34 +08:00
jljsj
d71a493e47 re path ease 2018-01-10 10:26:21 +08:00
afc163
02386bbfff Fix ssr deploy 2018-01-09 21:14:12 +08:00
afc163
b2af3e2afc site: tweak home style 2018-01-09 20:42:30 +08:00
Wei Zhu
c06b0e93a0 site: Replace hit url 2018-01-09 19:46:51 +08:00
jiang
45e2b51cdb
fix firefox svg deviation and trajectory motion 2018-01-09 15:53:50 +08:00
afc163
5e4fed48f6 site: clean footer style code 2018-01-09 15:38:06 +08:00
Wei Zhu
d7fb63f8c3 site: large github button 2018-01-09 14:28:29 +08:00
Wei Zhu
7996494f3a site: remove search result translation 2018-01-09 10:45:10 +08:00
afc163
680d28b148 Fix site style 2018-01-08 20:45:33 +08:00
Wei Zhu
e1e58255cc site: Add redirect page 2018-01-08 16:57:29 +08:00
Wei Zhu
4e743ea051 site: tweak github button position 2018-01-08 12:42:45 +08:00
Wei Zhu
9048b042fc site: tweak home page 2018-01-08 12:18:13 +08:00
Wei Zhu
2d402050a2 Revert "Bring navigation back to home page"
This reverts commit 23c23797ff.
2018-01-08 12:18:13 +08:00
Wei Zhu
23c23797ff Bring navigation back to home page 2018-01-06 12:38:28 +08:00
Wei Zhu
b8608deaed Tweak bottom bar padding 2018-01-06 12:36:54 +08:00
afc163
ccaaf8d027 update home style 2018-01-06 10:32:42 +08:00
afc163
553ce3f0a0 update text 2018-01-06 10:20:03 +08:00
Wei Zhu
9cb8472c4a Fix menu order 2018-01-05 23:42:49 +08:00
afc163
97edf48f52 update font family 2018-01-05 23:07:45 +08:00
afc163
cb06c50c95 some details 2018-01-05 23:06:29 +08:00
Wei Zhu
777738ed14 Revert "Update i18n"
This reverts commit 49ba63ac6b.
2018-01-05 18:48:16 +08:00
Wei Zhu
7cb5b48746 Fix scroll 2018-01-05 18:37:07 +08:00
Wei Zhu
49ba63ac6b Update i18n 2018-01-05 18:31:21 +08:00
Wei Zhu
862c0bc821 Remove GitHub button on mobile 2018-01-05 18:04:55 +08:00
Wei Zhu
8c1426d6e7 Fix typo 2018-01-05 17:54:02 +08:00
jljsj
5fa021ebac fix typo 2018-01-05 17:23:59 +08:00
jljsj
44814c3717 re video 2018-01-05 17:20:52 +08:00
Wei Zhu
28411dafb1 Update 2018-01-05 16:22:56 +08:00
jljsj
8235b5e821 add git button 2018-01-05 16:14:59 +08:00
Wei Zhu
4cac50d742 Remove see conf ad 2018-01-05 16:08:45 +08:00
Wei Zhu
aadff2d569 Fix ssr 2018-01-05 15:58:04 +08:00
竹尔
0125ae075f
Update home.less 2018-01-05 15:38:48 +08:00
jljsj
dcb484e1ef update typo 2018-01-05 15:17:32 +08:00
jljsj
a0814e29c6 add new version video 2018-01-05 15:17:22 +08:00
jljsj
3c74a26758 add en 2018-01-05 15:17:13 +08:00
jljsj
94e05ff3bc add link 2018-01-05 15:17:06 +08:00
jljsj
44a7837784 re alt 2018-01-05 15:16:58 +08:00
jljsj
f948b9fb54 add 3.0 landing page 2018-01-05 15:16:49 +08:00
Wei Zhu
c8ffe92a9a Update 2018-01-05 11:14:55 +08:00
Wei Zhu
5b6304997f Fix margin 2018-01-05 10:33:59 +08:00
Wei Zhu
fdcc2ca1c3 Update style 2018-01-05 10:33:59 +08:00
Wei Zhu
958433a8d7 Fix preview image box margin 2018-01-05 10:33:59 +08:00
Wei Zhu
2e6e4f2345 Tweak image margin 2018-01-05 10:33:59 +08:00
Wei Zhu
7210bde371 Tweak style 2018-01-05 10:33:59 +08:00
Wei Zhu
1190f0b009 Add algolia search 2018-01-05 10:32:49 +08:00
Wei Zhu
bafca69331 Update English version 2018-01-05 10:32:00 +08:00
Wei Zhu
35c36fc77e More docs 2018-01-05 10:32:00 +08:00
Wei Zhu
600c8c69f0 Tweak color palette 2018-01-05 10:32:00 +08:00
Wei Zhu
0fbd1b4080 Add new design guide 2018-01-05 10:32:00 +08:00
Wei Zhu
f9a3d419cd Smaller image box 2018-01-05 10:32:00 +08:00
Wei Zhu
e3f49efb2d Restruct menu 2018-01-05 10:32:00 +08:00
afc163
6e6cda5b2e fix english typo 2018-01-01 17:24:21 +08:00
afc163
ea28c2f57f remove santa 2018-01-01 15:07:55 +08:00
Wei Zhu
642f8b20ec Add open in CodeSandbox (#8747) 2017-12-29 17:02:45 +08:00
afc163
8fb285fce9 Move maxHeight code into anchor, close #8606 2017-12-28 13:20:12 +08:00
afc163
823d10ac96 site: add instruction about yellow color 2017-12-27 20:52:24 +08:00
afc163
3a8df54fb7 Fix typo 2017-12-26 09:33:29 +08:00
afc163
f3df363ec7 update site style 2017-12-25 14:09:53 +08:00
afc163
0cf841db94 Fix santa in chrome 2017-12-25 14:05:59 +08:00
afc163
021b49f7d5 🎅 🎅 🎅 2017-12-25 13:53:16 +08:00
afc163
dd7410e151 site: fix banner ssr 2017-12-23 17:33:33 +08:00
afc163
cbfa987b0b site: fix banner ssr 2017-12-23 16:56:36 +08:00
afc163
692265f5f1 site: fix style 2017-12-22 17:21:10 +08:00
afc163
dd364e3358 site: fix details 2017-12-21 14:57:56 +08:00
jiang
4eb51bcb5c
Update home.less 2017-12-21 10:26:40 +08:00
afc163
db1984d031 site: fix ssr render 2017-12-18 18:46:41 +08:00
afc163
3f3fbfbe67 Add promote link for seeconf 2017-12-18 17:58:45 +08:00
afc163
028dcea5ec site: fix repsonsive style 2017-12-16 18:22:15 +08:00
afc163
404677a68a site: fix extra # in location 2017-12-16 17:35:28 +08:00
afc163
a9797ac4ce Fix IE startsWith 2017-12-13 21:36:19 +08:00
afc163
336c3613e8 site: fix navigator.language undefined 2017-12-13 20:04:09 +08:00
afc163
3e0df406f1 Fix unexpected scrollTop change 2017-12-11 20:34:11 +08:00
afc163
accf92336d Fix color palette generator, close #8512 2017-12-08 14:44:24 +08:00
afc163
3162dd3b51 site: improve changelog style 2017-12-04 23:43:44 +08:00
afc163
b02aa7bddc site: tweak logo text 2017-12-04 23:18:53 +08:00
afc163
2713870460 change primary color, #8430 2017-12-04 22:29:23 +08:00
afc163
6836487e18 Fix changelog style 2017-12-04 21:48:42 +08:00
Wei Zhu
e73349e7d3 site: update release message 2017-12-04 19:54:21 +08:00
afc163
ed41ca0dbb site: add emojis 2017-12-04 18:17:16 +08:00
afc163
86ebc32250 update translation 2017-12-04 18:15:38 +08:00
Wei Zhu
329da9e55f site: update upgrade message 2017-12-04 14:51:03 +08:00
afc163
ebcf7b43e8 site: update ant design logo 2017-12-04 11:47:03 +08:00
Wei Zhu
aa81956603 site: Add 2.x doc link 2017-12-04 11:29:39 +08:00
afc163
4dc310c331 site: fix logo wrap in IE11 2017-12-04 09:59:22 +08:00
afc163
6bb368083b site: fix banner button link 2017-12-03 18:09:34 +08:00
afc163
76b4afb752 Fix ssr build and scroller not working when location changed 2017-12-03 17:19:59 +08:00
afc163
85416ce577 site: highlight anchor of article 2017-12-03 16:13:04 +08:00
afc163
90736521bc Fix locale switch button 2017-12-01 20:37:14 +08:00
afc163
5e48badbb7 Improve home page style 2017-12-01 20:27:44 +08:00
ddcat1115
c6f4b38471 new pub notification 2017-12-01 15:42:54 +08:00
ddcat1115
0b31c256e3 tweak home style 2017-12-01 14:43:56 +08:00
Wei Zhu
01f4b4e713 Merge branch 'master' into antd-3.0 2017-12-01 11:50:07 +08:00
ddcat1115
5458c6a40c fix style and favicon 2017-12-01 11:25:13 +08:00
afc163
f7a8d02f09 update home page style, close #8238 2017-11-30 21:38:48 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
ddcat1115
44c52561e5 fix page jumper style 2017-11-29 15:29:35 +08:00
ddcat1115
eeb642e2bd fix menu style 2017-11-29 14:39:56 +08:00
ddcat1115
2aedc275d4 improve footer style 2017-11-29 00:08:48 +08:00
ddcat1115
0710f826f3 fix menu text color 2017-11-28 17:59:28 +08:00
ddcat1115
49a49adae3 change lang-button pos & improve footer responsive 2017-11-28 17:01:41 +08:00
ddcat1115
721a5621c8 reset text-color and etc. 2017-11-28 16:16:37 +08:00
ddcat1115
04a00e6e14 update logo 2017-11-28 11:18:18 +08:00
afc163
58e742d987 Fix less path warning, close #8388 2017-11-28 10:49:04 +08:00
Wei Zhu
143a7232e3 site: Add replaceLib plugin to babel 2017-11-27 18:28:52 +08:00
ddcat1115
ea338eb637 Merge branch 'antd-3.0' of https://github.com/ant-design/ant-design into antd-3.0 2017-11-27 17:09:09 +08:00
ddcat1115
095acc4839 tweak style 2017-11-27 17:08:45 +08:00
afc163
b2810f2fa9 site: fix menu z-index 2017-11-27 16:51:59 +08:00
ddcat1115
daf596a898
Upgrade antd 3.0 site style (#8324)
* 3.0 site update

* update footer

* improve
2017-11-27 15:36:58 +08:00
afc163
892de0c609 update translation word 2017-11-27 00:09:59 +08:00
ddcat1115
da14cba722 add 3 icons 2017-11-22 18:11:24 +08:00
afc163
084b444252 Fix home page style 2017-11-21 19:10:01 +08:00
afc163
b075aa606e fix register of undefined, #8249 2017-11-21 19:06:03 +08:00
afc163
446977b916 fix lint 2017-11-21 17:05:44 +08:00
afc163
3646d0f9bc Fix ssr site build, ref #8249 2017-11-21 16:50:40 +08:00
afc163
a8e5690805 Merge branch 'master' into antd-3.0 2017-11-21 15:59:48 +08:00
afc163
1e1baf01f6 remove react extenals 2017-11-21 15:49:17 +08:00
jiang
8260e32d1d fix mobile menu (#8252) 2017-11-21 11:18:31 +08:00
afc163
6db2630e90 site: fix code demo box style in IE11 2017-11-21 11:12:20 +08:00
jiang
a5bf187271 update menu responsive, ref #4682 (#8226)
* update menu responsive, ref #4682

* update popover menu style
2017-11-17 19:17:37 +08:00
Wei Zhu
b39c5cc569 Fix footer nav 2017-11-17 18:30:17 +08:00
Wei Zhu
ca171f2a20 Add source-map 2017-11-17 17:23:48 +08:00
afc163
1e1c6d1c72 Merge branch 'master' into antd-3.0 2017-11-16 19:58:20 +08:00
afc163
1117de7c6f site: fix version select width 2017-11-15 13:32:13 +08:00
afc163
3c648820a0 Fix badge style 2017-11-12 14:10:41 +08:00
Wei Zhu
55c85f77a1
Update dependendies (#8150)
* deps: upgrade rc-menu, and close: #2837

* test: update snapshots

* Update rc-calendar

* Update rc-cascader

* Update rc-dialog

* Update dropdown

* Update rc-select@7.1.0

* Update rc-slider

* Update rc-time-picker

* Update rc-tooltip

* Update rc-tree-select

* Mock rc-trigger and Portal

* Fix animation warning when inlineCollapsed changes

* fix: should use SubMenu[popupClassName]

* Fix typescript error

* Fix lint

* fix: style for menu

* Mock rc-trigger for React 15

* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
afc163
856ecd4ae3 Merge branch 'master' into antd-3.0 2017-11-09 19:45:06 +08:00
afc163
1b45a2c005 update footer 2017-11-09 16:53:05 +08:00
afc163
23033cb9c1 Add work-with-us 2017-11-09 16:49:04 +08:00
afc163
f02cd9cd52 use development react in dev 2017-11-07 10:43:49 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
afc163
714b4ae06a Merge branch 'master' into antd-3.0 2017-11-06 10:35:41 +08:00
afc163
32b2c21145 site: fix header button style 2017-11-03 15:29:25 +08:00
afc163
1af37103f3 use ghost 2017-11-02 11:18:32 +08:00
afc163
9583bb4c85 Add Ant Design Pro 2017-11-01 10:50:27 +08:00
afc163
36df1c5f83 site: target should be _blank 2017-10-31 21:58:41 +08:00
afc163
3072aff31f Merge branch 'master' into antd-3.0 2017-10-31 18:47:39 +08:00
afc163
cc305209c0 Fix badge in header 2017-10-31 18:07:37 +08:00
afc163
3e7ade8d4e Fix link color 2017-10-31 17:51:35 +08:00
afc163
2075b056f7 Fix link color 2017-10-31 17:44:44 +08:00
afc163
ace590273a Add pro link 2017-10-31 16:32:09 +08:00
afc163
80b7b57eae Add china mirror link in footer 2017-10-31 13:57:28 +08:00
afc163
a666a59eb0 Add china mirror link in footer 2017-10-28 00:09:55 +08:00
Benjy Cui
53906a2f0b deps: upgrade deps 2017-10-26 17:25:33 +08:00
Benjy Cui
e641638c33 deps: upgrade bisheng (#7985) 2017-10-24 22:05:32 -05:00
afc163
3f57d5f56d Merge branch 'master' into antd-3.0 2017-10-23 10:41:51 +08:00
afc163
65ee579480 update footer links 2017-10-23 10:08:12 +08:00
afc163
856ae3e291 update gray color 2017-10-19 17:09:33 +08:00
afc163
e4e54a66d6 upgrade color palettes style 2017-10-13 20:27:22 +08:00
afc163
6e78ffd0a6 Fix react externals 2017-10-12 20:29:12 +08:00
afc163
05c211d0b7 fix react externals 2017-10-12 19:33:51 +08:00
afc163
9a96e9f9d1 new primary colors 2017-10-11 16:21:55 +08:00
afc163
802bd98f16 update color doc 2017-10-09 19:15:30 +08:00
afc163
c775311d11 update color doc 2017-10-09 19:09:09 +08:00
afc163
154773e5ce update color doc 2017-10-09 19:08:11 +08:00
afc163
934c4c0de1 finish whole color pallate 2017-10-09 18:24:12 +08:00
afc163
af5c8e8b1a updat colors page style 2017-10-09 16:45:12 +08:00
afc163
a1c17f3006 update colors 2017-10-09 16:17:30 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
afc163
054444f619 Merge branch 'master' into antd-3.0 2017-10-07 15:34:19 +08:00
afc163
cf6dfac206 Fix codepen demo for react 15 compatibility, close #7808 2017-10-06 16:15:29 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
Benjy Cui
829b5f87bf feat: make default locale to enUS (#7553)
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
afc163
7cc386df52 Merge branch 'master' into antd-3.0 2017-09-25 17:01:02 +08:00
偏右
14b44c880e Update utils.jsx 2017-09-25 14:15:06 +08:00
afc163
6507aefd8e Merge branch 'master' into antd-3.0 2017-09-25 10:54:49 +08:00
Benjy Cui
f433382180 site: fix tnpm run deploy 2017-09-25 10:39:45 +08:00
afc163
412d7eebba Merge branch 'master' into antd-3.0 2017-09-22 18:37:08 +08:00
偏右
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
2017-09-22 18:33:29 +08:00
Benjy Cui
e8f61f11ef site: update config syntax 2017-09-22 14:00:04 +08:00
afc163
5d7ef9d889 fix site 2017-09-21 19:03:38 +08:00
afc163
2f7b75562c Merge branch 'master' into antd-3.0 2017-09-20 17:13:32 +08:00
偏右
0ffccf8b0f Provide a debug way of preact compatibility (#7670)
* try preact

* Add start:preact to scripts

* fix webpack.config.js
2017-09-20 14:57:48 +08:00
afc163
fe7c85fece Merge branch 'master' into antd-3.0 2017-09-19 16:12:18 +08:00
Wei Zhu
ed2303a5da Change primary color in browser (#7516) 2017-09-18 17:31:48 +08:00
afc163
823e07bc75 Merge branch 'master' into antd-3.0 2017-09-15 21:44:39 +08:00
afc163
5f938a6818 update template.html 2017-09-15 21:40:13 +08:00
afc163
b24483545c Merge branch 'master' into antd-3.0 2017-09-12 09:41:51 +08:00
Benjy Cui
eddd1db3e9 site: fix config, ref: a73d0504 2017-09-11 13:55:00 +08:00
afc163
7bee69a9df Merge from master 2017-09-08 16:49:58 +08:00
afc163
e77108c775 site: update page background 2017-09-08 13:44:52 +08:00
afc163
fb8fec6d3a site: remove font smoothing style 2017-09-08 13:36:10 +08:00
afc163
78c1bebd7a Merge branch 'master' into antd-3.0 2017-09-06 13:43:00 +08:00
paranoidjk
a73d0504ca site: dev use uncompressed bundle. close #7383 (#7472) 2017-09-06 09:19:35 +08:00
afc163
68139cdbda Add some icons 2017-09-05 17:13:46 +08:00
afc163
6cb3ae46a2 site: update color picker position 2017-09-04 12:24:40 +08:00
afc163
24e2af63f2 site: update footer style 2017-09-04 11:55:45 +08:00
Wei Zhu
471da70c1e site: Add a primary color change button (#7401) 2017-09-03 22:15:33 +08:00
Manweill
dc1d0af64e 官网首页的搜索框,当按下键盘s的时候,会获取焦点 (#7267)
* 官方首页的搜索框,当按下键盘s的时候,会获取焦点

* use AutoComplete

* 移除 this.state.focused

* bugfix
2017-08-31 11:47:53 +08:00
afc163
65c86e60ce fix hash jump again 2017-08-27 19:03:36 +08:00
afc163
f9273bc95a remove repeat hash jump 2017-08-17 11:51:14 +08:00
afc163
33f37debd7 tweak site style 2017-08-16 10:49:54 +08:00
afc163
8e744545ff code style 2017-08-16 10:38:37 +08:00
afc163
d3ec477f8f Add NG-ZORRO links 2017-08-15 23:00:06 +08:00
afc163
5443e79329 improve code expand style 2017-08-15 21:00:31 +08:00
afc163
48f7d22929 site: improve code collapse icon design 2017-08-15 17:20:47 +08:00
Benjy Cui
87c8c7ad67 site: fix toc background color, close: #7199 2017-08-15 09:56:43 +08:00
afc163
57e3be2c32 Fix select popupContainer in site header 2017-08-14 22:57:45 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
Amorites
29d2a756b0 site: place 'search...' at the bottom of the search options (#7021) (#7022) 2017-07-31 13:54:31 +08:00
afc163
81a010e0ae fix product name 2017-07-11 19:31:06 +08:00
afc163
032d3bea12 Support open demo in riddle 2017-07-10 22:17:52 +08:00
afc163
66a731b4c2 site: open demo in codepen with prefill code, close #5140 2017-07-07 16:09:02 +08:00
afc163
d00d631ef2 change team name 2017-07-04 10:15:24 +08:00
afc163
a65ff1c2df fix site style 2017-06-26 13:33:59 +08:00
Minqi Pan
d0bbfd3d2d Add Enclose.IO link in footer 2017-06-25 20:00:06 +08:00
Benjy Cui
1debb624f3 site: fix build warning for #5646 2017-06-16 10:56:56 +08:00
afc163
d7a29f682b upgrade Col span format in demo 2017-06-15 15:34:47 +08:00
afc163
3202d28cb9 Add mobile.ant.design link in menu, close #3079 2017-06-12 10:41:11 +08:00
afc163
ef79554bd1 AFUX 2017-06-08 18:22:06 +08:00
afc163
d7837da175 Fix icon API documentation 2017-06-07 17:06:21 +08:00
afc163
deebe4d973 site: tweak style 2017-05-28 15:35:49 +08:00
afc163
f9017c677c upgrade react-color 2017-05-18 21:18:53 +08:00
afc163
8703145d70 Fix prop-types and createClass warning, #5678 2017-05-18 14:22:47 +08:00
Benjy Cui
82bfa3dcde site: update text 2017-05-17 12:09:17 +08:00
Benjy Cui
067d1af287 site: add warning for not translated articles, close: #5404 2017-05-17 11:34:08 +08:00
Benjy Cui
61d6cf14ff deps: upgrade eslint relative deps 2017-05-15 12:10:28 +08:00
afc163
7daf47b5b1 Add scaffold market link 2017-05-13 16:12:35 +08:00
afc163
811ecfddf6 Add fork icon 2017-05-11 13:30:38 +08:00
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
2017-05-09 13:40:33 +08:00
Jonatas Walker
7b3459fcb5 Fix site typos (#6043) 2017-05-06 21:04:29 +08:00
afc163
085f196dbd fix color palette tool 2017-04-20 15:54:44 +08:00
afc163
927c55bb4a site: fix style 2017-04-17 22:19:43 +08:00
afc163
228cc9eff4 update code demo title style 2017-04-15 15:32:51 +08:00
afc163
031aa14090 Add Hotjar Tracking Code 2017-04-12 21:17:04 +08:00
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
2017-04-12 02:22:05 +05:30
afc163
3ca3c178cc Add English gitter chat room 2017-04-11 18:13:58 +08:00
afc163
e93dd1e5af site: fix menu item 2017-04-07 15:14:14 +08:00
afc163
0793534665 Add ga event analytic code 2017-04-07 14:29:44 +08:00
Benjy Cui
ebb3a7937a docs: fix typo 2017-04-06 10:16:46 +08:00
Benjy Cui
029289c6f5 docs: update categories' name, close internal: #189 2017-04-06 09:31:46 +08:00
afc163
352e0f7ce4 tweak link text-decoration style 2017-04-05 14:58:41 +08:00
偏右
accb6cbfeb Merge pull request #5597 from kenaniah/accessibility
Improves link + button focusing
2017-04-05 14:56:33 +08:00
afc163
f230f61c23 Improve docs detail 2017-04-02 14:03:42 +08:00
Kenaniah Cerny
ed434c57e9 improves link navigation 2017-04-01 04:06:34 -07:00
afc163
b526083fa6 set monospaced font-family for number 2017-03-31 13:45:16 +08:00
Benjy Cui
dda79aa88e site: add link to design platform 2017-03-30 09:29:13 +08:00
Benjy Cui
57674fc778 site: fix site in IE9, ref: #5526 2017-03-29 15:31:01 +08:00
Benjy Cui
50f46d0919 feat: merge Select[multiple|tags|combobox] to Select[mode], close: #5471 (#5534) 2017-03-28 21:27:58 +08:00
jiang
00326db74e fix scrollAnim hideProps header … (#5506)
* fix https://github.com/react-component/scroll-anim/issues/19, header switch

* fix home icon down animation
2017-03-27 14:03:28 +08:00
afc163
5de18676db update team name 2017-03-27 11:22:00 +08:00
afc163
3740fb7f3c Improve iframe demo look 2017-03-18 15:15:00 +08:00
afc163
c361165352 Improve Layout fixed demo 2017-03-18 14:52:23 +08:00
afc163
3b4a51d1ef Refactor color.md 2017-03-17 20:33:47 +08:00
afc163
ebeda75c36 Add color palette generator tool 2017-03-17 20:14:11 +08:00
afc163
46b344eabe tweak icons 2017-03-17 19:11:36 +08:00
偏右
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
2017-03-17 18:56:37 +08:00
afc163
0b88dfae5b site: hide copy button defaultly 2017-03-13 15:05:41 +08:00
afc163
8c22381ffe site: refactor css 2017-03-13 15:05:41 +08:00
afc163
3002ff33c4 update font docs 2017-03-13 11:42:11 +08:00
afc163
27cadbc99a site: update page nav style 2017-03-11 01:24:46 +08:00
afc163
b3982ad210 site: improve copy icon and color 2017-03-10 18:04:14 +08:00
paranoidjk
c8fdf3ebac site: fix safari language check (#5245) 2017-03-10 10:06:27 +08:00
afc163
2aae84f375 site: fix #5239 2017-03-09 21:52:05 +08:00
afc163
941782f7ec Add iconfont shake and android-o 2017-03-09 14:33:58 +08:00
Piper Chester
511dde090a docs: Fix typos (#5223) 2017-03-09 09:11:03 +08:00
afc163
d55ff63587 site: add smooth font render back 2017-03-06 17:36:58 +08:00
afc163
a3a8ddc168 site: update demo text width 2017-03-06 14:54:06 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
afc163
47f2aab529 site: fix compatibility 2017-03-05 20:13:54 +08:00
afc163
e15d12ffdf docs: update introduce.md 2017-03-03 15:08:31 +08:00
afc163
7645a77c44 Update iconfont url and docs 2017-03-03 14:42:00 +08:00
afc163
78d33604ac site: improve copy code style 2017-03-02 15:08:42 +08:00
afc163
bc743a0ea6 Add eggjs link in footer
eggjs/egg#492
2017-03-02 14:28:23 +08:00
afc163
f997becadc docs: update footer link 2017-03-02 14:25:04 +08:00
afc163
c94a8d7ddc site: remove font smoothing style 2017-03-02 13:38:33 +08:00
偏右
f29ff2f822 Add some new icons, ref #3674 (#5107) 2017-03-01 11:21:00 +08:00
paranoidjk
15e381ae44 docs: update site 2017-02-28 21:47:51 +08:00
afc163
4823ce4d08 site: update design documentation 2017-02-27 18:04:35 +08:00
afc163
396af02fe0 site: update detail 2017-02-27 14:56:04 +08:00
afc163
e23bcb9b54 site: update detail 2017-02-27 13:52:09 +08:00
afc163
85df55df72 site: fix markdown list style 2017-02-27 11:46:45 +08:00
afc163
40b30d8ef9 site: fix markdown list style 2017-02-26 22:56:58 +08:00
afc163
05b20c6a9f fix stylelint problems of site 2017-02-26 15:41:50 +08:00
afc163
c31ebaad90 site: fix responsive design 2017-02-26 15:25:26 +08:00
afc163
0f6d1db614 fix lint 2017-02-26 15:20:12 +08:00
afc163
d44a0ece3f site: improve styles 2017-02-26 15:09:52 +08:00
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,最后再拼回去做跳转。
2017-02-26 14:50:12 +08:00
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~
2017-02-26 00:23:04 +08:00
afc163
c78d3032f5 site: fix aside menu 2017-02-25 15:10:23 +08:00
afc163
0cbe319839 Add copied message 2017-02-24 19:05:26 +08:00
afc163
4bde2917d2 fix internal links 2017-02-24 18:02:47 +08:00
Benjy Cui
e72d93edfe site: add copy button to demo, close: #4563 2017-02-24 11:55:24 +08:00
afc163
0f46eed370 fix lint 2017-02-23 11:45:48 +08:00
afc163
5fbc007ff7 site: fix link 2017-02-23 00:35:16 +08:00
afc163
c2217f666c site: fix infinte redirect loop 2017-02-22 14:26:48 +08:00
afc163
9bb7e3d10c site: improve responsive layout 2017-02-21 23:26:10 +08:00
afc163
205ace69ba Fix bug of switch language in iOS 2017-02-21 13:36:17 +08:00
afc163
c3748a60f4 site: improve responsive design 2017-02-21 12:07:28 +08:00
afc163
2512e6b5b5 site: update toc width 2017-02-18 17:19:17 +08:00
afc163
d1678711a7 docs: update footer 2017-02-16 16:25:42 +08:00
Wei Zhu
0cb6645038 site: Link to edit page directly (#4895) 2017-02-16 10:18:41 +08:00
afc163
9fede4a5cd site: adjust component select style 2017-02-15 15:55:35 +08:00
乐仪
1306c4656d - version -> 2.7.1
- rc-pagination -> ~1.7.0
- fix site bug
2017-02-10 20:32:55 +08:00
Benjy Cui
6fdc6ff19a site: homepage will switch to right lang, close: #4552 2017-02-10 12:12:13 +08:00
Benjy Cui
a14bb37ae5 site: can search with google now, close: #4814 2017-02-10 11:46:57 +08:00
ddcat1115
16ad027988 change version slector position (#4799) 2017-02-09 19:46:23 +08:00
Benjy Cui
bdd5be88f2 site: generate link with locale 2017-02-09 17:55:26 +08:00
Benjy Cui
a950a1298a site: upgrade bisheng to 0.21.0 2017-02-09 17:55:26 +08:00
afc163
cf22bb926a site: update footer style 2017-02-07 19:54:30 +08:00
afc163
ac40780265 site: update footer link 2017-02-07 14:57:09 +08:00
afc163
a67264d68c Add aliases for icon naming style, close #4758 2017-02-04 18:10:25 +08:00
afc163
24b1e1913a update button text 2017-02-01 12:00:12 +08:00
afc163
98ad1a9186 site: update home 2017-01-31 21:00:45 +08:00
afc163
611b6acb11 site: update Home button text 2017-01-31 15:05:17 +08:00
afc163
53b94a5996 site: update start button style 2017-01-30 17:44:25 +08:00
Bo Chen
f0adb4dc5f site: run ant-design on windows #4725
* 5hours's work

* 过年好!!

* lint issue
2017-01-26 16:51:06 +08:00
afc163
fa10c9dee0 adjust page margin in small device, ref #4682 2017-01-22 19:31:25 +08:00
afc163
04a94a691e site: update sider menu order 2017-01-22 19:16:54 +08:00
afc163
896bd7e55b fix site style breaks when there is lib directory 2017-01-20 21:41:24 +08:00
afc163
5a8d15333d site: update header style 2017-01-20 20:52:12 +08:00
afc163
6c98d94b0d site: improve style of toc and color page 2017-01-20 13:41:26 +08:00
Benjy Cui
eb254572b7 site: upgrade bisheng to 0.20.0 2017-01-20 11:48:38 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
e90189db8d site: improve style of component demo toc 2017-01-19 15:09:03 +08:00
Benjy Cui
11bcb58685 site: reduce bundle size 2017-01-17 15:24:13 +08:00