@teambit/harmony-ui-app 1.0.227 → 1.0.229

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.ui-foundation/harmony-ui-app@1.0.227" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.ui-foundation/harmony-ui-app@1.0.229" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.ui-foundation/harmony-ui-app-preview"]=t():e["teambit.ui-foundation/harmony-ui-app-preview"]=t()}(self,(()=>(()=>{"use strict";var e={96207:(e,t,o)=>{var n={id:"teambit.ui-foundation/harmony-ui-app@1.0.227",homepage:"https://bit.cloud/teambit/ui-foundation/harmony-ui-app",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/harmony-ui-app.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>d,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>s});var t=o(96207);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p.apply(this,arguments)}var u={},c="wrapper";function s(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,a);return(0,r.mdx)(c,p({},u,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}s.isMDXComponent=!0;const d=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.ui-foundation/harmony-ui-app-preview"]=t():e["teambit.ui-foundation/harmony-ui-app-preview"]=t()}(self,(()=>(()=>{"use strict";var e={90734:(e,t,o)=>{var n={id:"teambit.ui-foundation/harmony-ui-app@1.0.229",homepage:"https://bit.cloud/teambit/ui-foundation/harmony-ui-app",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/harmony-ui-app.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>d,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>s});var t=o(90734);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p.apply(this,arguments)}var u={},c="wrapper";function s(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,a);return(0,r.mdx)(c,p({},u,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}s.isMDXComponent=!0;const d=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
@@ -48,7 +48,11 @@
48
48
  "line": 10,
49
49
  "character": 36
50
50
  },
51
- "name": "ApplicationMain"
51
+ "name": "ApplicationMain",
52
+ "componentId": {
53
+ "scope": "teambit.harmony",
54
+ "name": "application"
55
+ }
52
56
  },
53
57
  "isOptional": false,
54
58
  "isSpread": false
@@ -68,7 +72,11 @@
68
72
  "line": 10,
69
73
  "character": 65
70
74
  },
71
- "name": "UiMain"
75
+ "name": "UiMain",
76
+ "componentId": {
77
+ "scope": "teambit.ui-foundation",
78
+ "name": "ui"
79
+ }
72
80
  },
73
81
  "isOptional": false,
74
82
  "isSpread": false
@@ -88,7 +96,11 @@
88
96
  "line": 10,
89
97
  "character": 98
90
98
  },
91
- "name": "ComponentMain"
99
+ "name": "ComponentMain",
100
+ "componentId": {
101
+ "scope": "teambit.component",
102
+ "name": "component"
103
+ }
92
104
  },
93
105
  "isOptional": false,
94
106
  "isSpread": false
@@ -140,7 +152,8 @@
140
152
  "line": 15,
141
153
  "character": 31
142
154
  },
143
- "name": "HarmonyAppOptions"
155
+ "name": "HarmonyAppOptions",
156
+ "internalFilePath": "harmony-app-options.ts"
144
157
  },
145
158
  "isOptional": false,
146
159
  "isSpread": false
@@ -253,7 +266,11 @@
253
266
  "line": 39,
254
267
  "character": 62
255
268
  },
256
- "name": "ApplicationMain"
269
+ "name": "ApplicationMain",
270
+ "componentId": {
271
+ "scope": "teambit.harmony",
272
+ "name": "application"
273
+ }
257
274
  },
258
275
  {
259
276
  "__schema": "TypeRefSchema",
@@ -262,7 +279,11 @@
262
279
  "line": 39,
263
280
  "character": 79
264
281
  },
265
- "name": "UiMain"
282
+ "name": "UiMain",
283
+ "componentId": {
284
+ "scope": "teambit.ui-foundation",
285
+ "name": "ui"
286
+ }
266
287
  },
267
288
  {
268
289
  "__schema": "TypeRefSchema",
@@ -271,7 +292,11 @@
271
292
  "line": 39,
272
293
  "character": 87
273
294
  },
274
- "name": "ComponentMain"
295
+ "name": "ComponentMain",
296
+ "componentId": {
297
+ "scope": "teambit.component",
298
+ "name": "component"
299
+ }
275
300
  }
276
301
  ]
277
302
  },
@@ -380,7 +405,11 @@
380
405
  "line": 10,
381
406
  "character": 36
382
407
  },
383
- "name": "ApplicationMain"
408
+ "name": "ApplicationMain",
409
+ "componentId": {
410
+ "scope": "teambit.harmony",
411
+ "name": "application"
412
+ }
384
413
  },
385
414
  "isOptional": false,
386
415
  "isSpread": false
@@ -400,7 +429,11 @@
400
429
  "line": 10,
401
430
  "character": 65
402
431
  },
403
- "name": "UiMain"
432
+ "name": "UiMain",
433
+ "componentId": {
434
+ "scope": "teambit.ui-foundation",
435
+ "name": "ui"
436
+ }
404
437
  },
405
438
  "isOptional": false,
406
439
  "isSpread": false
@@ -420,7 +453,11 @@
420
453
  "line": 10,
421
454
  "character": 98
422
455
  },
423
- "name": "ComponentMain"
456
+ "name": "ComponentMain",
457
+ "componentId": {
458
+ "scope": "teambit.component",
459
+ "name": "component"
460
+ }
424
461
  },
425
462
  "isOptional": false,
426
463
  "isSpread": false
@@ -472,7 +509,8 @@
472
509
  "line": 15,
473
510
  "character": 31
474
511
  },
