@teambit/schema 1.0.329 → 1.0.331

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,8 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="3" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.semantics/schema@1.0.329" tests="3" failures="0" errors="0" skipped="0">
4
- <testcase classname="dist/schema.spec.js" name="should be able to generate JSON object with all schemas" time="0.024"/>
5
- <testcase classname="dist/schema.spec.js" name="should be able to deserialize an JSON object to SchemaNode instances" time="0.009"/>
3
+ <testsuite name="teambit.semantics/schema@1.0.331" tests="3" failures="0" errors="0" skipped="0">
4
+ <testcase classname="dist/schema.spec.js" name="should be able to generate JSON object with all schemas" time="0.016"/>
5
+ <testcase classname="dist/schema.spec.js" name="should be able to deserialize an JSON object to SchemaNode instances" time="0.013"/>
6
6
  <testcase classname="dist/schema.spec.js" name="should not throw when it does not recognize the schema" time="0.001"/>
7
7
  </testsuite>
8
8
  </testsuites>
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see teambit_semantics_schema-preview.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.semantics/schema-preview"]=t():e["teambit.semantics/schema-preview"]=t()}(self,(()=>(()=>{var e={69685:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},84949:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var r,i,a=[];for(i in"string"!=typeof t&&(t="?"),e)if(n.call(e,i)){if((r=e[i])||null!=r&&!isNaN(r)||(r=""),i=o(i),r=o(r),null===i||null===r)continue;a.push(i+"="+r)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,o={};t=n.exec(e);){var i=r(t[1]),a=r(t[2]);null===i||null===a||i in o||(o[i]=a)}return o}},91788:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},67114:(e,t,n)=>{"use strict";var r=n(91788),o=n(84949),i=/^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/,a=/^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i,s=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function c(e){return(e||"").toString().replace(s,"")}var u=[["#","hash"],["?","query"],function(e){return e.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function p(e){var t,r=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},o={},a=typeof(e=e||r);if("blob:"===e.protocol)o=new d(unescape(e.pathname),{});else if("string"===a)for(t in o=new d(e,{}),l)delete o[t];else if("object"===a){for(t in e)t in l||(o[t]=e[t]);void 0===o.slashes&&(o.slashes=i.test(e.href))}return o}function f(e){e=c(e);var t=a.exec(e);return{protocol:t[1]?t[1].toLowerCase():"",slashes:!!(t[2]&&t[2].length>=2),rest:t[2]&&1===t[2].length?"/"+t[3]:t[3]}}function d(e,t,n){if(e=c(e),!(this instanceof d))return new d(e,t,n);var i,a,s,l,m,h,b=u.slice(),v=typeof t,_=this,y=0;for("object"!==v&&"string"!==v&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),t=p(t),i=!(a=f(e||"")).protocol&&!a.slashes,_.slashes=a.slashes||i&&t.slashes,_.protocol=a.protocol||t.protocol||"",e=a.rest,a.slashes||(b[3]=[/(.*)/,"pathname"]);y<b.length;y++)"function"!=typeof(l=b[y])?(s=l[0],h=l[1],s!=s?_[h]=e:"string"==typeof s?~(m=e.indexOf(s))&&("number"==typeof l[2]?(_[h]=e.slice(0,m),e=e.slice(m+l[2])):(_[h]=e.slice(m),e=e.slice(0,m))):(m=s.exec(e))&&(_[h]=m[1],e=e.slice(0,m.index)),_[h]=_[h]||i&&l[3]&&t[h]||"",l[4]&&(_[h]=_[h].toLowerCase())):e=l(e);n&&(_.query=n(_.query)),i&&t.slashes&&"/"!==_.pathname.charAt(0)&&(""!==_.pathname||""!==t.pathname)&&(_.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,o=n[r-1],i=!1,a=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),a++):a&&(0===r&&(i=!0),n.splice(r,1),a--);return i&&n.unshift(""),"."!==o&&".."!==o||n.push(""),n.join("/")}(_.pathname,t.pathname)),"/"!==_.pathname.charAt(0)&&_.hostname&&(_.pathname="/"+_.pathname),r(_.port,_.protocol)||(_.host=_.hostname,_.port=""),_.username=_.password="",_.auth&&(l=_.auth.split(":"),_.username=l[0]||"",_.password=l[1]||""),_.origin=_.protocol&&_.host&&"file:"!==_.protocol?_.protocol+"//"+_.host:"null",_.href=_.toString()}d.prototype={set:function(e,t,n){var i=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||o.parse)(t)),i[e]=t;break;case"port":i[e]=t,r(t,i.protocol)?t&&(i.host=i.hostname+":"+t):(i.host=i.hostname,i[e]="");break;case"hostname":i[e]=t,i.port&&(t+=":"+i.port),i.host=t;break;case"host":i[e]=t,/:\d+$/.test(t)?(t=t.split(":"),i.port=t.pop(),i.hostname=t.join(":")):(i.hostname=t,i.port="");break;case"protocol":i.protocol=t.toLowerCase(),i.slashes=!n;break;case"pathname":case"hash":if(t){var a="pathname"===e?"/":"#";i[e]=t.charAt(0)!==a?a+t:t}else i[e]=t;break;default:i[e]=t}for(var s=0;s<u.length;s++){var c=u[s];c[4]&&(i[c[1]]=i[c[1]].toLowerCase())}return i.origin=i.protocol&&i.host&&"file:"!==i.protocol?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(e){e&&"function"==typeof e||(e=o.stringify);var t,n=this,r=n.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var i=r+(n.slashes?"//":"");return n.username&&(i+=n.username,n.password&&(i+=":"+n.password),i+="@"),i+=n.host+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},d.extractProtocol=f,d.location=p,d.trimLeft=c,d.qs=o,e.exports=d},36120:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationProvider=t.useNavigation=t.useNavigate=t.useLocation=t.Link=void 0;var r=n(85882);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return r.Link}});var o=n(38827);Object.defineProperty(t,"useLocation",{enumerable:!0,get:function(){return o.useLocation}});var i=n(37575);Object.defineProperty(t,"useNavigate",{enumerable:!0,get:function(){return i.useNavigate}});var a=n(36732);Object.defineProperty(t,"useNavigation",{enumerable:!0,get:function(){return a.useNavigation}}),Object.defineProperty(t,"NavigationProvider",{enumerable:!0,get:function(){return a.NavigationProvider}})},85882:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;const a=i(n(41594)),s=n(36732),c=n(13802);t.Link=(0,a.forwardRef)((function(e,t){const n=(0,s.useNavigation)().Link||c.NativeLink;return e.native||e.external?a.default.createElement(c.NativeLink,Object.assign({},e,{ref:t})):a.default.createElement(n,Object.assign({},e,{ref:t}))}))},13802:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;const c=i(n(41594)),u=s(n(69685)),l=n(45392),p=n(38827),f={rel:"noopener",target:"_blank"};t.NativeLink=(0,c.forwardRef)((function(e,t){var{className:n,style:r,activeClassName:o,activeStyle:i,active:s,strict:d,exact:m,href:h,external:b,native:v,state:_}=e,y=a(e,["className","style","activeClassName","activeStyle","active","strict","exact","href","external","native","state"]);const g=(0,p.useLocation)(),O=!!o||!!i,j=(0,c.useMemo)((()=>!!O&&("boolean"==typeof s?s:!(!g||!h)&&(0,l.compareUrl)(g.pathname,h,{exact:m,strict:d}))),[s,h,g,O]),w=b?f:{},P=(0,c.useMemo)((()=>j&&i?Object.assign(Object.assign({},r),i):r),[j,r]);return c.default.createElement("a",Object.assign({},w,y,{ref:t,href:h,className:(0,u.default)(n,j&&o),style:P}))}))},36732:function(e,t,n){"use strict";var r={id:"teambit.base-react/navigation/link@2.0.27",homepage:"https://bit.dev/teambit/base-react/navigation/link",exported:!0},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationProvider=t.useNavigation=t.NavigationContext=void 0;const s=a(n(41594));function c(){return(0,s.useContext)(t.NavigationContext)}function u({children:e,implementation:n}){return s.default.createElement(t.NavigationContext.Provider,{value:n},e)}t.NavigationContext=s.default.createContext({}),c.__bit_component=r,t.useNavigation=c,u.__bit_component=r,t.NavigationProvider=u},38827:(e,t,n)=>{"use strict";var r={id:"teambit.base-react/navigation/link@2.0.27",homepage:"https://bit.dev/teambit/base-react/navigation/link",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=void 0;const o=n(36732);function i(){return((0,o.useNavigation)().useLocation||a)()}function a(){if("undefined"!=typeof window)return window.location}i.__bit_component=r,t.useLocation=i,a.__bit_component=r},37575:(e,t,n)=>{"use strict";var r={id:"teambit.base-react/navigation/link@2.0.27",homepage:"https://bit.dev/teambit/base-react/navigation/link",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigate=void 0;const o=n(36732);function i(){var e;const t=(0,o.useNavigation)();return(null===(e=t.useNavigate)||void 0===e?void 0:e.call(t))||a}function a(e,{replace:t}={}){if("undefined"==typeof window)throw new Error("base-react.navigation.use-location - cannot use native navigator outside of browser. Inject a custom useNavigate, or use navigation after mount");const{location:n,history:r}=window;"number"==typeof e?r.go(e):t?n.replace(e):n.assign(e)}i.__bit_component=r,t.useNavigate=i,a.__bit_component=r},65227:function(e,t,n){"use strict";var r={id:"teambit.base-ui/routing/compare-url@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/compare-url",exported:!0},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;const i=o(n(67114));function a(e,t,{exact:n,strict:r}={}){if(e===t)return!0;r||(e=e.replace(/\/(?=[?#]|$)/,""),t=t.replace(/\/(?=[?#]|$)/,""));const o=i.default(e),a=i.default(t),l=s(o,a),p=!n||c(o,a),f=!r||u(o,a);return l&&p&&f}function s(e,t){return(!t.protocol||t.protocol===e.protocol)&&(!t.hostname||t.hostname===e.hostname)&&(!t.port||t.port===e.port)&&(!t.pathname||e.pathname.startsWith(t.pathname))&&(!t.query||l(t.query,e.query))&&(!t.hash||t.hash===e.hash)&&(!t.password||t.password===e.password)&&(!t.username||t.username===e.username)}function c(e,t){return(!t.pathname||e.pathname===t.pathname)&&(!t.query||l(e.query,t.query))}function u(e,t){return!t.pathname||e.pathname.endsWith("/")===t.pathname.endsWith("/")}function l(e,t){return Object.keys(e).every((n=>e[n]===t[n]))}a.__bit_component=r,t.compareUrl=a,s.__bit_component=r,c.__bit_component=r,u.__bit_component=r,l.__bit_component=r},45392:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;var r=n(65227);Object.defineProperty(t,"compareUrl",{enumerable:!0,get:function(){return r.compareUrl}})},64224:(e,t,n)=>{"use strict";var r={id:"teambit.semantics/schema@1.0.329",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function o(){const e=a(n(41594));return o=function(){return e},e}function i(){const e=n(27212);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonWithIcon=t.ButtonWithCustomStyles=t.ButtonAsALink=t.BasicButton=void 0,t.Footer=c,o.__bit_component=r,i.__bit_component=r,a.__bit_component=r;const s=()=>o().default.createElement(i().Button,null,"click me");function c({children:e=o().default.createElement(s,null)}){return o().default.createElement(i().Button,null,e)}s.__bit_component=r,t.BasicButton=s,c.__bit_component=r;const u=()=>o().default.createElement(i().Button,{style:{background:"red"}},"click me");u.__bit_component=r,t.ButtonWithCustomStyles=u;const l=()=>o().default.createElement(i().Button,null,"click me");l.__bit_component=r,t.ButtonWithIcon=l;const p=()=>o().default.createElement(i().Button,{href:"https://bit.dev"},"Bit");p.__bit_component=r,t.ButtonAsALink=p},27212:(e,t,n)=>{"use strict";var r={id:"teambit.semantics/schema@1.0.329",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function o(){const e=s(n(41594));return o=function(){return e},e}function i(){const e=n(36120);return i=function(){return e},e}function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(null,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return(t=f(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){var t=d(e,"string");return"symbol"==typeof t?t:t+""}function d(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function m(e){const t=(0,o().useRef)(),n=l({},e),r=e.href?.startsWith("http:")||e.href?.startsWith("https:");return o().default.createElement(o().default.Fragment,null,e.href?o().default.createElement(i().Link,c({external:r,ref:t,className:e.className},n),e.children):o().default.createElement("button",c({className:e.className,ref:t},n),e.children))}Object.defineProperty(t,"__esModule",{value:!0}),t.Bar=void 0,t.Button=m,o.__bit_component=r,i.__bit_component=r,a.__bit_component=r,s.__bit_component=r,c.__bit_component=r,u.__bit_component=r,l.__bit_component=r,p.__bit_component=r,f.__bit_component=r,d.__bit_component=r,m.__bit_component=r,t.Bar=class{foo(){}}},7031:(e,t,n)=>{"use strict";var r={id:"teambit.semantics/schema@1.0.329",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function o(){const e=i(n(41594));return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,o.__bit_component=r,i.__bit_component=r;const a=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/code.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{"use strict";e.exports=React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r),n.d(r,{compositions:()=>f,compositions_metadata:()=>m,overview:()=>d});var e={};n.r(e),n.d(e,{default:()=>p});var t=n(7031),o=n(64224);n(41594);const i=MdxJsReact,a=TeambitMdxUiMdxScopeContext;var s=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(null,arguments)}var u={},l="wrapper";function p(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,s);return(0,i.mdx)(l,c({},u,n,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)(a.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}p.isMDXComponent=!0;const f=[t,o],d=[e],m={compositions:[{displayName:"Logo",identifier:"Logo"},{displayName:"Basic button",identifier:"BasicButton"},{displayName:"Footer",identifier:"Footer"},{displayName:"Button with custom styles",identifier:"ButtonWithCustomStyles"},{displayName:"Button with icon",identifier:"ButtonWithIcon"},{displayName:"Button as a link",identifier:"ButtonAsALink"}]}})(),r})()));
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.semantics/schema-preview"]=t():e["teambit.semantics/schema-preview"]=t()}(self,(()=>(()=>{var e={69685:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},84949:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var r,i,a=[];for(i in"string"!=typeof t&&(t="?"),e)if(n.call(e,i)){if((r=e[i])||null!=r&&!isNaN(r)||(r=""),i=o(i),r=o(r),null===i||null===r)continue;a.push(i+"="+r)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,o={};t=n.exec(e);){var i=r(t[1]),a=r(t[2]);null===i||null===a||i in o||(o[i]=a)}return o}},91788:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},67114:(e,t,n)=>{"use strict";var r=n(91788),o=n(84949),i=/^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/,a=/^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i,s=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function c(e){return(e||"").toString().replace(s,"")}var u=[["#","hash"],["?","query"],function(e){return e.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function p(e){var t,r=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},o={},a=typeof(e=e||r);if("blob:"===e.protocol)o=new d(unescape(e.pathname),{});else if("string"===a)for(t in o=new d(e,{}),l)delete o[t];else if("object"===a){for(t in e)t in l||(o[t]=e[t]);void 0===o.slashes&&(o.slashes=i.test(e.href))}return o}function f(e){e=c(e);var t=a.exec(e);return{protocol:t[1]?t[1].toLowerCase():"",slashes:!!(t[2]&&t[2].length>=2),rest:t[2]&&1===t[2].length?"/"+t[3]:t[3]}}function d(e,t,n){if(e=c(e),!(this instanceof d))return new d(e,t,n);var i,a,s,l,m,h,b=u.slice(),v=typeof t,_=this,y=0;for("object"!==v&&"string"!==v&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),t=p(t),i=!(a=f(e||"")).protocol&&!a.slashes,_.slashes=a.slashes||i&&t.slashes,_.protocol=a.protocol||t.protocol||"",e=a.rest,a.slashes||(b[3]=[/(.*)/,"pathname"]);y<b.length;y++)"function"!=typeof(l=b[y])?(s=l[0],h=l[1],s!=s?_[h]=e:"string"==typeof s?~(m=e.indexOf(s))&&("number"==typeof l[2]?(_[h]=e.slice(0,m),e=e.slice(m+l[2])):(_[h]=e.slice(m),e=e.slice(0,m))):(m=s.exec(e))&&(_[h]=m[1],e=e.slice(0,m.index)),_[h]=_[h]||i&&l[3]&&t[h]||"",l[4]&&(_[h]=_[h].toLowerCase())):e=l(e);n&&(_.query=n(_.query)),i&&t.slashes&&"/"!==_.pathname.charAt(0)&&(""!==_.pathname||""!==t.pathname)&&(_.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,o=n[r-1],i=!1,a=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),a++):a&&(0===r&&(i=!0),n.splice(r,1),a--);return i&&n.unshift(""),"."!==o&&".."!==o||n.push(""),n.join("/")}(_.pathname,t.pathname)),"/"!==_.pathname.charAt(0)&&_.hostname&&(_.pathname="/"+_.pathname),r(_.port,_.protocol)||(_.host=_.hostname,_.port=""),_.username=_.password="",_.auth&&(l=_.auth.split(":"),_.username=l[0]||"",_.password=l[1]||""),_.origin=_.protocol&&_.host&&"file:"!==_.protocol?_.protocol+"//"+_.host:"null",_.href=_.toString()}d.prototype={set:function(e,t,n){var i=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||o.parse)(t)),i[e]=t;break;case"port":i[e]=t,r(t,i.protocol)?t&&(i.host=i.hostname+":"+t):(i.host=i.hostname,i[e]="");break;case"hostname":i[e]=t,i.port&&(t+=":"+i.port),i.host=t;break;case"host":i[e]=t,/:\d+$/.test(t)?(t=t.split(":"),i.port=t.pop(),i.hostname=t.join(":")):(i.hostname=t,i.port="");break;case"protocol":i.protocol=t.toLowerCase(),i.slashes=!n;break;case"pathname":case"hash":if(t){var a="pathname"===e?"/":"#";i[e]=t.charAt(0)!==a?a+t:t}else i[e]=t;break;default:i[e]=t}for(var s=0;s<u.length;s++){var c=u[s];c[4]&&(i[c[1]]=i[c[1]].toLowerCase())}return i.origin=i.protocol&&i.host&&"file:"!==i.protocol?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(e){e&&"function"==typeof e||(e=o.stringify);var t,n=this,r=n.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var i=r+(n.slashes?"//":"");return n.username&&(i+=n.username,n.password&&(i+=":"+n.password),i+="@"),i+=n.host+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},d.extractProtocol=f,d.location=p,d.trimLeft=c,d.qs=o,e.exports=d},12642:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationProvider=t.useNavigation=t.useNavigate=t.useLocation=t.Link=void 0;var r=n(76548);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return r.Link}});var o=n(79097);Object.defineProperty(t,"useLocation",{enumerable:!0,get:function(){return o.useLocation}});var i=n(35977);Object.defineProperty(t,"useNavigate",{enumerable:!0,get:function(){return i.useNavigate}});var a=n(98758);Object.defineProperty(t,"useNavigation",{enumerable:!0,get:function(){return a.useNavigation}}),Object.defineProperty(t,"NavigationProvider",{enumerable:!0,get:function(){return a.NavigationProvider}})},76548:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;const a=i(n(41594)),s=n(98758),c=n(88240);t.Link=(0,a.forwardRef)((function(e,t){const n=(0,s.useNavigation)().Link||c.NativeLink;return e.native||e.external?a.default.createElement(c.NativeLink,Object.assign({},e,{ref:t})):a.default.createElement(n,Object.assign({},e,{ref:t}))}))},88240:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;const c=i(n(41594)),u=s(n(69685)),l=n(67330),p=n(79097),f={rel:"noopener",target:"_blank"};t.NativeLink=(0,c.forwardRef)((function(e,t){var{className:n,style:r,activeClassName:o,activeStyle:i,active:s,strict:d,exact:m,href:h,external:b,native:v,state:_}=e,y=a(e,["className","style","activeClassName","activeStyle","active","strict","exact","href","external","native","state"]);const g=(0,p.useLocation)(),O=!!o||!!i,j=(0,c.useMemo)((()=>!!O&&("boolean"==typeof s?s:!(!g||!h)&&(0,l.compareUrl)(g.pathname,h,{exact:m,strict:d}))),[s,h,g,O]),w=b?f:{},P=(0,c.useMemo)((()=>j&&i?Object.assign(Object.assign({},r),i):r),[j,r]);return c.default.createElement("a",Object.assign({},w,y,{ref:t,href:h,className:(0,u.default)(n,j&&o),style:P}))}))},98758:function(e,t,n){"use strict";var r={id:"teambit.base-react/navigation/link@2.0.27",homepage:"https://bit.dev/teambit/base-react/navigation/link",exported:!0},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationProvider=t.useNavigation=t.NavigationContext=void 0;const s=a(n(41594));function c(){return(0,s.useContext)(t.NavigationContext)}function u({children:e,implementation:n}){return s.default.createElement(t.NavigationContext.Provider,{value:n},e)}t.NavigationContext=s.default.createContext({}),c.__bit_component=r,t.useNavigation=c,u.__bit_component=r,t.NavigationProvider=u},79097:(e,t,n)=>{"use strict";var r={id:"teambit.base-react/navigation/link@2.0.27",homepage:"https://bit.dev/teambit/base-react/navigation/link",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=void 0;const o=n(98758);function i(){return((0,o.useNavigation)().useLocation||a)()}function a(){if("undefined"!=typeof window)return window.location}i.__bit_component=r,t.useLocation=i,a.__bit_component=r},35977:(e,t,n)=>{"use strict";var r={id:"teambit.base-react/navigation/link@2.0.27",homepage:"https://bit.dev/teambit/base-react/navigation/link",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigate=void 0;const o=n(98758);function i(){var e;const t=(0,o.useNavigation)();return(null===(e=t.useNavigate)||void 0===e?void 0:e.call(t))||a}function a(e,{replace:t}={}){if("undefined"==typeof window)throw new Error("base-react.navigation.use-location - cannot use native navigator outside of browser. Inject a custom useNavigate, or use navigation after mount");const{location:n,history:r}=window;"number"==typeof e?r.go(e):t?n.replace(e):n.assign(e)}i.__bit_component=r,t.useNavigate=i,a.__bit_component=r},65401:function(e,t,n){"use strict";var r={id:"teambit.base-ui/routing/compare-url@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/compare-url",exported:!0},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;const i=o(n(67114));function a(e,t,{exact:n,strict:r}={}){if(e===t)return!0;r||(e=e.replace(/\/(?=[?#]|$)/,""),t=t.replace(/\/(?=[?#]|$)/,""));const o=i.default(e),a=i.default(t),l=s(o,a),p=!n||c(o,a),f=!r||u(o,a);return l&&p&&f}function s(e,t){return(!t.protocol||t.protocol===e.protocol)&&(!t.hostname||t.hostname===e.hostname)&&(!t.port||t.port===e.port)&&(!t.pathname||e.pathname.startsWith(t.pathname))&&(!t.query||l(t.query,e.query))&&(!t.hash||t.hash===e.hash)&&(!t.password||t.password===e.password)&&(!t.username||t.username===e.username)}function c(e,t){return(!t.pathname||e.pathname===t.pathname)&&(!t.query||l(e.query,t.query))}function u(e,t){return!t.pathname||e.pathname.endsWith("/")===t.pathname.endsWith("/")}function l(e,t){return Object.keys(e).every((n=>e[n]===t[n]))}a.__bit_component=r,t.compareUrl=a,s.__bit_component=r,c.__bit_component=r,u.__bit_component=r,l.__bit_component=r},67330:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;var r=n(65401);Object.defineProperty(t,"compareUrl",{enumerable:!0,get:function(){return r.compareUrl}})},79171:(e,t,n)=>{"use strict";var r={id:"teambit.semantics/schema@1.0.331",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function o(){const e=a(n(41594));return o=function(){return e},e}function i(){const e=n(22019);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonWithIcon=t.ButtonWithCustomStyles=t.ButtonAsALink=t.BasicButton=void 0,t.Footer=c,o.__bit_component=r,i.__bit_component=r,a.__bit_component=r;const s=()=>o().default.createElement(i().Button,null,"click me");function c({children:e=o().default.createElement(s,null)}){return o().default.createElement(i().Button,null,e)}s.__bit_component=r,t.BasicButton=s,c.__bit_component=r;const u=()=>o().default.createElement(i().Button,{style:{background:"red"}},"click me");u.__bit_component=r,t.ButtonWithCustomStyles=u;const l=()=>o().default.createElement(i().Button,null,"click me");l.__bit_component=r,t.ButtonWithIcon=l;const p=()=>o().default.createElement(i().Button,{href:"https://bit.dev"},"Bit");p.__bit_component=r,t.ButtonAsALink=p},22019:(e,t,n)=>{"use strict";var r={id:"teambit.semantics/schema@1.0.331",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function o(){const e=s(n(41594));return o=function(){return e},e}function i(){const e=n(12642);return i=function(){return e},e}function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(null,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return(t=f(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){var t=d(e,"string");return"symbol"==typeof t?t:t+""}function d(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function m(e){const t=(0,o().useRef)(),n=l({},e),r=e.href?.startsWith("http:")||e.href?.startsWith("https:");return o().default.createElement(o().default.Fragment,null,e.href?o().default.createElement(i().Link,c({external:r,ref:t,className:e.className},n),e.children):o().default.createElement("button",c({className:e.className,ref:t},n),e.children))}Object.defineProperty(t,"__esModule",{value:!0}),t.Bar=void 0,t.Button=m,o.__bit_component=r,i.__bit_component=r,a.__bit_component=r,s.__bit_component=r,c.__bit_component=r,u.__bit_component=r,l.__bit_component=r,p.__bit_component=r,f.__bit_component=r,d.__bit_component=r,m.__bit_component=r,t.Bar=class{foo(){}}},89184:(e,t,n)=>{"use strict";var r={id:"teambit.semantics/schema@1.0.331",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function o(){const e=i(n(41594));return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,o.__bit_component=r,i.__bit_component=r;const a=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/code.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{"use strict";e.exports=React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r),n.d(r,{compositions:()=>f,compositions_metadata:()=>m,overview:()=>d});var e={};n.r(e),n.d(e,{default:()=>p});var t=n(89184),o=n(79171);n(41594);const i=MdxJsReact,a=TeambitMdxUiMdxScopeContext;var s=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(null,arguments)}var u={},l="wrapper";function p(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,s);return(0,i.mdx)(l,c({},u,n,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)(a.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}p.isMDXComponent=!0;const f=[t,o],d=[e],m={compositions:[{displayName:"Logo",identifier:"Logo"},{displayName:"Basic button",identifier:"BasicButton"},{displayName:"Footer",identifier:"Footer"},{displayName:"Button with custom styles",identifier:"ButtonWithCustomStyles"},{displayName:"Button with icon",identifier:"ButtonWithIcon"},{displayName:"Button as a link",identifier:"ButtonAsALink"}]}})(),r})()));
@@ -138,12 +138,7 @@
138
138
  "line": 12,
