@teambit/react.ui.compositions-app 0.0.23 → 0.0.25

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.
@@ -1,7 +1,8 @@
1
- import React, { ComponentType } from 'react';
1
+ import type { ComponentType } from 'react';
2
+ import React from 'react';
2
3
  import { Composer } from '@teambit/base-ui.utils.composer';
3
4
  import { StandaloneNotFoundPage } from '@teambit/design.ui.pages.standalone-not-found-page';
4
- import { RenderingContext } from '@teambit/preview';
5
+ import type { RenderingContext } from '@teambit/preview';
5
6
  import { useFallback } from '@teambit/react.ui.loader-fallback';
6
7
 
7
8
  // hide scrollbars so they won't be visible in the preview at the component card (and it's ok not to show them in the compositions page)
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import ReactDOM from 'react-dom';
3
- import { RenderingContext } from '@teambit/preview';
3
+ import type { RenderingContext } from '@teambit/preview';
4
4
 
5
5
  import { CompositionsApp } from './compositions-app';
6
6
 
@@ -1,5 +1,6 @@
1
- import React, { ComponentType } from 'react';
2
- import { RenderingContext } from '@teambit/preview';
1
+ import type { ComponentType } from 'react';
2
+ import React from 'react';
3
+ import type { RenderingContext } from '@teambit/preview';
3
4
  export declare function CompositionsApp({ Composition, previewContext, }: {
4
5
  Composition?: ComponentType;
5
6
  previewContext?: RenderingContext;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CompositionsApp = void 0;
6
+ exports.CompositionsApp = CompositionsApp;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const base_ui_utils_composer_1 = require("@teambit/base-ui.utils.composer");
9
9
  const design_ui_pages_standalone_not_found_page_1 = require("@teambit/design.ui.pages.standalone-not-found-page");
@@ -17,5 +17,4 @@ function CompositionsApp({ Composition, previewContext, }) {
17
17
  react_1.default.createElement("style", null, hideScrollbars),
18
18
  safeComposition));
19
19
  }
20
- exports.CompositionsApp = CompositionsApp;
21
20
  //# sourceMappingURL=compositions-app.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"compositions-app.js","sourceRoot":"","sources":["../compositions-app.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA6C;AAC7C,4EAA2D;AAC3D,kHAA4F;AAE5F,gFAAgE;AAEhE,wIAAwI;AACxI,MAAM,cAAc,GAAG,0CAA0C,CAAC;AAElE,SAAgB,eAAe,CAAC,EAC9B,WAAW,EACX,cAAc,GAIf;IACC,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,CAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,GAAG,CAAC,qBAAqB,CAAC,KAAI,EAAE,CAAC;IAE5E,MAAM,eAAe,GAAG,IAAA,sCAAW,EAAC,WAAW,IAAI,8BAAC,WAAW,OAAG,EAAE,8BAAC,kEAAsB,OAAG,CAAC,CAAC;IAEhG,OAAO,CACL,8BAAC,iCAAQ,IAAC,UAAU,EAAE,SAAS;QAC7B,6CAAQ,cAAc,CAAS;QAC9B,eAAe,CACP,CACZ,CAAC;AACJ,CAAC;AAjBD,0CAiBC"}
1
+ {"version":3,"file":"compositions-app.js","sourceRoot":"","sources":["../compositions-app.tsx"],"names":[],"mappings":";;;;;AAUA,0CAiBC;AA1BD,kDAA0B;AAC1B,4EAA2D;AAC3D,kHAA4F;AAE5F,gFAAgE;AAEhE,wIAAwI;AACxI,MAAM,cAAc,GAAG,0CAA0C,CAAC;AAElE,SAAgB,eAAe,CAAC,EAC9B,WAAW,EACX,cAAc,GAIf;IACC,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,CAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,GAAG,CAAC,qBAAqB,CAAC,KAAI,EAAE,CAAC;IAE5E,MAAM,eAAe,GAAG,IAAA,sCAAW,EAAC,WAAW,IAAI,8BAAC,WAAW,OAAG,EAAE,8BAAC,kEAAsB,OAAG,CAAC,CAAC;IAEhG,OAAO,CACL,8BAAC,iCAAQ,IAAC,UAAU,EAAE,SAAS;QAC7B,6CAAQ,cAAc,CAAS;QAC9B,eAAe,CACP,CACZ,CAAC;AACJ,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { RenderingContext } from '@teambit/preview';
2
+ import type { RenderingContext } from '@teambit/preview';
3
3
  /**
4
4
  * mounts compositions into the DOM in the component preview.
5
5
  */
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.react_ui_compositions-app@0.0.23/dist/compositions.compositions.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.react_ui_compositions-app@0.0.23/dist/composition-app.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.react_ui_compositions-app@0.0.25/dist/compositions.compositions.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.react_ui_compositions-app@0.0.25/dist/composition-app.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@teambit/react.ui.compositions-app",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "homepage": "https://bit.cloud/teambit/react/ui/compositions-app",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.react",
8
8
  "name": "ui/compositions-app",
9
- "version": "0.0.23"
9
+ "version": "0.0.25"
10
10
  },
11
11
  "dependencies": {
12
12
  "core-js": "^3.0.0",
13
13
  "@teambit/base-ui.utils.composer": "1.0.0",
14
- "@teambit/design.ui.pages.standalone-not-found-page": "0.0.369",
15
- "@teambit/react.ui.loader-fallback": "0.0.111"
14
+ "@teambit/design.ui.pages.standalone-not-found-page": "0.0.370",
15
+ "@teambit/react.ui.loader-fallback": "0.0.112"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/react": "^17.0.8",