@teambit/aspect 0.0.677 → 0.0.680

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.
Files changed (30) hide show
  1. package/artifacts/env-template/public/529.js +1 -0
  2. package/artifacts/env-template/public/677.js +1 -1
  3. package/artifacts/env-template/public/750.js +1 -1
  4. package/artifacts/env-template/public/793.js +12 -12
  5. package/artifacts/env-template/public/assets-manifest.json +10 -10
  6. package/artifacts/env-template/public/compositions.326f3f8f457debca8ebd.js +1 -0
  7. package/artifacts/env-template/public/compositions.html +1 -1
  8. package/artifacts/env-template/public/{overview.d1e1e571d8c7b7a4feca.js → overview.91de6055af78389036cf.js} +1 -1
  9. package/artifacts/env-template/public/overview.html +1 -1
  10. package/artifacts/env-template/public/preview-root.549cd953f893ee6e32b7.js +1 -0
  11. package/artifacts/env-template/public/service-worker.js +1 -1
  12. package/artifacts/env-template/public/static/css/{793.dafc3ad5.css → 793.2c0416f7.css} +1 -1
  13. package/artifacts/preview/teambit_harmony_aspect-preview.js +1 -1
  14. package/aspect.composition.tsx +1 -1
  15. package/aspect.docs.mdx +5 -0
  16. package/aspect.ui.runtime.tsx +4 -4
  17. package/{compositions-1647401023351.js → compositions-1647573899025.js} +0 -0
  18. package/dist/aspect.composition.js +1 -1
  19. package/dist/aspect.composition.js.map +1 -1
  20. package/dist/aspect.docs.mdx +5 -0
  21. package/dist/aspect.ui.runtime.js +6 -4
  22. package/dist/aspect.ui.runtime.js.map +1 -1
  23. package/{overview-1647401023351.js → overview-1647573899025.js} +0 -0
  24. package/package-tar/teambit-aspect-0.0.680.tgz +0 -0
  25. package/package.json +20 -20
  26. package/{preview-1647401023351.js → preview-1647573899025.js} +2 -2
  27. package/artifacts/env-template/public/965.js +0 -1
  28. package/artifacts/env-template/public/compositions.93487f4f97e91584a532.js +0 -1
  29. package/artifacts/env-template/public/preview-root.2b0cd7db56266d32895e.js +0 -1
  30. package/package-tar/teambit-aspect-0.0.677.tgz +0 -0
