@teambit/preview 0.0.1064 → 0.0.1066

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.
@@ -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.1064/dist/preview.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.1064/dist/preview.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.1066/dist/preview.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@0.0.1066/dist/preview.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/preview",
3
- "version": "0.0.1064",
3
+ "version": "0.0.1066",
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.1064"
9
+ "version": "0.0.1066"
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.815",
28
- "@teambit/logger": "0.0.810",
27
+ "@teambit/express": "0.0.817",
28
+ "@teambit/logger": "0.0.812",
29
29
  "@teambit/ui-foundation.ui.pages.static-error": "0.0.86",
30
- "@teambit/builder": "0.0.1064",
31
- "@teambit/bundler": "0.0.1064",
32
- "@teambit/component": "0.0.1064",
30
+ "@teambit/builder": "0.0.1066",
31
+ "@teambit/bundler": "0.0.1066",
32
+ "@teambit/component": "0.0.1066",
33
33
  "@teambit/preview.ui.component-preview": "0.0.519",
34
- "@teambit/aspect-loader": "0.0.1064",
35
- "@teambit/cli": "0.0.717",
36
- "@teambit/dependency-resolver": "0.0.1064",
37
- "@teambit/envs": "0.0.1064",
34
+ "@teambit/aspect-loader": "0.0.1066",
35
+ "@teambit/cli": "0.0.719",
36
+ "@teambit/dependency-resolver": "0.0.1066",
37
+ "@teambit/envs": "0.0.1066",
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.1064",
41
- "@teambit/pkg": "0.0.1064",
42
- "@teambit/pubsub": "0.0.1064",
43
- "@teambit/ui": "0.0.1064",
44
- "@teambit/watcher": "0.0.76",
45
- "@teambit/workspace": "0.0.1064",
46
- "@teambit/compiler": "0.0.1064",
40
+ "@teambit/graphql": "0.0.1066",
41
+ "@teambit/pkg": "0.0.1066",
42
+ "@teambit/pubsub": "0.0.1066",
43
+ "@teambit/ui": "0.0.1066",
44
+ "@teambit/watcher": "0.0.78",
45
+ "@teambit/workspace": "0.0.1066",
46
+ "@teambit/compiler": "0.0.1066",
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.1064"
49
+ "@teambit/isolator": "0.0.1066"
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.497",
67
+ "@teambit/legacy": "1.0.499",
68
68
  "react": "^16.8.0 || ^17.0.0",
69
69
  "react-dom": "^16.8.0 || ^17.0.0"
70
70
  },