@backstage/plugin-home 0.8.3-next.0 → 0.8.3-next.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,63 @@
1
1
  # @backstage/plugin-home
2
2
 
3
+ ## 0.8.3-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 7248f3b: Added a new Quick Start Card to `plugin-home`, which can display basic info to get users the info they need to onboard to the Catalog.
8
+
9
+ ```
10
+ import { QuickStartCard } from '@backstage/plugin-home';
11
+ <QuickStartCard
12
+ title="Onboarding to the Catalog"
13
+ modalTitle="Onboarding Quick Start"
14
+ docsLinkTitle="Learn more with getting started docs"
15
+ docsLink="https://backstage.io/docs/getting-started"
16
+ image={
17
+ <img
18
+ src={ContentImage}
19
+ alt="quick start"
20
+ width="100%"
21
+ height="100%"
22
+ />
23
+ }
24
+ cardDescription="Backstage system model will help you create new entities"
25
+ video={
26
+ <video
27
+ controls
28
+ preload="auto"
29
+ poster={"./videoPoster.png"}
30
+ >
31
+ <source src={"OnboardingDemo.mp4"} type="video/mp4" />
32
+ </video>
33
+ }
34
+ downloadImage={
35
+ <Button
36
+ href={QuickStartPDF}
37
+ target={'_blank'}
38
+ download={true}
39
+ >
40
+ Download infographic button
41
+ </Button>
42
+ }
43
+ />
44
+ ```
45
+
46
+ See the [storybook examples](https://backstage.io/storybook/?path=/story/plugins-home-components-quickstartcard--default)
47
+
48
+ - Updated dependencies
49
+ - @backstage/plugin-catalog-react@1.14.3-next.1
50
+ - @backstage/catalog-client@1.9.0-next.1
51
+ - @backstage/core-components@0.16.2-next.1
52
+ - @backstage/catalog-model@1.7.1
53
+ - @backstage/config@1.3.0
54
+ - @backstage/core-app-api@1.15.3-next.0
55
+ - @backstage/core-compat-api@0.3.4-next.1
56
+ - @backstage/core-plugin-api@1.10.1
57
+ - @backstage/frontend-plugin-api@0.9.3-next.1
58
+ - @backstage/theme@0.6.3-next.0
59
+ - @backstage/plugin-home-react@0.1.21-next.1
60
+
3
61
  ## 0.8.3-next.0
4
62
 
5
63
  ### Patch Changes
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { Link } from '@backstage/core-components';
3
+ import Typography from '@material-ui/core/Typography';
4
+ import Grid from '@material-ui/core/Grid';
5
+ import { ContentModal } from './ContentModal.esm.js';
6
+ import { useStyles } from './styles.esm.js';
7
+
8
+ const Content = (props) => {
9
+ const styles = useStyles();
10
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
11
+ ContentModal,
12
+ {
13
+ modalContent: props.image,
14
+ linkContent: props.modalTitle || "Onboarding"
15
+ }
16
+ ), /* @__PURE__ */ React.createElement(Typography, { variant: "body1", paragraph: true }, props.cardDescription || "Get started with Backstage"), /* @__PURE__ */ React.createElement(ContentModal, { modalContent: props.image, linkContent: props.image }), /* @__PURE__ */ React.createElement(
17
+ Grid,
18
+ {
19
+ container: true,
20
+ alignItems: "center",
21
+ className: styles.contentActionContainer
22
+ },
23
+ props.downloadImage && /* @__PURE__ */ React.createElement(Grid, { item: true }, props.downloadImage),
24
+ /* @__PURE__ */ React.createElement(Grid, { item: true }, /* @__PURE__ */ React.createElement(
25
+ Link,
26
+ {
27
+ to: props.docsLink || "https://backstage.io/docs/getting-started/",
28
+ "data-testid": "quick-start-link-to-docs",
29
+ underline: "none",
30
+ variant: "h6",
31
+ className: styles.link
32
+ },
33
+ props.docsLinkTitle || "Learn more"
34
+ ))
35
+ ), props.video && props.video);
36
+ };
37
+
38
+ export { Content };
39
+ //# sourceMappingURL=Content.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Content.esm.js","sources":["../../../src/homePageComponents/QuickStart/Content.tsx"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport { Link } from '@backstage/core-components';\nimport Typography from '@material-ui/core/Typography';\nimport Grid from '@material-ui/core/Grid';\nimport { ContentModal } from './ContentModal';\nimport { useStyles } from './styles';\n\n/**\n * Props customizing the <QuickStartCard/> component.\n *\n * @public\n */\nexport type QuickStartCardProps = {\n /** The modal link title */\n modalTitle?: string | React.JSX.Element;\n /** The link to docs title */\n docsLinkTitle?: string;\n /** The link to docs */\n docsLink?: string;\n /** The video to play on the card */\n video?: React.JSX.Element;\n /** A quickstart image to display on the card */\n image: React.JSX.Element;\n /** The card description*/\n cardDescription?: string;\n /** A component used to download a quickStart image*/\n downloadImage?: React.JSX.Element;\n};\n\n/**\n * A component to display Quick Start info on the homepage.\n *\n * @public\n */\nexport const Content = (props: QuickStartCardProps): JSX.Element => {\n const styles = useStyles();\n return (\n <>\n <ContentModal\n modalContent={props.image}\n linkContent={props.modalTitle || 'Onboarding'}\n />\n <Typography variant=\"body1\" paragraph>\n {props.cardDescription || 'Get started with Backstage'}\n </Typography>\n <ContentModal modalContent={props.image} linkContent={props.image} />\n <Grid\n container\n alignItems=\"center\"\n className={styles.contentActionContainer}\n >\n {props.downloadImage && <Grid item>{props.downloadImage}</Grid>}\n <Grid item>\n <Link\n to={props.docsLink || 'https://backstage.io/docs/getting-started/'}\n data-testid=\"quick-start-link-to-docs\"\n underline=\"none\"\n variant=\"h6\"\n className={styles.link}\n >\n {props.docsLinkTitle || 'Learn more'}\n </Link>\n </Grid>\n </Grid>\n {props.video && props.video}\n </>\n );\n};\n"],"names":[],"mappings":";;;;;;;AAkDa,MAAA,OAAA,GAAU,CAAC,KAA4C,KAAA;AAClE,EAAA,MAAM,SAAS,SAAU,EAAA;AACzB,EAAA,uBAEI,KAAA,CAAA,aAAA,CAAA,KAAA,CAAA,QAAA,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,YAAA;AAAA,IAAA;AAAA,MACC,cAAc,KAAM,CAAA,KAAA;AAAA,MACpB,WAAA,EAAa,MAAM,UAAc,IAAA;AAAA;AAAA,qBAElC,KAAA,CAAA,aAAA,CAAA,UAAA,EAAA,EAAW,SAAQ,OAAQ,EAAA,SAAA,EAAS,QAClC,KAAM,CAAA,eAAA,IAAmB,4BAC5B,CACA,kBAAA,KAAA,CAAA,aAAA,CAAC,gBAAa,YAAc,EAAA,KAAA,CAAM,OAAO,WAAa,EAAA,KAAA,CAAM,OAAO,CACnE,kBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,IAAA;AAAA,IAAA;AAAA,MACC,SAAS,EAAA,IAAA;AAAA,MACT,UAAW,EAAA,QAAA;AAAA,MACX,WAAW,MAAO,CAAA;AAAA,KAAA;AAAA,IAEjB,MAAM,aAAiB,oBAAA,KAAA,CAAA,aAAA,CAAC,QAAK,IAAI,EAAA,IAAA,EAAA,EAAE,MAAM,aAAc,CAAA;AAAA,oBACxD,KAAA,CAAA,aAAA,CAAC,IAAK,EAAA,EAAA,IAAA,EAAI,IACR,EAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,MAAC,IAAA;AAAA,MAAA;AAAA,QACC,EAAA,EAAI,MAAM,QAAY,IAAA,4CAAA;AAAA,QACtB,aAAY,EAAA,0BAAA;AAAA,QACZ,SAAU,EAAA,MAAA;AAAA,QACV,OAAQ,EAAA,IAAA;AAAA,QACR,WAAW,MAAO,CAAA;AAAA,OAAA;AAAA,MAEjB,MAAM,aAAiB,IAAA;AAAA,KAE5B;AAAA,GAED,EAAA,KAAA,CAAM,KAAS,IAAA,KAAA,CAAM,KACxB,CAAA;AAEJ;;;;"}
@@ -0,0 +1,34 @@
1
+ import React, { useState } from 'react';
2
+ import { Link } from '@backstage/core-components';
3
+ import Modal from '@material-ui/core/Modal';
4
+ import Box from '@material-ui/core/Box';
5
+ import { useStyles } from './styles.esm.js';
6
+
7
+ const ContentModal = (props) => {
8
+ const { modalContent, linkContent } = props;
9
+ const styles = useStyles();
10
+ const [open, setOpen] = useState(false);
11
+ return /* @__PURE__ */ React.createElement("div", { className: styles.linkText, "data-testid": "content-modal-container" }, /* @__PURE__ */ React.createElement(
12
+ Link,
13
+ {
14
+ to: "#",
15
+ component: "button",
16
+ variant: "h6",
17
+ underline: "none",
18
+ onClick: () => setOpen(true)
19
+ },
20
+ linkContent
21
+ ), /* @__PURE__ */ React.createElement(
22
+ Modal,
23
+ {
24
+ open,
25
+ onClose: () => setOpen(false),
26
+ "aria-labelledby": "content-modal",
27
+ "data-testid": "content-modal"
28
+ },
29
+ /* @__PURE__ */ React.createElement(Box, { className: styles.contentModal, "data-testid": "content-modal-open" }, modalContent)
30
+ ));
31
+ };
32
+
33
+ export { ContentModal };
34
+ //# sourceMappingURL=ContentModal.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentModal.esm.js","sources":["../../../src/homePageComponents/QuickStart/ContentModal.tsx"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { useState } from 'react';\nimport { Link } from '@backstage/core-components';\nimport Modal from '@material-ui/core/Modal';\nimport Box from '@material-ui/core/Box';\n\nimport { useStyles } from './styles';\n\nexport type ContentModalProps = {\n modalContent: React.JSX.Element;\n linkContent: string | React.JSX.Element;\n};\n\nexport const ContentModal = (props: ContentModalProps) => {\n const { modalContent, linkContent } = props;\n const styles = useStyles();\n const [open, setOpen] = useState(false);\n\n return (\n <div className={styles.linkText} data-testid=\"content-modal-container\">\n <Link\n to=\"#\"\n component=\"button\"\n variant=\"h6\"\n underline=\"none\"\n onClick={() => setOpen(true)}\n >\n {linkContent}\n </Link>\n <Modal\n open={open}\n onClose={() => setOpen(false)}\n aria-labelledby=\"content-modal\"\n data-testid=\"content-modal\"\n >\n <Box className={styles.contentModal} data-testid=\"content-modal-open\">\n {modalContent}\n </Box>\n </Modal>\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;;AA4Ba,MAAA,YAAA,GAAe,CAAC,KAA6B,KAAA;AACxD,EAAM,MAAA,EAAE,YAAc,EAAA,WAAA,EAAgB,GAAA,KAAA;AACtC,EAAA,MAAM,SAAS,SAAU,EAAA;AACzB,EAAA,MAAM,CAAC,IAAA,EAAM,OAAO,CAAA,GAAI,SAAS,KAAK,CAAA;AAEtC,EAAA,2CACG,KAAI,EAAA,EAAA,SAAA,EAAW,MAAO,CAAA,QAAA,EAAU,eAAY,yBAC3C,EAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,IAAA;AAAA,IAAA;AAAA,MACC,EAAG,EAAA,GAAA;AAAA,MACH,SAAU,EAAA,QAAA;AAAA,MACV,OAAQ,EAAA,IAAA;AAAA,MACR,SAAU,EAAA,MAAA;AAAA,MACV,OAAA,EAAS,MAAM,OAAA,CAAQ,IAAI;AAAA,KAAA;AAAA,IAE1B;AAAA,GAEH,kBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,IAAA;AAAA,MACA,OAAA,EAAS,MAAM,OAAA,CAAQ,KAAK,CAAA;AAAA,MAC5B,iBAAgB,EAAA,eAAA;AAAA,MAChB,aAAY,EAAA;AAAA,KAAA;AAAA,wCAEX,GAAI,EAAA,EAAA,SAAA,EAAW,OAAO,YAAc,EAAA,aAAA,EAAY,wBAC9C,YACH;AAAA,GAEJ,CAAA;AAEJ;;;;"}
@@ -0,0 +1,2 @@
1
+ export { Content } from './Content.esm.js';
2
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
1
+ import { makeStyles } from '@material-ui/core/styles';
2
+
3
+ const useStyles = makeStyles(
4
+ (theme) => ({
5
+ cardTitleIcon: {
6
+ verticalAlign: "bottom",
7
+ marginLeft: "-4px"
8
+ },
9
+ contentActionContainer: {
10
+ marginTop: theme.spacing(1.5),
11
+ marginBottom: theme.spacing(1.5)
12
+ },
13
+ contentModal: {
14
+ position: "absolute",
15
+ top: "50%",
16
+ left: "50%",
17
+ transform: "translate(-50%, -50%)",
18
+ width: "80%",
19
+ height: "auto"
20
+ },
21
+ imageSize: { width: "100%", height: "100%" },
22
+ link: {
23
+ display: "inline-flex",
24
+ alignItems: "center",
25
+ textDecoration: "none",
26
+ color: `${theme.palette.link}`,
27
+ "&:hover": {
28
+ background: "transparent"
29
+ }
30
+ },
31
+ linkText: {
32
+ marginBottom: theme.spacing(1.5)
33
+ },
34
+ videoContainer: {
35
+ borderRadius: "10px",
36
+ width: "100%",
37
+ height: "auto",
38
+ background: `${theme.palette.background.default}`
39
+ }
40
+ }),
41
+ { name: "HomeQuickStartCard" }
42
+ );
43
+
44
+ export { useStyles };
45
+ //# sourceMappingURL=styles.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.esm.js","sources":["../../../src/homePageComponents/QuickStart/styles.ts"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { makeStyles, Theme } from '@material-ui/core/styles';\n\n/** @public */\nexport type QuickStartCardClassKey =\n | 'cardTitleIcon'\n | 'contentActionContainer'\n | 'contentModal'\n | 'imageSize'\n | 'link'\n | 'linkText'\n | 'videoContainer';\n\nexport const useStyles = makeStyles(\n (theme: Theme) => ({\n cardTitleIcon: {\n verticalAlign: 'bottom',\n marginLeft: '-4px',\n },\n contentActionContainer: {\n marginTop: theme.spacing(1.5),\n marginBottom: theme.spacing(1.5),\n },\n contentModal: {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n width: '80%',\n height: 'auto',\n },\n imageSize: { width: '100%', height: '100%' },\n link: {\n display: 'inline-flex',\n alignItems: 'center',\n textDecoration: 'none',\n color: `${theme.palette.link}`,\n '&:hover': {\n background: 'transparent',\n },\n },\n linkText: {\n marginBottom: theme.spacing(1.5),\n },\n videoContainer: {\n borderRadius: '10px',\n width: '100%',\n height: 'auto',\n background: `${theme.palette.background.default}`,\n },\n }),\n { name: 'HomeQuickStartCard' },\n);\n"],"names":[],"mappings":";;AA4BO,MAAM,SAAY,GAAA,UAAA;AAAA,EACvB,CAAC,KAAkB,MAAA;AAAA,IACjB,aAAe,EAAA;AAAA,MACb,aAAe,EAAA,QAAA;AAAA,MACf,UAAY,EAAA;AAAA,KACd;AAAA,IACA,sBAAwB,EAAA;AAAA,MACtB,SAAA,EAAW,KAAM,CAAA,OAAA,CAAQ,GAAG,CAAA;AAAA,MAC5B,YAAA,EAAc,KAAM,CAAA,OAAA,CAAQ,GAAG;AAAA,KACjC;AAAA,IACA,YAAc,EAAA;AAAA,MACZ,QAAU,EAAA,UAAA;AAAA,MACV,GAAK,EAAA,KAAA;AAAA,MACL,IAAM,EAAA,KAAA;AAAA,MACN,SAAW,EAAA,uBAAA;AAAA,MACX,KAAO,EAAA,KAAA;AAAA,MACP,MAAQ,EAAA;AAAA,KACV;AAAA,IACA,SAAW,EAAA,EAAE,KAAO,EAAA,MAAA,EAAQ,QAAQ,MAAO,EAAA;AAAA,IAC3C,IAAM,EAAA;AAAA,MACJ,OAAS,EAAA,aAAA;AAAA,MACT,UAAY,EAAA,QAAA;AAAA,MACZ,cAAgB,EAAA,MAAA;AAAA,MAChB,KAAO,EAAA,CAAA,EAAG,KAAM,CAAA,OAAA,CAAQ,IAAI,CAAA,CAAA;AAAA,MAC5B,SAAW,EAAA;AAAA,QACT,UAAY,EAAA;AAAA;AACd,KACF;AAAA,IACA,QAAU,EAAA;AAAA,MACR,YAAA,EAAc,KAAM,CAAA,OAAA,CAAQ,GAAG;AAAA,KACjC;AAAA,IACA,cAAgB,EAAA;AAAA,MACd,YAAc,EAAA,MAAA;AAAA,MACd,KAAO,EAAA,MAAA;AAAA,MACP,MAAQ,EAAA,MAAA;AAAA,MACR,UAAY,EAAA,CAAA,EAAG,KAAM,CAAA,OAAA,CAAQ,WAAW,OAAO,CAAA;AAAA;AACjD,GACF,CAAA;AAAA,EACA,EAAE,MAAM,oBAAqB;AAC/B;;;;"}
package/dist/index.d.ts CHANGED
@@ -227,6 +227,28 @@ type StarredEntitiesProps = {
227
227
  groupByKind?: boolean;
228
228
  };
