@wlloyalty/wll-react-sdk 1.0.83 → 1.0.84
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 +4 -9
- package/dist/native.js.map +1 -1
- package/dist/types/constants/theme.d.ts +1 -1
- package/dist/web.js +7 -12
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/native.js
CHANGED
|
@@ -1638,7 +1638,7 @@ var defaultTheme = {
|
|
|
1638
1638
|
var COLOR_CONSTANTS = {
|
|
1639
1639
|
MINIMUM_CONTRAST_RATIO: 2,
|
|
1640
1640
|
DEFAULT_LIGHTNESS_ADJUSTMENT: 0.2,
|
|
1641
|
-
DESATURATION_LIGHTEN_AMOUNT:
|
|
1641
|
+
DESATURATION_LIGHTEN_AMOUNT: 0.8,
|
|
1642
1642
|
DEFAULT_COLOR: '#FFFFFF',
|
|
1643
1643
|
};
|
|
1644
1644
|
|
|
@@ -2259,7 +2259,6 @@ var styles$7 = reactNative.StyleSheet.create({
|
|
|
2259
2259
|
position: 'relative',
|
|
2260
2260
|
alignItems: 'center',
|
|
2261
2261
|
justifyContent: 'center',
|
|
2262
|
-
backgroundColor: 'red',
|
|
2263
2262
|
width: '100%',
|
|
2264
2263
|
height: '100%',
|
|
2265
2264
|
},
|
|
@@ -2802,7 +2801,6 @@ var styles$5 = reactNative.StyleSheet.create({
|
|
|
2802
2801
|
position: 'absolute',
|
|
2803
2802
|
top: 10,
|
|
2804
2803
|
right: 10,
|
|
2805
|
-
backgroundColor: 'red',
|
|
2806
2804
|
paddingHorizontal: 12,
|
|
2807
2805
|
paddingVertical: 6,
|
|
2808
2806
|
borderRadius: 4,
|
|
@@ -3650,7 +3648,6 @@ var Grid = function (_a) {
|
|
|
3650
3648
|
width: "calc(".concat(100 / columns, "% - ").concat(((columns - 1) * GRID_GAP) / columns, "px)"),
|
|
3651
3649
|
marginBottom: GRID_GAP,
|
|
3652
3650
|
height: 'auto',
|
|
3653
|
-
aspectRatio: 1,
|
|
3654
3651
|
};
|
|
3655
3652
|
}
|
|
3656
3653
|
else {
|
|
@@ -3660,7 +3657,6 @@ var Grid = function (_a) {
|
|
|
3660
3657
|
return {
|
|
3661
3658
|
width: tileWidth,
|
|
3662
3659
|
marginBottom: GRID_GAP,
|
|
3663
|
-
aspectRatio: 1,
|
|
3664
3660
|
};
|
|
3665
3661
|
}
|
|
3666
3662
|
}, []);
|
|
@@ -3748,9 +3744,8 @@ var styles$1 = reactNative.StyleSheet.create({
|
|
|
3748
3744
|
width: 21,
|
|
3749
3745
|
height: 21,
|
|
3750
3746
|
borderRadius: 9999,
|
|
3751
|
-
backgroundColor: 'red',
|
|
3752
|
-
alignItems: 'center',
|
|
3753
3747
|
justifyContent: 'center',
|
|
3748
|
+
alignItems: 'center',
|
|
3754
3749
|
},
|
|
3755
3750
|
});
|
|
3756
3751
|
|
|
@@ -4184,8 +4179,8 @@ var usePointsTileStyles = function (isFullSize) {
|
|
|
4184
4179
|
justifyContent: 'center',
|
|
4185
4180
|
},
|
|
4186
4181
|
imageContainer: {
|
|
4187
|
-
width: isFullSize ? '100%' : 57,
|
|
4188
|
-
height: isFullSize ? '50%' : 57,
|
|
4182
|
+
width: isFullSize ? '100%' : isDesktop ? 57 : 40,
|
|
4183
|
+
height: isFullSize ? '50%' : isDesktop ? 57 : 40,
|
|
4189
4184
|
marginBottom: isFullSize
|
|
4190
4185
|
? useResponsiveValue(theme.sizes.sm, theme.sizes.xxs, isDesktop, isTablet)
|
|
4191
4186
|
: 0,
|