@teambit/schema 1.0.513 → 1.0.514

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.513" 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.012"/>
5
- <testcase classname="dist/schema.spec.js" name="should be able to deserialize an JSON object to SchemaNode instances" time="0.008"/>
6
- <testcase classname="dist/schema.spec.js" name="should not throw when it does not recognize the schema"/>
3
+ <testsuite name="teambit.semantics/schema@1.0.514" 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.015"/>
5
+ <testcase classname="dist/schema.spec.js" name="should be able to deserialize an JSON object to SchemaNode instances" time="0.016"/>
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 o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},84949:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function r(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var o,a,i=[];for(a in"string"!=typeof t&&(t="?"),e)if(n.call(e,a)){if((o=e[a])||null!=o&&!isNaN(o)||(o=""),a=r(a),o=r(o),null===a||null===o)continue;i.push(a+"="+o)}return i.length?t+i.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,r={};t=n.exec(e);){var a=o(t[1]),i=o(t[2]);null===a||null===i||a in r||(r[a]=i)}return r}},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}},91448:(e,t,n)=>{"use strict";var o=n(91788),r=n(84949),a=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,l=/^[a-zA-Z]:/;function p(e){return(e||"").toString().replace(a,"")}var f=[["#","hash"],["?","query"],function(e,t){return h(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],d={hash:1,query:1};function m(e){var t,o=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},r={},a=typeof(e=e||o);if("blob:"===e.protocol)r=new v(unescape(e.pathname),{});else if("string"===a)for(t in r=new v(e,{}),d)delete r[t];else if("object"===a){for(t in e)t in d||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=s.test(e.href))}return r}function h(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function b(e,t){e=(e=p(e)).replace(i,""),t=t||{};var n,o=u.exec(e),r=o[1]?o[1].toLowerCase():"",a=!!o[2],s=!!o[3],c=0;return a?s?(n=o[2]+o[3]+o[4],c=o[2].length+o[3].length):(n=o[2]+o[4],c=o[2].length):s?(n=o[3]+o[4],c=o[3].length):n=o[4],"file:"===r?c>=2&&(n=n.slice(2)):h(r)?n=o[4]:r?a&&(n=n.slice(2)):c>=2&&h(t.protocol)&&(n=o[4]),{protocol:r,slashes:a||h(r),slashesCount:c,rest:n}}function v(e,t,n){if(e=(e=p(e)).replace(i,""),!(this instanceof v))return new v(e,t,n);var a,s,c,u,d,_,y=f.slice(),g=typeof t,O=this,w=0;for("object"!==g&&"string"!==g&&(n=t,t=null),n&&"function"!=typeof n&&(n=r.parse),a=!(s=b(e||"",t=m(t))).protocol&&!s.slashes,O.slashes=s.slashes||a&&t.slashes,O.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||l.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!h(O.protocol)))&&(y[3]=[/(.*)/,"pathname"]);w<y.length;w++)"function"!=typeof(u=y[w])?(c=u[0],_=u[1],c!=c?O[_]=e:"string"==typeof c?~(d="@"===c?e.lastIndexOf(c):e.indexOf(c))&&("number"==typeof u[2]?(O[_]=e.slice(0,d),e=e.slice(d+u[2])):(O[_]=e.slice(d),e=e.slice(0,d))):(d=c.exec(e))&&(O[_]=d[1],e=e.slice(0,d.index)),O[_]=O[_]||a&&u[3]&&t[_]||"",u[4]&&(O[_]=O[_].toLowerCase())):e=u(e,O);n&&(O.query=n(O.query)),a&&t.slashes&&"/"!==O.pathname.charAt(0)&&(""!==O.pathname||""!==t.pathname)&&(O.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),o=n.length,r=n[o-1],a=!1,i=0;o--;)"."===n[o]?n.splice(o,1):".."===n[o]?(n.splice(o,1),i++):i&&(0===o&&(a=!0),n.splice(o,1),i--);return a&&n.unshift(""),"."!==r&&".."!==r||n.push(""),n.join("/")}(O.pathname,t.pathname)),"/"!==O.pathname.charAt(0)&&h(O.protocol)&&(O.pathname="/"+O.pathname),o(O.port,O.protocol)||(O.host=O.hostname,O.port=""),O.username=O.password="",O.auth&&(~(d=O.auth.indexOf(":"))?(O.username=O.auth.slice(0,d),O.username=encodeURIComponent(decodeURIComponent(O.username)),O.password=O.auth.slice(d+1),O.password=encodeURIComponent(decodeURIComponent(O.password))):O.username=encodeURIComponent(decodeURIComponent(O.auth)),O.auth=O.password?O.username+":"+O.password:O.username),O.origin="file:"!==O.protocol&&h(O.protocol)&&O.host?O.protocol+"//"+O.host:"null",O.href=O.toString()}v.prototype={set:function(e,t,n){var a=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||r.parse)(t)),a[e]=t;break;case"port":a[e]=t,o(t,a.protocol)?t&&(a.host=a.hostname+":"+t):(a.host=a.hostname,a[e]="");break;case"hostname":a[e]=t,a.port&&(t+=":"+a.port),a.host=t;break;case"host":a[e]=t,c.test(t)?(t=t.split(":"),a.port=t.pop(),a.hostname=t.join(":")):(a.hostname=t,a.port="");break;case"protocol":a.protocol=t.toLowerCase(),a.slashes=!n;break;case"pathname":case"hash":if(t){var i="pathname"===e?"/":"#";a[e]=t.charAt(0)!==i?i+t:t}else a[e]=t;break;case"username":case"password":a[e]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(a.username=t.slice(0,s),a.username=encodeURIComponent(decodeURIComponent(a.username)),a.password=t.slice(s+1),a.password=encodeURIComponent(decodeURIComponent(a.password))):a.username=encodeURIComponent(decodeURIComponent(t))}for(var u=0;u<f.length;u++){var l=f[u];l[4]&&(a[l[1]]=a[l[1]].toLowerCase())}return a.auth=a.password?a.username+":"+a.password:a.username,a.origin="file:"!==a.protocol&&h(a.protocol)&&a.host?a.protocol+"//"+a.host:"null",a.href=a.toString(),a},toString:function(e){e&&"function"==typeof e||(e=r.stringify);var t,n=this,o=n.host,a=n.protocol;a&&":"!==a.charAt(a.length-1)&&(a+=":");var i=a+(n.protocol&&n.slashes||h(n.protocol)?"//":"");return n.username?(i+=n.username,n.password&&(i+=":"+n.password),i+="@"):n.password?(i+=":"+n.password,i+="@"):"file:"!==n.protocol&&h(n.protocol)&&!o&&"/"!==n.pathname&&(i+="@"),(":"===o[o.length-1]||c.test(n.hostname)&&!n.port)&&(o+=":"),i+=o+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},v.extractProtocol=b,v.location=m,v.trimLeft=p,v.qs=r,e.exports=v},22665:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationProvider=t.useNavigation=t.useNavigate=t.useLocation=t.Link=void 0;var o=n(81445);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return o.Link}});var r=n(20756);Object.defineProperty(t,"useLocation",{enumerable:!0,get:function(){return r.useLocation}});var a=n(44280);Object.defineProperty(t,"useNavigate",{enumerable:!0,get:function(){return a.useNavigate}});var i=n(29793);Object.defineProperty(t,"useNavigation",{enumerable:!0,get:function(){return i.useNavigation}}),Object.defineProperty(t,"NavigationProvider",{enumerable:!0,get:function(){return i.NavigationProvider}})},81445:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=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 r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;const i=a(n(41594)),s=n(29793),c=n(86423);t.Link=(0,i.forwardRef)((function(e,t){const n=(0,s.useNavigation)().Link||c.NativeLink;return e.native||e.external?i.default.createElement(c.NativeLink,Object.assign({},e,{ref:t})):i.default.createElement(n,Object.assign({},e,{ref:t}))}))},86423:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=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 r(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}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=a(n(41594)),u=s(n(69685)),l=n(9481),p=n(20756),f={rel:"noopener",target:"_blank"};t.NativeLink=(0,c.forwardRef)((function(e,t){var{className:n,style:o,activeClassName:r,activeStyle:a,active:s,strict:d,exact:m,href:h,external:b,native:v,state:_}=e,y=i(e,["className","style","activeClassName","activeStyle","active","strict","exact","href","external","native","state"]);const g=(0,p.useLocation)(),O=!!r||!!a,w=(0,c.useMemo)((()=>!!O&&("boolean"==typeof s?s:!(!g||!h)&&(0,l.compareUrl)(g.pathname,h,{exact:m,strict:d}))),[s,h,g,O]),j=b?f:{},P=(0,c.useMemo)((()=>w&&a?Object.assign(Object.assign({},o),a):o),[w,o]);return c.default.createElement("a",Object.assign({},j,y,{ref:t,href:h,className:(0,u.default)(n,w&&r),style:P}))}))},29793:function(e,t,n){"use strict";var o={id:"teambit.base-react/navigation/link@2.0.31",homepage:"https://bit.cloud/teambit/base-react/navigation/link",exported:!0},r=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=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 a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationProvider=t.useNavigation=t.NavigationContext=void 0;const s=i(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=o,t.useNavigation=c,u.__bit_component=o,t.NavigationProvider=u},20756:(e,t,n)=>{"use strict";var o={id:"teambit.base-react/navigation/link@2.0.31",homepage:"https://bit.cloud/teambit/base-react/navigation/link",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=void 0;const r=n(29793);function a(){return((0,r.useNavigation)().useLocation||i)()}function i(){if("undefined"!=typeof window)return window.location}a.__bit_component=o,t.useLocation=a,i.__bit_component=o},44280:(e,t,n)=>{"use strict";var o={id:"teambit.base-react/navigation/link@2.0.31",homepage:"https://bit.cloud/teambit/base-react/navigation/link",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigate=void 0;const r=n(29793);function a(){var e;const t=(0,r.useNavigation)();return(null===(e=t.useNavigate)||void 0===e?void 0:e.call(t))||i}function i(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:o}=window;"number"==typeof e?o.go(e):t?n.replace(e):n.assign(e)}a.__bit_component=o,t.useNavigate=a,i.__bit_component=o},24022:function(e,t,n){"use strict";var o={id:"teambit.base-ui/routing/compare-url@1.0.1",homepage:"https://bit.dev/teambit/base-ui/routing/compare-url",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;const a=r(n(91448));function i(e,t,{exact:n,strict:o}={}){if(e===t)return!0;o||(e=e.replace(/\/(?=[?#]|$)/,""),t=t.replace(/\/(?=[?#]|$)/,""));const r=(0,a.default)(e),i=(0,a.default)(t),l=s(r,i),p=!n||c(r,i),f=!o||u(r,i);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]))}i.__bit_component=o,t.compareUrl=i,s.__bit_component=o,c.__bit_component=o,u.__bit_component=o,l.__bit_component=o},9481:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;var o=n(24022);Object.defineProperty(t,"compareUrl",{enumerable:!0,get:function(){return o.compareUrl}})},32059:(e,t,n)=>{"use strict";var o={id:"teambit.semantics/schema@1.0.513",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function r(){const e=i(n(41594));return r=function(){return e},e}function a(){const e=n(14619);return a=function(){return e},e}function i(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,r.__bit_component=o,a.__bit_component=o,i.__bit_component=o;const s=()=>r().default.createElement(a().Button,null,"click me");function c({children:e=r().default.createElement(s,null)}){return r().default.createElement(a().Button,null,e)}s.__bit_component=o,t.BasicButton=s,c.__bit_component=o;const u=()=>r().default.createElement(a().Button,{style:{background:"red"}},"click me");u.__bit_component=o,t.ButtonWithCustomStyles=u;const l=()=>r().default.createElement(a().Button,null,"click me");l.__bit_component=o,t.ButtonWithIcon=l;const p=()=>r().default.createElement(a().Button,{href:"https://bit.dev"},"Bit");p.__bit_component=o,t.ButtonAsALink=p},14619:(e,t,n)=>{"use strict";var o={id:"teambit.semantics/schema@1.0.513",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function r(){const e=s(n(41594));return r=function(){return e},e}function a(){const e=n(22665);return a=function(){return e},e}function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=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=i(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=r?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}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 o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c.apply(null,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}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 o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function m(e){const t=(0,r().useRef)(),n=l({},e),o=e.href?.startsWith("http:")||e.href?.startsWith("https:");return r().default.createElement(r().default.Fragment,null,e.href?r().default.createElement(a().Link,c({external:o,ref:t,className:e.className},n),e.children):r().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,r.__bit_component=o,a.__bit_component=o,i.__bit_component=o,s.__bit_component=o,c.__bit_component=o,u.__bit_component=o,l.__bit_component=o,p.__bit_component=o,f.__bit_component=o,d.__bit_component=o,m.__bit_component=o,t.Bar=class{foo(){}}},65672:(e,t,n)=>{"use strict";var o={id:"teambit.semantics/schema@1.0.513",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=o,a.__bit_component=o;const i=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/code.svg"}));i.__bit_component=o,t.Logo=i},41594:e=>{"use strict";e.exports=React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},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 o={};return(()=>{"use strict";n.r(o),n.d(o,{compositions:()=>f,compositions_metadata:()=>m,overview:()=>d});var e={};n.r(e),n.d(e,{default:()=>p});var t=n(65672),r=n(32059);n(41594);const a=MdxJsReact,i=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 o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}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,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,s);return(0,a.mdx)(l,c({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}p.isMDXComponent=!0;const f=[t,r],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"}]}})(),o})()));
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 o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},84949:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function r(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var o,a,i=[];for(a in"string"!=typeof t&&(t="?"),e)if(n.call(e,a)){if((o=e[a])||null!=o&&!isNaN(o)||(o=""),a=r(a),o=r(o),null===a||null===o)continue;i.push(a+"="+o)}return i.length?t+i.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,r={};t=n.exec(e);){var a=o(t[1]),i=o(t[2]);null===a||null===i||a in r||(r[a]=i)}return r}},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}},91448:(e,t,n)=>{"use strict";var o=n(91788),r=n(84949),a=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,l=/^[a-zA-Z]:/;function p(e){return(e||"").toString().replace(a,"")}var f=[["#","hash"],["?","query"],function(e,t){return h(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],d={hash:1,query:1};function m(e){var t,o=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},r={},a=typeof(e=e||o);if("blob:"===e.protocol)r=new v(unescape(e.pathname),{});else if("string"===a)for(t in r=new v(e,{}),d)delete r[t];else if("object"===a){for(t in e)t in d||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=s.test(e.href))}return r}function h(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function b(e,t){e=(e=p(e)).replace(i,""),t=t||{};var n,o=u.exec(e),r=o[1]?o[1].toLowerCase():"",a=!!o[2],s=!!o[3],c=0;return a?s?(n=o[2]+o[3]+o[4],c=o[2].length+o[3].length):(n=o[2]+o[4],c=o[2].length):s?(n=o[3]+o[4],c=o[3].length):n=o[4],"file:"===r?c>=2&&(n=n.slice(2)):h(r)?n=o[4]:r?a&&(n=n.slice(2)):c>=2&&h(t.protocol)&&(n=o[4]),{protocol:r,slashes:a||h(r),slashesCount:c,rest:n}}function v(e,t,n){if(e=(e=p(e)).replace(i,""),!(this instanceof v))return new v(e,t,n);var a,s,c,u,d,_,y=f.slice(),g=typeof t,O=this,w=0;for("object"!==g&&"string"!==g&&(n=t,t=null),n&&"function"!=typeof n&&(n=r.parse),a=!(s=b(e||"",t=m(t))).protocol&&!s.slashes,O.slashes=s.slashes||a&&t.slashes,O.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||l.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!h(O.protocol)))&&(y[3]=[/(.*)/,"pathname"]);w<y.length;w++)"function"!=typeof(u=y[w])?(c=u[0],_=u[1],c!=c?O[_]=e:"string"==typeof c?~(d="@"===c?e.lastIndexOf(c):e.indexOf(c))&&("number"==typeof u[2]?(O[_]=e.slice(0,d),e=e.slice(d+u[2])):(O[_]=e.slice(d),e=e.slice(0,d))):(d=c.exec(e))&&(O[_]=d[1],e=e.slice(0,d.index)),O[_]=O[_]||a&&u[3]&&t[_]||"",u[4]&&(O[_]=O[_].toLowerCase())):e=u(e,O);n&&(O.query=n(O.query)),a&&t.slashes&&"/"!==O.pathname.charAt(0)&&(""!==O.pathname||""!==t.pathname)&&(O.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),o=n.length,r=n[o-1],a=!1,i=0;o--;)"."===n[o]?n.splice(o,1):".."===n[o]?(n.splice(o,1),i++):i&&(0===o&&(a=!0),n.splice(o,1),i--);return a&&n.unshift(""),"."!==r&&".."!==r||n.push(""),n.join("/")}(O.pathname,t.pathname)),"/"!==O.pathname.charAt(0)&&h(O.protocol)&&(O.pathname="/"+O.pathname),o(O.port,O.protocol)||(O.host=O.hostname,O.port=""),O.username=O.password="",O.auth&&(~(d=O.auth.indexOf(":"))?(O.username=O.auth.slice(0,d),O.username=encodeURIComponent(decodeURIComponent(O.username)),O.password=O.auth.slice(d+1),O.password=encodeURIComponent(decodeURIComponent(O.password))):O.username=encodeURIComponent(decodeURIComponent(O.auth)),O.auth=O.password?O.username+":"+O.password:O.username),O.origin="file:"!==O.protocol&&h(O.protocol)&&O.host?O.protocol+"//"+O.host:"null",O.href=O.toString()}v.prototype={set:function(e,t,n){var a=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||r.parse)(t)),a[e]=t;break;case"port":a[e]=t,o(t,a.protocol)?t&&(a.host=a.hostname+":"+t):(a.host=a.hostname,a[e]="");break;case"hostname":a[e]=t,a.port&&(t+=":"+a.port),a.host=t;break;case"host":a[e]=t,c.test(t)?(t=t.split(":"),a.port=t.pop(),a.hostname=t.join(":")):(a.hostname=t,a.port="");break;case"protocol":a.protocol=t.toLowerCase(),a.slashes=!n;break;case"pathname":case"hash":if(t){var i="pathname"===e?"/":"#";a[e]=t.charAt(0)!==i?i+t:t}else a[e]=t;break;case"username":case"password":a[e]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(a.username=t.slice(0,s),a.username=encodeURIComponent(decodeURIComponent(a.username)),a.password=t.slice(s+1),a.password=encodeURIComponent(decodeURIComponent(a.password))):a.username=encodeURIComponent(decodeURIComponent(t))}for(var u=0;u<f.length;u++){var l=f[u];l[4]&&(a[l[1]]=a[l[1]].toLowerCase())}return a.auth=a.password?a.username+":"+a.password:a.username,a.origin="file:"!==a.protocol&&h(a.protocol)&&a.host?a.protocol+"//"+a.host:"null",a.href=a.toString(),a},toString:function(e){e&&"function"==typeof e||(e=r.stringify);var t,n=this,o=n.host,a=n.protocol;a&&":"!==a.charAt(a.length-1)&&(a+=":");var i=a+(n.protocol&&n.slashes||h(n.protocol)?"//":"");return n.username?(i+=n.username,n.password&&(i+=":"+n.password),i+="@"):n.password?(i+=":"+n.password,i+="@"):"file:"!==n.protocol&&h(n.protocol)&&!o&&"/"!==n.pathname&&(i+="@"),(":"===o[o.length-1]||c.test(n.hostname)&&!n.port)&&(o+=":"),i+=o+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},v.extractProtocol=b,v.location=m,v.trimLeft=p,v.qs=r,e.exports=v},94808:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationProvider=t.useNavigation=t.useNavigate=t.useLocation=t.Link=void 0;var o=n(63194);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return o.Link}});var r=n(76267);Object.defineProperty(t,"useLocation",{enumerable:!0,get:function(){return r.useLocation}});var a=n(79207);Object.defineProperty(t,"useNavigate",{enumerable:!0,get:function(){return a.useNavigate}});var i=n(52764);Object.defineProperty(t,"useNavigation",{enumerable:!0,get:function(){return i.useNavigation}}),Object.defineProperty(t,"NavigationProvider",{enumerable:!0,get:function(){return i.NavigationProvider}})},63194:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=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 r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;const i=a(n(41594)),s=n(52764),c=n(46698);t.Link=(0,i.forwardRef)((function(e,t){const n=(0,s.useNavigation)().Link||c.NativeLink;return e.native||e.external?i.default.createElement(c.NativeLink,Object.assign({},e,{ref:t})):i.default.createElement(n,Object.assign({},e,{ref:t}))}))},46698:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=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 r(t,e),t},i=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}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=a(n(41594)),u=s(n(69685)),l=n(63470),p=n(76267),f={rel:"noopener",target:"_blank"};t.NativeLink=(0,c.forwardRef)((function(e,t){var{className:n,style:o,activeClassName:r,activeStyle:a,active:s,strict:d,exact:m,href:h,external:b,native:v,state:_}=e,y=i(e,["className","style","activeClassName","activeStyle","active","strict","exact","href","external","native","state"]);const g=(0,p.useLocation)(),O=!!r||!!a,w=(0,c.useMemo)((()=>!!O&&("boolean"==typeof s?s:!(!g||!h)&&(0,l.compareUrl)(g.pathname,h,{exact:m,strict:d}))),[s,h,g,O]),j=b?f:{},P=(0,c.useMemo)((()=>w&&a?Object.assign(Object.assign({},o),a):o),[w,o]);return c.default.createElement("a",Object.assign({},j,y,{ref:t,href:h,className:(0,u.default)(n,w&&r),style:P}))}))},52764:function(e,t,n){"use strict";var o={id:"teambit.base-react/navigation/link@2.0.31",homepage:"https://bit.cloud/teambit/base-react/navigation/link",exported:!0},r=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=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 a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationProvider=t.useNavigation=t.NavigationContext=void 0;const s=i(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=o,t.useNavigation=c,u.__bit_component=o,t.NavigationProvider=u},76267:(e,t,n)=>{"use strict";var o={id:"teambit.base-react/navigation/link@2.0.31",homepage:"https://bit.cloud/teambit/base-react/navigation/link",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=void 0;const r=n(52764);function a(){return((0,r.useNavigation)().useLocation||i)()}function i(){if("undefined"!=typeof window)return window.location}a.__bit_component=o,t.useLocation=a,i.__bit_component=o},79207:(e,t,n)=>{"use strict";var o={id:"teambit.base-react/navigation/link@2.0.31",homepage:"https://bit.cloud/teambit/base-react/navigation/link",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigate=void 0;const r=n(52764);function a(){var e;const t=(0,r.useNavigation)();return(null===(e=t.useNavigate)||void 0===e?void 0:e.call(t))||i}function i(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:o}=window;"number"==typeof e?o.go(e):t?n.replace(e):n.assign(e)}a.__bit_component=o,t.useNavigate=a,i.__bit_component=o},71069:function(e,t,n){"use strict";var o={id:"teambit.base-ui/routing/compare-url@1.0.1",homepage:"https://bit.dev/teambit/base-ui/routing/compare-url",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;const a=r(n(91448));function i(e,t,{exact:n,strict:o}={}){if(e===t)return!0;o||(e=e.replace(/\/(?=[?#]|$)/,""),t=t.replace(/\/(?=[?#]|$)/,""));const r=(0,a.default)(e),i=(0,a.default)(t),l=s(r,i),p=!n||c(r,i),f=!o||u(r,i);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]))}i.__bit_component=o,t.compareUrl=i,s.__bit_component=o,c.__bit_component=o,u.__bit_component=o,l.__bit_component=o},63470:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;var o=n(71069);Object.defineProperty(t,"compareUrl",{enumerable:!0,get:function(){return o.compareUrl}})},96745:(e,t,n)=>{"use strict";var o={id:"teambit.semantics/schema@1.0.514",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function r(){const e=i(n(41594));return r=function(){return e},e}function a(){const e=n(87597);return a=function(){return e},e}function i(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,r.__bit_component=o,a.__bit_component=o,i.__bit_component=o;const s=()=>r().default.createElement(a().Button,null,"click me");function c({children:e=r().default.createElement(s,null)}){return r().default.createElement(a().Button,null,e)}s.__bit_component=o,t.BasicButton=s,c.__bit_component=o;const u=()=>r().default.createElement(a().Button,{style:{background:"red"}},"click me");u.__bit_component=o,t.ButtonWithCustomStyles=u;const l=()=>r().default.createElement(a().Button,null,"click me");l.__bit_component=o,t.ButtonWithIcon=l;const p=()=>r().default.createElement(a().Button,{href:"https://bit.dev"},"Bit");p.__bit_component=o,t.ButtonAsALink=p},87597:(e,t,n)=>{"use strict";var o={id:"teambit.semantics/schema@1.0.514",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function r(){const e=s(n(41594));return r=function(){return e},e}function a(){const e=n(94808);return a=function(){return e},e}function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=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=i(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=r?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}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 o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c.apply(null,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}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 o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function m(e){const t=(0,r().useRef)(),n=l({},e),o=e.href?.startsWith("http:")||e.href?.startsWith("https:");return r().default.createElement(r().default.Fragment,null,e.href?r().default.createElement(a().Link,c({external:o,ref:t,className:e.className},n),e.children):r().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,r.__bit_component=o,a.__bit_component=o,i.__bit_component=o,s.__bit_component=o,c.__bit_component=o,u.__bit_component=o,l.__bit_component=o,p.__bit_component=o,f.__bit_component=o,d.__bit_component=o,m.__bit_component=o,t.Bar=class{foo(){}}},21410:(e,t,n)=>{"use strict";var o={id:"teambit.semantics/schema@1.0.514",homepage:"https://bit.cloud/teambit/semantics/schema",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=o,a.__bit_component=o;const i=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/code.svg"}));i.__bit_component=o,t.Logo=i},41594:e=>{"use strict";e.exports=React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},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 o={};return(()=>{"use strict";n.r(o),n.d(o,{compositions:()=>f,compositions_metadata:()=>m,overview:()=>d});var e={};n.r(e),n.d(e,{default:()=>p});var t=n(21410),r=n(96745);n(41594);const a=MdxJsReact,i=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 o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}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,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,s);return(0,a.mdx)(l,c({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}p.isMDXComponent=!0;const f=[t,r],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"}]}})(),o})()));
@@ -139,7 +139,12 @@
139
139
  "line": 12,
140
140
  "character": 54
141
141
  },
142
- "name": "Export"
142
+ "name": "Export",
143
+ "componentId": {
144
+ "scope": "teambit.semantics",
145
+ "name": "entities/semantic-schema",
146
+ "version": "0.0.77"
147
+ }
143
148
  }
144
149
  },
145
150
  "modifiers": []
@@ -203,7 +208,11 @@
203
208
  "line": 9,
204
209
  "character": 22
205
210
  },
206
- "name": "Component"
211
+ "name": "Component",
212
+ "componentId": {
213
+ "scope": "teambit.component",
214
+ "name": "component"
215
+ }
207
216
  },
208
217
  "isOptional": false,
209
218
  "isSpread": false
@@ -245,7 +254,12 @@
245
254
  "line": 9,
246
255
  "character": 76
247
256
  },
248
- "name": "APISchema"
257
+ "name": "APISchema",
258
+ "componentId": {
259
+ "scope": "teambit.semantics",
260
+ "name": "entities/semantic-schema",
261
+ "version": "0.0.77"
262
+ }
249
263
  }
250
264
  ]
251
265
  },
