@teambit/schema 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.
@@ -1 +1 @@
1
- {"version":3,"names":["BasicButton","Footer","children","ButtonWithCustomStyles","background","ButtonWithIcon","ButtonAsALink"],"sources":["button.composition.tsx"],"sourcesContent":["/* eslint-disable no-alert */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport React from 'react';\nimport { Button } from './button';\n\nexport const BasicButton = () => {\n return <Button>click me</Button>;\n};\n\n/**\n * example of passing a JSX Element as a parameter\n */\n// eslint-disable-next-line react/prop-types\nexport function Footer({ children = <BasicButton /> }) {\n return <Button>{children}</Button>;\n}\n\nexport const ButtonWithCustomStyles = () => {\n return <Button style={{ background: 'red' }}>click me</Button>;\n};\n\nexport const ButtonWithIcon = () => {\n return (\n <Button>\n {/* <Image src=\"https://static.bit.dev/bit-logo.svg\" /> */}\n click me\n </Button>\n );\n};\n\nexport const ButtonAsALink = () => {\n return <Button href=\"https://bit.dev\">Bit</Button>;\n};\n"],"mappings":";;;;;;;;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAHA;AACA;;AAIO,MAAMA,WAAW,GAAG,MAAM;EAC/B,oBAAO,+BAAC,gBAAM,mBAAkB;AAClC,CAAC;;AAED;AACA;AACA;AACA;AAAA;AACO,SAASC,MAAM,CAAC;EAAEC,QAAQ,gBAAG,+BAAC,WAAW;AAAI,CAAC,EAAE;EACrD,oBAAO,+BAAC,gBAAM,QAAEA,QAAQ,CAAU;AACpC;AAEO,MAAMC,sBAAsB,GAAG,MAAM;EAC1C,oBAAO,+BAAC,gBAAM;IAAC,KAAK,EAAE;MAAEC,UAAU,EAAE;IAAM;EAAE,cAAkB;AAChE,CAAC;AAAC;AAEK,MAAMC,cAAc,GAAG,MAAM;EAClC,oBACE,+BAAC,gBAAM,mBAGE;AAEb,CAAC;AAAC;AAEK,MAAMC,aAAa,GAAG,MAAM;EACjC,oBAAO,+BAAC,gBAAM;IAAC,IAAI,EAAC;EAAiB,SAAa;AACpD,CAAC;AAAC"}
1
+ {"version":3,"names":["BasicButton","Footer","children","ButtonWithCustomStyles","background","ButtonWithIcon","ButtonAsALink"],"sources":["button.composition.tsx"],"sourcesContent":["/* eslint-disable no-alert */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport React from 'react';\nimport { Button } from './button';\n\nexport const BasicButton = () => {\n return <Button>click me</Button>;\n};\n\n/**\n * example of passing a JSX Element as a parameter\n */\n// eslint-disable-next-line react/prop-types\nexport function Footer({ children = <BasicButton /> }) {\n return <Button>{children}</Button>;\n}\n\nexport const ButtonWithCustomStyles = () => {\n return <Button style={{ background: 'red' }}>click me</Button>;\n};\n\nexport const ButtonWithIcon = () => {\n return (\n <Button>\n {/* <Image src=\"https://static.bit.dev/bit-logo.svg\" /> */}\n click me\n </Button>\n );\n};\n\nexport const ButtonAsALink = () => {\n return <Button href=\"https://bit.dev\">Bit</Button>;\n};\n"],"mappings":";;;;;;;;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAHA;AACA;;AAIO,MAAMA,WAAW,GAAG,MAAM;EAC/B,oBAAO,+BAAC,gBAAM,QAAC,UAAQ,CAAS;AAClC,CAAC;;AAED;AACA;AACA;AACA;AAAA;AACO,SAASC,MAAM,CAAC;EAAEC,QAAQ,gBAAG,+BAAC,WAAW;AAAI,CAAC,EAAE;EACrD,oBAAO,+BAAC,gBAAM,QAAEA,QAAQ,CAAU;AACpC;AAEO,MAAMC,sBAAsB,GAAG,MAAM;EAC1C,oBAAO,+BAAC,gBAAM;IAAC,KAAK,EAAE;MAAEC,UAAU,EAAE;IAAM;EAAE,GAAC,UAAQ,CAAS;AAChE,CAAC;AAAC;AAEK,MAAMC,cAAc,GAAG,MAAM;EAClC,oBACE,+BAAC,gBAAM,QACsD,UAE7D,CAAS;AAEb,CAAC;AAAC;AAEK,MAAMC,aAAa,GAAG,MAAM;EACjC,oBAAO,+BAAC,gBAAM;IAAC,IAAI,EAAC;EAAiB,GAAC,KAAG,CAAS;AACpD,CAAC;AAAC"}
@@ -1,6 +1,6 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@0.0.1064/dist/schema.composition.js';
2
- import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@0.0.1064/dist/mock/button/button.composition.js';
3
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@0.0.1064/dist/schema.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@0.0.1065/dist/schema.composition.js';
2
+ import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@0.0.1065/dist/mock/button/button.composition.js';
3
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@0.0.1065/dist/schema.docs.mdx';
4
4
 
