@hero-design/rn-work-uikit 1.6.2-alpha.0 → 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
@@ -7325,7 +7325,8 @@ var getTypographyTheme = function getTypographyTheme(theme) {
7325
7325
  inverted: theme.colors.onDarkGlobalSurface,
7326
7326
  archived: theme.colors.onArchivedSurface,
7327
7327
  disabled: theme.colors.disabledOnDefaultGlobalSurface,
7328
- muted: theme.colors.mutedOnDefaultGlobalSurface
7328
+ muted: theme.colors.mutedOnDefaultGlobalSurface,
7329
+ inactive: theme.colors.inactiveOnDefaultGlobalSurface
7329
7330
  };
7330
7331
  var fontSizes = {
7331
7332
  xsmall: theme.fontSizes.xsmall,
@@ -7717,6 +7718,62 @@ var getFilterTriggerTheme = function getFilterTriggerTheme(theme) {
7717
7718
  };
7718
7719
  };
7719
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
+
7720
7777
  var getTheme$1 = function getTheme() {
7721
7778
  var scale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : scale$1;
7722
7779
  var systemPallete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : swagSystemPalette$2;
@@ -7777,7 +7834,8 @@ var getTheme$1 = function getTheme() {
7777
7834
  toast: getToastTheme(globalTheme),
7778
7835
  toolbar: getToolbarTheme(globalTheme),
7779
7836
  typography: getTypographyTheme(globalTheme),
7780
- floatingIsland: getFloatingIslandTheme(globalTheme)
7837
+ floatingIsland: getFloatingIslandTheme(globalTheme),
7838
+ segmentedControl: getSegmentedControlTheme(globalTheme)
7781
7839
  }
7782
7840
  });
7783
7841
  };
@@ -7922,7 +7980,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
7922
7980
  };
7923
7981
 
7924
7982
  // 🔴 DO NOT EDIT — This file is generated automatically.
7925
- 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'];
7926
7984
 
7927
7985
  var activate = 59000;
7928
7986
  var adjustment = 59003;
@@ -7993,29 +8051,29 @@ var swag = 59175;
7993
8051
  var tag = 59178;
7994
8052
  var target = 59179;
7995
8053
  var teams = 59180;
