@hero-design/rn 8.5.0-alpha.0 → 8.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/.turbo/turbo-build.log +9 -66
  2. package/.turbo/turbo-publish:npm.log +0 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +641 -719
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +641 -718
  7. package/package.json +7 -5
  8. package/rollup.config.js +1 -0
  9. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  10. package/src/components/Icon/IconList.ts +1 -0
  11. package/src/components/Swipeable/StyledSwipeable.tsx +2 -14
  12. package/src/components/Swipeable/SwipeableAction.tsx +7 -15
  13. package/src/components/Swipeable/index.tsx +136 -531
  14. package/src/components/SwipeableV2/StyledSwipeable.tsx +14 -0
  15. package/src/components/SwipeableV2/__tests__/__snapshots__/index.spec.tsx.snap +161 -0
  16. package/src/components/SwipeableV2/__tests__/index.spec.tsx +48 -0
  17. package/src/components/SwipeableV2/index.tsx +364 -0
  18. package/src/index.ts +2 -0
  19. package/types/components/Icon/IconList.d.ts +1 -1
  20. package/types/components/Icon/index.d.ts +1 -1
  21. package/types/components/Icon/utils.d.ts +1 -1
  22. package/types/components/Select/BaseOptionList.d.ts +4 -8
  23. package/types/components/Select/MultiSelect/OptionList.d.ts +4 -7
  24. package/types/components/Select/SingleSelect/OptionList.d.ts +4 -4
  25. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -1
  26. package/types/components/Swipeable/StyledSwipeable.d.ts +2 -15
  27. package/types/components/Swipeable/SwipeableAction.d.ts +6 -10
  28. package/types/components/Swipeable/index.d.ts +41 -24
  29. package/types/components/SwipeableV2/StyledSwipeable.d.ts +15 -0
  30. package/types/components/SwipeableV2/index.d.ts +46 -0
  31. package/types/components/Toolbar/index.d.ts +3 -2
  32. package/types/index.d.ts +2 -1
  33. package/src/components/Swipeable/Buttons.tsx +0 -65
  34. package/types/components/Swipeable/Buttons.d.ts +0 -15
package/lib/index.js CHANGED
@@ -8,6 +8,7 @@ var reactNativeVectorIcons = require('react-native-vector-icons');
8
8
  var reactNativeSafeAreaContext = require('react-native-safe-area-context');
9
9
  var DateTimePicker = require('@react-native-community/datetimepicker');
10
10
  var RnSlider = require('@react-native-community/slider');
11
+ var reactNativeGestureHandler = require('react-native-gesture-handler');
11
12
  var PagerView = require('react-native-pager-view');
12
13
  var events = require('events');
13
14
  var reactNativeWebview = require('react-native-webview');
@@ -1848,7 +1849,7 @@ var getCarouselTheme = function getCarouselTheme(theme) {
1848
1849
  paginatorBorderRadius: theme.radii.rounded
1849
1850
  };
1850
1851
  var fontSizes = {
1851
- heading: theme.fontSizes['6xlarge']
1852
+ heading: theme.fontSizes['xxxxxlarge']
1852
1853
  };
1853
1854
  var fonts = {
1854
1855
  heading: theme.fonts.playful.semiBold
@@ -5775,7 +5776,7 @@ var StyledText$3 = index$a(reactNative.Text)(function (_ref) {
5775
5776
  });
5776
5777
  });
5777
5778
 
