@bigbinary/neeto-seo-frontend 3.0.0 → 3.0.2

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/README.md CHANGED
@@ -140,7 +140,6 @@ seo_setting_routes
140
140
  defaultHelpDocUrl="https://help.neetopublish.com/search-engine-optimization"
141
141
  entity="Page"
142
142
  seoFormFields={SEO_FORM_FIELDS}
143
- additionalComponent={<ImageUploader />}
144
143
  />
145
144
  );
146
145
  };
@@ -2,7 +2,7 @@
2
2
  "neetoSeo": {
3
3
  "title": "Search engine optimization",
4
4
  "manageSeoSettings": "Manage SEO settings",
5
- "readHelpArticle": "<Link>Read more</Link> to learn more about configuring the SEO settings",
5
+ "readHelpArticle": "<Link>Read more</Link> to learn more about configuring the SEO settings.",
6
6
  "buttons": {
7
7
  "configure": "Configure"
8
8
  },
@@ -1,12 +1,13 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import { memo, useState } from 'react';
3
+ import CardLayout from '@bigbinary/neeto-molecules/CardLayout';
3
4
  import Container from '@bigbinary/neeto-molecules/Container';
4
5
  import Typography from '@bigbinary/neetoui/Typography';
5
6
  import Button from '@bigbinary/neetoui/Button';
6
7
  import { useTranslation, Trans } from 'react-i18next';
8
+ import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
7
9
  import NeetoHeader from '@bigbinary/neeto-molecules/Header';
8
- import HelpPopover from '@bigbinary/neeto-molecules/HelpPopover';
9
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
10
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
10
11
  import Pane from './SeoSettingsPane.js';
11
12
  import '@bigbinary/neeto-molecules/PageLoader';
12
13
  import '@bigbinary/neetoui/Pane';
@@ -23,41 +24,31 @@ import '@bigbinary/neeto-image-uploader-frontend/ImageUploader';
23
24
  import 'classnames';
24
25
  import 'formik';
25
26
  import '@bigbinary/neeto-cist';
27
+ import '@bigbinary/neeto-molecules/HelpPopover';
26
28
  import '@bigbinary/neetoui/Label';
27
29
  import '@bigbinary/neetoui/formik/Switch';
28
30
  import '@bigbinary/neetoui/formik/Input';
29
- import '@bigbinary/neeto-commons-frontend/react-utils';
30
31
  import '@bigbinary/neetoui/formik/Textarea';
31
32
 
32
- var Header = function Header(_ref) {
33
- var breadcrumbs = _ref.breadcrumbs,
33
+ var Header = withT(function (_ref) {
34
+ var t = _ref.t,
35
+ breadcrumbs = _ref.breadcrumbs,
34
36
  helpDocUrl = _ref.helpDocUrl,
35
37
  _ref$helpPopoverDescr = _ref.helpPopoverDescription,
36
38
  helpPopoverDescription = _ref$helpPopoverDescr === void 0 ? "" : _ref$helpPopoverDescr;
37
- var _useTranslation = useTranslation(),
38
- t = _useTranslation.t;
39
- var title = /*#__PURE__*/jsxs("div", {
40
- className: "flex items-center gap-x-2",
41
- children: [/*#__PURE__*/jsx(Typography, {
42
- style: "h2",
43
- children: t("neetoSeo.title")
44
- }), /*#__PURE__*/jsx(HelpPopover, {
39
+ return /*#__PURE__*/jsx(NeetoHeader, {
40
+ breadcrumbs: breadcrumbs,
41
+ size: "small",
42
+ title: t("neetoSeo.title"),
43
+ titleHelpPopoverProps: {
44
+ title: t("neetoSeo.title"),
45
45
  description: helpPopoverDescription || t("neetoSeo.helpPopovers.seo"),
46
46
  helpLinkProps: {
47
47
  href: helpDocUrl
48
- },
49
- popoverProps: {
50
- position: "top"
51
- },
52
- title: t("neetoSeo.title")
53
- })]
48
+ }
49
+ }
54
50
  });
55
- return /*#__PURE__*/jsx(NeetoHeader, {
56
- breadcrumbs: breadcrumbs,
57
- title: title,
58
- size: "large"
59
- });
60
- };
51
+ });
61
52
  var Header$1 = /*#__PURE__*/memo(Header);
62
53
 
63
54
  var Page = function Page(_ref) {
@@ -88,32 +79,26 @@ var Page = function Page(_ref) {
88
79
  breadcrumbs: breadcrumbs,
89
80
  helpDocUrl: helpDocUrl,
90
81
  helpPopoverDescription: helpPopoverDescription
91
- }), /*#__PURE__*/jsx("div", {
92
- className: "mt-10 flex w-full justify-center",
93
- children: /*#__PURE__*/jsxs("div", {
94
- className: "neeto-ui-border-gray-300 neeto-ui-rounded w-1/2 space-y-4 border p-6",
95
- children: [/*#__PURE__*/jsx(Typography, {
96
- style: "h2",
97
- children: t("neetoSeo.manageSeoSettings")
98
- }), /*#__PURE__*/jsx(Button, {
99
- label: t("neetoSeo.buttons.configure"),
100
- onClick: openPane
101
- }), /*#__PURE__*/jsx("div", {
102
- className: "space-y-1"
103
- }), /*#__PURE__*/jsx(Typography, {
104
- style: "body2",
105
- children: /*#__PURE__*/jsx(Trans, {
106
- i18nKey: "neetoSeo.readHelpArticle",
107
- components: {
108
- Link: /*#__PURE__*/jsx(Button, {
109
- href: helpDocUrl,
110
- rel: "noreferrer",
111
- style: "link",
112
- target: "_blank"
113
- })
114
- }
115
- })
116
- })]
82
+ }), /*#__PURE__*/jsx(CardLayout, {
83
+ title: t("neetoSeo.manageSeoSettings"),
84
+ actionBlock: /*#__PURE__*/jsx(Button, {
85
+ label: t("neetoSeo.buttons.configure"),
86
+ onClick: openPane
87
+ }),
88
+ children: /*#__PURE__*/jsx(Typography, {
89
+ style: "body1",
90
+ children: /*#__PURE__*/jsx(Trans, {
91
+ i18nKey: "neetoSeo.readHelpArticle",
92
+ components: {
93
+ Link: /*#__PURE__*/jsx(Button, {
94
+ href: helpDocUrl,
95
+ rel: "noreferrer",
96
+ size: "large",
97
+ style: "link",
98
+ target: "_blank"
99
+ })
100
+ }
101
+ })
117
102
  })
118
103
  })]
119
104
  }), /*#__PURE__*/jsx(Pane, {
@@ -1 +1 @@
1
- {"version":3,"file":"SeoSettingsPage.js","sources":["../app/javascript/src/components/SeoSettings/Header.jsx","../app/javascript/src/components/SeoSettings/Page.jsx"],"sourcesContent":["import { memo } from \"react\";\n\nimport NeetoHeader from \"neetomolecules/Header\";\nimport HelpPopover from \"neetomolecules/HelpPopover\";\nimport { Typography } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nconst Header = ({ breadcrumbs, helpDocUrl, helpPopoverDescription = \"\" }) => {\n const { t } = useTranslation();\n\n const title = (\n <div className=\"flex items-center gap-x-2\">\n <Typography style=\"h2\">{t(\"neetoSeo.title\")}</Typography>\n <HelpPopover\n description={helpPopoverDescription || t(\"neetoSeo.helpPopovers.seo\")}\n helpLinkProps={{ href: helpDocUrl }}\n popoverProps={{ position: \"top\" }}\n title={t(\"neetoSeo.title\")}\n />\n </div>\n );\n\n return <NeetoHeader {...{ breadcrumbs, title }} size=\"large\" />;\n};\n\nexport default memo(Header);\n","import { useState } from \"react\";\n\nimport Container from \"neetomolecules/Container\";\nimport { Typography, Button } from \"neetoui\";\nimport { useTranslation, Trans } from \"react-i18next\";\n\nimport Header from \"./Header\";\nimport Pane from \"./Pane\";\n\nconst Page = ({\n breadcrumbs,\n helpDocUrl,\n entity,\n seoFormFields,\n apiEndpointUrl,\n helpPopoverDescription = \"\",\n additionalComponent = null,\n}) => {\n const { t } = useTranslation();\n\n const [isPaneOpen, setIsPaneOpen] = useState(false);\n\n const openPane = () => setIsPaneOpen(true);\n const closePane = () => setIsPaneOpen(false);\n\n return (\n <>\n <Container>\n <Header {...{ breadcrumbs, helpDocUrl, helpPopoverDescription }} />\n <div className=\"mt-10 flex w-full justify-center\">\n <div className=\"neeto-ui-border-gray-300 neeto-ui-rounded w-1/2 space-y-4 border p-6\">\n <Typography style=\"h2\">\n {t(\"neetoSeo.manageSeoSettings\")}\n </Typography>\n <Button\n label={t(\"neetoSeo.buttons.configure\")}\n onClick={openPane}\n />\n <div className=\"space-y-1\" />\n <Typography style=\"body2\">\n <Trans\n i18nKey=\"neetoSeo.readHelpArticle\"\n components={{\n Link: (\n <Button\n href={helpDocUrl}\n rel=\"noreferrer\"\n style=\"link\"\n target=\"_blank\"\n />\n ),\n }}\n />\n </Typography>\n </div>\n </div>\n </Container>\n <Pane\n {...{ additionalComponent, apiEndpointUrl, entity, seoFormFields }}\n defaultHelpDocUrl={helpDocUrl}\n isOpen={isPaneOpen}\n onClose={closePane}\n />\n </>\n );\n};\n\nexport default Page;\n"],"names":["Header","_ref","breadcrumbs","helpDocUrl","_ref$helpPopoverDescr","helpPopoverDescription","_useTranslation","useTranslation","t","title","_jsxs","className","children","_jsx","Typography","style","HelpPopover","description","helpLinkProps","href","popoverProps","position","NeetoHeader","size","memo","Page","entity","seoFormFields","apiEndpointUrl","_ref$additionalCompon","additionalComponent","_useState","useState","_useState2","_slicedToArray","isPaneOpen","setIsPaneOpen","openPane","closePane","_Fragment","Container","Button","label","onClick","Trans","i18nKey","components","Link","rel","target","Pane","defaultHelpDocUrl","isOpen","onClose"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAAC,IAAA,EAAiE;AAAA,EAAA,IAA3DC,WAAW,GAAAD,IAAA,CAAXC,WAAW;IAAEC,UAAU,GAAAF,IAAA,CAAVE,UAAU;IAAAC,qBAAA,GAAAH,IAAA,CAAEI,sBAAsB;AAAtBA,IAAAA,sBAAsB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,EAAE,GAAAA,qBAAA;AACpE,EAAA,IAAAE,eAAA,GAAcC,cAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC;EAET,IAAMC,KAAK,gBACTC,IAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,2BAA2B;IAAAC,QAAA,EAAA,cACxCC,GAAA,CAACC,UAAU,EAAA;AAACC,MAAAA,KAAK,EAAC,IAAI;MAAAH,QAAA,EAAEJ,CAAC,CAAC,gBAAgB;AAAC,KAAa,CAAC,eACzDK,GAAA,CAACG,WAAW,EAAA;AACVC,MAAAA,WAAW,EAAEZ,sBAAsB,IAAIG,CAAC,CAAC,2BAA2B,CAAE;AACtEU,MAAAA,aAAa,EAAE;AAAEC,QAAAA,IAAI,EAAEhB;OAAa;AACpCiB,MAAAA,YAAY,EAAE;AAAEC,QAAAA,Q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aACD;AAAC,WACQ,CAAC;SACV;AAAC,OACH,CAAC;AAAA,KACG,CAAC,eACZpC,GAAA,CAACqC,IAAI,EAAA;AACGpB,MAAAA,mBAAmB,EAAnBA,mBAAmB;AAAEF,MAAAA,cAAc,EAAdA,cAAc;AAAEF,MAAAA,MAAM,EAANA,MAAM;AAAEC,MAAAA,aAAa,EAAbA,aAAa;AAChEwB,MAAAA,iBAAiB,EAAEhD,UAAW;AAC9BiD,MAAAA,MAAM,EAAEjB,UAAW;AACnBkB,MAAAA,OAAO,EAAEf;AAAU,KACpB,CAAC;AAAA,GACF,CAAC;AAEP;;;;"}
1
+ {"version":3,"file":"SeoSettingsPage.js","sources":["../app/javascript/src/components/SeoSettings/Header.jsx","../app/javascript/src/components/SeoSettings/Page.jsx"],"sourcesContent":["import { memo } from \"react\";\n\nimport { withT } from \"neetocommons/react-utils\";\nimport NeetoHeader from \"neetomolecules/Header\";\n\nconst Header = withT(\n ({ t, breadcrumbs, helpDocUrl, helpPopoverDescription = \"\" }) => (\n <NeetoHeader\n {...{ breadcrumbs }}\n size=\"small\"\n title={t(\"neetoSeo.title\")}\n titleHelpPopoverProps={{\n title: t(\"neetoSeo.title\"),\n description: helpPopoverDescription || t(\"neetoSeo.helpPopovers.seo\"),\n helpLinkProps: { href: helpDocUrl },\n }}\n />\n )\n);\n\nexport default memo(Header);\n","import { useState } from \"react\";\n\nimport CardLayout from \"neetomolecules/CardLayout\";\nimport Container from \"neetomolecules/Container\";\nimport { Typography, Button } from \"neetoui\";\nimport { useTranslation, Trans } from \"react-i18next\";\n\nimport Header from \"./Header\";\nimport Pane from \"./Pane\";\n\nconst Page = ({\n breadcrumbs,\n helpDocUrl,\n entity,\n seoFormFields,\n apiEndpointUrl,\n helpPopoverDescription = \"\",\n additionalComponent = null,\n}) => {\n const { t } = useTranslation();\n\n const [isPaneOpen, setIsPaneOpen] = useState(false);\n\n const openPane = () => setIsPaneOpen(true);\n const closePane = () => setIsPaneOpen(false);\n\n return (\n <>\n <Container>\n <Header {...{ breadcrumbs, helpDocUrl, helpPopoverDescription }} />\n <CardLayout\n title={t(\"neetoSeo.manageSeoSettings\")}\n actionBlock={\n <Button\n label={t(\"neetoSeo.buttons.configure\")}\n onClick={openPane}\n />\n }\n >\n <Typography style=\"body1\">\n <Trans\n i18nKey=\"neetoSeo.readHelpArticle\"\n components={{\n Link: (\n <Button\n href={helpDocUrl}\n rel=\"noreferrer\"\n size=\"large\"\n style=\"link\"\n target=\"_blank\"\n />\n ),\n }}\n />\n </Typography>\n </CardLayout>\n </Container>\n <Pane\n {...{ additionalComponent, apiEndpointUrl, entity, seoFormFields }}\n defaultHelpDocUrl={helpDocUrl}\n isOpen={isPaneOpen}\n onClose={closePane}\n />\n </>\n );\n};\n\nexport default Page;\n"],"names":["Header","withT","_ref","t","breadcrumbs","helpDocUrl","_ref$helpPopoverDescr","helpPopoverDescription","_jsx","NeetoHeader","size","title","titleHelpPopoverProps","description","helpLinkProps","href","memo","Page","entity","seoFormFields","apiEndpointUrl","_ref$additionalCompon","additionalComponent","_useTranslation","useTranslation","_useState","useState","_useState2","_slicedToArray","isPaneOpen","setIsPaneOpen","openPane","closePane","_jsxs","_Fragment","children","Container","CardLayout","actionBlock","Button","label","onClick","Typography","style","Trans","i18nKey","components","Link","rel","target","Pane","defaultHelpDocUrl","isOpen","onClose"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAMA,MAAM,GAAGC,KAAK,CAClB,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAEC,WAAW,GAAAF,IAAA,CAAXE,WAAW;IAAEC,UAAU,GAAAH,IAAA,CAAVG,UAAU;IAAAC,qBAAA,GAAAJ,IAAA,CAAEK,sBAAsB;AAAtBA,IAAAA,sBAAsB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,EAAE,GAAAA,qBAAA;EAAA,oBACxDE,GAAA,CAACC,WAAW,EAAA;AACJL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AAmB;AAAEF,MAAAA,cAAc,EAAdA,cAAc;AAAEF,MAAAA,MAAM,EAANA,MAAM;AAAEC,MAAAA,aAAa,EAAbA,aAAa;AAChEgC,MAAAA,iBAAiB,EAAE9C,UAAW;AAC9B+C,MAAAA,MAAM,EAAEvB,UAAW;AACnBwB,MAAAA,OAAO,EAAErB;AAAU,KACpB,CAAC;AAAA,GACF,CAAC;AAEP;;;;"}
@@ -2,12 +2,13 @@
2
2
 
3
3
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
4
4
  var react = require('react');
5
+ var CardLayout = require('@bigbinary/neeto-molecules/CardLayout');
5
6
  var Container = require('@bigbinary/neeto-molecules/Container');
6
7
  var Typography = require('@bigbinary/neetoui/Typography');
7
8
  var Button = require('@bigbinary/neetoui/Button');
8
9
  var reactI18next = require('react-i18next');
10
+ var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
9
11
  var NeetoHeader = require('@bigbinary/neeto-molecules/Header');
10
- var HelpPopover = require('@bigbinary/neeto-molecules/HelpPopover');
11
12
  var jsxRuntime = require('react/jsx-runtime');
12
13
  var SeoSettingsPane = require('./SeoSettingsPane.js');
13
14
  require('@bigbinary/neeto-molecules/PageLoader');
@@ -25,41 +26,31 @@ require('@bigbinary/neeto-image-uploader-frontend/ImageUploader');
25
26
  require('classnames');
26
27
  require('formik');
27
28
  require('@bigbinary/neeto-cist');
29
+ require('@bigbinary/neeto-molecules/HelpPopover');
28
30
  require('@bigbinary/neetoui/Label');
29
31
  require('@bigbinary/neetoui/formik/Switch');
30
32
  require('@bigbinary/neetoui/formik/Input');
31
- require('@bigbinary/neeto-commons-frontend/react-utils');
32
33
  require('@bigbinary/neetoui/formik/Textarea');
33
34
 
34
- var Header = function Header(_ref) {
35
- var breadcrumbs = _ref.breadcrumbs,
35
+ var Header = reactUtils.withT(function (_ref) {
36
+ var t = _ref.t,
37
+ breadcrumbs = _ref.breadcrumbs,
36
38
  helpDocUrl = _ref.helpDocUrl,
37
39
  _ref$helpPopoverDescr = _ref.helpPopoverDescription,
38
40
  helpPopoverDescription = _ref$helpPopoverDescr === void 0 ? "" : _ref$helpPopoverDescr;
39
- var _useTranslation = reactI18next.useTranslation(),
40
- t = _useTranslation.t;
41
- var title = /*#__PURE__*/jsxRuntime.jsxs("div", {
42
- className: "flex items-center gap-x-2",
43
- children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
44
- style: "h2",
45
- children: t("neetoSeo.title")
46
- }), /*#__PURE__*/jsxRuntime.jsx(HelpPopover, {
41
+ return /*#__PURE__*/jsxRuntime.jsx(NeetoHeader, {
42
+ breadcrumbs: breadcrumbs,
43
+ size: "small",
44
+ title: t("neetoSeo.title"),
45
+ titleHelpPopoverProps: {
46
+ title: t("neetoSeo.title"),
47
47
  description: helpPopoverDescription || t("neetoSeo.helpPopovers.seo"),
48
48
  helpLinkProps: {
49
49
  href: helpDocUrl
50
- },
51
- popoverProps: {
52
- position: "top"
53
- },
54
- title: t("neetoSeo.title")
55
- })]
50
+ }
51
+ }
56
52
  });
57
- return /*#__PURE__*/jsxRuntime.jsx(NeetoHeader, {
58
- breadcrumbs: breadcrumbs,
59
- title: title,
60
- size: "large"
61
- });
62
- };
53
+ });
63
54
  var Header$1 = /*#__PURE__*/react.memo(Header);
64
55
 
65
56
  var Page = function Page(_ref) {
@@ -90,32 +81,26 @@ var Page = function Page(_ref) {
90
81
  breadcrumbs: breadcrumbs,
91
82
  helpDocUrl: helpDocUrl,
92
83
  helpPopoverDescription: helpPopoverDescription
93
- }), /*#__PURE__*/jsxRuntime.jsx("div", {
94
- className: "mt-10 flex w-full justify-center",
95
- children: /*#__PURE__*/jsxRuntime.jsxs("div", {
96
- className: "neeto-ui-border-gray-300 neeto-ui-rounded w-1/2 space-y-4 border p-6",
97
- children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
98
- style: "h2",
99
- children: t("neetoSeo.manageSeoSettings")
100
- }), /*#__PURE__*/jsxRuntime.jsx(Button, {
101
- label: t("neetoSeo.buttons.configure"),
102
- onClick: openPane
103
- }), /*#__PURE__*/jsxRuntime.jsx("div", {
104
- className: "space-y-1"
105
- }), /*#__PURE__*/jsxRuntime.jsx(Typography, {
106
- style: "body2",
107
- children: /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
108
- i18nKey: "neetoSeo.readHelpArticle",
109
- components: {
110
- Link: /*#__PURE__*/jsxRuntime.jsx(Button, {
111
- href: helpDocUrl,
112
- rel: "noreferrer",
113
- style: "link",
114
- target: "_blank"
115
- })
116
- }
117
- })
118
- })]
84
+ }), /*#__PURE__*/jsxRuntime.jsx(CardLayout, {
85
+ title: t("neetoSeo.manageSeoSettings"),
86
+ actionBlock: /*#__PURE__*/jsxRuntime.jsx(Button, {
87
+ label: t("neetoSeo.buttons.configure"),
88
+ onClick: openPane
89
+ }),
90
+ children: /*#__PURE__*/jsxRuntime.jsx(Typography, {
91
+ style: "body1",
92
+ children: /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
93
+ i18nKey: "neetoSeo.readHelpArticle",
94
+ components: {
95
+ Link: /*#__PURE__*/jsxRuntime.jsx(Button, {
96
+ href: helpDocUrl,
97
+ rel: "noreferrer",
98
+ size: "large",
99
+ style: "link",
100
+ target: "_blank"
101
+ })
102
+ }
103
+ })
119
104
  })
120
105
  })]
