File tree Expand file tree Collapse file tree 6 files changed +8
-16
lines changed
dropdown/__tests__/__snapshots__ Expand file tree Collapse file tree 6 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ exports[`renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
14
14
<div class = " ant-btn-group ant-dropdown-button" ><button type = " button" class = " ant-btn ant-btn-default" ><span >Dropdown</span ></button ><button type = " button" class = " ant-btn ant-btn-default ant-dropdown-trigger" ><i class = " anticon anticon-ellipsis" ><svg viewBox = " 64 64 896 896" data-icon = " ellipsis" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
15
15
<path d = " M176 511a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0z" ></path >
16
16
</svg ></i ></button ></div >
17
- <div class = " ant-btn-group ant-dropdown-button" style = " margin-left: 8px;" ><button disabled = " disabled" type = " button" class = " ant-btn ant-btn-default" ><span >Dropdown</span ></button ><button type = " button" class = " ant-btn ant-btn-default ant-dropdown-trigger" ><i class = " anticon anticon-ellipsis" ><svg viewBox = " 64 64 896 896" data-icon = " ellipsis" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
17
+ <div class = " ant-btn-group ant-dropdown-button" style = " margin-left: 8px;" ><button disabled = " disabled" type = " button" class = " ant-btn ant-btn-default" ><span >Dropdown</span ></button ><button disabled = " disabled " type = " button" class = " ant-btn ant-btn-default ant-dropdown-trigger" ><i class = " anticon anticon-ellipsis" ><svg viewBox = " 64 64 896 896" data-icon = " ellipsis" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
18
18
<path d = " M176 511a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0z" ></path >
19
19
</svg ></i ></button ></div > <button type = " button" class = " ant-btn ant-btn-default ant-dropdown-trigger" style = " margin-left: 8px;" ><span >Button</span ><i class = " anticon anticon-down" ><svg viewBox = " 64 64 896 896" data-icon = " down" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
20
20
<path d = " M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" ></path >
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ describe('TextArea', () => {
43
43
44
44
await asyncExpect ( ( ) => {
45
45
expect ( mockFunc ) . toHaveBeenCalledTimes ( 2 ) ;
46
- } , 0 ) ;
46
+ } , 100 ) ;
47
47
} ) ;
48
48
49
49
it ( 'should support disabled' , async ( ) => {
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ exports[`renders ./components/timeline/demo/custom.md correctly 1`] = `
117
117
</li >
118
118
<li class = " ant-timeline-item" >
119
119
<div class = " ant-timeline-item-tail" ></div >
120
- <div class = " ant-timeline-item-head ant-timeline-item-head-custom ant-timeline-item-head-red" ><i class = " anticon anticon-clock-circle-o" style = " font-size: ' 16px' ;" ><svg viewBox = " 64 64 896 896" data-icon = " clock-circle" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
120
+ <div class = " ant-timeline-item-head ant-timeline-item-head-custom ant-timeline-item-head-red" ><i class = " anticon anticon-clock-circle-o" style = " font-size: 16px;" ><svg viewBox = " 64 64 896 896" data-icon = " clock-circle" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
121
121
<path d = " M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" ></path >
122
122
<path d = " M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" ></path >
123
123
</svg ></i ></div >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Set a node as an icon or other custom element.
14
14
<a-timeline-item >Create a services site 2015-09-01</a-timeline-item >
15
15
<a-timeline-item >Solve initial network problems 2015-09-01</a-timeline-item >
16
16
<a-timeline-item color =" red" >
17
- <a-icon slot =" dot" type =" clock-circle-o" style =" fontSize : ' 16px' " />
17
+ <a-icon slot =" dot" type =" clock-circle-o" style =" font-size : 16px ; " />
18
18
Technical testing 2015-09-01
19
19
</a-timeline-item >
20
20
<a-timeline-item >Network problems being solved 2015-09-01</a-timeline-item >
Original file line number Diff line number Diff line change @@ -110,9 +110,7 @@ export default {
110
110
if ( settings . centerMode ) {
111
111
if ( settings . slidesToScroll > 1 && process . env . NODE_ENV !== 'production' ) {
112
112
console . warn (
113
- `slidesToScroll should be equal to 1 in centerMode, you are using ${
114
- settings . slidesToScroll
115
- } `,
113
+ `slidesToScroll should be equal to 1 in centerMode, you are using ${ settings . slidesToScroll } ` ,
116
114
) ;
117
115
}
118
116
settings . slidesToScroll = 1 ;
@@ -121,16 +119,12 @@ export default {
121
119
if ( settings . fade ) {
122
120
if ( settings . slidesToShow > 1 && process . env . NODE_ENV !== 'production' ) {
123
121
console . warn (
124
- `slidesToShow should be equal to 1 when fade is true, you're using ${
125
- settings . slidesToShow
126
- } `,
122
+ `slidesToShow should be equal to 1 when fade is true, you're using ${ settings . slidesToShow } ` ,
127
123
) ;
128
124
}
129
125
if ( settings . slidesToScroll > 1 && process . env . NODE_ENV !== 'production' ) {
130
126
console . warn (
131
- `slidesToScroll should be equal to 1 when fade is true, you're using ${
132
- settings . slidesToScroll
133
- } `,
127
+ `slidesToScroll should be equal to 1 when fade is true, you're using ${ settings . slidesToScroll } ` ,
134
128
) ;
135
129
}
136
130
settings . slidesToShow = 1 ;
Original file line number Diff line number Diff line change @@ -385,9 +385,7 @@ function processEntity(entity, wrapper) {
385
385
if ( currentEntity ) {
386
386
warning (
387
387
false ,
388
- `Conflict! value of node '${ entity . key } ' (${ value } ) has already used by node '${
389
- currentEntity . key
390
- } '.`,
388
+ `Conflict! value of node '${ entity . key } ' (${ value } ) has already used by node '${ currentEntity . key } '.` ,
391
389
) ;
392
390
}
393
391
wrapper . valueEntities [ value ] = entity ;
You can’t perform that action at this time.
0 commit comments