@teambit/compositions.ui.composition-compare 0.0.255 → 0.0.256

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/schema.json ADDED
@@ -0,0 +1,533 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ReactSchema",
18
+ "location": {
19
+ "filePath": "composition-compare.tsx",
20
+ "line": 28,
21
+ "character": 1
22
+ },
23
+ "signature": "function CompositionCompare(props: CompositionCompareProps): React.JSX.Element",
24
+ "name": "CompositionCompare",
25
+ "props": {
26
+ "__schema": "ParameterSchema",
27
+ "location": {
28
+ "filePath": "composition-compare.tsx",
29
+ "line": 28,
30
+ "character": 36
31
+ },
32
+ "name": "props",
33
+ "type": {
34
+ "__schema": "TypeRefSchema",
35
+ "location": {
36
+ "filePath": "composition-compare.tsx",
37
+ "line": 28,
38
+ "character": 43
39
+ },
40
+ "name": "CompositionCompareProps",
41
+ "internalFilePath": "composition-compare.tsx"
42
+ },
43
+ "isOptional": false,
44
+ "isSpread": false
45
+ },
46
+ "returnType": {
47
+ "__schema": "TypeRefSchema",
48
+ "location": {
49
+ "filePath": "composition-compare.tsx",
50
+ "line": 28,
51
+ "character": 1
52
+ },
53
+ "name": "React.JSX.Element",
54
+ "packageName": "react"
55
+ },
56
+ "modifiers": [
57
+ "export"
58
+ ]
59
+ },
60
+ {
61
+ "__schema": "FunctionLikeSchema",
62
+ "location": {
63
+ "filePath": "composition-compare.context.tsx",
64
+ "line": 14,
65
+ "character": 14
66
+ },
67
+ "signature": "function(): CompositionCompareContextModel",
68
+ "name": "useCompositionCompare",
69
+ "params": [],
70
+ "returnType": {
71
+ "__schema": "TypeRefSchema",
72
+ "location": {
73
+ "filePath": "composition-compare.context.tsx",
74
+ "line": 14,
75
+ "character": 38
76
+ },
77
+ "name": "CompositionCompareContextModel",
78
+ "internalFilePath": "composition-compare.context.tsx"
79
+ },
80
+ "modifiers": []
81
+ },
82
+ {
83
+ "__schema": "VariableLikeSchema",
84
+ "location": {
85
+ "filePath": "composition-compare.context.tsx",
86
+ "line": 10,
87
+ "character": 14
88
+ },
89
+ "signature": "const CompositionCompareContext: React.Context<CompositionCompareContextModel>",
90
+ "name": "CompositionCompareContext",
91
+ "type": {
92
+ "__schema": "TypeRefSchema",
93
+ "location": {
94
+ "filePath": "composition-compare.context.tsx",
95
+ "line": 10,
96
+ "character": 41
97
+ },
98
+ "name": "React.Context",
99
+ "typeArgs": [
100
+ {
101
+ "__schema": "TypeUnionSchema",
102
+ "location": {
103
+ "filePath": "composition-compare.context.tsx",
104
+ "line": 10,
105
+ "character": 55
106
+ },
107
+ "types": [
108
+ {
109
+ "__schema": "TypeRefSchema",
110
+ "location": {
111
+ "filePath": "composition-compare.context.tsx",
112
+ "line": 10,
113
+ "character": 55
114
+ },
115
+ "name": "CompositionCompareContextModel",
116
+ "internalFilePath": "composition-compare.context.tsx"
117
+ },
118
+ {
119
+ "__schema": "KeywordTypeSchema",
120
+ "location": {
121
+ "filePath": "composition-compare.context.tsx",
122
+ "line": 10,
123
+ "character": 88
124
+ },
125
+ "name": "undefined"
126
+ }
127
+ ]
128
+ }
129
+ ]
130
+ },
131
+ "isOptional": false,
132
+ "defaultValue": "createContext<\n CompositionCompareContextModel | undefined\n>(undefined)"
133
+ }
134
+ ],
135
+ "internals": []
136
+ },
137
+ "internals": [
138
+ {
139
+ "__schema": "ModuleSchema",
140
+ "location": {
141
+ "filePath": "composition-compare.tsx",
142
+ "line": 1,
143
+ "character": 1
144
+ },
145
+ "exports": [
146
+ {
147
+ "__schema": "TypeSchema",
148
+ "location": {
149
+ "filePath": "composition-compare.tsx",
150
+ "line": 18,
151
+ "character": 1
152
+ },
153
+ "signature": "type CompositionCompareProps = {\n emptyState?: EmptyStateSlot;\n Widgets?: {\n Right?: React.ReactNode;\n Left?: React.ReactNode;\n };\n previewViewProps?: CompositionContentProps;\n PreviewView?: React.ComponentType<CompositionContentProps>;\n}",
154
+ "name": "CompositionCompareProps",
155
+ "type": {
156
+ "__schema": "TypeLiteralSchema",
157
+ "location": {
158
+ "filePath": "composition-compare.tsx",
159
+ "line": 18,
160
+ "character": 39
161
+ },
162
+ "members": [
163
+ {
164
+ "__schema": "VariableLikeSchema",
165
+ "location": {
166
+ "filePath": "composition-compare.tsx",
167
+ "line": 19,
168
+ "character": 3
169
+ },
170
+ "signature": "(property) emptyState?: EmptyStateSlot",
171
+ "name": "emptyState",
172
+ "type": {
173
+ "__schema": "TypeRefSchema",
174
+ "location": {
175
+ "filePath": "composition-compare.tsx",
176
+ "line": 19,
177
+ "character": 3
178
+ },
179
+ "name": "EmptyStateSlot",
180
+ "componentId": {
181
+ "scope": "teambit.compositions",
182
+ "name": "compositions"
183
+ }
184
+ },
185
+ "isOptional": true
186
+ },
187
+ {
188
+ "__schema": "VariableLikeSchema",
189
+ "location": {
190
+ "filePath": "composition-compare.tsx",
191
+ "line": 20,
192
+ "character": 3
193
+ },
194
+ "signature": "(property) Widgets?: {\n Right?: React.ReactNode;\n Left?: React.ReactNode;\n}",
195
+ "name": "Widgets",
196
+ "type": {
197
+ "__schema": "TypeLiteralSchema",
198
+ "location": {
199
+ "filePath": "composition-compare.tsx",
200
+ "line": 20,
201
+ "character": 13
202
+ },
203
+ "members": [
204
+ {
205
+ "__schema": "VariableLikeSchema",
206
+ "location": {
207
+ "filePath": "composition-compare.tsx",
208
+ "line": 21,
209
+ "character": 5
210
+ },
211
+ "signature": "(property) Right?: React.ReactNode",
212
+ "name": "Right",
213
+ "type": {
214
+ "__schema": "TypeRefSchema",
215
+ "location": {
216
+ "filePath": "composition-compare.tsx",
217
+ "line": 21,
218
+ "character": 13
219
+ },
220
+ "name": "React.ReactNode"
221
+ },
222
+ "isOptional": true
223
+ },
224
+ {
225
+ "__schema": "VariableLikeSchema",
226
+ "location": {
227
+ "filePath": "composition-compare.tsx",
228
+ "line": 22,
229
+ "character": 5
230
+ },
231
+ "signature": "(property) Left?: React.ReactNode",
232
+ "name": "Left",
233
+ "type": {
234
+ "__schema": "TypeRefSchema",
235
+ "location": {
236
+ "filePath": "composition-compare.tsx",
237
+ "line": 22,
238
+ "character": 12
239
+ },
240
+ "name": "React.ReactNode"
241
+ },
242
+ "isOptional": true
243
+ }
244
+ ]
245
+ },
246
+ "isOptional": true
247
+ },
248
+ {
249
+ "__schema": "VariableLikeSchema",
250
+ "location": {
251
+ "filePath": "composition-compare.tsx",
252
+ "line": 24,
253
+ "character": 3
254
+ },
255
+ "signature": "(property) previewViewProps?: CompositionContentProps",
256
+ "name": "previewViewProps",
257
+ "type": {
258
+ "__schema": "TypeRefSchema",
259
+ "location": {
260
+ "filePath": "composition-compare.tsx",
261
+ "line": 24,
262
+ "character": 3
263
+ },
264
+ "name": "CompositionContentProps",
265
+ "componentId": {
266
+ "scope": "teambit.compositions",
267
+ "name": "compositions"
268
+ }
269
+ },
270
+ "isOptional": true
271
+ },
272
+ {
273
+ "__schema": "VariableLikeSchema",
274
+ "location": {
275
+ "filePath": "composition-compare.tsx",
276
+ "line": 25,
277
+ "character": 3
278
+ },
279
+ "signature": "(property) PreviewView?: React.ComponentType<CompositionContentProps>",
280
+ "name": "PreviewView",
281
+ "type": {
282
+ "__schema": "TypeRefSchema",
283
+ "location": {
284
+ "filePath": "composition-compare.tsx",
285
+ "line": 25,
286
+ "character": 17
287
+ },
288
+ "name": "React.ComponentType",
289
+ "typeArgs": [
290
+ {
291
+ "__schema": "TypeRefSchema",
292
+ "location": {
293
+ "filePath": "composition-compare.tsx",
294
+ "line": 25,
295
+ "character": 37
296
+ },
297
+ "name": "CompositionContentProps",
298
+ "componentId": {
299
+ "scope": "teambit.compositions",
300
+ "name": "compositions"
301
+ }
302
+ }
303
+ ]
304
+ },
305
+ "isOptional": true
306
+ }
307
+ ]
308
+ }
309
+ },
310
+ {
311
+ "__schema": "ReactSchema",
312
+ "location": {
313
+ "filePath": "composition-compare.tsx",
314
+ "line": 28,
315
+ "character": 1
316
+ },
317
+ "signature": "function CompositionCompare(props: CompositionCompareProps): React.JSX.Element",
318
+ "name": "CompositionCompare",
319
+ "props": {
320
+ "__schema": "ParameterSchema",
321
+ "location": {
322
+ "filePath": "composition-compare.tsx",
323
+ "line": 28,
324
+ "character": 36
325
+ },
326
+ "name": "props",
327
+ "type": {
328
+ "__schema": "TypeRefSchema",
329
+ "location": {
330
+ "filePath": "composition-compare.tsx",
331
+ "line": 28,
332
+ "character": 43
333
+ },
334
+ "name": "CompositionCompareProps",
335
+ "internalFilePath": "composition-compare.tsx"
336
+ },
337
+ "isOptional": false,
338
+ "isSpread": false
339
+ },
340
+ "returnType": {
341
+ "__schema": "TypeRefSchema",
342
+ "location": {
343
+ "filePath": "composition-compare.tsx",
344
+ "line": 28,
345
+ "character": 1
346
+ },
347
+ "name": "React.JSX.Element",
348
+ "packageName": "react"
349
+ },
350
+ "modifiers": [
351
+ "export"
352
+ ]
353
+ }
354
+ ],
355
+ "internals": []
356
+ },
357
+ {
358
+ "__schema": "ModuleSchema",
359
+ "location": {
360
+ "filePath": "composition-compare.context.tsx",
361
+ "line": 1,
362
+ "character": 1
363
+ },
364
+ "exports": [
365
+ {
366
+ "__schema": "TypeSchema",
367
+ "location": {
368
+ "filePath": "composition-compare.context.tsx",
369
+ "line": 4,
370
+ "character": 1
371
+ },
372
+ "signature": "type CompositionCompareContextModel = {\n compositionProps?: CompositionContentProps;\n isBase?: boolean;\n isCompare?: boolean;\n}",
373
+ "name": "CompositionCompareContextModel",
374
+ "type": {
375
+ "__schema": "TypeLiteralSchema",
376
+ "location": {
377
+ "filePath": "composition-compare.context.tsx",
378
+ "line": 4,
379
+ "character": 46
380
+ },
381
+ "members": [
382
+ {
383
+ "__schema": "VariableLikeSchema",
384
+ "location": {
385
+ "filePath": "composition-compare.context.tsx",
386
+ "line": 5,
387
+ "character": 5
388
+ },
389
+ "signature": "(property) compositionProps?: CompositionContentProps",
390
+ "name": "compositionProps",
391
+ "type": {
392
+ "__schema": "TypeRefSchema",
393
+ "location": {
394
+ "filePath": "composition-compare.context.tsx",
395
+ "line": 5,
396
+ "character": 5
397
+ },
398
+ "name": "CompositionContentProps",
399
+ "componentId": {
400
+ "scope": "teambit.compositions",
401
+ "name": "compositions"
402
+ }
403
+ },
404
+ "isOptional": true
405
+ },
406
+ {
407
+ "__schema": "VariableLikeSchema",
408
+ "location": {
409
+ "filePath": "composition-compare.context.tsx",
410
+ "line": 6,
411
+ "character": 5
412
+ },
413
+ "signature": "(property) isBase?: boolean",
414
+ "name": "isBase",
415
+ "type": {
416
+ "__schema": "KeywordTypeSchema",
417
+ "location": {
418
+ "filePath": "composition-compare.context.tsx",
419
+ "line": 6,
420
+ "character": 14
421
+ },
422
+ "name": "boolean"
423
+ },
424
+ "isOptional": true
425
+ },
426
+ {
427
+ "__schema": "VariableLikeSchema",
428
+ "location": {
429
+ "filePath": "composition-compare.context.tsx",
430
+ "line": 7,
431
+ "character": 5
432
+ },
433
+ "signature": "(property) isCompare?: boolean",
434
+ "name": "isCompare",
435
+ "type": {
436
+ "__schema": "KeywordTypeSchema",
437
+ "location": {
438
+ "filePath": "composition-compare.context.tsx",
439
+ "line": 7,
440
+ "character": 17
441
+ },
442
+ "name": "boolean"
443
+ },
444
+ "isOptional": true
445
+ }
446
+ ]
447
+ }
448
+ },
449
+ {
450
+ "__schema": "VariableLikeSchema",
451
+ "location": {
452
+ "filePath": "composition-compare.context.tsx",
453
+ "line": 10,
454
+ "character": 14
455
+ },
456
+ "signature": "const CompositionCompareContext: React.Context<CompositionCompareContextModel>",
457
+ "name": "CompositionCompareContext",
458
+ "type": {
459
+ "__schema": "TypeRefSchema",
460
+ "location": {
461
+ "filePath": "composition-compare.context.tsx",
462
+ "line": 10,
463
+ "character": 41
464
+ },
465
+ "name": "React.Context",
466
+ "typeArgs": [
467
+ {
468
+ "__schema": "TypeUnionSchema",
469
+ "location": {
470
+ "filePath": "composition-compare.context.tsx",
471
+ "line": 10,
472
+ "character": 55
473
+ },
474
+ "types": [
475
+ {
476
+ "__schema": "TypeRefSchema",
477
+ "location": {
478
+ "filePath": "composition-compare.context.tsx",
479
+ "line": 10,
480
+ "character": 55
481
+ },
482
+ "name": "CompositionCompareContextModel",
483
+ "internalFilePath": "composition-compare.context.tsx"
484
+ },
485
+ {
486
+ "__schema": "KeywordTypeSchema",
487
+ "location": {
488
+ "filePath": "composition-compare.context.tsx",
489
+ "line": 10,
490
+ "character": 88
491
+ },
492
+ "name": "undefined"
493
+ }
494
+ ]
495
+ }
496
+ ]
497
+ },
498
+ "isOptional": false,
499
+ "defaultValue": "createContext<\n CompositionCompareContextModel | undefined\n>(undefined)"
500
+ },
501
+ {
502
+ "__schema": "FunctionLikeSchema",
503
+ "location": {
504
+ "filePath": "composition-compare.context.tsx",
505
+ "line": 14,
506
+ "character": 14
507
+ },
508
+ "signature": "function(): CompositionCompareContextModel",
509
+ "name": "useCompositionCompare",
510
+ "params": [],
511
+ "returnType": {
512
+ "__schema": "TypeRefSchema",
513
+ "location": {
514
+ "filePath": "composition-compare.context.tsx",
515
+ "line": 14,
516
+ "character": 38
517
+ },
518
+ "name": "CompositionCompareContextModel",
519
+ "internalFilePath": "composition-compare.context.tsx"
520
+ },
521
+ "modifiers": []
522
+ }
523
+ ],
524
+ "internals": []
525
+ }
526
+ ],
527
+ "componentId": {
528
+ "scope": "teambit.compositions",
529
+ "name": "ui/composition-compare",
530
+ "version": "bd756747aff1965471c6a20ff13e2caa3c8dc08b"
531
+ },
532
+ "taggedModuleExports": []
533
+ }