@hero-design/rn 8.51.0 → 8.52.1
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/CHANGELOG.md +20 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +258 -254
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +258 -254
- package/package.json +1 -1
- package/src/components/Carousel/CardCarousel.tsx +1 -5
- package/src/components/Carousel/StyledCardCarousel.tsx +1 -16
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +92 -172
- package/src/components/Carousel/__tests__/index.spec.tsx +14 -0
- package/src/components/Carousel/index.tsx +15 -14
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +6 -3
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +2 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -1
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +4 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +12 -6
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +10 -5
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +90 -54
- package/src/components/Swipeable/index.tsx +31 -17
- package/src/components/TextInput/StyledTextInput.tsx +3 -4
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +0 -10
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +34 -25
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +4 -2
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +4 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +5 -12
- package/src/theme/components/cardCarousel.ts +1 -8
- package/src/theme/components/swipeable.ts +6 -1
- package/src/theme/components/textInput.ts +1 -2
- package/types/components/Carousel/StyledCardCarousel.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/theme/components/cardCarousel.d.ts +0 -10
- package/types/theme/components/swipeable.d.ts +4 -0
- package/types/theme/components/textInput.d.ts +1 -2
package/es/index.js
CHANGED
|
@@ -2424,18 +2424,10 @@ var getCardCarouselTheme = function getCardCarouselTheme(theme) {
|
|
|
2424
2424
|
var colors = {
|
|
2425
2425
|
carouselItemBackground: theme.colors.defaultSurface
|
|
2426
2426
|
};
|
|
2427
|
-
var shadows = {
|
|
2428
|
-
color: theme.shadows["default"].shadowColor,
|
|
2429
|
-
offset: theme.shadows["default"].shadowOffset,
|
|
2430
|
-
opacity: theme.shadows["default"].shadowOpacity,
|
|
2431
|
-
radius: theme.shadows["default"].shadowRadius,
|
|
2432
|
-
elevation: theme.shadows["default"].elevation
|
|
2433
|
-
};
|
|
2434
2427
|
var radii = {
|
|
2435
2428
|
card: theme.radii.medium
|
|
2436
2429
|
};
|
|
2437
2430
|
return {
|
|
2438
|
-
shadows: shadows,
|
|
2439
2431
|
colors: colors,
|
|
2440
2432
|
space: space,
|
|
2441
2433
|
radii: radii
|
|
@@ -3154,14 +3146,19 @@ var getSwipeableTheme = function getSwipeableTheme(theme) {
|
|
|
3154
3146
|
var colors = {
|
|
3155
3147
|
success: theme.colors.success,
|
|
3156
3148
|
danger: theme.colors.error,
|
|
3157
|
-
primary: theme.colors.primary
|
|
3149
|
+
primary: theme.colors.primary,
|
|
3150
|
+
defaultContainerBackground: theme.colors.defaultGlobalSurface
|
|
3158
3151
|
};
|
|
3159
3152
|
var radii = {
|
|
3160
3153
|
swipeableContainer: theme.radii.medium
|
|
3161
3154
|
};
|
|
3155
|
+
var space = {
|
|
3156
|
+
containerExtraWidth: theme.space.xsmall
|
|
3157
|
+
};
|
|
3162
3158
|
return {
|
|
3163
3159
|
colors: colors,
|
|
3164
|
-
radii: radii
|
|
3160
|
+
radii: radii,
|
|
3161
|
+
space: space
|
|
3165
3162
|
};
|
|
3166
3163
|
};
|
|
3167
3164
|
|
|
@@ -3340,8 +3337,7 @@ var getTextInputTheme = function getTextInputTheme(theme) {
|
|
|
3340
3337
|
inputHorizontalMargin: theme.space.small,
|
|
3341
3338
|
errorContainerMarginRight: theme.space.xsmall,
|
|
3342
3339
|
errorMarginLeft: theme.space.xsmall,
|
|
3343
|
-
|
|
3344
|
-
errorAndHelpTextContainerPaddingLeft: theme.space.medium,
|
|
3340
|
+
errorAndHelpTextContainerHorizontalPadding: theme.space.medium,
|
|
3345
3341
|
containerMarginTop: theme.space.small,
|
|
3346
3342
|
labelInsideTextInputMarginTop: -theme.space.xxsmall,
|
|
3347
3343
|
errorAndHelpTextContainerPaddingTop: theme.space.xxsmall
|
|
@@ -6875,7 +6871,7 @@ var Typography = {
|
|
|
6875
6871
|
};
|
|
6876
6872
|
|
|
6877
6873
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
6878
|
-
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', 'expand-content', '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-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', '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', 'swipe-right', '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', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-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-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', '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', 'leave-approval-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', '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', 'propane-tank-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', 'sparkle-outlined', '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', 'timesheets-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'];
|
|
6874
|
+
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', 'expand-content', '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-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', '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', 'swipe-right', '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', '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', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-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-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', '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', 'job-search-outlined', 'leave-approval-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', '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', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'resume-outlined', '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', 'smart-match-outlined', 'sparkle-outlined', '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', 'timesheets-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'];
|
|
6879
6875
|
|
|
6880
6876
|
var activate = 59000;
|
|
6881
6877
|
var adjustment = 59003;
|
|
@@ -6949,21 +6945,21 @@ var user = 59175;
|
|
|
6949
6945
|
var wallet = 59178;
|
|
6950
6946
|
var warning = 59179;
|
|
6951
6947
|
var add = 59185;
|
|
6952
|
-
var bold =
|
|
6953
|
-
var cancel =
|
|
6954
|
-
var checkmark =
|
|
6955
|
-
var italic =
|
|
6956
|
-
var number =
|
|
6957
|
-
var percentage =
|
|
6958
|
-
var redeem =
|
|
6959
|
-
var refresh =
|
|
6960
|
-
var remove =
|
|
6961
|
-
var restart =
|
|
6962
|
-
var strikethrough =
|
|
6963
|
-
var sync =
|
|
6964
|
-
var transfer =
|
|
6965
|
-
var unavailable =
|
|
6966
|
-
var underline =
|
|
6948
|
+
var bold = 59209;
|
|
6949
|
+
var cancel = 59223;
|
|
6950
|
+
var checkmark = 59228;
|
|
6951
|
+
var italic = 59313;
|
|
6952
|
+
var number = 59340;
|
|
6953
|
+
var percentage = 59345;
|
|
6954
|
+
var redeem = 59355;
|
|
6955
|
+
var refresh = 59356;
|
|
6956
|
+
var remove = 59357;
|
|
6957
|
+
var restart = 59359;
|
|
6958
|
+
var strikethrough = 59383;
|
|
6959
|
+
var sync = 59389;
|
|
6960
|
+
var transfer = 59397;
|
|
6961
|
+
var unavailable = 59400;
|
|
6962
|
+
var underline = 59401;
|
|
6967
6963
|
var glyphMap = {
|
|
6968
6964
|
activate: activate,
|
|
6969
6965
|
"add-emoji": 59001,
|
|
@@ -7156,224 +7152,228 @@ var glyphMap = {
|
|
|
7156
7152
|
"alignment-2-outlined": 59188,
|
|
7157
7153
|
"alignment-outlined": 59189,
|
|
7158
7154
|
"all-caps": 59190,
|
|
7159
|
-
"
|
|
7160
|
-
"arrow-
|
|
7161
|
-
"arrow-
|
|
7162
|
-
"arrow-
|
|
7163
|
-
"arrow-
|
|
7164
|
-
"arrow-
|
|
7165
|
-
"arrow-
|
|
7166
|
-
"arrow-
|
|
7167
|
-
"
|
|
7168
|
-
"
|
|
7169
|
-
"
|
|
7170
|
-
"
|
|
7171
|
-
"
|
|
7172
|
-
"bell-outlined": 59204,
|
|
7173
|
-
"bell-
|
|
7174
|
-
"
|
|
7175
|
-
"
|
|
7155
|
+
"application-outlined": 59191,
|
|
7156
|
+
"arrow-down": 59192,
|
|
7157
|
+
"arrow-downwards": 59193,
|
|
7158
|
+
"arrow-left": 59194,
|
|
7159
|
+
"arrow-leftwards": 59195,
|
|
7160
|
+
"arrow-right": 59196,
|
|
7161
|
+
"arrow-rightwards": 59197,
|
|
7162
|
+
"arrow-up": 59198,
|
|
7163
|
+
"arrow-upwards": 59199,
|
|
7164
|
+
"article-outlined": 59200,
|
|
7165
|
+
"at-sign": 59201,
|
|
7166
|
+
"auto-graph-outlined": 59202,
|
|
7167
|
+
"beer-outlined": 59203,
|
|
7168
|
+
"bell-active-outlined": 59204,
|
|
7169
|
+
"bell-outlined": 59205,
|
|
7170
|
+
"bell-slash-outlined": 59206,
|
|
7171
|
+
"billing-outlined": 59207,
|
|
7172
|
+
"body-outlined": 59208,
|
|
7176
7173
|
bold: bold,
|
|
7177
|
-
"bolt-outlined":
|
|
7178
|
-
"book-outlined":
|
|
7179
|
-
"bookmark-added-outlined":
|
|
7180
|
-
"bookmark-outlined":
|
|
7181
|
-
"box-check-outlined":
|
|
7182
|
-
"box-outlined":
|
|
7183
|
-
"bullet-points":
|
|
7184
|
-
"cake-outlined":
|
|
7185
|
-
"calendar-dates-outlined":
|
|
7186
|
-
"calendar-star-outlined":
|
|
7187
|
-
"call-outlined":
|
|
7188
|
-
"call-split-outlined":
|
|
7189
|
-
"camera-outlined":
|
|
7174
|
+
"bolt-outlined": 59210,
|
|
7175
|
+
"book-outlined": 59211,
|
|
7176
|
+
"bookmark-added-outlined": 59212,
|
|
7177
|
+
"bookmark-outlined": 59213,
|
|
7178
|
+
"box-check-outlined": 59214,
|
|
7179
|
+
"box-outlined": 59215,
|
|
7180
|
+
"bullet-points": 59216,
|
|
7181
|
+
"cake-outlined": 59217,
|
|
7182
|
+
"calendar-dates-outlined": 59218,
|
|
7183
|
+
"calendar-star-outlined": 59219,
|
|
7184
|
+
"call-outlined": 59220,
|
|
7185
|
+
"call-split-outlined": 59221,
|
|
7186
|
+
"camera-outlined": 59222,
|
|
7190
7187
|
cancel: cancel,
|
|
7191
|
-
"car-forward-outlined":
|
|
7192
|
-
"charging-station-outlined":
|
|
7193
|
-
"chat-bubble-outlined":
|
|
7194
|
-
"chat-unread-outlined":
|
|
7188
|
+
"car-forward-outlined": 59224,
|
|
7189
|
+
"charging-station-outlined": 59225,
|
|
7190
|
+
"chat-bubble-outlined": 59226,
|
|
7191
|
+
"chat-unread-outlined": 59227,
|
|
7195
7192
|
checkmark: checkmark,
|
|
7196
|
-
"circle-add-outlined":
|
|
7197
|
-
"circle-cancel-outlined":
|
|
7198
|
-
"circle-down-outlined":
|
|
7199
|
-
"circle-info-outlined":
|
|
7200
|
-
"circle-left-outlined":
|
|
7201
|
-
"circle-ok-outlined":
|
|
7202
|
-
"circle-question-outlined":
|
|
7203
|
-
"circle-remove-outlined":
|
|
7204
|
-
"circle-right-outlined":
|
|
7205
|
-
"circle-up-outlined":
|
|
7206
|
-
"circle-warning-outlined":
|
|
7207
|
-
"clock-2-outlined":
|
|
7208
|
-
"clock-outlined":
|
|
7209
|
-
"cog-outlined":
|
|
7210
|
-
"coin-outlined":
|
|
7211
|
-
"coin-super-outlined":
|
|
7212
|
-
"comment-outlined":
|
|
7213
|
-
"contacts-outlined":
|
|
7214
|
-
"contacts-user-outlined":
|
|
7215
|
-
"credit-card-outlined":
|
|
7216
|
-
"cup-outlined":
|
|
7217
|
-
"dentistry-outlined":
|
|
7218
|
-
"direction-arrows-outlined":
|
|
7219
|
-
"directory-outlined":
|
|
7220
|
-
"document-outlined":
|
|
7221
|
-
"dollar-box-outlined":
|
|
7222
|
-
"dollar-card-outlined":
|
|
7223
|
-
"dollar-coin-shine-outlined":
|
|
7224
|
-
"dollar-credit-card-outlined":
|
|
7225
|
-
"dollar-sign":
|
|
7226
|
-
"double-buildings-outlined":
|
|
7227
|
-
"double-left-arrows":
|
|
7228
|
-
"double-right-arrows":
|
|
7229
|
-
"download-box-outlined":
|
|
7230
|
-
"download-outlined":
|
|
7231
|
-
"edit-template-outlined":
|
|
7232
|
-
"email-outlined":
|
|
7233
|
-
"enter-arrow":
|
|
7234
|
-
"envelope-outlined":
|
|
7235
|
-
"expense-approval-outlined":
|
|
7236
|
-
"expense-outlined":
|
|
7237
|
-
"explore-outlined":
|
|
7238
|
-
"extension-outlined":
|
|
7239
|
-
"external-link":
|
|
7240
|
-
"eye-invisible-outlined":
|
|
7241
|
-
"eye-outlined":
|
|
7242
|
-
"face-id":
|
|
7243
|
-
"face-meh-outlined":
|
|
7244
|
-
"face-open-smiley-outlined":
|
|
7245
|
-
"face-sad-outlined":
|
|
7246
|
-
"face-smiley-outlined":
|
|
7247
|
-
"fastfood-outlined":
|
|
7248
|
-
"feed-outlined":
|
|
7249
|
-
"file-certified-outlined":
|
|
7250
|
-
"file-clone-outlined":
|
|
7251
|
-
"file-copy-outlined":
|
|
7252
|
-
"file-dispose-outlined":
|
|
7253
|
-
"file-dollar-certified-outlined":
|
|
7254
|
-
"file-dollar-outlined":
|
|
7255
|
-
"file-download-outlined":
|
|
7256
|
-
"file-export-outlined":
|
|
7257
|
-
"file-lock-outlined":
|
|
7258
|
-
"file-outlined":
|
|
7259
|
-
"file-search-outlined":
|
|
7260
|
-
"file-secured-outlined":
|
|
7261
|
-
"file-statutory-outlined":
|
|
7262
|
-
"file-verified-outlined":
|
|
7263
|
-
"filter-outlined":
|
|
7264
|
-
"folder-outlined":
|
|
7265
|
-
"folder-user-outlined":
|
|
7266
|
-
"form-outlined":
|
|
7267
|
-
"funnel-filter-outline":
|
|
7268
|
-
"goal-outlined":
|
|
7269
|
-
"graph-outlined":
|
|
7270
|
-
"hand-holding-user-outlined":
|
|
7271
|
-
"happy-sun-outlined":
|
|
7272
|
-
"health-bag-outlined":
|
|
7273
|
-
"heart-outlined":
|
|
7274
|
-
"home-active-outlined":
|
|
7275
|
-
"home-outlined":
|
|
7276
|
-
"id-card-outlined":
|
|
7277
|
-
"image-outlined":
|
|
7278
|
-
"import-outlined":
|
|
7279
|
-
"instapay-outlined":
|
|
7193
|
+
"circle-add-outlined": 59229,
|
|
7194
|
+
"circle-cancel-outlined": 59230,
|
|
7195
|
+
"circle-down-outlined": 59231,
|
|
7196
|
+
"circle-info-outlined": 59232,
|
|
7197
|
+
"circle-left-outlined": 59233,
|
|
7198
|
+
"circle-ok-outlined": 59234,
|
|
7199
|
+
"circle-question-outlined": 59235,
|
|
7200
|
+
"circle-remove-outlined": 59236,
|
|
7201
|
+
"circle-right-outlined": 59237,
|
|
7202
|
+
"circle-up-outlined": 59238,
|
|
7203
|
+
"circle-warning-outlined": 59239,
|
|
7204
|
+
"clock-2-outlined": 59240,
|
|
7205
|
+
"clock-outlined": 59241,
|
|
7206
|
+
"cog-outlined": 59242,
|
|
7207
|
+
"coin-outlined": 59243,
|
|
7208
|
+
"coin-super-outlined": 59244,
|
|
7209
|
+
"comment-outlined": 59245,
|
|
7210
|
+
"contacts-outlined": 59246,
|
|
7211
|
+
"contacts-user-outlined": 59247,
|
|
7212
|
+
"credit-card-outlined": 59248,
|
|
7213
|
+
"cup-outlined": 59249,
|
|
7214
|
+
"dentistry-outlined": 59250,
|
|
7215
|
+
"direction-arrows-outlined": 59251,
|
|
7216
|
+
"directory-outlined": 59252,
|
|
7217
|
+
"document-outlined": 59253,
|
|
7218
|
+
"dollar-box-outlined": 59254,
|
|
7219
|
+
"dollar-card-outlined": 59255,
|
|
7220
|
+
"dollar-coin-shine-outlined": 59256,
|
|
7221
|
+
"dollar-credit-card-outlined": 59257,
|
|
7222
|
+
"dollar-sign": 59258,
|
|
7223
|
+
"double-buildings-outlined": 59259,
|
|
7224
|
+
"double-left-arrows": 59260,
|
|
7225
|
+
"double-right-arrows": 59261,
|
|
7226
|
+
"download-box-outlined": 59262,
|
|
7227
|
+
"download-outlined": 59263,
|
|
7228
|
+
"edit-template-outlined": 59264,
|
|
7229
|
+
"email-outlined": 59265,
|
|
7230
|
+
"enter-arrow": 59266,
|
|
7231
|
+
"envelope-outlined": 59267,
|
|
7232
|
+
"expense-approval-outlined": 59268,
|
|
7233
|
+
"expense-outlined": 59269,
|
|
7234
|
+
"explore-outlined": 59270,
|
|
7235
|
+
"extension-outlined": 59271,
|
|
7236
|
+
"external-link": 59272,
|
|
7237
|
+
"eye-invisible-outlined": 59273,
|
|
7238
|
+
"eye-outlined": 59274,
|
|
7239
|
+
"face-id": 59275,
|
|
7240
|
+
"face-meh-outlined": 59276,
|
|
7241
|
+
"face-open-smiley-outlined": 59277,
|
|
7242
|
+
"face-sad-outlined": 59278,
|
|
7243
|
+
"face-smiley-outlined": 59279,
|
|
7244
|
+
"fastfood-outlined": 59280,
|
|
7245
|
+
"feed-outlined": 59281,
|
|
7246
|
+
"file-certified-outlined": 59282,
|
|
7247
|
+
"file-clone-outlined": 59283,
|
|
7248
|
+
"file-copy-outlined": 59284,
|
|
7249
|
+
"file-dispose-outlined": 59285,
|
|
7250
|
+
"file-dollar-certified-outlined": 59286,
|
|
7251
|
+
"file-dollar-outlined": 59287,
|
|
7252
|
+
"file-download-outlined": 59288,
|
|
7253
|
+
"file-export-outlined": 59289,
|
|
7254
|
+
"file-lock-outlined": 59290,
|
|
7255
|
+
"file-outlined": 59291,
|
|
7256
|
+
"file-search-outlined": 59292,
|
|
7257
|
+
"file-secured-outlined": 59293,
|
|
7258
|
+
"file-statutory-outlined": 59294,
|
|
7259
|
+
"file-verified-outlined": 59295,
|
|
7260
|
+
"filter-outlined": 59296,
|
|
7261
|
+
"folder-outlined": 59297,
|
|
7262
|
+
"folder-user-outlined": 59298,
|
|
7263
|
+
"form-outlined": 59299,
|
|
7264
|
+
"funnel-filter-outline": 59300,
|
|
7265
|
+
"goal-outlined": 59301,
|
|
7266
|
+
"graph-outlined": 59302,
|
|
7267
|
+
"hand-holding-user-outlined": 59303,
|
|
7268
|
+
"happy-sun-outlined": 59304,
|
|
7269
|
+
"health-bag-outlined": 59305,
|
|
7270
|
+
"heart-outlined": 59306,
|
|
7271
|
+
"home-active-outlined": 59307,
|
|
7272
|
+
"home-outlined": 59308,
|
|
7273
|
+
"id-card-outlined": 59309,
|
|
7274
|
+
"image-outlined": 59310,
|
|
7275
|
+
"import-outlined": 59311,
|
|
7276
|
+
"instapay-outlined": 59312,
|
|
7280
7277
|
italic: italic,
|
|
7281
|
-
"
|
|
7282
|
-
"
|
|
7283
|
-
"link-
|
|
7284
|
-
"
|
|
7285
|
-
"
|
|
7286
|
-
"
|
|
7287
|
-
"location-outlined":
|
|
7288
|
-
"
|
|
7289
|
-
"
|
|
7290
|
-
"
|
|
7291
|
-
"
|
|
7292
|
-
"
|
|
7293
|
-
"
|
|
7294
|
-
"menu-
|
|
7295
|
-
"menu-
|
|
7296
|
-
"menu-
|
|
7297
|
-
"
|
|
7298
|
-
"
|
|
7299
|
-
"
|
|
7300
|
-
"more-
|
|
7301
|
-
"
|
|
7302
|
-
"multiple-
|
|
7303
|
-
"
|
|
7304
|
-
"
|
|
7305
|
-
"
|
|
7278
|
+
"job-search-outlined": 59314,
|
|
7279
|
+
"leave-approval-outlined": 59315,
|
|
7280
|
+
"link-1": 59316,
|
|
7281
|
+
"link-2": 59317,
|
|
7282
|
+
"list-outlined": 59318,
|
|
7283
|
+
"live-help-outlined": 59319,
|
|
7284
|
+
"location-on-outlined": 59320,
|
|
7285
|
+
"location-outlined": 59321,
|
|
7286
|
+
"lock-outlined": 59322,
|
|
7287
|
+
"locked-file-outlined": 59323,
|
|
7288
|
+
"log-out": 59324,
|
|
7289
|
+
"mail-outlined": 59325,
|
|
7290
|
+
"media-content-outlined": 59326,
|
|
7291
|
+
"menu-close": 59327,
|
|
7292
|
+
"menu-expand": 59328,
|
|
7293
|
+
"menu-fold-outlined": 59329,
|
|
7294
|
+
"menu-unfold-outlined": 59330,
|
|
7295
|
+
"moneybag-outlined": 59331,
|
|
7296
|
+
"moon-outlined": 59332,
|
|
7297
|
+
"more-horizontal": 59333,
|
|
7298
|
+
"more-vertical": 59334,
|
|
7299
|
+
"multiple-folders-outlined": 59335,
|
|
7300
|
+
"multiple-users-outlined": 59336,
|
|
7301
|
+
"near-me-outlined": 59337,
|
|
7302
|
+
"node-outlined": 59338,
|
|
7303
|
+
"number-points": 59339,
|
|
7306
7304
|
number: number,
|
|
7307
|
-
"overview-outlined":
|
|
7308
|
-
"payment-summary-outlined":
|
|
7309
|
-
"payslip-outlined":
|
|
7310
|
-
"pencil-outlined":
|
|
7305
|
+
"overview-outlined": 59341,
|
|
7306
|
+
"payment-summary-outlined": 59342,
|
|
7307
|
+
"payslip-outlined": 59343,
|
|
7308
|
+
"pencil-outlined": 59344,
|
|
7311
7309
|
percentage: percentage,
|
|
7312
|
-
"phone-outlined":
|
|
7313
|
-
"piggy-bank-outlined":
|
|
7314
|
-
"plane-outlined":
|
|
7315
|
-
"play-circle-outlined":
|
|
7316
|
-
"print-outlined":
|
|
7317
|
-
"propane-tank-outlined":
|
|
7318
|
-
"qr-code-outlined":
|
|
7319
|
-
"qualification-outlined":
|
|
7320
|
-
"re-assign":
|
|
7310
|
+
"phone-outlined": 59346,
|
|
7311
|
+
"piggy-bank-outlined": 59347,
|
|
7312
|
+
"plane-outlined": 59348,
|
|
7313
|
+
"play-circle-outlined": 59349,
|
|
7314
|
+
"print-outlined": 59350,
|
|
7315
|
+
"propane-tank-outlined": 59351,
|
|
7316
|
+
"qr-code-outlined": 59352,
|
|
7317
|
+
"qualification-outlined": 59353,
|
|
7318
|
+
"re-assign": 59354,
|
|
7321
7319
|
redeem: redeem,
|
|
7322
7320
|
refresh: refresh,
|
|
7323
7321
|
remove: remove,
|
|
7324
|
-
"reply-outlined":
|
|
7322
|
+
"reply-outlined": 59358,
|
|
7325
7323
|
restart: restart,
|
|
7326
|
-
"
|
|
7327
|
-
"
|
|
7328
|
-
"
|
|
7329
|
-
"
|
|
7330
|
-
"
|
|
7331
|
-
"search-
|
|
7332
|
-
"
|
|
7333
|
-
"
|
|
7334
|
-
"share-
|
|
7335
|
-
"share-
|
|
7336
|
-
"
|
|
7337
|
-
"
|
|
7338
|
-
"single-
|
|
7339
|
-
"single-
|
|
7340
|
-
"single-
|
|
7341
|
-
"
|
|
7342
|
-
"
|
|
7343
|
-
"
|
|
7344
|
-
"
|
|
7345
|
-
"
|
|
7346
|
-
"
|
|
7324
|
+
"resume-outlined": 59360,
|
|
7325
|
+
"return-arrow": 59361,
|
|
7326
|
+
"rostering-outlined": 59362,
|
|
7327
|
+
"save-outlined": 59363,
|
|
7328
|
+
"schedule-outlined": 59364,
|
|
7329
|
+
"search-outlined": 59365,
|
|
7330
|
+
"search-secured-outlined": 59366,
|
|
7331
|
+
"send-outlined": 59367,
|
|
7332
|
+
"share-1": 59368,
|
|
7333
|
+
"share-2": 59369,
|
|
7334
|
+
"share-outlined": 59370,
|
|
7335
|
+
"show-chart-outlined": 59371,
|
|
7336
|
+
"single-down-arrow": 59372,
|
|
7337
|
+
"single-left-arrow": 59373,
|
|
7338
|
+
"single-right-arrow": 59374,
|
|
7339
|
+
"single-up-arrow": 59375,
|
|
7340
|
+
"smart-match-outlined": 59376,
|
|
7341
|
+
"sparkle-outlined": 59377,
|
|
7342
|
+
"speaker-active-outlined": 59378,
|
|
7343
|
+
"speaker-outlined": 59379,
|
|
7344
|
+
"star-circle-outlined": 59380,
|
|
7345
|
+
"star-outlined": 59381,
|
|
7346
|
+
"stopwatch-outlined": 59382,
|
|
7347
7347
|
strikethrough: strikethrough,
|
|
7348
|
-
"styler-outlined":
|
|
7349
|
-
"suitcase-clock-outlined":
|
|
7350
|
-
"suitcase-outlined":
|
|
7351
|
-
"survey-outlined":
|
|
7352
|
-
"switch-outlined":
|
|
7348
|
+
"styler-outlined": 59384,
|
|
7349
|
+
"suitcase-clock-outlined": 59385,
|
|
7350
|
+
"suitcase-outlined": 59386,
|
|
7351
|
+
"survey-outlined": 59387,
|
|
7352
|
+
"switch-outlined": 59388,
|
|
7353
7353
|
sync: sync,
|
|
7354
|
-
"tag-outlined":
|
|
7355
|
-
"target-outlined":
|
|
7356
|
-
"tennis-outlined":
|
|
7357
|
-
"ticket-outlined":
|
|
7358
|
-
"timesheet-outlined":
|
|
7359
|
-
"timesheets-outlined":
|
|
7360
|
-
"today-outlined":
|
|
7354
|
+
"tag-outlined": 59390,
|
|
7355
|
+
"target-outlined": 59391,
|
|
7356
|
+
"tennis-outlined": 59392,
|
|
7357
|
+
"ticket-outlined": 59393,
|
|
7358
|
+
"timesheet-outlined": 59394,
|
|
7359
|
+
"timesheets-outlined": 59395,
|
|
7360
|
+
"today-outlined": 59396,
|
|
7361
7361
|
transfer: transfer,
|
|
7362
|
-
"trash-bin-outlined":
|
|
7363
|
-
"umbrela-outlined":
|
|
7362
|
+
"trash-bin-outlined": 59398,
|
|
7363
|
+
"umbrela-outlined": 59399,
|
|
7364
7364
|
unavailable: unavailable,
|
|
7365
7365
|
underline: underline,
|
|
7366
|
-
"union-outlined":
|
|
7367
|
-
"unlock-outlined":
|
|
7368
|
-
"upload-outlined":
|
|
7369
|
-
"user-circle-outlined":
|
|
7370
|
-
"user-gear-outlined":
|
|
7371
|
-
"user-outlined":
|
|
7372
|
-
"user-rectangle-outlined":
|
|
7373
|
-
"video-1-outlined":
|
|
7374
|
-
"video-2-outlined":
|
|
7375
|
-
"volunteer-outlined":
|
|
7376
|
-
"wallet-outlined":
|
|
7366
|
+
"union-outlined": 59402,
|
|
7367
|
+
"unlock-outlined": 59403,
|
|
7368
|
+
"upload-outlined": 59404,
|
|
7369
|
+
"user-circle-outlined": 59405,
|
|
7370
|
+
"user-gear-outlined": 59406,
|
|
7371
|
+
"user-outlined": 59407,
|
|
7372
|
+
"user-rectangle-outlined": 59408,
|
|
7373
|
+
"video-1-outlined": 59409,
|
|
7374
|
+
"video-2-outlined": 59410,
|
|
7375
|
+
"volunteer-outlined": 59411,
|
|
7376
|
+
"wallet-outlined": 59412
|
|
7377
7377
|
};
|
|
7378
7378
|
|
|
7379
7379
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -12002,20 +12002,8 @@ var StyledCard = index$a(Card$1)(function (_ref2) {
|
|
|
12002
12002
|
flex: 1
|
|
12003
12003
|
};
|
|
12004
12004
|
});
|
|
12005
|
-
var
|
|
12005
|
+
var StyledItemWrapper = index$a(View)(function (_ref3) {
|
|
12006
12006
|
var theme = _ref3.theme;
|
|
12007
|
-
return {
|
|
12008
|
-
borderRadius: theme.__hd__.cardCarousel.radii.card,
|
|
12009
|
-
shadowColor: theme.__hd__.cardCarousel.shadows.color,
|
|
12010
|
-
shadowOffset: theme.__hd__.cardCarousel.shadows.offset,
|
|
12011
|
-
shadowRadius: theme.__hd__.cardCarousel.shadows.radius,
|
|
12012
|
-
shadowOpacity: theme.__hd__.cardCarousel.shadows.opacity,
|
|
12013
|
-
elevation: theme.__hd__.cardCarousel.shadows.elevation,
|
|
12014
|
-
flex: 1
|
|
12015
|
-
};
|
|
12016
|
-
});
|
|
12017
|
-
var StyledItemWrapper = index$a(View)(function (_ref4) {
|
|
12018
|
-
var theme = _ref4.theme;
|
|
12019
12007
|
return {
|
|
12020
12008
|
padding: theme.__hd__.cardCarousel.space.carouselItemSpacing
|
|
12021
12009
|
};
|
|
@@ -12136,7 +12124,7 @@ var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
12136
12124
|
style: {
|
|
12137
12125
|
width: itemWidth
|
|
12138
12126
|
}
|
|
12139
|
-
}, /*#__PURE__*/React.createElement(
|
|
12127
|
+
}, /*#__PURE__*/React.createElement(StyledCard, null, item));
|
|
12140
12128
|
}, [itemWidth]);
|
|
12141
12129
|
var contentContainerPaddingHorizontal = theme.__hd__.cardCarousel.space.contentContainerPaddingHorizontal;
|
|
12142
12130
|
return /*#__PURE__*/React.createElement(StyledWrapper$8, {
|
|
@@ -12358,6 +12346,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
12358
12346
|
_useStateFromProp2 = _slicedToArray(_useStateFromProp, 2),
|
|
12359
12347
|
currentSlideIndex = _useStateFromProp2[0],
|
|
12360
12348
|
setCurrentSlideIndex = _useStateFromProp2[1];
|
|
12349
|
+
var shouldRenderPagination = items.length > 1 && shouldShowPagination(currentSlideIndex);
|
|
12361
12350
|
var internalOnItemIndexChange = useCallback(function (index) {
|
|
12362
12351
|
setCurrentSlideIndex(index);
|
|
12363
12352
|
if (onItemIndexChange) {
|
|
@@ -12397,7 +12386,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
12397
12386
|
testID: testID
|
|
12398
12387
|
}, nativeProps), /*#__PURE__*/React.createElement(StyledBackDrop, {
|
|
12399
12388
|
themeSlideBackground: ((_items$currentSlideIn = items[currentSlideIndex]) === null || _items$currentSlideIn === void 0 ? void 0 : _items$currentSlideIn.background) || theme.colors.defaultGlobalSurface
|
|
12400
|
-
}), /*#__PURE__*/React.createElement(StyledPageControlWrapper, null, pageControlPosition === 'top' &&
|
|
12389
|
+
}), /*#__PURE__*/React.createElement(StyledPageControlWrapper, null, pageControlPosition === 'top' && shouldRenderPagination && /*#__PURE__*/React.createElement(StyledPageControl, {
|
|
12401
12390
|
numberOfPages: items.length,
|
|
12402
12391
|
currentPage: currentSlideIndex
|
|
12403
12392
|
})), /*#__PURE__*/React.createElement(StyledCarouselView, null, /*#__PURE__*/React.createElement(FlatList, {
|
|
@@ -12435,7 +12424,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
12435
12424
|
width: width
|
|
12436
12425
|
});
|
|
12437
12426
|
}
|
|
12438
|
-
}), /*#__PURE__*/React.createElement(StyledCarouselFooterWrapper, null, renderActions && renderActions(currentSlideIndex), pageControlPosition === 'bottom' &&
|
|
12427
|
+
}), /*#__PURE__*/React.createElement(StyledCarouselFooterWrapper, null, renderActions && renderActions(currentSlideIndex), pageControlPosition === 'bottom' && shouldRenderPagination && /*#__PURE__*/React.createElement(StyledPageControl, {
|
|
12439
12428
|
numberOfPages: items.length,
|
|
12440
12429
|
currentPage: currentSlideIndex
|
|
12441
12430
|
}))));
|
|
@@ -12732,8 +12721,6 @@ var StyledMaxLengthMessage = index$a(Typography.Caption)(function (_ref7) {
|
|
|
12732
12721
|
themeState = _ref7.themeState;
|
|
12733
12722
|
return {
|
|
12734
12723
|
color: theme.__hd__.textInput.colors.maxLengthLabels[themeState],
|
|
12735
|
-
marginRight: theme.__hd__.textInput.space.maxLengthLabelMarginLeft,
|
|
12736
|
-
alignSelf: 'flex-end',
|
|
12737
12724
|
flex: 1,
|
|
12738
12725
|
flexGrow: 1,
|
|
12739
12726
|
textAlign: 'right'
|
|
@@ -12788,7 +12775,7 @@ var StyledTextInputAndLabelContainer = index$a(View)(function () {
|
|
|
12788
12775
|
var StyledErrorAndHelpTextContainer = index$a(View)(function (_ref11) {
|
|
12789
12776
|
var theme = _ref11.theme;
|
|
12790
12777
|
return {
|
|
12791
|
-
|
|
12778
|
+
paddingHorizontal: theme.__hd__.textInput.space.errorAndHelpTextContainerHorizontalPadding,
|
|
12792
12779
|
minHeight: theme.__hd__.textInput.sizes.errorAndHelpTextContainerHeight,
|
|
12793
12780
|
paddingTop: theme.__hd__.textInput.space.errorAndHelpTextContainerPaddingTop
|
|
12794
12781
|
};
|
|
@@ -12796,7 +12783,8 @@ var StyledErrorAndHelpTextContainer = index$a(View)(function (_ref11) {
|
|
|
12796
12783
|
var StyledErrorAndMaxLengthContainer = index$a(View)(function () {
|
|
12797
12784
|
return {
|
|
12798
12785
|
flexDirection: 'row',
|
|
12799
|
-
justifyContent: 'space-between'
|
|
12786
|
+
justifyContent: 'space-between',
|
|
12787
|
+
alignItems: 'flex-start'
|
|
12800
12788
|
};
|
|
12801
12789
|
});
|
|
12802
12790
|
|
|
@@ -15894,7 +15882,9 @@ var renderActions = function renderActions(actions, width, progress, direction)
|
|
|
15894
15882
|
flexDirection: 'row',
|
|
15895
15883
|
transform: [{
|
|
15896
15884
|
translateX: trans
|
|
15897
|
-
}]
|
|
15885
|
+
}],
|
|
15886
|
+
zIndex: -99,
|
|
15887
|
+
position: 'relative'
|
|
15898
15888
|
}
|
|
15899
15889
|
}, actions);
|
|
15900
15890
|
};
|
|
@@ -15913,6 +15903,10 @@ var Swipeable = function Swipeable(_ref) {
|
|
|
15913
15903
|
var _useWindowDimensions = useWindowDimensions(),
|
|
15914
15904
|
width = _useWindowDimensions.width;
|
|
15915
15905
|
var swipeableRef = useRef(null);
|
|
15906
|
+
var _React$useState = React.useState(0),
|
|
15907
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
15908
|
+
containerWidth = _React$useState2[0],
|
|
15909
|
+
setContainerWidth = _React$useState2[1];
|
|
15916
15910
|
var renderLeftActions = useCallback(function (progress) {
|
|
15917
15911
|
return renderActions(leftActions, leftActionsWidth || width, progress, 'left');
|
|
15918
15912
|
}, [leftActions, leftActionsWidth, width]);
|
|
@@ -15933,7 +15927,11 @@ var Swipeable = function Swipeable(_ref) {
|
|
|
15933
15927
|
break;
|
|
15934
15928
|
}
|
|
15935
15929
|
}, [state]);
|
|
15936
|
-
return /*#__PURE__*/React.createElement(GestureHandlerRootView, null, /*#__PURE__*/React.createElement(
|
|
15930
|
+
return /*#__PURE__*/React.createElement(GestureHandlerRootView, null, /*#__PURE__*/React.createElement(Box, {
|
|
15931
|
+
onLayout: function onLayout(e) {
|
|
15932
|
+
return setContainerWidth(e.nativeEvent.layout.width);
|
|
15933
|
+
}
|
|
15934
|
+
}, /*#__PURE__*/React.createElement(Swipeable$1, _extends$1({}, swipeableProps, {
|
|
15937
15935
|
ref: swipeableRef
|
|
15938
15936
|
}, leftActions !== undefined && {
|
|
15939
15937
|
renderLeftActions: renderLeftActions
|
|
@@ -15951,8 +15949,14 @@ var Swipeable = function Swipeable(_ref) {
|
|
|
15951
15949
|
},
|
|
15952
15950
|
containerStyle: {
|
|
15953
15951
|
borderRadius: variant === 'card' ? theme.__hd__.swipeable.radii.swipeableContainer : 0
|
|
15952
|
+
},
|
|
15953
|
+
childrenContainerStyle: {
|
|
15954
|
+
backgroundColor: theme.__hd__.swipeable.colors.defaultContainerBackground,
|
|
15955
|
+
position: 'relative',
|
|
15956
|
+
width: containerWidth + theme.__hd__.swipeable.space.containerExtraWidth,
|
|
15957
|
+
borderRadius: theme.__hd__.swipeable.radii.swipeableContainer
|
|
15954
15958
|
}
|
|
15955
|
-
}), children));
|
|
15959
|
+
}), children)));
|
|
15956
15960
|
};
|
|
15957
15961
|
var index$5 = Object.assign(Swipeable, {
|
|
15958
15962
|
Action: SwipeableAction,
|