139
139
  "character": 54
140
140
  },
141
- "name": "Export",
142
- "componentId": {
143
- "scope": "teambit.semantics",
144
- "name": "entities/semantic-schema",
145
- "version": "0.0.70"
146
- }
141
+ "name": "Export"
147
142
  }
148
143
  },
149
144
  "modifiers": []
@@ -206,11 +201,7 @@
206
201
  "line": 9,
207
202
  "character": 22
208
203
  },
209
- "name": "Component",
210
- "componentId": {
211
- "scope": "teambit.component",
212
- "name": "component"
213
- }
204
+ "name": "Component"
214
205
  },
215
206
  "isOptional": false,
216
207
  "isSpread": false
@@ -252,12 +243,7 @@
252
243
  "line": 9,
253
244
  "character": 76
254
245
  },
255
- "name": "APISchema",
256
- "componentId": {
257
- "scope": "teambit.semantics",
258
- "name": "entities/semantic-schema",
259
- "version": "0.0.70"
260
- }
246
+ "name": "APISchema"
261
247
  }
262
248
  ]
263
249
  },
@@ -340,11 +326,7 @@
340
326
  "line": 20,
341
327
  "character": 15
342
328
  },
343
- "name": "Formatter",
344
- "componentId": {
345
- "scope": "teambit.defender",
346
- "name": "formatter"
347
- }
329
+ "name": "Formatter"
348
330
  },