@@ -329,7 +343,11 @@
329
343
  "line": 20,
330
344
  "character": 15
331
345
  },
332
- "name": "Formatter"
346
+ "name": "Formatter",
347
+ "componentId": {
348
+ "scope": "teambit.defender",
349
+ "name": "formatter"
350
+ }
333
351
  },
334
352
  "isOptional": true
335
353
  },
@@ -559,7 +577,11 @@
559
577
  "line": 30,
560
578
  "character": 21
561
579
  },
562
- "name": "Logger"
580
+ "name": "Logger",
581
+ "componentId": {
582
+ "scope": "teambit.harmony",
583
+ "name": "logger"
584
+ }
563
585
  },
564
586
  "isOptional": false,
565
587
  "isSpread": false
@@ -601,7 +623,11 @@
601
623
  "line": 33,
602
624
  "character": 26
603
625
  },
604
- "name": "BuildContext"
626
+ "name": "BuildContext",
627
+ "componentId": {
628
+ "scope": "teambit.pipelines",
629
+ "name": "builder"
630
+ }
605
631
  },
606
632
  "isOptional": false,
607
633
  "isSpread": false
@@ -623,7 +649,11 @@
623
649
  "line": 33,
624
650
  "character": 49
625
651
  },
626
- "name": "BuiltTaskResult"
652
+ "name": "BuiltTaskResult",
653
+ "componentId": {
654
+ "scope": "teambit.pipelines",
655
+ "name": "builder"
656
+ }
627
657
  }