5778
- var _excluded$l = ["children", "fontSize", "fontWeight", "intent", "typeface"];
5779
+ var _excluded$q = ["children", "fontSize", "fontWeight", "intent", "typeface"];
5779
5780
  var Text = function Text(_ref) {
5780
5781
  var children = _ref.children,
5781
5782
  _ref$fontSize = _ref.fontSize,
@@ -5786,7 +5787,7 @@ var Text = function Text(_ref) {
5786
5787
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
5787
5788
  _ref$typeface = _ref.typeface,
5788
5789
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
5789
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
5790
+ nativeProps = _objectWithoutProperties(_ref, _excluded$q);
5790
5791
  return /*#__PURE__*/React__default["default"].createElement(StyledText$3, _extends$1({}, nativeProps, {
5791
5792
  themeFontSize: fontSize,
5792
5793
  themeFontWeight: fontWeight,
@@ -5800,7 +5801,7 @@ var Typography = {
5800
5801
  };
5801
5802
 
5802
5803
  // 🔴 DO NOT EDIT — This file is generated automatically.
5803
- var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark', 'box-check', 'box', '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', 'double-buildings', 'edit-template', 'envelope', 'expense', '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', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', 'swag', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'at-sign', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'camera-outlined', 'cancel', '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-outlined', 'cog-outlined', 'coin-outlined', 'comment-outlined', 'contacts-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-outlined', 'edit-template-outlined', 'email-outlined', 'enter-arrow', 'envelope-outlined', 'expense-outlined', 'explore-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'funnel-filter-outline', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
5804
+ var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark-added', 'bookmark', 'box-check', 'box', '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', 'double-buildings', 'edit-template', 'envelope', 'expense', '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', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', 'swag', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'camera-outlined', 'cancel', '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-outlined', 'cog-outlined', 'coin-outlined', 'comment-outlined', 'contacts-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-outlined', 'edit-template-outlined', 'email-outlined', 'enter-arrow', 'envelope-outlined', 'expense-outlined', 'explore-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'funnel-filter-outline', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
5804
5805
 
5805
5806
  var activate = 59000;
5806
5807
  var adjustment = 59003;
@@ -5810,81 +5811,81 @@ var archive = 59006;
5810
5811
  var bank = 59008;
5811
5812
  var bell = 59009;
5812
5813
  var billing = 59010;
5813
- var bookmark = 59011;
5814
- var box = 59013;
5815
- var buildings = 59014;
5816
- var cake = 59015;
5817
- var calendar = 59017;
5818
- var clock = 59042;
5819
- var cog = 59045;
5820
- var coin = 59046;
5821
- var contacts = 59047;
5822
- var diamond = 59049;
5823
- var directory = 59051;
5824
- var document$1 = 59052;
5825
- var envelope = 59056;
5826
- var expense = 59057;
5827
- var eye = 59060;
5828
- var feed = 59064;
5829
- var feedbacks = 59065;
5830
- var file = 59083;
5831
- var filter = 59084;
5832
- var folder = 59086;
5833
- var globe = 59096;
5834
- var graph = 59098;
5835
- var heart = 59101;
5836
- var home = 59102;
5837
- var image = 59103;
5838
- var instapay = 59106;
5839
- var list = 59107;
5840
- var loading = 59109;
5841
- var location = 59110;
5842
- var lock = 59111;
5843
- var menu = 59115;
5844
- var moneybag = 59116;
5845
- var moon = 59117;
5846
- var node = 59120;
5847
- var paperclip = 59122;
5848
- var pencil = 59124;
5849
- var phone = 59125;
5850
- var plane = 59127;
5851
- var print = 59129;
5852
- var reply = 59132;
5853
- var reschedule = 59133;
5854
- var rostering = 59134;
5855
- var save = 59135;
5856
- var schedule = 59137;
5857
- var send = 59139;
5858
- var speaker = 59141;
5859
- var star = 59145;
5860
- var stopwatch = 59147;
5861
- var suitcase = 59148;
5862
- var survey = 59149;
5863
- var swag = 59150;
5864
- var tag = 59152;
5865
- var target = 59153;
5866
- var teams = 59154;
5867
- var timesheet = 59155;
5868
- var unlock = 59158;
5869
- var user = 59159;
5870
- var wallet = 59162;
5871
- var warning = 59163;
5872
- var add = 59169;
5873
- var bold = 59188;
5874
- var cancel = 59198;
5875
- var checkmark = 59201;
5876
- var italic = 59273;
5877
- var number = 59296;
5878
- var percentage = 59300;
5879
- var redeem = 59309;
5880
- var refresh = 59310;
5881
- var remove = 59311;
5882
- var restart = 59313;
5883
- var strikethrough = 59332;
5884
- var sync = 59337;
5885
- var transfer = 59341;
5886
- var unavailable = 59344;
5887
- var underline = 59345;
5814
+ var bookmark = 59012;
5815
+ var box = 59014;
5816
+ var buildings = 59015;
5817
+ var cake = 59016;
5818
+ var calendar = 59018;
5819
+ var clock = 59043;
5820
+ var cog = 59046;
5821
+ var coin = 59047;
5822
+ var contacts = 59048;
5823
+ var diamond = 59050;
5824
+ var directory = 59052;
5825
+ var document$1 = 59053;
5826
+ var envelope = 59057;
5827
+ var expense = 59058;
5828
+ var eye = 59061;
5829
+ var feed = 59065;
5830
+ var feedbacks = 59066;
5831
+ var file = 59084;
5832
+ var filter = 59085;
5833
+ var folder = 59087;
5834
+ var globe = 59097;
5835
+ var graph = 59099;
5836
+ var heart = 59102;
5837
+ var home = 59103;
5838
+ var image = 59104;
5839
+ var instapay = 59107;
5840
+ var list = 59108;
5841
+ var loading = 59110;
5842
+ var location = 59111;
5843
+ var lock = 59112;
5844
+ var menu = 59116;
5845
+ var moneybag = 59118;
5846
+ var moon = 59119;
5847
+ var node = 59122;
5848
+ var paperclip = 59124;
5849
+ var pencil = 59126;
5850
+ var phone = 59127;
5851
+ var plane = 59129;
5852
+ var print = 59131;
5853
+ var reply = 59134;
5854
+ var reschedule = 59135;
5855
+ var rostering = 59136;
5856
+ var save = 59137;
5857
+ var schedule = 59139;
5858
+ var send = 59141;
5859
+ var speaker = 59143;
5860
+ var star = 59148;
5861
+ var stopwatch = 59150;
5862
+ var suitcase = 59151;
5863
+ var survey = 59152;
5864
+ var swag = 59153;
5865
+ var tag = 59155;
5866
+ var target = 59156;
5867
+ var teams = 59157;
5868
+ var timesheet = 59158;
5869
+ var unlock = 59161;
5870
+ var user = 59162;
5871
+ var wallet = 59165;
5872
+ var warning = 59166;
5873
+ var add = 59172;
5874
+ var bold = 59193;
5875
+ var cancel = 59203;
5876
+ var checkmark = 59206;
5877
+ var italic = 59280;
5878
+ var number = 59303;
5879
+ var percentage = 59308;
5880
+ var redeem = 59317;
5881
+ var refresh = 59318;
5882
+ var remove = 59319;
5883
+ var restart = 59321;
5884
+ var strikethrough = 59342;
5885
+ var sync = 59347;
5886
+ var transfer = 59351;
5887
+ var unavailable = 59354;
5888
+ var underline = 59355;
5888
5889
  var glyphMap = {
5889
5890
  activate: activate,
5890
5891
  "add-emoji": 59001,
@@ -5897,350 +5898,360 @@ var glyphMap = {
5897
5898
  bank: bank,
5898
5899
  bell: bell,
5899
5900
  billing: billing,
5901
+ "bookmark-added": 59011,
5900
5902
  bookmark: bookmark,
5901
- "box-check": 59012,
5903
+ "box-check": 59013,
5902
5904
  box: box,
5903
5905
  buildings: buildings,
5904
5906
  cake: cake,
5905
- "calendar-clock": 59016,
5907
+ "calendar-clock": 59017,
5906
5908
  calendar: calendar,
5907
- "candy-box-menu": 59018,
5908
- "caret-down-small": 59019,
5909
- "caret-down": 59020,
5910
- "caret-left-small": 59021,
5911
- "caret-left": 59022,
5912
- "caret-right-small": 59023,
5913
- "caret-right": 59024,
5914
- "caret-up-small": 59025,
5915
- "caret-up": 59026,
5916
- "check-radio": 59027,
5917
- "circle-add": 59028,
5918
- "circle-cancel": 59029,
5919
- "circle-check": 59030,
5920
- "circle-down": 59031,
5921
- "circle-info": 59032,
5922
- "circle-left": 59033,
5923
- "circle-ok": 59034,
5924
- "circle-pencil": 59035,
5925
- "circle-question": 59036,
5926
- "circle-remove": 59037,
5927
- "circle-right": 59038,
5928
- "circle-up": 59039,
5929
- "circle-warning": 59040,
5930
- "clock-3": 59041,
5909
+ "candy-box-menu": 59019,
5910
+ "caret-down-small": 59020,
5911
+ "caret-down": 59021,
5912
+ "caret-left-small": 59022,
5913
+ "caret-left": 59023,
5914
+ "caret-right-small": 59024,
5915
+ "caret-right": 59025,
5916
+ "caret-up-small": 59026,
5917
+ "caret-up": 59027,
5918
+ "check-radio": 59028,
5919
+ "circle-add": 59029,
5920
+ "circle-cancel": 59030,
5921
+ "circle-check": 59031,
5922
+ "circle-down": 59032,
5923
+ "circle-info": 59033,
5924
+ "circle-left": 59034,
5925
+ "circle-ok": 59035,
5926
+ "circle-pencil": 59036,
5927
+ "circle-question": 59037,
5928
+ "circle-remove": 59038,
5929
+ "circle-right": 59039,
5930
+ "circle-up": 59040,
5931
+ "circle-warning": 59041,
5932
+ "clock-3": 59042,
5931
5933
  clock: clock,
5932
- "cloud-download": 59043,
5933
- "cloud-upload": 59044,
5934
+ "cloud-download": 59044,
5935
+ "cloud-upload": 59045,
5934
5936
  cog: cog,
5935
5937
  coin: coin,
5936
5938
  contacts: contacts,
5937
- "credit-card": 59048,
5939
+ "credit-card": 59049,
5938
5940
  diamond: diamond,
5939
- "direction-arrows": 59050,
5941
+ "direction-arrows": 59051,
5940
5942
  directory: directory,
5941
5943
  document: document$1,
5942
- "dollar-coin-shine": 59053,
5943
- "double-buildings": 59054,
5944
- "edit-template": 59055,
5944
+ "dollar-coin-shine": 59054,
5945
+ "double-buildings": 59055,
5946
+ "edit-template": 59056,
5945
5947
  envelope: envelope,
5946
5948
  expense: expense,
5947
- "eye-circle": 59058,
5948
- "eye-invisible": 59059,
5949
+ "eye-circle": 59059,
5950
+ "eye-invisible": 59060,
5949
5951
  eye: eye,
5950
- "face-meh": 59061,
5951
- "face-sad": 59062,
5952
- "face-smiley": 59063,
5952
+ "face-meh": 59062,
5953
+ "face-sad": 59063,
5954
+ "face-smiley": 59064,
5953
5955
  feed: feed,
5954
5956
  feedbacks: feedbacks,
5955
- "file-certified": 59066,
5956
- "file-clone": 59067,
5957
- "file-copy": 59068,
5958
- "file-csv": 59069,
5959
- "file-dispose": 59070,
5960
- "file-doc": 59071,
5961
- "file-excel": 59072,
5962
- "file-export": 59073,
5963
- "file-lock": 59074,
5964
- "file-pdf": 59075,
5965
- "file-powerpoint": 59076,
5966
- "file-search": 59077,
5967
- "file-secured": 59078,
5968
- "file-sheets": 59079,
5969
- "file-slide": 59080,
5970
- "file-verified": 59081,
5971
- "file-word": 59082,
5957
+ "file-certified": 59067,
5958
+ "file-clone": 59068,
5959
+ "file-copy": 59069,
5960
+ "file-csv": 59070,
5961
+ "file-dispose": 59071,
5962
+ "file-doc": 59072,
5963
+ "file-excel": 59073,
5964
+ "file-export": 59074,
5965
+ "file-lock": 59075,
5966
+ "file-pdf": 59076,
5967
+ "file-powerpoint": 59077,
5968
+ "file-search": 59078,
5969
+ "file-secured": 59079,
5970
+ "file-sheets": 59080,
5971
+ "file-slide": 59081,
5972
+ "file-verified": 59082,
5973
+ "file-word": 59083,
5972
5974
  file: file,
5973
5975
  filter: filter,
5974
- "folder-user": 59085,
5976
+ "folder-user": 59086,
5975
5977
  folder: folder,
5976
- "format-bold": 59087,
5977
- "format-heading1": 59088,
5978
- "format-heading2": 59089,
5979
- "format-italic": 59090,
5980
- "format-list-bulleted": 59091,
5981
- "format-list-numbered": 59092,
5982
- "format-underlined": 59093,
5983
- "funnel-filter": 59094,
5984
- "global-dollar": 59095,
5978
+ "format-bold": 59088,
5979
+ "format-heading1": 59089,
5980
+ "format-heading2": 59090,
5981
+ "format-italic": 59091,
5982
+ "format-list-bulleted": 59092,
5983
+ "format-list-numbered": 59093,
5984
+ "format-underlined": 59094,
5985
+ "funnel-filter": 59095,
5986
+ "global-dollar": 59096,
5985
5987
  globe: globe,
5986
- "graduation-cap": 59097,
5988
+ "graduation-cap": 59098,
5987
5989
  graph: graph,
5988
- "happy-sun": 59099,
5989
- "health-bag": 59100,
5990
+ "happy-sun": 59100,
5991
+ "health-bag": 59101,
5990
5992
  heart: heart,
5991
5993
  home: home,
5992
5994
  image: image,
5993
- "import": 59104,
5994
- "incident-siren": 59105,
5995
+ "import": 59105,
5996
+ "incident-siren": 59106,
5995
5997
  instapay: instapay,
5996
5998
  list: list,
5997
- "loading-2": 59108,
5999
+ "loading-2": 59109,
5998
6000
  loading: loading,
5999
6001
  location: location,
6000
6002
  lock: lock,
6001
- "looks-one": 59112,
6002
- "looks-two": 59113,
6003
- "media-content": 59114,
6003
+ "looks-one": 59113,
6004
+ "looks-two": 59114,
6005
+ "media-content": 59115,
6004
6006
  menu: menu,
6007
+ "money-notes": 59117,
6005
6008
  moneybag: moneybag,
6006
6009
  moon: moon,
6007
- "multiple-stars": 59118,
6008
- "multiple-users": 59119,
6010
+ "multiple-stars": 59120,
6011
+ "multiple-users": 59121,
6009
6012
  node: node,
6010
- "open-folder": 59121,
6013
+ "open-folder": 59123,
6011
6014
  paperclip: paperclip,
6012
- "payment-summary": 59123,
6015
+ "payment-summary": 59125,
6013
6016
  pencil: pencil,
6014
6017
  phone: phone,
6015
- "piggy-bank": 59126,
6018
+ "piggy-bank": 59128,
6016
6019
  plane: plane,
6017
- "play-circle": 59128,
6020
+ "play-circle": 59130,
6018
6021
  print: print,
6019
- "raising-hands": 59130,
6020
- "reply-arrow": 59131,
6022
+ "raising-hands": 59132,
6023
+ "reply-arrow": 59133,
6021
6024
  reply: reply,
6022
6025
  reschedule: reschedule,
6023
6026
  rostering: rostering,
6024
6027
  save: save,
6025
- "schedule-send": 59136,
6028
+ "schedule-send": 59138,
6026
6029
  schedule: schedule,
6027
- "search-person": 59138,
6030
+ "search-person": 59140,
6028
6031
  send: send,
6029
- "speaker-active": 59140,
6032
+ "speaker-active": 59142,
6030
6033
  speaker: speaker,
6031
- "star-award": 59142,
6032
- "star-badge": 59143,
6033
- "star-medal": 59144,
6034
+ "star-award": 59144,
6035
+ "star-badge": 59145,
6036
+ "star-circle": 59146,
6037
+ "star-medal": 59147,
6034
6038
  star: star,
6035
- "steps-circle": 59146,
6039
+ "steps-circle": 59149,
6036
6040
  stopwatch: stopwatch,
6037
6041
  suitcase: suitcase,
6038
6042
  survey: survey,
6039
6043
  swag: swag,
6040
- "switch": 59151,
6044
+ "switch": 59154,
6041
6045
  tag: tag,
6042
6046
  target: target,
6043
6047
  teams: teams,
6044
6048
  timesheet: timesheet,
6045
- "touch-id": 59156,
6046
- "trash-bin": 59157,
6049
+ "touch-id": 59159,
6050
+ "trash-bin": 59160,
6047
6051
  unlock: unlock,
6048
6052
  user: user,
6049
- "video-1": 59160,
6050
- "video-2": 59161,
6053
+ "video-1": 59163,
6054
+ "video-2": 59164,
6051
6055
  wallet: wallet,
6052
6056
  warning: warning,
6053
- "activate-outlined": 59164,
6054
- "add-credit-card-outlined": 59165,
6055
- "add-person-outlined": 59166,
6056
- "add-section-outlined": 59167,
6057
- "add-time-outlined": 59168,
6057
+ "activate-outlined": 59167,
6058
+ "add-credit-card-outlined": 59168,
6059
+ "add-person-outlined": 59169,
6060
+ "add-section-outlined": 59170,
6061
+ "add-time-outlined": 59171,
6058
6062
  add: add,
6059
- "adjustment-outlined": 59170,
6060
- "alignment-2-outlined": 59171,
6061
- "alignment-outlined": 59172,
6062
- "all-caps": 59173,
6063
- "arrow-down": 59174,
6064
- "arrow-downwards": 59175,
6065
- "arrow-left": 59176,
6066
- "arrow-leftwards": 59177,
6067
- "arrow-right": 59178,
6068
- "arrow-rightwards": 59179,
6069
- "arrow-up": 59180,
6070
- "arrow-upwards": 59181,
6071
- "at-sign": 59182,
6072
- "bell-active-outlined": 59183,
6073
- "bell-outlined": 59184,
6074
- "bell-slash-outlined": 59185,
6075
- "billing-outlined": 59186,
6076
- "body-outlined": 59187,
6063
+ "adjustment-outlined": 59173,
6064
+ "alignment-2-outlined": 59174,
6065
+ "alignment-outlined": 59175,
6066
+ "all-caps": 59176,
6067
+ "arrow-down": 59177,
6068
+ "arrow-downwards": 59178,
6069
+ "arrow-left": 59179,
6070
+ "arrow-leftwards": 59180,
6071
+ "arrow-right": 59181,
6072
+ "arrow-rightwards": 59182,
6073
+ "arrow-up": 59183,
6074
+ "arrow-upwards": 59184,
6075
+ "article-outlined": 59185,
6076
+ "at-sign": 59186,
6077
+ "auto-graph-outlined": 59187,
6078
+ "bell-active-outlined": 59188,
6079
+ "bell-outlined": 59189,
6080
+ "bell-slash-outlined": 59190,
6081
+ "billing-outlined": 59191,
6082
+ "body-outlined": 59192,
6077
6083
  bold: bold,
6078
- "bookmark-added-outlined": 59189,
6079
- "bookmark-outlined": 59190,
6080
- "box-check-outlined": 59191,
6081
- "box-outlined": 59192,
6082
- "bullet-points": 59193,
6083
- "cake-outlined": 59194,
6084
- "calendar-dates-outlined": 59195,
6085
- "calendar-star-outlined": 59196,
6086
- "camera-outlined": 59197,
6084
+ "bookmark-added-outlined": 59194,
6085
+ "bookmark-outlined": 59195,
6086
+ "box-check-outlined": 59196,
6087
+ "box-outlined": 59197,
6088
+ "bullet-points": 59198,
6089
+ "cake-outlined": 59199,
6090
+ "calendar-dates-outlined": 59200,
6091
+ "calendar-star-outlined": 59201,
6092
+ "camera-outlined": 59202,
6087
6093
  cancel: cancel,
6088
- "chat-bubble-outlined": 59199,
6089
- "chat-unread-outlined": 59200,
6094
+ "chat-bubble-outlined": 59204,
6095
+ "chat-unread-outlined": 59205,
6090
6096
  checkmark: checkmark,
6091
- "circle-add-outlined": 59202,
6092
- "circle-cancel-outlined": 59203,
6093
- "circle-down-outlined": 59204,
6094
- "circle-info-outlined": 59205,
6095
- "circle-left-outlined": 59206,
6096
- "circle-ok-outlined": 59207,
6097
- "circle-question-outlined": 59208,
6098
- "circle-remove-outlined": 59209,
6099
- "circle-right-outlined": 59210,
6100
- "circle-up-outlined": 59211,
6101
- "circle-warning-outlined": 59212,
6102
- "clock-2-outlined": 59213,
6103
- "clock-outlined": 59214,
6104
- "cog-outlined": 59215,
6105
- "coin-outlined": 59216,
6106
- "comment-outlined": 59217,
6107
- "contacts-outlined": 59218,
6108
- "credit-card-outlined": 59219,
6109
- "cup-outlined": 59220,
6110
- "direction-arrows-outlined": 59221,
6111
- "directory-outlined": 59222,
6112
- "document-outlined": 59223,
6113
- "dollar-card-outlined": 59224,
6114
- "dollar-coin-shine-outlined": 59225,
6115
- "dollar-sign": 59226,
6116
- "double-buildings-outlined": 59227,
6117
- "double-left-arrows": 59228,
6118
- "double-right-arrows": 59229,
6119
- "download-outlined": 59230,
6120
- "edit-template-outlined": 59231,
6121
- "email-outlined": 59232,
6122
- "enter-arrow": 59233,
6123
- "envelope-outlined": 59234,
6124
- "expense-outlined": 59235,
6125
- "explore-outlined": 59236,
6126
- "external-link": 59237,
6127
- "eye-invisible-outlined": 59238,
6128
- "eye-outlined": 59239,
6129
- "face-id": 59240,
6130
- "face-meh-outlined": 59241,
6131
- "face-open-smiley-outlined": 59242,
6132
- "face-sad-outlined": 59243,
6133
- "face-smiley-outlined": 59244,
6134
- "feed-outlined": 59245,
6135
- "file-certified-outlined": 59246,
6136
- "file-clone-outlined": 59247,
6137
- "file-copy-outlined": 59248,
6138
- "file-dispose-outlined": 59249,
6139
- "file-dollar-outlined": 59250,
6140
- "file-download-outlined": 59251,
6141
- "file-export-outlined": 59252,
6142
- "file-lock-outlined": 59253,
6143
- "file-outlined": 59254,
6144
- "file-search-outlined": 59255,
6145
- "file-secured-outlined": 59256,
6146
- "file-verified-outlined": 59257,
6147
- "filter-outlined": 59258,
6148
- "folder-outlined": 59259,
6149
- "folder-user-outlined": 59260,
6150
- "funnel-filter-outline": 59261,
6151
- "graph-outlined": 59262,
6152
- "hand-holding-user-outlined": 59263,
6153
- "happy-sun-outlined": 59264,
6154
- "health-bag-outlined": 59265,
6155
- "heart-outlined": 59266,
6156
- "home-active-outlined": 59267,
6157
- "home-outlined": 59268,
6158
- "id-card-outlined": 59269,
6159
- "image-outlined": 59270,
6160
- "import-outlined": 59271,
6161
- "instapay-outlined": 59272,
6097
+ "circle-add-outlined": 59207,
6098
+ "circle-cancel-outlined": 59208,
6099
+ "circle-down-outlined": 59209,
6100
+ "circle-info-outlined": 59210,
6101
+ "circle-left-outlined": 59211,
6102
+ "circle-ok-outlined": 59212,
6103
+ "circle-question-outlined": 59213,
6104
+ "circle-remove-outlined": 59214,
6105
+ "circle-right-outlined": 59215,
6106
+ "circle-up-outlined": 59216,
6107
+ "circle-warning-outlined": 59217,
6108
+ "clock-2-outlined": 59218,
6109
+ "clock-outlined": 59219,
6110
+ "cog-outlined": 59220,
6111
+ "coin-outlined": 59221,
6112
+ "comment-outlined": 59222,
6113
+ "contacts-outlined": 59223,
6114
+ "credit-card-outlined": 59224,
6115
+ "cup-outlined": 59225,
6116
+ "direction-arrows-outlined": 59226,
6117
+ "directory-outlined": 59227,
6118
+ "document-outlined": 59228,
6119
+ "dollar-card-outlined": 59229,
6120
+ "dollar-coin-shine-outlined": 59230,
6121
+ "dollar-credit-card-outlined": 59231,
6122
+ "dollar-sign": 59232,
6123
+ "double-buildings-outlined": 59233,
6124
+ "double-left-arrows": 59234,
6125
+ "double-right-arrows": 59235,
6126
+ "download-outlined": 59236,
6127
+ "edit-template-outlined": 59237,
6128
+ "email-outlined": 59238,
6129
+ "enter-arrow": 59239,
6130
+ "envelope-outlined": 59240,
6131
+ "expense-outlined": 59241,
6132
+ "explore-outlined": 59242,
6133
+ "external-link": 59243,
6134
+ "eye-invisible-outlined": 59244,
6135
+ "eye-outlined": 59245,
6136
+ "face-id": 59246,
6137
+ "face-meh-outlined": 59247,
6138
+ "face-open-smiley-outlined": 59248,
6139
+ "face-sad-outlined": 59249,
6140
+ "face-smiley-outlined": 59250,
6141
+ "feed-outlined": 59251,
6142
+ "file-certified-outlined": 59252,
6143
+ "file-clone-outlined": 59253,
6144
+ "file-copy-outlined": 59254,
6145
+ "file-dispose-outlined": 59255,
6146
+ "file-dollar-outlined": 59256,
6147
+ "file-download-outlined": 59257,
6148
+ "file-export-outlined": 59258,
6149
+ "file-lock-outlined": 59259,
6150
+ "file-outlined": 59260,
6151
+ "file-search-outlined": 59261,
6152
+ "file-secured-outlined": 59262,
6153
+ "file-statutory-outlined": 59263,
6154
+ "file-verified-outlined": 59264,
6155
+ "filter-outlined": 59265,
6156
+ "folder-outlined": 59266,
6157
+ "folder-user-outlined": 59267,
6158
+ "funnel-filter-outline": 59268,
6159
+ "graph-outlined": 59269,
6160
+ "hand-holding-user-outlined": 59270,
6161
+ "happy-sun-outlined": 59271,
6162
+ "health-bag-outlined": 59272,
6163
+ "heart-outlined": 59273,
6164
+ "home-active-outlined": 59274,
6165
+ "home-outlined": 59275,
6166
+ "id-card-outlined": 59276,
6167
+ "image-outlined": 59277,
6168
+ "import-outlined": 59278,
6169
+ "instapay-outlined": 59279,
6162
6170
  italic: italic,
6163
- "link-1": 59274,
6164
- "link-2": 59275,
6165
- "list-outlined": 59276,
6166
- "live-help-outlined": 59277,
6167
- "location-outlined": 59278,
6168
- "lock-outlined": 59279,
6169
- "locked-file-outlined": 59280,
6170
- "log-out": 59281,
6171
- "media-content-outlined": 59282,
6172
- "menu-close": 59283,
6173
- "menu-expand": 59284,
6174
- "menu-fold-outlined": 59285,
6175
- "menu-unfold-outlined": 59286,
6176
- "moneybag-outlined": 59287,
6177
- "moon-outlined": 59288,
6178
- "more-horizontal": 59289,
6179
- "more-vertical": 59290,
6180
- "multiple-folders-outlined": 59291,
6181
- "multiple-users-outlined": 59292,
6182
- "near-me-outlined": 59293,
6183
- "node-outlined": 59294,
6184
- "number-points": 59295,
6171
+ "link-1": 59281,
6172
+ "link-2": 59282,
6173
+ "list-outlined": 59283,
6174
+ "live-help-outlined": 59284,
6175
+ "location-outlined": 59285,
6176
+ "lock-outlined": 59286,
6177
+ "locked-file-outlined": 59287,
6178
+ "log-out": 59288,
6179
+ "media-content-outlined": 59289,
6180
+ "menu-close": 59290,
6181
+ "menu-expand": 59291,
6182
+ "menu-fold-outlined": 59292,
6183
+ "menu-unfold-outlined": 59293,
6184
+ "moneybag-outlined": 59294,
6185
+ "moon-outlined": 59295,
6186
+ "more-horizontal": 59296,
6187
+ "more-vertical": 59297,
6188
+ "multiple-folders-outlined": 59298,
6189
+ "multiple-users-outlined": 59299,
6190
+ "near-me-outlined": 59300,
6191
+ "node-outlined": 59301,
6192
+ "number-points": 59302,
6185
6193
  number: number,
6186
- "payment-summary-outlined": 59297,
6187
- "payslip-outlined": 59298,
6188
- "pencil-outlined": 59299,
6194
+ "overview-outlined": 59304,
6195
+ "payment-summary-outlined": 59305,
6196
+ "payslip-outlined": 59306,
6197
+ "pencil-outlined": 59307,
6189
6198
  percentage: percentage,
6190
- "phone-outlined": 59301,
6191
- "piggy-bank-outlined": 59302,
6192
- "plane-outlined": 59303,
6193
- "play-circle-outlined": 59304,
6194
- "print-outlined": 59305,
6195
- "qr-code-outlined": 59306,
6196
- "qualification-outlined": 59307,
6197
- "re-assign": 59308,
6199
+ "phone-outlined": 59309,
6200
+ "piggy-bank-outlined": 59310,
6201
+ "plane-outlined": 59311,
6202
+ "play-circle-outlined": 59312,
6203
+ "print-outlined": 59313,
6204
+ "qr-code-outlined": 59314,
6205
+ "qualification-outlined": 59315,
6206
+ "re-assign": 59316,
6198
6207
  redeem: redeem,
6199
6208
  refresh: refresh,
6200
6209
  remove: remove,
6201
- "reply-outlined": 59312,
6210
+ "reply-outlined": 59320,
6202
6211
  restart: restart,
6203
- "return-arrow": 59314,
6204
- "rostering-outlined": 59315,
6205
- "save-outlined": 59316,
6206
- "schedule-outlined": 59317,
6207
- "search-outlined": 59318,
6208
- "search-secured-outlined": 59319,
6209
- "send-outlined": 59320,
6210
- "share-1": 59321,
6211
- "share-2": 59322,
6212
- "share-outlined": 59323,
6213
- "single-down-arrow": 59324,
6214
- "single-left-arrow": 59325,
6215
- "single-right-arrow": 59326,
6216
- "single-up-arrow": 59327,
6217
- "speaker-active-outlined": 59328,
6218
- "speaker-outlined": 59329,
6219
- "star-outlined": 59330,
6220
- "stopwatch-outlined": 59331,
6212
+ "return-arrow": 59322,
6213
+ "rostering-outlined": 59323,
6214
+ "save-outlined": 59324,
6215
+ "schedule-outlined": 59325,
6216
+ "search-outlined": 59326,
6217
+ "search-secured-outlined": 59327,
6218
+ "send-outlined": 59328,
6219
+ "share-1": 59329,
6220
+ "share-2": 59330,
6221
+ "share-outlined": 59331,
6222
+ "show-chart-outlined": 59332,
6223
+ "single-down-arrow": 59333,
6224
+ "single-left-arrow": 59334,
6225
+ "single-right-arrow": 59335,
6226
+ "single-up-arrow": 59336,
6227
+ "speaker-active-outlined": 59337,
6228
+ "speaker-outlined": 59338,
6229
+ "star-circle-outlined": 59339,
6230
+ "star-outlined": 59340,
6231
+ "stopwatch-outlined": 59341,
6221
6232
  strikethrough: strikethrough,
6222
- "suitcase-clock-outlined": 59333,
6223
- "suitcase-outlined": 59334,
6224
- "survey-outlined": 59335,
6225
- "switch-outlined": 59336,
6233
+ "suitcase-clock-outlined": 59343,
6234
+ "suitcase-outlined": 59344,
6235
+ "survey-outlined": 59345,
6236
+ "switch-outlined": 59346,
6226
6237
  sync: sync,
6227
- "target-outlined": 59338,
6228
- "timesheet-outlined": 59339,
6229
- "today-outlined": 59340,
6238
+ "target-outlined": 59348,
6239
+ "timesheet-outlined": 59349,
6240
+ "today-outlined": 59350,
6230
6241
  transfer: transfer,
6231
- "trash-bin-outlined": 59342,
6232
- "umbrela-outlined": 59343,
6242
+ "trash-bin-outlined": 59352,
6243
+ "umbrela-outlined": 59353,
6233
6244
  unavailable: unavailable,
6234
6245
  underline: underline,
6235
- "unlock-outlined": 59346,
6236
- "upload-outlined": 59347,
6237
- "user-circle-outlined": 59348,
6238
- "user-gear-outlined": 59349,
6239
- "user-outlined": 59350,
6240
- "user-rectangle-outlined": 59351,
6241
- "video-1-outlined": 59352,
6242
- "video-2-outlined": 59353,
6243
- "wallet-outlined": 59354
6246
+ "unlock-outlined": 59356,
6247
+ "upload-outlined": 59357,
6248
+ "user-circle-outlined": 59358,
6249
+ "user-gear-outlined": 59359,
6250
+ "user-outlined": 59360,
6251
+ "user-rectangle-outlined": 59361,
6252
+ "video-1-outlined": 59362,
6253
+ "video-2-outlined": 59363,
6254
+ "wallet-outlined": 59364
6244
6255
  };
6245
6256
 
6246
6257
  var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -6265,10 +6276,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
6265
6276
  };
6266
6277
  });
6267
6278
 
6268
- var _excluded$k = ["style"];
6279
+ var _excluded$p = ["style"];
6269
6280
  var AnimatedIcon = function AnimatedIcon(_ref) {
6270
6281
  var style = _ref.style,
6271
- otherProps = _objectWithoutProperties(_ref, _excluded$k);
6282
+ otherProps = _objectWithoutProperties(_ref, _excluded$p);
6272
6283
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
6273
6284
  React.useEffect(function () {
6274
6285
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
@@ -6374,7 +6385,7 @@ var AccordionItem = function AccordionItem(_ref) {
6374
6385
  }, content));
6375
6386
  };
6376
6387
 
6377
- var _excluded$j = ["key"];
6388
+ var _excluded$o = ["key"];
6378
6389
  var Accordion = function Accordion(_ref) {
6379
6390
  var items = _ref.items,
6380
6391
  activeItemKey = _ref.activeItemKey,
@@ -6395,7 +6406,7 @@ var Accordion = function Accordion(_ref) {
6395
6406
  testID: testID
6396
6407
  }, items.map(function (_ref2, index) {
6397
6408
  var key = _ref2.key,
6398
- props = _objectWithoutProperties(_ref2, _excluded$j);
6409
+ props = _objectWithoutProperties(_ref2, _excluded$o);
6399
6410
  var open = _activeItemKey === key;
6400
6411
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
6401
6412
  key: key
@@ -6777,7 +6788,7 @@ var StyledStatus = index$a(reactNative.Animated.View)(function (_ref3) {
6777
6788
  };
6778
6789
  });
6779
6790
 
6780
- var _excluded$i = ["children", "visible", "intent", "style", "testID"];
6791
+ var _excluded$n = ["children", "visible", "intent", "style", "testID"];
6781
6792
  var Status = function Status(_ref) {
6782
6793
  var children = _ref.children,
6783
6794
  _ref$visible = _ref.visible,
@@ -6786,7 +6797,7 @@ var Status = function Status(_ref) {
6786
6797
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
6787
6798
  style = _ref.style,
6788
6799
  testID = _ref.testID,
6789
- nativeProps = _objectWithoutProperties(_ref, _excluded$i);
6800
+ nativeProps = _objectWithoutProperties(_ref, _excluded$n);
6790
6801
  var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
6791
6802
  opacity = _React$useRef.current;
6792
6803
  var isFirstRendering = React__default["default"].useRef(true);
@@ -6819,7 +6830,7 @@ var Status = function Status(_ref) {
6819
6830
  }));
6820
6831
  };
6821
6832
 
6822
- var _excluded$h = ["content", "visible", "max", "intent", "style", "testID"];
6833
+ var _excluded$m = ["content", "visible", "max", "intent", "style", "testID"];
6823
6834
  var DEFAULT_MAX_NUMBER = 99;
6824
6835
  var getPaddingState = function getPaddingState(content) {
6825
6836
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -6834,7 +6845,7 @@ var Badge = function Badge(_ref) {
6834
6845
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
6835
6846
  style = _ref.style,
6836
6847
  testID = _ref.testID,
6837
- nativeProps = _objectWithoutProperties(_ref, _excluded$h);
6848
+ nativeProps = _objectWithoutProperties(_ref, _excluded$m);
6838
6849
  var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
6839
6850
  opacity = _React$useRef.current;
6840
6851
  var isFirstRendering = React__default["default"].useRef(true);
@@ -6938,7 +6949,7 @@ function omit(keys, obj) {
6938
6949
  return result;
6939
6950
  }
6940
6951
 
6941
- var _excluded$g = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
6952
+ var _excluded$l = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
6942
6953
  var getInactiveIcon = function getInactiveIcon(icon) {
6943
6954
  var inactiveIcon = "".concat(icon, "-outlined");
6944
6955
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -6949,7 +6960,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
6949
6960
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
6950
6961
  selectedTabKey = _ref.selectedTabKey,
6951
6962
  tabs = _ref.tabs,
6952
- nativeProps = _objectWithoutProperties(_ref, _excluded$g);
6963
+ nativeProps = _objectWithoutProperties(_ref, _excluded$l);
6953
6964
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
6954
6965
  /**
6955
6966
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -7036,13 +7047,13 @@ var StyledDivider = index$a(reactNative.View)(function (_ref) {
7036
7047
  }, horizontalMargin), verticalMargin);
7037
7048
  });
7038
7049
 
7039
- var _excluded$f = ["marginHorizontal", "marginVertical", "style", "testID"];
7050
+ var _excluded$k = ["marginHorizontal", "marginVertical", "style", "testID"];
7040
7051
  var Divider = function Divider(_ref) {
7041
7052
  var marginHorizontal = _ref.marginHorizontal,
7042
7053
  marginVertical = _ref.marginVertical,
7043
7054
  style = _ref.style,
7044
7055
  testID = _ref.testID,
7045
- nativeProps = _objectWithoutProperties(_ref, _excluded$f);
7056
+ nativeProps = _objectWithoutProperties(_ref, _excluded$k);
7046
7057
  return /*#__PURE__*/React__default["default"].createElement(StyledDivider, _extends$1({}, nativeProps, {
7047
7058
  themeMarginHorizontal: marginHorizontal,
7048
7059
  themeMarginVertical: marginVertical,
@@ -7172,7 +7183,7 @@ var StyledLoadingDot = index$a(reactNative.View)(function (_ref2) {
7172
7183
  }, themeStyling());
7173
7184
  });
7174
7185
 
7175
- var _excluded$e = ["count", "size", "testID", "themeVariant"];
7186
+ var _excluded$j = ["count", "size", "testID", "themeVariant"];
7176
7187
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
7177
7188
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
7178
7189
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -7204,7 +7215,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
7204
7215
  size = _ref2$size === void 0 ? 12 : _ref2$size,
7205
7216
  testID = _ref2.testID,
7206
7217
  themeVariant = _ref2.themeVariant,
7207
- nativeProps = _objectWithoutProperties(_ref2, _excluded$e);
7218
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$j);
7208
7219
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
7209
7220
  React.useEffect(function () {
7210
7221
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -7600,11 +7611,11 @@ var Header = function Header(_ref) {
7600
7611
  })) : null), showDivider ? /*#__PURE__*/React__default["default"].createElement(Divider, null) : null);
7601
7612
  };
7602
7613
 
7603
- var _excluded$d = ["scrollEventThrottle"];
7614
+ var _excluded$i = ["scrollEventThrottle"];
7604
7615
  var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
7605
7616
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
7606
7617
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
7607
- props = _objectWithoutProperties(_ref, _excluded$d);
7618
+ props = _objectWithoutProperties(_ref, _excluded$i);
7608
7619
  var _useContext = React.useContext(BottomSheetContext),
7609
7620
  setInternalShowDivider = _useContext.setInternalShowDivider;
7610
7621
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -7919,7 +7930,7 @@ var borderWidths = {
7919
7930
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
7920
7931
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
7921
7932
 
7922
- var _excluded$c = ["theme"];
7933
+ var _excluded$h = ["theme"];
7923
7934
  var getThemeValue = function getThemeValue(theme, key, props) {
7924
7935
  var propConfig = config[key];
7925
7936
  var propValue = props[key];
@@ -7946,18 +7957,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
7946
7957
  var configKeys = Object.keys(config);
7947
7958
  var StyledBox = index$a(reactNative.View)(function (_ref5) {
7948
7959
  var theme = _ref5.theme,
7949
- otherProps = _objectWithoutProperties(_ref5, _excluded$c);
7960
+ otherProps = _objectWithoutProperties(_ref5, _excluded$h);
7950
7961
  var styleProps = pick(configKeys, otherProps);
7951
7962
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
7952
7963
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
7953
7964
  });
7954
7965
 
7955
- var _excluded$b = ["children", "style", "testID"];
7966
+ var _excluded$g = ["children", "style", "testID"];
7956
7967
  var Box = function Box(_ref) {
7957
7968
  var children = _ref.children,
7958
7969
  style = _ref.style,
7959
7970
  testID = _ref.testID,
7960
- otherProps = _objectWithoutProperties(_ref, _excluded$b);
7971
+ otherProps = _objectWithoutProperties(_ref, _excluded$g);
7961
7972
  return /*#__PURE__*/React__default["default"].createElement(StyledBox, _extends$1({}, otherProps, {
7962
7973
  style: style,
7963
7974
  testID: testID
@@ -10568,7 +10579,7 @@ var CarouselPaginator = function CarouselPaginator(_ref) {
10568
10579
  }));
10569
10580
  };
10570
10581
 
10571
- var _excluded$a = ["rounded", "size", "testID", "style"];
10582
+ var _excluded$f = ["rounded", "size", "testID", "style"];
10572
10583
  var Image = function Image(_ref) {
10573
10584
  var _ref$rounded = _ref.rounded,
10574
10585
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -10576,7 +10587,7 @@ var Image = function Image(_ref) {
10576
10587
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
10577
10588
  testID = _ref.testID,
10578
10589
  style = _ref.style,
10579
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$a);
10590
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$f);
10580
10591
  var theme = useTheme();
10581
10592
  var imageSize = theme.__hd__.image.sizes[size];
10582
10593
  return /*#__PURE__*/React__default["default"].createElement(reactNative.Image, _extends$1({
@@ -10626,7 +10637,8 @@ var StyledCarouselImage = index$a(Image)(function () {
10626
10637
  var StyledCarouselContentWrapper = index$a(Box)(function (_ref3) {
10627
10638
  var width = _ref3.width;
10628
10639
  return {
10629
- width: width
10640
+ width: width,
10641
+ minHeight: scale(250)
10630
10642
  };
10631
10643
  });
10632
10644
  var StyledCarouselFooterWrapper = index$a(reactNative.View)(function (_ref4) {
@@ -10658,10 +10670,12 @@ var CarouselItem = function CarouselItem(_ref) {
10658
10670
  paddingHorizontal: "large",
10659
10671
  marginTop: "large",
10660
10672
  width: width
10661
- }, content, /*#__PURE__*/React__default["default"].createElement(StyledCarouselHeading, null, heading), body ? /*#__PURE__*/React__default["default"].createElement(Typography.Text, null, body) : null));
10673
+ }, content, /*#__PURE__*/React__default["default"].createElement(StyledCarouselHeading, null, heading), body ? /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
10674
+ fontSize: "large"
10675
+ }, body) : null));
10662
10676
  };
10663
10677
 
10664
- var _excluded$9 = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style"];
10678
+ var _excluded$e = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style"];
10665
10679
  function useStateFromProp(initialValue) {
10666
10680
  var _useState = React.useState(initialValue),
10667
10681
  _useState2 = _slicedToArray(_useState, 2),
@@ -10679,7 +10693,7 @@ var Carousel = function Carousel(_ref) {
10679
10693
  _ref$selectedItemInde = _ref.selectedItemIndex,
10680
10694
  selectedItemIndex = _ref$selectedItemInde === void 0 ? 0 : _ref$selectedItemInde,
10681
10695
  style = _ref.style,
10682
- nativeProps = _objectWithoutProperties(_ref, _excluded$9);
10696
+ nativeProps = _objectWithoutProperties(_ref, _excluded$e);
10683
10697
  var carouselRef = React.useRef(null);
10684
10698
  var _useStateFromProp = useStateFromProp(selectedItemIndex),
10685
10699
  _useStateFromProp2 = _slicedToArray(_useStateFromProp, 2),
@@ -10779,12 +10793,12 @@ var Indicator = index$a(reactNative.View)(function (_ref2) {
10779
10793
  };
10780
10794
  });
10781
10795
 
10782
- var _excluded$8 = ["intent", "children"];
10796
+ var _excluded$d = ["intent", "children"];
10783
10797
  var DataCard = function DataCard(_ref) {
10784
10798
  var _ref$intent = _ref.intent,
10785
10799
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
10786
10800
  children = _ref.children,
10787
- nativeProps = _objectWithoutProperties(_ref, _excluded$8);
10801
+ nativeProps = _objectWithoutProperties(_ref, _excluded$d);
10788
10802
  return /*#__PURE__*/React__default["default"].createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default["default"].createElement(Indicator, {
10789
10803
  themeIntent: intent,
10790
10804
  testID: "data-card-indicator"
@@ -10802,11 +10816,11 @@ var StyledCard = index$a(reactNative.View)(function (_ref) {
10802
10816
  });
10803
10817
  });
10804
10818
 
10805
- var _excluded$7 = ["intent", "children"];
10819
+ var _excluded$c = ["intent", "children"];
10806
10820
  var Card = function Card(_ref) {
10807
10821
  var intent = _ref.intent,
10808
10822
  children = _ref.children,
10809
- nativeProps = _objectWithoutProperties(_ref, _excluded$7);
10823
+ nativeProps = _objectWithoutProperties(_ref, _excluded$c);
10810
10824
  return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends$1({}, nativeProps, {
10811
10825
  themeIntent: intent
10812
10826
  }), children);
@@ -11040,7 +11054,7 @@ var StyledErrorAndMaxLengthContainer = index$a(reactNative.View)(function () {
11040
11054
  };
11041
11055
  });
11042
11056
 
11043
- var _excluded$6 = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue"];
11057
+ var _excluded$b = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue"];
11044
11058
  var getVariant$1 = function getVariant(_ref) {
11045
11059
  var disabled = _ref.disabled,
11046
11060
  error = _ref.error,
@@ -11086,7 +11100,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
11086
11100
  value = _ref2.value,
11087
11101
  defaultValue = _ref2.defaultValue,
11088
11102
  renderInputValue = _ref2.renderInputValue,
11089
- nativeProps = _objectWithoutProperties(_ref2, _excluded$6);
11103
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$b);
11090
11104
  var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
11091
11105
  var isEmptyValue = displayText.length === 0;
11092
11106
  var actualSuffix = loading ? 'loading' : suffix;
@@ -11764,11 +11778,11 @@ var StyledFABText = index$a(reactNative.Text)(function (_ref3) {
11764
11778
  };
11765
11779
  });
11766
11780
 
11767
- var _excluded$5 = ["active"];
11781
+ var _excluded$a = ["active"];
11768
11782
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
11769
11783
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
11770
11784
  var active = _ref.active,
11771
- iconProps = _objectWithoutProperties(_ref, _excluded$5);
11785
+ iconProps = _objectWithoutProperties(_ref, _excluded$a);
11772
11786
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
11773
11787
  React.useEffect(function () {
11774
11788
  var animation = reactNative.Animated.timing(rotateAnimation.current, {
@@ -12121,8 +12135,7 @@ var ListItem = function ListItem(_ref) {
12121
12135
  intent: disabled ? 'disabled-text' : 'primary'
12122
12136
  }) : prefix), /*#__PURE__*/React__default["default"].createElement(StyledTitleContainer$1, null, /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
12123
12137
  intent: "body",
12124
- fontSize: "large",
12125
- fontWeight: "semi-bold"
12138
+ fontSize: "large"
12126
12139
  }, title), !!subtitle && /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
12127
12140
  intent: "subdued",
12128
12141
  fontSize: "small"
@@ -12499,7 +12512,7 @@ var StyledStrokeEnd = index$a(reactNative.View)(function (_ref6) {
12499
12512
  };
12500
12513
  });
12501
12514
 
12502
- var _excluded$4 = ["value", "renderValue", "intent", "style", "testID"];
12515
+ var _excluded$9 = ["value", "renderValue", "intent", "style", "testID"];
12503
12516
  var HalfCircle = function HalfCircle(_ref) {
12504
12517
  var type = _ref.type,
12505
12518
  themeIntent = _ref.themeIntent;
@@ -12520,7 +12533,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
12520
12533
  intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
12521
12534
  style = _ref2.style,
12522
12535
  testID = _ref2.testID,
12523
- nativeProps = _objectWithoutProperties(_ref2, _excluded$4);
12536
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$9);
12524
12537
  var theme = useTheme$1();
12525
12538
  var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
12526
12539
  var progressAnimatedValue = React.useRef(new reactNative.Animated.Value(0));
@@ -12637,14 +12650,14 @@ var StyledInner = index$a(reactNative.Animated.View)(function (_ref2) {
12637
12650
  };
12638
12651
  });
12639
12652
 
12640
- var _excluded$3 = ["value", "intent", "style", "testID"];
12653
+ var _excluded$8 = ["value", "intent", "style", "testID"];
12641
12654
  var ProgressBar = function ProgressBar(_ref) {
12642
12655
  var value = _ref.value,
12643
12656
  _ref$intent = _ref.intent,
12644
12657
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
12645
12658
  style = _ref.style,
12646
12659
  testID = _ref.testID,
12647
- nativeProps = _objectWithoutProperties(_ref, _excluded$3);
12660
+ nativeProps = _objectWithoutProperties(_ref, _excluded$8);
12648
12661
  var _useState = React.useState(0),
12649
12662
  _useState2 = _slicedToArray(_useState, 2),
12650
12663
  width = _useState2[0],
@@ -12835,14 +12848,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
12835
12848
  }, dotProps))));
12836
12849
  };