121
106
  }), /*#__PURE__*/jsxRuntime.jsx(SeoSettingsPane, {
@@ -1 +1 @@
1
- {"version":3,"file":"SeoSettingsPage.js","sources":["../../app/javascript/src/components/SeoSettings/Header.jsx","../../app/javascript/src/components/SeoSettings/Page.jsx"],"sourcesContent":["import { memo } from \"react\";\n\nimport NeetoHeader from \"neetomolecules/Header\";\nimport HelpPopover from \"neetomolecules/HelpPopover\";\nimport { Typography } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nconst Header = ({ breadcrumbs, helpDocUrl, helpPopoverDescription = \"\" }) => {\n const { t } = useTranslation();\n\n const title = (\n <div className=\"flex items-center gap-x-2\">\n <Typography style=\"h2\">{t(\"neetoSeo.title\")}</Typography>\n <HelpPopover\n description={helpPopoverDescription || t(\"neetoSeo.helpPopovers.seo\")}\n helpLinkProps={{ href: helpDocUrl }}\n popoverProps={{ position: \"top\" }}\n title={t(\"neetoSeo.title\")}\n />\n </div>\n );\n\n return <NeetoHeader {...{ breadcrumbs, title }} size=\"large\" />;\n};\n\nexport default memo(Header);\n","import { useState } from \"react\";\n\nimport Container from \"neetomolecules/Container\";\nimport { Typography, Button } from \"neetoui\";\nimport { useTranslation, Trans } from \"react-i18next\";\n\nimport Header from \"./Header\";\nimport Pane from \"./Pane\";\n\nconst Page = ({\n breadcrumbs,\n helpDocUrl,\n entity,\n seoFormFields,\n apiEndpointUrl,\n helpPopoverDescription = \"\",\n additionalComponent = null,\n}) => {\n const { t } = useTranslation();\n\n const [isPaneOpen, setIsPaneOpen] = useState(false);\n\n const openPane = () => setIsPaneOpen(true);\n const closePane = () => setIsPaneOpen(false);\n\n return (\n <>\n <Container>\n <Header {...{ breadcrumbs, helpDocUrl, helpPopoverDescription }} />\n <div className=\"mt-10 flex w-full justify-center\">\n <div className=\"neeto-ui-border-gray-300 neeto-ui-rounded w-1/2 space-y-4 border p-6\">\n <Typography style=\"h2\">\n {t(\"neetoSeo.manageSeoSettings\")}\n </Typography>\n <Button\n label={t(\"neetoSeo.buttons.configure\")}\n onClick={openPane}\n />\n <div className=\"space-y-1\" />\n <Typography style=\"body2\">\n <Trans\n i18nKey=\"neetoSeo.readHelpArticle\"\n components={{\n Link: (\n <Button\n href={helpDocUrl}\n rel=\"noreferrer\"\n style=\"link\"\n target=\"_blank\"\n />\n ),\n }}\n />\n </Typography>\n </div>\n </div>\n </Container>\n <Pane\n {...{ additionalComponent, apiEndpointUrl, entity, seoFormFields }}\n defaultHelpDocUrl={helpDocUrl}\n isOpen={isPaneOpen}\n onClose={closePane}\n />\n </>\n );\n};\n\nexport default Page;\n"],"names":["Header","_ref","breadcrumbs","helpDocUrl","_ref$helpPopoverDescr","helpPopoverDescription","_useTranslation","useTranslation","t","title","_jsxs","className","children","_jsx","Typography","style","HelpPopover","description","helpLinkProps","href","popoverProps","position","NeetoHeader","size","memo","Page","entity","seoFormFields","apiEndpointUrl","_ref$additionalCompon","additionalComponent","_useState","useState","_useState2","_slicedToArray","isPaneOpen","setIsPaneOpen","openPane","closePane","_Fragment","Container","Button","label","onClick","Trans","i18nKey","components","Link","rel","target","Pane","defaultHelpDocUrl","isOpen","onClose"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAAC,IAAA,EAAiE;AAAA,EAAA,IAA3DC,WAAW,GAAAD,IAAA,CAAXC,WAAW;IAAEC,UAAU,GAAAF,IAAA,CAAVE,UAAU;IAAAC,qBAAA,GAAAH,IAAA,CAAEI,sBAAsB;AAAtBA,IAAAA,sBAAsB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,EAAE,GAAAA,qBAAA;AACpE,EAAA,IAAAE,eAAA,GAAcC,2BAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC;EAET,IAAMC,KAAK,gBACTC,eAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,2BAA2B;IAAAC,QAAA,EAAA,cACxCC,cAAA,CAACC,UAAU,EAAA;AAACC,MAAAA,KAAK,EAAC,IAAI;MAAAH,QAAA,EAAEJ,CAAC,CAAC,gBAAgB;AAAC,KAAa,CAAC,eACzDK,cAAA,CAACG,WAAW,EAAA;AACVC,MAAAA,WAAW,EAAEZ,sBAAsB,IAAIG,CAAC,CAAC,2BAA2B,CAAE;AACtEU,MAAAA,aAAa,EAAE;AAAEC,QAAAA,IAAI,EAAEhB;OAAa;AACpCiB,MAAAA,YAAY,EAAE;AAAEC,QAAAA,QAAQ,EAAE;OAAQ;MAClCZ,KAAK,EAAED,CAAC,CAAC,gBAAgB;AAAE,KAC5B,CAAC;AAAA,GACC,CACN;EAED,oBAAOK,cAAA,CAAC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B,EAAnBA,mBAAmB;AAAEF,MAAAA,cAAc,EAAdA,cAAc;AAAEF,MAAAA,MAAM,EAANA,MAAM;AAAEC,MAAAA,aAAa,EAAbA,aAAa;AAChEwB,MAAAA,iBAAiB,EAAEhD,UAAW;AAC9BiD,MAAAA,MAAM,EAAEjB,UAAW;AACnBkB,MAAAA,OAAO,EAAEf;AAAU,KACpB,CAAC;AAAA,GACF,CAAC;AAEP;;;;"}
1
+ {"version":3,"file":"SeoSettingsPage.js","sources":["../../app/javascript/src/components/SeoSettings/Header.jsx","../../app/javascript/src/components/SeoSettings/Page.jsx"],"sourcesContent":["import { memo } from \"react\";\n\nimport { withT } from \"neetocommons/react-utils\";\nimport NeetoHeader from \"neetomolecules/Header\";\n\nconst Header = withT(\n ({ t, breadcrumbs, helpDocUrl, helpPopoverDescription = \"\" }) => (\n <NeetoHeader\n {...{ breadcrumbs }}\n size=\"small\"\n title={t(\"neetoSeo.title\")}\n titleHelpPopoverProps={{\n title: t(\"neetoSeo.title\"),\n description: helpPopoverDescription || t(\"neetoSeo.helpPopovers.seo\"),\n helpLinkProps: { href: helpDocUrl },\n }}\n />\n )\n);\n\nexport default memo(Header);\n","import { useState } from \"react\";\n\nimport CardLayout from \"neetomolecules/CardLayout\";\nimport Container from \"neetomolecules/Container\";\nimport { Typography, Button } from \"neetoui\";\nimport { useTranslation, Trans } from \"react-i18next\";\n\nimport Header from \"./Header\";\nimport Pane from \"./Pane\";\n\nconst Page = ({\n breadcrumbs,\n helpDocUrl,\n entity,\n seoFormFields,\n apiEndpointUrl,\n helpPopoverDescription = \"\",\n additionalComponent = null,\n}) => {\n const { t } = useTranslation();\n\n const [isPaneOpen, setIsPaneOpen] = useState(false);\n\n const openPane = () => setIsPaneOpen(true);\n const closePane = () => setIsPaneOpen(false);\n\n return (\n <>\n <Container>\n <Header {...{ breadcrumbs, helpDocUrl, helpPopoverDescription }} />\n <CardLayout\n title={t(\"neetoSeo.manageSeoSettings\")}\n actionBlock={\n <Button\n label={t(\"neetoSeo.buttons.configure\")}\n onClick={openPane}\n />\n }\n >\n <Typography style=\"body1\">\n <Trans\n i18nKey=\"neetoSeo.readHelpArticle\"\n components={{\n Link: (\n <Button\n href={helpDocUrl}\n rel=\"noreferrer\"\n size=\"large\"\n style=\"link\"\n target=\"_blank\"\n />\n ),\n }}\n />\n </Typography>\n </CardLayout>\n </Container>\n <Pane\n {...{ additionalComponent, apiEndpointUrl, entity, seoFormFields }}\n defaultHelpDocUrl={helpDocUrl}\n isOpen={isPaneOpen}\n onClose={closePane}\n />\n </>\n );\n};\n\nexport default Page;\n"],"names":["Header","withT","_ref","t","breadcrumbs","helpDocUrl","_ref$helpPopoverDescr","helpPopoverDescription","_jsx","NeetoHeader","size","title","titleHelpPopoverProps","description","helpLinkProps","href","memo","Page","entity","seoFormFields","apiEndpointUrl","_ref$additionalCompon","additionalComponent","_useTranslation","useTranslation","_useState","useState","_useState2","_slicedToArray","isPaneOpen","setIsPaneOpen","openPane","closePane","_jsxs","_Fragment","children","Container","CardLayout","actionBlock","Button","label","onClick","Typography","style","Trans","i18nKey","components","Link","rel","target","Pane","defaultHelpDocUrl","isOpen","onClose"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAMA,MAAM,GAAGC,gBAAK,CAClB,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAEC,WAAW,GAAAF,IAAA,CAAXE,WAAW;IAAEC,UAAU,GAAAH,IAAA,CAAVG,UAAU;IAAAC,qBAAA,GAAAJ,IAAA,CAAEK,sBAAsB;AAAtBA,IAAAA,sBAAsB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,EAAE,GAAAA,qBAAA;EAAA,oBACxDE,cAAA,CAACC,WAAW,EAAA;AACJL,IAAAA,WAAW,EAAXA,WAAW;AACjBM,IAAAA,IAAI,EAAC,OAAO;AACZC,IAAAA,KAAK,EAAER,CAAC,CAAC,gBAAgB,CA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;AAChEgC,MAAAA,iBAAiB,EAAE9C,UAAW;AAC9B+C,MAAAA,MAAM,EAAEvB,UAAW;AACnBwB,MAAAA,OAAO,EAAErB;AAAU,KACpB,CAAC;AAAA,GACF,CAAC;AAEP;;;;"}
package/dist/cjs/index.js CHANGED
@@ -4,12 +4,13 @@ var SeoSettingsPage = require('./SeoSettingsPage.js');
4
4
  var SeoSettingsPane = require('./SeoSettingsPane.js');
5
5
  require('@babel/runtime/helpers/slicedToArray');
6
6
  require('react');
7
+ require('@bigbinary/neeto-molecules/CardLayout');
7
8
  require('@bigbinary/neeto-molecules/Container');
8
9
  require('@bigbinary/neetoui/Typography');
9
10
  require('@bigbinary/neetoui/Button');
10
11
  require('react-i18next');
12
+ require('@bigbinary/neeto-commons-frontend/react-utils');
11
13
  require('@bigbinary/neeto-molecules/Header');
12
- require('@bigbinary/neeto-molecules/HelpPopover');
13
14
  require('react/jsx-runtime');
14
15
  require('@bigbinary/neeto-molecules/PageLoader');
15
16
  require('@bigbinary/neetoui/Pane');
@@ -26,10 +27,10 @@ require('@bigbinary/neeto-image-uploader-frontend/ImageUploader');
26
27
  require('classnames');
27
28
  require('formik');
28
29
  require('@bigbinary/neeto-cist');
30
+ require('@bigbinary/neeto-molecules/HelpPopover');
29
31
  require('@bigbinary/neetoui/Label');
30
32
  require('@bigbinary/neetoui/formik/Switch');
31
33
  require('@bigbinary/neetoui/formik/Input');
32
- require('@bigbinary/neeto-commons-frontend/react-utils');
33
34
  require('@bigbinary/neetoui/formik/Textarea');
34
35
 
35
36
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index.js CHANGED
@@ -2,12 +2,13 @@ export { default as SeoSettingsPage } from './SeoSettingsPage.js';
2
2
  export { default as SeoSettingsPane } from './SeoSettingsPane.js';
3
3
  import '@babel/runtime/helpers/slicedToArray';
4
4
  import 'react';
5
+ import '@bigbinary/neeto-molecules/CardLayout';
5
6
  import '@bigbinary/neeto-molecules/Container';
6
7
  import '@bigbinary/neetoui/Typography';
7
8
  import '@bigbinary/neetoui/Button';
8
9
  import 'react-i18next';
10
+ import '@bigbinary/neeto-commons-frontend/react-utils';
9
11
  import '@bigbinary/neeto-molecules/Header';
10
- import '@bigbinary/neeto-molecules/HelpPopover';
11
12
  import 'react/jsx-runtime';
12
13
  import '@bigbinary/neeto-molecules/PageLoader';
13
14
  import '@bigbinary/neetoui/Pane';
@@ -24,9 +25,9 @@ import '@bigbinary/neeto-image-uploader-frontend/ImageUploader';
24
25
  import 'classnames';
25
26
  import 'formik';
26
27
  import '@bigbinary/neeto-cist';
28
+ import '@bigbinary/neeto-molecules/HelpPopover';
27
29
  import '@bigbinary/neetoui/Label';
28
30
  import '@bigbinary/neetoui/formik/Switch';
29
31
  import '@bigbinary/neetoui/formik/Input';
30
- import '@bigbinary/neeto-commons-frontend/react-utils';
31
32
  import '@bigbinary/neetoui/formik/Textarea';
32
33
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-seo-frontend",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "A repo acts as the source of truth for the new nano's structure, configs, data etc.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/bigbinary/neeto-seo-nano",
@@ -61,13 +61,13 @@
61
61
  "@babel/preset-typescript": "7.26.0",
62
62
  "@babel/runtime": "7.26.0",
63
63
  "@bigbinary/babel-preset-neeto": "^1.0.3",
64
- "@bigbinary/eslint-plugin-neeto": "1.5.6",
65
- "@bigbinary/neeto-cist": "1.0.14",
66
- "@bigbinary/neeto-commons-frontend": "4.13.14",
67
- "@bigbinary/neeto-filters-frontend": "4.3.13",
68
- "@bigbinary/neeto-icons": "1.20.23",
69
- "@bigbinary/neeto-molecules": "3.15.2",
70
- "@bigbinary/neetoui": "8.2.52",
64
+ "@bigbinary/eslint-plugin-neeto": "1.5.7",
65
+ "@bigbinary/neeto-cist": "1.0.15",
66
+ "@bigbinary/neeto-commons-frontend": "4.13.23",
67
+ "@bigbinary/neeto-filters-frontend": "4.3.15",
68
+ "@bigbinary/neeto-icons": "1.20.26",
69
+ "@bigbinary/neeto-molecules": "3.15.38",
70
+ "@bigbinary/neetoui": "8.2.65",
71
71
  "@emotion/is-prop-valid": "1.2.0",
72
72
  "@faker-js/faker": "8.2.0",
73
73
  "@honeybadger-io/js": "6.10.1",
@@ -170,12 +170,12 @@
170
170
  },
171
171
  "peerDependencies": {
172
172
  "@babel/runtime": "7.26.0",
173
- "@bigbinary/neeto-cist": "1.0.14",
174
- "@bigbinary/neeto-commons-frontend": "4.13.14",
175
- "@bigbinary/neeto-filters-frontend": "4.3.13",
176
- "@bigbinary/neeto-icons": "1.20.23",
177
- "@bigbinary/neeto-molecules": "3.15.2",
178
- "@bigbinary/neetoui": "8.2.52",
173
+ "@bigbinary/neeto-cist": "1.0.15",
174
+ "@bigbinary/neeto-commons-frontend": "4.13.23",
175
+ "@bigbinary/neeto-filters-frontend": "4.3.15",
176
+ "@bigbinary/neeto-icons": "1.20.26",
177
+ "@bigbinary/neeto-molecules": "3.15.38",
178
+ "@bigbinary/neetoui": "8.2.65",
179
179
  "@honeybadger-io/js": "6.10.1",
180
180
  "@honeybadger-io/react": "6.1.25",
181
181
  "@tailwindcss/container-queries": "^0.1.1",
@@ -219,7 +219,7 @@
219
219
  "string-width": "4.1.0"
220
220
  },
221
221
  "engines": {
222
- "node": ">=18.12",
222
+ "node": ">=22.13",
223
223
  "npm": ">=9",
224
224
  "yarn": ">=1.22"
225
225
  },