229
229
 
230
+ /**
231
+ * Props customizing the <QuickStartCard/> component.
232
+ *
233
+ * @public
234
+ */
235
+ type QuickStartCardProps = {
236
+ /** The modal link title */
237
+ modalTitle?: string | React__default.JSX.Element;
238
+ /** The link to docs title */
239
+ docsLinkTitle?: string;
240
+ /** The link to docs */
241
+ docsLink?: string;
242
+ /** The video to play on the card */
243
+ video?: React__default.JSX.Element;
244
+ /** A quickstart image to display on the card */
245
+ image: React__default.JSX.Element;
246
+ /** The card description*/
247
+ cardDescription?: string;
248
+ /** A component used to download a quickStart image*/
249
+ downloadImage?: React__default.JSX.Element;
250
+ };
251
+
230
252
  /** @public */
231
253
  declare const homePlugin: _backstage_core_plugin_api.BackstagePlugin<{
232
254
  root: _backstage_core_plugin_api.RouteRef<undefined>;
@@ -242,7 +264,6 @@ declare const ComponentAccordion: (props: {
242
264
  expanded?: boolean | undefined;
243
265
  Content: () => JSX.Element;
244
266
  Actions?: (() => JSX.Element) | undefined;
245
- /** @public */
246
267
  Settings?: (() => JSX.Element) | undefined;
247
268
  ContextProvider?: ((props: any) => JSX.Element) | undefined;
248
269
  }) => React.JSX.Element;
@@ -491,4 +512,4 @@ declare const SettingsModal: (props: {
491
512
  children: JSX.Element;
492
513
  }) => React.JSX.Element;
493
514
 
494
- export { type Breakpoint, type CardConfig, type CardExtensionProps, type CardLayout, type CardSettings, type ClockConfig, ComponentAccordion, type ComponentParts, type ComponentRenderer, ComponentTab, ComponentTabs, CustomHomepageGrid, type CustomHomepageGridProps, FeaturedDocsCard, type FeaturedDocsCardProps, HeaderWorldClock, HomePageCompanyLogo, HomePageRandomJoke, HomePageRecentlyVisited, HomePageStarredEntities, HomePageToolkit, HomePageTopVisited, HomepageCompositionRoot, type LayoutConfiguration, type Operators, type RendererProps, SettingsModal, type StarredEntitiesProps, TemplateBackstageLogo, TemplateBackstageLogoIcon, type Tool, type ToolkitContentProps, type Visit, VisitListener, type VisitedByTypeKind, type VisitedByTypeProps, type VisitsApi, type VisitsApiQueryParams, type VisitsApiSaveParams, VisitsStorageApi, type VisitsStorageApiOptions, VisitsWebStorageApi, type VisitsWebStorageApiOptions, WelcomeTitle, type WelcomeTitleLanguageProps, createCardExtension, homePlugin, isOperator, visitsApiRef };
515
+ export { type Breakpoint, type CardConfig, type CardExtensionProps, type CardLayout, type CardSettings, type ClockConfig, ComponentAccordion, type ComponentParts, type ComponentRenderer, ComponentTab, ComponentTabs, CustomHomepageGrid, type CustomHomepageGridProps, FeaturedDocsCard, type FeaturedDocsCardProps, HeaderWorldClock, HomePageCompanyLogo, HomePageRandomJoke, HomePageRecentlyVisited, HomePageStarredEntities, HomePageToolkit, HomePageTopVisited, HomepageCompositionRoot, type LayoutConfiguration, type Operators, type QuickStartCardProps, type RendererProps, SettingsModal, type StarredEntitiesProps, TemplateBackstageLogo, TemplateBackstageLogoIcon, type Tool, type ToolkitContentProps, type Visit, VisitListener, type VisitedByTypeKind, type VisitedByTypeProps, type VisitsApi, type VisitsApiQueryParams, type VisitsApiSaveParams, VisitsStorageApi, type VisitsStorageApiOptions, VisitsWebStorageApi, type VisitsWebStorageApiOptions, WelcomeTitle, type WelcomeTitleLanguageProps, createCardExtension, homePlugin, isOperator, visitsApiRef };
@@ -139,6 +139,13 @@ const FeaturedDocsCard = homePlugin.provide(
139
139
  components: () => import('./homePageComponents/FeaturedDocsCard/index.esm.js')
140
140
  })
