@hero-design/rn-work-uikit 1.13.8 → 1.13.10
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/CHANGELOG.md +30 -0
- package/CLAUDE.md +1 -1
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +224 -209
- package/lib/index.js +224 -209
- package/package.json +5 -5
package/es/index.js
CHANGED
|
@@ -5283,7 +5283,7 @@ var swagLightGlobalPalette = _objectSpread2(_objectSpread2({}, globalPalette$1),
|
|
|
5283
5283
|
});
|
|
5284
5284
|
|
|
5285
5285
|
var ehWorkBrandSystemPalette = {
|
|
5286
|
-
primary: '#
|
|
5286
|
+
primary: '#7622d7',
|
|
5287
5287
|
onPrimary: '#fdfbff',
|
|
5288
5288
|
secondary: '#b382fd',
|
|
5289
5289
|
onSecondary: palette$4.white,
|
|
@@ -5312,6 +5312,7 @@ var swagSystemPalette = _objectSpread2(_objectSpread2({}, ehWorkSystemPalette),
|
|
|
5312
5312
|
|
|
5313
5313
|
var ehJobsSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette), {}, {
|
|
5314
5314
|
name: 'ehJobs',
|
|
5315
|
+
primary: '#7622d7',
|
|
5315
5316
|
secondary: '#40d1ff',
|
|
5316
5317
|
onSecondary: '#460078',
|
|
5317
5318
|
secondaryHighlightedSurface: '#ecfaff',
|
|
@@ -6684,19 +6685,19 @@ var getErrorTheme = function getErrorTheme(theme) {
|
|
|
6684
6685
|
|
|
6685
6686
|
var getFABTheme = function getFABTheme(theme) {
|
|
6686
6687
|
var colors = {
|
|
6687
|
-
buttonBackground: theme.colors.
|
|
6688
|
-
buttonPressedBackground: theme.colors.
|
|
6689
|
-
buttonActiveBackground: theme.colors.
|
|
6688
|
+
buttonBackground: theme.colors.primary,
|
|
6689
|
+
buttonPressedBackground: theme.colors.primary,
|
|
6690
|
+
buttonActiveBackground: theme.colors.primary,
|
|
6690
6691
|
icon: theme.colors.onDarkGlobalSurface,
|
|
6691
|
-
actionItemBackground: theme.colors.
|
|
6692
|
-
actionItemPressedBackground: theme.colors.
|
|
6692
|
+
actionItemBackground: theme.colors.defaultGlobalSurface,
|
|
6693
|
+
actionItemPressedBackground: theme.colors.defaultGlobalSurface,
|
|
6693
6694
|
backdropBackground: theme.colors.black,
|
|
6694
6695
|
titleText: theme.colors.onDarkGlobalSurface,
|
|
6695
|
-
actionItemText: theme.colors.
|
|
6696
|
+
actionItemText: theme.colors.onDefaultGlobalSurface
|
|
6696
6697
|
};
|
|
6697
6698
|
var sizes = {
|
|
6698
|
-
width: theme.sizes.
|
|
6699
|
-
height: theme.sizes.
|
|
6699
|
+
width: theme.sizes.xxxlarge,
|
|
6700
|
+
height: theme.sizes.xxxlarge,
|
|
6700
6701
|
iconContainerWidth: theme.sizes.large,
|
|
6701
6702
|
iconContainerHeight: theme.sizes.large,
|
|
6702
6703
|
fabPairHeight: theme.sizes.xxxlarge,
|
|
@@ -6704,11 +6705,11 @@ var getFABTheme = function getFABTheme(theme) {
|
|
|
6704
6705
|
};
|
|
6705
6706
|
var fonts = {
|
|
6706
6707
|
actionItemText: theme.fonts.neutral.regular,
|
|
6707
|
-
title: theme.fonts.neutral.
|
|
6708
|
+
title: theme.fonts.neutral.regular
|
|
6708
6709
|
};
|
|
6709
6710
|
var fontSizes = {
|
|
6710
6711
|
actionItemText: theme.fontSizes.large,
|
|
6711
|
-
title: theme.fontSizes.
|
|
6712
|
+
title: theme.fontSizes.medium
|
|
6712
6713
|
};
|
|
6713
6714
|
var lineHeights = {
|
|
6714
6715
|
actionItemText: theme.lineHeights.medium,
|
|
@@ -6725,7 +6726,7 @@ var getFABTheme = function getFABTheme(theme) {
|
|
|
6725
6726
|
actionItemTextPaddingLeft: theme.space.xsmall,
|
|
6726
6727
|
buttonMarginTop: theme.space.large,
|
|
6727
6728
|
buttonMarginRight: theme.space.large,
|
|
6728
|
-
containerPadding: theme.space.
|
|
6729
|
+
containerPadding: theme.space.smallMedium,
|
|
6729
6730
|
titleMarginHorizontal: theme.space.small,
|
|
6730
6731
|
fabPairMarginRight: theme.space.small
|
|
6731
6732
|
};
|
|
@@ -7933,21 +7934,19 @@ var getAppCueTheme = function getAppCueTheme(theme) {
|
|
|
7933
7934
|
var getFilterTriggerTheme = function getFilterTriggerTheme(theme) {
|
|
7934
7935
|
var borderWidths = {
|
|
7935
7936
|
wrapper: {
|
|
7936
|
-
filled: theme.borderWidths.
|
|
7937
|
-
outlined: theme.borderWidths.
|
|
7937
|
+
filled: theme.borderWidths.base,
|
|
7938
|
+
outlined: theme.borderWidths.base,
|
|
7938
7939
|
ghost: 0
|
|
7939
7940
|
}
|
|
7940
7941
|
};
|
|
7941
7942
|
var colors = {
|
|
7942
7943
|
wrapper: {
|
|
7943
|
-
activeBackground: theme.colors.highlightedSurface,
|
|
7944
|
-
inactiveBackground: theme.colors.neutralGlobalSurface,
|
|
7945
7944
|
background: {
|
|
7946
7945
|
active: {
|
|
7947
7946
|
filled: theme.colors.highlightedSurface,
|
|
7948
|
-
outlined:
|
|
7949
|
-
ghost:
|
|
7950
|
-
filledLabeless: theme.colors.
|
|
7947
|
+
outlined: theme.colors.highlightedSurface,
|
|
7948
|
+
ghost: theme.colors.highlightedSurface,
|
|
7949
|
+
filledLabeless: theme.colors.highlightedSurface
|
|
7951
7950
|
},
|
|
7952
7951
|
inactive: {
|
|
7953
7952
|
filled: theme.colors.neutralGlobalSurface,
|
|
@@ -7958,13 +7957,13 @@ var getFilterTriggerTheme = function getFilterTriggerTheme(theme) {
|
|
|
7958
7957
|
border: {
|
|
7959
7958
|
active: {
|
|
7960
7959
|
filled: theme.colors.highlightedSurface,
|
|
7961
|
-
outlined: theme.colors.
|
|
7960
|
+
outlined: theme.colors.primary,
|
|
7962
7961
|
ghost: 'transparent',
|
|
7963
|
-
filledLabeless: theme.colors.
|
|
7962
|
+
filledLabeless: theme.colors.highlightedSurface
|
|
7964
7963
|
},
|
|
7965
7964
|
inactive: {
|
|
7966
7965
|
filled: theme.colors.neutralGlobalSurface,
|
|
7967
|
-
outlined: theme.colors.
|
|
7966
|
+
outlined: theme.colors.primary,
|
|
7968
7967
|
ghost: 'transparent'
|
|
7969
7968
|
}
|
|
7970
7969
|
}
|
|
@@ -8270,7 +8269,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
8270
8269
|
};
|
|
8271
8270
|
|
|
8272
8271
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
8273
|
-
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', 'global-pound', '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', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rocket-launch', '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-edit-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', 'diamond-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', 'edit-user-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', 'feedbacks-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-pound-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', 'lighting-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', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'profile-2user-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 'question-mark', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rocket-launch-outlined', '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-2-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-add-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-out-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
|
|
8272
|
+
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', 'global-pound', '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', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rocket-launch', '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-edit-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', 'diamond-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', 'edit-user-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', 'feedbacks-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-pound-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', 'history-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-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', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'profile-2user-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 'question-mark', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rocket-launch-outlined', '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-2-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-add-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-out-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
|
|
8274
8273
|
|
|
8275
8274
|
var activate = 59000;
|
|
8276
8275
|
var adjustment = 59003;
|
|
@@ -8350,20 +8349,20 @@ var add = 59203;
|
|
|
8350
8349
|
var bold = 59233;
|
|
8351
8350
|
var cancel = 59251;
|
|
8352
8351
|
var checkmark = 59257;
|
|
8353
|
-
var italic =
|
|
8354
|
-
var local_mall_outlined =
|
|
8355
|
-
var number$2 =
|
|
8356
|
-
var percentage =
|
|
8357
|
-
var redeem =
|
|
8358
|
-
var refresh =
|
|
8359
|
-
var remove$1 =
|
|
8360
|
-
var restart =
|
|
8361
|
-
var shopping_basket_outlined =
|
|
8362
|
-
var strikethrough =
|
|
8363
|
-
var sync =
|
|
8364
|
-
var transfer =
|
|
8365
|
-
var unavailable =
|
|
8366
|
-
var underline =
|
|
8352
|
+
var italic = 59358;
|
|
8353
|
+
var local_mall_outlined = 59366;
|
|
8354
|
+
var number$2 = 59389;
|
|
8355
|
+
var percentage = 59395;
|
|
8356
|
+
var redeem = 59411;
|
|
8357
|
+
var refresh = 59412;
|
|
8358
|
+
var remove$1 = 59413;
|
|
8359
|
+
var restart = 59415;
|
|
8360
|
+
var shopping_basket_outlined = 59433;
|
|
8361
|
+
var strikethrough = 59449;
|
|
8362
|
+
var sync = 59455;
|
|
8363
|
+
var transfer = 59465;
|
|
8364
|
+
var unavailable = 59470;
|
|
8365
|
+
var underline = 59471;
|
|
8367
8366
|
var glyphMap = {
|
|
8368
8367
|
activate: activate,
|
|
8369
8368
|
"add-emoji": 59001,
|
|
@@ -8716,140 +8715,141 @@ var glyphMap = {
|
|
|
8716
8715
|
"happy-sun-outlined": 59348,
|
|
8717
8716
|
"health-bag-outlined": 59349,
|
|
8718
8717
|
"heart-outlined": 59350,
|
|
8719
|
-
"
|
|
8720
|
-
"home-outlined": 59352,
|
|
8721
|
-
"
|
|
8722
|
-
"
|
|
8723
|
-
"
|
|
8724
|
-
"
|
|
8718
|
+
"history-outlined": 59351,
|
|
8719
|
+
"home-active-outlined": 59352,
|
|
8720
|
+
"home-outlined": 59353,
|
|
8721
|
+
"id-card-outlined": 59354,
|
|
8722
|
+
"image-outlined": 59355,
|
|
8723
|
+
"import-outlined": 59356,
|
|
8724
|
+
"instapay-outlined": 59357,
|
|
8725
8725
|
italic: italic,
|
|
8726
|
-
"job-search-outlined":
|
|
8727
|
-
"leave-approval-outlined":
|
|
8728
|
-
"lighting-outlined":
|
|
8729
|
-
"link-1":
|
|
8730
|
-
"link-2":
|
|
8731
|
-
"list-outlined":
|
|
8732
|
-
"live-help-outlined":
|
|
8726
|
+
"job-search-outlined": 59359,
|
|
8727
|
+
"leave-approval-outlined": 59360,
|
|
8728
|
+
"lighting-outlined": 59361,
|
|
8729
|
+
"link-1": 59362,
|
|
8730
|
+
"link-2": 59363,
|
|
8731
|
+
"list-outlined": 59364,
|
|
8732
|
+
"live-help-outlined": 59365,
|
|
8733
8733
|
local_mall_outlined: local_mall_outlined,
|
|
8734
|
-
"location-on-outlined":
|
|
8735
|
-
"location-outlined":
|
|
8736
|
-
"lock-outlined":
|
|
8737
|
-
"locked-file-outlined":
|
|
8738
|
-
"log-out":
|
|
8739
|
-
"mail-outlined":
|
|
8740
|
-
"map-outlined":
|
|
8741
|
-
"media-content-outlined":
|
|
8742
|
-
"menu-close":
|
|
8743
|
-
"menu-expand":
|
|
8744
|
-
"menu-fold-outlined":
|
|
8745
|
-
"menu-unfold-outlined":
|
|
8746
|
-
"moneybag-outlined":
|
|
8747
|
-
"moon-outlined":
|
|
8748
|
-
"more-horizontal":
|
|
8749
|
-
"more-vertical":
|
|
8750
|
-
"morning-outlined":
|
|
8751
|
-
"multiple-folders-outlined":
|
|
8752
|
-
"multiple-users-outlined":
|
|
8753
|
-
"near-me-outlined":
|
|
8754
|
-
"node-outlined":
|
|
8755
|
-
"number-points":
|
|
8734
|
+
"location-on-outlined": 59367,
|
|
8735
|
+
"location-outlined": 59368,
|
|
8736
|
+
"lock-outlined": 59369,
|
|
8737
|
+
"locked-file-outlined": 59370,
|
|
8738
|
+
"log-out": 59371,
|
|
8739
|
+
"mail-outlined": 59372,
|
|
8740
|
+
"map-outlined": 59373,
|
|
8741
|
+
"media-content-outlined": 59374,
|
|
8742
|
+
"menu-close": 59375,
|
|
8743
|
+
"menu-expand": 59376,
|
|
8744
|
+
"menu-fold-outlined": 59377,
|
|
8745
|
+
"menu-unfold-outlined": 59378,
|
|
8746
|
+
"moneybag-outlined": 59379,
|
|
8747
|
+
"moon-outlined": 59380,
|
|
8748
|
+
"more-horizontal": 59381,
|
|
8749
|
+
"more-vertical": 59382,
|
|
8750
|
+
"morning-outlined": 59383,
|
|
8751
|
+
"multiple-folders-outlined": 59384,
|
|
8752
|
+
"multiple-users-outlined": 59385,
|
|
8753
|
+
"near-me-outlined": 59386,
|
|
8754
|
+
"node-outlined": 59387,
|
|
8755
|
+
"number-points": 59388,
|
|
8756
8756
|
number: number$2,
|
|
8757
|
-
"overview-outlined":
|
|
8758
|
-
"park-outlined":
|
|
8759
|
-
"payment-summary-outlined":
|
|
8760
|
-
"payslip-outlined":
|
|
8761
|
-
"pencil-outlined":
|
|
8757
|
+
"overview-outlined": 59390,
|
|
8758
|
+
"park-outlined": 59391,
|
|
8759
|
+
"payment-summary-outlined": 59392,
|
|
8760
|
+
"payslip-outlined": 59393,
|
|
8761
|
+
"pencil-outlined": 59394,
|
|
8762
8762
|
percentage: percentage,
|
|
8763
|
-
"phone-outlined":
|
|
8764
|
-
"piggy-bank-outlined":
|
|
8765
|
-
"plane-outlined":
|
|
8766
|
-
"play-circle-outlined":
|
|
8767
|
-
"pound-box-outlined":
|
|
8768
|
-
"pound-card-outlined":
|
|
8769
|
-
"pound-coin-shine-outlined":
|
|
8770
|
-
"pound-credit-card-outlined":
|
|
8771
|
-
"print-outlined":
|
|
8772
|
-
"profile-2user-outlined":
|
|
8773
|
-
"propane-tank-outlined":
|
|
8774
|
-
"qr-code-outlined":
|
|
8775
|
-
"qualification-outlined":
|
|
8776
|
-
"question-mark":
|
|
8777
|
-
"re-assign":
|
|
8763
|
+
"phone-outlined": 59396,
|
|
8764
|
+
"piggy-bank-outlined": 59397,
|
|
8765
|
+
"plane-outlined": 59398,
|
|
8766
|
+
"play-circle-outlined": 59399,
|
|
8767
|
+
"pound-box-outlined": 59400,
|
|
8768
|
+
"pound-card-outlined": 59401,
|
|
8769
|
+
"pound-coin-shine-outlined": 59402,
|
|
8770
|
+
"pound-credit-card-outlined": 59403,
|
|
8771
|
+
"print-outlined": 59404,
|
|
8772
|
+
"profile-2user-outlined": 59405,
|
|
8773
|
+
"propane-tank-outlined": 59406,
|
|
8774
|
+
"qr-code-outlined": 59407,
|
|
8775
|
+
"qualification-outlined": 59408,
|
|
8776
|
+
"question-mark": 59409,
|
|
8777
|
+
"re-assign": 59410,
|
|
8778
8778
|
redeem: redeem,
|
|
8779
8779
|
refresh: refresh,
|
|
8780
8780
|
remove: remove$1,
|
|
8781
|
-
"reply-outlined":
|
|
8781
|
+
"reply-outlined": 59414,
|
|
8782
8782
|
restart: restart,
|
|
8783
|
-
"restaurant-outlined":
|
|
8784
|
-
"resume-outlined":
|
|
8785
|
-
"return-arrow":
|
|
8786
|
-
"rocket-launch-outlined":
|
|
8787
|
-
"rostering-outlined":
|
|
8788
|
-
"safety-outlined":
|
|
8789
|
-
"save-outlined":
|
|
8790
|
-
"schedule-outlined":
|
|
8791
|
-
"search-outlined":
|
|
8792
|
-
"search-secured-outlined":
|
|
8793
|
-
"send-outlined":
|
|
8794
|
-
"share-1":
|
|
8795
|
-
"share-2":
|
|
8796
|
-
"share-outlined-2":
|
|
8797
|
-
"share-outlined":
|
|
8798
|
-
"shield-check-outlined":
|
|
8799
|
-
"shop-outlined":
|
|
8783
|
+
"restaurant-outlined": 59416,
|
|
8784
|
+
"resume-outlined": 59417,
|
|
8785
|
+
"return-arrow": 59418,
|
|
8786
|
+
"rocket-launch-outlined": 59419,
|
|
8787
|
+
"rostering-outlined": 59420,
|
|
8788
|
+
"safety-outlined": 59421,
|
|
8789
|
+
"save-outlined": 59422,
|
|
8790
|
+
"schedule-outlined": 59423,
|
|
8791
|
+
"search-outlined": 59424,
|
|
8792
|
+
"search-secured-outlined": 59425,
|
|
8793
|
+
"send-outlined": 59426,
|
|
8794
|
+
"share-1": 59427,
|
|
8795
|
+
"share-2": 59428,
|
|
8796
|
+
"share-outlined-2": 59429,
|
|
8797
|
+
"share-outlined": 59430,
|
|
8798
|
+
"shield-check-outlined": 59431,
|
|
8799
|
+
"shop-outlined": 59432,
|
|
8800
8800
|
shopping_basket_outlined: shopping_basket_outlined,
|
|
8801
|
-
"show-chart-outlined":
|
|
8802
|
-
"single-down-arrow":
|
|
8803
|
-
"single-left-arrow":
|
|
8804
|
-
"single-right-arrow":
|
|
8805
|
-
"single-up-arrow":
|
|
8806
|
-
"smart-match-outlined":
|
|
8807
|
-
"sparkle-2-outlined":
|
|
8808
|
-
"sparkle-outlined":
|
|
8809
|
-
"speaker-active-outlined":
|
|
8810
|
-
"speaker-outlined":
|
|
8811
|
-
"star-circle-outlined":
|
|
8812
|
-
"star-outlined":
|
|
8813
|
-
"start-break-outlined":
|
|
8814
|
-
"stash-outlined":
|
|
8815
|
-
"stopwatch-outlined":
|
|
8801
|
+
"show-chart-outlined": 59434,
|
|
8802
|
+
"single-down-arrow": 59435,
|
|
8803
|
+
"single-left-arrow": 59436,
|
|
8804
|
+
"single-right-arrow": 59437,
|
|
8805
|
+
"single-up-arrow": 59438,
|
|
8806
|
+
"smart-match-outlined": 59439,
|
|
8807
|
+
"sparkle-2-outlined": 59440,
|
|
8808
|
+
"sparkle-outlined": 59441,
|
|
8809
|
+
"speaker-active-outlined": 59442,
|
|
8810
|
+
"speaker-outlined": 59443,
|
|
8811
|
+
"star-circle-outlined": 59444,
|
|
8812
|
+
"star-outlined": 59445,
|
|
8813
|
+
"start-break-outlined": 59446,
|
|
8814
|
+
"stash-outlined": 59447,
|
|
8815
|
+
"stopwatch-outlined": 59448,
|
|
8816
8816
|
strikethrough: strikethrough,
|
|
8817
|
-
"styler-outlined":
|
|
8818
|
-
"suitcase-clock-outlined":
|
|
8819
|
-
"suitcase-outlined":
|
|
8820
|
-
"survey-outlined":
|
|
8821
|
-
"switch-outlined":
|
|
8817
|
+
"styler-outlined": 59450,
|
|
8818
|
+
"suitcase-clock-outlined": 59451,
|
|
8819
|
+
"suitcase-outlined": 59452,
|
|
8820
|
+
"survey-outlined": 59453,
|
|
8821
|
+
"switch-outlined": 59454,
|
|
8822
8822
|
sync: sync,
|
|
8823
|
-
"tag-outlined":
|
|
8824
|
-
"target-outlined":
|
|
8825
|
-
"tennis-outlined":
|
|
8826
|
-
"thumb-down-outlined":
|
|
8827
|
-
"thumb-up-outlined":
|
|
8828
|
-
"ticket-outlined":
|
|
8829
|
-
"timesheet-outlined":
|
|
8830
|
-
"timesheets-outlined":
|
|
8831
|
-
"today-outlined":
|
|
8823
|
+
"tag-outlined": 59456,
|
|
8824
|
+
"target-outlined": 59457,
|
|
8825
|
+
"tennis-outlined": 59458,
|
|
8826
|
+
"thumb-down-outlined": 59459,
|
|
8827
|
+
"thumb-up-outlined": 59460,
|
|
8828
|
+
"ticket-outlined": 59461,
|
|
8829
|
+
"timesheet-outlined": 59462,
|
|
8830
|
+
"timesheets-outlined": 59463,
|
|
8831
|
+
"today-outlined": 59464,
|
|
8832
8832
|
transfer: transfer,
|
|
8833
|
-
"transportation-outlined":
|
|
8834
|
-
"trash-bin-outlined":
|
|
8835
|
-
"umbrela-outlined":
|
|
8836
|
-
"unavailability-outlined":
|
|
8833
|
+
"transportation-outlined": 59466,
|
|
8834
|
+
"trash-bin-outlined": 59467,
|
|
8835
|
+
"umbrela-outlined": 59468,
|
|
8836
|
+
"unavailability-outlined": 59469,
|
|
8837
8837
|
unavailable: unavailable,
|
|
8838
8838
|
underline: underline,
|
|
8839
|
-
"union-outlined":
|
|
8840
|
-
"unlock-outlined":
|
|
8841
|
-
"upload-outlined":
|
|
8842
|
-
"user-add-outlined":
|
|
8843
|
-
"user-circle-outlined":
|
|
8844
|
-
"user-gear-outlined":
|
|
8845
|
-
"user-out-outlined":
|
|
8846
|
-
"user-outlined":
|
|
8847
|
-
"user-rectangle-outlined":
|
|
8848
|
-
"video-1-outlined":
|
|
8849
|
-
"video-2-outlined":
|
|
8850
|
-
"volunteer-outlined":
|
|
8851
|
-
"wallet-outlined":
|
|
8852
|
-
"wellness-outlined":
|
|
8839
|
+
"union-outlined": 59472,
|
|
8840
|
+
"unlock-outlined": 59473,
|
|
8841
|
+
"upload-outlined": 59474,
|
|
8842
|
+
"user-add-outlined": 59475,
|
|
8843
|
+
"user-circle-outlined": 59476,
|
|
8844
|
+
"user-gear-outlined": 59477,
|
|
8845
|
+
"user-out-outlined": 59478,
|
|
8846
|
+
"user-outlined": 59479,
|
|
8847
|
+
"user-rectangle-outlined": 59480,
|
|
8848
|
+
"video-1-outlined": 59481,
|
|
8849
|
+
"video-2-outlined": 59482,
|
|
8850
|
+
"volunteer-outlined": 59483,
|
|
8851
|
+
"wallet-outlined": 59484,
|
|
8852
|
+
"wellness-outlined": 59485
|
|
8853
8853
|
};
|
|
8854
8854
|
|
|
8855
8855
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -9370,7 +9370,7 @@ var Typography = {
|
|
|
9370
9370
|
var getButtonSize = function getButtonSize(themeIsCompact, themeIsMedium) {
|
|
9371
9371
|
if (themeIsCompact) return scale(36);
|
|
9372
9372
|
if (themeIsMedium) return scale(48);
|
|
9373
|
-
return scale(
|
|
9373
|
+
return scale(48);
|
|
9374
9374
|
};
|
|
9375
9375
|
var getTextButtonPaddingVertical = function getTextButtonPaddingVertical(theme, themeInlineText, themeIsCompact) {
|
|
9376
9376
|
if (themeInlineText) {
|
|
@@ -9429,7 +9429,7 @@ var genFilledContainerStyles = function genFilledContainerStyles(theme, intent,
|
|
|
9429
9429
|
}
|
|
9430
9430
|
return {
|
|
9431
9431
|
alignSelf: 'stretch',
|
|
9432
|
-
|
|
9432
|
+
paddingHorizontal: theme.__hd__.button.space["default"].buttonPadding,
|
|
9433
9433
|
borderRadius: theme.__hd__.button.radii["default"]
|
|
9434
9434
|
};
|
|
9435
9435
|
};
|
|
@@ -9474,7 +9474,7 @@ var genOutlineContainerStyles = function genOutlineContainerStyles(theme, intent
|
|
|
9474
9474
|
}
|
|
9475
9475
|
return {
|
|
9476
9476
|
alignSelf: 'stretch',
|
|
9477
|
-
|
|
9477
|
+
paddingHorizontal: theme.__hd__.button.space["default"].buttonPadding - theme.__hd__.button.borderWidth["default"],
|
|
9478
9478
|
borderRadius: theme.__hd__.button.radii["default"]
|
|
9479
9479
|
};
|
|
9480
9480
|
};
|
|
@@ -9512,7 +9512,7 @@ var getTextContainerStyles = function getTextContainerStyles(theme, intent, load
|
|
|
9512
9512
|
};
|
|
9513
9513
|
}
|
|
9514
9514
|
return {
|
|
9515
|
-
|
|
9515
|
+
paddingHorizontal: inlineText ? 0 : theme.__hd__.button.space["default"].textButtonPadding
|
|
9516
9516
|
};
|
|
9517
9517
|
};
|
|
9518
9518
|
return _objectSpread2({
|
|
@@ -24857,21 +24857,14 @@ var StyledErrorButtonContainer = index$c(View)(function (_ref3) {
|
|
|
24857
24857
|
paddingVertical: theme.__hd__.error.space.button.wrapperVerticalPadding
|
|
24858
24858
|
};
|
|
24859
24859
|
});
|
|
24860
|
-
var
|
|
24860
|
+
var StyledErrorButtonSecondary = index$c(CompoundButton)(function (_ref4) {
|
|
24861
24861
|
var theme = _ref4.theme;
|
|
24862
24862
|
return {
|
|
24863
|
-
|
|
24863
|
+
marginTop: theme.__hd__.error.space.button.margin
|
|
24864
24864
|
};
|
|
24865
24865
|
});
|
|
24866
|
-
var
|
|
24866
|
+
var StyledErrorImageContainer = index$c(View)(function (_ref5) {
|
|
24867
24867
|
var theme = _ref5.theme;
|
|
24868
|
-
return {
|
|
24869
|
-
marginTop: theme.__hd__.error.space.button.margin,
|
|
24870
|
-
padding: theme.__hd__.error.space.button.padding
|
|
24871
|
-
};
|
|
24872
|
-
});
|
|
24873
|
-
var StyledErrorImageContainer = index$c(View)(function (_ref6) {
|
|
24874
|
-
var theme = _ref6.theme;
|
|
24875
24868
|
return {
|
|
24876
24869
|
marginBottom: theme.__hd__.error.space.imageMarginBottom,
|
|
24877
24870
|
width: theme.__hd__.error.sizes.image,
|
|
@@ -24879,8 +24872,8 @@ var StyledErrorImageContainer = index$c(View)(function (_ref6) {
|
|
|
24879
24872
|
alignItems: 'center'
|
|
24880
24873
|
};
|
|
24881
24874
|
});
|
|
24882
|
-
var StyledErrorIconContainer = index$c(View)(function (
|
|
24883
|
-
var theme =
|
|
24875
|
+
var StyledErrorIconContainer = index$c(View)(function (_ref6) {
|
|
24876
|
+
var theme = _ref6.theme;
|
|
24884
24877
|
return {
|
|
24885
24878
|
marginBottom: theme.__hd__.error.space.imageMarginBottom,
|
|
24886
24879
|
width: theme.__hd__.error.sizes.icon,
|
|
@@ -24888,8 +24881,8 @@ var StyledErrorIconContainer = index$c(View)(function (_ref7) {
|
|
|
24888
24881
|
alignItems: 'center'
|
|
24889
24882
|
};
|
|
24890
24883
|
});
|
|
24891
|
-
var StyledErrorImage = index$c(Image)(function (
|
|
24892
|
-
var theme =
|
|
24884
|
+
var StyledErrorImage = index$c(Image)(function (_ref7) {
|
|
24885
|
+
var theme = _ref7.theme;
|
|
24893
24886
|
return {
|
|
24894
24887
|
marginBottom: theme.__hd__.error.space.imageMarginBottom,
|
|
24895
24888
|
width: theme.__hd__.error.sizes.image,
|
|
@@ -24897,16 +24890,16 @@ var StyledErrorImage = index$c(Image)(function (_ref8) {
|
|
|
24897
24890
|
resizeMode: 'contain'
|
|
24898
24891
|
};
|
|
24899
24892
|
});
|
|
24900
|
-
var StyledErrorTitle = index$c(Typography.Title)(function (
|
|
24901
|
-
var theme =
|
|
24893
|
+
var StyledErrorTitle = index$c(Typography.Title)(function (_ref8) {
|
|
24894
|
+
var theme = _ref8.theme;
|
|
24902
24895
|
return {
|
|
24903
24896
|
textAlign: 'center',
|
|
24904
24897
|
marginBottom: theme.__hd__.error.space.titleMarginBottom,
|
|
24905
24898
|
color: theme.__hd__.error.colors.title
|
|
24906
24899
|
};
|
|
24907
24900
|
});
|
|
24908
|
-
var StyledErrorDescription = index$c(Typography.Body)(function (
|
|
24909
|
-
var theme =
|
|
24901
|
+
var StyledErrorDescription = index$c(Typography.Body)(function (_ref9) {
|
|
24902
|
+
var theme = _ref9.theme;
|
|
24910
24903
|
return {
|
|
24911
24904
|
textAlign: 'center',
|
|
24912
24905
|
color: theme.__hd__.error.colors.description
|
|
@@ -24969,7 +24962,7 @@ var ErrorPage = function ErrorPage(_ref2) {
|
|
|
24969
24962
|
typeface: "playful"
|
|
24970
24963
|
}, title), description && /*#__PURE__*/React__default.createElement(StyledErrorDescription, {
|
|
24971
24964
|
typeface: "playful"
|
|
24972
|
-
}, description)), showButtonContainer && /*#__PURE__*/React__default.createElement(StyledErrorButtonContainer, null, showCta && /*#__PURE__*/React__default.createElement(
|
|
24965
|
+
}, description)), showButtonContainer && /*#__PURE__*/React__default.createElement(StyledErrorButtonContainer, null, showCta && /*#__PURE__*/React__default.createElement(CompoundButton, {
|
|
24973
24966
|
variant: "filled",
|
|
24974
24967
|
text: ctaText,
|
|
24975
24968
|
onPress: onCtaPress
|
|
@@ -25101,8 +25094,9 @@ var StyledIcon$3 = index$c(Icon)(function (_ref3) {
|
|
|
25101
25094
|
var AnimatedTouchableHighlight = Animated.createAnimatedComponent(TouchableOpacity);
|
|
25102
25095
|
var StyledFAB$2 = index$c(AnimatedTouchableHighlight)(function (_ref) {
|
|
25103
25096
|
var theme = _ref.theme,
|
|
25104
|
-
themeActive = _ref.themeActive
|
|
25105
|
-
|
|
25097
|
+
themeActive = _ref.themeActive,
|
|
25098
|
+
themeIconOnly = _ref.themeIconOnly;
|
|
25099
|
+
return _objectSpread2(_objectSpread2({
|
|
25106
25100
|
backgroundColor: themeActive ? theme.__hd__.fab.colors.buttonActiveBackground : theme.__hd__.fab.colors.buttonBackground,
|
|
25107
25101
|
borderRadius: theme.radii.rounded,
|
|
25108
25102
|
alignItems: 'center',
|
|
@@ -25111,7 +25105,9 @@ var StyledFAB$2 = index$c(AnimatedTouchableHighlight)(function (_ref) {
|
|
|
25111
25105
|
padding: theme.__hd__.fab.space.containerPadding,
|
|
25112
25106
|
flexDirection: 'row',
|
|
25113
25107
|
height: theme.__hd__.fab.sizes.height
|
|
25114
|
-
},
|
|
25108
|
+
}, themeIconOnly && {
|
|
25109
|
+
width: theme.__hd__.fab.sizes.width
|
|
25110
|
+
}), theme.__hd__.fab.shadows["default"]);
|
|
25115
25111
|
});
|
|
25116
25112
|
var StyledFABIcon = index$c(Icon)(function (_ref2) {
|
|
25117
25113
|
var theme = _ref2.theme;
|
|
@@ -25219,6 +25215,9 @@ if (Platform.OS === 'android') {
|
|
|
25219
25215
|
UIManager.setLayoutAnimationEnabledExperimental(true);
|
|
25220
25216
|
}
|
|
25221
25217
|
}
|
|
25218
|
+
|
|
25219
|
+
// Extends FABProps with internal-only props. Not part of the public API.
|
|
25220
|
+
|
|
25222
25221
|
var IconOnlyContent = function IconOnlyContent(_ref) {
|
|
25223
25222
|
var icon = _ref.icon,
|
|
25224
25223
|
animated = _ref.animated,
|
|
@@ -25239,12 +25238,15 @@ var IconOnlyContent = function IconOnlyContent(_ref) {
|
|
|
25239
25238
|
};
|
|
25240
25239
|
var IconWithTextContent = function IconWithTextContent(_ref2) {
|
|
25241
25240
|
var icon = _ref2.icon,
|
|
25242
|
-
title = _ref2.title
|
|
25241
|
+
title = _ref2.title,
|
|
25242
|
+
titleStyle = _ref2.titleStyle;
|
|
25243
25243
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(StyledIconContainer$1, null, /*#__PURE__*/React__default.createElement(StyledFABIcon, {
|
|
25244
25244
|
size: "xsmall",
|
|
25245
25245
|
icon: icon,
|
|
25246
25246
|
testID: "styled-fab-icon"
|
|
25247
|
-
})), /*#__PURE__*/React__default.createElement(StyledFABText,
|
|
25247
|
+
})), /*#__PURE__*/React__default.createElement(StyledFABText, {
|
|
25248
|
+
style: titleStyle
|
|
25249
|
+
}, title));
|
|
25248
25250
|
};
|
|
25249
25251
|
var animateWidth = function animateWidth() {
|
|
25250
25252
|
LayoutAnimation.configureNext({
|
|
@@ -25255,7 +25257,10 @@ var animateWidth = function animateWidth() {
|
|
|
25255
25257
|
}
|
|
25256
25258
|
});
|
|
25257
25259
|
};
|
|
25258
|
-
|
|
25260
|
+
|
|
25261
|
+
// Full implementation — accepts InternalFABProps including titleStyle.
|
|
25262
|
+
// Exported as FABInternal for use by sibling HD components (e.g. FAB.Pair).
|
|
25263
|
+
var FABWithTitleStyle = /*#__PURE__*/forwardRef(function (_ref3, ref) {
|
|
25259
25264
|
var _StyleSheet$flatten, _StyleSheet$flatten2;
|
|
25260
25265
|
var onPress = _ref3.onPress,
|
|
25261
25266
|
title = _ref3.title,
|
|
@@ -25263,7 +25268,8 @@ var FAB$1 = /*#__PURE__*/forwardRef(function (_ref3, ref) {
|
|
|
25263
25268
|
iconAnimated = _ref3.animated,
|
|
25264
25269
|
testID = _ref3.testID,
|
|
25265
25270
|
active = _ref3.active,
|
|
25266
|
-
style = _ref3.style
|
|
25271
|
+
style = _ref3.style,
|
|
25272
|
+
titleStyle = _ref3.titleStyle;
|
|
25267
25273
|
var theme = useTheme();
|
|
25268
25274
|
var _React$useState = React__default.useState({
|
|
25269
25275
|
hideTitle: false,
|
|
@@ -25368,6 +25374,7 @@ var FAB$1 = /*#__PURE__*/forwardRef(function (_ref3, ref) {
|
|
|
25368
25374
|
},
|
|
25369
25375
|
activeOpacity: 0.8,
|
|
25370
25376
|
onPress: onPress,
|
|
25377
|
+
themeIconOnly: isIconOnly,
|
|
25371
25378
|
style: [style, {
|
|
25372
25379
|
bottom: displayState.hideButton ? -(marginBottom + theme.__hd__.fab.sizes.height * 2) : (_StyleSheet$flatten2 = StyleSheet$1.flatten(style)) === null || _StyleSheet$flatten2 === void 0 ? void 0 : _StyleSheet$flatten2.bottom,
|
|
25373
25380
|
transform: [{
|
|
@@ -25393,9 +25400,19 @@ var FAB$1 = /*#__PURE__*/forwardRef(function (_ref3, ref) {
|
|
|
25393
25400
|
icon: active ? 'add' : icon
|
|
25394
25401
|
}) : /*#__PURE__*/React__default.createElement(IconWithTextContent, {
|
|
25395
25402
|
icon: icon,
|
|
25396
|
-
title: title
|
|
25403
|
+
title: title,
|
|
25404
|
+
titleStyle: titleStyle
|
|
25397
25405
|
})));
|
|
25398
25406
|
});
|
|
25407
|
+
FABWithTitleStyle.displayName = 'FAB';
|
|
25408
|
+
|
|
25409
|
+
// Public export — clean FABProps, no internal props exposed.
|
|
25410
|
+
// Docgen reads this component and sees only FABProps.
|
|
25411
|
+
var FAB$1 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
25412
|
+
return /*#__PURE__*/React__default.createElement(FABWithTitleStyle, _extends$1({}, props, {
|
|
25413
|
+
ref: ref
|
|
25414
|
+
}));
|
|
25415
|
+
});
|
|
25399
25416
|
FAB$1.displayName = 'FAB';
|
|
25400
25417
|
|
|
25401
25418
|
var StyledContainer$6 = index$c(View)({
|
|
@@ -25564,7 +25581,7 @@ var StyledFABPairWrapper = index$c(Box)({
|
|
|
25564
25581
|
justifyContent: 'center',
|
|
25565
25582
|
alignItems: 'center'
|
|
25566
25583
|
});
|
|
25567
|
-
var StyledFAB = index$c(
|
|
25584
|
+
var StyledFAB = index$c(FABWithTitleStyle)(function (_ref) {
|
|
25568
25585
|
var theme = _ref.theme,
|
|
25569
25586
|
_ref$iconOnly = _ref.iconOnly,
|
|
25570
25587
|
iconOnly = _ref$iconOnly === void 0 ? false : _ref$iconOnly,
|
|
@@ -25586,6 +25603,7 @@ var Pair = function Pair(_ref) {
|
|
|
25586
25603
|
title = fabConfig.title,
|
|
25587
25604
|
onPress = fabConfig.onPress,
|
|
25588
25605
|
testID = fabConfig.testID;
|
|
25606
|
+
var theme = useTheme();
|
|
25589
25607
|
return /*#__PURE__*/React__default.createElement(StyledFABPairWrapper, props, /*#__PURE__*/React__default.createElement(StyledFAB, {
|
|
25590
25608
|
icon: "cancel",
|
|
25591
25609
|
onPress: onCancel,
|
|
@@ -25597,7 +25615,11 @@ var Pair = function Pair(_ref) {
|
|
|
25597
25615
|
onPress: onPress,
|
|
25598
25616
|
testID: testID,
|
|
25599
25617
|
iconOnly: !title,
|
|
25600
|
-
isLast: true
|
|
25618
|
+
isLast: true,
|
|
25619
|
+
titleStyle: {
|
|
25620
|
+
fontSize: theme.fontSizes.medium,
|
|
25621
|
+
fontFamily: theme.fonts.neutral.regular
|
|
25622
|
+
}
|
|
25601
25623
|
}));
|
|
25602
25624
|
};
|
|
25603
25625
|
|
|
@@ -27863,16 +27885,9 @@ var StyledSuccessButtonContainer = index$c(View)(function (_ref8) {
|
|
|
27863
27885
|
paddingVertical: theme.__hd__.success.space.button.wrapperVerticalPadding
|
|
27864
27886
|
};
|
|
27865
27887
|
});
|
|
27866
|
-
var
|
|
27888
|
+
var StyledSuccessButtonSecondary = index$c(CompoundButton)(function (_ref9) {
|
|
27867
27889
|
var theme = _ref9.theme;
|
|
27868
27890
|
return {
|
|
27869
|
-
padding: theme.__hd__.success.space.button.padding
|
|
27870
|
-
};
|
|
27871
|
-
});
|
|
27872
|
-
var StyledSuccessButtonSecondary = index$c(CompoundButton)(function (_ref10) {
|
|
27873
|
-
var theme = _ref10.theme;
|
|
27874
|
-
return {
|
|
27875
|
-
padding: theme.__hd__.success.space.button.padding,
|
|
27876
27891
|
marginTop: theme.__hd__.success.space.button.secondaryCTAMarginTop
|
|
27877
27892
|
};
|
|
27878
27893
|
});
|
|
@@ -27933,7 +27948,7 @@ var SuccessPage = function SuccessPage(_ref2) {
|
|
|
27933
27948
|
}), /*#__PURE__*/React__default.createElement(StyledSuccessTitle, {
|
|
27934
27949
|
level: "h4",
|
|
27935
27950
|
typeface: "playful"
|
|
27936
|
-
}, title), typeof description === 'string' ? /*#__PURE__*/React__default.createElement(StyledSuccessDescription, null, description) : description), !!ctaText && /*#__PURE__*/React__default.createElement(StyledSuccessButtonContainer, null, /*#__PURE__*/React__default.createElement(
|
|
27951
|
+
}, title), typeof description === 'string' ? /*#__PURE__*/React__default.createElement(StyledSuccessDescription, null, description) : description), !!ctaText && /*#__PURE__*/React__default.createElement(StyledSuccessButtonContainer, null, /*#__PURE__*/React__default.createElement(CompoundButton, {
|
|
27937
27952
|
text: ctaText,
|
|
27938
27953
|
onPress: onCtaPress
|
|
27939
27954
|
}), !!showSecondaryButton && /*#__PURE__*/React__default.createElement(StyledSuccessButtonSecondary, {
|
|
@@ -42486,8 +42501,6 @@ var FilterTrigger = function FilterTrigger(_ref) {
|
|
|
42486
42501
|
testID = _ref.testID,
|
|
42487
42502
|
style = _ref.style;
|
|
42488
42503
|
var shouldShowBadge = filterCount > 0 && active;
|
|
42489
|
-
var iconIntent = active ? 'text' : 'inactive';
|
|
42490
|
-
var typographyVariant = active ? 'small-bold' : 'small';
|
|
42491
42504
|
return /*#__PURE__*/React__default.createElement(StyledFilterWrapper, {
|
|
42492
42505
|
testID: testID,
|
|
42493
42506
|
style: style,
|
|
@@ -42495,24 +42508,26 @@ var FilterTrigger = function FilterTrigger(_ref) {
|
|
|
42495
42508
|
themeVariant: variant,
|
|
42496
42509
|
onPress: onPress,
|
|
42497
42510
|
themeHasLabel: !!label
|
|
42498
|
-
}, label ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(
|
|
42499
|
-
variant: typographyVariant
|
|
42500
|
-
}, label), shouldShowBadge && /*#__PURE__*/React__default.createElement(Badge, {
|
|
42501
|
-
content: filterCount,
|
|
42502
|
-
size: "small"
|
|
42503
|
-
}), suffix && /*#__PURE__*/React__default.createElement(Icon, {
|
|
42511
|
+
}, label ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, suffix && /*#__PURE__*/React__default.createElement(Icon, {
|
|
42504
42512
|
icon: suffix,
|
|
42505
42513
|
size: "xxxsmall",
|
|
42506
|
-
intent:
|
|
42514
|
+
intent: "text",
|
|
42507
42515
|
testID: "".concat(testID, "-suffix")
|
|
42516
|
+
}), /*#__PURE__*/React__default.createElement(StyledText, {
|
|
42517
|
+
variant: "small"
|
|
42518
|
+
}, label), shouldShowBadge && /*#__PURE__*/React__default.createElement(Badge, {
|
|
42519
|
+
content: filterCount,
|
|
42520
|
+
size: "small",
|
|
42521
|
+
intent: "primary"
|
|
42508
42522
|
})) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, suffix && /*#__PURE__*/React__default.createElement(Icon, {
|
|
42509
42523
|
icon: suffix,
|
|
42510
42524
|
size: "xsmall",
|
|
42511
|
-
intent:
|
|
42525
|
+
intent: "text",
|
|
42512
42526
|
testID: "".concat(testID, "-suffix")
|
|
42513
42527
|
}), shouldShowBadge && /*#__PURE__*/React__default.createElement(StyledBadge, {
|
|
42514
42528
|
content: filterCount,
|
|
42515
42529
|
size: "small",
|
|
42530
|
+
intent: "primary",
|
|
42516
42531
|
themeHasLabel: !!label
|
|
42517
42532
|
})));
|
|
42518
42533
|
};
|