2021-12-23 11:51:10 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/popover/demo/arrow.tsx extend context correctly 1`] = `
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
|
|
|
class="demo"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-segmented"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-01-19 11:21:05 +08:00
|
|
|
class="ant-segmented-group"
|
|
|
|
>
|
|
|
|
<label
|
|
|
|
class="ant-segmented-item ant-segmented-item-selected"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
class="ant-segmented-item-input"
|
|
|
|
type="radio"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-segmented-item-label"
|
|
|
|
title="Show"
|
|
|
|
>
|
|
|
|
Show
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-segmented-item"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-segmented-item-input"
|
|
|
|
type="radio"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-segmented-item-label"
|
|
|
|
title="Hide"
|
|
|
|
>
|
|
|
|
Hide
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-segmented-item"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-segmented-item-input"
|
|
|
|
type="radio"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-segmented-item-label"
|
|
|
|
title="Center"
|
|
|
|
>
|
|
|
|
Center
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-center"
|
|
|
|
role="separator"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-divider-inner-text"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-01-19 11:21:05 +08:00
|
|
|
Content
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
style="margin-left:70px;white-space:nowrap"
|
|
|
|
>
|
2023-03-02 22:09:02 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
TL
|
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-topLeft"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<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>
|
2023-01-19 11:21:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
Top
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-top"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;bottom:0;left:0"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
TR
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-topRight"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-02 22:09:02 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
style="width:70px;float:left"
|
|
|
|
>
|
2023-01-19 11:21:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
LT
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-leftTop"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-01-19 11:21:05 +08:00
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
Left
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-left"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;top:0;right:0"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
LB
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-leftBottom"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-02 22:09:02 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
style="width:70px;margin-left:304px"
|
|
|
|
>
|
2023-01-19 11:21:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
RT
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-rightTop"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
Right
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-right"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;top:0;left:0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
RB
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-rightBottom"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-02 22:09:02 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
style="margin-left:70px;clear:both;white-space:nowrap"
|
|
|
|
>
|
2023-01-19 11:21:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
BL
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-bottomLeft"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
Bottom
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-bottom"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;top:0;left:0"
|
|
|
|
/>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
BR
|
2023-01-19 11:21:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-bottomRight"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
2023-01-19 11:21:05 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2023-01-19 11:21:05 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2023-01-19 11:21:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-23 11:51:10 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/popover/demo/arrow-point-at-center.tsx extend context correctly 1`] = `
|
2023-01-19 15:37:54 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-03-02 22:09:02 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Align edge / 边缘对齐
|
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-topLeft"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
Title
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-02 22:09:02 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
Arrow points to center / 箭头指向中心
|
2023-01-19 15:37:54 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-topLeft"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
Title
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-01-19 15:37:54 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-23 11:51:10 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/popover/demo/basic.tsx extend context correctly 1`] = `
|
2021-12-23 11:51:10 +08:00
|
|
|
Array [
|
2023-03-02 22:09:02 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Hover me
|
|
|
|
</span>
|
|
|
|
</button>,
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-top"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;bottom:0;left:0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<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>,
|
2023-03-02 22:09:02 +08:00
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/popover/demo/control.tsx extend context correctly 1`] = `
|
2023-03-02 22:09:02 +08:00
|
|
|
Array [
|
2021-12-23 11:51:10 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
Click me
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>,
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-top"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;bottom:0;left:0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
Title
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<a>
|
|
|
|
Close
|
|
|
|
</a>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
2023-03-02 22:09:02 +08:00
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/popover/demo/hover-with-click.tsx extend context correctly 1`] = `
|
2023-03-02 22:09:02 +08:00
|
|
|
Array [
|
2021-12-23 11:51:10 +08:00
|
|
|
<button
|
2023-03-02 22:09:02 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
Hover and click / 悬停并单击
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>,
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-top"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;bottom:0;left:0"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-03-02 22:09:02 +08:00
|
|
|
Click title
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
2023-03-02 22:09:02 +08:00
|
|
|
<div>
|
|
|
|
This is click content.
|
|
|
|
</div>
|
|
|
|
<a>
|
|
|
|
Close
|
|
|
|
</a>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-top"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;bottom:0;left:0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-03-02 22:09:02 +08:00
|
|
|
Hover title
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
2023-03-02 22:09:02 +08:00
|
|
|
This is hover content.
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
2023-02-15 10:21:28 +08:00
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/popover/demo/placement.tsx extend context correctly 1`] = `
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="margin-left:70px;white-space:nowrap"
|
|
|
|
>
|
2023-03-02 22:09:02 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
TL
|
|
|
|
</span>
|
|
|
|
</button>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover ant-popover-placement-topLeft"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-title"
|
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-popover-inner-content"
|
|
|
|
>
|
|
|
|
<div>
|
2023-02-15 10:21:28 +08:00
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</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>
|
2023-03-02 22:09:02 +08:00
|
|
|
Top
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-top"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;bottom:0;left:0"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</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>
|
2023-03-02 22:09:02 +08:00
|
|
|
TR
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-topRight"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-02 22:09:02 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
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>
|
2023-03-02 22:09:02 +08:00
|
|
|
LT
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-leftTop"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</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>
|
2023-03-02 22:09:02 +08:00
|
|
|
Left
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-left"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;top:0;right:0"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</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>
|
2023-03-02 22:09:02 +08:00
|
|
|
LB
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-leftBottom"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-02 22:09:02 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
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>
|
2023-03-02 22:09:02 +08:00
|
|
|
RT
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-rightTop"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</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>
|
2023-03-02 22:09:02 +08:00
|
|
|
Right
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-right"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;top:0;left:0"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</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>
|
2023-03-02 22:09:02 +08:00
|
|
|
RB
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-rightBottom"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-02 22:09:02 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
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>
|
2023-03-02 22:09:02 +08:00
|
|
|
BL
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-bottomLeft"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</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>
|
2023-03-02 22:09:02 +08:00
|
|
|
Bottom
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-bottom"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;top:0;left:0"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</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>
|
2023-03-02 22:09:02 +08:00
|
|
|
BR
|
2021-12-23 11:51:10 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-bottomRight"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<span>
|
|
|
|
Title
|
|
|
|
</span>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/popover/demo/render-panel.tsx extend context correctly 1`] = `
|
2022-07-14 12:06:18 +08:00
|
|
|
Array [
|
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-pure ant-popover-placement-top"
|
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
/>
|
2022-07-14 12:06:18 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<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
|
|
|
|
class="ant-popover ant-popover-pure ant-popover-placement-bottomLeft"
|
2022-11-05 10:14:59 +08:00
|
|
|
style="width:250px"
|
2022-07-14 12:06:18 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
/>
|
2022-07-14 12:06:18 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
2022-10-11 21:33:29 +08:00
|
|
|
style="width:250px"
|
2022-07-14 12:06:18 +08:00
|
|
|
>
|
|
|
|
<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>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/popover/demo/triggerType.tsx extend context correctly 1`] = `
|
2023-01-19 15:37:54 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-03-02 22:09:02 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Hover me
|
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-top"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;bottom:0;left:0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
Title
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-02 22:09:02 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
Focus me
|
2023-01-19 15:37:54 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-top"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;bottom:0;left:0"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
Title
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-02 22:09:02 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<span>
|
2023-03-02 22:09:02 +08:00
|
|
|
Click me
|
2023-01-19 15:37:54 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-placement-top"
|
|
|
|
style="left:-1000vw;top:-1000vh;box-sizing:border-box"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
style="position:absolute;bottom:0;left:0"
|
|
|
|
/>
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner"
|
|
|
|
role="tooltip"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-title"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
Title
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-15 10:21:28 +08:00
|
|
|
class="ant-popover-inner-content"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Content
|
|
|
|
</p>
|
2021-12-23 11:51:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
2022-12-06 23:14:30 +08:00
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/popover/demo/wireframe.tsx extend context correctly 1`] = `
|
2022-12-06 23:14:30 +08:00
|
|
|
Array [
|
|
|
|
<div
|
|
|
|
class="ant-popover ant-popover-pure ant-popover-placement-top"
|
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
/>
|
2022-12-06 23:14:30 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
>
|
|
|
|
<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
|
|
|
|
class="ant-popover ant-popover-pure ant-popover-placement-bottomLeft"
|
|
|
|
style="width:250px"
|
|
|
|
>
|
2023-02-15 10:21:28 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover-arrow"
|
|
|
|
/>
|
2022-12-06 23:14:30 +08:00
|
|
|
<div
|
|
|
|
class="ant-popover-content"
|
|
|
|
style="width:250px"
|
|
|
|
>
|
|
|
|
<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>,
|
|
|
|
]
|
|
|
|
`;
|