141
141
  );
142
+ homePlugin.provide(
143
+ createCardExtension({
144
+ name: "QuickStartCard",
145
+ title: "Quick Start",
146
+ components: () => import('./homePageComponents/QuickStart/index.esm.js')
147
+ })
148
+ );
142
149
 
143
150
  export { ComponentAccordion, ComponentTab, ComponentTabs, FeaturedDocsCard, HeaderWorldClock, HomePageCompanyLogo, HomePageRandomJoke, HomePageRecentlyVisited, HomePageStarredEntities, HomePageToolkit, HomePageTopVisited, HomepageCompositionRoot, WelcomeTitle, homePlugin };
144
151
  //# sourceMappingURL=plugin.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.esm.js","sources":["../src/plugin.ts"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createApiFactory,\n createComponentExtension,\n createPlugin,\n createRoutableExtension,\n identityApiRef,\n storageApiRef,\n} from '@backstage/core-plugin-api';\nimport { createCardExtension } from '@backstage/plugin-home-react';\nimport {\n ToolkitContentProps,\n VisitedByTypeProps,\n FeaturedDocsCardProps,\n} from './homePageComponents';\nimport { rootRouteRef } from './routes';\nimport { VisitsStorageApi, visitsApiRef } from './api';\nimport { StarredEntitiesProps } from './homePageComponents/StarredEntities/Content';\n\n/** @public */\nexport const homePlugin = createPlugin({\n id: 'home',\n apis: [\n createApiFactory({\n api: visitsApiRef,\n deps: {\n storageApi: storageApiRef,\n identityApi: identityApiRef,\n },\n factory: ({ storageApi, identityApi }) =>\n VisitsStorageApi.create({ storageApi, identityApi }),\n }),\n ],\n routes: {\n root: rootRouteRef,\n },\n});\n\n/** @public */\nexport const HomepageCompositionRoot = homePlugin.provide(\n createRoutableExtension({\n name: 'HomepageCompositionRoot',\n component: () =>\n import('./components').then(m => m.HomepageCompositionRoot),\n mountPoint: rootRouteRef,\n }),\n);\n\n/** @public */\nexport const ComponentAccordion = homePlugin.provide(\n createComponentExtension({\n name: 'ComponentAccordion',\n component: {\n lazy: () =>\n import('./componentRenderers').then(m => m.ComponentAccordion),\n },\n }),\n);\n\n/** @public */\nexport const ComponentTabs = homePlugin.provide(\n createComponentExtension({\n name: 'ComponentTabs',\n component: {\n lazy: () => import('./componentRenderers').then(m => m.ComponentTabs),\n },\n }),\n);\n\n/** @public */\nexport const ComponentTab = homePlugin.provide(\n createComponentExtension({\n name: 'ComponentTab',\n component: {\n lazy: () => import('./componentRenderers').then(m => m.ComponentTab),\n },\n }),\n);\n\n/**\n * A component to display a playful greeting for the user.\n *\n * @public\n */\nexport const WelcomeTitle = homePlugin.provide(\n createComponentExtension({\n name: 'WelcomeTitle',\n component: {\n lazy: () =>\n import('./homePageComponents/WelcomeTitle').then(m => m.WelcomeTitle),\n },\n }),\n);\n\n/**\n * A component to display a company logo for the user.\n *\n * @public\n */\nexport const HomePageCompanyLogo = homePlugin.provide(\n createComponentExtension({\n name: 'CompanyLogo',\n component: {\n lazy: () =>\n import('./homePageComponents/CompanyLogo').then(m => m.CompanyLogo),\n },\n }),\n);\n\n/** @public */\nexport const HomePageRandomJoke = homePlugin.provide(\n createCardExtension<{ defaultCategory?: 'any' | 'programming' }>({\n name: 'HomePageRandomJoke',\n title: 'Random Joke',\n components: () => import('./homePageComponents/RandomJoke'),\n description: 'Shows a random joke about optional category',\n layout: {\n height: { minRows: 4 },\n width: { minColumns: 3 },\n },\n settings: {\n schema: {\n title: 'Random Joke settings',\n type: 'object',\n properties: {\n defaultCategory: {\n title: 'Category',\n type: 'string',\n enum: ['any', 'programming', 'dad'],\n default: 'any',\n },\n },\n },\n },\n }),\n);\n\n/**\n * A component to display a list of tools for the user.\n *\n * @public\n */\nexport const HomePageToolkit = homePlugin.provide(\n createCardExtension<ToolkitContentProps>({\n name: 'HomePageToolkit',\n title: 'Toolkit',\n components: () => import('./homePageComponents/Toolkit'),\n }),\n);\n\n/**\n * A component to display a list of starred entities for the user.\n *\n * @public\n */\nexport const HomePageStarredEntities = homePlugin.provide(\n createCardExtension<Partial<StarredEntitiesProps>>({\n name: 'HomePageStarredEntities',\n title: 'Your Starred Entities',\n components: () => import('./homePageComponents/StarredEntities'),\n }),\n);\n\n/**\n * A component to display a configurable list of clocks for various time zones.\n *\n * @public\n */\nexport const HeaderWorldClock = homePlugin.provide(\n createComponentExtension({\n name: 'HeaderWorldClock',\n component: {\n lazy: () =>\n import('./homePageComponents/HeaderWorldClock').then(\n m => m.HeaderWorldClock,\n ),\n },\n }),\n);\n\n/**\n * Display top visited pages for the homepage\n * @public\n */\nexport const HomePageTopVisited = homePlugin.provide(\n createCardExtension<Partial<VisitedByTypeProps>>({\n name: 'HomePageTopVisited',\n title: 'Top Visited',\n components: () => import('./homePageComponents/VisitedByType/TopVisited'),\n }),\n);\n\n/**\n * Display recently visited pages for the homepage\n * @public\n */\nexport const HomePageRecentlyVisited = homePlugin.provide(\n createCardExtension<Partial<VisitedByTypeProps>>({\n name: 'HomePageRecentlyVisited',\n title: 'Recently Visited',\n components: () =>\n import('./homePageComponents/VisitedByType/RecentlyVisited'),\n }),\n);\n\n/**\n * A component to display specific Featured Docs.\n *\n * @public\n */\nexport const FeaturedDocsCard = homePlugin.provide(\n createCardExtension<FeaturedDocsCardProps>({\n name: 'FeaturedDocsCard',\n title: 'Featured Docs',\n components: () => import('./homePageComponents/FeaturedDocsCard'),\n }),\n);\n"],"names":[],"mappings":";;;;;;;AAmCO,MAAM,aAAa,YAAa,CAAA;AAAA,EACrC,EAAI,EAAA,MAAA;AAAA,EACJ,IAAM,EAAA;AAAA,IACJ,gBAAiB,CAAA;AAAA,MACf,GAAK,EAAA,YAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,UAAY,EAAA,aAAA;AAAA,QACZ,WAAa,EAAA;AAAA,OACf;AAAA,MACA,OAAA,EAAS,CAAC,EAAE,UAAY,EAAA,WAAA,EACtB,KAAA,gBAAA,CAAiB,MAAO,CAAA,EAAE,UAAY,EAAA,WAAA,EAAa;AAAA,KACtD;AAAA,GACH;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA;AAAA;AAEV,CAAC;AAGM,MAAM,0BAA0B,UAAW,CAAA,OAAA;AAAA,EAChD,uBAAwB,CAAA;AAAA,IACtB,IAAM,EAAA,yBAAA;AAAA,IACN,SAAA,EAAW,MACT,OAAO,2BAAc,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,uBAAuB,CAAA;AAAA,IAC5D,UAAY,EAAA;AAAA,GACb;AACH;AAGO,MAAM,qBAAqB,UAAW,CAAA,OAAA;AAAA,EAC3C,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,oBAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAA,EAAM,MACJ,OAAO,mCAAsB,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,kBAAkB;AAAA;AACjE,GACD;AACH;AAGO,MAAM,gBAAgB,UAAW,CAAA,OAAA;AAAA,EACtC,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,eAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAA,EAAM,MAAM,OAAO,mCAAsB,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,aAAa;AAAA;AACtE,GACD;AACH;AA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AO,EAAA,eAAA;AAAA,IACP,UAAA,EAAY,MAAM,OAAO,oDAAuC;AAAA,GACjE;AACH;;;;"}
