pds-dev-kit-web-test 2.5.43 → 2.5.44
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.
@@ -21,15 +21,18 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
21
21
|
}
|
22
22
|
return t;
|
23
23
|
};
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
26
|
+
};
|
24
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
25
28
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
26
29
|
// import FlexGridCustomSection from '../../../DynamicLayout/sections/CustomSection/FlexGridCustomSection';
|
30
|
+
var FlexGridCustomSection_1 = __importDefault(require("../../../DynamicLayout/sections/CustomSection/FlexGridCustomSection"));
|
27
31
|
var sections_1 = require("../../sections");
|
28
32
|
function SectionMatcher(_a) {
|
29
33
|
var props = __rest(_a, []);
|
30
34
|
if (props.type === 'CUSTOM') {
|
31
|
-
|
32
|
-
return (0, jsx_runtime_1.jsx)(sections_1.CustomSection, __assign({}, props));
|
35
|
+
return (0, jsx_runtime_1.jsx)(FlexGridCustomSection_1.default, __assign({}, props));
|
33
36
|
}
|
34
37
|
var schema = props.manifest.schema;
|
35
38
|
switch (schema) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { ISection } from '../../types';
|
3
|
-
import type { Layout } from 'publ-echo
|
3
|
+
import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
|
4
4
|
export type LayoutsType = {
|
5
5
|
sm: Layout;
|
6
6
|
lg: Layout;
|
@@ -52,7 +52,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
53
53
|
exports.S_gleStyles = void 0;
|
54
54
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
55
|
-
var
|
55
|
+
var publ_echo_1 = require("publ-echo");
|
56
56
|
var ReactGridLayout_1 = __importDefault(require("publ-echo/dist/lib/GridLayoutEditor/ReactGridLayout"));
|
57
57
|
var react_1 = __importStar(require("react"));
|
58
58
|
var ErrorBoundary_1 = require("../../../DynamicLayout/components/Section/ErrorBoundary");
|
@@ -67,8 +67,8 @@ var useGroupDrag_2 = require("./hooks/useGroupDrag/useGroupDrag");
|
|
67
67
|
var utils_1 = require("./hooks/useGroupDrag/utils");
|
68
68
|
var util_1 = require("./util");
|
69
69
|
var parseSectionPadding_1 = __importDefault(require("./util/layoutPropParsers/parseSectionPadding"));
|
70
|
-
var WidthProvidedRGL = (0,
|
71
|
-
var Responsive = (0,
|
70
|
+
var WidthProvidedRGL = (0, publ_echo_1.WidthProvider)(ReactGridLayout_1.default);
|
71
|
+
var Responsive = (0, publ_echo_1.WidthProvider)(publ_echo_1.ResponsiveGridEditor);
|
72
72
|
var GRID_CELL_MIN = 24;
|
73
73
|
var DESKTOP_GRID_COLS = 24;
|
74
74
|
var MOBILE_GRID_COLS = 8;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "pds-dev-kit-web-test",
|
3
|
-
"version": "2.5.
|
3
|
+
"version": "2.5.44",
|
4
4
|
"license": "MIT",
|
5
5
|
"private": false,
|
6
6
|
"main": "dist/index.js",
|
@@ -22,8 +22,7 @@
|
|
22
22
|
"i18next-intervalplural-postprocessor": "^3.0.0",
|
23
23
|
"lottie-react": "^2.3.1",
|
24
24
|
"nuka-carousel": "^4.8.4",
|
25
|
-
"publ-echo": "^0.0.
|
26
|
-
"publ-echo-test": "^0.0.58",
|
25
|
+
"publ-echo": "^0.0.99",
|
27
26
|
"react-hook-form": "^7.28.1",
|
28
27
|
"react-i18next": "^11.12.0",
|
29
28
|
"react-router-dom": "^5.2.0",
|