349
331
  "isOptional": true
350
332
  },
@@ -573,11 +555,7 @@
573
555
  "line": 27,
574
556
  "character": 86
575
557
  },
576
- "name": "Logger",
577
- "componentId": {
578
- "scope": "teambit.harmony",
579
- "name": "logger"
580
- }
558
+ "name": "Logger"
581
559
  },
582
560
  "isOptional": false,
583
561
  "isSpread": false
@@ -619,11 +597,7 @@
619
597
  "line": 29,
620
598
  "character": 26
621
599
  },
622
- "name": "BuildContext",
623
- "componentId": {
624
- "scope": "teambit.pipelines",
625
- "name": "builder"
626
- }
600
+ "name": "BuildContext"
627
601
  },
628
602
  "isOptional": false,
629
603
  "isSpread": false
@@ -645,11 +619,7 @@
645
619
  "line": 29,
646
620
  "character": 49
647
621
  },
648
- "name": "BuiltTaskResult",
649
- "componentId": {
650
- "scope": "teambit.pipelines",
651
- "name": "builder"
652
- }
622
+ "name": "BuiltTaskResult"
653
623
  }
654
624
  ]
655
625
  },
@@ -681,7 +651,7 @@
681
651
  "_legacy": {
682
652
  "scope": "teambit.semantics",
683
653
  "name": "schema",
684
- "version": "1.0.329"
654
+ "version": "1.0.331"
685
655
  },
