@teambit/harmony-ui-app 0.0.752 → 0.0.754

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"names":["_harmony","data","require","HarmonyUiAppAspect","Aspect","create","id","exports"],"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,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,kBAAkB,GAAGC,iBAAM,CAACC,MAAM,CAAC;EAC9CC,EAAE,EAAE;AACN,CAAC,CAAC;AAACC,OAAA,CAAAJ,kBAAA,GAAAA,kBAAA"}
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,iBAAM,CAACC,MAAM,CAAC;EAC9CC,EAAE,EAAE;AACN,CAAC,CAAC;AAAC"}
@@ -1 +1 @@
1
- {"version":3,"names":["_react","data","_interopRequireDefault","require","Logo","default","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;AAEO,MAAMG,IAAI,GAAGA,CAAA,kBAClBJ,MAAA,GAAAK,OAAA,CAAAC,aAAA;EAAKC,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxEV,MAAA,GAAAK,OAAA,CAAAC,aAAA;EAAKC,KAAK,EAAE;IAAEI,KAAK,EAAE;EAAG,CAAE;EAACC,GAAG,EAAC;AAA4D,CAAE,CAC1F,CACN;AAACC,OAAA,CAAAT,IAAA,GAAAA,IAAA"}
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,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxE;EAAK,KAAK,EAAE;IAAEC,KAAK,EAAE;EAAG,CAAE;EAAC,GAAG,EAAC;AAA4D,EAAG,CAEjG;AAAC"}
@@ -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","_defineProperty2","default","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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VsB,kBAAW;AAO9BC,kCAAkB,CAACC,UAAU,CAACxB,gBAAgB,CAAC"}
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,gBAAgB,CAAC;EAC5BC,WAAW,CAASC,WAA4B,EAAUC,EAAU,EAAUC,eAA8B,EAAE;IAAA,KAA1FF,WAA4B,GAA5BA,WAA4B;IAAA,KAAUC,EAAU,GAAVA,EAAU;IAAA,KAAUC,eAA8B,GAA9BA,eAA8B;EAAG;;EAE/G;AACF;AACA;EACEC,kBAAkB,CAACC,OAA0B,EAAE;IAC7C,IAAI,CAACH,EAAE,CAACI,cAAc,CAAC;MACrBC,IAAI,EAAEF,OAAO,CAACE,IAAI;MAClBC,IAAI,EAAE,IAAI,CAACL,eAAe,CAACM,OAAO,EAAE,CAACD,IAAI;MACzCE,UAAU,EAAE,EAAE;MACd,MAAMC,cAAc,GAAG;QACrB,OAAO,EAAE;MACX,CAAC;MACD,MAAMC,cAAc,GAAG;QACrB,OAAOP,OAAO,CAACQ,UAAU;MAC3B;IACF,CAAC,CAAC;;IAEF;;IAEA,OAAO,IAAI;EACb;EAQA,aAAaC,QAAQ,CAAC,CAACb,WAAW,EAAEC,EAAE,EAAEC,eAAe,CAA2C,EAAE;IAClG,OAAO,IAAIJ,gBAAgB,CAACE,WAAW,EAAEC,EAAE,EAAEC,eAAe,CAAC;EAC/D;AACF;AAAC;AAAA,gCAjCYJ,gBAAgB,WAwBZ,EAAE;AAAA,gCAxBNA,gBAAgB,kBA0BL,CAACgB,gCAAiB,EAAEC,aAAQ,EAAEC,4BAAe,CAAC;AAAA,gCA1BzDlB,gBAAgB,aA4BVmB,kBAAW;AAO9BC,kCAAkB,CAACC,UAAU,CAACrB,gBAAgB,CAAC"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["_harmonyUiApp","data","require","_default","HarmonyUiAppAspect","exports","default"],"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,SAAAA,cAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,aAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA6D,IAAAE,QAAA,GAG9CC,kCAAkB;AAAAC,OAAA,CAAAC,OAAA,GAAAH,QAAA"}
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;AAA6D,eAG9CA,kCAAkB;AAAA"}
@@ -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.752/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.752/dist/harmony-ui-app.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@0.0.754/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.754/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,22 @@
1
1
  {
2
2
  "name": "@teambit/harmony-ui-app",
3
- "version": "0.0.752",
3
+ "version": "0.0.754",
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.752"
9
+ "version": "0.0.754"
10
10
  },
11
11
  "dependencies": {
12
12
  "core-js": "^3.0.0",
13
13
  "@babel/runtime": "7.20.0",
14
14
  "@teambit/harmony": "0.4.6",
15
- "@teambit/aspect-loader": "0.0.1110",
16
- "@teambit/application": "0.0.752",
17
- "@teambit/cli": "0.0.742",
18
- "@teambit/component": "0.0.1110",
19
- "@teambit/ui": "0.0.1110"
15
+ "@teambit/aspect-loader": "0.0.1112",
16
+ "@teambit/application": "0.0.754",
17
+ "@teambit/cli": "0.0.744",
18
+ "@teambit/component": "0.0.1112",
19
+ "@teambit/ui": "0.0.1112"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/react": "^17.0.8",
@@ -27,7 +27,7 @@
27
27
  "@types/testing-library__jest-dom": "5.9.5"
28
28
  },
29
29
  "peerDependencies": {
30
- "@teambit/legacy": "1.0.522",
30
+ "@teambit/legacy": "1.0.524",
31
31
  "react": "^16.8.0 || ^17.0.0",
32
32
  "react-dom": "^16.8.0 || ^17.0.0"
33
33
  },