@teambit/compositions 1.0.330 → 1.0.332

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,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.compositions/compositions@1.0.330" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.compositions/compositions@1.0.332" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["teambit.compositions/compositions-preview"]=o():e["teambit.compositions/compositions-preview"]=o()}(self,(()=>(()=>{"use strict";var e={41341:(e,o,t)=>{var n={id:"teambit.compositions/aspect-docs/compositions@0.0.168",homepage:"https://bit.cloud/teambit/compositions/aspect-docs/compositions",exported:!0};Object.defineProperty(o,"__esModule",{value:!0}),o.default=f,a(t(41594));var i=t(5016),s=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function r(){return r=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},r.apply(null,arguments)}function p(e,o){if(null==e)return{};var t,n,i=m(e,o);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)t=s[n],o.indexOf(t)>=0||{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function m(e,o){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(o.indexOf(n)>=0)continue;t[n]=e[n]}return t}a.__bit_component=n,r.__bit_component=n,p.__bit_component=n,m.__bit_component=n;var c=function(e){return function(o){return console.warn("Component "+e+" was not imported, exported, or provided by MDXProvider as global scope"),(0,i.mdx)("div",o)}};c.__bit_component=n;var l=c("CompositionCard"),d=c("Button"),u={},h="wrapper";function f(e){var o=e.components,t=p(e,s);return(0,i.mdx)(h,r({},u,t,{components:o,mdxType:"MDXLayout"}),(0,i.mdx)("p",null,"The Compositions aspect renders component 'compositions' in isolation and displays them in the Workspace UI and Scope UI.\n'Compositions' are, essentially, small apps that exhibit and test a component in different contexts and variations."),(0,i.mdx)("p",null,'The Compositions aspect is an essential tool to authoring independent components as it renders component instances in "controlled environments", isolated and un-affected by code that was not purposefully included.\nThis sterile environment provides an accurate understanding of their look and behavior, for manual and automated testings.'),(0,i.mdx)("p",null,"Moreover, a component's composition is a way to demonstrate the component for other developers looking to use it, and non-developers, such as designers and product managers, looking to inspect it."),(0,i.mdx)("h4",null,"Features"),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"Create component examples with zero configuration:")," Write your compositions the same way you write your components.\nPlace your examples in the component's ",(0,i.mdx)("inlineCode",{parentName:"p"},"*.compositions.*")," file to have them rendered in the Workspace UI with no additional configurations."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"See your components render in all relevant contexts:")," - Render components in the visual context of related and dependant components to learn how changes impact other components during development."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"Hot-reloading in workspace UI:")," - See various instances of a component render live to reflect most recent changes. Get immediate feedbacks to changes in your component's code."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"Compositions as visual documentation:")," - Compositions play an essential part in a component documentation. They demonstrate potential behaviors and use cases for that component. Compositions are another step in promoting components' discoverability, both in your local workspace and in remote scopes."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"Compositions as test samples for your CI")," - Use your compositions as samples for automated integration and unit tests, to track and view the impact of changes on all affected components in your different scopes."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"Developer-Designers collaboration")," - Make visual compositions accessible to designers (and everyone else) to include them in the development and release process of web applications, in a visual way."),(0,i.mdx)("h2",null,"Quickstart & configurations"),(0,i.mdx)("p",null,"Compositions require no configuration. Any ",(0,i.mdx)("inlineCode",{parentName:"p"},"*.compositions.*")," or ",(0,i.mdx)("inlineCode",{parentName:"p"},"*.composition.*")," file will be loaded and displayed in the workspace UI.\nAny tagged version of a component will have its composition included in its build artifacts, to be used as part of the component's preview."),(0,i.mdx)("p",null,"To add your own file pattern for compositions (to be automatically loaded and displayed by the Compositions aspect):"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-json"},'// In the workspace configuration file\n{\n "teambit.compositions/compositions": {\n "compositionFilePattern": ["**.my-pattern.tsx", "**.my-pattern-2.jsx"]\n }\n}\n')),(0,i.mdx)("h2",null,"Creating compositions"),(0,i.mdx)("blockquote",null,(0,i.mdx)("p",{parentName:"blockquote"},"This document uses React code as snippets.")),(0,i.mdx)("p",null,"Writing a composition does not require any configuration. Import the component to the component's ",(0,i.mdx)("inlineCode",{parentName:"p"},"*.compositions.tsx")," file, use it to build a composition and export the new component (a.k.a, the composition) with a named export."),(0,i.mdx)("p",null,"The name of the export will be converted from PascalCase/camelCase and used for the composition name (e.g, ",(0,i.mdx)("inlineCode",{parentName:"p"},'"CompositionName" --\x3e "Composition name"'),")."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"For example"),", we'll create two compositions, 'Primary button' and 'Secondary button', each of which demonstrates a different variant or usage of that component.\nBoth compositions will be in themed (i.e, displayed in a specific context)."),(0,i.mdx)("p",null,"First, we'll create a new composition file in the component's directory:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"},"touch path/to/component/directory/<component-name>.compositions.tsx\n")),(0,i.mdx)("p",null,"Then, we'll import the component and use it to create the compositions:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-jsx{}[button.compositions.jsx]"},"import React from 'react';\nimport { IrisTheme } from '@my-organization/design-system/iris-theme';\nimport { Button } from './button';\n\nexport const PrimaryButton = () => {\n return (\n <IrisTheme>\n <Button importance=\"cta\" style={{ width: 120 }}>\n Primary\n </Button>\n </IrisTheme>\n );\n};\n\nexport const SecondaryButton = () => {\n return (\n <IrisTheme>\n <Button importance=\"ghost\" style={{ width: 120 }}>\n Secondary\n </Button>\n </IrisTheme>\n );\n};\n")),(0,i.mdx)("div",{style:{width:450,display:"flex",justifyContent:"space-between"}},(0,i.mdx)(l,{Composition:function(){return(0,i.mdx)(d,{importance:"cta",style:{width:120},mdxType:"Button"},"Primary")},name:"Primary",mdxType:"CompositionCard"}),(0,i.mdx)(l,{Composition:function(){return(0,i.mdx)(d,{importance:"ghost",style:{width:120},mdxType:"Button"},"Secondary")},name:"Secondary",mdxType:"CompositionCard"})),(0,i.mdx)("h2",null,"Loading compositions"),(0,i.mdx)("p",null,"The Environment in use will automatically detect the composition file for each component and use it to load its compositions to the workspace UI."),(0,i.mdx)("h2",null,"Viewing component compositions"),(0,i.mdx)("p",null,"To explore compositions in your Workspace UI, start the local development server for your workspace (",(0,i.mdx)("inlineCode",{parentName:"p"},"bit start"),"),\nbrowse to a specific component and select the ",(0,i.mdx)("strong",{parentName:"p"},"compositions")," tab.\nThere, you will see the full list of compositions available for that component, along with additional component meta-data."),(0,i.mdx)("h2",null,"Using compositions for automated testings"),(0,i.mdx)("p",null,"Component compositions can be used in automated testing as well as manual examinations. To do that, simply import the compositions in your test file to run the appropriate tests."),(0,i.mdx)("p",null,"For example, the below snapshot test checks the 'Button' component when the 'variant' prop is set to 'primary'.\nIn addition to simple unit tests, compositions play an important role in integration test as they provide feedback as to how a change to the component may affect potential usages."),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport testRenderer from 'react-test-renderer';\nimport { PrimaryButton } from './button.compositions.tsx';\n\ndescribe('Button', () => {\n it('renders correctly as \"primary\"', () => {\n const component = testRenderer.create(<PrimaryButton>test primary variant</PrimaryButton>);\n const tree = component.toJSON();\n expect(tree).toMatchSnapshot();\n });\n});\n")),(0,i.mdx)("h2",null,"Setting providers for all your compositions"),(0,i.mdx)("p",null,"Extend the React environment to customize its list of providers with your own composition providers.\nThe extended environment will then wrap every composition with these providers to make sure your themes or mock data are accessible to all of them,\nwithout you having to repeat that task ever again."),(0,i.mdx)("h2",null,"Compositions and storybook"),(0,i.mdx)("p",null,"Storybook displays individual components in different states and variations.\nIt is designed to help in authoring and displaying standalone components, each of which is usually part of a design system.\nIn contrast, 'Compositions' is mainly about examining how an independent component looks and behaves when used with other components.\nThese component integrations serve as a way to examine compositions that are likely to be part of real applications, using manual and automated testing."),(0,i.mdx)("p",null,"If you're looking for a Storybook-like solution, you can find that either in the Storybook extension (currently in development) or by using 'Compositions' for that use-case as well."))}f.__bit_component=n,f.isMDXComponent=!0},31043:(e,o,t)=>{Object.defineProperty(o,"s",{enumerable:!0,get:function(){return n.default}});var n=i(t(41341));function i(e){return e&&e.__esModule?e:{default:e}}i.__bit_component={id:"teambit.compositions/aspect-docs/compositions@0.0.168",homepage:"https://bit.cloud/teambit/compositions/aspect-docs/compositions",exported:!0}},9553:(e,o,t)=>{var n={id:"teambit.compositions/compositions@1.0.330",homepage:"https://bit.cloud/teambit/compositions/compositions",exported:!0};function i(){const e=s(t(41594));return i=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(o,"__esModule",{value:!0}),o.Logo=void 0,i.__bit_component=n,s.__bit_component=n;const a=()=>i().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},i().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/compositions.svg"}));a.__bit_component=n,o.Logo=a},5016:e=>{e.exports=MdxJsReact},41594:e=>{e.exports=React}},o={};function t(n){var i=o[n];if(void 0!==i)return i.exports;var s=o[n]={exports:{}};return e[n](s,s.exports,t),s.exports}t.d=(e,o)=>{for(var n in o)t.o(o,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};t.r(n),t.d(n,{compositions:()=>h,compositions_metadata:()=>y,overview:()=>f});var i={};t.r(i),t.d(i,{default:()=>u});var s=t(9553),a=(t(41594),t(5016));const r=TeambitMdxUiMdxScopeContext;var p=t(31043),m=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},c.apply(null,arguments)}var l={},d="wrapper";function u(e){var o=e.components,t=function(e,o){if(null==e)return{};var t,n,i=function(e,o){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(o.indexOf(n)>=0)continue;t[n]=e[n]}return t}(e,o);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)t=s[n],o.indexOf(t)>=0||{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,m);return(0,a.mdx)(d,c({},l,t,{components:o,mdxType:"MDXLayout"}),(0,a.mdx)(r.MDXScopeProvider,{components:{Compositions:p.s},mdxType:"MDXScopeProvider"},(0,a.mdx)(p.s,{mdxType:"Compositions"})))}u.isMDXComponent=!0;const h=[s],f=[i],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
1
+ !function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["teambit.compositions/compositions-preview"]=o():e["teambit.compositions/compositions-preview"]=o()}(self,(()=>(()=>{"use strict";var e={11883:(e,o,t)=>{var n={id:"teambit.compositions/aspect-docs/compositions@0.0.168",homepage:"https://bit.cloud/teambit/compositions/aspect-docs/compositions",exported:!0};Object.defineProperty(o,"__esModule",{value:!0}),o.default=f,a(t(41594));var i=t(5016),s=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function r(){return r=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},r.apply(null,arguments)}function p(e,o){if(null==e)return{};var t,n,i=m(e,o);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)t=s[n],o.indexOf(t)>=0||{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function m(e,o){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(o.indexOf(n)>=0)continue;t[n]=e[n]}return t}a.__bit_component=n,r.__bit_component=n,p.__bit_component=n,m.__bit_component=n;var c=function(e){return function(o){return console.warn("Component "+e+" was not imported, exported, or provided by MDXProvider as global scope"),(0,i.mdx)("div",o)}};c.__bit_component=n;var l=c("CompositionCard"),d=c("Button"),u={},h="wrapper";function f(e){var o=e.components,t=p(e,s);return(0,i.mdx)(h,r({},u,t,{components:o,mdxType:"MDXLayout"}),(0,i.mdx)("p",null,"The Compositions aspect renders component 'compositions' in isolation and displays them in the Workspace UI and Scope UI.\n'Compositions' are, essentially, small apps that exhibit and test a component in different contexts and variations."),(0,i.mdx)("p",null,'The Compositions aspect is an essential tool to authoring independent components as it renders component instances in "controlled environments", isolated and un-affected by code that was not purposefully included.\nThis sterile environment provides an accurate understanding of their look and behavior, for manual and automated testings.'),(0,i.mdx)("p",null,"Moreover, a component's composition is a way to demonstrate the component for other developers looking to use it, and non-developers, such as designers and product managers, looking to inspect it."),(0,i.mdx)("h4",null,"Features"),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"Create component examples with zero configuration:")," Write your compositions the same way you write your components.\nPlace your examples in the component's ",(0,i.mdx)("inlineCode",{parentName:"p"},"*.compositions.*")," file to have them rendered in the Workspace UI with no additional configurations."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"See your components render in all relevant contexts:")," - Render components in the visual context of related and dependant components to learn how changes impact other components during development."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"Hot-reloading in workspace UI:")," - See various instances of a component render live to reflect most recent changes. Get immediate feedbacks to changes in your component's code."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"Compositions as visual documentation:")," - Compositions play an essential part in a component documentation. They demonstrate potential behaviors and use cases for that component. Compositions are another step in promoting components' discoverability, both in your local workspace and in remote scopes."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"Compositions as test samples for your CI")," - Use your compositions as samples for automated integration and unit tests, to track and view the impact of changes on all affected components in your different scopes."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"Developer-Designers collaboration")," - Make visual compositions accessible to designers (and everyone else) to include them in the development and release process of web applications, in a visual way."),(0,i.mdx)("h2",null,"Quickstart & configurations"),(0,i.mdx)("p",null,"Compositions require no configuration. Any ",(0,i.mdx)("inlineCode",{parentName:"p"},"*.compositions.*")," or ",(0,i.mdx)("inlineCode",{parentName:"p"},"*.composition.*")," file will be loaded and displayed in the workspace UI.\nAny tagged version of a component will have its composition included in its build artifacts, to be used as part of the component's preview."),(0,i.mdx)("p",null,"To add your own file pattern for compositions (to be automatically loaded and displayed by the Compositions aspect):"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-json"},'// In the workspace configuration file\n{\n "teambit.compositions/compositions": {\n "compositionFilePattern": ["**.my-pattern.tsx", "**.my-pattern-2.jsx"]\n }\n}\n')),(0,i.mdx)("h2",null,"Creating compositions"),(0,i.mdx)("blockquote",null,(0,i.mdx)("p",{parentName:"blockquote"},"This document uses React code as snippets.")),(0,i.mdx)("p",null,"Writing a composition does not require any configuration. Import the component to the component's ",(0,i.mdx)("inlineCode",{parentName:"p"},"*.compositions.tsx")," file, use it to build a composition and export the new component (a.k.a, the composition) with a named export."),(0,i.mdx)("p",null,"The name of the export will be converted from PascalCase/camelCase and used for the composition name (e.g, ",(0,i.mdx)("inlineCode",{parentName:"p"},'"CompositionName" --\x3e "Composition name"'),")."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"For example"),", we'll create two compositions, 'Primary button' and 'Secondary button', each of which demonstrates a different variant or usage of that component.\nBoth compositions will be in themed (i.e, displayed in a specific context)."),(0,i.mdx)("p",null,"First, we'll create a new composition file in the component's directory:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"},"touch path/to/component/directory/<component-name>.compositions.tsx\n")),(0,i.mdx)("p",null,"Then, we'll import the component and use it to create the compositions:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-jsx{}[button.compositions.jsx]"},"import React from 'react';\nimport { IrisTheme } from '@my-organization/design-system/iris-theme';\nimport { Button } from './button';\n\nexport const PrimaryButton = () => {\n return (\n <IrisTheme>\n <Button importance=\"cta\" style={{ width: 120 }}>\n Primary\n </Button>\n </IrisTheme>\n );\n};\n\nexport const SecondaryButton = () => {\n return (\n <IrisTheme>\n <Button importance=\"ghost\" style={{ width: 120 }}>\n Secondary\n </Button>\n </IrisTheme>\n );\n};\n")),(0,i.mdx)("div",{style:{width:450,display:"flex",justifyContent:"space-between"}},(0,i.mdx)(l,{Composition:function(){return(0,i.mdx)(d,{importance:"cta",style:{width:120},mdxType:"Button"},"Primary")},name:"Primary",mdxType:"CompositionCard"}),(0,i.mdx)(l,{Composition:function(){return(0,i.mdx)(d,{importance:"ghost",style:{width:120},mdxType:"Button"},"Secondary")},name:"Secondary",mdxType:"CompositionCard"})),(0,i.mdx)("h2",null,"Loading compositions"),(0,i.mdx)("p",null,"The Environment in use will automatically detect the composition file for each component and use it to load its compositions to the workspace UI."),(0,i.mdx)("h2",null,"Viewing component compositions"),(0,i.mdx)("p",null,"To explore compositions in your Workspace UI, start the local development server for your workspace (",(0,i.mdx)("inlineCode",{parentName:"p"},"bit start"),"),\nbrowse to a specific component and select the ",(0,i.mdx)("strong",{parentName:"p"},"compositions")," tab.\nThere, you will see the full list of compositions available for that component, along with additional component meta-data."),(0,i.mdx)("h2",null,"Using compositions for automated testings"),(0,i.mdx)("p",null,"Component compositions can be used in automated testing as well as manual examinations. To do that, simply import the compositions in your test file to run the appropriate tests."),(0,i.mdx)("p",null,"For example, the below snapshot test checks the 'Button' component when the 'variant' prop is set to 'primary'.\nIn addition to simple unit tests, compositions play an important role in integration test as they provide feedback as to how a change to the component may affect potential usages."),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport testRenderer from 'react-test-renderer';\nimport { PrimaryButton } from './button.compositions.tsx';\n\ndescribe('Button', () => {\n it('renders correctly as \"primary\"', () => {\n const component = testRenderer.create(<PrimaryButton>test primary variant</PrimaryButton>);\n const tree = component.toJSON();\n expect(tree).toMatchSnapshot();\n });\n});\n")),(0,i.mdx)("h2",null,"Setting providers for all your compositions"),(0,i.mdx)("p",null,"Extend the React environment to customize its list of providers with your own composition providers.\nThe extended environment will then wrap every composition with these providers to make sure your themes or mock data are accessible to all of them,\nwithout you having to repeat that task ever again."),(0,i.mdx)("h2",null,"Compositions and storybook"),(0,i.mdx)("p",null,"Storybook displays individual components in different states and variations.\nIt is designed to help in authoring and displaying standalone components, each of which is usually part of a design system.\nIn contrast, 'Compositions' is mainly about examining how an independent component looks and behaves when used with other components.\nThese component integrations serve as a way to examine compositions that are likely to be part of real applications, using manual and automated testing."),(0,i.mdx)("p",null,"If you're looking for a Storybook-like solution, you can find that either in the Storybook extension (currently in development) or by using 'Compositions' for that use-case as well."))}f.__bit_component=n,f.isMDXComponent=!0},51697:(e,o,t)=>{Object.defineProperty(o,"s",{enumerable:!0,get:function(){return n.default}});var n=i(t(11883));function i(e){return e&&e.__esModule?e:{default:e}}i.__bit_component={id:"teambit.compositions/aspect-docs/compositions@0.0.168",homepage:"https://bit.cloud/teambit/compositions/aspect-docs/compositions",exported:!0}},94253:(e,o,t)=>{var n={id:"teambit.compositions/compositions@1.0.332",homepage:"https://bit.cloud/teambit/compositions/compositions",exported:!0};function i(){const e=s(t(41594));return i=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(o,"__esModule",{value:!0}),o.Logo=void 0,i.__bit_component=n,s.__bit_component=n;const a=()=>i().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},i().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/compositions.svg"}));a.__bit_component=n,o.Logo=a},5016:e=>{e.exports=MdxJsReact},41594:e=>{e.exports=React}},o={};function t(n){var i=o[n];if(void 0!==i)return i.exports;var s=o[n]={exports:{}};return e[n](s,s.exports,t),s.exports}t.d=(e,o)=>{for(var n in o)t.o(o,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};t.r(n),t.d(n,{compositions:()=>h,compositions_metadata:()=>y,overview:()=>f});var i={};t.r(i),t.d(i,{default:()=>u});var s=t(94253),a=(t(41594),t(5016));const r=TeambitMdxUiMdxScopeContext;var p=t(51697),m=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},c.apply(null,arguments)}var l={},d="wrapper";function u(e){var o=e.components,t=function(e,o){if(null==e)return{};var t,n,i=function(e,o){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(o.indexOf(n)>=0)continue;t[n]=e[n]}return t}(e,o);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)t=s[n],o.indexOf(t)>=0||{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,m);return(0,a.mdx)(d,c({},l,t,{components:o,mdxType:"MDXLayout"}),(0,a.mdx)(r.MDXScopeProvider,{components:{Compositions:p.s},mdxType:"MDXScopeProvider"},(0,a.mdx)(p.s,{mdxType:"Compositions"})))}u.isMDXComponent=!0;const h=[s],f=[i],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
@@ -158,11 +158,7 @@
158
158
  "line": 50,
159
159
  "character": 22
160
160
  },