686
656
  "_scope": "teambit.semantics"
687
657
  }
@@ -865,10 +835,6 @@
865
835
  "character": 22
866
836
  },
867
837
  "name": "EnvHandler",
868
- "componentId": {
869
- "scope": "teambit.envs",
870
- "name": "envs"
871
- },
872
838
  "typeArgs": [
873
839
  {
874
840
  "__schema": "TypeRefSchema",
@@ -941,8 +907,7 @@
941
907
  "line": 49,
942
908
  "character": 25
943
909
  },
944
- "name": "ParserSlot",
945
- "internalFilePath": "schema.main.runtime.ts"
910
+ "name": "ParserSlot"
946
911
  },
947
912
  "isOptional": false,
948
913
  "isSpread": false
@@ -962,11 +927,7 @@
962
927
  "line": 51,
963
928
  "character": 19
964
929
  },
965
- "name": "EnvsMain",
966
- "componentId": {
967
- "scope": "teambit.envs",
968
- "name": "envs"
969
- }
930
+ "name": "EnvsMain"
970
931
  },
971
932
  "isOptional": false,
972
933
  "isSpread": false
@@ -986,8 +947,7 @@
986
947
  "line": 53,
987
948
  "character": 21
988
949
  },
989
- "name": "SchemaConfig",
990
- "internalFilePath": "schema.main.runtime.ts"
950
+ "name": "SchemaConfig"
991
951
  },
