|
@ -329,64 +329,58 @@ exports[`Menu all types must be available in the "items" syntax 1`] = ` |
|
|
`; |
|
|
`; |
|
|
|
|
|
|
|
|
exports[`Menu rtl render component should be rendered correctly in RTL direction 1`] = ` |
|
|
exports[`Menu rtl render component should be rendered correctly in RTL direction 1`] = ` |
|
|
HTMLCollection [ |
|
|
<ul |
|
|
<ul |
|
|
class="ant-menu ant-menu-root ant-menu-vertical ant-menu-light ant-menu-rtl" |
|
|
class="ant-menu ant-menu-root ant-menu-vertical ant-menu-light ant-menu-rtl" |
|
|
data-menu-list="true" |
|
|
data-menu-list="true" |
|
|
dir="rtl" |
|
|
dir="rtl" |
|
|
role="menu" |
|
|
role="menu" |
|
|
tabindex="0" |
|
|
tabindex="0" |
|
|
> |
|
|
|
|
|
<li |
|
|
|
|
|
class="ant-menu-item" |
|
|
|
|
|
data-menu-id="rc-menu-uuid-test-tmp_key-0" |
|
|
|
|
|
role="menuitem" |
|
|
|
|
|
tabindex="-1" |
|
|
> |
|
|
> |
|
|
<li |
|
|
<span |
|
|
class="ant-menu-item" |
|
|
class="ant-menu-title-content" |
|
|
data-menu-id="rc-menu-uuid-test-tmp_key-0" |
|
|
/> |
|
|
|
|
|
</li> |
|
|
|
|
|
<li |
|
|
|
|
|
class="ant-menu-item-group" |
|
|
|
|
|
role="presentation" |
|
|
|
|
|
> |
|
|
|
|
|
<div |
|
|
|
|
|
class="ant-menu-item-group-title" |
|
|
|
|
|
role="presentation" |
|
|
|
|
|
/> |
|
|
|
|
|
<ul |
|
|
|
|
|
class="ant-menu-item-group-list" |
|
|
|
|
|
role="group" |
|
|
|
|
|
/> |
|
|
|
|
|
</li> |
|
|
|
|
|
<li |
|
|
|
|
|
class="ant-menu-submenu ant-menu-submenu-vertical" |
|
|
|
|
|
role="none" |
|
|
|
|
|
> |
|
|
|
|
|
<div |
|
|
|
|
|
aria-controls="rc-menu-uuid-test-tmp_key-2-popup" |
|
|
|
|
|
aria-expanded="false" |
|
|
|
|
|
aria-haspopup="true" |
|
|
|
|
|
class="ant-menu-submenu-title" |
|
|
|
|
|
data-menu-id="rc-menu-uuid-test-tmp_key-2" |
|
|
role="menuitem" |
|
|
role="menuitem" |
|
|
tabindex="-1" |
|
|
tabindex="-1" |
|
|
> |
|
|
> |
|
|
<span |
|
|
<span |
|
|
class="ant-menu-title-content" |
|
|
class="ant-menu-title-content" |
|
|
/> |
|
|
/> |
|
|
</li> |
|
|
<i |
|
|
<li |
|
|
class="ant-menu-submenu-arrow" |
|
|
class="ant-menu-item-group" |
|
|
|
|
|
role="presentation" |
|
|
|
|
|
> |
|
|
|
|
|
<div |
|
|
|
|
|
class="ant-menu-item-group-title" |
|
|
|
|
|
role="presentation" |
|
|
|
|
|
/> |
|
|
|
|
|
<ul |
|
|
|
|
|
class="ant-menu-item-group-list" |
|
|
|
|
|
role="group" |
|
|
|
|
|
/> |
|
|
/> |
|
|
</li> |
|
|
</div> |
|
|
<li |
|
|
</li> |
|
|
class="ant-menu-submenu ant-menu-submenu-vertical" |
|
|
</ul> |
|
|
role="none" |
|
|
|
|
|
> |
|
|
|
|
|
<div |
|
|
|
|
|
aria-controls="rc-menu-uuid-test-tmp_key-2-popup" |
|
|
|
|
|
aria-expanded="false" |
|
|
|
|
|
aria-haspopup="true" |
|
|
|
|
|
class="ant-menu-submenu-title" |
|
|
|
|
|
data-menu-id="rc-menu-uuid-test-tmp_key-2" |
|
|
|
|
|
role="menuitem" |
|
|
|
|
|
tabindex="-1" |
|
|
|
|
|
> |
|
|
|
|
|
<span |
|
|
|
|
|
class="ant-menu-title-content" |
|
|
|
|
|
/> |
|
|
|
|
|
<i |
|
|
|
|
|
class="ant-menu-submenu-arrow" |
|
|
|
|
|
/> |
|
|
|
|
|
</div> |
|
|
|
|
|
</li> |
|
|
|
|
|
</ul>, |
|
|
|
|
|
<div |
|
|
|
|
|
aria-hidden="true" |
|
|
|
|
|
style="display: none;" |
|
|
|
|
|
/>, |
|
|
|
|
|
] |
|
|
|
|
|
`; |
|
|
`; |
|
|
|
|
|
|
|
|
exports[`Menu should controlled collapse work 1`] = ` |
|
|
exports[`Menu should controlled collapse work 1`] = ` |
|
|