@teambit/preview 0.0.1064 → 0.0.1065
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/bundler/html-template.ts +1 -0
- package/dist/bundler/html-template.js +1 -0
- package/dist/bundler/html-template.js.map +1 -1
- package/dist/{preview-1685072133537.js → preview-1685272045621.js} +2 -2
- package/package-tar/teambit-preview-0.0.1065.tgz +0 -0
- package/package.json +20 -20
- package/package-tar/teambit-preview-0.0.1064.tgz +0 -0
package/bundler/html-template.ts
CHANGED
|
@@ -11,6 +11,7 @@ export function html(title: string) {
|
|
|
11
11
|
// Allow to use react dev-tools inside the examples
|
|
12
12
|
try { window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__; } catch {}
|
|
13
13
|
</script>
|
|
14
|
+
<style> body { margin: 0; } </style>
|
|
14
15
|
</head>
|
|
15
16
|
<body>
|
|
16
17
|
<div id="root"></div>
|
|
@@ -17,6 +17,7 @@ function html(title) {
|
|
|
17
17
|
// Allow to use react dev-tools inside the examples
|
|
18
18
|
try { window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__; } catch {}
|
|
19
19
|
</script>
|
|
20
|
+
<style> body { margin: 0; } </style>
|
|
20
21
|
</head>
|
|
21
22
|
<body>
|
|
22
23
|
<div id="root"></div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["html","title"],"sources":["html-template.ts"],"sourcesContent":["/** html template for Previews (docs, compositions, etc) */\nexport function html(title: string) {\n return `\n <!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>${title}</title>\n <script>\n // Allow to use react dev-tools inside the examples\n try { window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__; } catch {}\n </script>\n </head>\n <body>\n <div id=\"root\"></div>\n </body>\n </html>\n `;\n}\n"],"mappings":";;;;;;AAAA;AACO,SAASA,IAAI,CAACC,KAAa,EAAE;EAClC,OAAQ;AACV;AACA;AACA;AACA;AACA;AACA,eAAeA,KAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH"}
|
|
1
|
+
{"version":3,"names":["html","title"],"sources":["html-template.ts"],"sourcesContent":["/** html template for Previews (docs, compositions, etc) */\nexport function html(title: string) {\n return `\n <!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>${title}</title>\n <script>\n // Allow to use react dev-tools inside the examples\n try { window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__; } catch {}\n </script>\n <style> body { margin: 0; } </style>\n </head>\n <body>\n <div id=\"root\"></div>\n </body>\n </html>\n `;\n}\n"],"mappings":";;;;;;AAAA;AACO,SAASA,IAAI,CAACC,KAAa,EAAE;EAClC,OAAQ;AACV;AACA;AACA;AACA;AACA;AACA,eAAeA,KAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.1065/dist/preview.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.1065/dist/preview.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/preview",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1065",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/preview/preview",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.preview",
|
|
8
8
|
"name": "preview",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1065"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"mime": "2.5.2",
|
|
@@ -24,29 +24,29 @@
|
|
|
24
24
|
"@babel/runtime": "7.20.0",
|
|
25
25
|
"@teambit/component-id": "0.0.427",
|
|
26
26
|
"@teambit/harmony": "0.4.6",
|
|
27
|
-
"@teambit/express": "0.0.
|
|
28
|
-
"@teambit/logger": "0.0.
|
|
27
|
+
"@teambit/express": "0.0.816",
|
|
28
|
+
"@teambit/logger": "0.0.811",
|
|
29
29
|
"@teambit/ui-foundation.ui.pages.static-error": "0.0.86",
|
|
30
|
-
"@teambit/builder": "0.0.
|
|
31
|
-
"@teambit/bundler": "0.0.
|
|
32
|
-
"@teambit/component": "0.0.
|
|
30
|
+
"@teambit/builder": "0.0.1065",
|
|
31
|
+
"@teambit/bundler": "0.0.1065",
|
|
32
|
+
"@teambit/component": "0.0.1065",
|
|
33
33
|
"@teambit/preview.ui.component-preview": "0.0.519",
|
|
34
|
-
"@teambit/aspect-loader": "0.0.
|
|
35
|
-
"@teambit/cli": "0.0.
|
|
36
|
-
"@teambit/dependency-resolver": "0.0.
|
|
37
|
-
"@teambit/envs": "0.0.
|
|
34
|
+
"@teambit/aspect-loader": "0.0.1065",
|
|
35
|
+
"@teambit/cli": "0.0.718",
|
|
36
|
+
"@teambit/dependency-resolver": "0.0.1065",
|
|
37
|
+
"@teambit/envs": "0.0.1065",
|
|
38
38
|
"@teambit/toolbox.path.to-windows-compatible-path": "0.0.490",
|
|
39
39
|
"@teambit/bit-error": "0.0.402",
|
|
40
|
-
"@teambit/graphql": "0.0.
|
|
41
|
-
"@teambit/pkg": "0.0.
|
|
42
|
-
"@teambit/pubsub": "0.0.
|
|
43
|
-
"@teambit/ui": "0.0.
|
|
44
|
-
"@teambit/watcher": "0.0.
|
|
45
|
-
"@teambit/workspace": "0.0.
|
|
46
|
-
"@teambit/compiler": "0.0.
|
|
40
|
+
"@teambit/graphql": "0.0.1065",
|
|
41
|
+
"@teambit/pkg": "0.0.1065",
|
|
42
|
+
"@teambit/pubsub": "0.0.1065",
|
|
43
|
+
"@teambit/ui": "0.0.1065",
|
|
44
|
+
"@teambit/watcher": "0.0.77",
|
|
45
|
+
"@teambit/workspace": "0.0.1065",
|
|
46
|
+
"@teambit/compiler": "0.0.1065",
|
|
47
47
|
"@teambit/preview.cli.preview-server-status": "0.0.499",
|
|
48
48
|
"@teambit/preview.cli.webpack-events-listener": "0.0.168",
|
|
49
|
-
"@teambit/isolator": "0.0.
|
|
49
|
+
"@teambit/isolator": "0.0.1065"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/mime": "2.0.3",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@teambit/preview.aspect-docs.preview": "0.0.153"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@teambit/legacy": "1.0.
|
|
67
|
+
"@teambit/legacy": "1.0.498",
|
|
68
68
|
"react": "^16.8.0 || ^17.0.0",
|
|
69
69
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
70
70
|
},
|
|
Binary file
|