628
658
  ]
629
659
  },
@@ -655,7 +685,7 @@
655
685
  "_legacy": {
656
686
  "scope": "teambit.semantics",
657
687
  "name": "schema",
658
- "version": "1.0.513"
688
+ "version": "1.0.514"
659
689
  },
660
690
  "_scope": "teambit.semantics"
661
691
  }
@@ -844,6 +874,10 @@
844
874
  "character": 22
845
875
  },
846
876
  "name": "EnvHandler",
877
+ "componentId": {
878
+ "scope": "teambit.envs",
879
+ "name": "envs"
880
+ },
847
881
  "typeArgs": [
848
882
  {
849
883
  "__schema": "TypeRefSchema",
@@ -917,7 +951,8 @@
917
951
  "line": 49,
918
952
  "character": 25
919
953
  },
920
- "name": "ParserSlot"
954
+ "name": "ParserSlot",
955
+ "internalFilePath": "schema.main.runtime.ts"
921
956
  },
922
957
  "isOptional": false,
923
958
  "isSpread": false
@@ -937,7 +972,11 @@
937
972
  "line": 51,
938
973
  "character": 19
939
974
  },
940
- "name": "EnvsMain"
975
+ "name": "EnvsMain",
976
+ "componentId": {
977
+ "scope": "teambit.envs",
978
+ "name": "envs"
979
+ }
941
980
  },