992
952
  "isOptional": false,
993
953
  "isSpread": false
@@ -1007,11 +967,7 @@
1007
967
  "line": 55,
1008
968
  "character": 22
1009
969
  },
1010
- "name": "BuilderMain",
1011
- "componentId": {
1012
- "scope": "teambit.pipelines",
1013
- "name": "builder"
1014
- }
970
+ "name": "BuilderMain"
1015
971
  },
1016
972
  "isOptional": false,
1017
973
  "isSpread": false
@@ -1031,11 +987,7 @@
1031
987
  "line": 57,
1032
988
  "character": 24
1033
989
  },
1034
- "name": "Workspace",
1035
- "componentId": {
1036
- "scope": "teambit.workspace",
1037
- "name": "workspace"
1038
- }
990
+ "name": "Workspace"
1039
991
  },
1040
992
  "isOptional": false,
1041
993
  "isSpread": false
@@ -1055,11 +1007,7 @@
1055
1007
  "line": 59,
1056
1008
  "character": 21
1057
1009
  },
1058
- "name": "Logger",
1059
- "componentId": {
1060
- "scope": "teambit.harmony",
1061
- "name": "logger"
1062
- }
1010
+ "name": "Logger"
1063
1011
  },
1064
1012
  "isOptional": false,
1065
1013
  "isSpread": false
@@ -1133,12 +1081,7 @@
1133
1081
  "line": 69,
1134
1082
  "character": 31
1135
1083
  },
1136
- "name": "SchemaNodeConstructor",
1137
- "componentId": {
1138
- "scope": "teambit.semantics",
1139
- "name": "entities/semantic-schema",
1140
- "version": "0.0.70"
1141
- }
1084
+ "name": "SchemaNodeConstructor"
1142
1085
  },
1143
1086
  "isOptional": false,
1144
1087
  "isSpread": false
@@ -1231,12 +1174,7 @@
1231
1174
  "line": 76,
1232
1175
  "character": 48
1233
1176
  },
1234
- "name": "Export",
1235
- "componentId": {
1236
- "scope": "teambit.semantics",
1237
- "name": "entities/semantic-schema",
1238
- "version": "0.0.70"
1239
- }
1177
+ "name": "Export"
1240
1178
  }
1241
1179
  },
1242
1180
  "modifiers": []
@@ -1266,11 +1204,7 @@
1266
1204
  "line": 91,
1267
1205
  "character": 33
1268
1206
  },
1269
- "name": "Component",
1270
- "componentId": {
1271
- "scope": "teambit.component",
1272
- "name": "component"
1273
- }
1207
+ "name": "Component"
1274
1208
  },
1275
1209
  "isOptional": false,
1276
1210
  "isSpread": false
@@ -1386,11 +1320,7 @@
1386
1320
  "line": 109,
1387
1321
  "character": 16
1388
1322
  },
1389
- "name": "Component",
1390
- "componentId": {
1391
- "scope": "teambit.component",
1392
- "name": "component"
1393
- }
1323
+ "name": "Component"
1394
1324
  },
1395
1325
  "isOptional": false,
1396
1326
  "isSpread": false
@@ -1519,11 +1449,7 @@
1519
1449
  "line": 115,
1520
1450
  "character": 26
1521
1451
  },
1522
- "name": "SchemaTransformer",
1523
- "componentId": {
1524
- "scope": "teambit.typescript",
1525
- "name": "typescript"
1526
- }
1452
+ "name": "SchemaTransformer"
1527
1453
  }
1528
1454
  },
1529
1455
  "isOptional": true,
@@ -1551,11 +1477,7 @@
1551
1477
  "line": 116,
1552
1478
  "character": 23
1553
1479
  },
1554
- "name": "SchemaNodeTransformer",
1555
- "componentId": {
1556
- "scope": "teambit.typescript",
1557
- "name": "typescript"
1558
- }
1480
+ "name": "SchemaNodeTransformer"
1559
1481
  }
1560
1482
  },
1561
1483
  "isOptional": true,
@@ -1578,12 +1500,7 @@
1578
1500
  "line": 117,
1579
1501
  "character": 14
1580
1502
  },
1581
- "name": "APISchema",
1582
- "componentId": {
1583
- "scope": "teambit.semantics",
1584
- "name": "entities/semantic-schema",
1585
- "version": "0.0.70"
1586
- }
1503
+ "name": "APISchema"
1587
1504
  }
1588
1505
  ]
1589
1506
  },
@@ -1791,11 +1708,7 @@
1791
1708
  "line": 198,
1792
1709
  "character": 28
1793
1710
  },
1794
- "name": "Component",
1795
- "componentId": {
1796
- "scope": "teambit.component",
1797
- "name": "component"
1798
- }
1711
+ "name": "Component"
1799
1712
  },
1800
1713
  "isOptional": false,
1801
1714
  "isSpread": false
@@ -1837,11 +1750,7 @@
1837
1750
  "line": 202,
1838
1751
  "character": 35
1839
1752
  },
1840
- "name": "Component",
1841
- "componentId": {
1842
- "scope": "teambit.component",
1843
- "name": "component"
1844
- }
1753
+ "name": "Component"
1845
1754
  },
