@teambit/component 1.0.693 → 1.0.695
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/dist/component-fs.d.ts +1 -1
- package/dist/component-map/component-map.d.ts +1 -1
- package/dist/component.d.ts +2 -2
- package/dist/component.main.runtime.d.ts +1 -1
- package/dist/esm.d.mts +29 -0
- package/dist/{preview-1754878511523.js → preview-1754947525247.js} +2 -2
- package/dist/ui/component-model/component-model.d.ts +2 -2
- package/package.json +23 -23
package/dist/component-fs.d.ts
CHANGED
|
@@ -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():
|
|
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.
|
package/dist/component.d.ts
CHANGED
|
@@ -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<
|
|
74
|
+
static slots: (((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<ComponentFactory>) | ((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>;
|
package/dist/esm.d.mts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export const ComponentFS: any;
|
|
2
|
+
export const InvalidComponent: any;
|
|
3
|
+
export const Component: any;
|
|
4
|
+
export const ComponentID: any;
|
|
5
|
+
export const ComponentAspect: any;
|
|
6
|
+
export const AspectEntry: any;
|
|
7
|
+
export const Snap: any;
|
|
8
|
+
export const Tag: any;
|
|
9
|
+
export const State: any;
|
|
10
|
+
export const TagMap: any;
|
|
11
|
+
export const ComponentMap: any;
|
|
12
|
+
export const ComponentContext: any;
|
|
13
|
+
export const ComponentDescriptorContext: any;
|
|
14
|
+
export const ComponentProvider: any;
|
|
15
|
+
export const useComponentDescriptor: any;
|
|
16
|
+
export const ComponentDescriptorProvider: any;
|
|
17
|
+
export const componentOverviewFields: any;
|
|
18
|
+
export const componentFields: any;
|
|
19
|
+
export const componentIdFields: any;
|
|
20
|
+
export const useComponent: any;
|
|
21
|
+
export const useIdFromLocation: any;
|
|
22
|
+
export const useComponentLogs: any;
|
|
23
|
+
export const Config: any;
|
|
24
|
+
export const ComponentModel: any;
|
|
25
|
+
export const CollapsibleMenuNav: any;
|
|
26
|
+
export const ComponentMenu: any;
|
|
27
|
+
export const VersionRelatedDropdowns: any;
|
|
28
|
+
export default cjsModule;
|
|
29
|
+
import cjsModule from './index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.695/dist/component.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.695/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.
|
|
3
|
+
"version": "1.0.695",
|
|
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.
|
|
9
|
+
"version": "1.0.695"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/any-fs": "0.0.5",
|
|
@@ -36,9 +36,6 @@
|
|
|
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.1256",
|
|
40
|
-
"@teambit/express": "0.0.1355",
|
|
41
|
-
"@teambit/logger": "0.0.1349",
|
|
42
39
|
"@teambit/bit-error": "0.0.404",
|
|
43
40
|
"@teambit/legacy.constants": "0.0.14",
|
|
44
41
|
"@teambit/component-package-version": "0.0.440",
|
|
@@ -56,7 +53,6 @@
|
|
|
56
53
|
"@teambit/pkg.modules.component-package-name": "0.0.72",
|
|
57
54
|
"@teambit/ui-foundation.ui.react-router.use-query": "0.0.505",
|
|
58
55
|
"@teambit/legacy-component-log": "0.0.408",
|
|
59
|
-
"@teambit/component-descriptor": "0.0.438",
|
|
60
56
|
"@teambit/semantics.doc-parser": "0.0.73",
|
|
61
57
|
"@teambit/legacy.consumer": "0.0.65",
|
|
62
58
|
"@teambit/legacy.dependency-graph": "0.0.68",
|
|
@@ -70,28 +66,32 @@
|
|
|
70
66
|
"@teambit/harmony.ui.aspect-box": "0.0.508",
|
|
71
67
|
"@teambit/design.ui.pages.not-found": "0.0.371",
|
|
72
68
|
"@teambit/design.ui.pages.server-error": "0.0.368",
|
|
69
|
+
"@teambit/design.ui.styles.ellipsis": "0.0.357",
|
|
70
|
+
"@teambit/envs.ui.env-icon": "0.0.507",
|
|
71
|
+
"@teambit/explorer.ui.command-bar": "2.0.17",
|
|
73
72
|
"@teambit/design.navigation.responsive-navbar": "0.0.8",
|
|
74
73
|
"@teambit/workspace.ui.use-workspace-mode": "0.0.2",
|
|
75
74
|
"@teambit/base-ui.layout.breakpoints": "1.0.0",
|
|
75
|
+
"@teambit/component.ui.version-dropdown": "0.0.898",
|
|
76
76
|
"@teambit/lanes.hooks.use-lanes": "0.0.290",
|
|
77
77
|
"@teambit/lanes.ui.models.lanes-model": "0.0.229",
|
|
78
78
|
"@teambit/ui-foundation.ui.use-box.dropdown": "0.0.143",
|
|
79
|
-
"@teambit/
|
|
80
|
-
"@teambit/
|
|
81
|
-
"@teambit/
|
|
82
|
-
"@teambit/
|
|
83
|
-
"@teambit/
|
|
84
|
-
"@teambit/
|
|
85
|
-
"@teambit/
|
|
86
|
-
"@teambit/command-bar": "1.0.
|
|
87
|
-
"@teambit/preview": "1.0.
|
|
88
|
-
"@teambit/pubsub": "1.0.
|
|
89
|
-
"@teambit/react-router": "1.0.
|
|
90
|
-
"@teambit/ui": "1.0.
|
|
91
|
-
"@teambit/
|
|
92
|
-
"@teambit/
|
|
93
|
-
"@teambit/
|
|
94
|
-
"@teambit/
|
|
79
|
+
"@teambit/aspect-loader": "1.0.695",
|
|
80
|
+
"@teambit/dependency-resolver": "1.0.695",
|
|
81
|
+
"@teambit/objects": "0.0.202",
|
|
82
|
+
"@teambit/graphql": "1.0.695",
|
|
83
|
+
"@teambit/cli": "0.0.1258",
|
|
84
|
+
"@teambit/express": "0.0.1357",
|
|
85
|
+
"@teambit/logger": "0.0.1351",
|
|
86
|
+
"@teambit/command-bar": "1.0.695",
|
|
87
|
+
"@teambit/preview": "1.0.695",
|
|
88
|
+
"@teambit/pubsub": "1.0.695",
|
|
89
|
+
"@teambit/react-router": "1.0.695",
|
|
90
|
+
"@teambit/ui": "1.0.695",
|
|
91
|
+
"@teambit/component-descriptor": "0.0.440",
|
|
92
|
+
"@teambit/compositions": "1.0.695",
|
|
93
|
+
"@teambit/deprecation": "1.0.695",
|
|
94
|
+
"@teambit/envs": "1.0.695"
|
|
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.
|
|
105
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.75"
|
|
106
106
|
},
|
|
107
107
|
"peerDependencies": {
|
|
108
108
|
"@apollo/client": "^3.6.0",
|