@hero-design/rn 8.4.0 → 8.5.0-alpha.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 (40) hide show
  1. package/.turbo/turbo-build.log +66 -9
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/es/index.js +818 -485
  4. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  5. package/lib/index.js +818 -485
  6. package/package.json +5 -7
  7. package/rollup.config.js +0 -1
  8. package/src/components/Carousel/CarouselItem.tsx +3 -1
  9. package/src/components/Carousel/StyledCarousel.tsx +2 -0
  10. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +18 -15
  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/Select/BaseOptionList.tsx +5 -12
  16. package/src/components/Select/MultiSelect/OptionList.tsx +6 -6
  17. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  18. package/src/components/Select/MultiSelect/index.tsx +9 -0
  19. package/src/components/Select/SingleSelect/OptionList.tsx +5 -3
  20. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +24 -4
  21. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +21 -3
  22. package/src/components/Select/SingleSelect/index.tsx +8 -0
  23. package/src/components/Swipeable/Buttons.tsx +65 -0
  24. package/src/components/Swipeable/StyledSwipeable.tsx +14 -2
  25. package/src/components/Swipeable/SwipeableAction.tsx +15 -7
  26. package/src/components/Swipeable/index.tsx +531 -136
  27. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +1 -1
  28. package/src/theme/components/carousel.ts +1 -1
  29. package/types/components/Calendar/helpers.d.ts +2 -2
  30. package/types/components/Icon/IconList.d.ts +1 -1
  31. package/types/components/Icon/index.d.ts +1 -1
  32. package/types/components/Icon/utils.d.ts +1 -1
  33. package/types/components/Select/helpers.d.ts +1 -1
  34. package/types/components/Swipeable/Buttons.d.ts +15 -0
  35. package/types/components/Swipeable/StyledSwipeable.d.ts +15 -2
  36. package/types/components/Swipeable/SwipeableAction.d.ts +10 -6
  37. package/types/components/Swipeable/index.d.ts +24 -41
  38. package/types/components/Toolbar/index.d.ts +2 -3
  39. package/types/testHelpers/renderWithTheme.d.ts +1 -1
  40. package/.turbo/turbo-publish:npm.log +0 -0
package/es/index.js CHANGED
@@ -5,7 +5,6 @@ import { createIconSet } from 'react-native-vector-icons';
5
5
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
6
6
  import DateTimePicker from '@react-native-community/datetimepicker';
7
7
  import RnSlider from '@react-native-community/slider';
8
- import { RectButton, GestureHandlerRootView, Swipeable as Swipeable$1 } from 'react-native-gesture-handler';
9
8
  import PagerView from 'react-native-pager-view';
10
9
  import { EventEmitter } from 'events';
11
10
  import { WebView } from 'react-native-webview';
@@ -5607,7 +5606,7 @@ var index$a = components.reduce(function (acc, comp) {
5607
5606
  });
5608
5607
  }, styled);
5609
5608
 