161
- "name": "PreviewMain",
162
- "componentId": {
163
- "scope": "teambit.preview",
164
- "name": "preview"
165
- }
161
+ "name": "PreviewMain"
166
162
  },
167
163
  "isOptional": false,
168
164
  "isSpread": false
@@ -182,11 +178,7 @@
182
178
  "line": 55,
183
179
  "character": 24
184
180
  },
185
- "name": "Workspace",
186
- "componentId": {
187
- "scope": "teambit.workspace",
188
- "name": "workspace"
189
- }
181
+ "name": "Workspace"
190
182
  },
191
183
  "isOptional": false,
192
184
  "isSpread": false
@@ -206,11 +198,7 @@
206
198
  "line": 60,
207
199
  "character": 21
208
200
  },
209
- "name": "SchemaMain",
210
- "componentId": {
211
- "scope": "teambit.semantics",
212
- "name": "schema"
213
- }
201
+ "name": "SchemaMain"
214
202
  },
215
203
  "isOptional": false,
216
204
  "isSpread": false
@@ -230,11 +218,7 @@
230
218
  "line": 62,
231
219
  "character": 23
232
220
  },
233
- "name": "DevFilesMain",
234
- "componentId": {
235
- "scope": "teambit.component",
236
- "name": "dev-files"
237
- }
221
+ "name": "DevFilesMain"
238
222
  },
