@trafilea/afrodita-components 6.17.1 → 6.17.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/build/index.d.ts +37 -0
- package/build/index.esm.js +0 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +0 -2
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +37 -0
- package/build/theme/shapermint.theme.d.ts +37 -0
- package/build/theme/thebodcon.theme.d.ts +37 -0
- package/build/theme/thebodcon.theme.js +44 -7
- package/build/theme/thespadr.theme.d.ts +37 -0
- package/build/theme/truekind.theme.d.ts +37 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1910,6 +1910,8 @@ declare type ThemeComponent = {
|
|
|
1910
1910
|
button: {
|
|
1911
1911
|
borderRadius: string;
|
|
1912
1912
|
};
|
|
1913
|
+
width?: string;
|
|
1914
|
+
height?: string;
|
|
1913
1915
|
};
|
|
1914
1916
|
copyrightText: {
|
|
1915
1917
|
fontSize: string;
|
|
@@ -2111,6 +2113,41 @@ declare type ThemeAssets = {
|
|
|
2111
2113
|
width: string;
|
|
2112
2114
|
height: string;
|
|
2113
2115
|
};
|
|
2116
|
+
tyImage?: {
|
|
2117
|
+
url: string;
|
|
2118
|
+
width: string;
|
|
2119
|
+
height: string;
|
|
2120
|
+
};
|
|
2121
|
+
appleImage?: {
|
|
2122
|
+
url: string;
|
|
2123
|
+
width: string;
|
|
2124
|
+
height: string;
|
|
2125
|
+
};
|
|
2126
|
+
spotifyImage?: {
|
|
2127
|
+
url: string;
|
|
2128
|
+
width: string;
|
|
2129
|
+
height: string;
|
|
2130
|
+
};
|
|
2131
|
+
instagramImage?: {
|
|
2132
|
+
url: string;
|
|
2133
|
+
width: string;
|
|
2134
|
+
height: string;
|
|
2135
|
+
};
|
|
2136
|
+
facebookImage?: {
|
|
2137
|
+
url: string;
|
|
2138
|
+
width: string;
|
|
2139
|
+
height: string;
|
|
2140
|
+
};
|
|
2141
|
+
pinterestImage?: {
|
|
2142
|
+
url: string;
|
|
2143
|
+
width: string;
|
|
2144
|
+
height: string;
|
|
2145
|
+
};
|
|
2146
|
+
youtubeImage?: {
|
|
2147
|
+
url: string;
|
|
2148
|
+
width: string;
|
|
2149
|
+
height: string;
|
|
2150
|
+
};
|
|
2114
2151
|
};
|
|
2115
2152
|
[key: string]: any;
|
|
2116
2153
|
};
|
package/build/index.esm.js
CHANGED
|
@@ -13545,8 +13545,6 @@ var ImageProductSlide$1 = function (_a) {
|
|
|
13545
13545
|
var content = _a.content, topTag = _a.topTag, topRightTag = _a.topRightTag, bottomTag = _a.bottomTag, testId = _a.testId, _c = _a.position, position = _c === void 0 ? 'vertical' : _c, borderRadiusVariant = _a.borderRadiusVariant, ctaText = _a.ctaText, ctaAction = _a.ctaAction, hideCTA = _a.hideCTA, withZoom = _a.withZoom;
|
|
13546
13546
|
var source = content === null || content === void 0 ? void 0 : content.url;
|
|
13547
13547
|
var isVideo = (_b = content === null || content === void 0 ? void 0 : content.isVideo) !== null && _b !== void 0 ? _b : false;
|
|
13548
|
-
console.log(ctaText);
|
|
13549
|
-
console.log(hideCTA);
|
|
13550
13548
|
return (jsxs$1(Container$J, __assign$1({ "data-testid": testId, className: "stylefor".concat(position), borderRadiusVariant: borderRadiusVariant }, { children: [!isVideo && (jsxs$1(Fragment$2, { children: [withZoom ? (jsx$1(InnerImageZoom, { src: source, zoomSrc: source, zoomType: "hover", imgAttributes: {
|
|
13551
13549
|
alt: content.alt,
|
|
13552
13550
|
style: { objectFit: 'cover', objectPosition: 'center' },
|