@hero-design/rn 8.22.0 → 8.23.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.
Files changed (32) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/es/index.js +235 -65
  3. package/lib/index.js +235 -64
  4. package/package.json +5 -5
  5. package/src/components/Alert/index.tsx +6 -0
  6. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  7. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
  8. package/src/components/List/ListItem.tsx +12 -8
  9. package/src/components/Success/StyledSuccess.tsx +87 -0
  10. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +497 -0
  11. package/src/components/Success/__tests__/index.spec.tsx +78 -0
  12. package/src/components/Success/index.tsx +129 -0
  13. package/src/components/Tag/StyledTag.tsx +1 -1
  14. package/src/components/Tag/__tests__/Tag.spec.tsx +22 -71
  15. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +106 -53
  16. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +265 -0
  17. package/src/components/TextInput/__tests__/index.spec.tsx +29 -0
  18. package/src/components/TextInput/index.tsx +6 -1
  19. package/src/index.ts +2 -0
  20. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +33 -3
  21. package/src/theme/components/empty.ts +1 -1
  22. package/src/theme/components/error.ts +1 -1
  23. package/src/theme/components/success.ts +40 -0
  24. package/src/theme/components/tag.ts +1 -1
  25. package/src/theme/getTheme.ts +3 -0
  26. package/src/utils/hooks.ts +1 -1
  27. package/types/components/Success/StyledSuccess.d.ts +54 -0
  28. package/types/components/Success/index.d.ts +42 -0
  29. package/types/components/TextInput/index.d.ts +5 -1
  30. package/types/index.d.ts +2 -1
  31. package/types/theme/components/success.d.ts +32 -0
  32. package/types/theme/getTheme.d.ts +2 -0
