@teambit/bit 1.8.8 → 1.8.9
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.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_harmony_bit-preview.js +1 -1
- package/artifacts/schema.json +1 -1
- package/dist/bootstrap.d.ts +1 -0
- package/dist/bootstrap.js +1 -0
- package/dist/bootstrap.js.map +1 -1
- package/dist/{preview-1722482331078.js → preview-1722530524104.js} +2 -2
- package/dist/server-commander.d.ts +4 -1
- package/dist/server-commander.js +20 -5
- package/dist/server-commander.js.map +1 -1
- package/package.json +113 -113
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
|
3
|
-
<testsuite name="teambit.harmony/bit@1.8.
|
|
3
|
+
<testsuite name="teambit.harmony/bit@1.8.9" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see teambit_harmony_bit-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.harmony/bit-preview"]=t():e["teambit.harmony/bit-preview"]=t()}(self,(()=>(()=>{var e={88443:(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 i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=r.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)o.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},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 i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===i)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,i,a=[];for(i in"string"!=typeof t&&(t="?"),e)if(n.call(e,i)){if((o=e[i])||null!=o&&!isNaN(o)||(o=""),i=r(i),o=r(o),null===i||null===o)continue;a.push(i+"="+o)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,r={};t=n.exec(e);){var i=o(t[1]),a=o(t[2]);null===i||null===a||i in r||(r[i]=a)}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}},67114:(e,t,n)=>{"use strict";var o=n(91788),r=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 u(e){return(e||"").toString().replace(s,"")}var c=[["#","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 d(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 f(unescape(e.pathname),{});else if("string"===a)for(t in r=new f(e,{}),l)delete r[t];else if("object"===a){for(t in e)t in l||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=i.test(e.href))}return r}function p(e){e=u(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 f(e,t,n){if(e=u(e),!(this instanceof f))return new f(e,t,n);var i,a,s,l,m,b,_=c.slice(),h=typeof t,y=this,v=0;for("object"!==h&&"string"!==h&&(n=t,t=null),n&&"function"!=typeof n&&(n=r.parse),t=d(t),i=!(a=p(e||"")).protocol&&!a.slashes,y.slashes=a.slashes||i&&t.slashes,y.protocol=a.protocol||t.protocol||"",e=a.rest,a.slashes||(_[3]=[/(.*)/,"pathname"]);v<_.length;v++)"function"!=typeof(l=_[v])?(s=l[0],b=l[1],s!=s?y[b]=e:"string"==typeof s?~(m=e.indexOf(s))&&("number"==typeof l[2]?(y[b]=e.slice(0,m),e=e.slice(m+l[2])):(y[b]=e.slice(m),e=e.slice(0,m))):(m=s.exec(e))&&(y[b]=m[1],e=e.slice(0,m.index)),y[b]=y[b]||i&&l[3]&&t[b]||"",l[4]&&(y[b]=y[b].toLowerCase())):e=l(e);n&&(y.query=n(y.query)),i&&t.slashes&&"/"!==y.pathname.charAt(0)&&(""!==y.pathname||""!==t.pathname)&&(y.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],i=!1,a=0;o--;)"."===n[o]?n.splice(o,1):".."===n[o]?(n.splice(o,1),a++):a&&(0===o&&(i=!0),n.splice(o,1),a--);return i&&n.unshift(""),"."!==r&&".."!==r||n.push(""),n.join("/")}(y.pathname,t.pathname)),"/"!==y.pathname.charAt(0)&&y.hostname&&(y.pathname="/"+y.pathname),o(y.port,y.protocol)||(y.host=y.hostname,y.port=""),y.username=y.password="",y.auth&&(l=y.auth.split(":"),y.username=l[0]||"",y.password=l[1]||""),y.origin=y.protocol&&y.host&&"file:"!==y.protocol?y.protocol+"//"+y.host:"null",y.href=y.toString()}f.prototype={set:function(e,t,n){var i=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||r.parse)(t)),i[e]=t;break;case"port":i[e]=t,o(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<c.length;s++){var u=c[s];u[4]&&(i[u[1]]=i[u[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=r.stringify);var t,n=this,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var i=o+(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}},f.extractProtocol=p,f.location=d,f.trimLeft=u,f.qs=r,e.exports=f},92495:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseImage=void 0;const i=r(n(41594)),a=r(n(88443)),s=r(n(18142));function u(e){var{alt:t,className:n,fullWidth:r}=e,u=o(e,["alt","className","fullWidth"]);return i.default.createElement("img",Object.assign({"data-bit-id":"teambit.base-ui/elements/image",alt:t},u,{className:a.default(s.default.image,r&&s.default.fullWidth,n)}))}u.__bit_component={id:"teambit.base-ui/elements/image@1.0.0",homepage:"https://bit.dev/teambit/base-ui/elements/image",exported:!0},t.BaseImage=u},83802:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(92495),t)},93926:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterColumn=void 0;const i=r(n(41594)),a=r(n(88443)),s=r(n(10428));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.centerColumn,n)},r),t)}u.__bit_component={id:"teambit.base-ui/layout/page-frame@1.0.2",homepage:"https://bit.dev/teambit/base-ui/layout/page-frame",exported:!0},t.CenterColumn=u},95804:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterColumn=t.WideColumn=t.textColumn=t.wideColumn=t.centerColumn=void 0;const r=o(n(10428));t.centerColumn=r.default.centerColumn,t.wideColumn=r.default.wideColumn,t.textColumn=r.default.textColumn;var i=n(5600);Object.defineProperty(t,"WideColumn",{enumerable:!0,get:function(){return i.WideColumn}});var a=n(93926);Object.defineProperty(t,"CenterColumn",{enumerable:!0,get:function(){return a.CenterColumn}})},5600:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WideColumn=void 0;const i=r(n(41594)),a=r(n(88443)),s=r(n(10428));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.wideColumn,n)},r),t)}u.__bit_component={id:"teambit.base-ui/layout/page-frame@1.0.2",homepage:"https://bit.dev/teambit/base-ui/layout/page-frame",exported:!0},t.WideColumn=u},55829:function(e,t,n){"use strict";var o={id:"teambit.base-ui/routing/compare-url@1.0.0",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 i=r(n(67114));function a(e,t,{exact:n,strict:o}={}){if(e===t)return!0;o||(e=e.replace(/\/(?=[?#]|$)/,""),t=t.replace(/\/(?=[?#]|$)/,""));const r=i.default(e),a=i.default(t),l=s(r,a),d=!n||u(r,a),p=!o||c(r,a);return l&&d&&p}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 u(e,t){return(!t.pathname||e.pathname===t.pathname)&&(!t.query||l(e.query,t.query))}function c(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=o,t.compareUrl=a,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o,l.__bit_component=o},66262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;var o=n(55829);Object.defineProperty(t,"compareUrl",{enumerable:!0,get:function(){return o.compareUrl}})},40282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;var o=n(55868);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return o.Link}})},55868:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;const r=o(n(41594)),i=n(91298);function a(e){const t=i.useRouting().Link;return r.default.createElement(t,Object.assign({},e))}a.__bit_component={id:"teambit.base-ui/routing/link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/link",exported:!0},t.Link=a},27830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;var o=n(94852);Object.defineProperty(t,"NativeLink",{enumerable:!0,get:function(){return o.NativeLink}})},94852:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}: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}),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)&&o(t,e,n);return r(t,e),t},a=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};Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;const s=i(n(41594)),u={rel:"noopener",target:"_blank"};function c(e){var{href:t="",external:n,replace:o,onClick:r}=e,i=a(e,["href","external","replace","onClick"]);const c=n?u:{},l=s.useCallback((e=>{const i=null==r?void 0:r(e);return e.defaultPrevented||!o||n||(e.preventDefault(),window.location.replace(t)),i}),[t,o,r]);return s.default.createElement("a",Object.assign({},i,c,{onClick:l,href:t}))}c.__bit_component={id:"teambit.base-ui/routing/native-link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/native-link",exported:!0},t.NativeLink=c},94214:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativeNavLink=void 0;var o=n(54364);Object.defineProperty(t,"NativeNavLink",{enumerable:!0,get:function(){return o.NativeNavLink}})},54364:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}: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}),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)&&o(t,e,n);return r(t,e),t},a=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.NativeNavLink=void 0;const u=i(n(41594)),c=s(n(88443)),l=n(27830),d=n(66262),p=n(78530);function f(e){var{activeClassName:t,activeStyle:n,isActive:o,exact:r,strict:i,style:s,className:f}=e,m=a(e,["activeClassName","activeStyle","isActive","exact","strict","style","className"]);const b=p.isBrowser?window.location.href:"/",_=u.useMemo((()=>m.href&&d.compareUrl(b,m.href)),[r,i,b,m.href]),h=(null==o?void 0:o())||_,y=u.useMemo((()=>h&&n?Object.assign(Object.assign({},s),n):s),[h,s]);return u.default.createElement(l.NativeLink,Object.assign({},m,{style:y,className:c.default(f,h&&t)}))}f.__bit_component={id:"teambit.base-ui/routing/native-nav-link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/native-nav-link",exported:!0},t.NativeNavLink=f},91298:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=t.useRouting=t.RoutingProvider=void 0;var o=n(60636);Object.defineProperty(t,"RoutingProvider",{enumerable:!0,get:function(){return o.RoutingProvider}}),Object.defineProperty(t,"useRouting",{enumerable:!0,get:function(){return o.useRouting}}),Object.defineProperty(t,"useLocation",{enumerable:!0,get:function(){return o.useLocation}})},60636:function(e,t,n){"use strict";var o={id:"teambit.base-ui/routing/routing-provider@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/routing-provider",exported:!0},r=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=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)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=t.useRouting=t.RoutingProvider=void 0;const s=a(n(41594)),u=n(27830),c=n(94214),l=n(78530),d={pathname:"/",search:"",hash:""},p={Link:u.NativeLink,NavLink:c.NativeNavLink,useLocation:()=>l.isBrowser?window.location:d},f=s.createContext(p);function m({value:e,children:t}){return s.default.createElement(f.Provider,{value:e},t)}function b(){return s.useContext(f)}function _(){return b().useLocation()}m.__bit_component=o,t.RoutingProvider=m,b.__bit_component=o,t.useRouting=b,_.__bit_component=o,t.useLocation=_},70030:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;const i=r(n(41594));function a(e){var{element:t="h1"}=e,n=o(e,["element"]);const r=t;return i.default.createElement(r,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},n))}a.__bit_component={id:"teambit.base-ui/text/heading@1.0.4",homepage:"https://bit.dev/teambit/base-ui/text/heading",exported:!0},t.Heading=a},27648:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;var o=n(70030);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return o.Heading}})},78530:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0;var o=n(55541);Object.defineProperty(t,"isBrowser",{enumerable:!0,get:function(){return o.isBrowser}})},55541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0,t.isBrowser="undefined"!=typeof window},32212:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.bitComponent=void 0;const r=o(n(41594)),i=n(22274),a=o(n(50157));t.bitComponent=[{id:"teambit.bit/bit",href:"https://bit.cloud/teambit/harmony/bit",description:"Bit is an open-source component for composing component driven software",envIcon:"https://static.bit.dev/extensions-icons/default.svg",preview:r.default.createElement("div",{className:a.default.logo},r.default.createElement(i.Logo,{customSize:64}))}]},2905:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBitQuickStart=t.Size=t.WhatIsBit=t.default=t.WhatIsBitLong=void 0;var r=n(68855);Object.defineProperty(t,"WhatIsBitLong",{enumerable:!0,get:function(){return o(r).default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o(r).default}});var i=n(75822);Object.defineProperty(t,"WhatIsBit",{enumerable:!0,get:function(){return i.WhatIsBit}}),Object.defineProperty(t,"Size",{enumerable:!0,get:function(){return i.Size}});var a=n(8753);Object.defineProperty(t,"WhatIsBitQuickStart",{enumerable:!0,get:function(){return a.WhatIsBitQuickStart}})},9858:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=p,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},d="wrapper";function p(e){var t=e.components,n=u(e,i);return(0,r.mdx)(d,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit comes with native support in various dev tools like TypeScript, Babel, Jest, Webpack, ESLint, and ready made development environments for React, NodeJS, Angular and more. New tools can be easily integrated by adding one more component into Bit!"))}p.__bit_component=o,p.isMDXComponent=!0},91184:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=p,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},d="wrapper";function p(e){var t=e.components,n=u(e,i);return(0,r.mdx)(d,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit comes with native support in various dev tools like TypeScript, Babel, Jest, Webpack, ESLint, and ready made development environments for React, NodeJS, Angular and more. New tools can be easily integrated by adding one more component into Bit!"))}p.__bit_component=o,p.isMDXComponent=!0},59696:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=p,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},d="wrapper";function p(e){var t=e.components,n=u(e,i);return(0,r.mdx)(d,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h3",null,"What is Bit?"),(0,r.mdx)("p",null,"Bit is an open-source tool for composing component-driven software."))}p.__bit_component=o,p.isMDXComponent=!0},8753:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBitQuickStart=void 0;const r=o(n(41594)),i=n(21429),a=n(95804),s=n(45296),u=o(n(91184)),c=o(n(9858)),l=o(n(59696)),d=n(32212),p=o(n(55310)),f=()=>r.default.createElement(a.WideColumn,null,r.default.createElement(l.default,null),r.default.createElement(i.LeftRight,{className:p.default.leftRight,left:r.default.createElement(u.default,null),right:r.default.createElement(s.ComponentCardGroup,{components:d.bitComponent})}),r.default.createElement(c.default,null));f.__bit_component={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0},t.WhatIsBitQuickStart=f},76700:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=_,l(n(41594));var r=n(5016),i=n(45296),a=l(n(82577)),s=n(32212),u=l(n(50157)),c=["components"];function l(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,o,r=f(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function f(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}l.__bit_component=o,d.__bit_component=o,p.__bit_component=o,f.__bit_component=o;var m={},b="wrapper";function _(e){var t=e.components,n=p(e,c);return(0,r.mdx)(b,d({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit is an open-source tool for composing component-driven software."),(0,r.mdx)(i.ComponentCardGroup,{components:s.bitComponent,className:u.default.bitCard,mdxType:"ComponentCardGroup"}),(0,r.mdx)("br",null),(0,r.mdx)(a.default,{components:s.bitComponent,mdxType:"WhatIsBitSmall"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit offers native support for various dev tools like ",(0,r.mdx)("a",{parentName:"p",href:"/tools/typescript"},"TypeScript"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/babel"},"Babel"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/jest"},"Jest"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/webpack"},"Webpack"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/eslint"},"ESLint")," and\nready made development environments for ",(0,r.mdx)("a",{parentName:"p",href:"/frameworks/react"},"React"),", ",(0,r.mdx)("a",{parentName:"p",href:"/frameworks/node"},"NodeJS"),", ",(0,r.mdx)("a",{parentName:"p",href:"/envs/angular"},"Angular")," and more. New tools can be easily integrated by\nextending Bit with one more component."))}_.__bit_component=o,_.isMDXComponent=!0},82577:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=p,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},d="wrapper";function p(e){var t=e.components,n=u(e,i);return(0,r.mdx)(d,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit stands at the intersection between product and engineering. ",(0,r.mdx)("strong",{parentName:"p"},"It helps you take complex product requirements, and break them down into independent,\nand reusable pieces called")," ",(0,r.mdx)("strong",{parentName:"p"},(0,r.mdx)("em",{parentName:"strong"},'"components"')),". It allows you to create components and compose them with each other. Components are described by names and APIs, and contain source code implementation.\nThey can be of different kinds like apps, pages, UI components, backend services and even content. You can ",(0,r.mdx)("a",{parentName:"p",href:"/thinking-in-components"},"think of almost anything in components"),"."),(0,r.mdx)("p",null,'It is common to think of components that function as full applications, as "large", whereas components that function as simple elements, like a \'button\', as "small".\nFor us, both types of components are "the same size", but each has a different responsibility. An app is a very concrete component. It has many dependencies and just a few (if any) dependents.\nA button, on the other hand, is very abstract. It has just a few dependencies and many dependents. Having this sort of dependents-to-dependencies ratio indicates that a component is highly-reusable.'))}p.__bit_component=o,p.isMDXComponent=!0},75822:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBit=t.Size=void 0;const r=o(n(41594)),i=o(n(68855)),a=o(n(76700)),s=o(n(82577));var u;function c({size:e}){return e===u.SMALL?r.default.createElement(s.default,null):e===u.MEDIUM?r.default.createElement(a.default,null):r.default.createElement(i.default,null)}!function(e){e[e.SMALL=0]="SMALL",e[e.MEDIUM=1]="MEDIUM",e[e.LARGE=2]="LARGE"}(u=t.Size||(t.Size={})),c.__bit_component={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0},t.WhatIsBit=c},68855:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=f,s(n(41594));var r=n(5016),i=s(n(76700)),a=["components"];function s(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,o,r=l(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}s.__bit_component=o,u.__bit_component=o,c.__bit_component=o,l.__bit_component=o;var d={},p="wrapper";function f(e){var t=e.components,n=c(e,a);return(0,r.mdx)(p,u({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h3",null,"What is Bit?"),(0,r.mdx)(i.default,{mdxType:"WhatIsBitShort"}),(0,r.mdx)("h3",null,"What can you do with Bit?"),(0,r.mdx)("p",null,"Anything is possible with Bit! We built ",(0,r.mdx)("a",{parentName:"p",href:"https://bit.dev"},"Bit")," and ",(0,r.mdx)("a",{parentName:"p",href:"https://bit.cloud"},"bit.cloud")," entirely using Bit. These are complex systems which includes infrastructure\ntools, cloud products and multiple user interfaces."),(0,r.mdx)("p",null,"People use Bit to create all kind of applications, from user interfaces with component-driven frameworks like React, Vue and Angular, to complex\nmicro-service architectures, serverless functions, CLI utilities, desktop applications, native mobile applications and even IoT. You can do with Bit about anything you can do with JS\nand even beyond."),(0,r.mdx)("h3",null,"What Bit supports?"),(0,r.mdx)("p",null,"Bit was built with TypeScript and supports it natively. It was designed to be language-agnostic, and will support other software languages in the future! For now, our development environments use TypeScript as the default compiler for JS and TS components. You can easily switch to Babel or any other compiler. Bit is completely agnostic to your tech stack."))}f.__bit_component=o,f.isMDXComponent=!0},22274:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Logo:()=>c,RecommendedSizes:()=>o});var o,r=n(41594),i=n.n(r),a=n(83802);!function(e){e[e.small=16]="small",e[e.medium=24]="medium",e[e.large=32]="large",e[e.xl=40]="xl"}(o||(o={}));const s=new URL(n(59132),n.b).toString();var u=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};function c(e){var{size:t,customSize:n,alt:o}=e,r=u(e,["size","customSize","alt"]);const c=n||t;return i().createElement(a.BaseImage,Object.assign({},r,{src:s,alt:o||"",height:c,width:c}))}c.__bit_component={id:"teambit.design/ui/brand/logo@1.96.2",homepage:"https://bit.dev/teambit/design/ui/brand/logo",exported:!0},c.defaultProps={size:o.medium,alt:"Bit"}},19101:function(e,t,n){"use strict";var o={id:"teambit.design/ui/heading@1.0.16",homepage:"https://bit.dev/teambit/design/ui/heading",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;const i=r(n(41594)),a=r(n(88443)),s=n(27648),u=r(n(56445)),c=r(n(56220)),l=r(n(87743));function d(e){return i.default.createElement(s.Heading,Object.assign({element:"h1"},e,{className:(0,a.default)(c.default.h1,l.default.h1,u.default[e.size||"lg"],e.className)}))}function p(e){return i.default.createElement(s.Heading,Object.assign({element:"h2"},e,{className:(0,a.default)(c.default.h2,u.default[e.size||"lg"],e.className)}))}function f(e){return i.default.createElement(s.Heading,Object.assign({element:"h3"},e,{className:(0,a.default)(c.default.h3,u.default[e.size||"md"],e.className)}))}function m(e){return i.default.createElement(s.Heading,Object.assign({element:"h4"},e,{className:(0,a.default)(c.default.h4,u.default[e.size||"sm"],e.className)}))}function b(e){return i.default.createElement(s.Heading,Object.assign({element:"h5"},e,{className:(0,a.default)(c.default.h5,u.default[e.size||"xs"],e.className)}))}function _(e){return i.default.createElement(s.Heading,Object.assign({element:"h6"},e,{className:(0,a.default)(c.default.h6,u.default[e.size||"xxs"],e.className)}))}d.__bit_component=o,t.H1=d,p.__bit_component=o,t.H2=p,f.__bit_component=o,t.H3=f,m.__bit_component=o,t.H4=m,b.__bit_component=o,t.H5=b,_.__bit_component=o,t.H6=_},23063:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(19101),t)},21429:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LeftRight:()=>c});var o=n(41594),r=n.n(o),i=n(69685),a=n.n(i);const s={leftRight:"left-right_leftRight__JE-Eu"};var u=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};function c(e){var{left:t,right:n}=e,o=u(e,["left","right"]);return r().createElement("section",Object.assign({},o,{className:a()(s.leftRight,o.className)}),r().createElement("div",null,t),r().createElement("div",null,n))}c.__bit_component={id:"teambit.design/ui/layouts/sections/left-right@1.96.2",homepage:"https://bit.dev/teambit/design/ui/layouts/sections/left-right",exported:!0}},67572:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ellipsis=void 0;const r=o(n(41594)),i=o(n(88443)),a=o(n(935));function s(e){return r.default.createElement("div",Object.assign({},e,{className:(0,i.default)(e.className,a.default.ellipsisDiv)}))}s.__bit_component={id:"teambit.design/ui/styles/ellipsis@0.0.347",homepage:"https://bit.dev/teambit/design/ui/styles/ellipsis",exported:!0},t.Ellipsis=s},76863:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ellipsis=t.ellipsis=void 0;const r=o(n(935));t.ellipsis=r.default.ellipsis;var i=n(67572);Object.defineProperty(t,"Ellipsis",{enumerable:!0,get:function(){return i.Ellipsis}})},55134:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseComponentCard=void 0;const r=o(n(41594)),i=n(43595),a=n(17297),s=n(43911),u=n(87709);function c({id:e="",className:t,preview:n,version:o,description:c,isDeprecated:l,isVerified:d,children:p,contentClass:f}){return r.default.createElement(u.Card,{className:t},r.default.createElement(a.DeprecationSticker,{isDeprecated:l}),r.default.createElement(i.PreviewContainer,{preview:n}),r.default.createElement(s.ComponentDetails,{id:e,version:o,description:c,isVerified:d,className:f}),p)}c.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.BaseComponentCard=c},77891:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;const r=o(n(41594)),i=o(n(88443)),a=o(n(68030));function s({children:e,className:t}){return r.default.createElement("div",{className:(0,i.default)(a.default.componentCard,t)},e)}s.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.Card=s},87709:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;var o=n(77891);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return o.Card}})},40673:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationSticker=void 0;const r=o(n(41594)),i=o(n(88443)),a=o(n(40968));function s({isDeprecated:e}){return r.default.createElement("div",{className:(0,i.default)(a.default.deprecated,{[a.default.show]:e})},"deprecated")}s.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.DeprecationSticker=s},17297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationSticker=void 0;var o=n(40673);Object.defineProperty(t,"DeprecationSticker",{enumerable:!0,get:function(){return o.DeprecationSticker}})},47733:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDetails=void 0;const i=r(n(41594)),a=r(n(88443)),s=n(11812),u=n(76863),c=r(n(4140));function l(e){var{id:t,version:n,description:r,isVerified:l,className:d}=e,p=o(e,["id","version","description","isVerified","className"]);const f=t.split("/"),m=f.length>1&&f.slice(0,-1).join(" / "),b=f.slice(-1);return i.default.createElement("div",Object.assign({},p,{className:(0,a.default)(c.default.content,d)}),i.default.createElement("div",null,i.default.createElement("div",{className:c.default.nameSpace},m),i.default.createElement("div",{className:c.default.name},i.default.createElement("span",null,b),i.default.createElement("div",{className:c.default.versionHolder},n&&i.default.createElement(u.Ellipsis,null,"v",n),l&&i.default.createElement("img",{src:"https://static.bit.dev/extensions-icons/verified-field-badge.svg",className:c.default.img}))),i.default.createElement("div",{className:c.default.description},(0,s.ellipsis)(r||"",50))))}l.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.ComponentDetails=l},43911:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDetails=void 0;var o=n(47733);Object.defineProperty(t,"ComponentDetails",{enumerable:!0,get:function(){return o.ComponentDetails}})},29122:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=t.ComponentDetails=t.DeprecationSticker=t.Card=t.BaseComponentCard=void 0;var o=n(55134);Object.defineProperty(t,"BaseComponentCard",{enumerable:!0,get:function(){return o.BaseComponentCard}});var r=n(87709);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return r.Card}});var i=n(17297);Object.defineProperty(t,"DeprecationSticker",{enumerable:!0,get:function(){return i.DeprecationSticker}});var a=n(43911);Object.defineProperty(t,"ComponentDetails",{enumerable:!0,get:function(){return a.ComponentDetails}});var s=n(43595);Object.defineProperty(t,"PreviewContainer",{enumerable:!0,get:function(){return s.PreviewContainer}})},43595:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=void 0;var o=n(29825);Object.defineProperty(t,"PreviewContainer",{enumerable:!0,get:function(){return o.PreviewContainer}})},29825:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=void 0;const i=r(n(41594)),a=r(n(88443)),s=r(n(98424));function u(e){var{preview:t,className:n}=e,r=o(e,["preview","className"]);return i.default.createElement("div",Object.assign({},r,{className:(0,a.default)(s.default.previewContainer,n)}),i.default.createElement("div",{className:(0,a.default)(s.default.preview,{[s.default.emptyPreview]:!t})},t))}u.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.PreviewContainer=u},90588:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCardGroup=void 0;const i=r(n(41594)),a=n(23063),s=n(77785),u=n(69693);function c(e){var{title:t,components:n}=e,r=o(e,["title","components"]);return i.default.createElement("div",Object.assign({},r),t&&i.default.createElement(a.H2,null,t),i.default.createElement(s.ComponentGrid,null,n.map((e=>i.default.createElement(u.ComponentCard,Object.assign({key:e.id},e))))))}c.__bit_component={id:"teambit.explorer/ui/gallery/component-card-group@1.96.1",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-card-group",exported:!0},t.ComponentCardGroup=c},45296:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCardGroup=void 0;var o=n(90588);Object.defineProperty(t,"ComponentCardGroup",{enumerable:!0,get:function(){return o.ComponentCardGroup}})},91833:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCard=void 0;const r=o(n(41594)),i=n(40282),a=n(29122),s=o(n(42808));function u({id:e="",className:t,preview:n,version:o,description:u,envIcon:c,isDeprecated:l=!1,href:d,external:p}){return r.default.createElement(a.Card,{className:t},r.default.createElement(i.Link,{className:s.default.componentCardLink,href:d||e,external:p},r.default.createElement(a.DeprecationSticker,{isDeprecated:l}),r.default.createElement(a.PreviewContainer,{preview:n}),r.default.createElement(a.ComponentDetails,{id:e,version:o,description:u,className:s.default.content}),r.default.createElement("div",{className:s.default.bottom},r.default.createElement("div",{className:s.default.left}),r.default.createElement("img",{src:c,className:s.default.img}))))}u.__bit_component={id:"teambit.explorer/ui/gallery/component-card@0.0.495",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-card",exported:!0},t.ComponentCard=u},69693:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(91833),t)},15907:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentGrid=void 0;const i=r(n(41594)),a=r(n(88443)),s=r(n(42466));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.componentGrid,n)},r),t)}u.__bit_component={id:"teambit.explorer/ui/gallery/component-grid@0.0.486",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-grid",exported:!0},t.ComponentGrid=u},77785:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(15907),t)},73897:(e,t)=>{"use strict";function n(e,t){return e.length>t?`${e.substring(0,t)}...`:e}Object.defineProperty(t,"__esModule",{value:!0}),t.ellipsis=void 0,n.__bit_component={id:"teambit.toolbox/string/ellipsis@0.0.173",homepage:"https://bit.dev/teambit/toolbox/string/ellipsis",exported:!0},t.ellipsis=n},11812:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ellipsis=void 0;var o=n(73897);Object.defineProperty(t,"ellipsis",{enumerable:!0,get:function(){return o.ellipsis}})},21231:(e,t,n)=>{"use strict";var o={id:"teambit.harmony/bit@1.8.8",homepage:"https://bit.cloud/teambit/harmony/bit",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function i(){const e=n(22274);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BitLogo=void 0,r.__bit_component=o,i.__bit_component=o,a.__bit_component=o;const s=()=>r().default.createElement("div",{style:{width:"50%",margin:"auto"}},r().default.createElement(i().Logo,{customSize:64}));s.__bit_component=o,t.BitLogo=s},88371:(e,t,n)=>{"use strict";var o={id:"teambit.harmony/bit@1.8.8",homepage:"https://bit.cloud/teambit/harmony/bit",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function i(){const e=n(2905);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}function s(){return r().default.createElement(i().WhatIsBit,null)}Object.defineProperty(t,"__esModule",{value:!0}),t.abstract=void 0,t.default=s,t.tags=void 0,r.__bit_component=o,i.__bit_component=o,a.__bit_component=o,t.tags=["components","software","composable","component-driven","collaboration","development","design","product","architecture","compounding"],t.abstract="Bit is an open source toolchain for component-driven software",s.__bit_component=o},18142:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={fullWidth:"image_fullWidth__sELLz"}},10428:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={centerColumn:"page-frame_centerColumn__XBa-t",wideColumn:"page-frame_wideColumn__NAkt5",textColumn:"page-frame_textColumn__UPfoU"}},55310:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={}},50157:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={bitCard:"what-is-bit_bitCard__6HJgs",logo:"what-is-bit_logo__xM-ZV"}},56445:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={xxs:"heading-sizes_xxs__SWEOY",xs:"heading-sizes_xs__Hy8ol",sm:"heading-sizes_sm__tI7SK",md:"heading-sizes_md__joonV",lg:"heading-sizes_lg__Ltd1S",xl:"heading-sizes_xl__HDfIw",xxl:"heading-sizes_xxl__cFNob"}},56220:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={h1:"heading_h1__nOnz4",h2:"heading_h2__uEyK2",h3:"heading_h3__HdM7Z",h4:"heading_h4__v8USx",h5:"heading_h5__6jcVl",h6:"heading_h6__k7dDb"}},87743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={h1:"margins_h1__e8-sd"}},935:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={ellipsis:"ellipsis_ellipsis__C8hJ8",ellipsisDiv:"ellipsis_ellipsisDiv__9Db5W"}},68030:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentCard:"card_componentCard__Ak9CZ"}},40968:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={deprecated:"deprecation-sticker_deprecated__mKzkW",show:"deprecation-sticker_show__3kEmz"}},4140:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={content:"details_content__ifC+P",nameSpace:"details_nameSpace__5bRzq",name:"details_name__znUu1",versionHolder:"details_versionHolder__9dygA",img:"details_img__MjuDx",description:"details_description__PPRv6"}},98424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={previewContainer:"preview-container_previewContainer__hrQXX",preview:"preview-container_preview__zRjHm",emptyPreview:"preview-container_emptyPreview__YnS1o"}},42808:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentCardLink:"component-card_componentCardLink__Q4l2Z",bottom:"component-card_bottom__kipWC",size:"component-card_size__zZUte",dot:"component-card_dot__FksAd",img:"component-card_img__l5R9+"}},42466:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentGrid:"component-grid_componentGr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TE9IjEyIiB4Mj0iMTc3IiB5Mj0iMzM4Ljc5NiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjNzMzOThEIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzU5NEE5NSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo="},5016:e=>{"use strict";e.exports=MdxJsReact},41594:e=>{"use strict";e.exports=React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},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})},n.b=document.baseURI||self.location.href;var o={};return(()=>{"use strict";n.r(o),n.d(o,{compositions:()=>r,compositions_metadata:()=>a,overview:()=>i});var e=n(21231),t=n(88371);const r=[e],i=[t],a={compositions:[{displayName:"Bit logo",identifier:"BitLogo"}]}})(),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.harmony/bit-preview"]=t():e["teambit.harmony/bit-preview"]=t()}(self,(()=>(()=>{var e={88443:(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 i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=r.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)o.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},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 i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===i)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,i,a=[];for(i in"string"!=typeof t&&(t="?"),e)if(n.call(e,i)){if((o=e[i])||null!=o&&!isNaN(o)||(o=""),i=r(i),o=r(o),null===i||null===o)continue;a.push(i+"="+o)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,r={};t=n.exec(e);){var i=o(t[1]),a=o(t[2]);null===i||null===a||i in r||(r[i]=a)}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}},67114:(e,t,n)=>{"use strict";var o=n(91788),r=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 u(e){return(e||"").toString().replace(s,"")}var c=[["#","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 d(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 f(unescape(e.pathname),{});else if("string"===a)for(t in r=new f(e,{}),l)delete r[t];else if("object"===a){for(t in e)t in l||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=i.test(e.href))}return r}function p(e){e=u(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 f(e,t,n){if(e=u(e),!(this instanceof f))return new f(e,t,n);var i,a,s,l,m,b,_=c.slice(),h=typeof t,y=this,v=0;for("object"!==h&&"string"!==h&&(n=t,t=null),n&&"function"!=typeof n&&(n=r.parse),t=d(t),i=!(a=p(e||"")).protocol&&!a.slashes,y.slashes=a.slashes||i&&t.slashes,y.protocol=a.protocol||t.protocol||"",e=a.rest,a.slashes||(_[3]=[/(.*)/,"pathname"]);v<_.length;v++)"function"!=typeof(l=_[v])?(s=l[0],b=l[1],s!=s?y[b]=e:"string"==typeof s?~(m=e.indexOf(s))&&("number"==typeof l[2]?(y[b]=e.slice(0,m),e=e.slice(m+l[2])):(y[b]=e.slice(m),e=e.slice(0,m))):(m=s.exec(e))&&(y[b]=m[1],e=e.slice(0,m.index)),y[b]=y[b]||i&&l[3]&&t[b]||"",l[4]&&(y[b]=y[b].toLowerCase())):e=l(e);n&&(y.query=n(y.query)),i&&t.slashes&&"/"!==y.pathname.charAt(0)&&(""!==y.pathname||""!==t.pathname)&&(y.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],i=!1,a=0;o--;)"."===n[o]?n.splice(o,1):".."===n[o]?(n.splice(o,1),a++):a&&(0===o&&(i=!0),n.splice(o,1),a--);return i&&n.unshift(""),"."!==r&&".."!==r||n.push(""),n.join("/")}(y.pathname,t.pathname)),"/"!==y.pathname.charAt(0)&&y.hostname&&(y.pathname="/"+y.pathname),o(y.port,y.protocol)||(y.host=y.hostname,y.port=""),y.username=y.password="",y.auth&&(l=y.auth.split(":"),y.username=l[0]||"",y.password=l[1]||""),y.origin=y.protocol&&y.host&&"file:"!==y.protocol?y.protocol+"//"+y.host:"null",y.href=y.toString()}f.prototype={set:function(e,t,n){var i=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||r.parse)(t)),i[e]=t;break;case"port":i[e]=t,o(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<c.length;s++){var u=c[s];u[4]&&(i[u[1]]=i[u[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=r.stringify);var t,n=this,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var i=o+(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}},f.extractProtocol=p,f.location=d,f.trimLeft=u,f.qs=r,e.exports=f},92495:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseImage=void 0;const i=r(n(41594)),a=r(n(88443)),s=r(n(18142));function u(e){var{alt:t,className:n,fullWidth:r}=e,u=o(e,["alt","className","fullWidth"]);return i.default.createElement("img",Object.assign({"data-bit-id":"teambit.base-ui/elements/image",alt:t},u,{className:a.default(s.default.image,r&&s.default.fullWidth,n)}))}u.__bit_component={id:"teambit.base-ui/elements/image@1.0.0",homepage:"https://bit.dev/teambit/base-ui/elements/image",exported:!0},t.BaseImage=u},83802:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(92495),t)},93926:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterColumn=void 0;const i=r(n(41594)),a=r(n(88443)),s=r(n(10428));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.centerColumn,n)},r),t)}u.__bit_component={id:"teambit.base-ui/layout/page-frame@1.0.2",homepage:"https://bit.dev/teambit/base-ui/layout/page-frame",exported:!0},t.CenterColumn=u},95804:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterColumn=t.WideColumn=t.textColumn=t.wideColumn=t.centerColumn=void 0;const r=o(n(10428));t.centerColumn=r.default.centerColumn,t.wideColumn=r.default.wideColumn,t.textColumn=r.default.textColumn;var i=n(5600);Object.defineProperty(t,"WideColumn",{enumerable:!0,get:function(){return i.WideColumn}});var a=n(93926);Object.defineProperty(t,"CenterColumn",{enumerable:!0,get:function(){return a.CenterColumn}})},5600:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WideColumn=void 0;const i=r(n(41594)),a=r(n(88443)),s=r(n(10428));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.wideColumn,n)},r),t)}u.__bit_component={id:"teambit.base-ui/layout/page-frame@1.0.2",homepage:"https://bit.dev/teambit/base-ui/layout/page-frame",exported:!0},t.WideColumn=u},55829:function(e,t,n){"use strict";var o={id:"teambit.base-ui/routing/compare-url@1.0.0",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 i=r(n(67114));function a(e,t,{exact:n,strict:o}={}){if(e===t)return!0;o||(e=e.replace(/\/(?=[?#]|$)/,""),t=t.replace(/\/(?=[?#]|$)/,""));const r=i.default(e),a=i.default(t),l=s(r,a),d=!n||u(r,a),p=!o||c(r,a);return l&&d&&p}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 u(e,t){return(!t.pathname||e.pathname===t.pathname)&&(!t.query||l(e.query,t.query))}function c(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=o,t.compareUrl=a,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o,l.__bit_component=o},66262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;var o=n(55829);Object.defineProperty(t,"compareUrl",{enumerable:!0,get:function(){return o.compareUrl}})},40282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;var o=n(55868);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return o.Link}})},55868:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;const r=o(n(41594)),i=n(91298);function a(e){const t=i.useRouting().Link;return r.default.createElement(t,Object.assign({},e))}a.__bit_component={id:"teambit.base-ui/routing/link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/link",exported:!0},t.Link=a},27830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;var o=n(94852);Object.defineProperty(t,"NativeLink",{enumerable:!0,get:function(){return o.NativeLink}})},94852:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}: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}),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)&&o(t,e,n);return r(t,e),t},a=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};Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;const s=i(n(41594)),u={rel:"noopener",target:"_blank"};function c(e){var{href:t="",external:n,replace:o,onClick:r}=e,i=a(e,["href","external","replace","onClick"]);const c=n?u:{},l=s.useCallback((e=>{const i=null==r?void 0:r(e);return e.defaultPrevented||!o||n||(e.preventDefault(),window.location.replace(t)),i}),[t,o,r]);return s.default.createElement("a",Object.assign({},i,c,{onClick:l,href:t}))}c.__bit_component={id:"teambit.base-ui/routing/native-link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/native-link",exported:!0},t.NativeLink=c},94214:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativeNavLink=void 0;var o=n(54364);Object.defineProperty(t,"NativeNavLink",{enumerable:!0,get:function(){return o.NativeNavLink}})},54364:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}: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}),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)&&o(t,e,n);return r(t,e),t},a=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.NativeNavLink=void 0;const u=i(n(41594)),c=s(n(88443)),l=n(27830),d=n(66262),p=n(78530);function f(e){var{activeClassName:t,activeStyle:n,isActive:o,exact:r,strict:i,style:s,className:f}=e,m=a(e,["activeClassName","activeStyle","isActive","exact","strict","style","className"]);const b=p.isBrowser?window.location.href:"/",_=u.useMemo((()=>m.href&&d.compareUrl(b,m.href)),[r,i,b,m.href]),h=(null==o?void 0:o())||_,y=u.useMemo((()=>h&&n?Object.assign(Object.assign({},s),n):s),[h,s]);return u.default.createElement(l.NativeLink,Object.assign({},m,{style:y,className:c.default(f,h&&t)}))}f.__bit_component={id:"teambit.base-ui/routing/native-nav-link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/native-nav-link",exported:!0},t.NativeNavLink=f},91298:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=t.useRouting=t.RoutingProvider=void 0;var o=n(60636);Object.defineProperty(t,"RoutingProvider",{enumerable:!0,get:function(){return o.RoutingProvider}}),Object.defineProperty(t,"useRouting",{enumerable:!0,get:function(){return o.useRouting}}),Object.defineProperty(t,"useLocation",{enumerable:!0,get:function(){return o.useLocation}})},60636:function(e,t,n){"use strict";var o={id:"teambit.base-ui/routing/routing-provider@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/routing-provider",exported:!0},r=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=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)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=t.useRouting=t.RoutingProvider=void 0;const s=a(n(41594)),u=n(27830),c=n(94214),l=n(78530),d={pathname:"/",search:"",hash:""},p={Link:u.NativeLink,NavLink:c.NativeNavLink,useLocation:()=>l.isBrowser?window.location:d},f=s.createContext(p);function m({value:e,children:t}){return s.default.createElement(f.Provider,{value:e},t)}function b(){return s.useContext(f)}function _(){return b().useLocation()}m.__bit_component=o,t.RoutingProvider=m,b.__bit_component=o,t.useRouting=b,_.__bit_component=o,t.useLocation=_},70030:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;const i=r(n(41594));function a(e){var{element:t="h1"}=e,n=o(e,["element"]);const r=t;return i.default.createElement(r,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},n))}a.__bit_component={id:"teambit.base-ui/text/heading@1.0.4",homepage:"https://bit.dev/teambit/base-ui/text/heading",exported:!0},t.Heading=a},27648:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;var o=n(70030);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return o.Heading}})},78530:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0;var o=n(55541);Object.defineProperty(t,"isBrowser",{enumerable:!0,get:function(){return o.isBrowser}})},55541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0,t.isBrowser="undefined"!=typeof window},32212:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.bitComponent=void 0;const r=o(n(41594)),i=n(22274),a=o(n(50157));t.bitComponent=[{id:"teambit.bit/bit",href:"https://bit.cloud/teambit/harmony/bit",description:"Bit is an open-source component for composing component driven software",envIcon:"https://static.bit.dev/extensions-icons/default.svg",preview:r.default.createElement("div",{className:a.default.logo},r.default.createElement(i.Logo,{customSize:64}))}]},2905:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBitQuickStart=t.Size=t.WhatIsBit=t.default=t.WhatIsBitLong=void 0;var r=n(68855);Object.defineProperty(t,"WhatIsBitLong",{enumerable:!0,get:function(){return o(r).default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o(r).default}});var i=n(75822);Object.defineProperty(t,"WhatIsBit",{enumerable:!0,get:function(){return i.WhatIsBit}}),Object.defineProperty(t,"Size",{enumerable:!0,get:function(){return i.Size}});var a=n(8753);Object.defineProperty(t,"WhatIsBitQuickStart",{enumerable:!0,get:function(){return a.WhatIsBitQuickStart}})},9858:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=p,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},d="wrapper";function p(e){var t=e.components,n=u(e,i);return(0,r.mdx)(d,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit comes with native support in various dev tools like TypeScript, Babel, Jest, Webpack, ESLint, and ready made development environments for React, NodeJS, Angular and more. New tools can be easily integrated by adding one more component into Bit!"))}p.__bit_component=o,p.isMDXComponent=!0},91184:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=p,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},d="wrapper";function p(e){var t=e.components,n=u(e,i);return(0,r.mdx)(d,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit comes with native support in various dev tools like TypeScript, Babel, Jest, Webpack, ESLint, and ready made development environments for React, NodeJS, Angular and more. New tools can be easily integrated by adding one more component into Bit!"))}p.__bit_component=o,p.isMDXComponent=!0},59696:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=p,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},d="wrapper";function p(e){var t=e.components,n=u(e,i);return(0,r.mdx)(d,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h3",null,"What is Bit?"),(0,r.mdx)("p",null,"Bit is an open-source tool for composing component-driven software."))}p.__bit_component=o,p.isMDXComponent=!0},8753:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBitQuickStart=void 0;const r=o(n(41594)),i=n(21429),a=n(95804),s=n(45296),u=o(n(91184)),c=o(n(9858)),l=o(n(59696)),d=n(32212),p=o(n(55310)),f=()=>r.default.createElement(a.WideColumn,null,r.default.createElement(l.default,null),r.default.createElement(i.LeftRight,{className:p.default.leftRight,left:r.default.createElement(u.default,null),right:r.default.createElement(s.ComponentCardGroup,{components:d.bitComponent})}),r.default.createElement(c.default,null));f.__bit_component={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0},t.WhatIsBitQuickStart=f},76700:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=_,l(n(41594));var r=n(5016),i=n(45296),a=l(n(82577)),s=n(32212),u=l(n(50157)),c=["components"];function l(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,o,r=f(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function f(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}l.__bit_component=o,d.__bit_component=o,p.__bit_component=o,f.__bit_component=o;var m={},b="wrapper";function _(e){var t=e.components,n=p(e,c);return(0,r.mdx)(b,d({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit is an open-source tool for composing component-driven software."),(0,r.mdx)(i.ComponentCardGroup,{components:s.bitComponent,className:u.default.bitCard,mdxType:"ComponentCardGroup"}),(0,r.mdx)("br",null),(0,r.mdx)(a.default,{components:s.bitComponent,mdxType:"WhatIsBitSmall"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit offers native support for various dev tools like ",(0,r.mdx)("a",{parentName:"p",href:"/tools/typescript"},"TypeScript"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/babel"},"Babel"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/jest"},"Jest"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/webpack"},"Webpack"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/eslint"},"ESLint")," and\nready made development environments for ",(0,r.mdx)("a",{parentName:"p",href:"/frameworks/react"},"React"),", ",(0,r.mdx)("a",{parentName:"p",href:"/frameworks/node"},"NodeJS"),", ",(0,r.mdx)("a",{parentName:"p",href:"/envs/angular"},"Angular")," and more. New tools can be easily integrated by\nextending Bit with one more component."))}_.__bit_component=o,_.isMDXComponent=!0},82577:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=p,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},d="wrapper";function p(e){var t=e.components,n=u(e,i);return(0,r.mdx)(d,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit stands at the intersection between product and engineering. ",(0,r.mdx)("strong",{parentName:"p"},"It helps you take complex product requirements, and break them down into independent,\nand reusable pieces called")," ",(0,r.mdx)("strong",{parentName:"p"},(0,r.mdx)("em",{parentName:"strong"},'"components"')),". It allows you to create components and compose them with each other. Components are described by names and APIs, and contain source code implementation.\nThey can be of different kinds like apps, pages, UI components, backend services and even content. You can ",(0,r.mdx)("a",{parentName:"p",href:"/thinking-in-components"},"think of almost anything in components"),"."),(0,r.mdx)("p",null,'It is common to think of components that function as full applications, as "large", whereas components that function as simple elements, like a \'button\', as "small".\nFor us, both types of components are "the same size", but each has a different responsibility. An app is a very concrete component. It has many dependencies and just a few (if any) dependents.\nA button, on the other hand, is very abstract. It has just a few dependencies and many dependents. Having this sort of dependents-to-dependencies ratio indicates that a component is highly-reusable.'))}p.__bit_component=o,p.isMDXComponent=!0},75822:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBit=t.Size=void 0;const r=o(n(41594)),i=o(n(68855)),a=o(n(76700)),s=o(n(82577));var u;function c({size:e}){return e===u.SMALL?r.default.createElement(s.default,null):e===u.MEDIUM?r.default.createElement(a.default,null):r.default.createElement(i.default,null)}!function(e){e[e.SMALL=0]="SMALL",e[e.MEDIUM=1]="MEDIUM",e[e.LARGE=2]="LARGE"}(u=t.Size||(t.Size={})),c.__bit_component={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0},t.WhatIsBit=c},68855:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=f,s(n(41594));var r=n(5016),i=s(n(76700)),a=["components"];function s(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,o,r=l(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}s.__bit_component=o,u.__bit_component=o,c.__bit_component=o,l.__bit_component=o;var d={},p="wrapper";function f(e){var t=e.components,n=c(e,a);return(0,r.mdx)(p,u({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h3",null,"What is Bit?"),(0,r.mdx)(i.default,{mdxType:"WhatIsBitShort"}),(0,r.mdx)("h3",null,"What can you do with Bit?"),(0,r.mdx)("p",null,"Anything is possible with Bit! We built ",(0,r.mdx)("a",{parentName:"p",href:"https://bit.dev"},"Bit")," and ",(0,r.mdx)("a",{parentName:"p",href:"https://bit.cloud"},"bit.cloud")," entirely using Bit. These are complex systems which includes infrastructure\ntools, cloud products and multiple user interfaces."),(0,r.mdx)("p",null,"People use Bit to create all kind of applications, from user interfaces with component-driven frameworks like React, Vue and Angular, to complex\nmicro-service architectures, serverless functions, CLI utilities, desktop applications, native mobile applications and even IoT. You can do with Bit about anything you can do with JS\nand even beyond."),(0,r.mdx)("h3",null,"What Bit supports?"),(0,r.mdx)("p",null,"Bit was built with TypeScript and supports it natively. It was designed to be language-agnostic, and will support other software languages in the future! For now, our development environments use TypeScript as the default compiler for JS and TS components. You can easily switch to Babel or any other compiler. Bit is completely agnostic to your tech stack."))}f.__bit_component=o,f.isMDXComponent=!0},22274:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Logo:()=>c,RecommendedSizes:()=>o});var o,r=n(41594),i=n.n(r),a=n(83802);!function(e){e[e.small=16]="small",e[e.medium=24]="medium",e[e.large=32]="large",e[e.xl=40]="xl"}(o||(o={}));const s=new URL(n(59132),n.b).toString();var u=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};function c(e){var{size:t,customSize:n,alt:o}=e,r=u(e,["size","customSize","alt"]);const c=n||t;return i().createElement(a.BaseImage,Object.assign({},r,{src:s,alt:o||"",height:c,width:c}))}c.__bit_component={id:"teambit.design/ui/brand/logo@1.96.2",homepage:"https://bit.dev/teambit/design/ui/brand/logo",exported:!0},c.defaultProps={size:o.medium,alt:"Bit"}},19101:function(e,t,n){"use strict";var o={id:"teambit.design/ui/heading@1.0.16",homepage:"https://bit.dev/teambit/design/ui/heading",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;const i=r(n(41594)),a=r(n(88443)),s=n(27648),u=r(n(56445)),c=r(n(56220)),l=r(n(87743));function d(e){return i.default.createElement(s.Heading,Object.assign({element:"h1"},e,{className:(0,a.default)(c.default.h1,l.default.h1,u.default[e.size||"lg"],e.className)}))}function p(e){return i.default.createElement(s.Heading,Object.assign({element:"h2"},e,{className:(0,a.default)(c.default.h2,u.default[e.size||"lg"],e.className)}))}function f(e){return i.default.createElement(s.Heading,Object.assign({element:"h3"},e,{className:(0,a.default)(c.default.h3,u.default[e.size||"md"],e.className)}))}function m(e){return i.default.createElement(s.Heading,Object.assign({element:"h4"},e,{className:(0,a.default)(c.default.h4,u.default[e.size||"sm"],e.className)}))}function b(e){return i.default.createElement(s.Heading,Object.assign({element:"h5"},e,{className:(0,a.default)(c.default.h5,u.default[e.size||"xs"],e.className)}))}function _(e){return i.default.createElement(s.Heading,Object.assign({element:"h6"},e,{className:(0,a.default)(c.default.h6,u.default[e.size||"xxs"],e.className)}))}d.__bit_component=o,t.H1=d,p.__bit_component=o,t.H2=p,f.__bit_component=o,t.H3=f,m.__bit_component=o,t.H4=m,b.__bit_component=o,t.H5=b,_.__bit_component=o,t.H6=_},23063:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(19101),t)},21429:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LeftRight:()=>c});var o=n(41594),r=n.n(o),i=n(69685),a=n.n(i);const s={leftRight:"left-right_leftRight__JE-Eu"};var u=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};function c(e){var{left:t,right:n}=e,o=u(e,["left","right"]);return r().createElement("section",Object.assign({},o,{className:a()(s.leftRight,o.className)}),r().createElement("div",null,t),r().createElement("div",null,n))}c.__bit_component={id:"teambit.design/ui/layouts/sections/left-right@1.96.2",homepage:"https://bit.dev/teambit/design/ui/layouts/sections/left-right",exported:!0}},67572:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ellipsis=void 0;const r=o(n(41594)),i=o(n(88443)),a=o(n(935));function s(e){return r.default.createElement("div",Object.assign({},e,{className:(0,i.default)(e.className,a.default.ellipsisDiv)}))}s.__bit_component={id:"teambit.design/ui/styles/ellipsis@0.0.347",homepage:"https://bit.dev/teambit/design/ui/styles/ellipsis",exported:!0},t.Ellipsis=s},76863:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ellipsis=t.ellipsis=void 0;const r=o(n(935));t.ellipsis=r.default.ellipsis;var i=n(67572);Object.defineProperty(t,"Ellipsis",{enumerable:!0,get:function(){return i.Ellipsis}})},55134:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseComponentCard=void 0;const r=o(n(41594)),i=n(43595),a=n(17297),s=n(43911),u=n(87709);function c({id:e="",className:t,preview:n,version:o,description:c,isDeprecated:l,isVerified:d,children:p,contentClass:f}){return r.default.createElement(u.Card,{className:t},r.default.createElement(a.DeprecationSticker,{isDeprecated:l}),r.default.createElement(i.PreviewContainer,{preview:n}),r.default.createElement(s.ComponentDetails,{id:e,version:o,description:c,isVerified:d,className:f}),p)}c.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.BaseComponentCard=c},77891:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;const r=o(n(41594)),i=o(n(88443)),a=o(n(68030));function s({children:e,className:t}){return r.default.createElement("div",{className:(0,i.default)(a.default.componentCard,t)},e)}s.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.Card=s},87709:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;var o=n(77891);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return o.Card}})},40673:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationSticker=void 0;const r=o(n(41594)),i=o(n(88443)),a=o(n(40968));function s({isDeprecated:e}){return r.default.createElement("div",{className:(0,i.default)(a.default.deprecated,{[a.default.show]:e})},"deprecated")}s.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.DeprecationSticker=s},17297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationSticker=void 0;var o=n(40673);Object.defineProperty(t,"DeprecationSticker",{enumerable:!0,get:function(){return o.DeprecationSticker}})},47733:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDetails=void 0;const i=r(n(41594)),a=r(n(88443)),s=n(11812),u=n(76863),c=r(n(4140));function l(e){var{id:t,version:n,description:r,isVerified:l,className:d}=e,p=o(e,["id","version","description","isVerified","className"]);const f=t.split("/"),m=f.length>1&&f.slice(0,-1).join(" / "),b=f.slice(-1);return i.default.createElement("div",Object.assign({},p,{className:(0,a.default)(c.default.content,d)}),i.default.createElement("div",null,i.default.createElement("div",{className:c.default.nameSpace},m),i.default.createElement("div",{className:c.default.name},i.default.createElement("span",null,b),i.default.createElement("div",{className:c.default.versionHolder},n&&i.default.createElement(u.Ellipsis,null,"v",n),l&&i.default.createElement("img",{src:"https://static.bit.dev/extensions-icons/verified-field-badge.svg",className:c.default.img}))),i.default.createElement("div",{className:c.default.description},(0,s.ellipsis)(r||"",50))))}l.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.ComponentDetails=l},43911:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDetails=void 0;var o=n(47733);Object.defineProperty(t,"ComponentDetails",{enumerable:!0,get:function(){return o.ComponentDetails}})},29122:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=t.ComponentDetails=t.DeprecationSticker=t.Card=t.BaseComponentCard=void 0;var o=n(55134);Object.defineProperty(t,"BaseComponentCard",{enumerable:!0,get:function(){return o.BaseComponentCard}});var r=n(87709);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return r.Card}});var i=n(17297);Object.defineProperty(t,"DeprecationSticker",{enumerable:!0,get:function(){return i.DeprecationSticker}});var a=n(43911);Object.defineProperty(t,"ComponentDetails",{enumerable:!0,get:function(){return a.ComponentDetails}});var s=n(43595);Object.defineProperty(t,"PreviewContainer",{enumerable:!0,get:function(){return s.PreviewContainer}})},43595:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=void 0;var o=n(29825);Object.defineProperty(t,"PreviewContainer",{enumerable:!0,get:function(){return o.PreviewContainer}})},29825:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=void 0;const i=r(n(41594)),a=r(n(88443)),s=r(n(98424));function u(e){var{preview:t,className:n}=e,r=o(e,["preview","className"]);return i.default.createElement("div",Object.assign({},r,{className:(0,a.default)(s.default.previewContainer,n)}),i.default.createElement("div",{className:(0,a.default)(s.default.preview,{[s.default.emptyPreview]:!t})},t))}u.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.PreviewContainer=u},90588:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCardGroup=void 0;const i=r(n(41594)),a=n(23063),s=n(77785),u=n(69693);function c(e){var{title:t,components:n}=e,r=o(e,["title","components"]);return i.default.createElement("div",Object.assign({},r),t&&i.default.createElement(a.H2,null,t),i.default.createElement(s.ComponentGrid,null,n.map((e=>i.default.createElement(u.ComponentCard,Object.assign({key:e.id},e))))))}c.__bit_component={id:"teambit.explorer/ui/gallery/component-card-group@1.96.1",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-card-group",exported:!0},t.ComponentCardGroup=c},45296:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCardGroup=void 0;var o=n(90588);Object.defineProperty(t,"ComponentCardGroup",{enumerable:!0,get:function(){return o.ComponentCardGroup}})},91833:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCard=void 0;const r=o(n(41594)),i=n(40282),a=n(29122),s=o(n(42808));function u({id:e="",className:t,preview:n,version:o,description:u,envIcon:c,isDeprecated:l=!1,href:d,external:p}){return r.default.createElement(a.Card,{className:t},r.default.createElement(i.Link,{className:s.default.componentCardLink,href:d||e,external:p},r.default.createElement(a.DeprecationSticker,{isDeprecated:l}),r.default.createElement(a.PreviewContainer,{preview:n}),r.default.createElement(a.ComponentDetails,{id:e,version:o,description:u,className:s.default.content}),r.default.createElement("div",{className:s.default.bottom},r.default.createElement("div",{className:s.default.left}),r.default.createElement("img",{src:c,className:s.default.img}))))}u.__bit_component={id:"teambit.explorer/ui/gallery/component-card@0.0.495",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-card",exported:!0},t.ComponentCard=u},69693:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(91833),t)},15907:function(e,t,n){"use strict";var o=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},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentGrid=void 0;const i=r(n(41594)),a=r(n(88443)),s=r(n(42466));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.componentGrid,n)},r),t)}u.__bit_component={id:"teambit.explorer/ui/gallery/component-grid@0.0.486",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-grid",exported:!0},t.ComponentGrid=u},77785:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(15907),t)},73897:(e,t)=>{"use strict";function n(e,t){return e.length>t?`${e.substring(0,t)}...`:e}Object.defineProperty(t,"__esModule",{value:!0}),t.ellipsis=void 0,n.__bit_component={id:"teambit.toolbox/string/ellipsis@0.0.173",homepage:"https://bit.dev/teambit/toolbox/string/ellipsis",exported:!0},t.ellipsis=n},11812:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ellipsis=void 0;var o=n(73897);Object.defineProperty(t,"ellipsis",{enumerable:!0,get:function(){return o.ellipsis}})},62696:(e,t,n)=>{"use strict";var o={id:"teambit.harmony/bit@1.8.9",homepage:"https://bit.cloud/teambit/harmony/bit",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function i(){const e=n(22274);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BitLogo=void 0,r.__bit_component=o,i.__bit_component=o,a.__bit_component=o;const s=()=>r().default.createElement("div",{style:{width:"50%",margin:"auto"}},r().default.createElement(i().Logo,{customSize:64}));s.__bit_component=o,t.BitLogo=s},64148:(e,t,n)=>{"use strict";var o={id:"teambit.harmony/bit@1.8.9",homepage:"https://bit.cloud/teambit/harmony/bit",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function i(){const e=n(2905);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}function s(){return r().default.createElement(i().WhatIsBit,null)}Object.defineProperty(t,"__esModule",{value:!0}),t.abstract=void 0,t.default=s,t.tags=void 0,r.__bit_component=o,i.__bit_component=o,a.__bit_component=o,t.tags=["components","software","composable","component-driven","collaboration","development","design","product","architecture","compounding"],t.abstract="Bit is an open source toolchain for component-driven software",s.__bit_component=o},18142:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={fullWidth:"image_fullWidth__sELLz"}},10428:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={centerColumn:"page-frame_centerColumn__XBa-t",wideColumn:"page-frame_wideColumn__NAkt5",textColumn:"page-frame_textColumn__UPfoU"}},55310:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={}},50157:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={bitCard:"what-is-bit_bitCard__6HJgs",logo:"what-is-bit_logo__xM-ZV"}},56445:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={xxs:"heading-sizes_xxs__SWEOY",xs:"heading-sizes_xs__Hy8ol",sm:"heading-sizes_sm__tI7SK",md:"heading-sizes_md__joonV",lg:"heading-sizes_lg__Ltd1S",xl:"heading-sizes_xl__HDfIw",xxl:"heading-sizes_xxl__cFNob"}},56220:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={h1:"heading_h1__nOnz4",h2:"heading_h2__uEyK2",h3:"heading_h3__HdM7Z",h4:"heading_h4__v8USx",h5:"heading_h5__6jcVl",h6:"heading_h6__k7dDb"}},87743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={h1:"margins_h1__e8-sd"}},935:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={ellipsis:"ellipsis_ellipsis__C8hJ8",ellipsisDiv:"ellipsis_ellipsisDiv__9Db5W"}},68030:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentCard:"card_componentCard__Ak9CZ"}},40968:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={deprecated:"deprecation-sticker_deprecated__mKzkW",show:"deprecation-sticker_show__3kEmz"}},4140:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={content:"details_content__ifC+P",nameSpace:"details_nameSpace__5bRzq",name:"details_name__znUu1",versionHolder:"details_versionHolder__9dygA",img:"details_img__MjuDx",description:"details_description__PPRv6"}},98424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={previewContainer:"preview-container_previewContainer__hrQXX",preview:"preview-container_preview__zRjHm",emptyPreview:"preview-container_emptyPreview__YnS1o"}},42808:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentCardLink:"component-card_componentCardLink__Q4l2Z",bottom:"component-card_bottom__kipWC",size:"component-card_size__zZUte",dot:"component-card_dot__FksAd",img:"component-card_img__l5R9+"}},42466:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentGrid:"component-grid_componentGrid__pGx6B"}},59132:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzU0IiBoZWlnaHQ9IjM1NCIgdmlld0JveD0iMCAwIDM1NCAzNTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNzcgMzQ4QzI3MS40NDEgMzQ4IDM0OCAyNzEuNDQxIDM0OCAxNzdDMzQ4IDgyLjU1OTMgMjcxLjQ0MSA2IDE3NyA2QzgyLjU1OTMgNiA2IDgyLjU1OTMgNiAxNzdDNiAyNzEuNDQxIDgyLjU1OTMgMzQ4IDE3NyAzNDhaIiBmaWxsPSJ1cmwoI3BhaW50MF9saW5lYXIpIiBzdHJva2U9IiM3QjcwQjYiIHN0cm9rZS13aWR0aD0iMTIiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNjEuMjY1IDE5MS43MDlDMTYxLjI2NSAyMDkuNzI3IDE1MC41MjggMjIxLjMyOCAxMzEuMjc1IDIyMS4zMjhDMTI0LjM2NCAyMjEuMzI4IDExNy45NDcgMjE5Ljk3MSAxMTMuMDEgMjE3LjEzMkMxMDcuMzMzIDIxMy45MjMgMTA3LjMzMyAyMDkuODUxIDEwNy4zMzMgMjA1LjY1NVYxNDMuMzMxQzEwNy4zMzMgMTM4Ljg4OCAxMTAuMDQ4IDEzNi42NjcgMTE1LjYwMiAxMzYuNjY3QzEyMS4xNTUgMTM2LjY2NyAxMjMuODcgMTM4Ljg4OCAxM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MTI5IDY0LjY1ODEgNjUuNTgyNCA4Ny45ODA1IDUzIDExNyIgc3Ryb2tlPSIjN0I3MEI2IiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPGRlZnM+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQwX2xpbmVhciIgeDE9IjE3NyIgeTE9IjEyIiB4Mj0iMTc3IiB5Mj0iMzM4Ljc5NiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjNzMzOThEIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzU5NEE5NSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo="},5016:e=>{"use strict";e.exports=MdxJsReact},41594:e=>{"use strict";e.exports=React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},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})},n.b=document.baseURI||self.location.href;var o={};return(()=>{"use strict";n.r(o),n.d(o,{compositions:()=>r,compositions_metadata:()=>a,overview:()=>i});var e=n(62696),t=n(64148);const r=[e],i=[t],a={compositions:[{displayName:"Bit logo",identifier:"BitLogo"}]}})(),o})()));
|
package/artifacts/schema.json
CHANGED
package/dist/bootstrap.d.ts
CHANGED
package/dist/bootstrap.js
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.bootstrap = bootstrap;
|
|
7
|
+
exports.printBitVersionIfAsked = printBitVersionIfAsked;
|
|
7
8
|
function _bluebird() {
|
|
8
9
|
const data = _interopRequireDefault(require("bluebird"));
|
|
9
10
|
_bluebird = function () {
|
package/dist/bootstrap.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_bluebird","data","_interopRequireDefault","require","_chalk","_fsExtra","_semver","_bit","_legacy","_cli","_constants","_logger","_loader","e","__esModule","default","RECOMMENDED_NODE_VERSIONS","SUPPORTED_NODE_VERSIONS","process","env","MEMFS_DONT_WARN","EventEmitter","defaultMaxListeners","on","err","handleUnhandledRejection","Bluebird","config","longStackTraces","Boolean","BLUEBIRD_DEBUG","BIT_LOG","bootstrap","enableLoaderIfPossible","printBitVersionIfAsked","warnIfRunningAsRoot","verifyNodeVersionCompatibility","ensureDirectories","Analytics","promptAnalyticsIfNeeded","fs","ensureDir","GLOBAL_CONFIG","GLOBAL_LOGS","nodeVersion","versions","node","split","isCompatible","semver","satisfies","console","log","chalk","red","exit","isRecommended","yellow","isRoot","getuid","printWarning","argv","includes","harmonyVersion","getBitVersionGracefully","BIT_VERSION","safeCommandsForLoader","shouldDisableConsole","shouldDisableLoader","loader"],"sources":["bootstrap.ts"],"sourcesContent":["import Bluebird from 'bluebird';\nimport chalk from 'chalk';\nimport fs from 'fs-extra';\nimport semver from 'semver';\nimport { getBitVersionGracefully } from '@teambit/bit.get-bit-version';\nimport { Analytics } from '@teambit/legacy.analytics';\nimport { handleUnhandledRejection } from '@teambit/cli';\nimport { BIT_VERSION, GLOBAL_CONFIG, GLOBAL_LOGS } from '@teambit/legacy/dist/constants';\nimport { printWarning, shouldDisableConsole, shouldDisableLoader } from '@teambit/legacy/dist/logger/logger';\nimport loader from '@teambit/legacy/dist/cli/loader';\n\nconst RECOMMENDED_NODE_VERSIONS = '>=20.0.0 <21.0.0';\nconst SUPPORTED_NODE_VERSIONS = '>=16.0.0 <21.0.0';\n\nprocess.env.MEMFS_DONT_WARN = 'true'; // suppress fs experimental warnings from memfs\n\nrequire('events').EventEmitter.defaultMaxListeners = 100; // set max listeners to a more appropriate numbers\n\nrequire('regenerator-runtime/runtime');\n\n// eslint-disable-next-line @typescript-eslint/no-misused-promises\nprocess.on('unhandledRejection', async (err: any) => handleUnhandledRejection(err));\n\n// by default Bluebird enables the longStackTraces when env is `development`, or when\n// BLUEBIRD_DEBUG is set.\n// the drawback of enabling it all the time is a performance hit. (see http://bluebirdjs.com/docs/api/promise.longstacktraces.html)\n// some commands are slower by 20% with this enabled.\nBluebird.config({\n longStackTraces: Boolean(process.env.BLUEBIRD_DEBUG || process.env.BIT_LOG),\n});\n\nexport async function bootstrap() {\n enableLoaderIfPossible();\n printBitVersionIfAsked();\n warnIfRunningAsRoot();\n verifyNodeVersionCompatibility();\n await ensureDirectories();\n await Analytics.promptAnalyticsIfNeeded();\n}\n\nasync function ensureDirectories() {\n await fs.ensureDir(GLOBAL_CONFIG);\n await fs.ensureDir(GLOBAL_LOGS);\n}\n\nfunction verifyNodeVersionCompatibility() {\n const nodeVersion = process.versions.node.split('-')[0];\n const isCompatible = semver.satisfies(nodeVersion, SUPPORTED_NODE_VERSIONS);\n if (!isCompatible) {\n // eslint-disable-next-line no-console\n console.log(\n chalk.red(\n `Node version ${nodeVersion} is not supported, please use Node.js ${SUPPORTED_NODE_VERSIONS}.\nIf you must use legacy versions of Node.js, please use our binary installation methods. https://docs.bit.dev/docs/installation`\n )\n );\n process.exit(1);\n }\n const isRecommended = semver.satisfies(nodeVersion, RECOMMENDED_NODE_VERSIONS);\n if (!isRecommended) {\n // eslint-disable-next-line no-console\n console.log(\n chalk.yellow(\n `warning - use Node ${RECOMMENDED_NODE_VERSIONS} for best performance. Using Node ${nodeVersion} may cause regressions.`\n )\n );\n }\n}\n\nfunction warnIfRunningAsRoot() {\n const isRoot = process.getuid && process.getuid() === 0;\n if (isRoot) {\n printWarning('running bit as root might cause permission issues later');\n }\n}\n\
|
|
1
|
+
{"version":3,"names":["_bluebird","data","_interopRequireDefault","require","_chalk","_fsExtra","_semver","_bit","_legacy","_cli","_constants","_logger","_loader","e","__esModule","default","RECOMMENDED_NODE_VERSIONS","SUPPORTED_NODE_VERSIONS","process","env","MEMFS_DONT_WARN","EventEmitter","defaultMaxListeners","on","err","handleUnhandledRejection","Bluebird","config","longStackTraces","Boolean","BLUEBIRD_DEBUG","BIT_LOG","bootstrap","enableLoaderIfPossible","printBitVersionIfAsked","warnIfRunningAsRoot","verifyNodeVersionCompatibility","ensureDirectories","Analytics","promptAnalyticsIfNeeded","fs","ensureDir","GLOBAL_CONFIG","GLOBAL_LOGS","nodeVersion","versions","node","split","isCompatible","semver","satisfies","console","log","chalk","red","exit","isRecommended","yellow","isRoot","getuid","printWarning","argv","includes","harmonyVersion","getBitVersionGracefully","BIT_VERSION","safeCommandsForLoader","shouldDisableConsole","shouldDisableLoader","loader"],"sources":["bootstrap.ts"],"sourcesContent":["import Bluebird from 'bluebird';\nimport chalk from 'chalk';\nimport fs from 'fs-extra';\nimport semver from 'semver';\nimport { getBitVersionGracefully } from '@teambit/bit.get-bit-version';\nimport { Analytics } from '@teambit/legacy.analytics';\nimport { handleUnhandledRejection } from '@teambit/cli';\nimport { BIT_VERSION, GLOBAL_CONFIG, GLOBAL_LOGS } from '@teambit/legacy/dist/constants';\nimport { printWarning, shouldDisableConsole, shouldDisableLoader } from '@teambit/legacy/dist/logger/logger';\nimport loader from '@teambit/legacy/dist/cli/loader';\n\nconst RECOMMENDED_NODE_VERSIONS = '>=20.0.0 <21.0.0';\nconst SUPPORTED_NODE_VERSIONS = '>=16.0.0 <21.0.0';\n\nprocess.env.MEMFS_DONT_WARN = 'true'; // suppress fs experimental warnings from memfs\n\nrequire('events').EventEmitter.defaultMaxListeners = 100; // set max listeners to a more appropriate numbers\n\nrequire('regenerator-runtime/runtime');\n\n// eslint-disable-next-line @typescript-eslint/no-misused-promises\nprocess.on('unhandledRejection', async (err: any) => handleUnhandledRejection(err));\n\n// by default Bluebird enables the longStackTraces when env is `development`, or when\n// BLUEBIRD_DEBUG is set.\n// the drawback of enabling it all the time is a performance hit. (see http://bluebirdjs.com/docs/api/promise.longstacktraces.html)\n// some commands are slower by 20% with this enabled.\nBluebird.config({\n longStackTraces: Boolean(process.env.BLUEBIRD_DEBUG || process.env.BIT_LOG),\n});\n\nexport async function bootstrap() {\n enableLoaderIfPossible();\n printBitVersionIfAsked();\n warnIfRunningAsRoot();\n verifyNodeVersionCompatibility();\n await ensureDirectories();\n await Analytics.promptAnalyticsIfNeeded();\n}\n\nasync function ensureDirectories() {\n await fs.ensureDir(GLOBAL_CONFIG);\n await fs.ensureDir(GLOBAL_LOGS);\n}\n\nfunction verifyNodeVersionCompatibility() {\n const nodeVersion = process.versions.node.split('-')[0];\n const isCompatible = semver.satisfies(nodeVersion, SUPPORTED_NODE_VERSIONS);\n if (!isCompatible) {\n // eslint-disable-next-line no-console\n console.log(\n chalk.red(\n `Node version ${nodeVersion} is not supported, please use Node.js ${SUPPORTED_NODE_VERSIONS}.\nIf you must use legacy versions of Node.js, please use our binary installation methods. https://docs.bit.dev/docs/installation`\n )\n );\n process.exit(1);\n }\n const isRecommended = semver.satisfies(nodeVersion, RECOMMENDED_NODE_VERSIONS);\n if (!isRecommended) {\n // eslint-disable-next-line no-console\n console.log(\n chalk.yellow(\n `warning - use Node ${RECOMMENDED_NODE_VERSIONS} for best performance. Using Node ${nodeVersion} may cause regressions.`\n )\n );\n }\n}\n\nfunction warnIfRunningAsRoot() {\n const isRoot = process.getuid && process.getuid() === 0;\n if (isRoot) {\n printWarning('running bit as root might cause permission issues later');\n }\n}\n\nexport function printBitVersionIfAsked() {\n if (process.argv[2]) {\n if (['-V', '-v', '--version'].includes(process.argv[2])) {\n const harmonyVersion = getBitVersionGracefully();\n if (harmonyVersion) {\n console.log(harmonyVersion); // eslint-disable-line no-console\n } else {\n console.log(BIT_VERSION); // eslint-disable-line no-console\n }\n process.exit();\n }\n }\n}\n\n/**\n * once Yargs and Harmony are fully loaded we have all commands instances and we are able to\n * determine whether or not the loader should be loaded.\n * in this phase, all we have are the args from the cli, so we can only guess when it's ok to start\n * the loader. the reason we start it here is to have the loader report the progress of bit\n * bootstrap process, which can slow at times.\n */\nfunction enableLoaderIfPossible() {\n const safeCommandsForLoader = [\n 'status',\n 's', // status alias\n 'compile',\n 'start',\n 'add',\n 'show',\n 'tag',\n 'build',\n 'create',\n 'test',\n 'install',\n 'update',\n 'link',\n 'import',\n 'log',\n 'checkout',\n 'merge',\n 'diff',\n 'env',\n 'envs',\n ];\n if (safeCommandsForLoader.includes(process.argv[2]) && !shouldDisableConsole && !shouldDisableLoader) {\n loader.on();\n // loader.start('loading bit...');\n }\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,SAAA;EAAA,MAAAJ,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAE,QAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,QAAA;EAAA,MAAAL,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAG,OAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,KAAA;EAAA,MAAAN,IAAA,GAAAE,OAAA;EAAAI,IAAA,YAAAA,CAAA;IAAA,OAAAN,IAA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AIzC,OAAO,CAACyC,MAAM,CAAC,CAAC,KAAK,CAAC;EACvD,IAAID,MAAM,EAAE;IACV,IAAAE,sBAAY,EAAC,yDAAyD,CAAC;EACzE;AACF;AAEO,SAAS1B,sBAAsBA,CAAA,EAAG;EACvC,IAAIhB,OAAO,CAAC2C,IAAI,CAAC,CAAC,CAAC,EAAE;IACnB,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,CAACC,QAAQ,CAAC5C,OAAO,CAAC2C,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;MACvD,MAAME,cAAc,GAAG,IAAAC,8BAAuB,EAAC,CAAC;MAChD,IAAID,cAAc,EAAE;QAClBZ,OAAO,CAACC,GAAG,CAACW,cAAc,CAAC,CAAC,CAAC;MAC/B,CAAC,MAAM;QACLZ,OAAO,CAACC,GAAG,CAACa,wBAAW,CAAC,CAAC,CAAC;MAC5B;MACA/C,OAAO,CAACqC,IAAI,CAAC,CAAC;IAChB;EACF;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAStB,sBAAsBA,CAAA,EAAG;EAChC,MAAMiC,qBAAqB,GAAG,CAC5B,QAAQ,EACR,GAAG;EAAE;EACL,SAAS,EACT,OAAO,EACP,KAAK,EACL,MAAM,EACN,KAAK,EACL,OAAO,EACP,QAAQ,EACR,MAAM,EACN,SAAS,EACT,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,KAAK,EACL,UAAU,EACV,OAAO,EACP,MAAM,EACN,KAAK,EACL,MAAM,CACP;EACD,IAAIA,qBAAqB,CAACJ,QAAQ,CAAC5C,OAAO,CAAC2C,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAACM,8BAAoB,IAAI,CAACC,6BAAmB,EAAE;IACpGC,iBAAM,CAAC9C,EAAE,CAAC,CAAC;IACX;EACF;AACF","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_bit@1.8.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_bit@1.8.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_bit@1.8.9/dist/bit.compositions.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_bit@1.8.9/dist/bit.docs.js';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -4,6 +4,9 @@ export declare class ServerPortFileNotFound extends Error {
|
|
|
4
4
|
export declare class ServerNotFound extends Error {
|
|
5
5
|
constructor(port: number);
|
|
6
6
|
}
|
|
7
|
+
export declare class ScopeNotFound extends Error {
|
|
8
|
+
constructor(scopePath: string);
|
|
9
|
+
}
|
|
7
10
|
type CommandResult = {
|
|
8
11
|
data: any;
|
|
9
12
|
exitCode: number;
|
|
@@ -26,5 +29,5 @@ export declare class ServerCommander {
|
|
|
26
29
|
getExistingUsedPort(): Promise<number>;
|
|
27
30
|
private getServerPortFilePath;
|
|
28
31
|
}
|
|
29
|
-
export declare function shouldUseBitServer(): boolean
|
|
32
|
+
export declare function shouldUseBitServer(): boolean;
|
|
30
33
|
export {};
|
package/dist/server-commander.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.ServerPortFileNotFound = exports.ServerNotFound = exports.ServerCommander = void 0;
|
|
6
|
+
exports.ServerPortFileNotFound = exports.ServerNotFound = exports.ServerCommander = exports.ScopeNotFound = void 0;
|
|
7
7
|
exports.shouldUseBitServer = shouldUseBitServer;
|
|
8
8
|
function _nodeFetch() {
|
|
9
9
|
const data = _interopRequireDefault(require("node-fetch"));
|
|
@@ -54,6 +54,13 @@ function _loader() {
|
|
|
54
54
|
};
|
|
55
55
|
return data;
|
|
56
56
|
}
|
|
57
|
+
function _bootstrap() {
|
|
58
|
+
const data = require("./bootstrap");
|
|
59
|
+
_bootstrap = function () {
|
|
60
|
+
return data;
|
|
61
|
+
};
|
|
62
|
+
return data;
|
|
63
|
+
}
|
|
57
64
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
58
65
|
class ServerPortFileNotFound extends Error {
|
|
59
66
|
constructor(filePath) {
|
|
@@ -67,6 +74,12 @@ class ServerNotFound extends Error {
|
|
|
67
74
|
}
|
|
68
75
|
}
|
|
69
76
|
exports.ServerNotFound = ServerNotFound;
|
|
77
|
+
class ScopeNotFound extends Error {
|
|
78
|
+
constructor(scopePath) {
|
|
79
|
+
super(`scope not found at ${scopePath}`);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ScopeNotFound = ScopeNotFound;
|
|
70
83
|
class ServerCommander {
|
|
71
84
|
async execute() {
|
|
72
85
|
try {
|
|
@@ -84,13 +97,14 @@ class ServerCommander {
|
|
|
84
97
|
}
|
|
85
98
|
process.exit(0);
|
|
86
99
|
} catch (err) {
|
|
87
|
-
if (err instanceof ServerPortFileNotFound || err instanceof ServerNotFound) throw err;
|
|
100
|
+
if (err instanceof ServerPortFileNotFound || err instanceof ServerNotFound || err instanceof ScopeNotFound) throw err;
|
|
88
101
|
// eslint-disable-next-line no-console
|
|
89
102
|
console.error(_chalk().default.red(err.message));
|
|
90
103
|
process.exit(1);
|
|
91
104
|
}
|
|
92
105
|
}
|
|
93
106
|
async runCommandWithHttpServer() {
|
|
107
|
+
(0, _bootstrap().printBitVersionIfAsked)();
|
|
94
108
|
const port = await this.getExistingUsedPort();
|
|
95
109
|
const url = `http://localhost:${port}/api`;
|
|
96
110
|
this.initSSE(url);
|
|
@@ -178,15 +192,16 @@ class ServerCommander {
|
|
|
178
192
|
getServerPortFilePath() {
|
|
179
193
|
const scopePath = (0, _scopeModules().findScopePath)(process.cwd());
|
|
180
194
|
if (!scopePath) {
|
|
181
|
-
throw new
|
|
195
|
+
throw new ScopeNotFound(process.cwd());
|
|
182
196
|
}
|
|
183
197
|
return (0, _path().join)(scopePath, 'server-port.txt');
|
|
184
198
|
}
|
|
185
199
|
}
|
|
186
200
|
exports.ServerCommander = ServerCommander;
|
|
187
201
|
function shouldUseBitServer() {
|
|
188
|
-
const commandsToSkip = ['start', 'run', 'watch', '
|
|
189
|
-
|
|
202
|
+
const commandsToSkip = ['start', 'run', 'watch', 'server'];
|
|
203
|
+
const hasFlag = process.env.BIT_CLI_SERVER === 'true' || process.env.BIT_CLI_SERVER === '1';
|
|
204
|
+
return hasFlag && process.argv.length > 2 &&
|
|
190
205
|
// if it has no args, it shows the help
|
|
191
206
|
!commandsToSkip.includes(process.argv[2]);
|
|
192
207
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_nodeFetch","data","_interopRequireDefault","require","_fsExtra","_path","_eventsource","_scopeModules","_chalk","_loader","e","__esModule","default","ServerPortFileNotFound","Error","constructor","filePath","exports","ServerNotFound","port","ServerCommander","execute","results","runCommandWithHttpServer","exitCode","loader","off","dataToPrint","JSON","stringify","undefined","console","log","process","exit","err","error","chalk","red","message","getExistingUsedPort","url","initSSE","args","argv","slice","includes","on","command","join","endpoint","pwd","cwd","body","res","fetch","method","headers","code","ok","json","jsonResponse","statusText","eventSource","EventSource","onerror","_error","close","addEventListener","event","parsed","parse","getServerPortFilePath","fileContent","fs","readFile","parseInt","scopePath","findScopePath","shouldUseBitServer","commandsToSkip","env","BIT_CLI_SERVER","length"],"sources":["server-commander.ts"],"sourcesContent":["import fetch from 'node-fetch';\nimport fs from 'fs-extra';\nimport { join } from 'path';\nimport EventSource from 'eventsource';\nimport { findScopePath } from '@teambit/scope.modules.find-scope-path';\nimport chalk from 'chalk';\nimport loader from '@teambit/legacy/dist/cli/loader';\n\nexport class ServerPortFileNotFound extends Error {\n constructor(filePath: string) {\n super(`server port file not found at ${filePath}`);\n }\n}\nexport class ServerNotFound extends Error {\n constructor(port: number) {\n super(`bit server is not running on port ${port}`);\n }\n}\n\ntype CommandResult = { data: any; exitCode: number };\n\nexport class ServerCommander {\n async execute() {\n try {\n const results = await this.runCommandWithHttpServer();\n if (results) {\n const { data, exitCode } = results;\n loader.off();\n const dataToPrint = typeof data === 'string' ? data : JSON.stringify(data, undefined, 2);\n // eslint-disable-next-line no-console\n console.log(dataToPrint);\n process.exit(exitCode);\n }\n\n process.exit(0);\n } catch (err: any) {\n if (err instanceof ServerPortFileNotFound || err instanceof ServerNotFound) throw err;\n // eslint-disable-next-line no-console\n console.error(chalk.red(err.message));\n process.exit(1);\n }\n }\n\n async runCommandWithHttpServer(): Promise<CommandResult | undefined> {\n const port = await this.getExistingUsedPort();\n const url = `http://localhost:${port}/api`;\n this.initSSE(url);\n // parse the args and options from the command\n const args = process.argv.slice(2);\n if (!args.includes('--json') && !args.includes('-j')) {\n loader.on();\n }\n const command = args.join(' ');\n const endpoint = `cli-raw`;\n const pwd = process.cwd();\n const body = { command, pwd };\n let res;\n try {\n res = await fetch(`${url}/${endpoint}`, {\n method: 'post',\n body: JSON.stringify(body),\n headers: { 'Content-Type': 'application/json' },\n });\n } catch (err: any) {\n if (err.code === 'ECONNREFUSED') {\n throw new ServerNotFound(port);\n }\n throw new Error(`failed to run command \"${command}\" on the server. ${err.message}`);\n }\n\n if (res.ok) {\n const results = await res.json();\n return results;\n }\n\n let jsonResponse;\n try {\n jsonResponse = await res.json();\n } catch (e: any) {\n // the response is not json, ignore the body.\n }\n throw new Error(jsonResponse?.message || jsonResponse || res.statusText);\n }\n\n /**\n * Initialize the server-sent events (SSE) connection to the server.\n * This is used to print the logs and show the loader during the command.\n * Without this, it only shows the response from http server, but not the \"logger.console\" or \"logger.setStatusLine\" texts.\n *\n * I wasn't able to find a better way to do it. The challenge here is that the http server is running in a different\n * process, which is not connected to the current process in any way. (unlike the IDE which is its child process and\n * can access its stdout).\n * One of the attempts I made is sending the \"tty\" path to the server and let the server console log to that path, but\n * it didn't work well. It was printed only after the response came back from the server.\n */\n private initSSE(url: string) {\n const eventSource = new EventSource(`${url}/sse-events`);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n eventSource.onerror = (_error: any) => {\n // eslint-disable-next-line no-console\n // console.error('Error occurred in SSE connection:', _error);\n // probably was unable to connect to the server and will throw ServerNotFound right after. no need to show this error.\n eventSource.close();\n };\n eventSource.addEventListener('onLoader', (event: any) => {\n const parsed = JSON.parse(event.data);\n const { method, args } = parsed;\n loader[method](...(args || []));\n });\n }\n\n async getExistingUsedPort(): Promise<number> {\n const filePath = this.getServerPortFilePath();\n try {\n const fileContent = await fs.readFile(filePath, 'utf8');\n return parseInt(fileContent, 10);\n } catch (err: any) {\n if (err.code === 'ENOENT') {\n throw new ServerPortFileNotFound(filePath);\n }\n throw err;\n }\n }\n\n private getServerPortFilePath() {\n const scopePath = findScopePath(process.cwd());\n if (!scopePath) {\n throw new Error(`scope not found at ${process.cwd()}`);\n }\n return join(scopePath, 'server-port.txt');\n }\n}\n\nexport function shouldUseBitServer() {\n const commandsToSkip = ['start', 'run', 'watch', 'init', 'server'];\n return (\n process.env.BIT_CLI_SERVER &&\n !process.argv.includes('--help') &&\n !process.argv.includes('-h') &&\n process.argv.length > 2 && // if it has no args, it shows the help\n !commandsToSkip.includes(process.argv[2])\n );\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,SAAA;EAAA,MAAAH,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,MAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,KAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;E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CAAC,QAAQ,CAAC,IAChC,CAACb,OAAO,CAACW,IAAI,CAACE,QAAQ,CAAC,IAAI,CAAC,IAC5Bb,OAAO,CAACW,IAAI,CAACuC,MAAM,GAAG,CAAC;EAAI;EAC3B,CAACH,cAAc,CAAClC,QAAQ,CAACb,OAAO,CAACW,IAAI,CAAC,CAAC,CAAC,CAAC;AAE7C","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_nodeFetch","data","_interopRequireDefault","require","_fsExtra","_path","_eventsource","_scopeModules","_chalk","_loader","_bootstrap","e","__esModule","default","ServerPortFileNotFound","Error","constructor","filePath","exports","ServerNotFound","port","ScopeNotFound","scopePath","ServerCommander","execute","results","runCommandWithHttpServer","exitCode","loader","off","dataToPrint","JSON","stringify","undefined","console","log","process","exit","err","error","chalk","red","message","printBitVersionIfAsked","getExistingUsedPort","url","initSSE","args","argv","slice","includes","on","command","join","endpoint","pwd","cwd","body","res","fetch","method","headers","code","ok","json","jsonResponse","statusText","eventSource","EventSource","onerror","_error","close","addEventListener","event","parsed","parse","getServerPortFilePath","fileContent","fs","readFile","parseInt","findScopePath","shouldUseBitServer","commandsToSkip","hasFlag","env","BIT_CLI_SERVER","length"],"sources":["server-commander.ts"],"sourcesContent":["import fetch from 'node-fetch';\nimport fs from 'fs-extra';\nimport { join } from 'path';\nimport EventSource from 'eventsource';\nimport { findScopePath } from '@teambit/scope.modules.find-scope-path';\nimport chalk from 'chalk';\nimport loader from '@teambit/legacy/dist/cli/loader';\nimport { printBitVersionIfAsked } from './bootstrap';\n\nexport class ServerPortFileNotFound extends Error {\n constructor(filePath: string) {\n super(`server port file not found at ${filePath}`);\n }\n}\nexport class ServerNotFound extends Error {\n constructor(port: number) {\n super(`bit server is not running on port ${port}`);\n }\n}\nexport class ScopeNotFound extends Error {\n constructor(scopePath: string) {\n super(`scope not found at ${scopePath}`);\n }\n}\n\ntype CommandResult = { data: any; exitCode: number };\n\nexport class ServerCommander {\n async execute() {\n try {\n const results = await this.runCommandWithHttpServer();\n if (results) {\n const { data, exitCode } = results;\n loader.off();\n const dataToPrint = typeof data === 'string' ? data : JSON.stringify(data, undefined, 2);\n // eslint-disable-next-line no-console\n console.log(dataToPrint);\n process.exit(exitCode);\n }\n\n process.exit(0);\n } catch (err: any) {\n if (err instanceof ServerPortFileNotFound || err instanceof ServerNotFound || err instanceof ScopeNotFound)\n throw err;\n // eslint-disable-next-line no-console\n console.error(chalk.red(err.message));\n process.exit(1);\n }\n }\n\n async runCommandWithHttpServer(): Promise<CommandResult | undefined> {\n printBitVersionIfAsked();\n const port = await this.getExistingUsedPort();\n const url = `http://localhost:${port}/api`;\n this.initSSE(url);\n // parse the args and options from the command\n const args = process.argv.slice(2);\n if (!args.includes('--json') && !args.includes('-j')) {\n loader.on();\n }\n const command = args.join(' ');\n const endpoint = `cli-raw`;\n const pwd = process.cwd();\n const body = { command, pwd };\n let res;\n try {\n res = await fetch(`${url}/${endpoint}`, {\n method: 'post',\n body: JSON.stringify(body),\n headers: { 'Content-Type': 'application/json' },\n });\n } catch (err: any) {\n if (err.code === 'ECONNREFUSED') {\n throw new ServerNotFound(port);\n }\n throw new Error(`failed to run command \"${command}\" on the server. ${err.message}`);\n }\n\n if (res.ok) {\n const results = await res.json();\n return results;\n }\n\n let jsonResponse;\n try {\n jsonResponse = await res.json();\n } catch (e: any) {\n // the response is not json, ignore the body.\n }\n throw new Error(jsonResponse?.message || jsonResponse || res.statusText);\n }\n\n /**\n * Initialize the server-sent events (SSE) connection to the server.\n * This is used to print the logs and show the loader during the command.\n * Without this, it only shows the response from http server, but not the \"logger.console\" or \"logger.setStatusLine\" texts.\n *\n * I wasn't able to find a better way to do it. The challenge here is that the http server is running in a different\n * process, which is not connected to the current process in any way. (unlike the IDE which is its child process and\n * can access its stdout).\n * One of the attempts I made is sending the \"tty\" path to the server and let the server console log to that path, but\n * it didn't work well. It was printed only after the response came back from the server.\n */\n private initSSE(url: string) {\n const eventSource = new EventSource(`${url}/sse-events`);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n eventSource.onerror = (_error: any) => {\n // eslint-disable-next-line no-console\n // console.error('Error occurred in SSE connection:', _error);\n // probably was unable to connect to the server and will throw ServerNotFound right after. no need to show this error.\n eventSource.close();\n };\n eventSource.addEventListener('onLoader', (event: any) => {\n const parsed = JSON.parse(event.data);\n const { method, args } = parsed;\n loader[method](...(args || []));\n });\n }\n\n async getExistingUsedPort(): Promise<number> {\n const filePath = this.getServerPortFilePath();\n try {\n const fileContent = await fs.readFile(filePath, 'utf8');\n return parseInt(fileContent, 10);\n } catch (err: any) {\n if (err.code === 'ENOENT') {\n throw new ServerPortFileNotFound(filePath);\n }\n throw err;\n }\n }\n\n private getServerPortFilePath() {\n const scopePath = findScopePath(process.cwd());\n if (!scopePath) {\n throw new ScopeNotFound(process.cwd());\n }\n return join(scopePath, 'server-port.txt');\n }\n}\n\nexport function shouldUseBitServer() {\n const commandsToSkip = ['start', 'run', 'watch', 'server'];\n const hasFlag = process.env.BIT_CLI_SERVER === 'true' || process.env.BIT_CLI_SERVER === '1';\n return (\n hasFlag &&\n process.argv.length > 2 && // if it has no args, it shows the help\n !commandsToSkip.includes(process.argv[2])\n );\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,SAAA;EAAA,MAAAH,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,MAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,KAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,aAAA;EAAA,MAAAL,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAA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eAAA,GAAAA,eAAA;AAEM,SAAS2D,kBAAkBA,CAAA,EAAG;EACnC,MAAMC,cAAc,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,CAAC;EAC1D,MAAMC,OAAO,GAAGhD,OAAO,CAACiD,GAAG,CAACC,cAAc,KAAK,MAAM,IAAIlD,OAAO,CAACiD,GAAG,CAACC,cAAc,KAAK,GAAG;EAC3F,OACEF,OAAO,IACPhD,OAAO,CAACY,IAAI,CAACuC,MAAM,GAAG,CAAC;EAAI;EAC3B,CAACJ,cAAc,CAACjC,QAAQ,CAACd,OAAO,CAACY,IAAI,CAAC,CAAC,CAAC,CAAC;AAE7C","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/bit",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.9",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/bit",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "bit",
|
|
9
|
-
"version": "1.8.
|
|
9
|
+
"version": "1.8.9"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"comment-json": "3.0.3",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@yarnpkg/plugin-pack": "3.2.0",
|
|
40
40
|
"@yarnpkg/core": "3.5.2",
|
|
41
41
|
"@yarnpkg/cli": "3.6.1",
|
|
42
|
-
"@teambit/legacy": "1.0.
|
|
42
|
+
"@teambit/legacy": "1.0.732",
|
|
43
43
|
"@apollo/client": "3.6.9",
|
|
44
44
|
"@teambit/harmony": "0.4.6",
|
|
45
45
|
"@teambit/design.ui.brand.logo": "1.96.2",
|
|
@@ -49,117 +49,117 @@
|
|
|
49
49
|
"@teambit/scope.modules.find-scope-path": "0.0.1",
|
|
50
50
|
"@teambit/ui-foundation.ui.navigation.react-router-adapter": "6.1.1",
|
|
51
51
|
"@teambit/base-react.navigation.link": "2.0.27",
|
|
52
|
-
"@teambit/cli": "0.0.
|
|
53
|
-
"@teambit/harmony.content.cli-reference": "2.0.
|
|
52
|
+
"@teambit/cli": "0.0.935",
|
|
53
|
+
"@teambit/harmony.content.cli-reference": "2.0.362",
|
|
54
54
|
"@teambit/bit.get-bit-version": "0.0.1",
|
|
55
|
-
"@teambit/legacy.analytics": "0.0.
|
|
56
|
-
"@teambit/aspect-loader": "1.0.
|
|
55
|
+
"@teambit/legacy.analytics": "0.0.18",
|
|
56
|
+
"@teambit/aspect-loader": "1.0.358",
|
|
57
57
|
"@teambit/clear-cache": "0.0.411",
|
|
58
|
-
"@teambit/config": "0.0.
|
|
59
|
-
"@teambit/legacy.bit-map": "0.0.
|
|
60
|
-
"@teambit/legacy.scope-api": "0.0.
|
|
61
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.
|
|
62
|
-
"@teambit/api-reference": "1.0.
|
|
63
|
-
"@teambit/api-server": "1.0.
|
|
64
|
-
"@teambit/application": "1.0.
|
|
65
|
-
"@teambit/aspect": "1.0.
|
|
66
|
-
"@teambit/babel": "1.0.
|
|
67
|
-
"@teambit/builder": "1.0.
|
|
68
|
-
"@teambit/bundler": "1.0.
|
|
69
|
-
"@teambit/cache": "0.0.
|
|
70
|
-
"@teambit/changelog": "1.0.
|
|
71
|
-
"@teambit/checkout": "1.0.
|
|
72
|
-
"@teambit/cloud": "0.0.
|
|
73
|
-
"@teambit/code": "1.0.
|
|
74
|
-
"@teambit/command-bar": "1.0.
|
|
75
|
-
"@teambit/community": "1.0.
|
|
76
|
-
"@teambit/compiler": "1.0.
|
|
77
|
-
"@teambit/component-compare": "1.0.
|
|
78
|
-
"@teambit/component-log": "1.0.
|
|
79
|
-
"@teambit/component-sizer": "1.0.
|
|
80
|
-
"@teambit/component-tree": "1.0.
|
|
81
|
-
"@teambit/component-writer": "1.0.
|
|
82
|
-
"@teambit/component": "1.0.
|
|
83
|
-
"@teambit/compositions": "1.0.
|
|
84
|
-
"@teambit/config-merger": "0.0.
|
|
85
|
-
"@teambit/dependencies": "1.0.
|
|
86
|
-
"@teambit/dependency-resolver": "1.0.
|
|
87
|
-
"@teambit/deprecation": "1.0.
|
|
88
|
-
"@teambit/dev-files": "1.0.
|
|
89
|
-
"@teambit/diagnostic": "1.0.
|
|
90
|
-
"@teambit/docs": "1.0.
|
|
91
|
-
"@teambit/doctor": "0.0.
|
|
92
|
-
"@teambit/eject": "1.0.
|
|
93
|
-
"@teambit/env": "1.0.
|
|
94
|
-
"@teambit/envs": "1.0.
|
|
95
|
-
"@teambit/eslint": "1.0.
|
|
96
|
-
"@teambit/export": "1.0.
|
|
97
|
-
"@teambit/express": "0.0.
|
|
98
|
-
"@teambit/forking": "1.0.
|
|
99
|
-
"@teambit/formatter": "1.0.
|
|
100
|
-
"@teambit/generator": "1.0.
|
|
101
|
-
"@teambit/git": "1.0.
|
|
102
|
-
"@teambit/global-config": "0.0.
|
|
103
|
-
"@teambit/graph": "1.0.
|
|
104
|
-
"@teambit/graphql": "1.0.
|
|
105
|
-
"@teambit/harmony-ui-app": "1.0.
|
|
106
|
-
"@teambit/host-initializer": "0.0.
|
|
107
|
-
"@teambit/html": "1.0.
|
|
108
|
-
"@teambit/importer": "1.0.
|
|
109
|
-
"@teambit/insights": "1.0.
|
|
110
|
-
"@teambit/install": "1.0.
|
|
111
|
-
"@teambit/ipc-events": "1.0.
|
|
112
|
-
"@teambit/isolator": "1.0.
|
|
113
|
-
"@teambit/issues": "1.0.
|
|
114
|
-
"@teambit/jest": "1.0.
|
|
115
|
-
"@teambit/lanes": "1.0.
|
|
116
|
-
"@teambit/linter": "1.0.
|
|
117
|
-
"@teambit/lister": "1.0.
|
|
118
|
-
"@teambit/logger": "0.0.
|
|
119
|
-
"@teambit/mdx": "1.0.
|
|
120
|
-
"@teambit/merge-lanes": "1.0.
|
|
121
|
-
"@teambit/merging": "1.0.
|
|
122
|
-
"@teambit/mocha": "1.0.
|
|
123
|
-
"@teambit/mover": "1.0.
|
|
124
|
-
"@teambit/multi-compiler": "1.0.
|
|
125
|
-
"@teambit/multi-tester": "1.0.
|
|
126
|
-
"@teambit/new-component-helper": "1.0.
|
|
127
|
-
"@teambit/node": "1.0.
|
|
128
|
-
"@teambit/notifications": "1.0.
|
|
129
|
-
"@teambit/panels": "0.0.
|
|
130
|
-
"@teambit/pkg": "1.0.
|
|
131
|
-
"@teambit/pnpm": "1.0.
|
|
132
|
-
"@teambit/prettier": "1.0.
|
|
133
|
-
"@teambit/preview": "1.0.
|
|
134
|
-
"@teambit/pubsub": "1.0.
|
|
135
|
-
"@teambit/react-native": "1.0.
|
|
136
|
-
"@teambit/react-router": "1.0.
|
|
137
|
-
"@teambit/react": "1.0.
|
|
138
|
-
"@teambit/readme": "1.0.
|
|
139
|
-
"@teambit/refactoring": "1.0.
|
|
140
|
-
"@teambit/remove": "1.0.
|
|
141
|
-
"@teambit/renaming": "1.0.
|
|
142
|
-
"@teambit/schema": "1.0.
|
|
143
|
-
"@teambit/scope": "1.0.
|
|
144
|
-
"@teambit/sidebar": "1.0.
|
|
145
|
-
"@teambit/sign": "1.0.
|
|
146
|
-
"@teambit/snapping": "1.0.
|
|
147
|
-
"@teambit/stash": "1.0.
|
|
148
|
-
"@teambit/status": "1.0.
|
|
149
|
-
"@teambit/tester": "1.0.
|
|
150
|
-
"@teambit/tracker": "1.0.
|
|
151
|
-
"@teambit/typescript": "1.0.
|
|
152
|
-
"@teambit/ui": "1.0.
|
|
153
|
-
"@teambit/update-dependencies": "1.0.
|
|
154
|
-
"@teambit/user-agent": "1.0.
|
|
155
|
-
"@teambit/variants": "0.0.
|
|
156
|
-
"@teambit/version-history": "0.0.
|
|
157
|
-
"@teambit/watcher": "1.0.
|
|
158
|
-
"@teambit/webpack": "1.0.
|
|
159
|
-
"@teambit/worker": "0.0.
|
|
160
|
-
"@teambit/workspace-config-files": "1.0.
|
|
161
|
-
"@teambit/workspace": "1.0.
|
|
162
|
-
"@teambit/yarn": "1.0.
|
|
58
|
+
"@teambit/config": "0.0.1109",
|
|
59
|
+
"@teambit/legacy.bit-map": "0.0.16",
|
|
60
|
+
"@teambit/legacy.scope-api": "0.0.15",
|
|
61
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.187",
|
|
62
|
+
"@teambit/api-reference": "1.0.358",
|
|
63
|
+
"@teambit/api-server": "1.0.358",
|
|
64
|
+
"@teambit/application": "1.0.358",
|
|
65
|
+
"@teambit/aspect": "1.0.358",
|
|
66
|
+
"@teambit/babel": "1.0.358",
|
|
67
|
+
"@teambit/builder": "1.0.358",
|
|
68
|
+
"@teambit/bundler": "1.0.358",
|
|
69
|
+
"@teambit/cache": "0.0.1028",
|
|
70
|
+
"@teambit/changelog": "1.0.358",
|
|
71
|
+
"@teambit/checkout": "1.0.358",
|
|
72
|
+
"@teambit/cloud": "0.0.634",
|
|
73
|
+
"@teambit/code": "1.0.358",
|
|
74
|
+
"@teambit/command-bar": "1.0.358",
|
|
75
|
+
"@teambit/community": "1.0.358",
|
|
76
|
+
"@teambit/compiler": "1.0.358",
|
|
77
|
+
"@teambit/component-compare": "1.0.358",
|
|
78
|
+
"@teambit/component-log": "1.0.358",
|
|
79
|
+
"@teambit/component-sizer": "1.0.358",
|
|
80
|
+
"@teambit/component-tree": "1.0.358",
|
|
81
|
+
"@teambit/component-writer": "1.0.358",
|
|
82
|
+
"@teambit/component": "1.0.358",
|
|
83
|
+
"@teambit/compositions": "1.0.358",
|
|
84
|
+
"@teambit/config-merger": "0.0.225",
|
|
85
|
+
"@teambit/dependencies": "1.0.358",
|
|
86
|
+
"@teambit/dependency-resolver": "1.0.358",
|
|
87
|
+
"@teambit/deprecation": "1.0.358",
|
|
88
|
+
"@teambit/dev-files": "1.0.358",
|
|
89
|
+
"@teambit/diagnostic": "1.0.358",
|
|
90
|
+
"@teambit/docs": "1.0.358",
|
|
91
|
+
"@teambit/doctor": "0.0.41",
|
|
92
|
+
"@teambit/eject": "1.0.358",
|
|
93
|
+
"@teambit/env": "1.0.358",
|
|
94
|
+
"@teambit/envs": "1.0.358",
|
|
95
|
+
"@teambit/eslint": "1.0.358",
|
|
96
|
+
"@teambit/export": "1.0.358",
|
|
97
|
+
"@teambit/express": "0.0.1034",
|
|
98
|
+
"@teambit/forking": "1.0.358",
|
|
99
|
+
"@teambit/formatter": "1.0.358",
|
|
100
|
+
"@teambit/generator": "1.0.359",
|
|
101
|
+
"@teambit/git": "1.0.358",
|
|
102
|
+
"@teambit/global-config": "0.0.938",
|
|
103
|
+
"@teambit/graph": "1.0.358",
|
|
104
|
+
"@teambit/graphql": "1.0.358",
|
|
105
|
+
"@teambit/harmony-ui-app": "1.0.358",
|
|
106
|
+
"@teambit/host-initializer": "0.0.71",
|
|
107
|
+
"@teambit/html": "1.0.358",
|
|
108
|
+
"@teambit/importer": "1.0.358",
|
|
109
|
+
"@teambit/insights": "1.0.358",
|
|
110
|
+
"@teambit/install": "1.0.358",
|
|
111
|
+
"@teambit/ipc-events": "1.0.358",
|
|
112
|
+
"@teambit/isolator": "1.0.358",
|
|
113
|
+
"@teambit/issues": "1.0.358",
|
|
114
|
+
"@teambit/jest": "1.0.358",
|
|
115
|
+
"@teambit/lanes": "1.0.358",
|
|
116
|
+
"@teambit/linter": "1.0.358",
|
|
117
|
+
"@teambit/lister": "1.0.358",
|
|
118
|
+
"@teambit/logger": "0.0.1028",
|
|
119
|
+
"@teambit/mdx": "1.0.358",
|
|
120
|
+
"@teambit/merge-lanes": "1.0.358",
|
|
121
|
+
"@teambit/merging": "1.0.358",
|
|
122
|
+
"@teambit/mocha": "1.0.358",
|
|
123
|
+
"@teambit/mover": "1.0.358",
|
|
124
|
+
"@teambit/multi-compiler": "1.0.358",
|
|
125
|
+
"@teambit/multi-tester": "1.0.358",
|
|
126
|
+
"@teambit/new-component-helper": "1.0.358",
|
|
127
|
+
"@teambit/node": "1.0.358",
|
|
128
|
+
"@teambit/notifications": "1.0.358",
|
|
129
|
+
"@teambit/panels": "0.0.937",
|
|
130
|
+
"@teambit/pkg": "1.0.358",
|
|
131
|
+
"@teambit/pnpm": "1.0.358",
|
|
132
|
+
"@teambit/prettier": "1.0.358",
|
|
133
|
+
"@teambit/preview": "1.0.358",
|
|
134
|
+
"@teambit/pubsub": "1.0.358",
|
|
135
|
+
"@teambit/react-native": "1.0.358",
|
|
136
|
+
"@teambit/react-router": "1.0.358",
|
|
137
|
+
"@teambit/react": "1.0.358",
|
|
138
|
+
"@teambit/readme": "1.0.358",
|
|
139
|
+
"@teambit/refactoring": "1.0.358",
|
|
140
|
+
"@teambit/remove": "1.0.358",
|
|
141
|
+
"@teambit/renaming": "1.0.358",
|
|
142
|
+
"@teambit/schema": "1.0.358",
|
|
143
|
+
"@teambit/scope": "1.0.358",
|
|
144
|
+
"@teambit/sidebar": "1.0.358",
|
|
145
|
+
"@teambit/sign": "1.0.358",
|
|
146
|
+
"@teambit/snapping": "1.0.358",
|
|
147
|
+
"@teambit/stash": "1.0.358",
|
|
148
|
+
"@teambit/status": "1.0.358",
|
|
149
|
+
"@teambit/tester": "1.0.358",
|
|
150
|
+
"@teambit/tracker": "1.0.358",
|
|
151
|
+
"@teambit/typescript": "1.0.358",
|
|
152
|
+
"@teambit/ui": "1.0.358",
|
|
153
|
+
"@teambit/update-dependencies": "1.0.358",
|
|
154
|
+
"@teambit/user-agent": "1.0.358",
|
|
155
|
+
"@teambit/variants": "0.0.1202",
|
|
156
|
+
"@teambit/version-history": "0.0.150",
|
|
157
|
+
"@teambit/watcher": "1.0.358",
|
|
158
|
+
"@teambit/webpack": "1.0.358",
|
|
159
|
+
"@teambit/worker": "0.0.1239",
|
|
160
|
+
"@teambit/workspace-config-files": "1.0.358",
|
|
161
|
+
"@teambit/workspace": "1.0.358",
|
|
162
|
+
"@teambit/yarn": "1.0.358"
|
|
163
163
|
},
|
|
164
164
|
"devDependencies": {
|
|
165
165
|
"@types/fs-extra": "9.0.7",
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
},
|
|
175
175
|
"peerDependencies": {
|
|
176
176
|
"react": "17.0.2",
|
|
177
|
-
"@teambit/legacy": "1.0.
|
|
177
|
+
"@teambit/legacy": "1.0.732",
|
|
178
178
|
"@types/react": "^17.0.73"
|
|
179
179
|
},
|
|
180
180
|
"license": "Apache-2.0",
|