239
223
  "isOptional": false,
240
224
  "isSpread": false
@@ -254,11 +238,7 @@
254
238
  "line": 64,
255
239
  "character": 19
256
240
  },
257
- "name": "EnvsMain",
258
- "componentId": {
259
- "scope": "teambit.envs",
260
- "name": "envs"
261
- }
241
+ "name": "EnvsMain"
262
242
  },
263
243
  "isOptional": false,
264
244
  "isSpread": false
@@ -318,11 +298,7 @@
318
298
  "line": 70,
319
299
  "character": 31
320
300
  },
321
- "name": "Component",
322
- "componentId": {
323
- "scope": "teambit.component",
324
- "name": "component"
325
- }
301
+ "name": "Component"
326
302
  }
327
303
  },
328
304
  "isOptional": false,
@@ -337,10 +313,6 @@
337
313
  "character": 45
338
314
  },
339
315
  "name": "ComponentMap",
340
- "componentId": {
341
- "scope": "teambit.component",
342
- "name": "component"
343
- },
344
316
  "typeArgs": [
345
317
  {
346
318
  "__schema": "TypeArraySchema",
@@ -356,8 +328,7 @@
356
328
  "line": 70,
357
329
  "character": 58
358
330
  },
359
- "name": "AbstractVinyl",
360
- "packageName": "@teambit/legacy/dist/consumer/component/sources"
331
+ "name": "AbstractVinyl"
361
332
  }
