@teambit/component 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,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@0.0.1065/dist/component.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@0.0.1065/dist/component.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["GET_COMPONENT","gql","AspectPage","component","useContext","ComponentContext","data","useDataQuery","variables","id","toString","aspectList","getHost","get","aspects","length","styles","aspectPage","title","separator","map","aspect","aspectBox","icon","config"],"sources":["aspect-page.tsx"],"sourcesContent":["import { AspectBox } from '@teambit/harmony.ui.aspect-box';\nimport { ComponentContext } from '@teambit/component';\nimport React, { useContext } from 'react';\nimport { useDataQuery } from '@teambit/ui-foundation.ui.hooks.use-data-query';\nimport { gql } from '@apollo/client';\nimport { EmptyBox } from '@teambit/design.ui.empty-box';\nimport { H1 } from '@teambit/documenter.ui.heading';\nimport { Separator } from '@teambit/documenter.ui.separator';\nimport styles from './aspect-page.module.scss';\n\nconst GET_COMPONENT = gql`\n query ($id: String!) {\n getHost {\n get(id: $id) {\n aspects {\n id\n config\n data\n icon\n }\n }\n }\n }\n`;\n\n// TODO: get the docs domain from the community aspect and pass it here as a prop\nexport function AspectPage() {\n const component = useContext(ComponentContext);\n const { data } = useDataQuery(GET_COMPONENT, {\n variables: { id: component.id.toString() },\n });\n const aspectList = data?.getHost?.get?.aspects;\n\n if (aspectList && aspectList.length === 0) {\n return (\n <EmptyBox\n title=\"This component is new and doesn’t have any aspects.\"\n linkText=\"Learn more about component aspects\"\n link={`https://bit.dev/docs/extending-bit/aspect-overview`}\n />\n );\n }\n\n return (\n <div className={styles.aspectPage}>\n <div>\n <H1 className={styles.title}>Configuration</H1>\n <Separator className={styles.separator} />\n {aspectList &&\n aspectList.map((aspect) => {\n return (\n <AspectBox\n key={aspect.id}\n className={styles.aspectBox}\n name={aspect.id}\n icon={aspect.icon}\n config={aspect.config}\n data={aspect.data}\n />\n );\n })}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAA+C;AAAA;AAE/C,MAAMA,aAAa,GAAG,IAAAC,aAAG,CAAC;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACO,SAASC,UAAU,GAAG;EAAA;EAC3B,MAAMC,SAAS,GAAG,IAAAC,mBAAU,EAACC,6BAAgB,CAAC;EAC9C,MAAM;IAAEC;EAAK,CAAC,GAAG,IAAAC,mCAAY,EAACP,aAAa,EAAE;IAC3CQ,SAAS,EAAE;MAAEC,EAAE,EAAEN,SAAS,CAACM,EAAE,CAACC,QAAQ;IAAG;EAC3C,CAAC,CAAC;EACF,MAAMC,UAAU,GAAGL,IAAI,aAAJA,IAAI,wCAAJA,IAAI,CAAEM,OAAO,uEAAb,cAAeC,GAAG,sDAAlB,kBAAoBC,OAAO;EAE9C,IAAIH,UAAU,IAAIA,UAAU,CAACI,MAAM,KAAK,CAAC,EAAE;IACzC,oBACE,+BAAC,oBAAQ;MACP,KAAK,EAAC,0DAAqD;MAC3D,QAAQ,EAAC,oCAAoC;MAC7C,IAAI,EAAG;IAAoD,EAC3D;EAEN;EAEA,oBACE;IAAK,SAAS,EAAEC,2BAAM,CAACC;EAAW,gBAChC,yDACE,+BAAC,kBAAE;IAAC,SAAS,EAAED,2BAAM,CAACE;EAAM,
|
|
1
|
+
{"version":3,"names":["GET_COMPONENT","gql","AspectPage","component","useContext","ComponentContext","data","useDataQuery","variables","id","toString","aspectList","getHost","get","aspects","length","styles","aspectPage","title","separator","map","aspect","aspectBox","icon","config"],"sources":["aspect-page.tsx"],"sourcesContent":["import { AspectBox } from '@teambit/harmony.ui.aspect-box';\nimport { ComponentContext } from '@teambit/component';\nimport React, { useContext } from 'react';\nimport { useDataQuery } from '@teambit/ui-foundation.ui.hooks.use-data-query';\nimport { gql } from '@apollo/client';\nimport { EmptyBox } from '@teambit/design.ui.empty-box';\nimport { H1 } from '@teambit/documenter.ui.heading';\nimport { Separator } from '@teambit/documenter.ui.separator';\nimport styles from './aspect-page.module.scss';\n\nconst GET_COMPONENT = gql`\n query ($id: String!) {\n getHost {\n get(id: $id) {\n aspects {\n id\n config\n data\n icon\n }\n }\n }\n }\n`;\n\n// TODO: get the docs domain from the community aspect and pass it here as a prop\nexport function AspectPage() {\n const component = useContext(ComponentContext);\n const { data } = useDataQuery(GET_COMPONENT, {\n variables: { id: component.id.toString() },\n });\n const aspectList = data?.getHost?.get?.aspects;\n\n if (aspectList && aspectList.length === 0) {\n return (\n <EmptyBox\n title=\"This component is new and doesn’t have any aspects.\"\n linkText=\"Learn more about component aspects\"\n link={`https://bit.dev/docs/extending-bit/aspect-overview`}\n />\n );\n }\n\n return (\n <div className={styles.aspectPage}>\n <div>\n <H1 className={styles.title}>Configuration</H1>\n <Separator className={styles.separator} />\n {aspectList &&\n aspectList.map((aspect) => {\n return (\n <AspectBox\n key={aspect.id}\n className={styles.aspectBox}\n name={aspect.id}\n icon={aspect.icon}\n config={aspect.config}\n data={aspect.data}\n />\n );\n })}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAA+C;AAAA;AAE/C,MAAMA,aAAa,GAAG,IAAAC,aAAG,CAAC;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACO,SAASC,UAAU,GAAG;EAAA;EAC3B,MAAMC,SAAS,GAAG,IAAAC,mBAAU,EAACC,6BAAgB,CAAC;EAC9C,MAAM;IAAEC;EAAK,CAAC,GAAG,IAAAC,mCAAY,EAACP,aAAa,EAAE;IAC3CQ,SAAS,EAAE;MAAEC,EAAE,EAAEN,SAAS,CAACM,EAAE,CAACC,QAAQ;IAAG;EAC3C,CAAC,CAAC;EACF,MAAMC,UAAU,GAAGL,IAAI,aAAJA,IAAI,wCAAJA,IAAI,CAAEM,OAAO,uEAAb,cAAeC,GAAG,sDAAlB,kBAAoBC,OAAO;EAE9C,IAAIH,UAAU,IAAIA,UAAU,CAACI,MAAM,KAAK,CAAC,EAAE;IACzC,oBACE,+BAAC,oBAAQ;MACP,KAAK,EAAC,0DAAqD;MAC3D,QAAQ,EAAC,oCAAoC;MAC7C,IAAI,EAAG;IAAoD,EAC3D;EAEN;EAEA,oBACE;IAAK,SAAS,EAAEC,2BAAM,CAACC;EAAW,gBAChC,yDACE,+BAAC,kBAAE;IAAC,SAAS,EAAED,2BAAM,CAACE;EAAM,GAAC,eAAa,CAAK,eAC/C,+BAAC,0BAAS;IAAC,SAAS,EAAEF,2BAAM,CAACG;EAAU,EAAG,EACzCR,UAAU,IACTA,UAAU,CAACS,GAAG,CAAEC,MAAM,IAAK;IACzB,oBACE,+BAAC,sBAAS;MACR,GAAG,EAAEA,MAAM,CAACZ,EAAG;MACf,SAAS,EAAEO,2BAAM,CAACM,SAAU;MAC5B,IAAI,EAAED,MAAM,CAACZ,EAAG;MAChB,IAAI,EAAEY,MAAM,CAACE,IAAK;MAClB,MAAM,EAAEF,MAAM,CAACG,MAAO;MACtB,IAAI,EAAEH,MAAM,CAACf;IAAK,EAClB;EAEN,CAAC,CAAC,CACA,CACF;AAEV"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/component",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1065",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/component",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "component",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1065"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/any-fs": "0.0.5",
|
|
@@ -36,39 +36,39 @@
|
|
|
36
36
|
"@teambit/design.navigation.responsive-navbar": "0.0.5",
|
|
37
37
|
"@teambit/base-ui.layout.breakpoints": "1.0.0",
|
|
38
38
|
"@teambit/ui-foundation.ui.menu-widget-icon": "0.0.497",
|
|
39
|
-
"@teambit/aspect-loader": "0.0.
|
|
40
|
-
"@teambit/graph": "0.0.
|
|
39
|
+
"@teambit/aspect-loader": "0.0.1065",
|
|
40
|
+
"@teambit/graph": "0.0.1065",
|
|
41
41
|
"@teambit/toolbox.path.match-patterns": "0.0.9",
|
|
42
42
|
"@teambit/toolbox.string.capitalize": "0.0.490",
|
|
43
|
-
"@teambit/cli": "0.0.
|
|
44
|
-
"@teambit/express": "0.0.
|
|
45
|
-
"@teambit/graphql": "0.0.
|
|
43
|
+
"@teambit/cli": "0.0.718",
|
|
44
|
+
"@teambit/express": "0.0.816",
|
|
45
|
+
"@teambit/graphql": "0.0.1065",
|
|
46
46
|
"@teambit/bit-error": "0.0.402",
|
|
47
|
-
"@teambit/command-bar": "0.0.
|
|
47
|
+
"@teambit/command-bar": "0.0.1065",
|
|
48
48
|
"@teambit/component-package-version": "0.0.422",
|
|
49
49
|
"@teambit/component.ui.deprecation-icon": "0.0.504",
|
|
50
|
-
"@teambit/preview": "0.0.
|
|
51
|
-
"@teambit/pubsub": "0.0.
|
|
52
|
-
"@teambit/react-router": "0.0.
|
|
50
|
+
"@teambit/preview": "0.0.1065",
|
|
51
|
+
"@teambit/pubsub": "0.0.1065",
|
|
52
|
+
"@teambit/react-router": "0.0.1065",
|
|
53
53
|
"@teambit/ui-foundation.ui.is-browser": "0.0.495",
|
|
54
54
|
"@teambit/ui-foundation.ui.main-dropdown": "0.0.497",
|
|
55
55
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.501",
|
|
56
56
|
"@teambit/ui-foundation.ui.use-box.menu": "0.0.133",
|
|
57
|
-
"@teambit/ui": "0.0.
|
|
57
|
+
"@teambit/ui": "0.0.1065",
|
|
58
58
|
"@teambit/component-issues": "0.0.90",
|
|
59
59
|
"@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.500",
|
|
60
60
|
"@teambit/cli-table": "0.0.41",
|
|
61
|
-
"@teambit/component-descriptor": "0.0.
|
|
61
|
+
"@teambit/component-descriptor": "0.0.287",
|
|
62
62
|
"@teambit/ui-foundation.ui.react-router.use-query": "0.0.496",
|
|
63
63
|
"@teambit/harmony.ui.aspect-box": "0.0.497",
|
|
64
|
-
"@teambit/compositions": "0.0.1064",
|
|
65
|
-
"@teambit/deprecation": "0.0.1064",
|
|
66
|
-
"@teambit/envs": "0.0.1064",
|
|
67
|
-
"@teambit/legacy-component-log": "0.0.399",
|
|
68
64
|
"@teambit/envs.ui.env-icon": "0.0.495",
|
|
69
|
-
"@teambit/
|
|
70
|
-
"@teambit/
|
|
71
|
-
"@teambit/
|
|
65
|
+
"@teambit/compositions": "0.0.1065",
|
|
66
|
+
"@teambit/deprecation": "0.0.1065",
|
|
67
|
+
"@teambit/envs": "0.0.1065",
|
|
68
|
+
"@teambit/legacy-component-log": "0.0.399",
|
|
69
|
+
"@teambit/component.ui.version-dropdown": "0.0.775",
|
|
70
|
+
"@teambit/lanes.hooks.use-lanes": "0.0.181",
|
|
71
|
+
"@teambit/lanes.ui.models.lanes-model": "0.0.134",
|
|
72
72
|
"@teambit/ui-foundation.ui.full-loader": "0.0.495",
|
|
73
73
|
"@teambit/ui-foundation.ui.use-box.dropdown": "0.0.132"
|
|
74
74
|
},
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"@apollo/client": "^3.6.0",
|
|
91
91
|
"react-router-dom": "^6.0.0",
|
|
92
|
-
"@teambit/legacy": "1.0.
|
|
92
|
+
"@teambit/legacy": "1.0.498",
|
|
93
93
|
"react": "^16.8.0 || ^17.0.0",
|
|
94
94
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
95
95
|
},
|
|
Binary file
|