@trafilea/afrodita-components 5.0.0-beta.109 → 5.0.0-beta.111
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/build/index.esm.js +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -17711,7 +17711,7 @@ var TextWithImage = function (_a) {
|
|
|
17711
17711
|
} }, { children: title }), void 0)) }, void 0)); };
|
|
17712
17712
|
var buttonAction = function () {
|
|
17713
17713
|
// @ts-ignore
|
|
17714
|
-
props.isRedirectionURL ? (window.location.href = props.URLLink) : props.onButtonClick;
|
|
17714
|
+
props.isRedirectionURL ? (window.location.href = props.URLLink) : props.onButtonClick();
|
|
17715
17715
|
};
|
|
17716
17716
|
return (jsxs(Container$5, __assign$1({ style: { backgroundColor: backgroundColor } }, { children: [isMobile && jsx(ImageTitle, {}, void 0), (imageLeftSide || isMobile) && (jsx(ImageVideo, { imageLink: (_b = props.imgVideo) === null || _b === void 0 ? void 0 : _b.imageLink, isMobile: isMobile, isVideo: (_c = props.imgVideo) === null || _c === void 0 ? void 0 : _c.isVideo }, void 0)), jsxs(TextContainer, { children: [!isMobile && jsx(ImageTitle, {}, void 0), jsx(Text$6, __assign$1({ variant: "body", weight: "regular", style: textStyle ? textStyle : { maxWidth: '450px' } }, { children: text }), void 0), jsx(BaseCTA, { text: buttomText, size: ComponentSize.Medium, wide: isMobile && buttonWideOnMobile ? true : false, onClick: buttonAction, testId: buttomText, css: {
|
|
17717
17717
|
backgroundColor: props.btnBGColor,
|
package/build/index.js
CHANGED
|
@@ -17737,7 +17737,7 @@ var TextWithImage = function (_a) {
|
|
|
17737
17737
|
} }, { children: title }), void 0)) }, void 0)); };
|
|
17738
17738
|
var buttonAction = function () {
|
|
17739
17739
|
// @ts-ignore
|
|
17740
|
-
props.isRedirectionURL ? (window.location.href = props.URLLink) : props.onButtonClick;
|
|
17740
|
+
props.isRedirectionURL ? (window.location.href = props.URLLink) : props.onButtonClick();
|
|
17741
17741
|
};
|
|
17742
17742
|
return (jsxs(Container$5, __assign$1({ style: { backgroundColor: backgroundColor } }, { children: [isMobile && jsx(ImageTitle, {}, void 0), (imageLeftSide || isMobile) && (jsx(ImageVideo, { imageLink: (_b = props.imgVideo) === null || _b === void 0 ? void 0 : _b.imageLink, isMobile: isMobile, isVideo: (_c = props.imgVideo) === null || _c === void 0 ? void 0 : _c.isVideo }, void 0)), jsxs(TextContainer, { children: [!isMobile && jsx(ImageTitle, {}, void 0), jsx(Text$6, __assign$1({ variant: "body", weight: "regular", style: textStyle ? textStyle : { maxWidth: '450px' } }, { children: text }), void 0), jsx(BaseCTA, { text: buttomText, size: exports.ComponentSize.Medium, wide: isMobile && buttonWideOnMobile ? true : false, onClick: buttonAction, testId: buttomText, css: {
|
|
17743
17743
|
backgroundColor: props.btnBGColor,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Trafilea's Design System",
|
|
4
4
|
"author": "Trafilea",
|
|
5
5
|
"repository": "https://github.com/trafilea/afrodita-components",
|
|
6
|
-
"version": "5.0.0-beta.
|
|
6
|
+
"version": "5.0.0-beta.111",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|