@hero-design/rn 8.74.1 → 8.75.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/lib/index.js CHANGED
@@ -3980,6 +3980,35 @@ var getMapPinTheme = function getMapPinTheme(theme) {
3980
3980
  };
3981
3981
  };
3982
3982
 
3983
+ var getFloatingIslandTheme = function getFloatingIslandTheme(theme) {
3984
+ var colors = {
3985
+ wrapperBackground: theme.colors.defaultGlobalSurface
3986
+ };
3987
+ var radii = {
3988
+ wrapper: theme.radii.rounded
3989
+ };
3990
+ var shadows = {
3991
+ wrapper: theme.shadows["default"]
3992
+ };
3993
+ var space = {
3994
+ wrapperPadding: theme.space.small,
3995
+ wrapperTop: theme.space.smallMedium,
3996
+ prefixMarginRight: theme.space.small,
3997
+ suffixMarginLeft: theme.space.medium,
3998
+ iconPadding: theme.space.smallMedium
3999
+ };
4000
+ var fontSizes = {
4001
+ iconSize: theme.fontSizes.medium
4002
+ };
4003
+ return {
4004
+ colors: colors,
4005
+ radii: radii,
4006
+ shadows: shadows,
4007
+ space: space,
4008
+ fontSizes: fontSizes
4009
+ };
4010
+ };
4011
+
3983
4012
  var getTheme$1 = function getTheme() {
3984
4013
  var scale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : scale$1;
3985
4014
  var systemPallete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : swagSystemPalette$1;
@@ -4033,7 +4062,8 @@ var getTheme$1 = function getTheme() {
4033
4062
  timePicker: getTimePickerTheme(globalTheme),
4034
4063
  toast: getToastTheme(globalTheme),
4035
4064
  toolbar: getToolbarTheme(globalTheme),
4036
- typography: getTypographyTheme(globalTheme)
4065
+ typography: getTypographyTheme(globalTheme),
4066
+ floatingIsland: getFloatingIslandTheme(globalTheme)
4037
4067
  }
4038
4068
  });
4039
4069
  };
@@ -6989,7 +7019,7 @@ var useDeprecation = function useDeprecation(message) {
6989
7019
  }, [message, cond]);
6990
7020
  };
6991
7021
 
