@hero-design/rn-work-uikit 1.6.2-alpha.1 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -7718,6 +7718,62 @@ var getFilterTriggerTheme = function getFilterTriggerTheme(theme) {
7718
7718
  };
7719
7719
  };
7720
7720
 
7721
+ var getSegmentedControlTheme = function getSegmentedControlTheme(theme) {
7722
+ var sizes = {
7723
+ itemHeight: {
7724
+ medium: scale(28),
7725
+ large: scale(36)
7726
+ },
7727
+ wrapperHeight: {
7728
+ medium: scale(36),
7729
+ large: scale(44)
7730
+ }
7731
+ };
7732
+ var colors = {
7733
+ itemBackground: {
7734
+ inactive: 'transparent',
7735
+ active: theme.colors.defaultGlobalSurface
7736
+ },
7737
+ wrapperBackground: theme.colors.neutralGlobalSurface
7738
+ };
7739
+ var shadows = {
7740
+ item: {
7741
+ inactive: undefined,
7742
+ active: theme.shadows["default"]
7743
+ }
7744
+ };
7745
+ var radii = {
7746
+ item: {
7747
+ medium: theme.radii.large,
7748
+ large: theme.radii.xlarge
7749
+ },
7750
+ wrapper: {
7751
+ medium: theme.radii.xlarge,
7752
+ large: theme.radii.xxlarge
7753
+ }
7754
+ };
7755
+ var space = {
7756
+ wrapperHorizontalPadding: theme.space.xsmall,
7757
+ itemLabelGap: theme.space.xsmall,
7758
+ itemLabelMarginEnd: theme.space.smallMedium,
7759
+ itemAffixGap: theme.space.small
7760
+ };
7761
+ var lineHeights = {
7762
+ itemText: reactNative.Platform.select({
7763
+ android: 20,
7764
+ ios: undefined
7765
+ })
7766
+ };
7767
+ return {
7768
+ sizes: sizes,
7769
+ colors: colors,
7770
+ shadows: shadows,
7771
+ radii: radii,
7772
+ space: space,
7773
+ lineHeights: lineHeights
7774
+ };
7775
+ };
7776
+
7721
7777
  var getTheme$1 = function getTheme() {
7722
7778
  var scale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : scale$1;
7723
7779
  var systemPallete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : swagSystemPalette$2;
@@ -7778,7 +7834,8 @@ var getTheme$1 = function getTheme() {
7778
7834
  toast: getToastTheme(globalTheme),
7779
7835
  toolbar: getToolbarTheme(globalTheme),
7780
7836
  typography: getTypographyTheme(globalTheme),
7781
- floatingIsland: getFloatingIslandTheme(globalTheme)
7837
+ floatingIsland: getFloatingIslandTheme(globalTheme),
7838
+ segmentedControl: getSegmentedControlTheme(globalTheme)
7782
7839
  }
7783
7840
  });
7784
7841
  };
@@ -7923,7 +7980,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
7923
7980
  };
7924
7981
 
7925
7982
  // 🔴 DO NOT EDIT — This file is generated automatically.
7926
- var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', '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', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
7983
+ var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', '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', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
7927
7984
 
7928
7985
  var activate = 59000;
7929
7986
  var adjustment = 59003;
@@ -7994,29 +8051,29 @@ var swag = 59175;
7994
8051
  var tag = 59178;
7995
8052
  var target = 59179;
7996
8053
  var teams = 59180;
