@hero-design/rn 8.128.3 → 8.130.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/es/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as reactNative from 'react-native';
2
- import { StyleSheet as StyleSheet$1, Platform, Dimensions, Keyboard, Animated, View, UIManager, LayoutAnimation, TouchableOpacity, Text as Text$1, Easing, useWindowDimensions, TouchableWithoutFeedback, Modal as Modal$1, Image as Image$1, Pressable, SafeAreaView, KeyboardAvoidingView, TouchableHighlight, ScrollView, FlatList, TextInput as TextInput$1, PanResponder, BackHandler, InteractionManager, SectionList, RefreshControl as RefreshControl$1 } from 'react-native';
2
+ import { StyleSheet as StyleSheet$1, Platform, Dimensions, Keyboard, Animated, View, UIManager, LayoutAnimation, TouchableOpacity, Text as Text$1, Easing, useWindowDimensions, TouchableWithoutFeedback, Modal as Modal$1, Image as Image$1, Pressable, KeyboardAvoidingView, TouchableHighlight, ScrollView, FlatList, TextInput as TextInput$1, PanResponder, BackHandler, InteractionManager, SectionList, RefreshControl as RefreshControl$1 } from 'react-native';
3
3
  import * as React from 'react';
4
4
  import React__default, { useState, useEffect, useMemo, useCallback, useRef, useLayoutEffect, createContext, forwardRef, useContext, memo, useReducer, isValidElement, useImperativeHandle } from 'react';
5
5
  import MaskedView from '@react-native-masked-view/masked-view';
6
6
  import { LinearGradient } from 'expo-linear-gradient';
7
7
  import { createIconSet } from 'react-native-vector-icons';
8
- import { useSafeAreaInsets } from 'react-native-safe-area-context';
8
+ import { useSafeAreaInsets, SafeAreaView } from 'react-native-safe-area-context';
9
9
  import { MonthYearPickerViewIOS, MonthYearPickerDialogueAndroid } from '@hero-design/react-native-month-year-picker';
10
10
  import Svg, { G, ForeignObject, Line as Line$1, Path as Path$1, Rect, Mask, Circle as Circle$1, Defs, ClipPath } from 'react-native-svg';
11
11
  import DateTimePicker from '@react-native-community/datetimepicker';
@@ -8184,7 +8184,7 @@ var StyledText$4 = index$c(Text$1)(function (_ref) {
8184
8184
  });
8185
8185
  });
8186
8186
 
8187
- var _excluded$O = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
8187
+ var _excluded$P = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
8188
8188
  /**
8189
8189
  * @deprecated 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.
8190
8190
  */
@@ -8200,7 +8200,7 @@ var Text = function Text(_ref) {
8200
8200
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8201
8201
  _ref$allowFontScaling = _ref.allowFontScaling,
8202
8202
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8203
- nativeProps = _objectWithoutProperties(_ref, _excluded$O);
8203
+ nativeProps = _objectWithoutProperties(_ref, _excluded$P);
8204
8204
  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.');
8205
8205
  return /*#__PURE__*/React__default.createElement(StyledText$4, _extends$1({}, nativeProps, {
8206
8206
  themeFontSize: fontSize,
@@ -8253,10 +8253,10 @@ var pickAccessibilityProps = function pickAccessibilityProps(props) {
8253
8253
  }, {});
8254
8254
  };
8255
8255
 
8256
- var _excluded$N = ["children"];
8256
+ var _excluded$O = ["children"];
8257
8257
  var GradientText = function GradientText(_ref) {
8258
8258
  var children = _ref.children,
8259
- accessibilityProps = _objectWithoutProperties(_ref, _excluded$N);
8259
+ accessibilityProps = _objectWithoutProperties(_ref, _excluded$O);
8260
8260
  var theme = useTheme();
8261
8261
  var gradient = theme.colors.gradients.aiDiagonal;
8262
8262
  var _useState = useState(null),
@@ -8312,7 +8312,7 @@ var GradientText = function GradientText(_ref) {
8312
8312
  }, children));
8313
8313
  };
8314
8314
 
