@teambit/component 0.0.557 → 0.0.558
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.graphql.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
|
@@ -13,7 +13,7 @@ export declare function componentSchema(componentExtension: ComponentMain): {
|
|
|
13
13
|
path: string;
|
|
14
14
|
}) => string | undefined;
|
|
15
15
|
mainFile: (component: Component) => any;
|
|
16
|
-
headTag: (component: Component) => import("
|
|
16
|
+
headTag: (component: Component) => import(".").TagProps | undefined;
|
|
17
17
|
latest: (component: Component) => string | undefined;
|
|
18
18
|
tags: (component: any) => any;
|
|
19
19
|
aspects: (component: Component) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ export type { default as ComponentConfig } from './config';
|
|
|
7
7
|
export type { ComponentFactory } from './component-factory';
|
|
8
8
|
export type { AspectList } from './aspect-list';
|
|
9
9
|
export { AspectEntry, AspectData } from './aspect-entry';
|
|
10
|
-
export { Snap } from './snap/snap';
|
|
10
|
+
export { Snap, SnapProps } from './snap/snap';
|
|
11
11
|
export type { Author } from './snap/author';
|
|
12
|
-
export { Tag } from './tag/tag';
|
|
12
|
+
export { Tag, TagProps } from './tag/tag';
|
|
13
13
|
export { State } from './state';
|
|
14
14
|
export type { Hash } from './hash';
|
|
15
15
|
export { TagMap } from './tag-map';
|
package/dist/index.js
CHANGED
|
@@ -89,6 +89,12 @@ Object.defineProperty(exports, "Snap", {
|
|
|
89
89
|
return _snap().Snap;
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
|
+
Object.defineProperty(exports, "SnapProps", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () {
|
|
95
|
+
return _snap().SnapProps;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
92
98
|
Object.defineProperty(exports, "State", {
|
|
93
99
|
enumerable: true,
|
|
94
100
|
get: function () {
|
|
@@ -107,6 +113,12 @@ Object.defineProperty(exports, "TagMap", {
|
|
|
107
113
|
return _tagMap().TagMap;
|
|
108
114
|
}
|
|
109
115
|
});
|
|
116
|
+
Object.defineProperty(exports, "TagProps", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () {
|
|
119
|
+
return _tag().TagProps;
|
|
120
|
+
}
|
|
121
|
+
});
|
|
110
122
|
exports.default = void 0;
|
|
111
123
|
Object.defineProperty(exports, "useComponentHost", {
|
|
112
124
|
enumerable: true,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":["ComponentAspect"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":["ComponentAspect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAIA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAGA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAIA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAGA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAjBA;AACA;AAGA;AACA;AAaA;AACA;eAEeA,4B","sourcesContent":["import { ComponentAspect } from './component.aspect';\n\nexport { useComponentHost } from './host';\nexport { Component, InvalidComponent } from './component';\nexport { ComponentID } from '@teambit/component-id';\nexport { default as ComponentFS } from './component-fs';\nexport type { default as ComponentConfig } from './config';\nexport type { ComponentFactory } from './component-factory';\nexport type { AspectList } from './aspect-list';\nexport { AspectEntry, AspectData } from './aspect-entry';\n// TODO: check why it's not working when using the index in snap dir like this:\n// export { Snap, Author } from './snap';\nexport { Snap, SnapProps } from './snap/snap';\nexport type { Author } from './snap/author';\n// TODO: check why it's not working when using the index in tag dir like this:\n// export { Tag } from './tag';\nexport { Tag, TagProps } from './tag/tag';\nexport { State } from './state';\nexport type { Hash } from './hash';\nexport { TagMap } from './tag-map';\nexport { ComponentMap } from './component-map';\nexport type { ComponentMain } from './component.main.runtime';\nexport type { ComponentUI } from './component.ui.runtime';\nexport { Section } from './section';\nexport { ComponentContext } from './ui/context/component-context';\nexport { ComponentModel, ComponentModelProps } from './ui/component-model';\nexport type { ShowFragment, ShowRow } from './show';\nexport { default as Config } from './config';\n// export { AspectList } from './aspect-list';\n// export { AspectEntry } from './aspect-entry';\nexport { ComponentAspect };\nexport default ComponentAspect;\n"]}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/component",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.558",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/component/component",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "component",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.558"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -28,21 +28,21 @@
|
|
|
28
28
|
"@teambit/documenter.ui.separator": "4.1.1",
|
|
29
29
|
"@teambit/component-id": "0.0.378",
|
|
30
30
|
"@teambit/ui-foundation.ui.menu-widget-icon": "0.0.467",
|
|
31
|
-
"@teambit/aspect-loader": "0.0.
|
|
31
|
+
"@teambit/aspect-loader": "0.0.558",
|
|
32
32
|
"@teambit/legacy-bit-id": "0.0.377",
|
|
33
33
|
"@teambit/toolbox.string.capitalize": "0.0.462",
|
|
34
34
|
"@teambit/cli": "0.0.388",
|
|
35
35
|
"@teambit/config": "0.0.399",
|
|
36
36
|
"@teambit/express": "0.0.477",
|
|
37
|
-
"@teambit/graphql": "0.0.
|
|
37
|
+
"@teambit/graphql": "0.0.558",
|
|
38
38
|
"@teambit/bit-error": "0.0.374",
|
|
39
|
-
"@teambit/command-bar": "0.0.
|
|
40
|
-
"@teambit/preview": "0.0.
|
|
41
|
-
"@teambit/pubsub": "0.0.
|
|
39
|
+
"@teambit/command-bar": "0.0.558",
|
|
40
|
+
"@teambit/preview": "0.0.558",
|
|
41
|
+
"@teambit/pubsub": "0.0.558",
|
|
42
42
|
"@teambit/ui-foundation.ui.is-browser": "0.0.465",
|
|
43
43
|
"@teambit/ui-foundation.ui.main-dropdown": "0.0.465",
|
|
44
44
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.467",
|
|
45
|
-
"@teambit/ui": "0.0.
|
|
45
|
+
"@teambit/ui": "0.0.558",
|
|
46
46
|
"@teambit/component-issues": "0.0.23",
|
|
47
47
|
"@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.466",
|
|
48
48
|
"@teambit/cli-table": "0.0.11",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"@teambit/harmony.ui.aspect-box": "0.0.465",
|
|
52
52
|
"@teambit/design.ui.pages.not-found": "0.0.352",
|
|
53
53
|
"@teambit/design.ui.pages.server-error": "0.0.352",
|
|
54
|
-
"@teambit/compositions": "0.0.
|
|
55
|
-
"@teambit/deprecation": "0.0.
|
|
56
|
-
"@teambit/envs": "0.0.
|
|
54
|
+
"@teambit/compositions": "0.0.558",
|
|
55
|
+
"@teambit/deprecation": "0.0.558",
|
|
56
|
+
"@teambit/envs": "0.0.558",
|
|
57
|
+
"@teambit/ui-foundation.ui.react-router.extend-path": "0.0.465",
|
|
57
58
|
"@teambit/component.ui.version-dropdown": "0.0.469",
|
|
58
59
|
"@teambit/ui-foundation.ui.use-box.dropdown": "0.0.86",
|
|
59
|
-
"@teambit/ui-foundation.ui.use-box.menu": "0.0.86"
|
|
60
|
-
"@teambit/ui-foundation.ui.react-router.extend-path": "0.0.465"
|
|
60
|
+
"@teambit/ui-foundation.ui.use-box.menu": "0.0.86"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/lodash": "4.14.165",
|