mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
86b5c50cb4
* chore: adjust doc * chore: simplify arrow offset * chore: auto adjust shift * docs: adjust demo * chore: update snapshot * chore: provide ref * test: prepare * chore: update deps * test: fix part test * test: fix part test * test: fix part test * test: fix part test * test: fix part test * test: update snapshot * fix: missing pure render * fix: Popover pure panel * test: update snapshot * test: update tour snapshot * chore: bump trigger ver * test: fix render ssr logic * test: skip unnecessary case * test: fix test case * test: update snapshot * test: update snapshot * test: update snapshot * test: update snapshot * test: update snapshot * test: fix test case * test: fix test case * chore: clean up useless warning * test: add check for placement * chore: ignore default
98 lines
2.1 KiB
Plaintext
98 lines
2.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Tooltip rtl render component should be rendered correctly in RTL direction 1`] = `<span />`;
|
|
|
|
exports[`Tooltip should hide when mouse leave antd disabled component Button 1`] = `
|
|
<span
|
|
class="ant-tooltip-disabled-compatible-wrapper"
|
|
style="display: inline-block; cursor: not-allowed;"
|
|
>
|
|
<button
|
|
class="ant-btn ant-btn-default"
|
|
disabled=""
|
|
style="pointer-events: none;"
|
|
type="button"
|
|
/>
|
|
</span>
|
|
`;
|
|
|
|
exports[`Tooltip should hide when mouse leave antd disabled component Switch 1`] = `
|
|
<span
|
|
class="ant-tooltip-disabled-compatible-wrapper"
|
|
style="display: inline-block; cursor: not-allowed;"
|
|
>
|
|
<button
|
|
aria-checked="false"
|
|
class="ant-switch ant-switch-disabled"
|
|
disabled=""
|
|
role="switch"
|
|
style="pointer-events: none;"
|
|
type="button"
|
|
>
|
|
<div
|
|
class="ant-switch-handle"
|
|
/>
|
|
<span
|
|
class="ant-switch-inner"
|
|
>
|
|
<span
|
|
class="ant-switch-inner-checked"
|
|
/>
|
|
<span
|
|
class="ant-switch-inner-unchecked"
|
|
/>
|
|
</span>
|
|
</button>
|
|
</span>
|
|
`;
|
|
|
|
exports[`Tooltip support arrow props by default 1`] = `
|
|
<div>
|
|
<div
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-tooltip-placement-top"
|
|
style="left: -1000vw; top: -1000vh; box-sizing: border-box;"
|
|
>
|
|
<div
|
|
class="ant-tooltip-arrow"
|
|
style="position: absolute; bottom: 0px; left: 0px;"
|
|
/>
|
|
<div
|
|
class="ant-tooltip-content"
|
|
>
|
|
<div
|
|
class="ant-tooltip-inner"
|
|
role="tooltip"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="target ant-tooltip-open"
|
|
>
|
|
target
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Tooltip support arrow props pass false to hide arrow 1`] = `
|
|
<div>
|
|
<div
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast ant-tooltip-placement-top"
|
|
style="left: -1000vw; top: -1000vh; box-sizing: border-box;"
|
|
>
|
|
<div
|
|
class="ant-tooltip-content"
|
|
>
|
|
<div
|
|
class="ant-tooltip-inner"
|
|
role="tooltip"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="target ant-tooltip-open"
|
|
>
|
|
target
|
|
</div>
|
|
</div>
|
|
`;
|