8315
- var _excluded$M = ["children", "fontWeight", "intent", "allowFontScaling", "fontStyle", "style", "testID"];
8315
+ var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling", "fontStyle", "style", "testID"];
8316
8316
  var Caption = function Caption(_ref) {
8317
8317
  var children = _ref.children,
8318
8318
  _ref$fontWeight = _ref.fontWeight,
@@ -8325,7 +8325,7 @@ var Caption = function Caption(_ref) {
8325
8325
  fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8326
8326
  style = _ref.style,
8327
8327
  testID = _ref.testID,
8328
- nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8328
+ nativeProps = _objectWithoutProperties(_ref, _excluded$N);
8329
8329
  var isAi = intent === 'ai';
8330
8330
  var styledText = /*#__PURE__*/React__default.createElement(StyledCaption, _extends$1({}, nativeProps, {
8331
8331
  themeFontWeight: fontWeight,
@@ -8357,7 +8357,7 @@ var StyledLabel$1 = index$c(Text$1)(function (_ref) {
8357
8357
  };
8358
8358
  });
8359
8359
 
8360
- var _excluded$L = ["children", "intent", "allowFontScaling", "fontStyle", "fontWeight", "style", "testID"];
8360
+ var _excluded$M = ["children", "intent", "allowFontScaling", "fontStyle", "fontWeight", "style", "testID"];
8361
8361
  var Label = function Label(_ref) {
8362
8362
  var children = _ref.children,
8363
8363
  _ref$intent = _ref.intent,
@@ -8370,7 +8370,7 @@ var Label = function Label(_ref) {
8370
8370
  fontWeight = _ref$fontWeight === void 0 ? 'regular' : _ref$fontWeight,
8371
8371
  style = _ref.style,
8372
8372
  testID = _ref.testID,
8373
- nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8373
+ nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8374
8374
  var isAi = intent === 'ai';
8375
8375
  var styledText = /*#__PURE__*/React__default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
8376
8376
  themeIntent: isAi ? 'body' : intent,
@@ -8401,7 +8401,7 @@ var StyledTitle$1 = index$c(Text$1)(function (_ref) {
8401
8401
  };
8402
8402
  });
8403
8403
 
8404
- var _excluded$K = ["children", "intent", "allowFontScaling", "level", "typeface", "fontStyle", "style", "testID"];
8404
+ var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface", "fontStyle", "style", "testID"];
8405
8405
  var Title = function Title(_ref) {
8406
8406
  var children = _ref.children,
8407
8407
  _ref$intent = _ref.intent,
@@ -8416,7 +8416,7 @@ var Title = function Title(_ref) {
8416
8416
  fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8417
8417
  style = _ref.style,
8418
8418
  testID = _ref.testID,
8419
- nativeProps = _objectWithoutProperties(_ref, _excluded$K);
8419
+ nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8420
8420
  var isAi = intent === 'ai';
8421
8421
  var styledText = /*#__PURE__*/React__default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
8422
8422
  themeLevel: level,
@@ -8466,7 +8466,7 @@ var StyledBody$2 = index$c(Text$1)(function (_ref) {
8466
8466
  };
8467
8467
  });
8468
8468
 
8469
- var _excluded$J = ["children", "intent", "allowFontScaling", "typeface", "variant", "fontStyle", "style", "testID"];
8469
+ var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant", "fontStyle", "style", "testID"];
8470
8470
  var Body = function Body(_ref) {
8471
8471
  var children = _ref.children,
8472
8472
  _ref$intent = _ref.intent,
@@ -8481,7 +8481,7 @@ var Body = function Body(_ref) {
8481
8481
  fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8482
8482
  style = _ref.style,
8483
8483
  testID = _ref.testID,
8484
- nativeProps = _objectWithoutProperties(_ref, _excluded$J);
8484
+ nativeProps = _objectWithoutProperties(_ref, _excluded$K);
8485
8485
  var isAi = intent === 'ai';
8486
8486
  var styledText = /*#__PURE__*/React__default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
8487
8487
  themeTypeface: typeface,
@@ -8507,7 +8507,7 @@ var Typography = {
8507
8507
  };
8508
8508
 
8509
8509
  // 🔴 DO NOT EDIT — This file is generated automatically.
8510
- var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'global-pound', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rocket-launch', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-edit-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'diamond-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'edit-user-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'feedbacks-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-pound-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'history-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'profile-2user-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 'question-mark', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rocket-launch-outlined', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-2-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-add-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-out-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
8510
+ var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'global-pound', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rocket-launch', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-edit-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'diamond-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'edit-user-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'feedbacks-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-pound-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'history-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'mic-outlined', 'mic-slash-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'profile-2user-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 'question-mark', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rocket-launch-outlined', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-2-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-add-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-out-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
8511
8511
 
8512
8512
  var activate = 59000;
8513
8513
  var adjustment = 59003;
@@ -8589,18 +8589,18 @@ var cancel = 59251;
8589
8589
  var checkmark = 59257;
8590
8590
  var italic = 59358;
8591
8591
  var local_mall_outlined = 59366;
8592
- var number$2 = 59389;
8593
- var percentage = 59395;
8594
- var redeem = 59411;
8595
- var refresh = 59412;
8596
- var remove$1 = 59413;
8597
- var restart = 59415;
8598
- var shopping_basket_outlined = 59433;
8599
- var strikethrough = 59449;
8600
- var sync = 59455;
8601
- var transfer = 59465;
8602
- var unavailable = 59470;
8603
- var underline = 59471;
8592
+ var number$2 = 59391;
8593
+ var percentage = 59397;
8594
+ var redeem = 59413;
8595
+ var refresh = 59414;
8596
+ var remove$1 = 59415;
8597
+ var restart = 59417;
8598
+ var shopping_basket_outlined = 59435;
8599
+ var strikethrough = 59451;
8600
+ var sync = 59457;
8601
+ var transfer = 59467;
8602
+ var unavailable = 59472;
8603
+ var underline = 59473;
8604
8604
  var glyphMap = {
8605
8605
  activate: activate,
8606
8606
  "add-emoji": 59001,
@@ -8981,113 +8981,115 @@ var glyphMap = {
8981
8981
  "menu-expand": 59376,
8982
8982
  "menu-fold-outlined": 59377,
8983
8983
  "menu-unfold-outlined": 59378,
8984
- "moneybag-outlined": 59379,
8985
- "moon-outlined": 59380,
8986
- "more-horizontal": 59381,
8987
- "more-vertical": 59382,
8988
- "morning-outlined": 59383,
8989
- "multiple-folders-outlined": 59384,
8990
- "multiple-users-outlined": 59385,
8991
- "near-me-outlined": 59386,
8992
- "node-outlined": 59387,
8993
- "number-points": 59388,
8984
+ "mic-outlined": 59379,
8985
+ "mic-slash-outlined": 59380,
8986
+ "moneybag-outlined": 59381,
8987
+ "moon-outlined": 59382,
8988
+ "more-horizontal": 59383,
8989
+ "more-vertical": 59384,
8990
+ "morning-outlined": 59385,
8991
+ "multiple-folders-outlined": 59386,
8992
+ "multiple-users-outlined": 59387,
8993
+ "near-me-outlined": 59388,
8994
+ "node-outlined": 59389,
8995
+ "number-points": 59390,
8994
8996
  number: number$2,
8995
- "overview-outlined": 59390,
8996
- "park-outlined": 59391,
8997
- "payment-summary-outlined": 59392,
8998
- "payslip-outlined": 59393,
8999
- "pencil-outlined": 59394,
8997
+ "overview-outlined": 59392,
8998
+ "park-outlined": 59393,
8999
+ "payment-summary-outlined": 59394,
9000
+ "payslip-outlined": 59395,
9001
+ "pencil-outlined": 59396,
9000
9002
  percentage: percentage,
9001
- "phone-outlined": 59396,
9002
- "piggy-bank-outlined": 59397,
9003
- "plane-outlined": 59398,
9004
- "play-circle-outlined": 59399,
9005
- "pound-box-outlined": 59400,
9006
- "pound-card-outlined": 59401,
9007
- "pound-coin-shine-outlined": 59402,
9008
- "pound-credit-card-outlined": 59403,
9009
- "print-outlined": 59404,
9010
- "profile-2user-outlined": 59405,
9011
- "propane-tank-outlined": 59406,
9012
- "qr-code-outlined": 59407,
9013
- "qualification-outlined": 59408,
9014
- "question-mark": 59409,
9015
- "re-assign": 59410,
9003
+ "phone-outlined": 59398,
9004
+ "piggy-bank-outlined": 59399,
9005
+ "plane-outlined": 59400,
9006
+ "play-circle-outlined": 59401,
9007
+ "pound-box-outlined": 59402,
9008
+ "pound-card-outlined": 59403,
9009
+ "pound-coin-shine-outlined": 59404,
9010
+ "pound-credit-card-outlined": 59405,
9011
+ "print-outlined": 59406,
9012
+ "profile-2user-outlined": 59407,
9013
+ "propane-tank-outlined": 59408,
9014
+ "qr-code-outlined": 59409,
9015
+ "qualification-outlined": 59410,
9016
+ "question-mark": 59411,
9017
+ "re-assign": 59412,
9016
9018
  redeem: redeem,
9017
9019
  refresh: refresh,
9018
9020
  remove: remove$1,
9019
- "reply-outlined": 59414,
9021
+ "reply-outlined": 59416,
9020
9022
  restart: restart,
9021
- "restaurant-outlined": 59416,
9022
- "resume-outlined": 59417,
9023
- "return-arrow": 59418,
9024
- "rocket-launch-outlined": 59419,
9025
- "rostering-outlined": 59420,
9026
- "safety-outlined": 59421,
9027
- "save-outlined": 59422,
9028
- "schedule-outlined": 59423,
9029
- "search-outlined": 59424,
9030
- "search-secured-outlined": 59425,
9031
- "send-outlined": 59426,
9032
- "share-1": 59427,
9033
- "share-2": 59428,
9034
- "share-outlined-2": 59429,
9035
- "share-outlined": 59430,
9036
- "shield-check-outlined": 59431,
9037
- "shop-outlined": 59432,
9023
+ "restaurant-outlined": 59418,
9024
+ "resume-outlined": 59419,
9025
+ "return-arrow": 59420,
9026
+ "rocket-launch-outlined": 59421,
9027
+ "rostering-outlined": 59422,
9028
+ "safety-outlined": 59423,
9029
+ "save-outlined": 59424,
9030
+ "schedule-outlined": 59425,
9031
+ "search-outlined": 59426,
9032
+ "search-secured-outlined": 59427,
9033
+ "send-outlined": 59428,
9034
+ "share-1": 59429,
9035
+ "share-2": 59430,
9036
+ "share-outlined-2": 59431,
9037
+ "share-outlined": 59432,
9038
+ "shield-check-outlined": 59433,
9039
+ "shop-outlined": 59434,
9038
9040
  shopping_basket_outlined: shopping_basket_outlined,
9039
- "show-chart-outlined": 59434,
9040
- "single-down-arrow": 59435,
9041
- "single-left-arrow": 59436,
9042
- "single-right-arrow": 59437,
9043
- "single-up-arrow": 59438,
9044
- "smart-match-outlined": 59439,
9045
- "sparkle-2-outlined": 59440,
9046
- "sparkle-outlined": 59441,
9047
- "speaker-active-outlined": 59442,
9048
- "speaker-outlined": 59443,
9049
- "star-circle-outlined": 59444,
9050
- "star-outlined": 59445,
9051
- "start-break-outlined": 59446,
9052
- "stash-outlined": 59447,
9053
- "stopwatch-outlined": 59448,
9041
+ "show-chart-outlined": 59436,
9042
+ "single-down-arrow": 59437,
9043
+ "single-left-arrow": 59438,
9044
+ "single-right-arrow": 59439,
9045
+ "single-up-arrow": 59440,
9046
+ "smart-match-outlined": 59441,
9047
+ "sparkle-2-outlined": 59442,
9048
+ "sparkle-outlined": 59443,
9049
+ "speaker-active-outlined": 59444,
9050
+ "speaker-outlined": 59445,
9051
+ "star-circle-outlined": 59446,
9052
+ "star-outlined": 59447,
9053
+ "start-break-outlined": 59448,
9054
+ "stash-outlined": 59449,
9055
+ "stopwatch-outlined": 59450,
9054
9056
  strikethrough: strikethrough,
9055
- "styler-outlined": 59450,
9056
- "suitcase-clock-outlined": 59451,
9057
- "suitcase-outlined": 59452,
9058
- "survey-outlined": 59453,
9059
- "switch-outlined": 59454,
9057
+ "styler-outlined": 59452,
9058
+ "suitcase-clock-outlined": 59453,
9059
+ "suitcase-outlined": 59454,
9060
+ "survey-outlined": 59455,
9061
+ "switch-outlined": 59456,
9060
9062
  sync: sync,
9061
- "tag-outlined": 59456,
9062
- "target-outlined": 59457,
9063
- "tennis-outlined": 59458,
9064
- "thumb-down-outlined": 59459,
9065
- "thumb-up-outlined": 59460,
9066
- "ticket-outlined": 59461,
9067
- "timesheet-outlined": 59462,
9068
- "timesheets-outlined": 59463,
9069
- "today-outlined": 59464,
9063
+ "tag-outlined": 59458,
9064
+ "target-outlined": 59459,
9065
+ "tennis-outlined": 59460,
9066
+ "thumb-down-outlined": 59461,
9067
+ "thumb-up-outlined": 59462,
9068
+ "ticket-outlined": 59463,
9069
+ "timesheet-outlined": 59464,
9070
+ "timesheets-outlined": 59465,
9071
+ "today-outlined": 59466,
9070
9072
  transfer: transfer,
9071
- "transportation-outlined": 59466,
9072
- "trash-bin-outlined": 59467,
9073
- "umbrela-outlined": 59468,
9074
- "unavailability-outlined": 59469,
9073
+ "transportation-outlined": 59468,
9074
+ "trash-bin-outlined": 59469,
9075
+ "umbrela-outlined": 59470,
9076
+ "unavailability-outlined": 59471,
9075
9077
  unavailable: unavailable,
9076
9078
  underline: underline,
9077
- "union-outlined": 59472,
9078
- "unlock-outlined": 59473,
9079
- "upload-outlined": 59474,
9080
- "user-add-outlined": 59475,
9081
- "user-circle-outlined": 59476,
9082
- "user-gear-outlined": 59477,
9083
- "user-out-outlined": 59478,
9084
- "user-outlined": 59479,
9085
- "user-rectangle-outlined": 59480,
9086
- "video-1-outlined": 59481,
9087
- "video-2-outlined": 59482,
9088
- "volunteer-outlined": 59483,
9089
- "wallet-outlined": 59484,
9090
- "wellness-outlined": 59485
9079
+ "union-outlined": 59474,
9080
+ "unlock-outlined": 59475,
9081
+ "upload-outlined": 59476,
9082
+ "user-add-outlined": 59477,
9083
+ "user-circle-outlined": 59478,
9084
+ "user-gear-outlined": 59479,
9085
+ "user-out-outlined": 59480,
9086
+ "user-outlined": 59481,
9087
+ "user-rectangle-outlined": 59482,
9088
+ "video-1-outlined": 59483,
9089
+ "video-2-outlined": 59484,
9090
+ "volunteer-outlined": 59485,
9091
+ "wallet-outlined": 59486,
9092
+ "wellness-outlined": 59487
9091
9093
  };
9092
9094
 
9093
9095
  var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -9145,22 +9147,22 @@ var SpinWrapper = function SpinWrapper(_ref) {
9145
9147
  }, children);
9146
9148
  };
9147
9149
 
9148
- var _excluded$I = ["style"];
9150
+ var _excluded$J = ["style"];
9149
9151
  var AnimatedIcon = function AnimatedIcon(_ref) {
9150
9152
  var style = _ref.style,
9151
- otherProps = _objectWithoutProperties(_ref, _excluded$I);
9153
+ otherProps = _objectWithoutProperties(_ref, _excluded$J);
9152
9154
  return /*#__PURE__*/React__default.createElement(SpinWrapper, {
9153
9155
  style: style
9154
9156
  }, /*#__PURE__*/React__default.createElement(StyledHeroIcon, otherProps));
9155
9157
  };
9156
9158
 
9157
- var _excluded$H = ["name", "themeSize", "testID", "style"];
9159
+ var _excluded$I = ["name", "themeSize", "testID", "style"];
9158
9160
  var GradientIcon = function GradientIcon(_ref) {
9159
9161
  var name = _ref.name,
9160
9162
  themeSize = _ref.themeSize,
9161
9163
  testID = _ref.testID,
9162
9164
  style = _ref.style,
9163
- accessibilityProps = _objectWithoutProperties(_ref, _excluded$H);
9165
+ accessibilityProps = _objectWithoutProperties(_ref, _excluded$I);
9164
9166
  var theme = useTheme();
9165
9167
  var gradient = theme.colors.gradients.aiDiagonal;
9166
9168
  var size = theme.__hd__.icon.sizes[themeSize];
@@ -9288,7 +9290,7 @@ var AccordionItem = function AccordionItem(_ref) {
9288
9290
  }, content));
9289
9291
  };
9290
9292
 
9291
- var _excluded$G = ["key"];
9293
+ var _excluded$H = ["key"];
9292
9294
  var Accordion = function Accordion(_ref) {
9293
9295
  var items = _ref.items,
9294
9296
  activeItemKey = _ref.activeItemKey,
@@ -9311,7 +9313,7 @@ var Accordion = function Accordion(_ref) {
9311
9313
  accessible: accessible
9312
9314
  }, items.map(function (_ref2, index) {
9313
9315
  var key = _ref2.key,
9314
- props = _objectWithoutProperties(_ref2, _excluded$G);
9316
+ props = _objectWithoutProperties(_ref2, _excluded$H);
9315
9317
  var open = _activeItemKey === key;
9316
9318
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
9317
9319
  key: key
@@ -10147,7 +10149,7 @@ var borderWidths = {
10147
10149
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
10148
10150
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
10149
10151
 
10150
- var _excluded$F = ["theme"];
10152
+ var _excluded$G = ["theme"];
10151
10153
  var getThemeValue = function getThemeValue(theme, key, props) {
10152
10154
  var propConfig = config[key];
10153
10155
  var propValue = props[key];
@@ -10174,18 +10176,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
10174
10176
  var configKeys = Object.keys(config);
10175
10177
  var StyledBox = index$c(View)(function (_ref5) {
10176
10178
  var theme = _ref5.theme,
10177
- otherProps = _objectWithoutProperties(_ref5, _excluded$F);
10179
+ otherProps = _objectWithoutProperties(_ref5, _excluded$G);
10178
10180
  var styleProps = pick(configKeys, otherProps);
10179
10181
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
10180
10182
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
10181
10183
  });
10182
10184
 
10183
- var _excluded$E = ["children", "style", "testID"];
10185
+ var _excluded$F = ["children", "style", "testID"];
10184
10186
  var Box = function Box(_ref) {
10185
10187
  var children = _ref.children,
10186
10188
  style = _ref.style,
10187
10189
  testID = _ref.testID,
10188
- otherProps = _objectWithoutProperties(_ref, _excluded$E);
10190
+ otherProps = _objectWithoutProperties(_ref, _excluded$F);
10189
10191
  return /*#__PURE__*/React__default.createElement(StyledBox, _extends$1({}, otherProps, {
10190
10192
  style: style,
10191
10193
  testID: testID
@@ -10456,7 +10458,7 @@ var StyledIcon$4 = index$c(Icon)(function (_ref6) {
10456
10458
  };
10457
10459
  });
10458
10460
 
10459
- var _excluded$D = ["children", "visible", "intent", "style", "testID"];
10461
+ var _excluded$E = ["children", "visible", "intent", "style", "testID"];
10460
10462
  var Status$1 = function Status(_ref) {
10461
10463
  var children = _ref.children,
10462
10464
  _ref$visible = _ref.visible,
@@ -10465,7 +10467,7 @@ var Status$1 = function Status(_ref) {
10465
10467
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
10466
10468
  style = _ref.style,
10467
10469
  testID = _ref.testID,
10468
- nativeProps = _objectWithoutProperties(_ref, _excluded$D);
10470
+ nativeProps = _objectWithoutProperties(_ref, _excluded$E);
10469
10471
  var _React$useRef = React__default.useRef(new Animated.Value(visible ? 1 : 0)),
10470
10472
  opacity = _React$useRef.current;
10471
10473
  var isFirstRendering = React__default.useRef(true);
@@ -10501,7 +10503,7 @@ var Status$1 = function Status(_ref) {
10501
10503
 
10502
10504
  var DEFAULT_MAX_NUMBER = 99;
10503
10505
 
10504
- var _excluded$C = ["children", "visible", "style", "max", "testID", "content"];
10506
+ var _excluded$D = ["children", "visible", "style", "max", "testID", "content"];
10505
10507
  var Status = function Status(_ref) {
10506
10508
  var children = _ref.children,
10507
10509
  _ref$visible = _ref.visible,
@@ -10511,7 +10513,7 @@ var Status = function Status(_ref) {
10511
10513
  max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
10512
10514
  testID = _ref.testID,
10513
10515
  originalContent = _ref.content,
10514
- nativeProps = _objectWithoutProperties(_ref, _excluded$C);
10516
+ nativeProps = _objectWithoutProperties(_ref, _excluded$D);
10515
10517
  var content = useMemo(function () {
10516
10518
  return originalContent > max ? "".concat(max, "+") : String(originalContent);
10517
10519
  }, [originalContent, max]);
@@ -10523,7 +10525,7 @@ var Status = function Status(_ref) {
10523
10525
  }, /*#__PURE__*/React__default.createElement(StyledCountText, null, content)));
10524
10526
  };
10525
10527
 
10526
- var _excluded$B = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
10528
+ var _excluded$C = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
10527
10529
  var getPaddingState = function getPaddingState(content) {
10528
10530
  return content.length > 1 ? 'wideContent' : 'narrowContent';
10529
10531
  };
@@ -10542,7 +10544,7 @@ var Badge$1 = function Badge(_ref) {
10542
10544
  _ref$variant = _ref.variant,
10543
10545
  variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
10544
10546
  icon = _ref.icon,
10545
- nativeProps = _objectWithoutProperties(_ref, _excluded$B);
10547
+ nativeProps = _objectWithoutProperties(_ref, _excluded$C);
10546
10548
  var _React$useRef = React__default.useRef(new Animated.Value(visible ? 1 : 0)),
10547
10549
  opacity = _React$useRef.current;
10548
10550
  var isFirstRendering = React__default.useRef(true);
@@ -10660,7 +10662,7 @@ var StyledBottomBarText = index$c(Typography.Label)(function (_ref4) {
10660
10662
  };
10661
10663
  });
10662
10664
 
10663
- var _excluded$A = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
10665
+ var _excluded$B = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
10664
10666
  var getInactiveIcon = function getInactiveIcon(icon) {
10665
10667
  var inactiveIcon = "".concat(icon, "-outlined");
10666
10668
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -10671,7 +10673,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
10671
10673
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
10672
10674
  selectedTabKey = _ref.selectedTabKey,
10673
10675
  tabs = _ref.tabs,
10674
- nativeProps = _objectWithoutProperties(_ref, _excluded$A);
10676
+ nativeProps = _objectWithoutProperties(_ref, _excluded$B);
10675
10677
  var insets = useSafeAreaInsets();
10676
10678
  /**
10677
10679
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -10763,13 +10765,13 @@ var StyledDivider = index$c(View)(function (_ref) {
10763
10765
  }, horizontalMargin), verticalMargin);
10764
10766
  });
10765
10767
 
10766
- var _excluded$z = ["marginHorizontal", "marginVertical", "style", "testID"];
10768
+ var _excluded$A = ["marginHorizontal", "marginVertical", "style", "testID"];
10767
10769
  var Divider = function Divider(_ref) {
10768
10770
  var marginHorizontal = _ref.marginHorizontal,
10769
10771
  marginVertical = _ref.marginVertical,
10770
10772
  style = _ref.style,
10771
10773
  testID = _ref.testID,
10772
- nativeProps = _objectWithoutProperties(_ref, _excluded$z);
10774
+ nativeProps = _objectWithoutProperties(_ref, _excluded$A);
10773
10775
  return /*#__PURE__*/React__default.createElement(StyledDivider, _extends$1({}, nativeProps, {
10774
10776
  themeMarginHorizontal: marginHorizontal,
10775
10777
  themeMarginVertical: marginVertical,
@@ -10871,7 +10873,7 @@ var Footer$1 = function Footer(_ref) {
10871
10873
  };
10872
10874
 
10873
10875
  // eslint-disable-next-line @typescript-eslint/no-empty-function
10874
- var noop$2 = function noop() {};
10876
+ var noop$3 = function noop() {};
10875
10877
 
10876
10878
  var StyledLoadingIndicatorWrapper = index$c(View)({
10877
10879
  flexDirection: 'row',
@@ -10900,7 +10902,7 @@ var StyledLoadingDot = index$c(View)(function (_ref) {
10900
10902
  }, themeStyling());
10901
10903
  });
10902
10904
 
10903
- var _excluded$y = ["count", "size", "testID", "themeVariant"];
10905
+ var _excluded$z = ["count", "size", "testID", "themeVariant"];
10904
10906
  var AnimatedLoadingIndicatorWrapper = Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
10905
10907
  var AnimatedLoadingDot = Animated.createAnimatedComponent(StyledLoadingDot);
10906
10908
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -10932,7 +10934,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
10932
10934
  size = _ref2$size === void 0 ? 12 : _ref2$size,
10933
10935
  testID = _ref2.testID,
10934
10936
  themeVariant = _ref2.themeVariant,
10935
- nativeProps = _objectWithoutProperties(_ref2, _excluded$y);
10937
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$z);
10936
10938
  var progressAnimation = useRef(new Animated.Value(0));
10937
10939
  useEffect(function () {
10938
10940
  var animation = Animated.loop(Animated.timing(progressAnimation.current, {
@@ -11536,7 +11538,7 @@ var Header = function Header(_ref) {
11536
11538
  var content = _ref.content,
11537
11539
  showDivider = _ref.showDivider,
11538
11540
  _ref$onRequestClose = _ref.onRequestClose,
11539
- onRequestClose = _ref$onRequestClose === void 0 ? noop$2 : _ref$onRequestClose,
11541
+ onRequestClose = _ref$onRequestClose === void 0 ? noop$3 : _ref$onRequestClose,
11540
11542
  showCloseButton = _ref.showCloseButton,
11541
11543
  _ref$variant = _ref.variant,
11542
11544
  variant = _ref$variant === void 0 ? 'fixed' : _ref$variant;
@@ -11564,11 +11566,11 @@ var Header = function Header(_ref) {
11564
11566
  }))) : null), showDivider ? /*#__PURE__*/React__default.createElement(Divider, null) : null);
11565
11567
  };
11566
11568
 
11567
- var _excluded$x = ["scrollEventThrottle"];
11569
+ var _excluded$y = ["scrollEventThrottle"];
11568
11570
  var BottomSheetScrollView = /*#__PURE__*/forwardRef(function (_ref, ref) {
11569
11571
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
11570
11572
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
11571
- props = _objectWithoutProperties(_ref, _excluded$x);
11573
+ props = _objectWithoutProperties(_ref, _excluded$y);
11572
11574
  var _useContext = useContext(BottomSheetContext),
11573
11575
  setInternalShowDivider = _useContext.setInternalShowDivider;
11574
11576
  var onScrollBeginDrag = useCallback(function (e) {
@@ -14182,7 +14184,7 @@ var setStartOrEndDate = function setStartOrEndDate(_ref2) {
14182
14184
  };
14183
14185
  };
14184
14186
  var shouldUseMonthPicker = function shouldUseMonthPicker(onMonthChange) {
14185
- return onMonthChange !== noop$2;
14187
+ return onMonthChange !== noop$3;
14186
14188
  };
14187
14189
  var getCalendarDate = function getCalendarDate(_ref3) {
14188
14190
  var visibleDate = _ref3.visibleDate,
@@ -14318,20 +14320,20 @@ var CalendarRange = function CalendarRange(_ref) {
14318
14320
  visibleDate = _ref.visibleDate,
14319
14321
  onChange = _ref.onChange,
14320
14322
  _ref$onPreviousPress = _ref.onPreviousPress,
14321
- onPreviousPress = _ref$onPreviousPress === void 0 ? noop$2 : _ref$onPreviousPress,
14323
+ onPreviousPress = _ref$onPreviousPress === void 0 ? noop$3 : _ref$onPreviousPress,
14322
14324
  _ref$onNextPress = _ref.onNextPress,
14323
- onNextPress = _ref$onNextPress === void 0 ? noop$2 : _ref$onNextPress,
14325
+ onNextPress = _ref$onNextPress === void 0 ? noop$3 : _ref$onNextPress,
14324
14326
  _ref$onTitlePress = _ref.onTitlePress,
14325
- onTitlePress = _ref$onTitlePress === void 0 ? noop$2 : _ref$onTitlePress,
14327
+ onTitlePress = _ref$onTitlePress === void 0 ? noop$3 : _ref$onTitlePress,
14326
14328
  minDate = _ref.minDate,
14327
14329
  maxDate = _ref.maxDate,
14328
14330
  _ref$markedDates = _ref.markedDates,
14329
14331
  markedDates = _ref$markedDates === void 0 ? [] : _ref$markedDates,
14330
14332
  testID = _ref.testID,
14331
14333
  _ref$onMonthChange = _ref.onMonthChange,
14332
- onMonthChange = _ref$onMonthChange === void 0 ? noop$2 : _ref$onMonthChange,
14334
+ onMonthChange = _ref$onMonthChange === void 0 ? noop$3 : _ref$onMonthChange,
14333
14335
  _ref$onToggleMonthPic = _ref.onToggleMonthPicker,
14334
- onToggleMonthPicker = _ref$onToggleMonthPic === void 0 ? noop$2 : _ref$onToggleMonthPic,
14336
+ onToggleMonthPicker = _ref$onToggleMonthPic === void 0 ? noop$3 : _ref$onToggleMonthPic,
14335
14337
  monthPickerConfirmLabel = _ref.monthPickerConfirmLabel,
14336
14338
  monthPickerCancelLabel = _ref.monthPickerCancelLabel;
14337
14339
  var theme = useTheme();
@@ -14499,20 +14501,20 @@ var Calendar$1 = function Calendar(_ref) {
14499
14501
  visibleDate = _ref.visibleDate,
14500
14502
  onChange = _ref.onChange,
14501
14503
  _ref$onPreviousPress = _ref.onPreviousPress,
14502
- onPreviousPress = _ref$onPreviousPress === void 0 ? noop$2 : _ref$onPreviousPress,
14504
+ onPreviousPress = _ref$onPreviousPress === void 0 ? noop$3 : _ref$onPreviousPress,
14503
14505
  _ref$onNextPress = _ref.onNextPress,
14504
- onNextPress = _ref$onNextPress === void 0 ? noop$2 : _ref$onNextPress,
14506
+ onNextPress = _ref$onNextPress === void 0 ? noop$3 : _ref$onNextPress,
14505
14507
  _ref$onTitlePress = _ref.onTitlePress,
14506
- onTitlePress = _ref$onTitlePress === void 0 ? noop$2 : _ref$onTitlePress,
14508
+ onTitlePress = _ref$onTitlePress === void 0 ? noop$3 : _ref$onTitlePress,
14507
14509
  minDate = _ref.minDate,
14508
14510
  maxDate = _ref.maxDate,
14509
14511
  _ref$markedDates = _ref.markedDates,
14510
14512
  markedDates = _ref$markedDates === void 0 ? [] : _ref$markedDates,
14511
14513
  testID = _ref.testID,
14512
14514
  _ref$onMonthChange = _ref.onMonthChange,
14513
- onMonthChange = _ref$onMonthChange === void 0 ? noop$2 : _ref$onMonthChange,
14515
+ onMonthChange = _ref$onMonthChange === void 0 ? noop$3 : _ref$onMonthChange,
14514
14516
  _ref$onToggleMonthPic = _ref.onToggleMonthPicker,
14515
- onToggleMonthPicker = _ref$onToggleMonthPic === void 0 ? noop$2 : _ref$onToggleMonthPic,
14517
+ onToggleMonthPicker = _ref$onToggleMonthPic === void 0 ? noop$3 : _ref$onToggleMonthPic,
14516
14518
  monthPickerConfirmLabel = _ref.monthPickerConfirmLabel,
14517
14519
  monthPickerCancelLabel = _ref.monthPickerCancelLabel;
14518
14520
  var theme = useTheme();
@@ -14690,12 +14692,12 @@ var Indicator = index$c(View)(function (_ref3) {
14690
14692
  };
14691
14693
  });
14692
14694
 
14693
- var _excluded$w = ["intent", "children"];
14695
+ var _excluded$x = ["intent", "children"];
14694
14696
  var DataCard = function DataCard(_ref) {
14695
14697
  var _ref$intent = _ref.intent,
14696
14698
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
14697
14699
  children = _ref.children,
14698
- nativeProps = _objectWithoutProperties(_ref, _excluded$w);
14700
+ nativeProps = _objectWithoutProperties(_ref, _excluded$x);
14699
14701
  return /*#__PURE__*/React__default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default.createElement(Indicator, {
14700
14702
  themeIntent: intent,
14701
14703
  testID: "data-card-indicator"
@@ -14714,13 +14716,13 @@ var StyledCard$1 = index$c(View)(function (_ref) {
14714
14716
  });
14715
14717
  });
14716
14718
 
14717
- var _excluded$v = ["intent", "children", "variant"];
14719
+ var _excluded$w = ["intent", "children", "variant"];
14718
14720
  var Card$1 = function Card(_ref) {
14719
14721
  var intent = _ref.intent,
14720
14722
  children = _ref.children,
14721
14723
  _ref$variant = _ref.variant,
14722
14724
  variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
14723
- nativeProps = _objectWithoutProperties(_ref, _excluded$v);
14725
+ nativeProps = _objectWithoutProperties(_ref, _excluded$w);
14724
14726
  return /*#__PURE__*/React__default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
14725
14727
  themeIntent: intent,
14726
14728
  themeVariant: variant
@@ -14987,7 +14989,7 @@ var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
14987
14989
  });
14988
14990
  CardCarousel.displayName = 'CardCarousel';
14989
14991
 
14990
- var _excluded$u = ["rounded", "size", "testID", "style"];
14992
+ var _excluded$v = ["rounded", "size", "testID", "style"];
14991
14993
  /**
14992
14994
  * @deprecated Image component will soon be deprecated. Please use `Image` from `react-native` instead.
14993
14995
  */
@@ -14998,7 +15000,7 @@ var Image = function Image(_ref) {
14998
15000
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
14999
15001
  testID = _ref.testID,
15000
15002
  style = _ref.style,
15001
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$u);
15003
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$v);
15002
15004
  useDeprecation('Image component will soon be deprecated. Please use `Image` from `react-native` instead.');
15003
15005
  var theme = useTheme();
15004
15006
  var imageSize = theme.__hd__.image.sizes[size];
@@ -15133,7 +15135,7 @@ var CarouselItem = function CarouselItem(_ref) {
15133
15135
  }, heading), !!body && /*#__PURE__*/React__default.createElement(Typography.Body, null, body)));
15134
15136
  };
15135
15137
 
15136
- var _excluded$t = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
15138
+ var _excluded$u = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
15137
15139
  function useStateFromProp(initialValue) {
15138
15140
  var _useState = useState(initialValue),
15139
15141
  _useState2 = _slicedToArray(_useState, 2),
@@ -15144,7 +15146,7 @@ function useStateFromProp(initialValue) {
15144
15146
  }, [initialValue]);
15145
15147
  return [value, setValue];
15146
15148
  }
15147
- var noop$1 = function noop(_) {
15149
+ var noop$2 = function noop(_) {
15148
15150
  return true;
15149
15151
  };
15150
15152
  var Carousel = function Carousel(_ref) {
@@ -15156,12 +15158,12 @@ var Carousel = function Carousel(_ref) {
15156
15158
  selectedItemIndex = _ref$selectedItemInde === void 0 ? 0 : _ref$selectedItemInde,
15157
15159
  style = _ref.style,
15158
15160
  _ref$shouldShowPagina = _ref.shouldShowPagination,
15159
- shouldShowPagination = _ref$shouldShowPagina === void 0 ? noop$1 : _ref$shouldShowPagina,
15161
+ shouldShowPagination = _ref$shouldShowPagina === void 0 ? noop$2 : _ref$shouldShowPagina,
15160
15162
  testID = _ref.testID,
15161
15163
  _ref$pageControlPosit = _ref.pageControlPosition,
15162
15164
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
15163
- nativeProps = _objectWithoutProperties(_ref, _excluded$t);
15164
- useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$1);
15165
+ nativeProps = _objectWithoutProperties(_ref, _excluded$u);
15166
+ useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$2);
15165
15167
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
15166
15168
  var theme = useTheme();
15167
15169
  var carouselRef = useRef(null);
@@ -15882,7 +15884,7 @@ function range(start, stop, step) {
15882
15884
  return range;
15883
15885
  }
15884
15886
 
15885
- var noop = {
15887
+ var noop$1 = {
15886
15888
  value: function value() {}
15887
15889
  };
15888
15890
  function dispatch() {
@@ -15956,7 +15958,7 @@ function get$1(type, name) {
15956
15958
  function set$1(type, name, callback) {
15957
15959
  for (var i = 0, n = type.length; i < n; ++i) {
15958
15960
  if (type[i].name === name) {
15959
- type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1));
15961
+ type[i] = noop$1, type = type.slice(0, i).concat(type.slice(i + 1));
15960
15962
  break;
15961
15963
  }
15962
15964
  }
@@ -20431,7 +20433,7 @@ var StyledChipIcon = index$c(Icon)(function (_ref2) {
20431
20433
  };
20432
20434
  });
20433
20435
 
20434
- var _excluded$s = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon", "accessible", "onBlur", "onFocus"];
20436
+ var _excluded$t = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon", "accessible", "onBlur", "onFocus"];
20435
20437
  var getChipLabel = function getChipLabel(label) {
20436
20438
  if (typeof label === 'string') {
20437
20439
  return /*#__PURE__*/React__default.createElement(Typography.Body, {
@@ -20467,7 +20469,7 @@ var Chip = function Chip(_ref) {
20467
20469
  accessible = _ref.accessible,
20468
20470
  onBlur = _ref.onBlur,
20469
20471
  onFocus = _ref.onFocus,
20470
- otherProps = _objectWithoutProperties(_ref, _excluded$s);
20472
+ otherProps = _objectWithoutProperties(_ref, _excluded$t);
20471
20473
  useDeprecation('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
20472
20474
  var renamedVariant = getChipVariant(variant);
20473
20475
  var shouldShowSelectedIcon = (renamedVariant === 'selection' || renamedVariant === 'compact-outlined') && selected && showSelectedIcon;
@@ -20858,7 +20860,7 @@ var StyledErrorAndMaxLengthContainer = index$c(View)(function (_ref14) {
20858
20860
  };
20859
20861
  });
20860
20862
 
20861
- var _excluded$r = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
20863
+ var _excluded$s = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
20862
20864
  var getState$3 = function getState(_ref) {
20863
20865
  var disabled = _ref.disabled,
20864
20866
  error = _ref.error,
@@ -20974,7 +20976,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref8, ref) {
20974
20976
  allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
20975
20977
  _ref8$variant = _ref8.variant,
20976
20978
  variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
20977
- nativeProps = _objectWithoutProperties(_ref8, _excluded$r);
20979
+ nativeProps = _objectWithoutProperties(_ref8, _excluded$s);
20978
20980
  var displayText = getDisplayText(value, defaultValue);
20979
20981
  var isEmptyValue = displayText.length === 0;
20980
20982
  var _React$useState = React__default.useState(0),
@@ -21721,11 +21723,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
21721
21723
  }));
21722
21724
  };
21723
21725
 
21724
- var _excluded$q = ["variant"];
21726
+ var _excluded$r = ["variant"];
21725
21727
  var DatePicker = function DatePicker(_ref) {
21726
21728
  var _ref$variant = _ref.variant,
21727
21729
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
21728
- props = _objectWithoutProperties(_ref, _excluded$q);
21730
+ props = _objectWithoutProperties(_ref, _excluded$r);
21729
21731
  if (variant === 'calendar') {
21730
21732
  return /*#__PURE__*/React__default.createElement(DatePickerCalendar, props);
21731
21733
  }
@@ -21806,7 +21808,7 @@ var StyledDragableDrawerContainer = index$c(Animated.View)(function (_ref5) {
21806
21808
  backgroundColor: theme.__hd__.drawer.colors.background,
21807
21809
  elevation: enableShadow ? theme.__hd__.drawer.shadows.elevation : undefined,
21808
21810
  overflow: 'hidden',
21809
- maxHeight: '100%'
21811
+ height: '100%'
21810
21812
  };
21811
21813
  });
21812
21814
  var StyledHandlerContainer$1 = index$c(View)(function (_ref6) {
@@ -21827,6 +21829,23 @@ var StyledHandler = index$c(View)(function (_ref7) {
21827
21829
  };
21828
21830
  });
21829
21831
 
21832
+ var noop = function noop() {
21833
+ return {};
21834
+ };
21835
+ var DragableDrawerContext = /*#__PURE__*/createContext({
21836
+ isAtMaxHeight: false,
21837
+ scrollYRef: {
21838
+ current: 0
21839
+ },
21840
+ onScrollY: noop,
21841
+ beginPan: noop,
21842
+ movePan: noop,
21843
+ releasePan: noop
21844
+ });
21845
+ var useDragableDrawerContext = function useDragableDrawerContext() {
21846
+ return useContext(DragableDrawerContext);
21847
+ };
21848
+
21830
21849
  var getOffset = function getOffset(height, percentage) {
21831
21850
  if (percentage < 0) return height;
21832
21851
  if (percentage > 100) return 0;
@@ -21855,34 +21874,39 @@ var calculateAnimatedToValue = function calculateAnimatedToValue(position, heigh
21855
21874
  return heightSnapPoints[minIndex];
21856
21875
  };
21857
21876
 
21858
- var DragableDrawer = function DragableDrawer(_ref) {
21859
- var children = _ref.children,
21877
+ var FLICK_VELOCITY_THRESHOLD = 0.3;
21878
+ var SHORT_DRAG_THRESHOLD_PX = 20;
21879
+ var VELOCITY_PROJECTION_FACTOR = 200;
21880
+ var useDragablePan = function useDragablePan(_ref) {
21881
+ var height = _ref.height,
21860
21882
  initialHeightPercentage = _ref.initialHeightPercentage,
21861
- _ref$minimumHeightPer = _ref.minimumHeightPercentage,
21862
- minimumHeightPercentage = _ref$minimumHeightPer === void 0 ? 10 : _ref$minimumHeightPer,
21863
- _ref$snapPoints = _ref.snapPoints,
21864
- snapPoints = _ref$snapPoints === void 0 ? [] : _ref$snapPoints,
21883
+ minimumHeightPercentage = _ref.minimumHeightPercentage,
21884
+ snapPoints = _ref.snapPoints,
21865
21885
  onExpanded = _ref.onExpanded,
21866
- onCollapsed = _ref.onCollapsed,
21867
- testID = _ref.testID;
21868
- var _useState = useState(0),
21869
- _useState2 = _slicedToArray(_useState, 2),
21870
- height = _useState2[0],
21871
- setHeight = _useState2[1];
21886
+ onCollapsed = _ref.onCollapsed;
21872
21887
  var baseHeightForMeasure = useRef(0);
21873
21888
  var snapPointsData = useRef({
21874
21889
  list: [],
21875
21890
  minHeightOffset: 0,
21876
21891
  maxHeightOffset: 0
21877
21892
  });
21878
- // Track drag
21879
21893
  var pan = useRef(new Animated.Value(0)).current;
21880
21894
  var offset = useRef(0);
21881
21895
  var offsetBeforePan = useRef(0);
21882
- var _useState3 = useState(-1),
21896
+ var _useState = useState(-1),
21897
+ _useState2 = _slicedToArray(_useState, 2),
21898
+ animatedToValue = _useState2[0],
21899
+ setAnimatedToValue = _useState2[1];
21900
+ var _useState3 = useState(false),
21883
21901
  _useState4 = _slicedToArray(_useState3, 2),
21884
- animatedToValue = _useState4[0],
21885
- setAnimatedToValue = _useState4[1];
21902
+ isAtMaxHeight = _useState4[0],
21903
+ setIsAtMaxHeight = _useState4[1];
21904
+ var scrollYRef = useRef(0);
21905
+ var minimumHeightPercentageRef = useRef(minimumHeightPercentage);
21906
+ minimumHeightPercentageRef.current = minimumHeightPercentage;
21907
+ var onScrollY = useCallback(function (y) {
21908
+ scrollYRef.current = y;
21909
+ }, []);
21886
21910
  useEffect(function () {
21887
21911
  var id = pan.addListener(function (_ref2) {
21888
21912
  var value = _ref2.value;
@@ -21897,13 +21921,12 @@ var DragableDrawer = function DragableDrawer(_ref) {
21897
21921
  var initialOffset = getOffset(height, initialHeightPercentage || minimumHeightPercentage);
21898
21922
  setAnimatedToValue(initialOffset);
21899
21923
  }
21900
- }, [height]);
21924
+ }, [height, initialHeightPercentage, minimumHeightPercentage]);
21901
21925
  useEffect(function () {
21902
21926
  if (height > 0) {
21903
21927
  pan.setValue(height);
21904
21928
  offset.current = height;
21905
21929
  baseHeightForMeasure.current = height;
21906
- // Calculate snap points information
21907
21930
  snapPointsData.current = calculateSnapPointsData(minimumHeightPercentage, height, snapPoints);
21908
21931
  }
21909
21932
  }, [height, minimumHeightPercentage]);
@@ -21914,11 +21937,18 @@ var DragableDrawer = function DragableDrawer(_ref) {
21914
21937
  useNativeDriver: Platform.OS !== 'web',
21915
21938
  easing: Easing.inOut(Easing.cubic)
21916
21939
  });
21917
- animation.start(function () {
21918
- if (animatedToValue === 0) {
21919
- onExpanded === null || onExpanded === void 0 || onExpanded();
21920
- } else if (animatedToValue === getOffset(height, minimumHeightPercentage)) {
21921
- onCollapsed === null || onCollapsed === void 0 || onCollapsed();
21940
+ animation.start(function (_ref3) {
21941
+ var finished = _ref3.finished;
21942
+ if (finished) {
21943
+ if (animatedToValue === 0) {
21944
+ setIsAtMaxHeight(true);
21945
+ onExpanded === null || onExpanded === void 0 || onExpanded();
21946
+ } else {
21947
+ setIsAtMaxHeight(false);
21948
+ if (animatedToValue === getOffset(height, minimumHeightPercentage)) {
21949
+ onCollapsed === null || onCollapsed === void 0 || onCollapsed();
21950
+ }
21951
+ }
21922
21952
  }
21923
21953
  setAnimatedToValue(-1);
21924
21954
  });
@@ -21926,41 +21956,130 @@ var DragableDrawer = function DragableDrawer(_ref) {
21926
21956
  return animation.stop();
21927
21957
  };
21928
21958
  }
21929
- }, [animatedToValue]);
21959
+ }, [animatedToValue, onExpanded, onCollapsed, height, minimumHeightPercentage]);
21960
+ var beginPan = useCallback(function () {
21961
+ pan.stopAnimation();
21962
+ setIsAtMaxHeight(false);
21963
+ offsetBeforePan.current = offset.current;
21964
+ pan.setOffset(offset.current);
21965
+ pan.setValue(0);
21966
+ }, []);
21967
+ var movePan = useCallback(function (dy) {
21968
+ var _snapPointsData$curre;
21969
+ // Moving toward top, stop at highest snap point
21970
+ if (offsetBeforePan.current + dy < 0) {
21971
+ pan.setValue(-offsetBeforePan.current);
21972
+ return;
21973
+ }
21974
+ // Moving toward bottom, stop at lowest snap point
21975
+ if (offsetBeforePan.current + dy > ((_snapPointsData$curre = snapPointsData.current) === null || _snapPointsData$curre === void 0 ? void 0 : _snapPointsData$curre.minHeightOffset)) {
21976
+ pan.setValue(baseHeightForMeasure.current - baseHeightForMeasure.current * (minimumHeightPercentageRef.current / 100) - offsetBeforePan.current);
21977
+ return;
21978
+ }
21979
+ pan.setValue(dy);
21980
+ }, []);
21981
+ var releasePan = useCallback(function (dy, vy) {
21982
+ pan.flattenOffset();
21983
+ var offsetAfterPan = offsetBeforePan.current + dy;
21984
+ // Flick or short downward drag: snap to the next lower snap point.
21985
+ if (vy > FLICK_VELOCITY_THRESHOLD || dy > SHORT_DRAG_THRESHOLD_PX) {
21986
+ var lowerPoints = snapPointsData.current.list.filter(function (p) {
21987
+ return p > offsetBeforePan.current;
21988
+ }).sort(function (a, b) {
21989
+ return a - b;
21990
+ });
21991
+ if (lowerPoints.length > 0) {
21992
+ setAnimatedToValue(lowerPoints[0]);
21993
+ return;
21994
+ }
21995
+ }
21996
+ // Upward flick or drag: project the intended landing position using
21997
+ // velocity, then snap to the nearest higher snap point to that projection.
21998
+ // This allows fast flicks to skip intermediate snap points.
21999
+ if (vy < -FLICK_VELOCITY_THRESHOLD || dy < -SHORT_DRAG_THRESHOLD_PX) {
22000
+ var projected = offsetAfterPan + vy * VELOCITY_PROJECTION_FACTOR;
22001
+ var higherPoints = snapPointsData.current.list.filter(function (p) {
22002
+ return p < offsetBeforePan.current;
22003
+ }).sort(function (a, b) {
22004
+ return b - a;
22005
+ });
22006
+ if (higherPoints.length > 0) {
22007
+ setAnimatedToValue(calculateAnimatedToValue(projected, higherPoints));
22008
+ return;
22009
+ }
22010
+ }
22011
+ // Otherwise: snap to nearest.
22012
+ setAnimatedToValue(calculateAnimatedToValue(offsetAfterPan, snapPointsData.current.list));
22013
+ }, []);
21930
22014
  var panResponder = useRef(PanResponder.create({
21931
22015
  onMoveShouldSetPanResponder: function onMoveShouldSetPanResponder() {
21932
22016
  return true;
21933
22017
  },
21934
22018
  onPanResponderGrant: function onPanResponderGrant() {
21935
- offsetBeforePan.current = offset.current;
21936
- pan.setOffset(offset.current);
21937
- pan.setValue(0);
22019
+ return beginPan();
21938
22020
  },
21939
22021
  onPanResponderMove: function onPanResponderMove(_, gesture) {
21940
- var _snapPointsData$curre;
21941
- var panDistance = gesture.dy;
21942
- // Moving toward top, stop at highest snap point
21943
- if (offsetBeforePan.current + panDistance < 0) {
21944
- pan.setValue(-offsetBeforePan.current);
21945
- return;
21946
- }
21947
- // Moving toward bottom, stop at lowest snap point
21948
- if (offsetBeforePan.current + panDistance > ((_snapPointsData$curre = snapPointsData.current) === null || _snapPointsData$curre === void 0 ? void 0 : _snapPointsData$curre.minHeightOffset)) {
21949
- pan.setValue(baseHeightForMeasure.current - baseHeightForMeasure.current * (minimumHeightPercentage / 100) - offsetBeforePan.current);
21950
- return;
21951
- }
21952
- pan.setValue(panDistance);
22022
+ return movePan(gesture.dy);
21953
22023
  },
21954
22024
  onPanResponderRelease: function onPanResponderRelease(_, gesture) {
21955
- pan.flattenOffset();
21956
- // Attach to nearest snappoint
21957
- var panDistance = gesture.dy;
21958
- var offsetAfterPan = offsetBeforePan.current + panDistance;
21959
- var animatedValue = calculateAnimatedToValue(offsetAfterPan, snapPointsData.current.list);
21960
- setAnimatedToValue(animatedValue);
22025
+ return releasePan(gesture.dy, gesture.vy);
21961
22026
  }
21962
22027
  })).current;
21963
- return /*#__PURE__*/React__default.createElement(StyledDragableContainer, {
22028
+ return {
22029
+ pan: pan,
22030
+ isAtMaxHeight: isAtMaxHeight,
22031
+ scrollYRef: scrollYRef,
22032
+ onScrollY: onScrollY,
22033
+ beginPan: beginPan,
22034
+ movePan: movePan,
22035
+ releasePan: releasePan,
22036
+ panHandlers: panResponder.panHandlers
22037
+ };
22038
+ };
22039
+
22040
+ var DragableDrawer = function DragableDrawer(_ref) {
22041
+ var children = _ref.children,
22042
+ initialHeightPercentage = _ref.initialHeightPercentage,
22043
+ _ref$minimumHeightPer = _ref.minimumHeightPercentage,
22044
+ minimumHeightPercentage = _ref$minimumHeightPer === void 0 ? 10 : _ref$minimumHeightPer,
22045
+ _ref$snapPoints = _ref.snapPoints,
22046
+ snapPoints = _ref$snapPoints === void 0 ? [] : _ref$snapPoints,
22047
+ onExpanded = _ref.onExpanded,
22048
+ onCollapsed = _ref.onCollapsed,
22049
+ testID = _ref.testID;
22050
+ var _useState = useState(0),
22051
+ _useState2 = _slicedToArray(_useState, 2),
22052
+ height = _useState2[0],
22053
+ setHeight = _useState2[1];
22054
+ var _useDragablePan = useDragablePan({
22055
+ height: height,
22056
+ initialHeightPercentage: initialHeightPercentage,
22057
+ minimumHeightPercentage: minimumHeightPercentage,
22058
+ snapPoints: snapPoints,
22059
+ onExpanded: onExpanded,
22060
+ onCollapsed: onCollapsed
22061
+ }),
22062
+ pan = _useDragablePan.pan,
22063
+ isAtMaxHeight = _useDragablePan.isAtMaxHeight,
22064
+ scrollYRef = _useDragablePan.scrollYRef,
22065
+ onScrollY = _useDragablePan.onScrollY,
22066
+ beginPan = _useDragablePan.beginPan,
22067
+ movePan = _useDragablePan.movePan,
22068
+ releasePan = _useDragablePan.releasePan,
22069
+ panHandlers = _useDragablePan.panHandlers;
22070
+ var contextValue = useMemo(function () {
22071
+ return {
22072
+ isAtMaxHeight: isAtMaxHeight,
22073
+ scrollYRef: scrollYRef,
22074
+ onScrollY: onScrollY,
22075
+ beginPan: beginPan,
22076
+ movePan: movePan,
22077
+ releasePan: releasePan
22078
+ };
22079
+ }, [isAtMaxHeight, onScrollY, beginPan, movePan, releasePan]);
22080
+ return /*#__PURE__*/React__default.createElement(DragableDrawerContext.Provider, {
22081
+ value: contextValue
22082
+ }, /*#__PURE__*/React__default.createElement(StyledDragableContainer, {
21964
22083
  testID: testID,
21965
22084
  enableShadow: true,
21966
22085
  pointerEvents: "box-none"
@@ -21968,16 +22087,106 @@ var DragableDrawer = function DragableDrawer(_ref) {
21968
22087
  enableShadow: true,
21969
22088
  style: {
21970
22089
  transform: [{
21971
- scaleY: baseHeightForMeasure.current > 0 ? 1 : 0
22090
+ scaleY: height > 0 ? 1 : 0
21972
22091
  }, {
21973
22092
  translateY: pan
21974
22093
  }]
21975
22094
  },
21976
- onLayout: function onLayout(_ref3) {
21977
- var nativeEvent = _ref3.nativeEvent;
22095
+ onLayout: function onLayout(_ref2) {
22096
+ var nativeEvent = _ref2.nativeEvent;
21978
22097
  setHeight(nativeEvent.layout.height);
21979
22098
  }
21980
- }, /*#__PURE__*/React__default.createElement(StyledHandlerContainer$1, panResponder.panHandlers, /*#__PURE__*/React__default.createElement(StyledHandler, null)), children));
22099
+ }, /*#__PURE__*/React__default.createElement(StyledHandlerContainer$1, panHandlers, /*#__PURE__*/React__default.createElement(StyledHandler, null)), children)));
22100
+ };
22101
+
22102
+ var _excluded$q = ["onScroll", "onScrollEndDrag", "onMomentumScrollEnd", "scrollEventThrottle", "children"];
22103
+ // scrollY tolerance: treat anything within this many pixels of the top as
22104
+ // "at scroll top" to handle fractional pixels and throttled scroll events.
22105
+ var SCROLL_TOP_THRESHOLD_PX = 5;
22106
+ // Minimum downward finger movement before the pull-down collapse is triggered.
22107
+ var PULL_DOWN_THRESHOLD_PX = 10;
22108
+ var DEFAULT_SCROLL_EVENT_THROTTLE = 16;
22109
+ /**
22110
+ * A ScrollView that coordinates with a parent DragableDrawer.
22111
+ *
22112
+ * - Drawer below max height: all gestures move the drawer; scroll is locked.
22113
+ * - Drawer at max height: native scrolling works normally.
22114
+ * - Drawer at max + scrolled to top + pull down: drawer collapses.
22115
+ *
22116
+ * The native ScrollView with bounces={false}/overScrollMode="never" will not
22117
+ * intercept a downward gesture at scrollY=0 (nothing left to scroll), so
22118
+ * onMoveShouldSetPanResponderCapture fires cleanly on both platforms.
22119
+ * onScrollEndDrag + onMomentumScrollEnd ensure scrollYRef is up-to-date
22120
+ * before the next gesture starts.
22121
+ */
22122
+ var DragableScrollView = function DragableScrollView(_ref) {
22123
+ var onScroll = _ref.onScroll,
22124
+ onScrollEndDragProp = _ref.onScrollEndDrag,
22125
+ onMomentumScrollEndProp = _ref.onMomentumScrollEnd,
22126
+ _ref$scrollEventThrot = _ref.scrollEventThrottle,
22127
+ scrollEventThrottle = _ref$scrollEventThrot === void 0 ? DEFAULT_SCROLL_EVENT_THROTTLE : _ref$scrollEventThrot,
22128
+ children = _ref.children,
22129
+ props = _objectWithoutProperties(_ref, _excluded$q);
22130
+ var _useDragableDrawerCon = useDragableDrawerContext(),
22131
+ isAtMaxHeight = _useDragableDrawerCon.isAtMaxHeight,
22132
+ scrollYRef = _useDragableDrawerCon.scrollYRef,
22133
+ onScrollY = _useDragableDrawerCon.onScrollY,
22134
+ beginPan = _useDragableDrawerCon.beginPan,
22135
+ movePan = _useDragableDrawerCon.movePan,
22136
+ releasePan = _useDragableDrawerCon.releasePan;
22137
+ // Mirror context value into a ref so PanResponder closures always read
22138
+ // the latest value (PanResponder is created once and closures are frozen).
22139
+ var isAtMaxHeightRef = useRef(isAtMaxHeight);
22140
+ isAtMaxHeightRef.current = isAtMaxHeight;
22141
+ var panResponder = useRef(PanResponder.create({
22142
+ // Drawer below max: capture on start so the native ScrollView never
22143
+ // gets the touch and scroll is completely locked.
22144
+ onStartShouldSetPanResponderCapture: function onStartShouldSetPanResponderCapture() {
22145
+ return !isAtMaxHeightRef.current;
22146
+ },
22147
+ // Drawer at max + scroll at top + pull down: recapture for collapse.
22148
+ // bounces={false} / overScrollMode="never" means the native ScrollView
22149
+ // has nothing to do here, so it will not intercept the gesture and this
22150
+ // capture fires reliably before any scroll activity begins.
22151
+ onMoveShouldSetPanResponderCapture: function onMoveShouldSetPanResponderCapture(_, gesture) {
22152
+ return isAtMaxHeightRef.current && scrollYRef.current <= SCROLL_TOP_THRESHOLD_PX && gesture.dy > PULL_DOWN_THRESHOLD_PX;
22153
+ },
22154
+ onPanResponderGrant: function onPanResponderGrant() {
22155
+ return beginPan();
22156
+ },
22157
+ onPanResponderMove: function onPanResponderMove(_, gesture) {
22158
+ return movePan(gesture.dy);
22159
+ },
22160
+ onPanResponderRelease: function onPanResponderRelease(_, gesture) {
22161
+ return releasePan(gesture.dy, gesture.vy);
22162
+ }
22163
+ })).current;
22164
+ var handleScroll = function handleScroll(e) {
22165
+ onScrollY(e.nativeEvent.contentOffset.y);
22166
+ onScroll === null || onScroll === void 0 || onScroll(e);
22167
+ };
22168
+ // Keep scrollYRef accurate at every scroll boundary so the next gesture
22169
+ // checks the correct position even when onScroll is throttled.
22170
+ var handleScrollEndDrag = function handleScrollEndDrag(e) {
22171
+ onScrollY(e.nativeEvent.contentOffset.y);
22172
+ onScrollEndDragProp === null || onScrollEndDragProp === void 0 || onScrollEndDragProp(e);
22173
+ };
22174
+ var handleMomentumScrollEnd = function handleMomentumScrollEnd(e) {
22175
+ onScrollY(e.nativeEvent.contentOffset.y);
22176
+ onMomentumScrollEndProp === null || onMomentumScrollEndProp === void 0 || onMomentumScrollEndProp(e);
22177
+ };
22178
+ return /*#__PURE__*/React__default.createElement(View, _extends$1({}, panResponder.panHandlers, {
22179
+ style: {
22180
+ flex: 1
22181
+ }
22182
+ }), /*#__PURE__*/React__default.createElement(ScrollView, _extends$1({}, props, {
22183
+ scrollEnabled: isAtMaxHeight,
22184
+ onScroll: handleScroll,
22185
+ onScrollEndDrag: handleScrollEndDrag,
22186
+ onMomentumScrollEnd: handleMomentumScrollEnd,
22187
+ scrollEventThrottle: scrollEventThrottle,
22188
+ overScrollMode: "always"
22189
+ }), children));
21981
22190
  };
21982
22191
 
21983
22192
  var BACKDROP_OPACITY = 0.56;
@@ -22038,7 +22247,8 @@ var Drawer = function Drawer(_ref) {
22038
22247
  }, children));
22039
22248
  };
22040
22249
  var index$7 = Object.assign(Drawer, {
22041
- Dragable: DragableDrawer
22250
+ Dragable: DragableDrawer,
22251
+ DragableScrollView: DragableScrollView
22042
22252
  });
22043
22253
 
22044
22254
  var DEFAULT_ILLUSTRATION_SIZE = scale(72);
@@ -24163,7 +24373,7 @@ var FABWithTitleStyle = /*#__PURE__*/forwardRef(function (_ref3, ref) {
24163
24373
  return {
24164
24374
  show: function show() {
24165
24375
  var animated = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
24166
- var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop$2;
24376
+ var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop$3;
24167
24377
  setDisplayState({
24168
24378
  hideButton: false,
24169
24379
  hideTitle: false
@@ -24184,7 +24394,7 @@ var FABWithTitleStyle = /*#__PURE__*/forwardRef(function (_ref3, ref) {
24184
24394
  },
24185
24395
  collapse: function collapse() {
24186
24396
  var animated = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
24187
- var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop$2;
24397
+ var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop$3;
24188
24398
  setDisplayState({
24189
24399
  hideButton: false,
24190
24400
  hideTitle: true
@@ -24205,7 +24415,7 @@ var FABWithTitleStyle = /*#__PURE__*/forwardRef(function (_ref3, ref) {
24205
24415
  },
24206
24416
  hide: function hide() {
24207
24417
  var animated = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
24208
- var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop$2;
24418
+ var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop$3;
24209
24419
  if (animated) {
24210
24420
  Animated.stagger(20, [Animated.spring(animatedValues.opacity, {
24211
24421
  toValue: 0,
@@ -27530,7 +27740,7 @@ var SuccessPage = function SuccessPage(_ref2) {
27530
27740
  testID = _ref2.testID,
27531
27741
  ctaText = _ref2.ctaText,
27532
27742
  _ref2$onCtaPress = _ref2.onCtaPress,
27533
- onCtaPress = _ref2$onCtaPress === void 0 ? noop$2 : _ref2$onCtaPress,
27743
+ onCtaPress = _ref2$onCtaPress === void 0 ? noop$3 : _ref2$onCtaPress,
27534
27744
  secondaryCtaText = _ref2.secondaryCtaText,
27535
27745
  onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
27536
27746
  icon = _ref2.icon,