bump alpha.6 update rc version & snapshot

This commit is contained in:
zombiej 2019-09-29 11:39:17 +08:00
parent 4d81cea17a
commit 2d25d0a5de
5 changed files with 724 additions and 640 deletions

View File

@ -16830,99 +16830,107 @@ exports[`ConfigProvider components Transfer prefixCls 1`] = `
exports[`ConfigProvider components Tree configProvider 1`] = `
<div>
<div
role="tree"
class="config-tree config-tree-icon-hide"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="config-tree-list config-tree config-tree-icon-hide"
>
<div>
<div
class="config-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="config-tree-list"
>
<div>
<div
class="config-tree-treenode config-tree-treenode-switcher-close"
class="config-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="config-tree-switcher config-tree-switcher-noop"
/>
<span
class="config-tree-node-content-wrapper config-tree-node-content-wrapper-normal"
title="bamboo"
<div
class="config-tree-treenode config-tree-treenode-switcher-close"
>
<span
class="config-tree-title"
class="config-tree-switcher config-tree-switcher-noop"
/>
<span
class="config-tree-node-content-wrapper config-tree-node-content-wrapper-normal"
title="bamboo"
>
bamboo
<span
class="config-tree-title"
>
bamboo
</span>
</span>
</span>
</div>
</div>
</div>
</div>
</div>
<div
role="tree"
class="config-tree config-tree-directory config-tree-block-node"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="config-tree-list config-tree config-tree-directory config-tree-block-node"
>
<div>
<div
class="config-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="config-tree-list"
>
<div>
<div
class="config-tree-treenode config-tree-treenode-switcher-close"
class="config-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="config-tree-switcher config-tree-switcher-noop"
/>
<span
class="config-tree-node-content-wrapper config-tree-node-content-wrapper-normal"
title="bamboo"
<div
class="config-tree-treenode config-tree-treenode-switcher-close"
>
<span
class="config-tree-iconEle config-tree-icon__customize"
class="config-tree-switcher config-tree-switcher-noop"
/>
<span
class="config-tree-node-content-wrapper config-tree-node-content-wrapper-normal"
title="bamboo"
>
<span
aria-label="folder"
class="anticon anticon-folder"
role="img"
class="config-tree-iconEle config-tree-icon__customize"
>
<svg
aria-hidden="true"
class=""
data-icon="folder"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
<span
aria-label="folder"
class="anticon anticon-folder"
role="img"
>
<path
d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"
/>
</svg>
<svg
aria-hidden="true"
class=""
data-icon="folder"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"
/>
</svg>
</span>
</span>
<span
class="config-tree-title"
>
bamboo
</span>
</span>
<span
class="config-tree-title"
>
bamboo
</span>
</span>
</div>
</div>
</div>
</div>
@ -16933,99 +16941,107 @@ exports[`ConfigProvider components Tree configProvider 1`] = `
exports[`ConfigProvider components Tree normal 1`] = `
<div>
<div
role="tree"
class="ant-tree ant-tree-icon-hide"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="ant-tree-list ant-tree ant-tree-icon-hide"
>
<div>
<div
class="ant-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="ant-tree-list"
>
<div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-close"
class="ant-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="bamboo"
<div
class="ant-tree-treenode ant-tree-treenode-switcher-close"
>
<span
class="ant-tree-title"
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="bamboo"
>
bamboo
<span
class="ant-tree-title"
>
bamboo
</span>
</span>
</span>
</div>
</div>
</div>
</div>
</div>
<div
role="tree"
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
>
<div>
<div
class="ant-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="ant-tree-list"
>
<div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-close"
class="ant-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="bamboo"
<div
class="ant-tree-treenode ant-tree-treenode-switcher-close"
>
<span
class="ant-tree-iconEle ant-tree-icon__customize"
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="bamboo"
>
<span
aria-label="folder"
class="anticon anticon-folder"
role="img"
class="ant-tree-iconEle ant-tree-icon__customize"
>
<svg
aria-hidden="true"
class=""
data-icon="folder"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
<span
aria-label="folder"
class="anticon anticon-folder"
role="img"
>
<path
d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"
/>
</svg>
<svg
aria-hidden="true"
class=""
data-icon="folder"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"
/>
</svg>
</span>
</span>
<span
class="ant-tree-title"
>
bamboo
</span>
</span>
<span
class="ant-tree-title"
>
bamboo
</span>
</span>
</div>
</div>
</div>
</div>
@ -17036,99 +17052,107 @@ exports[`ConfigProvider components Tree normal 1`] = `
exports[`ConfigProvider components Tree prefixCls 1`] = `
<div>
<div
role="tree"
class="prefix-Tree prefix-Tree-icon-hide"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="prefix-Tree-list prefix-Tree prefix-Tree-icon-hide"
>
<div>
<div
class="prefix-Tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="prefix-Tree-list"
>
<div>
<div
class="prefix-Tree-treenode prefix-Tree-treenode-switcher-close"
class="prefix-Tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="prefix-Tree-switcher prefix-Tree-switcher-noop"
/>
<span
class="prefix-Tree-node-content-wrapper prefix-Tree-node-content-wrapper-normal"
title="bamboo"
<div
class="prefix-Tree-treenode prefix-Tree-treenode-switcher-close"
>
<span
class="prefix-Tree-title"
class="prefix-Tree-switcher prefix-Tree-switcher-noop"
/>
<span
class="prefix-Tree-node-content-wrapper prefix-Tree-node-content-wrapper-normal"
title="bamboo"
>
bamboo
<span
class="prefix-Tree-title"
>
bamboo
</span>
</span>
</span>
</div>
</div>
</div>
</div>
</div>
<div
role="tree"
class="prefix-Tree prefix-Tree-directory prefix-Tree-block-node"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="prefix-Tree-list prefix-Tree prefix-Tree-directory prefix-Tree-block-node"
>
<div>
<div
class="prefix-Tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="prefix-Tree-list"
>
<div>
<div
class="prefix-Tree-treenode prefix-Tree-treenode-switcher-close"
class="prefix-Tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="prefix-Tree-switcher prefix-Tree-switcher-noop"
/>
<span
class="prefix-Tree-node-content-wrapper prefix-Tree-node-content-wrapper-normal"
title="bamboo"
<div
class="prefix-Tree-treenode prefix-Tree-treenode-switcher-close"
>
<span
class="prefix-Tree-iconEle prefix-Tree-icon__customize"
class="prefix-Tree-switcher prefix-Tree-switcher-noop"
/>
<span
class="prefix-Tree-node-content-wrapper prefix-Tree-node-content-wrapper-normal"
title="bamboo"
>
<span
aria-label="folder"
class="anticon anticon-folder"
role="img"
class="prefix-Tree-iconEle prefix-Tree-icon__customize"
>
<svg
aria-hidden="true"
class=""
data-icon="folder"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
<span
aria-label="folder"
class="anticon anticon-folder"
role="img"
>
<path
d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"
/>
</svg>
<svg
aria-hidden="true"
class=""
data-icon="folder"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"
/>
</svg>
</span>
</span>
<span
class="prefix-Tree-title"
>
bamboo
</span>
</span>
<span
class="prefix-Tree-title"
>
bamboo
</span>
</span>
</div>
</div>
</div>
</div>
@ -17171,39 +17195,43 @@ exports[`ConfigProvider components TreeSelect configProvider 1`] = `
<div>
<div>
<div
role="tree"
class="config-select-tree"
>
<input
disabled=""
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
value=""
/>
</div>
<div
class="config-select-tree-list config-select-tree"
style="height:256px"
>
<div>
<div
class="config-select-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
disabled=""
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
value=""
/>
</div>
<div
class="config-select-tree-list"
style="height:256px"
>
<div>
<div
class="config-select-tree-treenode config-select-tree-treenode-switcher-close"
class="config-select-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="config-select-tree-switcher config-select-tree-switcher-noop"
/>
<span
class="config-select-tree-node-content-wrapper config-select-tree-node-content-wrapper-normal"
title="bamboo"
<div
class="config-select-tree-treenode config-select-tree-treenode-switcher-close"
>
<span
class="config-select-tree-title"
class="config-select-tree-switcher config-select-tree-switcher-noop"
/>
<span
class="config-select-tree-node-content-wrapper config-select-tree-node-content-wrapper-normal"
title="bamboo"
>
bamboo
<span
class="config-select-tree-title"
>
bamboo
</span>
</span>
</span>
</div>
</div>
</div>
</div>
@ -17277,39 +17305,43 @@ exports[`ConfigProvider components TreeSelect normal 1`] = `
<div>
<div>
<div
role="tree"
class="ant-select-tree"
>
<input
disabled=""
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
value=""
/>
</div>
<div
class="ant-select-tree-list ant-select-tree"
style="height:256px"
>
<div>
<div
class="ant-select-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
disabled=""
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
value=""
/>
</div>
<div
class="ant-select-tree-list"
style="height:256px"
>
<div>
<div
class="ant-select-tree-treenode ant-select-tree-treenode-switcher-close"
class="ant-select-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="ant-select-tree-switcher ant-select-tree-switcher-noop"
/>
<span
class="ant-select-tree-node-content-wrapper ant-select-tree-node-content-wrapper-normal"
title="bamboo"
<div
class="ant-select-tree-treenode ant-select-tree-treenode-switcher-close"
>
<span
class="ant-select-tree-title"
class="ant-select-tree-switcher ant-select-tree-switcher-noop"
/>
<span
class="ant-select-tree-node-content-wrapper ant-select-tree-node-content-wrapper-normal"
title="bamboo"
>
bamboo
<span
class="ant-select-tree-title"
>
bamboo
</span>
</span>
</span>
</div>
</div>
</div>
</div>
@ -17383,39 +17415,43 @@ exports[`ConfigProvider components TreeSelect prefixCls 1`] = `
<div>
<div>
<div
role="tree"
class="prefix-TreeSelect-tree"
>
<input
disabled=""
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
value=""
/>
</div>
<div
class="prefix-TreeSelect-tree-list prefix-TreeSelect-tree"
style="height:256px"
>
<div>
<div
class="prefix-TreeSelect-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
disabled=""
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
value=""
/>
</div>
<div
class="prefix-TreeSelect-tree-list"
style="height:256px"
>
<div>
<div
class="prefix-TreeSelect-tree-treenode prefix-TreeSelect-tree-treenode-switcher-close"
class="prefix-TreeSelect-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="prefix-TreeSelect-tree-switcher prefix-TreeSelect-tree-switcher-noop"
/>
<span
class="prefix-TreeSelect-tree-node-content-wrapper prefix-TreeSelect-tree-node-content-wrapper-normal"
title="bamboo"
<div
class="prefix-TreeSelect-tree-treenode prefix-TreeSelect-tree-treenode-switcher-close"
>
<span
class="prefix-TreeSelect-tree-title"
class="prefix-TreeSelect-tree-switcher prefix-TreeSelect-tree-switcher-noop"
/>
<span
class="prefix-TreeSelect-tree-node-content-wrapper prefix-TreeSelect-tree-node-content-wrapper-normal"
title="bamboo"
>
bamboo
<span
class="prefix-TreeSelect-tree-title"
>
bamboo
</span>
</span>
</span>
</div>
</div>
</div>
</div>

View File

@ -2340,178 +2340,182 @@ exports[`renders ./components/transfer/demo/tree-transfer.md correctly 1`] = `
class="ant-transfer-list-body-customize-wrapper"
>
<div
role="tree"
class="ant-tree ant-tree-icon-hide ant-tree-block-node"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="ant-tree-list ant-tree ant-tree-icon-hide ant-tree-block-node"
>
<div>
<div
class="ant-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="ant-tree-list"
>
<div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
class="ant-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
>
<span
class="ant-tree-checkbox-inner"
class="ant-tree-switcher ant-tree-switcher-noop"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-0"
>
<span
class="ant-tree-title"
class="ant-tree-checkbox"
>
0-0
<span
class="ant-tree-checkbox-inner"
/>
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
>
<span
class="ant-tree-switcher ant-tree-switcher_open"
>
<span
aria-label="caret-down"
class="anticon anticon-caret-down ant-tree-switcher-icon"
role="img"
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-0"
>
<svg
aria-hidden="true"
class=""
data-icon="caret-down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
<span
class="ant-tree-title"
>
<path
d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"
/>
</svg>
0-0
</span>
</span>
</span>
<span
class="ant-tree-checkbox"
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-open"
title="0-1"
>
<span
class="ant-tree-title"
class="ant-tree-switcher ant-tree-switcher_open"
>
0-1
<span
aria-label="caret-down"
class="anticon anticon-caret-down ant-tree-switcher-icon"
role="img"
>
<svg
aria-hidden="true"
class=""
data-icon="caret-down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"
/>
</svg>
</span>
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
>
<span
aria-hidden="true"
class="ant-tree-indent"
>
<span
class="ant-tree-indent-unit ant-tree-indent-unit-start"
/>
</span>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-1-0"
>
<span
class="ant-tree-title"
class="ant-tree-checkbox"
>
0-1-0
<span
class="ant-tree-checkbox-inner"
/>
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
>
<span
aria-hidden="true"
class="ant-tree-indent"
>
<span
class="ant-tree-indent-unit ant-tree-indent-unit-end"
/>
</span>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-1-1"
>
<span
class="ant-tree-title"
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-open"
title="0-1"
>
0-1-1
<span
class="ant-tree-title"
>
0-1
</span>
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-3"
>
<span
class="ant-tree-title"
aria-hidden="true"
class="ant-tree-indent"
>
0-3
<span
class="ant-tree-indent-unit ant-tree-indent-unit-start"
/>
</span>
</span>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-1-0"
>
<span
class="ant-tree-title"
>
0-1-0
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
>
<span
aria-hidden="true"
class="ant-tree-indent"
>
<span
class="ant-tree-indent-unit ant-tree-indent-unit-end"
/>
</span>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-1-1"
>
<span
class="ant-tree-title"
>
0-1-1
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-3"
>
<span
class="ant-tree-title"
>
0-3
</span>
</span>
</div>
</div>
</div>
</div>