1846
1755
  "isOptional": false,
1847
1756
  "isSpread": false
@@ -1975,11 +1884,7 @@
1975
1884
  "line": 226,
1976
1885
  "character": 7
1977
1886
  },
1978
- "name": "EnvsMain",
1979
- "componentId": {
1980
- "scope": "teambit.envs",
1981
- "name": "envs"
1982
- }
1887
+ "name": "EnvsMain"
1983
1888
  },
1984
1889
  {
1985
1890
  "__schema": "TypeRefSchema",
@@ -1988,11 +1893,7 @@
1988
1893
  "line": 227,
1989
1894
  "character": 7
1990
1895
  },
1991
- "name": "CLIMain",
1992
- "componentId": {
1993
- "scope": "teambit.harmony",
1994
- "name": "cli"
1995
- }
1896
+ "name": "CLIMain"
1996
1897
  },
1997
1898
  {
1998
1899
  "__schema": "TypeRefSchema",
@@ -2001,11 +1902,7 @@
2001
1902
  "line": 228,
2002
1903
  "character": 7
2003
1904
  },
2004
- "name": "ComponentMain",
2005
- "componentId": {
2006
- "scope": "teambit.component",
2007
- "name": "component"
2008
- }
1905
+ "name": "ComponentMain"
2009
1906
  },
2010
1907
  {
2011
1908
  "__schema": "TypeRefSchema",
@@ -2014,11 +1911,7 @@
2014
1911
  "line": 229,
2015
1912
  "character": 7
2016
1913
  },
2017
- "name": "GraphqlMain",
2018
- "componentId": {
2019
- "scope": "teambit.harmony",
2020
- "name": "graphql"
2021
- }
1914
+ "name": "GraphqlMain"
2022
1915
  },
2023
1916
  {
2024
1917
  "__schema": "TypeRefSchema",
@@ -2027,11 +1920,7 @@
2027
1920
  "line": 230,
2028
1921
  "character": 7
2029
1922
  },
2030
- "name": "LoggerMain",
2031
- "componentId": {
2032
- "scope": "teambit.harmony",
2033
- "name": "logger"
2034
- }
1923
+ "name": "LoggerMain"
2035
1924
  },
2036
1925
  {
2037
1926
  "__schema": "TypeRefSchema",
@@ -2040,11 +1929,7 @@
2040
1929
  "line": 231,
2041
1930
  "character": 7
2042
1931
  },
2043
- "name": "BuilderMain",
2044
- "componentId": {
2045
- "scope": "teambit.pipelines",
2046
- "name": "builder"
2047
- }
1932
+ "name": "BuilderMain"
2048
1933
  },
2049
1934
  {
2050
1935
  "__schema": "TypeRefSchema",
@@ -2053,11 +1938,7 @@
2053
1938
  "line": 232,
2054
1939
  "character": 7
2055
1940
  },
2056
- "name": "Workspace",
2057
- "componentId": {
2058
- "scope": "teambit.workspace",
2059
- "name": "workspace"
2060
- }
1941
+ "name": "Workspace"
2061
1942
  },
2062
1943
  {
2063
1944
  "__schema": "TypeRefSchema",
@@ -2066,11 +1947,7 @@
2066
1947
  "line": 233,
2067
1948
  "character": 7
2068
1949
  },
2069
- "name": "ScopeMain",
2070
- "componentId": {
2071
- "scope": "teambit.scope",
2072
- "name": "scope"
2073
- }
1950
+ "name": "ScopeMain"
2074
1951
  }
2075
1952
  ]
2076
1953
  },
@@ -2092,8 +1969,7 @@
2092
1969
  "line": 235,
2093
1970
  "character": 13
2094
1971
  },
2095
- "name": "SchemaConfig",
2096
- "internalFilePath": "schema.main.runtime.ts"
1972
+ "name": "SchemaConfig"
2097
1973
  },
2098
1974
  "isOptional": false,
2099
1975
  "isSpread": false
@@ -2121,8 +1997,7 @@
2121
1997
  "line": 236,
2122
1998
  "character": 20
2123
1999
  },
2124
- "name": "ParserSlot",
2125
- "internalFilePath": "schema.main.runtime.ts"
2000
+ "name": "ParserSlot"
2126
2001
  }
2127
2002
  ]
2128
2003
  },
@@ -2323,12 +2198,7 @@
2323
2198
  "line": 12,
2324
2199
  "character": 54
2325
2200
  },
2326
- "name": "Export",
2327
- "componentId": {
2328
- "scope": "teambit.semantics",
2329
- "name": "entities/semantic-schema",
2330
- "version": "0.0.70"
2331
- }
2201
+ "name": "Export"
2332
2202
  }
2333
2203
  },
2334
2204
  "modifiers": []
@@ -2393,11 +2263,7 @@
2393
2263
  "line": 9,
2394
2264
  "character": 22
2395
2265
  },
2396
- "name": "Component",
2397
- "componentId": {
2398
- "scope": "teambit.component",
2399
- "name": "component"
2400
- }
2266
+ "name": "Component"
2401
2267
  },
2402
2268
  "isOptional": false,
2403
2269
  "isSpread": false
@@ -2439,12 +2305,7 @@
2439
2305
  "line": 9,
2440
2306
  "character": 76
2441
2307
  },
2442
- "name": "APISchema",
2443
- "componentId": {
2444
- "scope": "teambit.semantics",
2445
- "name": "entities/semantic-schema",
2446
- "version": "0.0.70"
2447
- }
2308
+ "name": "APISchema"
2448
2309
  }
2449
2310
  ]
2450
2311
  },
@@ -2518,11 +2379,7 @@
2518
2379
  "line": 20,
2519
2380
  "character": 15
2520
2381
  },
2521
- "name": "Formatter",
2522
- "componentId": {
2523
- "scope": "teambit.defender",
2524
- "name": "formatter"
2525
- }
2382
+ "name": "Formatter"
2526
2383
  },
2527
2384
  "isOptional": true
2528
2385
  },
@@ -2795,11 +2652,7 @@
2795
2652
  "line": 27,
2796
2653
  "character": 86
2797
2654
  },
2798
- "name": "Logger",
2799
- "componentId": {
2800
- "scope": "teambit.harmony",
2801
- "name": "logger"
2802
- }
2655
+ "name": "Logger"
2803
2656
  },
2804
2657
  "isOptional": false,
2805
2658
  "isSpread": false
@@ -2841,11 +2694,7 @@
2841
2694
  "line": 29,
2842
2695
  "character": 26
2843
2696
  },
2844
- "name": "BuildContext",
2845
- "componentId": {
2846
- "scope": "teambit.pipelines",
2847
- "name": "builder"
2848
- }
2697
+ "name": "BuildContext"
2849
2698
  },
2850
2699
  "isOptional": false,
2851
2700
  "isSpread": false
@@ -2867,11 +2716,7 @@
2867
2716
  "line": 29,
2868
2717
  "character": 49
2869
2718
  },
2870
- "name": "BuiltTaskResult",
2871
- "componentId": {
2872
- "scope": "teambit.pipelines",
2873
- "name": "builder"
2874
- }
2719
+ "name": "BuiltTaskResult"
2875
2720
  }
2876
2721
  ]
2877
2722
  },
@@ -2903,7 +2748,7 @@
2903
2748
  "_legacy": {
2904
2749
  "scope": "teambit.semantics",
2905
2750
  "name": "schema",
2906
- "version": "1.0.329"
2751
+ "version": "1.0.331"
2907
2752
  },