1
+ {"version":3,"file":"plugin.esm.js","sources":["../src/plugin.ts"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createApiFactory,\n createComponentExtension,\n createPlugin,\n createRoutableExtension,\n identityApiRef,\n storageApiRef,\n} from '@backstage/core-plugin-api';\nimport { createCardExtension } from '@backstage/plugin-home-react';\nimport {\n ToolkitContentProps,\n VisitedByTypeProps,\n FeaturedDocsCardProps,\n QuickStartCardProps,\n} from './homePageComponents';\nimport { rootRouteRef } from './routes';\nimport { VisitsStorageApi, visitsApiRef } from './api';\nimport { StarredEntitiesProps } from './homePageComponents/StarredEntities/Content';\n\n/** @public */\nexport const homePlugin = createPlugin({\n id: 'home',\n apis: [\n createApiFactory({\n api: visitsApiRef,\n deps: {\n storageApi: storageApiRef,\n identityApi: identityApiRef,\n },\n factory: ({ storageApi, identityApi }) =>\n VisitsStorageApi.create({ storageApi, identityApi }),\n }),\n ],\n routes: {\n root: rootRouteRef,\n },\n});\n\n/** @public */\nexport const HomepageCompositionRoot = homePlugin.provide(\n createRoutableExtension({\n name: 'HomepageCompositionRoot',\n component: () =>\n import('./components').then(m => m.HomepageCompositionRoot),\n mountPoint: rootRouteRef,\n }),\n);\n\n/** @public */\nexport const ComponentAccordion = homePlugin.provide(\n createComponentExtension({\n name: 'ComponentAccordion',\n component: {\n lazy: () =>\n import('./componentRenderers').then(m => m.ComponentAccordion),\n },\n }),\n);\n\n/** @public */\nexport const ComponentTabs = homePlugin.provide(\n createComponentExtension({\n name: 'ComponentTabs',\n component: {\n lazy: () => import('./componentRenderers').then(m => m.ComponentTabs),\n },\n }),\n);\n\n/** @public */\nexport const ComponentTab = homePlugin.provide(\n createComponentExtension({\n name: 'ComponentTab',\n component: {\n lazy: () => import('./componentRenderers').then(m => m.ComponentTab),\n },\n }),\n);\n\n/**\n * A component to display a playful greeting for the user.\n *\n * @public\n */\nexport const WelcomeTitle = homePlugin.provide(\n createComponentExtension({\n name: 'WelcomeTitle',\n component: {\n lazy: () =>\n import('./homePageComponents/WelcomeTitle').then(m => m.WelcomeTitle),\n },\n }),\n);\n\n/**\n * A component to display a company logo for the user.\n *\n * @public\n */\nexport const HomePageCompanyLogo = homePlugin.provide(\n createComponentExtension({\n name: 'CompanyLogo',\n component: {\n lazy: () =>\n import('./homePageComponents/CompanyLogo').then(m => m.CompanyLogo),\n },\n }),\n);\n\n/** @public */\nexport const HomePageRandomJoke = homePlugin.provide(\n createCardExtension<{ defaultCategory?: 'any' | 'programming' }>({\n name: 'HomePageRandomJoke',\n title: 'Random Joke',\n components: () => import('./homePageComponents/RandomJoke'),\n description: 'Shows a random joke about optional category',\n layout: {\n height: { minRows: 4 },\n width: { minColumns: 3 },\n },\n settings: {\n schema: {\n title: 'Random Joke settings',\n type: 'object',\n properties: {\n defaultCategory: {\n title: 'Category',\n type: 'string',\n enum: ['any', 'programming', 'dad'],\n default: 'any',\n },\n },\n },\n },\n }),\n);\n\n/**\n * A component to display a list of tools for the user.\n *\n * @public\n */\nexport const HomePageToolkit = homePlugin.provide(\n createCardExtension<ToolkitContentProps>({\n name: 'HomePageToolkit',\n title: 'Toolkit',\n components: () => import('./homePageComponents/Toolkit'),\n }),\n);\n\n/**\n * A component to display a list of starred entities for the user.\n *\n * @public\n */\nexport const HomePageStarredEntities = homePlugin.provide(\n createCardExtension<Partial<StarredEntitiesProps>>({\n name: 'HomePageStarredEntities',\n title: 'Your Starred Entities',\n components: () => import('./homePageComponents/StarredEntities'),\n }),\n);\n\n/**\n * A component to display a configurable list of clocks for various time zones.\n *\n * @public\n */\nexport const HeaderWorldClock = homePlugin.provide(\n createComponentExtension({\n name: 'HeaderWorldClock',\n component: {\n lazy: () =>\n import('./homePageComponents/HeaderWorldClock').then(\n m => m.HeaderWorldClock,\n ),\n },\n }),\n);\n\n/**\n * Display top visited pages for the homepage\n * @public\n */\nexport const HomePageTopVisited = homePlugin.provide(\n createCardExtension<Partial<VisitedByTypeProps>>({\n name: 'HomePageTopVisited',\n title: 'Top Visited',\n components: () => import('./homePageComponents/VisitedByType/TopVisited'),\n }),\n);\n\n/**\n * Display recently visited pages for the homepage\n * @public\n */\nexport const HomePageRecentlyVisited = homePlugin.provide(\n createCardExtension<Partial<VisitedByTypeProps>>({\n name: 'HomePageRecentlyVisited',\n title: 'Recently Visited',\n components: () =>\n import('./homePageComponents/VisitedByType/RecentlyVisited'),\n }),\n);\n\n/**\n * A component to display specific Featured Docs.\n *\n * @public\n */\nexport const FeaturedDocsCard = homePlugin.provide(\n createCardExtension<FeaturedDocsCardProps>({\n name: 'FeaturedDocsCard',\n title: 'Featured Docs',\n components: () => import('./homePageComponents/FeaturedDocsCard'),\n }),\n);\n\n/**\n * A component to display Quick Start information.\n *\n * @public\n */\nexport const QuickStartCard = homePlugin.provide(\n createCardExtension<QuickStartCardProps>({\n name: 'QuickStartCard',\n title: 'Quick Start',\n components: () => import('./homePageComponents/QuickStart'),\n }),\n);\n"],"names":[],"mappings":";;;;;;;AAoCO,MAAM,aAAa,YAAa,CAAA;AAAA,EACrC,EAAI,EAAA,MAAA;AAAA,EACJ,IAAM,EAAA;AAAA,IACJ,gBAAiB,CAAA;AAAA,MACf,GAAK,EAAA,YAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,UAAY,EAAA,aAAA;AAAA,QACZ,WAAa,EAAA;AAAA,OACf;AAAA,MACA,OAAA,EAAS,CAAC,EAAE,UAAY,EAAA,WAAA,EACtB,KAAA,gBAAA,CA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IACjD,IAAM,EAAA,yBAAA;AAAA,IACN,KAAO,EAAA,uBAAA;AAAA,IACP,UAAA,EAAY,MAAM,OAAO,mDAAsC;AAAA,GAChE;AACH;AAOO,MAAM,mBAAmB,UAAW,CAAA,OAAA;AAAA,EACzC,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,kBAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAM,EAAA,MACJ,OAAO,oDAAuC,CAAE,CAAA,IAAA;AAAA,QAC9C,OAAK,CAAE,CAAA;AAAA;AACT;AACJ,GACD;AACH;AAMO,MAAM,qBAAqB,UAAW,CAAA,OAAA;AAAA,EAC3C,mBAAiD,CAAA;AAAA,IAC/C,IAAM,EAAA,oBAAA;AAAA,IACN,KAAO,EAAA,aAAA;AAAA,IACP,UAAA,EAAY,MAAM,OAAO,sDAA+C;AAAA,GACzE;AACH;AAMO,MAAM,0BAA0B,UAAW,CAAA,OAAA;AAAA,EAChD,mBAAiD,CAAA;AAAA,IAC/C,IAAM,EAAA,yBAAA;AAAA,IACN,KAAO,EAAA,kBAAA;AAAA,IACP,UAAA,EAAY,MACV,OAAO,2DAAoD;AAAA,GAC9D;AACH;AAOO,MAAM,mBAAmB,UAAW,CAAA,OAAA;AAAA,EACzC,mBAA2C,CAAA;AAAA,IACzC,IAAM,EAAA,kBAAA;AAAA,IACN,KAAO,EAAA,eAAA;AAAA,IACP,UAAA,EAAY,MAAM,OAAO,oDAAuC;AAAA,GACjE;AACH;AAO8B,UAAW,CAAA,OAAA;AAAA,EACvC,mBAAyC,CAAA;AAAA,IACvC,IAAM,EAAA,gBAAA;AAAA,IACN,KAAO,EAAA,aAAA;AAAA,IACP,UAAA,EAAY,MAAM,OAAO,8CAAiC;AAAA,GAC3D;AACH;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-home",
3
- "version": "0.8.3-next.0",
3
+ "version": "0.8.3-next.1",
4
4
  "description": "A Backstage plugin that helps you build a home page",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -65,16 +65,16 @@
65
65
  "test": "backstage-cli package test"
66
66
  },
