@teambit/code 1.0.142 → 1.0.143
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 +4 -0
- package/artifacts/preview/teambit_component_code-preview.js +1 -1
- package/dist/code.composition.d.ts +1 -0
- package/dist/code.section.d.ts +1 -0
- package/dist/code.ui.runtime.d.ts +1 -1
- package/dist/{preview-1705806923881.js → preview-1706194779559.js} +2 -2
- package/package.json +12 -12
- package/tsconfig.json +4 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/code-preview"]=t():e["teambit.component/code-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/code-preview"]=t():e["teambit.component/code-preview"]=t()}(self,(()=>(()=>{"use strict";var e={42693:(e,t,o)=>{var n={id:"teambit.component/code@1.0.143",homepage:"https://bit.cloud/teambit/component/code",exported:!0};function r(){const e=i(o(87363));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const c=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/code.svg"}));c.__bit_component=n,t.Logo=c},87363:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>u,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(42693);o(87363);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var c=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p.apply(this,arguments)}var a={},s="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,c);return(0,r.mdx)(s,p({},a,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
|
package/dist/code.section.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare class CodeUI {
|
|
|
20
20
|
/**
|
|
21
21
|
* register an icon for a specific file type. pass icon and a match method/regexp
|
|
22
22
|
*/
|
|
23
|
-
host: string, fileIconSlot?: FileIconSlot);
|
|
23
|
+
host: string, fileIconSlot?: FileIconSlot | undefined);
|
|
24
24
|
getCodePage: (props?: Partial<CodePageProps>) => JSX.Element;
|
|
25
25
|
getCodeCompare: (props?: Partial<CodeCompareProps>) => JSX.Element;
|
|
26
26
|
getCodeEditorProvider: () => React.FC<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_code@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_code@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_code@1.0.143/dist/code.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_code@1.0.143/dist/code.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/code",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.143",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/code",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "code",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.143"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/harmony": "0.4.6",
|
|
@@ -15,21 +15,20 @@
|
|
|
15
15
|
"@teambit/code.ui.code-compare-section": "0.0.5",
|
|
16
16
|
"@teambit/code.ui.code-editor": "0.0.8",
|
|
17
17
|
"@teambit/code.ui.utils.get-file-icon": "0.0.495",
|
|
18
|
-
"@teambit/component": "1.0.
|
|
19
|
-
"@teambit/code.ui.code-compare": "0.0.
|
|
20
|
-
"@teambit/code.ui.code-tab-page": "0.0.
|
|
21
|
-
"@teambit/component-compare": "1.0.
|
|
22
|
-
"@teambit/ui": "1.0.
|
|
18
|
+
"@teambit/component": "1.0.143",
|
|
19
|
+
"@teambit/code.ui.code-compare": "0.0.289",
|
|
20
|
+
"@teambit/code.ui.code-tab-page": "0.0.635",
|
|
21
|
+
"@teambit/component-compare": "1.0.143",
|
|
22
|
+
"@teambit/ui": "1.0.143"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/mocha": "9.1.0",
|
|
26
|
-
"
|
|
27
|
-
"@
|
|
28
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.19"
|
|
26
|
+
"chai": "4.3.0",
|
|
27
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.24"
|
|
29
28
|
},
|
|
30
29
|
"peerDependencies": {
|
|
31
30
|
"react": "^17.0.0 || ^18.0.0",
|
|
32
|
-
"@types/react": "17.0.
|
|
31
|
+
"@types/react": "^17.0.73",
|
|
33
32
|
"@teambit/legacy": "1.0.624"
|
|
34
33
|
},
|
|
35
34
|
"license": "Apache-2.0",
|
|
@@ -44,7 +43,8 @@
|
|
|
44
43
|
"default": "./dist/index.js"
|
|
45
44
|
},
|
|
46
45
|
"./dist/*": "./dist/*",
|
|
47
|
-
"./artifacts/*": "./artifacts/*"
|
|
46
|
+
"./artifacts/*": "./artifacts/*",
|
|
47
|
+
"./*": "./*.ts"
|
|
48
48
|
},
|
|
49
49
|
"private": false,
|
|
50
50
|
"engines": {
|
package/tsconfig.json
CHANGED
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
"resolveJsonModule": true,
|
|
18
18
|
"allowJs": true,
|
|
19
19
|
"outDir": "dist",
|
|
20
|
-
"emitDeclarationOnly": true
|
|
20
|
+
"emitDeclarationOnly": true,
|
|
21
|
+
"strict": true,
|
|
22
|
+
"strictPropertyInitialization": false,
|
|
23
|
+
"noImplicitAny": false
|
|
21
24
|
},
|
|
22
25
|
"exclude": [
|
|
23
26
|
"artifacts",
|