@teambit/harmony-ui-app 0.0.752 → 0.0.753
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-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/{preview-1689736586631.js → preview-1689823719636.js} +2 -2
 - package/package-tar/teambit-harmony-ui-app-0.0.753.tgz +0 -0
 - package/package.json +8 -8
 - package/package-tar/teambit-harmony-ui-app-0.0.752.tgz +0 -0
 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"names":[" 
     | 
| 
      
 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":[" 
     | 
| 
      
 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":[" 
     | 
| 
      
 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  }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,CAACC,UAAU,CAACrB,gBAAgB,CAAC"}
         
     | 
    
        package/dist/index.js.map
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"names":[" 
     | 
| 
      
 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. 
     | 
| 
       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.753/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.753/dist/harmony-ui-app.docs.mdx';
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            export const compositions = [compositions_0];
         
     | 
| 
       5 
5 
     | 
    
         
             
            export const overview = [overview_0];
         
     | 
| 
         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.753",
         
     | 
| 
       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.753"
         
     | 
| 
       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. 
     | 
| 
       16 
     | 
    
         
            -
                "@teambit/application": "0.0. 
     | 
| 
       17 
     | 
    
         
            -
                "@teambit/cli": "0.0. 
     | 
| 
       18 
     | 
    
         
            -
                "@teambit/component": "0.0. 
     | 
| 
       19 
     | 
    
         
            -
                "@teambit/ui": "0.0. 
     | 
| 
      
 15 
     | 
    
         
            +
                "@teambit/aspect-loader": "0.0.1111",
         
     | 
| 
      
 16 
     | 
    
         
            +
                "@teambit/application": "0.0.753",
         
     | 
| 
      
 17 
     | 
    
         
            +
                "@teambit/cli": "0.0.743",
         
     | 
| 
      
 18 
     | 
    
         
            +
                "@teambit/component": "0.0.1111",
         
     | 
| 
      
 19 
     | 
    
         
            +
                "@teambit/ui": "0.0.1111"
         
     | 
| 
       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. 
     | 
| 
      
 30 
     | 
    
         
            +
                "@teambit/legacy": "1.0.523",
         
     | 
| 
       31 
31 
     | 
    
         
             
                "react": "^16.8.0 || ^17.0.0",
         
     | 
| 
       32 
32 
     | 
    
         
             
                "react-dom": "^16.8.0 || ^17.0.0"
         
     | 
| 
       33 
33 
     | 
    
         
             
              },
         
     | 
| 
         Binary file 
     |