View File

@ -1,7 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/tree/demo/basic.md correctly 1`] = `
Array [
<div
class="ant-tree ant-tree-icon-hide"
>
<div
role="tree"
>
@ -10,9 +12,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-icon-hide"
class="ant-tree-list"
>
<div>
<div
@ -281,12 +283,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`renders ./components/tree/demo/basic-controlled.md correctly 1`] = `
Array [
<div
class="ant-tree ant-tree-icon-hide"
>
<div
role="tree"
>
@ -295,9 +299,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-icon-hide"
class="ant-tree-list"
>
<div>
<div
@ -768,12 +772,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`renders ./components/tree/demo/customized-icon.md correctly 1`] = `
Array [
<div
class="ant-tree"
>
<div
role="tree"
>
@ -782,9 +788,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree"
class="ant-tree-list"
>
<div>
<div
@ -953,12 +959,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`renders ./components/tree/demo/directory.md correctly 1`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -967,9 +975,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
>
<div>
<div
@ -1298,12 +1306,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`renders ./components/tree/demo/draggable.md correctly 1`] = `
Array [
<div
class="ant-tree draggable-tree ant-tree-icon-hide ant-tree-block-node"
>
<div
role="tree"
>
@ -1312,9 +1322,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree draggable-tree ant-tree-icon-hide ant-tree-block-node"
class="ant-tree-list"
>
<div>
<div
@ -1635,12 +1645,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`renders ./components/tree/demo/dynamic.md correctly 1`] = `
Array [
<div
class="ant-tree ant-tree-icon-hide"
>
<div
role="tree"
>
@ -1649,9 +1661,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-icon-hide"
class="ant-tree-list"
>
<div>
<div
@ -1753,12 +1765,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`renders ./components/tree/demo/line.md correctly 1`] = `
Array [
<div
class="ant-tree ant-tree-icon-hide ant-tree-show-line"
>
<div
role="tree"
>
@ -1767,9 +1781,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-icon-hide ant-tree-show-line"
class="ant-tree-list"
>
<div>
<div
@ -2113,8 +2127,8 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`renders ./components/tree/demo/search.md correctly 1`] = `
@ -2156,129 +2170,133 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
</span>
</span>
<div
role="tree"
class="ant-tree ant-tree-icon-hide"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="ant-tree-list ant-tree ant-tree-icon-hide"
>
<div>
<div
class="ant-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
role="tree"
>
<input
style="width:0;height:0;display:flex;overflow:hidden;opacity:0;border:0;padding:0;margin:0"
tabindex="0"
value=""
/>
</div>
<div
class="ant-tree-list"
>
<div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-close"
class="ant-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<span
class="ant-tree-switcher ant-tree-switcher_close"
<div
class="ant-tree-treenode ant-tree-treenode-switcher-close"
>
<span
aria-label="caret-down"
class="anticon anticon-caret-down ant-tree-switcher-icon"
role="img"
class="ant-tree-switcher ant-tree-switcher_close"
>
<svg
aria-hidden="true"
class=""
data-icon="caret-down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
<span
aria-label="caret-down"
class="anticon anticon-caret-down ant-tree-switcher-icon"
role="img"
>
<path
d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"
/>
</svg>
</span>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-close"
title=""
>
<span
class="ant-tree-title"
>
<span>
<span
style="color:#f50"
/>
0-0
<svg
aria-hidden="true"
class=""
data-icon="caret-down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"
/>
</svg>
</span>
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-close"
>
<span
class="ant-tree-switcher ant-tree-switcher_close"
>
<span
aria-label="caret-down"
class="anticon anticon-caret-down ant-tree-switcher-icon"
role="img"
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-close"
title=""
>
<svg
aria-hidden="true"
class=""
data-icon="caret-down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
<span
class="ant-tree-title"
>
<path
d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"
/>
</svg>
</span>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-close"
title=""
>
<span
class="ant-tree-title"
>
<span>
<span
style="color:#f50"
/>
0-1
<span>
<span
style="color:#f50"
/>
0-0
</span>
</span>
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-close"
>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title=""
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-close"
>
<span
class="ant-tree-title"
class="ant-tree-switcher ant-tree-switcher_close"
>
<span>
<span
style="color:#f50"
/>
0-2
<span
aria-label="caret-down"
class="anticon anticon-caret-down ant-tree-switcher-icon"
role="img"
>
<svg
aria-hidden="true"
class=""
data-icon="caret-down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"
/>
</svg>
</span>
</span>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-close"
title=""
>
<span
class="ant-tree-title"
>
<span>
<span
style="color:#f50"
/>
0-1
</span>
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-close"
>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title=""
>
<span
class="ant-tree-title"
>
<span>
<span
style="color:#f50"
/>
0-2
</span>
</span>
</span>
</div>
</div>
</div>
</div>
@ -2287,7 +2305,9 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
`;
exports[`renders ./components/tree/demo/switcher-icon.md correctly 1`] = `
Array [
<div
class="ant-tree ant-tree-icon-hide ant-tree-show-line"
>
<div
role="tree"
>
@ -2296,9 +2316,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-icon-hide ant-tree-show-line"
class="ant-tree-list"
>
<div>
<div
@ -2630,6 +2650,6 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;

View File

@ -1,7 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Directory Tree defaultExpandAll 1`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -10,9 +12,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
>
<div>
<div
@ -341,12 +343,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree defaultExpandParent 1`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -355,9 +359,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
>
<div>
<div
@ -490,12 +494,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree expand click 1`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -504,9 +510,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
disabled=""
>
<div>
@ -742,12 +748,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree expand click 2`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -756,9 +764,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
disabled=""
>
<div>
@ -892,12 +900,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree expand double click 1`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -906,9 +916,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
disabled=""
>
<div>
@ -1144,12 +1154,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree expand double click 2`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -1158,9 +1170,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
disabled=""
>
<div>
@ -1294,12 +1306,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree expand with state control click 1`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -1308,9 +1322,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
disabled=""
>
<div>
@ -1435,12 +1449,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree expand with state control doubleClick 1`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -1449,9 +1465,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
disabled=""
>
<div>
@ -1576,12 +1592,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree expandedKeys update 1`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -1590,9 +1608,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
disabled=""
>
<div>
@ -1828,12 +1846,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree group select 1`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -1842,9 +1862,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
>
<div>
<div
@ -2173,12 +2193,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree group select 2`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -2187,9 +2209,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
>
<div>
<div
@ -2518,12 +2540,14 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;
exports[`Directory Tree selectedKeys update 1`] = `
Array [
<div
class="ant-tree ant-tree-directory ant-tree-block-node"
>
<div
role="tree"
>
@ -2532,9 +2556,9 @@ Array [
tabindex="0"
value=""
/>
</div>,
</div>
<div
class="ant-tree-list ant-tree ant-tree-directory ant-tree-block-node"
class="ant-tree-list"
>
<div>
<div
@ -2863,6 +2887,6 @@ Array [
</div>
</div>
</div>
</div>,
]
</div>
</div>
`;

View File

@ -1,6 +1,6 @@
{
"name": "antd",
"version": "4.0.0-alpha.5",
"version": "4.0.0-alpha.6",
"description": "An enterprise-class UI design language and React components implementation",
"keywords": [
"ant",
@ -130,8 +130,8 @@
"rc-tabs": "~9.6.4",
"rc-time-picker": "~3.7.1",
"rc-tooltip": "~3.7.3",
"rc-tree": "~3.0.0-alpha.36",
"rc-tree-select": "~3.0.0-alpha.4",
"rc-tree": "~3.0.0-alpha.37",
"rc-tree-select": "~3.0.0-alpha.5",
"rc-trigger": "^2.6.2",
"rc-upload": "~2.7.0",
"rc-util": "^4.10.0",