2908
2753
  "_scope": "teambit.semantics"
2909
2754
  }
@@ -3011,10 +2856,6 @@
3011
2856
  "character": 22
3012
2857
  },
3013
2858
  "name": "EnvHandler",
3014
- "componentId": {
3015
- "scope": "teambit.envs",
3016
- "name": "envs"
3017
- },
3018
2859
  "typeArgs": [
3019
2860
  {
3020
2861
  "__schema": "TypeRefSchema",
@@ -3060,11 +2901,6 @@
3060
2901
  "character": 26
3061
2902
  },
3062
2903
  "name": "SlotRegistry",
3063
- "componentId": {
3064
- "scope": "teambit.harmony",
3065
- "name": "harmony",
3066
- "version": "0.4.6"
3067
- },
3068
2904
  "typeArgs": [
3069
2905
  {
3070
2906
  "__schema": "TypeRefSchema",
@@ -3206,8 +3042,7 @@
3206
3042
  "line": 49,
3207
3043
  "character": 25
3208
3044
  },
3209
- "name": "ParserSlot",
3210
- "internalFilePath": "schema.main.runtime.ts"
3045
+ "name": "ParserSlot"
3211
3046
  },
3212
3047
  "isOptional": false,
3213
3048
  "isSpread": false
@@ -3227,11 +3062,7 @@
3227
3062
  "line": 51,
3228
3063
  "character": 19
3229
3064
  },
3230
- "name": "EnvsMain",
3231
- "componentId": {
3232
- "scope": "teambit.envs",
3233
- "name": "envs"
3234
- }
3065
+ "name": "EnvsMain"
3235
3066
  },
3236
3067
  "isOptional": false,
3237
3068
  "isSpread": false
@@ -3251,8 +3082,7 @@
3251
3082
  "line": 53,
3252
3083
  "character": 21
3253
3084
  },
3254
- "name": "SchemaConfig",
3255
- "internalFilePath": "schema.main.runtime.ts"
3085
+ "name": "SchemaConfig"
3256
3086
  },
3257
3087
  "isOptional": false,
3258
3088
  "isSpread": false
@@ -3272,11 +3102,7 @@
3272
3102
  "line": 55,
3273
3103
  "character": 22
3274
3104
  },
3275
- "name": "BuilderMain",
3276
- "componentId": {
3277
- "scope": "teambit.pipelines",
3278
- "name": "builder"
3279
- }
3105
+ "name": "BuilderMain"
3280
3106
  },
3281
3107
  "isOptional": false,
3282
3108
  "isSpread": false
@@ -3296,11 +3122,7 @@
3296
3122
  "line": 57,
3297
3123
  "character": 24
3298
3124
  },
3299
- "name": "Workspace",
3300
- "componentId": {
3301
- "scope": "teambit.workspace",
3302
- "name": "workspace"
3303
- }
3125
+ "name": "Workspace"
3304
3126
  },
3305
3127
  "isOptional": false,
3306
3128
  "isSpread": false
@@ -3320,11 +3142,7 @@
3320
3142
  "line": 59,
3321
3143
  "character": 21
3322
3144
  },
3323
- "name": "Logger",
3324
- "componentId": {
3325
- "scope": "teambit.harmony",
3326
- "name": "logger"
3327
- }
3145
+ "name": "Logger"
3328
3146
  },
3329
3147
  "isOptional": false,
3330
3148
  "isSpread": false
@@ -3398,12 +3216,7 @@
3398
3216
  "line": 69,
3399
3217
  "character": 31
3400
3218
  },
3401
- "name": "SchemaNodeConstructor",
3402
- "componentId": {
3403
- "scope": "teambit.semantics",
3404
- "name": "entities/semantic-schema",
3405
- "version": "0.0.70"
3406
- }
3219
+ "name": "SchemaNodeConstructor"
3407
3220
  },
3408
3221
  "isOptional": false,
3409
3222
  "isSpread": false
@@ -3496,12 +3309,7 @@
3496
3309
  "line": 76,
3497
3310
  "character": 48
3498
3311
  },
3499
- "name": "Export",
3500
- "componentId": {
3501
- "scope": "teambit.semantics",
3502
- "name": "entities/semantic-schema",
3503
- "version": "0.0.70"
3504
- }
3312
+ "name": "Export"
3505
3313
  }
3506
3314
  },
3507
3315
  "modifiers": []
@@ -3531,11 +3339,7 @@
3531
3339
  "line": 91,
3532
3340
  "character": 33
3533
3341
  },
3534
- "name": "Component",
3535
- "componentId": {
3536
- "scope": "teambit.component",
3537
- "name": "component"
3538
- }
3342
+ "name": "Component"
3539
3343
  },
3540
3344
  "isOptional": false,
3541
3345
  "isSpread": false
@@ -3651,11 +3455,7 @@
3651
3455
  "line": 109,
3652
3456
  "character": 16
3653
3457
  },
3654
- "name": "Component",
3655
- "componentId": {
3656
- "scope": "teambit.component",
3657
- "name": "component"
3658
- }
3458
+ "name": "Component"
3659
3459
  },
3660
3460
  "isOptional": false,
3661
3461
  "isSpread": false
@@ -3784,11 +3584,7 @@
3784
3584
  "line": 115,
3785
3585
  "character": 26
3786
3586
  },
3787
- "name": "SchemaTransformer",
3788
- "componentId": {
3789
- "scope": "teambit.typescript",
3790
- "name": "typescript"
3791
- }
3587
+ "name": "SchemaTransformer"
3792
3588
  }
3793
3589
  },
3794
3590
  "isOptional": true,
@@ -3816,11 +3612,7 @@
3816
3612
  "line": 116,
3817
3613
  "character": 23
3818
3614
  },
3819
- "name": "SchemaNodeTransformer",
3820
- "componentId": {
3821
- "scope": "teambit.typescript",
3822
- "name": "typescript"
3823
- }
3615
+ "name": "SchemaNodeTransformer"
3824
3616
  }
3825
3617
  },
3826
3618
  "isOptional": true,
@@ -3843,12 +3635,7 @@
3843
3635
  "line": 117,
3844
3636
  "character": 14
3845
3637
  },
3846
- "name": "APISchema",
3847
- "componentId": {
3848
- "scope": "teambit.semantics",
3849
- "name": "entities/semantic-schema",
3850
- "version": "0.0.70"
3851
- }
3638
+ "name": "APISchema"
3852
3639
  }
3853
3640
  ]
3854
3641
  },
@@ -4056,11 +3843,7 @@
4056
3843
  "line": 198,
4057
3844
  "character": 28
4058
3845
  },
4059
- "name": "Component",
4060
- "componentId": {
4061
- "scope": "teambit.component",
4062
- "name": "component"
4063
- }
3846
+ "name": "Component"
4064
3847
  },
4065
3848
  "isOptional": false,
4066
3849
  "isSpread": false
@@ -4102,11 +3885,7 @@
4102
3885
  "line": 202,
4103
3886
  "character": 35
4104
3887
  },
4105
- "name": "Component",
4106
- "componentId": {
4107
- "scope": "teambit.component",
4108
- "name": "component"
4109
- }
3888
+ "name": "Component"
4110
3889
  },
4111
3890
  "isOptional": false,
4112
3891
  "isSpread": false
