@bigbinary/neeto-site-blocks 1.1.1 → 1.1.2
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/index.cjs.js +46 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +46 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -15582,6 +15582,51 @@ var Typography = function Typography(_ref) {
|
|
|
15582
15582
|
Typography.displayName = "Typography";
|
|
15583
15583
|
var Typography$1 = withConditionalRender(Typography, prop("children"));
|
|
15584
15584
|
|
|
15585
|
+
var BlogContent = function BlogContent(_ref) {
|
|
15586
|
+
var configurations = _ref.configurations,
|
|
15587
|
+
_ref$className = _ref.className,
|
|
15588
|
+
className = _ref$className === void 0 ? "" : _ref$className,
|
|
15589
|
+
id = _ref.id;
|
|
15590
|
+
var properties = configurations.properties,
|
|
15591
|
+
design = configurations.design;
|
|
15592
|
+
var _properties$content = properties.content,
|
|
15593
|
+
title = _properties$content.title,
|
|
15594
|
+
description = _properties$content.description,
|
|
15595
|
+
content = _properties$content.content,
|
|
15596
|
+
enableAnimation = properties.enableAnimation,
|
|
15597
|
+
imageSrc = properties.image.src,
|
|
15598
|
+
src = properties.backgroundImage.src;
|
|
15599
|
+
var baseClasses = "grid grid-cols-12 items-center";
|
|
15600
|
+
var textClasses = "col-span-12 sm:col-span-8 sm:col-start-3 lg:col-span-6 lg:col-start-4";
|
|
15601
|
+
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
15602
|
+
className: className,
|
|
15603
|
+
enableAnimation: enableAnimation,
|
|
15604
|
+
id: id,
|
|
15605
|
+
backgroundImage: mergeLeft({
|
|
15606
|
+
src: src
|
|
15607
|
+
}, design.backgroundImage),
|
|
15608
|
+
design: design.body,
|
|
15609
|
+
nestedClassName: baseClasses
|
|
15610
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
15611
|
+
isTitle: true,
|
|
15612
|
+
className: textClasses,
|
|
15613
|
+
component: "h1",
|
|
15614
|
+
style: design.title
|
|
15615
|
+
}, title), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
15616
|
+
isTitle: true,
|
|
15617
|
+
className: textClasses,
|
|
15618
|
+
style: design.description
|
|
15619
|
+
}, description), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15620
|
+
className: "col-span-12 flex justify-center sm:col-span-8 sm:col-start-3"
|
|
15621
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
15622
|
+
design: design.image,
|
|
15623
|
+
src: imageSrc
|
|
15624
|
+
})), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
15625
|
+
className: textClasses,
|
|
15626
|
+
style: design.content
|
|
15627
|
+
}, content));
|
|
15628
|
+
};
|
|
15629
|
+
|
|
15585
15630
|
var CardsClassic = function CardsClassic(_ref) {
|
|
15586
15631
|
var configurations = _ref.configurations,
|
|
15587
15632
|
_ref$className = _ref.className,
|
|
@@ -41319,6 +41364,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
41319
41364
|
Outlined: OutlineIcons
|
|
41320
41365
|
});
|
|
41321
41366
|
|
|
41367
|
+
exports.BlogContent = BlogContent;
|
|
41322
41368
|
exports.CardsClassic = CardsClassic;
|
|
41323
41369
|
exports.CardsInGridView = CardsInGridView;
|
|
41324
41370
|
exports.CardsWithCustomizableGrid = CardsWithCustomizableGrid;
|