forgecss 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.min.js +1 -1
- package/dist/standalone.min.js +32 -0
- package/{standalone/forgecss.js → index.browser.js} +30 -15
- package/index.d.ts +1 -0
- package/{standalone/client.js → index.fx.js} +11 -9
- package/index.js +7 -10
- package/lib/constants.js +9 -0
- package/lib/helpers.js +1 -1
- package/lib/inventory.js +7 -0
- package/lib/usages.js +14 -9
- package/package.json +3 -5
- package/scripts/build.js +3 -6
- package/ast.json +0 -1148
- package/dist/forgecss.min.js +0 -31
- /package/{cli.js → index.cli.js} +0 -0
package/ast.json
DELETED
|
@@ -1,1148 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "Module",
|
|
3
|
-
"span": {
|
|
4
|
-
"start": 1,
|
|
5
|
-
"end": 642
|
|
6
|
-
},
|
|
7
|
-
"body": [
|
|
8
|
-
{
|
|
9
|
-
"type": "ImportDeclaration",
|
|
10
|
-
"span": {
|
|
11
|
-
"start": 1,
|
|
12
|
-
"end": 27
|
|
13
|
-
},
|
|
14
|
-
"specifiers": [
|
|
15
|
-
{
|
|
16
|
-
"type": "ImportDefaultSpecifier",
|
|
17
|
-
"span": {
|
|
18
|
-
"start": 8,
|
|
19
|
-
"end": 13
|
|
20
|
-
},
|
|
21
|
-
"local": {
|
|
22
|
-
"type": "Identifier",
|
|
23
|
-
"span": {
|
|
24
|
-
"start": 8,
|
|
25
|
-
"end": 13
|
|
26
|
-
},
|
|
27
|
-
"ctxt": 2,
|
|
28
|
-
"value": "React",
|
|
29
|
-
"optional": false
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"source": {
|
|
34
|
-
"type": "StringLiteral",
|
|
35
|
-
"span": {
|
|
36
|
-
"start": 19,
|
|
37
|
-
"end": 26
|
|
38
|
-
},
|
|
39
|
-
"value": "react",
|
|
40
|
-
"raw": "'react'"
|
|
41
|
-
},
|
|
42
|
-
"typeOnly": false,
|
|
43
|
-
"with": null,
|
|
44
|
-
"phase": "evaluation"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"type": "ImportDeclaration",
|
|
48
|
-
"span": {
|
|
49
|
-
"start": 28,
|
|
50
|
-
"end": 61
|
|
51
|
-
},
|
|
52
|
-
"specifiers": [
|
|
53
|
-
{
|
|
54
|
-
"type": "ImportSpecifier",
|
|
55
|
-
"span": {
|
|
56
|
-
"start": 37,
|
|
57
|
-
"end": 39
|
|
58
|
-
},
|
|
59
|
-
"local": {
|
|
60
|
-
"type": "Identifier",
|
|
61
|
-
"span": {
|
|
62
|
-
"start": 37,
|
|
63
|
-
"end": 39
|
|
64
|
-
},
|
|
65
|
-
"ctxt": 2,
|
|
66
|
-
"value": "fx",
|
|
67
|
-
"optional": false
|
|
68
|
-
},
|
|
69
|
-
"imported": null,
|
|
70
|
-
"isTypeOnly": false
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"source": {
|
|
74
|
-
"type": "StringLiteral",
|
|
75
|
-
"span": {
|
|
76
|
-
"start": 47,
|
|
77
|
-
"end": 60
|
|
78
|
-
},
|
|
79
|
-
"value": "forgecss/fx",
|
|
80
|
-
"raw": "'forgecss/fx'"
|
|
81
|
-
},
|
|
82
|
-
"typeOnly": false,
|
|
83
|
-
"with": null,
|
|
84
|
-
"phase": "evaluation"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"type": "ExportDefaultDeclaration",
|
|
88
|
-
"span": {
|
|
89
|
-
"start": 63,
|
|
90
|
-
"end": 642
|
|
91
|
-
},
|
|
92
|
-
"decl": {
|
|
93
|
-
"type": "FunctionExpression",
|
|
94
|
-
"identifier": {
|
|
95
|
-
"type": "Identifier",
|
|
96
|
-
"span": {
|
|
97
|
-
"start": 87,
|
|
98
|
-
"end": 90
|
|
99
|
-
},
|
|
100
|
-
"ctxt": 2,
|
|
101
|
-
"value": "App",
|
|
102
|
-
"optional": false
|
|
103
|
-
},
|
|
104
|
-
"params": [
|
|
105
|
-
{
|
|
106
|
-
"type": "Parameter",
|
|
107
|
-
"span": {
|
|
108
|
-
"start": 91,
|
|
109
|
-
"end": 128
|
|
110
|
-
},
|
|
111
|
-
"decorators": [],
|
|
112
|
-
"pat": {
|
|
113
|
-
"type": "ObjectPattern",
|
|
114
|
-
"span": {
|
|
115
|
-
"start": 91,
|
|
116
|
-
"end": 128
|
|
117
|
-
},
|
|
118
|
-
"properties": [
|
|
119
|
-
{
|
|
120
|
-
"type": "AssignmentPatternProperty",
|
|
121
|
-
"span": {
|
|
122
|
-
"start": 93,
|
|
123
|
-
"end": 102
|
|
124
|
-
},
|
|
125
|
-
"key": {
|
|
126
|
-
"type": "Identifier",
|
|
127
|
-
"span": {
|
|
128
|
-
"start": 93,
|
|
129
|
-
"end": 102
|
|
130
|
-
},
|
|
131
|
-
"ctxt": 3,
|
|
132
|
-
"value": "className",
|
|
133
|
-
"optional": false,
|
|
134
|
-
"typeAnnotation": null
|
|
135
|
-
},
|
|
136
|
-
"value": null
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"optional": false,
|
|
140
|
-
"typeAnnotation": {
|
|
141
|
-
"type": "TsTypeAnnotation",
|
|
142
|
-
"span": {
|
|
143
|
-
"start": 104,
|
|
144
|
-
"end": 128
|
|
145
|
-
},
|
|
146
|
-
"typeAnnotation": {
|
|
147
|
-
"type": "TsTypeLiteral",
|
|
148
|
-
"span": {
|
|
149
|
-
"start": 106,
|
|
150
|
-
"end": 128
|
|
151
|
-
},
|
|
152
|
-
"members": [
|
|
153
|
-
{
|
|
154
|
-
"type": "TsPropertySignature",
|
|
155
|
-
"span": {
|
|
156
|
-
"start": 108,
|
|
157
|
-
"end": 126
|
|
158
|
-
},
|
|
159
|
-
"readonly": false,
|
|
160
|
-
"key": {
|
|
161
|
-
"type": "Identifier",
|
|
162
|
-
"span": {
|
|
163
|
-
"start": 108,
|
|
164
|
-
"end": 117
|
|
165
|
-
},
|
|
166
|
-
"ctxt": 0,
|
|
167
|
-
"value": "className",
|
|
168
|
-
"optional": false
|
|
169
|
-
},
|
|
170
|
-
"computed": false,
|
|
171
|
-
"optional": true,
|
|
172
|
-
"typeAnnotation": {
|
|
173
|
-
"type": "TsTypeAnnotation",
|
|
174
|
-
"span": {
|
|
175
|
-
"start": 118,
|
|
176
|
-
"end": 126
|
|
177
|
-
},
|
|
178
|
-
"typeAnnotation": {
|
|
179
|
-
"type": "TsKeywordType",
|
|
180
|
-
"span": {
|
|
181
|
-
"start": 120,
|
|
182
|
-
"end": 126
|
|
183
|
-
},
|
|
184
|
-
"kind": "string"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
]
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
"decorators": [],
|
|
195
|
-
"span": {
|
|
196
|
-
"start": 78,
|
|
197
|
-
"end": 642
|
|
198
|
-
},
|
|
199
|
-
"ctxt": 3,
|
|
200
|
-
"body": {
|
|
201
|
-
"type": "BlockStatement",
|
|
202
|
-
"span": {
|
|
203
|
-
"start": 130,
|
|
204
|
-
"end": 642
|
|
205
|
-
},
|
|
206
|
-
"ctxt": 3,
|
|
207
|
-
"stmts": [
|
|
208
|
-
{
|
|
209
|
-
"type": "VariableDeclaration",
|
|
210
|
-
"span": {
|
|
211
|
-
"start": 134,
|
|
212
|
-
"end": 152
|
|
213
|
-
},
|
|
214
|
-
"ctxt": 0,
|
|
215
|
-
"kind": "const",
|
|
216
|
-
"declare": false,
|
|
217
|
-
"declarations": [
|
|
218
|
-
{
|
|
219
|
-
"type": "VariableDeclarator",
|
|
220
|
-
"span": {
|
|
221
|
-
"start": 140,
|
|
222
|
-
"end": 151
|
|
223
|
-
},
|
|
224
|
-
"id": {
|
|
225
|
-
"type": "Identifier",
|
|
226
|
-
"span": {
|
|
227
|
-
"start": 140,
|
|
228
|
-
"end": 143
|
|
229
|
-
},
|
|
230
|
-
"ctxt": 3,
|
|
231
|
-
"value": "foo",
|
|
232
|
-
"optional": false,
|
|
233
|
-
"typeAnnotation": null
|
|
234
|
-
},
|
|
235
|
-
"init": {
|
|
236
|
-
"type": "StringLiteral",
|
|
237
|
-
"span": {
|
|
238
|
-
"start": 146,
|
|
239
|
-
"end": 151
|
|
240
|
-
},
|
|
241
|
-
"value": "bar",
|
|
242
|
-
"raw": "'bar'"
|
|
243
|
-
},
|
|
244
|
-
"definite": false
|
|
245
|
-
}
|
|
246
|
-
]
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"type": "VariableDeclaration",
|
|
250
|
-
"span": {
|
|
251
|
-
"start": 155,
|
|
252
|
-
"end": 174
|
|
253
|
-
},
|
|
254
|
-
"ctxt": 0,
|
|
255
|
-
"kind": "const",
|
|
256
|
-
"declare": false,
|
|
257
|
-
"declarations": [
|
|
258
|
-
{
|
|
259
|
-
"type": "VariableDeclarator",
|
|
260
|
-
"span": {
|
|
261
|
-
"start": 161,
|
|
262
|
-
"end": 173
|
|
263
|
-
},
|
|
264
|
-
"id": {
|
|
265
|
-
"type": "Identifier",
|
|
266
|
-
"span": {
|
|
267
|
-
"start": 161,
|
|
268
|
-
"end": 166
|
|
269
|
-
},
|
|
270
|
-
"ctxt": 3,
|
|
271
|
-
"value": "flagA",
|
|
272
|
-
"optional": false,
|
|
273
|
-
"typeAnnotation": null
|
|
274
|
-
},
|
|
275
|
-
"init": {
|
|
276
|
-
"type": "BooleanLiteral",
|
|
277
|
-
"span": {
|
|
278
|
-
"start": 169,
|
|
279
|
-
"end": 173
|
|
280
|
-
},
|
|
281
|
-
"value": true
|
|
282
|
-
},
|
|
283
|
-
"definite": false
|
|
284
|
-
}
|
|
285
|
-
]
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"type": "VariableDeclaration",
|
|
289
|
-
"span": {
|
|
290
|
-
"start": 177,
|
|
291
|
-
"end": 197
|
|
292
|
-
},
|
|
293
|
-
"ctxt": 0,
|
|
294
|
-
"kind": "const",
|
|
295
|
-
"declare": false,
|
|
296
|
-
"declarations": [
|
|
297
|
-
{
|
|
298
|
-
"type": "VariableDeclarator",
|
|
299
|
-
"span": {
|
|
300
|
-
"start": 183,
|
|
301
|
-
"end": 196
|
|
302
|
-
},
|
|
303
|
-
"id": {
|
|
304
|
-
"type": "Identifier",
|
|
305
|
-
"span": {
|
|
306
|
-
"start": 183,
|
|
307
|
-
"end": 188
|
|
308
|
-
},
|
|
309
|
-
"ctxt": 3,
|
|
310
|
-
"value": "flagB",
|
|
311
|
-
"optional": false,
|
|
312
|
-
"typeAnnotation": null
|
|
313
|
-
},
|
|
314
|
-
"init": {
|
|
315
|
-
"type": "BooleanLiteral",
|
|
316
|
-
"span": {
|
|
317
|
-
"start": 191,
|
|
318
|
-
"end": 196
|
|
319
|
-
},
|
|
320
|
-
"value": false
|
|
321
|
-
},
|
|
322
|
-
"definite": false
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"type": "ReturnStatement",
|
|
328
|
-
"span": {
|
|
329
|
-
"start": 201,
|
|
330
|
-
"end": 640
|
|
331
|
-
},
|
|
332
|
-
"argument": {
|
|
333
|
-
"type": "ParenthesisExpression",
|
|
334
|
-
"span": {
|
|
335
|
-
"start": 208,
|
|
336
|
-
"end": 639
|
|
337
|
-
},
|
|
338
|
-
"expression": {
|
|
339
|
-
"type": "JSXElement",
|
|
340
|
-
"span": {
|
|
341
|
-
"start": 214,
|
|
342
|
-
"end": 635
|
|
343
|
-
},
|
|
344
|
-
"opening": {
|
|
345
|
-
"type": "JSXOpeningElement",
|
|
346
|
-
"name": {
|
|
347
|
-
"type": "Identifier",
|
|
348
|
-
"span": {
|
|
349
|
-
"start": 215,
|
|
350
|
-
"end": 219
|
|
351
|
-
},
|
|
352
|
-
"ctxt": 1,
|
|
353
|
-
"value": "main",
|
|
354
|
-
"optional": false
|
|
355
|
-
},
|
|
356
|
-
"span": {
|
|
357
|
-
"start": 214,
|
|
358
|
-
"end": 220
|
|
359
|
-
},
|
|
360
|
-
"attributes": [],
|
|
361
|
-
"selfClosing": false,
|
|
362
|
-
"typeArguments": null
|
|
363
|
-
},
|
|
364
|
-
"children": [
|
|
365
|
-
{
|
|
366
|
-
"type": "JSXText",
|
|
367
|
-
"span": {
|
|
368
|
-
"start": 220,
|
|
369
|
-
"end": 227
|
|
370
|
-
},
|
|
371
|
-
"value": "\n ",
|
|
372
|
-
"raw": "\n "
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"type": "JSXElement",
|
|
376
|
-
"span": {
|
|
377
|
-
"start": 227,
|
|
378
|
-
"end": 287
|
|
379
|
-
},
|
|
380
|
-
"opening": {
|
|
381
|
-
"type": "JSXOpeningElement",
|
|
382
|
-
"name": {
|
|
383
|
-
"type": "Identifier",
|
|
384
|
-
"span": {
|
|
385
|
-
"start": 228,
|
|
386
|
-
"end": 230
|
|
387
|
-
},
|
|
388
|
-
"ctxt": 1,
|
|
389
|
-
"value": "h1",
|
|
390
|
-
"optional": false
|
|
391
|
-
},
|
|
392
|
-
"span": {
|
|
393
|
-
"start": 227,
|
|
394
|
-
"end": 270
|
|
395
|
-
},
|
|
396
|
-
"attributes": [
|
|
397
|
-
{
|
|
398
|
-
"type": "JSXAttribute",
|
|
399
|
-
"span": {
|
|
400
|
-
"start": 231,
|
|
401
|
-
"end": 269
|
|
402
|
-
},
|
|
403
|
-
"name": {
|
|
404
|
-
"type": "Identifier",
|
|
405
|
-
"span": {
|
|
406
|
-
"start": 231,
|
|
407
|
-
"end": 240
|
|
408
|
-
},
|
|
409
|
-
"value": "className"
|
|
410
|
-
},
|
|
411
|
-
"value": {
|
|
412
|
-
"type": "JSXExpressionContainer",
|
|
413
|
-
"span": {
|
|
414
|
-
"start": 241,
|
|
415
|
-
"end": 269
|
|
416
|
-
},
|
|
417
|
-
"expression": {
|
|
418
|
-
"type": "CallExpression",
|
|
419
|
-
"span": {
|
|
420
|
-
"start": 242,
|
|
421
|
-
"end": 268
|
|
422
|
-
},
|
|
423
|
-
"ctxt": 0,
|
|
424
|
-
"callee": {
|
|
425
|
-
"type": "Identifier",
|
|
426
|
-
"span": {
|
|
427
|
-
"start": 242,
|
|
428
|
-
"end": 244
|
|
429
|
-
},
|
|
430
|
-
"ctxt": 2,
|
|
431
|
-
"value": "fx",
|
|
432
|
-
"optional": false
|
|
433
|
-
},
|
|
434
|
-
"arguments": [
|
|
435
|
-
{
|
|
436
|
-
"spread": null,
|
|
437
|
-
"expression": {
|
|
438
|
-
"type": "StringLiteral",
|
|
439
|
-
"span": {
|
|
440
|
-
"start": 245,
|
|
441
|
-
"end": 267
|
|
442
|
-
},
|
|
443
|
-
"value": "text-3xl desktop:mt1",
|
|
444
|
-
"raw": "\"text-3xl desktop:mt1\""
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
],
|
|
448
|
-
"typeArguments": null
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
],
|
|
453
|
-
"selfClosing": false,
|
|
454
|
-
"typeArguments": null
|
|
455
|
-
},
|
|
456
|
-
"children": [
|
|
457
|
-
{
|
|
458
|
-
"type": "JSXText",
|
|
459
|
-
"span": {
|
|
460
|
-
"start": 270,
|
|
461
|
-
"end": 282
|
|
462
|
-
},
|
|
463
|
-
"value": "Hello world!",
|
|
464
|
-
"raw": "Hello world!"
|
|
465
|
-
}
|
|
466
|
-
],
|
|
467
|
-
"closing": {
|
|
468
|
-
"type": "JSXClosingElement",
|
|
469
|
-
"span": {
|
|
470
|
-
"start": 282,
|
|
471
|
-
"end": 287
|
|
472
|
-
},
|
|
473
|
-
"name": {
|
|
474
|
-
"type": "Identifier",
|
|
475
|
-
"span": {
|
|
476
|
-
"start": 284,
|
|
477
|
-
"end": 286
|
|
478
|
-
},
|
|
479
|
-
"ctxt": 1,
|
|
480
|
-
"value": "h1",
|
|
481
|
-
"optional": false
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"type": "JSXText",
|
|
487
|
-
"span": {
|
|
488
|
-
"start": 287,
|
|
489
|
-
"end": 294
|
|
490
|
-
},
|
|
491
|
-
"value": "\n ",
|
|
492
|
-
"raw": "\n "
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"type": "JSXElement",
|
|
496
|
-
"span": {
|
|
497
|
-
"start": 294,
|
|
498
|
-
"end": 372
|
|
499
|
-
},
|
|
500
|
-
"opening": {
|
|
501
|
-
"type": "JSXOpeningElement",
|
|
502
|
-
"name": {
|
|
503
|
-
"type": "Identifier",
|
|
504
|
-
"span": {
|
|
505
|
-
"start": 295,
|
|
506
|
-
"end": 296
|
|
507
|
-
},
|
|
508
|
-
"ctxt": 1,
|
|
509
|
-
"value": "p",
|
|
510
|
-
"optional": false
|
|
511
|
-
},
|
|
512
|
-
"span": {
|
|
513
|
-
"start": 294,
|
|
514
|
-
"end": 354
|
|
515
|
-
},
|
|
516
|
-
"attributes": [
|
|
517
|
-
{
|
|
518
|
-
"type": "JSXAttribute",
|
|
519
|
-
"span": {
|
|
520
|
-
"start": 297,
|
|
521
|
-
"end": 353
|
|
522
|
-
},
|
|
523
|
-
"name": {
|
|
524
|
-
"type": "Identifier",
|
|
525
|
-
"span": {
|
|
526
|
-
"start": 297,
|
|
527
|
-
"end": 306
|
|
528
|
-
},
|
|
529
|
-
"value": "className"
|
|
530
|
-
},
|
|
531
|
-
"value": {
|
|
532
|
-
"type": "JSXExpressionContainer",
|
|
533
|
-
"span": {
|
|
534
|
-
"start": 307,
|
|
535
|
-
"end": 353
|
|
536
|
-
},
|
|
537
|
-
"expression": {
|
|
538
|
-
"type": "CallExpression",
|
|
539
|
-
"span": {
|
|
540
|
-
"start": 308,
|
|
541
|
-
"end": 352
|
|
542
|
-
},
|
|
543
|
-
"ctxt": 0,
|
|
544
|
-
"callee": {
|
|
545
|
-
"type": "Identifier",
|
|
546
|
-
"span": {
|
|
547
|
-
"start": 308,
|
|
548
|
-
"end": 310
|
|
549
|
-
},
|
|
550
|
-
"ctxt": 2,
|
|
551
|
-
"value": "fx",
|
|
552
|
-
"optional": false
|
|
553
|
-
},
|
|
554
|
-
"arguments": [
|
|
555
|
-
{
|
|
556
|
-
"spread": null,
|
|
557
|
-
"expression": {
|
|
558
|
-
"type": "TemplateLiteral",
|
|
559
|
-
"span": {
|
|
560
|
-
"start": 311,
|
|
561
|
-
"end": 351
|
|
562
|
-
},
|
|
563
|
-
"expressions": [
|
|
564
|
-
{
|
|
565
|
-
"type": "Identifier",
|
|
566
|
-
"span": {
|
|
567
|
-
"start": 329,
|
|
568
|
-
"end": 338
|
|
569
|
-
},
|
|
570
|
-
"ctxt": 3,
|
|
571
|
-
"value": "className",
|
|
572
|
-
"optional": false
|
|
573
|
-
}
|
|
574
|
-
],
|
|
575
|
-
"quasis": [
|
|
576
|
-
{
|
|
577
|
-
"type": "TemplateElement",
|
|
578
|
-
"span": {
|
|
579
|
-
"start": 312,
|
|
580
|
-
"end": 327
|
|
581
|
-
},
|
|
582
|
-
"tail": false,
|
|
583
|
-
"cooked": "my2 mobile:my1 ",
|
|
584
|
-
"raw": "my2 mobile:my1 "
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"type": "TemplateElement",
|
|
588
|
-
"span": {
|
|
589
|
-
"start": 339,
|
|
590
|
-
"end": 350
|
|
591
|
-
},
|
|
592
|
-
"tail": true,
|
|
593
|
-
"cooked": " text-small",
|
|
594
|
-
"raw": " text-small"
|
|
595
|
-
}
|
|
596
|
-
]
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
],
|
|
600
|
-
"typeArguments": null
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
],
|
|
605
|
-
"selfClosing": false,
|
|
606
|
-
"typeArguments": null
|
|
607
|
-
},
|
|
608
|
-
"children": [
|
|
609
|
-
{
|
|
610
|
-
"type": "JSXText",
|
|
611
|
-
"span": {
|
|
612
|
-
"start": 354,
|
|
613
|
-
"end": 368
|
|
614
|
-
},
|
|
615
|
-
"value": "Something else",
|
|
616
|
-
"raw": "Something else"
|
|
617
|
-
}
|
|
618
|
-
],
|
|
619
|
-
"closing": {
|
|
620
|
-
"type": "JSXClosingElement",
|
|
621
|
-
"span": {
|
|
622
|
-
"start": 368,
|
|
623
|
-
"end": 372
|
|
624
|
-
},
|
|
625
|
-
"name": {
|
|
626
|
-
"type": "Identifier",
|
|
627
|
-
"span": {
|
|
628
|
-
"start": 370,
|
|
629
|
-
"end": 371
|
|
630
|
-
},
|
|
631
|
-
"ctxt": 1,
|
|
632
|
-
"value": "p",
|
|
633
|
-
"optional": false
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"type": "JSXText",
|
|
639
|
-
"span": {
|
|
640
|
-
"start": 372,
|
|
641
|
-
"end": 379
|
|
642
|
-
},
|
|
643
|
-
"value": "\n ",
|
|
644
|
-
"raw": "\n "
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
"type": "JSXElement",
|
|
648
|
-
"span": {
|
|
649
|
-
"start": 379,
|
|
650
|
-
"end": 442
|
|
651
|
-
},
|
|
652
|
-
"opening": {
|
|
653
|
-
"type": "JSXOpeningElement",
|
|
654
|
-
"name": {
|
|
655
|
-
"type": "Identifier",
|
|
656
|
-
"span": {
|
|
657
|
-
"start": 380,
|
|
658
|
-
"end": 381
|
|
659
|
-
},
|
|
660
|
-
"ctxt": 1,
|
|
661
|
-
"value": "p",
|
|
662
|
-
"optional": false
|
|
663
|
-
},
|
|
664
|
-
"span": {
|
|
665
|
-
"start": 379,
|
|
666
|
-
"end": 410
|
|
667
|
-
},
|
|
668
|
-
"attributes": [
|
|
669
|
-
{
|
|
670
|
-
"type": "JSXAttribute",
|
|
671
|
-
"span": {
|
|
672
|
-
"start": 382,
|
|
673
|
-
"end": 409
|
|
674
|
-
},
|
|
675
|
-
"name": {
|
|
676
|
-
"type": "Identifier",
|
|
677
|
-
"span": {
|
|
678
|
-
"start": 382,
|
|
679
|
-
"end": 391
|
|
680
|
-
},
|
|
681
|
-
"value": "className"
|
|
682
|
-
},
|
|
683
|
-
"value": {
|
|
684
|
-
"type": "StringLiteral",
|
|
685
|
-
"span": {
|
|
686
|
-
"start": 392,
|
|
687
|
-
"end": 409
|
|
688
|
-
},
|
|
689
|
-
"value": "fz1 desktop:red",
|
|
690
|
-
"raw": "\"fz1 desktop:red\""
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
],
|
|
694
|
-
"selfClosing": false,
|
|
695
|
-
"typeArguments": null
|
|
696
|
-
},
|
|
697
|
-
"children": [
|
|
698
|
-
{
|
|
699
|
-
"type": "JSXText",
|
|
700
|
-
"span": {
|
|
701
|
-
"start": 410,
|
|
702
|
-
"end": 438
|
|
703
|
-
},
|
|
704
|
-
"value": "No usage of fx so no pick up",
|
|
705
|
-
"raw": "No usage of fx so no pick up"
|
|
706
|
-
}
|
|
707
|
-
],
|
|
708
|
-
"closing": {
|
|
709
|
-
"type": "JSXClosingElement",
|
|
710
|
-
"span": {
|
|
711
|
-
"start": 438,
|
|
712
|
-
"end": 442
|
|
713
|
-
},
|
|
714
|
-
"name": {
|
|
715
|
-
"type": "Identifier",
|
|
716
|
-
"span": {
|
|
717
|
-
"start": 440,
|
|
718
|
-
"end": 441
|
|
719
|
-
},
|
|
720
|
-
"ctxt": 1,
|
|
721
|
-
"value": "p",
|
|
722
|
-
"optional": false
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
"type": "JSXText",
|
|
728
|
-
"span": {
|
|
729
|
-
"start": 442,
|
|
730
|
-
"end": 449
|
|
731
|
-
},
|
|
732
|
-
"value": "\n ",
|
|
733
|
-
"raw": "\n "
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
"type": "JSXElement",
|
|
737
|
-
"span": {
|
|
738
|
-
"start": 449,
|
|
739
|
-
"end": 510
|
|
740
|
-
},
|
|
741
|
-
"opening": {
|
|
742
|
-
"type": "JSXOpeningElement",
|
|
743
|
-
"name": {
|
|
744
|
-
"type": "Identifier",
|
|
745
|
-
"span": {
|
|
746
|
-
"start": 450,
|
|
747
|
-
"end": 451
|
|
748
|
-
},
|
|
749
|
-
"ctxt": 1,
|
|
750
|
-
"value": "p",
|
|
751
|
-
"optional": false
|
|
752
|
-
},
|
|
753
|
-
"span": {
|
|
754
|
-
"start": 449,
|
|
755
|
-
"end": 506
|
|
756
|
-
},
|
|
757
|
-
"attributes": [
|
|
758
|
-
{
|
|
759
|
-
"type": "JSXAttribute",
|
|
760
|
-
"span": {
|
|
761
|
-
"start": 452,
|
|
762
|
-
"end": 505
|
|
763
|
-
},
|
|
764
|
-
"name": {
|
|
765
|
-
"type": "Identifier",
|
|
766
|
-
"span": {
|
|
767
|
-
"start": 452,
|
|
768
|
-
"end": 461
|
|
769
|
-
},
|
|
770
|
-
"value": "className"
|
|
771
|
-
},
|
|
772
|
-
"value": {
|
|
773
|
-
"type": "JSXExpressionContainer",
|
|
774
|
-
"span": {
|
|
775
|
-
"start": 462,
|
|
776
|
-
"end": 505
|
|
777
|
-
},
|
|
778
|
-
"expression": {
|
|
779
|
-
"type": "CallExpression",
|
|
780
|
-
"span": {
|
|
781
|
-
"start": 463,
|
|
782
|
-
"end": 504
|
|
783
|
-
},
|
|
784
|
-
"ctxt": 0,
|
|
785
|
-
"callee": {
|
|
786
|
-
"type": "Identifier",
|
|
787
|
-
"span": {
|
|
788
|
-
"start": 463,
|
|
789
|
-
"end": 465
|
|
790
|
-
},
|
|
791
|
-
"ctxt": 2,
|
|
792
|
-
"value": "fx",
|
|
793
|
-
"optional": false
|
|
794
|
-
},
|
|
795
|
-
"arguments": [
|
|
796
|
-
{
|
|
797
|
-
"spread": null,
|
|
798
|
-
"expression": {
|
|
799
|
-
"type": "TemplateLiteral",
|
|
800
|
-
"span": {
|
|
801
|
-
"start": 466,
|
|
802
|
-
"end": 503
|
|
803
|
-
},
|
|
804
|
-
"expressions": [
|
|
805
|
-
{
|
|
806
|
-
"type": "Identifier",
|
|
807
|
-
"span": {
|
|
808
|
-
"start": 474,
|
|
809
|
-
"end": 479
|
|
810
|
-
},
|
|
811
|
-
"ctxt": 3,
|
|
812
|
-
"value": "flagA",
|
|
813
|
-
"optional": false
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
"type": "Identifier",
|
|
817
|
-
"span": {
|
|
818
|
-
"start": 490,
|
|
819
|
-
"end": 495
|
|
820
|
-
},
|
|
821
|
-
"ctxt": 3,
|
|
822
|
-
"value": "flagB",
|
|
823
|
-
"optional": false
|
|
824
|
-
}
|
|
825
|
-
],
|
|
826
|
-
"quasis": [
|
|
827
|
-
{
|
|
828
|
-
"type": "TemplateElement",
|
|
829
|
-
"span": {
|
|
830
|
-
"start": 467,
|
|
831
|
-
"end": 472
|
|
832
|
-
},
|
|
833
|
-
"tail": false,
|
|
834
|
-
"cooked": "my2 [",
|
|
835
|
-
"raw": "my2 ["
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
"type": "TemplateElement",
|
|
839
|
-
"span": {
|
|
840
|
-
"start": 480,
|
|
841
|
-
"end": 488
|
|
842
|
-
},
|
|
843
|
-
"tail": false,
|
|
844
|
-
"cooked": "?]:my1 [",
|
|
845
|
-
"raw": "?]:my1 ["
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
"type": "TemplateElement",
|
|
849
|
-
"span": {
|
|
850
|
-
"start": 496,
|
|
851
|
-
"end": 502
|
|
852
|
-
},
|
|
853
|
-
"tail": true,
|
|
854
|
-
"cooked": "?]:red",
|
|
855
|
-
"raw": "?]:red"
|
|
856
|
-
}
|
|
857
|
-
]
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
],
|
|
861
|
-
"typeArguments": null
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
],
|
|
866
|
-
"selfClosing": false,
|
|
867
|
-
"typeArguments": null
|
|
868
|
-
},
|
|
869
|
-
"children": [],
|
|
870
|
-
"closing": {
|
|
871
|
-
"type": "JSXClosingElement",
|
|
872
|
-
"span": {
|
|
873
|
-
"start": 506,
|
|
874
|
-
"end": 510
|
|
875
|
-
},
|
|
876
|
-
"name": {
|
|
877
|
-
"type": "Identifier",
|
|
878
|
-
"span": {
|
|
879
|
-
"start": 508,
|
|
880
|
-
"end": 509
|
|
881
|
-
},
|
|
882
|
-
"ctxt": 1,
|
|
883
|
-
"value": "p",
|
|
884
|
-
"optional": false
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
"type": "JSXText",
|
|
890
|
-
"span": {
|
|
891
|
-
"start": 510,
|
|
892
|
-
"end": 517
|
|
893
|
-
},
|
|
894
|
-
"value": "\n ",
|
|
895
|
-
"raw": "\n "
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
"type": "JSXElement",
|
|
899
|
-
"span": {
|
|
900
|
-
"start": 517,
|
|
901
|
-
"end": 566
|
|
902
|
-
},
|
|
903
|
-
"opening": {
|
|
904
|
-
"type": "JSXOpeningElement",
|
|
905
|
-
"name": {
|
|
906
|
-
"type": "Identifier",
|
|
907
|
-
"span": {
|
|
908
|
-
"start": 518,
|
|
909
|
-
"end": 524
|
|
910
|
-
},
|
|
911
|
-
"ctxt": 1,
|
|
912
|
-
"value": "button",
|
|
913
|
-
"optional": false
|
|
914
|
-
},
|
|
915
|
-
"span": {
|
|
916
|
-
"start": 517,
|
|
917
|
-
"end": 557
|
|
918
|
-
},
|
|
919
|
-
"attributes": [
|
|
920
|
-
{
|
|
921
|
-
"type": "JSXAttribute",
|
|
922
|
-
"span": {
|
|
923
|
-
"start": 525,
|
|
924
|
-
"end": 556
|
|
925
|
-
},
|
|
926
|
-
"name": {
|
|
927
|
-
"type": "Identifier",
|
|
928
|
-
"span": {
|
|
929
|
-
"start": 525,
|
|
930
|
-
"end": 534
|
|
931
|
-
},
|
|
932
|
-
"value": "className"
|
|
933
|
-
},
|
|
934
|
-
"value": {
|
|
935
|
-
"type": "JSXExpressionContainer",
|
|
936
|
-
"span": {
|
|
937
|
-
"start": 535,
|
|
938
|
-
"end": 556
|
|
939
|
-
},
|
|
940
|
-
"expression": {
|
|
941
|
-
"type": "CallExpression",
|
|
942
|
-
"span": {
|
|
943
|
-
"start": 536,
|
|
944
|
-
"end": 555
|
|
945
|
-
},
|
|
946
|
-
"ctxt": 0,
|
|
947
|
-
"callee": {
|
|
948
|
-
"type": "Identifier",
|
|
949
|
-
"span": {
|
|
950
|
-
"start": 536,
|
|
951
|
-
"end": 538
|
|
952
|
-
},
|
|
953
|
-
"ctxt": 2,
|
|
954
|
-
"value": "fx",
|
|
955
|
-
"optional": false
|
|
956
|
-
},
|
|
957
|
-
"arguments": [
|
|
958
|
-
{
|
|
959
|
-
"spread": null,
|
|
960
|
-
"expression": {
|
|
961
|
-
"type": "StringLiteral",
|
|
962
|
-
"span": {
|
|
963
|
-
"start": 539,
|
|
964
|
-
"end": 554
|
|
965
|
-
},
|
|
966
|
-
"value": "[&:hover]:red",
|
|
967
|
-
"raw": "\"[&:hover]:red\""
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
],
|
|
971
|
-
"typeArguments": null
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
],
|
|
976
|
-
"selfClosing": false,
|
|
977
|
-
"typeArguments": null
|
|
978
|
-
},
|
|
979
|
-
"children": [],
|
|
980
|
-
"closing": {
|
|
981
|
-
"type": "JSXClosingElement",
|
|
982
|
-
"span": {
|
|
983
|
-
"start": 557,
|
|
984
|
-
"end": 566
|
|
985
|
-
},
|
|
986
|
-
"name": {
|
|
987
|
-
"type": "Identifier",
|
|
988
|
-
"span": {
|
|
989
|
-
"start": 559,
|
|
990
|
-
"end": 565
|
|
991
|
-
},
|
|
992
|
-
"ctxt": 1,
|
|
993
|
-
"value": "button",
|
|
994
|
-
"optional": false
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
"type": "JSXText",
|
|
1000
|
-
"span": {
|
|
1001
|
-
"start": 566,
|
|
1002
|
-
"end": 573
|
|
1003
|
-
},
|
|
1004
|
-
"value": "\n ",
|
|
1005
|
-
"raw": "\n "
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
"type": "JSXElement",
|
|
1009
|
-
"span": {
|
|
1010
|
-
"start": 573,
|
|
1011
|
-
"end": 623
|
|
1012
|
-
},
|
|
1013
|
-
"opening": {
|
|
1014
|
-
"type": "JSXOpeningElement",
|
|
1015
|
-
"name": {
|
|
1016
|
-
"type": "Identifier",
|
|
1017
|
-
"span": {
|
|
1018
|
-
"start": 574,
|
|
1019
|
-
"end": 575
|
|
1020
|
-
},
|
|
1021
|
-
"ctxt": 1,
|
|
1022
|
-
"value": "p",
|
|
1023
|
-
"optional": false
|
|
1024
|
-
},
|
|
1025
|
-
"span": {
|
|
1026
|
-
"start": 573,
|
|
1027
|
-
"end": 619
|
|
1028
|
-
},
|
|
1029
|
-
"attributes": [
|
|
1030
|
-
{
|
|
1031
|
-
"type": "JSXAttribute",
|
|
1032
|
-
"span": {
|
|
1033
|
-
"start": 576,
|
|
1034
|
-
"end": 618
|
|
1035
|
-
},
|
|
1036
|
-
"name": {
|
|
1037
|
-
"type": "Identifier",
|
|
1038
|
-
"span": {
|
|
1039
|
-
"start": 576,
|
|
1040
|
-
"end": 585
|
|
1041
|
-
},
|
|
1042
|
-
"value": "className"
|
|
1043
|
-
},
|
|
1044
|
-
"value": {
|
|
1045
|
-
"type": "JSXExpressionContainer",
|
|
1046
|
-
"span": {
|
|
1047
|
-
"start": 586,
|
|
1048
|
-
"end": 618
|
|
1049
|
-
},
|
|
1050
|
-
"expression": {
|
|
1051
|
-
"type": "CallExpression",
|
|
1052
|
-
"span": {
|
|
1053
|
-
"start": 587,
|
|
1054
|
-
"end": 617
|
|
1055
|
-
},
|
|
1056
|
-
"ctxt": 0,
|
|
1057
|
-
"callee": {
|
|
1058
|
-
"type": "Identifier",
|
|
1059
|
-
"span": {
|
|
1060
|
-
"start": 587,
|
|
1061
|
-
"end": 589
|
|
1062
|
-
},
|
|
1063
|
-
"ctxt": 2,
|
|
1064
|
-
"value": "fx",
|
|
1065
|
-
"optional": false
|
|
1066
|
-
},
|
|
1067
|
-
"arguments": [
|
|
1068
|
-
{
|
|
1069
|
-
"spread": null,
|
|
1070
|
-
"expression": {
|
|
1071
|
-
"type": "StringLiteral",
|
|
1072
|
-
"span": {
|
|
1073
|
-
"start": 590,
|
|
1074
|
-
"end": 616
|
|
1075
|
-
},
|
|
1076
|
-
"value": "mt1 [.dark &]:black pl-x",
|
|
1077
|
-
"raw": "\"mt1 [.dark &]:black pl-x\""
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
],
|
|
1081
|
-
"typeArguments": null
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
],
|
|
1086
|
-
"selfClosing": false,
|
|
1087
|
-
"typeArguments": null
|
|
1088
|
-
},
|
|
1089
|
-
"children": [],
|
|
1090
|
-
"closing": {
|
|
1091
|
-
"type": "JSXClosingElement",
|
|
1092
|
-
"span": {
|
|
1093
|
-
"start": 619,
|
|
1094
|
-
"end": 623
|
|
1095
|
-
},
|
|
1096
|
-
"name": {
|
|
1097
|
-
"type": "Identifier",
|
|
1098
|
-
"span": {
|
|
1099
|
-
"start": 621,
|
|
1100
|
-
"end": 622
|
|
1101
|
-
},
|
|
1102
|
-
"ctxt": 1,
|
|
1103
|
-
"value": "p",
|
|
1104
|
-
"optional": false
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
"type": "JSXText",
|
|
1110
|
-
"span": {
|
|
1111
|
-
"start": 623,
|
|
1112
|
-
"end": 628
|
|
1113
|
-
},
|
|
1114
|
-
"value": "\n ",
|
|
1115
|
-
"raw": "\n "
|
|
1116
|
-
}
|
|
1117
|
-
],
|
|
1118
|
-
"closing": {
|
|
1119
|
-
"type": "JSXClosingElement",
|
|
1120
|
-
"span": {
|
|
1121
|
-
"start": 628,
|
|
1122
|
-
"end": 635
|
|
1123
|
-
},
|
|
1124
|
-
"name": {
|
|
1125
|
-
"type": "Identifier",
|
|
1126
|
-
"span": {
|
|
1127
|
-
"start": 630,
|
|
1128
|
-
"end": 634
|
|
1129
|
-
},
|
|
1130
|
-
"ctxt": 1,
|
|
1131
|
-
"value": "main",
|
|
1132
|
-
"optional": false
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
]
|
|
1139
|
-
},
|
|
1140
|
-
"generator": false,
|
|
1141
|
-
"async": false,
|
|
1142
|
-
"typeParameters": null,
|
|
1143
|
-
"returnType": null
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
],
|
|
1147
|
-
"interpreter": null
|
|
1148
|
-
}
|