12837
12850
 
12838
- var _excluded$2 = ["testID", "size", "intent"];
12851
+ var _excluded$7 = ["testID", "size", "intent"];
12839
12852
  var Spinner = function Spinner(_ref) {
12840
12853
  var testID = _ref.testID,
12841
12854
  _ref$size = _ref.size,
12842
12855
  size = _ref$size === void 0 ? 'medium' : _ref$size,
12843
12856
  _ref$intent = _ref.intent,
12844
12857
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
12845
- nativeProps = _objectWithoutProperties(_ref, _excluded$2);
12858
+ nativeProps = _objectWithoutProperties(_ref, _excluded$7);
12846
12859
  return /*#__PURE__*/React__default["default"].createElement(StyledView$1, nativeProps, /*#__PURE__*/React__default["default"].createElement(StyledSpinnerContainer, {
12847
12860
  testID: testID
12848
12861
  }, /*#__PURE__*/React__default["default"].createElement(AnimatedSpinner, {
@@ -12851,60 +12864,12 @@ var Spinner = function Spinner(_ref) {
12851
12864
  })));
12852
12865
  };
12853
12866
 
12854
- var Buttons = function Buttons(_ref) {
12855
- var _buttons$length;
12856
- var buttons = _ref.buttons,
12857
- isLeftButtons = _ref.isLeftButtons,
12858
- leftButtonContainerStyle = _ref.leftButtonContainerStyle,
12859
- rightButtonContainerStyle = _ref.rightButtonContainerStyle,
12860
- panAnimatedValue = _ref.panAnimatedValue,
12861
- width = _ref.width,
12862
- canSwipeLeft = _ref.canSwipeLeft,
12863
- canSwipeRight = _ref.canSwipeRight,
12864
- buttonWidth = _ref.buttonWidth;
12865
- var count = (_buttons$length = buttons === null || buttons === void 0 ? void 0 : buttons.length) !== null && _buttons$length !== void 0 ? _buttons$length : 0;
12866
- var leftEnd = canSwipeLeft ? -width : 0;
12867
- var rightEnd = canSwipeRight ? width : 0;
12868
- var inputRange = isLeftButtons ? [0, rightEnd] : [leftEnd, 0];
12869
- return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, buttons === null || buttons === void 0 ? void 0 : buttons.map(function (buttonContent, index) {
12870
- var outputMultiplier = -index / count;
12871
- var outputRange = isLeftButtons ? [0, rightEnd * outputMultiplier] : [leftEnd * outputMultiplier, 0];
12872
- var transform = [{
12873
- translateX: panAnimatedValue.x.interpolate({
12874
- inputRange: inputRange,
12875
- outputRange: outputRange,
12876
- extrapolate: 'clamp'
12877
- })
12878
- }];
12879
- var buttonStyle = [reactNative.StyleSheet.absoluteFill, {
12880
- width: buttonWidth,
12881
- transform: transform
12882
- }, isLeftButtons ? leftButtonContainerStyle : rightButtonContainerStyle];
12883
- return /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, {
12884
- key: index,
12885
- style: buttonStyle
12886
- }, buttonContent);
12887
- }));
12888
- };
12889
-
12890
12867
  var StyledRectButton = index$a(reactNative.TouchableOpacity)(function (_ref) {
12891
12868
  var theme = _ref.theme,
12892
12869
  themeIntent = _ref.themeIntent;
12893
12870
  return {
12894
12871
  flex: 1,
12895
- backgroundColor: theme.__hd__.swipeable.colors[themeIntent],
12896
- alignItems: 'center',
12897
- justifyContent: 'center'
12898
- };
12899
- });
12900
- var StyledWrapper$3 = index$a(reactNative.View)(function () {
12901
- return {
12902
- flexDirection: 'row'
12903
- };
12904
- });
12905
- var StyledContent = index$a(reactNative.Animated.View)(function () {
12906
- return {
12907
- flex: 1
12872
+ backgroundColor: theme.__hd__.swipeable.colors[themeIntent]
12908
12873
  };
12909
12874
  });
