@wlloyalty/wll-react-sdk 1.0.90 → 1.0.91
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.
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
2
|
declare const _default: Meta;
|
|
3
3
|
export default _default;
|
|
4
|
+
export declare const ZeroPointsBalance: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Omit<{
|
|
5
|
+
tile: import("../../../types/tile").Tile;
|
|
6
|
+
}, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps>;
|
|
4
7
|
export declare const StandardPointsBalance: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Omit<{
|
|
5
8
|
tile: import("../../../types/tile").Tile;
|
|
6
9
|
}, "tile"> & import("../../hoc/withTileFetching").WithTileFetchingProps>;
|
package/dist/web.js
CHANGED
|
@@ -21463,7 +21463,7 @@ var PointsTileFormattedPoints = function () {
|
|
|
21463
21463
|
pointsSuffix = _d === void 0 ? 'pts' : _d,
|
|
21464
21464
|
_e = _a.points,
|
|
21465
21465
|
points = _e === void 0 ? 0 : _e;
|
|
21466
|
-
if (points === undefined
|
|
21466
|
+
if (points === undefined) return null;
|
|
21467
21467
|
var calculatedPoints = applyMultiplier(points, pointsMultiplier);
|
|
21468
21468
|
var fullPointsText = "".concat(pointsPrefix).concat(calculatedPoints, " ").concat(pointsSuffix).trim();
|
|
21469
21469
|
return /*#__PURE__*/React.createElement(View$2, {
|