@hero-design/rn 8.136.3 → 8.138.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 +14 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +105 -56
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +105 -56
- package/package.json +1 -1
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/Select/MultiSelect/index.tsx +3 -1
- package/src/components/Select/SingleSelect/index.tsx +4 -2
- package/src/components/Select/types.ts +9 -0
- package/src/components/TextInput/AssistiveInfoTrigger/StyledAssistiveInfoTrigger.tsx +13 -0
- package/src/components/TextInput/AssistiveInfoTrigger/index.tsx +45 -0
- package/src/components/TextInput/index.tsx +32 -11
- package/src/theme/components/textInput.ts +2 -0
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Select/MultiSelect/index.d.ts +1 -1
- package/types/components/Select/SingleSelect/index.d.ts +1 -1
- package/types/components/Select/types.d.ts +9 -0
- package/types/components/TextInput/AssistiveInfoTrigger/StyledAssistiveInfoTrigger.d.ts +11 -0
- package/types/components/TextInput/AssistiveInfoTrigger/index.d.ts +10 -0
- package/types/components/TextInput/index.d.ts +10 -1
- package/types/theme/components/textInput.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.138.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#5548](https://github.com/Thinkei/hero-design/pull/5548) [`75927a4`](https://github.com/Thinkei/hero-design/commit/75927a45f1ec270e4f4d8d8b274ddf9feacd3343) Thanks [@haudao-eh](https://github.com/haudao-eh)! - [Icon] Add `stop-outlined` icon
|
|
8
|
+
|
|
9
|
+
## 8.137.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#5516](https://github.com/Thinkei/hero-design/pull/5516) [`22172f6`](https://github.com/Thinkei/hero-design/commit/22172f65028e66509964b69c431b4660d0e66e45) Thanks [@ttkien](https://github.com/ttkien)! - [Select] Add `assistiveInfoConfig` prop to render an optional info trigger below the field
|
|
14
|
+
|
|
15
|
+
- [#5516](https://github.com/Thinkei/hero-design/pull/5516) [`22172f6`](https://github.com/Thinkei/hero-design/commit/22172f65028e66509964b69c431b4660d0e66e45) Thanks [@ttkien](https://github.com/ttkien)! - [TextInput] Add `assistiveInfoConfig` prop to render an optional info trigger below the field
|
|
16
|
+
|
|
3
17
|
## 8.136.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
Binary file
|
package/es/index.js
CHANGED
|
@@ -7322,6 +7322,8 @@ var getTextInputTheme = function getTextInputTheme(theme) {
|
|
|
7322
7322
|
containerMarginTop: theme.space.small,
|
|
7323
7323
|
labelInsideTextInputMarginTop: 0,
|
|
7324
7324
|
errorAndHelpTextContainerPaddingTop: theme.space.xxsmall,
|
|
7325
|
+
assistiveInfoTriggerPadding: theme.space.xsmall,
|
|
7326
|
+
assistiveInfoTriggerGap: theme.space.xsmall,
|
|
7325
7327
|
inputAndLabelContainerPaddingTop: theme.lineHeights.medium,
|
|
7326
7328
|
labelFocusedTranslateY: theme.space.xsmall * 2,
|
|
7327
7329
|
textareaLabelIdleTranslateY: theme.space.large
|
|
@@ -8547,7 +8549,7 @@ var Typography = {
|
|
|
8547
8549
|
};
|
|
8548
8550
|
|
|
8549
8551
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
8550
|
-
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', '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-emoji-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', 'archive-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'assignment-warning-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bank-outlined', 'bar-outlined', 'beauty-outlined', 'beer-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-clock-outlined', 'calendar-dates-outlined', 'calendar-edit-outlined', 'calendar-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-check-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-3-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cloud-download-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-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', 'mic-outlined', 'mic-slash-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', 'raising-hands-outlined', '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', 'schedule-send-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-outlined', 'star-award-outlined', 'star-badge-outlined', 'star-circle-outlined', 'star-medal-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', 'teams-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', 'warning-outlined', 'wellness-outlined'];
|
|
8552
|
+
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', '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-emoji-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', 'archive-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'assignment-warning-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bank-outlined', 'bar-outlined', 'beauty-outlined', 'beer-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-clock-outlined', 'calendar-dates-outlined', 'calendar-edit-outlined', 'calendar-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-check-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-3-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cloud-download-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-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', 'mic-outlined', 'mic-slash-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', 'raising-hands-outlined', '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', 'schedule-send-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-outlined', 'star-award-outlined', 'star-badge-outlined', 'star-circle-outlined', 'star-medal-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stop-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'teams-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', 'warning-outlined', 'wellness-outlined'];
|
|
8551
8553
|
|
|
8552
8554
|
var activate = 59000;
|
|
8553
8555
|
var adjustment = 59003;
|
|
@@ -8636,11 +8638,11 @@ var refresh = 59421;
|
|
|
8636
8638
|
var remove$1 = 59422;
|
|
8637
8639
|
var restart = 59424;
|
|
8638
8640
|
var shopping_basket_outlined = 59443;
|
|
8639
|
-
var strikethrough =
|
|
8640
|
-
var sync =
|
|
8641
|
-
var transfer =
|
|
8642
|
-
var unavailable =
|
|
8643
|
-
var underline =
|
|
8641
|
+
var strikethrough = 59462;
|
|
8642
|
+
var sync = 59468;
|
|
8643
|
+
var transfer = 59479;
|
|
8644
|
+
var unavailable = 59484;
|
|
8645
|
+
var underline = 59485;
|
|
8644
8646
|
var glyphMap = {
|
|
8645
8647
|
activate: activate,
|
|
8646
8648
|
"add-emoji": 59001,
|
|
@@ -9102,46 +9104,47 @@ var glyphMap = {
|
|
|
9102
9104
|
"star-outlined": 59457,
|
|
9103
9105
|
"start-break-outlined": 59458,
|
|
9104
9106
|
"stash-outlined": 59459,
|
|
9105
|
-
"
|
|
9107
|
+
"stop-outlined": 59460,
|
|
9108
|
+
"stopwatch-outlined": 59461,
|
|
9106
9109
|
strikethrough: strikethrough,
|
|
9107
|
-
"styler-outlined":
|
|
9108
|
-
"suitcase-clock-outlined":
|
|
9109
|
-
"suitcase-outlined":
|
|
9110
|
-
"survey-outlined":
|
|
9111
|
-
"switch-outlined":
|
|
9110
|
+
"styler-outlined": 59463,
|
|
9111
|
+
"suitcase-clock-outlined": 59464,
|
|
9112
|
+
"suitcase-outlined": 59465,
|
|
9113
|
+
"survey-outlined": 59466,
|
|
9114
|
+
"switch-outlined": 59467,
|
|
9112
9115
|
sync: sync,
|
|
9113
|
-
"tag-outlined":
|
|
9114
|
-
"target-outlined":
|
|
9115
|
-
"teams-outlined":
|
|
9116
|
-
"tennis-outlined":
|
|
9117
|
-
"thumb-down-outlined":
|
|
9118
|
-
"thumb-up-outlined":
|
|
9119
|
-
"ticket-outlined":
|
|
9120
|
-
"timesheet-outlined":
|
|
9121
|
-
"timesheets-outlined":
|
|
9122
|
-
"today-outlined":
|
|
9116
|
+
"tag-outlined": 59469,
|
|
9117
|
+
"target-outlined": 59470,
|
|
9118
|
+
"teams-outlined": 59471,
|
|
9119
|
+
"tennis-outlined": 59472,
|
|
9120
|
+
"thumb-down-outlined": 59473,
|
|
9121
|
+
"thumb-up-outlined": 59474,
|
|
9122
|
+
"ticket-outlined": 59475,
|
|
9123
|
+
"timesheet-outlined": 59476,
|
|
9124
|
+
"timesheets-outlined": 59477,
|
|
9125
|
+
"today-outlined": 59478,
|
|
9123
9126
|
transfer: transfer,
|
|
9124
|
-
"transportation-outlined":
|
|
9125
|
-
"trash-bin-outlined":
|
|
9126
|
-
"umbrela-outlined":
|
|
9127
|
-
"unavailability-outlined":
|
|
9127
|
+
"transportation-outlined": 59480,
|
|
9128
|
+
"trash-bin-outlined": 59481,
|
|
9129
|
+
"umbrela-outlined": 59482,
|
|
9130
|
+
"unavailability-outlined": 59483,
|
|
9128
9131
|
unavailable: unavailable,
|
|
9129
9132
|
underline: underline,
|
|
9130
|
-
"union-outlined":
|
|
9131
|
-
"unlock-outlined":
|
|
9132
|
-
"upload-outlined":
|
|
9133
|
-
"user-add-outlined":
|
|
9134
|
-
"user-circle-outlined":
|
|
9135
|
-
"user-gear-outlined":
|
|
9136
|
-
"user-out-outlined":
|
|
9137
|
-
"user-outlined":
|
|
9138
|
-
"user-rectangle-outlined":
|
|
9139
|
-
"video-1-outlined":
|
|
9140
|
-
"video-2-outlined":
|
|
9141
|
-
"volunteer-outlined":
|
|
9142
|
-
"wallet-outlined":
|
|
9143
|
-
"warning-outlined":
|
|
9144
|
-
"wellness-outlined":
|
|
9133
|
+
"union-outlined": 59486,
|
|
9134
|
+
"unlock-outlined": 59487,
|
|
9135
|
+
"upload-outlined": 59488,
|
|
9136
|
+
"user-add-outlined": 59489,
|
|
9137
|
+
"user-circle-outlined": 59490,
|
|
9138
|
+
"user-gear-outlined": 59491,
|
|
9139
|
+
"user-out-outlined": 59492,
|
|
9140
|
+
"user-outlined": 59493,
|
|
9141
|
+
"user-rectangle-outlined": 59494,
|
|
9142
|
+
"video-1-outlined": 59495,
|
|
9143
|
+
"video-2-outlined": 59496,
|
|
9144
|
+
"volunteer-outlined": 59497,
|
|
9145
|
+
"wallet-outlined": 59498,
|
|
9146
|
+
"warning-outlined": 59499,
|
|
9147
|
+
"wellness-outlined": 59500
|
|
9145
9148
|
};
|
|
9146
9149
|
|
|
9147
9150
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -21387,7 +21390,43 @@ var StyledErrorAndMaxLengthContainer = index$c(View)(function (_ref14) {
|
|
|
21387
21390
|
};
|
|
21388
21391
|
});
|
|
21389
21392
|
|
|
21390
|
-
var
|
|
21393
|
+
var StyledTouchable = index$c(TouchableOpacity)(function () {
|
|
21394
|
+
return {
|
|
21395
|
+
alignSelf: 'flex-start'
|
|
21396
|
+
};
|
|
21397
|
+
});
|
|
21398
|
+
var StyledRow$1 = index$c(View)(function (_ref) {
|
|
21399
|
+
var theme = _ref.theme;
|
|
21400
|
+
return {
|
|
21401
|
+
flexDirection: 'row',
|
|
21402
|
+
alignItems: 'center',
|
|
21403
|
+
padding: theme.__hd__.textInput.space.assistiveInfoTriggerPadding,
|
|
21404
|
+
gap: theme.__hd__.textInput.space.assistiveInfoTriggerGap
|
|
21405
|
+
};
|
|
21406
|
+
});
|
|
21407
|
+
|
|
21408
|
+
var AssistiveInfoTrigger = function AssistiveInfoTrigger(_ref) {
|
|
21409
|
+
var accessibilityLabel = _ref.accessibilityLabel,
|
|
21410
|
+
disabled = _ref.disabled,
|
|
21411
|
+
label = _ref.label,
|
|
21412
|
+
onPress = _ref.onPress,
|
|
21413
|
+
testID = _ref.testID;
|
|
21414
|
+
return /*#__PURE__*/React__default.createElement(StyledTouchable, {
|
|
21415
|
+
onPress: onPress,
|
|
21416
|
+
disabled: disabled,
|
|
21417
|
+
accessibilityLabel: accessibilityLabel !== null && accessibilityLabel !== void 0 ? accessibilityLabel : 'More information',
|
|
21418
|
+
accessibilityRole: "button",
|
|
21419
|
+
testID: testID
|
|
21420
|
+
}, /*#__PURE__*/React__default.createElement(StyledRow$1, null, /*#__PURE__*/React__default.createElement(Icon, {
|
|
21421
|
+
icon: "circle-info-outlined",
|
|
21422
|
+
size: "xsmall",
|
|
21423
|
+
intent: disabled ? 'disabled-text' : 'muted'
|
|
21424
|
+
}), !!label && /*#__PURE__*/React__default.createElement(Typography.Caption, {
|
|
21425
|
+
intent: disabled ? 'disabled' : 'muted'
|
|
21426
|
+
}, label)));
|
|
21427
|
+
};
|
|
21428
|
+
|
|
21429
|
+
var _excluded$t = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "assistiveInfoConfig", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant", "pointerEvents"];
|
|
21391
21430
|
var getState$3 = function getState(_ref) {
|
|
21392
21431
|
var disabled = _ref.disabled,
|
|
21393
21432
|
error = _ref.error,
|
|
@@ -21496,6 +21535,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref8, ref) {
|
|
|
21496
21535
|
_ref8$hideCharacterCo = _ref8.hideCharacterCount,
|
|
21497
21536
|
hideCharacterCount = _ref8$hideCharacterCo === void 0 ? false : _ref8$hideCharacterCo,
|
|
21498
21537
|
helpText = _ref8.helpText,
|
|
21538
|
+
assistiveInfoConfig = _ref8.assistiveInfoConfig,
|
|
21499
21539
|
value = _ref8.value,
|
|
21500
21540
|
defaultValue = _ref8.defaultValue,
|
|
21501
21541
|
renderInputValue = _ref8.renderInputValue,
|
|
@@ -21503,6 +21543,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref8, ref) {
|
|
|
21503
21543
|
allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
|
|
21504
21544
|
_ref8$variant = _ref8.variant,
|
|
21505
21545
|
variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
|
|
21546
|
+
pointerEvents = _ref8.pointerEvents,
|
|
21506
21547
|
nativeProps = _objectWithoutProperties(_ref8, _excluded$t);
|
|
21507
21548
|
var displayText = getDisplayText(value, defaultValue);
|
|
21508
21549
|
var isEmptyValue = displayText.length === 0;
|
|
@@ -21634,17 +21675,20 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref8, ref) {
|
|
|
21634
21675
|
defaultValue: defaultValue,
|
|
21635
21676
|
placeholder: isFocused || label === undefined ? nativeProps.placeholder : EMPTY_PLACEHOLDER_VALUE
|
|
21636
21677
|
});
|
|
21678
|
+
var isPressable = state !== 'disabled' && state !== 'readonly' && !loading;
|
|
21637
21679
|
return /*#__PURE__*/React__default.createElement(StyledContainer$7, {
|
|
21638
21680
|
style: styleWithoutBackgroundColor,
|
|
21639
|
-
pointerEvents: state === 'disabled' || state === 'readonly' || loading ? 'none' : 'auto',
|
|
21640
21681
|
testID: testID
|
|
21641
21682
|
}, /*#__PURE__*/React__default.createElement(Pressable, {
|
|
21642
|
-
onPress: focusInnerTextInput,
|
|
21683
|
+
onPress: isPressable ? focusInnerTextInput : undefined,
|
|
21643
21684
|
accessible: false,
|
|
21644
|
-
importantForAccessibility: "no"
|
|
21685
|
+
importantForAccessibility: "no",
|
|
21686
|
+
disabled: !isPressable,
|
|
21687
|
+
pointerEvents: pointerEvents
|
|
21645
21688
|
}, /*#__PURE__*/React__default.createElement(StyledTextInputContainer, {
|
|
21646
21689
|
themeVariant: variant,
|
|
21647
|
-
themeState: state
|
|
21690
|
+
themeState: state,
|
|
21691
|
+
pointerEvents: isPressable ? 'auto' : 'none'
|
|
21648
21692
|
}, /*#__PURE__*/React__default.createElement(StyledBorderBackDrop, {
|
|
21649
21693
|
themeFocused: isFocused,
|
|
21650
21694
|
themeState: state,
|
|
@@ -21709,7 +21753,12 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref8, ref) {
|
|
|
21709
21753
|
state: state,
|
|
21710
21754
|
loading: loading,
|
|
21711
21755
|
suffix: suffix
|
|
21712
|
-
}))),
|
|
21756
|
+
}))), !!assistiveInfoConfig && /*#__PURE__*/React__default.createElement(AssistiveInfoTrigger, {
|
|
21757
|
+
onPress: assistiveInfoConfig.onPress,
|
|
21758
|
+
label: assistiveInfoConfig.label,
|
|
21759
|
+
testID: assistiveInfoConfig.testID,
|
|
21760
|
+
disabled: !isPressable
|
|
21761
|
+
}), /*#__PURE__*/React__default.createElement(StyledErrorAndHelpTextContainer, null, /*#__PURE__*/React__default.createElement(StyledErrorAndMaxLengthContainer, null, renderErrorOrHelpText({
|
|
21713
21762
|
error: error,
|
|
21714
21763
|
helpText: helpText
|
|
21715
21764
|
}), renderMaxLengthMessage({
|
|
@@ -27845,7 +27894,8 @@ function MultiSelect(_ref) {
|
|
|
27845
27894
|
_ref$supportedOrienta = _ref.supportedOrientations,
|
|
27846
27895
|
supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
|
|
27847
27896
|
_ref$bottomSheetConfi = _ref.bottomSheetConfig,
|
|
27848
|
-
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi
|
|
27897
|
+
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
|
|
27898
|
+
assistiveInfoConfig = _ref.assistiveInfoConfig;
|
|
27849
27899
|
var _useKeyboard = useKeyboard(),
|
|
27850
27900
|
isKeyboardVisible = _useKeyboard.isKeyboardVisible,
|
|
27851
27901
|
keyboardHeight = _useKeyboard.keyboardHeight;
|
|
@@ -27883,9 +27933,7 @@ function MultiSelect(_ref) {
|
|
|
27883
27933
|
}, /*#__PURE__*/React__default.createElement(TouchableOpacity, {
|
|
27884
27934
|
onPress: onPress,
|
|
27885
27935
|
testID: "multi-select-touchable-opacity"
|
|
27886
|
-
}, /*#__PURE__*/React__default.createElement(View, {
|
|
27887
|
-
pointerEvents: "none"
|
|
27888
|
-
}, /*#__PURE__*/React__default.createElement(TextInput, _extends$1({}, inputProps, {
|
|
27936
|
+
}, /*#__PURE__*/React__default.createElement(View, null, /*#__PURE__*/React__default.createElement(TextInput, _extends$1({}, inputProps, {
|
|
27889
27937
|
label: label,
|
|
27890
27938
|
value: renderSelectedValue ? rawValue : displayedValue,
|
|
27891
27939
|
suffix: selectSuffix,
|
|
@@ -27897,6 +27945,7 @@ function MultiSelect(_ref) {
|
|
|
27897
27945
|
pointerEvents: "none",
|
|
27898
27946
|
style: style,
|
|
27899
27947
|
testID: testID,
|
|
27948
|
+
assistiveInfoConfig: assistiveInfoConfig,
|
|
27900
27949
|
renderInputValue: renderSelectedValue !== undefined && (rawValue === null || rawValue === void 0 ? void 0 : rawValue.length) > 0 ? function (nativeInputProps) {
|
|
27901
27950
|
return renderSelectedValue(value, nativeInputProps);
|
|
27902
27951
|
} : undefined
|
|
@@ -28059,7 +28108,8 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
28059
28108
|
_ref$supportedOrienta = _ref.supportedOrientations,
|
|
28060
28109
|
supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
|
|
28061
28110
|
_ref$bottomSheetConfi = _ref.bottomSheetConfig,
|
|
28062
|
-
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi
|
|
28111
|
+
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
|
|
28112
|
+
assistiveInfoConfig = _ref.assistiveInfoConfig;
|
|
28063
28113
|
var _useKeyboard = useKeyboard(),
|
|
28064
28114
|
isKeyboardVisible = _useKeyboard.isKeyboardVisible,
|
|
28065
28115
|
keyboardHeight = _useKeyboard.keyboardHeight;
|
|
@@ -28090,9 +28140,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
28090
28140
|
}, /*#__PURE__*/React__default.createElement(TouchableOpacity, {
|
|
28091
28141
|
onPress: onPress,
|
|
28092
28142
|
testID: "single-select-touchable-opacity"
|
|
28093
|
-
}, /*#__PURE__*/React__default.createElement(View, {
|
|
28094
|
-
pointerEvents: "none"
|
|
28095
|
-
}, /*#__PURE__*/React__default.createElement(TextInput, _extends$1({}, inputProps, {
|
|
28143
|
+
}, /*#__PURE__*/React__default.createElement(View, null, /*#__PURE__*/React__default.createElement(TextInput, _extends$1({}, inputProps, {
|
|
28096
28144
|
label: label,
|
|
28097
28145
|
value: renderSelectedValue ? rawValue : displayedValue,
|
|
28098
28146
|
suffix: selectSuffix,
|
|
@@ -28101,9 +28149,10 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
28101
28149
|
editable: editable,
|
|
28102
28150
|
disabled: disabled,
|
|
28103
28151
|
required: required,
|
|
28104
|
-
pointerEvents: "none",
|
|
28105
28152
|
style: style,
|
|
28106
28153
|
testID: testID,
|
|
28154
|
+
pointerEvents: "none",
|
|
28155
|
+
assistiveInfoConfig: assistiveInfoConfig,
|
|
28107
28156
|
renderInputValue: renderSelectedValue !== undefined && !!rawValue ? function (nativeInputProps) {
|
|
28108
28157
|
return renderSelectedValue(value, nativeInputProps);
|
|
28109
28158
|
} : undefined
|
|
Binary file
|