362
333
  }
363
334
  ]
@@ -453,11 +424,7 @@
453
424
  "line": 96,
454
425
  "character": 30
455
426
  },
456
- "name": "IComponent",
457
- "componentId": {
458
- "scope": "teambit.component",
459
- "name": "component"
460
- }
427
+ "name": "IComponent"
461
428
  },
462
429
  "isOptional": false,
463
430
  "isSpread": false
@@ -518,11 +485,7 @@
518
485
  "line": 108,
519
486
  "character": 31
520
487
  },
521
- "name": "Component",
522
- "componentId": {
523
- "scope": "teambit.component",
524
- "name": "component"
525
- }
488
+ "name": "Component"
526
489
  },
527
490
  "isOptional": false,
528
491
  "isSpread": false
@@ -593,11 +556,7 @@
593
556
  "line": 120,
594
557
  "character": 38
595
558
  },
596
- "name": "Component",
597
- "componentId": {
598
- "scope": "teambit.component",
599
- "name": "component"
600
- }
559
+ "name": "Component"
601
560
  },
602
561
  "isOptional": false,
603
562
  "isSpread": false
@@ -660,11 +619,7 @@
660
619
  "line": 133,
661
620
  "character": 36
662
621
  },
663
- "name": "Component",
664
- "componentId": {
665
- "scope": "teambit.component",
666
- "name": "component"
667
- }
622
+ "name": "Component"
668
623
  },
669
624
  "isOptional": false,
670
625
  "isSpread": false
@@ -684,8 +639,7 @@
684
639
  "line": 133,
685
640
  "character": 58
686
641
  },
687
- "name": "ComponentLoadOptions",
688
- "packageName": "@teambit/legacy/dist/consumer/component/component-loader"
642
+ "name": "ComponentLoadOptions"
689
643
  },
690
644
  "isOptional": true,
691
645
  "isSpread": false
@@ -715,11 +669,7 @@
715
669
  "line": 133,
716
670
  "character": 89
717
671
  },
718
- "name": "AspectData",
719
- "componentId": {
720
- "scope": "teambit.component",
721
- "name": "component"
722
- }
672
+ "name": "AspectData"
723
673
  },
724
674
  {
725
675
  "__schema": "KeywordTypeSchema",
@@ -835,11 +785,7 @@
835
785
  "line": 177,
836
786
  "character": 7
837
787
  },
838
- "name": "PreviewMain",
839
- "componentId": {
840
- "scope": "teambit.preview",
841
- "name": "preview"
842
- }
788
+ "name": "PreviewMain"
843
789
  },
844
790
  {
845
791
  "__schema": "TypeRefSchema",
@@ -848,11 +794,7 @@
848
794
  "line": 178,
849
795
  "character": 7
850
796
  },
851
- "name": "GraphqlMain",
852
- "componentId": {
853
- "scope": "teambit.harmony",
854
- "name": "graphql"
855
- }
797
+ "name": "GraphqlMain"
856
798
  },
857
799
  {
858
800
  "__schema": "TypeRefSchema",
@@ -861,11 +803,7 @@
861
803
  "line": 179,
862
804
  "character": 7
863
805
  },
864
- "name": "Workspace",
865
- "componentId": {
866
- "scope": "teambit.workspace",
867
- "name": "workspace"
868
- }
806
+ "name": "Workspace"
869
807
  },
870
808
  {
871
809
  "__schema": "TypeRefSchema",
@@ -874,11 +812,7 @@
874
812
  "line": 180,
875
813
  "character": 7
876
814
  },
877
- "name": "SchemaMain",
878
- "componentId": {
879
- "scope": "teambit.semantics",
880
- "name": "schema"
881
- }
815
+ "name": "SchemaMain"
882
816
  },
883
817
  {
884
818
  "__schema": "TypeRefSchema",
@@ -887,11 +821,7 @@
887
821
  "line": 181,
888
822
  "character": 7
889
823
  },
890
- "name": "DevFilesMain",
891
- "componentId": {
892
- "scope": "teambit.component",
893
- "name": "dev-files"
894
- }
824
+ "name": "DevFilesMain"
895
825
  },
896
826
  {
897
827
  "__schema": "TypeRefSchema",
@@ -900,11 +830,7 @@
900
830
  "line": 182,
901
831
  "character": 7
902
832
  },
903
- "name": "EnvsMain",
904
- "componentId": {
905
- "scope": "teambit.envs",
906
- "name": "envs"
907
- }
833
+ "name": "EnvsMain"
908
834
  },
909
835
  {
910
836
  "__schema": "TypeRefSchema",
@@ -913,11 +839,7 @@
913
839
  "line": 183,
914
840
  "character": 7
915
841
  },
916
- "name": "ScopeMain",
917
- "componentId": {
918
- "scope": "teambit.scope",
919
- "name": "scope"
920
- }
842
+ "name": "ScopeMain"
921
843
  }
