pds-dev-kit-web-test 2.7.617 → 2.7.618
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.
|
@@ -52,7 +52,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
53
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
54
54
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
55
|
-
var
|
|
55
|
+
var publ_echo_1 = require("publ-echo");
|
|
56
56
|
var group_1 = require("publ-echo/dist/lib/GridLayoutEditor/group");
|
|
57
57
|
var renderHelpers_1 = require("publ-echo/dist/lib/GridLayoutEditor/utils/renderHelpers");
|
|
58
58
|
var react_1 = __importStar(require("react"));
|
|
@@ -71,7 +71,7 @@ var group_2 = require("../sections/CustomSection/newUtils/group");
|
|
|
71
71
|
var util_1 = require("../sections/CustomSection/util");
|
|
72
72
|
var parseSectionPadding_1 = __importDefault(require("../sections/CustomSection/util/layoutPropParsers/parseSectionPadding"));
|
|
73
73
|
var parseCompositionPlacement_1 = __importDefault(require("../sections/CustomSection/util/parseCompositionPlacement"));
|
|
74
|
-
var Responsive = (0,
|
|
74
|
+
var Responsive = (0, publ_echo_1.WidthProvider)(publ_echo_1.ResponsiveGridEditor);
|
|
75
75
|
var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas(props, ref) {
|
|
76
76
|
var _a, _b, _c, _d;
|
|
77
77
|
var _e = props.editorProps, device = _e.device, shortcutKeyMode = _e.shortcutKeyMode, placementRestriction = _e.placementRestriction, compositionActionHandler = _e.compositionActionHandler;
|
|
@@ -51,7 +51,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
51
51
|
};
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
53
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
54
|
-
var
|
|
54
|
+
var publ_echo_1 = require("publ-echo");
|
|
55
55
|
var group_1 = require("publ-echo/dist/lib/GridLayoutEditor/group");
|
|
56
56
|
var renderHelpers_1 = require("publ-echo/dist/lib/GridLayoutEditor/utils/renderHelpers");
|
|
57
57
|
var react_1 = __importStar(require("react"));
|
|
@@ -67,7 +67,7 @@ var clsx_1 = require("./newUtils/clsx");
|
|
|
67
67
|
var group_2 = require("./newUtils/group");
|
|
68
68
|
var util_1 = require("./util");
|
|
69
69
|
var parseSectionPadding_1 = __importDefault(require("./util/layoutPropParsers/parseSectionPadding"));
|
|
70
|
-
var Responsive = (0,
|
|
70
|
+
var Responsive = (0, publ_echo_1.WidthProvider)(publ_echo_1.ResponsiveGridEditor);
|
|
71
71
|
var GRID_CELL_MIN = 24;
|
|
72
72
|
var DESKTOP_GRID_COLS = 24;
|
|
73
73
|
var MOBILE_GRID_COLS = 8;
|
|
@@ -421,7 +421,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
421
421
|
var set = new Set(__spreadArray(__spreadArray([], prev, true), added, true));
|
|
422
422
|
return Array.from(set);
|
|
423
423
|
});
|
|
424
|
-
setSelectedBlockId(
|
|
424
|
+
setSelectedBlockId(null);
|
|
425
425
|
var newBulkBlockIds = Array.from(new Set(__spreadArray(__spreadArray([], bulkBlockIds, true), added, true)));
|
|
426
426
|
var newBulkCBIds = newBulkBlockIds
|
|
427
427
|
.map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
|
|
@@ -935,7 +935,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
935
935
|
.map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
|
|
936
936
|
.filter(function (each) { return each !== null; });
|
|
937
937
|
setBulkBlockIds(newBulkBlockIds_2);
|
|
938
|
-
setSelectedBlockId(
|
|
938
|
+
setSelectedBlockId('BULK');
|
|
939
939
|
var childrenCBIds_2 = [];
|
|
940
940
|
if (newBulkCBIds_2.length === 0) {
|
|
941
941
|
var oneCB = (0, group_1.findOneComponentBlock)(newblock, newBulkBlockIds_2[0]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pds-dev-kit-web-test",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.618",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,8 +24,7 @@
|
|
|
24
24
|
"i18next-intervalplural-postprocessor": "^3.0.0",
|
|
25
25
|
"lottie-react": "^2.3.1",
|
|
26
26
|
"nuka-carousel": "^4.8.4",
|
|
27
|
-
"publ-echo": "^0.0.
|
|
28
|
-
"publ-echo-test": "^0.0.403",
|
|
27
|
+
"publ-echo": "^0.0.134",
|
|
29
28
|
"react-hook-form": "^7.28.1",
|
|
30
29
|
"react-i18next": "^11.12.0",
|
|
31
30
|
"react-router-dom": "^5.2.0",
|