@wlloyalty/wll-react-sdk 1.0.69 → 1.0.71
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 +28 -24
- package/dist/native.js.map +1 -1
- package/dist/web.js +63 -56
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/web.js
CHANGED
|
@@ -7355,7 +7355,7 @@ var View$1 = /*#__PURE__*/React__namespace.forwardRef((props, forwardedRef) => {
|
|
|
7355
7355
|
var writingDirection = componentDirection || contextDirection;
|
|
7356
7356
|
var supportedProps = pickProps$1(rest);
|
|
7357
7357
|
supportedProps.dir = componentDirection;
|
|
7358
|
-
supportedProps.style = [styles$
|
|
7358
|
+
supportedProps.style = [styles$j.view$raw, hasTextAncestor && styles$j.inline, props.style];
|
|
7359
7359
|
if (props.href != null) {
|
|
7360
7360
|
component = 'a';
|
|
7361
7361
|
if (hrefAttrs != null) {
|
|
@@ -7381,7 +7381,7 @@ var View$1 = /*#__PURE__*/React__namespace.forwardRef((props, forwardedRef) => {
|
|
|
7381
7381
|
});
|
|
7382
7382
|
});
|
|
7383
7383
|
View$1.displayName = 'View';
|
|
7384
|
-
var styles$
|
|
7384
|
+
var styles$j = StyleSheet$1.create({
|
|
7385
7385
|
view$raw: {
|
|
7386
7386
|
alignItems: 'stretch',
|
|
7387
7387
|
backgroundColor: 'transparent',
|
|
@@ -7525,7 +7525,7 @@ function Pressable(props, forwardedRef) {
|
|
|
7525
7525
|
onFocus: focusHandler,
|
|
7526
7526
|
onKeyDown: keyDownHandler,
|
|
7527
7527
|
ref: setRef,
|
|
7528
|
-
style: [disabled ? styles$
|
|
7528
|
+
style: [disabled ? styles$i.disabled : styles$i.active, typeof style === 'function' ? style(interactionState) : style],
|
|
7529
7529
|
tabIndex: _tabIndex
|
|
7530
7530
|
}), typeof children === 'function' ? children(interactionState) : children);
|
|
7531
7531
|
}
|
|
@@ -7535,7 +7535,7 @@ function useForceableState(forced) {
|
|
|
7535
7535
|
setBool = _useState[1];
|
|
7536
7536
|
return [bool || forced, setBool];
|
|
7537
7537
|
}
|
|
7538
|
-
var styles$
|
|
7538
|
+
var styles$i = StyleSheet$1.create({
|
|
7539
7539
|
active: {
|
|
7540
7540
|
cursor: 'pointer',
|
|
7541
7541
|
touchAction: 'manipulation'
|
|
@@ -7628,7 +7628,7 @@ var Text$2 = /*#__PURE__*/React__namespace.forwardRef((props, forwardedRef) => {
|
|
|
7628
7628
|
}
|
|
7629
7629
|
supportedProps.style = [numberOfLines != null && numberOfLines > 1 && {
|
|
7630
7630
|
WebkitLineClamp: numberOfLines
|
|
7631
|
-
}, hasTextAncestor === true ? styles$
|
|
7631
|
+
}, hasTextAncestor === true ? styles$h.textHasAncestor$raw : styles$h.text$raw, numberOfLines === 1 && styles$h.textOneLine, numberOfLines != null && numberOfLines > 1 && styles$h.textMultiLine, props.style, selectable === true && styles$h.selectable, selectable === false && styles$h.notSelectable, onPress && styles$h.pressable];
|
|
7632
7632
|
if (props.href != null) {
|
|
7633
7633
|
component = 'a';
|
|
7634
7634
|
if (hrefAttrs != null) {
|
|
@@ -7673,7 +7673,7 @@ var textStyle = {
|
|
|
7673
7673
|
whiteSpace: 'pre-wrap',
|
|
7674
7674
|
wordWrap: 'break-word'
|
|
7675
7675
|
};
|
|
7676
|
-
var styles$
|
|
7676
|
+
var styles$h = StyleSheet$1.create({
|
|
7677
7677
|
text$raw: textStyle,
|
|
7678
7678
|
textHasAncestor$raw: _objectSpread2(_objectSpread2({}, textStyle), {}, {
|
|
7679
7679
|
color: 'inherit',
|
|
@@ -8762,17 +8762,17 @@ var ActivityIndicator = /*#__PURE__*/React__namespace.forwardRef((props, forward
|
|
|
8762
8762
|
"aria-valuemin": 0,
|
|
8763
8763
|
ref: forwardedRef,
|
|
8764
8764
|
role: "progressbar",
|
|
8765
|
-
style: [styles$
|
|
8765
|
+
style: [styles$g.container, style]
|
|
8766
8766
|
}), /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
8767
8767
|
children: svg,
|
|
8768
8768
|
style: [typeof size === 'number' ? {
|
|
8769
8769
|
height: size,
|
|
8770
8770
|
width: size
|
|
8771
|
-
} : indicatorSizes[size], styles$
|
|
8771
|
+
} : indicatorSizes[size], styles$g.animation, !animating && styles$g.animationPause, !animating && hidesWhenStopped && styles$g.hidesWhenStopped]
|
|
8772
8772
|
}));
|
|
8773
8773
|
});
|
|
8774
8774
|
ActivityIndicator.displayName = 'ActivityIndicator';
|
|
8775
|
-
var styles$
|
|
8775
|
+
var styles$g = StyleSheet$1.create({
|
|
8776
8776
|
container: {
|
|
8777
8777
|
alignItems: 'center',
|
|
8778
8778
|
justifyContent: 'center'
|
|
@@ -8813,7 +8813,7 @@ var ActivityIndicator$1 = ActivityIndicator;
|
|
|
8813
8813
|
var LoadingIndicator = function () {
|
|
8814
8814
|
var theme = useWllSdk().theme;
|
|
8815
8815
|
return /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
8816
|
-
style: [styles$
|
|
8816
|
+
style: [styles$f.container, {
|
|
8817
8817
|
borderRadius: theme.sizes.borderRadiusSm,
|
|
8818
8818
|
padding: theme.sizes.md
|
|
8819
8819
|
}]
|
|
@@ -8822,7 +8822,7 @@ var LoadingIndicator = function () {
|
|
|
8822
8822
|
color: theme.primary
|
|
8823
8823
|
}));
|
|
8824
8824
|
};
|
|
8825
|
-
var styles$
|
|
8825
|
+
var styles$f = StyleSheet$1.create({
|
|
8826
8826
|
container: {
|
|
8827
8827
|
width: '100%',
|
|
8828
8828
|
height: '100%',
|
|
@@ -9136,14 +9136,14 @@ var ScrollViewBase = /*#__PURE__*/React__namespace.forwardRef((props, forwardedR
|
|
|
9136
9136
|
onTouchMove: createPreventableScrollHandler(onTouchMove),
|
|
9137
9137
|
onWheel: createPreventableScrollHandler(onWheel),
|
|
9138
9138
|
ref: useMergeRefs$1(scrollRef, forwardedRef),
|
|
9139
|
-
style: [style, !scrollEnabled && styles$
|
|
9139
|
+
style: [style, !scrollEnabled && styles$e.scrollDisabled, hideScrollbar && styles$e.hideScrollbar]
|
|
9140
9140
|
}));
|
|
9141
9141
|
});
|
|
9142
9142
|
|
|
9143
9143
|
// Chrome doesn't support e.preventDefault in this case; touch-action must be
|
|
9144
9144
|
// used to disable scrolling.
|
|
9145
9145
|
// https://developers.google.com/web/updates/2017/01/scrolling-intervention
|
|
9146
|
-
var styles$
|
|
9146
|
+
var styles$e = StyleSheet$1.create({
|
|
9147
9147
|
scrollDisabled: {
|
|
9148
9148
|
overflowX: 'hidden',
|
|
9149
9149
|
overflowY: 'hidden',
|
|
@@ -9782,7 +9782,7 @@ let ScrollView$1 = class ScrollView extends React.Component {
|
|
|
9782
9782
|
var isSticky = hasStickyHeaderIndices && stickyHeaderIndices.indexOf(i) > -1;
|
|
9783
9783
|
if (child != null && (isSticky || pagingEnabled)) {
|
|
9784
9784
|
return /*#__PURE__*/React.createElement(View$2, {
|
|
9785
|
-
style: [isSticky && styles$
|
|
9785
|
+
style: [isSticky && styles$d.stickyHeader, pagingEnabled && styles$d.pagingEnabledChild]
|
|
9786
9786
|
}, child);
|
|
9787
9787
|
} else {
|
|
9788
9788
|
return child;
|
|
@@ -9792,10 +9792,10 @@ let ScrollView$1 = class ScrollView extends React.Component {
|
|
|
9792
9792
|
children: children,
|
|
9793
9793
|
collapsable: false,
|
|
9794
9794
|
ref: this._setInnerViewRef,
|
|
9795
|
-
style: [horizontal && styles$
|
|
9795
|
+
style: [horizontal && styles$d.contentContainerHorizontal, centerContent && styles$d.contentContainerCenterContent, contentContainerStyle]
|
|
9796
9796
|
}));
|
|
9797
|
-
var baseStyle = horizontal ? styles$
|
|
9798
|
-
var pagingEnabledStyle = horizontal ? styles$
|
|
9797
|
+
var baseStyle = horizontal ? styles$d.baseHorizontal : styles$d.baseVertical;
|
|
9798
|
+
var pagingEnabledStyle = horizontal ? styles$d.pagingEnabledHorizontal : styles$d.pagingEnabledVertical;
|
|
9799
9799
|
var props = _objectSpread2(_objectSpread2({}, other), {}, {
|
|
9800
9800
|
style: [baseStyle, pagingEnabled && pagingEnabledStyle, this.props.style],
|
|
9801
9801
|
onTouchStart: this.scrollResponderHandleTouchStart,
|
|
@@ -9838,7 +9838,7 @@ var commonStyle = {
|
|
|
9838
9838
|
// iOS native scrolling
|
|
9839
9839
|
WebkitOverflowScrolling: 'touch'
|
|
9840
9840
|
};
|
|
9841
|
-
var styles$
|
|
9841
|
+
var styles$d = StyleSheet$1.create({
|
|
9842
9842
|
baseVertical: _objectSpread2(_objectSpread2({}, commonStyle), {}, {
|
|
9843
9843
|
flexDirection: 'column',
|
|
9844
9844
|
overflowX: 'hidden',
|
|
@@ -11051,7 +11051,7 @@ class CellRenderer extends React__namespace.Component {
|
|
|
11051
11051
|
ItemSeparatorComponent :
|
|
11052
11052
|
// $FlowFixMe[incompatible-type]
|
|
11053
11053
|
ItemSeparatorComponent && /*#__PURE__*/React__namespace.createElement(ItemSeparatorComponent, this.state.separatorProps);
|
|
11054
|
-
var cellStyle = inversionStyle ? horizontal ? [styles$
|
|
11054
|
+
var cellStyle = inversionStyle ? horizontal ? [styles$c.rowReverse, inversionStyle] : [styles$c.columnReverse, inversionStyle] : horizontal ? [styles$c.row, inversionStyle] : inversionStyle;
|
|
11055
11055
|
var result = !CellRendererComponent ? /*#__PURE__*/React__namespace.createElement(View$2, _extends({
|
|
11056
11056
|
style: cellStyle,
|
|
11057
11057
|
onFocusCapture: onCellFocusCapture
|
|
@@ -11071,7 +11071,7 @@ class CellRenderer extends React__namespace.Component {
|
|
|
11071
11071
|
}, result);
|
|
11072
11072
|
}
|
|
11073
11073
|
}
|
|
11074
|
-
var styles$
|
|
11074
|
+
var styles$c = StyleSheet$1.create({
|
|
11075
11075
|
row: {
|
|
11076
11076
|
flexDirection: 'row'
|
|
11077
11077
|
},
|
|
@@ -12251,7 +12251,7 @@ class VirtualizedList extends StateSafePureComponent {
|
|
|
12251
12251
|
var _this$props6 = this.props,
|
|
12252
12252
|
data = _this$props6.data,
|
|
12253
12253
|
horizontal = _this$props6.horizontal;
|
|
12254
|
-
var inversionStyle = this.props.inverted ? horizontalOrDefault(this.props.horizontal) ? styles$
|
|
12254
|
+
var inversionStyle = this.props.inverted ? horizontalOrDefault(this.props.horizontal) ? styles$b.horizontallyInverted : styles$b.verticallyInverted : null;
|
|
12255
12255
|
var cells = [];
|
|
12256
12256
|
var stickyIndicesFromProps = new Set(this.props.stickyHeaderIndices);
|
|
12257
12257
|
var stickyHeaderIndices = [];
|
|
@@ -12415,7 +12415,7 @@ class VirtualizedList extends StateSafePureComponent {
|
|
|
12415
12415
|
}*/
|
|
12416
12416
|
if (this.props.debug) {
|
|
12417
12417
|
return /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
12418
|
-
style: styles$
|
|
12418
|
+
style: styles$b.debug
|
|
12419
12419
|
}, ret, this._renderDebugOverlay());
|
|
12420
12420
|
} else {
|
|
12421
12421
|
return ret;
|
|
@@ -12532,20 +12532,20 @@ class VirtualizedList extends StateSafePureComponent {
|
|
|
12532
12532
|
var visTop = this._scrollMetrics.offset;
|
|
12533
12533
|
var visLen = this._scrollMetrics.visibleLength;
|
|
12534
12534
|
return /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
12535
|
-
style: [styles$
|
|
12535
|
+
style: [styles$b.debugOverlayBase, styles$b.debugOverlay]
|
|
12536
12536
|
}, framesInLayout.map((f, ii) => /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
12537
12537
|
key: 'f' + ii,
|
|
12538
|
-
style: [styles$
|
|
12538
|
+
style: [styles$b.debugOverlayBase, styles$b.debugOverlayFrame, {
|
|
12539
12539
|
top: f.offset * normalize,
|
|
12540
12540
|
height: f.length * normalize
|
|
12541
12541
|
}]
|
|
12542
12542
|
})), /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
12543
|
-
style: [styles$
|
|
12543
|
+
style: [styles$b.debugOverlayBase, styles$b.debugOverlayFrameLast, {
|
|
12544
12544
|
top: windowTop * normalize,
|
|
12545
12545
|
height: windowLen * normalize
|
|
12546
12546
|
}]
|
|
12547
12547
|
}), /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
12548
|
-
style: [styles$
|
|
12548
|
+
style: [styles$b.debugOverlayBase, styles$b.debugOverlayFrameVis, {
|
|
12549
12549
|
top: visTop * normalize,
|
|
12550
12550
|
height: visLen * normalize
|
|
12551
12551
|
}]
|
|
@@ -12686,7 +12686,7 @@ class VirtualizedList extends StateSafePureComponent {
|
|
|
12686
12686
|
}
|
|
12687
12687
|
}
|
|
12688
12688
|
VirtualizedList.contextType = VirtualizedListContext;
|
|
12689
|
-
var styles$
|
|
12689
|
+
var styles$b = StyleSheet$1.create({
|
|
12690
12690
|
verticallyInverted: {
|
|
12691
12691
|
transform: 'scaleY(-1)'
|
|
12692
12692
|
},
|
|
@@ -13063,7 +13063,7 @@ let FlatList$1 = class FlatList extends React__namespace.PureComponent {
|
|
|
13063
13063
|
_index = info.index;
|
|
13064
13064
|
invariant$1(Array.isArray(_item2), 'Expected array of items with numColumns > 1');
|
|
13065
13065
|
return /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
13066
|
-
style: [styles$
|
|
13066
|
+
style: [styles$a.row, columnWrapperStyle]
|
|
13067
13067
|
}, _item2.map((it, kk) => {
|
|
13068
13068
|
var element = render({
|
|
13069
13069
|
// $FlowFixMe[incompatible-call]
|
|
@@ -13189,7 +13189,7 @@ let FlatList$1 = class FlatList extends React__namespace.PureComponent {
|
|
|
13189
13189
|
);
|
|
13190
13190
|
}
|
|
13191
13191
|
};
|
|
13192
|
-
var styles$
|
|
13192
|
+
var styles$a = StyleSheet$1.create({
|
|
13193
13193
|
row: {
|
|
13194
13194
|
flexDirection: 'row'
|
|
13195
13195
|
}
|
|
@@ -15576,7 +15576,7 @@ var Image$1 = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
|
|
|
15576
15576
|
// Accessibility image allows users to trigger the browser's image context menu
|
|
15577
15577
|
var hiddenImage = displayImageUri ? createElement$1('img', {
|
|
15578
15578
|
alt: ariaLabel || '',
|
|
15579
|
-
style: styles$
|
|
15579
|
+
style: styles$9.accessibilityImage$raw,
|
|
15580
15580
|
draggable: draggable || false,
|
|
15581
15581
|
ref: hiddenImageRef,
|
|
15582
15582
|
src: displayImageUri
|
|
@@ -15648,14 +15648,14 @@ var Image$1 = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
|
|
|
15648
15648
|
onLayout: handleLayout,
|
|
15649
15649
|
pointerEvents: pointerEvents,
|
|
15650
15650
|
ref: ref,
|
|
15651
|
-
style: [styles$
|
|
15651
|
+
style: [styles$9.root, hasTextAncestor && styles$9.inline, imageSizeStyle, style, styles$9.undo,
|
|
15652
15652
|
// TEMP: avoid deprecated shadow props regression
|
|
15653
15653
|
// until Image refactored to use createElement.
|
|
15654
15654
|
{
|
|
15655
15655
|
boxShadow: null
|
|
15656
15656
|
}]
|
|
15657
15657
|
}), /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
15658
|
-
style: [styles$
|
|
15658
|
+
style: [styles$9.image, resizeModeStyles[resizeMode], {
|
|
15659
15659
|
backgroundImage,
|
|
15660
15660
|
filter
|
|
15661
15661
|
}, backgroundSize != null && {
|
|
@@ -15677,7 +15677,7 @@ ImageWithStatics.prefetch = function (uri) {
|
|
|
15677
15677
|
ImageWithStatics.queryCache = function (uris) {
|
|
15678
15678
|
return ImageLoader$1.queryCache(uris);
|
|
15679
15679
|
};
|
|
15680
|
-
var styles$
|
|
15680
|
+
var styles$9 = StyleSheet$1.create({
|
|
15681
15681
|
root: {
|
|
15682
15682
|
flexBasis: 'auto',
|
|
15683
15683
|
overflow: 'hidden',
|
|
@@ -18808,11 +18808,11 @@ var ProgressiveImage = function (_a) {
|
|
|
18808
18808
|
tintColor: isDesaturated ? desaturatedColor : undefined
|
|
18809
18809
|
};
|
|
18810
18810
|
return /*#__PURE__*/React.createElement(View$2, {
|
|
18811
|
-
style: [styles$
|
|
18811
|
+
style: [styles$8.container, style, {
|
|
18812
18812
|
backgroundColor: backgroundColor
|
|
18813
18813
|
}]
|
|
18814
18814
|
}, /*#__PURE__*/React.createElement(Animated$1.View, {
|
|
18815
|
-
style: [styles$
|
|
18815
|
+
style: [styles$8.imageOverlay, {
|
|
18816
18816
|
backgroundColor: backgroundColor,
|
|
18817
18817
|
opacity: imageAnimated.interpolate({
|
|
18818
18818
|
inputRange: [0, 1],
|
|
@@ -18821,14 +18821,14 @@ var ProgressiveImage = function (_a) {
|
|
|
18821
18821
|
}]
|
|
18822
18822
|
}), /*#__PURE__*/React.createElement(Animated$1.Image, __assign({}, props, {
|
|
18823
18823
|
source: source,
|
|
18824
|
-
style: [styles$
|
|
18824
|
+
style: [styles$8.imageOverlay, __assign({
|
|
18825
18825
|
opacity: imageAnimated
|
|
18826
18826
|
}, desaturationStyle)],
|
|
18827
18827
|
onLoad: onImageLoad,
|
|
18828
18828
|
accessibilityLabel: alt
|
|
18829
18829
|
})));
|
|
18830
18830
|
};
|
|
18831
|
-
var styles$
|
|
18831
|
+
var styles$8 = StyleSheet$1.create({
|
|
18832
18832
|
imageOverlay: {
|
|
18833
18833
|
position: 'absolute',
|
|
18834
18834
|
left: 0,
|
|
@@ -19085,7 +19085,7 @@ var BaseBanner = function (_a) {
|
|
|
19085
19085
|
testID: testID || 'banner-tile',
|
|
19086
19086
|
style: function (_a) {
|
|
19087
19087
|
var pressed = _a.pressed;
|
|
19088
|
-
return [styles$
|
|
19088
|
+
return [styles$7.container, style, {
|
|
19089
19089
|
backgroundColor: theme.surface,
|
|
19090
19090
|
borderRadius: theme.sizes.borderRadiusLg,
|
|
19091
19091
|
opacity: pressed ? 0.7 : 1
|
|
@@ -19098,7 +19098,7 @@ var BaseBanner = function (_a) {
|
|
|
19098
19098
|
accessibilityLabel: accessibilityLabel || "".concat(title).concat(!hasCTA && ctaLink ? ' - Click to open' : '')
|
|
19099
19099
|
}, children));
|
|
19100
19100
|
};
|
|
19101
|
-
var styles$
|
|
19101
|
+
var styles$7 = StyleSheet$1.create({
|
|
19102
19102
|
container: {
|
|
19103
19103
|
width: '100%',
|
|
19104
19104
|
maxWidth: MAX_WIDTH,
|
|
@@ -19467,12 +19467,12 @@ var Indicator = function () {
|
|
|
19467
19467
|
return 'Mobile Layout';
|
|
19468
19468
|
};
|
|
19469
19469
|
return /*#__PURE__*/React.createElement(View$2, {
|
|
19470
|
-
style: styles$
|
|
19470
|
+
style: styles$6.indicator
|
|
19471
19471
|
}, /*#__PURE__*/React.createElement(Text$3, {
|
|
19472
|
-
style: styles$
|
|
19472
|
+
style: styles$6.indicatorText
|
|
19473
19473
|
}, getCurrentLayout()));
|
|
19474
19474
|
};
|
|
19475
|
-
var styles$
|
|
19475
|
+
var styles$6 = StyleSheet$1.create({
|
|
19476
19476
|
indicator: {
|
|
19477
19477
|
position: 'absolute',
|
|
19478
19478
|
top: 10,
|
|
@@ -19516,14 +19516,14 @@ var SkeletonTile = function (_a) {
|
|
|
19516
19516
|
outputRange: [0.3, 0.7]
|
|
19517
19517
|
});
|
|
19518
19518
|
return /*#__PURE__*/React__namespace.createElement(Animated$1.View, {
|
|
19519
|
-
style: [styles$
|
|
19519
|
+
style: [styles$5.container, {
|
|
19520
19520
|
opacity: opacity,
|
|
19521
19521
|
backgroundColor: theme.alphaDerivedText[20],
|
|
19522
19522
|
borderRadius: theme.sizes.borderRadiusLg
|
|
19523
19523
|
}, style]
|
|
19524
19524
|
});
|
|
19525
19525
|
};
|
|
19526
|
-
var styles$
|
|
19526
|
+
var styles$5 = StyleSheet$1.create({
|
|
19527
19527
|
container: {
|
|
19528
19528
|
aspectRatio: 1,
|
|
19529
19529
|
overflow: 'hidden',
|
|
@@ -19560,19 +19560,19 @@ var Skeleton = function (_a) {
|
|
|
19560
19560
|
return /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
19561
19561
|
testID: "loading-skeleton"
|
|
19562
19562
|
}, /*#__PURE__*/React__namespace.createElement(Animated$1.View, {
|
|
19563
|
-
style: [styles$
|
|
19563
|
+
style: [styles$4.skeleton, styles$4.title, {
|
|
19564
19564
|
opacity: opacity,
|
|
19565
19565
|
backgroundColor: theme.alphaDerivedText[20],
|
|
19566
19566
|
borderRadius: 6
|
|
19567
19567
|
}]
|
|
19568
19568
|
}), /*#__PURE__*/React__namespace.createElement(Animated$1.View, {
|
|
19569
|
-
style: [styles$
|
|
19569
|
+
style: [styles$4.skeleton, styles$4.body, {
|
|
19570
19570
|
opacity: opacity,
|
|
19571
19571
|
backgroundColor: theme.alphaDerivedText[20],
|
|
19572
19572
|
borderRadius: 6
|
|
19573
19573
|
}]
|
|
19574
19574
|
}), /*#__PURE__*/React__namespace.createElement(Animated$1.View, {
|
|
19575
|
-
style: [styles$
|
|
19575
|
+
style: [styles$4.container, style]
|
|
19576
19576
|
}, Array.from({
|
|
19577
19577
|
length: numberOfSquares
|
|
19578
19578
|
}).map(function (_, index) {
|
|
@@ -19581,7 +19581,7 @@ var Skeleton = function (_a) {
|
|
|
19581
19581
|
});
|
|
19582
19582
|
})));
|
|
19583
19583
|
};
|
|
19584
|
-
var styles$
|
|
19584
|
+
var styles$4 = StyleSheet$1.create({
|
|
19585
19585
|
container: {
|
|
19586
19586
|
flexDirection: 'row',
|
|
19587
19587
|
flexWrap: 'wrap',
|
|
@@ -20615,10 +20615,10 @@ var Grid = function (_a) {
|
|
|
20615
20615
|
title: section.title,
|
|
20616
20616
|
description: section.description
|
|
20617
20617
|
}), /*#__PURE__*/React.createElement(View$2, {
|
|
20618
|
-
style: styles$
|
|
20618
|
+
style: styles$3.grid
|
|
20619
20619
|
}, renderTileContainers()));
|
|
20620
20620
|
};
|
|
20621
|
-
var styles$
|
|
20621
|
+
var styles$3 = StyleSheet$1.create({
|
|
20622
20622
|
grid: {
|
|
20623
20623
|
flexDirection: 'row',
|
|
20624
20624
|
flexWrap: 'wrap',
|
|
@@ -20646,15 +20646,15 @@ var ProgressIndicator = function (_a) {
|
|
|
20646
20646
|
progressVariant = 'accent';
|
|
20647
20647
|
}
|
|
20648
20648
|
return /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
20649
|
-
style: styles$
|
|
20649
|
+
style: styles$2.container
|
|
20650
20650
|
}, /*#__PURE__*/React__namespace.createElement(ProgressBar, {
|
|
20651
20651
|
percentage: percentage,
|
|
20652
20652
|
variant: progressVariant,
|
|
20653
20653
|
height: height
|
|
20654
20654
|
}), /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
20655
|
-
style: [styles$
|
|
20655
|
+
style: [styles$2.circleContainer]
|
|
20656
20656
|
}, /*#__PURE__*/React__namespace.createElement(View$2, {
|
|
20657
|
-
style: [styles$
|
|
20657
|
+
style: [styles$2.circle, {
|
|
20658
20658
|
borderColor: theme.derivedSurface[20],
|
|
20659
20659
|
backgroundColor: isComplete ? theme.primary : theme.surface,
|
|
20660
20660
|
borderWidth: isComplete ? 0 : 4
|
|
@@ -20665,7 +20665,7 @@ var ProgressIndicator = function (_a) {
|
|
|
20665
20665
|
color: theme.primaryText
|
|
20666
20666
|
})))));
|
|
20667
20667
|
};
|
|
20668
|
-
var styles$
|
|
20668
|
+
var styles$2 = StyleSheet$1.create({
|
|
20669
20669
|
container: {
|
|
20670
20670
|
width: '100%',
|
|
20671
20671
|
flexDirection: 'row',
|
|
@@ -20988,9 +20988,11 @@ var GroupSections = function () {
|
|
|
20988
20988
|
});
|
|
20989
20989
|
}
|
|
20990
20990
|
var sortedSections = sortByPriority(activeSections);
|
|
20991
|
-
|
|
20991
|
+
var Container = IS_WEB ? View$2 : ScrollView$2;
|
|
20992
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
20992
20993
|
accessible: true,
|
|
20993
|
-
accessibilityLabel: "Group: ".concat(groupData.name || 'Unnamed group')
|
|
20994
|
+
accessibilityLabel: "Group: ".concat(groupData.name || 'Unnamed group'),
|
|
20995
|
+
contentContainerStyle: !IS_WEB ? styles$1.container : undefined
|
|
20994
20996
|
}, sortedSections.map(function (section) {
|
|
20995
20997
|
return /*#__PURE__*/React.createElement(Section, {
|
|
20996
20998
|
key: section.id,
|
|
@@ -21040,6 +21042,11 @@ var Group = function (_a) {
|
|
|
21040
21042
|
"data-testid": "group-container"
|
|
21041
21043
|
}, /*#__PURE__*/React.createElement(GroupSections, null)));
|
|
21042
21044
|
};
|
|
21045
|
+
var styles$1 = StyleSheet$1.create({
|
|
21046
|
+
container: __assign({}, IS_WEB ? {} : {
|
|
21047
|
+
padding: GRID_GAP
|
|
21048
|
+
})
|
|
21049
|
+
});
|
|
21043
21050
|
|
|
21044
21051
|
/**
|
|
21045
21052
|
* Cleans up a number by removing any whitespace and ensuring it's a valid number
|