test: update tooltip snap
parent
1850d04eed
commit
adcdd159e6
|
@ -1 +1 @@
|
|||
Subproject commit aab758ee2c072e350f2cc6140f8293ce8d9c7c9e
|
||||
Subproject commit 38d737b353607aaf4d75d4437e01c0daf15bf3d7
|
|
@ -1,20 +1,52 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`renders ./antdv-demo/docs/tooltip/demo/arrow-point-at-center.md correctly 1`] = `<div><button type="button" class="ant-btn"><span>Align edge / 边缘对齐</span></button> <button type="button" class="ant-btn"><span>Arrow points to center / 箭头指向中心</span></button></div>`;
|
||||
|
||||
exports[`renders ./antdv-demo/docs/tooltip/demo/auto-adjust-overflow.md correctly 1`] = `<div style="overflow: hidden; position: relative; padding: 24px; border: 1px solid #e9e9e9;"><button type="button" class="ant-btn"><span>Adjust automatically / 自动调整</span></button> <br> <button type="button" class="ant-btn" style="margin-top: 10px;"><span>Ingore / 不处理</span></button></div>`;
|
||||
|
||||
exports[`renders ./antdv-demo/docs/tooltip/demo/basic.md correctly 1`] = `
|
||||
<span class="">
|
||||
Tooltip will show when mouse enter.
|
||||
</span>
|
||||
exports[`renders ./antdv-demo/docs/tooltip/demo/arrow-point-at-center.md correctly 1`] = `
|
||||
<div>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>Align edge / 边缘对齐</span></button>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>Arrow points to center / 箭头指向中心</span></button></div>
|
||||
`;
|
||||
|
||||
exports[`renders ./antdv-demo/docs/tooltip/demo/auto-adjust-overflow.md 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 ./antdv-demo/docs/tooltip/demo/basic.md correctly 1`] = `<!----><span> Tooltip will show when mouse enter. </span>`;
|
||||
|
||||
exports[`renders ./antdv-demo/docs/tooltip/demo/placement.md correctly 1`] = `
|
||||
<div id="components-a-tooltip-demo-placement">
|
||||
<div style="margin-left: 70px; white-space: nowrap;"><button type="button" class="ant-btn"><span>TL</span></button> <button type="button" class="ant-btn"><span>Top</span></button> <button type="button" class="ant-btn"><span>TR</span></button></div>
|
||||
<div style="width: 70px; float: left;"><button type="button" class="ant-btn"><span>LT</span></button> <button type="button" class="ant-btn"><span>Left</span></button> <button type="button" class="ant-btn"><span>LB</span></button></div>
|
||||
<div style="width: 70px; margin-left: 304px;"><button type="button" class="ant-btn"><span>RT</span></button> <button type="button" class="ant-btn"><span>Right</span></button> <button type="button" class="ant-btn"><span>RB</span></button></div>
|
||||
<div style="margin-left: 70px; clear: both; white-space: nowrap;"><button type="button" class="ant-btn"><span>BL</span></button> <button type="button" class="ant-btn"><span>Bottom</span></button> <button type="button" class="ant-btn"><span>BR</span></button></div>
|
||||
<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>
|
||||
`;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import demo from '../antdv-demo/docs/transfer/demo/tree-transfer';
|
||||
import demo from '../antdv-demo/docs/tooltip/demo/auto-adjust-overflow';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
Loading…
Reference in New Issue