922
844
  ]
923
845
  },
@@ -939,8 +861,7 @@
939
861
  "line": 185,
940
862
  "character": 13
941
863
  },
942
- "name": "CompositionsConfig",
943
- "internalFilePath": "compositions.main.runtime.ts"
864
+ "name": "CompositionsConfig"
944
865
  },
945
866
  "isOptional": false,
946
867
  "isSpread": false
@@ -1081,8 +1002,7 @@
1081
1002
  "line": 21,
1082
1003
  "character": 43
1083
1004
  },
1084
- "name": "ComponentType",
1085
- "packageName": "react"
1005
+ "name": "ComponentType"
1086
1006
  },
1087
1007
  "isOptional": false,
1088
1008
  "isSpread": false
@@ -1131,8 +1051,7 @@
1131
1051
  "line": 26,
1132
1052
  "character": 33
1133
1053
  },
1134
- "name": "MenuBarWidget",
1135
- "internalFilePath": "compositions.tsx"
1054
+ "name": "MenuBarWidget"
1136
1055
  }
1137
1056
  },
1138
1057
  "isOptional": false,
@@ -1267,11 +1186,7 @@
1267
1186
  "line": 46,
1268
1187
  "character": 37
1269
1188
  },
1270
- "name": "ComponentUI",
1271
- "componentId": {
1272
- "scope": "teambit.component",
1273
- "name": "component"
1274
- }
1189
+ "name": "ComponentUI"
1275
1190
  },
1276
1191
  {
1277
1192
  "__schema": "TypeRefSchema",
@@ -1280,11 +1195,7 @@
1280
1195
  "line": 46,
1281
1196
  "character": 50
1282
1197
  },
1283
- "name": "ComponentCompareUI",
1284
- "componentId": {
1285
- "scope": "teambit.component",
1286
- "name": "component-compare"
1287
- }
1198
+ "name": "ComponentCompareUI"
1288
1199
  }
1289
1200
  ]
1290
1201
  },
@@ -1395,11 +1306,6 @@
1395
1306
  "character": 36
1396
1307
  },
1397
1308
  "name": "SlotRegistry",
1398
- "componentId": {
1399
- "scope": "teambit.harmony",
1400
- "name": "harmony",
1401
- "version": "0.4.6"
1402
- },
1403
1309
  "typeArgs": [
1404
1310
  {
1405
1311
  "__schema": "TypeArraySchema",
@@ -1415,8 +1321,7 @@
1415
1321
  "line": 13,
1416
1322
  "character": 49
1417
1323
  },
1418
- "name": "MenuBarWidget",
1419
- "internalFilePath": "compositions.tsx"
1324
+ "name": "MenuBarWidget"
1420
1325
  }
1421
1326
  }
1422
1327
  ]
@@ -1448,11 +1353,6 @@
1448
1353
  "character": 30
1449
1354
  },
1450
1355
  "name": "SlotRegistry",
1451
- "componentId": {
1452
- "scope": "teambit.harmony",
1453
- "name": "harmony",
1454
- "version": "0.4.6"
1455
- },
1456
1356
  "typeArgs": [
1457
1357
  {
1458
1358
  "__schema": "TypeRefSchema",
@@ -1461,8 +1361,7 @@
1461
1361
  "line": 14,
1462
1362
  "character": 43
1463
1363
  },
1464
- "name": "ComponentType",
1465
- "packageName": "react"
1364
+ "name": "ComponentType"
1466
1365
  }
1467
1366
  ]
1468
1367
  }
@@ -1937,8 +1836,7 @@
1937
1836
  "line": 166,
1938
1837
  "character": 5
1939
1838
  },
1940
- "name": "ComponentCompositionProps",
1941
- "internalFilePath": "ui/composition-preview.tsx"
1839
+ "name": "ComponentCompositionProps"
1942
1840
  }
1943
1841
  ]
1944
1842
  }
@@ -2096,11 +1994,7 @@
2096
1994
  "line": 20,
2097
1995
  "character": 22
2098
1996
  },
2099
- "name": "PreviewPreview",
2100
- "componentId": {
2101
- "scope": "teambit.preview",
2102
- "name": "preview"
2103
- }
1997
+ "name": "PreviewPreview"
2104
1998
  },
2105
1999
  "isOptional": false,
2106
2000
  "isSpread": false
@@ -2142,12 +2036,7 @@
2142
2036
  "line": 23,
2143
2037
  "character": 23
2144
2038
  },
2145
- "name": "ComponentID",
2146
- "componentId": {
2147
- "scope": "teambit.component",
2148
- "name": "component-id",
2149
- "version": "1.2.0"
2150
- }
2039
+ "name": "ComponentID"
2151
2040
  },
2152
2041
  "isOptional": false,
2153
2042
  "isSpread": false
@@ -2187,11 +2076,7 @@
2187
2076
  "line": 23,
2188
2077
  "character": 60
2189
2078
  },
2190
- "name": "PreviewModule",
2191
- "componentId": {
2192
- "scope": "teambit.preview",
2193
- "name": "preview"
2194
- }
2079
+ "name": "PreviewModule"
2195
2080
  },
2196
2081
  "isOptional": false,
2197
2082
  "isSpread": false
@@ -2231,11 +2116,7 @@
2231
2116
  "line": 23,
2232
2117
  "character": 102
2233
2118
  },
2234
- "name": "RenderingContext",
2235
- "componentId": {
2236
- "scope": "teambit.preview",
2237
- "name": "preview"
2238
- }
2119
+ "name": "RenderingContext"
2239
2120
  },
2240
2121
  "isOptional": false,
2241
2122
  "isSpread": false
@@ -2308,11 +2189,7 @@
2308
2189
  "line": 42,
2309
2190
  "character": 64
2310
2191
  },
2311
- "name": "PreviewModule",
2312
- "componentId": {
2313
- "scope": "teambit.preview",
2314
- "name": "preview"
2315
- }
2192
+ "name": "PreviewModule"
2316
2193
  },
2317
2194
  "isOptional": false,
2318
2195
  "isSpread": false
@@ -2374,11 +2251,7 @@
2374
2251
  "line": 50,
2375
2252
  "character": 57
2376
2253
  },
2377
- "name": "PreviewModule",
2378
- "componentId": {
2379
- "scope": "teambit.preview",
2380
- "name": "preview"
2381
- }
2254
+ "name": "PreviewModule"
2382
2255
  },
2383
2256
  "isOptional": false,
2384
2257
  "isSpread": false
@@ -2399,8 +2272,7 @@
2399
2272
  "line": 50,
2400
2273
  "character": 73
2401
2274
  },
2402
- "name": "CompositionBrowserMetadataObject",
2403
- "internalFilePath": "composition.ts"
2275
+ "name": "CompositionBrowserMetadataObject"
2404
2276
  },
2405
2277
  {
2406
2278
  "__schema": "KeywordTypeSchema",
@@ -2490,11 +2362,7 @@
2490
2362
  "line": 85,
2491
2363
  "character": 37
2492
2364
  },
2493
- "name": "PreviewPreview",
2494
- "componentId": {
2495
- "scope": "teambit.preview",
2496
- "name": "preview"
2497
- }
2365
+ "name": "PreviewPreview"
2498
2366
  }
2499
2367
  ]
2500
2368
  },
