pds-dev-kit-web-test 2.7.630 → 2.7.632
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/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -2
- package/dist/src/sub/DynamicLayout/mock_section.json +2202 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcherWithCCB.js +4 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +2 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Shape/Shape.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Shape/Shape.js +228 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Shape/ShapeCore.d.ts +17 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Shape/ShapeCore.js +160 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Shape/ShapePahts.d.ts +49 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Shape/ShapePahts.js +60 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +13 -1
- package/package.json +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Shape.d.ts +0 -53
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Shape.js +0 -141
|
@@ -18,8 +18,9 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
18
18
|
var Button_1 = __importDefault(require("../sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button"));
|
|
19
19
|
var Divider_1 = __importDefault(require("../sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider"));
|
|
20
20
|
var Embed_1 = __importDefault(require("../sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed"));
|
|
21
|
-
|
|
21
|
+
require("../sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image");
|
|
22
22
|
var RichText_1 = require("../sections/CustomSection/components/ComponentBlock/componentBlocks/RichText");
|
|
23
|
+
var Shape_1 = __importDefault(require("../sections/CustomSection/components/ComponentBlock/componentBlocks/Shape/Shape"));
|
|
23
24
|
var Text_1 = __importDefault(require("../sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text"));
|
|
24
25
|
var Twitter_1 = __importDefault(require("../sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter"));
|
|
25
26
|
var VideoPlayer_1 = require("../sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer");
|
|
@@ -40,7 +41,8 @@ function ComponentBlockMatcher(_a) {
|
|
|
40
41
|
case types_1.CB_ALL_CODES.CB_DIVIDER:
|
|
41
42
|
return (0, jsx_runtime_1.jsx)(Divider_1.default, __assign({}, propsWithValue, { index: index }));
|
|
42
43
|
case types_1.CB_ALL_CODES.CB_IMG:
|
|
43
|
-
return (
|
|
44
|
+
// return <Image {...(propsWithValue as CB_IMG_PROPERTIES_TYPE)} index={index} />;
|
|
45
|
+
return (0, jsx_runtime_1.jsx)(Shape_1.default, __assign({}, propsWithValue, { index: index }));
|
|
44
46
|
case types_1.CB_ALL_CODES.CB_TWITTER:
|
|
45
47
|
return (0, jsx_runtime_1.jsx)(Twitter_1.default, __assign({}, propsWithValue, { index: index }));
|
|
46
48
|
case types_1.CB_ALL_CODES.CB_YOUTUBE:
|