@hero-design/rn 8.47.0 → 8.49.0
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 +16 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +152 -143
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +152 -143
- package/package.json +1 -1
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +6 -6
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +3 -3
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +2 -2
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Tabs/ScrollableTabs.tsx +12 -2
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -3
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +7 -7
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +1 -1
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -1
- package/src/components/Typography/Caption/StyledCaption.tsx +1 -1
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +9 -9
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- 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/.turbo/turbo-build.log
CHANGED
|
@@ -4,5 +4,5 @@ $ rollup -c
|
|
|
4
4
|
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
5
5
|
[1m[33m(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.[39m[22m
|
|
6
6
|
[1m[33m(!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/runner/_work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning[39m[22m
|
|
7
|
-
[32mcreated [1mlib/index.js, es/index.js[22m in [
|
|
7
|
+
[32mcreated [1mlib/index.js, es/index.js[22m in [1m28.5s[22m[39m
|
|
8
8
|
$ tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.49.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#2462](https://github.com/Thinkei/hero-design/pull/2462) [`8d1d76caa`](https://github.com/Thinkei/hero-design/commit/8d1d76caa2d0619b77375291c6f82eae0dd79872) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Typography.Caption] Update letter spacing
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#2461](https://github.com/Thinkei/hero-design/pull/2461) [`f6d24b44c`](https://github.com/Thinkei/hero-design/commit/f6d24b44ca58f4bfb38bd6012143b4dc0ff7d485) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Tabs.Scroll] Prevent onTabPress from running on the first render
|
|
12
|
+
|
|
13
|
+
## 8.48.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- [#2440](https://github.com/Thinkei/hero-design/pull/2440) [`b7e29d466`](https://github.com/Thinkei/hero-design/commit/b7e29d466db1c9d850982295c351d5f22d43a979) Thanks [@ducminhleeh](https://github.com/ducminhleeh)! - Add new icons `leave-approval-outlined` and `expense-approval-outlined`
|
|
18
|
+
|
|
3
19
|
## 8.47.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
Binary file
|
package/es/index.js
CHANGED
|
@@ -6738,7 +6738,7 @@ var StyledCaption = index$a(Text$1)(function (_ref) {
|
|
|
6738
6738
|
return {
|
|
6739
6739
|
fontSize: theme.__hd__.typography.fontSizes.caption,
|
|
6740
6740
|
lineHeight: theme.__hd__.typography.lineHeights.caption,
|
|
6741
|
-
letterSpacing: themeFontWeight === 'regular' ? 0.
|
|
6741
|
+
letterSpacing: themeFontWeight === 'regular' ? 0.36 : 0.24,
|
|
6742
6742
|
color: theme.__hd__.typography.colors[themeIntent],
|
|
6743
6743
|
fontFamily: theme.__hd__.typography.fonts.neutral[FONTWEIGHT_MAP$1[themeFontWeight]]
|
|
6744
6744
|
};
|
|
@@ -6875,7 +6875,7 @@ var Typography = {
|
|
|
6875
6875
|
};
|
|
6876
6876
|
|
|
6877
6877
|
// 🔴 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', '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', '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-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', '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'];
|
|
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', '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', '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'];
|
|
6879
6879
|
|
|
6880
6880
|
var activate = 59000;
|
|
6881
6881
|
var adjustment = 59003;
|
|
@@ -6952,18 +6952,18 @@ var add = 59183;
|
|
|
6952
6952
|
var bold = 59206;
|
|
6953
6953
|
var cancel = 59220;
|
|
6954
6954
|
var checkmark = 59225;
|
|
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 =
|
|
6955
|
+
var italic = 59310;
|
|
6956
|
+
var number = 59336;
|
|
6957
|
+
var percentage = 59341;
|
|
6958
|
+
var redeem = 59351;
|
|
6959
|
+
var refresh = 59352;
|
|
6960
|
+
var remove = 59353;
|
|
6961
|
+
var restart = 59355;
|
|
6962
|
+
var strikethrough = 59377;
|
|
6963
|
+
var sync = 59383;
|
|
6964
|
+
var transfer = 59391;
|
|
6965
|
+
var unavailable = 59394;
|
|
6966
|
+
var underline = 59395;
|
|
6967
6967
|
var glyphMap = {
|
|
6968
6968
|
activate: activate,
|
|
6969
6969
|
"add-emoji": 59001,
|
|
@@ -7230,146 +7230,148 @@ var glyphMap = {
|
|
|
7230
7230
|
"email-outlined": 59262,
|
|
7231
7231
|
"enter-arrow": 59263,
|
|
7232
7232
|
"envelope-outlined": 59264,
|
|
7233
|
-
"expense-outlined": 59265,
|
|
7234
|
-
"
|
|
7235
|
-
"
|
|
7236
|
-
"
|
|
7237
|
-
"
|
|
7238
|
-
"eye-outlined": 59270,
|
|
7239
|
-
"
|
|
7240
|
-
"face-
|
|
7241
|
-
"face-
|
|
7242
|
-
"face-
|
|
7243
|
-
"face-
|
|
7244
|
-
"
|
|
7245
|
-
"
|
|
7246
|
-
"
|
|
7247
|
-
"file-
|
|
7248
|
-
"file-
|
|
7249
|
-
"file-
|
|
7250
|
-
"file-
|
|
7251
|
-
"file-dollar-outlined": 59283,
|
|
7252
|
-
"file-
|
|
7253
|
-
"file-
|
|
7254
|
-
"file-
|
|
7255
|
-
"file-outlined": 59287,
|
|
7256
|
-
"file-
|
|
7257
|
-
"file-
|
|
7258
|
-
"file-
|
|
7259
|
-
"file-
|
|
7260
|
-
"
|
|
7261
|
-
"
|
|
7262
|
-
"folder-
|
|
7263
|
-
"
|
|
7264
|
-
"
|
|
7265
|
-
"
|
|
7266
|
-
"
|
|
7267
|
-
"
|
|
7268
|
-
"
|
|
7269
|
-
"
|
|
7270
|
-
"
|
|
7271
|
-
"
|
|
7272
|
-
"home-outlined": 59304,
|
|
7273
|
-
"
|
|
7274
|
-
"
|
|
7275
|
-
"
|
|
7276
|
-
"
|
|
7233
|
+
"expense-approval-outlined": 59265,
|
|
7234
|
+
"expense-outlined": 59266,
|
|
7235
|
+
"explore-outlined": 59267,
|
|
7236
|
+
"extension-outlined": 59268,
|
|
7237
|
+
"external-link": 59269,
|
|
7238
|
+
"eye-invisible-outlined": 59270,
|
|
7239
|
+
"eye-outlined": 59271,
|
|
7240
|
+
"face-id": 59272,
|
|
7241
|
+
"face-meh-outlined": 59273,
|
|
7242
|
+
"face-open-smiley-outlined": 59274,
|
|
7243
|
+
"face-sad-outlined": 59275,
|
|
7244
|
+
"face-smiley-outlined": 59276,
|
|
7245
|
+
"fastfood-outlined": 59277,
|
|
7246
|
+
"feed-outlined": 59278,
|
|
7247
|
+
"file-certified-outlined": 59279,
|
|
7248
|
+
"file-clone-outlined": 59280,
|
|
7249
|
+
"file-copy-outlined": 59281,
|
|
7250
|
+
"file-dispose-outlined": 59282,
|
|
7251
|
+
"file-dollar-certified-outlined": 59283,
|
|
7252
|
+
"file-dollar-outlined": 59284,
|
|
7253
|
+
"file-download-outlined": 59285,
|
|
7254
|
+
"file-export-outlined": 59286,
|
|
7255
|
+
"file-lock-outlined": 59287,
|
|
7256
|
+
"file-outlined": 59288,
|
|
7257
|
+
"file-search-outlined": 59289,
|
|
7258
|
+
"file-secured-outlined": 59290,
|
|
7259
|
+
"file-statutory-outlined": 59291,
|
|
7260
|
+
"file-verified-outlined": 59292,
|
|
7261
|
+
"filter-outlined": 59293,
|
|
7262
|
+
"folder-outlined": 59294,
|
|
7263
|
+
"folder-user-outlined": 59295,
|
|
7264
|
+
"form-outlined": 59296,
|
|
7265
|
+
"funnel-filter-outline": 59297,
|
|
7266
|
+
"goal-outlined": 59298,
|
|
7267
|
+
"graph-outlined": 59299,
|
|
7268
|
+
"hand-holding-user-outlined": 59300,
|
|
7269
|
+
"happy-sun-outlined": 59301,
|
|
7270
|
+
"health-bag-outlined": 59302,
|
|
7271
|
+
"heart-outlined": 59303,
|
|
7272
|
+
"home-active-outlined": 59304,
|
|
7273
|
+
"home-outlined": 59305,
|
|
7274
|
+
"id-card-outlined": 59306,
|
|
7275
|
+
"image-outlined": 59307,
|
|
7276
|
+
"import-outlined": 59308,
|
|
7277
|
+
"instapay-outlined": 59309,
|
|
7277
7278
|
italic: italic,
|
|
7278
|
-
"
|
|
7279
|
-
"link-
|
|
7280
|
-
"
|
|
7281
|
-
"
|
|
7282
|
-
"
|
|
7283
|
-
"location-outlined":
|
|
7284
|
-
"
|
|
7285
|
-
"
|
|
7286
|
-
"
|
|
7287
|
-
"
|
|
7288
|
-
"
|
|
7289
|
-
"
|
|
7290
|
-
"menu-
|
|
7291
|
-
"menu-
|
|
7292
|
-
"menu-
|
|
7293
|
-
"
|
|
7294
|
-
"
|
|
7295
|
-
"
|
|
7296
|
-
"more-
|
|
7297
|
-
"
|
|
7298
|
-
"multiple-
|
|
7299
|
-
"
|
|
7300
|
-
"
|
|
7301
|
-
"
|
|
7279
|
+
"leave-approval-outlined": 59311,
|
|
7280
|
+
"link-1": 59312,
|
|
7281
|
+
"link-2": 59313,
|
|
7282
|
+
"list-outlined": 59314,
|
|
7283
|
+
"live-help-outlined": 59315,
|
|
7284
|
+
"location-on-outlined": 59316,
|
|
7285
|
+
"location-outlined": 59317,
|
|
7286
|
+
"lock-outlined": 59318,
|
|
7287
|
+
"locked-file-outlined": 59319,
|
|
7288
|
+
"log-out": 59320,
|
|
7289
|
+
"mail-outlined": 59321,
|
|
7290
|
+
"media-content-outlined": 59322,
|
|
7291
|
+
"menu-close": 59323,
|
|
7292
|
+
"menu-expand": 59324,
|
|
7293
|
+
"menu-fold-outlined": 59325,
|
|
7294
|
+
"menu-unfold-outlined": 59326,
|
|
7295
|
+
"moneybag-outlined": 59327,
|
|
7296
|
+
"moon-outlined": 59328,
|
|
7297
|
+
"more-horizontal": 59329,
|
|
7298
|
+
"more-vertical": 59330,
|
|
7299
|
+
"multiple-folders-outlined": 59331,
|
|
7300
|
+
"multiple-users-outlined": 59332,
|
|
7301
|
+
"near-me-outlined": 59333,
|
|
7302
|
+
"node-outlined": 59334,
|
|
7303
|
+
"number-points": 59335,
|
|
7302
7304
|
number: number,
|
|
7303
|
-
"overview-outlined":
|
|
7304
|
-
"payment-summary-outlined":
|
|
7305
|
-
"payslip-outlined":
|
|
7306
|
-
"pencil-outlined":
|
|
7305
|
+
"overview-outlined": 59337,
|
|
7306
|
+
"payment-summary-outlined": 59338,
|
|
7307
|
+
"payslip-outlined": 59339,
|
|
7308
|
+
"pencil-outlined": 59340,
|
|
7307
7309
|
percentage: percentage,
|
|
7308
|
-
"phone-outlined":
|
|
7309
|
-
"piggy-bank-outlined":
|
|
7310
|
-
"plane-outlined":
|
|
7311
|
-
"play-circle-outlined":
|
|
7312
|
-
"print-outlined":
|
|
7313
|
-
"propane-tank-outlined":
|
|
7314
|
-
"qr-code-outlined":
|
|
7315
|
-
"qualification-outlined":
|
|
7316
|
-
"re-assign":
|
|
7310
|
+
"phone-outlined": 59342,
|
|
7311
|
+
"piggy-bank-outlined": 59343,
|
|
7312
|
+
"plane-outlined": 59344,
|
|
7313
|
+
"play-circle-outlined": 59345,
|
|
7314
|
+
"print-outlined": 59346,
|
|
7315
|
+
"propane-tank-outlined": 59347,
|
|
7316
|
+
"qr-code-outlined": 59348,
|
|
7317
|
+
"qualification-outlined": 59349,
|
|
7318
|
+
"re-assign": 59350,
|
|
7317
7319
|
redeem: redeem,
|
|
7318
7320
|
refresh: refresh,
|
|
7319
7321
|
remove: remove,
|
|
7320
|
-
"reply-outlined":
|
|
7322
|
+
"reply-outlined": 59354,
|
|
7321
7323
|
restart: restart,
|
|
7322
|
-
"return-arrow":
|
|
7323
|
-
"rostering-outlined":
|
|
7324
|
-
"save-outlined":
|
|
7325
|
-
"schedule-outlined":
|
|
7326
|
-
"search-outlined":
|
|
7327
|
-
"search-secured-outlined":
|
|
7328
|
-
"send-outlined":
|
|
7329
|
-
"share-1":
|
|
7330
|
-
"share-2":
|
|
7331
|
-
"share-outlined":
|
|
7332
|
-
"show-chart-outlined":
|
|
7333
|
-
"single-down-arrow":
|
|
7334
|
-
"single-left-arrow":
|
|
7335
|
-
"single-right-arrow":
|
|
7336
|
-
"single-up-arrow":
|
|
7337
|
-
"sparkle-outlined":
|
|
7338
|
-
"speaker-active-outlined":
|
|
7339
|
-
"speaker-outlined":
|
|
7340
|
-
"star-circle-outlined":
|
|
7341
|
-
"star-outlined":
|
|
7342
|
-
"stopwatch-outlined":
|
|
7324
|
+
"return-arrow": 59356,
|
|
7325
|
+
"rostering-outlined": 59357,
|
|
7326
|
+
"save-outlined": 59358,
|
|
7327
|
+
"schedule-outlined": 59359,
|
|
7328
|
+
"search-outlined": 59360,
|
|
7329
|
+
"search-secured-outlined": 59361,
|
|
7330
|
+
"send-outlined": 59362,
|
|
7331
|
+
"share-1": 59363,
|
|
7332
|
+
"share-2": 59364,
|
|
7333
|
+
"share-outlined": 59365,
|
|
7334
|
+
"show-chart-outlined": 59366,
|
|
7335
|
+
"single-down-arrow": 59367,
|
|
7336
|
+
"single-left-arrow": 59368,
|
|
7337
|
+
"single-right-arrow": 59369,
|
|
7338
|
+
"single-up-arrow": 59370,
|
|
7339
|
+
"sparkle-outlined": 59371,
|
|
7340
|
+
"speaker-active-outlined": 59372,
|
|
7341
|
+
"speaker-outlined": 59373,
|
|
7342
|
+
"star-circle-outlined": 59374,
|
|
7343
|
+
"star-outlined": 59375,
|
|
7344
|
+
"stopwatch-outlined": 59376,
|
|
7343
7345
|
strikethrough: strikethrough,
|
|
7344
|
-
"styler-outlined":
|
|
7345
|
-
"suitcase-clock-outlined":
|
|
7346
|
-
"suitcase-outlined":
|
|
7347
|
-
"survey-outlined":
|
|
7348
|
-
"switch-outlined":
|
|
7346
|
+
"styler-outlined": 59378,
|
|
7347
|
+
"suitcase-clock-outlined": 59379,
|
|
7348
|
+
"suitcase-outlined": 59380,
|
|
7349
|
+
"survey-outlined": 59381,
|
|
7350
|
+
"switch-outlined": 59382,
|
|
7349
7351
|
sync: sync,
|
|
7350
|
-
"tag-outlined":
|
|
7351
|
-
"target-outlined":
|
|
7352
|
-
"tennis-outlined":
|
|
7353
|
-
"ticket-outlined":
|
|
7354
|
-
"timesheet-outlined":
|
|
7355
|
-
"timesheets-outlined":
|
|
7356
|
-
"today-outlined":
|
|
7352
|
+
"tag-outlined": 59384,
|
|
7353
|
+
"target-outlined": 59385,
|
|
7354
|
+
"tennis-outlined": 59386,
|
|
7355
|
+
"ticket-outlined": 59387,
|
|
7356
|
+
"timesheet-outlined": 59388,
|
|
7357
|
+
"timesheets-outlined": 59389,
|
|
7358
|
+
"today-outlined": 59390,
|
|
7357
7359
|
transfer: transfer,
|
|
7358
|
-
"trash-bin-outlined":
|
|
7359
|
-
"umbrela-outlined":
|
|
7360
|
+
"trash-bin-outlined": 59392,
|
|
7361
|
+
"umbrela-outlined": 59393,
|
|
7360
7362
|
unavailable: unavailable,
|
|
7361
7363
|
underline: underline,
|
|
7362
|
-
"union-outlined":
|
|
7363
|
-
"unlock-outlined":
|
|
7364
|
-
"upload-outlined":
|
|
7365
|
-
"user-circle-outlined":
|
|
7366
|
-
"user-gear-outlined":
|
|
7367
|
-
"user-outlined":
|
|
7368
|
-
"user-rectangle-outlined":
|
|
7369
|
-
"video-1-outlined":
|
|
7370
|
-
"video-2-outlined":
|
|
7371
|
-
"volunteer-outlined":
|
|
7372
|
-
"wallet-outlined":
|
|
7364
|
+
"union-outlined": 59396,
|
|
7365
|
+
"unlock-outlined": 59397,
|
|
7366
|
+
"upload-outlined": 59398,
|
|
7367
|
+
"user-circle-outlined": 59399,
|
|
7368
|
+
"user-gear-outlined": 59400,
|
|
7369
|
+
"user-outlined": 59401,
|
|
7370
|
+
"user-rectangle-outlined": 59402,
|
|
7371
|
+
"video-1-outlined": 59403,
|
|
7372
|
+
"video-2-outlined": 59404,
|
|
7373
|
+
"volunteer-outlined": 59405,
|
|
7374
|
+
"wallet-outlined": 59406
|
|
7373
7375
|
};
|
|
7374
7376
|
|
|
7375
7377
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -17503,6 +17505,8 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
17503
17505
|
var selectedTabIndex = tabs.findIndex(function (item) {
|
|
17504
17506
|
return item.key === selectedTabKey;
|
|
17505
17507
|
});
|
|
17508
|
+
// Used as a flag to prevent calling onTabPress on initial render
|
|
17509
|
+
var hasScrolled = useRef(false);
|
|
17506
17510
|
React.useEffect(function () {
|
|
17507
17511
|
var timeoutHandle;
|
|
17508
17512
|
if (selectedTabIndex !== -1) {
|
|
@@ -17540,10 +17544,15 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
17540
17544
|
}), /*#__PURE__*/React.createElement(ContentWrapper, {
|
|
17541
17545
|
initialPage: selectedTabIndex,
|
|
17542
17546
|
ref: pagerViewRef,
|
|
17547
|
+
onPageScrollStateChanged: function onPageScrollStateChanged(e) {
|
|
17548
|
+
if (!hasScrolled.current && e.nativeEvent.pageScrollState === 'dragging') {
|
|
17549
|
+
hasScrolled.current = true;
|
|
17550
|
+
}
|
|
17551
|
+
},
|
|
17543
17552
|
onPageSelected: function onPageSelected(e) {
|
|
17544
17553
|
var index = e.nativeEvent.position;
|
|
17545
17554
|
var selectedItem = tabs[index];
|
|
17546
|
-
if (selectedItem) {
|
|
17555
|
+
if (hasScrolled.current && selectedItem) {
|
|
17547
17556
|
setTimeout(function () {
|
|
17548
17557
|
onTabPress(selectedItem.key);
|
|
17549
17558
|
});
|
|
Binary file
|