12910
12875
 
@@ -12913,122 +12878,215 @@ var SwipeableAction = function SwipeableAction(_ref) {
12913
12878
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
12914
12879
  onPress = _ref.onPress,
12915
12880
  style = _ref.style,
12916
- testID = _ref.testID,
12917
- label = _ref.label,
12918
- icon = _ref.icon;
12881
+ children = _ref.children,
12882
+ testID = _ref.testID;
12919
12883
  return /*#__PURE__*/React__default["default"].createElement(StyledRectButton, {
12920
12884
  onPress: onPress,
12921
12885
  themeIntent: intent,
12922
12886
  style: style,
12923
12887
  testID: testID
12924
- }, /*#__PURE__*/React__default["default"].createElement(Icon, {
12925
- icon: icon,
12926
- size: "xsmall"
12927
- }), /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
12928
- fontSize: "small"
12929
- }, label));
12888
+ }, children);
12889
+ };
12890
+
12891
+ var _excluded$6 = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth"];
12892
+ var renderActions = function renderActions(actions, width, progress, direction) {
12893
+ var trans = progress.interpolate({
12894
+ inputRange: [0, 1],
12895
+ outputRange: direction === 'left' ? [-width, 0] : [width, 0],
12896
+ extrapolate: 'clamp'
12897
+ });
12898
+ return /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, {
12899
+ style: {
12900
+ width: width,
12901
+ flexDirection: 'row',
12902
+ transform: [{
12903
+ translateX: trans
12904
+ }]
12905
+ }
12906
+ }, actions);
12907
+ };
12908
+ var Swipeable = function Swipeable(_ref) {
12909
+ var children = _ref.children,
12910
+ state = _ref.state,
12911
+ onStateChange = _ref.onStateChange,
12912
+ leftActions = _ref.leftActions,
12913
+ leftActionsWidth = _ref.leftActionsWidth,
12914
+ rightActions = _ref.rightActions,
12915
+ rightActionsWidth = _ref.rightActionsWidth,
12916
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$6);
12917
+ var _useWindowDimensions = reactNative.useWindowDimensions(),
12918
+ width = _useWindowDimensions.width;
12919
+ var swipeableRef = React.useRef(null);
12920
+ var renderLeftActions = React.useCallback(function (progress) {
12921
+ return renderActions(leftActions, leftActionsWidth || width, progress, 'left');
12922
+ }, [leftActions, leftActionsWidth, width]);
12923
+ var renderRightActions = React.useCallback(function (progress) {
12924
+ return renderActions(rightActions, rightActionsWidth || width, progress, 'right');
12925
+ }, [rightActions, rightActionsWidth, width]);
12926
+ React.useEffect(function () {
12927
+ if (swipeableRef.current === null) return;
12928
+ switch (state) {
12929
+ case 'leftOpen':
12930
+ swipeableRef.current.openLeft();
12931
+ break;
12932
+ case 'rightOpen':
12933
+ swipeableRef.current.openRight();
12934
+ break;
12935
+ case 'closed':
12936
+ swipeableRef.current.close();
12937
+ break;
12938
+ }
12939
+ }, [state]);
12940
+ return /*#__PURE__*/React__default["default"].createElement(reactNativeGestureHandler.GestureHandlerRootView, null, /*#__PURE__*/React__default["default"].createElement(reactNativeGestureHandler.Swipeable, _extends$1({}, swipeableProps, {
12941
+ ref: swipeableRef
12942
+ }, leftActions !== undefined && {
12943
+ renderLeftActions: renderLeftActions
12944
+ }, rightActions !== undefined && {
12945
+ renderRightActions: renderRightActions
12946
+ }, {
12947
+ onSwipeableLeftOpen: function onSwipeableLeftOpen() {
12948
+ return onStateChange === null || onStateChange === void 0 ? void 0 : onStateChange('leftOpen');
12949
+ },
12950
+ onSwipeableRightOpen: function onSwipeableRightOpen() {
12951
+ return onStateChange === null || onStateChange === void 0 ? void 0 : onStateChange('rightOpen');
12952
+ },
12953
+ onSwipeableClose: function onSwipeableClose() {
12954
+ return onStateChange === null || onStateChange === void 0 ? void 0 : onStateChange('closed');
12955
+ }
12956
+ }), children));
12930
12957
  };