7996
- var timesheet = 59182;
7997
- var unlock = 59185;
7998
- var user = 59186;
7999
- var wallet = 59189;
8000
- var warning = 59190;
8001
- var add = 59198;
8002
- var bold = 59228;
8003
- var cancel = 59245;
8004
- var checkmark = 59251;
8005
- var italic = 59347;
8006
- var local_mall_outlined = 59354;
8007
- var number$2 = 59377;
8008
- var percentage = 59383;
8009
- var redeem = 59393;
8010
- var refresh = 59394;
8011
- var remove$1 = 59395;
8012
- var restart = 59397;
8013
- var shopping_basket_outlined = 59414;
8014
- var strikethrough = 59429;
8015
- var sync = 59435;
8016
- var transfer = 59444;
8017
- var unavailable = 59449;
8018
- 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;
8019
8077
  var glyphMap = {
8020
8078
  activate: activate,
8021
8079
  "add-emoji": 59001,
@@ -8199,287 +8257,289 @@ var glyphMap = {
8199
8257
  target: target,
8200
8258
  teams: teams,
8201
8259
  "thumb-down": 59181,
8260
+ "thumb-up": 59182,
8202
8261
  timesheet: timesheet,
8203
- "touch-id": 59183,
8204
- "trash-bin": 59184,
8262
+ "touch-id": 59184,
8263
+ "trash-bin": 59185,
8205
8264
  unlock: unlock,
8206
8265
  user: user,
8207
- "video-1": 59187,
8208
- "video-2": 59188,
8266
+ "video-1": 59188,
8267
+ "video-2": 59189,
8209
8268
  wallet: wallet,
8210
8269
  warning: warning,
8211
- "academic-hat-outlined": 59191,
8212
- "accommodation-outlined": 59192,
8213
- "activate-outlined": 59193,
8214
- "add-credit-card-outlined": 59194,
8215
- "add-person-outlined": 59195,
8216
- "add-section-outlined": 59196,
8217
- "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,
8218
8277
  add: add,
8219
- "adjustment-outlined": 59199,
8220
- "afternoon-outlined": 59200,
8221
- "ai-outlined": 59201,
8222
- "alignment-2-outlined": 59202,
8223
- "alignment-outlined": 59203,
8224
- "all-caps": 59204,
8225
- "application-outlined": 59205,
8226
- "arrow-down": 59206,
8227
- "arrow-downwards": 59207,
8228
- "arrow-left": 59208,
8229
- "arrow-leftwards": 59209,
8230
- "arrow-right": 59210,
8231
- "arrow-rightwards": 59211,
8232
- "arrow-up": 59212,
8233
- "arrow-upwards": 59213,
8234
- "article-outlined": 59214,
8235
- "at-sign": 59215,
8236
- "auto-graph-outlined": 59216,
8237
- "automotive-outlined": 59217,
8238
- "bakery-outlined": 59218,
8239
- "bar-outlined": 59219,
8240
- "beauty-outlined": 59220,
8241
- "beer-outlined": 59221,
8242
- "bell-active-outlined": 59222,
8243
- "bell-outlined": 59223,
8244
- "bell-slash-outlined": 59224,
8245
- "bill-management-outlined": 59225,
8246
- "billing-outlined": 59226,
8247
- "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,
8248
8307
  bold: bold,
8249
- "bolt-outlined": 59229,
8250
- "book-outlined": 59230,
8251
- "bookmark-added-outlined": 59231,
8252
- "bookmark-checked-outlined": 59232,
8253
- "bookmark-outlined": 59233,
8254
- "box-1-outlined": 59234,
8255
- "box-check-outlined": 59235,
8256
- "box-outlined": 59236,
8257
- "bullet-points": 59237,
8258
- "cake-outlined": 59238,
8259
- "calculator-outlined": 59239,
8260
- "calendar-dates-outlined": 59240,
8261
- "calendar-star-outlined": 59241,
8262
- "call-outlined": 59242,
8263
- "call-split-outlined": 59243,
8264
- "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,
8265
8324
  cancel: cancel,
8266
- "car-forward-outlined": 59246,
8267
- "cashback-outlined": 59247,
8268
- "charging-station-outlined": 59248,
8269
- "chat-bubble-outlined": 59249,
8270
- "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,
8271
8330
  checkmark: checkmark,
8272
- "circle-add-outlined": 59252,
8273
- "circle-cancel-outlined": 59253,
8274
- "circle-down-outlined": 59254,
8275
- "circle-info-outlined": 59255,
8276
- "circle-left-outlined": 59256,
8277
- "circle-ok-outlined": 59257,
8278
- "circle-question-outlined": 59258,
8279
- "circle-remove-outlined": 59259,
8280
- "circle-right-outlined": 59260,
8281
- "circle-up-outlined": 59261,
8282
- "circle-warning-outlined": 59262,
8283
- "clock-2-outlined": 59263,
8284
- "clock-in-outlined": 59264,
8285
- "clock-out-outlined": 59265,
8286
- "clock-outlined": 59266,
8287
- "cog-outlined": 59267,
8288
- "coin-outlined": 59268,
8289
- "coin-super-outlined": 59269,
8290
- "comment-outlined": 59270,
8291
- "contacts-outlined": 59271,
8292
- "contacts-user-outlined": 59272,
8293
- "credit-card-outlined": 59273,
8294
- "cultural-site-outlined": 59274,
8295
- "cup-outlined": 59275,
8296
- "dentistry-outlined": 59276,
8297
- "direction-arrows-outlined": 59277,
8298
- "directory-outlined": 59278,
8299
- "document-outlined": 59279,
8300
- "dollar-box-outlined": 59280,
8301
- "dollar-card-outlined": 59281,
8302
- "dollar-coin-shine-outlined": 59282,
8303
- "dollar-credit-card-outlined": 59283,
8304
- "dollar-sign": 59284,
8305
- "double-buildings-outlined": 59285,
8306
- "double-left-arrows": 59286,
8307
- "double-right-arrows": 59287,
8308
- "download-box-outlined": 59288,
8309
- "download-outlined": 59289,
8310
- "edit-template-outlined": 59290,
8311
- "electronics-outlined": 59291,
8312
- "email-outlined": 59292,
8313
- "end-break-outlined": 59293,
8314
- "enter-arrow": 59294,
8315
- "entertainment-outlined": 59295,
8316
- "envelope-outlined": 59296,
8317
- "evening-outlined": 59297,
8318
- "expense-approval-outlined": 59298,
8319
- "expense-outlined": 59299,
8320
- "explore-outlined": 59300,
8321
- "extension-outlined": 59301,
8322
- "external-link": 59302,
8323
- "eye-invisible-outlined": 59303,
8324
- "eye-outlined": 59304,
8325
- "face-id": 59305,
8326
- "face-meh-outlined": 59306,
8327
- "face-open-smiley-outlined": 59307,
8328
- "face-sad-outlined": 59308,
8329
- "face-smiley-outlined": 59309,
8330
- "fastfood-outlined": 59310,
8331
- "feed-outlined": 59311,
8332
- "file-certified-outlined": 59312,
8333
- "file-clone-outlined": 59313,
8334
- "file-copy-outlined": 59314,
8335
- "file-dispose-outlined": 59315,
8336
- "file-dollar-certified-outlined": 59316,
8337
- "file-dollar-outlined": 59317,
8338
- "file-download-outlined": 59318,
8339
- "file-export-outlined": 59319,
8340
- "file-lock-outlined": 59320,
8341
- "file-outlined": 59321,
8342
- "file-search-outlined": 59322,
8343
- "file-secured-outlined": 59323,
8344
- "file-statutory-outlined": 59324,
8345
- "file-verified-outlined": 59325,
8346
- "filter-outlined": 59326,
8347
- "fitness-outlined": 59327,
8348
- "folder-outlined": 59328,
8349
- "folder-upload-outlined": 59329,
8350
- "folder-user-outlined": 59330,
8351
- "form-outlined": 59331,
8352
- "funnel-filter-outline": 59332,
8353
- "goal-outlined": 59333,
8354
- "graph-outlined": 59334,
8355
- "grocery-outlined": 59335,
8356
- "hand-holding-user-outlined": 59336,
8357
- "handshake-outlined": 59337,
8358
- "happy-sun-outlined": 59338,
8359
- "health-bag-outlined": 59339,
8360
- "heart-outlined": 59340,
8361
- "home-active-outlined": 59341,
8362
- "home-outlined": 59342,
8363
- "id-card-outlined": 59343,
8364
- "image-outlined": 59344,
8365
- "import-outlined": 59345,
8366
- "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,
8367
8426
  italic: italic,
8368
- "job-search-outlined": 59348,
8369
- "leave-approval-outlined": 59349,
8370
- "link-1": 59350,
8371
- "link-2": 59351,
8372
- "list-outlined": 59352,
8373
- "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,
8374
8433
  local_mall_outlined: local_mall_outlined,
8375
- "location-on-outlined": 59355,
8376
- "location-outlined": 59356,
8377
- "lock-outlined": 59357,
8378
- "locked-file-outlined": 59358,
8379
- "log-out": 59359,
8380
- "mail-outlined": 59360,
8381
- "map-outlined": 59361,
8382
- "media-content-outlined": 59362,
8383
- "menu-close": 59363,
8384
- "menu-expand": 59364,
8385
- "menu-fold-outlined": 59365,
8386
- "menu-unfold-outlined": 59366,
8387
- "moneybag-outlined": 59367,
8388
- "moon-outlined": 59368,
8389
- "more-horizontal": 59369,
8390
- "more-vertical": 59370,
8391
- "morning-outlined": 59371,
8392
- "multiple-folders-outlined": 59372,
8393
- "multiple-users-outlined": 59373,
8394
- "near-me-outlined": 59374,
8395
- "node-outlined": 59375,
8396
- "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,
8397
8456
  number: number$2,
8398
- "overview-outlined": 59378,
8399
- "park-outlined": 59379,
8400
- "payment-summary-outlined": 59380,
8401
- "payslip-outlined": 59381,
8402
- "pencil-outlined": 59382,
8457
+ "overview-outlined": 59379,
8458
+ "park-outlined": 59380,
8459
+ "payment-summary-outlined": 59381,
8460
+ "payslip-outlined": 59382,
8461
+ "pencil-outlined": 59383,
8403
8462
  percentage: percentage,
8404
- "phone-outlined": 59384,
8405
- "piggy-bank-outlined": 59385,
8406
- "plane-outlined": 59386,
8407
- "play-circle-outlined": 59387,
8408
- "print-outlined": 59388,
8409
- "propane-tank-outlined": 59389,
8410
- "qr-code-outlined": 59390,
8411
- "qualification-outlined": 59391,
8412
- "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,
8413
8472
  redeem: redeem,
8414
8473
  refresh: refresh,
8415
8474
  remove: remove$1,
8416
- "reply-outlined": 59396,
8475
+ "reply-outlined": 59397,
8417
8476
  restart: restart,
8418
- "restaurant-outlined": 59398,
8419
- "resume-outlined": 59399,
8420
- "return-arrow": 59400,
8421
- "rostering-outlined": 59401,
8422
- "safety-outlined": 59402,
8423
- "save-outlined": 59403,
8424
- "schedule-outlined": 59404,
8425
- "search-outlined": 59405,
8426
- "search-secured-outlined": 59406,
8427
- "send-outlined": 59407,
8428
- "share-1": 59408,
8429
- "share-2": 59409,
8430
- "share-outlined-2": 59410,
8431
- "share-outlined": 59411,
8432
- "shield-check-outlined": 59412,
8433
- "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,
8434
8493
  shopping_basket_outlined: shopping_basket_outlined,
8435
- "show-chart-outlined": 59415,
8436
- "single-down-arrow": 59416,
8437
- "single-left-arrow": 59417,
8438
- "single-right-arrow": 59418,
8439
- "single-up-arrow": 59419,
8440
- "smart-match-outlined": 59420,
8441
- "sparkle-outlined": 59421,
8442
- "speaker-active-outlined": 59422,
8443
- "speaker-outlined": 59423,
8444
- "star-circle-outlined": 59424,
8445
- "star-outlined": 59425,
8446
- "start-break-outlined": 59426,
8447
- "stash-outlined": 59427,
8448
- "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,
8449
8508
  strikethrough: strikethrough,
8450
- "styler-outlined": 59430,
8451
- "suitcase-clock-outlined": 59431,
8452
- "suitcase-outlined": 59432,
8453
- "survey-outlined": 59433,
8454
- "switch-outlined": 59434,
8509
+ "styler-outlined": 59431,
8510
+ "suitcase-clock-outlined": 59432,
8511
+ "suitcase-outlined": 59433,
8512
+ "survey-outlined": 59434,
8513
+ "switch-outlined": 59435,
8455
8514
  sync: sync,
8456
- "tag-outlined": 59436,
8457
- "target-outlined": 59437,
8458
- "tennis-outlined": 59438,
8459
- "thumb-down-outlined": 59439,
8460
- "ticket-outlined": 59440,
8461
- "timesheet-outlined": 59441,
8462
- "timesheets-outlined": 59442,
8463
- "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,
8464
8524
  transfer: transfer,
8465
- "transportation-outlined": 59445,
8466
- "trash-bin-outlined": 59446,
8467
- "umbrela-outlined": 59447,
8468
- "unavailability-outlined": 59448,
8525
+ "transportation-outlined": 59447,
8526
+ "trash-bin-outlined": 59448,
8527
+ "umbrela-outlined": 59449,
8528
+ "unavailability-outlined": 59450,
8469
8529
  unavailable: unavailable,
8470
8530
  underline: underline,
8471
- "union-outlined": 59451,
8472
- "unlock-outlined": 59452,
8473
- "upload-outlined": 59453,
8474
- "user-circle-outlined": 59454,
8475
- "user-gear-outlined": 59455,
8476
- "user-outlined": 59456,
8477
- "user-rectangle-outlined": 59457,
8478
- "video-1-outlined": 59458,
8479
- "video-2-outlined": 59459,
8480
- "volunteer-outlined": 59460,
8481
- "wallet-outlined": 59461,
8482
- "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
8483
8543
  };
8484
8544
 
8485
8545
  var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -13810,6 +13870,16 @@ var CalendarRowItem = function CalendarRowItem(_ref) {
13810
13870
  }) : null));
