@teambit/component.ui.component-compare.changelog 0.0.172 → 0.0.174

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.
@@ -0,0 +1,7 @@
1
+ ;
2
+ ;
3
+
4
+ export const compositions = [];
5
+ export const overview = [];
6
+
7
+ export const compositions_metadata = {"compositions":[]};
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "name": "@teambit/component.ui.component-compare.changelog",
3
- "version": "0.0.172",
3
+ "version": "0.0.174",
4
4
  "homepage": "https://bit.cloud/teambit/component/ui/component-compare/changelog",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "ui/component-compare/changelog",
9
- "version": "0.0.172"
9
+ "version": "0.0.174"
10
10
  },
11
11
  "dependencies": {
12
12
  "classnames": "2.2.6",
13
13
  "core-js": "^3.0.0",
14
- "@teambit/legacy-component-log": "0.0.402",
15
- "@teambit/component.ui.component-compare.context": "0.0.117",
16
14
  "@teambit/component.ui.component-compare.utils.sort-logs": "0.0.8",
17
- "@teambit/component.ui.version-block": "0.0.879"
15
+ "@teambit/legacy-component-log": "0.0.402",
16
+ "@teambit/component.ui.component-compare.context": "0.0.118",
17
+ "@teambit/component.ui.version-block": "0.0.881"
18
18
  },
19
19
  "devDependencies": {
20
- "@babel/runtime": "7.20.0",
21
20
  "@types/classnames": "2.2.11",
22
- "@types/jest": "^26.0.0",
21
+ "@types/react": "^17.0.8",
23
22
  "@types/mocha": "9.1.0",
24
23
  "@types/node": "12.20.4",
25
- "@types/react": "^17.0.8",
26
24
  "@types/react-dom": "^17.0.5",
25
+ "@types/jest": "^26.0.0",
26
+ "@babel/runtime": "7.20.0",
27
27
  "@types/testing-library__jest-dom": "5.9.5"
28
28
  },
29
29
  "peerDependencies": {
@@ -31,6 +31,8 @@
31
31
  "react-dom": "^16.8.0 || ^17.0.0"
32
32
  },
33
33
  "license": "Apache-2.0",
34
+ "optionalDependencies": {},
35
+ "peerDependenciesMeta": {},
34
36
  "private": false,
35
37
  "engines": {
36
38
  "node": ">=12.22.0"
@@ -49,4 +51,4 @@
49
51
  "angular",
50
52
  "angular-components"
51
53
  ]