package/lib/index.js CHANGED
@@ -2211,7 +2211,7 @@ var getDrawerTheme = function getDrawerTheme(theme) {
2211
2211
 
2212
2212
  var getEmptyTheme = function getEmptyTheme(theme) {
2213
2213
  var space = {
2214
- titleMargin: theme.space.medium,
2214
+ titleMargin: theme.space.small,
2215
2215
  imageMargin: theme.space.large,
2216
2216
  wrapperPadding: theme.space.medium
2217
2217
  };
@@ -2244,7 +2244,7 @@ var getEmptyTheme = function getEmptyTheme(theme) {
2244
2244
  var getErrorTheme = function getErrorTheme(theme) {
2245
2245
  var space = {
2246
2246
  titleMarginBottom: theme.space.small,
2247
- imageMarginBottom: theme.space.xlarge,
2247
+ imageMarginBottom: theme.space.large,
2248
2248
  wrapperPadding: theme.space.large,
2249
2249
  button: {
2250
2250
  wrapperHorizontalPadding: theme.space.medium,
@@ -2723,6 +2723,44 @@ var getSpinnerTheme = function getSpinnerTheme(theme) {
2723
2723
  };
2724
2724
  };
2725
2725
 
2726
+ var getSuccessTheme = function getSuccessTheme(theme) {
2727
+ var space = {
2728
+ titleMarginBottom: theme.space.small,
2729
+ imageMarginBottom: theme.space.xlarge,
2730
+ wrapperPadding: theme.space.large,
2731
+ button: {
2732
+ wrapperHorizontalPadding: theme.space.medium,
2733
+ wrapperVerticalPadding: theme.space.xxxlarge,
2734
+ margin: theme.space.medium,
2735
+ padding: theme.space.medium
2736
+ }
2737
+ };
2738
+ var sizes = {
2739
+ image: theme.sizes['19xlarge']
2740
+ };
2741
+ var colors = {
2742
+ title: theme.colors.onDefaultGlobalSurface,
2743
+ description: theme.colors.mutedOnDefaultGlobalSurface,
2744
+ fullScreenBackground: theme.colors.decorativePrimarySurface,
2745
+ inPageBackground: theme.colors.neutralGlobalSurface
2746
+ };
2747
+ var fontSizes = {
2748
+ title: theme.fontSizes.xxxlarge,
2749
+ description: theme.fontSizes.xlarge
2750
+ };
2751
+ var fonts = {
2752
+ title: theme.fonts.playful.semiBold,
2753
+ description: theme.fonts.playful.regular
2754
+ };
2755
+ return {
2756
+ fontSizes: fontSizes,
2757
+ colors: colors,
2758
+ sizes: sizes,
2759
+ space: space,
2760
+ fonts: fonts
2761
+ };
2762
+ };
2763
+
2726
2764
  var getSwipeableTheme = function getSwipeableTheme(theme) {
2727
2765
  var colors = {
2728
2766
  success: theme.colors.success,
@@ -2817,7 +2855,7 @@ var getTagTheme = function getTagTheme(theme) {
2817
2855
  "default": theme.borderWidths.base
2818
2856
  };
2819
2857
  var colors = {
2820
- primary: theme.colors.primary,
2858
+ primary: theme.colors.onDefaultGlobalSurface,
2821
2859
  primaryBackground: undefined,
2822
2860
  info: theme.colors.onInfoSurface,
2823
2861
  infoBackground: theme.colors.infoSurface,
@@ -3106,6 +3144,7 @@ var getTheme$1 = function getTheme() {
3106
3144
  skeleton: getSkeletonTheme(globalTheme),
3107
3145
  slider: getSliderTheme(globalTheme),
3108
3146
  spinner: getSpinnerTheme(globalTheme),
3147
+ success: getSuccessTheme(globalTheme),
3109
3148
  swipeable: getSwipeableTheme(globalTheme),
3110
3149
  "switch": getSwitchTheme(globalTheme),
3111
3150
  tabs: getTabsTheme(globalTheme),
@@ -6030,7 +6069,7 @@ var useDeprecation = function useDeprecation(message) {
6030
6069
  React.useEffect(function () {
6031
6070
  // eslint-disable-next-line no-console
6032
6071
  if (cond) {
6033
- console.error(message);
6072
+ console.warn(message);
6034
6073
  }
6035
6074
  }, [message, cond]);
6036
6075
  };
@@ -6126,7 +6165,7 @@ var StyledText$3 = index$a(reactNative.Text)(function (_ref) {
6126
6165
  });
6127
6166
  });
6128
6167
 
6129
- var _excluded$s = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6168
+ var _excluded$t = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6130
6169
  var Text = function Text(_ref) {
6131
6170
  var children = _ref.children,
6132
6171
  _ref$fontSize = _ref.fontSize,
@@ -6139,7 +6178,7 @@ var Text = function Text(_ref) {
6139
6178
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6140
6179
  _ref$allowFontScaling = _ref.allowFontScaling,
6141
6180
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6142
- nativeProps = _objectWithoutProperties(_ref, _excluded$s);
6181
+ nativeProps = _objectWithoutProperties(_ref, _excluded$t);
6143
6182
  return /*#__PURE__*/React__default["default"].createElement(StyledText$3, _extends$1({}, nativeProps, {
6144
6183
  themeFontSize: fontSize,
6145
6184
  themeFontWeight: fontWeight,
@@ -6661,10 +6700,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
6661
6700
  };
6662
6701
  });
6663
6702
 
6664
- var _excluded$r = ["style"];
6703
+ var _excluded$s = ["style"];
6665
6704
  var AnimatedIcon = function AnimatedIcon(_ref) {
6666
6705
  var style = _ref.style,
6667
- otherProps = _objectWithoutProperties(_ref, _excluded$r);
6706
+ otherProps = _objectWithoutProperties(_ref, _excluded$s);
6668
6707
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
6669
6708
  React.useEffect(function () {
6670
6709
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
@@ -6770,7 +6809,7 @@ var AccordionItem = function AccordionItem(_ref) {
6770
6809
  }, content));
6771
6810
  };
6772
6811
 
6773
- var _excluded$q = ["key"];
6812
+ var _excluded$r = ["key"];
6774
6813
  var Accordion = function Accordion(_ref) {
6775
6814
  var items = _ref.items,
6776
6815
  activeItemKey = _ref.activeItemKey,
@@ -6791,7 +6830,7 @@ var Accordion = function Accordion(_ref) {
6791
6830
  testID: testID
6792
6831
  }, items.map(function (_ref2, index) {
6793
6832
  var key = _ref2.key,
6794
- props = _objectWithoutProperties(_ref2, _excluded$q);
6833
+ props = _objectWithoutProperties(_ref2, _excluded$r);
6795
6834
  var open = _activeItemKey === key;
6796
6835
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
6797
6836
  key: key
@@ -6886,6 +6925,7 @@ var Alert = function Alert(_ref2) {
6886
6925
  variant = _ref2$variant === void 0 ? 'rounded' : _ref2$variant,
6887
6926
  style = _ref2.style,
6888
6927
  testID = _ref2.testID;
6928
+ useDeprecation("Alert's notification intent is deprecated and will be removed in the next major release. Please use other intents instead.", intent === 'notification');
6889
6929
  return /*#__PURE__*/React__default["default"].createElement(Container$1, {
6890
6930
  themeVariant: variant,
6891
6931
  themeIntent: intent,
@@ -7188,7 +7228,7 @@ var StyledStatus = index$a(reactNative.Animated.View)(function (_ref3) {
7188
7228
  };
7189
7229
  });
7190
7230
 
7191
- var _excluded$p = ["children", "visible", "intent", "style", "testID"];
7231
+ var _excluded$q = ["children", "visible", "intent", "style", "testID"];
7192
7232
  var Status = function Status(_ref) {
7193
7233
  var children = _ref.children,
7194
7234
  _ref$visible = _ref.visible,
@@ -7197,7 +7237,7 @@ var Status = function Status(_ref) {
7197
7237
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
7198
7238
  style = _ref.style,
7199
7239
  testID = _ref.testID,
7200
- nativeProps = _objectWithoutProperties(_ref, _excluded$p);
7240
+ nativeProps = _objectWithoutProperties(_ref, _excluded$q);
7201
7241
  var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
7202
7242
  opacity = _React$useRef.current;
7203
7243
  var isFirstRendering = React__default["default"].useRef(true);
@@ -7230,7 +7270,7 @@ var Status = function Status(_ref) {
7230
7270
  }));
7231
7271
  };
7232
7272
 
7233
- var _excluded$o = ["content", "visible", "max", "intent", "style", "testID"];
7273
+ var _excluded$p = ["content", "visible", "max", "intent", "style", "testID"];
7234
7274
  var DEFAULT_MAX_NUMBER = 99;
7235
7275
  var getPaddingState = function getPaddingState(content) {
7236
7276
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -7245,7 +7285,7 @@ var Badge = function Badge(_ref) {
7245
7285
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
7246
7286
  style = _ref.style,
7247
7287
  testID = _ref.testID,
7248
- nativeProps = _objectWithoutProperties(_ref, _excluded$o);
7288
+ nativeProps = _objectWithoutProperties(_ref, _excluded$p);
7249
7289
  var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
7250
7290
  opacity = _React$useRef.current;
7251
7291
  var isFirstRendering = React__default["default"].useRef(true);
@@ -7349,7 +7389,7 @@ function omit(keys, obj) {
7349
7389
  return result;
7350
7390
  }
7351
7391
 
7352
- var _excluded$n = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
7392
+ var _excluded$o = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
7353
7393
  var getInactiveIcon = function getInactiveIcon(icon) {
7354
7394
  var inactiveIcon = "".concat(icon, "-outlined");
7355
7395
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -7360,7 +7400,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
7360
7400
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
7361
7401
  selectedTabKey = _ref.selectedTabKey,
7362
7402
  tabs = _ref.tabs,
7363
- nativeProps = _objectWithoutProperties(_ref, _excluded$n);
7403
+ nativeProps = _objectWithoutProperties(_ref, _excluded$o);
7364
7404
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
7365
7405
  /**
7366
7406
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -7447,13 +7487,13 @@ var StyledDivider = index$a(reactNative.View)(function (_ref) {
7447
7487
  }, horizontalMargin), verticalMargin);
7448
7488
  });
7449
7489
 
7450
- var _excluded$m = ["marginHorizontal", "marginVertical", "style", "testID"];
7490
+ var _excluded$n = ["marginHorizontal", "marginVertical", "style", "testID"];
7451
7491
  var Divider = function Divider(_ref) {
7452
7492
  var marginHorizontal = _ref.marginHorizontal,
7453
7493
  marginVertical = _ref.marginVertical,
7454
7494
  style = _ref.style,
7455
7495
  testID = _ref.testID,
7456
- nativeProps = _objectWithoutProperties(_ref, _excluded$m);
7496
+ nativeProps = _objectWithoutProperties(_ref, _excluded$n);
7457
7497
  return /*#__PURE__*/React__default["default"].createElement(StyledDivider, _extends$1({}, nativeProps, {
7458
7498
  themeMarginHorizontal: marginHorizontal,
7459
7499
  themeMarginVertical: marginVertical,
@@ -7583,7 +7623,7 @@ var StyledLoadingDot = index$a(reactNative.View)(function (_ref2) {
7583
7623
  }, themeStyling());
7584
7624
  });
7585
7625
 
7586
- var _excluded$l = ["count", "size", "testID", "themeVariant"];
7626
+ var _excluded$m = ["count", "size", "testID", "themeVariant"];
7587
7627
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
7588
7628
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
7589
7629
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -7615,7 +7655,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
7615
7655
  size = _ref2$size === void 0 ? 12 : _ref2$size,
7616
7656
  testID = _ref2.testID,
7617
7657
  themeVariant = _ref2.themeVariant,
7618
- nativeProps = _objectWithoutProperties(_ref2, _excluded$l);
7658
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$m);
7619
7659
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
7620
7660
  React.useEffect(function () {
7621
7661
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -8042,11 +8082,11 @@ var Header = function Header(_ref) {
8042
8082
  })) : null), showDivider ? /*#__PURE__*/React__default["default"].createElement(Divider, null) : null);
8043
8083
  };
8044
8084
 
8045
- var _excluded$k = ["scrollEventThrottle"];
8085
+ var _excluded$l = ["scrollEventThrottle"];
8046
8086
  var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
8047
8087
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
8048
8088
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
8049
- props = _objectWithoutProperties(_ref, _excluded$k);
8089
+ props = _objectWithoutProperties(_ref, _excluded$l);
8050
8090
  var _useContext = React.useContext(BottomSheetContext),
8051
8091
  setInternalShowDivider = _useContext.setInternalShowDivider;
8052
8092
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -8361,7 +8401,7 @@ var borderWidths = {
8361
8401
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
8362
8402
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
8363
8403
 
8364
- var _excluded$j = ["theme"];
8404
+ var _excluded$k = ["theme"];
8365
8405
  var getThemeValue = function getThemeValue(theme, key, props) {
8366
8406
  var propConfig = config[key];
8367
8407
  var propValue = props[key];
@@ -8388,18 +8428,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
8388
8428
  var configKeys = Object.keys(config);
8389
8429
  var StyledBox = index$a(reactNative.View)(function (_ref5) {
8390
8430
  var theme = _ref5.theme,
8391
- otherProps = _objectWithoutProperties(_ref5, _excluded$j);
8431
+ otherProps = _objectWithoutProperties(_ref5, _excluded$k);
8392
8432
  var styleProps = pick(configKeys, otherProps);
8393
8433
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
8394
8434
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
8395
8435
  });
8396
8436
 
8397
- var _excluded$i = ["children", "style", "testID"];
8437
+ var _excluded$j = ["children", "style", "testID"];
8398
8438
  var Box = function Box(_ref) {
8399
8439
  var children = _ref.children,
8400
8440
  style = _ref.style,
8401
8441
  testID = _ref.testID,
8402
- otherProps = _objectWithoutProperties(_ref, _excluded$i);
8442
+ otherProps = _objectWithoutProperties(_ref, _excluded$j);
8403
8443
  return /*#__PURE__*/React__default["default"].createElement(StyledBox, _extends$1({}, otherProps, {
8404
8444
  style: style,
8405
8445
  testID: testID
@@ -10967,7 +11007,7 @@ var Calendar = function Calendar(_ref) {
10967
11007
  })));
10968
11008
  };
10969
11009
 
10970
- var _excluded$h = ["rounded", "size", "testID", "style"];
11010
+ var _excluded$i = ["rounded", "size", "testID", "style"];
10971
11011
  var Image = function Image(_ref) {
10972
11012
  var _ref$rounded = _ref.rounded,
10973
11013
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -10975,7 +11015,7 @@ var Image = function Image(_ref) {
10975
11015
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
10976
11016
  testID = _ref.testID,
10977
11017
  style = _ref.style,
10978
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$h);
11018
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$i);
10979
11019
  var theme = useTheme();
10980
11020
  var imageSize = theme.__hd__.image.sizes[size];
10981
11021
  return /*#__PURE__*/React__default["default"].createElement(reactNative.Image, _extends$1({
@@ -11179,12 +11219,12 @@ var Indicator = index$a(reactNative.View)(function (_ref2) {
11179
11219
  };
11180
11220
  });
11181
11221
 
11182
- var _excluded$g = ["intent", "children"];
11222
+ var _excluded$h = ["intent", "children"];
11183
11223
  var DataCard = function DataCard(_ref) {
11184
11224
  var _ref$intent = _ref.intent,
11185
11225
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
11186
11226
  children = _ref.children,
11187
- nativeProps = _objectWithoutProperties(_ref, _excluded$g);
11227
+ nativeProps = _objectWithoutProperties(_ref, _excluded$h);
11188
11228
  return /*#__PURE__*/React__default["default"].createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default["default"].createElement(Indicator, {
11189
11229
  themeIntent: intent,
11190
11230
  testID: "data-card-indicator"
@@ -11202,11 +11242,11 @@ var StyledCard$1 = index$a(reactNative.View)(function (_ref) {
11202
11242
  });
11203
11243
  });
11204
11244
 
11205
- var _excluded$f = ["intent", "children"];
11245
+ var _excluded$g = ["intent", "children"];
11206
11246
  var Card = function Card(_ref) {
11207
11247
  var intent = _ref.intent,
11208
11248
  children = _ref.children,
11209
- nativeProps = _objectWithoutProperties(_ref, _excluded$f);
11249
+ nativeProps = _objectWithoutProperties(_ref, _excluded$g);
11210
11250
  return /*#__PURE__*/React__default["default"].createElement(StyledCard$1, _extends$1({}, nativeProps, {
11211
11251
  themeIntent: intent
11212
11252
  }), children);
@@ -11394,7 +11434,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11394
11434
  }));
11395
11435
  });
11396
11436
 
11397
- var _excluded$e = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "pageControlPosition"];
11437
+ var _excluded$f = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "pageControlPosition"];
11398
11438
  function useStateFromProp(initialValue) {
11399
11439
  var _useState = React.useState(initialValue),
11400
11440
  _useState2 = _slicedToArray(_useState, 2),
@@ -11419,7 +11459,7 @@ var Carousel = function Carousel(_ref) {
11419
11459
  shouldShowPagination = _ref$shouldShowPagina === void 0 ? noop : _ref$shouldShowPagina,
11420
11460
  _ref$pageControlPosit = _ref.pageControlPosition,
11421
11461
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'bottom' : _ref$pageControlPosit,
11422
- nativeProps = _objectWithoutProperties(_ref, _excluded$e);
11462
+ nativeProps = _objectWithoutProperties(_ref, _excluded$f);
11423
11463
  useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop);
11424
11464
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
11425
11465
  var carouselRef = React.useRef(null);
@@ -11736,7 +11776,7 @@ var StyledErrorAndMaxLengthContainer = index$a(reactNative.View)(function () {
11736
11776
  };
11737
11777
  });
11738
11778
 
11739
- var _excluded$d = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling"];
11779
+ var _excluded$e = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling"];
11740
11780
  var getVariant$1 = function getVariant(_ref) {
11741
11781
  var disabled = _ref.disabled,
11742
11782
  error = _ref.error,
@@ -11778,13 +11818,15 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
11778
11818
  _ref2$loading = _ref2.loading,
11779
11819
  loading = _ref2$loading === void 0 ? false : _ref2$loading,
11780
11820
  maxLength = _ref2.maxLength,
11821
+ _ref2$hideCharacterCo = _ref2.hideCharacterCount,
11822
+ hideCharacterCount = _ref2$hideCharacterCo === void 0 ? false : _ref2$hideCharacterCo,
11781
11823
  helpText = _ref2.helpText,
11782
11824
  value = _ref2.value,
11783
11825
  defaultValue = _ref2.defaultValue,
11784
11826
  renderInputValue = _ref2.renderInputValue,
11785
11827
  _ref2$allowFontScalin = _ref2.allowFontScaling,
11786
11828
  allowFontScaling = _ref2$allowFontScalin === void 0 ? false : _ref2$allowFontScalin,
11787
- nativeProps = _objectWithoutProperties(_ref2, _excluded$d);
11829
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$e);
11788
11830
  var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
11789
11831
  var isEmptyValue = displayText.length === 0;
11790
11832
  var actualSuffix = loading ? 'loading' : suffix;
@@ -11800,7 +11842,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
11800
11842
  isFocused: isFocused,
11801
11843
  isEmptyValue: isEmptyValue
11802
11844
  });
11803
- var shouldShowMaxLength = maxLength !== undefined;
11845
+ var shouldShowMaxLength = maxLength !== undefined && !hideCharacterCount;
11804
11846
  var theme = useTheme();
11805
11847
  var innerTextInput = React__default["default"].useRef();
11806
11848
  React__default["default"].useImperativeHandle(ref, function () {
@@ -12209,11 +12251,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
12209
12251
  }))));
12210
12252
  };
12211
12253
 
12212
- var _excluded$c = ["variant"];
12254
+ var _excluded$d = ["variant"];
12213
12255
  var DatePicker = function DatePicker(_ref) {
12214
12256
  var _ref$variant = _ref.variant,
12215
12257
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
12216
- props = _objectWithoutProperties(_ref, _excluded$c);
12258
+ props = _objectWithoutProperties(_ref, _excluded$d);
12217
12259
  if (variant === 'calendar') {
12218
12260
  return /*#__PURE__*/React__default["default"].createElement(DatePickerCalendar, props);
12219
12261
  }
@@ -12652,9 +12694,9 @@ var StyledErrorDescription = index$a(Typography.Text)(function (_ref9) {
12652
12694
  };
12653
12695
  });
12654
12696
 
12655
- var _excluded$b = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
12697
+ var _excluded$c = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
12656
12698
  _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
12657
- var renderImage = function renderImage(image) {
12699
+ var renderImage$1 = function renderImage(image) {
12658
12700
  if ( /*#__PURE__*/React.isValidElement(image)) {
12659
12701
  return /*#__PURE__*/React__default["default"].cloneElement(image, {
12660
12702
  testID: 'error-image'
@@ -12678,14 +12720,14 @@ var ErrorPage = function ErrorPage(_ref) {
12678
12720
  onCtaPress = _ref.onCtaPress,
12679
12721
  secondaryCtaText = _ref.secondaryCtaText,
12680
12722
  onSecondaryCtaPress = _ref.onSecondaryCtaPress,
12681
- nativeProps = _objectWithoutProperties(_ref, _excluded$b);
12723
+ nativeProps = _objectWithoutProperties(_ref, _excluded$c);
12682
12724
  var showCta = ctaText && onCtaPress !== undefined;
12683
12725
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
12684
12726
  var showButtonContainer = showCta || showSecondaryCta;
12685
12727
  return /*#__PURE__*/React__default["default"].createElement(StyledErrorContainer$1, _extends$1({
12686
12728
  testID: testID,
12687
12729
  themeVariant: variant
12688
- }, nativeProps), /*#__PURE__*/React__default["default"].createElement(StyledErrorContent, null, image && /*#__PURE__*/React__default["default"].createElement(StyledErrorImageContainer, null, renderImage(image)), /*#__PURE__*/React__default["default"].createElement(StyledErrorTitle, null, title), description && /*#__PURE__*/React__default["default"].createElement(StyledErrorDescription, null, description)), showButtonContainer && /*#__PURE__*/React__default["default"].createElement(StyledErrorButtonContainer, null, showCta && /*#__PURE__*/React__default["default"].createElement(StyledErrorButtonPrimary, {
12730
+ }, nativeProps), /*#__PURE__*/React__default["default"].createElement(StyledErrorContent, null, image && /*#__PURE__*/React__default["default"].createElement(StyledErrorImageContainer, null, renderImage$1(image)), /*#__PURE__*/React__default["default"].createElement(StyledErrorTitle, null, title), description && /*#__PURE__*/React__default["default"].createElement(StyledErrorDescription, null, description)), showButtonContainer && /*#__PURE__*/React__default["default"].createElement(StyledErrorButtonContainer, null, showCta && /*#__PURE__*/React__default["default"].createElement(StyledErrorButtonPrimary, {
12689
12731
  variant: "filled",
12690
12732
  text: ctaText,
12691
12733
  onPress: onCtaPress
@@ -12832,11 +12874,11 @@ var StyledFABContainer = index$a(Box)(function (_ref4) {
12832
12874
  };
12833
12875
  });
12834
12876
 
12835
- var _excluded$a = ["active"];
12877
+ var _excluded$b = ["active"];
12836
12878
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
12837
12879
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
12838
12880
  var active = _ref.active,
12839
- iconProps = _objectWithoutProperties(_ref, _excluded$a);
12881
+ iconProps = _objectWithoutProperties(_ref, _excluded$b);
12840
12882
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
12841
12883
  React.useEffect(function () {
12842
12884
  var animation = reactNative.Animated.timing(rotateAnimation.current, {
@@ -13193,10 +13235,10 @@ var ListItem = function ListItem(_ref) {
13193
13235
  }, prefix && /*#__PURE__*/React__default["default"].createElement(StyledPrefixContainer$1, null, typeof prefix === 'string' ? /*#__PURE__*/React__default["default"].createElement(Icon, {
13194
13236
  icon: prefix,
13195
13237
  intent: disabled ? 'disabled-text' : 'primary'
13196
- }) : prefix), /*#__PURE__*/React__default["default"].createElement(StyledTitleContainer$1, null, /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
13238
+ }) : prefix), /*#__PURE__*/React__default["default"].createElement(StyledTitleContainer$1, null, typeof title === 'string' ? /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
13197
13239
  intent: "body",
13198
13240
  fontSize: "large"
13199
- }, title), !!subtitle && /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
13241
+ }, title) : title, !!subtitle && /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
13200
13242
  intent: "subdued",
13201
13243
  fontSize: "small"
13202
13244
  }, subtitle)), suffix && /*#__PURE__*/React__default["default"].createElement(StyledSuffixContainer$1, null, typeof suffix === 'string' ? /*#__PURE__*/React__default["default"].createElement(Icon, {
@@ -13576,7 +13618,7 @@ var StyledStrokeEnd = index$a(reactNative.View)(function (_ref6) {
13576
13618
  };
13577
13619
  });
13578
13620
 
13579
- var _excluded$9 = ["value", "renderValue", "intent", "style", "testID"];
13621
+ var _excluded$a = ["value", "renderValue", "intent", "style", "testID"];
13580
13622
  var HalfCircle = function HalfCircle(_ref) {
13581
13623
  var type = _ref.type,
13582
13624
  themeIntent = _ref.themeIntent;
@@ -13597,7 +13639,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
13597
13639
  intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
13598
13640
  style = _ref2.style,
13599
13641
  testID = _ref2.testID,
13600
- nativeProps = _objectWithoutProperties(_ref2, _excluded$9);
13642
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$a);
13601
13643
  var theme = useTheme$1();
13602
13644
  var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
13603
13645
  var progressAnimatedValue = React.useRef(new reactNative.Animated.Value(0));
@@ -13714,14 +13756,14 @@ var StyledInner = index$a(reactNative.Animated.View)(function (_ref2) {
13714
13756
  };
13715
13757
  });
13716
13758
 
13717
- var _excluded$8 = ["value", "intent", "style", "testID"];
13759
+ var _excluded$9 = ["value", "intent", "style", "testID"];
13718
13760
  var ProgressBar = function ProgressBar(_ref) {
13719
13761
  var value = _ref.value,
13720
13762
  _ref$intent = _ref.intent,
13721
13763
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
13722
13764
  style = _ref.style,
13723
13765
  testID = _ref.testID,
13724
- nativeProps = _objectWithoutProperties(_ref, _excluded$8);
13766
+ nativeProps = _objectWithoutProperties(_ref, _excluded$9);
13725
13767
  var _useState = React.useState(0),
13726
13768
  _useState2 = _slicedToArray(_useState, 2),
13727
13769
  width = _useState2[0],
@@ -13912,14 +13954,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
13912
13954
  }, dotProps))));
13913
13955
  };
13914
13956
 
13915
- var _excluded$7 = ["testID", "size", "intent"];
13957
+ var _excluded$8 = ["testID", "size", "intent"];
13916
13958
  var Spinner = function Spinner(_ref) {
13917
13959
  var testID = _ref.testID,
13918
13960
  _ref$size = _ref.size,
13919
13961
  size = _ref$size === void 0 ? 'medium' : _ref$size,
13920
13962
  _ref$intent = _ref.intent,
13921
13963
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
13922
- nativeProps = _objectWithoutProperties(_ref, _excluded$7);
13964
+ nativeProps = _objectWithoutProperties(_ref, _excluded$8);
13923
13965
  return /*#__PURE__*/React__default["default"].createElement(StyledView$1, nativeProps, /*#__PURE__*/React__default["default"].createElement(StyledSpinnerContainer, {
13924
13966
  testID: testID
13925
13967
  }, /*#__PURE__*/React__default["default"].createElement(AnimatedSpinner, {
@@ -13952,7 +13994,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
13952
13994
  }, children);
13953
13995
  };
13954
13996
 
13955
- var _excluded$6 = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth"];
13997
+ var _excluded$7 = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth"];
13956
13998
  var renderActions = function renderActions(actions, width, progress, direction) {
13957
13999
  var trans = progress.interpolate({
13958
14000
  inputRange: [0, 1],
@@ -13977,7 +14019,7 @@ var Swipeable = function Swipeable(_ref) {
13977
14019
  leftActionsWidth = _ref.leftActionsWidth,
13978
14020
  rightActions = _ref.rightActions,
13979
14021
  rightActionsWidth = _ref.rightActionsWidth,
13980
- swipeableProps = _objectWithoutProperties(_ref, _excluded$6);
14022
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$7);
13981
14023
  var _useWindowDimensions = reactNative.useWindowDimensions(),
13982
14024
  width = _useWindowDimensions.width;
13983
14025
  var swipeableRef = React.useRef(null);
@@ -14282,7 +14324,7 @@ var StyledSectionList = index$a(reactNative.SectionList)(function (_ref4) {
14282
14324
  };
14283
14325
  });
14284
14326
 
14285
- var _excluded$5 = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
14327
+ var _excluded$6 = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
14286
14328
  var BaseOptionList = function BaseOptionList(_ref) {
14287
14329
  var keyExtractor = _ref.keyExtractor,
14288
14330
  loading = _ref.loading,
@@ -14291,7 +14333,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
14291
14333
  sections = _ref.sections,
14292
14334
  renderItem = _ref.renderItem,
14293
14335
  sectionListRef = _ref.sectionListRef,
14294
- rest = _objectWithoutProperties(_ref, _excluded$5);
14336
+ rest = _objectWithoutProperties(_ref, _excluded$6);
14295
14337
  var theme = useTheme$1();
14296
14338
  var _useState = React.useState(false),
14297
14339
  _useState2 = _slicedToArray(_useState, 2),
@@ -14360,7 +14402,7 @@ var Option$2 = function Option(_ref) {
14360
14402
  return highlighted === true ? /*#__PURE__*/React__default["default"].createElement(List.Item, props) : /*#__PURE__*/React__default["default"].createElement(List.BasicItem, props);
14361
14403
  };
14362
14404
 
14363
- var _excluded$4 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
14405
+ var _excluded$5 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
14364
14406
  var OptionList$1 = function OptionList(_ref) {
14365
14407
  var keyExtractor = _ref.keyExtractor,
14366
14408
  loading = _ref.loading,
@@ -14371,7 +14413,7 @@ var OptionList$1 = function OptionList(_ref) {
14371
14413
  renderOption = _ref.renderOption,
14372
14414
  value = _ref.value,
14373
14415
  sectionListRef = _ref.sectionListRef,
14374
- rest = _objectWithoutProperties(_ref, _excluded$4);
14416
+ rest = _objectWithoutProperties(_ref, _excluded$5);
14375
14417
  var renderItem = function renderItem(info) {
14376
14418
  var item = info.item;
14377
14419
  var selected = value.includes(info.item.value);
@@ -14559,7 +14601,7 @@ var StyledOptionList = index$a(BaseOptionList)(function (_ref) {
14559
14601
  };
14560
14602
  });
14561
14603
 
14562
- var _excluded$3 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
14604
+ var _excluded$4 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
14563
14605
  var OptionList = function OptionList(_ref) {
14564
14606
  var keyExtractor = _ref.keyExtractor,
14565
14607
  loading = _ref.loading,
@@ -14570,7 +14612,7 @@ var OptionList = function OptionList(_ref) {
14570
14612
  renderOption = _ref.renderOption,
14571
14613
  value = _ref.value,
14572
14614
  sectionListRef = _ref.sectionListRef,
14573
- rest = _objectWithoutProperties(_ref, _excluded$3);
14615
+ rest = _objectWithoutProperties(_ref, _excluded$4);
14574
14616
  var renderItem = function renderItem(info) {
14575
14617
  var item = info.item;
14576
14618
  var selected = item.value === value;
@@ -14735,7 +14777,7 @@ var StyledGradientContainer = index$a(Box)(function (_ref2) {
14735
14777
  };
14736
14778
  });
14737
14779
 
14738
- var _excluded$2 = ["intent", "variant", "style", "onLayout"];
14780
+ var _excluded$3 = ["intent", "variant", "style", "onLayout"];
14739
14781
  var AnimatedLinearGradient = reactNative.Animated.createAnimatedComponent(LinearGradient__default["default"]);
14740
14782
  var gradientPositions = {
14741
14783
  start: {
@@ -14767,7 +14809,7 @@ var Skeleton = function Skeleton(_ref) {
14767
14809
  variant = _ref$variant === void 0 ? 'rounded' : _ref$variant,
14768
14810
  style = _ref.style,
14769
14811
  onLayout = _ref.onLayout,
14770
- props = _objectWithoutProperties(_ref, _excluded$2);
14812
+ props = _objectWithoutProperties(_ref, _excluded$3);
14771
14813
  var theme = useTheme();
14772
14814
  var colors = React.useMemo(function () {
14773
14815
  return getGradientColors(theme, intent);
@@ -14831,6 +14873,134 @@ var Skeleton = function Skeleton(_ref) {
14831
14873
  })));
14832
14874
  };
14833
14875
 
14876
+ var StyledSuccessContainer = index$a(reactNative.View)(function (_ref) {
14877
+ var theme = _ref.theme,
14878
+ themeVariant = _ref.themeVariant;
14879
+ return {
14880
+ display: 'flex',
14881
+ flex: 1,
14882
+ flexDirection: 'column',
14883
+ backgroundColor: themeVariant === 'in-page' ? theme.__hd__.success.colors.inPageBackground : theme.__hd__.success.colors.fullScreenBackground
14884
+ };
14885
+ });
14886
+ var StyledSuccessImage = index$a(Image)(function (_ref2) {
14887
+ var theme = _ref2.theme;
14888
+ return {
14889
+ marginBottom: theme.__hd__.success.space.imageMarginBottom,
14890
+ width: theme.__hd__.success.sizes.image,
14891
+ height: theme.__hd__.success.sizes.image,
14892
+ resizeMode: 'contain'
14893
+ };
14894
+ });
14895
+ var StyledSuccessContent = index$a(reactNative.View)(function (_ref3) {
14896
+ var theme = _ref3.theme;
14897
+ return {
14898
+ display: 'flex',
14899
+ flex: 1,
14900
+ flexDirection: 'column',
14901
+ justifyContent: 'center',
14902
+ alignItems: 'center',
14903
+ padding: theme.__hd__.success.space.wrapperPadding
14904
+ };
14905
+ });
14906
+ var StyledSuccessImageContainer = index$a(reactNative.View)(function (_ref4) {
14907
+ var theme = _ref4.theme;
14908
+ return {
14909
+ marginBottom: theme.__hd__.success.space.imageMarginBottom,
14910
+ width: theme.__hd__.success.sizes.image,
14911
+ height: theme.__hd__.success.sizes.image
14912
+ };
14913
+ });
14914
+ var StyledSuccessTitle = index$a(Typography.Text)(function (_ref5) {
14915
+ var theme = _ref5.theme;
14916
+ return {
14917
+ fontFamily: theme.__hd__.success.fonts.title,
14918
+ fontSize: theme.__hd__.success.fontSizes.title,
14919
+ textAlign: 'center',
14920
+ marginBottom: theme.__hd__.success.space.titleMarginBottom,
14921
+ color: theme.__hd__.success.colors.title
14922
+ };
14923
+ });
14924
+ var StyledSuccessDescription = index$a(Typography.Text)(function (_ref6) {
14925
+ var theme = _ref6.theme;
14926
+ return {
14927
+ fontFamily: theme.__hd__.success.fonts.description,
14928
+ fontSize: theme.__hd__.success.fontSizes.description,
14929
+ textAlign: 'center',
14930
+ color: theme.__hd__.success.colors.description
14931
+ };
14932
+ });
14933
+ var StyledSuccessButtonContainer = index$a(reactNative.View)(function (_ref7) {
14934
+ var theme = _ref7.theme;
14935
+ return {
14936
+ display: 'flex',
14937
+ flexDirection: 'column',
14938
+ justifyContent: 'center',
14939
+ alignItems: 'center',
14940
+ paddingHorizontal: theme.__hd__.success.space.button.wrapperHorizontalPadding,
14941
+ paddingVertical: theme.__hd__.success.space.button.wrapperVerticalPadding
14942
+ };
14943
+ });
14944
+ var StyledSuccessButtonPrimary = index$a(CompoundButton)(function (_ref8) {
14945
+ var theme = _ref8.theme;
14946
+ return {
14947
+ padding: theme.__hd__.success.space.button.padding
14948
+ };
14949
+ });
14950
+ var StyledSuccessModal = index$a(reactNative.Modal)({
14951
+ height: '100%',
14952
+ width: '100%'
14953
+ });
14954
+
14955
+ var _excluded$2 = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress"];
14956
+ var renderImage = function renderImage(image) {
14957
+ if ( /*#__PURE__*/React.isValidElement(image)) {
14958
+ return /*#__PURE__*/React__default["default"].cloneElement(image, {
14959
+ testID: 'success-image'
14960
+ });
14961
+ }
14962
+ return /*#__PURE__*/React__default["default"].createElement(StyledSuccessImage, {
14963
+ source: typeof image === 'string' ? {
14964
+ uri: image
14965
+ } : image,
14966
+ testID: "success-image"
14967
+ });
14968
+ };
14969
+ var SuccessPage = function SuccessPage(_ref) {
14970
+ var _ref$variant = _ref.variant,
14971
+ variant = _ref$variant === void 0 ? 'in-page' : _ref$variant,
14972
+ title = _ref.title,
14973
+ description = _ref.description,
14974
+ image = _ref.image,
14975
+ testID = _ref.testID,
14976
+ ctaText = _ref.ctaText,
14977
+ _ref$onCtaPress = _ref.onCtaPress,
14978
+ onCtaPress = _ref$onCtaPress === void 0 ? noop$1 : _ref$onCtaPress,
14979
+ nativeProps = _objectWithoutProperties(_ref, _excluded$2);
14980
+ return /*#__PURE__*/React__default["default"].createElement(StyledSuccessContainer, _extends$1({
14981
+ testID: testID,
14982
+ themeVariant: variant
14983
+ }, nativeProps), /*#__PURE__*/React__default["default"].createElement(StyledSuccessContent, null, !!image && /*#__PURE__*/React__default["default"].createElement(StyledSuccessImageContainer, null, renderImage(image)), /*#__PURE__*/React__default["default"].createElement(StyledSuccessTitle, null, title), !!description && /*#__PURE__*/React__default["default"].createElement(StyledSuccessDescription, null, description)), !!ctaText && /*#__PURE__*/React__default["default"].createElement(StyledSuccessButtonContainer, null, /*#__PURE__*/React__default["default"].createElement(StyledSuccessButtonPrimary, {
14984
+ text: ctaText,
14985
+ onPress: onCtaPress
14986
+ })));
14987
+ };
14988
+ /**
14989
+ * Renders success page
14990
+ *
14991
+ * @param {SuccessProps} props
14992
+ * @return {*} {ReactElement}
14993
+ */
14994
+ var Success = function Success(props) {
14995
+ var variant = props.variant;
14996
+ if (variant === 'full-screen') {
14997
+ return /*#__PURE__*/React__default["default"].createElement(StyledSuccessModal, {
14998
+ animationType: "slide"
14999
+ }, /*#__PURE__*/React__default["default"].createElement(SuccessPage, props));
15000
+ }
15001
+ return /*#__PURE__*/React__default["default"].createElement(SuccessPage, props);
15002
+ };
15003
+
14834
15004
  var StyledWrapper$1 = index$a(reactNative.View)(function (_ref) {
14835
15005
  var theme = _ref.theme;
14836
15006
  return {
@@ -15461,7 +15631,7 @@ var index$2 = Object.assign(Tabs, {
15461
15631
 
15462
15632
  var getFilledStyles = function getFilledStyles(themeIntent, theme) {
15463
15633
  return {
15464
- textColor: theme.__hd__.tag.colors.text,
15634
+ textColor: theme.__hd__.tag.colors[themeIntent],
15465
15635
  borderColor: theme.__hd__.tag.colors["".concat(themeIntent, "Background")],
15466
15636
  backgroundColor: theme.__hd__.tag.colors["".concat(themeIntent, "Background")]
15467
15637
  };
@@ -32510,6 +32680,7 @@ exports.Select = index$4;
32510
32680
  exports.Skeleton = Skeleton;
32511
32681
  exports.Slider = Slider;
32512
32682
  exports.Spinner = Spinner;
32683
+ exports.Success = Success;
32513
32684
  exports.Swipeable = index$5;
32514
32685
  exports.Switch = index$3;
32515
32686
  exports.Tabs = index$2;