@appcorp/kismaa-web-ui 0.2.2 → 0.2.3
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.
|
@@ -4,7 +4,7 @@ exports.ReviewCardData = void 0;
|
|
|
4
4
|
exports.ReviewCardData = {
|
|
5
5
|
isActive: false,
|
|
6
6
|
isTrustPilot: true,
|
|
7
|
-
name: 'John
|
|
7
|
+
name: 'John S',
|
|
8
8
|
quote: 'Lorem Ipsum is a simply dummy text of an the printing and type settings for has been the industrys standard dumy text the ever since unknown printer.',
|
|
9
9
|
quoteIconFill: '#B689E5',
|
|
10
10
|
rating: 4.5,
|
|
@@ -20,10 +20,10 @@ var ReviewCard = function (_a) {
|
|
|
20
20
|
react_1.default.createElement(quote_icon_1.QuoteIcon, { fill: isActive ? '#FFF' : quoteIconFill, className: "size-10" }),
|
|
21
21
|
react_1.default.createElement("div", { className: "flex flex-row-reverse gap-2" },
|
|
22
22
|
isTrustPilot && (react_1.default.createElement("div", { className: "relative size-10" },
|
|
23
|
-
react_1.default.createElement(image_1.default, { alt: "Trustpilot logo", fill: true, height: 0, sizes: "
|
|
23
|
+
react_1.default.createElement(image_1.default, { alt: "Trustpilot logo", fill: true, height: 0, sizes: "20vw", src: trustPilotSrc, width: 0 }))),
|
|
24
24
|
react_1.default.createElement("div", { className: "flex flex-col items-end" },
|
|
25
25
|
react_1.default.createElement("div", { className: "font-secondary" },
|
|
26
|
-
react_1.default.createElement(molecules_1.Typography, { variant: molecules_1.TYPOGRAPHY_VARIANTS.H5 }, (0, util_functions_1.truncateText)(name,
|
|
26
|
+
react_1.default.createElement(molecules_1.Typography, { variant: molecules_1.TYPOGRAPHY_VARIANTS.H5 }, (0, util_functions_1.truncateText)(name, 7))),
|
|
27
27
|
react_1.default.createElement("div", { className: "" },
|
|
28
28
|
react_1.default.createElement(ratings_1.Ratings, { rating: rating, isActive: isActive }))))),
|
|
29
29
|
react_1.default.createElement("div", { className: "mt-6" }, (0, util_functions_1.truncateText)(quote, 150)))));
|