12958
+ var index$5 = Object.assign(Swipeable, {
12959
+ Action: SwipeableAction,
12960
+ Content: reactNativeGestureHandler.RectButton
12961
+ });
12931
12962
 
12932
- var _excluded$1 = ["children", "leftActions", "leftContent", "rightActions", "rightContent", "style", "leftActionsWidth", "leftButtonWidth", "onSwipeLeftStart", "onSwipeLeftEnd", "rightActionsWidth", "rightButtonWidth", "onSwipeRightStart", "onSwipeRightEnd", "swipeState", "onStateChange"];
12963
+ var StyledWrapper$3 = index$a(reactNative.View)(function () {
12964
+ return {
12965
+ flexDirection: 'row'
12966
+ };
12967
+ });
12968
+ var StyledContent = index$a(reactNative.Animated.View)(function () {
12969
+ return {
12970
+ flex: 1
12971
+ };
12972
+ });
12973
+
12974
+ var _excluded$5 = ["children", "leftContent", "rightContent", "style", "leftActionsWidth", "onSwipeLeftStart", "onSwipeLeftEnd", "rightActionsWidth", "onSwipeRightStart", "onSwipeRightEnd"];
12933
12975
  var swipeStartMinDistance = 15;
12934
- var getReleaseAnimationConfig = function getReleaseAnimationConfig(swipeState, props) {
12935
- var totalLeftButtonsWidth = props.totalLeftButtonsWidth,
12936
- totalRightButtonsWidth = props.totalRightButtonsWidth;
12937
- var swipeReleaseAnimationConfig = {
12938
- toValue: {
12939
- x: 0,
12940
- y: 0
12976
+ var ReleaseAnimationConfig = {
12977
+ toValue: {
12978
+ x: 0,
12979
+ y: 0
12980
+ },
12981
+ duration: 100,
12982
+ easing: reactNative.Easing.elastic(0.5),
12983
+ useNativeDriver: true
12984
+ };
12985
+ var animationToNewState = function animationToNewState(pan) {
12986
+ var animationConfig = ReleaseAnimationConfig;
12987
+ pan.flattenOffset();
12988
+ return reactNative.Animated.timing(pan, animationConfig);
12989
+ };
12990
+ var hanleOnPanResponderEnd = function hanleOnPanResponderEnd(state, contextValues, event, gestureState) {
12991
+ var unmountedRef = contextValues.unmountedRef,
12992
+ onSwipeLeftEnd = contextValues.onSwipeLeftEnd,
12993
+ onSwipeRightEnd = contextValues.onSwipeRightEnd;
12994
+ var leftActionActivated = state.leftActionActivated,
12995
+ rightActionActivated = state.rightActionActivated,
12996
+ pan = state.pan;
12997
+ var animationConfig = ReleaseAnimationConfig;
12998
+ animationToNewState(pan).start(function () {
12999
+ if (unmountedRef.current) {
13000
+ return;
13001
+ }
13002
+ if (leftActionActivated && onSwipeRightEnd) {
13003
+ onSwipeRightEnd(event, gestureState);
13004
+ }
13005
+ if (rightActionActivated && onSwipeLeftEnd) {
13006
+ onSwipeLeftEnd(event, gestureState);
13007
+ }
13008
+ });
13009
+ return _objectSpread2(_objectSpread2({}, state), {}, {
13010
+ lastOffset: {
13011
+ x: animationConfig.toValue.x,
13012
+ y: animationConfig.toValue.y
12941
13013
  },
12942
- duration: 100,
12943
- easing: reactNative.Easing.elastic(0.5),
12944
- useNativeDriver: true
12945
- };
12946
- if (swipeState === 'leftOpen') {
12947
- return _objectSpread2(_objectSpread2({}, swipeReleaseAnimationConfig), {}, {
12948
- toValue: {
12949
- x: totalLeftButtonsWidth,
12950
- y: 0
12951
- }
12952
- });
13014
+ leftActionActivated: false,
13015
+ rightActionActivated: false
13016
+ });
13017
+ };
13018
+ var hanleOnPanResponderMove = function hanleOnPanResponderMove(state, contextValues, event, gestureState) {
13019
+ var leftActionsWidth = contextValues.leftActionsWidth,
13020
+ rightActionsWidth = contextValues.rightActionsWidth,
13021
+ onSwipeLeftStart = contextValues.onSwipeLeftStart,
13022
+ onSwipeRightStart = contextValues.onSwipeRightStart,
13023
+ canSwipeRight = contextValues.canSwipeRight,
13024
+ canSwipeLeft = contextValues.canSwipeLeft;
13025
+ var lastOffset = state.lastOffset,
13026
+ leftActionActivated = state.leftActionActivated,
13027
+ rightActionActivated = state.rightActionActivated;
13028
+ var dx = gestureState.dx;
13029
+ var x = dx + lastOffset.x;
13030
+ var nextLeftActionActivated = leftActionActivated;
13031
+ var nextRightActionActivated = rightActionActivated;
13032
+ reactNative.Animated.event([null, {
13033
+ dx: state.pan.x,
13034
+ dy: state.pan.y
13035
+ }], {
13036
+ useNativeDriver: false
13037
+ })(event, gestureState);
13038
+ if (!leftActionActivated && canSwipeRight && x >= leftActionsWidth) {
13039
+ nextLeftActionActivated = true;
13040
+ onSwipeRightStart(event, gestureState);
12953
13041
  }
12954
- if (swipeState === 'rightOpen') {
12955
- return _objectSpread2(_objectSpread2({}, swipeReleaseAnimationConfig), {}, {
12956
- toValue: {
12957
- x: totalRightButtonsWidth * -1,
12958
- y: 0
12959
- }
12960
- });
13042
+ if (leftActionActivated && canSwipeRight && x < leftActionsWidth) {
13043
+ nextLeftActionActivated = false;
12961
13044
  }
12962
- return swipeReleaseAnimationConfig;
12963
- };
12964
- var getPos = function getPos(_ref) {
12965
- var swipeState = _ref.swipeState,
12966
- totalLeftButtonsWidth = _ref.totalLeftButtonsWidth,
12967
- totalRightButtonsWidth = _ref.totalRightButtonsWidth;
12968
- if (swipeState === 'leftOpen') {
12969
- return {
12970
- x: totalLeftButtonsWidth,
12971
- y: 0
12972
- };
13045
+ if (!rightActionActivated && canSwipeLeft && x <= -rightActionsWidth) {
13046
+ nextRightActionActivated = true;
13047
+ onSwipeLeftStart(event, gestureState);
12973
13048
  }
12974
- if (swipeState === 'rightOpen') {
12975
- return {
12976
- x: totalRightButtonsWidth * -1,
12977
- y: 0
12978
- };
13049
+ if (rightActionActivated && canSwipeLeft && x > -rightActionsWidth) {
13050
+ nextRightActionActivated = false;
12979
13051
  }
12980
- return {
12981
- x: 0,
12982
- y: 0
12983
- };
13052
+ var needsUpdate = nextLeftActionActivated !== leftActionActivated || nextRightActionActivated !== rightActionActivated;
13053
+ if (needsUpdate) {
13054
+ return _objectSpread2(_objectSpread2({}, state), {}, {
13055
+ leftActionActivated: nextLeftActionActivated,
13056
+ rightActionActivated: nextRightActionActivated
13057
+ });
13058
+ }
13059
+ return state;
12984
13060
  };
12985
- var Swipeable = function Swipeable(_ref2) {
12986
- var children = _ref2.children,
12987
- _ref2$leftActions = _ref2.leftActions,
12988
- leftActions = _ref2$leftActions === void 0 ? [] : _ref2$leftActions,
12989
- leftContent = _ref2.leftContent,
12990
- _ref2$rightActions = _ref2.rightActions,
12991
- rightActions = _ref2$rightActions === void 0 ? [] : _ref2$rightActions,
12992
- rightContent = _ref2.rightContent,
12993
- style = _ref2.style,
12994
- _ref2$leftActionsWidt = _ref2.leftActionsWidth,
12995
- leftActionsWidth = _ref2$leftActionsWidt === void 0 ? scale(85) : _ref2$leftActionsWidt,
12996
- _ref2$leftButtonWidth = _ref2.leftButtonWidth,
12997
- leftButtonWidth = _ref2$leftButtonWidth === void 0 ? scale(85) : _ref2$leftButtonWidth,
12998
- _ref2$onSwipeLeftStar = _ref2.onSwipeLeftStart,
12999
- onSwipeLeftStart = _ref2$onSwipeLeftStar === void 0 ? noop : _ref2$onSwipeLeftStar,
13000
- _ref2$onSwipeLeftEnd = _ref2.onSwipeLeftEnd,
13001
- onSwipeLeftEnd = _ref2$onSwipeLeftEnd === void 0 ? noop : _ref2$onSwipeLeftEnd,
13002
- _ref2$rightActionsWid = _ref2.rightActionsWidth,
13003
- rightActionsWidth = _ref2$rightActionsWid === void 0 ? scale(85) : _ref2$rightActionsWid,
13004
- _ref2$rightButtonWidt = _ref2.rightButtonWidth,
13005
- rightButtonWidth = _ref2$rightButtonWidt === void 0 ? scale(85) : _ref2$rightButtonWidt,
13006
- _ref2$onSwipeRightSta = _ref2.onSwipeRightStart,
13007
- onSwipeRightStart = _ref2$onSwipeRightSta === void 0 ? noop : _ref2$onSwipeRightSta,
13008
- _ref2$onSwipeRightEnd = _ref2.onSwipeRightEnd,
13009
- onSwipeRightEnd = _ref2$onSwipeRightEnd === void 0 ? noop : _ref2$onSwipeRightEnd,
13010
- _ref2$swipeState = _ref2.swipeState,
13011
- swipeState = _ref2$swipeState === void 0 ? 'closed' : _ref2$swipeState,
13012
- _ref2$onStateChange = _ref2.onStateChange,
13013
- onStateChange = _ref2$onStateChange === void 0 ? noop : _ref2$onStateChange,
13014
- rest = _objectWithoutProperties(_ref2, _excluded$1);
13061
+ var SwipeableV2 = function SwipeableV2(_ref) {
13062
+ var children = _ref.children,
13063
+ leftContent = _ref.leftContent,
13064
+ rightContent = _ref.rightContent,
13065
+ style = _ref.style,
13066
+ _ref$leftActionsWidth = _ref.leftActionsWidth,
13067
+ leftActionsWidth = _ref$leftActionsWidth === void 0 ? scale(200) : _ref$leftActionsWidth,
13068
+ _ref$onSwipeLeftStart = _ref.onSwipeLeftStart,
13069
+ onSwipeLeftStart = _ref$onSwipeLeftStart === void 0 ? noop : _ref$onSwipeLeftStart,
13070
+ _ref$onSwipeLeftEnd = _ref.onSwipeLeftEnd,
13071
+ onSwipeLeftEnd = _ref$onSwipeLeftEnd === void 0 ? noop : _ref$onSwipeLeftEnd,
13072
+ _ref$rightActionsWidt = _ref.rightActionsWidth,
13073
+ rightActionsWidth = _ref$rightActionsWidt === void 0 ? scale(200) : _ref$rightActionsWidt,
13074
+ _ref$onSwipeRightStar = _ref.onSwipeRightStart,
13075
+ onSwipeRightStart = _ref$onSwipeRightStar === void 0 ? noop : _ref$onSwipeRightStar,
13076
+ _ref$onSwipeRightEnd = _ref.onSwipeRightEnd,
13077
+ onSwipeRightEnd = _ref$onSwipeRightEnd === void 0 ? noop : _ref$onSwipeRightEnd,
13078
+ rest = _objectWithoutProperties(_ref, _excluded$5);
13015
13079
  var propsWithDefaultValue = _objectSpread2({
13016
13080
  children: children,
13017
- leftActions: leftActions,
13018
13081
  leftContent: leftContent,
13019
- rightActions: rightActions,
13020
13082
  rightContent: rightContent,
13021
13083
  style: style,
13022
13084
  leftActionsWidth: leftActionsWidth,
13023
- leftButtonWidth: leftButtonWidth,
13024
13085
  onSwipeLeftStart: onSwipeLeftStart,
13025
13086
  onSwipeLeftEnd: onSwipeLeftEnd,
13026
13087
  rightActionsWidth: rightActionsWidth,
13027
- rightButtonWidth: rightButtonWidth,
13028
13088
  onSwipeRightStart: onSwipeRightStart,
13029
- onSwipeRightEnd: onSwipeRightEnd,
13030
- swipeState: swipeState,
13031
- onStateChange: onStateChange
13089
+ onSwipeRightEnd: onSwipeRightEnd
13032
13090
  }, rest);
13033
13091
  var unmountedRef = React__default["default"].useRef(false);
13034
13092
  React.useEffect(function () {
@@ -13036,30 +13094,24 @@ var Swipeable = function Swipeable(_ref2) {
13036
13094
  unmountedRef.current = true;
13037
13095
  };
13038
13096
  }, []);
13039
- var totalLeftButtonsWidth = leftActions.length * leftButtonWidth;
13040
- var totalRightButtonsWidth = rightActions.length * rightButtonWidth;
13041
13097
  var _React$useState = React__default["default"].useState(0),
13042
13098
  _React$useState2 = _slicedToArray(_React$useState, 2),
13043
13099
  width = _React$useState2[0],
13044
13100
  setWidth = _React$useState2[1];
13045
- var hasLeftButtons = !leftContent && leftActions && leftActions.length > 0;
13046
- var hasRightButtons = !rightContent && rightActions && rightActions.length > 0;
13047
- var canSwipeRight = !!leftContent || !!hasLeftButtons;
13048
- var canSwipeLeft = !!rightContent || !!hasRightButtons;
13101
+ var canSwipeRight = !!leftContent;
13102
+ var canSwipeLeft = !!rightContent;
13049
13103
  var propsRef = React__default["default"].useRef(undefined);
13050
13104
  var _React$useState3 = React__default["default"].useState({
13051
- pan: new reactNative.Animated.ValueXY(getPos({
13052
- swipeState: swipeState,
13053
- totalLeftButtonsWidth: totalLeftButtonsWidth,
13054
- totalRightButtonsWidth: totalRightButtonsWidth
13055
- })),
13105
+ pan: new reactNative.Animated.ValueXY({
13106
+ x: 0,
13107
+ y: 0
13108
+ }),
13056
13109
  lastOffset: {
13057
13110
  x: 0,
13058
13111
  y: 0
13059
13112
  },
13060
13113
  leftActionActivated: false,
13061
- rightActionActivated: true,
13062
- swipeState: 'closed'
13114
+ rightActionActivated: false
13063
13115
  }),
13064
13116
  _React$useState4 = _slicedToArray(_React$useState3, 2),
13065
13117
  state = _React$useState4[0],
@@ -13067,24 +13119,8 @@ var Swipeable = function Swipeable(_ref2) {
13067
13119
  propsRef.current = _objectSpread2(_objectSpread2({}, propsWithDefaultValue), {}, {
13068
13120
  canSwipeLeft: canSwipeLeft,
13069
13121
  canSwipeRight: canSwipeRight,
13070
- totalLeftButtonsWidth: totalLeftButtonsWidth,
13071
- totalRightButtonsWidth: totalRightButtonsWidth,
13072
- hasLeftButtons: hasLeftButtons,
13073
- hasRightButtons: hasRightButtons,
13074
13122
  unmountedRef: unmountedRef
13075
13123
  });
13076
- React.useEffect(function () {
13077
- var animation = null;
13078
- if (state.swipeState !== swipeState) {
13079
- animation = animationToNewState(swipeState, state.pan, totalLeftButtonsWidth, totalRightButtonsWidth);
13080
- animation.start();
13081
- }
13082
- return function () {
13083
- if (animation) {
13084
- animation.stop();
13085
- }
13086
- };
13087
- }, [swipeState]);
13088
13124
  var transform = [{
13089
13125
  translateX: state.pan.x.interpolate({
13090
13126
  inputRange: [canSwipeLeft ? -width : 0, canSwipeRight ? width : 0],
@@ -13126,8 +13162,7 @@ var Swipeable = function Swipeable(_ref2) {
13126
13162
  })).current;
13127
13163
  return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$3, _extends$1({
13128
13164
  onLayout: function onLayout(event) {
13129
- var width = event.nativeEvent.layout.width;
13130
- setWidth(width);
13165
+ setWidth(event.nativeEvent.layout.width);
13131
13166
  },
13132
13167
  style: [{
13133
13168
  flexDirection: 'row'
@@ -13138,15 +13173,7 @@ var Swipeable = function Swipeable(_ref2) {
13138
13173
  marginLeft: -width,
13139
13174
  width: width
13140
13175
  }]
13141
- }, leftContent || /*#__PURE__*/React__default["default"].createElement(Buttons, {
13142
- buttons: leftActions,
13143
- isLeftButtons: true,
13144
- panAnimatedValue: state.pan,
13145
- width: width,
13146
- canSwipeLeft: canSwipeLeft,
13147
- canSwipeRight: canSwipeRight,
13148
- buttonWidth: leftButtonWidth
13149
- })), /*#__PURE__*/React__default["default"].createElement(StyledContent, {
13176
+ }, leftContent), /*#__PURE__*/React__default["default"].createElement(StyledContent, {
13150
13177
  style: {
13151
13178
  transform: transform
13152
13179
  }
@@ -13156,139 +13183,8 @@ var Swipeable = function Swipeable(_ref2) {
13156
13183
  marginRight: -width,
13157
13184
  width: width
13158
13185
  }]
13159
- }, rightContent || /*#__PURE__*/React__default["default"].createElement(Buttons, {
13160
- buttons: rightActions,
13161
- isLeftButtons: false,
13162
- panAnimatedValue: state.pan,
13163
- width: width,
13164
- canSwipeRight: canSwipeRight,
13165
- canSwipeLeft: canSwipeLeft,
13166
- buttonWidth: rightButtonWidth
13167
- })));
13168
- };
13169
- var animationToNewState = function animationToNewState(swipeState, pan, totalLeftButtonsWidth, totalRightButtonsWidth) {
13170
- var animationConfig = getReleaseAnimationConfig(swipeState, {
13171
- totalLeftButtonsWidth: totalLeftButtonsWidth,
13172
- totalRightButtonsWidth: totalRightButtonsWidth
13173
- });
13174
- pan.flattenOffset();
13175
- return reactNative.Animated.timing(pan, animationConfig);
13176
- };
13177
- var hanleOnPanResponderEnd = function hanleOnPanResponderEnd(state, contextValues, event, gestureState) {
13178
- var totalLeftButtonsWidth = contextValues.totalLeftButtonsWidth,
13179
- totalRightButtonsWidth = contextValues.totalRightButtonsWidth,
13180
- unmountedRef = contextValues.unmountedRef,
13181
- onSwipeLeftEnd = contextValues.onSwipeLeftEnd,
13182
- onSwipeRightEnd = contextValues.onSwipeRightEnd,
13183
- onStateChange = contextValues.onStateChange;
13184
- var leftActionActivated = state.leftActionActivated,
13185
- rightActionActivated = state.rightActionActivated,
13186
- pan = state.pan,
13187
- swipeState = state.swipeState;
13188
- var animationConfig = getReleaseAnimationConfig(swipeState, {
13189
- totalLeftButtonsWidth: totalLeftButtonsWidth,
13190
- totalRightButtonsWidth: totalRightButtonsWidth
13191
- });
13192
- animationToNewState(swipeState, pan, totalLeftButtonsWidth, totalRightButtonsWidth).start(function () {
13193
- if (unmountedRef.current) {
13194
- return;
13195
- }
13196
- if (leftActionActivated && onSwipeLeftEnd) {
13197
- onSwipeLeftEnd(event, gestureState);
13198
- }
13199
- if (rightActionActivated && onSwipeRightEnd) {
13200
- onSwipeRightEnd(event, gestureState);
13201
- }
13202
- onStateChange(swipeState);
13203
- });
13204
- return _objectSpread2(_objectSpread2({}, state), {}, {
13205
- lastOffset: {
13206
- x: animationConfig.toValue.x,
13207
- y: animationConfig.toValue.y
13208
- },
13209
- leftActionActivated: false,
13210
- rightActionActivated: false
13211
- });
13186
+ }, rightContent));
13212
13187
  };
13213
- var hanleOnPanResponderMove = function hanleOnPanResponderMove(state, contextValues, event, gestureState) {
13214
- var leftActionsWidth = contextValues.leftActionsWidth,
13215
- rightActionsWidth = contextValues.rightActionsWidth,
13216
- onSwipeLeftStart = contextValues.onSwipeLeftStart,
13217
- onSwipeRightStart = contextValues.onSwipeRightStart,
13218
- canSwipeRight = contextValues.canSwipeRight,
13219
- canSwipeLeft = contextValues.canSwipeLeft,
13220
- hasLeftButtons = contextValues.hasLeftButtons,
13221
- hasRightButtons = contextValues.hasRightButtons;
13222
- var lastOffset = state.lastOffset,
13223
- leftActionActivated = state.leftActionActivated,
13224
- swipeState = state.swipeState,
13225
- rightActionActivated = state.rightActionActivated;
13226
- var dx = gestureState.dx,
13227
- vx = gestureState.vx;
13228
- var x = dx + lastOffset.x;
13229
- var isSwipingLeft = vx < 0;
13230
- var isSwipingRight = vx > 0;
13231
- var leftActionsActivated = swipeState === 'leftOpen';
13232
- var rightActionsActivated = swipeState === 'rightOpen';
13233
- var nextLeftActionActivated = leftActionActivated;
13234
- var nextLeftButtonsActivated = leftActionsActivated;
13235
- var nextRightActionActivated = rightActionActivated;
13236
- var nextRightButtonsActivated = rightActionsActivated;
13237
- reactNative.Animated.event([null, {
13238
- dx: state.pan.x,
13239
- dy: state.pan.y
13240
- }], {
13241
- useNativeDriver: false
13242
- })(event, gestureState);
13243
- if (!leftActionActivated && canSwipeRight && x >= leftActionsWidth) {
13244
- nextLeftActionActivated = true;
13245
- onSwipeRightStart(event, gestureState);
13246
- }
13247
- if (leftActionActivated && canSwipeRight && x < leftActionsWidth) {
13248
- nextLeftActionActivated = false;
13249
- }
13250
- if (!rightActionActivated && canSwipeLeft && x <= -rightActionsWidth) {
13251
- nextRightActionActivated = true;
13252
- onSwipeLeftStart(event, gestureState);
13253
- }
13254
- if (rightActionActivated && canSwipeLeft && x > -rightActionsWidth) {
13255
- nextRightActionActivated = false;
13256
- }
13257
- if (!leftActionsActivated && hasLeftButtons && !isSwipingLeft && x >= leftActionsWidth) {
13258
- nextLeftButtonsActivated = true;
13259
- }
13260
- if (leftActionsActivated && hasLeftButtons && isSwipingLeft) {
13261
- nextLeftButtonsActivated = false;
13262
- }
13263
- if (!rightActionsActivated && hasRightButtons && !isSwipingRight && x <= -rightActionsWidth) {
13264
- nextRightButtonsActivated = true;
13265
- }
13266
- if (rightActionsActivated && hasRightButtons && isSwipingRight) {
13267
- nextRightButtonsActivated = false;
13268
- }
13269
- var needsUpdate = nextLeftActionActivated !== leftActionActivated || nextLeftButtonsActivated !== leftActionsActivated || nextRightActionActivated !== rightActionActivated || nextRightButtonsActivated !== rightActionsActivated;
13270
- if (needsUpdate) {
13271
- var nextSwipeState = function () {
13272
- if (nextLeftButtonsActivated) {
13273
- return 'leftOpen';
13274
- } else if (nextRightButtonsActivated) {
13275
- return 'rightOpen';
13276
- } else {
13277
- return 'closed';
13278
- }
13279
- }();
13280
- return _objectSpread2(_objectSpread2({}, state), {}, {
13281
- leftActionActivated: nextLeftActionActivated,
13282
- rightActionActivated: nextRightActionActivated,
13283
- swipeState: nextSwipeState
13284
- });
13285
- } else {
13286
- return state;
13287
- }
13288
- };
13289
- var index$5 = Object.assign( /*#__PURE__*/React__default["default"].memo(Swipeable), {
13290
- Action: SwipeableAction
13291
- });
13292
13188
 
13293
13189
  var Circle = index$a(reactNative.View)(function (_ref) {
13294
13190
  var theme = _ref.theme;
@@ -13548,6 +13444,7 @@ var StyledSectionList = index$a(reactNative.SectionList)(function (_ref4) {
13548
13444
  };
13549
13445
  });
13550
13446
 
13447
+ var _excluded$4 = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
13551
13448
  var BaseOptionList = function BaseOptionList(_ref) {
13552
13449
  var keyExtractor = _ref.keyExtractor,
13553
13450
  loading = _ref.loading,
@@ -13555,13 +13452,14 @@ var BaseOptionList = function BaseOptionList(_ref) {
13555
13452
  onQueryChange = _ref.onQueryChange,
13556
13453
  sections = _ref.sections,
13557
13454
  renderItem = _ref.renderItem,
13558
- sectionListRef = _ref.sectionListRef;
13455
+ sectionListRef = _ref.sectionListRef,
13456
+ rest = _objectWithoutProperties(_ref, _excluded$4);
13559
13457
  var theme = useTheme$1();
13560
13458
  var _useState = React.useState(false),
13561
13459
  _useState2 = _slicedToArray(_useState, 2),
13562
13460
  onEndReachedCalled = _useState2[0],
13563
13461
  setOnEndReachedCalled = _useState2[1];
13564
- return /*#__PURE__*/React__default["default"].createElement(StyledSectionList, {
13462
+ return /*#__PURE__*/React__default["default"].createElement(StyledSectionList, _extends$1({
13565
13463
  ref: sectionListRef,
13566
13464
  style: _objectSpread2({}, onQueryChange ? {
13567
13465
  height: reactNative.Dimensions.get('screen').height
@@ -13595,7 +13493,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
13595
13493
  renderItem: renderItem,
13596
13494
  ItemSeparatorComponent: OptionSpacer,
13597
13495
  SectionSeparatorComponent: SectionSpacer
13598
- });
13496
+ }, rest));
13599
13497
  };
13600
13498
 
13601
13499
  var Option$2 = function Option(_ref) {
@@ -13624,6 +13522,7 @@ var Option$2 = function Option(_ref) {
13624
13522
  return highlighted === true ? /*#__PURE__*/React__default["default"].createElement(List.Item, props) : /*#__PURE__*/React__default["default"].createElement(List.BasicItem, props);
13625
13523
  };
13626
13524
 
13525
+ var _excluded$3 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
13627
13526
  var OptionList$1 = function OptionList(_ref) {
13628
13527
  var keyExtractor = _ref.keyExtractor,
13629
13528
  loading = _ref.loading,
@@ -13633,7 +13532,8 @@ var OptionList$1 = function OptionList(_ref) {
13633
13532
  sections = _ref.sections,
13634
13533
  renderOption = _ref.renderOption,
13635
13534
  value = _ref.value,
13636
- sectionListRef = _ref.sectionListRef;
13535
+ sectionListRef = _ref.sectionListRef,
13536
+ rest = _objectWithoutProperties(_ref, _excluded$3);
13637
13537
  var renderItem = function renderItem(info) {
13638
13538
  var item = info.item;
13639
13539
  var selected = value.includes(info.item.value);
@@ -13657,7 +13557,7 @@ var OptionList$1 = function OptionList(_ref) {
13657
13557
  highlighted: item.highlighted
13658
13558
  });
13659
13559
  };
13660
- return /*#__PURE__*/React__default["default"].createElement(BaseOptionList, {
13560
+ return /*#__PURE__*/React__default["default"].createElement(BaseOptionList, _extends$1({
13661
13561
  keyExtractor: keyExtractor,
13662
13562
  loading: loading,
13663
13563
  onEndReached: onEndReached,
@@ -13665,7 +13565,7 @@ var OptionList$1 = function OptionList(_ref) {
13665
13565
  sections: sections,
13666
13566
  renderItem: renderItem,
13667
13567
  sectionListRef: sectionListRef
13668
- });
13568
+ }, rest));
13669
13569
  };
13670
13570
 
13671
13571
  function MultiSelect(_ref) {
@@ -13783,7 +13683,16 @@ function MultiSelect(_ref) {
13783
13683
  renderOption: renderOption,
13784
13684
  value: selectingValue,
13785
13685
  onPress: setSelectingValue,
13786
- sectionListRef: sectionListRef
13686
+ sectionListRef: sectionListRef,
13687
+ onScrollToIndexFailed: function onScrollToIndexFailed(info) {
13688
+ setTimeout(function () {
13689
+ var scrollParams = getScrollParams(value === null || value === void 0 ? void 0 : value[0], sections);
13690
+ if (scrollParams.itemIndex < info.highestMeasuredFrameIndex) {
13691
+ var _sectionListRef$curre2;
13692
+ (_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0 ? void 0 : _sectionListRef$curre2.scrollToLocation(scrollParams);
13693
+ }
13694
+ }, 500);
13695
+ }
13787
13696
  })));
13788
13697
  }
13789
13698
 
@@ -13811,6 +13720,7 @@ var StyledOptionList = index$a(BaseOptionList)(function (_ref) {
13811
13720
  };
13812
13721
  });
13813
13722
 
13723
+ var _excluded$2 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
13814
13724
  var OptionList = function OptionList(_ref) {
13815
13725
  var keyExtractor = _ref.keyExtractor,
13816
13726
  loading = _ref.loading,
@@ -13820,7 +13730,8 @@ var OptionList = function OptionList(_ref) {
13820
13730
  sections = _ref.sections,
13821
13731
  renderOption = _ref.renderOption,
13822
13732
  value = _ref.value,
13823
- sectionListRef = _ref.sectionListRef;
13733
+ sectionListRef = _ref.sectionListRef,
13734
+ rest = _objectWithoutProperties(_ref, _excluded$2);
13824
13735
  var renderItem = function renderItem(info) {
13825
13736
  var item = info.item;
13826
13737
  var selected = item.value === value;
@@ -13842,7 +13753,7 @@ var OptionList = function OptionList(_ref) {
13842
13753
  highlighted: item.highlighted
13843
13754
  });
13844
13755
  };
13845
- return /*#__PURE__*/React__default["default"].createElement(StyledOptionList, {
13756
+ return /*#__PURE__*/React__default["default"].createElement(StyledOptionList, _extends$1({
13846
13757
  keyExtractor: keyExtractor,
13847
13758
  loading: loading,
13848
13759
  onEndReached: onEndReached,
@@ -13850,7 +13761,7 @@ var OptionList = function OptionList(_ref) {
13850
13761
  sections: sections,
13851
13762
  renderItem: renderItem,
13852
13763
  sectionListRef: sectionListRef
13853
- });
13764
+ }, rest));
13854
13765
  };
13855
13766
 
13856
13767
  var SingleSelect = function SingleSelect(_ref) {
@@ -13946,7 +13857,16 @@ var SingleSelect = function SingleSelect(_ref) {
13946
13857
  setOpen(false);
13947
13858
  onConfirm(selectedValue);
13948
13859
  },
13949
- sectionListRef: sectionListRef
13860
+ sectionListRef: sectionListRef,
13861
+ onScrollToIndexFailed: function onScrollToIndexFailed(info) {
13862
+ setTimeout(function () {
13863
+ var scrollParams = getScrollParams(value, sections);
13864
+ if (scrollParams.itemIndex < info.highestMeasuredFrameIndex) {
13865
+ var _sectionListRef$curre2;
13866
+ (_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0 ? void 0 : _sectionListRef$curre2.scrollToLocation(scrollParams);
13867
+ }
13868
+ }, 500);
13869
+ }
13950
13870
  })));
13951
13871
  };
13952
13872
 
@@ -14628,7 +14548,7 @@ var StyledText = index$a(reactNative.Text)(function (_ref3) {
14628
14548
  };
14629
14549
  });
14630
14550
 
14631
- var _excluded = ["content", "variant", "intent", "style", "testID"];
14551
+ var _excluded$1 = ["content", "variant", "intent", "style", "testID"];
14632
14552
  var Tag = function Tag(_ref) {
14633
14553
  var content = _ref.content,
14634
14554
  _ref$variant = _ref.variant,
@@ -14637,7 +14557,7 @@ var Tag = function Tag(_ref) {
14637
14557
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
14638
14558
  style = _ref.style,
14639
14559
  testID = _ref.testID,
14640
- nativeProps = _objectWithoutProperties(_ref, _excluded);
14560
+ nativeProps = _objectWithoutProperties(_ref, _excluded$1);
14641
14561
  return /*#__PURE__*/React__default["default"].createElement(StyledView, _extends$1({}, nativeProps, {
14642
14562
  themeIntent: intent,
14643
14563
  themeVariant: variant,
@@ -15198,9 +15118,11 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
15198
15118
  }));
15199
15119
  };
15200
15120
 
15121
+ var _excluded = ["children"];
15201
15122
  var Toolbar = function Toolbar(_ref) {
15202
- var children = _ref.children;
15203
- return /*#__PURE__*/React__default["default"].createElement(ToolbarWrapper, null, children);
15123
+ var children = _ref.children,
15124
+ rest = _objectWithoutProperties(_ref, _excluded);
15125
+ return /*#__PURE__*/React__default["default"].createElement(ToolbarWrapper, rest, children);
15204
15126
  };
15205
15127
  var index$1 = Object.assign(Toolbar, {
15206
15128
  Group: ToolbarGroup
@@ -31625,6 +31547,7 @@ exports.Select = index$4;
31625
31547
  exports.Slider = Slider;
31626
31548
  exports.Spinner = Spinner;
31627
31549
  exports.Swipeable = index$5;
31550
+ exports.SwipeableV2 = SwipeableV2;
31628
31551
  exports.Switch = index$3;
31629
31552
  exports.Tabs = index$2;
31630
31553
  exports.Tag = Tag;