@hero-design/rn 8.127.1 → 8.128.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/CHANGELOG.md +26 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +158 -159
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +158 -159
- package/package.json +4 -4
- package/src/components/Button/StyledButton.tsx +4 -4
- package/src/components/FilterTrigger/index.tsx +7 -6
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/locales/types.ts +1 -3
- package/src/theme/components/filterTrigger.ts +8 -10
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/locales/types.d.ts +1 -3
- package/types/theme/components/filterTrigger.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.128.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#5078](https://github.com/Thinkei/hero-design/pull/5078) [`69f51118368fcc4b49d1cc6f2fe1ed8deb882ea0`](https://github.com/Thinkei/hero-design/commit/69f51118368fcc4b49d1cc6f2fe1ed8deb882ea0) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Icon] Add `history-outlined` icon to web and mobile
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#5071](https://github.com/Thinkei/hero-design/pull/5071) [`d1c5aeb6b12e27c3e719158e53a77d56db6dbc0a`](https://github.com/Thinkei/hero-design/commit/d1c5aeb6b12e27c3e719158e53a77d56db6dbc0a) Thanks [@kristellegangano-debug](https://github.com/kristellegangano-debug)! - [UXT-8912] **Button:** reduce default button height and fix horizontal padding
|
|
12
|
+
|
|
13
|
+
- Default button height reduced from `scale(60)` to `scale(48)` to align with the compact/medium sizes.
|
|
14
|
+
- Changed `padding` to `paddingHorizontal` on filled, outline, and text button containers so vertical padding no longer inflates the button height.
|
|
15
|
+
|
|
16
|
+
- [#5074](https://github.com/Thinkei/hero-design/pull/5074) [`a9f1d5613fa357b2c4e3cfddd820a2a122a7e773`](https://github.com/Thinkei/hero-design/commit/a9f1d5613fa357b2c4e3cfddd820a2a122a7e773) Thanks [@kristellegangano-debug](https://github.com/kristellegangano-debug)! - [UXT-9001] [FilterTrigger] Align visual style to web
|
|
17
|
+
|
|
18
|
+
- Icon position moved before label text (was after)
|
|
19
|
+
- Active state backgrounds unified to `highlightedSurface` for all variants
|
|
20
|
+
- Outlined variant border changed from `medium` to `base`, color from `primaryOutline`/`secondaryOutline` to `primary`
|
|
21
|
+
- Label weight fixed to `small` (was `small-bold` when active)
|
|
22
|
+
- Icon intent fixed to `text` (was `inactive` when inactive)
|
|
23
|
+
- Badge intent set to `primary` (was unset)
|
|
24
|
+
- Filter icon SVG updated to match web version
|
|
25
|
+
|
|
26
|
+
- Updated dependencies []:
|
|
27
|
+
- @hero-design/react-native-month-year-picker@8.45.2
|
|
28
|
+
|
|
3
29
|
## 8.127.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
Binary file
|
package/es/index.js
CHANGED
|
@@ -7780,21 +7780,19 @@ var getAppCueTheme = function getAppCueTheme(theme) {
|
|
|
7780
7780
|
var getFilterTriggerTheme = function getFilterTriggerTheme(theme) {
|
|
7781
7781
|
var borderWidths = {
|
|
7782
7782
|
wrapper: {
|
|
7783
|
-
filled: theme.borderWidths.
|
|
7784
|
-
outlined: theme.borderWidths.
|
|
7783
|
+
filled: theme.borderWidths.base,
|
|
7784
|
+
outlined: theme.borderWidths.base,
|
|
7785
7785
|
ghost: 0
|
|
7786
7786
|
}
|
|
7787
7787
|
};
|
|
7788
7788
|
var colors = {
|
|
7789
7789
|
wrapper: {
|
|
7790
|
-
activeBackground: theme.colors.highlightedSurface,
|
|
7791
|
-
inactiveBackground: theme.colors.neutralGlobalSurface,
|
|
7792
7790
|
background: {
|
|
7793
7791
|
active: {
|
|
7794
7792
|
filled: theme.colors.highlightedSurface,
|
|
7795
|
-
outlined:
|
|
7796
|
-
ghost:
|
|
7797
|
-
filledLabeless: theme.colors.
|
|
7793
|
+
outlined: theme.colors.highlightedSurface,
|
|
7794
|
+
ghost: theme.colors.highlightedSurface,
|
|
7795
|
+
filledLabeless: theme.colors.highlightedSurface
|
|
7798
7796
|
},
|
|
7799
7797
|
inactive: {
|
|
7800
7798
|
filled: theme.colors.neutralGlobalSurface,
|
|
@@ -7805,13 +7803,13 @@ var getFilterTriggerTheme = function getFilterTriggerTheme(theme) {
|
|
|
7805
7803
|
border: {
|
|
7806
7804
|
active: {
|
|
7807
7805
|
filled: theme.colors.highlightedSurface,
|
|
7808
|
-
outlined: theme.colors.
|
|
7806
|
+
outlined: theme.colors.primary,
|
|
7809
7807
|
ghost: 'transparent',
|
|
7810
|
-
filledLabeless: theme.colors.
|
|
7808
|
+
filledLabeless: theme.colors.highlightedSurface
|
|
7811
7809
|
},
|
|
7812
7810
|
inactive: {
|
|
7813
7811
|
filled: theme.colors.neutralGlobalSurface,
|
|
7814
|
-
outlined: theme.colors.
|
|
7812
|
+
outlined: theme.colors.primary,
|
|
7815
7813
|
ghost: 'transparent'
|
|
7816
7814
|
}
|
|
7817
7815
|
}
|
|
@@ -8509,7 +8507,7 @@ var Typography = {
|
|
|
8509
8507
|
};
|
|
8510
8508
|
|
|
8511
8509
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
8512
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'global-pound', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rocket-launch', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-edit-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'diamond-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'edit-user-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'feedbacks-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-pound-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'profile-2user-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 'question-mark', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rocket-launch-outlined', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-2-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-add-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-out-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
|
|
8510
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'global-pound', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rocket-launch', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-edit-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'diamond-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'edit-user-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'feedbacks-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-pound-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'history-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'profile-2user-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 'question-mark', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rocket-launch-outlined', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-2-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-add-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-out-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
|
|
8513
8511
|
|
|
8514
8512
|
var activate = 59000;
|
|
8515
8513
|
var adjustment = 59003;
|
|
@@ -8589,20 +8587,20 @@ var add = 59203;
|
|
|
8589
8587
|
var bold = 59233;
|
|
8590
8588
|
var cancel = 59251;
|
|
8591
8589
|
var checkmark = 59257;
|
|
8592
|
-
var italic =
|
|
8593
|
-
var local_mall_outlined =
|
|
8594
|
-
var number$2 =
|
|
8595
|
-
var percentage =
|
|
8596
|
-
var redeem =
|
|
8597
|
-
var refresh =
|
|
8598
|
-
var remove$1 =
|
|
8599
|
-
var restart =
|
|
8600
|
-
var shopping_basket_outlined =
|
|
8601
|
-
var strikethrough =
|
|
8602
|
-
var sync =
|
|
8603
|
-
var transfer =
|
|
8604
|
-
var unavailable =
|
|
8605
|
-
var underline =
|
|
8590
|
+
var italic = 59358;
|
|
8591
|
+
var local_mall_outlined = 59366;
|
|
8592
|
+
var number$2 = 59389;
|
|
8593
|
+
var percentage = 59395;
|
|
8594
|
+
var redeem = 59411;
|
|
8595
|
+
var refresh = 59412;
|
|
8596
|
+
var remove$1 = 59413;
|
|
8597
|
+
var restart = 59415;
|
|
8598
|
+
var shopping_basket_outlined = 59433;
|
|
8599
|
+
var strikethrough = 59449;
|
|
8600
|
+
var sync = 59455;
|
|
8601
|
+
var transfer = 59465;
|
|
8602
|
+
var unavailable = 59470;
|
|
8603
|
+
var underline = 59471;
|
|
8606
8604
|
var glyphMap = {
|
|
8607
8605
|
activate: activate,
|
|
8608
8606
|
"add-emoji": 59001,
|
|
@@ -8955,140 +8953,141 @@ var glyphMap = {
|
|
|
8955
8953
|
"happy-sun-outlined": 59348,
|
|
8956
8954
|
"health-bag-outlined": 59349,
|
|
8957
8955
|
"heart-outlined": 59350,
|
|
8958
|
-
"
|
|
8959
|
-
"home-outlined": 59352,
|
|
8960
|
-
"
|
|
8961
|
-
"
|
|
8962
|
-
"
|
|
8963
|
-
"
|
|
8956
|
+
"history-outlined": 59351,
|
|
8957
|
+
"home-active-outlined": 59352,
|
|
8958
|
+
"home-outlined": 59353,
|
|
8959
|
+
"id-card-outlined": 59354,
|
|
8960
|
+
"image-outlined": 59355,
|
|
8961
|
+
"import-outlined": 59356,
|
|
8962
|
+
"instapay-outlined": 59357,
|
|
8964
8963
|
italic: italic,
|
|
8965
|
-
"job-search-outlined":
|
|
8966
|
-
"leave-approval-outlined":
|
|
8967
|
-
"lighting-outlined":
|
|
8968
|
-
"link-1":
|
|
8969
|
-
"link-2":
|
|
8970
|
-
"list-outlined":
|
|
8971
|
-
"live-help-outlined":
|
|
8964
|
+
"job-search-outlined": 59359,
|
|
8965
|
+
"leave-approval-outlined": 59360,
|
|
8966
|
+
"lighting-outlined": 59361,
|
|
8967
|
+
"link-1": 59362,
|
|
8968
|
+
"link-2": 59363,
|
|
8969
|
+
"list-outlined": 59364,
|
|
8970
|
+
"live-help-outlined": 59365,
|
|
8972
8971
|
local_mall_outlined: local_mall_outlined,
|
|
8973
|
-
"location-on-outlined":
|
|
8974
|
-
"location-outlined":
|
|
8975
|
-
"lock-outlined":
|
|
8976
|
-
"locked-file-outlined":
|
|
8977
|
-
"log-out":
|
|
8978
|
-
"mail-outlined":
|
|
8979
|
-
"map-outlined":
|
|
8980
|
-
"media-content-outlined":
|
|
8981
|
-
"menu-close":
|
|
8982
|
-
"menu-expand":
|
|
8983
|
-
"menu-fold-outlined":
|
|
8984
|
-
"menu-unfold-outlined":
|
|
8985
|
-
"moneybag-outlined":
|
|
8986
|
-
"moon-outlined":
|
|
8987
|
-
"more-horizontal":
|
|
8988
|
-
"more-vertical":
|
|
8989
|
-
"morning-outlined":
|
|
8990
|
-
"multiple-folders-outlined":
|
|
8991
|
-
"multiple-users-outlined":
|
|
8992
|
-
"near-me-outlined":
|
|
8993
|
-
"node-outlined":
|
|
8994
|
-
"number-points":
|
|
8972
|
+
"location-on-outlined": 59367,
|
|
8973
|
+
"location-outlined": 59368,
|
|
8974
|
+
"lock-outlined": 59369,
|
|
8975
|
+
"locked-file-outlined": 59370,
|
|
8976
|
+
"log-out": 59371,
|
|
8977
|
+
"mail-outlined": 59372,
|
|
8978
|
+
"map-outlined": 59373,
|
|
8979
|
+
"media-content-outlined": 59374,
|
|
8980
|
+
"menu-close": 59375,
|
|
8981
|
+
"menu-expand": 59376,
|
|
8982
|
+
"menu-fold-outlined": 59377,
|
|
8983
|
+
"menu-unfold-outlined": 59378,
|
|
8984
|
+
"moneybag-outlined": 59379,
|
|
8985
|
+
"moon-outlined": 59380,
|
|
8986
|
+
"more-horizontal": 59381,
|
|
8987
|
+
"more-vertical": 59382,
|
|
8988
|
+
"morning-outlined": 59383,
|
|
8989
|
+
"multiple-folders-outlined": 59384,
|
|
8990
|
+
"multiple-users-outlined": 59385,
|
|
8991
|
+
"near-me-outlined": 59386,
|
|
8992
|
+
"node-outlined": 59387,
|
|
8993
|
+
"number-points": 59388,
|
|
8995
8994
|
number: number$2,
|
|
8996
|
-
"overview-outlined":
|
|
8997
|
-
"park-outlined":
|
|
8998
|
-
"payment-summary-outlined":
|
|
8999
|
-
"payslip-outlined":
|
|
9000
|
-
"pencil-outlined":
|
|
8995
|
+
"overview-outlined": 59390,
|
|
8996
|
+
"park-outlined": 59391,
|
|
8997
|
+
"payment-summary-outlined": 59392,
|
|
8998
|
+
"payslip-outlined": 59393,
|
|
8999
|
+
"pencil-outlined": 59394,
|
|
9001
9000
|
percentage: percentage,
|
|
9002
|
-
"phone-outlined":
|
|
9003
|
-
"piggy-bank-outlined":
|
|
9004
|
-
"plane-outlined":
|
|
9005
|
-
"play-circle-outlined":
|
|
9006
|
-
"pound-box-outlined":
|
|
9007
|
-
"pound-card-outlined":
|
|
9008
|
-
"pound-coin-shine-outlined":
|
|
9009
|
-
"pound-credit-card-outlined":
|
|
9010
|
-
"print-outlined":
|
|
9011
|
-
"profile-2user-outlined":
|
|
9012
|
-
"propane-tank-outlined":
|
|
9013
|
-
"qr-code-outlined":
|
|
9014
|
-
"qualification-outlined":
|
|
9015
|
-
"question-mark":
|
|
9016
|
-
"re-assign":
|
|
9001
|
+
"phone-outlined": 59396,
|
|
9002
|
+
"piggy-bank-outlined": 59397,
|
|
9003
|
+
"plane-outlined": 59398,
|
|
9004
|
+
"play-circle-outlined": 59399,
|
|
9005
|
+
"pound-box-outlined": 59400,
|
|
9006
|
+
"pound-card-outlined": 59401,
|
|
9007
|
+
"pound-coin-shine-outlined": 59402,
|
|
9008
|
+
"pound-credit-card-outlined": 59403,
|
|
9009
|
+
"print-outlined": 59404,
|
|
9010
|
+
"profile-2user-outlined": 59405,
|
|
9011
|
+
"propane-tank-outlined": 59406,
|
|
9012
|
+
"qr-code-outlined": 59407,
|
|
9013
|
+
"qualification-outlined": 59408,
|
|
9014
|
+
"question-mark": 59409,
|
|
9015
|
+
"re-assign": 59410,
|
|
9017
9016
|
redeem: redeem,
|
|
9018
9017
|
refresh: refresh,
|
|
9019
9018
|
remove: remove$1,
|
|
9020
|
-
"reply-outlined":
|
|
9019
|
+
"reply-outlined": 59414,
|
|
9021
9020
|
restart: restart,
|
|
9022
|
-
"restaurant-outlined":
|
|
9023
|
-
"resume-outlined":
|
|
9024
|
-
"return-arrow":
|
|
9025
|
-
"rocket-launch-outlined":
|
|
9026
|
-
"rostering-outlined":
|
|
9027
|
-
"safety-outlined":
|
|
9028
|
-
"save-outlined":
|
|
9029
|
-
"schedule-outlined":
|
|
9030
|
-
"search-outlined":
|
|
9031
|
-
"search-secured-outlined":
|
|
9032
|
-
"send-outlined":
|
|
9033
|
-
"share-1":
|
|
9034
|
-
"share-2":
|
|
9035
|
-
"share-outlined-2":
|
|
9036
|
-
"share-outlined":
|
|
9037
|
-
"shield-check-outlined":
|
|
9038
|
-
"shop-outlined":
|
|
9021
|
+
"restaurant-outlined": 59416,
|
|
9022
|
+
"resume-outlined": 59417,
|
|
9023
|
+
"return-arrow": 59418,
|
|
9024
|
+
"rocket-launch-outlined": 59419,
|
|
9025
|
+
"rostering-outlined": 59420,
|
|
9026
|
+
"safety-outlined": 59421,
|
|
9027
|
+
"save-outlined": 59422,
|
|
9028
|
+
"schedule-outlined": 59423,
|
|
9029
|
+
"search-outlined": 59424,
|
|
9030
|
+
"search-secured-outlined": 59425,
|
|
9031
|
+
"send-outlined": 59426,
|
|
9032
|
+
"share-1": 59427,
|
|
9033
|
+
"share-2": 59428,
|
|
9034
|
+
"share-outlined-2": 59429,
|
|
9035
|
+
"share-outlined": 59430,
|
|
9036
|
+
"shield-check-outlined": 59431,
|
|
9037
|
+
"shop-outlined": 59432,
|
|
9039
9038
|
shopping_basket_outlined: shopping_basket_outlined,
|
|
9040
|
-
"show-chart-outlined":
|
|
9041
|
-
"single-down-arrow":
|
|
9042
|
-
"single-left-arrow":
|
|
9043
|
-
"single-right-arrow":
|
|
9044
|
-
"single-up-arrow":
|
|
9045
|
-
"smart-match-outlined":
|
|
9046
|
-
"sparkle-2-outlined":
|
|
9047
|
-
"sparkle-outlined":
|
|
9048
|
-
"speaker-active-outlined":
|
|
9049
|
-
"speaker-outlined":
|
|
9050
|
-
"star-circle-outlined":
|
|
9051
|
-
"star-outlined":
|
|
9052
|
-
"start-break-outlined":
|
|
9053
|
-
"stash-outlined":
|
|
9054
|
-
"stopwatch-outlined":
|
|
9039
|
+
"show-chart-outlined": 59434,
|
|
9040
|
+
"single-down-arrow": 59435,
|
|
9041
|
+
"single-left-arrow": 59436,
|
|
9042
|
+
"single-right-arrow": 59437,
|
|
9043
|
+
"single-up-arrow": 59438,
|
|
9044
|
+
"smart-match-outlined": 59439,
|
|
9045
|
+
"sparkle-2-outlined": 59440,
|
|
9046
|
+
"sparkle-outlined": 59441,
|
|
9047
|
+
"speaker-active-outlined": 59442,
|
|
9048
|
+
"speaker-outlined": 59443,
|
|
9049
|
+
"star-circle-outlined": 59444,
|
|
9050
|
+
"star-outlined": 59445,
|
|
9051
|
+
"start-break-outlined": 59446,
|
|
9052
|
+
"stash-outlined": 59447,
|
|
9053
|
+
"stopwatch-outlined": 59448,
|
|
9055
9054
|
strikethrough: strikethrough,
|
|
9056
|
-
"styler-outlined":
|
|
9057
|
-
"suitcase-clock-outlined":
|
|
9058
|
-
"suitcase-outlined":
|
|
9059
|
-
"survey-outlined":
|
|
9060
|
-
"switch-outlined":
|
|
9055
|
+
"styler-outlined": 59450,
|
|
9056
|
+
"suitcase-clock-outlined": 59451,
|
|
9057
|
+
"suitcase-outlined": 59452,
|
|
9058
|
+
"survey-outlined": 59453,
|
|
9059
|
+
"switch-outlined": 59454,
|
|
9061
9060
|
sync: sync,
|
|
9062
|
-
"tag-outlined":
|
|
9063
|
-
"target-outlined":
|
|
9064
|
-
"tennis-outlined":
|
|
9065
|
-
"thumb-down-outlined":
|
|
9066
|
-
"thumb-up-outlined":
|
|
9067
|
-
"ticket-outlined":
|
|
9068
|
-
"timesheet-outlined":
|
|
9069
|
-
"timesheets-outlined":
|
|
9070
|
-
"today-outlined":
|
|
9061
|
+
"tag-outlined": 59456,
|
|
9062
|
+
"target-outlined": 59457,
|
|
9063
|
+
"tennis-outlined": 59458,
|
|
9064
|
+
"thumb-down-outlined": 59459,
|
|
9065
|
+
"thumb-up-outlined": 59460,
|
|
9066
|
+
"ticket-outlined": 59461,
|
|
9067
|
+
"timesheet-outlined": 59462,
|
|
9068
|
+
"timesheets-outlined": 59463,
|
|
9069
|
+
"today-outlined": 59464,
|
|
9071
9070
|
transfer: transfer,
|
|
9072
|
-
"transportation-outlined":
|
|
9073
|
-
"trash-bin-outlined":
|
|
9074
|
-
"umbrela-outlined":
|
|
9075
|
-
"unavailability-outlined":
|
|
9071
|
+
"transportation-outlined": 59466,
|
|
9072
|
+
"trash-bin-outlined": 59467,
|
|
9073
|
+
"umbrela-outlined": 59468,
|
|
9074
|
+
"unavailability-outlined": 59469,
|
|
9076
9075
|
unavailable: unavailable,
|
|
9077
9076
|
underline: underline,
|
|
9078
|
-
"union-outlined":
|
|
9079
|
-
"unlock-outlined":
|
|
9080
|
-
"upload-outlined":
|
|
9081
|
-
"user-add-outlined":
|
|
9082
|
-
"user-circle-outlined":
|
|
9083
|
-
"user-gear-outlined":
|
|
9084
|
-
"user-out-outlined":
|
|
9085
|
-
"user-outlined":
|
|
9086
|
-
"user-rectangle-outlined":
|
|
9087
|
-
"video-1-outlined":
|
|
9088
|
-
"video-2-outlined":
|
|
9089
|
-
"volunteer-outlined":
|
|
9090
|
-
"wallet-outlined":
|
|
9091
|
-
"wellness-outlined":
|
|
9077
|
+
"union-outlined": 59472,
|
|
9078
|
+
"unlock-outlined": 59473,
|
|
9079
|
+
"upload-outlined": 59474,
|
|
9080
|
+
"user-add-outlined": 59475,
|
|
9081
|
+
"user-circle-outlined": 59476,
|
|
9082
|
+
"user-gear-outlined": 59477,
|
|
9083
|
+
"user-out-outlined": 59478,
|
|
9084
|
+
"user-outlined": 59479,
|
|
9085
|
+
"user-rectangle-outlined": 59480,
|
|
9086
|
+
"video-1-outlined": 59481,
|
|
9087
|
+
"video-2-outlined": 59482,
|
|
9088
|
+
"volunteer-outlined": 59483,
|
|
9089
|
+
"wallet-outlined": 59484,
|
|
9090
|
+
"wellness-outlined": 59485
|
|
9092
9091
|
};
|
|
9093
9092
|
|
|
9094
9093
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -10967,7 +10966,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
10967
10966
|
var getButtonSize = function getButtonSize(themeIsCompact, themeIsMedium) {
|
|
10968
10967
|
if (themeIsCompact) return scale(36);
|
|
10969
10968
|
if (themeIsMedium) return scale(48);
|
|
10970
|
-
return scale(
|
|
10969
|
+
return scale(48);
|
|
10971
10970
|
};
|
|
10972
10971
|
var getTextButtonPaddingVertical = function getTextButtonPaddingVertical(theme, themeInlineText, themeIsCompact) {
|
|
10973
10972
|
if (themeInlineText) {
|
|
@@ -11026,7 +11025,7 @@ var genFilledContainerStyles = function genFilledContainerStyles(theme, intent,
|
|
|
11026
11025
|
}
|
|
11027
11026
|
return {
|
|
11028
11027
|
alignSelf: 'stretch',
|
|
11029
|
-
|
|
11028
|
+
paddingHorizontal: theme.__hd__.button.space["default"].buttonPadding,
|
|
11030
11029
|
borderRadius: theme.__hd__.button.radii["default"]
|
|
11031
11030
|
};
|
|
11032
11031
|
};
|
|
@@ -11071,7 +11070,7 @@ var genOutlineContainerStyles = function genOutlineContainerStyles(theme, intent
|
|
|
11071
11070
|
}
|
|
11072
11071
|
return {
|
|
11073
11072
|
alignSelf: 'stretch',
|
|
11074
|
-
|
|
11073
|
+
paddingHorizontal: theme.__hd__.button.space["default"].buttonPadding - theme.__hd__.button.borderWidth["default"],
|
|
11075
11074
|
borderRadius: theme.__hd__.button.radii["default"]
|
|
11076
11075
|
};
|
|
11077
11076
|
};
|
|
@@ -11109,7 +11108,7 @@ var getTextContainerStyles = function getTextContainerStyles(theme, intent, load
|
|
|
11109
11108
|
};
|
|
11110
11109
|
}
|
|
11111
11110
|
return {
|
|
11112
|
-
|
|
11111
|
+
paddingHorizontal: inlineText ? 0 : theme.__hd__.button.space["default"].textButtonPadding
|
|
11113
11112
|
};
|
|
11114
11113
|
};
|
|
11115
11114
|
return _objectSpread2({
|
|
@@ -42343,8 +42342,6 @@ var FilterTrigger = function FilterTrigger(_ref) {
|
|
|
42343
42342
|
testID = _ref.testID,
|
|
42344
42343
|
style = _ref.style;
|
|
42345
42344
|
var shouldShowBadge = filterCount > 0 && active;
|
|
42346
|
-
var iconIntent = active ? 'text' : 'inactive';
|
|
42347
|
-
var typographyVariant = active ? 'small-bold' : 'small';
|
|
42348
42345
|
return /*#__PURE__*/React__default.createElement(StyledFilterWrapper, {
|
|
42349
42346
|
testID: testID,
|
|
42350
42347
|
style: style,
|
|
@@ -42352,24 +42349,26 @@ var FilterTrigger = function FilterTrigger(_ref) {
|
|
|
42352
42349
|
themeVariant: variant,
|
|
42353
42350
|
onPress: onPress,
|
|
42354
42351
|
themeHasLabel: !!label
|
|
42355
|
-
}, label ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(
|
|
42356
|
-
variant: typographyVariant
|
|
42357
|
-
}, label), shouldShowBadge && /*#__PURE__*/React__default.createElement(Badge, {
|
|
42358
|
-
content: filterCount,
|
|
42359
|
-
size: "small"
|
|
42360
|
-
}), suffix && /*#__PURE__*/React__default.createElement(Icon, {
|
|
42352
|
+
}, label ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, suffix && /*#__PURE__*/React__default.createElement(Icon, {
|
|
42361
42353
|
icon: suffix,
|
|
42362
42354
|
size: "xxxsmall",
|
|
42363
|
-
intent:
|
|
42355
|
+
intent: "text",
|
|
42364
42356
|
testID: "".concat(testID, "-suffix")
|
|
42357
|
+
}), /*#__PURE__*/React__default.createElement(StyledText, {
|
|
42358
|
+
variant: "small"
|
|
42359
|
+
}, label), shouldShowBadge && /*#__PURE__*/React__default.createElement(Badge, {
|
|
42360
|
+
content: filterCount,
|
|
42361
|
+
size: "small",
|
|
42362
|
+
intent: "primary"
|
|
42365
42363
|
})) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, suffix && /*#__PURE__*/React__default.createElement(Icon, {
|
|
42366
42364
|
icon: suffix,
|
|
42367
42365
|
size: "xsmall",
|
|
42368
|
-
intent:
|
|
42366
|
+
intent: "text",
|
|
42369
42367
|
testID: "".concat(testID, "-suffix")
|
|
42370
42368
|
}), shouldShowBadge && /*#__PURE__*/React__default.createElement(StyledBadge, {
|
|
42371
42369
|
content: filterCount,
|
|
42372
42370
|
size: "small",
|
|
42371
|
+
intent: "primary",
|
|
42373
42372
|
themeHasLabel: !!label
|
|
42374
42373
|
})));
|
|
42375
42374
|
};
|
|
Binary file
|