pds-dev-kit-web-test 2.5.408 → 2.5.409

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.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { TypeOfCompositionAction } from '../compositionActionTypes';
3
3
  import type { CustomSectionShortcutKeysType, IComposition } from '../types';
4
- import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
4
+ import type { Layout } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
5
5
  export type LayoutsType = {
6
6
  sm: Layout;
7
7
  lg: Layout;
@@ -52,9 +52,9 @@ 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 publ_echo_1 = require("publ-echo");
56
- var group_1 = require("publ-echo/dist/lib/GridLayoutEditor/group");
57
- var renderHelpers_1 = require("publ-echo/dist/lib/GridLayoutEditor/utils/renderHelpers");
55
+ var publ_echo_test_1 = require("publ-echo-test");
56
+ var group_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/group");
57
+ var renderHelpers_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/utils/renderHelpers");
58
58
  var react_1 = __importStar(require("react"));
59
59
  var ErrorBoundary_1 = require("../../DynamicLayout/components/Section/ErrorBoundary");
60
60
  var gleStyles_1 = require("../../DynamicLayout/gleStyles");
@@ -69,7 +69,7 @@ var group_2 = require("../sections/CustomSection/newUtils/group");
69
69
  var util_1 = require("../sections/CustomSection/util");
70
70
  var parseSectionPadding_1 = __importDefault(require("../sections/CustomSection/util/layoutPropParsers/parseSectionPadding"));
71
71
  var parseCompositionPlacement_1 = __importDefault(require("../sections/CustomSection/util/parseCompositionPlacement"));
72
- var Responsive = (0, publ_echo_1.WidthProvider)(publ_echo_1.ResponsiveGridEditor);
72
+ var Responsive = (0, publ_echo_test_1.WidthProvider)(publ_echo_test_1.ResponsiveGridEditor);
73
73
  var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas(props, ref) {
74
74
  var _a, _b, _c, _d;
75
75
  var _e = props.editorProps, device = _e.device, shortcutKeyMode = _e.shortcutKeyMode, compositionActionHandler = _e.compositionActionHandler;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IComposition } from '../types';
3
- import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
3
+ import type { Layout } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
4
4
  export type LayoutsType = {
5
5
  sm: Layout;
6
6
  lg: Layout;
@@ -195,7 +195,7 @@ var Composition = (0, react_1.forwardRef)(function CustomSection(props, ref) {
195
195
  paddingLeft: padding.left,
196
196
  width: '100%',
197
197
  height: '100%'
198
- } }, { children: (0, jsx_runtime_1.jsx)(GridContainer, __assign({ "data-cols": cols, "data-rows": rows, "data-row-height": rowHeight, "data-col-width": "10px", ref: containerRef, cols: cols, rowHeight: rowHeight, sectionRow: rows, style: {
198
+ } }, { children: (0, jsx_runtime_1.jsx)(GridContainer, __assign({ className: "composition-container", "data-cols": cols, "data-rows": rows, "data-row-height": rowHeight, "data-col-width": "10px", ref: containerRef, cols: cols, rowHeight: rowHeight, sectionRow: rows, style: {
199
199
  width: customSectionStyles.width,
200
200
  maxWidth: customSectionStyles.maxWidth,
201
201
  // minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import type { Layout } from 'publ-echo/dist/lib';
3
- import type { ResizeEventType } from 'publ-echo/dist/lib/GridItem/types';
4
- import type { ComponentBlock, GroupBlock } from 'publ-echo/dist/lib/GridLayoutEditor/group';
5
- import type { LayoutItem, Layouts } from 'publ-echo/dist/lib/GridLayoutEditor/types';
2
+ import type { Layout } from 'publ-echo-test/dist/lib';
3
+ import type { ResizeEventType } from 'publ-echo-test/dist/lib/GridItem/types';
4
+ import type { ComponentBlock, GroupBlock } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
5
+ import type { LayoutItem, Layouts } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
6
6
  export type TypeOfCompositionAction = ActionMap<ActionHandlerPayload>[keyof ActionMap<ActionHandlerPayload>];
7
7
  export type PayloadCBType = {
8
8
  type: ComponentBlock['type'];
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import type { Layout } from 'publ-echo/dist/lib';
3
- import type { ResizeEventType } from 'publ-echo/dist/lib/GridItem/types';
4
- import type { ComponentBlock, GroupBlock } from 'publ-echo/dist/lib/GridLayoutEditor/group';
5
- import type { LayoutItem, Layouts } from 'publ-echo/dist/lib/GridLayoutEditor/types';
2
+ import type { Layout } from 'publ-echo-test/dist/lib';
3
+ import type { ResizeEventType } from 'publ-echo-test/dist/lib/GridItem/types';
4
+ import type { ComponentBlock, GroupBlock } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
5
+ import type { LayoutItem, Layouts } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
6
6
  export type TypeOfSectionAction = ActionMap<ActionHandlerPayload>[keyof ActionMap<ActionHandlerPayload>];
7
7
  export type PayloadCBType = {
8
8
  type: ComponentBlock['type'];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ISection } from '../../types';
3
- import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
3
+ import type { Layout } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
4
4
  export type LayoutsType = {
5
5
  sm: Layout;
6
6
  lg: Layout;
@@ -51,9 +51,9 @@ 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 publ_echo_1 = require("publ-echo");
55
- var group_1 = require("publ-echo/dist/lib/GridLayoutEditor/group");
56
- var renderHelpers_1 = require("publ-echo/dist/lib/GridLayoutEditor/utils/renderHelpers");
54
+ var publ_echo_test_1 = require("publ-echo-test");
55
+ var group_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/group");
56
+ var renderHelpers_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/utils/renderHelpers");
57
57
  var react_1 = __importStar(require("react"));
58
58
  var ErrorBoundary_1 = require("../../../DynamicLayout/components/Section/ErrorBoundary");
59
59
  var dynamicLayoutContext_1 = require("../../../DynamicLayout/dynamicLayoutContext");
@@ -66,7 +66,7 @@ var clsx_1 = require("./newUtils/clsx");
66
66
  var group_2 = require("./newUtils/group");
67
67
  var util_1 = require("./util");
68
68
  var parseSectionPadding_1 = __importDefault(require("./util/layoutPropParsers/parseSectionPadding"));
69
- var Responsive = (0, publ_echo_1.WidthProvider)(publ_echo_1.ResponsiveGridEditor);
69
+ var Responsive = (0, publ_echo_test_1.WidthProvider)(publ_echo_test_1.ResponsiveGridEditor);
70
70
  var GRID_CELL_MIN = 24;
71
71
  var DESKTOP_GRID_COLS = 24;
72
72
  var MOBILE_GRID_COLS = 8;
@@ -1,5 +1,5 @@
1
1
  import type { ComponentBlock } from '../types';
2
- import type { Layout, LayoutItem } from 'publ-echo/dist/lib';
2
+ import type { Layout, LayoutItem } from 'publ-echo-test/dist/lib';
3
3
  export interface LayoutItemWithGroupType extends LayoutItem {
4
4
  childrenIds: string[];
5
5
  keepInLastIndex?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { ComponentBlock } from '../types';
2
- import type { ZOrder } from 'publ-echo/dist/lib/GridLayoutEditor/group';
2
+ import type { ZOrder } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
3
3
  export declare function parsePlacement(components: ComponentBlock[], zOrders: ZOrder): {
4
4
  sm: {
5
5
  i: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ISection } from '../types';
3
- import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
3
+ import type { Layout } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
4
4
  export type LayoutsType = {
5
5
  sm: Layout;
6
6
  lg: Layout;
@@ -5,7 +5,7 @@ import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './sections/CustomSection/util
5
5
  import type { CB_LAYOUT_PROP_PADDING_SPECS } from './sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding';
6
6
  import type { CB_STYLE_PROP_BGCOLOR_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgColor';
7
7
  import type { CB_STYLE_PROP_BGOVERLAY_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay';
8
- import type { Block, ZOrder } from 'publ-echo/dist/lib/GridLayoutEditor/group';
8
+ import type { Block, ZOrder } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
9
9
  import type { Ref } from 'react';
10
10
  export { TypeOfSectionAction };
11
11
  export type TypeOfSectionManifestSchema = 'BASE_INTRO' | 'BASE_CONTENTS' | 'BASE_CONTENTS_CAROUSEL' | 'BASE_FOOTER' | 'BASE_INFO_BOX' | 'EXP_IFRAME' | 'PRG_MEMBERSHIP_DISPLAY' | 'CUSTOM';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.408",
3
+ "version": "2.5.409",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -23,6 +23,7 @@
23
23
  "lottie-react": "^2.3.1",
24
24
  "nuka-carousel": "^4.8.4",
25
25
  "publ-echo": "^0.0.118",
26
+ "publ-echo-test": "^0.0.211",
26
27
  "react-hook-form": "^7.28.1",
27
28
  "react-i18next": "^11.12.0",
28
29
  "react-router-dom": "^5.2.0",