@wlloyalty/wll-react-sdk 1.5.0 → 1.6.0

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.
@@ -22,6 +22,7 @@ export declare class Reward {
22
22
  summary?: string;
23
23
  redemptionMessage?: string;
24
24
  visibilityCriteria?: string;
25
+ isLocked?: boolean;
25
26
  }
26
27
  export type RewardCategory = {
27
28
  name: string;
@@ -10,7 +10,7 @@ export declare const sizes: {
10
10
  readonly sm: 12;
11
11
  readonly md: 14;
12
12
  readonly lg: 16;
13
- readonly xl: 18;
13
+ readonly xl: 20;
14
14
  readonly xxl: 24;
15
15
  readonly xxxl: 32;
16
16
  readonly xxxxl: 40;
package/dist/web.js CHANGED
@@ -8203,7 +8203,7 @@ var sizes = {
8203
8203
  sm: 12,
8204
8204
  md: 14,
8205
8205
  lg: 16,
8206
- xl: 18,
8206
+ xl: 20,
8207
8207
  xxl: 24,
8208
8208
  xxxl: 32,
8209
8209
  xxxxl: 40,
@@ -19322,33 +19322,27 @@ var BaseBanner = function (_a) {
19322
19322
  backgroundColor: theme.surface,
19323
19323
  borderRadius: theme.sizes.borderRadiusLg
19324
19324
  }];
19325
- if (isInteractive) {
19326
- return /*#__PURE__*/React.createElement(BannerContext.Provider, {
19327
- value: tile
19328
- }, /*#__PURE__*/React.createElement(Pressable$1, {
19329
- testID: testID || 'banner-tile',
19330
- style: function (_a) {
19331
- var pressed = _a.pressed;
19332
- return __spreadArray(__spreadArray([], commonStyles, true), [{
19333
- opacity: pressed ? 0.7 : 1
19334
- }], false);
19335
- },
19336
- onPress: handlePress,
19337
- accessible: true,
19338
- role: "button",
19339
- accessibilityLabel: accessibilityLabel || "".concat(title, " - Click to open")
19340
- }, children));
19341
- } else {
19342
- return /*#__PURE__*/React.createElement(BannerContext.Provider, {
19343
- value: tile
19344
- }, /*#__PURE__*/React.createElement(View$2, {
19345
- testID: testID || 'banner-tile',
19346
- style: commonStyles,
19347
- accessible: true,
19348
- role: "article",
19349
- accessibilityLabel: accessibilityLabel || title || 'Banner'
19350
- }, children));
19351
- }
19325
+ return /*#__PURE__*/React.createElement(BannerContext.Provider, {
19326
+ value: tile
19327
+ }, isInteractive ? (/*#__PURE__*/React.createElement(Pressable$1, {
19328
+ testID: testID || 'banner-tile',
19329
+ style: function (_a) {
19330
+ var pressed = _a.pressed;
19331
+ return __spreadArray(__spreadArray([], commonStyles, true), [{
19332
+ opacity: pressed ? 0.7 : 1
19333
+ }], false);
19334
+ },
19335
+ onPress: handlePress,
19336
+ accessible: true,
19337
+ role: "button",
19338
+ accessibilityLabel: accessibilityLabel || "".concat(title, " - Click to open")
19339
+ }, children)) : (/*#__PURE__*/React.createElement(View$2, {
19340
+ testID: testID || 'banner-tile',
19341
+ style: commonStyles,
19342
+ accessible: true,
19343
+ role: "article",
19344
+ accessibilityLabel: accessibilityLabel || title || 'Banner'
19345
+ }, children)));
19352
19346
  };
19353
19347
  var styles$6 = StyleSheet$1.create({
19354
19348
  container: {
@@ -20644,9 +20638,7 @@ var ContentTileTitle = function () {
20644
20638
  if (!title) return undefined;
20645
20639
  if (isHalfSize) {
20646
20640
  if (title && !body) return 3;
20647
- if (title && body) return 1;
20648
20641
  }
20649
- if (artworkUrl) return 1;
20650
20642
  if (!body) return 7;
20651
20643
  return 2;
20652
20644
  }, [title, body, artworkUrl, isHalfSize]);
@@ -21183,7 +21175,9 @@ var Carousel = function (_a) {
21183
21175
  description: section.description
21184
21176
  }), /*#__PURE__*/React.createElement(View$2, {
21185
21177
  ref: containerRef,
21186
- style: styles.container,
21178
+ style: [styles.container, {
21179
+ direction: 'ltr'
21180
+ }],
21187
21181
  onLayout: function (event) {
21188
21182
  var width = event.nativeEvent.layout.width;
21189
21183
  dispatch({