@@ -83,19 +83,21 @@ function _aspect() {
83
83
 
84
84
  class AspectEnvUI {
85
85
  static async provider([compositionsUI, testerUi]) {
86
- const aspectEnvUI = new AspectEnvUI();
86
+ const aspectEnvUI = new AspectEnvUI(); // TODO: get the docs domain from the community aspect and pass it here as a prop
87
+
87
88
  testerUi.registerEmptyState(() => {
88
89
  return /*#__PURE__*/_react().default.createElement(_designUi().EmptyBox, {
89
90
  title: "This component doesn\u2019t have any tests.",
90
91
  linkText: "Learn how to add tests to your aspect components",
91
- link: "https://harmony-docs.bit.dev/testing/overview/"
92
+ link: `https://bit.dev/docs/dev-services-overview/tester/tester-overview`
92
93
  });
93
- });
94
+ }); // TODO: get the docs domain from the community aspect and pass it here as a prop
95
+
94
96
  compositionsUI.registerEmptyState(() => {
95
97
  return /*#__PURE__*/_react().default.createElement(_designUi().EmptyBox, {
96
98
  title: "This component doesn\u2019t have any compositions.",
97
99
  linkText: "Learn how to add compositions to your aspect components",
98
- link: "https://harmony-docs.bit.dev/compositions/overview/"
100
+ link: `https://bit.dev/docs/dev-services-overview/compositions/compositions-overview`
99
101
  });
100
102
  });
101
103
  return aspectEnvUI;
@@ -1 +1 @@
1
- {"version":3,"sources":["aspect.ui.runtime.tsx"],"names":["AspectEnvUI","provider","compositionsUI","testerUi","aspectEnvUI","registerEmptyState","UIRuntime","CompositionsAspect","TesterAspect","AspectAspect","addRuntime"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,MAAMA,WAAN,CAAkB;AAKF,eAARC,QAAQ,CAAC,CAACC,cAAD,EAAiBC,QAAjB,CAAD,EAAyD;AAC5E,UAAMC,WAAW,GAAG,IAAIJ,WAAJ,EAApB;AAEAG,IAAAA,QAAQ,CAACE,kBAAT,CAA4B,MAAM;AAChC,0BACE,+BAAC,oBAAD;AACE,QAAA,KAAK,EAAC,6CADR;AAEE,QAAA,QAAQ,EAAC,kDAFX;AAGE,QAAA,IAAI,EAAC;AAHP,QADF;AAOD,KARD;AAUAH,IAAAA,cAAc,CAACG,kBAAf,CAAkC,MAAM;AACtC,0BACE,+BAAC,oBAAD;AACE,QAAA,KAAK,EAAC,oDADR;AAEE,QAAA,QAAQ,EAAC,yDAFX;AAGE,QAAA,IAAI,EAAC;AAHP,QADF;AAOD,KARD;AAUA,WAAOD,WAAP;AACD;;AA7BsB;;;gCAAZJ,W,aACMM,e;gCADNN,W,WAEI,E;gCAFJA,W,kBAGW,CAACO,kCAAD,EAAqBC,sBAArB,C;;AA6BxBC,uBAAaC,UAAb,CAAwBV,WAAxB;;eAEeA,W","sourcesContent":["import React from 'react';\nimport { CompositionsAspect, CompositionsUI } from '@teambit/compositions';\nimport { UIRuntime } from '@teambit/ui';\nimport { TesterAspect, TesterUI } from '@teambit/tester';\nimport { EmptyBox } from '@teambit/design.ui.empty-box';\nimport { AspectAspect } from './aspect.aspect';\n\nexport class AspectEnvUI {\n static runtime = UIRuntime;\n static slots = [];\n static dependencies = [CompositionsAspect, TesterAspect];\n\n static async provider([compositionsUI, testerUi]: [CompositionsUI, TesterUI]) {\n const aspectEnvUI = new AspectEnvUI();\n\n testerUi.registerEmptyState(() => {\n return (\n <EmptyBox\n title=\"This component doesn’t have any tests.\"\n linkText=\"Learn how to add tests to your aspect components\"\n link=\"https://harmony-docs.bit.dev/testing/overview/\"\n />\n );\n });\n\n compositionsUI.registerEmptyState(() => {\n return (\n <EmptyBox\n title=\"This component doesn’t have any compositions.\"\n linkText=\"Learn how to add compositions to your aspect components\"\n link=\"https://harmony-docs.bit.dev/compositions/overview/\"\n />\n );\n });\n\n return aspectEnvUI;\n }\n}\n\nAspectAspect.addRuntime(AspectEnvUI);\n\nexport default AspectEnvUI;\n"]}
1
+ {"version":3,"sources":["aspect.ui.runtime.tsx"],"names":["AspectEnvUI","provider","compositionsUI","testerUi","aspectEnvUI","registerEmptyState","UIRuntime","CompositionsAspect","TesterAspect","AspectAspect","addRuntime"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,MAAMA,WAAN,CAAkB;AAKF,eAARC,QAAQ,CAAC,CAACC,cAAD,EAAiBC,QAAjB,CAAD,EAAyD;AAC5E,UAAMC,WAAW,GAAG,IAAIJ,WAAJ,EAApB,CAD4E,CAE5E;;AACAG,IAAAA,QAAQ,CAACE,kBAAT,CAA4B,MAAM;AAChC,0BACE,+BAAC,oBAAD;AACE,QAAA,KAAK,EAAC,6CADR;AAEE,QAAA,QAAQ,EAAC,kDAFX;AAGE,QAAA,IAAI,EAAG;AAHT,QADF;AAOD,KARD,EAH4E,CAY5E;;AACAH,IAAAA,cAAc,CAACG,kBAAf,CAAkC,MAAM;AACtC,0BACE,+BAAC,oBAAD;AACE,QAAA,KAAK,EAAC,oDADR;AAEE,QAAA,QAAQ,EAAC,yDAFX;AAGE,QAAA,IAAI,EAAG;AAHT,QADF;AAOD,KARD;AAUA,WAAOD,WAAP;AACD;;AA7BsB;;;gCAAZJ,W,aACMM,e;gCADNN,W,WAEI,E;gCAFJA,W,kBAGW,CAACO,kCAAD,EAAqBC,sBAArB,C;;AA6BxBC,uBAAaC,UAAb,CAAwBV,WAAxB;;eAEeA,W","sourcesContent":["import React from 'react';\nimport { CompositionsAspect, CompositionsUI } from '@teambit/compositions';\nimport { UIRuntime } from '@teambit/ui';\nimport { TesterAspect, TesterUI } from '@teambit/tester';\nimport { EmptyBox } from '@teambit/design.ui.empty-box';\nimport { AspectAspect } from './aspect.aspect';\n\nexport class AspectEnvUI {\n static runtime = UIRuntime;\n static slots = [];\n static dependencies = [CompositionsAspect, TesterAspect];\n\n static async provider([compositionsUI, testerUi]: [CompositionsUI, TesterUI]) {\n const aspectEnvUI = new AspectEnvUI();\n // TODO: get the docs domain from the community aspect and pass it here as a prop\n testerUi.registerEmptyState(() => {\n return (\n <EmptyBox\n title=\"This component doesn’t have any tests.\"\n linkText=\"Learn how to add tests to your aspect components\"\n link={`https://bit.dev/docs/dev-services-overview/tester/tester-overview`}\n />\n );\n });\n // TODO: get the docs domain from the community aspect and pass it here as a prop\n compositionsUI.registerEmptyState(() => {\n return (\n <EmptyBox\n title=\"This component doesn’t have any compositions.\"\n linkText=\"Learn how to add compositions to your aspect components\"\n link={`https://bit.dev/docs/dev-services-overview/compositions/compositions-overview`}\n />\n );\n });\n\n return aspectEnvUI;\n }\n}\n\nAspectAspect.addRuntime(AspectEnvUI);\n\nexport default AspectEnvUI;\n"]}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/aspect",
3
- "version": "0.0.677",
3
+ "version": "0.0.680",
4
4
  "homepage": "https://bit.dev/teambit/harmony/aspect",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "aspect",
9
- "version": "0.0.677"
9
+ "version": "0.0.680"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.2.11",
@@ -27,25 +27,25 @@
27
27
  "@babel/runtime": "7.12.18",
28
28
  "core-js": "^3.0.0",
29
29
  "@teambit/cli-table": "0.0.33",
30
- "@teambit/cli": "0.0.453",
31
- "@teambit/aspect-loader": "0.0.677",
32
- "@teambit/builder": "0.0.677",
33
- "@teambit/bundler": "0.0.677",
34
- "@teambit/compiler": "0.0.677",
35
- "@teambit/envs": "0.0.677",
36
- "@teambit/react": "0.0.677",
37
- "@teambit/webpack": "0.0.677",
38
- "@teambit/babel": "0.0.677",
30
+ "@teambit/cli": "0.0.455",
31
+ "@teambit/aspect-loader": "0.0.680",
32
+ "@teambit/builder": "0.0.680",
33
+ "@teambit/bundler": "0.0.680",
34
+ "@teambit/compiler": "0.0.680",
35
+ "@teambit/envs": "0.0.680",
36
+ "@teambit/react": "0.0.680",
37
+ "@teambit/webpack": "0.0.680",
38
+ "@teambit/babel": "0.0.680",
39
39
  "@teambit/bit-error": "0.0.394",
40
- "@teambit/component-id": "0.0.401",
41
- "@teambit/dependency-resolver": "0.0.677",
42
- "@teambit/generator": "0.0.677",
43
- "@teambit/workspace": "0.0.677",
44
- "@teambit/compositions": "0.0.677",
40
+ "@teambit/component-id": "0.0.402",
41
+ "@teambit/dependency-resolver": "0.0.680",
42
+ "@teambit/generator": "0.0.680",
43
+ "@teambit/workspace": "0.0.680",
44
+ "@teambit/compositions": "0.0.680",
45
45
  "@teambit/design.ui.empty-box": "0.0.353",
46
- "@teambit/tester": "0.0.677",
47
- "@teambit/ui": "0.0.677",
48
- "@teambit/isolator": "0.0.677"
46
+ "@teambit/tester": "0.0.680",
47
+ "@teambit/ui": "0.0.680",
48
+ "@teambit/isolator": "0.0.680"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/react": "^17.0.8",
@@ -57,7 +57,7 @@
57
57
  "@types/node": "12.20.4"
58
58
  },
59
59
  "peerDependencies": {
60
- "@teambit/legacy": "1.0.232",
60
+ "@teambit/legacy": "1.0.234",
61
61
  "react-dom": "^16.8.0 || ^17.0.0",
62
62
  "react": "^16.8.0 || ^17.0.0"
63
63
  },
@@ -1,2 +1,2 @@
1
- export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect@0.0.677/dist/aspect.composition.js')]
2
- export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect@0.0.677/dist/aspect.docs.mdx')]
1
+ export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect@0.0.680/dist/aspect.composition.js')]
2
+ export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect@0.0.680/dist/aspect.docs.mdx')]