@@ -4240,11 +4019,7 @@
4240
4019
  "line": 226,
4241
4020
  "character": 7
4242
4021
  },
4243
- "name": "EnvsMain",
4244
- "componentId": {
4245
- "scope": "teambit.envs",
4246
- "name": "envs"
4247
- }
4022
+ "name": "EnvsMain"
4248
4023
  },
4249
4024
  {
4250
4025
  "__schema": "TypeRefSchema",
@@ -4253,11 +4028,7 @@
4253
4028
  "line": 227,
4254
4029
  "character": 7
4255
4030
  },
4256
- "name": "CLIMain",
4257
- "componentId": {
4258
- "scope": "teambit.harmony",
4259
- "name": "cli"
4260
- }
4031
+ "name": "CLIMain"
4261
4032
  },
4262
4033
  {
4263
4034
  "__schema": "TypeRefSchema",
@@ -4266,11 +4037,7 @@
4266
4037
  "line": 228,
4267
4038
  "character": 7
4268
4039
  },
4269
- "name": "ComponentMain",
4270
- "componentId": {
4271
- "scope": "teambit.component",
4272
- "name": "component"
4273
- }
4040
+ "name": "ComponentMain"
4274
4041
  },
4275
4042
  {
4276
4043
  "__schema": "TypeRefSchema",
@@ -4279,11 +4046,7 @@
4279
4046
  "line": 229,
4280
4047
  "character": 7
4281
4048
  },
4282
- "name": "GraphqlMain",
4283
- "componentId": {
4284
- "scope": "teambit.harmony",
4285
- "name": "graphql"
4286
- }
4049
+ "name": "GraphqlMain"
4287
4050
  },
4288
4051
  {
4289
4052
  "__schema": "TypeRefSchema",
@@ -4292,11 +4055,7 @@
4292
4055
  "line": 230,
4293
4056
  "character": 7
4294
4057
  },
4295
- "name": "LoggerMain",
4296
- "componentId": {
4297
- "scope": "teambit.harmony",
4298
- "name": "logger"
4299
- }
4058
+ "name": "LoggerMain"
4300
4059
  },
4301
4060
  {
4302
4061
  "__schema": "TypeRefSchema",
@@ -4305,11 +4064,7 @@
4305
4064
  "line": 231,
4306
4065
  "character": 7
4307
4066
  },
4308
- "name": "BuilderMain",
4309
- "componentId": {
4310
- "scope": "teambit.pipelines",
4311
- "name": "builder"
4312
- }
4067
+ "name": "BuilderMain"
4313
4068
  },
4314
4069
  {
4315
4070
  "__schema": "TypeRefSchema",
@@ -4318,11 +4073,7 @@
4318
4073
  "line": 232,
4319
4074
  "character": 7
4320
4075
  },
4321
- "name": "Workspace",
4322
- "componentId": {
4323
- "scope": "teambit.workspace",
4324
- "name": "workspace"
4325
- }
4076
+ "name": "Workspace"
4326
4077
  },
4327
4078
  {
4328
4079
  "__schema": "TypeRefSchema",
@@ -4331,11 +4082,7 @@
4331
4082
  "line": 233,
4332
4083
  "character": 7
4333
4084
  },
4334
- "name": "ScopeMain",
4335
- "componentId": {
4336
- "scope": "teambit.scope",
4337
- "name": "scope"
4338
- }
4085
+ "name": "ScopeMain"
4339
4086
  }
4340
4087
  ]
4341
4088
  },
@@ -4357,8 +4104,7 @@
4357
4104
  "line": 235,
4358
4105
  "character": 13
4359
4106
  },
4360
- "name": "SchemaConfig",
4361
- "internalFilePath": "schema.main.runtime.ts"
4107
+ "name": "SchemaConfig"
4362
4108
  },
4363
4109
  "isOptional": false,
4364
4110
  "isSpread": false
@@ -4386,8 +4132,7 @@
4386
4132
  "line": 236,
4387
4133
  "character": 20
4388
4134
  },
4389
- "name": "ParserSlot",
4390
- "internalFilePath": "schema.main.runtime.ts"
4135
+ "name": "ParserSlot"
4391
4136
  }
4392
4137
  ]
4393
4138
  },
@@ -4478,7 +4223,7 @@
4478
4223
  "componentId": {
4479
4224
  "scope": "teambit.semantics",
4480
4225
  "name": "schema",
4481
- "version": "1.0.329"
4226
+ "version": "1.0.331"
4482
4227
  },
4483
4228
  "taggedModuleExports": []
4484
4229
  }
@@ -1,6 +1,6 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.329/dist/schema.composition.js';
2
- import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.329/dist/mock/button/button.composition.js';
3
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.329/dist/schema.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.331/dist/schema.composition.js';
2
+ import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.331/dist/mock/button/button.composition.js';
3
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.331/dist/schema.docs.mdx';
4
4
 
5
5
  export const compositions = [compositions_0, compositions_1];
6
6
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/schema",
3
- "version": "1.0.329",
3
+ "version": "1.0.331",
4
4
  "homepage": "https://bit.cloud/teambit/semantics/schema",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.semantics",
8
8
  "name": "schema",
9
- "version": "1.0.329"
9
+ "version": "1.0.331"
10
10
  },
11
11
  "dependencies": {
12
12
  "p-map-series": "2.1.0",
@@ -15,17 +15,17 @@
15
15
  "fs-extra": "10.0.0",
16
16
  "@teambit/harmony": "0.4.6",
17
17
  "@teambit/semantics.entities.semantic-schema": "0.0.70",
18
- "@teambit/envs": "1.0.329",
19
- "@teambit/component": "1.0.329",
20
- "@teambit/formatter": "1.0.329",
21
- "@teambit/cli": "0.0.906",
22
- "@teambit/logger": "0.0.999",
23
- "@teambit/graphql": "1.0.329",
24
- "@teambit/builder": "1.0.329",
18
+ "@teambit/envs": "1.0.331",
19
+ "@teambit/component": "1.0.331",
20
+ "@teambit/formatter": "1.0.331",
21
+ "@teambit/cli": "0.0.908",
22
+ "@teambit/logger": "0.0.1001",
23
+ "@teambit/graphql": "1.0.331",
24
+ "@teambit/builder": "1.0.331",
25
25
  "@teambit/defender.prettier.config-mutator": "0.0.100",
26
- "@teambit/scope": "1.0.329",
27
- "@teambit/typescript": "1.0.329",
28
- "@teambit/workspace": "1.0.329"
26
+ "@teambit/scope": "1.0.331",
27
+ "@teambit/typescript": "1.0.331",
28
+ "@teambit/workspace": "1.0.331"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/chai": "4.2.15",
@@ -34,9 +34,9 @@
34
34
  "chai": "4.3.0",
35
35
  "@types/mocha": "9.1.0",
36
36
  "@teambit/component-id": "1.2.0",
37
- "@teambit/harmony.envs.core-aspect-env": "0.0.39",
38
- "@teambit/harmony.testing.load-aspect": "0.0.200",
39
- "@teambit/tracker": "1.0.329",
37
+ "@teambit/harmony.envs.core-aspect-env": "0.0.42",
38
+ "@teambit/harmony.testing.load-aspect": "0.0.202",
39
+ "@teambit/tracker": "1.0.331",
40
40
  "@teambit/workspace.testing.mock-workspace": "0.0.27"
41
41
  },
42
42
  "peerDependencies": {