@teambit/react.ui.compositions-app 0.0.24 → 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;
@@ -1 +1 @@
1
- {"version":3,"file":"compositions-app.js","sourceRoot":"","sources":["../compositions-app.tsx"],"names":[],"mappings":";;;;;AASA,0CAiBC;AA1BD,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"}
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.24/dist/compositions.compositions.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.react_ui_compositions-app@0.0.24/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.24",
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.24"
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
14
  "@teambit/design.ui.pages.standalone-not-found-page": "0.0.370",
15
- "@teambit/react.ui.loader-fallback": "0.0.111"
15
+ "@teambit/react.ui.loader-fallback": "0.0.112"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/react": "^17.0.8",