@teambit/component-tree 0.0.363 → 0.0.368

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.
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- //# sourceMappingURL=/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@0.0.363/component-tree-node.js.map
3
+ //# sourceMappingURL=component-tree-node.js.map
@@ -21,4 +21,4 @@ const ComponentTreeAspect = _harmony().Aspect.create({
21
21
 
22
22
  exports.ComponentTreeAspect = ComponentTreeAspect;
23
23
 
24
- //# sourceMappingURL=/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@0.0.363/component-tree.aspect.js.map
24
+ //# sourceMappingURL=component-tree.aspect.js.map
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- //# sourceMappingURL=/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@0.0.363/component-tree.composition.js.map
3
+ //# sourceMappingURL=component-tree.composition.js.map
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- //# sourceMappingURL=/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@0.0.363/component-tree.docs.js.map
3
+ //# sourceMappingURL=component-tree.docs.js.map
@@ -16,4 +16,4 @@
16
16
  // }
17
17
  "use strict";
18
18
 
19
- //# sourceMappingURL=/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@0.0.363/component-tree.drawer.js.map
19
+ //# sourceMappingURL=component-tree.drawer.js.map
@@ -74,4 +74,4 @@ exports.ComponentTreeUI = ComponentTreeUI;
74
74
 
75
75
  _componentTree().ComponentTreeAspect.addRuntime(ComponentTreeUI);
76
76
 
77
- //# sourceMappingURL=/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@0.0.363/component-tree.ui.runtime.js.map
77
+ //# sourceMappingURL=component-tree.ui.runtime.js.map
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "ComponentTreeAspect", {
12
12
  Object.defineProperty(exports, "ComponentTreeUI", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _componentTreeUi.ComponentTreeUI;
15
+ return _componentTreeUi().ComponentTreeUI;
16
16
  }
17
17
  });
18
18
  exports.default = void 0;
@@ -27,10 +27,18 @@ function _componentTree() {
27
27
  return data;
28
28
  }
29
29
 
30
- var _componentTreeUi = require("./component-tree.ui.runtime");
30
+ function _componentTreeUi() {
31
+ const data = require("./component-tree.ui.runtime");
32
+
33
+ _componentTreeUi = function () {
34
+ return data;
35
+ };
36
+
37
+ return data;
38
+ }
31
39
 
32
40
  var _default = _componentTree().ComponentTreeAspect;
33
41
 
34
42
  exports.default = _default;
35
43
 
36
- //# sourceMappingURL=/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-tree@0.0.363/index.js.map
44
+ //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":["ComponentTreeAspect"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAGA;;eAGeA,oC","sourcesContent":["import { ComponentTreeAspect } from './component-tree.aspect';\n\nexport { ComponentTreeAspect };\nexport { ComponentTreeUI } from './component-tree.ui.runtime';\nexport type { ComponentTreeSlot } from './component-tree.ui.runtime';\nexport type { ComponentTreeNode, ComponentTreeNodeProps } from './component-tree-node';\nexport default ComponentTreeAspect;\n"]}
1
+ {"version":3,"sources":["index.ts"],"names":["ComponentTreeAspect"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAGA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;eAGeA,oC","sourcesContent":["import { ComponentTreeAspect } from './component-tree.aspect';\n\nexport { ComponentTreeAspect };\nexport { ComponentTreeUI } from './component-tree.ui.runtime';\nexport type { ComponentTreeSlot } from './component-tree.ui.runtime';\nexport type { ComponentTreeNode, ComponentTreeNodeProps } from './component-tree-node';\nexport default ComponentTreeAspect;\n"]}
package/package.json CHANGED
@@ -1,38 +1,39 @@
1
1
  {
2
2
  "name": "@teambit/component-tree",
3
- "version": "0.0.363",
3
+ "version": "0.0.368",
4
4
  "homepage": "https://bit.dev/teambit/component/component-tree",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "component-tree",
9
- "version": "0.0.363"
9
+ "version": "0.0.368"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.2.11",
13
+ "@babel/runtime": "7.12.18",
13
14
  "core-js": "^3.0.0"
14
15
  },
15
16
  "devDependencies": {
16
17
  "@types/react": "^17.0.8",
17
18
  "@types/mocha": "5.2.7",
18
19
  "@types/testing-library__jest-dom": "5.9.5",
19
- "@babel/runtime": "7.12.18",
20
20
  "@types/jest": "^26.0.0",
21
21
  "@types/react-dom": "^17.0.5",
22
22
  "@types/node": "12.20.4"
23
23
  },
24
24
  "peerDependencies": {
25
- "@teambit/legacy": "1.0.76",
25
+ "@teambit/legacy": "1.0.169",
26
26
  "react-dom": "^16.8.0 || ^17.0.0",
27
27
  "react": "^16.8.0 || ^17.0.0"
28
28
  },
29
- "license": "SEE LICENSE IN LICENSE",
29
+ "license": "Apache-2.0",
30
30
  "bit": {
31
31
  "bindingPrefix": "@teambit",
32
32
  "env": {},
33
33
  "overrides": {
34
34
  "dependencies": {
35
35
  "@teambit/legacy": "-",
36
+ "@babel/runtime": "7.12.18",
36
37
  "core-js": "^3.0.0",
37
38
  "react-dom": "-",
38
39
  "react": "-"
@@ -41,7 +42,6 @@
41
42
  "@teambit/legacy": "-",
42
43
  "@types/mocha": "5.2.7",
43
44
  "@types/testing-library__jest-dom": "5.9.5",
44
- "@babel/runtime": "7.12.18",
45
45
  "@types/jest": "^26.0.0",
46
46
  "@types/react-dom": "^17.0.5",
47
47
  "@types/react": "^17.0.8",
@@ -50,7 +50,7 @@
50
50
  "react": "-"
51
51
  },
52
52
  "peerDependencies": {
53
- "@teambit/legacy": "1.0.76",
53
+ "@teambit/legacy": "1.0.169",
54
54
  "react-dom": "^16.8.0 || ^17.0.0",
55
55
  "react": "^16.8.0 || ^17.0.0"
56
56
  }
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "private": false,
60
60
  "engines": {
61
- "node": ">=12.15.0"
61
+ "node": ">=12.22.0"
62
62
  },
63
63
  "repository": {
64
64
  "type": "git",
package/tsconfig.json CHANGED
@@ -15,9 +15,9 @@
15
15
  "skipLibCheck": true,
16
16
  "moduleResolution": "node",
17
17
  "esModuleInterop": true,
18
+ "outDir": "dist",
18
19
  "composite": true,
19
20
  "emitDeclarationOnly": true,
20
- "outDir": "dist",
21
21
  "experimentalDecorators": true,
22
22
  "emitDecoratorMetadata": true,
23
23
  "allowSyntheticDefaultImports": true,
package/types/asset.d.ts CHANGED
@@ -3,9 +3,13 @@ declare module '*.png' {
3
3
  export = value;
4
4
  }
5
5
  declare module '*.svg' {
6
- const value: any;
7
- export = value;
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;
8
11
  }
12
+
9
13
  // @TODO Gilad
10
14
  declare module '*.jpg' {
11
15
  const value: any;
package/types/style.d.ts CHANGED
@@ -21,6 +21,21 @@ declare module '*.less' {
21
21
  export default classes;
22
22
  }
23
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
+
24
39
  declare module '*.mdx' {
25
40
  const component: any;
26
41
  export default component;