942
981
  "isOptional": false,
943
982
  "isSpread": false
@@ -957,7 +996,8 @@
957
996
  "line": 53,
958
997
  "character": 21
959
998
  },
960
- "name": "SchemaConfig"
999
+ "name": "SchemaConfig",
1000
+ "internalFilePath": "schema.main.runtime.ts"
961
1001
  },
962
1002
  "isOptional": false,
963
1003
  "isSpread": false
@@ -977,7 +1017,11 @@
977
1017
  "line": 55,
978
1018
  "character": 22
979
1019
  },
980
- "name": "BuilderMain"
1020
+ "name": "BuilderMain",
1021
+ "componentId": {
1022
+ "scope": "teambit.pipelines",
1023
+ "name": "builder"
1024
+ }
981
1025
  },
982
1026
  "isOptional": false,
983
1027
  "isSpread": false
@@ -997,7 +1041,11 @@
997
1041
  "line": 57,
998
1042
  "character": 24
999
1043
  },
1000
- "name": "Workspace"
1044
+ "name": "Workspace",
1045
+ "componentId": {
1046
+ "scope": "teambit.workspace",
1047
+ "name": "workspace"
1048
+ }
1001
1049
  },
1002
1050
  "isOptional": false,
1003
1051
  "isSpread": false
