@teambit/schema 1.0.6 → 1.0.7
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.
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
"line": 6,
|
|
480
480
|
"character": 14
|
|
481
481
|
},
|
|
482
|
-
"signature": "
|
|
482
|
+
"signature": "function(): any",
|
|
483
483
|
"name": "BasicButton",
|
|
484
484
|
"params": [],
|
|
485
485
|
"returnType": {
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
"location": {
|
|
488
488
|
"filePath": "button.composition.tsx",
|
|
489
489
|
"line": 6,
|
|
490
|
-
"character":
|
|
490
|
+
"character": 28
|
|
491
491
|
},
|
|
492
492
|
"type": "any"
|
|
493
493
|
},
|
|
@@ -548,10 +548,12 @@
|
|
|
548
548
|
"location": {
|
|
549
549
|
"filePath": "button.composition.tsx",
|
|
550
550
|
"line": 14,
|
|
551
|
-
"character":
|
|
551
|
+
"character": 26
|
|
552
552
|
},
|
|
553
553
|
"name": "children",
|
|
554
|
-
"type": "any"
|
|
554
|
+
"type": "any",
|
|
555
|
+
"defaultValue": "<BasicButton />",
|
|
556
|
+
"isSpread": false
|
|
555
557
|
}
|
|
556
558
|
],
|
|
557
559
|
"isSpread": false
|
|
@@ -577,7 +579,7 @@
|
|
|
577
579
|
"line": 18,
|
|
578
580
|
"character": 14
|
|
579
581
|
},
|
|
580
|
-
"signature": "
|
|
582
|
+
"signature": "function(): any",
|
|
581
583
|
"name": "ButtonWithCustomStyles",
|
|
582
584
|
"params": [],
|
|
583
585
|
"returnType": {
|
|
@@ -585,7 +587,7 @@
|
|
|
585
587
|
"location": {
|
|
586
588
|
"filePath": "button.composition.tsx",
|
|
587
589
|
"line": 18,
|
|
588
|
-
"character":
|
|
590
|
+
"character": 39
|
|
589
591
|
},
|
|
590
592
|
"type": "any"
|
|
591
593
|
},
|
|
@@ -598,7 +600,7 @@
|
|
|
598
600
|
"line": 22,
|
|
599
601
|
"character": 14
|
|
600
602
|
},
|
|
601
|
-
"signature": "
|
|
603
|
+
"signature": "function(): any",
|
|
602
604
|
"name": "ButtonWithIcon",
|
|
603
605
|
"params": [],
|
|
604
606
|
"returnType": {
|
|
@@ -606,7 +608,7 @@
|
|
|
606
608
|
"location": {
|
|
607
609
|
"filePath": "button.composition.tsx",
|
|
608
610
|
"line": 22,
|
|
609
|
-
"character":
|
|
611
|
+
"character": 31
|
|
610
612
|
},
|
|
611
613
|
"type": "any"
|
|
612
614
|
},
|
|
@@ -619,7 +621,7 @@
|
|
|
619
621
|
"line": 31,
|
|
620
622
|
"character": 14
|
|
621
623
|
},
|
|
622
|
-
"signature": "
|
|
624
|
+
"signature": "function(): any",
|
|
623
625
|
"name": "ButtonAsALink",
|
|
624
626
|
"params": [],
|
|
625
627
|
"returnType": {
|
|
@@ -627,7 +629,7 @@
|
|
|
627
629
|
"location": {
|
|
628
630
|
"filePath": "button.composition.tsx",
|
|
629
631
|
"line": 31,
|
|
630
|
-
"character":
|
|
632
|
+
"character": 30
|
|
631
633
|
},
|
|
632
634
|
"type": "any"
|
|
633
635
|
},
|
|
@@ -665,7 +667,7 @@
|
|
|
665
667
|
"line": 30,
|
|
666
668
|
"character": 14
|
|
667
669
|
},
|
|
668
|
-
"signature": "
|
|
670
|
+
"signature": "function(): void",
|
|
669
671
|
"name": "Function",
|
|
670
672
|
"params": [],
|
|
671
673
|
"returnType": {
|
|
@@ -673,7 +675,7 @@
|
|
|
673
675
|
"location": {
|
|
674
676
|
"filePath": "index.ts",
|
|
675
677
|
"line": 30,
|
|
676
|
-
"character":
|
|
678
|
+
"character": 25
|
|
677
679
|
},
|
|
678
680
|
"type": "void"
|
|
679
681
|
},
|
|
@@ -1051,7 +1053,7 @@
|
|
|
1051
1053
|
"line": 69,
|
|
1052
1054
|
"character": 14
|
|
1053
1055
|
},
|
|
1054
|
-
"signature": "
|
|
1056
|
+
"signature": "function(bar: Bar): Bar",
|
|
1055
1057
|
"name": "getBar",
|
|
1056
1058
|
"params": [
|
|
1057
1059
|
{
|
|
@@ -1081,7 +1083,7 @@
|
|
|
1081
1083
|
"location": {
|
|
1082
1084
|
"filePath": "index.ts",
|
|
1083
1085
|
"line": 69,
|
|
1084
|
-
"character":
|
|
1086
|
+
"character": 23
|
|
1085
1087
|
},
|
|
1086
1088
|
"name": "Bar",
|
|
1087
1089
|
"internalFilePath": "index.ts"
|
|
@@ -1095,7 +1097,7 @@
|
|
|
1095
1097
|
"line": 71,
|
|
1096
1098
|
"character": 14
|
|
1097
1099
|
},
|
|
1098
|
-
"signature": "
|
|
1100
|
+
"signature": "function([a, b, c]: [string, Function, Record<string, any>]): void",
|
|
1099
1101
|
"name": "tuple",
|
|
1100
1102
|
"params": [
|
|
1101
1103
|
{
|
|
@@ -1153,7 +1155,7 @@
|
|
|
1153
1155
|
"location": {
|
|
1154
1156
|
"filePath": "index.ts",
|
|
1155
1157
|
"line": 71,
|
|
1156
|
-
"character":
|
|
1158
|
+
"character": 22
|
|
1157
1159
|
},
|
|
1158
1160
|
"type": "void"
|
|
1159
1161
|
},
|
|
@@ -1488,10 +1490,12 @@
|
|
|
1488
1490
|
"location": {
|
|
1489
1491
|
"filePath": "index.ts",
|
|
1490
1492
|
"line": 96,
|
|
1491
|
-
"character":
|
|
1493
|
+
"character": 47
|
|
1492
1494
|
},
|
|
1493
1495
|
"name": "prop",
|
|
1494
|
-
"type": "number"
|
|
1496
|
+
"type": "number",
|
|
1497
|
+
"defaultValue": "1",
|
|
1498
|
+
"isSpread": false
|
|
1495
1499
|
}
|
|
1496
1500
|
],
|
|
1497
1501
|
"isSpread": false
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@1.0.7/dist/schema.composition.js';
|
|
2
|
+
import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@1.0.7/dist/mock/button/button.composition.js';
|
|
3
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@1.0.7/dist/schema.docs.mdx';
|
|
4
|
+
|
|
5
|
+
export const compositions = [compositions_0, compositions_1];
|
|
6
|
+
export const overview = [overview_0];
|
|
7
|
+
|
|
8
|
+
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"},{"displayName":"Basic button","identifier":"BasicButton"},{"displayName":"Footer","identifier":"Footer"},{"displayName":"Button with custom styles","identifier":"ButtonWithCustomStyles"},{"displayName":"Button with icon","identifier":"ButtonWithIcon"},{"displayName":"Button as a link","identifier":"ButtonAsALink"}]};
|
package/mock/button-schemas.json
CHANGED
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
"line": 6,
|
|
480
480
|
"character": 14
|
|
481
481
|
},
|
|
482
|
-
"signature": "
|
|
482
|
+
"signature": "function(): any",
|
|
483
483
|
"name": "BasicButton",
|
|
484
484
|
"params": [],
|
|
485
485
|
"returnType": {
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
"location": {
|
|
488
488
|
"filePath": "button.composition.tsx",
|
|
489
489
|
"line": 6,
|
|
490
|
-
"character":
|
|
490
|
+
"character": 28
|
|
491
491
|
},
|
|
492
492
|
"type": "any"
|
|
493
493
|
},
|
|
@@ -548,10 +548,12 @@
|
|
|
548
548
|
"location": {
|
|
549
549
|
"filePath": "button.composition.tsx",
|
|
550
550
|
"line": 14,
|
|
551
|
-
"character":
|
|
551
|
+
"character": 26
|
|
552
552
|
},
|
|
553
553
|
"name": "children",
|
|
554
|
-
"type": "any"
|
|
554
|
+
"type": "any",
|
|
555
|
+
"defaultValue": "<BasicButton />",
|
|
556
|
+
"isSpread": false
|
|
555
557
|
}
|
|
556
558
|
],
|
|
557
559
|
"isSpread": false
|
|
@@ -577,7 +579,7 @@
|
|
|
577
579
|
"line": 18,
|
|
578
580
|
"character": 14
|
|
579
581
|
},
|
|
580
|
-
"signature": "
|
|
582
|
+
"signature": "function(): any",
|
|
581
583
|
"name": "ButtonWithCustomStyles",
|
|
582
584
|
"params": [],
|
|
583
585
|
"returnType": {
|
|
@@ -585,7 +587,7 @@
|
|
|
585
587
|
"location": {
|
|
586
588
|
"filePath": "button.composition.tsx",
|
|
587
589
|
"line": 18,
|
|
588
|
-
"character":
|
|
590
|
+
"character": 39
|
|
589
591
|
},
|
|
590
592
|
"type": "any"
|
|
591
593
|
},
|
|
@@ -598,7 +600,7 @@
|
|
|
598
600
|
"line": 22,
|
|
599
601
|
"character": 14
|
|
600
602
|
},
|
|
601
|
-
"signature": "
|
|
603
|
+
"signature": "function(): any",
|
|
602
604
|
"name": "ButtonWithIcon",
|
|
603
605
|
"params": [],
|
|
604
606
|
"returnType": {
|
|
@@ -606,7 +608,7 @@
|
|
|
606
608
|
"location": {
|
|
607
609
|
"filePath": "button.composition.tsx",
|
|
608
610
|
"line": 22,
|
|
609
|
-
"character":
|
|
611
|
+
"character": 31
|
|
610
612
|
},
|
|
611
613
|
"type": "any"
|
|
612
614
|
},
|
|
@@ -619,7 +621,7 @@
|
|
|
619
621
|
"line": 31,
|
|
620
622
|
"character": 14
|
|
621
623
|
},
|
|
622
|
-
"signature": "
|
|
624
|
+
"signature": "function(): any",
|
|
623
625
|
"name": "ButtonAsALink",
|
|
624
626
|
"params": [],
|
|
625
627
|
"returnType": {
|
|
@@ -627,7 +629,7 @@
|
|
|
627
629
|
"location": {
|
|
628
630
|
"filePath": "button.composition.tsx",
|
|
629
631
|
"line": 31,
|
|
630
|
-
"character":
|
|
632
|
+
"character": 30
|
|
631
633
|
},
|
|
632
634
|
"type": "any"
|
|
633
635
|
},
|
|
@@ -665,7 +667,7 @@
|
|
|
665
667
|
"line": 30,
|
|
666
668
|
"character": 14
|
|
667
669
|
},
|
|
668
|
-
"signature": "
|
|
670
|
+
"signature": "function(): void",
|
|
669
671
|
"name": "Function",
|
|
670
672
|
"params": [],
|
|
671
673
|
"returnType": {
|
|
@@ -673,7 +675,7 @@
|
|
|
673
675
|
"location": {
|
|
674
676
|
"filePath": "index.ts",
|
|
675
677
|
"line": 30,
|
|
676
|
-
"character":
|
|
678
|
+
"character": 25
|
|
677
679
|
},
|
|
678
680
|
"type": "void"
|
|
679
681
|
},
|
|
@@ -1051,7 +1053,7 @@
|
|
|
1051
1053
|
"line": 69,
|
|
1052
1054
|
"character": 14
|
|
1053
1055
|
},
|
|
1054
|
-
"signature": "
|
|
1056
|
+
"signature": "function(bar: Bar): Bar",
|
|
1055
1057
|
"name": "getBar",
|
|
1056
1058
|
"params": [
|
|
1057
1059
|
{
|
|
@@ -1081,7 +1083,7 @@
|
|
|
1081
1083
|
"location": {
|
|
1082
1084
|
"filePath": "index.ts",
|
|
1083
1085
|
"line": 69,
|
|
1084
|
-
"character":
|
|
1086
|
+
"character": 23
|
|
1085
1087
|
},
|
|
1086
1088
|
"name": "Bar",
|
|
1087
1089
|
"internalFilePath": "index.ts"
|
|
@@ -1095,7 +1097,7 @@
|
|
|
1095
1097
|
"line": 71,
|
|
1096
1098
|
"character": 14
|
|
1097
1099
|
},
|
|
1098
|
-
"signature": "
|
|
1100
|
+
"signature": "function([a, b, c]: [string, Function, Record<string, any>]): void",
|
|
1099
1101
|
"name": "tuple",
|
|
1100
1102
|
"params": [
|
|
1101
1103
|
{
|
|
@@ -1153,7 +1155,7 @@
|
|
|
1153
1155
|
"location": {
|
|
1154
1156
|
"filePath": "index.ts",
|
|
1155
1157
|
"line": 71,
|
|
1156
|
-
"character":
|
|
1158
|
+
"character": 22
|
|
1157
1159
|
},
|
|
1158
1160
|
"type": "void"
|
|
1159
1161
|
},
|
|
@@ -1488,10 +1490,12 @@
|
|
|
1488
1490
|
"location": {
|
|
1489
1491
|
"filePath": "index.ts",
|
|
1490
1492
|
"line": 96,
|
|
1491
|
-
"character":
|
|
1493
|
+
"character": 47
|
|
1492
1494
|
},
|
|
1493
1495
|
"name": "prop",
|
|
1494
|
-
"type": "number"
|
|
1496
|
+
"type": "number",
|
|
1497
|
+
"defaultValue": "1",
|
|
1498
|
+
"isSpread": false
|
|
1495
1499
|
}
|
|
1496
1500
|
],
|
|
1497
1501
|
"isSpread": false
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/schema",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/semantics/schema",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.semantics",
|
|
8
8
|
"name": "schema",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.7"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"p-map-series": "2.1.0",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
"@teambit/harmony": "0.4.6",
|
|
19
19
|
"@teambit/base-react.navigation.link": "2.0.27",
|
|
20
20
|
"@teambit/semantics.entities.semantic-schema": "0.0.58",
|
|
21
|
-
"@teambit/envs": "1.0.
|
|
22
|
-
"@teambit/component": "1.0.
|
|
23
|
-
"@teambit/formatter": "1.0.
|
|
24
|
-
"@teambit/cli": "0.0.
|
|
25
|
-
"@teambit/logger": "0.0.
|
|
26
|
-
"@teambit/builder": "1.0.
|
|
21
|
+
"@teambit/envs": "1.0.7",
|
|
22
|
+
"@teambit/component": "1.0.7",
|
|
23
|
+
"@teambit/formatter": "1.0.7",
|
|
24
|
+
"@teambit/cli": "0.0.789",
|
|
25
|
+
"@teambit/logger": "0.0.882",
|
|
26
|
+
"@teambit/builder": "1.0.7",
|
|
27
27
|
"@teambit/defender.prettier.config-mutator": "0.0.92",
|
|
28
|
-
"@teambit/graphql": "1.0.
|
|
29
|
-
"@teambit/workspace": "1.0.
|
|
28
|
+
"@teambit/graphql": "1.0.7",
|
|
29
|
+
"@teambit/workspace": "1.0.7"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/react": "^17.0.8",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@types/jest": "^26.0.0",
|
|
41
41
|
"@types/testing-library__jest-dom": "5.9.5",
|
|
42
42
|
"@teambit/component-id": "0.0.427",
|
|
43
|
-
"@teambit/harmony.testing.load-aspect": "0.0.
|
|
44
|
-
"@teambit/tracker": "1.0.
|
|
43
|
+
"@teambit/harmony.testing.load-aspect": "0.0.150",
|
|
44
|
+
"@teambit/tracker": "1.0.7",
|
|
45
45
|
"@teambit/workspace.testing.mock-workspace": "0.0.16"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@teambit/legacy": "1.0.
|
|
48
|
+
"@teambit/legacy": "1.0.569",
|
|
49
49
|
"react": "^16.8.0 || ^17.0.0",
|
|
50
50
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
51
51
|
},
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as compositions_0 from '/Users/davidfirst/Library/Caches/Bit/capsules/05de4a3a532ca288e0160acc2b7343648396ffb2/teambit.semantics_schema@1.0.6/dist/schema.composition.js';
|
|
2
|
-
import * as compositions_1 from '/Users/davidfirst/Library/Caches/Bit/capsules/05de4a3a532ca288e0160acc2b7343648396ffb2/teambit.semantics_schema@1.0.6/dist/mock/button/button.composition.js';
|
|
3
|
-
import * as overview_0 from '/Users/davidfirst/Library/Caches/Bit/capsules/05de4a3a532ca288e0160acc2b7343648396ffb2/teambit.semantics_schema@1.0.6/dist/schema.docs.mdx';
|
|
4
|
-
|
|
5
|
-
export const compositions = [compositions_0, compositions_1];
|
|
6
|
-
export const overview = [overview_0];
|
|
7
|
-
|
|
8
|
-
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"},{"displayName":"Basic button","identifier":"BasicButton"},{"displayName":"Footer","identifier":"Footer"},{"displayName":"Button with custom styles","identifier":"ButtonWithCustomStyles"},{"displayName":"Button with icon","identifier":"ButtonWithIcon"},{"displayName":"Button as a link","identifier":"ButtonAsALink"}]};
|