475
- "name": "HarmonyAppOptions"
512
+ "name": "HarmonyAppOptions",
513
+ "internalFilePath": "harmony-app-options.ts"
476
514
  },
477
515
  "isOptional": false,
478
516
  "isSpread": false
@@ -585,7 +623,11 @@
585
623
  "line": 39,
586
624
  "character": 62
587
625
  },
588
- "name": "ApplicationMain"
626
+ "name": "ApplicationMain",
627
+ "componentId": {
628
+ "scope": "teambit.harmony",
629
+ "name": "application"
630
+ }
589
631
  },
590
632
  {
591
633
  "__schema": "TypeRefSchema",
@@ -594,7 +636,11 @@
594
636
  "line": 39,
595
637
  "character": 79
596
638
  },
597
- "name": "UiMain"
639
+ "name": "UiMain",
640
+ "componentId": {
641
+ "scope": "teambit.ui-foundation",
642
+ "name": "ui"
643
+ }
598
644
  },
599
645
  {
600
646
  "__schema": "TypeRefSchema",
@@ -603,7 +649,11 @@
603
649
  "line": 39,
604
650
  "character": 87
605
651
  },
606
- "name": "ComponentMain"
652
+ "name": "ComponentMain",
653
+ "componentId": {
654
+ "scope": "teambit.component",
655
+ "name": "component"
656
+ }
607
657
  }
608
658
  ]
609
659
  },
@@ -684,7 +734,7 @@
684
734
  "componentId": {
685
735
  "scope": "teambit.ui-foundation",
686
736
  "name": "harmony-ui-app",
687
- "version": "1.0.227"
737
+ "version": "1.0.229"
688
738
  },
689
739
  "taggedModuleExports": []
690
740
  }
@@ -0,0 +1,8 @@
1
+ import { AspectDefinition } from '@teambit/aspect-loader';
2
+ export type HarmonyAppOptions = {
3
+ /**
4
+ * name of the app. e.g. 'ripple-ci'
5
+ */
6
+ name: string;
7
+ aspectDefs: AspectDefinition[];
8
+ };
@@ -0,0 +1,2 @@
1
+ import { Aspect } from '@teambit/harmony';
2
+ export declare const HarmonyUiAppAspect: Aspect;
@@ -0,0 +1 @@
1
+ export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { ApplicationMain } from '@teambit/application';
2
+ import { UiMain } from '@teambit/ui';
3
+ import { ComponentMain } from '@teambit/component';
4
+ import { HarmonyAppOptions } from './harmony-app-options';
5
+ export declare class HarmonyUiAppMain {
6
+ private application;
7
+ private ui;
8
+ private componentAspect;
9
+ constructor(application: ApplicationMain, ui: UiMain, componentAspect: ComponentMain);
10
+ /**
11
+ * register a new harmony UI application.
12
+ */
13
+ registerHarmonyApp(options: HarmonyAppOptions): this;
14
+ static slots: never[];
15
+ static dependencies: import("@teambit/harmony").Aspect[];
16
+ static runtime: import("@teambit/harmony").RuntimeDefinition;
17
+ static provider([application, ui, componentAspect]: [ApplicationMain, UiMain, ComponentMain]): Promise<HarmonyUiAppMain>;
18
+ }
@@ -0,0 +1,4 @@
1
+ import { HarmonyUiAppAspect } from './harmony-ui-app.aspect';
2
+ export type { HarmonyUiAppMain } from './harmony-ui-app.main.runtime';
3
+ export default HarmonyUiAppAspect;
4
+ export { HarmonyUiAppAspect };
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_harmony-ui-app@1.0.227/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@1.0.227/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@1.0.229/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@1.0.229/dist/harmony-ui-app.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
File without changes
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
1
  {
2
2
  "name": "@teambit/harmony-ui-app",
3
- "version": "1.0.227",
3
+ "version": "1.0.229",
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": "1.0.227"
9
+ "version": "1.0.229"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
- "@teambit/aspect-loader": "1.0.227",
14
- "@teambit/application": "1.0.227",
15
- "@teambit/cli": "0.0.860",
16
- "@teambit/component": "1.0.227",
17
- "@teambit/ui": "1.0.227"
13
+ "@teambit/aspect-loader": "1.0.229",
14
+ "@teambit/application": "1.0.229",
15
+ "@teambit/cli": "0.0.862",
16
+ "@teambit/component": "1.0.229",
17
+ "@teambit/ui": "1.0.229"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/mocha": "9.1.0",
21
21
  "chai": "4.3.0",
22
- "@teambit/harmony.envs.core-aspect-env": "0.0.30"
22
+ "@teambit/harmony.envs.core-aspect-env": "0.0.33"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": "^17.0.0 || ^18.0.0",
package/tsconfig.json CHANGED
@@ -20,8 +20,7 @@
20
20
  "emitDeclarationOnly": true,
21
21
  "strict": true,
22
22
  "strictPropertyInitialization": false,
23
- "noImplicitAny": false,
24
- "composite": true
23
+ "noImplicitAny": false
25
24
  },
26
25
  "exclude": [
27
26
  "artifacts",
@@ -36,22 +35,5 @@
36
35
  "include": [
37
36
  "**/*",
38
37
  "**/*.json"
39
- ],
40
- "references": [
41
- {
42
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect-loader@1.0.227"
43
- },
44
- {
45
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_application@1.0.227"
46
- },
47
- {
48
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.860"
49
- },
50
- {
51
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.227"
52
- },
53
- {
54
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_ui@1.0.227"
55
- }
56
38
  ]
57
39
  }