@teambit/harmony-ui-app 0.0.379 → 0.0.380
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/harmony-app-options.js.map +1 -1
- package/dist/harmony-ui-app.aspect.js.map +1 -1
- package/dist/harmony-ui-app.compositions.js.map +1 -1
- package/dist/harmony-ui-app.main.runtime.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/ui.application.js.map +1 -1
- package/package-tar/teambit-harmony-ui-app-0.0.380.tgz +0 -0
- package/package.json +6 -6
- package/{preview-1652930732694.js → preview-1653227849497.js} +2 -2
- package/package-tar/teambit-harmony-ui-app-0.0.379.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":[],"sources":["harmony-app-options.ts"],"sourcesContent":["import { AspectDefinition } from '@teambit/aspect-loader';\n\nexport type HarmonyAppOptions = {\n /**\n * name of the app. e.g. 'ripple-ci'\n */\n name: string;\n\n aspectDefs: AspectDefinition[];\n};\n"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["HarmonyUiAppAspect","Aspect","create","id"],"sources":["harmony-ui-app.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const HarmonyUiAppAspect = Aspect.create({\n id: 'teambit.ui-foundation/harmony-ui-app',\n});\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,kBAAkB,GAAGC,iBAAA,CAAOC,MAAP,CAAc;EAC9CC,EAAE,EAAE;AAD0C,CAAd,CAA3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["Logo","height","display","justifyContent","width"],"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;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,IAAI,GAAG,mBAClB;EAAK,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAV;IAAkBC,OAAO,EAAE,MAA3B;IAAmCC,cAAc,EAAE;EAAnD;AAAZ,gBACE;EAAK,KAAK,EAAE;IAAEC,KAAK,EAAE;EAAT,CAAZ;EAA2B,GAAG,EAAC;AAA/B,EADF,CADK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["HarmonyUiAppMain","constructor","application","ui","componentAspect","registerHarmonyApp","options","registerUiRoot","name","path","getHost","configFile","resolvePattern","resolveAspects","aspectDefs","provider","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;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;AAEO,MAAMA,gBAAN,CAAuB;EAC5BC,WAAW,CAASC,WAAT,EAA+CC,EAA/C,EAAmEC,eAAnE,EAAmG;IAAA,KAA1FF,WAA0F,GAA1FA,WAA0F;IAAA,KAApDC,EAAoD,GAApDA,EAAoD;IAAA,KAAhCC,eAAgC,GAAhCA,eAAgC;EAAE;EAEhH;AACF;AACA;;;EACEC,kBAAkB,CAACC,OAAD,EAA6B;IAC7C,KAAKH,EAAL,CAAQI,cAAR,CAAuB;MACrBC,IAAI,EAAEF,OAAO,CAACE,IADO;MAErBC,IAAI,EAAE,KAAKL,eAAL,CAAqBM,OAArB,GAA+BD,IAFhB;MAGrBE,UAAU,EAAE,EAHS;;MAIrB,MAAMC,cAAN,GAAuB;QACrB,OAAO,EAAP;MACD,CANoB;;MAOrB,MAAMC,cAAN,GAAuB;QACrB,OAAOP,OAAO,CAACQ,UAAf;MACD;;IAToB,CAAvB,EAD6C,CAa7C;;IAEA,OAAO,IAAP;EACD;;EAQoB,aAARC,QAAQ,CAAC,CAACb,WAAD,EAAcC,EAAd,EAAkBC,eAAlB,CAAD,EAA+E;IAClG,OAAO,IAAIJ,gBAAJ,CAAqBE,WAArB,EAAkCC,EAAlC,EAAsCC,eAAtC,CAAP;EACD;;AAhC2B;;;gCAAjBJ,gB,WAwBI,E;gCAxBJA,gB,kBA0BW,CAACgB,gCAAD,EAAoBC,aAApB,EAA8BC,4BAA9B,C;gCA1BXlB,gB,aA4BMmB,kB;;AAOnBC,kCAAA,CAAmBC,UAAnB,CAA8BrB,gBAA9B"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["HarmonyUiAppAspect"],"sources":["index.ts"],"sourcesContent":["import { HarmonyUiAppAspect } from './harmony-ui-app.aspect';\n\nexport type { HarmonyUiAppMain } from './harmony-ui-app.main.runtime';\nexport default HarmonyUiAppAspect;\nexport { HarmonyUiAppAspect };\n"],"mappings":";;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;eAGeA,kC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ui.application.ts"],"
|
|
1
|
+
{"version":3,"names":[],"sources":["ui.application.ts"],"sourcesContent":["// import { Application } from '@teambit/application';\n// import { UiMain } from '@teambit/ui';\n\n// export class HarmonyUIApp implements Application {\n// constructor(readonly name: string, private uiAspect: UiMain) {}\n\n// async run() {\n// const uiServer = await this.uiAspect.createRuntime({\n// uiRootName: this.name,\n// dev: true,\n// });\n\n// await uiServer.dev();\n// }\n\n// // async deploy() {\n// // return '';\n// // }\n// }\n"],"mappings":"AAAA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/harmony-ui-app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.380",
|
|
4
4
|
"homepage": "https://bit.dev/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.380"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/runtime": "7.12.18",
|
|
13
13
|
"core-js": "^3.0.0",
|
|
14
14
|
"@teambit/harmony": "0.3.3",
|
|
15
|
-
"@teambit/aspect-loader": "0.0.
|
|
16
|
-
"@teambit/application": "0.0.
|
|
15
|
+
"@teambit/aspect-loader": "0.0.738",
|
|
16
|
+
"@teambit/application": "0.0.380",
|
|
17
17
|
"@teambit/cli": "0.0.491",
|
|
18
|
-
"@teambit/component": "0.0.
|
|
19
|
-
"@teambit/ui": "0.0.
|
|
18
|
+
"@teambit/component": "0.0.738",
|
|
19
|
+
"@teambit/ui": "0.0.738"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/react": "^17.0.8",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@0.0.
|
|
2
|
-
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@0.0.
|
|
1
|
+
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@0.0.380/dist/harmony-ui-app.compositions.js')]
|
|
2
|
+
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@0.0.380/dist/harmony-ui-app.docs.mdx')]
|
|
Binary file
|