5610
- var StyledWrapper$b = index$a(Animated.View)(function () {
5609
+ var StyledWrapper$c = index$a(Animated.View)(function () {
5611
5610
  return {
5612
5611
  margin: 0,
5613
5612
  padding: 0,
@@ -5681,7 +5680,7 @@ var Collapse = function Collapse(_ref) {
5681
5680
  var height = _ref2.height;
5682
5681
  setContentHeight(height);
5683
5682
  }, []);
5684
- return /*#__PURE__*/React.createElement(StyledWrapper$b, {
5683
+ return /*#__PURE__*/React.createElement(StyledWrapper$c, {
5685
5684
  style: {
5686
5685
  height: collapseAnim
5687
5686
  },
@@ -5694,7 +5693,7 @@ var Collapse = function Collapse(_ref) {
5694
5693
  }, children)));
5695
5694
  };
5696
5695
 
5697
- var StyledWrapper$a = index$a(View)(function () {
5696
+ var StyledWrapper$b = index$a(View)(function () {
5698
5697
  return {};
5699
5698
  });
5700
5699
  var StyledItemWrapper = index$a(View)(function (_ref) {
@@ -5747,7 +5746,7 @@ var StyledText$3 = index$a(Text$1)(function (_ref) {
5747
5746
  });
5748
5747
  });
5749
5748
 
5750
- var _excluded$m = ["children", "fontSize", "fontWeight", "intent", "typeface"];
5749
+ var _excluded$l = ["children", "fontSize", "fontWeight", "intent", "typeface"];
5751
5750
  var Text = function Text(_ref) {
5752
5751
  var children = _ref.children,
5753
5752
  _ref$fontSize = _ref.fontSize,
@@ -5758,7 +5757,7 @@ var Text = function Text(_ref) {
5758
5757
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
5759
5758
  _ref$typeface = _ref.typeface,
5760
5759
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
5761
- nativeProps = _objectWithoutProperties(_ref, _excluded$m);
5760
+ nativeProps = _objectWithoutProperties(_ref, _excluded$l);
5762
5761
  return /*#__PURE__*/React.createElement(StyledText$3, _extends$1({}, nativeProps, {
5763
5762
  themeFontSize: fontSize,
5764
5763
  themeFontWeight: fontWeight,
@@ -5772,7 +5771,7 @@ var Typography = {
5772
5771
  };
5773
5772
 
5774
5773
  // 🔴 DO NOT EDIT — This file is generated automatically.
5775
- 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', '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'];
5774
+ 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'];
5776
5775
 
5777
5776
  var activate = 59000;
5778
5777
  var adjustment = 59003;
@@ -5782,81 +5781,81 @@ var archive = 59006;
5782
5781
  var bank = 59008;
5783
5782
  var bell = 59009;
5784
5783
  var billing = 59010;
5785
- var bookmark = 59012;
5786
- var box = 59014;
5787
- var buildings = 59015;
5788
- var cake = 59016;
5789
- var calendar = 59018;
5790
- var clock = 59043;
5791
- var cog = 59046;
5792
- var coin = 59047;
5793
- var contacts = 59048;
5794
- var diamond = 59050;
5795
- var directory = 59052;
5796
- var document$1 = 59053;
5797
- var envelope = 59057;
5798
- var expense = 59058;
5799
- var eye = 59061;
5800
- var feed = 59065;
5801
- var feedbacks = 59066;
5802
- var file = 59084;
5803
- var filter = 59085;
5804
- var folder = 59087;
5805
- var globe = 59097;
5806
- var graph = 59099;
5807
- var heart = 59102;
5808
- var home = 59103;
5809
- var image = 59104;
5810
- var instapay = 59107;
5811
- var list = 59108;
5812
- var loading = 59110;
5813
- var location = 59111;
5814
- var lock = 59112;
5815
- var menu = 59116;
5816
- var moneybag = 59117;
5817
- var moon = 59118;
5818
- var node = 59121;
5819
- var paperclip = 59123;
5820
- var pencil = 59125;
5821
- var phone = 59126;
5822
- var plane = 59128;
5823
- var print = 59130;
5824
- var reply = 59133;
5825
- var reschedule = 59134;
5826
- var rostering = 59135;
5827
- var save = 59136;
5828
- var schedule = 59138;
5829
- var send = 59140;
5830
- var speaker = 59142;
5831
- var star = 59147;
5832
- var stopwatch = 59149;
5833
- var suitcase = 59150;
5834
- var survey = 59151;
5835
- var swag = 59152;
5836
- var tag = 59154;
5837
- var target = 59155;
5838
- var teams = 59156;
5839
- var timesheet = 59157;
5840
- var unlock = 59160;
5841
- var user = 59161;
5842
- var wallet = 59164;
5843
- var warning = 59165;
5844
- var add = 59171;
5845
- var bold = 59192;
5846
- var cancel = 59202;
5847
- var checkmark = 59205;
5848
- var italic = 59277;
5849
- var number = 59300;
5850
- var percentage = 59305;
5851
- var redeem = 59314;
5852
- var refresh = 59315;
5853
- var remove = 59316;
5854
- var restart = 59318;
5855
- var strikethrough = 59339;
5856
- var sync = 59344;
5857
- var transfer = 59348;
5858
- var unavailable = 59351;
5859
- var underline = 59352;
5784
+ var bookmark = 59011;
5785
+ var box = 59013;
5786
+ var buildings = 59014;
5787
+ var cake = 59015;
5788
+ var calendar = 59017;
5789
+ var clock = 59042;
5790
+ var cog = 59045;
5791
+ var coin = 59046;
5792
+ var contacts = 59047;
5793
+ var diamond = 59049;
5794
+ var directory = 59051;
5795
+ var document$1 = 59052;
5796
+ var envelope = 59056;
5797
+ var expense = 59057;
5798
+ var eye = 59060;
5799
+ var feed = 59064;
5800
+ var feedbacks = 59065;
5801
+ var file = 59083;
5802
+ var filter = 59084;
5803
+ var folder = 59086;
5804
+ var globe = 59096;
5805
+ var graph = 59098;
5806
+ var heart = 59101;
5807
+ var home = 59102;
5808
+ var image = 59103;
5809
+ var instapay = 59106;
5810
+ var list = 59107;
5811
+ var loading = 59109;
5812
+ var location = 59110;
5813
+ var lock = 59111;
5814
+ var menu = 59115;
5815
+ var moneybag = 59116;
5816
+ var moon = 59117;
5817
+ var node = 59120;
5818
+ var paperclip = 59122;
5819
+ var pencil = 59124;
5820
+ var phone = 59125;
5821
+ var plane = 59127;
5822
+ var print = 59129;
5823
+ var reply = 59132;
5824
+ var reschedule = 59133;
5825
+ var rostering = 59134;
5826
+ var save = 59135;
5827
+ var schedule = 59137;
5828
+ var send = 59139;
5829
+ var speaker = 59141;
5830
+ var star = 59145;
5831
+ var stopwatch = 59147;
5832
+ var suitcase = 59148;
5833
+ var survey = 59149;
5834
+ var swag = 59150;
5835
+ var tag = 59152;
5836
+ var target = 59153;
5837
+ var teams = 59154;
5838
+ var timesheet = 59155;
5839
+ var unlock = 59158;
5840
+ var user = 59159;
5841
+ var wallet = 59162;
5842
+ var warning = 59163;
5843
+ var add = 59169;
5844
+ var bold = 59188;
5845
+ var cancel = 59198;
5846
+ var checkmark = 59201;
5847
+ var italic = 59273;
5848
+ var number = 59296;
5849
+ var percentage = 59300;
5850
+ var redeem = 59309;
5851
+ var refresh = 59310;
5852
+ var remove = 59311;
5853
+ var restart = 59313;
5854
+ var strikethrough = 59332;
5855
+ var sync = 59337;
5856
+ var transfer = 59341;
5857
+ var unavailable = 59344;
5858
+ var underline = 59345;
5860
5859
  var glyphMap = {
5861
5860
  activate: activate,
5862
5861
  "add-emoji": 59001,
@@ -5869,357 +5868,350 @@ var glyphMap = {
5869
5868
  bank: bank,
5870
5869
  bell: bell,
5871
5870
  billing: billing,
5872
- "bookmark-added": 59011,
5873
5871
  bookmark: bookmark,
5874
- "box-check": 59013,
5872
+ "box-check": 59012,
5875
5873
  box: box,
5876
5874
  buildings: buildings,
5877
5875
  cake: cake,
5878
- "calendar-clock": 59017,
5876
+ "calendar-clock": 59016,
5879
5877
  calendar: calendar,
5880
- "candy-box-menu": 59019,
5881
- "caret-down-small": 59020,
5882
- "caret-down": 59021,
5883
- "caret-left-small": 59022,
5884
- "caret-left": 59023,
5885
- "caret-right-small": 59024,
5886
- "caret-right": 59025,
5887
- "caret-up-small": 59026,
5888
- "caret-up": 59027,
5889
- "check-radio": 59028,
5890
- "circle-add": 59029,
5891
- "circle-cancel": 59030,
5892
- "circle-check": 59031,
5893
- "circle-down": 59032,
5894
- "circle-info": 59033,
5895
- "circle-left": 59034,
5896
- "circle-ok": 59035,
5897
- "circle-pencil": 59036,
5898
- "circle-question": 59037,
5899
- "circle-remove": 59038,
5900
- "circle-right": 59039,
5901
- "circle-up": 59040,
5902
- "circle-warning": 59041,
5903
- "clock-3": 59042,
5878
+ "candy-box-menu": 59018,
5879
+ "caret-down-small": 59019,
5880
+ "caret-down": 59020,
5881
+ "caret-left-small": 59021,
5882
+ "caret-left": 59022,
5883
+ "caret-right-small": 59023,
5884
+ "caret-right": 59024,
5885
+ "caret-up-small": 59025,
5886
+ "caret-up": 59026,
5887
+ "check-radio": 59027,
5888
+ "circle-add": 59028,
5889
+ "circle-cancel": 59029,
5890
+ "circle-check": 59030,
5891
+ "circle-down": 59031,
5892
+ "circle-info": 59032,
5893
+ "circle-left": 59033,
5894
+ "circle-ok": 59034,
5895
+ "circle-pencil": 59035,
5896
+ "circle-question": 59036,
5897
+ "circle-remove": 59037,
5898
+ "circle-right": 59038,
5899
+ "circle-up": 59039,
5900
+ "circle-warning": 59040,
5901
+ "clock-3": 59041,
5904
5902
  clock: clock,
5905
- "cloud-download": 59044,
5906
- "cloud-upload": 59045,
5903
+ "cloud-download": 59043,
5904
+ "cloud-upload": 59044,
5907
5905
  cog: cog,
5908
5906
  coin: coin,
5909
5907
  contacts: contacts,
5910
- "credit-card": 59049,
5908
+ "credit-card": 59048,
5911
5909
  diamond: diamond,
5912
- "direction-arrows": 59051,
5910
+ "direction-arrows": 59050,
5913
5911
  directory: directory,
5914
5912
  document: document$1,
5915
- "dollar-coin-shine": 59054,
5916
- "double-buildings": 59055,
5917
- "edit-template": 59056,
5913
+ "dollar-coin-shine": 59053,
5914
+ "double-buildings": 59054,
5915
+ "edit-template": 59055,
5918
5916
  envelope: envelope,
5919
5917
  expense: expense,
5920
- "eye-circle": 59059,
5921
- "eye-invisible": 59060,
5918
+ "eye-circle": 59058,
5919
+ "eye-invisible": 59059,
5922
5920
  eye: eye,
5923
- "face-meh": 59062,
5924
- "face-sad": 59063,
5925
- "face-smiley": 59064,
5921
+ "face-meh": 59061,
5922
+ "face-sad": 59062,
5923
+ "face-smiley": 59063,
5926
5924
  feed: feed,
5927
5925
  feedbacks: feedbacks,
5928
- "file-certified": 59067,
5929
- "file-clone": 59068,
5930
- "file-copy": 59069,
5931
- "file-csv": 59070,
5932
- "file-dispose": 59071,
5933
- "file-doc": 59072,
5934
- "file-excel": 59073,
5935
- "file-export": 59074,
5936
- "file-lock": 59075,
5937
- "file-pdf": 59076,
5938
- "file-powerpoint": 59077,
5939
- "file-search": 59078,
5940
- "file-secured": 59079,
5941
- "file-sheets": 59080,
5942
- "file-slide": 59081,
5943
- "file-verified": 59082,
5944
- "file-word": 59083,
5926
+ "file-certified": 59066,
5927
+ "file-clone": 59067,
5928
+ "file-copy": 59068,
5929
+ "file-csv": 59069,
5930
+ "file-dispose": 59070,
5931
+ "file-doc": 59071,
5932
+ "file-excel": 59072,
5933
+ "file-export": 59073,
5934
+ "file-lock": 59074,
5935
+ "file-pdf": 59075,
5936
+ "file-powerpoint": 59076,
5937
+ "file-search": 59077,
5938
+ "file-secured": 59078,
5939
+ "file-sheets": 59079,
5940
+ "file-slide": 59080,
5941
+ "file-verified": 59081,
5942
+ "file-word": 59082,
5945
5943
  file: file,
5946
5944
  filter: filter,
5947
- "folder-user": 59086,
5945
+ "folder-user": 59085,
5948
5946
  folder: folder,
5949
- "format-bold": 59088,
5950
- "format-heading1": 59089,
5951
- "format-heading2": 59090,
5952
- "format-italic": 59091,
5953
- "format-list-bulleted": 59092,
5954
- "format-list-numbered": 59093,
5955
- "format-underlined": 59094,
5956
- "funnel-filter": 59095,
5957
- "global-dollar": 59096,
5947
+ "format-bold": 59087,
5948
+ "format-heading1": 59088,
5949
+ "format-heading2": 59089,
5950
+ "format-italic": 59090,
5951
+ "format-list-bulleted": 59091,
5952
+ "format-list-numbered": 59092,
5953
+ "format-underlined": 59093,
5954
+ "funnel-filter": 59094,
5955
+ "global-dollar": 59095,
5958
5956
  globe: globe,
5959
- "graduation-cap": 59098,
5957
+ "graduation-cap": 59097,
5960
5958
  graph: graph,
5961
- "happy-sun": 59100,
5962
- "health-bag": 59101,
5959
+ "happy-sun": 59099,
5960
+ "health-bag": 59100,
5963
5961
  heart: heart,
5964
5962
  home: home,
5965
5963
  image: image,
5966
- "import": 59105,
5967
- "incident-siren": 59106,
5964
+ "import": 59104,
5965
+ "incident-siren": 59105,
5968
5966
  instapay: instapay,
5969
5967
  list: list,
5970
- "loading-2": 59109,
5968
+ "loading-2": 59108,
5971
5969
  loading: loading,
5972
5970
  location: location,
5973
5971
  lock: lock,
5974
- "looks-one": 59113,
5975
- "looks-two": 59114,
5976
- "media-content": 59115,
5972
+ "looks-one": 59112,
5973
+ "looks-two": 59113,
5974
+ "media-content": 59114,
5977
5975
  menu: menu,
5978
5976
  moneybag: moneybag,
5979
5977
  moon: moon,
5980
- "multiple-stars": 59119,
5981
- "multiple-users": 59120,
5978
+ "multiple-stars": 59118,
5979
+ "multiple-users": 59119,
5982
5980
  node: node,
5983
- "open-folder": 59122,
5981
+ "open-folder": 59121,
5984
5982
  paperclip: paperclip,
5985
- "payment-summary": 59124,
5983
+ "payment-summary": 59123,
5986
5984
  pencil: pencil,
5987
5985
  phone: phone,
5988
- "piggy-bank": 59127,
5986
+ "piggy-bank": 59126,
5989
5987
  plane: plane,
5990
- "play-circle": 59129,
5988
+ "play-circle": 59128,
5991
5989
  print: print,
5992
- "raising-hands": 59131,
5993
- "reply-arrow": 59132,
5990
+ "raising-hands": 59130,
5991
+ "reply-arrow": 59131,
5994
5992
  reply: reply,
5995
5993
  reschedule: reschedule,
5996
5994
  rostering: rostering,
5997
5995
  save: save,
5998
- "schedule-send": 59137,
5996
+ "schedule-send": 59136,
5999
5997
  schedule: schedule,
6000
- "search-person": 59139,
5998
+ "search-person": 59138,
6001
5999
  send: send,
6002
- "speaker-active": 59141,
6000
+ "speaker-active": 59140,
6003
6001
  speaker: speaker,
6004
- "star-award": 59143,
6005
- "star-badge": 59144,
6006
- "star-circle": 59145,
6007
- "star-medal": 59146,
6002
+ "star-award": 59142,
6003
+ "star-badge": 59143,
6004
+ "star-medal": 59144,
6008
6005
  star: star,
6009
- "steps-circle": 59148,
6006
+ "steps-circle": 59146,
6010
6007
  stopwatch: stopwatch,
6011
6008
  suitcase: suitcase,
6012
6009
  survey: survey,
6013
6010
  swag: swag,
6014
- "switch": 59153,
6011
+ "switch": 59151,
6015
6012
  tag: tag,
6016
6013
  target: target,
6017
6014
  teams: teams,
6018
6015
  timesheet: timesheet,
6019
- "touch-id": 59158,
6020
- "trash-bin": 59159,
6016
+ "touch-id": 59156,
6017
+ "trash-bin": 59157,
6021
6018
  unlock: unlock,
6022
6019
  user: user,
6023
- "video-1": 59162,
6024
- "video-2": 59163,
6020
+ "video-1": 59160,
6021
+ "video-2": 59161,
6025
6022
  wallet: wallet,
6026
6023
  warning: warning,
6027
- "activate-outlined": 59166,
6028
- "add-credit-card-outlined": 59167,
6029
- "add-person-outlined": 59168,
6030
- "add-section-outlined": 59169,
6031
- "add-time-outlined": 59170,
6024
+ "activate-outlined": 59164,
6025
+ "add-credit-card-outlined": 59165,
6026
+ "add-person-outlined": 59166,
6027
+ "add-section-outlined": 59167,
6028
+ "add-time-outlined": 59168,
6032
6029
  add: add,
6033
- "adjustment-outlined": 59172,
6034
- "alignment-2-outlined": 59173,
6035
- "alignment-outlined": 59174,
6036
- "all-caps": 59175,
6037
- "arrow-down": 59176,
6038
- "arrow-downwards": 59177,
6039
- "arrow-left": 59178,
6040
- "arrow-leftwards": 59179,
6041
- "arrow-right": 59180,
6042
- "arrow-rightwards": 59181,
6043
- "arrow-up": 59182,
6044
- "arrow-upwards": 59183,
6045
- "article-outlined": 59184,
6046
- "at-sign": 59185,
6047
- "auto-graph-outlined": 59186,
6048
- "bell-active-outlined": 59187,
6049
- "bell-outlined": 59188,
6050
- "bell-slash-outlined": 59189,
6051
- "billing-outlined": 59190,
6052
- "body-outlined": 59191,
6030
+ "adjustment-outlined": 59170,
6031
+ "alignment-2-outlined": 59171,
6032
+ "alignment-outlined": 59172,
6033
+ "all-caps": 59173,
6034
+ "arrow-down": 59174,
6035
+ "arrow-downwards": 59175,
6036
+ "arrow-left": 59176,
6037
+ "arrow-leftwards": 59177,
6038
+ "arrow-right": 59178,
6039
+ "arrow-rightwards": 59179,
6040
+ "arrow-up": 59180,
6041
+ "arrow-upwards": 59181,
6042
+ "at-sign": 59182,
6043
+ "bell-active-outlined": 59183,
6044
+ "bell-outlined": 59184,
6045
+ "bell-slash-outlined": 59185,
6046
+ "billing-outlined": 59186,
6047
+ "body-outlined": 59187,
6053
6048
  bold: bold,
6054
- "bookmark-added-outlined": 59193,
6055
- "bookmark-outlined": 59194,
6056
- "box-check-outlined": 59195,
6057
- "box-outlined": 59196,
6058
- "bullet-points": 59197,
6059
- "cake-outlined": 59198,
6060
- "calendar-dates-outlined": 59199,
6061
- "calendar-star-outlined": 59200,
6062
- "camera-outlined": 59201,
6049
+ "bookmark-added-outlined": 59189,
6050
+ "bookmark-outlined": 59190,
6051
+ "box-check-outlined": 59191,
6052
+ "box-outlined": 59192,
6053
+ "bullet-points": 59193,
6054
+ "cake-outlined": 59194,
6055
+ "calendar-dates-outlined": 59195,
6056
+ "calendar-star-outlined": 59196,
6057
+ "camera-outlined": 59197,
6063
6058
  cancel: cancel,
6064
- "chat-bubble-outlined": 59203,
6065
- "chat-unread-outlined": 59204,
6059
+ "chat-bubble-outlined": 59199,
6060
+ "chat-unread-outlined": 59200,
6066
6061
  checkmark: checkmark,
6067
- "circle-add-outlined": 59206,
6068
- "circle-cancel-outlined": 59207,
6069
- "circle-down-outlined": 59208,
6070
- "circle-info-outlined": 59209,
6071
- "circle-left-outlined": 59210,
6072
- "circle-ok-outlined": 59211,
6073
- "circle-question-outlined": 59212,
6074
- "circle-remove-outlined": 59213,
6075
- "circle-right-outlined": 59214,
6076
- "circle-up-outlined": 59215,
6077
- "circle-warning-outlined": 59216,
6078
- "clock-2-outlined": 59217,
6079
- "clock-outlined": 59218,
6080
- "cog-outlined": 59219,
6081
- "coin-outlined": 59220,
6082
- "comment-outlined": 59221,
6083
- "contacts-outlined": 59222,
6084
- "credit-card-outlined": 59223,
6085
- "cup-outlined": 59224,
6086
- "direction-arrows-outlined": 59225,
6087
- "directory-outlined": 59226,
6088
- "document-outlined": 59227,
6089
- "dollar-card-outlined": 59228,
6090
- "dollar-coin-shine-outlined": 59229,
6091
- "dollar-sign": 59230,
6092
- "double-buildings-outlined": 59231,
6093
- "double-left-arrows": 59232,
6094
- "double-right-arrows": 59233,
6095
- "download-outlined": 59234,
6096
- "edit-template-outlined": 59235,
6097
- "email-outlined": 59236,
6098
- "enter-arrow": 59237,
6099
- "envelope-outlined": 59238,
6100
- "expense-outlined": 59239,
6101
- "explore-outlined": 59240,
6102
- "external-link": 59241,
6103
- "eye-invisible-outlined": 59242,
6104
- "eye-outlined": 59243,
6105
- "face-id": 59244,
6106
- "face-meh-outlined": 59245,
6107
- "face-open-smiley-outlined": 59246,
6108
- "face-sad-outlined": 59247,
6109
- "face-smiley-outlined": 59248,
6110
- "feed-outlined": 59249,
6111
- "file-certified-outlined": 59250,
6112
- "file-clone-outlined": 59251,
6113
- "file-copy-outlined": 59252,
6114
- "file-dispose-outlined": 59253,
6115
- "file-dollar-outlined": 59254,
6116
- "file-download-outlined": 59255,
6117
- "file-export-outlined": 59256,
6118
- "file-lock-outlined": 59257,
6119
- "file-outlined": 59258,
6120
- "file-search-outlined": 59259,
6121
- "file-secured-outlined": 59260,
6122
- "file-verified-outlined": 59261,
6123
- "filter-outlined": 59262,
6124
- "folder-outlined": 59263,
6125
- "folder-user-outlined": 59264,
6126
- "funnel-filter-outline": 59265,
6127
- "graph-outlined": 59266,
6128
- "hand-holding-user-outlined": 59267,
6129
- "happy-sun-outlined": 59268,
6130
- "health-bag-outlined": 59269,
6131
- "heart-outlined": 59270,
6132
- "home-active-outlined": 59271,
6133
- "home-outlined": 59272,
6134
- "id-card-outlined": 59273,
6135
- "image-outlined": 59274,
6136
- "import-outlined": 59275,
6137
- "instapay-outlined": 59276,
6062
+ "circle-add-outlined": 59202,
6063
+ "circle-cancel-outlined": 59203,
6064
+ "circle-down-outlined": 59204,
6065
+ "circle-info-outlined": 59205,
6066
+ "circle-left-outlined": 59206,
6067
+ "circle-ok-outlined": 59207,
6068
+ "circle-question-outlined": 59208,
6069
+ "circle-remove-outlined": 59209,
6070
+ "circle-right-outlined": 59210,
6071
+ "circle-up-outlined": 59211,
6072
+ "circle-warning-outlined": 59212,
6073
+ "clock-2-outlined": 59213,
6074
+ "clock-outlined": 59214,
6075
+ "cog-outlined": 59215,
6076
+ "coin-outlined": 59216,
6077
+ "comment-outlined": 59217,
6078
+ "contacts-outlined": 59218,
6079
+ "credit-card-outlined": 59219,
6080
+ "cup-outlined": 59220,
6081
+ "direction-arrows-outlined": 59221,
6082
+ "directory-outlined": 59222,
6083
+ "document-outlined": 59223,
6084
+ "dollar-card-outlined": 59224,
6085
+ "dollar-coin-shine-outlined": 59225,
6086
+ "dollar-sign": 59226,
6087
+ "double-buildings-outlined": 59227,
6088
+ "double-left-arrows": 59228,
6089
+ "double-right-arrows": 59229,
6090
+ "download-outlined": 59230,
6091
+ "edit-template-outlined": 59231,
6092
+ "email-outlined": 59232,
6093
+ "enter-arrow": 59233,
6094
+ "envelope-outlined": 59234,
6095
+ "expense-outlined": 59235,
6096
+ "explore-outlined": 59236,
6097
+ "external-link": 59237,
6098
+ "eye-invisible-outlined": 59238,
6099
+ "eye-outlined": 59239,
6100
+ "face-id": 59240,
6101
+ "face-meh-outlined": 59241,
6102
+ "face-open-smiley-outlined": 59242,
6103
+ "face-sad-outlined": 59243,
6104
+ "face-smiley-outlined": 59244,
6105
+ "feed-outlined": 59245,
6106
+ "file-certified-outlined": 59246,
6107
+ "file-clone-outlined": 59247,
6108
+ "file-copy-outlined": 59248,
6109
+ "file-dispose-outlined": 59249,
6110
+ "file-dollar-outlined": 59250,
6111
+ "file-download-outlined": 59251,
6112
+ "file-export-outlined": 59252,
6113
+ "file-lock-outlined": 59253,
6114
+ "file-outlined": 59254,
6115
+ "file-search-outlined": 59255,
6116
+ "file-secured-outlined": 59256,
6117
+ "file-verified-outlined": 59257,
6118
+ "filter-outlined": 59258,
6119
+ "folder-outlined": 59259,
6120
+ "folder-user-outlined": 59260,
6121
+ "funnel-filter-outline": 59261,
6122
+ "graph-outlined": 59262,
6123
+ "hand-holding-user-outlined": 59263,
6124
+ "happy-sun-outlined": 59264,
6125
+ "health-bag-outlined": 59265,
6126
+ "heart-outlined": 59266,
6127
+ "home-active-outlined": 59267,
6128
+ "home-outlined": 59268,
6129
+ "id-card-outlined": 59269,
6130
+ "image-outlined": 59270,
6131
+ "import-outlined": 59271,
6132
+ "instapay-outlined": 59272,
6138
6133
  italic: italic,
6139
- "link-1": 59278,
6140
- "link-2": 59279,
6141
- "list-outlined": 59280,
6142
- "live-help-outlined": 59281,
6143
- "location-outlined": 59282,
6144
- "lock-outlined": 59283,
6145
- "locked-file-outlined": 59284,
6146
- "log-out": 59285,
6147
- "media-content-outlined": 59286,
6148
- "menu-close": 59287,
6149
- "menu-expand": 59288,
6150
- "menu-fold-outlined": 59289,
6151
- "menu-unfold-outlined": 59290,
6152
- "moneybag-outlined": 59291,
6153
- "moon-outlined": 59292,
6154
- "more-horizontal": 59293,
6155
- "more-vertical": 59294,
6156
- "multiple-folders-outlined": 59295,
6157
- "multiple-users-outlined": 59296,
6158
- "near-me-outlined": 59297,
6159
- "node-outlined": 59298,
6160
- "number-points": 59299,
6134
+ "link-1": 59274,
6135
+ "link-2": 59275,
6136
+ "list-outlined": 59276,
6137
+ "live-help-outlined": 59277,
6138
+ "location-outlined": 59278,
6139
+ "lock-outlined": 59279,
6140
+ "locked-file-outlined": 59280,
6141
+ "log-out": 59281,
6142
+ "media-content-outlined": 59282,
6143
+ "menu-close": 59283,
6144
+ "menu-expand": 59284,
6145
+ "menu-fold-outlined": 59285,
6146
+ "menu-unfold-outlined": 59286,
6147
+ "moneybag-outlined": 59287,
6148
+ "moon-outlined": 59288,
6149
+ "more-horizontal": 59289,
6150
+ "more-vertical": 59290,
6151
+ "multiple-folders-outlined": 59291,
6152
+ "multiple-users-outlined": 59292,
6153
+ "near-me-outlined": 59293,
6154
+ "node-outlined": 59294,
6155
+ "number-points": 59295,
6161
6156
  number: number,
6162
- "overview-outlined": 59301,
6163
- "payment-summary-outlined": 59302,
6164
- "payslip-outlined": 59303,
6165
- "pencil-outlined": 59304,
6157
+ "payment-summary-outlined": 59297,
6158
+ "payslip-outlined": 59298,
6159
+ "pencil-outlined": 59299,
6166
6160
  percentage: percentage,
6167
- "phone-outlined": 59306,
6168
- "piggy-bank-outlined": 59307,
6169
- "plane-outlined": 59308,
6170
- "play-circle-outlined": 59309,
6171
- "print-outlined": 59310,
6172
- "qr-code-outlined": 59311,
6173
- "qualification-outlined": 59312,
6174
- "re-assign": 59313,
6161
+ "phone-outlined": 59301,
6162
+ "piggy-bank-outlined": 59302,
6163
+ "plane-outlined": 59303,
6164
+ "play-circle-outlined": 59304,
6165
+ "print-outlined": 59305,
6166
+ "qr-code-outlined": 59306,
6167
+ "qualification-outlined": 59307,
6168
+ "re-assign": 59308,
6175
6169
  redeem: redeem,
6176
6170
  refresh: refresh,
6177
6171
  remove: remove,
6178
- "reply-outlined": 59317,
6172
+ "reply-outlined": 59312,
6179
6173
  restart: restart,
6180
- "return-arrow": 59319,
6181
- "rostering-outlined": 59320,
6182
- "save-outlined": 59321,
6183
- "schedule-outlined": 59322,
6184
- "search-outlined": 59323,
6185
- "search-secured-outlined": 59324,
6186
- "send-outlined": 59325,
6187
- "share-1": 59326,
6188
- "share-2": 59327,
6189
- "share-outlined": 59328,
6190
- "show-chart-outlined": 59329,
6191
- "single-down-arrow": 59330,
6192
- "single-left-arrow": 59331,
6193
- "single-right-arrow": 59332,
6194
- "single-up-arrow": 59333,
6195
- "speaker-active-outlined": 59334,
6196
- "speaker-outlined": 59335,
6197
- "star-circle-outlined": 59336,
6198
- "star-outlined": 59337,
6199
- "stopwatch-outlined": 59338,
6174
+ "return-arrow": 59314,
6175
+ "rostering-outlined": 59315,
6176
+ "save-outlined": 59316,
6177
+ "schedule-outlined": 59317,
6178
+ "search-outlined": 59318,
6179
+ "search-secured-outlined": 59319,
6180
+ "send-outlined": 59320,
6181
+ "share-1": 59321,
6182
+ "share-2": 59322,
6183
+ "share-outlined": 59323,
6184
+ "single-down-arrow": 59324,
6185
+ "single-left-arrow": 59325,
6186
+ "single-right-arrow": 59326,
6187
+ "single-up-arrow": 59327,
6188
+ "speaker-active-outlined": 59328,
6189
+ "speaker-outlined": 59329,
6190
+ "star-outlined": 59330,
6191
+ "stopwatch-outlined": 59331,
6200
6192
  strikethrough: strikethrough,
6201
- "suitcase-clock-outlined": 59340,
6202
- "suitcase-outlined": 59341,
6203
- "survey-outlined": 59342,
6204
- "switch-outlined": 59343,
6193
+ "suitcase-clock-outlined": 59333,
6194
+ "suitcase-outlined": 59334,
6195
+ "survey-outlined": 59335,
6196
+ "switch-outlined": 59336,
6205
6197
  sync: sync,
6206
- "target-outlined": 59345,
6207
- "timesheet-outlined": 59346,
6208
- "today-outlined": 59347,
6198
+ "target-outlined": 59338,
6199
+ "timesheet-outlined": 59339,
6200
+ "today-outlined": 59340,
6209
6201
  transfer: transfer,
6210
- "trash-bin-outlined": 59349,
6211
- "umbrela-outlined": 59350,
6202
+ "trash-bin-outlined": 59342,
6203
+ "umbrela-outlined": 59343,
6212
6204
  unavailable: unavailable,
6213
6205
  underline: underline,
6214
- "unlock-outlined": 59353,
6215
- "upload-outlined": 59354,
6216
- "user-circle-outlined": 59355,
6217
- "user-gear-outlined": 59356,
6218
- "user-outlined": 59357,
6219
- "user-rectangle-outlined": 59358,
6220
- "video-1-outlined": 59359,
6221
- "video-2-outlined": 59360,
6222
- "wallet-outlined": 59361
6206
+ "unlock-outlined": 59346,
6207
+ "upload-outlined": 59347,
6208
+ "user-circle-outlined": 59348,
6209
+ "user-gear-outlined": 59349,
6210
+ "user-outlined": 59350,
6211
+ "user-rectangle-outlined": 59351,
6212
+ "video-1-outlined": 59352,
6213
+ "video-2-outlined": 59353,
6214
+ "wallet-outlined": 59354
6223
6215
  };
6224
6216
 
6225
6217
  var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -6244,10 +6236,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
6244
6236
  };
6245
6237
  });
6246
6238
 
6247
- var _excluded$l = ["style"];
6239
+ var _excluded$k = ["style"];
6248
6240
  var AnimatedIcon = function AnimatedIcon(_ref) {
6249
6241
  var style = _ref.style,
6250
- otherProps = _objectWithoutProperties(_ref, _excluded$l);
6242
+ otherProps = _objectWithoutProperties(_ref, _excluded$k);
6251
6243
  var rotateAnimation = useRef(new Animated.Value(0));
6252
6244
  useEffect(function () {
6253
6245
  var animation = Animated.loop(Animated.timing(rotateAnimation.current, {
@@ -6353,7 +6345,7 @@ var AccordionItem = function AccordionItem(_ref) {
6353
6345
  }, content));
6354
6346
  };
6355
6347
 
6356
- var _excluded$k = ["key"];
6348
+ var _excluded$j = ["key"];
6357
6349
  var Accordion = function Accordion(_ref) {
6358
6350
  var items = _ref.items,
6359
6351
  activeItemKey = _ref.activeItemKey,
@@ -6369,12 +6361,12 @@ var Accordion = function Accordion(_ref) {
6369
6361
  _usePropsOrInternalSt2 = _slicedToArray(_usePropsOrInternalSt, 2),
6370
6362
  _activeItemKey = _usePropsOrInternalSt2[0],
6371
6363
  _onItemPress = _usePropsOrInternalSt2[1];
6372
- return /*#__PURE__*/React.createElement(StyledWrapper$a, {
6364
+ return /*#__PURE__*/React.createElement(StyledWrapper$b, {
6373
6365
  style: style,
6374
6366
  testID: testID
6375
6367
  }, items.map(function (_ref2, index) {
6376
6368
  var key = _ref2.key,
6377
- props = _objectWithoutProperties(_ref2, _excluded$k);
6369
+ props = _objectWithoutProperties(_ref2, _excluded$j);
6378
6370
  var open = _activeItemKey === key;
6379
6371
  return /*#__PURE__*/React.createElement(React.Fragment, {
6380
6372
  key: key
@@ -6556,7 +6548,7 @@ var Attachment = function Attachment(_ref) {
6556
6548
  })) : null);
6557
6549
  };
6558
6550
 
6559
- var StyledWrapper$9 = index$a(TouchableOpacity)(function (_ref) {
6551
+ var StyledWrapper$a = index$a(TouchableOpacity)(function (_ref) {
6560
6552
  var themeSize = _ref.themeSize,
6561
6553
  themeIntent = _ref.themeIntent,
6562
6554
  theme = _ref.theme;
@@ -6611,7 +6603,7 @@ var Avatar = function Avatar(_ref) {
6611
6603
  hasImageError = _useState2[0],
6612
6604
  setHasImageError = _useState2[1];
6613
6605
  if (title === undefined && source === undefined) return null;
6614
- return /*#__PURE__*/React.createElement(StyledWrapper$9, {
6606
+ return /*#__PURE__*/React.createElement(StyledWrapper$a, {
6615
6607
  testID: testID,
6616
6608
  onPress: onPress,
6617
6609
  disabled: onPress === undefined,
@@ -6635,7 +6627,7 @@ var Avatar = function Avatar(_ref) {
6635
6627
  };
6636
6628
 
6637
6629
  var VISIBLE_RATIO = 0.7;
6638
- var StyledWrapper$8 = index$a(View)(function (_ref) {
6630
+ var StyledWrapper$9 = index$a(View)(function (_ref) {
6639
6631
  var theme = _ref.theme,
6640
6632
  themeSize = _ref.themeSize,
6641
6633
  themeAvatarCount = _ref.themeAvatarCount;
@@ -6697,7 +6689,7 @@ var AvatarStack = function AvatarStack(_ref) {
6697
6689
  });
6698
6690
  avatars.push(remainingAvatar);
6699
6691
  }
6700
- return /*#__PURE__*/React.createElement(StyledWrapper$8, {
6692
+ return /*#__PURE__*/React.createElement(StyledWrapper$9, {
6701
6693
  themeSize: size,
6702
6694
  themeAvatarCount: avatars.length,
6703
6695
  style: style,
@@ -6756,7 +6748,7 @@ var StyledStatus = index$a(Animated.View)(function (_ref3) {
6756
6748
  };
6757
6749
  });
6758
6750
 
6759
- var _excluded$j = ["children", "visible", "intent", "style", "testID"];
6751
+ var _excluded$i = ["children", "visible", "intent", "style", "testID"];
6760
6752
  var Status = function Status(_ref) {
6761
6753
  var children = _ref.children,
6762
6754
  _ref$visible = _ref.visible,
@@ -6765,7 +6757,7 @@ var Status = function Status(_ref) {
6765
6757
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
6766
6758
  style = _ref.style,
6767
6759
  testID = _ref.testID,
6768
- nativeProps = _objectWithoutProperties(_ref, _excluded$j);
6760
+ nativeProps = _objectWithoutProperties(_ref, _excluded$i);
6769
6761
  var _React$useRef = React.useRef(new Animated.Value(visible ? 1 : 0)),
6770
6762
  opacity = _React$useRef.current;
6771
6763
  var isFirstRendering = React.useRef(true);
@@ -6798,7 +6790,7 @@ var Status = function Status(_ref) {
6798
6790
  }));
6799
6791
  };
6800
6792
 
6801
- var _excluded$i = ["content", "visible", "max", "intent", "style", "testID"];
6793
+ var _excluded$h = ["content", "visible", "max", "intent", "style", "testID"];
6802
6794
  var DEFAULT_MAX_NUMBER = 99;
6803
6795
  var getPaddingState = function getPaddingState(content) {
6804
6796
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -6813,7 +6805,7 @@ var Badge = function Badge(_ref) {
6813
6805
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
6814
6806
  style = _ref.style,
6815
6807
  testID = _ref.testID,
6816
- nativeProps = _objectWithoutProperties(_ref, _excluded$i);
6808
+ nativeProps = _objectWithoutProperties(_ref, _excluded$h);
6817
6809
  var _React$useRef = React.useRef(new Animated.Value(visible ? 1 : 0)),
6818
6810
  opacity = _React$useRef.current;
6819
6811
  var isFirstRendering = React.useRef(true);
@@ -6917,7 +6909,7 @@ function omit(keys, obj) {
6917
6909
  return result;
6918
6910
  }
6919
6911
 
6920
- var _excluded$h = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
6912
+ var _excluded$g = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
6921
6913
  var getInactiveIcon = function getInactiveIcon(icon) {
6922
6914
  var inactiveIcon = "".concat(icon, "-outlined");
6923
6915
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -6928,7 +6920,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
6928
6920
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
6929
6921
  selectedTabKey = _ref.selectedTabKey,
6930
6922
  tabs = _ref.tabs,
6931
- nativeProps = _objectWithoutProperties(_ref, _excluded$h);
6923
+ nativeProps = _objectWithoutProperties(_ref, _excluded$g);
6932
6924
  var insets = useSafeAreaInsets();
6933
6925
  /**
6934
6926
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -7015,13 +7007,13 @@ var StyledDivider = index$a(View)(function (_ref) {
7015
7007
  }, horizontalMargin), verticalMargin);
7016
7008
  });
7017
7009
 
7018
- var _excluded$g = ["marginHorizontal", "marginVertical", "style", "testID"];
7010
+ var _excluded$f = ["marginHorizontal", "marginVertical", "style", "testID"];
7019
7011
  var Divider = function Divider(_ref) {
7020
7012
  var marginHorizontal = _ref.marginHorizontal,
7021
7013
  marginVertical = _ref.marginVertical,
7022
7014
  style = _ref.style,
7023
7015
  testID = _ref.testID,
7024
- nativeProps = _objectWithoutProperties(_ref, _excluded$g);
7016
+ nativeProps = _objectWithoutProperties(_ref, _excluded$f);
7025
7017
  return /*#__PURE__*/React.createElement(StyledDivider, _extends$1({}, nativeProps, {
7026
7018
  themeMarginHorizontal: marginHorizontal,
7027
7019
  themeMarginVertical: marginVertical,
@@ -7032,7 +7024,7 @@ var Divider = function Divider(_ref) {
7032
7024
 
7033
7025
  var AnimatedPressable$1 = Animated.createAnimatedComponent(Pressable);
7034
7026
  var AnimatedSafeAreaView = Animated.createAnimatedComponent(SafeAreaView);
7035
- var StyledWrapper$7 = index$a(View)(_objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
7027
+ var StyledWrapper$8 = index$a(View)(_objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
7036
7028
  flexDirection: 'column-reverse'
7037
7029
  }));
7038
7030
  var StyledKeyboardAvoidingView = index$a(KeyboardAvoidingView)(function () {
@@ -7151,7 +7143,7 @@ var StyledLoadingDot = index$a(View)(function (_ref2) {
7151
7143
  }, themeStyling());
7152
7144
  });
7153
7145
 
7154
- var _excluded$f = ["count", "size", "testID", "themeVariant"];
7146
+ var _excluded$e = ["count", "size", "testID", "themeVariant"];
7155
7147
  var AnimatedLoadingIndicatorWrapper = Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
7156
7148
  var AnimatedLoadingDot = Animated.createAnimatedComponent(StyledLoadingDot);
7157
7149
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -7183,7 +7175,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
7183
7175
  size = _ref2$size === void 0 ? 12 : _ref2$size,
7184
7176
  testID = _ref2.testID,
7185
7177
  themeVariant = _ref2.themeVariant,
7186
- nativeProps = _objectWithoutProperties(_ref2, _excluded$f);
7178
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$e);
7187
7179
  var progressAnimation = useRef(new Animated.Value(0));
7188
7180
  useEffect(function () {
7189
7181
  var animation = Animated.loop(Animated.timing(progressAnimation.current, {
@@ -7579,11 +7571,11 @@ var Header = function Header(_ref) {
7579
7571
  })) : null), showDivider ? /*#__PURE__*/React.createElement(Divider, null) : null);
7580
7572
  };
7581
7573
 
7582
- var _excluded$e = ["scrollEventThrottle"];
7574
+ var _excluded$d = ["scrollEventThrottle"];
7583
7575
  var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
7584
7576
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
7585
7577
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
7586
- props = _objectWithoutProperties(_ref, _excluded$e);
7578
+ props = _objectWithoutProperties(_ref, _excluded$d);
7587
7579
  var _useContext = useContext(BottomSheetContext),
7588
7580
  setInternalShowDivider = _useContext.setInternalShowDivider;
7589
7581
  var onScrollBeginDrag = useCallback(function (e) {
@@ -7691,7 +7683,7 @@ var BottomSheet = function BottomSheet(_ref) {
7691
7683
  transparent: true,
7692
7684
  testID: testID,
7693
7685
  onShow: onOpen
7694
- }, /*#__PURE__*/React.createElement(StyledWrapper$7, {
7686
+ }, /*#__PURE__*/React.createElement(StyledWrapper$8, {
7695
7687
  pointerEvents: "box-none"
7696
7688
  }, /*#__PURE__*/React.createElement(StyledKeyboardAvoidingView, _extends$1({
7697
7689
  behavior: Platform.OS === 'ios' ? 'padding' : 'height'
@@ -7898,7 +7890,7 @@ var borderWidths = {
7898
7890
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
7899
7891
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
7900
7892
 
7901
- var _excluded$d = ["theme"];
7893
+ var _excluded$c = ["theme"];
7902
7894
  var getThemeValue = function getThemeValue(theme, key, props) {
7903
7895
  var propConfig = config[key];
7904
7896
  var propValue = props[key];
@@ -7925,18 +7917,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
7925
7917
  var configKeys = Object.keys(config);
7926
7918
  var StyledBox = index$a(View)(function (_ref5) {
7927
7919
  var theme = _ref5.theme,
7928
- otherProps = _objectWithoutProperties(_ref5, _excluded$d);
7920
+ otherProps = _objectWithoutProperties(_ref5, _excluded$c);
7929
7921
  var styleProps = pick(configKeys, otherProps);
7930
7922
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
7931
7923
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
7932
7924
  });
7933
7925
 
7934
- var _excluded$c = ["children", "style", "testID"];
7926
+ var _excluded$b = ["children", "style", "testID"];
7935
7927
  var Box = function Box(_ref) {
7936
7928
  var children = _ref.children,
7937
7929
  style = _ref.style,
7938
7930
  testID = _ref.testID,
7939
- otherProps = _objectWithoutProperties(_ref, _excluded$c);
7931
+ otherProps = _objectWithoutProperties(_ref, _excluded$b);
7940
7932
  return /*#__PURE__*/React.createElement(StyledBox, _extends$1({}, otherProps, {
7941
7933
  style: style,
7942
7934
  testID: testID
@@ -10547,7 +10539,7 @@ var CarouselPaginator = function CarouselPaginator(_ref) {
10547
10539
  }));
10548
10540
  };
10549
10541
 
10550
- var _excluded$b = ["rounded", "size", "testID", "style"];
10542
+ var _excluded$a = ["rounded", "size", "testID", "style"];
10551
10543
  var Image = function Image(_ref) {
10552
10544
  var _ref$rounded = _ref.rounded,
10553
10545
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -10555,7 +10547,7 @@ var Image = function Image(_ref) {
10555
10547
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
10556
10548
  testID = _ref.testID,
10557
10549
  style = _ref.style,
10558
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$b);
10550
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$a);
10559
10551
  var theme = useTheme();
10560
10552
  var imageSize = theme.__hd__.image.sizes[size];
10561
10553
  return /*#__PURE__*/React.createElement(Image$1, _extends$1({
@@ -10640,7 +10632,7 @@ var CarouselItem = function CarouselItem(_ref) {
10640
10632
  }, content, /*#__PURE__*/React.createElement(StyledCarouselHeading, null, heading), body ? /*#__PURE__*/React.createElement(Typography.Text, null, body) : null));
10641
10633
  };
10642
10634
 
10643
- var _excluded$a = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style"];
10635
+ var _excluded$9 = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style"];
10644
10636
  function useStateFromProp(initialValue) {
10645
10637
  var _useState = useState(initialValue),
10646
10638
  _useState2 = _slicedToArray(_useState, 2),
@@ -10658,7 +10650,7 @@ var Carousel = function Carousel(_ref) {
10658
10650
  _ref$selectedItemInde = _ref.selectedItemIndex,
10659
10651
  selectedItemIndex = _ref$selectedItemInde === void 0 ? 0 : _ref$selectedItemInde,
10660
10652
  style = _ref.style,
10661
- nativeProps = _objectWithoutProperties(_ref, _excluded$a);
10653
+ nativeProps = _objectWithoutProperties(_ref, _excluded$9);
10662
10654
  var carouselRef = useRef(null);
10663
10655
  var _useStateFromProp = useStateFromProp(selectedItemIndex),
10664
10656
  _useStateFromProp2 = _slicedToArray(_useStateFromProp, 2),
@@ -10758,12 +10750,12 @@ var Indicator = index$a(View)(function (_ref2) {
10758
10750
  };
10759
10751
  });
10760
10752
 
10761
- var _excluded$9 = ["intent", "children"];
10753
+ var _excluded$8 = ["intent", "children"];
10762
10754
  var DataCard = function DataCard(_ref) {
10763
10755
  var _ref$intent = _ref.intent,
10764
10756
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
10765
10757
  children = _ref.children,
10766
- nativeProps = _objectWithoutProperties(_ref, _excluded$9);
10758
+ nativeProps = _objectWithoutProperties(_ref, _excluded$8);
10767
10759
  return /*#__PURE__*/React.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React.createElement(Indicator, {
10768
10760
  themeIntent: intent,
10769
10761
  testID: "data-card-indicator"
@@ -10781,11 +10773,11 @@ var StyledCard = index$a(View)(function (_ref) {
10781
10773
  });
10782
10774
  });
10783
10775
 
10784
- var _excluded$8 = ["intent", "children"];
10776
+ var _excluded$7 = ["intent", "children"];
10785
10777
  var Card = function Card(_ref) {
10786
10778
  var intent = _ref.intent,
10787
10779
  children = _ref.children,
10788
- nativeProps = _objectWithoutProperties(_ref, _excluded$8);
10780
+ nativeProps = _objectWithoutProperties(_ref, _excluded$7);
10789
10781
  return /*#__PURE__*/React.createElement(StyledCard, _extends$1({}, nativeProps, {
10790
10782
  themeIntent: intent
10791
10783
  }), children);
@@ -10794,7 +10786,7 @@ var index$8 = Object.assign(Card, {
10794
10786
  Data: DataCard
10795
10787
  });
10796
10788
 
10797
- var StyledWrapper$6 = index$a(TouchableOpacity)(function (_ref) {
10789
+ var StyledWrapper$7 = index$a(TouchableOpacity)(function (_ref) {
10798
10790
  var theme = _ref.theme,
10799
10791
  themeWithBorder = _ref.themeWithBorder,
10800
10792
  themeDisabled = _ref.themeDisabled;
@@ -10851,7 +10843,7 @@ var Checkbox = function Checkbox(_ref) {
10851
10843
  onPress = _ref.onPress,
10852
10844
  style = _ref.style,
10853
10845
  testID = _ref.testID;
10854
- return /*#__PURE__*/React.createElement(StyledWrapper$6, {
10846
+ return /*#__PURE__*/React.createElement(StyledWrapper$7, {
10855
10847
  onPress: onPress,
10856
10848
  disabled: disabled,
10857
10849
  themeDisabled: disabled,
@@ -11019,7 +11011,7 @@ var StyledErrorAndMaxLengthContainer = index$a(View)(function () {
11019
11011
  };
11020
11012
  });
11021
11013
 
11022
- var _excluded$7 = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue"];
11014
+ var _excluded$6 = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue"];
11023
11015
  var getVariant$1 = function getVariant(_ref) {
11024
11016
  var disabled = _ref.disabled,
11025
11017
  error = _ref.error,
@@ -11065,7 +11057,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
11065
11057
  value = _ref2.value,
11066
11058
  defaultValue = _ref2.defaultValue,
11067
11059
  renderInputValue = _ref2.renderInputValue,
11068
- nativeProps = _objectWithoutProperties(_ref2, _excluded$7);
11060
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$6);
11069
11061
  var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
11070
11062
  var isEmptyValue = displayText.length === 0;
11071
11063
  var actualSuffix = loading ? 'loading' : suffix;
@@ -11651,7 +11643,7 @@ var index$7 = Object.assign(Drawer, {
11651
11643
  Dragable: DragableDrawer
11652
11644
  });
11653
11645
 
11654
- var StyledWrapper$5 = index$a(View)(function (_ref) {
11646
+ var StyledWrapper$6 = index$a(View)(function (_ref) {
11655
11647
  var theme = _ref.theme;
11656
11648
  return {
11657
11649
  display: 'flex',
@@ -11693,7 +11685,7 @@ var Empty = function Empty(_ref) {
11693
11685
  _ref$variant = _ref.variant,
11694
11686
  variant = _ref$variant === void 0 ? 'light' : _ref$variant;
11695
11687
  var theme = useTheme();
11696
- return /*#__PURE__*/React.createElement(StyledWrapper$5, {
11688
+ return /*#__PURE__*/React.createElement(StyledWrapper$6, {
11697
11689
  style: style,
11698
11690
  testID: testID
11699
11691
  }, image !== undefined && /*#__PURE__*/React.cloneElement(image, _objectSpread2(_objectSpread2({}, image.props), {}, {
@@ -11743,11 +11735,11 @@ var StyledFABText = index$a(Text$1)(function (_ref3) {
11743
11735
  };
11744
11736
  });
11745
11737
 
11746
- var _excluded$6 = ["active"];
11738
+ var _excluded$5 = ["active"];
11747
11739
  var AnimatedIcons = Animated.createAnimatedComponent(StyledFABIcon);
11748
11740
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
11749
11741
  var active = _ref.active,
11750
- iconProps = _objectWithoutProperties(_ref, _excluded$6);
11742
+ iconProps = _objectWithoutProperties(_ref, _excluded$5);
11751
11743
  var rotateAnimation = useRef(new Animated.Value(active ? 1 : 0));
11752
11744
  useEffect(function () {
11753
11745
  var animation = Animated.timing(rotateAnimation.current, {
@@ -12183,7 +12175,7 @@ var List = {
12183
12175
  BasicItem: BasicListItem
12184
12176
  };
12185
12177
 
12186
- var StyledWrapper$4 = index$a(View)(function () {
12178
+ var StyledWrapper$5 = index$a(View)(function () {
12187
12179
  return {
12188
12180
  alignContent: 'flex-start'
12189
12181
  };
@@ -12361,7 +12353,7 @@ function PinInput(_ref2) {
12361
12353
  InteractionManager.runAfterInteractions(focus);
12362
12354
  }
12363
12355
  }, [inputRef]);
12364
- return /*#__PURE__*/React.createElement(StyledWrapper$4, {
12356
+ return /*#__PURE__*/React.createElement(StyledWrapper$5, {
12365
12357
  style: style,
12366
12358
  testID: testID
12367
12359
  }, /*#__PURE__*/React.createElement(StyledPinWrapper, null, _toConsumableArray(Array(length).keys()).map(function (index) {
@@ -12478,7 +12470,7 @@ var StyledStrokeEnd = index$a(View)(function (_ref6) {
12478
12470
  };
12479
12471
  });
12480
12472
 
12481
- var _excluded$5 = ["value", "renderValue", "intent", "style", "testID"];
12473
+ var _excluded$4 = ["value", "renderValue", "intent", "style", "testID"];
12482
12474
  var HalfCircle = function HalfCircle(_ref) {
12483
12475
  var type = _ref.type,
12484
12476
  themeIntent = _ref.themeIntent;
@@ -12499,7 +12491,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
12499
12491
  intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
12500
12492
  style = _ref2.style,
12501
12493
  testID = _ref2.testID,
12502
- nativeProps = _objectWithoutProperties(_ref2, _excluded$5);
12494
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$4);
12503
12495
  var theme = useTheme$1();
12504
12496
  var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
12505
12497
  var progressAnimatedValue = useRef(new Animated.Value(0));
@@ -12596,7 +12588,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
12596
12588
  }, renderValue(value)))));
12597
12589
  };
12598
12590
 
12599
- var StyledWrapper$3 = index$a(View)(function (_ref) {
12591
+ var StyledWrapper$4 = index$a(View)(function (_ref) {
12600
12592
  var theme = _ref.theme,
12601
12593
  themeIntent = _ref.themeIntent;
12602
12594
  return {
@@ -12616,14 +12608,14 @@ var StyledInner = index$a(Animated.View)(function (_ref2) {
12616
12608
  };
12617
12609
  });
12618
12610
 
12619
- var _excluded$4 = ["value", "intent", "style", "testID"];
12611
+ var _excluded$3 = ["value", "intent", "style", "testID"];
12620
12612
  var ProgressBar = function ProgressBar(_ref) {
12621
12613
  var value = _ref.value,
12622
12614
  _ref$intent = _ref.intent,
12623
12615
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
12624
12616
  style = _ref.style,
12625
12617
  testID = _ref.testID,
12626
- nativeProps = _objectWithoutProperties(_ref, _excluded$4);
12618
+ nativeProps = _objectWithoutProperties(_ref, _excluded$3);
12627
12619
  var _useState = useState(0),
12628
12620
  _useState2 = _slicedToArray(_useState, 2),
12629
12621
  width = _useState2[0],
@@ -12649,7 +12641,7 @@ var ProgressBar = function ProgressBar(_ref) {
12649
12641
  outputRange: [999, 0],
12650
12642
  extrapolate: 'clamp'
12651
12643
  });
12652
- return /*#__PURE__*/React.createElement(StyledWrapper$3, _extends$1({}, nativeProps, {
12644
+ return /*#__PURE__*/React.createElement(StyledWrapper$4, _extends$1({}, nativeProps, {
12653
12645
  testID: testID,
12654
12646
  style: style,
12655
12647
  themeIntent: intent
@@ -12814,14 +12806,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
12814
12806
  }, dotProps))));
12815
12807
  };
12816
12808
 
12817
- var _excluded$3 = ["testID", "size", "intent"];
12809
+ var _excluded$2 = ["testID", "size", "intent"];
12818
12810
  var Spinner = function Spinner(_ref) {
12819
12811
  var testID = _ref.testID,
12820
12812
  _ref$size = _ref.size,
12821
12813
  size = _ref$size === void 0 ? 'medium' : _ref$size,
12822
12814
  _ref$intent = _ref.intent,
12823
12815
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
12824
- nativeProps = _objectWithoutProperties(_ref, _excluded$3);
12816
+ nativeProps = _objectWithoutProperties(_ref, _excluded$2);
12825
12817
  return /*#__PURE__*/React.createElement(StyledView$1, nativeProps, /*#__PURE__*/React.createElement(StyledSpinnerContainer, {
12826
12818
  testID: testID
12827
12819
  }, /*#__PURE__*/React.createElement(AnimatedSpinner, {
@@ -12830,12 +12822,60 @@ var Spinner = function Spinner(_ref) {
12830
12822
  })));
12831
12823
  };
12832
12824
 
12825
+ var Buttons = function Buttons(_ref) {
12826
+ var _buttons$length;
12827
+ var buttons = _ref.buttons,
12828
+ isLeftButtons = _ref.isLeftButtons,
12829
+ leftButtonContainerStyle = _ref.leftButtonContainerStyle,
12830
+ rightButtonContainerStyle = _ref.rightButtonContainerStyle,
12831
+ panAnimatedValue = _ref.panAnimatedValue,
12832
+ width = _ref.width,
12833
+ canSwipeLeft = _ref.canSwipeLeft,
12834
+ canSwipeRight = _ref.canSwipeRight,
12835
+ buttonWidth = _ref.buttonWidth;
12836
+ var count = (_buttons$length = buttons === null || buttons === void 0 ? void 0 : buttons.length) !== null && _buttons$length !== void 0 ? _buttons$length : 0;
12837
+ var leftEnd = canSwipeLeft ? -width : 0;
12838
+ var rightEnd = canSwipeRight ? width : 0;
12839
+ var inputRange = isLeftButtons ? [0, rightEnd] : [leftEnd, 0];
12840
+ return /*#__PURE__*/React.createElement(React.Fragment, null, buttons === null || buttons === void 0 ? void 0 : buttons.map(function (buttonContent, index) {
12841
+ var outputMultiplier = -index / count;
12842
+ var outputRange = isLeftButtons ? [0, rightEnd * outputMultiplier] : [leftEnd * outputMultiplier, 0];
12843
+ var transform = [{
12844
+ translateX: panAnimatedValue.x.interpolate({
12845
+ inputRange: inputRange,
12846
+ outputRange: outputRange,
12847
+ extrapolate: 'clamp'
12848
+ })
12849
+ }];
12850
+ var buttonStyle = [StyleSheet$1.absoluteFill, {
12851
+ width: buttonWidth,
12852
+ transform: transform
12853
+ }, isLeftButtons ? leftButtonContainerStyle : rightButtonContainerStyle];
12854
+ return /*#__PURE__*/React.createElement(Animated.View, {
12855
+ key: index,
12856
+ style: buttonStyle
12857
+ }, buttonContent);
12858
+ }));
12859
+ };
12860
+
12833
12861
  var StyledRectButton = index$a(TouchableOpacity)(function (_ref) {
12834
12862
  var theme = _ref.theme,
12835
12863
  themeIntent = _ref.themeIntent;
12836
12864
  return {
12837
12865
  flex: 1,
12838
- backgroundColor: theme.__hd__.swipeable.colors[themeIntent]
12866
+ backgroundColor: theme.__hd__.swipeable.colors[themeIntent],
12867
+ alignItems: 'center',
12868
+ justifyContent: 'center'
12869
+ };
12870
+ });
12871
+ var StyledWrapper$3 = index$a(View)(function () {
12872
+ return {
12873
+ flexDirection: 'row'
12874
+ };
12875
+ });
12876
+ var StyledContent = index$a(Animated.View)(function () {
12877
+ return {
12878
+ flex: 1
12839
12879
  };
12840
12880
  });
12841
12881
 
@@ -12844,86 +12884,381 @@ var SwipeableAction = function SwipeableAction(_ref) {
12844
12884
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
12845
12885
  onPress = _ref.onPress,
12846
12886
  style = _ref.style,
12847
- children = _ref.children,
12848
- testID = _ref.testID;
12887
+ testID = _ref.testID,
12888
+ label = _ref.label,
12889
+ icon = _ref.icon;
12849
12890
  return /*#__PURE__*/React.createElement(StyledRectButton, {
12850
12891
  onPress: onPress,
12851
12892
  themeIntent: intent,
12852
12893
  style: style,
12853
12894
  testID: testID
12854
- }, children);
12895
+ }, /*#__PURE__*/React.createElement(Icon, {
12896
+ icon: icon,
12897
+ size: "xsmall"
12898
+ }), /*#__PURE__*/React.createElement(Typography.Text, {
12899
+ fontSize: "small"
12900
+ }, label));
12901
+ };
12902
+
12903
+ var _excluded$1 = ["children", "leftActions", "leftContent", "rightActions", "rightContent", "style", "leftActionsWidth", "leftButtonWidth", "onSwipeLeftStart", "onSwipeLeftEnd", "rightActionsWidth", "rightButtonWidth", "onSwipeRightStart", "onSwipeRightEnd", "swipeState", "onStateChange"];
12904
+ var swipeStartMinDistance = 15;
12905
+ var getReleaseAnimationConfig = function getReleaseAnimationConfig(swipeState, props) {
12906
+ var totalLeftButtonsWidth = props.totalLeftButtonsWidth,
12907
+ totalRightButtonsWidth = props.totalRightButtonsWidth;
12908
+ var swipeReleaseAnimationConfig = {
12909
+ toValue: {
12910
+ x: 0,
12911
+ y: 0
12912
+ },
12913
+ duration: 100,
12914
+ easing: Easing.elastic(0.5),
12915
+ useNativeDriver: true
12916
+ };
12917
+ if (swipeState === 'leftOpen') {
12918
+ return _objectSpread2(_objectSpread2({}, swipeReleaseAnimationConfig), {}, {
12919
+ toValue: {
12920
+ x: totalLeftButtonsWidth,
12921
+ y: 0
12922
+ }
12923
+ });
12924
+ }
12925
+ if (swipeState === 'rightOpen') {
12926
+ return _objectSpread2(_objectSpread2({}, swipeReleaseAnimationConfig), {}, {
12927
+ toValue: {
12928
+ x: totalRightButtonsWidth * -1,
12929
+ y: 0
12930
+ }
12931
+ });
12932
+ }
12933
+ return swipeReleaseAnimationConfig;
12855
12934
  };
12856
-
12857
- var _excluded$2 = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth"];
12858
- var renderActions = function renderActions(actions, width, progress, direction) {
12859
- var trans = progress.interpolate({
12860
- inputRange: [0, 1],
12861
- outputRange: direction === 'left' ? [-width, 0] : [width, 0],
12862
- extrapolate: 'clamp'
12935
+ var getPos = function getPos(_ref) {
12936
+ var swipeState = _ref.swipeState,
12937
+ totalLeftButtonsWidth = _ref.totalLeftButtonsWidth,
12938
+ totalRightButtonsWidth = _ref.totalRightButtonsWidth;
12939
+ if (swipeState === 'leftOpen') {
12940
+ return {
12941
+ x: totalLeftButtonsWidth,
12942
+ y: 0
12943
+ };
12944
+ }
12945
+ if (swipeState === 'rightOpen') {
12946
+ return {
12947
+ x: totalRightButtonsWidth * -1,
12948
+ y: 0
12949
+ };
12950
+ }
12951
+ return {
12952
+ x: 0,
12953
+ y: 0
12954
+ };
12955
+ };
12956
+ var Swipeable = function Swipeable(_ref2) {
12957
+ var children = _ref2.children,
12958
+ _ref2$leftActions = _ref2.leftActions,
12959
+ leftActions = _ref2$leftActions === void 0 ? [] : _ref2$leftActions,
12960
+ leftContent = _ref2.leftContent,
12961
+ _ref2$rightActions = _ref2.rightActions,
12962
+ rightActions = _ref2$rightActions === void 0 ? [] : _ref2$rightActions,
12963
+ rightContent = _ref2.rightContent,
12964
+ style = _ref2.style,
12965
+ _ref2$leftActionsWidt = _ref2.leftActionsWidth,
12966
+ leftActionsWidth = _ref2$leftActionsWidt === void 0 ? scale(85) : _ref2$leftActionsWidt,
12967
+ _ref2$leftButtonWidth = _ref2.leftButtonWidth,
12968
+ leftButtonWidth = _ref2$leftButtonWidth === void 0 ? scale(85) : _ref2$leftButtonWidth,
12969
+ _ref2$onSwipeLeftStar = _ref2.onSwipeLeftStart,
12970
+ onSwipeLeftStart = _ref2$onSwipeLeftStar === void 0 ? noop : _ref2$onSwipeLeftStar,
12971
+ _ref2$onSwipeLeftEnd = _ref2.onSwipeLeftEnd,
12972
+ onSwipeLeftEnd = _ref2$onSwipeLeftEnd === void 0 ? noop : _ref2$onSwipeLeftEnd,
12973
+ _ref2$rightActionsWid = _ref2.rightActionsWidth,
12974
+ rightActionsWidth = _ref2$rightActionsWid === void 0 ? scale(85) : _ref2$rightActionsWid,
12975
+ _ref2$rightButtonWidt = _ref2.rightButtonWidth,
12976
+ rightButtonWidth = _ref2$rightButtonWidt === void 0 ? scale(85) : _ref2$rightButtonWidt,
12977
+ _ref2$onSwipeRightSta = _ref2.onSwipeRightStart,
12978
+ onSwipeRightStart = _ref2$onSwipeRightSta === void 0 ? noop : _ref2$onSwipeRightSta,
12979
+ _ref2$onSwipeRightEnd = _ref2.onSwipeRightEnd,
12980
+ onSwipeRightEnd = _ref2$onSwipeRightEnd === void 0 ? noop : _ref2$onSwipeRightEnd,
12981
+ _ref2$swipeState = _ref2.swipeState,
12982
+ swipeState = _ref2$swipeState === void 0 ? 'closed' : _ref2$swipeState,
12983
+ _ref2$onStateChange = _ref2.onStateChange,
12984
+ onStateChange = _ref2$onStateChange === void 0 ? noop : _ref2$onStateChange,
12985
+ rest = _objectWithoutProperties(_ref2, _excluded$1);
12986
+ var propsWithDefaultValue = _objectSpread2({
12987
+ children: children,
12988
+ leftActions: leftActions,
12989
+ leftContent: leftContent,
12990
+ rightActions: rightActions,
12991
+ rightContent: rightContent,
12992
+ style: style,
12993
+ leftActionsWidth: leftActionsWidth,
12994
+ leftButtonWidth: leftButtonWidth,
12995
+ onSwipeLeftStart: onSwipeLeftStart,
12996
+ onSwipeLeftEnd: onSwipeLeftEnd,
12997
+ rightActionsWidth: rightActionsWidth,
12998
+ rightButtonWidth: rightButtonWidth,
12999
+ onSwipeRightStart: onSwipeRightStart,
13000
+ onSwipeRightEnd: onSwipeRightEnd,
13001
+ swipeState: swipeState,
13002
+ onStateChange: onStateChange
13003
+ }, rest);
13004
+ var unmountedRef = React.useRef(false);
13005
+ useEffect(function () {
13006
+ return function () {
13007
+ unmountedRef.current = true;
13008
+ };
13009
+ }, []);
13010
+ var totalLeftButtonsWidth = leftActions.length * leftButtonWidth;
13011
+ var totalRightButtonsWidth = rightActions.length * rightButtonWidth;
13012
+ var _React$useState = React.useState(0),
13013
+ _React$useState2 = _slicedToArray(_React$useState, 2),
13014
+ width = _React$useState2[0],
13015
+ setWidth = _React$useState2[1];
13016
+ var hasLeftButtons = !leftContent && leftActions && leftActions.length > 0;
13017
+ var hasRightButtons = !rightContent && rightActions && rightActions.length > 0;
13018
+ var canSwipeRight = !!leftContent || !!hasLeftButtons;
13019
+ var canSwipeLeft = !!rightContent || !!hasRightButtons;
13020
+ var propsRef = React.useRef(undefined);
13021
+ var _React$useState3 = React.useState({
13022
+ pan: new Animated.ValueXY(getPos({
13023
+ swipeState: swipeState,
13024
+ totalLeftButtonsWidth: totalLeftButtonsWidth,
13025
+ totalRightButtonsWidth: totalRightButtonsWidth
13026
+ })),
13027
+ lastOffset: {
13028
+ x: 0,
13029
+ y: 0
13030
+ },
13031
+ leftActionActivated: false,
13032
+ rightActionActivated: true,
13033
+ swipeState: 'closed'
13034
+ }),
13035
+ _React$useState4 = _slicedToArray(_React$useState3, 2),
13036
+ state = _React$useState4[0],
13037
+ setState = _React$useState4[1];
13038
+ propsRef.current = _objectSpread2(_objectSpread2({}, propsWithDefaultValue), {}, {
13039
+ canSwipeLeft: canSwipeLeft,
13040
+ canSwipeRight: canSwipeRight,
13041
+ totalLeftButtonsWidth: totalLeftButtonsWidth,
13042
+ totalRightButtonsWidth: totalRightButtonsWidth,
13043
+ hasLeftButtons: hasLeftButtons,
13044
+ hasRightButtons: hasRightButtons,
13045
+ unmountedRef: unmountedRef
12863
13046
  });
12864
- return /*#__PURE__*/React.createElement(Animated.View, {
12865
- style: {
12866
- width: width,
12867
- flexDirection: 'row',
12868
- transform: [{
12869
- translateX: trans
12870
- }]
12871
- }
12872
- }, actions);
12873
- };
12874
- var Swipeable = function Swipeable(_ref) {
12875
- var children = _ref.children,
12876
- state = _ref.state,
12877
- onStateChange = _ref.onStateChange,
12878
- leftActions = _ref.leftActions,
12879
- leftActionsWidth = _ref.leftActionsWidth,
12880
- rightActions = _ref.rightActions,
12881
- rightActionsWidth = _ref.rightActionsWidth,
12882
- swipeableProps = _objectWithoutProperties(_ref, _excluded$2);
12883
- var _useWindowDimensions = useWindowDimensions(),
12884
- width = _useWindowDimensions.width;
12885
- var swipeableRef = useRef(null);
12886
- var renderLeftActions = useCallback(function (progress) {
12887
- return renderActions(leftActions, leftActionsWidth || width, progress, 'left');
12888
- }, [leftActions, leftActionsWidth, width]);
12889
- var renderRightActions = useCallback(function (progress) {
12890
- return renderActions(rightActions, rightActionsWidth || width, progress, 'right');
12891
- }, [rightActions, rightActionsWidth, width]);
12892
13047
  useEffect(function () {
12893
- if (swipeableRef.current === null) return;
12894
- switch (state) {
12895
- case 'leftOpen':
12896
- swipeableRef.current.openLeft();
12897
- break;
12898
- case 'rightOpen':
12899
- swipeableRef.current.openRight();
12900
- break;
12901
- case 'closed':
12902
- swipeableRef.current.close();
12903
- break;
13048
+ var animation = null;
13049
+ if (state.swipeState !== swipeState) {
13050
+ animation = animationToNewState(swipeState, state.pan, totalLeftButtonsWidth, totalRightButtonsWidth);
13051
+ animation.start();
12904
13052
  }
12905
- }, [state]);
12906
- return /*#__PURE__*/React.createElement(GestureHandlerRootView, null, /*#__PURE__*/React.createElement(Swipeable$1, _extends$1({}, swipeableProps, {
12907
- ref: swipeableRef
12908
- }, leftActions !== undefined && {
12909
- renderLeftActions: renderLeftActions
12910
- }, rightActions !== undefined && {
12911
- renderRightActions: renderRightActions
12912
- }, {
12913
- onSwipeableLeftOpen: function onSwipeableLeftOpen() {
12914
- return onStateChange === null || onStateChange === void 0 ? void 0 : onStateChange('leftOpen');
13053
+ return function () {
13054
+ if (animation) {
13055
+ animation.stop();
13056
+ }
13057
+ };
13058
+ }, [swipeState]);
13059
+ var transform = [{
13060
+ translateX: state.pan.x.interpolate({
13061
+ inputRange: [canSwipeLeft ? -width : 0, canSwipeRight ? width : 0],
13062
+ outputRange: [canSwipeLeft ? -width + StyleSheet$1.hairlineWidth : 0, canSwipeRight ? width - StyleSheet$1.hairlineWidth : 0],
13063
+ extrapolate: 'clamp'
13064
+ })
13065
+ }];
13066
+ var panResponder = React.useRef(PanResponder.create({
13067
+ onMoveShouldSetPanResponder: function onMoveShouldSetPanResponder(_, gestureState) {
13068
+ return Math.abs(gestureState.dx) > swipeStartMinDistance;
13069
+ },
13070
+ onMoveShouldSetPanResponderCapture: function onMoveShouldSetPanResponderCapture(_, gestureState) {
13071
+ return Math.abs(gestureState.dx) > swipeStartMinDistance;
13072
+ },
13073
+ onPanResponderGrant: function onPanResponderGrant() {
13074
+ setState(function (prevState) {
13075
+ prevState.pan.setOffset(prevState.lastOffset);
13076
+ return prevState;
13077
+ });
13078
+ },
13079
+ onPanResponderMove: function onPanResponderMove(event, gestureState) {
13080
+ setState(function (prevState) {
13081
+ return hanleOnPanResponderMove(prevState, propsRef.current, event, gestureState);
13082
+ });
12915
13083
  },
12916
- onSwipeableRightOpen: function onSwipeableRightOpen() {
12917
- return onStateChange === null || onStateChange === void 0 ? void 0 : onStateChange('rightOpen');
13084
+ onPanResponderRelease: function onPanResponderRelease(event, gestureState) {
13085
+ setState(function (prevState) {
13086
+ return hanleOnPanResponderEnd(prevState, propsRef.current, event, gestureState);
13087
+ });
12918
13088
  },
12919
- onSwipeableClose: function onSwipeableClose() {
12920
- return onStateChange === null || onStateChange === void 0 ? void 0 : onStateChange('closed');
13089
+ onPanResponderTerminationRequest: function onPanResponderTerminationRequest() {
13090
+ return false;
13091
+ },
13092
+ onPanResponderTerminate: function onPanResponderTerminate(event, gestureState) {
13093
+ setState(function (prevState) {
13094
+ return hanleOnPanResponderEnd(prevState, propsRef.current, event, gestureState);
13095
+ });
13096
+ }
13097
+ })).current;
13098
+ return /*#__PURE__*/React.createElement(StyledWrapper$3, _extends$1({
13099
+ onLayout: function onLayout(event) {
13100
+ var width = event.nativeEvent.layout.width;
13101
+ setWidth(width);
13102
+ },
13103
+ style: [{
13104
+ flexDirection: 'row'
13105
+ }, style]
13106
+ }, panResponder.panHandlers, rest), canSwipeRight && /*#__PURE__*/React.createElement(Animated.View, {
13107
+ style: [{
13108
+ transform: transform,
13109
+ marginLeft: -width,
13110
+ width: width
13111
+ }]
13112
+ }, leftContent || /*#__PURE__*/React.createElement(Buttons, {
13113
+ buttons: leftActions,
13114
+ isLeftButtons: true,
13115
+ panAnimatedValue: state.pan,
13116
+ width: width,
13117
+ canSwipeLeft: canSwipeLeft,
13118
+ canSwipeRight: canSwipeRight,
13119
+ buttonWidth: leftButtonWidth
13120
+ })), /*#__PURE__*/React.createElement(StyledContent, {
13121
+ style: {
13122
+ transform: transform
13123
+ }
13124
+ }, children), canSwipeLeft && /*#__PURE__*/React.createElement(Animated.View, {
13125
+ style: [{
13126
+ transform: transform,
13127
+ marginRight: -width,
13128
+ width: width
13129
+ }]
13130
+ }, rightContent || /*#__PURE__*/React.createElement(Buttons, {
13131
+ buttons: rightActions,
13132
+ isLeftButtons: false,
13133
+ panAnimatedValue: state.pan,
13134
+ width: width,
13135
+ canSwipeRight: canSwipeRight,
13136
+ canSwipeLeft: canSwipeLeft,
13137
+ buttonWidth: rightButtonWidth
13138
+ })));
13139
+ };
13140
+ var animationToNewState = function animationToNewState(swipeState, pan, totalLeftButtonsWidth, totalRightButtonsWidth) {
13141
+ var animationConfig = getReleaseAnimationConfig(swipeState, {
13142
+ totalLeftButtonsWidth: totalLeftButtonsWidth,
13143
+ totalRightButtonsWidth: totalRightButtonsWidth
13144
+ });
13145
+ pan.flattenOffset();
13146
+ return Animated.timing(pan, animationConfig);
13147
+ };
13148
+ var hanleOnPanResponderEnd = function hanleOnPanResponderEnd(state, contextValues, event, gestureState) {
13149
+ var totalLeftButtonsWidth = contextValues.totalLeftButtonsWidth,
13150
+ totalRightButtonsWidth = contextValues.totalRightButtonsWidth,
13151
+ unmountedRef = contextValues.unmountedRef,
13152
+ onSwipeLeftEnd = contextValues.onSwipeLeftEnd,
13153
+ onSwipeRightEnd = contextValues.onSwipeRightEnd,
13154
+ onStateChange = contextValues.onStateChange;
13155
+ var leftActionActivated = state.leftActionActivated,
13156
+ rightActionActivated = state.rightActionActivated,
13157
+ pan = state.pan,
13158
+ swipeState = state.swipeState;
13159
+ var animationConfig = getReleaseAnimationConfig(swipeState, {
13160
+ totalLeftButtonsWidth: totalLeftButtonsWidth,
13161
+ totalRightButtonsWidth: totalRightButtonsWidth
13162
+ });
13163
+ animationToNewState(swipeState, pan, totalLeftButtonsWidth, totalRightButtonsWidth).start(function () {
13164
+ if (unmountedRef.current) {
13165
+ return;
12921
13166
  }
12922
- }), children));
13167
+ if (leftActionActivated && onSwipeLeftEnd) {
13168
+ onSwipeLeftEnd(event, gestureState);
13169
+ }
13170
+ if (rightActionActivated && onSwipeRightEnd) {
13171
+ onSwipeRightEnd(event, gestureState);
13172
+ }
13173
+ onStateChange(swipeState);
13174
+ });
13175
+ return _objectSpread2(_objectSpread2({}, state), {}, {
13176
+ lastOffset: {
13177
+ x: animationConfig.toValue.x,
13178
+ y: animationConfig.toValue.y
13179
+ },
13180
+ leftActionActivated: false,
13181
+ rightActionActivated: false
13182
+ });
13183
+ };
13184
+ var hanleOnPanResponderMove = function hanleOnPanResponderMove(state, contextValues, event, gestureState) {
13185
+ var leftActionsWidth = contextValues.leftActionsWidth,
13186
+ rightActionsWidth = contextValues.rightActionsWidth,
13187
+ onSwipeLeftStart = contextValues.onSwipeLeftStart,
13188
+ onSwipeRightStart = contextValues.onSwipeRightStart,
13189
+ canSwipeRight = contextValues.canSwipeRight,
13190
+ canSwipeLeft = contextValues.canSwipeLeft,
13191
+ hasLeftButtons = contextValues.hasLeftButtons,
13192
+ hasRightButtons = contextValues.hasRightButtons;
13193
+ var lastOffset = state.lastOffset,
13194
+ leftActionActivated = state.leftActionActivated,
13195
+ swipeState = state.swipeState,
13196
+ rightActionActivated = state.rightActionActivated;
13197
+ var dx = gestureState.dx,
13198
+ vx = gestureState.vx;
13199
+ var x = dx + lastOffset.x;
13200
+ var isSwipingLeft = vx < 0;
13201
+ var isSwipingRight = vx > 0;
13202
+ var leftActionsActivated = swipeState === 'leftOpen';
13203
+ var rightActionsActivated = swipeState === 'rightOpen';
13204
+ var nextLeftActionActivated = leftActionActivated;
13205
+ var nextLeftButtonsActivated = leftActionsActivated;
13206
+ var nextRightActionActivated = rightActionActivated;
13207
+ var nextRightButtonsActivated = rightActionsActivated;
13208
+ Animated.event([null, {
13209
+ dx: state.pan.x,
13210
+ dy: state.pan.y
13211
+ }], {
13212
+ useNativeDriver: false
13213
+ })(event, gestureState);
13214
+ if (!leftActionActivated && canSwipeRight && x >= leftActionsWidth) {
13215
+ nextLeftActionActivated = true;
13216
+ onSwipeRightStart(event, gestureState);
13217
+ }
13218
+ if (leftActionActivated && canSwipeRight && x < leftActionsWidth) {
13219
+ nextLeftActionActivated = false;
13220
+ }
13221
+ if (!rightActionActivated && canSwipeLeft && x <= -rightActionsWidth) {
13222
+ nextRightActionActivated = true;
13223
+ onSwipeLeftStart(event, gestureState);
13224
+ }
13225
+ if (rightActionActivated && canSwipeLeft && x > -rightActionsWidth) {
13226
+ nextRightActionActivated = false;
13227
+ }
13228
+ if (!leftActionsActivated && hasLeftButtons && !isSwipingLeft && x >= leftActionsWidth) {
13229
+ nextLeftButtonsActivated = true;
13230
+ }
13231
+ if (leftActionsActivated && hasLeftButtons && isSwipingLeft) {
13232
+ nextLeftButtonsActivated = false;
13233
+ }
13234
+ if (!rightActionsActivated && hasRightButtons && !isSwipingRight && x <= -rightActionsWidth) {
13235
+ nextRightButtonsActivated = true;
13236
+ }
13237
+ if (rightActionsActivated && hasRightButtons && isSwipingRight) {
13238
+ nextRightButtonsActivated = false;
13239
+ }
13240
+ var needsUpdate = nextLeftActionActivated !== leftActionActivated || nextLeftButtonsActivated !== leftActionsActivated || nextRightActionActivated !== rightActionActivated || nextRightButtonsActivated !== rightActionsActivated;
13241
+ if (needsUpdate) {
13242
+ var nextSwipeState = function () {
13243
+ if (nextLeftButtonsActivated) {
13244
+ return 'leftOpen';
13245
+ } else if (nextRightButtonsActivated) {
13246
+ return 'rightOpen';
13247
+ } else {
13248
+ return 'closed';
13249
+ }
13250
+ }();
13251
+ return _objectSpread2(_objectSpread2({}, state), {}, {
13252
+ leftActionActivated: nextLeftActionActivated,
13253
+ rightActionActivated: nextRightActionActivated,
13254
+ swipeState: nextSwipeState
13255
+ });
13256
+ } else {
13257
+ return state;
13258
+ }
12923
13259
  };
12924
- var index$5 = Object.assign(Swipeable, {
12925
- Action: SwipeableAction,
12926
- Content: RectButton
13260
+ var index$5 = Object.assign( /*#__PURE__*/React.memo(Swipeable), {
13261
+ Action: SwipeableAction
12927
13262
  });
12928
13263
 
12929
13264
  var Circle = index$a(View)(function (_ref) {
@@ -14264,7 +14599,7 @@ var StyledText = index$a(Text$1)(function (_ref3) {
14264
14599
  };
14265
14600
  });
14266
14601
 
14267
- var _excluded$1 = ["content", "variant", "intent", "style", "testID"];
14602
+ var _excluded = ["content", "variant", "intent", "style", "testID"];
14268
14603
  var Tag = function Tag(_ref) {
14269
14604
  var content = _ref.content,
14270
14605
  _ref$variant = _ref.variant,
@@ -14273,7 +14608,7 @@ var Tag = function Tag(_ref) {
14273
14608
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
14274
14609
  style = _ref.style,
14275
14610
  testID = _ref.testID,
14276
- nativeProps = _objectWithoutProperties(_ref, _excluded$1);
14611
+ nativeProps = _objectWithoutProperties(_ref, _excluded);
14277
14612
  return /*#__PURE__*/React.createElement(StyledView, _extends$1({}, nativeProps, {
14278
14613
  themeIntent: intent,
14279
14614
  themeVariant: variant,
@@ -14834,11 +15169,9 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
14834
15169
  }));
14835
15170
  };
14836
15171
 
14837
- var _excluded = ["children"];
14838
15172
  var Toolbar = function Toolbar(_ref) {
14839
- var children = _ref.children,
14840
- rest = _objectWithoutProperties(_ref, _excluded);
14841
- return /*#__PURE__*/React.createElement(ToolbarWrapper, rest, children);
15173
+ var children = _ref.children;
15174
+ return /*#__PURE__*/React.createElement(ToolbarWrapper, null, children);
14842
15175
  };
14843
15176
  var index$1 = Object.assign(Toolbar, {
14844
15177
  Group: ToolbarGroup