@@ -1017,7 +1065,11 @@
1017
1065
  "line": 59,
1018
1066
  "character": 21
1019
1067
  },
1020
- "name": "Logger"
1068
+ "name": "Logger",
1069
+ "componentId": {
1070
+ "scope": "teambit.harmony",
1071
+ "name": "logger"
1072
+ }
1021
1073
  },
1022
1074
  "isOptional": false,
1023
1075
  "isSpread": false
@@ -1091,7 +1143,12 @@
1091
1143
  "line": 69,
1092
1144
  "character": 31
1093
1145
  },
1094
- "name": "SchemaNodeConstructor"
1146
+ "name": "SchemaNodeConstructor",
1147
+ "componentId": {
1148
+ "scope": "teambit.semantics",
1149
+ "name": "entities/semantic-schema",
1150
+ "version": "0.0.77"
1151
+ }
1095
1152
  },
1096
1153
  "isOptional": false,
1097
1154
  "isSpread": false
@@ -1184,7 +1241,12 @@
1184
1241
  "line": 76,
1185
1242
  "character": 48
1186
1243
  },
1187
- "name": "Export"
1244
+ "name": "Export",
1245
+ "componentId": {
1246
+ "scope": "teambit.semantics",
1247
+ "name": "entities/semantic-schema",
1248
+ "version": "0.0.77"
1249
+ }
1188
1250
  }
1189
1251
  },
1190
1252
  "modifiers": []
@@ -1214,7 +1276,11 @@
1214
1276
  "line": 91,
1215
1277
  "character": 33
1216
1278
  },
1217
- "name": "Component"
1279
+ "name": "Component",
1280
+ "componentId": {
1281
+ "scope": "teambit.component",
1282
+ "name": "component"
1283
+ }
1218
1284
  },
1219
1285
  "isOptional": false,
1220
1286
  "isSpread": false
@@ -1330,7 +1396,11 @@
1330
1396
  "line": 109,
1331
1397
  "character": 16
1332
1398
  },
1333
- "name": "Component"
1399
+ "name": "Component",
1400
+ "componentId": {
1401
+ "scope": "teambit.component",
1402
+ "name": "component"
1403
+ }
1334
1404
  },
1335
1405
  "isOptional": false,
1336
1406
  "isSpread": false
@@ -1459,7 +1529,11 @@
1459
1529
  "line": 115,
1460
1530
  "character": 26
1461
1531
  },
1462
- "name": "SchemaTransformer"
1532
+ "name": "SchemaTransformer",
1533
+ "componentId": {
1534
+ "scope": "teambit.typescript",
1535
+ "name": "typescript"
1536
+ }
1463
1537
  }
1464
1538
  },
1465
1539
  "isOptional": true,
@@ -1487,7 +1561,11 @@
1487
1561
  "line": 116,
1488
1562
  "character": 23
1489
1563
  },
1490
- "name": "SchemaNodeTransformer"
1564
+ "name": "SchemaNodeTransformer",
1565
+ "componentId": {
1566
+ "scope": "teambit.typescript",
1567
+ "name": "typescript"
1568
+ }
1491
1569
  }
1492
1570
  },
1493
1571
  "isOptional": true,
@@ -1510,7 +1588,12 @@
1510
1588
  "line": 117,
1511
1589
  "character": 14
1512
1590
  },
1513
- "name": "APISchema"
1591
+ "name": "APISchema",
1592
+ "componentId": {
1593
+ "scope": "teambit.semantics",
1594
+ "name": "entities/semantic-schema",
1595
+ "version": "0.0.77"
1596
+ }
1514
1597
  }
1515
1598
  ]
1516
1599
  },
@@ -1718,7 +1801,11 @@
1718
1801
  "line": 198,
1719
1802
  "character": 28
1720
1803
  },
1721
- "name": "Component"
1804
+ "name": "Component",
1805
+ "componentId": {
1806
+ "scope": "teambit.component",
1807
+ "name": "component"
1808
+ }
1722
1809
  },
1723
1810
  "isOptional": false,
1724
1811
  "isSpread": false
@@ -1760,7 +1847,11 @@
1760
1847
  "line": 202,
1761
1848
  "character": 35
1762
1849
  },
1763
- "name": "Component"
1850
+ "name": "Component",
1851
+ "componentId": {
1852
+ "scope": "teambit.component",
1853
+ "name": "component"
1854
+ }
1764
1855
  },
1765
1856
  "isOptional": false,
1766
1857
  "isSpread": false
@@ -1894,7 +1985,11 @@
1894
1985
  "line": 226,
1895
1986
  "character": 7
1896
1987
  },
1897
- "name": "EnvsMain"
1988
+ "name": "EnvsMain",
1989
+ "componentId": {
1990
+ "scope": "teambit.envs",
1991
+ "name": "envs"
1992
+ }
1898
1993
  },
