Compare commits

...

2 Commits

Author SHA1 Message Date
zombiej
2f2e3c17d4 update snapshot 2018-12-25 11:11:57 +08:00
zombiej
4028f5df07 bump 3.10.10 & remove christmas egg 2018-12-25 11:00:37 +08:00
10 changed files with 814 additions and 507 deletions

View File

@@ -15,6 +15,12 @@ timeline: true
---
# 3.10.10
`2018-12-25`
- 📝 Remove Christmas egg. [#13098](https://github.com/ant-design/ant-design/issues/13098)
# 3.10.9
`2018-11-24`

View File

@@ -15,6 +15,12 @@ timeline: true
---
## 3.10.10
`2018-12-25`
- 📝 移除圣诞彩蛋。 [#13098](https://github.com/ant-design/ant-design/issues/13098)
# 3.10.9
`2018-11-24`

View File

@@ -752,7 +752,7 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = `
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zM536 448h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
d="M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
/>
</svg>
</i>
@@ -787,7 +787,7 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = `
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zM488 576h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"
d="M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"
/>
</svg>
</i>

View File

@@ -186,8 +186,6 @@ export default class Button extends React.Component<ButtonProps, any> {
break;
}
const now = new Date();
const isChristmas = now.getMonth() === 11 && now.getDate() === 25;
const classes = classNames(prefixCls, className, {
[`${prefixCls}-${type}`]: type,
[`${prefixCls}-${shape}`]: shape,
@@ -197,7 +195,6 @@ export default class Button extends React.Component<ButtonProps, any> {
[`${prefixCls}-background-ghost`]: ghost,
[`${prefixCls}-two-chinese-chars`]: hasTwoCNChar,
[`${prefixCls}-block`]: block,
christmas: isChristmas,
});
const iconType = loading ? 'loading' : icon;
@@ -205,15 +202,12 @@ export default class Button extends React.Component<ButtonProps, any> {
const kids = (children || children === 0)
? React.Children.map(children, child => insertSpace(child, this.isNeedInserted())) : null;
const title= isChristmas ? 'Ho Ho Ho!' : rest.title;
if ('href' in rest) {
return (
<a
{...rest}
className={classes}
onClick={this.handleClick}
title={title}
ref={this.saveButtonRef}
>
{iconNode}{kids}
@@ -230,7 +224,6 @@ export default class Button extends React.Component<ButtonProps, any> {
type={htmlType || 'button'}
className={classes}
onClick={this.handleClick}
title={title}
ref={this.saveButtonRef}
>
{iconNode}{kids}

View File

@@ -162,26 +162,6 @@
width: 100%;
}
.christmas&-primary:before {
content: "";
display: block;
position: absolute;
top: -6px;
left: 0;
right: 0;
background: url(data:image/png;base64,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) no-repeat 50% 0;
background-size: 64px;
opacity: 1;
}
.christmas&-primary&-lg:before {
background-size: 72px;
}
.christmas&-primary&-sm:before {
background-size: 56px;
}
// https://github.com/ant-design/ant-design/issues/12681
&:empty {
vertical-align: top;

View File

@@ -907,6 +907,11 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:0%"
@@ -915,13 +920,29 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
/>
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
class="ant-tabs-tabpane ant-tabs-tabpane-inactive"
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
<div
@@ -1050,6 +1071,11 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:-100%"
@@ -1063,13 +1089,29 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
/>
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
class="ant-tabs-tabpane ant-tabs-tabpane-inactive"
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
<div

View File

@@ -107,6 +107,11 @@ exports[`renders ./components/tabs/demo/basic.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:0%"
@@ -116,7 +121,17 @@ exports[`renders ./components/tabs/demo/basic.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Content of Tab Pane 1
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -129,6 +144,11 @@ exports[`renders ./components/tabs/demo/basic.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
`;
@@ -239,6 +259,11 @@ exports[`renders ./components/tabs/demo/card.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-no-animated"
>
@@ -247,7 +272,17 @@ exports[`renders ./components/tabs/demo/card.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Content of Tab Pane 1
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -260,6 +295,11 @@ exports[`renders ./components/tabs/demo/card.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
`;
@@ -373,6 +413,11 @@ exports[`renders ./components/tabs/demo/card-top.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-no-animated"
>
@@ -381,6 +426,11 @@ exports[`renders ./components/tabs/demo/card-top.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<p>
Content of Tab Pane 1
</p>
@@ -390,6 +440,11 @@ exports[`renders ./components/tabs/demo/card-top.md correctly 1`] = `
<p>
Content of Tab Pane 1
</p>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -402,6 +457,11 @@ exports[`renders ./components/tabs/demo/card-top.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
`;
@@ -556,6 +616,11 @@ exports[`renders ./components/tabs/demo/custom-add-trigger.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-no-animated"
>
@@ -564,7 +629,17 @@ exports[`renders ./components/tabs/demo/custom-add-trigger.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Content of Tab Pane 1
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -572,6 +647,11 @@ exports[`renders ./components/tabs/demo/custom-add-trigger.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
`;
@@ -688,6 +768,11 @@ exports[`renders ./components/tabs/demo/custom-tab-bar.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:0%"
@@ -698,7 +783,17 @@ exports[`renders ./components/tabs/demo/custom-tab-bar.md correctly 1`] = `
role="tabpanel"
style="height:200px"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Content of Tab Pane 1
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -711,6 +806,11 @@ exports[`renders ./components/tabs/demo/custom-tab-bar.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
`;
@@ -822,6 +922,11 @@ exports[`renders ./components/tabs/demo/disabled.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:0%"
@@ -831,7 +936,17 @@ exports[`renders ./components/tabs/demo/disabled.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Tab 1
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -844,6 +959,11 @@ exports[`renders ./components/tabs/demo/disabled.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
`;
@@ -1020,6 +1140,11 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-no-animated"
>
@@ -1028,7 +1153,17 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Content of Tab 1
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -1041,6 +1176,11 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
`;
@@ -1164,6 +1304,11 @@ exports[`renders ./components/tabs/demo/extra.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:0%"
@@ -1173,7 +1318,17 @@ exports[`renders ./components/tabs/demo/extra.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Content of tab 1
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -1186,6 +1341,11 @@ exports[`renders ./components/tabs/demo/extra.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
`;
@@ -1326,6 +1486,11 @@ exports[`renders ./components/tabs/demo/icon.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:-100%"
@@ -1340,9 +1505,24 @@ exports[`renders ./components/tabs/demo/icon.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Tab 2
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
`;
@@ -1507,6 +1687,11 @@ exports[`renders ./components/tabs/demo/position.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:0%"
@@ -1516,7 +1701,17 @@ exports[`renders ./components/tabs/demo/position.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Content of Tab 1
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -1529,6 +1724,11 @@ exports[`renders ./components/tabs/demo/position.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
`;
@@ -1704,6 +1904,11 @@ exports[`renders ./components/tabs/demo/size.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:0%"
@@ -1713,7 +1918,17 @@ exports[`renders ./components/tabs/demo/size.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Content of tab 1
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -1726,6 +1941,11 @@ exports[`renders ./components/tabs/demo/size.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
`;
@@ -1947,6 +2167,11 @@ exports[`renders ./components/tabs/demo/slide.md correctly 1`] = `
</div>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:0%"
@@ -1956,7 +2181,17 @@ exports[`renders ./components/tabs/demo/slide.md correctly 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
Content of tab 1
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
<div
aria-hidden="true"
@@ -2009,6 +2244,11 @@ exports[`renders ./components/tabs/demo/slide.md correctly 1`] = `
role="tabpanel"
/>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
`;

View File

@@ -7,6 +7,11 @@ exports[`Tabs renderTabBar custom-tab-bar 1`] = `
<div>
custom-tab-bar
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-left:0%"
@@ -16,9 +21,24 @@ exports[`Tabs renderTabBar custom-tab-bar 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
foo
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
`;
@@ -118,6 +138,11 @@ exports[`Tabs tabPosition remove card 1`] = `
xxx
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
<div
class="ant-tabs-content ant-tabs-content-animated"
style="margin-top:0%"
@@ -127,8 +152,23 @@ exports[`Tabs tabPosition remove card 1`] = `
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
foo
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
</div>
<div
role="presentation"
style="width:0;height:0;overflow:hidden"
tabindex="0"
/>
</div>
`;

View File

@@ -1,6 +1,6 @@
{
"name": "antd",
"version": "3.10.9",
"version": "3.10.10",
"title": "Ant Design",
"description": "An enterprise-class UI design language and React-based implementation",
"homepage": "http://ant.design/",