File tree Expand file tree Collapse file tree 2 files changed +45
-88
lines changed
packages/pluggableWidgets
progress-circle-native/src/__tests__/__snapshots__ Expand file tree Collapse file tree 2 files changed +45
-88
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ exports[`Popup menu renders 1`] = `
96
96
" overflow" : " hidden" ,
97
97
}
98
98
}
99
+ testID = " popup-menu_menu"
99
100
>
100
101
<View
101
102
accessibilityState = {
@@ -264,6 +265,7 @@ exports[`Popup menu renders custom items 1`] = `
264
265
" overflow" : " hidden" ,
265
266
}
266
267
}
268
+ testID = " popup-menu_menu"
267
269
>
268
270
<View
269
271
accessible = { true }
Original file line number Diff line number Diff line change @@ -17,105 +17,60 @@ exports[`ProgressCircle renders 1`] = `
17
17
}
18
18
testID = " progress-circle-test"
19
19
>
20
- <ARTSurfaceView
20
+ <RNSVGSvgView
21
+ bbHeight = { 100 }
22
+ bbWidth = { 100 }
23
+ collapsable = { false }
24
+ focusable = { false }
25
+ height = { 100 }
21
26
style = {
22
27
[
23
28
{
24
- " transform" : [
25
- {
26
- " rotate" : " 0deg" ,
27
- },
28
- ],
29
+ " backgroundColor" : " transparent" ,
30
+ " borderWidth" : 0 ,
29
31
},
32
+ {},
30
33
{
34
+ " flex" : 0 ,
31
35
" height" : 100 ,
32
36
" width" : 100 ,
33
37
},
34
38
]
35
39
}
40
+ width = { 100 }
36
41
>
37
- <ARTShape
38
- d = {
39
- [
40
- 0 ,
41
- 50 ,
42
- 2.5 ,
43
- 3 ,
44
- 76.23352561696268 ,
45
- 2.5 ,
46
- 97.5 ,
47
- 23.766474383037306 ,
48
- 97.5 ,
49
- 49.99999999999999 ,
50
- 3 ,
51
- 97.5 ,
52
- 76.23352561696268 ,
53
- 76.2335256169627 ,
54
- 97.5 ,
55
- 50.000000000000014 ,
56
- 97.5 ,
57
- ]
58
- }
59
- fill = { null }
60
- opacity = { 1 }
61
- stroke = " #6200ee"
62
- strokeCap = { 2 }
63
- strokeDash = { null }
64
- strokeJoin = { 1 }
65
- strokeWidth = { 3 }
66
- transform = {
67
- [
68
- 1 ,
69
- 0 ,
70
- 0 ,
71
- 1 ,
72
- 0 ,
73
- 0 ,
74
- ]
75
- }
76
- />
77
- <ARTShape
78
- d = {
79
- [
80
- 0 ,
81
- 50 ,
82
- 0.5 ,
83
- 4 ,
84
- 50 ,
85
- 50 ,
86
- 49.5 ,
87
- - 1.5707963267948966 ,
88
- 1.5707963267948966 ,
89
- 1 ,
90
- 4 ,
91
- 50 ,
92
- 50 ,
93
- 49.5 ,
94
- 1.5707963267948966 ,
95
- - 1.5707963267948966 ,
96
- 1 ,
97
- 1 ,
98
- ]
99
- }
100
- fill = { null }
101
- opacity = { 1 }
102
- stroke = " #6200ee"
103
- strokeCap = { 2 }
104
- strokeDash = { null }
105
- strokeJoin = { 1 }
106
- strokeWidth = { 1 }
107
- transform = {
108
- [
109
- 1 ,
110
- 0 ,
111
- 0 ,
112
- 1 ,
113
- 0 ,
114
- 0 ,
115
- ]
116
- }
117
- />
118
- </ARTSurfaceView >
42
+ <RNSVGGroup >
43
+ <RNSVGPath
44
+ d = " M50 2.5
45
+ A47.5 47.5 0 0 1 50.00000000000001 97.5"
46
+ propList = {
47
+ [
48
+ " stroke" ,
49
+ " strokeWidth" ,
50
+ " strokeLinecap" ,
51
+ ]
52
+ }
53
+ stroke = { - 10354450 }
54
+ strokeLinecap = { 2 }
55
+ strokeWidth = { 3 }
56
+ />
57
+ <RNSVGPath
58
+ d = " M50 0.5
59
+ a49.5 49.5 0 0 1 0 99
60
+ a49.5 49.5 0 0 1 0 -99"
61
+ propList = {
62
+ [
63
+ " stroke" ,
64
+ " strokeWidth" ,
65
+ " strokeLinecap" ,
66
+ ]
67
+ }
68
+ stroke = { - 10354450 }
69
+ strokeLinecap = { 2 }
70
+ strokeWidth = { 1 }
71
+ />
72
+ </RNSVGGroup >
73
+ </RNSVGSvgView >
119
74
<View
120
75
style = {
121
76
{
You can’t perform that action at this time.
0 commit comments