|
|
@ -1,7 +1,13 @@ |
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP |
|
|
|
|
|
|
|
exports[`renders components/menu/demo/component-token.tsx extend context correctly 1`] = ` |
|
|
|
Array [ |
|
|
|
<div |
|
|
|
class="ant-space ant-space-vertical" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-space-item" |
|
|
|
style="margin-bottom: 8px;" |
|
|
|
> |
|
|
|
<ul |
|
|
|
class="ant-menu-overflow ant-menu ant-menu-root ant-menu-horizontal ant-menu-light" |
|
|
|
data-menu-list="true" |
|
|
@ -232,7 +238,7 @@ Array [ |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</ul>, |
|
|
|
</ul> |
|
|
|
<div |
|
|
|
aria-hidden="true" |
|
|
|
style="display: none;" |
|
|
@ -356,8 +362,873 @@ Array [ |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div>, |
|
|
|
] |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-space-item" |
|
|
|
> |
|
|
|
<ul |
|
|
|
class="ant-menu ant-menu-root ant-menu-inline ant-menu-dark" |
|
|
|
data-menu-list="true" |
|
|
|
role="menu" |
|
|
|
style="width: 256px;" |
|
|
|
tabindex="0" |
|
|
|
> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-selected" |
|
|
|
data-menu-id="rc-menu-uuid-test-1" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 24px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
aria-label="pie-chart" |
|
|
|
class="anticon anticon-pie-chart ant-menu-item-icon" |
|
|
|
role="img" |
|
|
|
> |
|
|
|
<svg |
|
|
|
aria-hidden="true" |
|
|
|
data-icon="pie-chart" |
|
|
|
fill="currentColor" |
|
|
|
focusable="false" |
|
|
|
height="1em" |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<path |
|
|
|
d="M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z" |
|
|
|
/> |
|
|
|
</svg> |
|
|
|
</span> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 1 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-item" |
|
|
|
data-menu-id="rc-menu-uuid-test-2" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 24px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
aria-label="desktop" |
|
|
|
class="anticon anticon-desktop ant-menu-item-icon" |
|
|
|
role="img" |
|
|
|
> |
|
|
|
<svg |
|
|
|
aria-hidden="true" |
|
|
|
data-icon="desktop" |
|
|
|
fill="currentColor" |
|
|
|
focusable="false" |
|
|
|
height="1em" |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<path |
|
|
|
d="M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z" |
|
|
|
/> |
|
|
|
</svg> |
|
|
|
</span> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 2 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-item" |
|
|
|
data-menu-id="rc-menu-uuid-test-3" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 24px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
aria-label="container" |
|
|
|
class="anticon anticon-container ant-menu-item-icon" |
|
|
|
role="img" |
|
|
|
> |
|
|
|
<svg |
|
|
|
aria-hidden="true" |
|
|
|
data-icon="container" |
|
|
|
fill="currentColor" |
|
|
|
focusable="false" |
|
|
|
height="1em" |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<path |
|
|
|
d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" |
|
|
|
/> |
|
|
|
</svg> |
|
|
|
</span> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 3 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-submenu ant-menu-submenu-inline ant-menu-submenu-open" |
|
|
|
role="none" |
|
|
|
> |
|
|
|
<div |
|
|
|
aria-controls="rc-menu-uuid-test-sub1-popup" |
|
|
|
aria-expanded="true" |
|
|
|
aria-haspopup="true" |
|
|
|
class="ant-menu-submenu-title" |
|
|
|
data-menu-id="rc-menu-uuid-test-sub1" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 24px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
aria-label="mail" |
|
|
|
class="anticon anticon-mail ant-menu-item-icon" |
|
|
|
role="img" |
|
|
|
> |
|
|
|
<svg |
|
|
|
aria-hidden="true" |
|
|
|
data-icon="mail" |
|
|
|
fill="currentColor" |
|
|
|
focusable="false" |
|
|
|
height="1em" |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<path |
|
|
|
d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z" |
|
|
|
/> |
|
|
|
</svg> |
|
|
|
</span> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Navigation One |
|
|
|
</span> |
|
|
|
<i |
|
|
|
class="ant-menu-submenu-arrow" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-menu-submenu ant-menu-submenu-popup ant-menu ant-menu-dark" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<ul |
|
|
|
class="ant-menu ant-menu-sub ant-menu-inline" |
|
|
|
data-menu-list="true" |
|
|
|
id="rc-menu-uuid-test-sub1-popup" |
|
|
|
role="menu" |
|
|
|
> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-5" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 5 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-6" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 6 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-7" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 7 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-8" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 8 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
<ul |
|
|
|
class="ant-menu ant-menu-sub ant-menu-inline" |
|
|
|
data-menu-list="true" |
|
|
|
id="rc-menu-uuid-test-sub1-popup" |
|
|
|
role="menu" |
|
|
|
> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-5" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 5 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-6" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 6 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-7" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 7 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-8" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 8 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li |
|
|
|
class="ant-menu-submenu ant-menu-submenu-inline" |
|
|
|
role="none" |
|
|
|
> |
|
|
|
<div |
|
|
|
aria-controls="rc-menu-uuid-test-sub2-popup" |
|
|
|
aria-expanded="false" |
|
|
|
aria-haspopup="true" |
|
|
|
class="ant-menu-submenu-title" |
|
|
|
data-menu-id="rc-menu-uuid-test-sub2" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 24px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
aria-label="appstore" |
|
|
|
class="anticon anticon-appstore ant-menu-item-icon" |
|
|
|
role="img" |
|
|
|
> |
|
|
|
<svg |
|
|
|
aria-hidden="true" |
|
|
|
data-icon="appstore" |
|
|
|
fill="currentColor" |
|
|
|
focusable="false" |
|
|
|
height="1em" |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<path |
|
|
|
d="M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z" |
|
|
|
/> |
|
|
|
</svg> |
|
|
|
</span> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Navigation Two |
|
|
|
</span> |
|
|
|
<i |
|
|
|
class="ant-menu-submenu-arrow" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-menu-submenu ant-menu-submenu-popup ant-menu ant-menu-dark" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<ul |
|
|
|
class="ant-menu ant-menu-sub ant-menu-inline" |
|
|
|
data-menu-list="true" |
|
|
|
id="rc-menu-uuid-test-sub2-popup" |
|
|
|
role="menu" |
|
|
|
> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-9" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 9 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-10" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 10 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-submenu ant-menu-submenu-inline" |
|
|
|
role="none" |
|
|
|
> |
|
|
|
<div |
|
|
|
aria-controls="rc-menu-uuid-test-sub3-popup" |
|
|
|
aria-expanded="false" |
|
|
|
aria-haspopup="true" |
|
|
|
class="ant-menu-submenu-title" |
|
|
|
data-menu-id="rc-menu-uuid-test-sub3" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 48px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Submenu |
|
|
|
</span> |
|
|
|
<i |
|
|
|
class="ant-menu-submenu-arrow" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-menu-submenu ant-menu-submenu-popup ant-menu ant-menu-dark" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<ul |
|
|
|
class="ant-menu ant-menu-sub ant-menu-inline" |
|
|
|
data-menu-list="true" |
|
|
|
id="rc-menu-uuid-test-sub3-popup" |
|
|
|
role="menu" |
|
|
|
> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-11" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 72px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 11 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<li |
|
|
|
class="ant-menu-item ant-menu-item-only-child" |
|
|
|
data-menu-id="rc-menu-uuid-test-12" |
|
|
|
role="menuitem" |
|
|
|
style="padding-left: 72px;" |
|
|
|
tabindex="-1" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="ant-menu-title-content" |
|
|
|
> |
|
|
|
Option 12 |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
<div |
|
|
|
aria-hidden="true" |
|
|
|
style="display: none;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-menu-inline-collapsed-tooltip ant-tooltip-placement-right" |
|
|
|
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box;" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-arrow" |
|
|
|
style="position: absolute; top: 0px; left: 0px;" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="ant-tooltip-content" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="ant-tooltip-inner" |
|
|
|
role="tooltip" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
`; |
|
|
|
|
|
|
|
exports[`renders components/menu/demo/horizontal.tsx extend context correctly 1`] = ` |
|
|
|