@@ -2553,8 +2421,7 @@
2553
2421
  "line": 13,
2554
2422
  "character": 93
2555
2423
  },
2556
- "name": "ComponentCompositionProps",
2557
- "internalFilePath": "ui/composition-preview.tsx"
2424
+ "name": "ComponentCompositionProps"
2558
2425
  },
2559
2426
  "isOptional": false,
2560
2427
  "objectBindingNodes": [
@@ -2912,11 +2779,7 @@
2912
2779
  "line": 50,
2913
2780
  "character": 22
2914
2781
  },
2915
- "name": "PreviewMain",
2916
- "componentId": {
2917
- "scope": "teambit.preview",
2918
- "name": "preview"
2919
- }
2782
+ "name": "PreviewMain"
2920
2783
  },
2921
2784
  "isOptional": false,
2922
2785
  "isSpread": false
@@ -2936,11 +2799,7 @@
2936
2799
  "line": 55,
2937
2800
  "character": 24
2938
2801
  },
2939
- "name": "Workspace",
2940
- "componentId": {
2941
- "scope": "teambit.workspace",
2942
- "name": "workspace"
2943
- }
2802
+ "name": "Workspace"
2944
2803
  },
2945
2804
  "isOptional": false,
2946
2805
  "isSpread": false
@@ -2960,11 +2819,7 @@
2960
2819
  "line": 60,
2961
2820
  "character": 21
2962
2821
  },
2963
- "name": "SchemaMain",
2964
- "componentId": {
2965
- "scope": "teambit.semantics",
2966
- "name": "schema"
2967
- }
2822
+ "name": "SchemaMain"
2968
2823
  },
2969
2824
  "isOptional": false,
2970
2825
  "isSpread": false
@@ -2984,11 +2839,7 @@
2984
2839
  "line": 62,
2985
2840
  "character": 23
2986
2841
  },
2987
- "name": "DevFilesMain",
2988
- "componentId": {
2989
- "scope": "teambit.component",
2990
- "name": "dev-files"
2991
- }
2842
+ "name": "DevFilesMain"
2992
2843
  },
2993
2844
  "isOptional": false,
2994
2845
  "isSpread": false
@@ -3008,11 +2859,7 @@
3008
2859
  "line": 64,
3009
2860
  "character": 19
3010
2861
  },
3011
- "name": "EnvsMain",
3012
- "componentId": {
3013
- "scope": "teambit.envs",
3014
- "name": "envs"
3015
- }
2862
+ "name": "EnvsMain"
3016
2863
  },
3017
2864
  "isOptional": false,
3018
2865
  "isSpread": false
@@ -3072,11 +2919,7 @@
3072
2919
  "line": 70,
3073
2920
  "character": 31
3074
2921
  },
3075
- "name": "Component",
3076
- "componentId": {
3077
- "scope": "teambit.component",
3078
- "name": "component"
3079
- }
2922
+ "name": "Component"
3080
2923
  }
3081
2924
  },
3082
2925
  "isOptional": false,
@@ -3091,10 +2934,6 @@
3091
2934
  "character": 45
3092
2935
  },
3093
2936
  "name": "ComponentMap",
3094
- "componentId": {
3095
- "scope": "teambit.component",
3096
- "name": "component"
3097
- },
3098
2937
  "typeArgs": [
3099
2938
  {
3100
2939
  "__schema": "TypeArraySchema",
@@ -3110,8 +2949,7 @@
3110
2949
  "line": 70,
3111
2950
  "character": 58
3112
2951
  },
3113
- "name": "AbstractVinyl",
3114
- "packageName": "@teambit/legacy/dist/consumer/component/sources"
2952
+ "name": "AbstractVinyl"
3115
2953
  }
3116
2954
  }
3117
2955
  ]
@@ -3207,11 +3045,7 @@
3207
3045
  "line": 96,
3208
3046
  "character": 30
3209
3047
  },
3210
- "name": "IComponent",
3211
- "componentId": {
3212
- "scope": "teambit.component",
3213
- "name": "component"
3214
- }
3048
+ "name": "IComponent"
3215
3049
  },
3216
3050
  "isOptional": false,
3217
3051
  "isSpread": false
@@ -3272,11 +3106,7 @@
3272
3106
  "line": 108,
3273
3107
  "character": 31
3274
3108
  },
3275
- "name": "Component",
3276
- "componentId": {
3277
- "scope": "teambit.component",
3278
- "name": "component"
3279
- }
3109
+ "name": "Component"
3280
3110
  },
3281
3111
  "isOptional": false,
3282
3112
  "isSpread": false
@@ -3347,11 +3177,7 @@
3347
3177
  "line": 120,
3348
3178
  "character": 38
3349
3179
  },
3350
- "name": "Component",
3351
- "componentId": {
3352
- "scope": "teambit.component",
3353
- "name": "component"
3354
- }
3180
+ "name": "Component"
3355
3181
  },
3356
3182
  "isOptional": false,
3357
3183
  "isSpread": false
@@ -3414,11 +3240,7 @@
3414
3240
  "line": 133,
3415
3241
  "character": 36
3416
3242
  },
3417
- "name": "Component",
3418
- "componentId": {
3419
- "scope": "teambit.component",
3420
- "name": "component"
3421
- }
3243
+ "name": "Component"
3422
3244
  },
3423
3245
  "isOptional": false,
3424
3246
  "isSpread": false
@@ -3438,8 +3260,7 @@
3438
3260
  "line": 133,
3439
3261
  "character": 58
3440
3262
  },
3441
- "name": "ComponentLoadOptions",
3442
- "packageName": "@teambit/legacy/dist/consumer/component/component-loader"
3263
+ "name": "ComponentLoadOptions"
3443
3264
  },
3444
3265
  "isOptional": true,
3445
3266
  "isSpread": false
@@ -3469,11 +3290,7 @@
3469
3290
  "line": 133,
3470
3291
  "character": 89
3471
3292
  },
3472
- "name": "AspectData",
3473
- "componentId": {
3474
- "scope": "teambit.component",
3475
- "name": "component"
3476
- }
3293
+ "name": "AspectData"
3477
3294
  },
3478
3295
  {
3479
3296
  "__schema": "KeywordTypeSchema",
@@ -3589,11 +3406,7 @@
3589
3406
  "line": 177,
3590
3407
  "character": 7
3591
3408
  },
3592
- "name": "PreviewMain",
3593
- "componentId": {
3594
- "scope": "teambit.preview",
3595
- "name": "preview"
3596
- }
3409
+ "name": "PreviewMain"
3597
3410
  },
3598
3411
  {
3599
3412
  "__schema": "TypeRefSchema",
@@ -3602,11 +3415,7 @@
3602
3415
  "line": 178,
3603
3416
  "character": 7
3604
3417
  },
3605
- "name": "GraphqlMain",
3606
- "componentId": {
3607
- "scope": "teambit.harmony",
3608
- "name": "graphql"
3609
- }
3418
+ "name": "GraphqlMain"
3610
3419
  },
3611
3420
  {
3612
3421
  "__schema": "TypeRefSchema",
@@ -3615,11 +3424,7 @@
3615
3424
  "line": 179,
3616
3425
  "character": 7
3617
3426
  },
3618
- "name": "Workspace",
3619
- "componentId": {
3620
- "scope": "teambit.workspace",
3621
- "name": "workspace"
3622
- }
3427
+ "name": "Workspace"
3623
3428
  },
