@bbl-digital/snorre 4.1.43 → 4.1.44
Sign up to get free protection for your applications and to get access to all the features.
@@ -38,18 +38,18 @@ export const MemberBenefitsCard = ({
|
|
38
38
|
level: 3,
|
39
39
|
size: "18px",
|
40
40
|
children: benefit.name
|
41
|
-
}), benefit?.
|
42
|
-
children: benefit.
|
41
|
+
}), benefit?.teaser && /*#__PURE__*/_jsx(Text, {
|
42
|
+
children: benefit.teaser
|
43
43
|
})]
|
44
44
|
}), (hasDiscountText || hasBonusRate) && /*#__PURE__*/_jsxs(DiscountAndBonus, {
|
45
|
-
children: [benefit?.
|
45
|
+
children: [benefit?.bonusRate && /*#__PURE__*/_jsxs(Row, {
|
46
46
|
children: [/*#__PURE__*/_jsx(IconMedal, {
|
47
47
|
backgrounded: true
|
48
|
-
}), /*#__PURE__*/
|
48
|
+
}), /*#__PURE__*/_jsxs(Text, {
|
49
49
|
semibold: true,
|
50
|
-
children: benefit.
|
50
|
+
children: [benefit.bonusRate, "% bonus"]
|
51
51
|
})]
|
52
|
-
}), benefit?.discountText && /*#__PURE__*/_jsxs(Row, {
|
52
|
+
}), benefit?.discountText?.trim() && /*#__PURE__*/_jsxs(Row, {
|
53
53
|
children: [/*#__PURE__*/_jsx(IconPercent, {
|
54
54
|
backgrounded: true
|
55
55
|
}), /*#__PURE__*/_jsx(Text, {
|
@@ -38,18 +38,18 @@ export const MemberBenefitsCard = ({
|
|
38
38
|
level: 3,
|
39
39
|
size: "18px",
|
40
40
|
children: benefit.name
|
41
|
-
}), benefit?.
|
42
|
-
children: benefit.
|
41
|
+
}), benefit?.teaser && /*#__PURE__*/_jsx(Text, {
|
42
|
+
children: benefit.teaser
|
43
43
|
})]
|
44
44
|
}), (hasDiscountText || hasBonusRate) && /*#__PURE__*/_jsxs(DiscountAndBonus, {
|
45
|
-
children: [benefit?.
|
45
|
+
children: [benefit?.bonusRate && /*#__PURE__*/_jsxs(Row, {
|
46
46
|
children: [/*#__PURE__*/_jsx(IconMedal, {
|
47
47
|
backgrounded: true
|
48
|
-
}), /*#__PURE__*/
|
48
|
+
}), /*#__PURE__*/_jsxs(Text, {
|
49
49
|
semibold: true,
|
50
|
-
children: benefit.
|
50
|
+
children: [benefit.bonusRate, "% bonus"]
|
51
51
|
})]
|
52
|
-
}), benefit?.discountText && /*#__PURE__*/_jsxs(Row, {
|
52
|
+
}), benefit?.discountText?.trim() && /*#__PURE__*/_jsxs(Row, {
|
53
53
|
children: [/*#__PURE__*/_jsx(IconPercent, {
|
54
54
|
backgrounded: true
|
55
55
|
}), /*#__PURE__*/_jsx(Text, {
|