@teambit/variants 0.0.548 → 0.0.549

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.
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const Logo: () => JSX.Element;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.Logo = void 0;
9
+
10
+ function _react() {
11
+ const data = _interopRequireDefault(require("react"));
12
+
13
+ _react = function () {
14
+ return data;
15
+ };
16
+
17
+ return data;
18
+ }
19
+
20
+ const Logo = () => /*#__PURE__*/_react().default.createElement("div", {
21
+ style: {
22
+ height: '100%',
23
+ display: 'flex',
24
+ justifyContent: 'center'
25
+ }
26
+ }, /*#__PURE__*/_react().default.createElement("img", {
27
+ style: {
28
+ width: 70
29
+ },
30
+ src: "https://static.bit.dev/extensions-icons/variants.svg"
31
+ }));
32
+
33
+ exports.Logo = Logo;
34
+
35
+ //# sourceMappingURL=variants.composition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["variants.composition.tsx"],"names":["Logo","height","display","justifyContent","width"],"mappings":";;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,MAAMA,IAAI,GAAG,mBAClB;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,MAAM,EAAE,MAAV;AAAkBC,IAAAA,OAAO,EAAE,MAA3B;AAAmCC,IAAAA,cAAc,EAAE;AAAnD;AAAZ,gBACE;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,KAAK,EAAE;AAAT,GAAZ;AAA2B,EAAA,GAAG,EAAC;AAA/B,EADF,CADK","sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/variants.svg\" />\n </div>\n);\n"]}
@@ -1,8 +1,8 @@
1
1
  ---
2
- description: teambit.workspace/variants enables cascading configurations by selection of component groupings or sets in the workspace and applying configurations to these cascading groups
2
+ description: Configuration variants allow to configure a selected group of components.
3
3
  labels: ['variants', 'workspace', 'bit', 'extension', 'aspect']
4
4
  ---
5
5
 
6
- import { Variants } from '@teambit/workspace.aspect-docs.variants';
6
+ import Variants from '@teambit/workspace.content.variants';
7
7
 
8
8
  <Variants />
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/variants",
3
- "version": "0.0.548",
3
+ "version": "0.0.549",
4
4
  "homepage": "https://bit.dev/teambit/workspace/variants",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "variants",
9
- "version": "0.0.548"
9
+ "version": "0.0.549"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.2.11",
@@ -20,14 +20,14 @@
20
20
  "@teambit/workspace.modules.match-pattern": "0.0.489"
21
21
  },
22
22
  "devDependencies": {
23
+ "@types/react": "^17.0.8",
23
24
  "@types/lodash": "4.14.165",
24
25
  "@types/mocha": "9.1.0",
25
26
  "@types/testing-library__jest-dom": "5.9.5",
26
27
  "@types/jest": "^26.0.0",
27
28
  "@types/react-dom": "^17.0.5",
28
- "@types/react": "^17.0.8",
29
29
  "@types/node": "12.20.4",
30
- "@teambit/workspace.aspect-docs.variants": "0.0.134"
30
+ "@teambit/workspace.content.variants": "1.95.9"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@teambit/legacy": "1.0.232",
@@ -0,0 +1,2 @@
1
+ export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_variants@0.0.549/dist/variants.composition.js')]
2
+ export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_variants@0.0.549/dist/variants.docs.mdx')]
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const Logo = () => (
4
+ <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>
5
+ <img style={{ width: 70 }} src="https://static.bit.dev/extensions-icons/variants.svg" />
6
+ </div>
7
+ );
package/variants.docs.mdx CHANGED
@@ -1,8 +1,8 @@
1
1
  ---
2
- description: teambit.workspace/variants enables cascading configurations by selection of component groupings or sets in the workspace and applying configurations to these cascading groups
2
+ description: Configuration variants allow to configure a selected group of components.
3
3
  labels: ['variants', 'workspace', 'bit', 'extension', 'aspect']
4
4
  ---
5
5
 
6
- import { Variants } from '@teambit/workspace.aspect-docs.variants';
6
+ import Variants from '@teambit/workspace.content.variants';
7
7
 
8
8
  <Variants />
@@ -1 +0,0 @@
1
- export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_variants@0.0.548/dist/variants.docs.mdx')]