@teambit/compositions 0.0.882 → 0.0.883
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/index.d.ts +0 -1
- package/dist/index.js +0 -13
- package/dist/index.js.map +1 -1
- package/package-tar/teambit-compositions-0.0.883.tgz +0 -0
- package/package.json +11 -13
- package/{preview-1666496165706.js → preview-1666582798766.js} +2 -2
- package/dist/ui/compositions-overview/compositions-overview.d.ts +0 -7
- package/dist/ui/compositions-overview/compositions-overview.js +0 -44
- package/dist/ui/compositions-overview/compositions-overview.js.map +0 -1
- package/dist/ui/compositions-overview/compositions-overview.module.scss +0 -17
- package/dist/ui/compositions-overview/index.d.ts +0 -1
- package/dist/ui/compositions-overview/index.js +0 -18
- package/dist/ui/compositions-overview/index.js.map +0 -1
- package/package-tar/teambit-compositions-0.0.882.tgz +0 -0
- package/ui/compositions-overview/compositions-overview.module.scss +0 -17
- package/ui/compositions-overview/compositions-overview.tsx +0 -21
- package/ui/compositions-overview/index.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,5 @@ export type { CompositionsUI, CompositionsMenuSlot, EmptyStateSlot } from './com
|
|
|
5
5
|
export { Composition, CompositionProps } from './composition';
|
|
6
6
|
export { CompositionContent, CompositionContentProps } from './compositions';
|
|
7
7
|
export type { CompositionsPreview } from './compositions.preview.runtime';
|
|
8
|
-
export { CompositionsOverview } from './ui/compositions-overview';
|
|
9
8
|
export { ComponentComposition } from './ui';
|
|
10
9
|
export default CompositionsAspect;
|
package/dist/index.js
CHANGED
|
@@ -39,12 +39,6 @@ Object.defineProperty(exports, "CompositionsAspect", {
|
|
|
39
39
|
return _compositions().CompositionsAspect;
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
Object.defineProperty(exports, "CompositionsOverview", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _compositionsOverview().CompositionsOverview;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
42
|
exports.default = void 0;
|
|
49
43
|
function _compositions() {
|
|
50
44
|
const data = require("./compositions.aspect");
|
|
@@ -67,13 +61,6 @@ function _compositions2() {
|
|
|
67
61
|
};
|
|
68
62
|
return data;
|
|
69
63
|
}
|
|
70
|
-
function _compositionsOverview() {
|
|
71
|
-
const data = require("./ui/compositions-overview");
|
|
72
|
-
_compositionsOverview = function () {
|
|
73
|
-
return data;
|
|
74
|
-
};
|
|
75
|
-
return data;
|
|
76
|
-
}
|
|
77
64
|
function _ui() {
|
|
78
65
|
const data = require("./ui");
|
|
79
66
|
_ui = function () {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CompositionsAspect"],"sources":["index.ts"],"sourcesContent":["import { CompositionsAspect } from './compositions.aspect';\n\nexport { CompositionsAspect };\nexport type { CompositionsMain } from './compositions.main.runtime';\nexport type { CompositionsUI, CompositionsMenuSlot, EmptyStateSlot } from './compositions.ui.runtime';\nexport { Composition, CompositionProps } from './composition';\nexport { CompositionContent, CompositionContentProps } from './compositions';\nexport type { CompositionsPreview } from './compositions.preview.runtime';\nexport {
|
|
1
|
+
{"version":3,"names":["CompositionsAspect"],"sources":["index.ts"],"sourcesContent":["import { CompositionsAspect } from './compositions.aspect';\n\nexport { CompositionsAspect };\nexport type { CompositionsMain } from './compositions.main.runtime';\nexport type { CompositionsUI, CompositionsMenuSlot, EmptyStateSlot } from './compositions.ui.runtime';\nexport { Composition, CompositionProps } from './composition';\nexport { CompositionContent, CompositionContentProps } from './compositions';\nexport type { CompositionsPreview } from './compositions.preview.runtime';\nexport { ComponentComposition } from './ui';\nexport default CompositionsAspect;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAKA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAA4C,eAC7BA,kCAAkB;AAAA"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/compositions",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.883",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/compositions/compositions",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.compositions",
|
|
8
8
|
"name": "compositions",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.883"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"graphql-tag": "2.12.1",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"@teambit/documenter.ui.heading": "4.1.1",
|
|
26
26
|
"@teambit/documenter.ui.property-table": "4.1.3",
|
|
27
27
|
"@teambit/evangelist.elements.icon": "1.0.2",
|
|
28
|
-
"@teambit/component": "0.0.
|
|
28
|
+
"@teambit/component": "0.0.883",
|
|
29
29
|
"@teambit/compositions.ui.composition-compare": "0.0.105",
|
|
30
30
|
"@teambit/compositions.model.composition-id": "0.0.495",
|
|
31
|
-
"@teambit/graphql": "0.0.
|
|
31
|
+
"@teambit/graphql": "0.0.883",
|
|
32
32
|
"@teambit/cli": "0.0.591",
|
|
33
|
-
"@teambit/dev-files": "0.0.
|
|
34
|
-
"@teambit/envs": "0.0.
|
|
35
|
-
"@teambit/preview": "0.0.
|
|
36
|
-
"@teambit/schema": "0.0.
|
|
33
|
+
"@teambit/dev-files": "0.0.883",
|
|
34
|
+
"@teambit/envs": "0.0.883",
|
|
35
|
+
"@teambit/preview": "0.0.883",
|
|
36
|
+
"@teambit/schema": "0.0.883",
|
|
37
37
|
"@teambit/toolbox.path.match-patterns": "0.0.7",
|
|
38
|
-
"@teambit/workspace": "0.0.
|
|
38
|
+
"@teambit/workspace": "0.0.883",
|
|
39
39
|
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.494",
|
|
40
40
|
"@teambit/component-id": "0.0.418",
|
|
41
41
|
"@teambit/compositions.ui.compositions-menu-bar": "0.0.169",
|
|
@@ -49,10 +49,8 @@
|
|
|
49
49
|
"@teambit/preview.ui.component-preview": "0.0.505",
|
|
50
50
|
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.202",
|
|
51
51
|
"@teambit/ui-foundation.ui.hooks.use-is-mobile": "0.0.185",
|
|
52
|
-
"@teambit/component-compare": "0.0.
|
|
53
|
-
"@teambit/ui": "0.0.
|
|
54
|
-
"@teambit/compositions.model.composition-type": "0.0.496",
|
|
55
|
-
"@teambit/compositions.ui.composition-card": "0.0.503"
|
|
52
|
+
"@teambit/component-compare": "0.0.131",
|
|
53
|
+
"@teambit/ui": "0.0.883"
|
|
56
54
|
},
|
|
57
55
|
"devDependencies": {
|
|
58
56
|
"@types/react": "^17.0.8",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compositions_compositions@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compositions_compositions@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compositions_compositions@0.0.883/dist/compositions.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compositions_compositions@0.0.883/dist/compositions.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CompositionsModule } from '@teambit/compositions.model.composition-type';
|
|
3
|
-
export declare type CompositionsOverviewProps = {
|
|
4
|
-
compositions?: CompositionsModule;
|
|
5
|
-
compositionCardClass?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare function CompositionsOverview({ compositions, compositionCardClass }: CompositionsOverviewProps): JSX.Element;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
require("core-js/modules/es.array.iterator.js");
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.CompositionsOverview = CompositionsOverview;
|
|
9
|
-
function _react() {
|
|
10
|
-
const data = _interopRequireDefault(require("react"));
|
|
11
|
-
_react = function () {
|
|
12
|
-
return data;
|
|
13
|
-
};
|
|
14
|
-
return data;
|
|
15
|
-
}
|
|
16
|
-
function _compositionsUi() {
|
|
17
|
-
const data = require("@teambit/compositions.ui.composition-card");
|
|
18
|
-
_compositionsUi = function () {
|
|
19
|
-
return data;
|
|
20
|
-
};
|
|
21
|
-
return data;
|
|
22
|
-
}
|
|
23
|
-
function _compositionsOverviewModule() {
|
|
24
|
-
const data = _interopRequireDefault(require("./compositions-overview.module.scss"));
|
|
25
|
-
_compositionsOverviewModule = function () {
|
|
26
|
-
return data;
|
|
27
|
-
};
|
|
28
|
-
return data;
|
|
29
|
-
}
|
|
30
|
-
function CompositionsOverview({
|
|
31
|
-
compositions,
|
|
32
|
-
compositionCardClass
|
|
33
|
-
}) {
|
|
34
|
-
return /*#__PURE__*/_react().default.createElement("div", {
|
|
35
|
-
className: _compositionsOverviewModule().default.background
|
|
36
|
-
}, compositions && Object.entries(compositions).map(([key, composition]) => /*#__PURE__*/_react().default.createElement(_compositionsUi().CompositionCard, {
|
|
37
|
-
key: key,
|
|
38
|
-
Composition: composition,
|
|
39
|
-
name: key,
|
|
40
|
-
className: compositionCardClass
|
|
41
|
-
})));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
//# sourceMappingURL=compositions-overview.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["CompositionsOverview","compositions","compositionCardClass","styles","background","Object","entries","map","key","composition"],"sources":["compositions-overview.tsx"],"sourcesContent":["import React from 'react';\nimport { CompositionCard } from '@teambit/compositions.ui.composition-card';\nimport { CompositionsModule } from '@teambit/compositions.model.composition-type';\n\nimport styles from './compositions-overview.module.scss';\n\nexport type CompositionsOverviewProps = {\n compositions?: CompositionsModule;\n compositionCardClass?: string;\n};\n\nexport function CompositionsOverview({ compositions, compositionCardClass }: CompositionsOverviewProps) {\n return (\n <div className={styles.background}>\n {compositions &&\n Object.entries(compositions).map(([key, composition]) => (\n <CompositionCard key={key} Composition={composition} name={key} className={compositionCardClass} />\n ))}\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAGA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAOO,SAASA,oBAAoB,CAAC;EAAEC,YAAY;EAAEC;AAAgD,CAAC,EAAE;EACtG,oBACE;IAAK,SAAS,EAAEC,qCAAM,CAACC;EAAW,GAC/BH,YAAY,IACXI,MAAM,CAACC,OAAO,CAACL,YAAY,CAAC,CAACM,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEC,WAAW,CAAC,kBAClD,+BAAC,iCAAe;IAAC,GAAG,EAAED,GAAI;IAAC,WAAW,EAAEC,WAAY;IAAC,IAAI,EAAED,GAAI;IAAC,SAAS,EAAEN;EAAqB,EACjG,CAAC,CACA;AAEV"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
.background {
|
|
2
|
-
background: var(--bit-bg-dent, #f6f6f6);
|
|
3
|
-
padding: 12px;
|
|
4
|
-
border-radius: 6px;
|
|
5
|
-
border: 1px solid var(--bit-border-color-lightest, #ededed);
|
|
6
|
-
display: flex;
|
|
7
|
-
overflow-x: auto;
|
|
8
|
-
max-height: 500px;
|
|
9
|
-
|
|
10
|
-
> * {
|
|
11
|
-
margin-right: 16px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
> :last-child {
|
|
15
|
-
margin: 0;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './compositions-overview';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _compositionsOverview = require("./compositions-overview");
|
|
7
|
-
Object.keys(_compositionsOverview).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _compositionsOverview[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _compositionsOverview[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from './compositions-overview';\n"],"mappings":";;;;;AAAA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
|
Binary file
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
.background {
|
|
2
|
-
background: var(--bit-bg-dent, #f6f6f6);
|
|
3
|
-
padding: 12px;
|
|
4
|
-
border-radius: 6px;
|
|
5
|
-
border: 1px solid var(--bit-border-color-lightest, #ededed);
|
|
6
|
-
display: flex;
|
|
7
|
-
overflow-x: auto;
|
|
8
|
-
max-height: 500px;
|
|
9
|
-
|
|
10
|
-
> * {
|
|
11
|
-
margin-right: 16px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
> :last-child {
|
|
15
|
-
margin: 0;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CompositionCard } from '@teambit/compositions.ui.composition-card';
|
|
3
|
-
import { CompositionsModule } from '@teambit/compositions.model.composition-type';
|
|
4
|
-
|
|
5
|
-
import styles from './compositions-overview.module.scss';
|
|
6
|
-
|
|
7
|
-
export type CompositionsOverviewProps = {
|
|
8
|
-
compositions?: CompositionsModule;
|
|
9
|
-
compositionCardClass?: string;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export function CompositionsOverview({ compositions, compositionCardClass }: CompositionsOverviewProps) {
|
|
13
|
-
return (
|
|
14
|
-
<div className={styles.background}>
|
|
15
|
-
{compositions &&
|
|
16
|
-
Object.entries(compositions).map(([key, composition]) => (
|
|
17
|
-
<CompositionCard key={key} Composition={composition} name={key} className={compositionCardClass} />
|
|
18
|
-
))}
|
|
19
|
-
</div>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './compositions-overview';
|