@hero-design/rn 8.5.0 → 8.6.1

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 (31) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/es/index.js +456 -205
  4. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  5. package/lib/index.js +456 -204
  6. package/package.json +5 -5
  7. package/src/components/Carousel/CarouselItem.tsx +19 -7
  8. package/src/components/Carousel/StyledCarousel.tsx +13 -1
  9. package/src/components/Carousel/index.tsx +11 -1
  10. package/src/components/Carousel/types.ts +8 -2
  11. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  12. package/src/components/Icon/IconList.ts +2 -0
  13. package/src/components/List/ListItem.tsx +1 -5
  14. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +8 -8
  15. package/src/components/SwipeableV2/StyledSwipeable.tsx +14 -0
  16. package/src/components/SwipeableV2/__tests__/__snapshots__/index.spec.tsx.snap +161 -0
  17. package/src/components/SwipeableV2/__tests__/index.spec.tsx +48 -0
  18. package/src/components/SwipeableV2/index.tsx +364 -0
  19. package/src/index.ts +2 -0
  20. package/types/components/Calendar/helpers.d.ts +2 -2
  21. package/types/components/Carousel/StyledCarousel.d.ts +10 -2
  22. package/types/components/Carousel/index.d.ts +5 -1
  23. package/types/components/Carousel/types.d.ts +7 -2
  24. package/types/components/Icon/IconList.d.ts +1 -1
  25. package/types/components/Icon/index.d.ts +1 -1
  26. package/types/components/Icon/utils.d.ts +1 -1
  27. package/types/components/Select/helpers.d.ts +1 -1
  28. package/types/components/SwipeableV2/StyledSwipeable.d.ts +15 -0
  29. package/types/components/SwipeableV2/index.d.ts +46 -0
  30. package/types/index.d.ts +2 -1
  31. package/types/testHelpers/renderWithTheme.d.ts +1 -1
package/lib/index.js CHANGED
@@ -5636,7 +5636,7 @@ var index$a = components.reduce(function (acc, comp) {
5636
5636
  });
5637
5637
  }, styled);
5638
5638
 
