@bigbinary/neeto-themes-frontend 3.1.24 → 3.1.26
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/app/javascript/src/translations/ar.json +8 -1
- package/app/javascript/src/translations/bg.json +8 -1
- package/app/javascript/src/translations/ca.json +8 -1
- package/app/javascript/src/translations/cs.json +8 -1
- package/app/javascript/src/translations/da.json +8 -1
- package/app/javascript/src/translations/de.json +8 -1
- package/app/javascript/src/translations/en.json +3 -1
- package/app/javascript/src/translations/es-MX.json +8 -1
- package/app/javascript/src/translations/es.json +8 -1
- package/app/javascript/src/translations/et.json +8 -1
- package/app/javascript/src/translations/fi.json +8 -1
- package/app/javascript/src/translations/fil.json +8 -1
- package/app/javascript/src/translations/fr.json +8 -1
- package/app/javascript/src/translations/hi.json +8 -1
- package/app/javascript/src/translations/hr.json +8 -1
- package/app/javascript/src/translations/id.json +8 -1
- package/app/javascript/src/translations/it.json +8 -1
- package/app/javascript/src/translations/ja.json +8 -1
- package/app/javascript/src/translations/ko.json +8 -1
- package/app/javascript/src/translations/nl.json +8 -1
- package/app/javascript/src/translations/pl.json +8 -1
- package/app/javascript/src/translations/pt-BR.json +8 -1
- package/app/javascript/src/translations/pt.json +8 -1
- package/app/javascript/src/translations/ro.json +8 -1
- package/app/javascript/src/translations/ru.json +8 -1
- package/app/javascript/src/translations/sk.json +8 -1
- package/app/javascript/src/translations/sl.json +8 -1
- package/app/javascript/src/translations/sv.json +8 -1
- package/app/javascript/src/translations/th.json +8 -1
- package/app/javascript/src/translations/tr.json +8 -1
- package/app/javascript/src/translations/uk.json +8 -1
- package/app/javascript/src/translations/vi.json +8 -1
- package/app/javascript/src/translations/zh-CN.json +8 -1
- package/app/javascript/src/translations/zh-TW.json +8 -1
- package/dist/NeetoThemesBuilder.js +43 -10
- package/dist/NeetoThemesBuilder.js.map +1 -1
- package/dist/cjs/NeetoThemesBuilder.js +43 -10
- package/dist/cjs/NeetoThemesBuilder.js.map +1 -1
- package/dist/cjs/hooks.js +2 -2
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/utils.js +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{index-CFGmwZqT.js → index-BTTf3ejM.js} +2 -2
- package/dist/index-BTTf3ejM.js.map +1 -0
- package/dist/{index-Yv0AE3Ax.js → index-qMUciLPW.js} +2 -2
- package/dist/index-qMUciLPW.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/{useThemeUtils-BKRToQhH.js → useThemeUtils-B0Tbg01J.js} +2 -2
- package/dist/{useThemeUtils-BKRToQhH.js.map → useThemeUtils-B0Tbg01J.js.map} +1 -1
- package/dist/{useThemeUtils-CUKQqXSo.js → useThemeUtils-C9AHecqZ.js} +2 -2
- package/dist/{useThemeUtils-CUKQqXSo.js.map → useThemeUtils-C9AHecqZ.js.map} +1 -1
- package/dist/utils.js +1 -1
- package/package.json +14 -13
- package/dist/index-CFGmwZqT.js.map +0 -1
- package/dist/index-Yv0AE3Ax.js.map +0 -1
|
@@ -6,10 +6,10 @@ var neetoCist = require('@bigbinary/neeto-cist');
|
|
|
6
6
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
7
7
|
var Spinner = require('@bigbinary/neetoui/Spinner');
|
|
8
8
|
var reactI18next = require('react-i18next');
|
|
9
|
-
var utils = require('../index-
|
|
9
|
+
var utils = require('../index-qMUciLPW.js');
|
|
10
10
|
var reactQuery = require('@tanstack/react-query');
|
|
11
11
|
var axios = require('axios');
|
|
12
|
-
var useThemeUtils = require('../useThemeUtils-
|
|
12
|
+
var useThemeUtils = require('../useThemeUtils-C9AHecqZ.js');
|
|
13
13
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
14
14
|
var classnames = require('classnames');
|
|
15
15
|
var utils$1 = require('@bigbinary/neeto-commons-frontend/utils');
|
|
@@ -430,14 +430,46 @@ var LogoPosition = function LogoPosition() {
|
|
|
430
430
|
if (index === -1) return null;
|
|
431
431
|
return /*#__PURE__*/jsxRuntime.jsxs(Radio, {
|
|
432
432
|
stacked: true,
|
|
433
|
-
label: t("neetoThemes.build.leftSideBar.themes.logoPosition.title"),
|
|
434
433
|
name: "properties[".concat(index, "].value"),
|
|
434
|
+
label: /*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
435
|
+
className: "my-3",
|
|
436
|
+
component: "span",
|
|
437
|
+
style: "body2",
|
|
438
|
+
weight: "semibold",
|
|
439
|
+
children: t("neetoThemes.build.leftSideBar.themes.logoPosition.title")
|
|
440
|
+
}),
|
|
435
441
|
children: [/*#__PURE__*/jsxRuntime.jsx(Radio.Item, {
|
|
436
|
-
|
|
437
|
-
|
|
442
|
+
value: "over_left",
|
|
443
|
+
label: /*#__PURE__*/jsxRuntime.jsxs("span", {
|
|
444
|
+
className: "flex flex-col gap-1",
|
|
445
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
446
|
+
component: "span",
|
|
447
|
+
style: "body2",
|
|
448
|
+
weight: "semibold",
|
|
449
|
+
children: t("neetoThemes.build.leftSideBar.themes.logoPosition.overLeft")
|
|
450
|
+
}), /*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
451
|
+
component: "span",
|
|
452
|
+
style: "body3",
|
|
453
|
+
weight: "normal",
|
|
454
|
+
children: t("neetoThemes.build.leftSideBar.themes.logoPosition.overLeftDescription")
|
|
455
|
+
})]
|
|
456
|
+
})
|
|
438
457
|
}), /*#__PURE__*/jsxRuntime.jsx(Radio.Item, {
|
|
439
|
-
|
|
440
|
-
|
|
458
|
+
value: "below_left",
|
|
459
|
+
label: /*#__PURE__*/jsxRuntime.jsxs("span", {
|
|
460
|
+
className: "flex flex-col gap-1",
|
|
461
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
462
|
+
component: "span",
|
|
463
|
+
style: "body2",
|
|
464
|
+
weight: "semibold",
|
|
465
|
+
children: t("neetoThemes.build.leftSideBar.themes.logoPosition.belowLeft")
|
|
466
|
+
}), /*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
467
|
+
component: "span",
|
|
468
|
+
style: "body3",
|
|
469
|
+
weight: "normal",
|
|
470
|
+
children: t("neetoThemes.build.leftSideBar.themes.logoPosition.belowLeftDescription")
|
|
471
|
+
})]
|
|
472
|
+
})
|
|
441
473
|
})]
|
|
442
474
|
});
|
|
443
475
|
};
|
|
@@ -1123,6 +1155,7 @@ var ImageBlock = function ImageBlock(_ref) {
|
|
|
1123
1155
|
};
|
|
1124
1156
|
|
|
1125
1157
|
var Images = function Images(_ref) {
|
|
1158
|
+
var _values$coverImage;
|
|
1126
1159
|
var attribute = _ref.attribute,
|
|
1127
1160
|
className = _ref.className,
|
|
1128
1161
|
onPropertiesChange = _ref.onPropertiesChange,
|
|
@@ -1155,7 +1188,7 @@ var Images = function Images(_ref) {
|
|
|
1155
1188
|
}), /*#__PURE__*/jsxRuntime.jsx(Properties, {
|
|
1156
1189
|
onPropertiesChange: onPropertiesChange,
|
|
1157
1190
|
condition: attribute
|
|
1158
|
-
}), key === "logo" && /*#__PURE__*/jsxRuntime.jsx(LogoPosition, {})]
|
|
1191
|
+
}), key === "logo" && ((_values$coverImage = values.coverImage) === null || _values$coverImage === void 0 ? void 0 : _values$coverImage.url) && /*#__PURE__*/jsxRuntime.jsx(LogoPosition, {})]
|
|
1159
1192
|
});
|
|
1160
1193
|
};
|
|
1161
1194
|
|
|
@@ -2298,10 +2331,10 @@ var NeetoThemesBuilder = function NeetoThemesBuilder(_ref) {
|
|
|
2298
2331
|
window.addEventListener("orientationchange", setViewportHeight);
|
|
2299
2332
|
window.addEventListener("scroll", setViewportHeight);
|
|
2300
2333
|
return function () {
|
|
2301
|
-
window.
|
|
2334
|
+
window.removeEventListener("load", setViewportHeight);
|
|
2302
2335
|
window.removeEventListener("resize", setViewportHeight);
|
|
2303
2336
|
window.removeEventListener("orientationchange", setViewportHeight);
|
|
2304
|
-
window.
|
|
2337
|
+
window.removeEventListener("scroll", setViewportHeight);
|
|
2305
2338
|
};
|
|
2306
2339
|
}, []);
|
|
2307
2340
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|