update snapshot for role="tooltip"

This commit is contained in:
afc163 2018-09-16 15:46:25 +08:00
parent a669f24afe
commit 5a9725eeae
4 changed files with 43 additions and 4 deletions

View File

@ -5873,6 +5873,7 @@ exports[`Locale Provider should display the text as ar 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -10750,6 +10751,7 @@ exports[`Locale Provider should display the text as bg 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -15627,6 +15629,7 @@ exports[`Locale Provider should display the text as ca 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -20504,6 +20507,7 @@ exports[`Locale Provider should display the text as cs 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -25381,6 +25385,7 @@ exports[`Locale Provider should display the text as de 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -30258,6 +30263,7 @@ exports[`Locale Provider should display the text as el 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -35135,6 +35141,7 @@ exports[`Locale Provider should display the text as en 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -40012,6 +40019,7 @@ exports[`Locale Provider should display the text as en-gb 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -44889,6 +44897,7 @@ exports[`Locale Provider should display the text as es 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -49766,6 +49775,7 @@ exports[`Locale Provider should display the text as et 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -54643,6 +54653,7 @@ exports[`Locale Provider should display the text as fa 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -59520,6 +59531,7 @@ exports[`Locale Provider should display the text as fi 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -64397,6 +64409,7 @@ exports[`Locale Provider should display the text as fr 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -69274,6 +69287,7 @@ exports[`Locale Provider should display the text as fr 2`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -74151,6 +74165,7 @@ exports[`Locale Provider should display the text as is 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -79028,6 +79043,7 @@ exports[`Locale Provider should display the text as it 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -83905,6 +83921,7 @@ exports[`Locale Provider should display the text as ja 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -88782,6 +88799,7 @@ exports[`Locale Provider should display the text as ko 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -93659,6 +93677,7 @@ exports[`Locale Provider should display the text as ku-iq 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -98536,6 +98555,7 @@ exports[`Locale Provider should display the text as mn-mn 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -103413,6 +103433,7 @@ exports[`Locale Provider should display the text as nb 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -108290,6 +108311,7 @@ exports[`Locale Provider should display the text as nl 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -113167,6 +113189,7 @@ exports[`Locale Provider should display the text as nl-be 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -118044,6 +118067,7 @@ exports[`Locale Provider should display the text as pl 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -122921,6 +122945,7 @@ exports[`Locale Provider should display the text as pt 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -127798,6 +127823,7 @@ exports[`Locale Provider should display the text as pt-br 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -132675,6 +132701,7 @@ exports[`Locale Provider should display the text as ru 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -137552,6 +137579,7 @@ exports[`Locale Provider should display the text as sk 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -142429,6 +142457,7 @@ exports[`Locale Provider should display the text as sl 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -147306,6 +147335,7 @@ exports[`Locale Provider should display the text as sr 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -152183,6 +152213,7 @@ exports[`Locale Provider should display the text as sv 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -157060,6 +157091,7 @@ exports[`Locale Provider should display the text as th 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -161937,6 +161969,7 @@ exports[`Locale Provider should display the text as tr 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -166814,6 +166847,7 @@ exports[`Locale Provider should display the text as uk 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -171691,6 +171725,7 @@ exports[`Locale Provider should display the text as vi 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -176568,6 +176603,7 @@ exports[`Locale Provider should display the text as zh-cn 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div
@ -181445,6 +181481,7 @@ exports[`Locale Provider should display the text as zh-tw 1`] = `
/>
<div
class="ant-popover-inner"
role="tooltip"
>
<div>
<div

View File

@ -1,5 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Popconfirm should show overlay when trigger is clicked 1`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\"><div><div class=\\"ant-popover-inner-content\\"><div class=\\"ant-popover-message\\"><i class=\\"anticon anticon-exclamation-circle\\"><svg viewBox=\\"64 64 896 896\\" class=\\"\\" data-icon=\\"exclamation-circle\\" width=\\"1em\\" height=\\"1em\\" fill=\\"currentColor\\" aria-hidden=\\"true\\"><path d=\\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z\\"></path></svg></i><div class=\\"ant-popover-message-title\\">code</div></div><div class=\\"ant-popover-buttons\\"><button type=\\"button\\" class=\\"ant-btn ant-btn-sm\\"><span>Cancel</span></button><button type=\\"button\\" class=\\"ant-btn ant-btn-primary ant-btn-sm\\"><span>OK</span></button></div></div></div></div></div>"`;
exports[`Popconfirm should show overlay when trigger is clicked 1`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\" role=\\"tooltip\\"><div><div class=\\"ant-popover-inner-content\\"><div class=\\"ant-popover-message\\"><i class=\\"anticon anticon-exclamation-circle\\"><svg viewBox=\\"64 64 896 896\\" class=\\"\\" data-icon=\\"exclamation-circle\\" width=\\"1em\\" height=\\"1em\\" fill=\\"currentColor\\" aria-hidden=\\"true\\"><path d=\\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z\\"></path></svg></i><div class=\\"ant-popover-message-title\\">code</div></div><div class=\\"ant-popover-buttons\\"><button type=\\"button\\" class=\\"ant-btn ant-btn-sm\\"><span>Cancel</span></button><button type=\\"button\\" class=\\"ant-btn ant-btn-primary ant-btn-sm\\"><span>OK</span></button></div></div></div></div></div>"`;
exports[`Popconfirm should show overlay when trigger is clicked 2`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\"><div><div class=\\"ant-popover-inner-content\\"><div class=\\"ant-popover-message\\"><i class=\\"anticon anticon-exclamation-circle\\"><svg viewBox=\\"64 64 896 896\\" class=\\"\\" data-icon=\\"exclamation-circle\\" width=\\"1em\\" height=\\"1em\\" fill=\\"currentColor\\" aria-hidden=\\"true\\"><path d=\\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z\\"></path></svg></i><div class=\\"ant-popover-message-title\\">code</div></div><div class=\\"ant-popover-buttons\\"><button type=\\"button\\" class=\\"ant-btn ant-btn-sm\\"><span>Cancel</span></button><button type=\\"button\\" class=\\"ant-btn ant-btn-primary ant-btn-sm\\"><span>OK</span></button></div></div></div></div></div>"`;
exports[`Popconfirm should show overlay when trigger is clicked 2`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\" role=\\"tooltip\\"><div><div class=\\"ant-popover-inner-content\\"><div class=\\"ant-popover-message\\"><i class=\\"anticon anticon-exclamation-circle\\"><svg viewBox=\\"64 64 896 896\\" class=\\"\\" data-icon=\\"exclamation-circle\\" width=\\"1em\\" height=\\"1em\\" fill=\\"currentColor\\" aria-hidden=\\"true\\"><path d=\\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z\\"></path></svg></i><div class=\\"ant-popover-message-title\\">code</div></div><div class=\\"ant-popover-buttons\\"><button type=\\"button\\" class=\\"ant-btn ant-btn-sm\\"><span>Cancel</span></button><button type=\\"button\\" class=\\"ant-btn ant-btn-primary ant-btn-sm\\"><span>OK</span></button></div></div></div></div></div>"`;

View File

@ -1,5 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Popover should show overlay when trigger is clicked 1`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\"><div><div class=\\"ant-popover-title\\">code</div><div class=\\"ant-popover-inner-content\\">console.log('hello world')</div></div></div></div>"`;
exports[`Popover should show overlay when trigger is clicked 1`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\" role=\\"tooltip\\"><div><div class=\\"ant-popover-title\\">code</div><div class=\\"ant-popover-inner-content\\">console.log('hello world')</div></div></div></div>"`;
exports[`Popover should show overlay when trigger is clicked 2`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\"><div><div class=\\"ant-popover-title\\">code</div><div class=\\"ant-popover-inner-content\\">console.log('hello world')</div></div></div></div>"`;
exports[`Popover should show overlay when trigger is clicked 2`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\" role=\\"tooltip\\"><div><div class=\\"ant-popover-title\\">code</div><div class=\\"ant-popover-inner-content\\">console.log('hello world')</div></div></div></div>"`;

View File

@ -13,6 +13,7 @@ exports[`Slider should show tooltip when hovering slider handler 1`] = `
/>
<div
class="ant-tooltip-inner"
role="tooltip"
>
30
</div>
@ -34,6 +35,7 @@ exports[`Slider should show tooltip when hovering slider handler 2`] = `
/>
<div
class="ant-tooltip-inner"
role="tooltip"
>
30
</div>