1899
1994
  {
1900
1995
  "__schema": "TypeRefSchema",
@@ -1903,7 +1998,11 @@
1903
1998
  "line": 227,
1904
1999
  "character": 7
1905
2000
  },
1906
- "name": "CLIMain"
2001
+ "name": "CLIMain",
2002
+ "componentId": {
2003
+ "scope": "teambit.harmony",
2004
+ "name": "cli"
2005
+ }
1907
2006
  },
1908
2007
  {
1909
2008
  "__schema": "TypeRefSchema",
@@ -1912,7 +2011,11 @@
1912
2011
  "line": 228,
1913
2012
  "character": 7
1914
2013
  },
1915
- "name": "ComponentMain"
2014
+ "name": "ComponentMain",
2015
+ "componentId": {
2016
+ "scope": "teambit.component",
2017
+ "name": "component"
2018
+ }
1916
2019
  },
1917
2020
  {
1918
2021
  "__schema": "TypeRefSchema",
@@ -1921,7 +2024,11 @@
1921
2024
  "line": 229,
1922
2025
  "character": 7
1923
2026
  },
1924
- "name": "GraphqlMain"
2027
+ "name": "GraphqlMain",
2028
+ "componentId": {
2029
+ "scope": "teambit.harmony",
2030
+ "name": "graphql"
2031
+ }
1925
2032
  },
1926
2033
  {
1927
2034
  "__schema": "TypeRefSchema",
@@ -1930,7 +2037,11 @@
1930
2037
  "line": 230,
1931
2038
  "character": 7
1932
2039
  },
1933
- "name": "LoggerMain"
2040
+ "name": "LoggerMain",
2041
+ "componentId": {
2042
+ "scope": "teambit.harmony",
2043
+ "name": "logger"
2044
+ }
1934
2045
  },
1935
2046
  {
1936
2047
  "__schema": "TypeRefSchema",
@@ -1939,7 +2050,11 @@
1939
2050
  "line": 231,
1940
2051
  "character": 7
1941
2052
  },
1942
- "name": "BuilderMain"
2053
+ "name": "BuilderMain",
2054
+ "componentId": {
2055
+ "scope": "teambit.pipelines",
2056
+ "name": "builder"
2057
+ }
1943
2058
  },
1944
2059
  {
1945
2060
  "__schema": "TypeRefSchema",
@@ -1948,7 +2063,11 @@
1948
2063
  "line": 232,
1949
2064
  "character": 7
1950
2065
  },
1951
- "name": "Workspace"
2066
+ "name": "Workspace",
2067
+ "componentId": {
2068
+ "scope": "teambit.workspace",
2069
+ "name": "workspace"
2070
+ }
1952
2071
  },
1953
2072
  {
1954
2073
  "__schema": "TypeRefSchema",
@@ -1957,7 +2076,11 @@
1957
2076
  "line": 233,
1958
2077
  "character": 7
1959
2078
  },
1960
- "name": "ScopeMain"
2079
+ "name": "ScopeMain",
2080
+ "componentId": {
2081
+ "scope": "teambit.scope",
2082
+ "name": "scope"
2083
+ }
1961
2084
  }
1962
2085
  ]
1963
2086
  },
@@ -1979,7 +2102,8 @@
1979
2102
  "line": 235,
1980
2103
  "character": 13
1981
2104
  },
1982
- "name": "SchemaConfig"
2105
+ "name": "SchemaConfig",
2106
+ "internalFilePath": "schema.main.runtime.ts"
1983
2107
  },
1984
2108
  "isOptional": false,
1985
2109
  "isSpread": false
@@ -2007,7 +2131,8 @@
2007
2131
  "line": 236,
2008
2132
  "character": 20
2009
2133
  },
2010
- "name": "ParserSlot"
2134
+ "name": "ParserSlot",
2135
+ "internalFilePath": "schema.main.runtime.ts"
2011
2136
  }
2012
2137
  ]
2013
2138
  },
@@ -2209,7 +2334,12 @@
2209
2334
  "line": 12,
2210
2335
  "character": 54
2211
2336
  },
2212
- "name": "Export"
2337
+ "name": "Export",
2338
+ "componentId": {
2339
+ "scope": "teambit.semantics",
2340
+ "name": "entities/semantic-schema",
2341
+ "version": "0.0.77"
2342
+ }
2213
2343
  }
2214
2344
  },
2215
2345
  "modifiers": []
@@ -2274,7 +2404,11 @@
2274
2404
  "line": 9,
2275
2405
  "character": 22
2276
2406
  },
2277
- "name": "Component"
2407
+ "name": "Component",
2408
+ "componentId": {
2409
+ "scope": "teambit.component",
2410
+ "name": "component"
2411
+ }
2278
2412
  },
2279
2413
  "isOptional": false,
2280
2414
  "isSpread": false
@@ -2316,7 +2450,12 @@
2316
2450
  "line": 9,
2317
2451
  "character": 76
2318
2452
  },
2319
- "name": "APISchema"
2453
+ "name": "APISchema",
2454
+ "componentId": {
2455
+ "scope": "teambit.semantics",
2456
+ "name": "entities/semantic-schema",
2457
+ "version": "0.0.77"
2458
+ }
2320
2459
  }
2321
2460
  ]
2322
2461
  },
@@ -2390,7 +2529,11 @@
2390
2529
  "line": 20,
2391
2530
  "character": 15
2392
2531
  },
2393
- "name": "Formatter"
2532
+ "name": "Formatter",
2533
+ "componentId": {
2534
+ "scope": "teambit.defender",
2535
+ "name": "formatter"
2536
+ }
2394
2537
  },
2395
2538
  "isOptional": true
2396
2539
  },
@@ -2663,7 +2806,11 @@
2663
2806
  "line": 30,
2664
2807
  "character": 21
2665
2808
  },
2666
- "name": "Logger"
2809
+ "name": "Logger",
2810
+ "componentId": {
2811
+ "scope": "teambit.harmony",
2812
+ "name": "logger"
2813
+ }
2667
2814
  },
2668
2815
  "isOptional": false,
2669
2816
  "isSpread": false
@@ -2705,7 +2852,11 @@
2705
2852
  "line": 33,
2706
2853
  "character": 26
2707
2854
  },
2708
- "name": "BuildContext"
2855
+ "name": "BuildContext",
2856
+ "componentId": {
2857
+ "scope": "teambit.pipelines",
2858
+ "name": "builder"
2859
+ }
2709
2860
  },
2710
2861
  "isOptional": false,
2711
2862
  "isSpread": false
@@ -2727,7 +2878,11 @@
2727
2878
  "line": 33,
2728
2879
  "character": 49
2729
2880
  },
2730
- "name": "BuiltTaskResult"
2881
+ "name": "BuiltTaskResult",
2882
+ "componentId": {
2883
+ "scope": "teambit.pipelines",
2884
+ "name": "builder"
2885
+ }
2731
2886
  }
2732
2887
  ]
2733
2888
  },
@@ -2759,7 +2914,7 @@
2759
2914
  "_legacy": {
2760
2915
  "scope": "teambit.semantics",
2761
2916
  "name": "schema",
2762
- "version": "1.0.513"
2917
+ "version": "1.0.514"
2763
2918
  },
2764
2919
  "_scope": "teambit.semantics"
2765
2920
  }
@@ -2867,6 +3022,10 @@
2867
3022
  "character": 22
2868
3023
  },
2869
3024
  "name": "EnvHandler",
