143 lines
4.7 KiB
Plaintext
143 lines
4.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/tooltip/demo/arrow-point-at-center.vue correctly 1`] = `
|
|
<div class="ant-space ant-space-horizontal ant-space-align-center">
|
|
<div class="ant-space-item" style="margin-right: 8px;">
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>Align edge / 边缘对齐</span>
|
|
</button>
|
|
</div>
|
|
<!---->
|
|
<div class="ant-space-item">
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>Arrow points to center / 箭头指向中心</span>
|
|
</button>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/tooltip/demo/auto-adjust-overflow.vue correctly 1`] = `
|
|
<div style="overflow: hidden; position: relative; padding: 24px; border: 1px solid #e9e9e9;">
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>Adjust automatically / 自动调整</span>
|
|
</button><br>
|
|
<!----><button style="margin-top: 10px;" class="ant-btn" type="button">
|
|
<!----><span>Ingore / 不处理</span>
|
|
</button>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/tooltip/demo/basic.vue correctly 1`] = `<!----><span> Tooltip will show when mouse enter. </span>`;
|
|
|
|
exports[`renders ./components/tooltip/demo/color.vue correctly 1`] = `
|
|
<div id="components-a-tooltip-demo-color">
|
|
<div class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-left" role="separator"><span class="ant-divider-inner-text">Presets</span></div>
|
|
<div>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>pink</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>red</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>yellow</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>orange</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>cyan</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>green</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>blue</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>purple</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>geekblue</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>magenta</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>volcano</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>gold</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>lime</span>
|
|
</button>
|
|
</div>
|
|
<div class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-left" role="separator"><span class="ant-divider-inner-text">Custom</span></div>
|
|
<div>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>#f50</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>#2db7f5</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>#87d068</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>#108ee9</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/tooltip/demo/placement.vue correctly 1`] = `
|
|
<div id="components-a-tooltip-demo-placement">
|
|
<div style="margin-left: 70px; white-space: nowrap;">
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>TL</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>Top</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>TR</span>
|
|
</button>
|
|
</div>
|
|
<div style="width: 70px; float: left;">
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>LT</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>Left</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>LB</span>
|
|
</button>
|
|
</div>
|
|
<div style="width: 70px; margin-left: 304px;">
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>RT</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>Right</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>RB</span>
|
|
</button>
|
|
</div>
|
|
<div style="margin-left: 70px; clear: both; white-space: nowrap;">
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>BL</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>Bottom</span>
|
|
</button>
|
|
<!----><button class="ant-btn" type="button">
|
|
<!----><span>BR</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
`;
|