@hero-design/rn 8.26.0 → 8.26.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/.eslintrc.js CHANGED
@@ -5,8 +5,9 @@ module.exports = {
5
5
  project: ['./tsconfig.json'],
6
6
  },
7
7
  extends: ['hd', 'plugin:@hero-design/recommendedRn'],
8
- plugins: ['@hero-design'],
8
+ plugins: ['@hero-design', 'import'],
9
9
  rules: {
10
10
  'no-underscore-dangle': [2, { allow: ['__hd__'] }],
11
+ 'import/no-cycle': 2,
11
12
  },
12
13
  };
@@ -4,5 +4,5 @@ $ rollup -c
4
4
  src/index.ts → lib/index.js, es/index.js...
5
5
  (!) 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`.
6
6
  (!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/root/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning
7
- created lib/index.js, es/index.js in 25.9s
7
+ created lib/index.js, es/index.js in 25.2s
8
8
  $ tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json
Binary file
package/es/index.js CHANGED
@@ -2327,7 +2327,8 @@ var getFABTheme = function getFABTheme(theme) {
2327
2327
  headerTextMarginRight: theme.space.large,
2328
2328
  headerTextMarginBottom: theme.space.large,
2329
2329
  containerPadding: theme.space.large - theme.space.xsmall,
2330
- titleMarginHorizontal: theme.space.small
2330
+ titleMarginHorizontal: theme.space.small,
2331
+ internalFABMarginBottom: theme.space.large
2331
2332
  };
2332
2333
  var radii = {
2333
2334
  actionItem: theme.radii.rounded
@@ -6196,7 +6197,7 @@ var Typography = {
6196
6197
  };
6197
6198
 
6198
6199
  // 🔴 DO NOT EDIT — This file is generated automatically.
6199
- 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', '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'];
6200
+ 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'];
6200
6201
 
6201
6202
  var activate = 59000;
6202
6203
  var adjustment = 59003;
@@ -6273,18 +6274,18 @@ var add = 59181;
6273
6274
  var bold = 59203;
6274
6275
  var cancel = 59215;
6275
6276
  var checkmark = 59220;
6276
- var italic = 59302;
6277
- var number = 59326;
6278
- var percentage = 59331;
6279
- var redeem = 59340;
6280
- var refresh = 59341;
6281
- var remove = 59342;
6282
- var restart = 59344;
6283
- var strikethrough = 59365;
6284
- var sync = 59371;
6285
- var transfer = 59378;
6286
- var unavailable = 59381;
6287
- var underline = 59382;
6277
+ var italic = 59303;
6278
+ var number = 59327;
6279
+ var percentage = 59332;
6280
+ var redeem = 59341;
6281
+ var refresh = 59342;
6282
+ var remove = 59343;
6283
+ var restart = 59345;
6284
+ var strikethrough = 59366;
6285
+ var sync = 59372;
6286
+ var transfer = 59379;
6287
+ var unavailable = 59382;
6288
+ var underline = 59383;
6288
6289
  var glyphMap = {
6289
6290
  activate: activate,
6290
6291
  "add-emoji": 59001,
@@ -6548,138 +6549,139 @@ var glyphMap = {
6548
6549
  "envelope-outlined": 59259,
6549
6550
  "expense-outlined": 59260,
6550
6551
  "explore-outlined": 59261,
6551
- "external-link": 59262,
6552
- "eye-invisible-outlined": 59263,
6553
- "eye-outlined": 59264,
6554
- "face-id": 59265,
6555
- "face-meh-outlined": 59266,
6556
- "face-open-smiley-outlined": 59267,
6557
- "face-sad-outlined": 59268,
6558
- "face-smiley-outlined": 59269,
6559
- "fastfood-outlined": 59270,
6560
- "feed-outlined": 59271,
6561
- "file-certified-outlined": 59272,
6562
- "file-clone-outlined": 59273,
6563
- "file-copy-outlined": 59274,
6564
- "file-dispose-outlined": 59275,
6565
- "file-dollar-certified-outlined": 59276,
6566
- "file-dollar-outlined": 59277,
6567
- "file-download-outlined": 59278,
6568
- "file-export-outlined": 59279,
6569
- "file-lock-outlined": 59280,
6570
- "file-outlined": 59281,
6571
- "file-search-outlined": 59282,
6572
- "file-secured-outlined": 59283,
6573
- "file-statutory-outlined": 59284,
6574
- "file-verified-outlined": 59285,
6575
- "filter-outlined": 59286,
6576
- "folder-outlined": 59287,
6577
- "folder-user-outlined": 59288,
6578
- "form-outlined": 59289,
6579
- "funnel-filter-outline": 59290,
6580
- "graph-outlined": 59291,
6581
- "hand-holding-user-outlined": 59292,
6582
- "happy-sun-outlined": 59293,
6583
- "health-bag-outlined": 59294,
6584
- "heart-outlined": 59295,
6585
- "home-active-outlined": 59296,
6586
- "home-outlined": 59297,
6587
- "id-card-outlined": 59298,
6588
- "image-outlined": 59299,
6589
- "import-outlined": 59300,
6590
- "instapay-outlined": 59301,
6552
+ "extension-outlined": 59262,
6553
+ "external-link": 59263,
6554
+ "eye-invisible-outlined": 59264,
6555
+ "eye-outlined": 59265,
6556
+ "face-id": 59266,
6557
+ "face-meh-outlined": 59267,
6558
+ "face-open-smiley-outlined": 59268,
6559
+ "face-sad-outlined": 59269,
6560
+ "face-smiley-outlined": 59270,
6561
+ "fastfood-outlined": 59271,
6562
+ "feed-outlined": 59272,
6563
+ "file-certified-outlined": 59273,
6564
+ "file-clone-outlined": 59274,
6565
+ "file-copy-outlined": 59275,
6566
+ "file-dispose-outlined": 59276,
6567
+ "file-dollar-certified-outlined": 59277,
6568
+ "file-dollar-outlined": 59278,
6569
+ "file-download-outlined": 59279,
6570
+ "file-export-outlined": 59280,
6571
+ "file-lock-outlined": 59281,
6572
+ "file-outlined": 59282,
6573
+ "file-search-outlined": 59283,
6574
+ "file-secured-outlined": 59284,
6575
+ "file-statutory-outlined": 59285,
6576
+ "file-verified-outlined": 59286,
6577
+ "filter-outlined": 59287,
6578
+ "folder-outlined": 59288,
6579
+ "folder-user-outlined": 59289,
6580
+ "form-outlined": 59290,
6581
+ "funnel-filter-outline": 59291,
6582
+ "graph-outlined": 59292,
6583
+ "hand-holding-user-outlined": 59293,
6584
+ "happy-sun-outlined": 59294,
6585
+ "health-bag-outlined": 59295,
6586
+ "heart-outlined": 59296,
6587
+ "home-active-outlined": 59297,
6588
+ "home-outlined": 59298,
6589
+ "id-card-outlined": 59299,
6590
+ "image-outlined": 59300,
6591
+ "import-outlined": 59301,
6592
+ "instapay-outlined": 59302,
6591
6593
  italic: italic,
6592
- "link-1": 59303,
6593
- "link-2": 59304,
6594
- "list-outlined": 59305,
6595
- "live-help-outlined": 59306,
6596
- "location-on-outlined": 59307,
6597
- "location-outlined": 59308,
6598
- "lock-outlined": 59309,
6599
- "locked-file-outlined": 59310,
6600
- "log-out": 59311,
6601
- "media-content-outlined": 59312,
6602
- "menu-close": 59313,
6603
- "menu-expand": 59314,
6604
- "menu-fold-outlined": 59315,
6605
- "menu-unfold-outlined": 59316,
6606
- "moneybag-outlined": 59317,
6607
- "moon-outlined": 59318,
6608
- "more-horizontal": 59319,
6609
- "more-vertical": 59320,
6610
- "multiple-folders-outlined": 59321,
6611
- "multiple-users-outlined": 59322,
6612
- "near-me-outlined": 59323,
6613
- "node-outlined": 59324,
6614
- "number-points": 59325,
6594
+ "link-1": 59304,
6595
+ "link-2": 59305,
6596
+ "list-outlined": 59306,
6597
+ "live-help-outlined": 59307,
6598
+ "location-on-outlined": 59308,
6599
+ "location-outlined": 59309,
6600
+ "lock-outlined": 59310,
6601
+ "locked-file-outlined": 59311,
6602
+ "log-out": 59312,
6603
+ "media-content-outlined": 59313,
6604
+ "menu-close": 59314,
6605
+ "menu-expand": 59315,
6606
+ "menu-fold-outlined": 59316,
6607
+ "menu-unfold-outlined": 59317,
6608
+ "moneybag-outlined": 59318,
6609
+ "moon-outlined": 59319,
6610
+ "more-horizontal": 59320,
6611
+ "more-vertical": 59321,
6612
+ "multiple-folders-outlined": 59322,
6613
+ "multiple-users-outlined": 59323,
6614
+ "near-me-outlined": 59324,
6615
+ "node-outlined": 59325,
6616
+ "number-points": 59326,
6615
6617
  number: number,
6616
- "overview-outlined": 59327,
6617
- "payment-summary-outlined": 59328,
6618
- "payslip-outlined": 59329,
6619
- "pencil-outlined": 59330,
6618
+ "overview-outlined": 59328,
6619
+ "payment-summary-outlined": 59329,
6620
+ "payslip-outlined": 59330,
6621
+ "pencil-outlined": 59331,
6620
6622
  percentage: percentage,
6621
- "phone-outlined": 59332,
6622
- "piggy-bank-outlined": 59333,
6623
- "plane-outlined": 59334,
6624
- "play-circle-outlined": 59335,
6625
- "print-outlined": 59336,
6626
- "qr-code-outlined": 59337,
6627
- "qualification-outlined": 59338,
6628
- "re-assign": 59339,
6623
+ "phone-outlined": 59333,
6624
+ "piggy-bank-outlined": 59334,
6625
+ "plane-outlined": 59335,
6626
+ "play-circle-outlined": 59336,
6627
+ "print-outlined": 59337,
6628
+ "qr-code-outlined": 59338,
6629
+ "qualification-outlined": 59339,
6630
+ "re-assign": 59340,
6629
6631
  redeem: redeem,
6630
6632
  refresh: refresh,
6631
6633
  remove: remove,
6632
- "reply-outlined": 59343,
6634
+ "reply-outlined": 59344,
6633
6635
  restart: restart,
6634
- "return-arrow": 59345,
6635
- "rostering-outlined": 59346,
6636
- "save-outlined": 59347,
6637
- "schedule-outlined": 59348,
6638
- "search-outlined": 59349,
6639
- "search-secured-outlined": 59350,
6640
- "send-outlined": 59351,
6641
- "share-1": 59352,
6642
- "share-2": 59353,
6643
- "share-outlined": 59354,
6644
- "show-chart-outlined": 59355,
6645
- "single-down-arrow": 59356,
6646
- "single-left-arrow": 59357,
6647
- "single-right-arrow": 59358,
6648
- "single-up-arrow": 59359,
6649
- "speaker-active-outlined": 59360,
6650
- "speaker-outlined": 59361,
6651
- "star-circle-outlined": 59362,
6652
- "star-outlined": 59363,
6653
- "stopwatch-outlined": 59364,
6636
+ "return-arrow": 59346,
6637
+ "rostering-outlined": 59347,
6638
+ "save-outlined": 59348,
6639
+ "schedule-outlined": 59349,
6640
+ "search-outlined": 59350,
6641
+ "search-secured-outlined": 59351,
6642
+ "send-outlined": 59352,
6643
+ "share-1": 59353,
6644
+ "share-2": 59354,
6645
+ "share-outlined": 59355,
6646
+ "show-chart-outlined": 59356,
6647
+ "single-down-arrow": 59357,
6648
+ "single-left-arrow": 59358,
6649
+ "single-right-arrow": 59359,
6650
+ "single-up-arrow": 59360,
6651
+ "speaker-active-outlined": 59361,
6652
+ "speaker-outlined": 59362,
6653
+ "star-circle-outlined": 59363,
6654
+ "star-outlined": 59364,
6655
+ "stopwatch-outlined": 59365,
6654
6656
  strikethrough: strikethrough,
6655
- "styler-outlined": 59366,
6656
- "suitcase-clock-outlined": 59367,
6657
- "suitcase-outlined": 59368,
6658
- "survey-outlined": 59369,
6659
- "switch-outlined": 59370,
6657
+ "styler-outlined": 59367,
6658
+ "suitcase-clock-outlined": 59368,
6659
+ "suitcase-outlined": 59369,
6660
+ "survey-outlined": 59370,
6661
+ "switch-outlined": 59371,
6660
6662
  sync: sync,
6661
- "tag-outlined": 59372,
6662
- "target-outlined": 59373,
6663
- "tennis-outlined": 59374,
6664
- "ticket-outlined": 59375,
6665
- "timesheet-outlined": 59376,
6666
- "today-outlined": 59377,
6663
+ "tag-outlined": 59373,
6664
+ "target-outlined": 59374,
6665
+ "tennis-outlined": 59375,
6666
+ "ticket-outlined": 59376,
6667
+ "timesheet-outlined": 59377,
6668
+ "today-outlined": 59378,
6667
6669
  transfer: transfer,
6668
- "trash-bin-outlined": 59379,
6669
- "umbrela-outlined": 59380,
6670
+ "trash-bin-outlined": 59380,
6671
+ "umbrela-outlined": 59381,
6670
6672
  unavailable: unavailable,
6671
6673
  underline: underline,
6672
- "union-outlined": 59383,
6673
- "unlock-outlined": 59384,
6674
- "upload-outlined": 59385,
6675
- "user-circle-outlined": 59386,
6676
- "user-gear-outlined": 59387,
6677
- "user-outlined": 59388,
6678
- "user-rectangle-outlined": 59389,
6679
- "video-1-outlined": 59390,
6680
- "video-2-outlined": 59391,
6681
- "volunteer-outlined": 59392,
6682
- "wallet-outlined": 59393
6674
+ "union-outlined": 59384,
6675
+ "unlock-outlined": 59385,
6676
+ "upload-outlined": 59386,
6677
+ "user-circle-outlined": 59387,
6678
+ "user-gear-outlined": 59388,
6679
+ "user-outlined": 59389,
6680
+ "user-rectangle-outlined": 59390,
6681
+ "video-1-outlined": 59391,
6682
+ "video-2-outlined": 59392,
6683
+ "volunteer-outlined": 59393,
6684
+ "wallet-outlined": 59394
6683
6685
  };
6684
6686
 
6685
6687
  var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -13070,10 +13072,11 @@ var StyledBackdrop = index$a(Animated.View)(function (_ref2) {
13070
13072
  var theme = _ref2.theme;
13071
13073
  return {
13072
13074
  position: 'absolute',
13073
- left: 0,
13074
- right: 0,
13075
- top: 0,
13075
+ flex: 1,
13076
+ height: '100%',
13077
+ width: '100%',
13076
13078
  bottom: 0,
13079
+ right: 0,
13077
13080
  backgroundColor: theme.__hd__.fab.colors.backdropBackground
13078
13081
  };
13079
13082
  });
@@ -13089,6 +13092,17 @@ var StyledHeaderText = index$a(Typography.Text)(function (_ref3) {
13089
13092
  textAlign: 'right'
13090
13093
  };
13091
13094
  });
13095
+ var StyledModalView = index$a(View)({
13096
+ position: 'absolute',
13097
+ flex: 1,
13098
+ height: '100%',
13099
+ width: '100%',
13100
+ bottom: 0,
13101
+ right: 0,
13102
+ justifyContent: 'flex-end',
13103
+ alignItems: 'flex-end',
13104
+ backgroundColor: 'transparent'
13105
+ });
13092
13106
 
13093
13107
  var ActionItemsListComponent = function ActionItemsListComponent(_ref) {
13094
13108
  var style = _ref.style,
@@ -13111,15 +13125,43 @@ var ActionGroup = function ActionGroup(_ref2) {
13111
13125
  fabTitle = _ref2.fabTitle,
13112
13126
  _ref2$fabIcon = _ref2.fabIcon,
13113
13127
  fabIcon = _ref2$fabIcon === void 0 ? 'add' : _ref2$fabIcon;
13128
+ var theme = useTheme();
13129
+ // Internal state to control the animation of the action group
13130
+ var _useState = useState(active),
13131
+ _useState2 = _slicedToArray(_useState, 2),
13132
+ visible = _useState2[0],
13133
+ setVisibility = _useState2[1];
13114
13134
  var tranlateXAnimation = useRef(new Animated.Value(active ? 1 : 0));
13115
13135
  useEffect(function () {
13136
+ if (active && !visible) {
13137
+ setVisibility(true);
13138
+ }
13139
+ }, [active]);
13140
+ useEffect(function () {
13141
+ if (active) {
13142
+ var animation = Animated.timing(tranlateXAnimation.current, {
13143
+ toValue: 1,
13144
+ useNativeDriver: Platform.OS === 'ios' || Platform.OS === 'android',
13145
+ easing: Easing.inOut(Easing.cubic)
13146
+ });
13147
+ animation.start();
13148
+ }
13149
+ }, [active]);
13150
+ // Make sure the animation finishes running before closing the modal
13151
+ var onInternalFABPress = useCallback(function () {
13152
+ if (!onPress) {
13153
+ return;
13154
+ }
13116
13155
  var animation = Animated.timing(tranlateXAnimation.current, {
13117
- toValue: active ? 1 : 0,
13156
+ toValue: 0,
13118
13157
  useNativeDriver: Platform.OS === 'ios' || Platform.OS === 'android',
13119
13158
  easing: Easing.inOut(Easing.cubic)
13120
13159
  });
13121
- animation.start();
13122
- }, [active]);
13160
+ animation.start(function () {
13161
+ setVisibility(false);
13162
+ onPress();
13163
+ });
13164
+ }, [visible]);
13123
13165
  var interpolatedTranlateXAnimation = tranlateXAnimation.current.interpolate({
13124
13166
  inputRange: [0, 1],
13125
13167
  outputRange: [400, 0]
@@ -13136,13 +13178,18 @@ var ActionGroup = function ActionGroup(_ref2) {
13136
13178
  testID: testID,
13137
13179
  pointerEvents: "box-none",
13138
13180
  style: style
13181
+ }, /*#__PURE__*/React.createElement(Modal, {
13182
+ visible: visible,
13183
+ transparent: true,
13184
+ statusBarTranslucent: true,
13185
+ animationType: "none"
13139
13186
  }, /*#__PURE__*/React.createElement(StyledBackdrop, {
13140
- pointerEvents: active ? 'auto' : 'box-none',
13141
- testID: "back-drop",
13142
13187
  style: {
13143
13188
  opacity: interpolatedBackdropOpacityAnimation
13144
- }
13145
- }), /*#__PURE__*/React.createElement(StyledActionGroupContainer, {
13189
+ },
13190
+ testID: "back-drop",
13191
+ pointerEvents: active ? 'auto' : 'box-none'
13192
+ }), /*#__PURE__*/React.createElement(StyledModalView, null, /*#__PURE__*/React.createElement(StyledActionGroupContainer, {
13146
13193
  pointerEvents: active ? 'auto' : 'none',
13147
13194
  testID: "action-group",
13148
13195
  style: {
@@ -13155,7 +13202,17 @@ var ActionGroup = function ActionGroup(_ref2) {
13155
13202
  testID: "header-text"
13156
13203
  }, headerTitle), /*#__PURE__*/React.createElement(ActionItemsListComponent, {
13157
13204
  items: items
13158
- })), /*#__PURE__*/React.createElement(StyledFAB, {
13205
+ })), active && /*#__PURE__*/React.createElement(StyledFAB, {
13206
+ testID: "fab",
13207
+ icon: fabIcon,
13208
+ onPress: onInternalFABPress,
13209
+ animated: true,
13210
+ active: active,
13211
+ title: fabTitle,
13212
+ style: {
13213
+ marginBottom: theme.__hd__.fab.space.internalFABMarginBottom
13214
+ }
13215
+ }))), !active && /*#__PURE__*/React.createElement(StyledFAB, {
13159
13216
  testID: "fab",
13160
13217
  icon: fabIcon,
13161
13218
  onPress: onPress,