@teambit/react 0.0.670 → 0.0.673

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 (36) hide show
  1. package/artifacts/env-template/public/141.js +2 -2
  2. package/artifacts/env-template/public/181.js +1 -1
  3. package/artifacts/env-template/public/719.js +17 -10
  4. package/artifacts/env-template/public/848.js +1 -1
  5. package/artifacts/env-template/public/97.js +1 -0
  6. package/artifacts/env-template/public/assets-manifest.json +8 -8
  7. package/artifacts/env-template/public/{compositions.4971ce41fc1ec91d4612.js → compositions.7488f9a91a978449f561.js} +1 -1
  8. package/artifacts/env-template/public/compositions.html +1 -1
  9. package/artifacts/env-template/public/{overview.b9047e294ee81a8c6af5.js → overview.f9aecff0a547f18f0d59.js} +1 -1
  10. package/artifacts/env-template/public/overview.html +1 -1
  11. package/artifacts/env-template/public/preview-root.57a178d7814974524740.js +1 -0
  12. package/artifacts/env-template/public/service-worker.js +1 -1
  13. package/artifacts/preview/teambit_react_react-preview.js +1 -1
  14. package/{compositions-1646882648682.js → compositions-1647141743465.js} +0 -0
  15. package/dist/templates/react-component/index.js +6 -6
  16. package/dist/templates/react-component/index.js.map +1 -1
  17. package/dist/templates/react-component-js/index.js +6 -6
  18. package/dist/templates/react-component-js/index.js.map +1 -1
  19. package/dist/templates/react-context/index.js +6 -6
  20. package/dist/templates/react-context/index.js.map +1 -1
  21. package/dist/templates/react-env/index.js +1 -0
  22. package/dist/templates/react-env/index.js.map +1 -1
  23. package/dist/templates/react-hook/index.js +6 -6
  24. package/dist/templates/react-hook/index.js.map +1 -1
  25. package/{overview-1646882648682.js → overview-1647141743465.js} +0 -0
  26. package/package-tar/teambit-react-0.0.673.tgz +0 -0
  27. package/package.json +25 -25
  28. package/{preview-1646882648682.js → preview-1647141743465.js} +2 -2
  29. package/templates/react-component/index.ts +6 -6
  30. package/templates/react-component-js/index.ts +5 -5
  31. package/templates/react-context/index.ts +5 -5
  32. package/templates/react-env/index.ts +2 -1
  33. package/templates/react-hook/index.ts +5 -5
  34. package/artifacts/env-template/public/984.js +0 -1
  35. package/artifacts/env-template/public/preview-root.985eb88239d8610a2170.js +0 -1
  36. package/package-tar/teambit-react-0.0.670.tgz +0 -0
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/react",
3
- "version": "0.0.670",
3
+ "version": "0.0.673",
4
4
  "homepage": "https://bit.dev/teambit/react/react",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.react",
8
8
  "name": "react",
9
- "version": "0.0.670"
9
+ "version": "0.0.673"
10
10
  },