6992
- var StyledWrapper$d = index$a(reactNative.Animated.View)({
7022
+ var StyledWrapper$e = index$a(reactNative.Animated.View)({
6993
7023
  margin: 0,
6994
7024
  padding: 0,
6995
7025
  overflow: 'hidden'
@@ -7043,7 +7073,7 @@ var Collapse = function Collapse(_ref) {
7043
7073
  setComponentMounted(true);
7044
7074
  onLayout === null || onLayout === void 0 || onLayout(e);
7045
7075
  }, []);
7046
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$d, {
7076
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$e, {
7047
7077
  style: {
7048
7078
  height: open ? contentHeight : 0
7049
7079
  },
@@ -7057,7 +7087,7 @@ var Collapse = function Collapse(_ref) {
7057
7087
  }, children)));
7058
7088
  };
7059
7089
 
7060
- var StyledWrapper$c = index$a(reactNative.View)(function () {
7090
+ var StyledWrapper$d = index$a(reactNative.View)(function () {
7061
7091
  return {};
7062
7092
  });
7063
7093
  var StyledItemWrapper$1 = index$a(reactNative.View)(function (_ref) {
@@ -7110,7 +7140,7 @@ var StyledText$3 = index$a(reactNative.Text)(function (_ref) {
7110
7140
  });
7111
7141
  });
7112
7142
 
7113
- var _excluded$J = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
7143
+ var _excluded$K = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
7114
7144
  var Text = function Text(_ref) {
7115
7145
  var children = _ref.children,
7116
7146
  _ref$fontSize = _ref.fontSize,
@@ -7123,7 +7153,7 @@ var Text = function Text(_ref) {
7123
7153
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
7124
7154
  _ref$allowFontScaling = _ref.allowFontScaling,
7125
7155
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
7126
- nativeProps = _objectWithoutProperties(_ref, _excluded$J);
7156
+ nativeProps = _objectWithoutProperties(_ref, _excluded$K);
7127
7157
  useDeprecation('Typography.Text is deprecated and will be removed in the next major release, please refer to https://design.employmenthero.com/mobile/Components/typography for the appropriate alternatives.');
7128
7158
  return /*#__PURE__*/React__namespace.default.createElement(StyledText$3, _extends$1({}, nativeProps, {
7129
7159
  themeFontSize: fontSize,
@@ -7153,7 +7183,7 @@ var StyledCaption = index$a(reactNative.Text)(function (_ref) {
7153
7183
  };
7154
7184
  });
7155
7185
 
7156
- var _excluded$I = ["children", "fontWeight", "intent", "allowFontScaling"];
7186
+ var _excluded$J = ["children", "fontWeight", "intent", "allowFontScaling"];
7157
7187
  var Caption = function Caption(_ref) {
7158
7188
  var children = _ref.children,
7159
7189
  _ref$fontWeight = _ref.fontWeight,
@@ -7162,7 +7192,7 @@ var Caption = function Caption(_ref) {
7162
7192
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
7163
7193
  _ref$allowFontScaling = _ref.allowFontScaling,
7164
7194
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
7165
- nativeProps = _objectWithoutProperties(_ref, _excluded$I);
7195
+ nativeProps = _objectWithoutProperties(_ref, _excluded$J);
7166
7196
  return /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
7167
7197
  themeFontWeight: fontWeight,
7168
7198
  themeIntent: intent,
@@ -7181,14 +7211,14 @@ var StyledLabel$1 = index$a(reactNative.Text)(function (_ref) {
7181
7211
  };
7182
7212
  });
7183
7213
 
7184
- var _excluded$H = ["children", "intent", "allowFontScaling"];
7214
+ var _excluded$I = ["children", "intent", "allowFontScaling"];
7185
7215
  var Label = function Label(_ref) {
7186
7216
  var children = _ref.children,
7187
7217
  _ref$intent = _ref.intent,
7188
7218
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
7189
7219
  _ref$allowFontScaling = _ref.allowFontScaling,
7190
7220
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
7191
- nativeProps = _objectWithoutProperties(_ref, _excluded$H);
7221
+ nativeProps = _objectWithoutProperties(_ref, _excluded$I);
7192
7222
  return /*#__PURE__*/React__namespace.default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
7193
7223
  themeIntent: intent,
7194
7224
  allowFontScaling: allowFontScaling
@@ -7209,7 +7239,7 @@ var StyledTitle$1 = index$a(reactNative.Text)(function (_ref) {
7209
7239
  };
7210
7240
  });
7211
7241
 
7212
- var _excluded$G = ["children", "intent", "allowFontScaling", "level", "typeface"];
7242
+ var _excluded$H = ["children", "intent", "allowFontScaling", "level", "typeface"];
7213
7243
  var Title = function Title(_ref) {
7214
7244
  var children = _ref.children,
7215
7245
  _ref$intent = _ref.intent,
@@ -7220,7 +7250,7 @@ var Title = function Title(_ref) {
7220
7250
  level = _ref$level === void 0 ? 'h1' : _ref$level,
7221
7251
  _ref$typeface = _ref.typeface,
7222
7252
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
7223
- nativeProps = _objectWithoutProperties(_ref, _excluded$G);
7253
+ nativeProps = _objectWithoutProperties(_ref, _excluded$H);
7224
7254
  return /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
7225
7255
  themeLevel: level,
7226
7256
  themeTypeface: typeface,
@@ -7255,7 +7285,7 @@ var StyledBody$1 = index$a(reactNative.Text)(function (_ref) {
7255
7285
  };
7256
7286
  });
7257
7287
 
7258
- var _excluded$F = ["children", "intent", "allowFontScaling", "typeface", "variant"];
7288
+ var _excluded$G = ["children", "intent", "allowFontScaling", "typeface", "variant"];
7259
7289
  var Body = function Body(_ref) {
7260
7290
  var children = _ref.children,
7261
7291
  _ref$intent = _ref.intent,
@@ -7266,7 +7296,7 @@ var Body = function Body(_ref) {
7266
7296
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
7267
7297
  _ref$variant = _ref.variant,
7268
7298
  variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
7269
- nativeProps = _objectWithoutProperties(_ref, _excluded$F);
7299
+ nativeProps = _objectWithoutProperties(_ref, _excluded$G);
7270
7300
  return /*#__PURE__*/React__namespace.default.createElement(StyledBody$1, _extends$1({}, nativeProps, {
7271
7301
  themeTypeface: typeface,
7272
7302
  themeIntent: intent,
@@ -7838,10 +7868,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
7838
7868
  };
7839
7869
  });
7840
7870
 
7841
- var _excluded$E = ["style"];
7871
+ var _excluded$F = ["style"];
7842
7872
  var AnimatedIcon = function AnimatedIcon(_ref) {
7843
7873
  var style = _ref.style,
7844
- otherProps = _objectWithoutProperties(_ref, _excluded$E);
7874
+ otherProps = _objectWithoutProperties(_ref, _excluded$F);
7845
7875
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
7846
7876
  React.useEffect(function () {
7847
7877
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
@@ -7946,7 +7976,7 @@ var AccordionItem = function AccordionItem(_ref) {
7946
7976
  }, content));
7947
7977
  };
7948
7978
 
7949
- var _excluded$D = ["key"];
7979
+ var _excluded$E = ["key"];
7950
7980
  var Accordion = function Accordion(_ref) {
7951
7981
  var items = _ref.items,
7952
7982
  activeItemKey = _ref.activeItemKey,
@@ -7962,12 +7992,12 @@ var Accordion = function Accordion(_ref) {
7962
7992
  _usePropsOrInternalSt2 = _slicedToArray(_usePropsOrInternalSt, 2),
7963
7993
  _activeItemKey = _usePropsOrInternalSt2[0],
7964
7994
  _onItemPress = _usePropsOrInternalSt2[1];
7965
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$c, {
7995
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$d, {
7966
7996
  style: style,
7967
7997
  testID: testID
7968
7998
  }, items.map(function (_ref2, index) {
7969
7999
  var key = _ref2.key,
7970
- props = _objectWithoutProperties(_ref2, _excluded$D);
8000
+ props = _objectWithoutProperties(_ref2, _excluded$E);
7971
8001
  var open = _activeItemKey === key;
7972
8002
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
7973
8003
  key: key
@@ -8002,7 +8032,7 @@ var IconContainer$1 = index$a(reactNative.View)(function (_ref2) {
8002
8032
  paddingLeft: theme.__hd__.alert.space.iconLeftPadding
8003
8033
  };
8004
8034
  });
8005
- var StyledIcon$2 = index$a(Icon)(function (_ref3) {
8035
+ var StyledIcon$3 = index$a(Icon)(function (_ref3) {
8006
8036
  var theme = _ref3.theme,
8007
8037
  themeIntent = _ref3.themeIntent;
8008
8038
  return {
@@ -8061,7 +8091,7 @@ var AlertIcon = function AlertIcon(_ref) {
8061
8091
  intent = _ref.intent;
8062
8092
  return icon ? /*#__PURE__*/React__namespace.default.createElement(IconContainer$1, {
8063
8093
  testID: "alert-left-icon"
8064
- }, /*#__PURE__*/React__namespace.default.createElement(StyledIcon$2, {
8094
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledIcon$3, {
8065
8095
  icon: icon,
8066
8096
  size: "small",
8067
8097
  themeIntent: intent
@@ -8102,7 +8132,7 @@ var Alert = function Alert(_ref2) {
8102
8132
  }, typeof actionLabel === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledBody, {
8103
8133
  variant: "small-bold",
8104
8134
  themeIntent: intent
8105
- }, actionLabel) : /*#__PURE__*/React__namespace.default.createElement(StyledIcon$2, {
8135
+ }, actionLabel) : /*#__PURE__*/React__namespace.default.createElement(StyledIcon$3, {
8106
8136
  icon: "cancel",
8107
8137
  size: "small",
8108
8138
  themeIntent: intent
@@ -8177,7 +8207,7 @@ var Attachment = function Attachment(_ref) {
8177
8207
  })) : null);
8178
8208
  };
8179
8209
 
8180
- var StyledWrapper$b = index$a(reactNative.TouchableOpacity)(function (_ref) {
8210
+ var StyledWrapper$c = index$a(reactNative.TouchableOpacity)(function (_ref) {
8181
8211
  var themeSize = _ref.themeSize,
8182
8212
  themeIntent = _ref.themeIntent,
8183
8213
  theme = _ref.theme;
@@ -8246,7 +8276,7 @@ var Avatar = function Avatar(_ref) {
8246
8276
  hasImageError = _useState2[0],
8247
8277
  setHasImageError = _useState2[1];
8248
8278
  if (title === undefined && source === undefined) return null;
8249
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$b, {
8279
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$c, {
8250
8280
  testID: testID,
8251
8281
  onPress: onPress,
8252
8282
  disabled: onPress === undefined,
@@ -8461,7 +8491,7 @@ var borderWidths = {
8461
8491
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
8462
8492
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
8463
8493
 
8464
- var _excluded$C = ["theme"];
8494
+ var _excluded$D = ["theme"];
8465
8495
  var getThemeValue = function getThemeValue(theme, key, props) {
8466
8496
  var propConfig = config[key];
8467
8497
  var propValue = props[key];
@@ -8488,18 +8518,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
8488
8518
  var configKeys = Object.keys(config);
8489
8519
  var StyledBox = index$a(reactNative.View)(function (_ref5) {
8490
8520
  var theme = _ref5.theme,
8491
- otherProps = _objectWithoutProperties(_ref5, _excluded$C);
8521
+ otherProps = _objectWithoutProperties(_ref5, _excluded$D);
8492
8522
  var styleProps = pick(configKeys, otherProps);
8493
8523
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
8494
8524
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
8495
8525
  });
8496
8526
 
8497
- var _excluded$B = ["children", "style", "testID"];
8527
+ var _excluded$C = ["children", "style", "testID"];
8498
8528
  var Box = function Box(_ref) {
8499
8529
  var children = _ref.children,
8500
8530
  style = _ref.style,
8501
8531
  testID = _ref.testID,
8502
- otherProps = _objectWithoutProperties(_ref, _excluded$B);
8532
+ otherProps = _objectWithoutProperties(_ref, _excluded$C);
8503
8533
  return /*#__PURE__*/React__namespace.default.createElement(StyledBox, _extends$1({}, otherProps, {
8504
8534
  style: style,
8505
8535
  testID: testID
@@ -8507,7 +8537,7 @@ var Box = function Box(_ref) {
8507
8537
  };
8508
8538
 
8509
8539
  var VISIBLE_RATIO = 0.7;
8510
- var StyledWrapper$a = index$a(reactNative.View)(function (_ref) {
8540
+ var StyledWrapper$b = index$a(reactNative.View)(function (_ref) {
8511
8541
  var theme = _ref.theme,
8512
8542
  themeSize = _ref.themeSize,
8513
8543
  themeAvatarCount = _ref.themeAvatarCount,
@@ -8645,7 +8675,7 @@ var AvatarStack = function AvatarStack(_ref2) {
8645
8675
  }
8646
8676
  return remain;
8647
8677
  }();
8648
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$a, {
8678
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$b, {
8649
8679
  themeSize: size,
8650
8680
  themeAvatarCount: avatars.length,
8651
8681
  themeHasSurplus: remainingAvatar > 0,
@@ -8720,7 +8750,7 @@ var StyledStatus = index$a(reactNative.Animated.View)(function (_ref3) {
8720
8750
  borderRadius: theme.radii.rounded
8721
8751
  };
8722
8752
  });
8723
- var StyledIcon$1 = index$a(Icon)(function (_ref4) {
8753
+ var StyledIcon$2 = index$a(Icon)(function (_ref4) {
8724
8754
  var themeSize = _ref4.themeSize,
8725
8755
  theme = _ref4.theme;
8726
8756
  return {
@@ -8728,7 +8758,7 @@ var StyledIcon$1 = index$a(Icon)(function (_ref4) {
8728
8758
  };
8729
8759
  });
8730
8760
 
8731
- var _excluded$A = ["children", "visible", "intent", "style", "testID"];
8761
+ var _excluded$B = ["children", "visible", "intent", "style", "testID"];
8732
8762
  var Status = function Status(_ref) {
8733
8763
  var children = _ref.children,
8734
8764
  _ref$visible = _ref.visible,
@@ -8737,7 +8767,7 @@ var Status = function Status(_ref) {
8737
8767
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
8738
8768
  style = _ref.style,
8739
8769
  testID = _ref.testID,
8740
- nativeProps = _objectWithoutProperties(_ref, _excluded$A);
8770
+ nativeProps = _objectWithoutProperties(_ref, _excluded$B);
8741
8771
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
8742
8772
  opacity = _React$useRef.current;
8743
8773
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -8770,7 +8800,7 @@ var Status = function Status(_ref) {
8770
8800
  }));
8771
8801
  };
8772
8802
 
8773
- var _excluded$z = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
8803
+ var _excluded$A = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
8774
8804
  var DEFAULT_MAX_NUMBER = 99;
8775
8805
  var getPaddingState = function getPaddingState(content) {
8776
8806
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -8790,7 +8820,7 @@ var Badge = function Badge(_ref) {
8790
8820
  _ref$variant = _ref.variant,
8791
8821
  variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
8792
8822
  icon = _ref.icon,
8793
- nativeProps = _objectWithoutProperties(_ref, _excluded$z);
8823
+ nativeProps = _objectWithoutProperties(_ref, _excluded$A);
8794
8824
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
8795
8825
  opacity = _React$useRef.current;
8796
8826
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -8828,7 +8858,7 @@ var Badge = function Badge(_ref) {
8828
8858
  }]
8829
8859
  }, style],
8830
8860
  testID: testID
8831
- }), isIconBadge ? /*#__PURE__*/React__namespace.default.createElement(StyledIcon$1, {
8861
+ }), isIconBadge ? /*#__PURE__*/React__namespace.default.createElement(StyledIcon$2, {
8832
8862
  icon: icon,
8833
8863
  themeSize: size,
8834
8864
  intent: "text-inverted"
@@ -8891,7 +8921,7 @@ var StyledBottomBarText = index$a(Typography.Caption)(function (_ref3) {
8891
8921
  };
8892
8922
  });
8893
8923
 
8894
- var _excluded$y = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
8924
+ var _excluded$z = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
8895
8925
  var getInactiveIcon = function getInactiveIcon(icon) {
8896
8926
  var inactiveIcon = "".concat(icon, "-outlined");
8897
8927
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -8902,7 +8932,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
8902
8932
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
8903
8933
  selectedTabKey = _ref.selectedTabKey,
8904
8934
  tabs = _ref.tabs,
8905
- nativeProps = _objectWithoutProperties(_ref, _excluded$y);
8935
+ nativeProps = _objectWithoutProperties(_ref, _excluded$z);
8906
8936
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
8907
8937
  /**
8908
8938
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -8988,13 +9018,13 @@ var StyledDivider = index$a(reactNative.View)(function (_ref) {
8988
9018
  }, horizontalMargin), verticalMargin);
8989
9019
  });
8990
9020
 
8991
- var _excluded$x = ["marginHorizontal", "marginVertical", "style", "testID"];
9021
+ var _excluded$y = ["marginHorizontal", "marginVertical", "style", "testID"];
8992
9022
  var Divider = function Divider(_ref) {
8993
9023
  var marginHorizontal = _ref.marginHorizontal,
8994
9024
  marginVertical = _ref.marginVertical,
8995
9025
  style = _ref.style,
8996
9026
  testID = _ref.testID,
8997
- nativeProps = _objectWithoutProperties(_ref, _excluded$x);
9027
+ nativeProps = _objectWithoutProperties(_ref, _excluded$y);
8998
9028
  return /*#__PURE__*/React__namespace.default.createElement(StyledDivider, _extends$1({}, nativeProps, {
8999
9029
  themeMarginHorizontal: marginHorizontal,
9000
9030
  themeMarginVertical: marginVertical,
@@ -9005,7 +9035,7 @@ var Divider = function Divider(_ref) {
9005
9035
 
9006
9036
  var AnimatedPressable$2 = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
9007
9037
  var AnimatedSafeAreaView = reactNative.Animated.createAnimatedComponent(reactNative.SafeAreaView);
9008
- var StyledWrapper$9 = index$a(reactNative.View)(_objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
9038
+ var StyledWrapper$a = index$a(reactNative.View)(_objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
9009
9039
  flexDirection: 'column-reverse'
9010
9040
  }));
9011
9041
  var StyledKeyboardAvoidingView = index$a(reactNative.KeyboardAvoidingView)(function () {
@@ -9150,7 +9180,7 @@ var StyledLoadingDot = index$a(reactNative.View)(function (_ref) {
9150
9180
  }, themeStyling());
9151
9181
  });
9152
9182
 
9153
- var _excluded$w = ["count", "size", "testID", "themeVariant"];
9183
+ var _excluded$x = ["count", "size", "testID", "themeVariant"];
9154
9184
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
9155
9185
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
9156
9186
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -9182,7 +9212,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
9182
9212
  size = _ref2$size === void 0 ? 12 : _ref2$size,
9183
9213
  testID = _ref2.testID,
9184
9214
  themeVariant = _ref2.themeVariant,
9185
- nativeProps = _objectWithoutProperties(_ref2, _excluded$w);
9215
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$x);
9186
9216
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
9187
9217
  React.useEffect(function () {
9188
9218
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -9625,11 +9655,11 @@ var Header = function Header(_ref) {
9625
9655
  }))) : null), showDivider ? /*#__PURE__*/React__namespace.default.createElement(Divider, null) : null);
9626
9656
  };
9627
9657
 
9628
- var _excluded$v = ["scrollEventThrottle"];
9658
+ var _excluded$w = ["scrollEventThrottle"];
9629
9659
  var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
9630
9660
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
9631
9661
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
9632
- props = _objectWithoutProperties(_ref, _excluded$v);
9662
+ props = _objectWithoutProperties(_ref, _excluded$w);
9633
9663
  var _useContext = React.useContext(BottomSheetContext),
9634
9664
  setInternalShowDivider = _useContext.setInternalShowDivider;
9635
9665
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -9739,7 +9769,7 @@ var BottomSheet = function BottomSheet(_ref) {
9739
9769
  testID: testID,
9740
9770
  onShow: onOpen,
9741
9771
  supportedOrientations: supportedOrientations
9742
- }, /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$9, {
9772
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$a, {
9743
9773
  pointerEvents: "box-none"
9744
9774
  }, /*#__PURE__*/React__namespace.default.createElement(StyledKeyboardAvoidingView, _extends$1({
9745
9775
  behavior: reactNative.Platform.OS === 'ios' ? 'padding' : 'height'
@@ -12441,12 +12471,12 @@ var Indicator = index$a(reactNative.View)(function (_ref2) {
12441
12471
  };
12442
12472
  });
12443
12473
 
12444
- var _excluded$u = ["intent", "children"];
12474
+ var _excluded$v = ["intent", "children"];
12445
12475
  var DataCard = function DataCard(_ref) {
12446
12476
  var _ref$intent = _ref.intent,
12447
12477
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
12448
12478
  children = _ref.children,
12449
- nativeProps = _objectWithoutProperties(_ref, _excluded$u);
12479
+ nativeProps = _objectWithoutProperties(_ref, _excluded$v);
12450
12480
  return /*#__PURE__*/React__namespace.default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__namespace.default.createElement(Indicator, {
12451
12481
  themeIntent: intent,
12452
12482
  testID: "data-card-indicator"
@@ -12465,13 +12495,13 @@ var StyledCard$1 = index$a(reactNative.View)(function (_ref) {
12465
12495
  });
12466
12496
  });
12467
12497
 
12468
- var _excluded$t = ["intent", "children", "variant"];
12498
+ var _excluded$u = ["intent", "children", "variant"];
12469
12499
  var Card = function Card(_ref) {
12470
12500
  var intent = _ref.intent,
12471
12501
  children = _ref.children,
12472
12502
  _ref$variant = _ref.variant,
12473
12503
  variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
12474
- nativeProps = _objectWithoutProperties(_ref, _excluded$t);
12504
+ nativeProps = _objectWithoutProperties(_ref, _excluded$u);
12475
12505
  return /*#__PURE__*/React__namespace.default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
12476
12506
  themeIntent: intent,
12477
12507
  themeVariant: variant
@@ -12548,7 +12578,7 @@ var StyledPageControl$1 = index$a(PageControl)(function (_ref) {
12548
12578
  marginTop: theme.__hd__.cardCarousel.space.pageControlMarginTop
12549
12579
  };
12550
12580
  });
12551
- var StyledWrapper$8 = index$a(reactNative.View)({});
12581
+ var StyledWrapper$9 = index$a(reactNative.View)({});
12552
12582
  var StyledCard = index$a(Card$1)(function (_ref2) {
12553
12583
  var theme = _ref2.theme;
12554
12584
  return {
@@ -12678,7 +12708,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12678
12708
  }, /*#__PURE__*/React__namespace.default.createElement(StyledCard, null, item));
12679
12709
  }, [itemWidth]);
12680
12710
  var contentContainerPaddingHorizontal = theme.__hd__.cardCarousel.space.contentContainerPaddingHorizontal;
12681
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$8, {
12711
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$9, {
12682
12712
  style: style,
12683
12713
  testID: testID
12684
12714
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.FlatList, {
@@ -12733,7 +12763,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12733
12763
  });
12734
12764
  CardCarousel.displayName = 'CardCarousel';
12735
12765
 
12736
- var _excluded$s = ["rounded", "size", "testID", "style"];
12766
+ var _excluded$t = ["rounded", "size", "testID", "style"];
12737
12767
  var Image = function Image(_ref) {
12738
12768
  var _ref$rounded = _ref.rounded,
12739
12769
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -12741,7 +12771,7 @@ var Image = function Image(_ref) {
12741
12771
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
12742
12772
  testID = _ref.testID,
12743
12773
  style = _ref.style,
12744
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$s);
12774
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$t);
12745
12775
  var theme = useTheme();
12746
12776
  var imageSize = theme.__hd__.image.sizes[size];
12747
12777
  return /*#__PURE__*/React__namespace.default.createElement(reactNative.Image, _extends$1({
@@ -12875,7 +12905,7 @@ var CarouselItem = function CarouselItem(_ref) {
12875
12905
  }, heading), !!body && /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, body)));
12876
12906
  };
12877
12907
 
12878
- var _excluded$r = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
12908
+ var _excluded$s = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
12879
12909
  function useStateFromProp(initialValue) {
12880
12910
  var _useState = React.useState(initialValue),
12881
12911
  _useState2 = _slicedToArray(_useState, 2),
@@ -12902,7 +12932,7 @@ var Carousel = function Carousel(_ref) {
12902
12932
  testID = _ref.testID,
12903
12933
  _ref$pageControlPosit = _ref.pageControlPosition,
12904
12934
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
12905
- nativeProps = _objectWithoutProperties(_ref, _excluded$r);
12935
+ nativeProps = _objectWithoutProperties(_ref, _excluded$s);
12906
12936
  useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop);
12907
12937
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
12908
12938
  var theme = useTheme();
@@ -13116,7 +13146,7 @@ var StyledChipWrapper = index$a(reactNative.TouchableOpacity)(function (_ref) {
13116
13146
  }, getShadowStyles()), getBorderStyles()), getPaddingStyles()), getBackgroundStyles());
13117
13147
  });
13118
13148
 
13119
- var _excluded$q = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
13149
+ var _excluded$r = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
13120
13150
  var Chip = function Chip(_ref) {
13121
13151
  var label = _ref.label,
13122
13152
  _ref$variant = _ref.variant,
@@ -13127,7 +13157,7 @@ var Chip = function Chip(_ref) {
13127
13157
  onPress = _ref.onPress,
13128
13158
  _ref$showSelectedIcon = _ref.showSelectedIcon,
13129
13159
  showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
13130
- otherProps = _objectWithoutProperties(_ref, _excluded$q);
13160
+ otherProps = _objectWithoutProperties(_ref, _excluded$r);
13131
13161
  var shouldShowSelectedIcon = variant === 'outlined' && selected && showSelectedIcon;
13132
13162
  return /*#__PURE__*/React__namespace.default.createElement(StyledChipWrapper, _extends$1({
13133
13163
  onPress: onPress,
@@ -13148,7 +13178,7 @@ var Chip = function Chip(_ref) {
13148
13178
  })));
13149
13179
  };
13150
13180
 
13151
- var StyledWrapper$7 = index$a(reactNative.TouchableOpacity)(function (_ref) {
13181
+ var StyledWrapper$8 = index$a(reactNative.TouchableOpacity)(function (_ref) {
13152
13182
  var theme = _ref.theme,
13153
13183
  themeState = _ref.themeState;
13154
13184
  return {
@@ -13222,7 +13252,7 @@ var Checkbox = function Checkbox(_ref2) {
13222
13252
  disabled: disabled,
13223
13253
  readonly: readonly
13224
13254
  });
13225
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$7, {
13255
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$8, {
13226
13256
  onPress: onPress,
13227
13257
  disabled: disabled || readonly,
13228
13258
  themeState: themeState,
@@ -13368,7 +13398,7 @@ var StyledErrorAndMaxLengthContainer = index$a(reactNative.View)(function () {
13368
13398
  };
13369
13399
  });
13370
13400
 
13371
- var _excluded$p = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
13401
+ var _excluded$q = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
13372
13402
  var getState$2 = function getState(_ref) {
13373
13403
  var disabled = _ref.disabled,
13374
13404
  error = _ref.error,
@@ -13480,7 +13510,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13480
13510
  allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
13481
13511
  _ref8$variant = _ref8.variant,
13482
13512
  variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
13483
- nativeProps = _objectWithoutProperties(_ref8, _excluded$p);
13513
+ nativeProps = _objectWithoutProperties(_ref8, _excluded$q);
13484
13514
  var displayText = getDisplayText(value, defaultValue);
13485
13515
  var isEmptyValue = displayText.length === 0;
13486
13516
  var _React$useState = React__namespace.default.useState({
@@ -14025,11 +14055,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
14025
14055
  }))));
14026
14056
  };
14027
14057
 
14028
- var _excluded$o = ["variant"];
14058
+ var _excluded$p = ["variant"];
14029
14059
  var DatePicker = function DatePicker(_ref) {
14030
14060
  var _ref$variant = _ref.variant,
14031
14061
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
14032
- props = _objectWithoutProperties(_ref, _excluded$o);
14062
+ props = _objectWithoutProperties(_ref, _excluded$p);
14033
14063
  if (variant === 'calendar') {
14034
14064
  return /*#__PURE__*/React__namespace.default.createElement(DatePickerCalendar, props);
14035
14065
  }
@@ -14326,7 +14356,7 @@ var index$7 = Object.assign(Drawer, {
14326
14356
  Dragable: DragableDrawer
14327
14357
  });
14328
14358
 
14329
- var StyledWrapper$6 = index$a(reactNative.View)(function (_ref) {
14359
+ var StyledWrapper$7 = index$a(reactNative.View)(function (_ref) {
14330
14360
  var theme = _ref.theme;
14331
14361
  return {
14332
14362
  display: 'flex',
@@ -14364,7 +14394,7 @@ var Empty = function Empty(_ref) {
14364
14394
  _ref$variant = _ref.variant,
14365
14395
  variant = _ref$variant === void 0 ? 'light' : _ref$variant;
14366
14396
  var theme = useTheme();
14367
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$6, {
14397
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$7, {
14368
14398
  style: style,
14369
14399
  testID: testID
14370
14400
  }, image !== undefined && /*#__PURE__*/React__namespace.default.cloneElement(image, _objectSpread2(_objectSpread2({}, image.props), {}, {
@@ -14583,7 +14613,7 @@ var Portal$1 = Object.assign(Portal, {
14583
14613
  Host: PortalHost
14584
14614
  });
14585
14615
 
14586
- var _excluded$n = ["visible"];
14616
+ var _excluded$o = ["visible"];
14587
14617
  var DEFAULT_BACKDROP_OPACITY = 0.4;
14588
14618
  var DEFAULT_ANIMATION_CONFIG = {
14589
14619
  easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
@@ -14679,7 +14709,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14679
14709
  var ModalWrapper = function ModalWrapper(_ref3) {
14680
14710
  var _ref3$visible = _ref3.visible,
14681
14711
  visible = _ref3$visible === void 0 ? true : _ref3$visible,
14682
- props = _objectWithoutProperties(_ref3, _excluded$n);
14712
+ props = _objectWithoutProperties(_ref3, _excluded$o);
14683
14713
  var modalRef = React.useRef(null);
14684
14714
  var _useState = React.useState(visible),
14685
14715
  _useState2 = _slicedToArray(_useState, 2),
@@ -14789,7 +14819,7 @@ var StyledErrorDescription = index$a(Typography.Body)(function (_ref9) {
14789
14819
  };
14790
14820
  });
14791
14821
 
14792
- var _excluded$m = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
14822
+ var _excluded$n = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
14793
14823
  _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
14794
14824
  var renderImage$1 = function renderImage(image) {
14795
14825
  if ( /*#__PURE__*/React.isValidElement(image)) {
@@ -14815,7 +14845,7 @@ var ErrorPage = function ErrorPage(_ref) {
14815
14845
  onCtaPress = _ref.onCtaPress,
14816
14846
  secondaryCtaText = _ref.secondaryCtaText,
14817
14847
  onSecondaryCtaPress = _ref.onSecondaryCtaPress,
14818
- nativeProps = _objectWithoutProperties(_ref, _excluded$m);
14848
+ nativeProps = _objectWithoutProperties(_ref, _excluded$n);
14819
14849
  var showCta = ctaText && onCtaPress !== undefined;
14820
14850
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
14821
14851
  var showButtonContainer = showCta || showSecondaryCta;
@@ -14948,7 +14978,7 @@ var StyledActionItemText = index$a(Typography.Body)(function (_ref2) {
14948
14978
  color: theme.__hd__.fab.colors.actionItemText
14949
14979
  };
14950
14980
  });
14951
- var StyledIcon = index$a(Icon)(function (_ref3) {
14981
+ var StyledIcon$1 = index$a(Icon)(function (_ref3) {
14952
14982
  var theme = _ref3.theme;
14953
14983
  return {
14954
14984
  color: theme.__hd__.fab.colors.actionItemText
@@ -15038,17 +15068,17 @@ var ActionItem = function ActionItem(_ref) {
15038
15068
  style: style,
15039
15069
  onPress: onPress,
15040
15070
  testID: testID
15041
- }, /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(StyledIconContainer, null, /*#__PURE__*/React__namespace.default.createElement(StyledIcon, {
15071
+ }, /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(StyledIconContainer, null, /*#__PURE__*/React__namespace.default.createElement(StyledIcon$1, {
15042
15072
  size: "xsmall",
15043
15073
  icon: icon
15044
15074
  })), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
15045
15075
  };
15046
15076
 
15047
- var _excluded$l = ["active"];
15077
+ var _excluded$m = ["active"];
15048
15078
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
15049
15079
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
15050
15080
  var active = _ref.active,
15051
- iconProps = _objectWithoutProperties(_ref, _excluded$l);
15081
+ iconProps = _objectWithoutProperties(_ref, _excluded$m);
15052
15082
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
15053
15083
  React.useEffect(function () {
15054
15084
  var animation = reactNative.Animated.spring(rotateAnimation.current, {
@@ -15404,11 +15434,11 @@ var StyledFAB = index$a(FAB$1)(function (_ref) {
15404
15434
  };
15405
15435
  });
15406
15436
 
15407
- var _excluded$k = ["fabConfig", "onCancel"];
15437
+ var _excluded$l = ["fabConfig", "onCancel"];
15408
15438
  var Pair = function Pair(_ref) {
15409
15439
  var fabConfig = _ref.fabConfig,
15410
15440
  onCancel = _ref.onCancel,
15411
- props = _objectWithoutProperties(_ref, _excluded$k);
15441
+ props = _objectWithoutProperties(_ref, _excluded$l);
15412
15442
  var icon = fabConfig.icon,
15413
15443
  title = fabConfig.title,
15414
15444
  onPress = fabConfig.onPress,
@@ -15829,11 +15859,11 @@ var StyledFocusIcon = index$a(Icon)(function (_ref5) {
15829
15859
  };
15830
15860
  });
15831
15861
 
15832
- var _excluded$j = ["style", "testID"];
15862
+ var _excluded$k = ["style", "testID"];
15833
15863
  var MapPinFocussed = function MapPinFocussed(_ref) {
15834
15864
  var style = _ref.style,
15835
15865
  testID = _ref.testID,
15836
- nativeProps = _objectWithoutProperties(_ref, _excluded$j);
15866
+ nativeProps = _objectWithoutProperties(_ref, _excluded$k);
15837
15867
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
15838
15868
  style: style,
15839
15869
  testID: testID
@@ -15843,7 +15873,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
15843
15873
  }));
15844
15874
  };
15845
15875
 
15846
- var _excluded$i = ["style", "testID", "state", "image", "icon"];
15876
+ var _excluded$j = ["style", "testID", "state", "image", "icon"];
15847
15877
  var getBadgeIconName = function getBadgeIconName(state) {
15848
15878
  var iconMap = {
15849
15879
  idle: undefined,
@@ -15859,7 +15889,7 @@ var MapPin = function MapPin(_ref) {
15859
15889
  state = _ref$state === void 0 ? 'idle' : _ref$state,
15860
15890
  image = _ref.image,
15861
15891
  icon = _ref.icon,
15862
- nativeProps = _objectWithoutProperties(_ref, _excluded$i);
15892
+ nativeProps = _objectWithoutProperties(_ref, _excluded$j);
15863
15893
  var badgeIcon = getBadgeIconName(state);
15864
15894
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
15865
15895
  style: style,
@@ -16073,7 +16103,7 @@ var List = {
16073
16103
  BasicItem: BasicListItem
16074
16104
  };
16075
16105
 
16076
- var StyledWrapper$5 = index$a(reactNative.View)(function () {
16106
+ var StyledWrapper$6 = index$a(reactNative.View)(function () {
16077
16107
  return {
16078
16108
  alignContent: 'flex-start'
16079
16109
  };
@@ -16282,7 +16312,7 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
16282
16312
  start: trimmedValue.length
16283
16313
  };
16284
16314
  }, [trimmedValue]);
16285
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$5, {
16315
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$6, {
16286
16316
  style: style,
16287
16317
  testID: testID
16288
16318
  }, /*#__PURE__*/React__namespace.default.createElement(StyledPinWrapper, null, _toConsumableArray(Array(length).keys()).map(function (index) {
@@ -16401,7 +16431,7 @@ var StyledStrokeEnd = index$a(reactNative.View)(function (_ref6) {
16401
16431
  };
16402
16432
  });
16403
16433
 
16404
- var _excluded$h = ["value", "renderValue", "intent", "style", "testID"];
16434
+ var _excluded$i = ["value", "renderValue", "intent", "style", "testID"];
16405
16435
  var HalfCircle = function HalfCircle(_ref) {
16406
16436
  var type = _ref.type,
16407
16437
  themeIntent = _ref.themeIntent;
@@ -16422,7 +16452,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
16422
16452
  intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
16423
16453
  style = _ref2.style,
16424
16454
  testID = _ref2.testID,
16425
- nativeProps = _objectWithoutProperties(_ref2, _excluded$h);
16455
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$i);
16426
16456
  var theme = useTheme$1();
16427
16457
  var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
16428
16458
  var progressAnimatedValue = React.useRef(new reactNative.Animated.Value(0));
@@ -16517,7 +16547,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
16517
16547
  })), /*#__PURE__*/React__namespace.default.createElement(StyledDonutCircle, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, renderValue(value)))));
16518
16548
  };
16519
16549
 
16520
- var StyledWrapper$4 = index$a(reactNative.View)(function (_ref) {
16550
+ var StyledWrapper$5 = index$a(reactNative.View)(function (_ref) {
16521
16551
  var theme = _ref.theme,
16522
16552
  themeIntent = _ref.themeIntent;
16523
16553
  return {
@@ -16538,14 +16568,14 @@ var StyledInner = index$a(reactNative.Animated.View)(function (_ref2) {
16538
16568
  };
16539
16569
  });
16540
16570
 
16541
- var _excluded$g = ["value", "intent", "style", "testID"];
16571
+ var _excluded$h = ["value", "intent", "style", "testID"];
16542
16572
  var ProgressBar = function ProgressBar(_ref) {
16543
16573
  var value = _ref.value,
16544
16574
  _ref$intent = _ref.intent,
16545
16575
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
16546
16576
  style = _ref.style,
16547
16577
  testID = _ref.testID,
16548
- nativeProps = _objectWithoutProperties(_ref, _excluded$g);
16578
+ nativeProps = _objectWithoutProperties(_ref, _excluded$h);
16549
16579
  var _useState = React.useState(0),
16550
16580
  _useState2 = _slicedToArray(_useState, 2),
16551
16581
  width = _useState2[0],
@@ -16571,7 +16601,7 @@ var ProgressBar = function ProgressBar(_ref) {
16571
16601
  outputRange: [999, 0],
16572
16602
  extrapolate: 'clamp'
16573
16603
  });
16574
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$4, _extends$1({}, nativeProps, {
16604
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$5, _extends$1({}, nativeProps, {
16575
16605
  testID: testID,
16576
16606
  style: style,
16577
16607
  themeIntent: intent
@@ -16634,7 +16664,7 @@ var StyledSingleStep = index$a(Box)(function (_ref3) {
16634
16664
  };
16635
16665
  });
16636
16666
 
16637
- var _excluded$f = ["steps", "current", "onLayout"];
16667
+ var _excluded$g = ["steps", "current", "onLayout"];
16638
16668
  var getStepState = function getStepState(current, index) {
16639
16669
  if (index < current) {
16640
16670
  return 'complete';
@@ -16648,7 +16678,7 @@ var ProgressStep = function ProgressStep(_ref) {
16648
16678
  var steps = _ref.steps,
16649
16679
  current = _ref.current,
16650
16680
  onLayout = _ref.onLayout,
16651
- props = _objectWithoutProperties(_ref, _excluded$f);
16681
+ props = _objectWithoutProperties(_ref, _excluded$g);
16652
16682
  var theme = useTheme$1();
16653
16683
  var _React$useState = React__namespace.default.useState(0),
16654
16684
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -16829,14 +16859,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
16829
16859
  }, dotProps))));
16830
16860
  };
16831
16861
 
16832
- var _excluded$e = ["testID", "size", "intent"];
16862
+ var _excluded$f = ["testID", "size", "intent"];
16833
16863
  var Spinner = function Spinner(_ref) {
16834
16864
  var testID = _ref.testID,
16835
16865
  _ref$size = _ref.size,
16836
16866
  size = _ref$size === void 0 ? 'medium' : _ref$size,
16837
16867
  _ref$intent = _ref.intent,
16838
16868
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
16839
- nativeProps = _objectWithoutProperties(_ref, _excluded$e);
16869
+ nativeProps = _objectWithoutProperties(_ref, _excluded$f);
16840
16870
  return /*#__PURE__*/React__namespace.default.createElement(StyledView$1, nativeProps, /*#__PURE__*/React__namespace.default.createElement(StyledSpinnerContainer, {
16841
16871
  testID: testID
16842
16872
  }, /*#__PURE__*/React__namespace.default.createElement(AnimatedSpinner, {
@@ -16869,7 +16899,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
16869
16899
  }, children);
16870
16900
  };
16871
16901
 
16872
- var _excluded$d = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
16902
+ var _excluded$e = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
16873
16903
  var renderActions = function renderActions(actions, width, progress, direction) {
16874
16904
  var trans = progress.interpolate({
16875
16905
  inputRange: [0, 1],
@@ -16898,7 +16928,7 @@ var Swipeable = function Swipeable(_ref) {
16898
16928
  rightActionsWidth = _ref.rightActionsWidth,
16899
16929
  _ref$variant = _ref.variant,
16900
16930
  variant = _ref$variant === void 0 ? 'card' : _ref$variant,
16901
- swipeableProps = _objectWithoutProperties(_ref, _excluded$d);
16931
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$e);
16902
16932
  var theme = useTheme();
16903
16933
  var _useWindowDimensions = reactNative.useWindowDimensions(),
16904
16934
  width = _useWindowDimensions.width;
@@ -17098,7 +17128,7 @@ var StyledIconWrapper$2 = index$a(reactNative.View)(function (_ref2) {
17098
17128
  marginRight: theme.__hd__.sectionHeading.space.iconMarginRight
17099
17129
  };
17100
17130
  });
17101
- var StyledWrapper$3 = index$a(reactNative.View)(function () {
17131
+ var StyledWrapper$4 = index$a(reactNative.View)(function () {
17102
17132
  return {
17103
17133
  display: 'flex',
17104
17134
  flexDirection: 'row',
@@ -17135,7 +17165,7 @@ var SectionHeading = function SectionHeading(_ref) {
17135
17165
  themeSize: size,
17136
17166
  style: style,
17137
17167
  testID: testID
17138
- }, /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$3, null, /*#__PURE__*/React__namespace.default.createElement(StyledIconWrapper$2, null, icon !== undefined && (typeof icon === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
17168
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$4, null, /*#__PURE__*/React__namespace.default.createElement(StyledIconWrapper$2, null, icon !== undefined && (typeof icon === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
17139
17169
  icon: icon,
17140
17170
  size: ICON_SIZE_MAP[size],
17141
17171
  intent: ICON_INTENT_MAP[intent]
@@ -17249,7 +17279,7 @@ var StyledSectionList = index$a(reactNative.SectionList)(function (_ref4) {
17249
17279
  };
17250
17280
  });
17251
17281
 
17252
- var _excluded$c = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
17282
+ var _excluded$d = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
17253
17283
  var BaseOptionList = function BaseOptionList(_ref) {
17254
17284
  var keyExtractor = _ref.keyExtractor,
17255
17285
  loading = _ref.loading,
@@ -17258,7 +17288,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
17258
17288
  sections = _ref.sections,
17259
17289
  renderItem = _ref.renderItem,
17260
17290
  sectionListRef = _ref.sectionListRef,
17261
- rest = _objectWithoutProperties(_ref, _excluded$c);
17291
+ rest = _objectWithoutProperties(_ref, _excluded$d);
17262
17292
  var theme = useTheme$1();
17263
17293
  var _useState = React.useState(false),
17264
17294
  _useState2 = _slicedToArray(_useState, 2),
@@ -17328,7 +17358,7 @@ var Option$2 = function Option(_ref) {
17328
17358
  return highlighted === true ? /*#__PURE__*/React__namespace.default.createElement(List.Item, props) : /*#__PURE__*/React__namespace.default.createElement(List.BasicItem, props);
17329
17359
  };
17330
17360
 
17331
- var _excluded$b = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
17361
+ var _excluded$c = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
17332
17362
  var OptionList$1 = function OptionList(_ref) {
17333
17363
  var keyExtractor = _ref.keyExtractor,
17334
17364
  loading = _ref.loading,
@@ -17339,7 +17369,7 @@ var OptionList$1 = function OptionList(_ref) {
17339
17369
  renderOption = _ref.renderOption,
17340
17370
  value = _ref.value,
17341
17371
  sectionListRef = _ref.sectionListRef,
17342
- rest = _objectWithoutProperties(_ref, _excluded$b);
17372
+ rest = _objectWithoutProperties(_ref, _excluded$c);
17343
17373
  var renderItem = function renderItem(info) {
17344
17374
  var item = info.item;
17345
17375
  var selected = value.includes(info.item.value);
@@ -17530,7 +17560,7 @@ var StyledOptionList = index$a(BaseOptionList)(function (_ref) {
17530
17560
  };
17531
17561
  });
17532
17562
 
17533
- var _excluded$a = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
17563
+ var _excluded$b = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
17534
17564
  var OptionList = function OptionList(_ref) {
17535
17565
  var keyExtractor = _ref.keyExtractor,
17536
17566
  loading = _ref.loading,
@@ -17541,7 +17571,7 @@ var OptionList = function OptionList(_ref) {
17541
17571
  renderOption = _ref.renderOption,
17542
17572
  value = _ref.value,
17543
17573
  sectionListRef = _ref.sectionListRef,
17544
- rest = _objectWithoutProperties(_ref, _excluded$a);
17574
+ rest = _objectWithoutProperties(_ref, _excluded$b);
17545
17575
  var renderItem = function renderItem(info) {
17546
17576
  var item = info.item;
17547
17577
  var selected = item.value === value;
@@ -17709,7 +17739,7 @@ var StyledGradientContainer = index$a(Box)(function (_ref2) {
17709
17739
  };
17710
17740
  });
17711
17741
 
17712
- var _excluded$9 = ["intent", "variant", "style", "onLayout"];
17742
+ var _excluded$a = ["intent", "variant", "style", "onLayout"];
17713
17743
  var AnimatedLinearGradient = reactNative.Animated.createAnimatedComponent(LinearGradient__default.default);
17714
17744
  var gradientPositions = {
17715
17745
  start: {
@@ -17741,7 +17771,7 @@ var Skeleton = function Skeleton(_ref) {
17741
17771
  variant = _ref$variant === void 0 ? 'rounded' : _ref$variant,
17742
17772
  style = _ref.style,
17743
17773
  onLayout = _ref.onLayout,
17744
- props = _objectWithoutProperties(_ref, _excluded$9);
17774
+ props = _objectWithoutProperties(_ref, _excluded$a);
17745
17775
  var theme = useTheme();
17746
17776
  var colors = React.useMemo(function () {
17747
17777
  return getGradientColors(theme, intent);
@@ -17873,7 +17903,7 @@ var StyledSuccessModal = index$a(ModalWrapper)({
17873
17903
  width: '100%'
17874
17904
  });
17875
17905
 
17876
- var _excluded$8 = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
17906
+ var _excluded$9 = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
17877
17907
  var renderImage = function renderImage(image) {
17878
17908
  if ( /*#__PURE__*/React.isValidElement(image)) {
17879
17909
  return /*#__PURE__*/React__namespace.default.cloneElement(image, {
@@ -17899,7 +17929,7 @@ var SuccessPage = function SuccessPage(_ref) {
17899
17929
  onCtaPress = _ref$onCtaPress === void 0 ? noop$1 : _ref$onCtaPress,
17900
17930
  secondaryCtaText = _ref.secondaryCtaText,
17901
17931
  onSecondaryCtaPress = _ref.onSecondaryCtaPress,
17902
- nativeProps = _objectWithoutProperties(_ref, _excluded$8);
17932
+ nativeProps = _objectWithoutProperties(_ref, _excluded$9);
17903
17933
  var showSecondaryButton = secondaryCtaText && onSecondaryCtaPress;
17904
17934
  return /*#__PURE__*/React__namespace.default.createElement(StyledSuccessContainer, _extends$1({
17905
17935
  testID: testID,
@@ -17933,7 +17963,7 @@ var Success = function Success(props) {
17933
17963
  };
17934
17964
 
17935
17965
  var AnimatedView = reactNative.Animated.createAnimatedComponent(reactNative.View);
17936
- var StyledWrapper$2 = index$a(reactNative.View)(function (_ref) {
17966
+ var StyledWrapper$3 = index$a(reactNative.View)(function (_ref) {
17937
17967
  var theme = _ref.theme;
17938
17968
  return {
17939
17969
  flexDirection: 'row',
@@ -18079,7 +18109,7 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
18079
18109
  return _onPress === null || _onPress === void 0 ? void 0 : _onPress(value);
18080
18110
  },
18081
18111
  testID: testID
18082
- }, /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$2, {
18112
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$3, {
18083
18113
  onLayout: onContainerLayout,
18084
18114
  style: style
18085
18115
  }, options.map(function (opt, index) {
@@ -18103,7 +18133,7 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
18103
18133
  })));
18104
18134
  };
18105
18135
 
18106
- var StyledWrapper$1 = index$a(reactNative.View)(function (_ref) {
18136
+ var StyledWrapper$2 = index$a(reactNative.View)(function (_ref) {
18107
18137
  var theme = _ref.theme,
18108
18138
  themeVariant = _ref.themeVariant;
18109
18139
  return {
@@ -18165,7 +18195,7 @@ var Switch = function Switch(_ref2) {
18165
18195
  testID: testID,
18166
18196
  onPress: onPress,
18167
18197
  disabled: disabled
18168
- }, /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$1, {
18198
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$2, {
18169
18199
  themeVariant: variant,
18170
18200
  style: style
18171
18201
  }, /*#__PURE__*/React__namespace.default.createElement(StyledKnot, {
@@ -18917,7 +18947,7 @@ var StyledText = index$a(Typography.Caption)(function (_ref2) {
18917
18947
  };
18918
18948
  });
18919
18949
 
18920
- var _excluded$7 = ["content", "variant", "intent", "style", "testID"];
18950
+ var _excluded$8 = ["content", "variant", "intent", "style", "testID"];
18921
18951
  var Tag = function Tag(_ref) {
18922
18952
  var content = _ref.content,
18923
18953
  _ref$variant = _ref.variant,
@@ -18926,7 +18956,7 @@ var Tag = function Tag(_ref) {
18926
18956
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
18927
18957
  style = _ref.style,
18928
18958
  testID = _ref.testID,
18929
- nativeProps = _objectWithoutProperties(_ref, _excluded$7);
18959
+ nativeProps = _objectWithoutProperties(_ref, _excluded$8);
18930
18960
  useDeprecation("Tag's variant prop is deprecated and will be removed in the next major release. Please remove it.", variant !== undefined);
18931
18961
  return /*#__PURE__*/React__namespace.default.createElement(StyledView, _extends$1({}, nativeProps, {
18932
18962
  themeIntent: intent,
@@ -19251,10 +19281,10 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
19251
19281
  }));
19252
19282
  };
19253
19283
 
19254
- var _excluded$6 = ["children"];
19284
+ var _excluded$7 = ["children"];
19255
19285
  var Toolbar = function Toolbar(_ref) {
19256
19286
  var children = _ref.children,
19257
- rest = _objectWithoutProperties(_ref, _excluded$6);
19287
+ rest = _objectWithoutProperties(_ref, _excluded$7);
19258
19288
  return /*#__PURE__*/React__namespace.default.createElement(ToolbarWrapper, rest, children);
19259
19289
  };
19260
19290
  var index$1 = Object.assign(Toolbar, {
@@ -19262,7 +19292,7 @@ var index$1 = Object.assign(Toolbar, {
19262
19292
  });
19263
19293
 
19264
19294
  var AnimatedBox = reactNative.Animated.createAnimatedComponent(reactNative.View);
19265
- var StyledWrapper = index$a(Box)({
19295
+ var StyledWrapper$1 = index$a(Box)({
19266
19296
  flexDirection: 'row'
19267
19297
  });
19268
19298
  var StyledIconWrapper = index$a(AnimatedBox)(function (_ref) {
@@ -19273,7 +19303,7 @@ var StyledIconWrapper = index$a(AnimatedBox)(function (_ref) {
19273
19303
  };
19274
19304
  });
19275
19305
 
19276
- var _excluded$5 = ["options", "value", "onChange", "readonly", "disabled"];
19306
+ var _excluded$6 = ["options", "value", "onChange", "readonly", "disabled"];
19277
19307
  var Rate = function Rate(_ref) {
19278
19308
  var options = _ref.options,
19279
19309
  value = _ref.value,
@@ -19282,7 +19312,7 @@ var Rate = function Rate(_ref) {
19282
19312
  readonly = _ref$readonly === void 0 ? false : _ref$readonly,
19283
19313
  _ref$disabled = _ref.disabled,
19284
19314
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
19285
- otherProps = _objectWithoutProperties(_ref, _excluded$5);
19315
+ otherProps = _objectWithoutProperties(_ref, _excluded$6);
19286
19316
  var valueIndex = React.useMemo(function () {
19287
19317
  return options.findIndex(function (item) {
19288
19318
  return item.value === value;
@@ -19300,7 +19330,7 @@ var Rate = function Rate(_ref) {
19300
19330
  useNativeDriver: reactNative.Platform.OS !== 'web'
19301
19331
  }).start();
19302
19332
  }, [value, animatedValue]);
19303
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper, otherProps, options.length > 0 && options.map(function (item, index) {
19333
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$1, otherProps, options.length > 0 && options.map(function (item, index) {
19304
19334
  return /*#__PURE__*/React__namespace.default.createElement(reactNative.Pressable, {
19305
19335
  key: item.value,
19306
19336
  disabled: disabled || readonly,
@@ -36673,30 +36703,30 @@ function AnimatedScroller(_ref) {
36673
36703
  }));
36674
36704
  }
36675
36705
 
36676
- var _excluded$4 = ["fabProps"];
36706
+ var _excluded$5 = ["fabProps"];
36677
36707
  var ScrollViewWithFAB = function ScrollViewWithFAB(_ref) {
36678
36708
  var fabProps = _ref.fabProps,
36679
- props = _objectWithoutProperties(_ref, _excluded$4);
36709
+ props = _objectWithoutProperties(_ref, _excluded$5);
36680
36710
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
36681
36711
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.ScrollView, props),
36682
36712
  fabProps: fabProps
36683
36713
  });
36684
36714
  };
36685
36715
 
36686
- var _excluded$3 = ["fabProps"];
36716
+ var _excluded$4 = ["fabProps"];
36687
36717
  function FlatListWithFAB(_ref) {
36688
36718
  var fabProps = _ref.fabProps,
36689
- props = _objectWithoutProperties(_ref, _excluded$3);
36719
+ props = _objectWithoutProperties(_ref, _excluded$4);
36690
36720
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
36691
36721
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.FlatList, props),
36692
36722
  fabProps: fabProps
36693
36723
  });
36694
36724
  }
36695
36725
 
36696
- var _excluded$2 = ["fabProps"];
36726
+ var _excluded$3 = ["fabProps"];
36697
36727
  function SectionListWithFAB(_ref) {
36698
36728
  var fabProps = _ref.fabProps,
36699
- props = _objectWithoutProperties(_ref, _excluded$2);
36729
+ props = _objectWithoutProperties(_ref, _excluded$3);
36700
36730
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
36701
36731
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.SectionList, props),
36702
36732
  fabProps: fabProps
@@ -36831,7 +36861,7 @@ var SearchTwoLine = function SearchTwoLine(props) {
36831
36861
  })));
36832
36862
  };
36833
36863
 
36834
- var _excluded$1 = ["prefix", "suffix", "style", "allowFontScaling", "accessibilityLabelledBy", "editable", "maxLength", "value", "defaultValue", "placeholder", "disabled", "testID", "variant"];
36864
+ var _excluded$2 = ["prefix", "suffix", "style", "allowFontScaling", "accessibilityLabelledBy", "editable", "maxLength", "value", "defaultValue", "placeholder", "disabled", "testID", "variant"];
36835
36865
  var getState = function getState(_ref) {
36836
36866
  var disabled = _ref.disabled,
36837
36867
  editable = _ref.editable,
@@ -36873,7 +36903,7 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
36873
36903
  testID = props.testID,
36874
36904
  _props$variant = props.variant,
36875
36905
  variant = _props$variant === void 0 ? 'basic' : _props$variant,
36876
- nativeProps = _objectWithoutProperties(props, _excluded$1);
36906
+ nativeProps = _objectWithoutProperties(props, _excluded$2);
36877
36907
  var _React$useState = React__namespace.default.useState(false),
36878
36908
  _React$useState2 = _slicedToArray(_React$useState, 2),
36879
36909
  isFocused = _React$useState2[0],
@@ -36957,11 +36987,11 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
36957
36987
  })));
36958
36988
  });
36959
36989
 
36960
- var _excluded = ["content", "icon"];
36990
+ var _excluded$1 = ["content", "icon"];
36961
36991
  var renderBadge = function renderBadge(props) {
36962
36992
  var content = props.content,
36963
36993
  icon = props.icon,
36964
- rest = _objectWithoutProperties(props, _excluded);
36994
+ rest = _objectWithoutProperties(props, _excluded$1);
36965
36995
  if (content) return /*#__PURE__*/React__namespace.default.createElement(StyledBadge, _extends$1({
36966
36996
  intent: "primary",
36967
36997
  content: content,
@@ -36993,6 +37023,90 @@ var Search = {
36993
37023
  SuffixIcon: SearchSuffixIcon
36994
37024
  };
36995
37025
 
37026
+ var StyledWrapper = index$a.TouchableOpacity(function (_ref) {
37027
+ var theme = _ref.theme;
37028
+ return _objectSpread2({
37029
+ alignSelf: 'flex-start',
37030
+ position: 'absolute',
37031
+ left: '50%',
37032
+ zIndex: 9999,
37033
+ flexDirection: 'row',
37034
+ justifyContent: 'center',
37035
+ alignItems: 'center',
37036
+ padding: theme.__hd__.floatingIsland.space.wrapperPadding,
37037
+ borderRadius: theme.__hd__.floatingIsland.radii.wrapper,
37038
+ backgroundColor: theme.__hd__.floatingIsland.colors.wrapperBackground,
37039
+ top: theme.__hd__.floatingIsland.space.wrapperTop
37040
+ }, theme.__hd__.floatingIsland.shadows.wrapper);
37041
+ });
37042
+ var StyledPrefixWrapper = index$a(Box)(function (_ref2) {
37043
+ var theme = _ref2.theme;
37044
+ return {
37045
+ marginRight: theme.__hd__.floatingIsland.space.prefixMarginRight
37046
+ };
37047
+ });
37048
+ var StyledSuffixWrapper = index$a(Box)(function (_ref3) {
37049
+ var theme = _ref3.theme;
37050
+ return {
37051
+ marginLeft: theme.__hd__.floatingIsland.space.suffixMarginLeft
37052
+ };
37053
+ });
37054
+ var StyledIcon = index$a(Icon)(function (_ref4) {
37055
+ var theme = _ref4.theme;
37056
+ return {
37057
+ padding: theme.__hd__.floatingIsland.space.iconPadding
37058
+ };
37059
+ });
37060
+
37061
+ var _excluded = ["onPress", "onLayout", "style", "children", "prefix", "suffix"];
37062
+ var getPrefixOrSuffix = function getPrefixOrSuffix(_ref) {
37063
+ var element = _ref.element,
37064
+ _ref$isPrefix = _ref.isPrefix,
37065
+ isPrefix = _ref$isPrefix === void 0 ? true : _ref$isPrefix;
37066
+ var Wrapper = isPrefix ? StyledPrefixWrapper : StyledSuffixWrapper;
37067
+ if (typeof element === 'string') {
37068
+ return /*#__PURE__*/React__namespace.default.createElement(Wrapper, null, /*#__PURE__*/React__namespace.default.createElement(StyledIcon, {
37069
+ testID: "floating-island-".concat(isPrefix ? 'prefix' : 'suffix', "-icon"),
37070
+ size: "small",
37071
+ icon: element
37072
+ }));
37073
+ }
37074
+ return /*#__PURE__*/React__namespace.default.createElement(Wrapper, null, element);
37075
+ };
37076
+ var FloatingIsland = function FloatingIsland(_ref2) {
37077
+ var onPress = _ref2.onPress,
37078
+ onLayout = _ref2.onLayout,
37079
+ style = _ref2.style,
37080
+ children = _ref2.children,
37081
+ prefix = _ref2.prefix,
37082
+ suffix = _ref2.suffix,
37083
+ props = _objectWithoutProperties(_ref2, _excluded);
37084
+ var _React$useState = React__namespace.default.useState(0),
37085
+ _React$useState2 = _slicedToArray(_React$useState, 2),
37086
+ width = _React$useState2[0],
37087
+ setWidth = _React$useState2[1];
37088
+ var onWrapperLayout = function onWrapperLayout(event) {
37089
+ setWidth(event.nativeEvent.layout.width);
37090
+ onLayout === null || onLayout === void 0 || onLayout(event);
37091
+ };
37092
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper, _extends$1({}, props, {
37093
+ onLayout: onWrapperLayout,
37094
+ disabled: !onPress,
37095
+ onPress: onPress,
37096
+ style: [style, width > 0 ? {
37097
+ transform: [{
37098
+ translateX: -width / 2
37099
+ }]
37100
+ } : undefined]
37101
+ }), prefix && getPrefixOrSuffix({
37102
+ element: prefix,
37103
+ isPrefix: true
37104
+ }), children, suffix && getPrefixOrSuffix({
37105
+ element: suffix,
37106
+ isPrefix: false
37107
+ }));
37108
+ };
37109
+
36996
37110
  exports.Accordion = Accordion;
36997
37111
  exports.Alert = Alert;
36998
37112
  exports.Attachment = Attachment;
@@ -37016,6 +37130,7 @@ exports.Empty = Empty;
37016
37130
  exports.Error = ErrorComponent;
37017
37131
  exports.FAB = FAB;
37018
37132
  exports.FlatListWithFAB = FlatListWithFAB;
37133
+ exports.FloatingIsland = FloatingIsland;
37019
37134
  exports.HeroDesignProvider = HeroDesignProvider;
37020
37135
  exports.Icon = Icon;
37021
37136
  exports.Image = Image;