@@ -20,37 +20,37 @@ exports[`renders ./components/avatar/demo/basic.vue correctly 1`] = `
20
20
`;
21
21
22
22
exports[`renders ./components/avatar/demo/dynamic.vue correctly 1`] = `
23
- <span style = " background-color: rgb(245, 106, 0); vertical-align: middle;" class = " ant-avatar ant-avatar-lg ant-avatar-square" ><span class = " ant-avatar-string" style = " transform: scale(1) translateX(-50%) ;" >U</span ></span >
23
+ <span style = " background-color: rgb(245, 106, 0); vertical-align: middle;" class = " ant-avatar ant-avatar-lg ant-avatar-square" ><span class = " ant-avatar-string" style = " opacity: 0 ;" >U</span ></span >
24
24
<button style = " margin-left: 16px; vertical-align: middle;" class = " ant-btn ant-btn-sm" type = " button" >
25
25
<!----><span >改 变</span >
26
26
</button >
27
27
`;
28
28
29
29
exports[`renders ./components/avatar/demo/group.vue correctly 1`] = `
30
- <div class = " ant-avatar-group" ><span class = " ant-avatar ant-avatar-circle ant-avatar-image" ><img src = " https://joeschmoe.io/api/v1/random" ></span ><span style = " background-color: rgb(245, 106, 0);" class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " transform: scale(1) translateX(-50%) ;" >K</span ></span >
30
+ <div class = " ant-avatar-group" ><span class = " ant-avatar ant-avatar-circle ant-avatar-image" ><img src = " https://joeschmoe.io/api/v1/random" ></span ><span style = " background-color: rgb(245, 106, 0);" class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " opacity: 0 ;" >K</span ></span >
31
31
<!----><span style="background-color: rgb(135, 208, 104);" class="ant-avatar ant-avatar-circle ant-avatar-icon"><span role="img" aria-label="user" class="anticon anticon-user"><svg focusable="false" class="" data-icon="user" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"></path></svg></span></span><span style="background-color: rgb(24, 144, 255);" class="ant-avatar ant-avatar-circle ant-avatar-icon"><span role="img" aria-label="user" class="anticon anticon-user"><svg focusable="false" class="" data-icon="user" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"></path></svg></span></span>
32
32
</div >
33
33
<div class = " ant-divider ant-divider-horizontal" role = " separator" >
34
34
<!---->
35
35
</div >
36
- <div class = " ant-avatar-group" ><span class = " ant-avatar ant-avatar-circle ant-avatar-image" ><img src = " https://joeschmoe.io/api/v1/random" ></span ><span style = " background-color: rgb(24, 144, 255);" class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " transform: scale(1) translateX(-50%) ;" >K</span ></span >
37
- <!----><span style = " color: rgb(245, 106, 0); background-color: rgb(253, 227, 207);" class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " transform: scale(1) translateX(-50%) ;" >+2</span ></span >
36
+ <div class = " ant-avatar-group" ><span class = " ant-avatar ant-avatar-circle ant-avatar-image" ><img src = " https://joeschmoe.io/api/v1/random" ></span ><span style = " background-color: rgb(24, 144, 255);" class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " opacity: 0 ;" >K</span ></span >
37
+ <!----><span style = " color: rgb(245, 106, 0); background-color: rgb(253, 227, 207);" class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " opacity: 0 ;" >+2</span ></span >
38
38
</div >
39
39
<div class = " ant-divider ant-divider-horizontal" role = " separator" >
40
40
<!---->
41
41
</div >
42
- <div class = " ant-avatar-group" ><span class = " ant-avatar ant-avatar-lg ant-avatar-circle ant-avatar-image" ><img src = " https://joeschmoe.io/api/v1/random" ></span ><span style = " background-color: rgb(24, 144, 255);" class = " ant-avatar ant-avatar-lg ant-avatar-circle" ><span class = " ant-avatar-string" style = " transform: scale(1) translateX(-50%) ;" >K</span ></span >
43
- <!----><span style = " color: rgb(245, 106, 0); background-color: rgb(253, 227, 207);" class = " ant-avatar ant-avatar-lg ant-avatar-circle" ><span class = " ant-avatar-string" style = " transform: scale(1) translateX(-50%) ;" >+2</span ></span >
42
+ <div class = " ant-avatar-group" ><span class = " ant-avatar ant-avatar-lg ant-avatar-circle ant-avatar-image" ><img src = " https://joeschmoe.io/api/v1/random" ></span ><span style = " background-color: rgb(24, 144, 255);" class = " ant-avatar ant-avatar-lg ant-avatar-circle" ><span class = " ant-avatar-string" style = " opacity: 0 ;" >K</span ></span >
43
+ <!----><span style = " color: rgb(245, 106, 0); background-color: rgb(253, 227, 207);" class = " ant-avatar ant-avatar-lg ant-avatar-circle" ><span class = " ant-avatar-string" style = " opacity: 0 ;" >+2</span ></span >
44
44
</div >
45
45
`;
46
46
47
- exports[`renders ./components/avatar/demo/responsive.vue correctly 1`] = `<span class="ant-avatar ant-avatar-circle ant-avatar-icon" style="width: 24px; height: 24px; line-height: 24px; font-size: 12px;"><span role="img" aria-label="ant-design" class="anticon anticon-ant-design"><svg focusable="false" class="" data-icon="ant-design" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z"></path></svg></span></span>`;
47
+ exports[`renders ./components/avatar/demo/responsive.vue correctly 1`] = `<span class="ant-avatar ant-avatar-circle ant-avatar-icon"><span role="img" aria-label="ant-design" class="anticon anticon-ant-design"><svg focusable="false" class="" data-icon="ant-design" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z"></path></svg></span></span>`;
48
48
49
49
exports[`renders ./components/avatar/demo/type.vue correctly 1`] = `
50
50
<span class = " ant-avatar ant-avatar-circle ant-avatar-icon" ><span role = " img" aria-label = " user" class = " anticon anticon-user" ><svg focusable = " false" class = " " data-icon = " user" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" viewBox = " 64 64 896 896" ><path d = " M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z" ></path ></svg ></span ></span >
51
- <span class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " transform: scale(1) translateX(-50%) ;" >U</span ></span >
52
- <span class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " transform: scale(1) translateX(-50%) ;" >USER</span ></span >
51
+ <span class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " opacity: 0 ;" >U</span ></span >
52
+ <span class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " opacity: 0 ;" >USER</span ></span >
53
53
<span class = " ant-avatar ant-avatar-circle ant-avatar-image" ><img src = " https://joeschmoe.io/api/v1/random" ></span >
54
- <span style = " color: rgb(245, 106, 0); background-color: rgb(253, 227, 207);" class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " transform: scale(1) translateX(-50%) ;" >U</span ></span >
54
+ <span style = " color: rgb(245, 106, 0); background-color: rgb(253, 227, 207);" class = " ant-avatar ant-avatar-circle" ><span class = " ant-avatar-string" style = " opacity: 0 ;" >U</span ></span >
55
55
<span style = " background-color: rgb(135, 208, 104);" class = " ant-avatar ant-avatar-circle ant-avatar-icon" ><span role = " img" aria-label = " user" class = " anticon anticon-user" ><svg focusable = " false" class = " " data-icon = " user" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" viewBox = " 64 64 896 896" ><path d = " M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z" ></path ></svg ></span ></span >
56
56
`;
0 commit comments