11
11
  "dependencies": {
12
12
  "react-error-boundary": "^3.0.0",
@@ -79,38 +79,38 @@
79
79
  "@teambit/react.instructions.react.adding-compositions": "0.0.6",
80
80
  "@teambit/react.instructions.react.adding-tests": "0.0.6",
81
81
  "@teambit/design.ui.pages.standalone-not-found-page": "0.0.355",
82
- "@teambit/preview": "0.0.670",
82
+ "@teambit/preview": "0.0.673",
83
83
  "@teambit/react.ui.error-fallback": "0.0.110",
84
84
  "@teambit/react.ui.loader-fallback": "0.0.89",
85
85
  "@teambit/compositions.ui.hooks.use-composition": "0.0.163",
86
86
  "@teambit/design.ui.input.option-button": "0.0.26",
87
87
  "@teambit/design.ui.tooltip": "0.0.352",
88
- "@teambit/builder": "0.0.670",
89
- "@teambit/bundler": "0.0.670",
90
- "@teambit/compiler": "0.0.670",
88
+ "@teambit/builder": "0.0.673",
89
+ "@teambit/bundler": "0.0.673",
90
+ "@teambit/compiler": "0.0.673",
91
91
  "@teambit/component.modules.component-url": "0.0.123",
92
- "@teambit/component": "0.0.670",
93
- "@teambit/envs": "0.0.670",
94
- "@teambit/eslint": "0.0.670",
95
- "@teambit/formatter": "0.0.221",
96
- "@teambit/jest": "0.0.670",
97
- "@teambit/linter": "0.0.670",
98
- "@teambit/pkg": "0.0.670",
99
- "@teambit/prettier": "0.0.221",
92
+ "@teambit/component": "0.0.673",
93
+ "@teambit/envs": "0.0.673",
94
+ "@teambit/eslint": "0.0.673",
95
+ "@teambit/formatter": "0.0.224",
96
+ "@teambit/jest": "0.0.673",
97
+ "@teambit/linter": "0.0.673",
98
+ "@teambit/pkg": "0.0.673",
99
+ "@teambit/prettier": "0.0.224",
100
100
  "@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.21",
101
- "@teambit/schema": "0.0.670",
102
- "@teambit/tester": "0.0.670",
103
- "@teambit/typescript": "0.0.670",
104
- "@teambit/webpack": "0.0.670",
105
- "@teambit/workspace": "0.0.670",
106
- "@teambit/application": "0.0.312",
101
+ "@teambit/schema": "0.0.673",
102
+ "@teambit/tester": "0.0.673",
103
+ "@teambit/typescript": "0.0.673",
104
+ "@teambit/webpack": "0.0.673",
105
+ "@teambit/workspace": "0.0.673",
106
+ "@teambit/application": "0.0.315",
107
107
  "@teambit/cli": "0.0.452",
108
- "@teambit/dependency-resolver": "0.0.670",
109
- "@teambit/generator": "0.0.670",
110
- "@teambit/graphql": "0.0.670",
108
+ "@teambit/dependency-resolver": "0.0.673",
109
+ "@teambit/generator": "0.0.673",
110
+ "@teambit/graphql": "0.0.673",
111
111
  "@teambit/react.ui.highlighter-provider": "0.0.184",
112
- "@teambit/compositions": "0.0.670",
113
- "@teambit/ui": "0.0.670",
112
+ "@teambit/compositions": "0.0.673",
113
+ "@teambit/ui": "0.0.673",
114
114
  "@teambit/react.eslint-config-bit-react": "0.0.529",
115
115
  "@teambit/webpack.modules.generate-expose-loaders": "0.0.3",
116
116
  "@teambit/webpack.modules.generate-externals": "0.0.3",
@@ -1,2 +1,2 @@
1
- export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.react_react@0.0.670/dist/react.composition.js')]
2
- export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.react_react@0.0.670/dist/react.docs.mdx')]
1
+ export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.react_react@0.0.673/dist/react.composition.js')]
2
+ export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.react_react@0.0.673/dist/react.docs.mdx')]
@@ -11,15 +11,15 @@ export const reactComponent: ComponentTemplate = {
11
11
  generateFiles: (context: ComponentContext) => {
12
12
  return [indexFile(context), componentFile(context), compositionFile(context), docsFile(context), testFile(context)];
13
13
  },
14
- config: {
15
- 'teambit.envs/envs': {
16
- env: 'teambit.react/react',
17
- },
18
- }
14
+ // config: {
15
+ // 'teambit.envs/envs': {
16
+ // env: 'teambit.react/react',
17
+ // },
18
+ // }
19
19
  };
20
20
 
21
21
  export const deprecatedReactComponent: ComponentTemplate = {
22
22
  ...reactComponent,
23
23
  name: 'react-component',
24
- hidden: true
24
+ hidden: true,
25
25
  };
@@ -17,11 +17,11 @@ export const reactComponentJS: ComponentTemplate = {
17
17
  };
18
18
  return [indexFile, componentFile(context), compositionFile(context), docsFile(context), testFile(context)];
19
19
  },
20
- config: {
21
- 'teambit.envs/envs': {
22
- env: 'teambit.react/react',
23
- },
24
- }
20
+ // config: {
21
+ // 'teambit.envs/envs': {
22
+ // env: 'teambit.react/react',
23
+ // },
24
+ // }
25
25
  };
26
26
 
27
27
  export const deprecatedReactComponentJS: ComponentTemplate = {
@@ -20,9 +20,9 @@ export const reactContext: ComponentTemplate = {
20
20
  testFile(context),
21
21
  ];
22
22
  },
23
- config: {
24
- 'teambit.envs/envs': {
25
- env: 'teambit.react/react',
26
- },
27
- }
23
+ // config: {
24
+ // 'teambit.envs/envs': {
25
+ // env: 'teambit.react/react',
26
+ // },
27
+ // }
28
28
  };
@@ -49,8 +49,9 @@ export const reactEnvTemplate: ComponentTemplate = {
49
49
  ];
50
50
  },
51
51
  config: {
52
+ 'teambit.envs/env': {},
52
53
  'teambit.envs/envs': {
53
54
  env: 'teambit.envs/env',
54
55
  },
55
- }
56
+ },
56
57
  };
@@ -12,9 +12,9 @@ export const reactHook: ComponentTemplate = {
12
12
  generateFiles: (context: ComponentContext) => {
13
13
  return [indexFile(context), componentFile(context), compositionFile(context), docsFile(context), testFile(context)];
14
14
  },
15
- config: {
16
- 'teambit.envs/envs': {
17
- env: 'teambit.react/react',
18
- },
19
- }
15
+ // config: {
16
+ // 'teambit.envs/envs': {
17
+ // env: 'teambit.react/react',
18
+ // },
19
+ // }
20
20
  };