3025
+ "componentId": {
3026
+ "scope": "teambit.envs",
3027
+ "name": "envs"
3028
+ },
2870
3029
  "typeArgs": [
2871
3030
  {
2872
3031
  "__schema": "TypeRefSchema",
@@ -2912,6 +3071,11 @@
2912
3071
  "character": 26
2913
3072
  },
2914
3073
  "name": "SlotRegistry",
3074
+ "componentId": {
3075
+ "scope": "teambit.harmony",
3076
+ "name": "harmony",
3077
+ "version": "0.4.6"
3078
+ },
2915
3079
  "typeArgs": [
2916
3080
  {
2917
3081
  "__schema": "TypeRefSchema",
@@ -3053,7 +3217,8 @@
3053
3217
  "line": 49,
3054
3218
  "character": 25
3055
3219
  },
3056
- "name": "ParserSlot"
3220
+ "name": "ParserSlot",
3221
+ "internalFilePath": "schema.main.runtime.ts"
3057
3222
  },
3058
3223
  "isOptional": false,
3059
3224
  "isSpread": false
@@ -3073,7 +3238,11 @@
3073
3238
  "line": 51,
3074
3239
  "character": 19
3075
3240
  },
3076
- "name": "EnvsMain"
3241
+ "name": "EnvsMain",
3242
+ "componentId": {
3243
+ "scope": "teambit.envs",
3244
+ "name": "envs"
3245
+ }
3077
3246
  },
3078
3247
  "isOptional": false,
3079
3248
  "isSpread": false
@@ -3093,7 +3262,8 @@
3093
3262
  "line": 53,
3094
3263
  "character": 21
3095
3264
  },
3096
- "name": "SchemaConfig"
3265
+ "name": "SchemaConfig",
3266
+ "internalFilePath": "schema.main.runtime.ts"
3097
3267
  },
3098
3268
  "isOptional": false,
3099
3269
  "isSpread": false
@@ -3113,7 +3283,11 @@
3113
3283
  "line": 55,
3114
3284
  "character": 22
3115
3285
  },
3116
- "name": "BuilderMain"
3286
+ "name": "BuilderMain",
3287
+ "componentId": {
3288
+ "scope": "teambit.pipelines",
3289
+ "name": "builder"
3290
+ }
3117
3291
  },
3118
3292
  "isOptional": false,
3119
3293
  "isSpread": false
@@ -3133,7 +3307,11 @@
3133
3307
  "line": 57,
3134
3308
  "character": 24
3135
3309
  },
3136
- "name": "Workspace"
3310
+ "name": "Workspace",
3311
+ "componentId": {
3312
+ "scope": "teambit.workspace",
3313
+ "name": "workspace"
3314
+ }
3137
3315
  },
3138
3316
  "isOptional": false,
3139
3317
  "isSpread": false
@@ -3153,7 +3331,11 @@
3153
3331
  "line": 59,
3154
3332
  "character": 21
3155
3333
  },
3156
- "name": "Logger"
3334
+ "name": "Logger",
3335
+ "componentId": {
3336
+ "scope": "teambit.harmony",
3337
+ "name": "logger"
3338
+ }
3157
3339
  },
3158
3340
  "isOptional": false,
3159
3341
  "isSpread": false
@@ -3227,7 +3409,12 @@
3227
3409
  "line": 69,
3228
3410
  "character": 31
3229
3411
  },
3230
- "name": "SchemaNodeConstructor"
3412
+ "name": "SchemaNodeConstructor",
3413
+ "componentId": {
3414
+ "scope": "teambit.semantics",
3415
+ "name": "entities/semantic-schema",
3416
+ "version": "0.0.77"
3417
+ }
3231
3418
  },
3232
3419
  "isOptional": false,
3233
3420
  "isSpread": false
@@ -3320,7 +3507,12 @@
3320
3507
  "line": 76,
3321
3508
  "character": 48
3322
3509
  },
3323
- "name": "Export"
3510
+ "name": "Export",
3511
+ "componentId": {
3512
+ "scope": "teambit.semantics",
3513
+ "name": "entities/semantic-schema",
3514
+ "version": "0.0.77"
3515
+ }
3324
3516
  }
3325
3517
  },
3326
3518
  "modifiers": []
@@ -3350,7 +3542,11 @@
3350
3542
  "line": 91,
3351
3543
  "character": 33
3352
3544
  },
3353
- "name": "Component"
3545
+ "name": "Component",
3546
+ "componentId": {
3547
+ "scope": "teambit.component",
3548
+ "name": "component"
3549
+ }
3354
3550
  },
3355
3551
  "isOptional": false,
3356
3552
  "isSpread": false
@@ -3466,7 +3662,11 @@
3466
3662
  "line": 109,
3467
3663
  "character": 16
3468
3664
  },
3469
- "name": "Component"
3665
+ "name": "Component",
3666
+ "componentId": {
3667
+ "scope": "teambit.component",
3668
+ "name": "component"
3669
+ }
3470
3670
  },
3471
3671
  "isOptional": false,
3472
3672
  "isSpread": false
@@ -3595,7 +3795,11 @@
3595
3795
  "line": 115,
3596
3796
  "character": 26
3597
3797
  },
3598
- "name": "SchemaTransformer"
3798
+ "name": "SchemaTransformer",
3799
+ "componentId": {
3800
+ "scope": "teambit.typescript",
3801
+ "name": "typescript"
3802
+ }
3599
3803
  }
3600
3804
  },
3601
3805
  "isOptional": true,
@@ -3623,7 +3827,11 @@
3623
3827
  "line": 116,
3624
3828
  "character": 23
3625
3829
  },
3626
- "name": "SchemaNodeTransformer"
3830
+ "name": "SchemaNodeTransformer",
3831
+ "componentId": {
3832
+ "scope": "teambit.typescript",
3833
+ "name": "typescript"
3834
+ }
3627
3835
  }
3628
3836
  },
3629
3837
  "isOptional": true,
@@ -3646,7 +3854,12 @@
3646
3854
  "line": 117,
3647
3855
  "character": 14
3648
3856
  },
3649
- "name": "APISchema"
3857
+ "name": "APISchema",
3858
+ "componentId": {
3859
+ "scope": "teambit.semantics",
3860
+ "name": "entities/semantic-schema",
3861
+ "version": "0.0.77"
3862
+ }
3650
3863
  }
3651
3864
  ]
3652
3865
  },
@@ -3854,7 +4067,11 @@
3854
4067
  "line": 198,
3855
4068
  "character": 28
3856
4069
  },
3857
- "name": "Component"
4070
+ "name": "Component",
4071
+ "componentId": {
4072
+ "scope": "teambit.component",
4073
+ "name": "component"
4074
+ }
3858
4075
  },
3859
4076
  "isOptional": false,
3860
4077
  "isSpread": false
@@ -3896,7 +4113,11 @@
3896
4113
  "line": 202,
3897
4114
  "character": 35
3898
4115
  },
3899
- "name": "Component"
4116
+ "name": "Component",
4117
+ "componentId": {
4118
+ "scope": "teambit.component",
4119
+ "name": "component"
4120
+ }
3900
4121
  },
3901
4122
  "isOptional": false,
3902
4123
  "isSpread": false
@@ -4030,7 +4251,11 @@
4030
4251
  "line": 226,
4031
4252
  "character": 7
4032
4253
  },
4033
- "name": "EnvsMain"
4254
+ "name": "EnvsMain",
4255
+ "componentId": {
4256
+ "scope": "teambit.envs",
4257
+ "name": "envs"
4258
+ }
4034
4259
  },