3624
3429
  {
3625
3430
  "__schema": "TypeRefSchema",
@@ -3628,11 +3433,7 @@
3628
3433
  "line": 180,
3629
3434
  "character": 7
3630
3435
  },
3631
- "name": "SchemaMain",
3632
- "componentId": {
3633
- "scope": "teambit.semantics",
3634
- "name": "schema"
3635
- }
3436
+ "name": "SchemaMain"
3636
3437
  },
3637
3438
  {
3638
3439
  "__schema": "TypeRefSchema",
@@ -3641,11 +3442,7 @@
3641
3442
  "line": 181,
3642
3443
  "character": 7
3643
3444
  },
3644
- "name": "DevFilesMain",
3645
- "componentId": {
3646
- "scope": "teambit.component",
3647
- "name": "dev-files"
3648
- }
3445
+ "name": "DevFilesMain"
3649
3446
  },
3650
3447
  {
3651
3448
  "__schema": "TypeRefSchema",
@@ -3654,11 +3451,7 @@
3654
3451
  "line": 182,
3655
3452
  "character": 7
3656
3453
  },
3657
- "name": "EnvsMain",
3658
- "componentId": {
3659
- "scope": "teambit.envs",
3660
- "name": "envs"
3661
- }
3454
+ "name": "EnvsMain"
3662
3455
  },
3663
3456
  {
3664
3457
  "__schema": "TypeRefSchema",
@@ -3667,11 +3460,7 @@
3667
3460
  "line": 183,
3668
3461
  "character": 7
3669
3462
  },
3670
- "name": "ScopeMain",
3671
- "componentId": {
3672
- "scope": "teambit.scope",
3673
- "name": "scope"
3674
- }
3463
+ "name": "ScopeMain"
3675
3464
  }
3676
3465
  ]
3677
3466
  },
@@ -3693,8 +3482,7 @@
3693
3482
  "line": 185,
3694
3483
  "character": 13
3695
3484
  },
3696
- "name": "CompositionsConfig",
3697
- "internalFilePath": "compositions.main.runtime.ts"
3485
+ "name": "CompositionsConfig"
3698
3486
  },
3699
3487
  "isOptional": false,
3700
3488
  "isSpread": false
@@ -3757,11 +3545,6 @@
3757
3545
  "character": 36
3758
3546
  },
3759
3547
  "name": "SlotRegistry",
3760
- "componentId": {
3761
- "scope": "teambit.harmony",
3762
- "name": "harmony",
3763
- "version": "0.4.6"
3764
- },
3765
3548
  "typeArgs": [
3766
3549
  {
3767
3550
  "__schema": "TypeArraySchema",
@@ -3777,8 +3560,7 @@
3777
3560
  "line": 13,
3778
3561
  "character": 49
3779
3562
  },
3780
- "name": "MenuBarWidget",
3781
- "internalFilePath": "compositions.tsx"
3563
+ "name": "MenuBarWidget"
3782
3564
  }
3783
3565
  }
3784
3566
  ]
@@ -3801,11 +3583,6 @@
3801
3583
  "character": 30
3802
3584
  },
3803
3585
  "name": "SlotRegistry",
3804
- "componentId": {
3805
- "scope": "teambit.harmony",
3806
- "name": "harmony",
3807
- "version": "0.4.6"
3808
- },
3809
3586
  "typeArgs": [
3810
3587
  {
3811
3588
  "__schema": "TypeRefSchema",
@@ -3814,8 +3591,7 @@
3814
3591
  "line": 14,
3815
3592
  "character": 43
3816
3593
  },
3817
- "name": "ComponentType",
3818
- "packageName": "react"
3594
+ "name": "ComponentType"
3819
3595
  }
3820
3596
  ]
3821
3597
  }
@@ -3928,8 +3704,7 @@
3928
3704
  "line": 21,
3929
3705
  "character": 43
3930
3706
  },
3931
- "name": "ComponentType",
3932
- "packageName": "react"
3707
+ "name": "ComponentType"
3933
3708
  },
3934
3709
  "isOptional": false,
3935
3710
  "isSpread": false
@@ -3978,8 +3753,7 @@
3978
3753
  "line": 26,
3979
3754
  "character": 33
3980
3755
  },
3981
- "name": "MenuBarWidget",
3982
- "internalFilePath": "compositions.tsx"
3756
+ "name": "MenuBarWidget"
3983
3757
  }
3984
3758
  },
3985
3759
  "isOptional": false,
@@ -4114,11 +3888,7 @@
4114
3888
  "line": 46,
4115
3889
  "character": 37
4116
3890
  },
4117
- "name": "ComponentUI",
4118
- "componentId": {
4119
- "scope": "teambit.component",
4120
- "name": "component"
4121
- }
3891
+ "name": "ComponentUI"
4122
3892
  },
4123
3893
  {
4124
3894
  "__schema": "TypeRefSchema",
@@ -4127,11 +3897,7 @@
4127
3897
  "line": 46,
4128
3898
  "character": 50
4129
3899
  },
4130
- "name": "ComponentCompareUI",
4131
- "componentId": {
4132
- "scope": "teambit.component",
4133
- "name": "component-compare"
4134
- }
3900
+ "name": "ComponentCompareUI"
4135
3901
  }
4136
3902
  ]
4137
3903
  },
@@ -4428,8 +4194,7 @@
4428
4194
  "line": 15,
4429
4195
  "character": 17
4430
4196
  },
4431
- "name": "CompositionBrowserMetadata",
4432
- "internalFilePath": "composition.ts"
4197
+ "name": "CompositionBrowserMetadata"
4433
4198
  }
4434
4199
  },
4435
4200
  "isOptional": false
@@ -4738,8 +4503,7 @@
4738
4503
  "line": 39,
4739
4504
  "character": 12
4740
4505
  },
4741
- "name": "ReactNode",
4742
- "packageName": "react"
4506
+ "name": "ReactNode"
4743
4507
  },
4744
4508
  "isOptional": false
4745
4509
  }
@@ -4830,8 +4594,7 @@
4830
4594
  "line": 43,
4831
4595
  "character": 62
4832
4596
  },
4833
- "name": "CompositionsProp",
4834
- "internalFilePath": "compositions.tsx"
4597
+ "name": "CompositionsProp"
4835
4598
  },
4836
4599
  "isOptional": false,
4837
4600
  "objectBindingNodes": [
@@ -5019,8 +4782,7 @@
5019
4782
  "line": 166,
5020
4783
  "character": 5
5021
4784
  },
5022
- "name": "ComponentCompositionProps",
5023
- "internalFilePath": "ui/composition-preview.tsx"
4785
+ "name": "ComponentCompositionProps"
5024
4786
  }
5025
4787
  ]
5026
4788
  }
@@ -5204,11 +4966,7 @@
5204
4966
  "line": 20,
5205
4967
  "character": 22
5206
4968
  },
5207
- "name": "PreviewPreview",
5208
- "componentId": {
5209
- "scope": "teambit.preview",
5210
- "name": "preview"
5211
- }
4969
+ "name": "PreviewPreview"
5212
4970
  },
5213
4971
  "isOptional": false,
5214
4972
  "isSpread": false
@@ -5250,12 +5008,7 @@
5250
5008
  "line": 23,
