@wlloyalty/wll-react-sdk 1.0.48 → 1.0.49
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.js +5 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21174,23 +21174,21 @@ var RewardTilePoints = function () {
|
|
|
21174
21174
|
if (!showPrice || price === undefined) return null;
|
|
21175
21175
|
// Calculate points
|
|
21176
21176
|
var calculatedPoints = price * Number(pointsMultiplier !== null && pointsMultiplier !== void 0 ? pointsMultiplier : 1);
|
|
21177
|
-
var fullPointsText = "".concat(pointsPrefix).concat(calculatedPoints, " ").concat(pointsSuffix);
|
|
21178
21177
|
return /*#__PURE__*/React.createElement(View$2, {
|
|
21179
21178
|
accessible: true,
|
|
21180
21179
|
accessibilityRole: "text",
|
|
21181
|
-
accessibilityLabel: "Reward points: ".concat(
|
|
21180
|
+
accessibilityLabel: "Reward points: ".concat(pointsPrefix).concat(calculatedPoints, " ").concat(pointsSuffix)
|
|
21182
21181
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
21183
21182
|
variant: "caption",
|
|
21184
|
-
style: styles.footer
|
|
21185
|
-
|
|
21186
|
-
importantForAccessibility: "no-hide-descendants"
|
|
21187
|
-
}, pointsPrefix, /*#__PURE__*/React.createElement(View$2, {
|
|
21183
|
+
style: styles.footer
|
|
21184
|
+
}, pointsPrefix), /*#__PURE__*/React.createElement(View$2, {
|
|
21188
21185
|
style: styles.pointsContainer
|
|
21189
21186
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
21190
21187
|
variant: "caption"
|
|
21191
21188
|
}, calculatedPoints), /*#__PURE__*/React.createElement(Text, {
|
|
21189
|
+
variant: "caption",
|
|
21192
21190
|
style: styles.suffix
|
|
21193
|
-
}, pointsSuffix)))
|
|
21191
|
+
}, pointsSuffix)));
|
|
21194
21192
|
};
|
|
21195
21193
|
|
|
21196
21194
|
var RewardTileSummary = function () {
|