52
- }
54
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": [
4
+ "es2019",
5
+ "DOM",
6
+ "ES6",
7
+ "DOM.Iterable"
8
+ ],
9
+ "target": "es2015",
10
+ "module": "CommonJS",
11
+ "jsx": "react",
12
+ "allowJs": true,
13
+ "composite": true,
14
+ "declaration": true,
15
+ "sourceMap": true,
16
+ "skipLibCheck": true,
17
+ "experimentalDecorators": true,
18
+ "outDir": "dist",
19
+ "moduleResolution": "node",
20
+ "esModuleInterop": true,
21
+ "rootDir": ".",
22
+ "resolveJsonModule": true
23
+ },
24
+ "exclude": [
25
+ "dist",
26
+ "package.json"
27
+ ],
28
+ "include": [
29
+ "**/*",
30
+ "**/*.json"
31
+ ]
32
+ }
@@ -0,0 +1,29 @@
1
+ declare module '*.png' {
2
+ const value: any;
3
+ export = value;
4
+ }
5
+ declare module '*.svg' {
6
+ import type { FunctionComponent, SVGProps } from 'react';
7
+
8
+ export const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement> & { title?: string }>;
9
+ const src: string;
10
+ export default src;
11
+ }
12
+
13
+ // @TODO Gilad
14
+ declare module '*.jpg' {
15
+ const value: any;
16
+ export = value;
17
+ }
18
+ declare module '*.jpeg' {
19
+ const value: any;
20
+ export = value;
21
+ }
22
+ declare module '*.gif' {
23
+ const value: any;
24
+ export = value;
25
+ }
26
+ declare module '*.bmp' {
27
+ const value: any;
28
+ export = value;
29
+ }
@@ -0,0 +1,42 @@
1
+ declare module '*.module.css' {
2
+ const classes: { readonly [key: string]: string };
3
+ export default classes;
4
+ }
5
+ declare module '*.module.scss' {
6
+ const classes: { readonly [key: string]: string };
7
+ export default classes;
8
+ }
9
+ declare module '*.module.sass' {
10
+ const classes: { readonly [key: string]: string };
11
+ export default classes;
12
+ }
13
+
14
+ declare module '*.module.less' {
15
+ const classes: { readonly [key: string]: string };
16
+ export default classes;
17
+ }
18
+
19
+ declare module '*.less' {
20
+ const classes: { readonly [key: string]: string };
21
+ export default classes;
22
+ }
23
+
24
+ declare module '*.css' {
25
+ const classes: { readonly [key: string]: string };
26
+ export default classes;
27
+ }
28
+
29
+ declare module '*.sass' {
30
+ const classes: { readonly [key: string]: string };
31
+ export default classes;
32
+ }
33
+
34
+ declare module '*.scss' {
35
+ const classes: { readonly [key: string]: string };
36
+ export default classes;
37
+ }
38
+
39
+ declare module '*.mdx' {
40
+ const component: any;
41
+ export default component;
42
+ }
File without changes
package/schema.json DELETED
@@ -1,482 +0,0 @@
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-changelog.tsx",
20
- "line": 46,
21
- "character": 1
22
- },
23
- "signature": "function ComponentCompareChangelog({ className }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element",
24
- "name": "ComponentCompareChangelog",
25
- "props": {
26
- "__schema": "ParameterSchema",
27
- "location": {
28
- "filePath": "component-compare-changelog.tsx",
29
- "line": 46,
30
- "character": 43
31
- },
32
- "name": "{ className }",
33
- "type": {
34
- "__schema": "TypeRefSchema",
35
- "location": {
36
- "filePath": "component-compare-changelog.tsx",
37
- "line": 46,
38
- "character": 58
39
- },
40
- "name": "ComponentCompareChangelogType",
41
- "internalFilePath": "component-compare-changelog.tsx"
42
- },
43
- "isOptional": false,
44
- "objectBindingNodes": [
45
- {
46
- "__schema": "InferenceTypeSchema",
47
- "location": {
48
- "filePath": "component-compare-changelog.tsx",
49
- "line": 46,
50
- "character": 45
51
- },
52
- "name": "className",
53
- "type": "string",
54
- "isSpread": false
55
- }
56
- ],
57
- "isSpread": false
58
- },
59
- "returnType": {
60
- "__schema": "TypeRefSchema",
61
- "location": {
62
- "filePath": "component-compare-changelog.tsx",
63
- "line": 46,
64
- "character": 1
65
- },
66
- "name": "React.JSX.Element",
67
- "packageName": "react"
68
- },
69
- "modifiers": [
70
- "export"
71
- ]
72
- }
73
- ],
74
- "internals": []
75
- },
76
- "internals": [
77
- {
78
- "__schema": "ModuleSchema",
79
- "location": {
80
- "filePath": "component-compare-changelog.tsx",
81
- "line": 1,
82
- "character": 1
83
- },
84
- "exports": [
85
- {
86
- "__schema": "TypeSchema",
87
- "location": {
88
- "filePath": "component-compare-changelog.tsx",
89
- "line": 11,
90
- "character": 1
91
- },
92
- "signature": "type ComponentCompareChangelogType = React.HTMLAttributes<HTMLDivElement>",
93
- "name": "ComponentCompareChangelogType",
94
- "type": {
95
- "__schema": "TypeIntersectionSchema",
96
- "location": {
97
- "filePath": "component-compare-changelog.tsx",
98
- "line": 11,
99
- "character": 45
100
- },
101
- "types": [
102
- {
103
- "__schema": "TypeLiteralSchema",
104
- "location": {
105
- "filePath": "component-compare-changelog.tsx",
106
- "line": 11,
107
- "character": 45
108
- },
109
- "members": []
110
- },
111
- {
112
- "__schema": "TypeRefSchema",
113
- "location": {
114
- "filePath": "component-compare-changelog.tsx",
115
- "line": 11,
116
- "character": 50
117
- },
118
- "name": "HTMLAttributes",
119
- "packageName": "react",
120
- "typeArgs": [
121
- {
122
- "__schema": "TypeRefSchema",
123
- "location": {
124
- "filePath": "component-compare-changelog.tsx",
125
- "line": 11,
126
- "character": 65
127
- },
128
- "name": "HTMLDivElement"
129
- }
130
- ]
131
- }
132
- ]
133
- }
134
- },
135
- {
136
- "__schema": "ReactSchema",
137
- "location": {
138
- "filePath": "component-compare-changelog.tsx",
139
- "line": 46,
140
- "character": 1
141
- },
142
- "signature": "function ComponentCompareChangelog({ className }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element",
143
- "name": "ComponentCompareChangelog",
144
- "props": {
145
- "__schema": "ParameterSchema",
146
- "location": {
147
- "filePath": "component-compare-changelog.tsx",
148
- "line": 46,
149
- "character": 43
150
- },
151
- "name": "{ className }",
152
- "type": {
153
- "__schema": "TypeRefSchema",
154
- "location": {
155
- "filePath": "component-compare-changelog.tsx",
156
- "line": 46,
157
- "character": 58
158
- },
159
- "name": "ComponentCompareChangelogType",
160
- "internalFilePath": "component-compare-changelog.tsx"
161
- },
162
- "isOptional": false,
163
- "objectBindingNodes": [
164
- {
165
- "__schema": "InferenceTypeSchema",
166
- "location": {
167
- "filePath": "component-compare-changelog.tsx",
168
- "line": 46,
169
- "character": 45
170
- },
171
- "name": "className",
172
- "type": "string",
173
- "isSpread": false
174
- }
175
- ],
176
- "isSpread": false
177
- },
178
- "returnType": {
179
- "__schema": "TypeRefSchema",
180
- "location": {
181
- "filePath": "component-compare-changelog.tsx",
182
- "line": 46,
183
- "character": 1
184
- },
185
- "name": "React.JSX.Element",
186
- "packageName": "react"
187
- },
188
- "modifiers": [
189
- "export"
190
- ]
191
- }
192
- ],
193
- "internals": [
194
- {
195
- "__schema": "ModuleSchema",
196
- "location": {
197
- "filePath": "component-compare-changelog.tsx",
198
- "line": 13,
199
- "character": 1
200
- },
201
- "exports": [
202
- {
203
- "__schema": "FunctionLikeSchema",
204
- "location": {
205
- "filePath": "component-compare-changelog.tsx",
206
- "line": 13,
207
- "character": 7
208
- },
209
- "signature": "function(logA: LegacyComponentLog, logB: LegacyComponentLog): [LegacyComponentLog, LegacyComponentLog]",
210
- "name": "orderByDateDsc",
211
- "params": [
212
- {
213
- "__schema": "ParameterSchema",
214
- "location": {
215
- "filePath": "component-compare-changelog.tsx",
216
- "line": 14,
217
- "character": 3
218
- },
219
- "name": "logA",
220
- "type": {
221
- "__schema": "TypeRefSchema",
222
- "location": {
223
- "filePath": "component-compare-changelog.tsx",
224
- "line": 14,
225
- "character": 10
226
- },
227
- "name": "LegacyComponentLog",
228
- "componentId": {
229
- "scope": "teambit.component",
230
- "name": "legacy-component-log",
231
- "version": "0.0.402"
232
- }
233
- },
234
- "isOptional": true,
235
- "isSpread": false
236
- },
237
- {
238
- "__schema": "ParameterSchema",
239
- "location": {
240
- "filePath": "component-compare-changelog.tsx",
241
- "line": 15,
242
- "character": 3
243
- },
244
- "name": "logB",
245
- "type": {
246
- "__schema": "TypeRefSchema",
247
- "location": {
248
- "filePath": "component-compare-changelog.tsx",
249
- "line": 15,
250
- "character": 10
251
- },
252
- "name": "LegacyComponentLog",
253
- "componentId": {
254
- "scope": "teambit.component",
255
- "name": "legacy-component-log",
256
- "version": "0.0.402"
257
- }
258
- },
259
- "isOptional": true,
260
- "isSpread": false
261
- }
262
- ],
263
- "returnType": {
264
- "__schema": "TupleTypeSchema",
265
- "location": {
266
- "filePath": "component-compare-changelog.tsx",
267
- "line": 16,
268
- "character": 6
269
- },
270
- "elements": [
271
- {
272
- "__schema": "TypeUnionSchema",
273
- "location": {
274
- "filePath": "component-compare-changelog.tsx",
275
- "line": 16,
276
- "character": 7
277
- },
278
- "types": [
279
- {
280
- "__schema": "TypeRefSchema",
281
- "location": {
282
- "filePath": "component-compare-changelog.tsx",
283
- "line": 16,
284
- "character": 7
285
- },
286
- "name": "LegacyComponentLog",
287
- "componentId": {
288
- "scope": "teambit.component",
289
- "name": "legacy-component-log",
290
- "version": "0.0.402"
291
- }
292
- },
293
- {
294
- "__schema": "KeywordTypeSchema",
295
- "location": {
296
- "filePath": "component-compare-changelog.tsx",
297
- "line": 16,
298
- "character": 28
299
- },
300
- "name": "undefined"
301
- }
302
- ]
303
- },
304
- {
305
- "__schema": "TypeUnionSchema",
306
- "location": {
307
- "filePath": "component-compare-changelog.tsx",
308
- "line": 16,
309
- "character": 39
310
- },
311
- "types": [
312
- {
313
- "__schema": "TypeRefSchema",
314
- "location": {
315
- "filePath": "component-compare-changelog.tsx",
316
- "line": 16,
317
- "character": 39
318
- },
319
- "name": "LegacyComponentLog",
320
- "componentId": {
321
- "scope": "teambit.component",
322
- "name": "legacy-component-log",
323
- "version": "0.0.402"
324
- }
325
- },
326
- {
327
- "__schema": "KeywordTypeSchema",
328
- "location": {
329
- "filePath": "component-compare-changelog.tsx",
330
- "line": 16,
331
- "character": 60
332
- },
333
- "name": "undefined"
334
- }
335
- ]
336
- }
337
- ]
338
- },
339
- "modifiers": []
340
- }
341
- ],
342
- "internals": []
343
- },
344
- {
345
- "__schema": "ModuleSchema",
346
- "location": {
347
- "filePath": "component-compare-changelog.tsx",
348
- "line": 27,
349
- "character": 1
350
- },
351
- "exports": [
352
- {
353
- "__schema": "FunctionLikeSchema",
354
- "location": {
355
- "filePath": "component-compare-changelog.tsx",
356
- "line": 27,
357
- "character": 7
358
- },
359
- "signature": "function(allLogs: LegacyComponentLog[], baseVersion: LegacyComponentLog, compareVersion: LegacyComponentLog): LegacyComponentLog[]",
360
- "name": "getLogsBetweenVersions",
361
- "params": [
362
- {
363
- "__schema": "ParameterSchema",
364
- "location": {
365
- "filePath": "component-compare-changelog.tsx",
366
- "line": 28,
367
- "character": 3
368
- },
369
- "name": "allLogs",
370
- "type": {
371
- "__schema": "TypeArraySchema",
372
- "location": {
373
- "filePath": "component-compare-changelog.tsx",
374
- "line": 28,
375
- "character": 12
376
- },
377
- "type": {
378
- "__schema": "TypeRefSchema",
379
- "location": {
380
- "filePath": "component-compare-changelog.tsx",
381
- "line": 28,
382
- "character": 12
383
- },
384
- "name": "LegacyComponentLog",
385
- "componentId": {
386
- "scope": "teambit.component",
387
- "name": "legacy-component-log",
388
- "version": "0.0.402"
389
- }
390
- }
391
- },
392
- "isOptional": false,
393
- "isSpread": false
394
- },
395
- {
396
- "__schema": "ParameterSchema",
397
- "location": {
398
- "filePath": "component-compare-changelog.tsx",
399
- "line": 29,
400
- "character": 3
401
- },
402
- "name": "baseVersion",
403
- "type": {
404
- "__schema": "TypeRefSchema",
405
- "location": {
406
- "filePath": "component-compare-changelog.tsx",
407
- "line": 29,
408
- "character": 17
409
- },
410
- "name": "LegacyComponentLog",
411
- "componentId": {
412
- "scope": "teambit.component",
413
- "name": "legacy-component-log",
414
- "version": "0.0.402"
415
- }
416
- },
417
- "isOptional": true,
418
- "isSpread": false
419
- },
420
- {
421
- "__schema": "ParameterSchema",
422
- "location": {
423
- "filePath": "component-compare-changelog.tsx",
424
- "line": 30,
425
- "character": 3
426
- },
427
- "name": "compareVersion",
428
- "type": {
429
- "__schema": "TypeRefSchema",
430
- "location": {
431
- "filePath": "component-compare-changelog.tsx",
432
- "line": 30,
433
- "character": 20
434
- },
435
- "name": "LegacyComponentLog",
436
- "componentId": {
437
- "scope": "teambit.component",
438
- "name": "legacy-component-log",
439
- "version": "0.0.402"
440
- }
441
- },
442
- "isOptional": true,
443
- "isSpread": false
444
- }
445
- ],
446
- "returnType": {
447
- "__schema": "TypeArraySchema",
448
- "location": {
449
- "filePath": "component-compare-changelog.tsx",
450
- "line": 31,
451
- "character": 6
452
- },
453
- "type": {
454
- "__schema": "TypeRefSchema",
455
- "location": {
456
- "filePath": "component-compare-changelog.tsx",
457
- "line": 31,
458
- "character": 6
459
- },
460
- "name": "LegacyComponentLog",
461
- "componentId": {
462
- "scope": "teambit.component",
463
- "name": "legacy-component-log",
464
- "version": "0.0.402"
465
- }
466
- }
467
- },
468
- "modifiers": []
469
- }
470
- ],
471
- "internals": []
472
- }
473
- ]
474
- }
475
- ],
476
- "componentId": {
477
- "scope": "teambit.component",
478
- "name": "ui/component-compare/changelog",
479
- "version": "be182aadeb34f842dc8e17c2eee7651887102c66"
480
- },
481
- "taggedModuleExports": []
482
- }