@wlloyalty/wll-react-sdk 1.5.1 → 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.
- package/dist/native.js +7 -12
- package/dist/native.js.map +1 -1
- package/dist/web.js +24 -28
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/web.js
CHANGED
|
@@ -19322,33 +19322,27 @@ var BaseBanner = function (_a) {
|
|
|
19322
19322
|
backgroundColor: theme.surface,
|
|
19323
19323
|
borderRadius: theme.sizes.borderRadiusLg
|
|
19324
19324
|
}];
|
|
19325
|
-
|
|
19326
|
-
|
|
19327
|
-
|
|
19328
|
-
|
|
19329
|
-
|
|
19330
|
-
|
|
19331
|
-
|
|
19332
|
-
|
|
19333
|
-
|
|
19334
|
-
|
|
19335
|
-
|
|
19336
|
-
|
|
19337
|
-
|
|
19338
|
-
|
|
19339
|
-
|
|
19340
|
-
|
|
19341
|
-
|
|
19342
|
-
|
|
19343
|
-
|
|
19344
|
-
|
|
19345
|
-
|
|
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: {
|
|
@@ -21181,7 +21175,9 @@ var Carousel = function (_a) {
|
|
|
21181
21175
|
description: section.description
|
|
21182
21176
|
}), /*#__PURE__*/React.createElement(View$2, {
|
|
21183
21177
|
ref: containerRef,
|
|
21184
|
-
style: styles.container,
|
|
21178
|
+
style: [styles.container, {
|
|
21179
|
+
direction: 'ltr'
|
|
21180
|
+
}],
|
|
21185
21181
|
onLayout: function (event) {
|
|
21186
21182
|
var width = event.nativeEvent.layout.width;
|
|
21187
21183
|
dispatch({
|