7997
- var timesheet = 59182;
7998
- var unlock = 59185;
7999
- var user = 59186;
8000
- var wallet = 59189;
8001
- var warning = 59190;
8002
- var add = 59198;
8003
- var bold = 59228;
8004
- var cancel = 59245;
8005
- var checkmark = 59251;
8006
- var italic = 59347;
8007
- var local_mall_outlined = 59354;
8008
- var number$2 = 59377;
8009
- var percentage = 59383;
8010
- var redeem = 59393;
8011
- var refresh = 59394;
8012
- var remove$1 = 59395;
8013
- var restart = 59397;
8014
- var shopping_basket_outlined = 59414;
8015
- var strikethrough = 59429;
8016
- var sync = 59435;
8017
- var transfer = 59444;
8018
- var unavailable = 59449;
8019
- var underline = 59450;
8054
+ var timesheet = 59183;
8055
+ var unlock = 59186;
8056
+ var user = 59187;
8057
+ var wallet = 59190;
8058
+ var warning = 59191;
8059
+ var add = 59199;
8060
+ var bold = 59229;
8061
+ var cancel = 59246;
8062
+ var checkmark = 59252;
8063
+ var italic = 59348;
8064
+ var local_mall_outlined = 59355;
8065
+ var number$2 = 59378;
8066
+ var percentage = 59384;
8067
+ var redeem = 59394;
8068
+ var refresh = 59395;
8069
+ var remove$1 = 59396;
8070
+ var restart = 59398;
8071
+ var shopping_basket_outlined = 59415;
8072
+ var strikethrough = 59430;
8073
+ var sync = 59436;
8074
+ var transfer = 59446;
8075
+ var unavailable = 59451;
8076
+ var underline = 59452;
8020
8077
  var glyphMap = {
8021
8078
  activate: activate,
8022
8079
  "add-emoji": 59001,
@@ -8200,287 +8257,289 @@ var glyphMap = {
8200
8257
  target: target,
8201
8258
  teams: teams,
8202
8259
  "thumb-down": 59181,
8260
+ "thumb-up": 59182,
8203
8261
  timesheet: timesheet,
8204
- "touch-id": 59183,
8205
- "trash-bin": 59184,
8262
+ "touch-id": 59184,
8263
+ "trash-bin": 59185,
8206
8264
  unlock: unlock,
8207
8265
  user: user,
8208
- "video-1": 59187,
8209
- "video-2": 59188,
8266
+ "video-1": 59188,
8267
+ "video-2": 59189,
8210
8268
  wallet: wallet,
8211
8269
  warning: warning,
8212
- "academic-hat-outlined": 59191,
8213
- "accommodation-outlined": 59192,
8214
- "activate-outlined": 59193,
8215
- "add-credit-card-outlined": 59194,
8216
- "add-person-outlined": 59195,
8217
- "add-section-outlined": 59196,
8218
- "add-time-outlined": 59197,
8270
+ "academic-hat-outlined": 59192,
8271
+ "accommodation-outlined": 59193,
8272
+ "activate-outlined": 59194,
8273
+ "add-credit-card-outlined": 59195,
8274
+ "add-person-outlined": 59196,
8275
+ "add-section-outlined": 59197,
8276
+ "add-time-outlined": 59198,
8219
8277
  add: add,
8220
- "adjustment-outlined": 59199,
8221
- "afternoon-outlined": 59200,
8222
- "ai-outlined": 59201,
8223
- "alignment-2-outlined": 59202,
8224
- "alignment-outlined": 59203,
8225
- "all-caps": 59204,
8226
- "application-outlined": 59205,
8227
- "arrow-down": 59206,
8228
- "arrow-downwards": 59207,
8229
- "arrow-left": 59208,
8230
- "arrow-leftwards": 59209,
8231
- "arrow-right": 59210,
8232
- "arrow-rightwards": 59211,
8233
- "arrow-up": 59212,
8234
- "arrow-upwards": 59213,
8235
- "article-outlined": 59214,
8236
- "at-sign": 59215,
8237
- "auto-graph-outlined": 59216,
8238
- "automotive-outlined": 59217,
8239
- "bakery-outlined": 59218,
8240
- "bar-outlined": 59219,
8241
- "beauty-outlined": 59220,
8242
- "beer-outlined": 59221,
8243
- "bell-active-outlined": 59222,
8244
- "bell-outlined": 59223,
8245
- "bell-slash-outlined": 59224,
8246
- "bill-management-outlined": 59225,
8247
- "billing-outlined": 59226,
8248
- "body-outlined": 59227,
8278
+ "adjustment-outlined": 59200,
8279
+ "afternoon-outlined": 59201,
8280
+ "ai-outlined": 59202,
8281
+ "alignment-2-outlined": 59203,
8282
+ "alignment-outlined": 59204,
8283
+ "all-caps": 59205,
8284
+ "application-outlined": 59206,
8285
+ "arrow-down": 59207,
8286
+ "arrow-downwards": 59208,
8287
+ "arrow-left": 59209,
8288
+ "arrow-leftwards": 59210,
8289
+ "arrow-right": 59211,
8290
+ "arrow-rightwards": 59212,
8291
+ "arrow-up": 59213,
8292
+ "arrow-upwards": 59214,
8293
+ "article-outlined": 59215,
8294
+ "at-sign": 59216,
8295
+ "auto-graph-outlined": 59217,
8296
+ "automotive-outlined": 59218,
8297
+ "bakery-outlined": 59219,
8298
+ "bar-outlined": 59220,
8299
+ "beauty-outlined": 59221,
8300
+ "beer-outlined": 59222,
8301
+ "bell-active-outlined": 59223,
8302
+ "bell-outlined": 59224,
8303
+ "bell-slash-outlined": 59225,
8304
+ "bill-management-outlined": 59226,
8305
+ "billing-outlined": 59227,
8306
+ "body-outlined": 59228,
8249
8307
  bold: bold,
8250
- "bolt-outlined": 59229,
8251
- "book-outlined": 59230,
8252
- "bookmark-added-outlined": 59231,
8253
- "bookmark-checked-outlined": 59232,
8254
- "bookmark-outlined": 59233,
8255
- "box-1-outlined": 59234,
8256
- "box-check-outlined": 59235,
8257
- "box-outlined": 59236,
8258
- "bullet-points": 59237,
8259
- "cake-outlined": 59238,
8260
- "calculator-outlined": 59239,
8261
- "calendar-dates-outlined": 59240,
8262
- "calendar-star-outlined": 59241,
8263
- "call-outlined": 59242,
8264
- "call-split-outlined": 59243,
8265
- "camera-outlined": 59244,
8308
+ "bolt-outlined": 59230,
8309
+ "book-outlined": 59231,
8310
+ "bookmark-added-outlined": 59232,
8311
+ "bookmark-checked-outlined": 59233,
8312
+ "bookmark-outlined": 59234,
8313
+ "box-1-outlined": 59235,
8314
+ "box-check-outlined": 59236,
8315
+ "box-outlined": 59237,
8316
+ "bullet-points": 59238,
8317
+ "cake-outlined": 59239,
8318
+ "calculator-outlined": 59240,
8319
+ "calendar-dates-outlined": 59241,
8320
+ "calendar-star-outlined": 59242,
8321
+ "call-outlined": 59243,
8322
+ "call-split-outlined": 59244,
8323
+ "camera-outlined": 59245,
8266
8324
  cancel: cancel,
8267
- "car-forward-outlined": 59246,
8268
- "cashback-outlined": 59247,
8269
- "charging-station-outlined": 59248,
8270
- "chat-bubble-outlined": 59249,
8271
- "chat-unread-outlined": 59250,
8325
+ "car-forward-outlined": 59247,
8326
+ "cashback-outlined": 59248,
8327
+ "charging-station-outlined": 59249,
8328
+ "chat-bubble-outlined": 59250,
8329
+ "chat-unread-outlined": 59251,
8272
8330
  checkmark: checkmark,
8273
- "circle-add-outlined": 59252,
8274
- "circle-cancel-outlined": 59253,
8275
- "circle-down-outlined": 59254,
8276
- "circle-info-outlined": 59255,
8277
- "circle-left-outlined": 59256,
8278
- "circle-ok-outlined": 59257,
8279
- "circle-question-outlined": 59258,
8280
- "circle-remove-outlined": 59259,
8281
- "circle-right-outlined": 59260,
8282
- "circle-up-outlined": 59261,
8283
- "circle-warning-outlined": 59262,
8284
- "clock-2-outlined": 59263,
8285
- "clock-in-outlined": 59264,
8286
- "clock-out-outlined": 59265,
8287
- "clock-outlined": 59266,
8288
- "cog-outlined": 59267,
8289
- "coin-outlined": 59268,
8290
- "coin-super-outlined": 59269,
8291
- "comment-outlined": 59270,
8292
- "contacts-outlined": 59271,
8293
- "contacts-user-outlined": 59272,
8294
- "credit-card-outlined": 59273,
8295
- "cultural-site-outlined": 59274,
8296
- "cup-outlined": 59275,
8297
- "dentistry-outlined": 59276,
8298
- "direction-arrows-outlined": 59277,
8299
- "directory-outlined": 59278,
8300
- "document-outlined": 59279,
8301
- "dollar-box-outlined": 59280,
8302
- "dollar-card-outlined": 59281,
8303
- "dollar-coin-shine-outlined": 59282,
8304
- "dollar-credit-card-outlined": 59283,
8305
- "dollar-sign": 59284,
8306
- "double-buildings-outlined": 59285,
8307
- "double-left-arrows": 59286,
8308
- "double-right-arrows": 59287,
8309
- "download-box-outlined": 59288,
8310
- "download-outlined": 59289,
8311
- "edit-template-outlined": 59290,
8312
- "electronics-outlined": 59291,
8313
- "email-outlined": 59292,
8314
- "end-break-outlined": 59293,
8315
- "enter-arrow": 59294,
8316
- "entertainment-outlined": 59295,
8317
- "envelope-outlined": 59296,
8318
- "evening-outlined": 59297,
8319
- "expense-approval-outlined": 59298,
8320
- "expense-outlined": 59299,
8321
- "explore-outlined": 59300,
8322
- "extension-outlined": 59301,
8323
- "external-link": 59302,
8324
- "eye-invisible-outlined": 59303,
8325
- "eye-outlined": 59304,
8326
- "face-id": 59305,
8327
- "face-meh-outlined": 59306,
8328
- "face-open-smiley-outlined": 59307,
8329
- "face-sad-outlined": 59308,
8330
- "face-smiley-outlined": 59309,
8331
- "fastfood-outlined": 59310,
8332
- "feed-outlined": 59311,
8333
- "file-certified-outlined": 59312,
8334
- "file-clone-outlined": 59313,
8335
- "file-copy-outlined": 59314,
8336
- "file-dispose-outlined": 59315,
8337
- "file-dollar-certified-outlined": 59316,
8338
- "file-dollar-outlined": 59317,
8339
- "file-download-outlined": 59318,
8340
- "file-export-outlined": 59319,
8341
- "file-lock-outlined": 59320,
8342
- "file-outlined": 59321,
8343
- "file-search-outlined": 59322,
8344
- "file-secured-outlined": 59323,
8345
- "file-statutory-outlined": 59324,
8346
- "file-verified-outlined": 59325,
8347
- "filter-outlined": 59326,
8348
- "fitness-outlined": 59327,
8349
- "folder-outlined": 59328,
8350
- "folder-upload-outlined": 59329,
8351
- "folder-user-outlined": 59330,
8352
- "form-outlined": 59331,
8353
- "funnel-filter-outline": 59332,
8354
- "goal-outlined": 59333,
8355
- "graph-outlined": 59334,
8356
- "grocery-outlined": 59335,
8357
- "hand-holding-user-outlined": 59336,
8358
- "handshake-outlined": 59337,
8359
- "happy-sun-outlined": 59338,
8360
- "health-bag-outlined": 59339,
8361
- "heart-outlined": 59340,
8362
- "home-active-outlined": 59341,
8363
- "home-outlined": 59342,
8364
- "id-card-outlined": 59343,
8365
- "image-outlined": 59344,
8366
- "import-outlined": 59345,
8367
- "instapay-outlined": 59346,
8331
+ "circle-add-outlined": 59253,
8332
+ "circle-cancel-outlined": 59254,
8333
+ "circle-down-outlined": 59255,
8334
+ "circle-info-outlined": 59256,
8335
+ "circle-left-outlined": 59257,
8336
+ "circle-ok-outlined": 59258,
8337
+ "circle-question-outlined": 59259,
8338
+ "circle-remove-outlined": 59260,
8339
+ "circle-right-outlined": 59261,
8340
+ "circle-up-outlined": 59262,
8341
+ "circle-warning-outlined": 59263,
8342
+ "clock-2-outlined": 59264,
8343
+ "clock-in-outlined": 59265,
8344
+ "clock-out-outlined": 59266,
8345
+ "clock-outlined": 59267,
8346
+ "cog-outlined": 59268,
8347
+ "coin-outlined": 59269,
8348
+ "coin-super-outlined": 59270,
8349
+ "comment-outlined": 59271,
8350
+ "contacts-outlined": 59272,
8351
+ "contacts-user-outlined": 59273,
8352
+ "credit-card-outlined": 59274,
8353
+ "cultural-site-outlined": 59275,
8354
+ "cup-outlined": 59276,
8355
+ "dentistry-outlined": 59277,
8356
+ "direction-arrows-outlined": 59278,
8357
+ "directory-outlined": 59279,
8358
+ "document-outlined": 59280,
8359
+ "dollar-box-outlined": 59281,
8360
+ "dollar-card-outlined": 59282,
8361
+ "dollar-coin-shine-outlined": 59283,
8362
+ "dollar-credit-card-outlined": 59284,
8363
+ "dollar-sign": 59285,
8364
+ "double-buildings-outlined": 59286,
8365
+ "double-left-arrows": 59287,
8366
+ "double-right-arrows": 59288,
8367
+ "download-box-outlined": 59289,
8368
+ "download-outlined": 59290,
8369
+ "edit-template-outlined": 59291,
8370
+ "electronics-outlined": 59292,
8371
+ "email-outlined": 59293,
8372
+ "end-break-outlined": 59294,
8373
+ "enter-arrow": 59295,
8374
+ "entertainment-outlined": 59296,
8375
+ "envelope-outlined": 59297,
8376
+ "evening-outlined": 59298,
8377
+ "expense-approval-outlined": 59299,
8378
+ "expense-outlined": 59300,
8379
+ "explore-outlined": 59301,
8380
+ "extension-outlined": 59302,
8381
+ "external-link": 59303,
8382
+ "eye-invisible-outlined": 59304,
8383
+ "eye-outlined": 59305,
8384
+ "face-id": 59306,
8385
+ "face-meh-outlined": 59307,
8386
+ "face-open-smiley-outlined": 59308,
8387
+ "face-sad-outlined": 59309,
8388
+ "face-smiley-outlined": 59310,
8389
+ "fastfood-outlined": 59311,
8390
+ "feed-outlined": 59312,
8391
+ "file-certified-outlined": 59313,
8392
+ "file-clone-outlined": 59314,
8393
+ "file-copy-outlined": 59315,
8394
+ "file-dispose-outlined": 59316,
8395
+ "file-dollar-certified-outlined": 59317,
8396
+ "file-dollar-outlined": 59318,
8397
+ "file-download-outlined": 59319,
8398
+ "file-export-outlined": 59320,
8399
+ "file-lock-outlined": 59321,
8400
+ "file-outlined": 59322,
8401
+ "file-search-outlined": 59323,
8402
+ "file-secured-outlined": 59324,
8403
+ "file-statutory-outlined": 59325,
8404
+ "file-verified-outlined": 59326,
8405
+ "filter-outlined": 59327,
8406
+ "fitness-outlined": 59328,
8407
+ "folder-outlined": 59329,
8408
+ "folder-upload-outlined": 59330,
8409
+ "folder-user-outlined": 59331,
8410
+ "form-outlined": 59332,
8411
+ "funnel-filter-outline": 59333,
8412
+ "goal-outlined": 59334,
8413
+ "graph-outlined": 59335,
8414
+ "grocery-outlined": 59336,
8415
+ "hand-holding-user-outlined": 59337,
8416
+ "handshake-outlined": 59338,
8417
+ "happy-sun-outlined": 59339,
8418
+ "health-bag-outlined": 59340,
8419
+ "heart-outlined": 59341,
8420
+ "home-active-outlined": 59342,
8421
+ "home-outlined": 59343,
8422
+ "id-card-outlined": 59344,
8423
+ "image-outlined": 59345,
8424
+ "import-outlined": 59346,
8425
+ "instapay-outlined": 59347,
8368
8426
  italic: italic,
8369
- "job-search-outlined": 59348,
8370
- "leave-approval-outlined": 59349,
8371
- "link-1": 59350,
8372
- "link-2": 59351,
8373
- "list-outlined": 59352,
8374
- "live-help-outlined": 59353,
8427
+ "job-search-outlined": 59349,
8428
+ "leave-approval-outlined": 59350,
8429
+ "link-1": 59351,
8430
+ "link-2": 59352,
8431
+ "list-outlined": 59353,
8432
+ "live-help-outlined": 59354,
8375
8433
  local_mall_outlined: local_mall_outlined,
8376
- "location-on-outlined": 59355,
8377
- "location-outlined": 59356,
8378
- "lock-outlined": 59357,
8379
- "locked-file-outlined": 59358,
8380
- "log-out": 59359,
8381
- "mail-outlined": 59360,
8382
- "map-outlined": 59361,
8383
- "media-content-outlined": 59362,
8384
- "menu-close": 59363,
8385
- "menu-expand": 59364,
8386
- "menu-fold-outlined": 59365,
8387
- "menu-unfold-outlined": 59366,
8388
- "moneybag-outlined": 59367,
8389
- "moon-outlined": 59368,
8390
- "more-horizontal": 59369,
8391
- "more-vertical": 59370,
8392
- "morning-outlined": 59371,
8393
- "multiple-folders-outlined": 59372,
8394
- "multiple-users-outlined": 59373,
8395
- "near-me-outlined": 59374,
8396
- "node-outlined": 59375,
8397
- "number-points": 59376,
8434
+ "location-on-outlined": 59356,
8435
+ "location-outlined": 59357,
8436
+ "lock-outlined": 59358,
8437
+ "locked-file-outlined": 59359,
8438
+ "log-out": 59360,
8439
+ "mail-outlined": 59361,
8440
+ "map-outlined": 59362,
8441
+ "media-content-outlined": 59363,
8442
+ "menu-close": 59364,
8443
+ "menu-expand": 59365,
8444
+ "menu-fold-outlined": 59366,
8445
+ "menu-unfold-outlined": 59367,
8446
+ "moneybag-outlined": 59368,
8447
+ "moon-outlined": 59369,
8448
+ "more-horizontal": 59370,
8449
+ "more-vertical": 59371,
8450
+ "morning-outlined": 59372,
8451
+ "multiple-folders-outlined": 59373,
8452
+ "multiple-users-outlined": 59374,
8453
+ "near-me-outlined": 59375,
8454
+ "node-outlined": 59376,
8455
+ "number-points": 59377,
8398
8456
  number: number$2,
8399
- "overview-outlined": 59378,
8400
- "park-outlined": 59379,
8401
- "payment-summary-outlined": 59380,
8402
- "payslip-outlined": 59381,
8403
- "pencil-outlined": 59382,
8457
+ "overview-outlined": 59379,
8458
+ "park-outlined": 59380,
8459
+ "payment-summary-outlined": 59381,
8460
+ "payslip-outlined": 59382,
8461
+ "pencil-outlined": 59383,
8404
8462
  percentage: percentage,
8405
- "phone-outlined": 59384,
8406
- "piggy-bank-outlined": 59385,
8407
- "plane-outlined": 59386,
8408
- "play-circle-outlined": 59387,
8409
- "print-outlined": 59388,
8410
- "propane-tank-outlined": 59389,
8411
- "qr-code-outlined": 59390,
8412
- "qualification-outlined": 59391,
8413
- "re-assign": 59392,
8463
+ "phone-outlined": 59385,
8464
+ "piggy-bank-outlined": 59386,
8465
+ "plane-outlined": 59387,
8466
+ "play-circle-outlined": 59388,
8467
+ "print-outlined": 59389,
8468
+ "propane-tank-outlined": 59390,
8469
+ "qr-code-outlined": 59391,
8470
+ "qualification-outlined": 59392,
8471
+ "re-assign": 59393,
8414
8472
  redeem: redeem,
8415
8473
  refresh: refresh,
8416
8474
  remove: remove$1,
8417
- "reply-outlined": 59396,
8475
+ "reply-outlined": 59397,
8418
8476
  restart: restart,
8419
- "restaurant-outlined": 59398,
8420
- "resume-outlined": 59399,
8421
- "return-arrow": 59400,
8422
- "rostering-outlined": 59401,
8423
- "safety-outlined": 59402,
8424
- "save-outlined": 59403,
8425
- "schedule-outlined": 59404,
8426
- "search-outlined": 59405,
8427
- "search-secured-outlined": 59406,
8428
- "send-outlined": 59407,
8429
- "share-1": 59408,
8430
- "share-2": 59409,
8431
- "share-outlined-2": 59410,
8432
- "share-outlined": 59411,
8433
- "shield-check-outlined": 59412,
8434
- "shop-outlined": 59413,
8477
+ "restaurant-outlined": 59399,
8478
+ "resume-outlined": 59400,
8479
+ "return-arrow": 59401,
8480
+ "rostering-outlined": 59402,
8481
+ "safety-outlined": 59403,
8482
+ "save-outlined": 59404,
8483
+ "schedule-outlined": 59405,
8484
+ "search-outlined": 59406,
8485
+ "search-secured-outlined": 59407,
8486
+ "send-outlined": 59408,
8487
+ "share-1": 59409,
8488
+ "share-2": 59410,
8489
+ "share-outlined-2": 59411,
8490
+ "share-outlined": 59412,
8491
+ "shield-check-outlined": 59413,
8492
+ "shop-outlined": 59414,
8435
8493
  shopping_basket_outlined: shopping_basket_outlined,
8436
- "show-chart-outlined": 59415,
8437
- "single-down-arrow": 59416,
8438
- "single-left-arrow": 59417,
8439
- "single-right-arrow": 59418,
8440
- "single-up-arrow": 59419,
8441
- "smart-match-outlined": 59420,
8442
- "sparkle-outlined": 59421,
8443
- "speaker-active-outlined": 59422,
8444
- "speaker-outlined": 59423,
8445
- "star-circle-outlined": 59424,
8446
- "star-outlined": 59425,
8447
- "start-break-outlined": 59426,
8448
- "stash-outlined": 59427,
8449
- "stopwatch-outlined": 59428,
8494
+ "show-chart-outlined": 59416,
8495
+ "single-down-arrow": 59417,
8496
+ "single-left-arrow": 59418,
8497
+ "single-right-arrow": 59419,
8498
+ "single-up-arrow": 59420,
8499
+ "smart-match-outlined": 59421,
8500
+ "sparkle-outlined": 59422,
8501
+ "speaker-active-outlined": 59423,
8502
+ "speaker-outlined": 59424,
8503
+ "star-circle-outlined": 59425,
8504
+ "star-outlined": 59426,
8505
+ "start-break-outlined": 59427,
8506
+ "stash-outlined": 59428,
8507
+ "stopwatch-outlined": 59429,
8450
8508
  strikethrough: strikethrough,
8451
- "styler-outlined": 59430,
8452
- "suitcase-clock-outlined": 59431,
8453
- "suitcase-outlined": 59432,
8454
- "survey-outlined": 59433,
8455
- "switch-outlined": 59434,
8509
+ "styler-outlined": 59431,
8510
+ "suitcase-clock-outlined": 59432,
8511
+ "suitcase-outlined": 59433,
8512
+ "survey-outlined": 59434,
8513
+ "switch-outlined": 59435,
8456
8514
  sync: sync,
8457
- "tag-outlined": 59436,
8458
- "target-outlined": 59437,
8459
- "tennis-outlined": 59438,
8460
- "thumb-down-outlined": 59439,
8461
- "ticket-outlined": 59440,
8462
- "timesheet-outlined": 59441,
8463
- "timesheets-outlined": 59442,
8464
- "today-outlined": 59443,
8515
+ "tag-outlined": 59437,
8516
+ "target-outlined": 59438,
8517
+ "tennis-outlined": 59439,
8518
+ "thumb-down-outlined": 59440,
8519
+ "thumb-up-outlined": 59441,
8520
+ "ticket-outlined": 59442,
8521
+ "timesheet-outlined": 59443,
8522
+ "timesheets-outlined": 59444,
8523
+ "today-outlined": 59445,
8465
8524
  transfer: transfer,
8466
- "transportation-outlined": 59445,
8467
- "trash-bin-outlined": 59446,
8468
- "umbrela-outlined": 59447,
8469
- "unavailability-outlined": 59448,
8525
+ "transportation-outlined": 59447,
8526
+ "trash-bin-outlined": 59448,
8527
+ "umbrela-outlined": 59449,
8528
+ "unavailability-outlined": 59450,
8470
8529
  unavailable: unavailable,
8471
8530
  underline: underline,
8472
- "union-outlined": 59451,
8473
- "unlock-outlined": 59452,
8474
- "upload-outlined": 59453,
8475
- "user-circle-outlined": 59454,
8476
- "user-gear-outlined": 59455,
8477
- "user-outlined": 59456,
8478
- "user-rectangle-outlined": 59457,
8479
- "video-1-outlined": 59458,
8480
- "video-2-outlined": 59459,
8481
- "volunteer-outlined": 59460,
8482
- "wallet-outlined": 59461,
8483
- "wellness-outlined": 59462
8531
+ "union-outlined": 59453,
8532
+ "unlock-outlined": 59454,
8533
+ "upload-outlined": 59455,
8534
+ "user-circle-outlined": 59456,
8535
+ "user-gear-outlined": 59457,
8536
+ "user-outlined": 59458,
8537
+ "user-rectangle-outlined": 59459,
8538
+ "video-1-outlined": 59460,
8539
+ "video-2-outlined": 59461,
8540
+ "volunteer-outlined": 59462,
8541
+ "wallet-outlined": 59463,
8542
+ "wellness-outlined": 59464
8484
8543
  };
8485
8544
 
8486
8545
  var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -47062,6 +47121,184 @@ var Search = {
47062
47121
  SuffixIcon: SearchSuffixIcon
47063
47122
  };
47064
47123
 
47124
+ var StyledSegmentedControlWrapper = index$b(Box)(function (_ref) {
47125
+ var themeSize = _ref.themeSize,
47126
+ theme = _ref.theme;
47127
+ return {
47128
+ flexDirection: 'row',
47129
+ alignItems: 'center',
47130
+ justifyContent: 'center',
47131
+ height: theme.__hd__.segmentedControl.sizes.wrapperHeight[themeSize],
47132
+ borderRadius: theme.__hd__.segmentedControl.radii.wrapper[themeSize],
47133
+ backgroundColor: theme.__hd__.segmentedControl.colors.wrapperBackground,
47134
+ alignSelf: 'flex-start',
47135
+ paddingHorizontal: theme.__hd__.segmentedControl.space.wrapperHorizontalPadding
47136
+ };
47137
+ });
47138
+ var StyledSegmentedItem = index$b(reactNative.TouchableOpacity)(function (_ref2) {
47139
+ var themeSize = _ref2.themeSize,
47140
+ theme = _ref2.theme,
47141
+ themeSelected = _ref2.themeSelected;
47142
+ return _objectSpread2({
47143
+ flexGrow: 1,
47144
+ flexDirection: 'row',
47145
+ alignItems: 'center',
47146
+ justifyContent: 'center',
47147
+ height: theme.__hd__.segmentedControl.sizes.itemHeight[themeSize],
47148
+ borderRadius: theme.__hd__.segmentedControl.radii.item[themeSize],
47149
+ backgroundColor: themeSelected ? theme.__hd__.segmentedControl.colors.itemBackground.active : theme.__hd__.segmentedControl.colors.itemBackground.inactive
47150
+ }, theme.__hd__.segmentedControl.shadows.item[themeSelected ? 'active' : 'inactive']);
47151
+ });
47152
+ var StyledSegmentedItemWrapper = index$b(Box)(function (_ref3) {
47153
+ var theme = _ref3.theme;
47154
+ return {
47155
+ flexDirection: 'row',
47156
+ alignItems: 'center',
47157
+ justifyContent: 'center',
47158
+ gap: theme.__hd__.segmentedControl.space.itemAffixGap
47159
+ };
47160
+ });
47161
+ var StyledSegmentedItemLabelWrapper = index$b(Box)(function (_ref4) {
47162
+ var theme = _ref4.theme;
47163
+ return {
47164
+ flexDirection: 'row',
47165
+ alignItems: 'center',
47166
+ justifyContent: 'center',
47167
+ gap: theme.__hd__.segmentedControl.space.itemLabelGap
47168
+ };
47169
+ });
47170
+ var StyledSegmentedItemText = index$b(Typography.Body)(function (_ref5) {
47171
+ var theme = _ref5.theme;
47172
+ return {
47173
+ lineHeight: theme.__hd__.segmentedControl.lineHeights.itemText
47174
+ };
47175
+ });
47176
+
47177
+ var DOT_CHAR = "\xB7";
47178
+ var SegmentedItemBadge = function SegmentedItemBadge(_ref) {
47179
+ var children = _ref.children,
47180
+ badge = _ref.badge,
47181
+ testID = _ref.testID;
47182
+ if (!badge) return children;
47183
+ if (badge.type === 'status') {
47184
+ return /*#__PURE__*/React__namespace.default.createElement(Badge$1.Status, {
47185
+ visible: true,
47186
+ testID: testID
47187
+ }, /*#__PURE__*/React__namespace.default.createElement(Box, {
47188
+ marginEnd: "smallMedium"
47189
+ }, children));
47190
+ }
47191
+ if (badge.type === 'counter') {
47192
+ return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(Box, {
47193
+ marginEnd: "xsmall"
47194
+ }, children), /*#__PURE__*/React__namespace.default.createElement(Badge$1, {
47195
+ visible: true,
47196
+ content: badge.value,
47197
+ max: badge.max,
47198
+ testID: testID,
47199
+ size: "small"
47200
+ }));
47201
+ }
47202
+ };
47203
+ var getTextAndIconIntent = function getTextAndIconIntent(_ref2) {
47204
+ var selected = _ref2.selected,
47205
+ disabled = _ref2.disabled;
47206
+ if (disabled) {
47207
+ return {
47208
+ iconIntent: 'disabled-text',
47209
+ textIntent: 'disabled',
47210
+ subTextIntent: 'disabled'
47211
+ };
47212
+ }
47213
+ if (selected) {
47214
+ return {
47215
+ iconIntent: 'text',
47216
+ textIntent: 'body',
47217
+ subTextIntent: 'muted'
47218
+ };
47219
+ }
47220
+ return {
47221
+ iconIntent: 'inactive',
47222
+ textIntent: 'inactive',
47223
+ subTextIntent: 'inactive'
47224
+ };
47225
+ };
47226
+ var SegmentedItem = function SegmentedItem(_ref3) {
47227
+ var label = _ref3.label,
47228
+ prefix = _ref3.prefix,
47229
+ suffix = _ref3.suffix,
47230
+ _ref3$selected = _ref3.selected,
47231
+ selected = _ref3$selected === void 0 ? false : _ref3$selected,
47232
+ _ref3$size = _ref3.size,
47233
+ size = _ref3$size === void 0 ? 'medium' : _ref3$size,
47234
+ testID = _ref3.testID,
47235
+ onPress = _ref3.onPress,
47236
+ disabled = _ref3.disabled,
47237
+ badge = _ref3.badge,
47238
+ subText = _ref3.subText;
47239
+ var _getTextAndIconIntent = getTextAndIconIntent({
47240
+ selected: selected,
47241
+ disabled: disabled
47242
+ }),
47243
+ iconIntent = _getTextAndIconIntent.iconIntent,
47244
+ textIntent = _getTextAndIconIntent.textIntent,
47245
+ subTextIntent = _getTextAndIconIntent.subTextIntent;
47246
+ var shouldShowSuffix = !!label && !!suffix;
47247
+ return /*#__PURE__*/React__namespace.default.createElement(StyledSegmentedItem, {
47248
+ themeSize: size,
47249
+ themeSelected: selected,
47250
+ testID: testID,
47251
+ onPress: onPress,
47252
+ disabled: disabled
47253
+ }, /*#__PURE__*/React__namespace.default.createElement(SegmentedItemBadge, {
47254
+ badge: badge,
47255
+ testID: "".concat(testID, "-badge")
47256
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledSegmentedItemWrapper, null, prefix && /*#__PURE__*/React__namespace.default.createElement(Icon, {
47257
+ icon: prefix,
47258
+ intent: iconIntent,
47259
+ size: "xxxsmall",
47260
+ testID: "".concat(testID, "-prefix")
47261
+ }), !!label && /*#__PURE__*/React__namespace.default.createElement(StyledSegmentedItemLabelWrapper, null, label && /*#__PURE__*/React__namespace.default.createElement(StyledSegmentedItemText, {
47262
+ variant: "small-bold",
47263
+ intent: textIntent
47264
+ }, label), subText && /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(StyledSegmentedItemText, {
47265
+ variant: "small",
47266
+ intent: subTextIntent
47267
+ }, DOT_CHAR), /*#__PURE__*/React__namespace.default.createElement(StyledSegmentedItemText, {
47268
+ variant: "small",
47269
+ intent: subTextIntent
47270
+ }, subText))), shouldShowSuffix && /*#__PURE__*/React__namespace.default.createElement(Icon, {
47271
+ icon: suffix,
47272
+ intent: iconIntent,
47273
+ size: "xxxsmall",
47274
+ testID: "".concat(testID, "-suffix")
47275
+ }))));
47276
+ };
47277
+
47278
+ var SegmentedControl = function SegmentedControl(_ref) {
47279
+ var _ref$size = _ref.size,
47280
+ size = _ref$size === void 0 ? 'medium' : _ref$size,
47281
+ items = _ref.items,
47282
+ value = _ref.value,
47283
+ testID = _ref.testID,
47284
+ style = _ref.style,
47285
+ onItemPress = _ref.onItemPress;
47286
+ return /*#__PURE__*/React__namespace.default.createElement(StyledSegmentedControlWrapper, {
47287
+ themeSize: size,
47288
+ testID: testID,
47289
+ style: style
47290
+ }, items.map(function (item) {
47291
+ return /*#__PURE__*/React__namespace.default.createElement(SegmentedItem, _extends$1({}, item, {
47292
+ key: item.value,
47293
+ selected: item.value === value,
47294
+ onPress: function onPress() {
47295
+ return onItemPress(item);
47296
+ },
47297
+ size: size
47298
+ }));
47299
+ }));
47300
+ };
47301
+
47065
47302
  var StyledWrapper$1 = index$b.TouchableOpacity(function (_ref) {
47066
47303
  var theme = _ref.theme;
47067
47304
  return _objectSpread2({
@@ -67421,6 +67658,7 @@ exports.ScrollViewWithFAB = ScrollViewWithFAB;
67421
67658
  exports.Search = Search;
67422
67659
  exports.SectionHeading = SectionHeading;
67423
67660
  exports.SectionListWithFAB = SectionListWithFAB;
67661
+ exports.SegmentedControl = SegmentedControl;
67424
67662
  exports.Select = index$2;
67425
67663
  exports.Skeleton = Skeleton;
67426
67664
  exports.Slider = Slider;