13811
13871
  };
13812
13872
 
13873
+ var DAYS_OF_WEEK = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'];
13874
+
13875
+ // Sunday first column => 0
13876
+ // Sunday last column => 1
13877
+ var WEEK_INDEX_OFFSET = 1;
13878
+ var SUNDAY_INDEX = 6;
13879
+
13880
+ // Always render 7 rows x 6 items for consistent layout
13881
+ var TOTAL_DATES_ITEMS = 7 * 6;
13882
+
13813
13883
  var initArray = function initArray(length, func) {
13814
13884
  return Array.from(Array(length)).map(function (_, index) {
13815
13885
  return func(index);
@@ -13886,6 +13956,74 @@ var setStartOrEndDate = function setStartOrEndDate(_ref2) {
13886
13956
  endDate: undefined
13887
13957
  };
13888
13958
  };
13959
+ var shouldUseMonthPicker = function shouldUseMonthPicker(onMonthChange) {
13960
+ return onMonthChange !== noop$2;
13961
+ };
13962
+ var getCalendarDate = function getCalendarDate(_ref3) {
13963
+ var visibleDate = _ref3.visibleDate,
13964
+ _ref3$markedDates = _ref3.markedDates,
13965
+ markedDates = _ref3$markedDates === void 0 ? [] : _ref3$markedDates,
13966
+ minDate = _ref3.minDate,
13967
+ maxDate = _ref3.maxDate;
13968
+ var currentMonth = visibleDate.getMonth();
13969
+ var currentYear = visibleDate.getFullYear();
13970
+ var parsedMaskedDate = markedDates.reduce(function (current, markedDate) {
13971
+ return _objectSpread2(_objectSpread2({}, current), {}, _defineProperty({}, markedDate.toDateString(), true));
13972
+ }, {});
13973
+ var firstDateOfMonth = new Date(currentYear, currentMonth, 1);
13974
+ var lastDateOfMonth = new Date(currentYear, currentMonth + 1, 0);
13975
+ var lastDateOfPreviousMonth = new Date(currentYear, currentMonth, 0);
13976
+
13977
+ // Index of day in week is shifted by 1 due to Sunday is the last column
13978
+ var firstDayWeekIndexOfMonth = firstDateOfMonth.getDay() === 0 ? SUNDAY_INDEX : firstDateOfMonth.getDay() - WEEK_INDEX_OFFSET;
13979
+ var lastDayIndexOfCurrentMonth = lastDateOfMonth.getDate();
13980
+ var lastDayIndexOfPreviousMonth = lastDateOfPreviousMonth.getDate();
13981
+ var daysOfPreviousMonth = initArray(firstDayWeekIndexOfMonth, function (index) {
13982
+ var reversedIndex = firstDayWeekIndexOfMonth - index - 1;
13983
+ var count = lastDayIndexOfPreviousMonth - reversedIndex;
13984
+ return getValidDate(new Date(currentYear, currentMonth - 1, count), minDate, maxDate);
13985
+ });
13986
+ var daysOfCurrentMonth = initArray(lastDayIndexOfCurrentMonth, function (index) {
13987
+ return getValidDate(new Date(currentYear, currentMonth, index + 1), minDate, maxDate);
13988
+ });
13989
+ var daysOfNextMonth = initArray(TOTAL_DATES_ITEMS - (daysOfPreviousMonth.length + daysOfCurrentMonth.length), function (index) {
13990
+ return getValidDate(new Date(currentYear, currentMonth + 1, index + 1), minDate, maxDate);
13991
+ });
13992
+ return {
13993
+ firstDateOfMonth: firstDateOfMonth,
13994
+ lastDateOfMonth: lastDateOfMonth,
13995
+ parsedMaskedDate: parsedMaskedDate,
13996
+ daysOfPreviousMonth: daysOfPreviousMonth,
13997
+ daysOfCurrentMonth: daysOfCurrentMonth,
13998
+ daysOfNextMonth: daysOfNextMonth
13999
+ };
14000
+ };
14001
+ var getCalendarButtonState = function getCalendarButtonState(_ref4) {
14002
+ var visibleDate = _ref4.visibleDate,
14003
+ markedDates = _ref4.markedDates,
14004
+ minDate = _ref4.minDate,
14005
+ maxDate = _ref4.maxDate;
14006
+ var _getCalendarDate = getCalendarDate({
14007
+ visibleDate: visibleDate,
14008
+ markedDates: markedDates,
14009
+ minDate: minDate,
14010
+ maxDate: maxDate
14011
+ }),
14012
+ daysOfPreviousMonth = _getCalendarDate.daysOfPreviousMonth,
14013
+ daysOfNextMonth = _getCalendarDate.daysOfNextMonth,
14014
+ firstDateOfMonth = _getCalendarDate.firstDateOfMonth,
14015
+ lastDateOfMonth = _getCalendarDate.lastDateOfMonth;
14016
+ var disablePrevButton = minDate === undefined ? false : !daysOfPreviousMonth.some(function (date) {
14017
+ return date !== undefined;
14018
+ }) && minDate >= firstDateOfMonth;
14019
+ var disableNextButton = maxDate === undefined ? false : !daysOfNextMonth.some(function (date) {
14020
+ return date !== undefined;
14021
+ }) || maxDate <= lastDateOfMonth;
14022
+ return {
14023
+ disablePrevButton: disablePrevButton,
14024
+ disableNextButton: disableNextButton
14025
+ };
14026
+ };
13889
14027
 
13890
14028
  var SelectedDate = function SelectedDate(_ref) {
13891
14029
  var date = _ref.date,
@@ -13921,14 +14059,36 @@ var SelectedDate = function SelectedDate(_ref) {
13921
14059
  }) : null));
