@teambit/component.ui.component-compare.version-picker 0.0.169 → 0.0.171
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/.bit-capsule-ready +0 -0
- package/dist/component-compare-version-picker.d.ts +2 -2
- package/package-tar/teambit-component.ui.component-compare.version-picker-0.0.171.tgz +0 -0
- package/package.json +11 -11
- package/schema.json +588 -0
- package/static/css/teambit.component/ui/component-compare/version-picker.924da587.css +1 -0
- package/teambit_component_ui_component_compare_version_picker-component.js +831 -0
- package/teambit_component_ui_component_compare_version_picker-preview.js +1 -0
- package/dist/preview-1695807370382.js +0 -7
- package/tsconfig.json +0 -32
- package/types/asset.d.ts +0 -29
- package/types/style.d.ts +0 -42
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
2
2
|
import { UseComponentType } from '@teambit/component';
|
3
3
|
export declare type ComponentCompareVersionPickerProps = {
|
4
4
|
customUseComponent?: UseComponentType;
|
@@ -8,4 +8,4 @@ export declare type ComponentCompareVersionPickerProps = {
|
|
8
8
|
compareHasLocalChanges?: boolean;
|
9
9
|
componentId: string;
|
10
10
|
} & HTMLAttributes<HTMLDivElement>;
|
11
|
-
export declare function ComponentCompareVersionPicker({ className, compareVersion: compareVersionFromProps, baseVersion: baseVersionFromProps, componentId: componentIdFromProps, compareHasLocalChanges, }: ComponentCompareVersionPickerProps): JSX.Element;
|
11
|
+
export declare function ComponentCompareVersionPicker({ className, compareVersion: compareVersionFromProps, baseVersion: baseVersionFromProps, componentId: componentIdFromProps, compareHasLocalChanges, }: ComponentCompareVersionPickerProps): React.JSX.Element;
|
Binary file
|
package/package.json
CHANGED
@@ -1,31 +1,31 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/component.ui.component-compare.version-picker",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.171",
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/ui/component-compare/version-picker",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.component",
|
8
8
|
"name": "ui/component-compare/version-picker",
|
9
|
-
"version": "0.0.
|
9
|
+
"version": "0.0.171"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"classnames": "2.2.6",
|
13
|
-
"semver": "7.5.2",
|
14
13
|
"core-js": "^3.0.0",
|
15
|
-
"
|
16
|
-
"@teambit/component.ui.component-compare.context": "0.0.
|
17
|
-
"@teambit/component.ui.component-compare.hooks.use-component-compare-url": "0.0.
|
18
|
-
"@teambit/component.ui.version-dropdown": "0.0.
|
14
|
+
"semver": "7.5.2",
|
15
|
+
"@teambit/component.ui.component-compare.context": "0.0.117",
|
16
|
+
"@teambit/component.ui.component-compare.hooks.use-component-compare-url": "0.0.9",
|
17
|
+
"@teambit/component.ui.version-dropdown": "0.0.853",
|
18
|
+
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
|
+
"@babel/runtime": "7.20.0",
|
21
22
|
"@types/classnames": "2.2.11",
|
22
|
-
"@types/
|
23
|
-
"@types/semver": "7.3.4",
|
23
|
+
"@types/jest": "^26.0.0",
|
24
24
|
"@types/mocha": "9.1.0",
|
25
25
|
"@types/node": "12.20.4",
|
26
|
+
"@types/react": "^17.0.8",
|
26
27
|
"@types/react-dom": "^17.0.5",
|
27
|
-
"@types/
|
28
|
-
"@babel/runtime": "7.20.0",
|
28
|
+
"@types/semver": "7.3.4",
|
29
29
|
"@types/testing-library__jest-dom": "5.9.5"
|
30
30
|
},
|
31
31
|
"peerDependencies": {
|
package/schema.json
ADDED
@@ -0,0 +1,588 @@
|
|
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": "component-compare-version-picker.tsx",
|
20
|
+
"line": 20,
|
21
|
+
"character": 1
|
22
|
+
},
|
23
|
+
"signature": "function ComponentCompareVersionPicker({ className, compareVersion: compareVersionFromProps, baseVersion: baseVersionFromProps, componentId: componentIdFromProps, compareHasLocalChanges, }: ComponentCompareVersionPickerProps): React.JSX.Element",
|
24
|
+
"name": "ComponentCompareVersionPicker",
|
25
|
+
"props": {
|
26
|
+
"__schema": "ParameterSchema",
|
27
|
+
"location": {
|
28
|
+
"filePath": "component-compare-version-picker.tsx",
|
29
|
+
"line": 20,
|
30
|
+
"character": 47
|
31
|
+
},
|
32
|
+
"name": "{ className, compareVersion: compareVersionFromProps, baseVersion: baseVersionFromProps, componentId: componentIdFromProps, compareHasLocalChanges }",
|
33
|
+
"type": {
|
34
|
+
"__schema": "TypeRefSchema",
|
35
|
+
"location": {
|
36
|
+
"filePath": "component-compare-version-picker.tsx",
|
37
|
+
"line": 26,
|
38
|
+
"character": 4
|
39
|
+
},
|
40
|
+
"name": "ComponentCompareVersionPickerProps"
|
41
|
+
},
|
42
|
+
"isOptional": false,
|
43
|
+
"objectBindingNodes": [
|
44
|
+
{
|
45
|
+
"__schema": "InferenceTypeSchema",
|
46
|
+
"location": {
|
47
|
+
"filePath": "component-compare-version-picker.tsx",
|
48
|
+
"line": 21,
|
49
|
+
"character": 3
|
50
|
+
},
|
51
|
+
"name": "className",
|
52
|
+
"type": "string",
|
53
|
+
"isSpread": false
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"__schema": "InferenceTypeSchema",
|
57
|
+
"location": {
|
58
|
+
"filePath": "component-compare-version-picker.tsx",
|
59
|
+
"line": 22,
|
60
|
+
"character": 19
|
61
|
+
},
|
62
|
+
"name": "compareVersionFromProps",
|
63
|
+
"type": "string",
|
64
|
+
"isSpread": false
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"__schema": "InferenceTypeSchema",
|
68
|
+
"location": {
|
69
|
+
"filePath": "component-compare-version-picker.tsx",
|
70
|
+
"line": 23,
|
71
|
+
"character": 16
|
72
|
+
},
|
73
|
+
"name": "baseVersionFromProps",
|
74
|
+
"type": "string",
|
75
|
+
"isSpread": false
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"__schema": "InferenceTypeSchema",
|
79
|
+
"location": {
|
80
|
+
"filePath": "component-compare-version-picker.tsx",
|
81
|
+
"line": 24,
|
82
|
+
"character": 16
|
83
|
+
},
|
84
|
+
"name": "componentIdFromProps",
|
85
|
+
"type": "string",
|
86
|
+
"isSpread": false
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"__schema": "InferenceTypeSchema",
|
90
|
+
"location": {
|
91
|
+
"filePath": "component-compare-version-picker.tsx",
|
92
|
+
"line": 25,
|
93
|
+
"character": 3
|
94
|
+
},
|
95
|
+
"name": "compareHasLocalChanges",
|
96
|
+
"type": "boolean",
|
97
|
+
"isSpread": false
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"isSpread": false
|
101
|
+
},
|
102
|
+
"returnType": {
|
103
|
+
"__schema": "TypeRefSchema",
|
104
|
+
"location": {
|
105
|
+
"filePath": "component-compare-version-picker.tsx",
|
106
|
+
"line": 20,
|
107
|
+
"character": 1
|
108
|
+
},
|
109
|
+
"name": "React.JSX.Element",
|
110
|
+
"packageName": "react"
|
111
|
+
},
|
112
|
+
"modifiers": [
|
113
|
+
"export"
|
114
|
+
]
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"__schema": "TypeSchema",
|
118
|
+
"location": {
|
119
|
+
"filePath": "component-compare-version-picker.tsx",
|
120
|
+
"line": 11,
|
121
|
+
"character": 1
|
122
|
+
},
|
123
|
+
"signature": "type ComponentCompareVersionPickerProps = {\n customUseComponent?: UseComponentType;\n host: string;\n baseVersion?: string;\n compareVersion?: string;\n compareHasLocalChanges?: boolean;\n componentId: string;\n} & React.HTMLAttributes<HTMLDivElement>",
|
124
|
+
"name": "ComponentCompareVersionPickerProps",
|
125
|
+
"type": {
|
126
|
+
"__schema": "TypeIntersectionSchema",
|
127
|
+
"location": {
|
128
|
+
"filePath": "component-compare-version-picker.tsx",
|
129
|
+
"line": 11,
|
130
|
+
"character": 50
|
131
|
+
},
|
132
|
+
"types": [
|
133
|
+
{
|
134
|
+
"__schema": "TypeLiteralSchema",
|
135
|
+
"location": {
|
136
|
+
"filePath": "component-compare-version-picker.tsx",
|
137
|
+
"line": 11,
|
138
|
+
"character": 50
|
139
|
+
},
|
140
|
+
"members": [
|
141
|
+
{
|
142
|
+
"__schema": "VariableLikeSchema",
|
143
|
+
"location": {
|
144
|
+
"filePath": "component-compare-version-picker.tsx",
|
145
|
+
"line": 12,
|
146
|
+
"character": 3
|
147
|
+
},
|
148
|
+
"signature": "(property) customUseComponent?: UseComponentType",
|
149
|
+
"name": "customUseComponent",
|
150
|
+
"type": {
|
151
|
+
"__schema": "TypeRefSchema",
|
152
|
+
"location": {
|
153
|
+
"filePath": "component-compare-version-picker.tsx",
|
154
|
+
"line": 12,
|
155
|
+
"character": 3
|
156
|
+
},
|
157
|
+
"name": "UseComponentType",
|
158
|
+
"componentId": {
|
159
|
+
"scope": "teambit.component",
|
160
|
+
"name": "component"
|
161
|
+
}
|
162
|
+
},
|
163
|
+
"isOptional": true
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"__schema": "VariableLikeSchema",
|
167
|
+
"location": {
|
168
|
+
"filePath": "component-compare-version-picker.tsx",
|
169
|
+
"line": 13,
|
170
|
+
"character": 3
|
171
|
+
},
|
172
|
+
"signature": "(property) host: string",
|
173
|
+
"name": "host",
|
174
|
+
"type": {
|
175
|
+
"__schema": "KeywordTypeSchema",
|
176
|
+
"location": {
|
177
|
+
"filePath": "component-compare-version-picker.tsx",
|
178
|
+
"line": 13,
|
179
|
+
"character": 9
|
180
|
+
},
|
181
|
+
"name": "string"
|
182
|
+
},
|
183
|
+
"isOptional": false
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"__schema": "VariableLikeSchema",
|
187
|
+
"location": {
|
188
|
+
"filePath": "component-compare-version-picker.tsx",
|
189
|
+
"line": 14,
|
190
|
+
"character": 3
|
191
|
+
},
|
192
|
+
"signature": "(property) baseVersion?: string",
|
193
|
+
"name": "baseVersion",
|
194
|
+
"type": {
|
195
|
+
"__schema": "KeywordTypeSchema",
|
196
|
+
"location": {
|
197
|
+
"filePath": "component-compare-version-picker.tsx",
|
198
|
+
"line": 14,
|
199
|
+
"character": 17
|
200
|
+
},
|
201
|
+
"name": "string"
|
202
|
+
},
|
203
|
+
"isOptional": true
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"__schema": "VariableLikeSchema",
|
207
|
+
"location": {
|
208
|
+
"filePath": "component-compare-version-picker.tsx",
|
209
|
+
"line": 15,
|
210
|
+
"character": 3
|
211
|
+
},
|
212
|
+
"signature": "(property) compareVersion?: string",
|
213
|
+
"name": "compareVersion",
|
214
|
+
"type": {
|
215
|
+
"__schema": "KeywordTypeSchema",
|
216
|
+
"location": {
|
217
|
+
"filePath": "component-compare-version-picker.tsx",
|
218
|
+
"line": 15,
|
219
|
+
"character": 20
|
220
|
+
},
|
221
|
+
"name": "string"
|
222
|
+
},
|
223
|
+
"isOptional": true
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"__schema": "VariableLikeSchema",
|
227
|
+
"location": {
|
228
|
+
"filePath": "component-compare-version-picker.tsx",
|
229
|
+
"line": 16,
|
230
|
+
"character": 3
|
231
|
+
},
|
232
|
+
"signature": "(property) compareHasLocalChanges?: boolean",
|
233
|
+
"name": "compareHasLocalChanges",
|
234
|
+
"type": {
|
235
|
+
"__schema": "KeywordTypeSchema",
|
236
|
+
"location": {
|
237
|
+
"filePath": "component-compare-version-picker.tsx",
|
238
|
+
"line": 16,
|
239
|
+
"character": 28
|
240
|
+
},
|
241
|
+
"name": "boolean"
|
242
|
+
},
|
243
|
+
"isOptional": true
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"__schema": "VariableLikeSchema",
|
247
|
+
"location": {
|
248
|
+
"filePath": "component-compare-version-picker.tsx",
|
249
|
+
"line": 17,
|
250
|
+
"character": 3
|
251
|
+
},
|
252
|
+
"signature": "(property) componentId: string",
|
253
|
+
"name": "componentId",
|
254
|
+
"type": {
|
255
|
+
"__schema": "KeywordTypeSchema",
|
256
|
+
"location": {
|
257
|
+
"filePath": "component-compare-version-picker.tsx",
|
258
|
+
"line": 17,
|
259
|
+
"character": 16
|
260
|
+
},
|
261
|
+
"name": "string"
|
262
|
+
},
|
263
|
+
"isOptional": false
|
264
|
+
}
|
265
|
+
]
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"__schema": "TypeRefSchema",
|
269
|
+
"location": {
|
270
|
+
"filePath": "component-compare-version-picker.tsx",
|
271
|
+
"line": 18,
|
272
|
+
"character": 5
|
273
|
+
},
|
274
|
+
"name": "HTMLAttributes",
|
275
|
+
"packageName": "react",
|
276
|
+
"typeArgs": [
|
277
|
+
{
|
278
|
+
"__schema": "TypeRefSchema",
|
279
|
+
"location": {
|
280
|
+
"filePath": "component-compare-version-picker.tsx",
|
281
|
+
"line": 18,
|
282
|
+
"character": 20
|
283
|
+
},
|
284
|
+
"name": "HTMLDivElement"
|
285
|
+
}
|
286
|
+
]
|
287
|
+
}
|
288
|
+
]
|
289
|
+
}
|
290
|
+
}
|
291
|
+
],
|
292
|
+
"internals": []
|
293
|
+
},
|
294
|
+
"internals": [
|
295
|
+
{
|
296
|
+
"__schema": "ModuleSchema",
|
297
|
+
"location": {
|
298
|
+
"filePath": "component-compare-version-picker.tsx",
|
299
|
+
"line": 1,
|
300
|
+
"character": 1
|
301
|
+
},
|
302
|
+
"exports": [
|
303
|
+
{
|
304
|
+
"__schema": "TypeSchema",
|
305
|
+
"location": {
|
306
|
+
"filePath": "component-compare-version-picker.tsx",
|
307
|
+
"line": 11,
|
308
|
+
"character": 1
|
309
|
+
},
|
310
|
+
"signature": "type ComponentCompareVersionPickerProps = {\n customUseComponent?: UseComponentType;\n host: string;\n baseVersion?: string;\n compareVersion?: string;\n compareHasLocalChanges?: boolean;\n componentId: string;\n} & React.HTMLAttributes<HTMLDivElement>",
|
311
|
+
"name": "ComponentCompareVersionPickerProps",
|
312
|
+
"type": {
|
313
|
+
"__schema": "TypeIntersectionSchema",
|
314
|
+
"location": {
|
315
|
+
"filePath": "component-compare-version-picker.tsx",
|
316
|
+
"line": 11,
|
317
|
+
"character": 50
|
318
|
+
},
|
319
|
+
"types": [
|
320
|
+
{
|
321
|
+
"__schema": "TypeLiteralSchema",
|
322
|
+
"location": {
|
323
|
+
"filePath": "component-compare-version-picker.tsx",
|
324
|
+
"line": 11,
|
325
|
+
"character": 50
|
326
|
+
},
|
327
|
+
"members": [
|
328
|
+
{
|
329
|
+
"__schema": "VariableLikeSchema",
|
330
|
+
"location": {
|
331
|
+
"filePath": "component-compare-version-picker.tsx",
|
332
|
+
"line": 12,
|
333
|
+
"character": 3
|
334
|
+
},
|
335
|
+
"signature": "(property) customUseComponent?: UseComponentType",
|
336
|
+
"name": "customUseComponent",
|
337
|
+
"type": {
|
338
|
+
"__schema": "TypeRefSchema",
|
339
|
+
"location": {
|
340
|
+
"filePath": "component-compare-version-picker.tsx",
|
341
|
+
"line": 12,
|
342
|
+
"character": 3
|
343
|
+
},
|
344
|
+
"name": "UseComponentType",
|
345
|
+
"componentId": {
|
346
|
+
"scope": "teambit.component",
|
347
|
+
"name": "component"
|
348
|
+
}
|
349
|
+
},
|
350
|
+
"isOptional": true
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"__schema": "VariableLikeSchema",
|
354
|
+
"location": {
|
355
|
+
"filePath": "component-compare-version-picker.tsx",
|
356
|
+
"line": 13,
|
357
|
+
"character": 3
|
358
|
+
},
|
359
|
+
"signature": "(property) host: string",
|
360
|
+
"name": "host",
|
361
|
+
"type": {
|
362
|
+
"__schema": "KeywordTypeSchema",
|
363
|
+
"location": {
|
364
|
+
"filePath": "component-compare-version-picker.tsx",
|
365
|
+
"line": 13,
|
366
|
+
"character": 9
|
367
|
+
},
|
368
|
+
"name": "string"
|
369
|
+
},
|
370
|
+
"isOptional": false
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"__schema": "VariableLikeSchema",
|
374
|
+
"location": {
|
375
|
+
"filePath": "component-compare-version-picker.tsx",
|
376
|
+
"line": 14,
|
377
|
+
"character": 3
|
378
|
+
},
|
379
|
+
"signature": "(property) baseVersion?: string",
|
380
|
+
"name": "baseVersion",
|
381
|
+
"type": {
|
382
|
+
"__schema": "KeywordTypeSchema",
|
383
|
+
"location": {
|
384
|
+
"filePath": "component-compare-version-picker.tsx",
|
385
|
+
"line": 14,
|
386
|
+
"character": 17
|
387
|
+
},
|
388
|
+
"name": "string"
|
389
|
+
},
|
390
|
+
"isOptional": true
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"__schema": "VariableLikeSchema",
|
394
|
+
"location": {
|
395
|
+
"filePath": "component-compare-version-picker.tsx",
|
396
|
+
"line": 15,
|
397
|
+
"character": 3
|
398
|
+
},
|
399
|
+
"signature": "(property) compareVersion?: string",
|
400
|
+
"name": "compareVersion",
|
401
|
+
"type": {
|
402
|
+
"__schema": "KeywordTypeSchema",
|
403
|
+
"location": {
|
404
|
+
"filePath": "component-compare-version-picker.tsx",
|
405
|
+
"line": 15,
|
406
|
+
"character": 20
|
407
|
+
},
|
408
|
+
"name": "string"
|
409
|
+
},
|
410
|
+
"isOptional": true
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"__schema": "VariableLikeSchema",
|
414
|
+
"location": {
|
415
|
+
"filePath": "component-compare-version-picker.tsx",
|
416
|
+
"line": 16,
|
417
|
+
"character": 3
|
418
|
+
},
|
419
|
+
"signature": "(property) compareHasLocalChanges?: boolean",
|
420
|
+
"name": "compareHasLocalChanges",
|
421
|
+
"type": {
|
422
|
+
"__schema": "KeywordTypeSchema",
|
423
|
+
"location": {
|
424
|
+
"filePath": "component-compare-version-picker.tsx",
|
425
|
+
"line": 16,
|
426
|
+
"character": 28
|
427
|
+
},
|
428
|
+
"name": "boolean"
|
429
|
+
},
|
430
|
+
"isOptional": true
|
431
|
+
},
|
432
|
+
{
|
433
|
+
"__schema": "VariableLikeSchema",
|
434
|
+
"location": {
|
435
|
+
"filePath": "component-compare-version-picker.tsx",
|
436
|
+
"line": 17,
|
437
|
+
"character": 3
|
438
|
+
},
|
439
|
+
"signature": "(property) componentId: string",
|
440
|
+
"name": "componentId",
|
441
|
+
"type": {
|
442
|
+
"__schema": "KeywordTypeSchema",
|
443
|
+
"location": {
|
444
|
+
"filePath": "component-compare-version-picker.tsx",
|
445
|
+
"line": 17,
|
446
|
+
"character": 16
|
447
|
+
},
|
448
|
+
"name": "string"
|
449
|
+
},
|
450
|
+
"isOptional": false
|
451
|
+
}
|
452
|
+
]
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"__schema": "TypeRefSchema",
|
456
|
+
"location": {
|
457
|
+
"filePath": "component-compare-version-picker.tsx",
|
458
|
+
"line": 18,
|
459
|
+
"character": 5
|
460
|
+
},
|
461
|
+
"name": "HTMLAttributes",
|
462
|
+
"packageName": "react",
|
463
|
+
"typeArgs": [
|
464
|
+
{
|
465
|
+
"__schema": "TypeRefSchema",
|
466
|
+
"location": {
|
467
|
+
"filePath": "component-compare-version-picker.tsx",
|
468
|
+
"line": 18,
|
469
|
+
"character": 20
|
470
|
+
},
|
471
|
+
"name": "HTMLDivElement"
|
472
|
+
}
|
473
|
+
]
|
474
|
+
}
|
475
|
+
]
|
476
|
+
}
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"__schema": "ReactSchema",
|
480
|
+
"location": {
|
481
|
+
"filePath": "component-compare-version-picker.tsx",
|
482
|
+
"line": 20,
|
483
|
+
"character": 1
|
484
|
+
},
|
485
|
+
"signature": "function ComponentCompareVersionPicker({ className, compareVersion: compareVersionFromProps, baseVersion: baseVersionFromProps, componentId: componentIdFromProps, compareHasLocalChanges, }: ComponentCompareVersionPickerProps): React.JSX.Element",
|
486
|
+
"name": "ComponentCompareVersionPicker",
|
487
|
+
"props": {
|
488
|
+
"__schema": "ParameterSchema",
|
489
|
+
"location": {
|
490
|
+
"filePath": "component-compare-version-picker.tsx",
|
491
|
+
"line": 20,
|
492
|
+
"character": 47
|
493
|
+
},
|
494
|
+
"name": "{ className, compareVersion: compareVersionFromProps, baseVersion: baseVersionFromProps, componentId: componentIdFromProps, compareHasLocalChanges }",
|
495
|
+
"type": {
|
496
|
+
"__schema": "TypeRefSchema",
|
497
|
+
"location": {
|
498
|
+
"filePath": "component-compare-version-picker.tsx",
|
499
|
+
"line": 26,
|
500
|
+
"character": 4
|
501
|
+
},
|
502
|
+
"name": "ComponentCompareVersionPickerProps"
|
503
|
+
},
|
504
|
+
"isOptional": false,
|
505
|
+
"objectBindingNodes": [
|
506
|
+
{
|
507
|
+
"__schema": "InferenceTypeSchema",
|
508
|
+
"location": {
|
509
|
+
"filePath": "component-compare-version-picker.tsx",
|
510
|
+
"line": 21,
|
511
|
+
"character": 3
|
512
|
+
},
|
513
|
+
"name": "className",
|
514
|
+
"type": "string",
|
515
|
+
"isSpread": false
|
516
|
+
},
|
517
|
+
{
|
518
|
+
"__schema": "InferenceTypeSchema",
|
519
|
+
"location": {
|
520
|
+
"filePath": "component-compare-version-picker.tsx",
|
521
|
+
"line": 22,
|
522
|
+
"character": 19
|
523
|
+
},
|
524
|
+
"name": "compareVersionFromProps",
|
525
|
+
"type": "string",
|
526
|
+
"isSpread": false
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"__schema": "InferenceTypeSchema",
|
530
|
+
"location": {
|
531
|
+
"filePath": "component-compare-version-picker.tsx",
|
532
|
+
"line": 23,
|
533
|
+
"character": 16
|
534
|
+
},
|
535
|
+
"name": "baseVersionFromProps",
|
536
|
+
"type": "string",
|
537
|
+
"isSpread": false
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"__schema": "InferenceTypeSchema",
|
541
|
+
"location": {
|
542
|
+
"filePath": "component-compare-version-picker.tsx",
|
543
|
+
"line": 24,
|
544
|
+
"character": 16
|
545
|
+
},
|
546
|
+
"name": "componentIdFromProps",
|
547
|
+
"type": "string",
|
548
|
+
"isSpread": false
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"__schema": "InferenceTypeSchema",
|
552
|
+
"location": {
|
553
|
+
"filePath": "component-compare-version-picker.tsx",
|
554
|
+
"line": 25,
|
555
|
+
"character": 3
|
556
|
+
},
|
557
|
+
"name": "compareHasLocalChanges",
|
558
|
+
"type": "boolean",
|
559
|
+
"isSpread": false
|
560
|
+
}
|
561
|
+
],
|
562
|
+
"isSpread": false
|
563
|
+
},
|
564
|
+
"returnType": {
|
565
|
+
"__schema": "TypeRefSchema",
|
566
|
+
"location": {
|
567
|
+
"filePath": "component-compare-version-picker.tsx",
|
568
|
+
"line": 20,
|
569
|
+
"character": 1
|
570
|
+
},
|
571
|
+
"name": "React.JSX.Element",
|
572
|
+
"packageName": "react"
|
573
|
+
},
|
574
|
+
"modifiers": [
|
575
|
+
"export"
|
576
|
+
]
|
577
|
+
}
|
578
|
+
],
|
579
|
+
"internals": []
|
580
|
+
}
|
581
|
+
],
|
582
|
+
"componentId": {
|
583
|
+
"scope": "teambit.component",
|
584
|
+
"name": "ui/component-compare/version-picker",
|
585
|
+
"version": "9a60eb688e8dd3fbf73d033f5f23fe4dc61e5810"
|
586
|
+
},
|
587
|
+
"taggedModuleExports": []
|
588
|
+
}
|