infinity-forge 0.66.7 → 0.66.9

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.
@@ -34,7 +34,7 @@ function Content(_a) {
34
34
  var values = (0, formik_1.useFormikContext)().values;
35
35
  var valuesPreview = group ? (0, formik_1.getIn)(values, group) : values;
36
36
  var groupName = group ? group + '.' : '';
37
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Content', children: (0, jsx_runtime_1.jsxs)(S.Content, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'preview', children: [(0, jsx_runtime_1.jsx)(custom_input_file_1.CustomInputFile, { name: "".concat(groupName, "metaimage"), isLocalFile: true }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("h3", { className: 'font-18-bold', children: valuesPreview === null || valuesPreview === void 0 ? void 0 : valuesPreview.metatitle }), (0, jsx_runtime_1.jsx)("p", { className: 'font-14-bold', children: valuesPreview === null || valuesPreview === void 0 ? void 0 : valuesPreview.metadescription })] })] }), (0, jsx_runtime_1.jsx)(ui_1.Input, { name: "".concat(groupName, "metatitle"), label: 'SEO Title', className: 'font-16', maxLength: 60 }), (0, jsx_runtime_1.jsx)(ui_1.Textarea, { name: "".concat(groupName, "metadescription"), label: 'Meta Description', maxLength: 160 })] }) }));
37
+ return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Content', children: (0, jsx_runtime_1.jsxs)(S.Content, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'preview', children: [(0, jsx_runtime_1.jsx)(custom_input_file_1.CustomInputFile, { name: "".concat(groupName, "metaImage"), isLocalFile: true }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("h3", { className: 'font-18-bold', children: valuesPreview === null || valuesPreview === void 0 ? void 0 : valuesPreview.metatitle }), (0, jsx_runtime_1.jsx)("p", { className: 'font-14-bold', children: valuesPreview === null || valuesPreview === void 0 ? void 0 : valuesPreview.metadescription })] })] }), (0, jsx_runtime_1.jsx)(ui_1.Input, { name: "".concat(groupName, "metaTitle"), label: 'SEO Title', className: 'font-16', maxLength: 60 }), (0, jsx_runtime_1.jsx)(ui_1.Textarea, { name: "".concat(groupName, "metaDescription"), label: 'Meta Description', maxLength: 160 })] }) }));
38
38
  }
39
39
  exports.Content = Content;
40
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/input-seo/content/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAAgD;AAEhD,2BAA4D;AAE5D,yDAAqD;AAErD,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAAuB;QAArB,KAAK,WAAA;IACrB,IAAA,MAAM,GAAK,IAAA,yBAAgB,GAAE,OAAvB,CAAuB;IACrC,IAAM,aAAa,GAAG,KAAK,CAAC,CAAC,CAAC,IAAA,cAAK,EAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAA;IAC3D,IAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,CAAA;IAE1C,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,eACR,iCAAK,SAAS,EAAC,SAAS,aACtB,uBAAC,mCAAe,IAAC,IAAI,EAAE,UAAG,SAAS,cAAW,EAAE,WAAW,SAAG,EAE9D,4CACE,+BAAI,SAAS,EAAC,cAAc,YAAE,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,SAAS,GAAM,EAC5D,8BAAG,SAAS,EAAC,cAAc,YAAE,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,eAAe,GAAK,IAC5D,IACF,EAEN,uBAAC,UAAK,IAAC,IAAI,EAAE,UAAG,SAAS,cAAW,EAAE,KAAK,EAAC,WAAW,EAAC,SA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GAAI,EAE7F,uBAAC,aAAQ,IAAC,IAAI,EAAE,UAAG,SAAS,oBAAiB,EAAE,KAAK,EAAC,kBAAkB,EAAC,SAAS,EAAE,GAAG,GAAI,IAChF,GACN,CACT,CAAA;AACH,CAAC;AAvBD,0BAuBC"}
@@ -43,7 +43,7 @@ var S = __importStar(require("./styles.js"));
43
43
  function InputSeo(props) {
44
44
  var errors = (0, formik_1.useFormikContext)().errors;
45
45
  var groupName = props.group ? props.group + '.' : '';
46
- var isSeoError = (0, formik_1.getIn)(errors, groupName + "metatitle") || (0, formik_1.getIn)(errors, groupName + "metadescription") || (0, formik_1.getIn)(errors, groupName + "metaimage");
46
+ var isSeoError = (0, formik_1.getIn)(errors, groupName + "metaTitle") || (0, formik_1.getIn)(errors, groupName + "metaDescription") || (0, formik_1.getIn)(errors, groupName + "metaImage");
47
47
  return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'InputSeo', children: (0, jsx_runtime_1.jsx)(S.InputSeo, { className: 'input_seo', children: (0, jsx_runtime_1.jsx)(ui_1.Accordion, { title: '', forceOpen: !!(isSeoError), openIcon: 'IconArrowBottom', closeIcon: 'IconArrowTop', actions: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(ui_1.Icon, { name: props.icon || 'SeoIcon' }), (0, jsx_runtime_1.jsx)("h2", { children: "SEO" })] }), children: (0, jsx_runtime_1.jsx)(content_1.Content, __assign({}, props)) }) }) }));
48
48
  }
49
49
  exports.InputSeo = InputSeo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "0.66.7",
3
+ "version": "0.66.9",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index",
6
6
  "module": "./dist/index",