@teambit/component 1.0.1083 → 1.0.1084
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.d.ts +1 -1
- package/dist/component.main.runtime.d.ts +1 -1
- package/dist/component.ui.runtime.d.ts +1 -1
- package/dist/{preview-1785371732014.js → preview-1785427575785.js} +2 -2
- package/dist/show/legacy-show/docs-template.d.ts +1 -1
- package/dist/show/legacy-show/get-consumer-component.d.ts +1 -1
- package/dist/show/legacy-show/legacy-show.d.ts +1 -1
- package/dist/ui/component-model/component-model.d.ts +2 -2
- package/package.json +16 -16
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:
|
|
59
|
+
head: Snap | null | undefined,
|
|
60
60
|
/**
|
|
61
61
|
* state of the component.
|
|
62
62
|
*/
|
|
@@ -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<ShowFragment[]>) | ((registerFn: () => string) => SlotRegistry<ComponentFactory>))[];
|
|
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>;
|
|
@@ -97,7 +97,7 @@ export declare class ComponentUI {
|
|
|
97
97
|
updateComponents: (components: ComponentModel[]) => void;
|
|
98
98
|
static dependencies: import("@teambit/harmony").Aspect[];
|
|
99
99
|
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
100
|
-
static slots: (((registerFn: () => string) => SlotRegistry<
|
|
100
|
+
static slots: (((registerFn: () => string) => SlotRegistry<ComponentPageSlot>) | ((registerFn: () => string) => SlotRegistry<ComponentSearchResultSlot>) | ((registerFn: () => string) => SlotRegistry<ConsumeMethodSlot>) | ((registerFn: () => string) => SlotRegistry<MenuItemSlot>) | ((registerFn: () => string) => SlotRegistry<NavPlugin>) | ((registerFn: () => string) => SlotRegistry<NavigationSlot>) | ((registerFn: () => string) => SlotRegistry<RightSideMenuSlot>) | ((registerFn: () => string) => SlotRegistry<RouteProps>))[];
|
|
101
101
|
static defaultConfig: ComponentUIConfig;
|
|
102
102
|
static provider([pubsub, commandBarUI, reactRouterUI]: [PubsubUI, CommandBarUI, ReactRouterUI], config: ComponentUIConfig, [routeSlot, navSlot, consumeMethodSlot, widgetSlot, menuItemSlot, pageSlot, componentSearchResultSlot, rightSideMenuSlot, pinnedWidgetSlot,]: [
|
|
103
103
|
RouteSlot,
|
|
@@ -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.1084/dist/component.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.1084/dist/component.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Doclet } from '@teambit/semantics.doc-parser';
|
|
2
2
|
export declare const paintDoc: (doc: Doclet) => string;
|
|
3
|
-
declare const _default: (docs: Doclet[] | null | undefined) => string;
|
|
4
3
|
export default _default;
|
|
4
|
+
declare function _default(docs: Doclet[] | null | undefined): string;
|
|
@@ -5,6 +5,6 @@ export declare function getConsumerComponent({ id, compare }: {
|
|
|
5
5
|
component: import("@teambit/legacy.consumer-component").ConsumerComponent;
|
|
6
6
|
componentModel: import("@teambit/legacy.consumer-component").ConsumerComponent;
|
|
7
7
|
} | {
|
|
8
|
-
component: import("@teambit/legacy.consumer-component").ConsumerComponent;
|
|
9
8
|
componentModel?: undefined;
|
|
9
|
+
component: import("@teambit/legacy.consumer-component").ConsumerComponent;
|
|
10
10
|
}>;
|
|
@@ -4,7 +4,7 @@ export declare function show({ id, json, remote, compare, }: {
|
|
|
4
4
|
remote: boolean;
|
|
5
5
|
compare: boolean;
|
|
6
6
|
}): Promise<{
|
|
7
|
-
component: import("@teambit/legacy.consumer-component").ConsumerComponent | import("@teambit/legacy.consumer-component").ConsumerComponent
|
|
7
|
+
component: import("@teambit/legacy.consumer-component").ConsumerComponent[] | import("@teambit/legacy.consumer-component").ConsumerComponent;
|
|
8
8
|
componentModel: any;
|
|
9
9
|
dependentsInfo: any;
|
|
10
10
|
dependenciesInfo: any;
|
|
@@ -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;
|
|
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,
|
|
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.1084",
|
|
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.1084"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/any-fs": "0.0.5",
|
|
@@ -64,12 +64,12 @@
|
|
|
64
64
|
"@teambit/legacy.scope": "0.0.142",
|
|
65
65
|
"@teambit/scope.remotes": "0.0.142",
|
|
66
66
|
"@teambit/legacy.component-diff": "0.0.198",
|
|
67
|
+
"@teambit/design.ui.pages.not-found": "0.0.371",
|
|
68
|
+
"@teambit/design.ui.pages.server-error": "0.0.368",
|
|
67
69
|
"@teambit/design.ui.empty-box": "0.0.364",
|
|
68
70
|
"@teambit/documenter.ui.heading": "4.1.8",
|
|
69
71
|
"@teambit/documenter.ui.separator": "4.1.7",
|
|
70
72
|
"@teambit/harmony.ui.aspect-box": "0.0.511",
|
|
71
|
-
"@teambit/design.ui.pages.not-found": "0.0.371",
|
|
72
|
-
"@teambit/design.ui.pages.server-error": "0.0.368",
|
|
73
73
|
"@teambit/design.ui.styles.ellipsis": "0.0.357",
|
|
74
74
|
"@teambit/envs.ui.env-icon": "0.0.508",
|
|
75
75
|
"@teambit/explorer.ui.command-bar": "2.0.19",
|
|
@@ -80,18 +80,18 @@
|
|
|
80
80
|
"@teambit/lanes.hooks.use-lanes": "0.0.294",
|
|
81
81
|
"@teambit/lanes.ui.models.lanes-model": "0.0.233",
|
|
82
82
|
"@teambit/ui-foundation.ui.use-box.dropdown": "0.0.151",
|
|
83
|
-
"@teambit/aspect-loader": "1.0.
|
|
84
|
-
"@teambit/dependency-resolver": "1.0.
|
|
85
|
-
"@teambit/objects": "0.0.
|
|
86
|
-
"@teambit/graphql": "1.0.
|
|
87
|
-
"@teambit/command-bar": "1.0.
|
|
88
|
-
"@teambit/preview": "1.0.
|
|
89
|
-
"@teambit/pubsub": "1.0.
|
|
90
|
-
"@teambit/react-router": "1.0.
|
|
91
|
-
"@teambit/ui": "1.0.
|
|
92
|
-
"@teambit/compositions": "1.0.
|
|
93
|
-
"@teambit/deprecation": "1.0.
|
|
94
|
-
"@teambit/envs": "1.0.
|
|
83
|
+
"@teambit/aspect-loader": "1.0.1084",
|
|
84
|
+
"@teambit/dependency-resolver": "1.0.1084",
|
|
85
|
+
"@teambit/objects": "0.0.591",
|
|
86
|
+
"@teambit/graphql": "1.0.1084",
|
|
87
|
+
"@teambit/command-bar": "1.0.1084",
|
|
88
|
+
"@teambit/preview": "1.0.1084",
|
|
89
|
+
"@teambit/pubsub": "1.0.1084",
|
|
90
|
+
"@teambit/react-router": "1.0.1084",
|
|
91
|
+
"@teambit/ui": "1.0.1084",
|
|
92
|
+
"@teambit/compositions": "1.0.1084",
|
|
93
|
+
"@teambit/deprecation": "1.0.1084",
|
|
94
|
+
"@teambit/envs": "1.0.1084"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@types/lodash": "4.14.165",
|