4035
4260
  {
4036
4261
  "__schema": "TypeRefSchema",
@@ -4039,7 +4264,11 @@
4039
4264
  "line": 227,
4040
4265
  "character": 7
4041
4266
  },
4042
- "name": "CLIMain"
4267
+ "name": "CLIMain",
4268
+ "componentId": {
4269
+ "scope": "teambit.harmony",
4270
+ "name": "cli"
4271
+ }
4043
4272
  },
4044
4273
  {
4045
4274
  "__schema": "TypeRefSchema",
@@ -4048,7 +4277,11 @@
4048
4277
  "line": 228,
4049
4278
  "character": 7
4050
4279
  },
4051
- "name": "ComponentMain"
4280
+ "name": "ComponentMain",
4281
+ "componentId": {
4282
+ "scope": "teambit.component",
4283
+ "name": "component"
4284
+ }
4052
4285
  },
4053
4286
  {
4054
4287
  "__schema": "TypeRefSchema",
@@ -4057,7 +4290,11 @@
4057
4290
  "line": 229,
4058
4291
  "character": 7
4059
4292
  },
4060
- "name": "GraphqlMain"
4293
+ "name": "GraphqlMain",
4294
+ "componentId": {
4295
+ "scope": "teambit.harmony",
4296
+ "name": "graphql"
4297
+ }
4061
4298
  },
4062
4299
  {
4063
4300
  "__schema": "TypeRefSchema",
@@ -4066,7 +4303,11 @@
4066
4303
  "line": 230,
4067
4304
  "character": 7
4068
4305
  },
4069
- "name": "LoggerMain"
4306
+ "name": "LoggerMain",
4307
+ "componentId": {
4308
+ "scope": "teambit.harmony",
4309
+ "name": "logger"
4310
+ }
4070
4311
  },
4071
4312
  {
4072
4313
  "__schema": "TypeRefSchema",
@@ -4075,7 +4316,11 @@
4075
4316
  "line": 231,
4076
4317
  "character": 7
4077
4318
  },
4078
- "name": "BuilderMain"
4319
+ "name": "BuilderMain",
4320
+ "componentId": {
4321
+ "scope": "teambit.pipelines",
4322
+ "name": "builder"
4323
+ }
4079
4324
  },
4080
4325
  {
4081
4326
  "__schema": "TypeRefSchema",
@@ -4084,7 +4329,11 @@
4084
4329
  "line": 232,
4085
4330
  "character": 7
4086
4331
  },
4087
- "name": "Workspace"
4332
+ "name": "Workspace",
4333
+ "componentId": {
4334
+ "scope": "teambit.workspace",
4335
+ "name": "workspace"
4336
+ }
4088
4337
  },
4089
4338
  {
4090
4339
  "__schema": "TypeRefSchema",
@@ -4093,7 +4342,11 @@
4093
4342
  "line": 233,
4094
4343
  "character": 7
4095
4344
  },
4096
- "name": "ScopeMain"
4345
+ "name": "ScopeMain",
4346
+ "componentId": {
4347
+ "scope": "teambit.scope",
4348
+ "name": "scope"
4349
+ }
4097
4350
  }
4098
4351
  ]
4099
4352
  },
@@ -4115,7 +4368,8 @@
4115
4368
  "line": 235,
4116
4369
  "character": 13
4117
4370
  },
4118
- "name": "SchemaConfig"
4371
+ "name": "SchemaConfig",
4372
+ "internalFilePath": "schema.main.runtime.ts"
4119
4373
  },
4120
4374
  "isOptional": false,
4121
4375
  "isSpread": false
@@ -4143,7 +4397,8 @@
4143
4397
  "line": 236,
4144
4398
  "character": 20
4145
4399
  },
4146
- "name": "ParserSlot"
4400
+ "name": "ParserSlot",
4401
+ "internalFilePath": "schema.main.runtime.ts"
4147
4402
  }
4148
4403
  ]
4149
4404
  },
@@ -4234,7 +4489,7 @@
4234
4489
  "componentId": {
4235
4490
  "scope": "teambit.semantics",
4236
4491
  "name": "schema",
4237
- "version": "1.0.513"
4492
+ "version": "1.0.514"
4238
4493
  },
4239
4494
  "taggedModuleExports": []
4240
4495
  }
@@ -1,6 +1,6 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.513/dist/schema.composition.js';
2
- import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.513/dist/mock/button/button.composition.js';
3
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.513/dist/schema.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.514/dist/schema.composition.js';
2
+ import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.514/dist/mock/button/button.composition.js';
3
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.514/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.513",
3
+ "version": "1.0.514",
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.513"
9
+ "version": "1.0.514"
10
10
  },
11
11
  "dependencies": {
12
12
  "p-map-series": "2.1.0",
@@ -15,32 +15,32 @@
15
15
  "fs-extra": "10.0.0",
16
16
  "@teambit/harmony": "0.4.6",
17
17
  "@teambit/semantics.entities.semantic-schema": "0.0.77",
18
- "@teambit/envs": "1.0.513",
19
- "@teambit/component": "1.0.513",
20
- "@teambit/formatter": "1.0.513",
21
- "@teambit/cli": "0.0.1090",
22
- "@teambit/legacy.constants": "0.0.5",
23
- "@teambit/logger": "0.0.1183",
24
- "@teambit/graphql": "1.0.513",
25
- "@teambit/builder": "1.0.513",
18
+ "@teambit/envs": "1.0.514",
19
+ "@teambit/component": "1.0.514",
20
+ "@teambit/formatter": "1.0.514",
21
+ "@teambit/cli": "0.0.1091",
22
+ "@teambit/legacy.constants": "0.0.6",
23
+ "@teambit/logger": "0.0.1184",
24
+ "@teambit/graphql": "1.0.514",
25
+ "@teambit/builder": "1.0.514",
26
26
  "@teambit/defender.prettier.config-mutator": "0.0.103",
27
- "@teambit/scope": "1.0.513",
28
- "@teambit/typescript": "1.0.513",
29
- "@teambit/workspace": "1.0.513"
27
+ "@teambit/scope": "1.0.514",
28
+ "@teambit/typescript": "1.0.514",
29
+ "@teambit/workspace": "1.0.514"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/fs-extra": "9.0.7",
33
33
  "chai-subset": "^1.6.0",
34
- "chai": "4.3.0",
35
34
  "@types/mocha": "9.1.0",
36
35
  "@teambit/component-id": "1.2.2",
37
- "@teambit/harmony.envs.core-aspect-env": "0.0.65",
38
- "@teambit/harmony.testing.load-aspect": "0.0.274",
39
- "@teambit/tracker": "1.0.513",
40
- "@teambit/workspace.testing.mock-workspace": "0.0.46"
36
+ "@teambit/harmony.envs.core-aspect-env": "0.0.68",
37
+ "@teambit/harmony.testing.load-aspect": "0.0.275",
38
+ "@teambit/tracker": "1.0.514",
39
+ "@teambit/workspace.testing.mock-workspace": "0.0.47"
41
40
  },
42
41
  "peerDependencies": {
43
42
  "react": "^17.0.0 || ^18.0.0",
43
+ "chai": "4.3.0",
44
44
  "@types/react": "^17.0.73",
45
45
  "@types/chai": "4.3.19",
46
46
  "@teambit/base-react.navigation.link": "2.0.31"