13922
14060
  };
13923
14061
 
13924
- var DAYS_OF_WEEK$1 = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'];
13925
- // Sunday first column => 0
13926
- // Sunday last column => 1
13927
- var WEEK_INDEX_OFFSET$1 = 1;
13928
- var SUNDAY_INDEX$1 = 6;
14062
+ var useCalendarLayout = function useCalendarLayout() {
14063
+ var theme = useTheme();
14064
+ var _useState = React.useState(0),
14065
+ _useState2 = _slicedToArray(_useState, 2),
14066
+ contentHeight = _useState2[0],
14067
+ setContentHeight = _useState2[1];
14068
+ var calendarItemHeight = contentHeight - theme.__hd__.calendar.space.iosPickerMarginVertical * 2;
14069
+ var _useState3 = React.useState(0),
14070
+ _useState4 = _slicedToArray(_useState3, 2),
14071
+ contentWidth = _useState4[0],
14072
+ setContentWidth = _useState4[1];
14073
+ var calendarItemWidth = React.useMemo(function () {
14074
+ return contentWidth > 0 ? Math.floor((contentWidth - theme.__hd__.calendar.space.cellPadding) / 7) : undefined;
14075
+ }, [contentWidth, theme]);
14076
+ var onLayout = React.useCallback(function (e) {
14077
+ var _e$nativeEvent$layout = e.nativeEvent.layout,
14078
+ width = _e$nativeEvent$layout.width,
14079
+ height = _e$nativeEvent$layout.height;
14080
+ setContentHeight(height);
14081
+ setContentWidth(width);
14082
+ }, []);
14083
+ return {
14084
+ onLayout: onLayout,
14085
+ contentHeight: contentHeight,
14086
+ calendarItemHeight: calendarItemHeight,
14087
+ contentWidth: contentWidth,
14088
+ calendarItemWidth: calendarItemWidth
14089
+ };
14090
+ };
13929
14091
 
