@teambit/harmony-ui-app 0.0.800 → 0.0.801
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/harmony-ui-app.compositions.js +1 -1
- package/dist/harmony-ui-app.compositions.js.map +1 -1
- package/dist/harmony-ui-app.main.runtime.js +7 -13
- package/dist/harmony-ui-app.main.runtime.js.map +1 -1
- package/dist/{preview-1694575035715.js → preview-1694624356552.js} +2 -2
- package/package.json +8 -10
@@ -1,6 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
5
4
|
value: true
|
6
5
|
});
|
@@ -12,6 +11,7 @@ function _react() {
|
|
12
11
|
};
|
13
12
|
return data;
|
14
13
|
}
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
15
15
|
const Logo = () => /*#__PURE__*/_react().default.createElement("div", {
|
16
16
|
style: {
|
17
17
|
height: '100%',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","data","_interopRequireDefault","require","
|
1
|
+
{"version":3,"names":["_react","data","_interopRequireDefault","require","obj","__esModule","default","Logo","createElement","style","height","display","justifyContent","width","src","exports"],"sources":["harmony-ui-app.compositions.tsx"],"sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/harmony-ui-app.svg\" />\n </div>\n);\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA0B,SAAAC,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEnB,MAAMG,IAAI,GAAGA,CAAA,kBAClBP,MAAA,GAAAM,OAAA,CAAAE,aAAA;EAAKC,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxEZ,MAAA,GAAAM,OAAA,CAAAE,aAAA;EAAKC,KAAK,EAAE;IAAEI,KAAK,EAAE;EAAG,CAAE;EAACC,GAAG,EAAC;AAA4D,CAAE,CAC1F,CACN;AAACC,OAAA,CAAAR,IAAA,GAAAA,IAAA"}
|
@@ -1,19 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
-
require("core-js/modules/es.array.iterator.js");
|
5
|
-
require("core-js/modules/es.promise.js");
|
6
3
|
Object.defineProperty(exports, "__esModule", {
|
7
4
|
value: true
|
8
5
|
});
|
9
6
|
exports.HarmonyUiAppMain = void 0;
|
10
|
-
function _defineProperty2() {
|
11
|
-
const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
12
|
-
_defineProperty2 = function () {
|
13
|
-
return data;
|
14
|
-
};
|
15
|
-
return data;
|
16
|
-
}
|
17
7
|
function _application() {
|
18
8
|
const data = require("@teambit/application");
|
19
9
|
_application = function () {
|
@@ -49,6 +39,10 @@ function _harmonyUiApp() {
|
|
49
39
|
};
|
50
40
|
return data;
|
51
41
|
}
|
42
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
43
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
44
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
45
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
52
46
|
// import { HarmonyUIApp } from './ui.application';
|
53
47
|
|
54
48
|
class HarmonyUiAppMain {
|
@@ -83,9 +77,9 @@ class HarmonyUiAppMain {
|
|
83
77
|
}
|
84
78
|
}
|
85
79
|
exports.HarmonyUiAppMain = HarmonyUiAppMain;
|
86
|
-
(
|
87
|
-
(
|
88
|
-
(
|
80
|
+
_defineProperty(HarmonyUiAppMain, "slots", []);
|
81
|
+
_defineProperty(HarmonyUiAppMain, "dependencies", [_application().ApplicationAspect, _ui().default, _component().ComponentAspect]);
|
82
|
+
_defineProperty(HarmonyUiAppMain, "runtime", _cli().MainRuntime);
|
89
83
|
_harmonyUiApp().HarmonyUiAppAspect.addRuntime(HarmonyUiAppMain);
|
90
84
|
|
91
85
|
//# sourceMappingURL=harmony-ui-app.main.runtime.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_application","data","require","_cli","_ui","_interopRequireDefault","_component","_harmonyUiApp","HarmonyUiAppMain","constructor","application","ui","componentAspect","registerHarmonyApp","options","registerUiRoot","name","path","getHost","configFile","resolvePattern","resolveAspects","aspectDefs","provider","exports","
|
1
|
+
{"version":3,"names":["_application","data","require","_cli","_ui","_interopRequireDefault","_component","_harmonyUiApp","obj","__esModule","default","_defineProperty","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","call","TypeError","Number","HarmonyUiAppMain","constructor","application","ui","componentAspect","registerHarmonyApp","options","registerUiRoot","name","path","getHost","configFile","resolvePattern","resolveAspects","aspectDefs","provider","exports","ApplicationAspect","UIAspect","ComponentAspect","MainRuntime","HarmonyUiAppAspect","addRuntime"],"sources":["harmony-ui-app.main.runtime.ts"],"sourcesContent":["import { ApplicationAspect, ApplicationMain } from '@teambit/application';\nimport { MainRuntime } from '@teambit/cli';\nimport UIAspect, { UiMain } from '@teambit/ui';\nimport { ComponentAspect, ComponentMain } from '@teambit/component';\nimport { HarmonyAppOptions } from './harmony-app-options';\nimport { HarmonyUiAppAspect } from './harmony-ui-app.aspect';\n// import { HarmonyUIApp } from './ui.application';\n\nexport class HarmonyUiAppMain {\n constructor(private application: ApplicationMain, private ui: UiMain, private componentAspect: ComponentMain) {}\n\n /**\n * register a new harmony UI application.\n */\n registerHarmonyApp(options: HarmonyAppOptions) {\n this.ui.registerUiRoot({\n name: options.name,\n path: this.componentAspect.getHost().path,\n configFile: '',\n async resolvePattern() {\n return [];\n },\n async resolveAspects() {\n return options.aspectDefs;\n },\n });\n\n // this.application.registerApp(new HarmonyUIApp(options.name, this.ui));\n\n return this;\n }\n\n static slots = [];\n\n static dependencies = [ApplicationAspect, UIAspect, ComponentAspect];\n\n static runtime = MainRuntime;\n\n static async provider([application, ui, componentAspect]: [ApplicationMain, UiMain, ComponentMain]) {\n return new HarmonyUiAppMain(application, ui, componentAspect);\n }\n}\n\nHarmonyUiAppAspect.addRuntime(HarmonyUiAppMain);\n"],"mappings":";;;;;;AAAA,SAAAA,aAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,YAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,KAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,IAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,IAAA;EAAA,MAAAH,IAAA,GAAAI,sBAAA,CAAAH,OAAA;EAAAE,GAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,WAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,UAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAM,cAAA;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AAI,CAACH,EAAE,CAACI,cAAc,CAAC;MACrBC,IAAI,EAAEF,OAAO,CAACE,IAAI;MAClBC,IAAI,EAAE,IAAI,CAACL,eAAe,CAACM,OAAO,CAAC,CAAC,CAACD,IAAI;MACzCE,UAAU,EAAE,EAAE;MACd,MAAMC,cAAcA,CAAA,EAAG;QACrB,OAAO,EAAE;MACX,CAAC;MACD,MAAMC,cAAcA,CAAA,EAAG;QACrB,OAAOP,OAAO,CAACQ,UAAU;MAC3B;IACF,CAAC,CAAC;;IAEF;;IAEA,OAAO,IAAI;EACb;EAQA,aAAaC,QAAQA,CAAC,CAACb,WAAW,EAAEC,EAAE,EAAEC,eAAe,CAA2C,EAAE;IAClG,OAAO,IAAIJ,gBAAgB,CAACE,WAAW,EAAEC,EAAE,EAAEC,eAAe,CAAC;EAC/D;AACF;AAACY,OAAA,CAAAhB,gBAAA,GAAAA,gBAAA;AAAAtB,eAAA,CAjCYsB,gBAAgB,WAwBZ,EAAE;AAAAtB,eAAA,CAxBNsB,gBAAgB,kBA0BL,CAACiB,gCAAiB,EAAEC,aAAQ,EAAEC,4BAAe,CAAC;AAAAzC,eAAA,CA1BzDsB,gBAAgB,aA4BVoB,kBAAW;AAO9BC,kCAAkB,CAACC,UAAU,CAACtB,gBAAgB,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@0.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@0.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@0.0.801/dist/harmony-ui-app.compositions.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@0.0.801/dist/harmony-ui-app.docs.mdx';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
@@ -1,22 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/harmony-ui-app",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.801",
|
4
4
|
"homepage": "https://bit.cloud/teambit/ui-foundation/harmony-ui-app",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.ui-foundation",
|
8
8
|
"name": "harmony-ui-app",
|
9
|
-
"version": "0.0.
|
9
|
+
"version": "0.0.801"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
|
-
"core-js": "^3.0.0",
|
13
|
-
"@babel/runtime": "7.20.0",
|
14
12
|
"@teambit/harmony": "0.4.6",
|
15
|
-
"@teambit/aspect-loader": "0.0.
|
16
|
-
"@teambit/application": "0.0.
|
17
|
-
"@teambit/cli": "0.0.
|
18
|
-
"@teambit/component": "0.0.
|
19
|
-
"@teambit/ui": "0.0.
|
13
|
+
"@teambit/aspect-loader": "0.0.1159",
|
14
|
+
"@teambit/application": "0.0.801",
|
15
|
+
"@teambit/cli": "0.0.773",
|
16
|
+
"@teambit/component": "0.0.1159",
|
17
|
+
"@teambit/ui": "0.0.1159"
|
20
18
|
},
|
21
19
|
"devDependencies": {
|
22
20
|
"@types/react": "^17.0.8",
|
@@ -27,7 +25,7 @@
|
|
27
25
|
"@types/testing-library__jest-dom": "5.9.5"
|
28
26
|
},
|
29
27
|
"peerDependencies": {
|
30
|
-
"@teambit/legacy": "1.0.
|
28
|
+
"@teambit/legacy": "1.0.558",
|
31
29
|
"react": "^16.8.0 || ^17.0.0",
|
32
30
|
"react-dom": "^16.8.0 || ^17.0.0"
|
33
31
|
},
|