@teambit/component 1.0.694 → 1.0.696

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.
@@ -27,7 +27,7 @@ export default class ComponentFS extends MemoryFS {
27
27
  byGlob(patterns: string[]): AbstractVinyl[];
28
28
  toObject(): {
29
29
  path: string;
30
- contents: Buffer;
30
+ contents: Buffer<ArrayBufferLike>;
31
31
  }[];
32
32
  static fromVinyls(files: AbstractVinyl[]): ComponentFS;
33
33
  }
@@ -46,7 +46,7 @@ export declare class ComponentMap<T> {
46
46
  /**
47
47
  * get all component ids.
48
48
  */
49
- keys(): IterableIterator<string>;
49
+ keys(): MapIterator<string>;
50
50
  static create<U>(rawMap: [Component, U][]): ComponentMap<U>;
51
51
  /**
52
52
  * create a component map from components and a value predicate.
@@ -56,7 +56,7 @@ export declare class Component implements IComponent {
56
56
  * if on main, returns the head on main.
57
57
  * if on a lane, returns the head on the lane.
58
58
  */
59
- head: Snap | null,
59
+ head: (Snap | null) | undefined,
60
60
  /**
61
61
  * state of the component.
62
62
  */
@@ -64,7 +64,7 @@ export declare class Component implements IComponent {
64
64
  /**
65
65
  * tags of the component.
66
66
  */
67
- tags: TagMap,
67
+ tags: TagMap | undefined,
68
68
  /**
69
69
  * the component factory
70
70
  */
@@ -71,7 +71,7 @@ export declare class ComponentMain {
71
71
  */
72
72
  registerShowFragments(showFragments: ShowFragment[]): this;
73
73
  private _priorHost;
74
- static slots: (((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((registerFn: () => string) => SlotRegistry<ShowFragment[]>))[];
74
+ static slots: (((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<ShowFragment[]>))[];
75
75
  static runtime: import("@teambit/harmony").RuntimeDefinition;
76
76
  static dependencies: import("@teambit/harmony").Aspect[];
77
77
  static provider([graphql, express, cli, loggerMain]: [GraphqlMain, ExpressMain, CLIMain, LoggerMain], config: any, [hostSlot, showFragmentSlot]: [ComponentHostSlot, ShowFragmentSlot]): Promise<ComponentMain>;
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.694/dist/component.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.694/dist/component.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.696/dist/component.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.696/dist/component.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -87,7 +87,7 @@ export declare class ComponentModel {
87
87
  /**
88
88
  * status of component.
89
89
  */
90
- readonly status?: any;
90
+ readonly status?: any | undefined;
91
91
  /**
92
92
  * deprecation info of the component.
93
93
  */
@@ -152,7 +152,7 @@ export declare class ComponentModel {
152
152
  /**
153
153
  * status of component.
154
154
  */
155
- status?: any,
155
+ status?: any | undefined,
156
156
  /**
157
157
  * deprecation info of the component.
158
158
  */
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/component",
3
- "version": "1.0.694",
3
+ "version": "1.0.696",
4
4
  "homepage": "https://bit.cloud/teambit/component/component",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "component",
9
- "version": "1.0.694"
9
+ "version": "1.0.696"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/any-fs": "0.0.5",
@@ -36,6 +36,9 @@
36
36
  "@teambit/toolbox.string.capitalize": "0.0.500",
37
37
  "@teambit/harmony": "0.4.7",
38
38
  "@teambit/toolbox.path.path": "0.0.8",
39
+ "@teambit/cli": "0.0.1258",
40
+ "@teambit/express": "0.0.1357",
41
+ "@teambit/logger": "0.0.1351",
39
42
  "@teambit/bit-error": "0.0.404",
40
43
  "@teambit/legacy.constants": "0.0.14",
41
44
  "@teambit/component-package-version": "0.0.440",
@@ -53,6 +56,7 @@
53
56
  "@teambit/pkg.modules.component-package-name": "0.0.72",
54
57
  "@teambit/ui-foundation.ui.react-router.use-query": "0.0.505",
55
58
  "@teambit/legacy-component-log": "0.0.408",
59
+ "@teambit/component-descriptor": "0.0.440",
56
60
  "@teambit/semantics.doc-parser": "0.0.73",
57
61
  "@teambit/legacy.consumer": "0.0.65",
58
62
  "@teambit/legacy.dependency-graph": "0.0.68",
@@ -75,23 +79,19 @@
75
79
  "@teambit/lanes.hooks.use-lanes": "0.0.290",
76
80
  "@teambit/lanes.ui.models.lanes-model": "0.0.229",
77
81
  "@teambit/ui-foundation.ui.use-box.dropdown": "0.0.143",
78
- "@teambit/aspect-loader": "1.0.694",
79
- "@teambit/dependency-resolver": "1.0.694",
80
- "@teambit/objects": "0.0.201",
81
- "@teambit/graphql": "1.0.694",
82
- "@teambit/cli": "0.0.1257",
83
- "@teambit/express": "0.0.1356",
84
- "@teambit/logger": "0.0.1350",
85
- "@teambit/command-bar": "1.0.694",
86
- "@teambit/preview": "1.0.694",
87
- "@teambit/pubsub": "1.0.694",
88
- "@teambit/react-router": "1.0.694",
89
- "@teambit/ui": "1.0.694",
90
- "@teambit/component-descriptor": "0.0.439",
91
- "@teambit/compositions": "1.0.694",
92
- "@teambit/deprecation": "1.0.694",
93
- "@teambit/envs": "1.0.694",
94
- "@teambit/component.ui.version-dropdown": "0.0.898"
82
+ "@teambit/aspect-loader": "1.0.696",
83
+ "@teambit/dependency-resolver": "1.0.696",
84
+ "@teambit/objects": "0.0.203",
85
+ "@teambit/graphql": "1.0.696",
86
+ "@teambit/command-bar": "1.0.696",
87
+ "@teambit/preview": "1.0.696",
88
+ "@teambit/pubsub": "1.0.696",
89
+ "@teambit/react-router": "1.0.696",
90
+ "@teambit/ui": "1.0.696",
91
+ "@teambit/compositions": "1.0.696",
92
+ "@teambit/deprecation": "1.0.696",
93
+ "@teambit/envs": "1.0.696",
94
+ "@teambit/component.ui.version-dropdown": "0.0.899"
95
95
  },
96
96
  "devDependencies": {
97
97
  "@types/lodash": "4.14.165",
@@ -102,7 +102,7 @@
102
102
  "@types/lodash.compact": "3.0.6",
103
103
  "@types/mocha": "9.1.0",
104
104
  "@teambit/component.content.component-overview": "1.95.0",
105
- "@teambit/harmony.envs.core-aspect-env": "0.0.74"
105
+ "@teambit/harmony.envs.core-aspect-env": "0.0.75"
106
106
  },
107
107
  "peerDependencies": {
108
108
  "@apollo/client": "^3.6.0",