67
67
  "dependencies": {
68
- "@backstage/catalog-client": "1.8.1-next.0",
68
+ "@backstage/catalog-client": "1.9.0-next.1",
69
69
  "@backstage/catalog-model": "1.7.1",
70
70
  "@backstage/config": "1.3.0",
71
71
  "@backstage/core-app-api": "1.15.3-next.0",
72
- "@backstage/core-compat-api": "0.3.4-next.0",
73
- "@backstage/core-components": "0.16.2-next.0",
72
+ "@backstage/core-compat-api": "0.3.4-next.1",
73
+ "@backstage/core-components": "0.16.2-next.1",
74
74
  "@backstage/core-plugin-api": "1.10.1",
75
- "@backstage/frontend-plugin-api": "0.9.3-next.0",
76
- "@backstage/plugin-catalog-react": "1.14.3-next.0",
77
- "@backstage/plugin-home-react": "0.1.21-next.0",
75
+ "@backstage/frontend-plugin-api": "0.9.3-next.1",
76
+ "@backstage/plugin-catalog-react": "1.14.3-next.1",
77
+ "@backstage/plugin-home-react": "0.1.21-next.1",
78
78
  "@backstage/theme": "0.6.3-next.0",
79
79
  "@material-ui/core": "^4.12.2",
80
80
  "@material-ui/icons": "^4.9.1",
@@ -91,8 +91,8 @@
91
91
  "zod": "^3.22.4"
92
92
  },
93
93
  "devDependencies": {
94
- "@backstage/cli": "0.29.3-next.0",
95
- "@backstage/dev-utils": "1.1.5-next.0",
94
+ "@backstage/cli": "0.29.3-next.1",
95
+ "@backstage/dev-utils": "1.1.5-next.1",
96
96
  "@backstage/test-utils": "1.7.3-next.0",
97
97
  "@testing-library/dom": "^10.0.0",
98
98
  "@testing-library/jest-dom": "^6.0.0",