@hero-design/rn 8.27.0 → 8.27.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/.turbo/turbo-build.log +1 -1
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +319 -311
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +319 -311
- package/package.json +5 -5
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +6 -6
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -2
- package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +3 -17
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +1065 -557
- package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +15 -9
- package/src/components/FAB/ActionGroup/index.tsx +35 -97
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/TextInput/index.tsx +1 -1
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +2 -2
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +2 -2
- package/src/components/Toolbar/StyledToolbar.tsx +23 -2
- package/src/components/Toolbar/ToolbarGroup.tsx +3 -4
- package/src/components/Toolbar/ToolbarItem.tsx +75 -19
- package/src/components/Toolbar/__tests__/ToolbarItem.spec.tsx +39 -22
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +318 -186
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +280 -135
- package/src/components/Typography/Text/StyledText.tsx +2 -1
- package/src/components/Typography/Text/index.tsx +2 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +11 -2
- package/src/theme/components/fab.ts +0 -1
- package/src/theme/components/toolbar.ts +14 -2
- package/src/theme/components/typography.ts +1 -0
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +1 -7
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Toolbar/StyledToolbar.d.ts +11 -1
- package/types/components/Typography/Text/StyledText.d.ts +1 -1
- package/types/components/Typography/Text/index.d.ts +1 -1
- package/types/theme/components/fab.d.ts +0 -1
- package/types/theme/components/toolbar.d.ts +9 -0
- package/types/theme/components/typography.d.ts +1 -0
package/lib/index.js
CHANGED
|
@@ -2357,8 +2357,7 @@ var getFABTheme = function getFABTheme(theme) {
|
|
|
2357
2357
|
headerTextMarginRight: theme.space.large,
|
|
2358
2358
|
headerTextMarginBottom: theme.space.large,
|
|
2359
2359
|
containerPadding: theme.space.large - theme.space.xsmall,
|
|
2360
|
-
titleMarginHorizontal: theme.space.small
|
|
2361
|
-
internalFABMarginBottom: theme.space.large
|
|
2360
|
+
titleMarginHorizontal: theme.space.small
|
|
2362
2361
|
};
|
|
2363
2362
|
var radii = {
|
|
2364
2363
|
actionItem: theme.radii.rounded
|
|
@@ -3077,19 +3076,30 @@ var getToolbarTheme = function getToolbarTheme(theme) {
|
|
|
3077
3076
|
success: theme.colors.success,
|
|
3078
3077
|
danger: theme.colors.warning,
|
|
3079
3078
|
error: theme.colors.error,
|
|
3080
|
-
disabled: theme.colors.disabledOnDefaultGlobalSurface
|
|
3079
|
+
disabled: theme.colors.disabledOnDefaultGlobalSurface,
|
|
3080
|
+
iconButtonBackground: theme.colors.highlightedSurface
|
|
3081
3081
|
};
|
|
3082
3082
|
var space = {
|
|
3083
3083
|
verticalPadding: theme.space.small,
|
|
3084
|
-
horizontalPadding: theme.space.
|
|
3084
|
+
horizontalPadding: theme.space.small,
|
|
3085
|
+
iconButtonLabelMarginLeft: theme.space.small,
|
|
3086
|
+
iconButtonWrapperPadding: theme.space.smallMedium
|
|
3085
3087
|
};
|
|
3086
3088
|
var borderWidths = {
|
|
3087
3089
|
"default": theme.borderWidths.base
|
|
3088
3090
|
};
|
|
3091
|
+
var sizes = {
|
|
3092
|
+
itemWrapperHeight: scale(64)
|
|
3093
|
+
};
|
|
3094
|
+
var radii = {
|
|
3095
|
+
iconButtonWrapperBorderRadius: theme.radii.xxxlarge
|
|
3096
|
+
};
|
|
3089
3097
|
return {
|
|
3090
3098
|
colors: colors,
|
|
3091
3099
|
space: space,
|
|
3092
|
-
borderWidths: borderWidths
|
|
3100
|
+
borderWidths: borderWidths,
|
|
3101
|
+
sizes: sizes,
|
|
3102
|
+
radii: radii
|
|
3093
3103
|
};
|
|
3094
3104
|
};
|
|
3095
3105
|
|
|
@@ -3104,7 +3114,8 @@ var getTypographyTheme = function getTypographyTheme(theme) {
|
|
|
3104
3114
|
warning: theme.colors.warning,
|
|
3105
3115
|
success: theme.colors.success,
|
|
3106
3116
|
inverted: theme.colors.onDarkGlobalSurface,
|
|
3107
|
-
archived: theme.colors.onArchivedSurface
|
|
3117
|
+
archived: theme.colors.onArchivedSurface,
|
|
3118
|
+
disabled: theme.colors.disabledOnDefaultGlobalSurface
|
|
3108
3119
|
};
|
|
3109
3120
|
var fontSizes = {
|
|
3110
3121
|
xsmall: theme.fontSizes.xsmall,
|
|
@@ -6227,7 +6238,7 @@ var Typography = {
|
|
|
6227
6238
|
};
|
|
6228
6239
|
|
|
6229
6240
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
6230
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expense', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'book-outlined', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-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', 'email-outlined', 'enter-arrow', 'envelope-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', 'folder-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'ticket-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined'];
|
|
6241
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expense', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'book-outlined', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-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', 'email-outlined', 'enter-arrow', 'envelope-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', 'folder-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'ticket-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined'];
|
|
6231
6242
|
|
|
6232
6243
|
var activate = 59000;
|
|
6233
6244
|
var adjustment = 59003;
|
|
@@ -6301,21 +6312,21 @@ var user = 59171;
|
|
|
6301
6312
|
var wallet = 59174;
|
|
6302
6313
|
var warning = 59175;
|
|
6303
6314
|
var add = 59181;
|
|
6304
|
-
var bold =
|
|
6305
|
-
var cancel =
|
|
6306
|
-
var checkmark =
|
|
6307
|
-
var italic =
|
|
6308
|
-
var number =
|
|
6309
|
-
var percentage =
|
|
6310
|
-
var redeem =
|
|
6311
|
-
var refresh =
|
|
6312
|
-
var remove =
|
|
6313
|
-
var restart =
|
|
6314
|
-
var strikethrough =
|
|
6315
|
-
var sync =
|
|
6316
|
-
var transfer =
|
|
6317
|
-
var unavailable =
|
|
6318
|
-
var underline =
|
|
6315
|
+
var bold = 59204;
|
|
6316
|
+
var cancel = 59216;
|
|
6317
|
+
var checkmark = 59221;
|
|
6318
|
+
var italic = 59304;
|
|
6319
|
+
var number = 59328;
|
|
6320
|
+
var percentage = 59333;
|
|
6321
|
+
var redeem = 59342;
|
|
6322
|
+
var refresh = 59343;
|
|
6323
|
+
var remove = 59344;
|
|
6324
|
+
var restart = 59346;
|
|
6325
|
+
var strikethrough = 59367;
|
|
6326
|
+
var sync = 59373;
|
|
6327
|
+
var transfer = 59380;
|
|
6328
|
+
var unavailable = 59383;
|
|
6329
|
+
var underline = 59384;
|
|
6319
6330
|
var glyphMap = {
|
|
6320
6331
|
activate: activate,
|
|
6321
6332
|
"add-emoji": 59001,
|
|
@@ -6500,218 +6511,219 @@ var glyphMap = {
|
|
|
6500
6511
|
"add-time-outlined": 59180,
|
|
6501
6512
|
add: add,
|
|
6502
6513
|
"adjustment-outlined": 59182,
|
|
6503
|
-
"
|
|
6504
|
-
"alignment-outlined": 59184,
|
|
6505
|
-
"
|
|
6506
|
-
"
|
|
6507
|
-
"arrow-
|
|
6508
|
-
"arrow-
|
|
6509
|
-
"arrow-
|
|
6510
|
-
"arrow-
|
|
6511
|
-
"arrow-
|
|
6512
|
-
"arrow-
|
|
6513
|
-
"arrow-
|
|
6514
|
-
"
|
|
6515
|
-
"
|
|
6516
|
-
"
|
|
6517
|
-
"
|
|
6518
|
-
"
|
|
6519
|
-
"bell-outlined": 59199,
|
|
6520
|
-
"bell-
|
|
6521
|
-
"
|
|
6522
|
-
"
|
|
6514
|
+
"ai-outlined": 59183,
|
|
6515
|
+
"alignment-2-outlined": 59184,
|
|
6516
|
+
"alignment-outlined": 59185,
|
|
6517
|
+
"all-caps": 59186,
|
|
6518
|
+
"arrow-down": 59187,
|
|
6519
|
+
"arrow-downwards": 59188,
|
|
6520
|
+
"arrow-left": 59189,
|
|
6521
|
+
"arrow-leftwards": 59190,
|
|
6522
|
+
"arrow-right": 59191,
|
|
6523
|
+
"arrow-rightwards": 59192,
|
|
6524
|
+
"arrow-up": 59193,
|
|
6525
|
+
"arrow-upwards": 59194,
|
|
6526
|
+
"article-outlined": 59195,
|
|
6527
|
+
"at-sign": 59196,
|
|
6528
|
+
"auto-graph-outlined": 59197,
|
|
6529
|
+
"beer-outlined": 59198,
|
|
6530
|
+
"bell-active-outlined": 59199,
|
|
6531
|
+
"bell-outlined": 59200,
|
|
6532
|
+
"bell-slash-outlined": 59201,
|
|
6533
|
+
"billing-outlined": 59202,
|
|
6534
|
+
"body-outlined": 59203,
|
|
6523
6535
|
bold: bold,
|
|
6524
|
-
"book-outlined":
|
|
6525
|
-
"bookmark-added-outlined":
|
|
6526
|
-
"bookmark-outlined":
|
|
6527
|
-
"box-check-outlined":
|
|
6528
|
-
"box-outlined":
|
|
6529
|
-
"bullet-points":
|
|
6530
|
-
"cake-outlined":
|
|
6531
|
-
"calendar-dates-outlined":
|
|
6532
|
-
"calendar-star-outlined":
|
|
6533
|
-
"call-split-outlined":
|
|
6534
|
-
"camera-outlined":
|
|
6536
|
+
"book-outlined": 59205,
|
|
6537
|
+
"bookmark-added-outlined": 59206,
|
|
6538
|
+
"bookmark-outlined": 59207,
|
|
6539
|
+
"box-check-outlined": 59208,
|
|
6540
|
+
"box-outlined": 59209,
|
|
6541
|
+
"bullet-points": 59210,
|
|
6542
|
+
"cake-outlined": 59211,
|
|
6543
|
+
"calendar-dates-outlined": 59212,
|
|
6544
|
+
"calendar-star-outlined": 59213,
|
|
6545
|
+
"call-split-outlined": 59214,
|
|
6546
|
+
"camera-outlined": 59215,
|
|
6535
6547
|
cancel: cancel,
|
|
6536
|
-
"car-forward-outlined":
|
|
6537
|
-
"charging-station-outlined":
|
|
6538
|
-
"chat-bubble-outlined":
|
|
6539
|
-
"chat-unread-outlined":
|
|
6548
|
+
"car-forward-outlined": 59217,
|
|
6549
|
+
"charging-station-outlined": 59218,
|
|
6550
|
+
"chat-bubble-outlined": 59219,
|
|
6551
|
+
"chat-unread-outlined": 59220,
|
|
6540
6552
|
checkmark: checkmark,
|
|
6541
|
-
"circle-add-outlined":
|
|
6542
|
-
"circle-cancel-outlined":
|
|
6543
|
-
"circle-down-outlined":
|
|
6544
|
-
"circle-info-outlined":
|
|
6545
|
-
"circle-left-outlined":
|
|
6546
|
-
"circle-ok-outlined":
|
|
6547
|
-
"circle-question-outlined":
|
|
6548
|
-
"circle-remove-outlined":
|
|
6549
|
-
"circle-right-outlined":
|
|
6550
|
-
"circle-up-outlined":
|
|
6551
|
-
"circle-warning-outlined":
|
|
6552
|
-
"clock-2-outlined":
|
|
6553
|
-
"clock-outlined":
|
|
6554
|
-
"cog-outlined":
|
|
6555
|
-
"coin-outlined":
|
|
6556
|
-
"coin-super-outlined":
|
|
6557
|
-
"comment-outlined":
|
|
6558
|
-
"contacts-outlined":
|
|
6559
|
-
"contacts-user-outlined":
|
|
6560
|
-
"credit-card-outlined":
|
|
6561
|
-
"cup-outlined":
|
|
6562
|
-
"dentistry-outlined":
|
|
6563
|
-
"direction-arrows-outlined":
|
|
6564
|
-
"directory-outlined":
|
|
6565
|
-
"document-outlined":
|
|
6566
|
-
"dollar-box-outlined":
|
|
6567
|
-
"dollar-card-outlined":
|
|
6568
|
-
"dollar-coin-shine-outlined":
|
|
6569
|
-
"dollar-credit-card-outlined":
|
|
6570
|
-
"dollar-sign":
|
|
6571
|
-
"double-buildings-outlined":
|
|
6572
|
-
"double-left-arrows":
|
|
6573
|
-
"double-right-arrows":
|
|
6574
|
-
"download-box-outlined":
|
|
6575
|
-
"download-outlined":
|
|
6576
|
-
"edit-template-outlined":
|
|
6577
|
-
"email-outlined":
|
|
6578
|
-
"enter-arrow":
|
|
6579
|
-
"envelope-outlined":
|
|
6580
|
-
"expense-outlined":
|
|
6581
|
-
"explore-outlined":
|
|
6582
|
-
"extension-outlined":
|
|
6583
|
-
"external-link":
|
|
6584
|
-
"eye-invisible-outlined":
|
|
6585
|
-
"eye-outlined":
|
|
6586
|
-
"face-id":
|
|
6587
|
-
"face-meh-outlined":
|
|
6588
|
-
"face-open-smiley-outlined":
|
|
6589
|
-
"face-sad-outlined":
|
|
6590
|
-
"face-smiley-outlined":
|
|
6591
|
-
"fastfood-outlined":
|
|
6592
|
-
"feed-outlined":
|
|
6593
|
-
"file-certified-outlined":
|
|
6594
|
-
"file-clone-outlined":
|
|
6595
|
-
"file-copy-outlined":
|
|
6596
|
-
"file-dispose-outlined":
|
|
6597
|
-
"file-dollar-certified-outlined":
|
|
6598
|
-
"file-dollar-outlined":
|
|
6599
|
-
"file-download-outlined":
|
|
6600
|
-
"file-export-outlined":
|
|
6601
|
-
"file-lock-outlined":
|
|
6602
|
-
"file-outlined":
|
|
6603
|
-
"file-search-outlined":
|
|
6604
|
-
"file-secured-outlined":
|
|
6605
|
-
"file-statutory-outlined":
|
|
6606
|
-
"file-verified-outlined":
|
|
6607
|
-
"filter-outlined":
|
|
6608
|
-
"folder-outlined":
|
|
6609
|
-
"folder-user-outlined":
|
|
6610
|
-
"form-outlined":
|
|
6611
|
-
"funnel-filter-outline":
|
|
6612
|
-
"graph-outlined":
|
|
6613
|
-
"hand-holding-user-outlined":
|
|
6614
|
-
"happy-sun-outlined":
|
|
6615
|
-
"health-bag-outlined":
|
|
6616
|
-
"heart-outlined":
|
|
6617
|
-
"home-active-outlined":
|
|
6618
|
-
"home-outlined":
|
|
6619
|
-
"id-card-outlined":
|
|
6620
|
-
"image-outlined":
|
|
6621
|
-
"import-outlined":
|
|
6622
|
-
"instapay-outlined":
|
|
6553
|
+
"circle-add-outlined": 59222,
|
|
6554
|
+
"circle-cancel-outlined": 59223,
|
|
6555
|
+
"circle-down-outlined": 59224,
|
|
6556
|
+
"circle-info-outlined": 59225,
|
|
6557
|
+
"circle-left-outlined": 59226,
|
|
6558
|
+
"circle-ok-outlined": 59227,
|
|
6559
|
+
"circle-question-outlined": 59228,
|
|
6560
|
+
"circle-remove-outlined": 59229,
|
|
6561
|
+
"circle-right-outlined": 59230,
|
|
6562
|
+
"circle-up-outlined": 59231,
|
|
6563
|
+
"circle-warning-outlined": 59232,
|
|
6564
|
+
"clock-2-outlined": 59233,
|
|
6565
|
+
"clock-outlined": 59234,
|
|
6566
|
+
"cog-outlined": 59235,
|
|
6567
|
+
"coin-outlined": 59236,
|
|
6568
|
+
"coin-super-outlined": 59237,
|
|
6569
|
+
"comment-outlined": 59238,
|
|
6570
|
+
"contacts-outlined": 59239,
|
|
6571
|
+
"contacts-user-outlined": 59240,
|
|
6572
|
+
"credit-card-outlined": 59241,
|
|
6573
|
+
"cup-outlined": 59242,
|
|
6574
|
+
"dentistry-outlined": 59243,
|
|
6575
|
+
"direction-arrows-outlined": 59244,
|
|
6576
|
+
"directory-outlined": 59245,
|
|
6577
|
+
"document-outlined": 59246,
|
|
6578
|
+
"dollar-box-outlined": 59247,
|
|
6579
|
+
"dollar-card-outlined": 59248,
|
|
6580
|
+
"dollar-coin-shine-outlined": 59249,
|
|
6581
|
+
"dollar-credit-card-outlined": 59250,
|
|
6582
|
+
"dollar-sign": 59251,
|
|
6583
|
+
"double-buildings-outlined": 59252,
|
|
6584
|
+
"double-left-arrows": 59253,
|
|
6585
|
+
"double-right-arrows": 59254,
|
|
6586
|
+
"download-box-outlined": 59255,
|
|
6587
|
+
"download-outlined": 59256,
|
|
6588
|
+
"edit-template-outlined": 59257,
|
|
6589
|
+
"email-outlined": 59258,
|
|
6590
|
+
"enter-arrow": 59259,
|
|
6591
|
+
"envelope-outlined": 59260,
|
|
6592
|
+
"expense-outlined": 59261,
|
|
6593
|
+
"explore-outlined": 59262,
|
|
6594
|
+
"extension-outlined": 59263,
|
|
6595
|
+
"external-link": 59264,
|
|
6596
|
+
"eye-invisible-outlined": 59265,
|
|
6597
|
+
"eye-outlined": 59266,
|
|
6598
|
+
"face-id": 59267,
|
|
6599
|
+
"face-meh-outlined": 59268,
|
|
6600
|
+
"face-open-smiley-outlined": 59269,
|
|
6601
|
+
"face-sad-outlined": 59270,
|
|
6602
|
+
"face-smiley-outlined": 59271,
|
|
6603
|
+
"fastfood-outlined": 59272,
|
|
6604
|
+
"feed-outlined": 59273,
|
|
6605
|
+
"file-certified-outlined": 59274,
|
|
6606
|
+
"file-clone-outlined": 59275,
|
|
6607
|
+
"file-copy-outlined": 59276,
|
|
6608
|
+
"file-dispose-outlined": 59277,
|
|
6609
|
+
"file-dollar-certified-outlined": 59278,
|
|
6610
|
+
"file-dollar-outlined": 59279,
|
|
6611
|
+
"file-download-outlined": 59280,
|
|
6612
|
+
"file-export-outlined": 59281,
|
|
6613
|
+
"file-lock-outlined": 59282,
|
|
6614
|
+
"file-outlined": 59283,
|
|
6615
|
+
"file-search-outlined": 59284,
|
|
6616
|
+
"file-secured-outlined": 59285,
|
|
6617
|
+
"file-statutory-outlined": 59286,
|
|
6618
|
+
"file-verified-outlined": 59287,
|
|
6619
|
+
"filter-outlined": 59288,
|
|
6620
|
+
"folder-outlined": 59289,
|
|
6621
|
+
"folder-user-outlined": 59290,
|
|
6622
|
+
"form-outlined": 59291,
|
|
6623
|
+
"funnel-filter-outline": 59292,
|
|
6624
|
+
"graph-outlined": 59293,
|
|
6625
|
+
"hand-holding-user-outlined": 59294,
|
|
6626
|
+
"happy-sun-outlined": 59295,
|
|
6627
|
+
"health-bag-outlined": 59296,
|
|
6628
|
+
"heart-outlined": 59297,
|
|
6629
|
+
"home-active-outlined": 59298,
|
|
6630
|
+
"home-outlined": 59299,
|
|
6631
|
+
"id-card-outlined": 59300,
|
|
6632
|
+
"image-outlined": 59301,
|
|
6633
|
+
"import-outlined": 59302,
|
|
6634
|
+
"instapay-outlined": 59303,
|
|
6623
6635
|
italic: italic,
|
|
6624
|
-
"link-1":
|
|
6625
|
-
"link-2":
|
|
6626
|
-
"list-outlined":
|
|
6627
|
-
"live-help-outlined":
|
|
6628
|
-
"location-on-outlined":
|
|
6629
|
-
"location-outlined":
|
|
6630
|
-
"lock-outlined":
|
|
6631
|
-
"locked-file-outlined":
|
|
6632
|
-
"log-out":
|
|
6633
|
-
"media-content-outlined":
|
|
6634
|
-
"menu-close":
|
|
6635
|
-
"menu-expand":
|
|
6636
|
-
"menu-fold-outlined":
|
|
6637
|
-
"menu-unfold-outlined":
|
|
6638
|
-
"moneybag-outlined":
|
|
6639
|
-
"moon-outlined":
|
|
6640
|
-
"more-horizontal":
|
|
6641
|
-
"more-vertical":
|
|
6642
|
-
"multiple-folders-outlined":
|
|
6643
|
-
"multiple-users-outlined":
|
|
6644
|
-
"near-me-outlined":
|
|
6645
|
-
"node-outlined":
|
|
6646
|
-
"number-points":
|
|
6636
|
+
"link-1": 59305,
|
|
6637
|
+
"link-2": 59306,
|
|
6638
|
+
"list-outlined": 59307,
|
|
6639
|
+
"live-help-outlined": 59308,
|
|
6640
|
+
"location-on-outlined": 59309,
|
|
6641
|
+
"location-outlined": 59310,
|
|
6642
|
+
"lock-outlined": 59311,
|
|
6643
|
+
"locked-file-outlined": 59312,
|
|
6644
|
+
"log-out": 59313,
|
|
6645
|
+
"media-content-outlined": 59314,
|
|
6646
|
+
"menu-close": 59315,
|
|
6647
|
+
"menu-expand": 59316,
|
|
6648
|
+
"menu-fold-outlined": 59317,
|
|
6649
|
+
"menu-unfold-outlined": 59318,
|
|
6650
|
+
"moneybag-outlined": 59319,
|
|
6651
|
+
"moon-outlined": 59320,
|
|
6652
|
+
"more-horizontal": 59321,
|
|
6653
|
+
"more-vertical": 59322,
|
|
6654
|
+
"multiple-folders-outlined": 59323,
|
|
6655
|
+
"multiple-users-outlined": 59324,
|
|
6656
|
+
"near-me-outlined": 59325,
|
|
6657
|
+
"node-outlined": 59326,
|
|
6658
|
+
"number-points": 59327,
|
|
6647
6659
|
number: number,
|
|
6648
|
-
"overview-outlined":
|
|
6649
|
-
"payment-summary-outlined":
|
|
6650
|
-
"payslip-outlined":
|
|
6651
|
-
"pencil-outlined":
|
|
6660
|
+
"overview-outlined": 59329,
|
|
6661
|
+
"payment-summary-outlined": 59330,
|
|
6662
|
+
"payslip-outlined": 59331,
|
|
6663
|
+
"pencil-outlined": 59332,
|
|
6652
6664
|
percentage: percentage,
|
|
6653
|
-
"phone-outlined":
|
|
6654
|
-
"piggy-bank-outlined":
|
|
6655
|
-
"plane-outlined":
|
|
6656
|
-
"play-circle-outlined":
|
|
6657
|
-
"print-outlined":
|
|
6658
|
-
"qr-code-outlined":
|
|
6659
|
-
"qualification-outlined":
|
|
6660
|
-
"re-assign":
|
|
6665
|
+
"phone-outlined": 59334,
|
|
6666
|
+
"piggy-bank-outlined": 59335,
|
|
6667
|
+
"plane-outlined": 59336,
|
|
6668
|
+
"play-circle-outlined": 59337,
|
|
6669
|
+
"print-outlined": 59338,
|
|
6670
|
+
"qr-code-outlined": 59339,
|
|
6671
|
+
"qualification-outlined": 59340,
|
|
6672
|
+
"re-assign": 59341,
|
|
6661
6673
|
redeem: redeem,
|
|
6662
6674
|
refresh: refresh,
|
|
6663
6675
|
remove: remove,
|
|
6664
|
-
"reply-outlined":
|
|
6676
|
+
"reply-outlined": 59345,
|
|
6665
6677
|
restart: restart,
|
|
6666
|
-
"return-arrow":
|
|
6667
|
-
"rostering-outlined":
|
|
6668
|
-
"save-outlined":
|
|
6669
|
-
"schedule-outlined":
|
|
6670
|
-
"search-outlined":
|
|
6671
|
-
"search-secured-outlined":
|
|
6672
|
-
"send-outlined":
|
|
6673
|
-
"share-1":
|
|
6674
|
-
"share-2":
|
|
6675
|
-
"share-outlined":
|
|
6676
|
-
"show-chart-outlined":
|
|
6677
|
-
"single-down-arrow":
|
|
6678
|
-
"single-left-arrow":
|
|
6679
|
-
"single-right-arrow":
|
|
6680
|
-
"single-up-arrow":
|
|
6681
|
-
"speaker-active-outlined":
|
|
6682
|
-
"speaker-outlined":
|
|
6683
|
-
"star-circle-outlined":
|
|
6684
|
-
"star-outlined":
|
|
6685
|
-
"stopwatch-outlined":
|
|
6678
|
+
"return-arrow": 59347,
|
|
6679
|
+
"rostering-outlined": 59348,
|
|
6680
|
+
"save-outlined": 59349,
|
|
6681
|
+
"schedule-outlined": 59350,
|
|
6682
|
+
"search-outlined": 59351,
|
|
6683
|
+
"search-secured-outlined": 59352,
|
|
6684
|
+
"send-outlined": 59353,
|
|
6685
|
+
"share-1": 59354,
|
|
6686
|
+
"share-2": 59355,
|
|
6687
|
+
"share-outlined": 59356,
|
|
6688
|
+
"show-chart-outlined": 59357,
|
|
6689
|
+
"single-down-arrow": 59358,
|
|
6690
|
+
"single-left-arrow": 59359,
|
|
6691
|
+
"single-right-arrow": 59360,
|
|
6692
|
+
"single-up-arrow": 59361,
|
|
6693
|
+
"speaker-active-outlined": 59362,
|
|
6694
|
+
"speaker-outlined": 59363,
|
|
6695
|
+
"star-circle-outlined": 59364,
|
|
6696
|
+
"star-outlined": 59365,
|
|
6697
|
+
"stopwatch-outlined": 59366,
|
|
6686
6698
|
strikethrough: strikethrough,
|
|
6687
|
-
"styler-outlined":
|
|
6688
|
-
"suitcase-clock-outlined":
|
|
6689
|
-
"suitcase-outlined":
|
|
6690
|
-
"survey-outlined":
|
|
6691
|
-
"switch-outlined":
|
|
6699
|
+
"styler-outlined": 59368,
|
|
6700
|
+
"suitcase-clock-outlined": 59369,
|
|
6701
|
+
"suitcase-outlined": 59370,
|
|
6702
|
+
"survey-outlined": 59371,
|
|
6703
|
+
"switch-outlined": 59372,
|
|
6692
6704
|
sync: sync,
|
|
6693
|
-
"tag-outlined":
|
|
6694
|
-
"target-outlined":
|
|
6695
|
-
"tennis-outlined":
|
|
6696
|
-
"ticket-outlined":
|
|
6697
|
-
"timesheet-outlined":
|
|
6698
|
-
"today-outlined":
|
|
6705
|
+
"tag-outlined": 59374,
|
|
6706
|
+
"target-outlined": 59375,
|
|
6707
|
+
"tennis-outlined": 59376,
|
|
6708
|
+
"ticket-outlined": 59377,
|
|
6709
|
+
"timesheet-outlined": 59378,
|
|
6710
|
+
"today-outlined": 59379,
|
|
6699
6711
|
transfer: transfer,
|
|
6700
|
-
"trash-bin-outlined":
|
|
6701
|
-
"umbrela-outlined":
|
|
6712
|
+
"trash-bin-outlined": 59381,
|
|
6713
|
+
"umbrela-outlined": 59382,
|
|
6702
6714
|
unavailable: unavailable,
|
|
6703
6715
|
underline: underline,
|
|
6704
|
-
"union-outlined":
|
|
6705
|
-
"unlock-outlined":
|
|
6706
|
-
"upload-outlined":
|
|
6707
|
-
"user-circle-outlined":
|
|
6708
|
-
"user-gear-outlined":
|
|
6709
|
-
"user-outlined":
|
|
6710
|
-
"user-rectangle-outlined":
|
|
6711
|
-
"video-1-outlined":
|
|
6712
|
-
"video-2-outlined":
|
|
6713
|
-
"volunteer-outlined":
|
|
6714
|
-
"wallet-outlined":
|
|
6716
|
+
"union-outlined": 59385,
|
|
6717
|
+
"unlock-outlined": 59386,
|
|
6718
|
+
"upload-outlined": 59387,
|
|
6719
|
+
"user-circle-outlined": 59388,
|
|
6720
|
+
"user-gear-outlined": 59389,
|
|
6721
|
+
"user-outlined": 59390,
|
|
6722
|
+
"user-rectangle-outlined": 59391,
|
|
6723
|
+
"video-1-outlined": 59392,
|
|
6724
|
+
"video-2-outlined": 59393,
|
|
6725
|
+
"volunteer-outlined": 59394,
|
|
6726
|
+
"wallet-outlined": 59395
|
|
6715
6727
|
};
|
|
6716
6728
|
|
|
6717
6729
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -12054,7 +12066,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12054
12066
|
testID: "input-suffix",
|
|
12055
12067
|
icon: actualSuffix,
|
|
12056
12068
|
spin: actualSuffix === 'loading',
|
|
12057
|
-
size: "
|
|
12069
|
+
size: "medium"
|
|
12058
12070
|
}) : suffix), /*#__PURE__*/React__default["default"].createElement(StyledErrorAndHelpTextContainer, null, /*#__PURE__*/React__default["default"].createElement(StyledErrorAndMaxLengthContainer, null, error ? /*#__PURE__*/React__default["default"].createElement(StyledErrorContainer$2, null, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
12059
12071
|
testID: "input-error-icon",
|
|
12060
12072
|
icon: "circle-info",
|
|
@@ -13102,11 +13114,10 @@ var StyledBackdrop = index$a(reactNative.Animated.View)(function (_ref2) {
|
|
|
13102
13114
|
var theme = _ref2.theme;
|
|
13103
13115
|
return {
|
|
13104
13116
|
position: 'absolute',
|
|
13105
|
-
|
|
13106
|
-
height: '100%',
|
|
13107
|
-
width: '100%',
|
|
13108
|
-
bottom: 0,
|
|
13117
|
+
left: 0,
|
|
13109
13118
|
right: 0,
|
|
13119
|
+
top: 0,
|
|
13120
|
+
bottom: 0,
|
|
13110
13121
|
backgroundColor: theme.__hd__.fab.colors.backdropBackground
|
|
13111
13122
|
};
|
|
13112
13123
|
});
|
|
@@ -13122,17 +13133,6 @@ var StyledHeaderText = index$a(Typography.Text)(function (_ref3) {
|
|
|
13122
13133
|
textAlign: 'right'
|
|
13123
13134
|
};
|
|
13124
13135
|
});
|
|
13125
|
-
var StyledModalView = index$a(reactNative.View)({
|
|
13126
|
-
position: 'absolute',
|
|
13127
|
-
flex: 1,
|
|
13128
|
-
height: '100%',
|
|
13129
|
-
width: '100%',
|
|
13130
|
-
bottom: 0,
|
|
13131
|
-
right: 0,
|
|
13132
|
-
justifyContent: 'flex-end',
|
|
13133
|
-
alignItems: 'flex-end',
|
|
13134
|
-
backgroundColor: 'transparent'
|
|
13135
|
-
});
|
|
13136
13136
|
|
|
13137
13137
|
var ActionItemsListComponent = function ActionItemsListComponent(_ref) {
|
|
13138
13138
|
var style = _ref.style,
|
|
@@ -13155,43 +13155,15 @@ var ActionGroup = function ActionGroup(_ref2) {
|
|
|
13155
13155
|
fabTitle = _ref2.fabTitle,
|
|
13156
13156
|
_ref2$fabIcon = _ref2.fabIcon,
|
|
13157
13157
|
fabIcon = _ref2$fabIcon === void 0 ? 'add' : _ref2$fabIcon;
|
|
13158
|
-
var theme = useTheme();
|
|
13159
|
-
// Internal state to control the animation of the action group
|
|
13160
|
-
var _useState = React.useState(active),
|
|
13161
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
13162
|
-
visible = _useState2[0],
|
|
13163
|
-
setVisibility = _useState2[1];
|
|
13164
13158
|
var tranlateXAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
|
|
13165
13159
|
React.useEffect(function () {
|
|
13166
|
-
if (active && !visible) {
|
|
13167
|
-
setVisibility(true);
|
|
13168
|
-
}
|
|
13169
|
-
}, [active]);
|
|
13170
|
-
React.useEffect(function () {
|
|
13171
|
-
if (active) {
|
|
13172
|
-
var animation = reactNative.Animated.timing(tranlateXAnimation.current, {
|
|
13173
|
-
toValue: 1,
|
|
13174
|
-
useNativeDriver: reactNative.Platform.OS === 'ios' || reactNative.Platform.OS === 'android',
|
|
13175
|
-
easing: reactNative.Easing.inOut(reactNative.Easing.cubic)
|
|
13176
|
-
});
|
|
13177
|
-
animation.start();
|
|
13178
|
-
}
|
|
13179
|
-
}, [active]);
|
|
13180
|
-
// Make sure the animation finishes running before closing the modal
|
|
13181
|
-
var onInternalFABPress = React.useCallback(function () {
|
|
13182
|
-
if (!onPress) {
|
|
13183
|
-
return;
|
|
13184
|
-
}
|
|
13185
13160
|
var animation = reactNative.Animated.timing(tranlateXAnimation.current, {
|
|
13186
|
-
toValue: 0,
|
|
13161
|
+
toValue: active ? 1 : 0,
|
|
13187
13162
|
useNativeDriver: reactNative.Platform.OS === 'ios' || reactNative.Platform.OS === 'android',
|
|
13188
13163
|
easing: reactNative.Easing.inOut(reactNative.Easing.cubic)
|
|
13189
13164
|
});
|
|
13190
|
-
animation.start(
|
|
13191
|
-
|
|
13192
|
-
onPress();
|
|
13193
|
-
});
|
|
13194
|
-
}, [visible]);
|
|
13165
|
+
animation.start();
|
|
13166
|
+
}, [active]);
|
|
13195
13167
|
var interpolatedTranlateXAnimation = tranlateXAnimation.current.interpolate({
|
|
13196
13168
|
inputRange: [0, 1],
|
|
13197
13169
|
outputRange: [400, 0]
|
|
@@ -13208,18 +13180,13 @@ var ActionGroup = function ActionGroup(_ref2) {
|
|
|
13208
13180
|
testID: testID,
|
|
13209
13181
|
pointerEvents: "box-none",
|
|
13210
13182
|
style: style
|
|
13211
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactNative.Modal, {
|
|
13212
|
-
visible: visible,
|
|
13213
|
-
transparent: true,
|
|
13214
|
-
statusBarTranslucent: true,
|
|
13215
|
-
animationType: "none"
|
|
13216
13183
|
}, /*#__PURE__*/React__default["default"].createElement(StyledBackdrop, {
|
|
13184
|
+
pointerEvents: active ? 'auto' : 'box-none',
|
|
13185
|
+
testID: "back-drop",
|
|
13217
13186
|
style: {
|
|
13218
13187
|
opacity: interpolatedBackdropOpacityAnimation
|
|
13219
|
-
}
|
|
13220
|
-
|
|
13221
|
-
pointerEvents: active ? 'auto' : 'box-none'
|
|
13222
|
-
}), /*#__PURE__*/React__default["default"].createElement(StyledModalView, null, /*#__PURE__*/React__default["default"].createElement(StyledActionGroupContainer, {
|
|
13188
|
+
}
|
|
13189
|
+
}), /*#__PURE__*/React__default["default"].createElement(StyledActionGroupContainer, {
|
|
13223
13190
|
pointerEvents: active ? 'auto' : 'none',
|
|
13224
13191
|
testID: "action-group",
|
|
13225
13192
|
style: {
|
|
@@ -13232,17 +13199,7 @@ var ActionGroup = function ActionGroup(_ref2) {
|
|
|
13232
13199
|
testID: "header-text"
|
|
13233
13200
|
}, headerTitle), /*#__PURE__*/React__default["default"].createElement(ActionItemsListComponent, {
|
|
13234
13201
|
items: items
|
|
13235
|
-
})),
|
|
13236
|
-
testID: "fab",
|
|
13237
|
-
icon: fabIcon,
|
|
13238
|
-
onPress: onInternalFABPress,
|
|
13239
|
-
animated: true,
|
|
13240
|
-
active: active,
|
|
13241
|
-
title: fabTitle,
|
|
13242
|
-
style: {
|
|
13243
|
-
marginBottom: theme.__hd__.fab.space.internalFABMarginBottom
|
|
13244
|
-
}
|
|
13245
|
-
}))), !active && /*#__PURE__*/React__default["default"].createElement(StyledFAB, {
|
|
13202
|
+
})), /*#__PURE__*/React__default["default"].createElement(StyledFAB, {
|
|
13246
13203
|
testID: "fab",
|
|
13247
13204
|
icon: fabIcon,
|
|
13248
13205
|
onPress: onPress,
|
|
@@ -16485,7 +16442,6 @@ var ToolbarWrapper = index$a(reactNative.View)(function (_ref) {
|
|
|
16485
16442
|
zIndex: 9999,
|
|
16486
16443
|
elevation: 9999,
|
|
16487
16444
|
width: '100%',
|
|
16488
|
-
paddingVertical: theme.__hd__.toolbar.space.verticalPadding,
|
|
16489
16445
|
paddingHorizontal: theme.__hd__.toolbar.space.horizontalPadding,
|
|
16490
16446
|
borderTopWidth: theme.__hd__.toolbar.borderWidths["default"],
|
|
16491
16447
|
borderColor: theme.__hd__.toolbar.colors.border,
|
|
@@ -16511,47 +16467,102 @@ var ToolbarGroupWrapper = index$a(reactNative.View)(function (_ref2) {
|
|
|
16511
16467
|
var ToolbarItemWrapper = index$a(reactNative.TouchableOpacity)(function (_ref3) {
|
|
16512
16468
|
var theme = _ref3.theme;
|
|
16513
16469
|
return {
|
|
16470
|
+
height: theme.__hd__.toolbar.sizes.itemWrapperHeight,
|
|
16514
16471
|
paddingVertical: theme.__hd__.toolbar.space.verticalPadding,
|
|
16515
16472
|
paddingHorizontal: theme.__hd__.toolbar.space.horizontalPadding,
|
|
16516
|
-
alignItems: 'center'
|
|
16473
|
+
alignItems: 'center',
|
|
16474
|
+
flexDirection: 'row'
|
|
16475
|
+
};
|
|
16476
|
+
});
|
|
16477
|
+
var IconButtonWrapper = index$a(reactNative.View)(function (_ref4) {
|
|
16478
|
+
var theme = _ref4.theme;
|
|
16479
|
+
return {
|
|
16480
|
+
backgroundColor: theme.__hd__.toolbar.colors.iconButtonBackground,
|
|
16481
|
+
borderRadius: theme.__hd__.toolbar.radii.iconButtonWrapperBorderRadius,
|
|
16482
|
+
justifyContent: 'center',
|
|
16483
|
+
alignItems: 'center',
|
|
16484
|
+
flexDirection: 'row',
|
|
16485
|
+
padding: theme.__hd__.toolbar.space.iconButtonWrapperPadding
|
|
16486
|
+
};
|
|
16487
|
+
});
|
|
16488
|
+
var IconButtonLabel = index$a(Typography.Text)(function (_ref5) {
|
|
16489
|
+
var theme = _ref5.theme;
|
|
16490
|
+
return {
|
|
16491
|
+
marginLeft: theme.__hd__.toolbar.space.iconButtonLabelMarginLeft
|
|
16517
16492
|
};
|
|
16518
16493
|
});
|
|
16519
16494
|
|
|
16520
|
-
var
|
|
16495
|
+
var IconItem = function IconItem(_ref) {
|
|
16521
16496
|
var icon = _ref.icon,
|
|
16522
|
-
|
|
16523
|
-
|
|
16524
|
-
|
|
16525
|
-
|
|
16526
|
-
_ref$disabled = _ref.disabled,
|
|
16527
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
16528
|
-
style = _ref.style;
|
|
16529
|
-
return /*#__PURE__*/React__default["default"].createElement(ToolbarItemWrapper, {
|
|
16530
|
-
onPress: onPress,
|
|
16531
|
-
disabled: disabled,
|
|
16532
|
-
style: style
|
|
16533
|
-
}, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
16497
|
+
intent = _ref.intent,
|
|
16498
|
+
disabled = _ref.disabled,
|
|
16499
|
+
label = _ref.label;
|
|
16500
|
+
return /*#__PURE__*/React__default["default"].createElement(IconButtonWrapper, null, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
16534
16501
|
icon: icon,
|
|
16535
|
-
size:
|
|
16502
|
+
size: "medium",
|
|
16536
16503
|
intent: disabled ? 'disabled-text' : intent,
|
|
16537
16504
|
testID: "toolbar-item-icon-".concat(icon)
|
|
16538
|
-
})
|
|
16539
|
-
fontSize:
|
|
16505
|
+
}), label ? /*#__PURE__*/React__default["default"].createElement(IconButtonLabel, {
|
|
16506
|
+
fontSize: "large",
|
|
16540
16507
|
fontWeight: "semi-bold",
|
|
16541
16508
|
intent: disabled ? 'subdued' : intent,
|
|
16542
16509
|
allowFontScaling: false,
|
|
16543
16510
|
numberOfLines: 1
|
|
16544
16511
|
}, label) : null);
|
|
16545
16512
|
};
|
|
16513
|
+
var ToolbarItemContent = function ToolbarItemContent(_ref2) {
|
|
16514
|
+
var icon = _ref2.icon,
|
|
16515
|
+
label = _ref2.label,
|
|
16516
|
+
_ref2$intent = _ref2.intent,
|
|
16517
|
+
intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
|
|
16518
|
+
_ref2$disabled = _ref2.disabled,
|
|
16519
|
+
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled;
|
|
16520
|
+
if (icon) {
|
|
16521
|
+
return /*#__PURE__*/React__default["default"].createElement(IconItem, {
|
|
16522
|
+
icon: icon,
|
|
16523
|
+
intent: intent,
|
|
16524
|
+
disabled: disabled,
|
|
16525
|
+
label: label
|
|
16526
|
+
});
|
|
16527
|
+
}
|
|
16528
|
+
if (label) {
|
|
16529
|
+
return /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
|
|
16530
|
+
fontSize: "large",
|
|
16531
|
+
fontWeight: "semi-bold",
|
|
16532
|
+
intent: disabled ? 'disabled' : intent,
|
|
16533
|
+
allowFontScaling: false,
|
|
16534
|
+
numberOfLines: 1
|
|
16535
|
+
}, label);
|
|
16536
|
+
}
|
|
16537
|
+
return null;
|
|
16538
|
+
};
|
|
16539
|
+
var ToolbarItem = function ToolbarItem(_ref3) {
|
|
16540
|
+
var icon = _ref3.icon,
|
|
16541
|
+
label = _ref3.label,
|
|
16542
|
+
onPress = _ref3.onPress,
|
|
16543
|
+
_ref3$intent = _ref3.intent,
|
|
16544
|
+
intent = _ref3$intent === void 0 ? 'primary' : _ref3$intent,
|
|
16545
|
+
_ref3$disabled = _ref3.disabled,
|
|
16546
|
+
disabled = _ref3$disabled === void 0 ? false : _ref3$disabled,
|
|
16547
|
+
style = _ref3.style;
|
|
16548
|
+
return /*#__PURE__*/React__default["default"].createElement(ToolbarItemWrapper, {
|
|
16549
|
+
onPress: onPress,
|
|
16550
|
+
disabled: disabled,
|
|
16551
|
+
style: style
|
|
16552
|
+
}, /*#__PURE__*/React__default["default"].createElement(ToolbarItemContent, {
|
|
16553
|
+
icon: icon,
|
|
16554
|
+
label: label,
|
|
16555
|
+
intent: intent,
|
|
16556
|
+
disabled: disabled
|
|
16557
|
+
}));
|
|
16558
|
+
};
|
|
16546
16559
|
|
|
16547
16560
|
var ToolbarGroup = function ToolbarGroup(_ref) {
|
|
16548
16561
|
var _ref$align = _ref.align,
|
|
16549
16562
|
align = _ref$align === void 0 ? 'right' : _ref$align,
|
|
16550
16563
|
_ref$items = _ref.items,
|
|
16551
16564
|
items = _ref$items === void 0 ? [] : _ref$items;
|
|
16552
|
-
|
|
16553
|
-
// issue: https://github.com/Thinkei/hero-design/issues/1619
|
|
16554
|
-
var maxWidth = items.length > 0 ? "".concat(100 / items.length, "%") : undefined;
|
|
16565
|
+
useDeprecation("Toolbar's align prop is deprecated", align !== 'right');
|
|
16555
16566
|
return /*#__PURE__*/React__default["default"].createElement(ToolbarGroupWrapper, {
|
|
16556
16567
|
align: align
|
|
16557
16568
|
}, items.map(function (_ref2) {
|
|
@@ -16566,10 +16577,7 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
|
|
|
16566
16577
|
icon: icon,
|
|
16567
16578
|
intent: intent,
|
|
16568
16579
|
onPress: onPress,
|
|
16569
|
-
disabled: disabled
|
|
16570
|
-
style: {
|
|
16571
|
-
maxWidth: maxWidth
|
|
16572
|
-
}
|
|
16580
|
+
disabled: disabled
|
|
16573
16581
|
});
|
|
16574
16582
|
}));
|
|
16575
16583
|
};
|