5251
5009
  "character": 23
5252
5010
  },
5253
- "name": "ComponentID",
5254
- "componentId": {
5255
- "scope": "teambit.component",
5256
- "name": "component-id",
5257
- "version": "1.2.0"
5258
- }
5011
+ "name": "ComponentID"
5259
5012
  },
5260
5013
  "isOptional": false,
5261
5014
  "isSpread": false
@@ -5295,11 +5048,7 @@
5295
5048
  "line": 23,
5296
5049
  "character": 60
5297
5050
  },
5298
- "name": "PreviewModule",
5299
- "componentId": {
5300
- "scope": "teambit.preview",
5301
- "name": "preview"
5302
- }
5051
+ "name": "PreviewModule"
5303
5052
  },
5304
5053
  "isOptional": false,
5305
5054
  "isSpread": false
@@ -5339,11 +5088,7 @@
5339
5088
  "line": 23,
5340
5089
  "character": 102
5341
5090
  },
5342
- "name": "RenderingContext",
5343
- "componentId": {
5344
- "scope": "teambit.preview",
5345
- "name": "preview"
5346
- }
5091
+ "name": "RenderingContext"
5347
5092
  },
5348
5093
  "isOptional": false,
5349
5094
  "isSpread": false
@@ -5416,11 +5161,7 @@
5416
5161
  "line": 42,
5417
5162
  "character": 64
5418
5163
  },
5419
- "name": "PreviewModule",
5420
- "componentId": {
5421
- "scope": "teambit.preview",
5422
- "name": "preview"
5423
- }
5164
+ "name": "PreviewModule"
5424
5165
  },
5425
5166
  "isOptional": false,
5426
5167
  "isSpread": false
@@ -5482,11 +5223,7 @@
5482
5223
  "line": 50,
5483
5224
  "character": 57
5484
5225
  },
5485
- "name": "PreviewModule",
5486
- "componentId": {
5487
- "scope": "teambit.preview",
5488
- "name": "preview"
5489
- }
5226
+ "name": "PreviewModule"
5490
5227
  },
5491
5228
  "isOptional": false,
5492
5229
  "isSpread": false
@@ -5507,8 +5244,7 @@
5507
5244
  "line": 50,
5508
5245
  "character": 73
5509
5246
  },
5510
- "name": "CompositionBrowserMetadataObject",
5511
- "internalFilePath": "composition.ts"
5247
+ "name": "CompositionBrowserMetadataObject"
5512
5248
  },
5513
5249
  {
5514
5250
  "__schema": "KeywordTypeSchema",
@@ -5598,11 +5334,7 @@
5598
5334
  "line": 85,
5599
5335
  "character": 37
5600
5336
  },
5601
- "name": "PreviewPreview",
5602
- "componentId": {
5603
- "scope": "teambit.preview",
5604
- "name": "preview"
5605
- }
5337
+ "name": "PreviewPreview"
5606
5338
  }
5607
5339
  ]
5608
5340
  },
@@ -5715,12 +5447,7 @@
5715
5447
  "line": 11,
5716
5448
  "character": 5
5717
5449
  },
5718
- "name": "ComponentPreviewProps",
5719
- "componentId": {
5720
- "scope": "teambit.preview",
5721
- "name": "ui/component-preview",
5722
- "version": "1.0.12"
5723
- }
5450
+ "name": "ComponentPreviewProps"
5724
5451
  }
5725
5452
  ]
5726
5453
  }
@@ -5749,8 +5476,7 @@
5749
5476
  "line": 13,
5750
5477
  "character": 93
5751
5478
  },
5752
- "name": "ComponentCompositionProps",
5753
- "internalFilePath": "ui/composition-preview.tsx"
5479
+ "name": "ComponentCompositionProps"
5754
5480
  },
5755
5481
  "isOptional": false,
5756
5482
  "objectBindingNodes": [
@@ -5823,7 +5549,7 @@
5823
5549
  "componentId": {
5824
5550
  "scope": "teambit.compositions",
5825
5551
  "name": "compositions",
5826
- "version": "1.0.330"
5552
+ "version": "1.0.332"
5827
5553
  },
5828
5554
  "taggedModuleExports": []
5829
5555
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compositions_compositions@1.0.330/dist/compositions.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compositions_compositions@1.0.330/dist/compositions.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compositions_compositions@1.0.332/dist/compositions.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compositions_compositions@1.0.332/dist/compositions.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/compositions",
3
- "version": "1.0.330",
3
+ "version": "1.0.332",
4
4
  "homepage": "https://bit.cloud/teambit/compositions/compositions",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.compositions",
8
8
  "name": "compositions",
9
- "version": "1.0.330"
9
+ "version": "1.0.332"
10
10
  },
11
11
  "dependencies": {
12
12
  "graphql-tag": "2.12.1",
@@ -34,24 +34,24 @@
34
34
  "@teambit/compositions.ui.composition-compare": "0.0.255",
35
35
  "@teambit/evangelist.elements.icon": "1.0.2",
36
36
  "@teambit/ui-foundation.ui.menu-widget-icon": "0.0.502",
37
- "@teambit/component": "1.0.330",
37
+ "@teambit/component": "1.0.332",
38
38
  "@teambit/compositions.model.composition-id": "0.0.502",
39
- "@teambit/graphql": "1.0.330",
40
- "@teambit/cli": "0.0.907",
41
- "@teambit/dev-files": "1.0.330",
42
- "@teambit/envs": "1.0.330",
43
- "@teambit/preview": "1.0.330",
44
- "@teambit/schema": "1.0.330",
45
- "@teambit/scope": "1.0.330",
39
+ "@teambit/graphql": "1.0.332",
40
+ "@teambit/cli": "0.0.909",
41
+ "@teambit/dev-files": "1.0.332",
42
+ "@teambit/envs": "1.0.332",
43
+ "@teambit/preview": "1.0.332",
44
+ "@teambit/schema": "1.0.332",
45
+ "@teambit/scope": "1.0.332",
46
46
  "@teambit/toolbox.path.match-patterns": "0.0.15",
47
- "@teambit/workspace": "1.0.330",
47
+ "@teambit/workspace": "1.0.332",
48
48
  "@teambit/design.ui.tooltip": "0.0.369",
49
49
  "@teambit/docs.ui.queries.get-docs": "0.0.508",
50
- "@teambit/panels": "0.0.909",
50
+ "@teambit/panels": "0.0.911",
51
51
  "@teambit/preview.ui.component-preview": "1.0.12",
52
52
  "@teambit/ui-foundation.ui.buttons.collapser": "0.0.222",
53
- "@teambit/component-compare": "1.0.330",
54
- "@teambit/ui": "1.0.330"
53
+ "@teambit/component-compare": "1.0.332",
54
+ "@teambit/ui": "1.0.332"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/lodash": "4.14.165",
@@ -60,7 +60,7 @@
60
60
  "@types/mocha": "9.1.0",
61
61
  "chai": "4.3.0",
62
62
  "@teambit/component-id": "1.2.0",
63
- "@teambit/harmony.envs.core-aspect-env": "0.0.39",
63
+ "@teambit/harmony.envs.core-aspect-env": "0.0.42",
64
64
  "@teambit/compositions.aspect-docs.compositions": "0.0.168"
65
65
  },
66
66
  "peerDependencies": {