-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTransformWebForReScript.bs.js.snap
232 lines (214 loc) · 14.5 KB
/
TransformWebForReScript.bs.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`clean & minimal svg all options 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 30 30\\" ?width ?height ?fill ?stroke ?style> <path d=\\"m15 3c-6.627 0-12 5.373-12 12 0 5.623 3.872 10.328 9.092 11.63-.056-.162-.092-.35-.092-.583v-2.051c-.487 0-1.303 0-1.508 0-.821 0-1.551-.353-1.905-1.009-.393-.729-.461-1.844-1.435-2.526-.289-.227-.069-.486.264-.451.615.174 1.125.596 1.605 1.222.478.627.703.769 1.596.769.433 0 1.081-.025 1.691-.121.328-.833.895-1.6 1.588-1.962-3.996-.411-5.903-2.399-5.903-5.098 0-1.162.495-2.286 1.336-3.233-.276-.94-.623-2.857.106-3.587 1.798 0 2.885 1.166 3.146 1.481.896-.307 1.88-.481 2.914-.481 1.036 0 2.024.174 2.922.483.258-.313 1.346-1.483 3.148-1.483.732.731.381 2.656.102 3.594.836.945 1.328 2.066 1.328 3.226 0 2.697-1.904 4.684-5.894 5.097 1.098.573 1.899 2.183 1.899 3.396v2.734c0 .104-.023.179-.035.268 4.676-1.639 8.035-6.079 8.035-11.315 0-6.627-5.373-12-12-12z\\"/> </svg>;
"
`;
exports[`clean & minimal svg remove-fill 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 30 30\\" ?width ?height ?fill ?stroke ?style> <path d=\\"m15 3c-6.627 0-12 5.373-12 12 0 5.623 3.872 10.328 9.092 11.63-.056-.162-.092-.35-.092-.583v-2.051c-.487 0-1.303 0-1.508 0-.821 0-1.551-.353-1.905-1.009-.393-.729-.461-1.844-1.435-2.526-.289-.227-.069-.486.264-.451.615.174 1.125.596 1.605 1.222.478.627.703.769 1.596.769.433 0 1.081-.025 1.691-.121.328-.833.895-1.6 1.588-1.962-3.996-.411-5.903-2.399-5.903-5.098 0-1.162.495-2.286 1.336-3.233-.276-.94-.623-2.857.106-3.587 1.798 0 2.885 1.166 3.146 1.481.896-.307 1.88-.481 2.914-.481 1.036 0 2.024.174 2.922.483.258-.313 1.346-1.483 3.148-1.483.732.731.381 2.656.102 3.594.836.945 1.328 2.066 1.328 3.226 0 2.697-1.904 4.684-5.894 5.097 1.098.573 1.899 2.183 1.899 3.396v2.734c0 .104-.023.179-.035.268 4.676-1.639 8.035-6.079 8.035-11.315 0-6.627-5.373-12-12-12z\\"/> </svg>;
"
`;
exports[`clean & minimal svg remove-stroke 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 30 30\\" ?width ?height ?fill ?stroke ?style> <path d=\\"m15 3c-6.627 0-12 5.373-12 12 0 5.623 3.872 10.328 9.092 11.63-.056-.162-.092-.35-.092-.583v-2.051c-.487 0-1.303 0-1.508 0-.821 0-1.551-.353-1.905-1.009-.393-.729-.461-1.844-1.435-2.526-.289-.227-.069-.486.264-.451.615.174 1.125.596 1.605 1.222.478.627.703.769 1.596.769.433 0 1.081-.025 1.691-.121.328-.833.895-1.6 1.588-1.962-3.996-.411-5.903-2.399-5.903-5.098 0-1.162.495-2.286 1.336-3.233-.276-.94-.623-2.857.106-3.587 1.798 0 2.885 1.166 3.146 1.481.896-.307 1.88-.481 2.914-.481 1.036 0 2.024.174 2.922.483.258-.313 1.346-1.483 3.148-1.483.732.731.381 2.656.102 3.594.836.945 1.328 2.066 1.328 3.226 0 2.697-1.904 4.684-5.894 5.097 1.098.573 1.899 2.183 1.899 3.396v2.734c0 .104-.023.179-.035.268 4.676-1.639 8.035-6.079 8.035-11.315 0-6.627-5.373-12-12-12z\\"/> </svg>;
"
`;
exports[`edge case width svg all options 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 512 512\\" ?width ?height ?fill ?stroke ?style> <path d=\\"M336 192h40a40 40 0 0140 40v192a40 40 0 01-40 40H136a40 40 0 01-40-40V232a40 40 0 0140-40h40M336 128l-80-80-80 80M256 321V48\\"/> </svg>
;
"
`;
exports[`edge case width svg remove-fill 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 512 512\\" ?width ?height ?fill ?stroke ?style> <path d=\\"M336 192h40a40 40 0 0140 40v192a40 40 0 01-40 40H136a40 40 0 01-40-40V232a40 40 0 0140-40h40M336 128l-80-80-80 80M256 321V48\\"/> </svg>
;
"
`;
exports[`edge case width svg remove-stroke 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 512 512\\" ?width ?height ?fill ?stroke ?style> <path d=\\"M336 192h40a40 40 0 0140 40v192a40 40 0 01-40 40H136a40 40 0 01-40-40V232a40 40 0 0140-40h40M336 128l-80-80-80 80M256 321V48\\"/> </svg>
;
"
`;
exports[`simple svg all options 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 512 512\\" ?width ?height ?fill ?stroke ?style> <path d=\\"M336 192h40a40 40 0 0140 40v192a40 40 0 01-40 40H136a40 40 0 01-40-40V232a40 40 0 0140-40h40M336 128l-80-80-80 80M256 321V48\\" strokeLinecap=\\"round\\" strokeLinejoin=\\"round\\" strokeWidth=\\"32\\" opacity=\\"0\\" opacity=\\"0.1\\" /> </svg>
;
"
`;
exports[`simple svg remove-fill 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 512 512\\" ?width ?height ?fill ?stroke ?style> <path d=\\"M336 192h40a40 40 0 0140 40v192a40 40 0 01-40 40H136a40 40 0 01-40-40V232a40 40 0 0140-40h40M336 128l-80-80-80 80M256 321V48\\" stroke=\\"#000\\" strokeLinecap=\\"round\\" strokeLinejoin=\\"round\\" strokeWidth=\\"32\\" opacity=\\"0\\" opacity=\\"0.1\\" /> </svg>
;
"
`;
exports[`simple svg remove-stroke 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 512 512\\" ?width ?height ?fill ?stroke ?style> <path d=\\"M336 192h40a40 40 0 0140 40v192a40 40 0 01-40 40H136a40 40 0 01-40-40V232a40 40 0 0140-40h40M336 128l-80-80-80 80M256 321V48\\" fill=\\"none\\" strokeLinecap=\\"round\\" strokeLinejoin=\\"round\\" strokeWidth=\\"32\\" opacity=\\"0\\" opacity=\\"0.1\\" /> </svg>
;
"
`;
exports[`sketch export all options 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) =>
<svg viewBox=\\"0 0 97 171\\" ?width ?height ?fill ?stroke ?style> <g id=\\"Page-1\\" strokeWidth=\\"1\\" fillRule=\\"evenodd\\"> <path d=\\"M9.7890625,170.355469 C12.328125,170.355469 14.4765625,169.378906 16.1367188,167.71875 L93.578125,92.0351562 C95.4335938,90.1796875 96.4101562,87.9335938 96.4101562,85.4921875 C96.4101562,82.953125 95.4335938,80.609375 93.578125,78.9492188 L16.234375,3.36328125 C14.4765625,1.60546875 12.328125,0.62890625 9.7890625,0.62890625 C4.7109375,0.62890625 0.90234375,4.53515625 0.90234375,9.61328125 C0.90234375,11.9570312 1.87890625,14.3007813 3.44140625,15.9609375 L74.5351562,85.4921875 L3.44140625,155.023438 C1.87890625,156.683594 0.90234375,158.929688 0.90234375,161.371094 C0.90234375,166.449219 4.7109375,170.355469 9.7890625,170.355469 Z\\" id=\\"chevron\\" fillRule=\\"nonzero\\"> </path> </g> </svg>
;
"
`;
exports[`sketch export remove-fill 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) =>
<svg viewBox=\\"0 0 97 171\\" ?width ?height ?fill ?stroke ?style> <g id=\\"Page-1\\" stroke=\\"none\\" strokeWidth=\\"1\\" fillRule=\\"evenodd\\"> <path d=\\"M9.7890625,170.355469 C12.328125,170.355469 14.4765625,169.378906 16.1367188,167.71875 L93.578125,92.0351562 C95.4335938,90.1796875 96.4101562,87.9335938 96.4101562,85.4921875 C96.4101562,82.953125 95.4335938,80.609375 93.578125,78.9492188 L16.234375,3.36328125 C14.4765625,1.60546875 12.328125,0.62890625 9.7890625,0.62890625 C4.7109375,0.62890625 0.90234375,4.53515625 0.90234375,9.61328125 C0.90234375,11.9570312 1.87890625,14.3007813 3.44140625,15.9609375 L74.5351562,85.4921875 L3.44140625,155.023438 C1.87890625,156.683594 0.90234375,158.929688 0.90234375,161.371094 C0.90234375,166.449219 4.7109375,170.355469 9.7890625,170.355469 Z\\" id=\\"chevron\\" fillRule=\\"nonzero\\"> </path> </g> </svg>
;
"
`;
exports[`sketch export remove-stroke 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) =>
<svg viewBox=\\"0 0 97 171\\" ?width ?height ?fill ?stroke ?style> <g id=\\"Page-1\\" strokeWidth=\\"1\\" fill=\\"none\\" fillRule=\\"evenodd\\"> <path d=\\"M9.7890625,170.355469 C12.328125,170.355469 14.4765625,169.378906 16.1367188,167.71875 L93.578125,92.0351562 C95.4335938,90.1796875 96.4101562,87.9335938 96.4101562,85.4921875 C96.4101562,82.953125 95.4335938,80.609375 93.578125,78.9492188 L16.234375,3.36328125 C14.4765625,1.60546875 12.328125,0.62890625 9.7890625,0.62890625 C4.7109375,0.62890625 0.90234375,4.53515625 0.90234375,9.61328125 C0.90234375,11.9570312 1.87890625,14.3007813 3.44140625,15.9609375 L74.5351562,85.4921875 L3.44140625,155.023438 C1.87890625,156.683594 0.90234375,158.929688 0.90234375,161.371094 C0.90234375,166.449219 4.7109375,170.355469 9.7890625,170.355469 Z\\" id=\\"chevron\\" fill=\\"#000000\\" fillRule=\\"nonzero\\"> </path> </g> </svg>
;
"
`;
exports[`with fill all options 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 30 30\\" ?width ?height ?fill ?stroke ?style> <g fillRule=\\"evenodd\\"> <path d=\\"m0 0h30v30h-30z\\"/> <path d=\\"m10.2955556 11.5277778h-3.39250004l-1.67166667-3.17944447h-2.22888889v3.17944447h-2.99916667v-11.48861113h5.1625c3.04833334 0 4.78555556 1.475 4.78555556 4.03166666 0 1.73722223-.72111111 3.01555556-2.04861111 3.70388889zm-7.2930556-9.09583336v3.52361112h2.17972222c1.21277778 0 1.9175-.62277778 1.9175-1.78638889 0-1.13083334-.70472222-1.73722223-1.9175-1.73722223zm8.8663889-2.39277777h9.0630555v2.39277777h-6.0638888v2.14694445h5.4738888v2.37638889l-5.4738888.01638889v2.16333333h6.2277777v2.3927778h-9.2269444z\\" fillRule=\\"nonzero\\" transform=\\"translate(7.5 15.833333)\\"/> </g> </svg>;
"
`;
exports[`with fill remove-fill 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 30 30\\" ?width ?height ?fill ?stroke ?style> <g fillRule=\\"evenodd\\"> <path d=\\"m0 0h30v30h-30z\\"/> <path d=\\"m10.2955556 11.5277778h-3.39250004l-1.67166667-3.17944447h-2.22888889v3.17944447h-2.99916667v-11.48861113h5.1625c3.04833334 0 4.78555556 1.475 4.78555556 4.03166666 0 1.73722223-.72111111 3.01555556-2.04861111 3.70388889zm-7.2930556-9.09583336v3.52361112h2.17972222c1.21277778 0 1.9175-.62277778 1.9175-1.78638889 0-1.13083334-.70472222-1.73722223-1.9175-1.73722223zm8.8663889-2.39277777h9.0630555v2.39277777h-6.0638888v2.14694445h5.4738888v2.37638889l-5.4738888.01638889v2.16333333h6.2277777v2.3927778h-9.2269444z\\" fillRule=\\"nonzero\\" transform=\\"translate(7.5 15.833333)\\"/> </g> </svg>;
"
`;
exports[`with fill remove-stroke 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 30 30\\" ?width ?height ?fill ?stroke ?style> <g fill=\\"none\\" fillRule=\\"evenodd\\"> <path d=\\"m0 0h30v30h-30z\\" fill=\\"#dd4b39\\"/> <path d=\\"m10.2955556 11.5277778h-3.39250004l-1.67166667-3.17944447h-2.22888889v3.17944447h-2.99916667v-11.48861113h5.1625c3.04833334 0 4.78555556 1.475 4.78555556 4.03166666 0 1.73722223-.72111111 3.01555556-2.04861111 3.70388889zm-7.2930556-9.09583336v3.52361112h2.17972222c1.21277778 0 1.9175-.62277778 1.9175-1.78638889 0-1.13083334-.70472222-1.73722223-1.9175-1.73722223zm8.8663889-2.39277777h9.0630555v2.39277777h-6.0638888v2.14694445h5.4738888v2.37638889l-5.4738888.01638889v2.16333333h6.2277777v2.3927778h-9.2269444z\\" fill=\\"#fff\\" fillRule=\\"nonzero\\" transform=\\"translate(7.5 15.833333)\\"/> </g> </svg>;
"
`;
exports[`with stroke all options 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 512 512\\" ?width ?height ?fill ?stroke ?style> <path d=\\"M256,160c16-63.16,76.43-95.41,208-96a15.94,15.94,0,0,1,16,16V368a16,16,0,0,1-16,16c-128,0-177.45,25.81-208,64-30.37-38-80-64-208-64-9.88,0-16-8.05-16-17.93V80A15.94,15.94,0,0,1,48,64C179.57,64.59,240,96.84,256,160Z\\" strokeLinecap=\\"round\\" strokeLinejoin=\\"round\\" strokeWidth=\\"32px\\"/> <line x1=\\"256\\" y1=\\"160\\" x2=\\"256\\" y2=\\"448\\" strokeLinecap=\\"round\\" strokeLinejoin=\\"round\\" strokeWidth=\\"32px\\"/> </svg>
;
"
`;
exports[`with stroke remove-fill 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 512 512\\" ?width ?height ?fill ?stroke ?style> <path d=\\"M256,160c16-63.16,76.43-95.41,208-96a15.94,15.94,0,0,1,16,16V368a16,16,0,0,1-16,16c-128,0-177.45,25.81-208,64-30.37-38-80-64-208-64-9.88,0-16-8.05-16-17.93V80A15.94,15.94,0,0,1,48,64C179.57,64.59,240,96.84,256,160Z\\" stroke=\\"#000\\" strokeLinecap=\\"round\\" strokeLinejoin=\\"round\\" strokeWidth=\\"32px\\"/> <line x1=\\"256\\" y1=\\"160\\" x2=\\"256\\" y2=\\"448\\" stroke=\\"#000\\" strokeLinecap=\\"round\\" strokeLinejoin=\\"round\\" strokeWidth=\\"32px\\"/> </svg>
;
"
`;
exports[`with stroke remove-stroke 1`] = `
"@react.component
let make = (
~width: option<string>=?,
~height: option<string>=?,
~fill: option<string>=?,
~stroke: option<string>=?,
~style: option<Style.t>=?,
) => <svg viewBox=\\"0 0 512 512\\" ?width ?height ?fill ?stroke ?style> <path d=\\"M256,160c16-63.16,76.43-95.41,208-96a15.94,15.94,0,0,1,16,16V368a16,16,0,0,1-16,16c-128,0-177.45,25.81-208,64-30.37-38-80-64-208-64-9.88,0-16-8.05-16-17.93V80A15.94,15.94,0,0,1,48,64C179.57,64.59,240,96.84,256,160Z\\" fill=\\"none\\" strokeLinecap=\\"round\\" strokeLinejoin=\\"round\\" strokeWidth=\\"32px\\"/> <line x1=\\"256\\" y1=\\"160\\" x2=\\"256\\" y2=\\"448\\" fill=\\"none\\" strokeLinecap=\\"round\\" strokeLinejoin=\\"round\\" strokeWidth=\\"32px\\"/> </svg>
;
"
`;