5
5
  export const compositions = [compositions_0, compositions_1];
6
6
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/schema",
3
- "version": "0.0.1064",
3
+ "version": "0.0.1065",
4
4
  "homepage": "https://bit.cloud/teambit/semantics/schema",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.semantics",
8
8
  "name": "schema",
9
- "version": "0.0.1064"
9
+ "version": "0.0.1065"
10
10
  },
11
11
  "dependencies": {
12
12
  "p-map-series": "2.1.0",
@@ -18,15 +18,15 @@
18
18
  "@teambit/harmony": "0.4.6",
19
19
  "@teambit/base-react.navigation.link": "2.0.27",
20
20
  "@teambit/semantics.entities.semantic-schema": "0.0.53",
21
- "@teambit/envs": "0.0.1064",
22
- "@teambit/component": "0.0.1064",
23
- "@teambit/formatter": "0.0.615",
24
- "@teambit/cli": "0.0.717",
25
- "@teambit/logger": "0.0.810",
26
- "@teambit/builder": "0.0.1064",
21
+ "@teambit/envs": "0.0.1065",
22
+ "@teambit/component": "0.0.1065",
23
+ "@teambit/formatter": "0.0.616",
24
+ "@teambit/cli": "0.0.718",
25
+ "@teambit/logger": "0.0.811",
26
+ "@teambit/builder": "0.0.1065",
27
27
  "@teambit/defender.prettier.config-mutator": "0.0.90",
28
- "@teambit/graphql": "0.0.1064",
29
- "@teambit/workspace": "0.0.1064"
28
+ "@teambit/graphql": "0.0.1065",
29
+ "@teambit/workspace": "0.0.1065"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/react": "^17.0.8",
@@ -40,12 +40,12 @@
40
40
  "@types/jest": "^26.0.0",
41
41
  "@types/testing-library__jest-dom": "5.9.5",
42
42
  "@teambit/component-id": "0.0.427",
43
- "@teambit/harmony.testing.load-aspect": "0.0.80",
44
- "@teambit/tracker": "0.0.95",
43
+ "@teambit/harmony.testing.load-aspect": "0.0.81",
44
+ "@teambit/tracker": "0.0.96",
45
45
  "@teambit/workspace.testing.mock-workspace": "0.0.14"
46
46
  },
47
47
  "peerDependencies": {
48
- "@teambit/legacy": "1.0.497",
48
+ "@teambit/legacy": "1.0.498",
49
49
  "react": "^16.8.0 || ^17.0.0",
50
50
  "react-dom": "^16.8.0 || ^17.0.0"
51
51
  },