5639
- var StyledWrapper$b = index$a(reactNative.Animated.View)(function () {
5639
+ var StyledWrapper$c = index$a(reactNative.Animated.View)(function () {
5640
5640
  return {
5641
5641
  margin: 0,
5642
5642
  padding: 0,
@@ -5710,7 +5710,7 @@ var Collapse = function Collapse(_ref) {
5710
5710
  var height = _ref2.height;
5711
5711
  setContentHeight(height);
5712
5712
  }, []);
5713
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$b, {
5713
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$c, {
5714
5714
  style: {
5715
5715
  height: collapseAnim
5716
5716
  },
@@ -5723,7 +5723,7 @@ var Collapse = function Collapse(_ref) {
5723
5723
  }, children)));
5724
5724
  };
5725
5725
 
5726
- var StyledWrapper$a = index$a(reactNative.View)(function () {
5726
+ var StyledWrapper$b = index$a(reactNative.View)(function () {
5727
5727
  return {};
5728
5728
  });
5729
5729
  var StyledItemWrapper = index$a(reactNative.View)(function (_ref) {
@@ -5776,7 +5776,7 @@ var StyledText$3 = index$a(reactNative.Text)(function (_ref) {
5776
5776
  });
5777
5777
  });
5778
5778
 
5779
- var _excluded$p = ["children", "fontSize", "fontWeight", "intent", "typeface"];
5779
+ var _excluded$q = ["children", "fontSize", "fontWeight", "intent", "typeface"];
5780
5780
  var Text = function Text(_ref) {
5781
5781
  var children = _ref.children,
5782
5782
  _ref$fontSize = _ref.fontSize,
@@ -5787,7 +5787,7 @@ var Text = function Text(_ref) {
5787
5787
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
5788
5788
  _ref$typeface = _ref.typeface,
5789
5789
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
5790
- nativeProps = _objectWithoutProperties(_ref, _excluded$p);
5790
+ nativeProps = _objectWithoutProperties(_ref, _excluded$q);
5791
5791
  return /*#__PURE__*/React__default["default"].createElement(StyledText$3, _extends$1({}, nativeProps, {
5792
5792
  themeFontSize: fontSize,
5793
5793
  themeFontWeight: fontWeight,
@@ -5801,7 +5801,7 @@ var Typography = {
5801
5801
  };
5802
5802
 
5803
5803
  // 🔴 DO NOT EDIT — This file is generated automatically.
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-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', '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
+ 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'];
5805
5805
 
5806
5806
  var activate = 59000;
5807
5807
  var adjustment = 59003;
@@ -5874,18 +5874,18 @@ var add = 59172;
5874
5874
  var bold = 59193;
5875
5875
  var cancel = 59203;
5876
5876
  var checkmark = 59206;
5877
- var italic = 59278;
5878
- var number = 59301;
5879
- var percentage = 59306;
5880
- var redeem = 59315;
5881
- var refresh = 59316;
5882
- var remove = 59317;
5883
- var restart = 59319;
5884
- var strikethrough = 59340;
5885
- var sync = 59345;
5886
- var transfer = 59349;
5887
- var unavailable = 59352;
5888
- var underline = 59353;
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;
5889
5889
  var glyphMap = {
5890
5890
  activate: activate,
5891
5891
  "add-emoji": 59001,
@@ -6118,138 +6118,140 @@ var glyphMap = {
6118
6118
  "document-outlined": 59228,
6119
6119
  "dollar-card-outlined": 59229,
6120
6120
  "dollar-coin-shine-outlined": 59230,
6121
- "dollar-sign": 59231,
6122
- "double-buildings-outlined": 59232,
6123
- "double-left-arrows": 59233,
6124
- "double-right-arrows": 59234,
6125
- "download-outlined": 59235,
6126
- "edit-template-outlined": 59236,
6127
- "email-outlined": 59237,
6128
- "enter-arrow": 59238,
6129
- "envelope-outlined": 59239,
6130
- "expense-outlined": 59240,
6131
- "explore-outlined": 59241,
6132
- "external-link": 59242,
6133
- "eye-invisible-outlined": 59243,
6134
- "eye-outlined": 59244,
6135
- "face-id": 59245,
6136
- "face-meh-outlined": 59246,
6137
- "face-open-smiley-outlined": 59247,
6138
- "face-sad-outlined": 59248,
6139
- "face-smiley-outlined": 59249,
6140
- "feed-outlined": 59250,
6141
- "file-certified-outlined": 59251,
6142
- "file-clone-outlined": 59252,
6143
- "file-copy-outlined": 59253,
6144
- "file-dispose-outlined": 59254,
6145
- "file-dollar-outlined": 59255,
6146
- "file-download-outlined": 59256,
6147
- "file-export-outlined": 59257,
6148
- "file-lock-outlined": 59258,
6149
- "file-outlined": 59259,
6150
- "file-search-outlined": 59260,
6151
- "file-secured-outlined": 59261,
6152
- "file-verified-outlined": 59262,
6153
- "filter-outlined": 59263,
6154
- "folder-outlined": 59264,
6155
- "folder-user-outlined": 59265,
6156
- "funnel-filter-outline": 59266,
6157
- "graph-outlined": 59267,
6158
- "hand-holding-user-outlined": 59268,
6159
- "happy-sun-outlined": 59269,
6160
- "health-bag-outlined": 59270,
6161
- "heart-outlined": 59271,
6162
- "home-active-outlined": 59272,
6163
- "home-outlined": 59273,
6164
- "id-card-outlined": 59274,
6165
- "image-outlined": 59275,
6166
- "import-outlined": 59276,
6167
- "instapay-outlined": 59277,
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,
6168
6170
  italic: italic,
6169
- "link-1": 59279,
6170
- "link-2": 59280,
6171
- "list-outlined": 59281,
6172
- "live-help-outlined": 59282,
6173
- "location-outlined": 59283,
6174
- "lock-outlined": 59284,
6175
- "locked-file-outlined": 59285,
6176
- "log-out": 59286,
6177
- "media-content-outlined": 59287,
6178
- "menu-close": 59288,
6179
- "menu-expand": 59289,
6180
- "menu-fold-outlined": 59290,
6181
- "menu-unfold-outlined": 59291,
6182
- "moneybag-outlined": 59292,
6183
- "moon-outlined": 59293,
6184
- "more-horizontal": 59294,
6185
- "more-vertical": 59295,
6186
- "multiple-folders-outlined": 59296,
6187
- "multiple-users-outlined": 59297,
6188
- "near-me-outlined": 59298,
6189
- "node-outlined": 59299,
6190
- "number-points": 59300,
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,
6191
6193
  number: number,
6192
- "overview-outlined": 59302,
6193
- "payment-summary-outlined": 59303,
6194
- "payslip-outlined": 59304,
6195
- "pencil-outlined": 59305,
6194
+ "overview-outlined": 59304,
6195
+ "payment-summary-outlined": 59305,
6196
+ "payslip-outlined": 59306,
6197
+ "pencil-outlined": 59307,
6196
6198
  percentage: percentage,
6197
- "phone-outlined": 59307,
6198
- "piggy-bank-outlined": 59308,
6199
- "plane-outlined": 59309,
6200
- "play-circle-outlined": 59310,
6201
- "print-outlined": 59311,
6202
- "qr-code-outlined": 59312,
6203
- "qualification-outlined": 59313,
6204
- "re-assign": 59314,
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,
6205
6207
  redeem: redeem,
6206
6208
  refresh: refresh,
6207
6209
  remove: remove,
6208
- "reply-outlined": 59318,
6210
+ "reply-outlined": 59320,
6209
6211
  restart: restart,
6210
- "return-arrow": 59320,
6211
- "rostering-outlined": 59321,
6212
- "save-outlined": 59322,
6213
- "schedule-outlined": 59323,
6214
- "search-outlined": 59324,
6215
- "search-secured-outlined": 59325,
6216
- "send-outlined": 59326,
6217
- "share-1": 59327,
6218
- "share-2": 59328,
6219
- "share-outlined": 59329,
6220
- "show-chart-outlined": 59330,
6221
- "single-down-arrow": 59331,
6222
- "single-left-arrow": 59332,
6223
- "single-right-arrow": 59333,
6224
- "single-up-arrow": 59334,
6225
- "speaker-active-outlined": 59335,
6226
- "speaker-outlined": 59336,
6227
- "star-circle-outlined": 59337,
6228
- "star-outlined": 59338,
6229
- "stopwatch-outlined": 59339,
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,
6230
6232
  strikethrough: strikethrough,
6231
- "suitcase-clock-outlined": 59341,
6232
- "suitcase-outlined": 59342,
6233
- "survey-outlined": 59343,
6234
- "switch-outlined": 59344,
6233
+ "suitcase-clock-outlined": 59343,
6234
+ "suitcase-outlined": 59344,
6235
+ "survey-outlined": 59345,
6236
+ "switch-outlined": 59346,
6235
6237
  sync: sync,
6236
- "target-outlined": 59346,
6237
- "timesheet-outlined": 59347,
6238
- "today-outlined": 59348,
6238
+ "target-outlined": 59348,
6239
+ "timesheet-outlined": 59349,
6240
+ "today-outlined": 59350,
6239
6241
  transfer: transfer,
6240
- "trash-bin-outlined": 59350,
6241
- "umbrela-outlined": 59351,
6242
+ "trash-bin-outlined": 59352,
6243
+ "umbrela-outlined": 59353,
6242
6244
  unavailable: unavailable,
6243
6245
  underline: underline,
6244
- "unlock-outlined": 59354,
6245
- "upload-outlined": 59355,
6246
- "user-circle-outlined": 59356,
6247
- "user-gear-outlined": 59357,
6248
- "user-outlined": 59358,
6249
- "user-rectangle-outlined": 59359,
6250
- "video-1-outlined": 59360,
6251
- "video-2-outlined": 59361,
6252
- "wallet-outlined": 59362
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
6253
6255
  };
6254
6256
 
6255
6257
  var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -6274,10 +6276,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
6274
6276
  };
6275
6277
  });
6276
6278
 
6277
- var _excluded$o = ["style"];
6279
+ var _excluded$p = ["style"];
6278
6280
  var AnimatedIcon = function AnimatedIcon(_ref) {
6279
6281
  var style = _ref.style,
6280
- otherProps = _objectWithoutProperties(_ref, _excluded$o);
6282
+ otherProps = _objectWithoutProperties(_ref, _excluded$p);
6281
6283
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
6282
6284
  React.useEffect(function () {
6283
6285
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
@@ -6383,7 +6385,7 @@ var AccordionItem = function AccordionItem(_ref) {
6383
6385
  }, content));
6384
6386
  };
6385
6387
 
6386
- var _excluded$n = ["key"];
6388
+ var _excluded$o = ["key"];
6387
6389
  var Accordion = function Accordion(_ref) {
6388
6390
  var items = _ref.items,
6389
6391
  activeItemKey = _ref.activeItemKey,
@@ -6399,12 +6401,12 @@ var Accordion = function Accordion(_ref) {
6399
6401
  _usePropsOrInternalSt2 = _slicedToArray(_usePropsOrInternalSt, 2),
6400
6402
  _activeItemKey = _usePropsOrInternalSt2[0],
6401
6403
  _onItemPress = _usePropsOrInternalSt2[1];
6402
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$a, {
6404
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$b, {
6403
6405
  style: style,
6404
6406
  testID: testID
6405
6407
  }, items.map(function (_ref2, index) {
6406
6408
  var key = _ref2.key,
6407
- props = _objectWithoutProperties(_ref2, _excluded$n);
6409
+ props = _objectWithoutProperties(_ref2, _excluded$o);
6408
6410
  var open = _activeItemKey === key;
6409
6411
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
6410
6412
  key: key
@@ -6586,7 +6588,7 @@ var Attachment = function Attachment(_ref) {
6586
6588
  })) : null);
6587
6589
  };
6588
6590
 
6589
- var StyledWrapper$9 = index$a(reactNative.TouchableOpacity)(function (_ref) {
6591
+ var StyledWrapper$a = index$a(reactNative.TouchableOpacity)(function (_ref) {
6590
6592
  var themeSize = _ref.themeSize,
6591
6593
  themeIntent = _ref.themeIntent,
6592
6594
  theme = _ref.theme;
@@ -6641,7 +6643,7 @@ var Avatar = function Avatar(_ref) {
6641
6643
  hasImageError = _useState2[0],
6642
6644
  setHasImageError = _useState2[1];
6643
6645
  if (title === undefined && source === undefined) return null;
6644
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$9, {
6646
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$a, {
6645
6647
  testID: testID,
6646
6648
  onPress: onPress,
6647
6649
  disabled: onPress === undefined,
@@ -6665,7 +6667,7 @@ var Avatar = function Avatar(_ref) {
6665
6667
  };
6666
6668
 
6667
6669
  var VISIBLE_RATIO = 0.7;
6668
- var StyledWrapper$8 = index$a(reactNative.View)(function (_ref) {
6670
+ var StyledWrapper$9 = index$a(reactNative.View)(function (_ref) {
6669
6671
  var theme = _ref.theme,
6670
6672
  themeSize = _ref.themeSize,
6671
6673
  themeAvatarCount = _ref.themeAvatarCount;
@@ -6727,7 +6729,7 @@ var AvatarStack = function AvatarStack(_ref) {
6727
6729
  });
6728
6730
  avatars.push(remainingAvatar);
6729
6731
  }
6730
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$8, {
6732
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$9, {
6731
6733
  themeSize: size,
6732
6734
  themeAvatarCount: avatars.length,
6733
6735
  style: style,
@@ -6786,7 +6788,7 @@ var StyledStatus = index$a(reactNative.Animated.View)(function (_ref3) {
6786
6788
  };
6787
6789
  });
6788
6790
 
6789
- var _excluded$m = ["children", "visible", "intent", "style", "testID"];
6791
+ var _excluded$n = ["children", "visible", "intent", "style", "testID"];
6790
6792
  var Status = function Status(_ref) {
6791
6793
  var children = _ref.children,
6792
6794
  _ref$visible = _ref.visible,
@@ -6795,7 +6797,7 @@ var Status = function Status(_ref) {
6795
6797
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
6796
6798
  style = _ref.style,
6797
6799
  testID = _ref.testID,
6798
- nativeProps = _objectWithoutProperties(_ref, _excluded$m);
6800
+ nativeProps = _objectWithoutProperties(_ref, _excluded$n);
6799
6801
  var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
6800
6802
  opacity = _React$useRef.current;
6801
6803
  var isFirstRendering = React__default["default"].useRef(true);
@@ -6828,7 +6830,7 @@ var Status = function Status(_ref) {
6828
6830
  }));
6829
6831
  };
6830
6832
 
6831
- var _excluded$l = ["content", "visible", "max", "intent", "style", "testID"];
6833
+ var _excluded$m = ["content", "visible", "max", "intent", "style", "testID"];
6832
6834
  var DEFAULT_MAX_NUMBER = 99;
6833
6835
  var getPaddingState = function getPaddingState(content) {
6834
6836
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -6843,7 +6845,7 @@ var Badge = function Badge(_ref) {
6843
6845
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
6844
6846
  style = _ref.style,
6845
6847
  testID = _ref.testID,
6846
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
6848
+ nativeProps = _objectWithoutProperties(_ref, _excluded$m);
6847
6849
  var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
6848
6850
  opacity = _React$useRef.current;
6849
6851
  var isFirstRendering = React__default["default"].useRef(true);
@@ -6947,7 +6949,7 @@ function omit(keys, obj) {
6947
6949
  return result;
6948
6950
  }
6949
6951
 
6950
- var _excluded$k = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
6952
+ var _excluded$l = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
6951
6953
  var getInactiveIcon = function getInactiveIcon(icon) {
6952
6954
  var inactiveIcon = "".concat(icon, "-outlined");
6953
6955
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -6958,7 +6960,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
6958
6960
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
6959
6961
  selectedTabKey = _ref.selectedTabKey,
6960
6962
  tabs = _ref.tabs,
6961
- nativeProps = _objectWithoutProperties(_ref, _excluded$k);
6963
+ nativeProps = _objectWithoutProperties(_ref, _excluded$l);
6962
6964
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
6963
6965
  /**
6964
6966
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -7045,13 +7047,13 @@ var StyledDivider = index$a(reactNative.View)(function (_ref) {
7045
7047
  }, horizontalMargin), verticalMargin);
7046
7048
  });
7047
7049
 
7048
- var _excluded$j = ["marginHorizontal", "marginVertical", "style", "testID"];
7050
+ var _excluded$k = ["marginHorizontal", "marginVertical", "style", "testID"];
7049
7051
  var Divider = function Divider(_ref) {
7050
7052
  var marginHorizontal = _ref.marginHorizontal,
7051
7053
  marginVertical = _ref.marginVertical,
7052
7054
  style = _ref.style,
7053
7055
  testID = _ref.testID,
7054
- nativeProps = _objectWithoutProperties(_ref, _excluded$j);
7056
+ nativeProps = _objectWithoutProperties(_ref, _excluded$k);
7055
7057
  return /*#__PURE__*/React__default["default"].createElement(StyledDivider, _extends$1({}, nativeProps, {
7056
7058
  themeMarginHorizontal: marginHorizontal,
7057
7059
  themeMarginVertical: marginVertical,
@@ -7062,7 +7064,7 @@ var Divider = function Divider(_ref) {
7062
7064
 
7063
7065
  var AnimatedPressable$1 = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
7064
7066
  var AnimatedSafeAreaView = reactNative.Animated.createAnimatedComponent(reactNative.SafeAreaView);
7065
- var StyledWrapper$7 = index$a(reactNative.View)(_objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
7067
+ var StyledWrapper$8 = index$a(reactNative.View)(_objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
7066
7068
  flexDirection: 'column-reverse'
7067
7069
  }));
7068
7070
  var StyledKeyboardAvoidingView = index$a(reactNative.KeyboardAvoidingView)(function () {
@@ -7181,7 +7183,7 @@ var StyledLoadingDot = index$a(reactNative.View)(function (_ref2) {
7181
7183
  }, themeStyling());
7182
7184
  });
7183
7185
 
7184
- var _excluded$i = ["count", "size", "testID", "themeVariant"];
7186
+ var _excluded$j = ["count", "size", "testID", "themeVariant"];
7185
7187
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
7186
7188
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
7187
7189
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -7213,7 +7215,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
7213
7215
  size = _ref2$size === void 0 ? 12 : _ref2$size,
7214
7216
  testID = _ref2.testID,
7215
7217
  themeVariant = _ref2.themeVariant,
7216
- nativeProps = _objectWithoutProperties(_ref2, _excluded$i);
7218
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$j);
7217
7219
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
7218
7220
  React.useEffect(function () {
7219
7221
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -7609,11 +7611,11 @@ var Header = function Header(_ref) {
7609
7611
  })) : null), showDivider ? /*#__PURE__*/React__default["default"].createElement(Divider, null) : null);
7610
7612
  };
7611
7613
 
7612
- var _excluded$h = ["scrollEventThrottle"];
7614
+ var _excluded$i = ["scrollEventThrottle"];
7613
7615
  var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
7614
7616
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
7615
7617
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
7616
- props = _objectWithoutProperties(_ref, _excluded$h);
7618
+ props = _objectWithoutProperties(_ref, _excluded$i);
7617
7619
  var _useContext = React.useContext(BottomSheetContext),
7618
7620
  setInternalShowDivider = _useContext.setInternalShowDivider;
7619
7621
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -7721,7 +7723,7 @@ var BottomSheet = function BottomSheet(_ref) {
7721
7723
  transparent: true,
7722
7724
  testID: testID,
7723
7725
  onShow: onOpen
7724
- }, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$7, {
7726
+ }, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$8, {
7725
7727
  pointerEvents: "box-none"
7726
7728
  }, /*#__PURE__*/React__default["default"].createElement(StyledKeyboardAvoidingView, _extends$1({
7727
7729
  behavior: reactNative.Platform.OS === 'ios' ? 'padding' : 'height'
@@ -7928,7 +7930,7 @@ var borderWidths = {
7928
7930
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
7929
7931
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
7930
7932
 
7931
- var _excluded$g = ["theme"];
7933
+ var _excluded$h = ["theme"];
7932
7934
  var getThemeValue = function getThemeValue(theme, key, props) {
7933
7935
  var propConfig = config[key];
7934
7936
  var propValue = props[key];
@@ -7955,18 +7957,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
7955
7957
  var configKeys = Object.keys(config);
7956
7958
  var StyledBox = index$a(reactNative.View)(function (_ref5) {
7957
7959
  var theme = _ref5.theme,
7958
- otherProps = _objectWithoutProperties(_ref5, _excluded$g);
7960
+ otherProps = _objectWithoutProperties(_ref5, _excluded$h);
7959
7961
  var styleProps = pick(configKeys, otherProps);
7960
7962
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
7961
7963
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
7962
7964
  });
7963
7965
 
7964
- var _excluded$f = ["children", "style", "testID"];
7966
+ var _excluded$g = ["children", "style", "testID"];
7965
7967
  var Box = function Box(_ref) {
7966
7968
  var children = _ref.children,
7967
7969
  style = _ref.style,
7968
7970
  testID = _ref.testID,
7969
- otherProps = _objectWithoutProperties(_ref, _excluded$f);
7971
+ otherProps = _objectWithoutProperties(_ref, _excluded$g);
7970
7972
  return /*#__PURE__*/React__default["default"].createElement(StyledBox, _extends$1({}, otherProps, {
7971
7973
  style: style,
7972
7974
  testID: testID
@@ -10577,7 +10579,7 @@ var CarouselPaginator = function CarouselPaginator(_ref) {
10577
10579
  }));
10578
10580
  };
10579
10581
 
10580
- var _excluded$e = ["rounded", "size", "testID", "style"];
10582
+ var _excluded$f = ["rounded", "size", "testID", "style"];
10581
10583
  var Image = function Image(_ref) {
10582
10584
  var _ref$rounded = _ref.rounded,
10583
10585
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -10585,7 +10587,7 @@ var Image = function Image(_ref) {
10585
10587
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
10586
10588
  testID = _ref.testID,
10587
10589
  style = _ref.style,
10588
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$e);
10590
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$f);
10589
10591
  var theme = useTheme();
10590
10592
  var imageSize = theme.__hd__.image.sizes[size];
10591
10593
  return /*#__PURE__*/React__default["default"].createElement(reactNative.Image, _extends$1({
@@ -10632,15 +10634,27 @@ var StyledCarouselImage = index$a(Image)(function () {
10632
10634
  resizeMode: 'contain'
10633
10635
  };
10634
10636
  });
10635
- var StyledCarouselContentWrapper = index$a(Box)(function (_ref3) {
10636
- var width = _ref3.width;
10637
+ var StyledCustomSizeCarouselImage = index$a(Image)(function (_ref3) {
10638
+ var height = _ref3.height,
10639
+ _ref3$resizeMode = _ref3.resizeMode,
10640
+ resizeMode = _ref3$resizeMode === void 0 ? 'contain' : _ref3$resizeMode,
10641
+ width = _ref3.width;
10642
+ return {
10643
+ alignSelf: 'center',
10644
+ width: width,
10645
+ height: height,
10646
+ resizeMode: resizeMode
10647
+ };
10648
+ });
10649
+ var StyledCarouselContentWrapper = index$a(Box)(function (_ref4) {
10650
+ var width = _ref4.width;
10637
10651
  return {
10638
10652
  width: width,
10639
10653
  minHeight: scale(250)
10640
10654
  };
10641
10655
  });
10642
- var StyledCarouselFooterWrapper = index$a(reactNative.View)(function (_ref4) {
10643
- var theme = _ref4.theme;
10656
+ var StyledCarouselFooterWrapper = index$a(reactNative.View)(function (_ref5) {
10657
+ var theme = _ref5.theme;
10644
10658
  return {
10645
10659
  paddingHorizontal: theme.__hd__.carousel.space.footerPaddingHorizontal,
10646
10660
  flexDirection: 'row',
@@ -10650,6 +10664,9 @@ var StyledCarouselFooterWrapper = index$a(reactNative.View)(function (_ref4) {
10650
10664
  };
10651
10665
  });
10652
10666
 
10667
+ function isCarouselImageProps(image) {
10668
+ return typeof image !== 'string';
10669
+ }
10653
10670
  var CarouselItem = function CarouselItem(_ref) {
10654
10671
  var width = _ref.width,
10655
10672
  image = _ref.image,
@@ -10660,11 +10677,16 @@ var CarouselItem = function CarouselItem(_ref) {
10660
10677
  style: {
10661
10678
  width: width
10662
10679
  }
10663
- }, image && /*#__PURE__*/React__default["default"].createElement(StyledCarouselImage, {
10664
- source: typeof image === 'string' ? {
10680
+ }, image && (isCarouselImageProps(image) ? /*#__PURE__*/React__default["default"].createElement(StyledCustomSizeCarouselImage, {
10681
+ source: image,
10682
+ height: image.height,
10683
+ width: image.width,
10684
+ resizeMode: image.resizeMode
10685
+ }) : /*#__PURE__*/React__default["default"].createElement(StyledCarouselImage, {
10686
+ source: {
10665
10687
  uri: image
10666
- } : image
10667
- }), /*#__PURE__*/React__default["default"].createElement(StyledCarouselContentWrapper, {
10688
+ }
10689
+ })), /*#__PURE__*/React__default["default"].createElement(StyledCarouselContentWrapper, {
10668
10690
  paddingHorizontal: "large",
10669
10691
  marginTop: "large",
10670
10692
  width: width
@@ -10673,7 +10695,7 @@ var CarouselItem = function CarouselItem(_ref) {
10673
10695
  }, body) : null));
10674
10696
  };
10675
10697
 
10676
- var _excluded$d = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style"];
10698
+ var _excluded$e = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination"];
10677
10699
  function useStateFromProp(initialValue) {
10678
10700
  var _useState = React.useState(initialValue),
10679
10701
  _useState2 = _slicedToArray(_useState, 2),
@@ -10691,7 +10713,11 @@ var Carousel = function Carousel(_ref) {
10691
10713
  _ref$selectedItemInde = _ref.selectedItemIndex,
10692
10714
  selectedItemIndex = _ref$selectedItemInde === void 0 ? 0 : _ref$selectedItemInde,
10693
10715
  style = _ref.style,
10694
- nativeProps = _objectWithoutProperties(_ref, _excluded$d);
10716
+ _ref$shouldShowPagina = _ref.shouldShowPagination,
10717
+ shouldShowPagination = _ref$shouldShowPagina === void 0 ? function () {
10718
+ return true;
10719
+ } : _ref$shouldShowPagina,
10720
+ nativeProps = _objectWithoutProperties(_ref, _excluded$e);
10695
10721
  var carouselRef = React.useRef(null);
10696
10722
  var _useStateFromProp = useStateFromProp(selectedItemIndex),
10697
10723
  _useStateFromProp2 = _slicedToArray(_useStateFromProp, 2),
@@ -10767,7 +10793,7 @@ var Carousel = function Carousel(_ref) {
10767
10793
  width: width
10768
10794
  });
10769
10795
  }
10770
- }), /*#__PURE__*/React__default["default"].createElement(StyledCarouselFooterWrapper, null, renderActions && renderActions(currentSlideIndex), /*#__PURE__*/React__default["default"].createElement(CarouselPaginator, {
10796
+ }), /*#__PURE__*/React__default["default"].createElement(StyledCarouselFooterWrapper, null, renderActions && renderActions(currentSlideIndex), shouldShowPagination(currentSlideIndex) && /*#__PURE__*/React__default["default"].createElement(CarouselPaginator, {
10771
10797
  numberOfSlides: items.length,
10772
10798
  scrollX: scrollX
10773
10799
  }))));
@@ -10791,12 +10817,12 @@ var Indicator = index$a(reactNative.View)(function (_ref2) {
10791
10817
  };
10792
10818
  });
10793
10819
 
10794
- var _excluded$c = ["intent", "children"];
10820
+ var _excluded$d = ["intent", "children"];
10795
10821
  var DataCard = function DataCard(_ref) {
10796
10822
  var _ref$intent = _ref.intent,
10797
10823
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
10798
10824
  children = _ref.children,
10799
- nativeProps = _objectWithoutProperties(_ref, _excluded$c);
10825
+ nativeProps = _objectWithoutProperties(_ref, _excluded$d);
10800
10826
  return /*#__PURE__*/React__default["default"].createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default["default"].createElement(Indicator, {
10801
10827
  themeIntent: intent,
10802
10828
  testID: "data-card-indicator"
@@ -10814,11 +10840,11 @@ var StyledCard = index$a(reactNative.View)(function (_ref) {
10814
10840
  });
10815
10841
  });
10816
10842
 
10817
- var _excluded$b = ["intent", "children"];
10843
+ var _excluded$c = ["intent", "children"];
10818
10844
  var Card = function Card(_ref) {
10819
10845
  var intent = _ref.intent,
10820
10846
  children = _ref.children,
10821
- nativeProps = _objectWithoutProperties(_ref, _excluded$b);
10847
+ nativeProps = _objectWithoutProperties(_ref, _excluded$c);
10822
10848
  return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends$1({}, nativeProps, {
10823
10849
  themeIntent: intent
10824
10850
  }), children);
@@ -10827,7 +10853,7 @@ var index$8 = Object.assign(Card, {
10827
10853
  Data: DataCard
10828
10854
  });
10829
10855
 
10830
- var StyledWrapper$6 = index$a(reactNative.TouchableOpacity)(function (_ref) {
10856
+ var StyledWrapper$7 = index$a(reactNative.TouchableOpacity)(function (_ref) {
10831
10857
  var theme = _ref.theme,
10832
10858
  themeWithBorder = _ref.themeWithBorder,
10833
10859
  themeDisabled = _ref.themeDisabled;
@@ -10884,7 +10910,7 @@ var Checkbox = function Checkbox(_ref) {
10884
10910
  onPress = _ref.onPress,
10885
10911
  style = _ref.style,
10886
10912
  testID = _ref.testID;
10887
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$6, {
10913
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$7, {
10888
10914
  onPress: onPress,
10889
10915
  disabled: disabled,
10890
10916
  themeDisabled: disabled,
@@ -11052,7 +11078,7 @@ var StyledErrorAndMaxLengthContainer = index$a(reactNative.View)(function () {
11052
11078
  };
11053
11079
  });
11054
11080
 
11055
- var _excluded$a = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue"];
11081
+ var _excluded$b = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue"];
11056
11082
  var getVariant$1 = function getVariant(_ref) {
11057
11083
  var disabled = _ref.disabled,
11058
11084
  error = _ref.error,
@@ -11098,7 +11124,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
11098
11124
  value = _ref2.value,
11099
11125
  defaultValue = _ref2.defaultValue,
11100
11126
  renderInputValue = _ref2.renderInputValue,
11101
- nativeProps = _objectWithoutProperties(_ref2, _excluded$a);
11127
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$b);
11102
11128
  var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
11103
11129
  var isEmptyValue = displayText.length === 0;
11104
11130
  var actualSuffix = loading ? 'loading' : suffix;
@@ -11684,7 +11710,7 @@ var index$7 = Object.assign(Drawer, {
11684
11710
  Dragable: DragableDrawer
11685
11711
  });
11686
11712
 
11687
- var StyledWrapper$5 = index$a(reactNative.View)(function (_ref) {
11713
+ var StyledWrapper$6 = index$a(reactNative.View)(function (_ref) {
11688
11714
  var theme = _ref.theme;
11689
11715
  return {
11690
11716
  display: 'flex',
@@ -11726,7 +11752,7 @@ var Empty = function Empty(_ref) {
11726
11752
  _ref$variant = _ref.variant,
11727
11753
  variant = _ref$variant === void 0 ? 'light' : _ref$variant;
11728
11754
  var theme = useTheme();
11729
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$5, {
11755
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$6, {
11730
11756
  style: style,
11731
11757
  testID: testID
11732
11758
  }, image !== undefined && /*#__PURE__*/React__default["default"].cloneElement(image, _objectSpread2(_objectSpread2({}, image.props), {}, {
@@ -11776,11 +11802,11 @@ var StyledFABText = index$a(reactNative.Text)(function (_ref3) {
11776
11802
  };
11777
11803
  });
11778
11804
 
11779
- var _excluded$9 = ["active"];
11805
+ var _excluded$a = ["active"];
11780
11806
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
11781
11807
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
11782
11808
  var active = _ref.active,
11783
- iconProps = _objectWithoutProperties(_ref, _excluded$9);
11809
+ iconProps = _objectWithoutProperties(_ref, _excluded$a);
11784
11810
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
11785
11811
  React.useEffect(function () {
11786
11812
  var animation = reactNative.Animated.timing(rotateAnimation.current, {
@@ -12133,8 +12159,7 @@ var ListItem = function ListItem(_ref) {
12133
12159
  intent: disabled ? 'disabled-text' : 'primary'
12134
12160
  }) : prefix), /*#__PURE__*/React__default["default"].createElement(StyledTitleContainer$1, null, /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
12135
12161
  intent: "body",
12136
- fontSize: "large",
12137
- fontWeight: "semi-bold"
12162
+ fontSize: "large"
12138
12163
  }, title), !!subtitle && /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
12139
12164
  intent: "subdued",
12140
12165
  fontSize: "small"
@@ -12216,7 +12241,7 @@ var List = {
12216
12241
  BasicItem: BasicListItem
12217
12242
  };
12218
12243
 
12219
- var StyledWrapper$4 = index$a(reactNative.View)(function () {
12244
+ var StyledWrapper$5 = index$a(reactNative.View)(function () {
12220
12245
  return {
12221
12246
  alignContent: 'flex-start'
12222
12247
  };
@@ -12394,7 +12419,7 @@ function PinInput(_ref2) {
12394
12419
  reactNative.InteractionManager.runAfterInteractions(focus);
12395
12420
  }
12396
12421
  }, [inputRef]);
12397
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$4, {
12422
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$5, {
12398
12423
  style: style,
12399
12424
  testID: testID
12400
12425
  }, /*#__PURE__*/React__default["default"].createElement(StyledPinWrapper, null, _toConsumableArray(Array(length).keys()).map(function (index) {
@@ -12511,7 +12536,7 @@ var StyledStrokeEnd = index$a(reactNative.View)(function (_ref6) {
12511
12536
  };
12512
12537
  });
12513
12538
 
12514
- var _excluded$8 = ["value", "renderValue", "intent", "style", "testID"];
12539
+ var _excluded$9 = ["value", "renderValue", "intent", "style", "testID"];
12515
12540
  var HalfCircle = function HalfCircle(_ref) {
12516
12541
  var type = _ref.type,
12517
12542
  themeIntent = _ref.themeIntent;
@@ -12532,7 +12557,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
12532
12557
  intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
12533
12558
  style = _ref2.style,
12534
12559
  testID = _ref2.testID,
12535
- nativeProps = _objectWithoutProperties(_ref2, _excluded$8);
12560
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$9);
12536
12561
  var theme = useTheme$1();
12537
12562
  var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
12538
12563
  var progressAnimatedValue = React.useRef(new reactNative.Animated.Value(0));
@@ -12629,7 +12654,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
12629
12654
  }, renderValue(value)))));
12630
12655
  };
12631
12656
 
12632
- var StyledWrapper$3 = index$a(reactNative.View)(function (_ref) {
12657
+ var StyledWrapper$4 = index$a(reactNative.View)(function (_ref) {
12633
12658
  var theme = _ref.theme,
12634
12659
  themeIntent = _ref.themeIntent;
12635
12660
  return {
@@ -12649,14 +12674,14 @@ var StyledInner = index$a(reactNative.Animated.View)(function (_ref2) {
12649
12674
  };
12650
12675
  });
12651
12676
 
12652
- var _excluded$7 = ["value", "intent", "style", "testID"];
12677
+ var _excluded$8 = ["value", "intent", "style", "testID"];
12653
12678
  var ProgressBar = function ProgressBar(_ref) {
12654
12679
  var value = _ref.value,
12655
12680
  _ref$intent = _ref.intent,
12656
12681
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
12657
12682
  style = _ref.style,
12658
12683
  testID = _ref.testID,
12659
- nativeProps = _objectWithoutProperties(_ref, _excluded$7);
12684
+ nativeProps = _objectWithoutProperties(_ref, _excluded$8);
12660
12685
  var _useState = React.useState(0),
12661
12686
  _useState2 = _slicedToArray(_useState, 2),
12662
12687
  width = _useState2[0],
@@ -12682,7 +12707,7 @@ var ProgressBar = function ProgressBar(_ref) {
12682
12707
  outputRange: [999, 0],
12683
12708
  extrapolate: 'clamp'
12684
12709
  });
12685
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$3, _extends$1({}, nativeProps, {
12710
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$4, _extends$1({}, nativeProps, {
12686
12711
  testID: testID,
12687
12712
  style: style,
12688
12713
  themeIntent: intent
@@ -12847,14 +12872,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
12847
12872
  }, dotProps))));
12848
12873
  };
12849
12874
 
12850
- var _excluded$6 = ["testID", "size", "intent"];
12875
+ var _excluded$7 = ["testID", "size", "intent"];
12851
12876
  var Spinner = function Spinner(_ref) {
12852
12877
  var testID = _ref.testID,
12853
12878
  _ref$size = _ref.size,
12854
12879
  size = _ref$size === void 0 ? 'medium' : _ref$size,
12855
12880
  _ref$intent = _ref.intent,
12856
12881
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
12857
- nativeProps = _objectWithoutProperties(_ref, _excluded$6);
12882
+ nativeProps = _objectWithoutProperties(_ref, _excluded$7);
12858
12883
  return /*#__PURE__*/React__default["default"].createElement(StyledView$1, nativeProps, /*#__PURE__*/React__default["default"].createElement(StyledSpinnerContainer, {
12859
12884
  testID: testID
12860
12885
  }, /*#__PURE__*/React__default["default"].createElement(AnimatedSpinner, {
@@ -12887,7 +12912,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
12887
12912
  }, children);
12888
12913
  };
12889
12914
 
12890
- var _excluded$5 = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth"];
12915
+ var _excluded$6 = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth"];
12891
12916
  var renderActions = function renderActions(actions, width, progress, direction) {
12892
12917
  var trans = progress.interpolate({
12893
12918
  inputRange: [0, 1],
@@ -12912,7 +12937,7 @@ var Swipeable = function Swipeable(_ref) {
12912
12937
  leftActionsWidth = _ref.leftActionsWidth,
12913
12938
  rightActions = _ref.rightActions,
12914
12939
  rightActionsWidth = _ref.rightActionsWidth,
12915
- swipeableProps = _objectWithoutProperties(_ref, _excluded$5);
12940
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$6);
12916
12941
  var _useWindowDimensions = reactNative.useWindowDimensions(),
12917
12942
  width = _useWindowDimensions.width;
12918
12943
  var swipeableRef = React.useRef(null);
@@ -12959,6 +12984,232 @@ var index$5 = Object.assign(Swipeable, {
12959
12984
  Content: reactNativeGestureHandler.RectButton
12960
12985
  });
12961
12986
 
12987
+ var StyledWrapper$3 = index$a(reactNative.View)(function () {
12988
+ return {
12989
+ flexDirection: 'row'
12990
+ };
12991
+ });
12992
+ var StyledContent = index$a(reactNative.Animated.View)(function () {
12993
+ return {
12994
+ flex: 1
12995
+ };
12996
+ });
12997
+
12998
+ var _excluded$5 = ["children", "leftContent", "rightContent", "style", "leftActionsWidth", "onSwipeLeftStart", "onSwipeLeftEnd", "rightActionsWidth", "onSwipeRightStart", "onSwipeRightEnd"];
12999
+ var swipeStartMinDistance = 15;
13000
+ var ReleaseAnimationConfig = {
13001
+ toValue: {
13002
+ x: 0,
13003
+ y: 0
13004
+ },
13005
+ duration: 100,
13006
+ easing: reactNative.Easing.elastic(0.5),
13007
+ useNativeDriver: true
13008
+ };
13009
+ var animationToNewState = function animationToNewState(pan) {
13010
+ var animationConfig = ReleaseAnimationConfig;
13011
+ pan.flattenOffset();
13012
+ return reactNative.Animated.timing(pan, animationConfig);
13013
+ };
13014
+ var hanleOnPanResponderEnd = function hanleOnPanResponderEnd(state, contextValues, event, gestureState) {
13015
+ var unmountedRef = contextValues.unmountedRef,
13016
+ onSwipeLeftEnd = contextValues.onSwipeLeftEnd,
13017
+ onSwipeRightEnd = contextValues.onSwipeRightEnd;
13018
+ var leftActionActivated = state.leftActionActivated,
13019
+ rightActionActivated = state.rightActionActivated,
13020
+ pan = state.pan;
13021
+ var animationConfig = ReleaseAnimationConfig;
13022
+ animationToNewState(pan).start(function () {
13023
+ if (unmountedRef.current) {
13024
+ return;
13025
+ }
13026
+ if (leftActionActivated && onSwipeRightEnd) {
13027
+ onSwipeRightEnd(event, gestureState);
13028
+ }
13029
+ if (rightActionActivated && onSwipeLeftEnd) {
13030
+ onSwipeLeftEnd(event, gestureState);
13031
+ }
13032
+ });
13033
+ return _objectSpread2(_objectSpread2({}, state), {}, {
13034
+ lastOffset: {
13035
+ x: animationConfig.toValue.x,
13036
+ y: animationConfig.toValue.y
13037
+ },
13038
+ leftActionActivated: false,
13039
+ rightActionActivated: false
13040
+ });
13041
+ };
13042
+ var hanleOnPanResponderMove = function hanleOnPanResponderMove(state, contextValues, event, gestureState) {
13043
+ var leftActionsWidth = contextValues.leftActionsWidth,
13044
+ rightActionsWidth = contextValues.rightActionsWidth,
13045
+ onSwipeLeftStart = contextValues.onSwipeLeftStart,
13046
+ onSwipeRightStart = contextValues.onSwipeRightStart,
13047
+ canSwipeRight = contextValues.canSwipeRight,
13048
+ canSwipeLeft = contextValues.canSwipeLeft;
13049
+ var lastOffset = state.lastOffset,
13050
+ leftActionActivated = state.leftActionActivated,
13051
+ rightActionActivated = state.rightActionActivated;
13052
+ var dx = gestureState.dx;
13053
+ var x = dx + lastOffset.x;
13054
+ var nextLeftActionActivated = leftActionActivated;
13055
+ var nextRightActionActivated = rightActionActivated;
13056
+ reactNative.Animated.event([null, {
13057
+ dx: state.pan.x,
13058
+ dy: state.pan.y
13059
+ }], {
13060
+ useNativeDriver: false
13061
+ })(event, gestureState);
13062
+ if (!leftActionActivated && canSwipeRight && x >= leftActionsWidth) {
13063
+ nextLeftActionActivated = true;
13064
+ onSwipeRightStart(event, gestureState);
13065
+ }
13066
+ if (leftActionActivated && canSwipeRight && x < leftActionsWidth) {
13067
+ nextLeftActionActivated = false;
13068
+ }
13069
+ if (!rightActionActivated && canSwipeLeft && x <= -rightActionsWidth) {
13070
+ nextRightActionActivated = true;
13071
+ onSwipeLeftStart(event, gestureState);
13072
+ }
13073
+ if (rightActionActivated && canSwipeLeft && x > -rightActionsWidth) {
13074
+ nextRightActionActivated = false;
13075
+ }
13076
+ var needsUpdate = nextLeftActionActivated !== leftActionActivated || nextRightActionActivated !== rightActionActivated;
13077
+ if (needsUpdate) {
13078
+ return _objectSpread2(_objectSpread2({}, state), {}, {
13079
+ leftActionActivated: nextLeftActionActivated,
13080
+ rightActionActivated: nextRightActionActivated
13081
+ });
13082
+ }
13083
+ return state;
13084
+ };
13085
+ var SwipeableV2 = function SwipeableV2(_ref) {
13086
+ var children = _ref.children,
13087
+ leftContent = _ref.leftContent,
13088
+ rightContent = _ref.rightContent,
13089
+ style = _ref.style,
13090
+ _ref$leftActionsWidth = _ref.leftActionsWidth,
13091
+ leftActionsWidth = _ref$leftActionsWidth === void 0 ? scale(200) : _ref$leftActionsWidth,
13092
+ _ref$onSwipeLeftStart = _ref.onSwipeLeftStart,
13093
+ onSwipeLeftStart = _ref$onSwipeLeftStart === void 0 ? noop : _ref$onSwipeLeftStart,
13094
+ _ref$onSwipeLeftEnd = _ref.onSwipeLeftEnd,
13095
+ onSwipeLeftEnd = _ref$onSwipeLeftEnd === void 0 ? noop : _ref$onSwipeLeftEnd,
13096
+ _ref$rightActionsWidt = _ref.rightActionsWidth,
13097
+ rightActionsWidth = _ref$rightActionsWidt === void 0 ? scale(200) : _ref$rightActionsWidt,
13098
+ _ref$onSwipeRightStar = _ref.onSwipeRightStart,
13099
+ onSwipeRightStart = _ref$onSwipeRightStar === void 0 ? noop : _ref$onSwipeRightStar,
13100
+ _ref$onSwipeRightEnd = _ref.onSwipeRightEnd,
13101
+ onSwipeRightEnd = _ref$onSwipeRightEnd === void 0 ? noop : _ref$onSwipeRightEnd,
13102
+ rest = _objectWithoutProperties(_ref, _excluded$5);
13103
+ var propsWithDefaultValue = _objectSpread2({
13104
+ children: children,
13105
+ leftContent: leftContent,
13106
+ rightContent: rightContent,
13107
+ style: style,
13108
+ leftActionsWidth: leftActionsWidth,
13109
+ onSwipeLeftStart: onSwipeLeftStart,
13110
+ onSwipeLeftEnd: onSwipeLeftEnd,
13111
+ rightActionsWidth: rightActionsWidth,
13112
+ onSwipeRightStart: onSwipeRightStart,
13113
+ onSwipeRightEnd: onSwipeRightEnd
13114
+ }, rest);
13115
+ var unmountedRef = React__default["default"].useRef(false);
13116
+ React.useEffect(function () {
13117
+ return function () {
13118
+ unmountedRef.current = true;
13119
+ };
13120
+ }, []);
13121
+ var _React$useState = React__default["default"].useState(0),
13122
+ _React$useState2 = _slicedToArray(_React$useState, 2),
13123
+ width = _React$useState2[0],
13124
+ setWidth = _React$useState2[1];
13125
+ var canSwipeRight = !!leftContent;
13126
+ var canSwipeLeft = !!rightContent;
13127
+ var propsRef = React__default["default"].useRef(undefined);
13128
+ var _React$useState3 = React__default["default"].useState({
13129
+ pan: new reactNative.Animated.ValueXY({
13130
+ x: 0,
13131
+ y: 0
13132
+ }),
13133
+ lastOffset: {
13134
+ x: 0,
13135
+ y: 0
13136
+ },
13137
+ leftActionActivated: false,
13138
+ rightActionActivated: false
13139
+ }),
13140
+ _React$useState4 = _slicedToArray(_React$useState3, 2),
13141
+ state = _React$useState4[0],
13142
+ setState = _React$useState4[1];
13143
+ propsRef.current = _objectSpread2(_objectSpread2({}, propsWithDefaultValue), {}, {
13144
+ canSwipeLeft: canSwipeLeft,
13145
+ canSwipeRight: canSwipeRight,
13146
+ unmountedRef: unmountedRef
13147
+ });
13148
+ var transform = [{
13149
+ translateX: state.pan.x.interpolate({
13150
+ inputRange: [canSwipeLeft ? -width : 0, canSwipeRight ? width : 0],
13151
+ outputRange: [canSwipeLeft ? -width + reactNative.StyleSheet.hairlineWidth : 0, canSwipeRight ? width - reactNative.StyleSheet.hairlineWidth : 0],
13152
+ extrapolate: 'clamp'
13153
+ })
13154
+ }];
13155
+ var panResponder = React__default["default"].useRef(reactNative.PanResponder.create({
13156
+ onMoveShouldSetPanResponder: function onMoveShouldSetPanResponder(_, gestureState) {
13157
+ return Math.abs(gestureState.dx) > swipeStartMinDistance;
13158
+ },
13159
+ onMoveShouldSetPanResponderCapture: function onMoveShouldSetPanResponderCapture(_, gestureState) {
13160
+ return Math.abs(gestureState.dx) > swipeStartMinDistance;
13161
+ },
13162
+ onPanResponderGrant: function onPanResponderGrant() {
13163
+ setState(function (prevState) {
13164
+ prevState.pan.setOffset(prevState.lastOffset);
13165
+ return prevState;
13166
+ });
13167
+ },
13168
+ onPanResponderMove: function onPanResponderMove(event, gestureState) {
13169
+ setState(function (prevState) {
13170
+ return hanleOnPanResponderMove(prevState, propsRef.current, event, gestureState);
13171
+ });
13172
+ },
13173
+ onPanResponderRelease: function onPanResponderRelease(event, gestureState) {
13174
+ setState(function (prevState) {
13175
+ return hanleOnPanResponderEnd(prevState, propsRef.current, event, gestureState);
13176
+ });
13177
+ },
13178
+ onPanResponderTerminationRequest: function onPanResponderTerminationRequest() {
13179
+ return false;
13180
+ },
13181
+ onPanResponderTerminate: function onPanResponderTerminate(event, gestureState) {
13182
+ setState(function (prevState) {
13183
+ return hanleOnPanResponderEnd(prevState, propsRef.current, event, gestureState);
13184
+ });
13185
+ }
13186
+ })).current;
13187
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$3, _extends$1({
13188
+ onLayout: function onLayout(event) {
13189
+ setWidth(event.nativeEvent.layout.width);
13190
+ },
13191
+ style: [{
13192
+ flexDirection: 'row'
13193
+ }, style]
13194
+ }, panResponder.panHandlers, rest), canSwipeRight && /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, {
13195
+ style: [{
13196
+ transform: transform,
13197
+ marginLeft: -width,
13198
+ width: width
13199
+ }]
13200
+ }, leftContent), /*#__PURE__*/React__default["default"].createElement(StyledContent, {
13201
+ style: {
13202
+ transform: transform
13203
+ }
13204
+ }, children), canSwipeLeft && /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, {
13205
+ style: [{
13206
+ transform: transform,
13207
+ marginRight: -width,
13208
+ width: width
13209
+ }]
13210
+ }, rightContent));
13211
+ };
13212
+
12962
13213
  var Circle = index$a(reactNative.View)(function (_ref) {
12963
13214
  var theme = _ref.theme;
12964
13215
  return {
@@ -31320,6 +31571,7 @@ exports.Select = index$4;
31320
31571
  exports.Slider = Slider;
31321
31572
  exports.Spinner = Spinner;
31322
31573
  exports.Swipeable = index$5;
31574
+ exports.SwipeableV2 = SwipeableV2;
31323
31575
  exports.Switch = index$3;
31324
31576
  exports.Tabs = index$2;
31325
31577
  exports.Tag = Tag;