13930
- // Always render 7 rows x 6 items for consistent layout
13931
- var TOTAL_DATES_ITEMS$1 = 7 * 6;
13932
14092
  var CalendarRange = function CalendarRange(_ref) {
13933
14093
  var value = _ref.value,
13934
14094
  visibleDate = _ref.visibleDate,
@@ -13951,53 +14111,35 @@ var CalendarRange = function CalendarRange(_ref) {
13951
14111
  monthPickerConfirmLabel = _ref.monthPickerConfirmLabel,
13952
14112
  monthPickerCancelLabel = _ref.monthPickerCancelLabel;
13953
14113
  var theme = useTheme();
13954
- var currentMonth = visibleDate.getMonth();
13955
- var currentYear = visibleDate.getFullYear();
13956
- var now = new Date();
13957
- var parsedMaskedDate = markedDates.reduce(function (current, markedDate) {
13958
- return _objectSpread2(_objectSpread2({}, current), {}, _defineProperty({}, markedDate.toDateString(), true));
13959
- }, {});
13960
14114
  var _useState = React.useState(false),
13961
14115
  _useState2 = _slicedToArray(_useState, 2),
13962
14116
  monthPickerVisible = _useState2[0],
13963
14117
  setMonthPickerVisible = _useState2[1];
13964
- var _useState3 = React.useState(0),
13965
- _useState4 = _slicedToArray(_useState3, 2),
13966
- contentHeight = _useState4[0],
13967
- setContentHeight = _useState4[1];
13968
- var _useState5 = React.useState(0),
13969
- _useState6 = _slicedToArray(_useState5, 2),
13970
- contentWidth = _useState6[0],
13971
- setContentWidth = _useState6[1];
13972
- var calendarItemWidth = React.useMemo(function () {
13973
- return contentWidth > 0 ? Math.floor((contentWidth - theme.__hd__.calendar.space.cellPadding) / 7) : undefined;
13974
- }, [contentWidth, theme]);
13975
- var useMonthPicker = onMonthChange !== noop$2;
13976
- var firstDateOfMonth = new Date(currentYear, currentMonth, 1);
13977
- var lastDateOfMonth = new Date(currentYear, currentMonth + 1, 0);
13978
- var lastDateOfPreviousMonth = new Date(currentYear, currentMonth, 0);
13979
-
13980
- // Index of day in week is shifted by 1 due to Sunday is the last column
13981
- var firstDayWeekIndexOfMonth = firstDateOfMonth.getDay() === 0 ? SUNDAY_INDEX$1 : firstDateOfMonth.getDay() - WEEK_INDEX_OFFSET$1;
13982
- var lastDayIndexOfCurrentMonth = lastDateOfMonth.getDate();
13983
- var lastDayIndexOfPreviousMonth = lastDateOfPreviousMonth.getDate();
13984
- var daysOfPreviousMonth = initArray(firstDayWeekIndexOfMonth, function (index) {
13985
- var reversedIndex = firstDayWeekIndexOfMonth - index - 1;
13986
- var count = lastDayIndexOfPreviousMonth - reversedIndex;
13987
- return getValidDate(new Date(currentYear, currentMonth - 1, count), minDate, maxDate);
13988
- });
13989
- var daysOfCurrentMonth = initArray(lastDayIndexOfCurrentMonth, function (index) {
13990
- return getValidDate(new Date(currentYear, currentMonth, index + 1), minDate, maxDate);
13991
- });
13992
- var daysOfNextMonth = initArray(TOTAL_DATES_ITEMS$1 - (daysOfPreviousMonth.length + daysOfCurrentMonth.length), function (index) {
13993
- return getValidDate(new Date(currentYear, currentMonth + 1, index + 1), minDate, maxDate);
13994
- });
13995
- var disablePrevButton = minDate === undefined ? false : !daysOfPreviousMonth.some(function (date) {
13996
- return date !== undefined;
13997
- }) && minDate >= firstDateOfMonth;
13998
- var disableNextButton = maxDate === undefined ? false : !daysOfNextMonth.some(function (date) {
13999
- return date !== undefined;
14000
- }) || maxDate <= lastDateOfMonth;
14118
+ var _useCalendarLayout = useCalendarLayout(),
14119
+ onLayout = _useCalendarLayout.onLayout,
14120
+ contentHeight = _useCalendarLayout.contentHeight,
14121
+ contentWidth = _useCalendarLayout.contentWidth,
14122
+ calendarItemWidth = _useCalendarLayout.calendarItemWidth;
14123
+ var _getCalendarDate = getCalendarDate({
14124
+ visibleDate: visibleDate,
14125
+ markedDates: markedDates,
14126
+ minDate: minDate,
14127
+ maxDate: maxDate,
14128
+ onMonthChange: onMonthChange
14129
+ }),
14130
+ parsedMaskedDate = _getCalendarDate.parsedMaskedDate,
14131
+ daysOfPreviousMonth = _getCalendarDate.daysOfPreviousMonth,
14132
+ daysOfCurrentMonth = _getCalendarDate.daysOfCurrentMonth,
14133
+ daysOfNextMonth = _getCalendarDate.daysOfNextMonth;
14134
+ var _getCalendarButtonSta = getCalendarButtonState({
14135
+ visibleDate: visibleDate,
14136
+ minDate: minDate,
14137
+ maxDate: maxDate
14138
+ }),
14139
+ disablePrevButton = _getCalendarButtonSta.disablePrevButton,
14140
+ disableNextButton = _getCalendarButtonSta.disableNextButton;
14141
+ var shouldShowMonthPicker = shouldUseMonthPicker(onMonthChange);
14142
+ var now = new Date();
14001
14143
  var onDateChange = function onDateChange(date) {
14002
14144
  var newDateRange = setStartOrEndDate({
14003
14145
  date: date,
@@ -14045,17 +14187,10 @@ var CalendarRange = function CalendarRange(_ref) {
14045
14187
  textIntent: isCurrentMonth ? undefined : 'subdued'
14046
14188
  });
14047
14189
  };
14048
- var onLayout = function onLayout(e) {
14049
- var _e$nativeEvent$layout = e.nativeEvent.layout,
14050
- width = _e$nativeEvent$layout.width,
14051
- height = _e$nativeEvent$layout.height;
14052
- setContentHeight(height);
14053
- setContentWidth(width);
14054
- };
14055
14190
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$9, {
14056
14191
  testID: testID
14057
14192
  }, /*#__PURE__*/React__namespace.default.createElement(StyledCalendarHeader, null, /*#__PURE__*/React__namespace.default.createElement(ContentNavigator, {
14058
- value: !useMonthPicker ? formatTime('MMMM yyyy', visibleDate) : /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
14193
+ value: !shouldShowMonthPicker ? formatTime('MMMM yyyy', visibleDate) : /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
14059
14194
  testID: "calendar-month-picker",
14060
14195
  onPress: function onPress() {
14061
14196
  onToggleMonthPicker === null || onToggleMonthPicker === void 0 || onToggleMonthPicker(!monthPickerVisible);
@@ -14077,7 +14212,7 @@ var CalendarRange = function CalendarRange(_ref) {
14077
14212
  }))),
14078
14213
  onPreviousPress: onPreviousPress,
14079
14214
  onNextPress: onNextPress,
14080
- onPress: useMonthPicker ? undefined : onTitlePress,
14215
+ onPress: shouldShowMonthPicker ? undefined : onTitlePress,
14081
14216
  previousDisabled: disablePrevButton,
14082
14217
  nextDisabled: disableNextButton,
14083
14218
  fontSize: "large"
@@ -14097,7 +14232,7 @@ var CalendarRange = function CalendarRange(_ref) {
14097
14232
  }
14098
14233
  })) : /*#__PURE__*/React__namespace.default.createElement(Box, {
14099
14234
  onLayout: onLayout
14100
- }, /*#__PURE__*/React__namespace.default.createElement(StyledCalendarRow, null, DAYS_OF_WEEK$1.map(function (day) {
14235
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledCalendarRow, null, DAYS_OF_WEEK.map(function (day) {
14101
14236
  return /*#__PURE__*/React__namespace.default.createElement(StyledCalendarRowItem, {
14102
14237
  key: day
14103
14238
  }, /*#__PURE__*/React__namespace.default.createElement(StyledCalendarDayNameCell, {
@@ -14137,14 +14272,6 @@ var CalendarRange = function CalendarRange(_ref) {
14137
14272
  })));
14138
14273
  };
14139
14274
 
14140
- var DAYS_OF_WEEK = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'];
14141
- // Sunday first column => 0
14142
- // Sunday last column => 1
14143
- var WEEK_INDEX_OFFSET = 1;
14144
- var SUNDAY_INDEX = 6;
14145
-
14146
- // Always render 7 rows x 6 items for consistent layout
14147
- var TOTAL_DATES_ITEMS = 7 * 6;
14148
14275
  var Calendar = function Calendar(_ref) {
14149
14276
  var value = _ref.value,
14150
14277
  visibleDate = _ref.visibleDate,
@@ -14167,64 +14294,39 @@ var Calendar = function Calendar(_ref) {
14167
14294
  monthPickerConfirmLabel = _ref.monthPickerConfirmLabel,
14168
14295
  monthPickerCancelLabel = _ref.monthPickerCancelLabel;
14169
14296
  var theme = useTheme();
14170
- var currentMonth = visibleDate.getMonth();
14171
- var currentYear = visibleDate.getFullYear();
14172
- var now = new Date();
14173
- var parsedMaskedDate = markedDates.reduce(function (current, markedDate) {
14174
- return _objectSpread2(_objectSpread2({}, current), {}, _defineProperty({}, markedDate.toDateString(), true));
14175
- }, {});
14297
+ var _useCalendarLayout = useCalendarLayout(),
14298
+ onLayout = _useCalendarLayout.onLayout,
14299
+ contentHeight = _useCalendarLayout.contentHeight,
14300
+ contentWidth = _useCalendarLayout.contentWidth,
14301
+ calendarItemWidth = _useCalendarLayout.calendarItemWidth;
14302
+ var _getCalendarDate = getCalendarDate({
14303
+ visibleDate: visibleDate,
14304
+ markedDates: markedDates,
14305
+ minDate: minDate,
14306
+ maxDate: maxDate,
14307
+ onMonthChange: onMonthChange
14308
+ }),
14309
+ parsedMaskedDate = _getCalendarDate.parsedMaskedDate,
14310
+ daysOfPreviousMonth = _getCalendarDate.daysOfPreviousMonth,
14311
+ daysOfCurrentMonth = _getCalendarDate.daysOfCurrentMonth,
14312
+ daysOfNextMonth = _getCalendarDate.daysOfNextMonth;
14313
+ var _getCalendarButtonSta = getCalendarButtonState({
14314
+ visibleDate: visibleDate,
14315
+ minDate: minDate,
14316
+ maxDate: maxDate
14317
+ }),
14318
+ disablePrevButton = _getCalendarButtonSta.disablePrevButton,
14319
+ disableNextButton = _getCalendarButtonSta.disableNextButton;
14320
+ var shouldShowMonthPicker = shouldUseMonthPicker(onMonthChange);
14176
14321
  var _useState = React.useState(false),
14177
14322
  _useState2 = _slicedToArray(_useState, 2),
14178
14323
  monthPickerVisible = _useState2[0],
14179
14324
  setMonthPickerVisible = _useState2[1];
14180
- var _useState3 = React.useState(0),
14181
- _useState4 = _slicedToArray(_useState3, 2),
14182
- contentHeight = _useState4[0],
14183
- setContentHeight = _useState4[1];
14184
- var _useState5 = React.useState(0),
14185
- _useState6 = _slicedToArray(_useState5, 2),
14186
- contentWidth = _useState6[0],
14187
- setContentWidth = _useState6[1];
14188
- var calendarItemWidth = React.useMemo(function () {
14189
- return contentWidth > 0 ? Math.floor((contentWidth - theme.__hd__.calendar.space.cellPadding) / 7) : undefined;
14190
- }, [contentWidth, theme]);
14191
- var useMonthPicker = onMonthChange !== noop$2;
14192
- var firstDateOfMonth = new Date(currentYear, currentMonth, 1);
14193
- var lastDateOfMonth = new Date(currentYear, currentMonth + 1, 0);
14194
- var lastDateOfPreviousMonth = new Date(currentYear, currentMonth, 0);
14195
-
14196
- // Index of day in week is shifted by 1 due to Sunday is the last column
14197
- var firstDayWeekIndexOfMonth = firstDateOfMonth.getDay() === 0 ? SUNDAY_INDEX : firstDateOfMonth.getDay() - WEEK_INDEX_OFFSET;
14198
- var lastDayIndexOfCurrentMonth = lastDateOfMonth.getDate();
14199
- var lastDayIndexOfPreviousMonth = lastDateOfPreviousMonth.getDate();
14200
- var daysOfPreviousMonth = initArray(firstDayWeekIndexOfMonth, function (index) {
14201
- var reversedIndex = firstDayWeekIndexOfMonth - index - 1;
14202
- var count = lastDayIndexOfPreviousMonth - reversedIndex;
14203
- return getValidDate(new Date(currentYear, currentMonth - 1, count), minDate, maxDate);
14204
- });
14205
- var daysOfCurrentMonth = initArray(lastDayIndexOfCurrentMonth, function (index) {
14206
- return getValidDate(new Date(currentYear, currentMonth, index + 1), minDate, maxDate);
14207
- });
14208
- var daysOfNextMonth = initArray(TOTAL_DATES_ITEMS - (daysOfPreviousMonth.length + daysOfCurrentMonth.length), function (index) {
14209
- return getValidDate(new Date(currentYear, currentMonth + 1, index + 1), minDate, maxDate);
14210
- });
14211
- var disablePrevButton = minDate === undefined ? false : !daysOfPreviousMonth.some(function (date) {
14212
- return date !== undefined;
14213
- }) && minDate >= firstDateOfMonth;
14214
- var disableNextButton = maxDate === undefined ? false : !daysOfNextMonth.some(function (date) {
14215
- return date !== undefined;
14216
- }) || maxDate <= lastDateOfMonth;
14217
- var onLayout = function onLayout(e) {
14218
- var _e$nativeEvent$layout = e.nativeEvent.layout,
14219
- width = _e$nativeEvent$layout.width,
14220
- height = _e$nativeEvent$layout.height;
14221
- setContentHeight(height);
14222
- setContentWidth(width);
14223
- };
14325
+ var now = new Date();
14224
14326
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$9, {
14225
14327
  testID: testID
14226
14328
  }, /*#__PURE__*/React__namespace.default.createElement(StyledCalendarHeader, null, /*#__PURE__*/React__namespace.default.createElement(ContentNavigator, {
14227
- value: !useMonthPicker ? formatTime('MMMM yyyy', visibleDate) : /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
14329
+ value: !shouldShowMonthPicker ? formatTime('MMMM yyyy', visibleDate) : /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
14228
14330
  testID: "calendar-month-picker",
14229
14331
  onPress: function onPress() {
14230
14332
  onToggleMonthPicker === null || onToggleMonthPicker === void 0 || onToggleMonthPicker(!monthPickerVisible);
@@ -14246,7 +14348,7 @@ var Calendar = function Calendar(_ref) {
14246
14348
  }))),
14247
14349
  onPreviousPress: onPreviousPress,
14248
14350
  onNextPress: onNextPress,
14249
- onPress: useMonthPicker ? undefined : onTitlePress,
14351
+ onPress: shouldShowMonthPicker ? undefined : onTitlePress,
14250
14352
  previousDisabled: disablePrevButton,
14251
14353
  nextDisabled: disableNextButton,
14252
14354
  fontSize: "large"
@@ -47019,6 +47121,184 @@ var Search = {
47019
47121
  SuffixIcon: SearchSuffixIcon
47020
47122
  };
47021
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
+
47022
47302
  var StyledWrapper$1 = index$b.TouchableOpacity(function (_ref) {
47023
47303
  var theme = _ref.theme;
47024
47304
  return _objectSpread2({
@@ -67378,6 +67658,7 @@ exports.ScrollViewWithFAB = ScrollViewWithFAB;
67378
67658
  exports.Search = Search;
67379
67659
  exports.SectionHeading = SectionHeading;
67380
67660
  exports.SectionListWithFAB = SectionListWithFAB;
67661
+ exports.SegmentedControl = SegmentedControl;
67381
67662
  exports.Select = index$2;
67382
67663
  exports.Skeleton = Skeleton;
67383
67664
  exports.Slider = Slider;