@drodil/backstage-plugin-qeta 3.52.2 → 3.52.3

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,21 +1,17 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
- import { qetaTranslationRef, ContentHeader, AskQuestionButton, WriteArticleButton, CreateLinkButton, CollectionsGrid } from '@drodil/backstage-plugin-qeta-react';
2
+ import { qetaTranslationRef, ContentHeader, CreateCollectionButton, CollectionsGrid } from '@drodil/backstage-plugin-qeta-react';
3
3
  import PlaylistPlayOutlined from '@material-ui/icons/PlaylistPlayOutlined';
4
4
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
5
5
 
6
6
  const CollectionsPage = () => {
7
7
  const { t } = useTranslationRef(qetaTranslationRef);
8
8
  return /* @__PURE__ */ jsxs(Fragment, { children: [
9
- /* @__PURE__ */ jsxs(
9
+ /* @__PURE__ */ jsx(
10
10
  ContentHeader,
11
11
  {
12
12
  title: t("collectionsPage.title"),
13
13
  titleIcon: /* @__PURE__ */ jsx(PlaylistPlayOutlined, { fontSize: "large" }),
14
- children: [
15
- /* @__PURE__ */ jsx(AskQuestionButton, {}),
16
- /* @__PURE__ */ jsx(WriteArticleButton, {}),
17
- /* @__PURE__ */ jsx(CreateLinkButton, {})
18
- ]
14
+ children: /* @__PURE__ */ jsx(CreateCollectionButton, {})
19
15
  }
20
16
  ),
21
17
  /* @__PURE__ */ jsx(CollectionsGrid, {})
@@ -1 +1 @@
1
- {"version":3,"file":"CollectionsPage.esm.js","sources":["../../../src/components/CollectionsPage/CollectionsPage.tsx"],"sourcesContent":["import {\n AskQuestionButton,\n ContentHeader,\n CreateLinkButton,\n CollectionsGrid,\n qetaTranslationRef,\n WriteArticleButton,\n} from '@drodil/backstage-plugin-qeta-react';\nimport PlaylistPlayOutlined from '@material-ui/icons/PlaylistPlayOutlined';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\nexport const CollectionsPage = () => {\n const { t } = useTranslationRef(qetaTranslationRef);\n\n return (\n <>\n <ContentHeader\n title={t('collectionsPage.title')}\n titleIcon={<PlaylistPlayOutlined fontSize=\"large\" />}\n >\n <AskQuestionButton />\n <WriteArticleButton />\n <CreateLinkButton />\n </ContentHeader>\n <CollectionsGrid />\n </>\n );\n};\n"],"names":[],"mappings":";;;;;AAWO,MAAM,kBAAkB,MAAM;AACnC,EAAA,MAAM,EAAE,CAAA,EAAM,GAAA,iBAAA,CAAkB,kBAAkB,CAAA;AAElD,EAAA,uBAEI,IAAA,CAAA,QAAA,EAAA,EAAA,QAAA,EAAA;AAAA,oBAAA,IAAA;AAAA,MAAC,aAAA;AAAA,MAAA;AAAA,QACC,KAAA,EAAO,EAAE,uBAAuB,CAAA;AAAA,QAChC,SAAW,kBAAA,GAAA,CAAC,oBAAqB,EAAA,EAAA,QAAA,EAAS,OAAQ,EAAA,CAAA;AAAA,QAElD,QAAA,EAAA;AAAA,0BAAA,GAAA,CAAC,iBAAkB,EAAA,EAAA,CAAA;AAAA,8BAClB,kBAAmB,EAAA,EAAA,CAAA;AAAA,8BACnB,gBAAiB,EAAA,EAAA;AAAA;AAAA;AAAA,KACpB;AAAA,wBACC,eAAgB,EAAA,EAAA;AAAA,GACnB,EAAA,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"CollectionsPage.esm.js","sources":["../../../src/components/CollectionsPage/CollectionsPage.tsx"],"sourcesContent":["import {\n CollectionsGrid,\n ContentHeader,\n CreateCollectionButton,\n qetaTranslationRef,\n} from '@drodil/backstage-plugin-qeta-react';\nimport PlaylistPlayOutlined from '@material-ui/icons/PlaylistPlayOutlined';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\nexport const CollectionsPage = () => {\n const { t } = useTranslationRef(qetaTranslationRef);\n\n return (\n <>\n <ContentHeader\n title={t('collectionsPage.title')}\n titleIcon={<PlaylistPlayOutlined fontSize=\"large\" />}\n >\n <CreateCollectionButton />\n </ContentHeader>\n <CollectionsGrid />\n </>\n );\n};\n"],"names":[],"mappings":";;;;;AASO,MAAM,kBAAkB,MAAM;AACnC,EAAA,MAAM,EAAE,CAAA,EAAM,GAAA,iBAAA,CAAkB,kBAAkB,CAAA;AAElD,EAAA,uBAEI,IAAA,CAAA,QAAA,EAAA,EAAA,QAAA,EAAA;AAAA,oBAAA,GAAA;AAAA,MAAC,aAAA;AAAA,MAAA;AAAA,QACC,KAAA,EAAO,EAAE,uBAAuB,CAAA;AAAA,QAChC,SAAW,kBAAA,GAAA,CAAC,oBAAqB,EAAA,EAAA,QAAA,EAAS,OAAQ,EAAA,CAAA;AAAA,QAElD,8BAAC,sBAAuB,EAAA,EAAA;AAAA;AAAA,KAC1B;AAAA,wBACC,eAAgB,EAAA,EAAA;AAAA,GACnB,EAAA,CAAA;AAEJ;;;;"}
@@ -6,7 +6,7 @@ var keywords = [
6
6
  "frontend",
7
7
  "backstage.io"
8
8
  ];
9
- var version = "3.52.2";
9
+ var version = "3.52.3";
10
10
  var main = "src/index.ts";
11
11
  var types = "src/index.ts";
12
12
  var prepublishOnly = "yarn tsc && yarn build";
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "frontend",
8
8
  "backstage.io"
9
9
  ],
10
- "version": "3.52.2",
10
+ "version": "3.52.3",
11
11
  "main": "./dist/index.esm.js",
12
12
  "types": "./dist/index.d.ts",
13
13
  "prepublishOnly": "yarn tsc && yarn build",
@@ -85,8 +85,8 @@
85
85
  "@backstage/plugin-search-react": "^1.10.1",
86
86
  "@backstage/plugin-signals-react": "^0.0.18",
87
87
  "@backstage/plugin-techdocs-react": "^1.3.6",
88
- "@drodil/backstage-plugin-qeta-common": "^3.52.2",
89
- "@drodil/backstage-plugin-qeta-react": "^3.52.2",
88
+ "@drodil/backstage-plugin-qeta-common": "^3.52.3",
89
+ "@drodil/backstage-plugin-qeta-react": "^3.52.3",
90
90
  "@material-ui/core": "^4.12.2",
91
91
  "@material-ui/icons": "^4.11.3",
92
92
  "@material-ui/lab": "4.0.0-alpha.61",