@hero-design/rn 8.9.1 → 8.11.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 (44) 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 +543 -326
  4. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  5. package/lib/index.js +543 -326
  6. package/package.json +5 -5
  7. package/src/components/Card/index.tsx +1 -1
  8. package/src/components/Carousel/CardCarousel.tsx +218 -0
  9. package/src/components/Carousel/StyledCardCarousel.tsx +40 -0
  10. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +105 -0
  11. package/src/components/Carousel/__tests__/StyledCardCarousel.spec.tsx +38 -0
  12. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +289 -0
  13. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +109 -0
  14. package/src/components/Carousel/contants.ts +10 -0
  15. package/src/components/Carousel/index.tsx +4 -1
  16. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +0 -1
  17. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +0 -1
  18. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  19. package/src/components/Icon/IconList.ts +6 -0
  20. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +2 -2
  21. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +1 -6
  22. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +1 -6
  23. package/src/components/TextInput/StyledTextInput.tsx +1 -2
  24. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +5 -6
  25. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +6 -20
  26. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +0 -2
  27. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +0 -2
  28. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +24 -4
  29. package/src/theme/components/cardCarousel.ts +28 -0
  30. package/src/theme/components/textInput.ts +2 -6
  31. package/src/theme/getTheme.ts +3 -0
  32. package/src/types.ts +2 -0
  33. package/types/components/Card/index.d.ts +1 -1
  34. package/types/components/Carousel/CardCarousel.d.ts +40 -0
  35. package/types/components/Carousel/StyledCardCarousel.d.ts +31 -0
  36. package/types/components/Carousel/contants.d.ts +2 -0
  37. package/types/components/Carousel/index.d.ts +5 -3
  38. package/types/components/Icon/IconList.d.ts +1 -1
  39. package/types/components/Icon/index.d.ts +1 -1
  40. package/types/components/Icon/utils.d.ts +1 -1
  41. package/types/theme/components/cardCarousel.d.ts +25 -0
  42. package/types/theme/components/textInput.d.ts +1 -4
  43. package/types/theme/getTheme.d.ts +2 -0
  44. package/types/types.d.ts +2 -1
package/lib/index.js CHANGED
@@ -1855,6 +1855,36 @@ var getCarouselTheme = function getCarouselTheme(theme) {
1855
1855
  };
1856
1856
  };
1857
1857
 
