2021-12-23 11:51:10 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/popover/demo/arrow-point-at-center.md extend context correctly 1`] = `
|
|
|
|
Array [
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Align edge / 边缘对齐
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
Title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Arrow points to center / 箭头指向中心
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
Title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/popover/demo/basic.md extend context correctly 1`] = `
|
|
|
|
Array [
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Hover me
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
Title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/popover/demo/control.md extend context correctly 1`] = `
|
|
|
|
Array [
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Click me
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
Title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<a>
|
|
|
|
Close
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/popover/demo/hover-with-click.md extend context correctly 1`] = `
|
|
|
|
Array [
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Hover and click / 悬停并单击
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
Click title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
This is click content.
|
|
|
|
</div>
|
|
|
|
<a>
|
|
|
|
Close
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
Hover title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
This is hover content.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/popover/demo/placement.md extend context correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="demo"
|
|
|
|
>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
style="margin-left: 70px; white-space: nowrap;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
TL
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Top
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
TR
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
style="width: 70px; float: left;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
LT
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Left
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
LB
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
style="width: 70px; margin-left: 304px;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
RT
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Right
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
RB
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
style="margin-left: 70px; clear: both; white-space: nowrap;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
BL
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Bottom
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
BR
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/popover/demo/triggerType.md extend context correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Hover me
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
Title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Focus me
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
Title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Click me
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-09-09 15:51:35 +08:00
|
|
|
class="ant-popover ant-zoom-big-appear ant-zoom-big-appear-prepare ant-zoom-big"
|
|
|
|
style="opacity: 0;"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-popover-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
|
|
|
Title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|