@teambit/compositions 1.0.106 → 1.0.108
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/composition.ts +60 -0
- package/compositions.aspect.ts +9 -0
- package/compositions.graphql.ts +32 -0
- package/compositions.main.runtime.ts +214 -0
- package/compositions.preview-definition.ts +40 -0
- package/compositions.preview.runtime.ts +93 -0
- package/dist/composition.d.ts +8 -8
- package/dist/composition.section.d.ts +3 -3
- package/dist/compositions.composition.d.ts +2 -2
- package/dist/compositions.d.ts +6 -6
- package/dist/compositions.js +8 -10
- package/dist/compositions.js.map +1 -1
- package/dist/compositions.main.runtime.d.ts +2 -5
- package/dist/compositions.main.runtime.js +3 -5
- package/dist/compositions.main.runtime.js.map +1 -1
- package/dist/compositions.preview.runtime.js +2 -2
- package/dist/compositions.preview.runtime.js.map +1 -1
- package/dist/compositions.ui.runtime.d.ts +4 -4
- package/dist/{preview-1703505948637.js → preview-1703647408454.js} +2 -2
- package/dist/ui/composition-preview.d.ts +3 -3
- package/dist/ui/composition-preview.js +3 -4
- package/dist/ui/composition-preview.js.map +1 -1
- package/dist/ui/compositions-panel/compositions-panel.d.ts +2 -2
- package/dist/ui/compositions-panel/compositions-panel.js +2 -2
- package/dist/ui/compositions-panel/compositions-panel.js.map +1 -1
- package/dist/ui/compositions-panel-node/compositions-panel-node.d.ts +2 -2
- package/index.ts +12 -0
- package/package.json +25 -32
- package/tsconfig.json +16 -21
- package/types/asset.d.ts +15 -3
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/compositions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.108",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/compositions/compositions",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.compositions",
|
|
8
8
|
"name": "compositions",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.108"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"graphql-tag": "2.12.1",
|
|
@@ -14,11 +14,8 @@
|
|
|
14
14
|
"lodash.head": "4.0.1",
|
|
15
15
|
"query-string": "7.0.0",
|
|
16
16
|
"classnames": "2.2.6",
|
|
17
|
-
"core-js": "^3.0.0",
|
|
18
|
-
"@babel/runtime": "7.20.0",
|
|
19
17
|
"@teambit/harmony": "0.4.6",
|
|
20
18
|
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
|
|
21
|
-
"@teambit/component-id": "1.2.0",
|
|
22
19
|
"@teambit/base-react.navigation.link": "2.0.27",
|
|
23
20
|
"@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
|
|
24
21
|
"@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
|
|
@@ -39,40 +36,39 @@
|
|
|
39
36
|
"@teambit/compositions.ui.composition-compare": "0.0.255",
|
|
40
37
|
"@teambit/evangelist.elements.icon": "1.0.2",
|
|
41
38
|
"@teambit/ui-foundation.ui.menu-widget-icon": "0.0.502",
|
|
42
|
-
"@teambit/component": "1.0.
|
|
39
|
+
"@teambit/component": "1.0.108",
|
|
43
40
|
"@teambit/compositions.model.composition-id": "0.0.500",
|
|
44
|
-
"@teambit/graphql": "1.0.
|
|
45
|
-
"@teambit/cli": "0.0.
|
|
46
|
-
"@teambit/dev-files": "1.0.
|
|
47
|
-
"@teambit/envs": "1.0.
|
|
48
|
-
"@teambit/preview": "1.0.
|
|
49
|
-
"@teambit/schema": "1.0.
|
|
50
|
-
"@teambit/scope": "1.0.
|
|
41
|
+
"@teambit/graphql": "1.0.108",
|
|
42
|
+
"@teambit/cli": "0.0.840",
|
|
43
|
+
"@teambit/dev-files": "1.0.108",
|
|
44
|
+
"@teambit/envs": "1.0.108",
|
|
45
|
+
"@teambit/preview": "1.0.108",
|
|
46
|
+
"@teambit/schema": "1.0.108",
|
|
47
|
+
"@teambit/scope": "1.0.108",
|
|
51
48
|
"@teambit/toolbox.path.match-patterns": "0.0.13",
|
|
52
|
-
"@teambit/workspace": "1.0.
|
|
49
|
+
"@teambit/workspace": "1.0.108",
|
|
53
50
|
"@teambit/docs.ui.queries.get-docs": "0.0.506",
|
|
54
|
-
"@teambit/panels": "0.0.
|
|
51
|
+
"@teambit/panels": "0.0.841",
|
|
55
52
|
"@teambit/preview.ui.component-preview": "1.0.3",
|
|
56
|
-
"@teambit/component-compare": "1.0.
|
|
57
|
-
"@teambit/ui": "1.0.
|
|
53
|
+
"@teambit/component-compare": "1.0.108",
|
|
54
|
+
"@teambit/ui": "1.0.108"
|
|
58
55
|
},
|
|
59
56
|
"devDependencies": {
|
|
60
|
-
"@types/react": "^17.0.8",
|
|
61
57
|
"@types/lodash": "4.14.165",
|
|
62
58
|
"@types/lodash.head": "4.0.6",
|
|
63
59
|
"@types/classnames": "2.2.11",
|
|
64
60
|
"@types/mocha": "9.1.0",
|
|
65
|
-
"@types/
|
|
66
|
-
"@types/
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
61
|
+
"@types/jest": "^29.2.2",
|
|
62
|
+
"@types/testing-library__jest-dom": "^5.9.5",
|
|
63
|
+
"@teambit/component-id": "1.2.0",
|
|
64
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.13",
|
|
69
65
|
"@teambit/compositions.aspect-docs.compositions": "0.0.165"
|
|
70
66
|
},
|
|
71
67
|
"peerDependencies": {
|
|
72
|
-
"react
|
|
73
|
-
"
|
|
74
|
-
"react": "^
|
|
75
|
-
"
|
|
68
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
69
|
+
"react-router-dom": "^6.8.1",
|
|
70
|
+
"@types/react": "^18.2.12",
|
|
71
|
+
"@teambit/legacy": "1.0.624"
|
|
76
72
|
},
|
|
77
73
|
"license": "Apache-2.0",
|
|
78
74
|
"optionalDependencies": {},
|
|
@@ -86,7 +82,7 @@
|
|
|
86
82
|
},
|
|
87
83
|
"private": false,
|
|
88
84
|
"engines": {
|
|
89
|
-
"node": ">=
|
|
85
|
+
"node": ">=16.0.0"
|
|
90
86
|
},
|
|
91
87
|
"repository": {
|
|
92
88
|
"type": "git",
|
|
@@ -95,12 +91,9 @@
|
|
|
95
91
|
"keywords": [
|
|
96
92
|
"bit",
|
|
97
93
|
"bit-aspect",
|
|
94
|
+
"bit-core-aspect",
|
|
98
95
|
"components",
|
|
99
96
|
"collaboration",
|
|
100
|
-
"web"
|
|
101
|
-
"react",
|
|
102
|
-
"react-components",
|
|
103
|
-
"angular",
|
|
104
|
-
"angular-components"
|
|
97
|
+
"web"
|
|
105
98
|
]
|
|
106
99
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,38 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"lib": [
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"DOM.Iterable",
|
|
8
|
-
"ScriptHost"
|
|
4
|
+
"esnext",
|
|
5
|
+
"dom",
|
|
6
|
+
"dom.Iterable"
|
|
9
7
|
],
|
|
10
|
-
"target": "
|
|
11
|
-
"module": "
|
|
12
|
-
"jsx": "react",
|
|
13
|
-
"allowJs": true,
|
|
14
|
-
"composite": true,
|
|
8
|
+
"target": "es2020",
|
|
9
|
+
"module": "es2020",
|
|
10
|
+
"jsx": "react-jsx",
|
|
15
11
|
"declaration": true,
|
|
16
12
|
"sourceMap": true,
|
|
17
|
-
"skipLibCheck": true,
|
|
18
13
|
"experimentalDecorators": true,
|
|
19
|
-
"
|
|
14
|
+
"skipLibCheck": true,
|
|
20
15
|
"moduleResolution": "node",
|
|
21
16
|
"esModuleInterop": true,
|
|
22
|
-
"rootDir": ".",
|
|
23
17
|
"resolveJsonModule": true,
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"strictPropertyInitialization": false,
|
|
28
|
-
"strict": true,
|
|
29
|
-
"noImplicitAny": false,
|
|
30
|
-
"preserveConstEnums": true
|
|
18
|
+
"allowJs": true,
|
|
19
|
+
"outDir": "dist",
|
|
20
|
+
"emitDeclarationOnly": true
|
|
31
21
|
},
|
|
32
22
|
"exclude": [
|
|
23
|
+
"artifacts",
|
|
24
|
+
"public",
|
|
33
25
|
"dist",
|
|
26
|
+
"node_modules",
|
|
27
|
+
"package.json",
|
|
34
28
|
"esm.mjs",
|
|
35
|
-
"
|
|
29
|
+
"**/*.cjs",
|
|
30
|
+
"./dist"
|
|
36
31
|
],
|
|
37
32
|
"include": [
|
|
38
33
|
"**/*",
|
package/types/asset.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ declare module '*.png' {
|
|
|
5
5
|
declare module '*.svg' {
|
|
6
6
|
import type { FunctionComponent, SVGProps } from 'react';
|
|
7
7
|
|
|
8
|
-
export const ReactComponent: FunctionComponent<
|
|
8
|
+
export const ReactComponent: FunctionComponent<
|
|
9
|
+
SVGProps<SVGSVGElement> & { title?: string }
|
|
10
|
+
>;
|
|
9
11
|
const src: string;
|
|
10
12
|
export default src;
|
|
11
13
|
}
|
|
12
|
-
|
|
13
|
-
// @TODO Gilad
|
|
14
14
|
declare module '*.jpg' {
|
|
15
15
|
const value: any;
|
|
16
16
|
export = value;
|
|
@@ -27,3 +27,15 @@ declare module '*.bmp' {
|
|
|
27
27
|
const value: any;
|
|
28
28
|
export = value;
|
|
29
29
|
}
|
|
30
|
+
declare module '*.otf' {
|
|
31
|
+
const value: any;
|
|
32
|
+
export = value;
|
|
33
|
+
}
|
|
34
|
+
declare module '*.woff' {
|
|
35
|
+
const value: any;
|
|
36
|
+
export = value;
|
|
37
|
+
}
|
|
38
|
+
declare module '*.woff2' {
|
|
39
|
+
const value: any;
|
|
40
|
+
export = value;
|
|
41
|
+
}
|