1858
+ var getCardCarouselTheme = function getCardCarouselTheme(theme) {
1859
+ var space = {
1860
+ pageControlMarginTop: theme.space.medium,
1861
+ carouselItemSpacing: theme.space.small,
1862
+ contentContainerPaddingHorizontal: theme.space.large
1863
+ };
1864
+ var colors = {
1865
+ shadow: theme.colors.primaryOutline,
1866
+ carouselItemBackground: theme.colors.defaultSurface
1867
+ };
1868
+ var shadows = {
1869
+ offset: {
1870
+ width: 0,
1871
+ height: 2
1872
+ },
1873
+ opacity: 0.12,
1874
+ radius: theme.radii.medium,
1875
+ elevation: 4
1876
+ };
1877
+ var radii = {
1878
+ card: theme.radii.medium
1879
+ };
1880
+ return {
1881
+ shadows: shadows,
1882
+ colors: colors,
1883
+ space: space,
1884
+ radii: radii
1885
+ };
1886
+ };
1887
+
1858
1888
  var getCheckboxTheme = function getCheckboxTheme(theme) {
1859
1889
  var colors = {
1860
1890
  "default": theme.colors.primaryOutline,
@@ -2580,7 +2610,8 @@ var getTextInputTheme = function getTextInputTheme(theme) {
2580
2610
  errorMarginLeft: theme.space.xsmall,
2581
2611
  maxLengthLabelMarginLeft: theme.space.xsmall,
2582
2612
  errorAndHelpTextContainerPaddingLeft: theme.space.medium,
2583
- containerMarginTop: theme.space.small
2613
+ containerMarginTop: theme.space.small,
2614
+ labelInsideTextInputMarginTop: -theme.space.xxsmall
2584
2615
  };
2585
2616
  var fontSizes = {
2586
2617
  text: theme.fontSizes.medium,
@@ -2589,10 +2620,6 @@ var getTextInputTheme = function getTextInputTheme(theme) {
2589
2620
  maxLength: theme.fontSizes.small,
2590
2621
  asteriskLabel: theme.fontSizes.medium
2591
2622
  };
2592
- var lineHeights = {
2593
- text: theme.lineHeights.xsmall,
2594
- labelInsideTextInput: theme.lineHeights.xsmall
2595
- };
2596
2623
  var borderWidths = {
2597
2624
  container: {
2598
2625
  normal: theme.borderWidths.base,
@@ -2611,7 +2638,6 @@ var getTextInputTheme = function getTextInputTheme(theme) {
2611
2638
  fontSizes: fontSizes,
2612
2639
  borderWidths: borderWidths,
2613
2640
  radii: radii,
2614
- lineHeights: lineHeights,
2615
2641
  sizes: sizes
2616
2642
  };
2617
2643
  };
@@ -2758,6 +2784,7 @@ var getTheme$1 = function getTheme() {
2758
2784
  calendar: getCalendarTheme(globalTheme),
2759
2785
  card: getCardTheme(globalTheme),
2760
2786
  carousel: getCarouselTheme(globalTheme),
2787
+ cardCarousel: getCardCarouselTheme(globalTheme),
2761
2788
  checkbox: getCheckboxTheme(globalTheme),
2762
2789
  contentNavigator: getContentNavigatorTheme(globalTheme),
2763
2790
  datePicker: getDatePickerTheme(globalTheme),
@@ -5653,7 +5680,7 @@ var index$a = components.reduce(function (acc, comp) {
5653
5680
  });
5654
5681
  }, styled);
5655
5682
 
5656
- var StyledWrapper$b = index$a(reactNative.Animated.View)(function () {
5683
+ var StyledWrapper$c = index$a(reactNative.Animated.View)(function () {
5657
5684
  return {
5658
5685
  margin: 0,
5659
5686
  padding: 0,
@@ -5727,7 +5754,7 @@ var Collapse = function Collapse(_ref) {
5727
5754
  var height = _ref2.height;
5728
5755
  setContentHeight(height);
5729
5756
  }, []);
5730
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$b, {
5757
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$c, {
5731
5758
  style: {
5732
5759
  height: collapseAnim
5733
5760
  },
@@ -5740,10 +5767,10 @@ var Collapse = function Collapse(_ref) {
5740
5767
  }, children)));
5741
5768
  };
5742
5769
 
5743
- var StyledWrapper$a = index$a(reactNative.View)(function () {
5770
+ var StyledWrapper$b = index$a(reactNative.View)(function () {
5744
5771
  return {};
5745
5772
  });
5746
- var StyledItemWrapper = index$a(reactNative.View)(function (_ref) {
5773
+ var StyledItemWrapper$1 = index$a(reactNative.View)(function (_ref) {
5747
5774
  var theme = _ref.theme,
5748
5775
  themeVariant = _ref.themeVariant;
5749
5776
  return {
@@ -5818,7 +5845,7 @@ var Typography = {
5818
5845
  };
5819
5846
 
5820
5847
  // 🔴 DO NOT EDIT — This file is generated automatically.
5821
- var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark-added', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'double-buildings', 'edit-template', 'envelope', 'exclude', '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', 'call-split-outlined', 'camera-outlined', 'cancel', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-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-certified-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-on-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', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
5848
+ var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark-added', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'double-buildings', 'edit-template', 'envelope', 'exclude', '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-up', '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-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', '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', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-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-certified-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-on-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', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
5822
5849
 
5823
5850
  var activate = 59000;
5824
5851
  var adjustment = 59003;
@@ -5867,44 +5894,44 @@ var node = 59124;
5867
5894
  var paperclip = 59126;
5868
5895
  var pencil = 59128;
5869
5896
  var phone = 59129;
5870
- var plane = 59131;
5871
- var print = 59133;
5872
- var reply = 59136;
5873
- var reschedule = 59137;
5874
- var rostering = 59138;
5875
- var save = 59139;
5876
- var schedule = 59141;
5877
- var send = 59143;
5878
- var speaker = 59145;
5879
- var star = 59150;
5880
- var stopwatch = 59152;
5881
- var suitcase = 59153;
5882
- var survey = 59154;
5883
- var swag = 59155;
5884
- var tag = 59157;
5885
- var target = 59158;
5886
- var teams = 59159;
5887
- var timesheet = 59160;
5888
- var unlock = 59163;
5889
- var user = 59164;
5890
- var wallet = 59167;
5891
- var warning = 59168;
5892
- var add = 59174;
5893
- var bold = 59195;
5894
- var cancel = 59206;
5895
- var checkmark = 59210;
5896
- var italic = 59287;
5897
- var number = 59311;
5898
- var percentage = 59316;
5899
- var redeem = 59325;
5900
- var refresh = 59326;
5901
- var remove = 59327;
5902
- var restart = 59329;
5903
- var strikethrough = 59350;
5904
- var sync = 59355;
5905
- var transfer = 59359;
5906
- var unavailable = 59362;
5907
- var underline = 59363;
5897
+ var plane = 59132;
5898
+ var print = 59134;
5899
+ var reply = 59137;
5900
+ var reschedule = 59138;
5901
+ var rostering = 59139;
5902
+ var save = 59140;
5903
+ var schedule = 59142;
5904
+ var send = 59144;
5905
+ var speaker = 59146;
5906
+ var star = 59151;
5907
+ var stopwatch = 59153;
5908
+ var suitcase = 59154;
5909
+ var survey = 59155;
5910
+ var swag = 59160;
5911
+ var tag = 59162;
5912
+ var target = 59163;
5913
+ var teams = 59164;
5914
+ var timesheet = 59165;
5915
+ var unlock = 59168;
5916
+ var user = 59169;
5917
+ var wallet = 59172;
5918
+ var warning = 59173;
5919
+ var add = 59179;
5920
+ var bold = 59200;
5921
+ var cancel = 59211;
5922
+ var checkmark = 59216;
5923
+ var italic = 59293;
5924
+ var number = 59317;
5925
+ var percentage = 59322;
5926
+ var redeem = 59331;
5927
+ var refresh = 59332;
5928
+ var remove = 59333;
5929
+ var restart = 59335;
5930
+ var strikethrough = 59356;
5931
+ var sync = 59361;
5932
+ var transfer = 59365;
5933
+ var unavailable = 59368;
5934
+ var underline = 59369;
5908
5935
  var glyphMap = {
5909
5936
  activate: activate,
5910
5937
  "add-emoji": 59001,
@@ -6037,249 +6064,255 @@ var glyphMap = {
6037
6064
  pencil: pencil,
6038
6065
  phone: phone,
6039
6066
  "piggy-bank": 59130,
6067
+ "plane-up": 59131,
6040
6068
  plane: plane,
6041
- "play-circle": 59132,
6069
+ "play-circle": 59133,
6042
6070
  print: print,
6043
- "raising-hands": 59134,
6044
- "reply-arrow": 59135,
6071
+ "raising-hands": 59135,
6072
+ "reply-arrow": 59136,
6045
6073
  reply: reply,
6046
6074
  reschedule: reschedule,
6047
6075
  rostering: rostering,
6048
6076
  save: save,
6049
- "schedule-send": 59140,
6077
+ "schedule-send": 59141,
6050
6078
  schedule: schedule,
6051
- "search-person": 59142,
6079
+ "search-person": 59143,
6052
6080
  send: send,
6053
- "speaker-active": 59144,
6081
+ "speaker-active": 59145,
6054
6082
  speaker: speaker,
6055
- "star-award": 59146,
6056
- "star-badge": 59147,
6057
- "star-circle": 59148,
6058
- "star-medal": 59149,
6083
+ "star-award": 59147,
6084
+ "star-badge": 59148,
6085
+ "star-circle": 59149,
6086
+ "star-medal": 59150,
6059
6087
  star: star,
6060
- "steps-circle": 59151,
6088
+ "steps-circle": 59152,
6061
6089
  stopwatch: stopwatch,
6062
6090
  suitcase: suitcase,
6063
6091
  survey: survey,
6092
+ "swag-pillar-benefit": 59156,
6093
+ "swag-pillar-career": 59157,
6094
+ "swag-pillar-money": 59158,
6095
+ "swag-pillar-work": 59159,
6064
6096
  swag: swag,
6065
- "switch": 59156,
6097
+ "switch": 59161,
6066
6098
  tag: tag,
6067
6099
  target: target,
6068
6100
  teams: teams,
6069
6101
  timesheet: timesheet,
6070
- "touch-id": 59161,
6071
- "trash-bin": 59162,
6102
+ "touch-id": 59166,
6103
+ "trash-bin": 59167,
6072
6104
  unlock: unlock,
6073
6105
  user: user,
6074
- "video-1": 59165,
6075
- "video-2": 59166,
6106
+ "video-1": 59170,
6107
+ "video-2": 59171,
6076
6108
  wallet: wallet,
6077
6109
  warning: warning,
6078
- "activate-outlined": 59169,
6079
- "add-credit-card-outlined": 59170,
6080
- "add-person-outlined": 59171,
6081
- "add-section-outlined": 59172,
6082
- "add-time-outlined": 59173,
6110
+ "activate-outlined": 59174,
6111
+ "add-credit-card-outlined": 59175,
6112
+ "add-person-outlined": 59176,
6113
+ "add-section-outlined": 59177,
6114
+ "add-time-outlined": 59178,
6083
6115
  add: add,
6084
- "adjustment-outlined": 59175,
6085
- "alignment-2-outlined": 59176,
6086
- "alignment-outlined": 59177,
6087
- "all-caps": 59178,
6088
- "arrow-down": 59179,
6089
- "arrow-downwards": 59180,
6090
- "arrow-left": 59181,
6091
- "arrow-leftwards": 59182,
6092
- "arrow-right": 59183,
6093
- "arrow-rightwards": 59184,
6094
- "arrow-up": 59185,
6095
- "arrow-upwards": 59186,
6096
- "article-outlined": 59187,
6097
- "at-sign": 59188,
6098
- "auto-graph-outlined": 59189,
6099
- "bell-active-outlined": 59190,
6100
- "bell-outlined": 59191,
6101
- "bell-slash-outlined": 59192,
6102
- "billing-outlined": 59193,
6103
- "body-outlined": 59194,
6116
+ "adjustment-outlined": 59180,
6117
+ "alignment-2-outlined": 59181,
6118
+ "alignment-outlined": 59182,
6119
+ "all-caps": 59183,
6120
+ "arrow-down": 59184,
6121
+ "arrow-downwards": 59185,
6122
+ "arrow-left": 59186,
6123
+ "arrow-leftwards": 59187,
6124
+ "arrow-right": 59188,
6125
+ "arrow-rightwards": 59189,
6126
+ "arrow-up": 59190,
6127
+ "arrow-upwards": 59191,
6128
+ "article-outlined": 59192,
6129
+ "at-sign": 59193,
6130
+ "auto-graph-outlined": 59194,
6131
+ "bell-active-outlined": 59195,
6132
+ "bell-outlined": 59196,
6133
+ "bell-slash-outlined": 59197,
6134
+ "billing-outlined": 59198,
6135
+ "body-outlined": 59199,
6104
6136
  bold: bold,
6105
- "bookmark-added-outlined": 59196,
6106
- "bookmark-outlined": 59197,
6107
- "box-check-outlined": 59198,
6108
- "box-outlined": 59199,
6109
- "bullet-points": 59200,
6110
- "cake-outlined": 59201,
6111
- "calendar-dates-outlined": 59202,
6112
- "calendar-star-outlined": 59203,
6113
- "call-split-outlined": 59204,
6114
- "camera-outlined": 59205,
6137
+ "bookmark-added-outlined": 59201,
6138
+ "bookmark-outlined": 59202,
6139
+ "box-check-outlined": 59203,
6140
+ "box-outlined": 59204,
6141
+ "bullet-points": 59205,
6142
+ "cake-outlined": 59206,
6143
+ "calendar-dates-outlined": 59207,
6144
+ "calendar-star-outlined": 59208,
6145
+ "call-split-outlined": 59209,
6146
+ "camera-outlined": 59210,
6115
6147
  cancel: cancel,
6116
- "charging-station-outlined": 59207,
6117
- "chat-bubble-outlined": 59208,
6118
- "chat-unread-outlined": 59209,
6148
+ "car-forward-outlined": 59212,
6149
+ "charging-station-outlined": 59213,
6150
+ "chat-bubble-outlined": 59214,
6151
+ "chat-unread-outlined": 59215,
6119
6152
  checkmark: checkmark,
6120
- "circle-add-outlined": 59211,
6121
- "circle-cancel-outlined": 59212,
6122
- "circle-down-outlined": 59213,
6123
- "circle-info-outlined": 59214,
6124
- "circle-left-outlined": 59215,
6125
- "circle-ok-outlined": 59216,
6126
- "circle-question-outlined": 59217,
6127
- "circle-remove-outlined": 59218,
6128
- "circle-right-outlined": 59219,
6129
- "circle-up-outlined": 59220,
6130
- "circle-warning-outlined": 59221,
6131
- "clock-2-outlined": 59222,
6132
- "clock-outlined": 59223,
6133
- "cog-outlined": 59224,
6134
- "coin-outlined": 59225,
6135
- "comment-outlined": 59226,
6136
- "contacts-outlined": 59227,
6137
- "contacts-user-outlined": 59228,
6138
- "credit-card-outlined": 59229,
6139
- "cup-outlined": 59230,
6140
- "direction-arrows-outlined": 59231,
6141
- "directory-outlined": 59232,
6142
- "document-outlined": 59233,
6143
- "dollar-box-outlined": 59234,
6144
- "dollar-card-outlined": 59235,
6145
- "dollar-coin-shine-outlined": 59236,
6146
- "dollar-credit-card-outlined": 59237,
6147
- "dollar-sign": 59238,
6148
- "double-buildings-outlined": 59239,
6149
- "double-left-arrows": 59240,
6150
- "double-right-arrows": 59241,
6151
- "download-outlined": 59242,
6152
- "edit-template-outlined": 59243,
6153
- "email-outlined": 59244,
6154
- "enter-arrow": 59245,
6155
- "envelope-outlined": 59246,
6156
- "expense-outlined": 59247,
6157
- "explore-outlined": 59248,
6158
- "external-link": 59249,
6159
- "eye-invisible-outlined": 59250,
6160
- "eye-outlined": 59251,
6161
- "face-id": 59252,
6162
- "face-meh-outlined": 59253,
6163
- "face-open-smiley-outlined": 59254,
6164
- "face-sad-outlined": 59255,
6165
- "face-smiley-outlined": 59256,
6166
- "feed-outlined": 59257,
6167
- "file-certified-outlined": 59258,
6168
- "file-clone-outlined": 59259,
6169
- "file-copy-outlined": 59260,
6170
- "file-dispose-outlined": 59261,
6171
- "file-dollar-certified-outlined": 59262,
6172
- "file-dollar-outlined": 59263,
6173
- "file-download-outlined": 59264,
6174
- "file-export-outlined": 59265,
6175
- "file-lock-outlined": 59266,
6176
- "file-outlined": 59267,
6177
- "file-search-outlined": 59268,
6178
- "file-secured-outlined": 59269,
6179
- "file-statutory-outlined": 59270,
6180
- "file-verified-outlined": 59271,
6181
- "filter-outlined": 59272,
6182
- "folder-outlined": 59273,
6183
- "folder-user-outlined": 59274,
6184
- "funnel-filter-outline": 59275,
6185
- "graph-outlined": 59276,
6186
- "hand-holding-user-outlined": 59277,
6187
- "happy-sun-outlined": 59278,
6188
- "health-bag-outlined": 59279,
6189
- "heart-outlined": 59280,
6190
- "home-active-outlined": 59281,
6191
- "home-outlined": 59282,
6192
- "id-card-outlined": 59283,
6193
- "image-outlined": 59284,
6194
- "import-outlined": 59285,
6195
- "instapay-outlined": 59286,
6153
+ "circle-add-outlined": 59217,
6154
+ "circle-cancel-outlined": 59218,
6155
+ "circle-down-outlined": 59219,
6156
+ "circle-info-outlined": 59220,
6157
+ "circle-left-outlined": 59221,
6158
+ "circle-ok-outlined": 59222,
6159
+ "circle-question-outlined": 59223,
6160
+ "circle-remove-outlined": 59224,
6161
+ "circle-right-outlined": 59225,
6162
+ "circle-up-outlined": 59226,
6163
+ "circle-warning-outlined": 59227,
6164
+ "clock-2-outlined": 59228,
6165
+ "clock-outlined": 59229,
6166
+ "cog-outlined": 59230,
6167
+ "coin-outlined": 59231,
6168
+ "comment-outlined": 59232,
6169
+ "contacts-outlined": 59233,
6170
+ "contacts-user-outlined": 59234,
6171
+ "credit-card-outlined": 59235,
6172
+ "cup-outlined": 59236,
6173
+ "direction-arrows-outlined": 59237,
6174
+ "directory-outlined": 59238,
6175
+ "document-outlined": 59239,
6176
+ "dollar-box-outlined": 59240,
6177
+ "dollar-card-outlined": 59241,
6178
+ "dollar-coin-shine-outlined": 59242,
6179
+ "dollar-credit-card-outlined": 59243,
6180
+ "dollar-sign": 59244,
6181
+ "double-buildings-outlined": 59245,
6182
+ "double-left-arrows": 59246,
6183
+ "double-right-arrows": 59247,
6184
+ "download-outlined": 59248,
6185
+ "edit-template-outlined": 59249,
6186
+ "email-outlined": 59250,
6187
+ "enter-arrow": 59251,
6188
+ "envelope-outlined": 59252,
6189
+ "expense-outlined": 59253,
6190
+ "explore-outlined": 59254,
6191
+ "external-link": 59255,
6192
+ "eye-invisible-outlined": 59256,
6193
+ "eye-outlined": 59257,
6194
+ "face-id": 59258,
6195
+ "face-meh-outlined": 59259,
6196
+ "face-open-smiley-outlined": 59260,
6197
+ "face-sad-outlined": 59261,
6198
+ "face-smiley-outlined": 59262,
6199
+ "feed-outlined": 59263,
6200
+ "file-certified-outlined": 59264,
6201
+ "file-clone-outlined": 59265,
6202
+ "file-copy-outlined": 59266,
6203
+ "file-dispose-outlined": 59267,
6204
+ "file-dollar-certified-outlined": 59268,
6205
+ "file-dollar-outlined": 59269,
6206
+ "file-download-outlined": 59270,
6207
+ "file-export-outlined": 59271,
6208
+ "file-lock-outlined": 59272,
6209
+ "file-outlined": 59273,
6210
+ "file-search-outlined": 59274,
6211
+ "file-secured-outlined": 59275,
6212
+ "file-statutory-outlined": 59276,
6213
+ "file-verified-outlined": 59277,
6214
+ "filter-outlined": 59278,
6215
+ "folder-outlined": 59279,
6216
+ "folder-user-outlined": 59280,
6217
+ "funnel-filter-outline": 59281,
6218
+ "graph-outlined": 59282,
6219
+ "hand-holding-user-outlined": 59283,
6220
+ "happy-sun-outlined": 59284,
6221
+ "health-bag-outlined": 59285,
6222
+ "heart-outlined": 59286,
6223
+ "home-active-outlined": 59287,
6224
+ "home-outlined": 59288,
6225
+ "id-card-outlined": 59289,
6226
+ "image-outlined": 59290,
6227
+ "import-outlined": 59291,
6228
+ "instapay-outlined": 59292,
6196
6229
  italic: italic,
6197
- "link-1": 59288,
6198
- "link-2": 59289,
6199
- "list-outlined": 59290,
6200
- "live-help-outlined": 59291,
6201
- "location-on-outlined": 59292,
6202
- "location-outlined": 59293,
6203
- "lock-outlined": 59294,
6204
- "locked-file-outlined": 59295,
6205
- "log-out": 59296,
6206
- "media-content-outlined": 59297,
6207
- "menu-close": 59298,
6208
- "menu-expand": 59299,
6209
- "menu-fold-outlined": 59300,
6210
- "menu-unfold-outlined": 59301,
6211
- "moneybag-outlined": 59302,
6212
- "moon-outlined": 59303,
6213
- "more-horizontal": 59304,
6214
- "more-vertical": 59305,
6215
- "multiple-folders-outlined": 59306,
6216
- "multiple-users-outlined": 59307,
6217
- "near-me-outlined": 59308,
6218
- "node-outlined": 59309,
6219
- "number-points": 59310,
6230
+ "link-1": 59294,
6231
+ "link-2": 59295,
6232
+ "list-outlined": 59296,
6233
+ "live-help-outlined": 59297,
6234
+ "location-on-outlined": 59298,
6235
+ "location-outlined": 59299,
6236
+ "lock-outlined": 59300,
6237
+ "locked-file-outlined": 59301,
6238
+ "log-out": 59302,
6239
+ "media-content-outlined": 59303,
6240
+ "menu-close": 59304,
6241
+ "menu-expand": 59305,
6242
+ "menu-fold-outlined": 59306,
6243
+ "menu-unfold-outlined": 59307,
6244
+ "moneybag-outlined": 59308,
6245
+ "moon-outlined": 59309,
6246
+ "more-horizontal": 59310,
6247
+ "more-vertical": 59311,
6248
+ "multiple-folders-outlined": 59312,
6249
+ "multiple-users-outlined": 59313,
6250
+ "near-me-outlined": 59314,
6251
+ "node-outlined": 59315,
6252
+ "number-points": 59316,
6220
6253
  number: number,
6221
- "overview-outlined": 59312,
6222
- "payment-summary-outlined": 59313,
6223
- "payslip-outlined": 59314,
6224
- "pencil-outlined": 59315,
6254
+ "overview-outlined": 59318,
6255
+ "payment-summary-outlined": 59319,
6256
+ "payslip-outlined": 59320,
6257
+ "pencil-outlined": 59321,
6225
6258
  percentage: percentage,
6226
- "phone-outlined": 59317,
6227
- "piggy-bank-outlined": 59318,
6228
- "plane-outlined": 59319,
6229
- "play-circle-outlined": 59320,
6230
- "print-outlined": 59321,
6231
- "qr-code-outlined": 59322,
6232
- "qualification-outlined": 59323,
6233
- "re-assign": 59324,
6259
+ "phone-outlined": 59323,
6260
+ "piggy-bank-outlined": 59324,
6261
+ "plane-outlined": 59325,
6262
+ "play-circle-outlined": 59326,
6263
+ "print-outlined": 59327,
6264
+ "qr-code-outlined": 59328,
6265
+ "qualification-outlined": 59329,
6266
+ "re-assign": 59330,
6234
6267
  redeem: redeem,
6235
6268
  refresh: refresh,
6236
6269
  remove: remove,
6237
- "reply-outlined": 59328,
6270
+ "reply-outlined": 59334,
6238
6271
  restart: restart,
6239
- "return-arrow": 59330,
6240
- "rostering-outlined": 59331,
6241
- "save-outlined": 59332,
6242
- "schedule-outlined": 59333,
6243
- "search-outlined": 59334,
6244
- "search-secured-outlined": 59335,
6245
- "send-outlined": 59336,
6246
- "share-1": 59337,
6247
- "share-2": 59338,
6248
- "share-outlined": 59339,
6249
- "show-chart-outlined": 59340,
6250
- "single-down-arrow": 59341,
6251
- "single-left-arrow": 59342,
6252
- "single-right-arrow": 59343,
6253
- "single-up-arrow": 59344,
6254
- "speaker-active-outlined": 59345,
6255
- "speaker-outlined": 59346,
6256
- "star-circle-outlined": 59347,
6257
- "star-outlined": 59348,
6258
- "stopwatch-outlined": 59349,
6272
+ "return-arrow": 59336,
6273
+ "rostering-outlined": 59337,
6274
+ "save-outlined": 59338,
6275
+ "schedule-outlined": 59339,
6276
+ "search-outlined": 59340,
6277
+ "search-secured-outlined": 59341,
6278
+ "send-outlined": 59342,
6279
+ "share-1": 59343,
6280
+ "share-2": 59344,
6281
+ "share-outlined": 59345,
6282
+ "show-chart-outlined": 59346,
6283
+ "single-down-arrow": 59347,
6284
+ "single-left-arrow": 59348,
6285
+ "single-right-arrow": 59349,
6286
+ "single-up-arrow": 59350,
6287
+ "speaker-active-outlined": 59351,
6288
+ "speaker-outlined": 59352,
6289
+ "star-circle-outlined": 59353,
6290
+ "star-outlined": 59354,
6291
+ "stopwatch-outlined": 59355,
6259
6292
  strikethrough: strikethrough,
6260
- "suitcase-clock-outlined": 59351,
6261
- "suitcase-outlined": 59352,
6262
- "survey-outlined": 59353,
6263
- "switch-outlined": 59354,
6293
+ "suitcase-clock-outlined": 59357,
6294
+ "suitcase-outlined": 59358,
6295
+ "survey-outlined": 59359,
6296
+ "switch-outlined": 59360,
6264
6297
  sync: sync,
6265
- "target-outlined": 59356,
6266
- "timesheet-outlined": 59357,
6267
- "today-outlined": 59358,
6298
+ "target-outlined": 59362,
6299
+ "timesheet-outlined": 59363,
6300
+ "today-outlined": 59364,
6268
6301
  transfer: transfer,
6269
- "trash-bin-outlined": 59360,
6270
- "umbrela-outlined": 59361,
6302
+ "trash-bin-outlined": 59366,
6303
+ "umbrela-outlined": 59367,
6271
6304
  unavailable: unavailable,
6272
6305
  underline: underline,
6273
- "union-outlined": 59364,
6274
- "unlock-outlined": 59365,
6275
- "upload-outlined": 59366,
6276
- "user-circle-outlined": 59367,
6277
- "user-gear-outlined": 59368,
6278
- "user-outlined": 59369,
6279
- "user-rectangle-outlined": 59370,
6280
- "video-1-outlined": 59371,
6281
- "video-2-outlined": 59372,
6282
- "wallet-outlined": 59373
6306
+ "union-outlined": 59370,
6307
+ "unlock-outlined": 59371,
6308
+ "upload-outlined": 59372,
6309
+ "user-circle-outlined": 59373,
6310
+ "user-gear-outlined": 59374,
6311
+ "user-outlined": 59375,
6312
+ "user-rectangle-outlined": 59376,
6313
+ "video-1-outlined": 59377,
6314
+ "video-2-outlined": 59378,
6315
+ "wallet-outlined": 59379
6283
6316
  };
6284
6317
 
6285
6318
  var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -6395,7 +6428,7 @@ var AccordionItem = function AccordionItem(_ref) {
6395
6428
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
6396
6429
  style = _ref.style,
6397
6430
  testID = _ref.testID;
6398
- return /*#__PURE__*/React__default["default"].createElement(StyledItemWrapper, {
6431
+ return /*#__PURE__*/React__default["default"].createElement(StyledItemWrapper$1, {
6399
6432
  themeVariant: variant,
6400
6433
  style: style,
6401
6434
  testID: testID
@@ -6429,7 +6462,7 @@ var Accordion = function Accordion(_ref) {
6429
6462
  _usePropsOrInternalSt2 = _slicedToArray(_usePropsOrInternalSt, 2),
6430
6463
  _activeItemKey = _usePropsOrInternalSt2[0],
6431
6464
  _onItemPress = _usePropsOrInternalSt2[1];
6432
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$a, {
6465
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$b, {
6433
6466
  style: style,
6434
6467
  testID: testID
6435
6468
  }, items.map(function (_ref2, index) {
@@ -6616,7 +6649,7 @@ var Attachment = function Attachment(_ref) {
6616
6649
  })) : null);
6617
6650
  };
6618
6651
 
6619
- var StyledWrapper$9 = index$a(reactNative.TouchableOpacity)(function (_ref) {
6652
+ var StyledWrapper$a = index$a(reactNative.TouchableOpacity)(function (_ref) {
6620
6653
  var themeSize = _ref.themeSize,
6621
6654
  themeIntent = _ref.themeIntent,
6622
6655
  theme = _ref.theme;
@@ -6671,7 +6704,7 @@ var Avatar = function Avatar(_ref) {
6671
6704
  hasImageError = _useState2[0],
6672
6705
  setHasImageError = _useState2[1];
6673
6706
  if (title === undefined && source === undefined) return null;
6674
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$9, {
6707
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$a, {
6675
6708
  testID: testID,
6676
6709
  onPress: onPress,
6677
6710
  disabled: onPress === undefined,
@@ -6695,7 +6728,7 @@ var Avatar = function Avatar(_ref) {
6695
6728
  };
6696
6729
 
6697
6730
  var VISIBLE_RATIO = 0.7;
6698
- var StyledWrapper$8 = index$a(reactNative.View)(function (_ref) {
6731
+ var StyledWrapper$9 = index$a(reactNative.View)(function (_ref) {
6699
6732
  var theme = _ref.theme,
6700
6733
  themeSize = _ref.themeSize,
6701
6734
  themeAvatarCount = _ref.themeAvatarCount;
@@ -6757,7 +6790,7 @@ var AvatarStack = function AvatarStack(_ref) {
6757
6790
  });
6758
6791
  avatars.push(remainingAvatar);
6759
6792
  }
6760
- return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$8, {
6793
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$9, {
6761
6794
  themeSize: size,
6762
6795
  themeAvatarCount: avatars.length,
6763
6796
  style: style,
@@ -7092,7 +7125,7 @@ var Divider = function Divider(_ref) {
7092
7125
 
7093
7126
  var AnimatedPressable$1 = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
7094
7127
  var AnimatedSafeAreaView = reactNative.Animated.createAnimatedComponent(reactNative.SafeAreaView);
7095
- var StyledWrapper$7 = index$a(reactNative.View)(_objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
7128
+ var StyledWrapper$8 = index$a(reactNative.View)(_objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
7096
7129
  flexDirection: 'column-reverse'
7097
7130
  }));
7098
7131
  var StyledKeyboardAvoidingView = index$a(reactNative.KeyboardAvoidingView)(function () {
@@ -7751,7 +7784,7 @@ var BottomSheet = function BottomSheet(_ref) {
7751
7784
  transparent: true,
7752
7785
  testID: testID,
7753
7786
  onShow: onOpen
7754
- }, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$7, {
7787
+ }, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$8, {
7755
7788
  pointerEvents: "box-none"
7756
7789
  }, /*#__PURE__*/React__default["default"].createElement(StyledKeyboardAvoidingView, _extends$1({
7757
7790
  behavior: reactNative.Platform.OS === 'ios' ? 'padding' : 'height'
@@ -10582,7 +10615,7 @@ var Image = function Image(_ref) {
10582
10615
  }, imageNativeProps));
10583
10616
  };
10584
10617
 
10585
- var StyledPageControl$1 = index$a(reactNative.View)(function () {
10618
+ var StyledPageControl$2 = index$a(reactNative.View)(function () {
10586
10619
  return {
10587
10620
  flexDirection: 'row',
10588
10621
  alignItems: 'center'
@@ -10610,7 +10643,7 @@ var PageControl = function PageControl(_ref) {
10610
10643
  React__default["default"].useEffect(function () {
10611
10644
  animatedValue.setValue(currentPage);
10612
10645
  }, [currentPage]);
10613
- return /*#__PURE__*/React__default["default"].createElement(StyledPageControl$1, {
10646
+ return /*#__PURE__*/React__default["default"].createElement(StyledPageControl$2, {
10614
10647
  testID: testID,
10615
10648
  style: style
10616
10649
  }, new Array(numberOfPages).fill('').map(function (_, index) {
@@ -10699,7 +10732,7 @@ var StyledCarouselFooterWrapper = index$a(reactNative.View)(function (_ref5) {
10699
10732
  marginBottom: theme.__hd__.carousel.space.footerMarginBottom
10700
10733
  };
10701
10734
  });
10702
- var StyledPageControl = index$a(PageControl)({
10735
+ var StyledPageControl$1 = index$a(PageControl)({
10703
10736
  marginStart: 'auto'
10704
10737
  });
10705
10738
 
@@ -10734,7 +10767,243 @@ var CarouselItem = function CarouselItem(_ref) {
10734
10767
  }, body) : null));
10735
10768
  };
10736
10769
 
10737
- var _excluded$d = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination"];
10770
+ /*
10771
+ * Carousel item width.
10772
+ * the percentage of the Card Carousel width
10773
+ */
10774
+ var ITEM_WIDTH_RATE = 0.85;
10775
+ /*
10776
+ * view position when scroll to Index
10777
+ */
10778
+ var VIEW_POSITION_CENTER = 0.5;
10779
+
10780
+ var StyledDataCard = index$a(reactNative.View)(function (_ref) {
10781
+ var theme = _ref.theme;
10782
+ return {
10783
+ borderRadius: theme.__hd__.card.radii["default"],
10784
+ overflow: 'hidden',
10785
+ flexDirection: 'row'
10786
+ };
10787
+ });
10788
+ var Indicator = index$a(reactNative.View)(function (_ref2) {
10789
+ var theme = _ref2.theme,
10790
+ themeIntent = _ref2.themeIntent;
10791
+ return {
10792
+ backgroundColor: theme.__hd__.card.colors[themeIntent],
10793
+ width: theme.__hd__.card.sizes.indicatorWidth,
10794
+ height: '100%'
10795
+ };
10796
+ });
10797
+
10798
+ var _excluded$d = ["intent", "children"];
10799
+ var DataCard = function DataCard(_ref) {
10800
+ var _ref$intent = _ref.intent,
10801
+ intent = _ref$intent === void 0 ? 'info' : _ref$intent,
10802
+ children = _ref.children,
10803
+ nativeProps = _objectWithoutProperties(_ref, _excluded$d);
10804
+ return /*#__PURE__*/React__default["default"].createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default["default"].createElement(Indicator, {
10805
+ themeIntent: intent,
10806
+ testID: "data-card-indicator"
10807
+ }), children);
10808
+ };
10809
+
10810
+ var StyledCard$1 = index$a(reactNative.View)(function (_ref) {
10811
+ var theme = _ref.theme,
10812
+ themeIntent = _ref.themeIntent;
10813
+ return _objectSpread2(_objectSpread2({}, themeIntent !== undefined && {
10814
+ backgroundColor: theme.__hd__.card.colors[themeIntent]
10815
+ }), {}, {
10816
+ borderRadius: theme.__hd__.card.radii["default"],
10817
+ overflow: 'hidden'
10818
+ });
10819
+ });
10820
+
10821
+ var _excluded$c = ["intent", "children"];
10822
+ var Card = function Card(_ref) {
10823
+ var intent = _ref.intent,
10824
+ children = _ref.children,
10825
+ nativeProps = _objectWithoutProperties(_ref, _excluded$c);
10826
+ return /*#__PURE__*/React__default["default"].createElement(StyledCard$1, _extends$1({}, nativeProps, {
10827
+ themeIntent: intent
10828
+ }), children);
10829
+ };
10830
+ var Card$1 = Object.assign(Card, {
10831
+ Data: DataCard
10832
+ });
10833
+
10834
+ var StyledPageControl = index$a(PageControl)(function (_ref) {
10835
+ var theme = _ref.theme;
10836
+ return {
10837
+ alignSelf: 'center',
10838
+ marginTop: theme.__hd__.cardCarousel.space.pageControlMarginTop
10839
+ };
10840
+ });
10841
+ var StyledWrapper$7 = index$a(reactNative.View)({});
10842
+ var StyledCard = index$a(Card$1)(function (_ref2) {
10843
+ var theme = _ref2.theme;
10844
+ return {
10845
+ borderRadius: theme.__hd__.cardCarousel.radii.card,
10846
+ overflow: 'hidden',
10847
+ flex: 1
10848
+ };
10849
+ });
10850
+ var StyledShadow = index$a(reactNative.View)(function (_ref3) {
10851
+ var theme = _ref3.theme;
10852
+ return {
10853
+ borderRadius: theme.__hd__.cardCarousel.radii.card,
10854
+ shadowColor: theme.__hd__.cardCarousel.colors.shadow,
10855
+ shadowOffset: theme.__hd__.cardCarousel.shadows.offset,
10856
+ shadowRadius: theme.__hd__.cardCarousel.shadows.radius,
10857
+ shadowOpacity: theme.__hd__.cardCarousel.shadows.opacity,
10858
+ elevation: theme.__hd__.cardCarousel.shadows.elevation,
10859
+ flex: 1
10860
+ };
10861
+ });
10862
+ var StyledItemWrapper = index$a(reactNative.View)(function (_ref4) {
10863
+ var theme = _ref4.theme;
10864
+ return {
10865
+ padding: theme.__hd__.cardCarousel.space.carouselItemSpacing
10866
+ };
10867
+ });
10868
+
10869
+ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10870
+ var onItemIndexChange = _ref.onItemIndexChange,
10871
+ items = _ref.items,
10872
+ _ref$hidePageControl = _ref.hidePageControl,
10873
+ hidePageControl = _ref$hidePageControl === void 0 ? false : _ref$hidePageControl,
10874
+ style = _ref.style,
10875
+ testID = _ref.testID,
10876
+ _ref$autoPlay = _ref.autoPlay,
10877
+ autoPlay = _ref$autoPlay === void 0 ? false : _ref$autoPlay,
10878
+ _ref$autoPlayInterval = _ref.autoPlayInterval,
10879
+ autoPlayInterval = _ref$autoPlayInterval === void 0 ? 3000 : _ref$autoPlayInterval;
10880
+ var _useState = React.useState(0),
10881
+ _useState2 = _slicedToArray(_useState, 2),
10882
+ currentIndex = _useState2[0],
10883
+ setCurrentIndex = _useState2[1];
10884
+ var theme = useTheme();
10885
+ var _useState3 = React.useState(0),
10886
+ _useState4 = _slicedToArray(_useState3, 2),
10887
+ flatListWidth = _useState4[0],
10888
+ setFlatListWidth = _useState4[1];
10889
+ var itemWidth = flatListWidth * ITEM_WIDTH_RATE;
10890
+ var carouselRef = React.useRef(null);
10891
+ var _snapToIndex = React.useCallback(function (index) {
10892
+ var _carouselRef$current;
10893
+ var validIndex = 0;
10894
+ if (index < 0) {
10895
+ validIndex = 0;
10896
+ } else if (index >= items.length) {
10897
+ validIndex = items.length - 1;
10898
+ } else {
10899
+ validIndex = index;
10900
+ }
10901
+ (_carouselRef$current = carouselRef.current) === null || _carouselRef$current === void 0 ? void 0 : _carouselRef$current.scrollToIndex({
10902
+ index: validIndex,
10903
+ animated: true,
10904
+ viewPosition: VIEW_POSITION_CENTER
10905
+ });
10906
+ }, [carouselRef, itemWidth]);
10907
+ /*
10908
+ * snap to the next index. If the curent index is the last one, snap to the first one.
10909
+ */
10910
+ var snapToNext = React.useCallback(function () {
10911
+ var _carouselRef$current2;
10912
+ var nextIndex = currentIndex + 1;
10913
+ if (nextIndex >= items.length) {
10914
+ nextIndex = 0;
10915
+ }
10916
+ (_carouselRef$current2 = carouselRef.current) === null || _carouselRef$current2 === void 0 ? void 0 : _carouselRef$current2.scrollToIndex({
10917
+ index: nextIndex,
10918
+ animated: true,
10919
+ viewPosition: VIEW_POSITION_CENTER
10920
+ });
10921
+ }, [carouselRef, currentIndex, itemWidth, items.length]);
10922
+ React__default["default"].useImperativeHandle(ref, function () {
10923
+ return {
10924
+ snapToIndex: function snapToIndex(index) {
10925
+ _snapToIndex(index);
10926
+ },
10927
+ // we don't expose this method, it's for testing https://medium.com/developer-rants/how-to-test-useref-without-mocking-useref-699165f4994e
10928
+ getFlatListRef: function getFlatListRef() {
10929
+ return carouselRef.current;
10930
+ }
10931
+ };
10932
+ }, [_snapToIndex]);
10933
+ React.useEffect(function () {
10934
+ var timer;
10935
+ if (autoPlay) {
10936
+ timer = setInterval(function () {
10937
+ snapToNext();
10938
+ }, autoPlayInterval);
10939
+ }
10940
+ return function () {
10941
+ clearInterval(timer);
10942
+ };
10943
+ }, [autoPlay, snapToNext, currentIndex, autoPlayInterval]);
10944
+ var visibleSlideChanged = React.useCallback(function (_ref2) {
10945
+ var viewableItems = _ref2.viewableItems;
10946
+ if (!viewableItems || viewableItems && !viewableItems.length) return;
10947
+ var index = viewableItems[0].index;
10948
+ setCurrentIndex(index);
10949
+ if (onItemIndexChange) {
10950
+ onItemIndexChange(index);
10951
+ }
10952
+ }, [onItemIndexChange]);
10953
+ var getItemLayout = React.useCallback(function (_, index) {
10954
+ return {
10955
+ length: itemWidth,
10956
+ offset: itemWidth * index,
10957
+ index: index
10958
+ };
10959
+ }, [itemWidth]);
10960
+ var onLayout = React.useCallback(function (e) {
10961
+ setFlatListWidth(e.nativeEvent.layout.width);
10962
+ }, [setFlatListWidth]);
10963
+ var renderItem = React.useCallback(function (_ref3) {
10964
+ var item = _ref3.item;
10965
+ return /*#__PURE__*/React__default["default"].createElement(StyledItemWrapper, {
10966
+ style: {
10967
+ width: itemWidth
10968
+ }
10969
+ }, /*#__PURE__*/React__default["default"].createElement(StyledShadow, null, /*#__PURE__*/React__default["default"].createElement(StyledCard, null, item)));
10970
+ }, [itemWidth]);
10971
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$7, {
10972
+ style: style,
10973
+ testID: testID
10974
+ }, /*#__PURE__*/React__default["default"].createElement(reactNative.FlatList, {
10975
+ contentContainerStyle: {
10976
+ paddingHorizontal: theme.__hd__.cardCarousel.space.contentContainerPaddingHorizontal
10977
+ },
10978
+ onLayout: onLayout,
10979
+ data: items,
10980
+ horizontal: true,
10981
+ showsHorizontalScrollIndicator: false,
10982
+ pagingEnabled: true,
10983
+ bounces: false,
10984
+ scrollEventThrottle: 32,
10985
+ snapToAlignment: "center",
10986
+ getItemLayout: getItemLayout,
10987
+ ref: carouselRef,
10988
+ renderItem: renderItem,
10989
+ keyExtractor: function keyExtractor(_, index) {
10990
+ return "".concat(index);
10991
+ },
10992
+ decelerationRate: "fast",
10993
+ renderToHardwareTextureAndroid: true,
10994
+ snapToInterval: itemWidth + theme.__hd__.cardCarousel.space.carouselItemSpacing,
10995
+ onViewableItemsChanged: visibleSlideChanged,
10996
+ viewabilityConfig: {
10997
+ itemVisiblePercentThreshold: 80
10998
+ }
10999
+ }), !hidePageControl && /*#__PURE__*/React__default["default"].createElement(StyledPageControl, {
11000
+ testID: "pageControl",
11001
+ currentPage: currentIndex,
11002
+ numberOfPages: items.length
11003
+ }));
11004
+ });
11005
+
11006
+ var _excluded$b = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination"];
10738
11007
  function useStateFromProp(initialValue) {
10739
11008
  var _useState = React.useState(initialValue),
10740
11009
  _useState2 = _slicedToArray(_useState, 2),
@@ -10756,7 +11025,7 @@ var Carousel = function Carousel(_ref) {
10756
11025
  shouldShowPagination = _ref$shouldShowPagina === void 0 ? function () {
10757
11026
  return true;
10758
11027
  } : _ref$shouldShowPagina,
10759
- nativeProps = _objectWithoutProperties(_ref, _excluded$d);
11028
+ nativeProps = _objectWithoutProperties(_ref, _excluded$b);
10760
11029
  var carouselRef = React.useRef(null);
10761
11030
  var _useStateFromProp = useStateFromProp(selectedItemIndex),
10762
11031
  _useStateFromProp2 = _slicedToArray(_useStateFromProp, 2),
@@ -10832,64 +11101,13 @@ var Carousel = function Carousel(_ref) {
10832
11101
  width: width
10833
11102
  });
10834
11103
  }
10835
- }), /*#__PURE__*/React__default["default"].createElement(StyledCarouselFooterWrapper, null, renderActions && renderActions(currentSlideIndex), shouldShowPagination(currentSlideIndex) && /*#__PURE__*/React__default["default"].createElement(StyledPageControl, {
11104
+ }), /*#__PURE__*/React__default["default"].createElement(StyledCarouselFooterWrapper, null, renderActions && renderActions(currentSlideIndex), shouldShowPagination(currentSlideIndex) && /*#__PURE__*/React__default["default"].createElement(StyledPageControl$1, {
10836
11105
  numberOfPages: items.length,
10837
11106
  currentPage: currentSlideIndex
10838
11107
  }))));
10839
11108
  };
10840
-
10841
- var StyledDataCard = index$a(reactNative.View)(function (_ref) {
10842
- var theme = _ref.theme;
10843
- return {
10844
- borderRadius: theme.__hd__.card.radii["default"],
10845
- overflow: 'hidden',
10846
- flexDirection: 'row'
10847
- };
10848
- });
10849
- var Indicator = index$a(reactNative.View)(function (_ref2) {
10850
- var theme = _ref2.theme,
10851
- themeIntent = _ref2.themeIntent;
10852
- return {
10853
- backgroundColor: theme.__hd__.card.colors[themeIntent],
10854
- width: theme.__hd__.card.sizes.indicatorWidth,
10855
- height: '100%'
10856
- };
10857
- });
10858
-
10859
- var _excluded$c = ["intent", "children"];
10860
- var DataCard = function DataCard(_ref) {
10861
- var _ref$intent = _ref.intent,
10862
- intent = _ref$intent === void 0 ? 'info' : _ref$intent,
10863
- children = _ref.children,
10864
- nativeProps = _objectWithoutProperties(_ref, _excluded$c);
10865
- return /*#__PURE__*/React__default["default"].createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default["default"].createElement(Indicator, {
10866
- themeIntent: intent,
10867
- testID: "data-card-indicator"
10868
- }), children);
10869
- };
10870
-
10871
- var StyledCard = index$a(reactNative.View)(function (_ref) {
10872
- var theme = _ref.theme,
10873
- themeIntent = _ref.themeIntent;
10874
- return _objectSpread2(_objectSpread2({}, themeIntent !== undefined && {
10875
- backgroundColor: theme.__hd__.card.colors[themeIntent]
10876
- }), {}, {
10877
- borderRadius: theme.__hd__.card.radii["default"],
10878
- overflow: 'hidden'
10879
- });
10880
- });
10881
-
10882
- var _excluded$b = ["intent", "children"];
10883
- var Card = function Card(_ref) {
10884
- var intent = _ref.intent,
10885
- children = _ref.children,
10886
- nativeProps = _objectWithoutProperties(_ref, _excluded$b);
10887
- return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends$1({}, nativeProps, {
10888
- themeIntent: intent
10889
- }), children);
10890
- };
10891
- var index$8 = Object.assign(Card, {
10892
- Data: DataCard
11109
+ var index$8 = Object.assign(Carousel, {
11110
+ Card: CardCarousel
10893
11111
  });
10894
11112
 
10895
11113
  var StyledWrapper$6 = index$a(reactNative.TouchableOpacity)(function (_ref) {
@@ -11014,9 +11232,9 @@ var StyledLabelInsideTextInput = index$a(Typography.Text)(function (_ref5) {
11014
11232
  textAlignVertical: 'center',
11015
11233
  alignContent: 'center',
11016
11234
  fontSize: theme.__hd__.textInput.fontSizes.labelInsideTextInput,
11017
- lineHeight: theme.__hd__.textInput.lineHeights.labelInsideTextInput,
11018
11235
  alignItems: 'center',
11019
- color: theme.__hd__.textInput.colors.labelsInsideTextInput[themeVariant]
11236
+ color: theme.__hd__.textInput.colors.labelsInsideTextInput[themeVariant],
11237
+ marginTop: theme.__hd__.textInput.space.labelInsideTextInputMarginTop
11020
11238
  };
11021
11239
  });
11022
11240
  var StyledAsteriskLabelInsideTextInput = index$a(Typography.Text)(function (_ref6) {
@@ -11069,7 +11287,6 @@ var StyledTextInput = index$a(reactNative.TextInput)(function (_ref11) {
11069
11287
  return {
11070
11288
  textAlignVertical: 'center',
11071
11289
  fontSize: theme.__hd__.textInput.fontSizes.text,
11072
- lineHeight: theme.__hd__.textInput.lineHeights.text,
11073
11290
  alignSelf: 'stretch',
11074
11291
  flexGrow: 2,
11075
11292
  marginHorizontal: theme.__hd__.textInput.space.inputHorizontalMargin,
@@ -31362,8 +31579,8 @@ exports.BottomSheet = BottomSheet$1;
31362
31579
  exports.Box = Box;
31363
31580
  exports.Button = CompoundButton;
31364
31581
  exports.Calendar = Calendar;
31365
- exports.Card = index$8;
31366
- exports.Carousel = Carousel;
31582
+ exports.Card = Card$1;
31583
+ exports.Carousel = index$8;
31367
31584
  exports.Checkbox = Checkbox;
31368
31585
  exports.Collapse = Collapse;
31369
31586
  exports.ContentNavigator = ContentNavigator;