@hero-design/rn 8.0.2 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +9 -9
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +55 -48
- package/jest.config.js +1 -1
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +55 -48
- package/package.json +10 -11
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +0 -8
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +0 -12
- package/src/components/Alert/StyledAlert.tsx +4 -2
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +120 -5
- package/src/components/Alert/__tests__/index.spec.tsx +14 -0
- package/src/components/Alert/index.tsx +13 -3
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +5 -1
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +45 -9
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +0 -1
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +16 -2
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +0 -6
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +0 -2
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +1 -278
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +0 -70
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +0 -1
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +5 -10
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +0 -5
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +0 -3
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +30 -6
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +0 -1
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +20 -4
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +6 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +13 -4
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +0 -14
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +0 -2
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +10 -2
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +30 -7
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +0 -4
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +0 -4
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +0 -11
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +10 -2
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +15 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +0 -7
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +5 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +60 -19
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +533 -3057
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -2
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +5 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +60 -19
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +485 -2745
- package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +1 -1
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +0 -7
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +0 -28
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +0 -7
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +0 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +0 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +0 -1
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +0 -11
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +0 -2
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +11 -1
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +18 -5
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +0 -13
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +30 -6
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +30 -6
- package/types/components/Alert/StyledAlert.d.ts +1 -0
- package/types/components/Alert/index.d.ts +5 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
1
|
+
[35m@hero-design/rn:build[0m: cache hit, replaying output [2m72983ebd2349f24e[0m
|
|
2
|
+
[35m@hero-design/rn:build: [0m$ yarn build:js && yarn build:types
|
|
3
|
+
[35m@hero-design/rn:build: [0m$ rollup -c
|
|
4
|
+
[35m@hero-design/rn:build: [0m[36m
|
|
5
|
+
[35m@hero-design/rn:build: [0m[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
6
|
+
[35m@hero-design/rn:build: [0m[1m[33m(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.[39m[22m
|
|
7
|
+
[35m@hero-design/rn:build: [0m[1m[33m(!) 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[39m[22m
|
|
8
|
+
[35m@hero-design/rn:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [1m26.8s[22m[39m
|
|
9
|
+
[35m@hero-design/rn:build: [0m$ tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json
|
|
Binary file
|
package/es/index.js
CHANGED
|
@@ -5721,7 +5721,7 @@ var Typography = {
|
|
|
5721
5721
|
};
|
|
5722
5722
|
|
|
5723
5723
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
5724
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark', 'box-check', 'box', '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', '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', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', '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-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', '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', 'at-sign', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'camera-outlined', 'cancel', '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', 'comment-outlined', 'contacts-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', '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', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-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-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', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-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', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
|
|
5724
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark', 'box-check', 'box', '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', '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', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', '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-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', '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', 'at-sign', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'camera-outlined', 'cancel', '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', 'comment-outlined', 'contacts-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', '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', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-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-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', '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', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
|
|
5725
5725
|
|
|
5726
5726
|
var activate = 59000;
|
|
5727
5727
|
var adjustment = 59003;
|
|
@@ -5797,15 +5797,15 @@ var checkmark = 59201;
|
|
|
5797
5797
|
var italic = 59273;
|
|
5798
5798
|
var number = 59296;
|
|
5799
5799
|
var percentage = 59300;
|
|
5800
|
-
var redeem =
|
|
5801
|
-
var refresh =
|
|
5802
|
-
var remove =
|
|
5803
|
-
var restart =
|
|
5804
|
-
var strikethrough =
|
|
5805
|
-
var sync =
|
|
5806
|
-
var transfer =
|
|
5807
|
-
var unavailable =
|
|
5808
|
-
var underline =
|
|
5800
|
+
var redeem = 59309;
|
|
5801
|
+
var refresh = 59310;
|
|
5802
|
+
var remove = 59311;
|
|
5803
|
+
var restart = 59313;
|
|
5804
|
+
var strikethrough = 59332;
|
|
5805
|
+
var sync = 59337;
|
|
5806
|
+
var transfer = 59341;
|
|
5807
|
+
var unavailable = 59344;
|
|
5808
|
+
var underline = 59345;
|
|
5809
5809
|
var glyphMap = {
|
|
5810
5810
|
activate: activate,
|
|
5811
5811
|
"add-emoji": 59001,
|
|
@@ -6114,52 +6114,54 @@ var glyphMap = {
|
|
|
6114
6114
|
"play-circle-outlined": 59304,
|
|
6115
6115
|
"print-outlined": 59305,
|
|
6116
6116
|
"qr-code-outlined": 59306,
|
|
6117
|
-
"
|
|
6117
|
+
"qualification-outlined": 59307,
|
|
6118
|
+
"re-assign": 59308,
|
|
6118
6119
|
redeem: redeem,
|
|
6119
6120
|
refresh: refresh,
|
|
6120
6121
|
remove: remove,
|
|
6121
|
-
"reply-outlined":
|
|
6122
|
+
"reply-outlined": 59312,
|
|
6122
6123
|
restart: restart,
|
|
6123
|
-
"return-arrow":
|
|
6124
|
-
"rostering-outlined":
|
|
6125
|
-
"save-outlined":
|
|
6126
|
-
"schedule-outlined":
|
|
6127
|
-
"search-outlined":
|
|
6128
|
-
"search-secured-outlined":
|
|
6129
|
-
"send-outlined":
|
|
6130
|
-
"share-1":
|
|
6131
|
-
"share-2":
|
|
6132
|
-
"share-outlined":
|
|
6133
|
-
"single-down-arrow":
|
|
6134
|
-
"single-left-arrow":
|
|
6135
|
-
"single-right-arrow":
|
|
6136
|
-
"single-up-arrow":
|
|
6137
|
-
"speaker-active-outlined":
|
|
6138
|
-
"speaker-outlined":
|
|
6139
|
-
"star-outlined":
|
|
6140
|
-
"stopwatch-outlined":
|
|
6124
|
+
"return-arrow": 59314,
|
|
6125
|
+
"rostering-outlined": 59315,
|
|
6126
|
+
"save-outlined": 59316,
|
|
6127
|
+
"schedule-outlined": 59317,
|
|
6128
|
+
"search-outlined": 59318,
|
|
6129
|
+
"search-secured-outlined": 59319,
|
|
6130
|
+
"send-outlined": 59320,
|
|
6131
|
+
"share-1": 59321,
|
|
6132
|
+
"share-2": 59322,
|
|
6133
|
+
"share-outlined": 59323,
|
|
6134
|
+
"single-down-arrow": 59324,
|
|
6135
|
+
"single-left-arrow": 59325,
|
|
6136
|
+
"single-right-arrow": 59326,
|
|
6137
|
+
"single-up-arrow": 59327,
|
|
6138
|
+
"speaker-active-outlined": 59328,
|
|
6139
|
+
"speaker-outlined": 59329,
|
|
6140
|
+
"star-outlined": 59330,
|
|
6141
|
+
"stopwatch-outlined": 59331,
|
|
6141
6142
|
strikethrough: strikethrough,
|
|
6142
|
-
"suitcase-clock-outlined":
|
|
6143
|
-
"suitcase-outlined":
|
|
6144
|
-
"survey-outlined":
|
|
6145
|
-
"switch-outlined":
|
|
6143
|
+
"suitcase-clock-outlined": 59333,
|
|
6144
|
+
"suitcase-outlined": 59334,
|
|
6145
|
+
"survey-outlined": 59335,
|
|
6146
|
+
"switch-outlined": 59336,
|
|
6146
6147
|
sync: sync,
|
|
6147
|
-
"target-outlined":
|
|
6148
|
-
"timesheet-outlined":
|
|
6148
|
+
"target-outlined": 59338,
|
|
6149
|
+
"timesheet-outlined": 59339,
|
|
6150
|
+
"today-outlined": 59340,
|
|
6149
6151
|
transfer: transfer,
|
|
6150
|
-
"trash-bin-outlined":
|
|
6151
|
-
"umbrela-outlined":
|
|
6152
|
+
"trash-bin-outlined": 59342,
|
|
6153
|
+
"umbrela-outlined": 59343,
|
|
6152
6154
|
unavailable: unavailable,
|
|
6153
6155
|
underline: underline,
|
|
6154
|
-
"unlock-outlined":
|
|
6155
|
-
"upload-outlined":
|
|
6156
|
-
"user-circle-outlined":
|
|
6157
|
-
"user-gear-outlined":
|
|
6158
|
-
"user-outlined":
|
|
6159
|
-
"user-rectangle-outlined":
|
|
6160
|
-
"video-1-outlined":
|
|
6161
|
-
"video-2-outlined":
|
|
6162
|
-
"wallet-outlined":
|
|
6156
|
+
"unlock-outlined": 59346,
|
|
6157
|
+
"upload-outlined": 59347,
|
|
6158
|
+
"user-circle-outlined": 59348,
|
|
6159
|
+
"user-gear-outlined": 59349,
|
|
6160
|
+
"user-outlined": 59350,
|
|
6161
|
+
"user-rectangle-outlined": 59351,
|
|
6162
|
+
"video-1-outlined": 59352,
|
|
6163
|
+
"video-2-outlined": 59353,
|
|
6164
|
+
"wallet-outlined": 59354
|
|
6163
6165
|
};
|
|
6164
6166
|
|
|
6165
6167
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -6308,9 +6310,11 @@ var Accordion = function Accordion(_ref) {
|
|
|
6308
6310
|
|
|
6309
6311
|
var Container$1 = index$a(View)(function (_ref) {
|
|
6310
6312
|
var theme = _ref.theme,
|
|
6313
|
+
_ref$themeVariant = _ref.themeVariant,
|
|
6314
|
+
themeVariant = _ref$themeVariant === void 0 ? 'rounded' : _ref$themeVariant,
|
|
6311
6315
|
themeIntent = _ref.themeIntent;
|
|
6312
6316
|
return {
|
|
6313
|
-
borderRadius: theme.__hd__.alert.radii["default"],
|
|
6317
|
+
borderRadius: themeVariant === 'rounded' ? theme.__hd__.alert.radii["default"] : 0,
|
|
6314
6318
|
backgroundColor: theme.__hd__.alert.colors[themeIntent],
|
|
6315
6319
|
minHeight: theme.__hd__.alert.sizes.height,
|
|
6316
6320
|
flexDirection: 'row'
|
|
@@ -6379,9 +6383,12 @@ var Alert = function Alert(_ref2) {
|
|
|
6379
6383
|
_ref2$intent = _ref2.intent,
|
|
6380
6384
|
intent = _ref2$intent === void 0 ? 'info' : _ref2$intent,
|
|
6381
6385
|
onClose = _ref2.onClose,
|
|
6386
|
+
_ref2$variant = _ref2.variant,
|
|
6387
|
+
variant = _ref2$variant === void 0 ? 'rounded' : _ref2$variant,
|
|
6382
6388
|
style = _ref2.style,
|
|
6383
6389
|
testID = _ref2.testID;
|
|
6384
6390
|
return /*#__PURE__*/React.createElement(Container$1, {
|
|
6391
|
+
themeVariant: variant,
|
|
6385
6392
|
themeIntent: intent,
|
|
6386
6393
|
style: style,
|
|
6387
6394
|
testID: testID
|
package/jest.config.js
CHANGED
|
@@ -21,6 +21,6 @@ module.exports = {
|
|
|
21
21
|
roots: ['<rootDir>/src'],
|
|
22
22
|
snapshotSerializers: ['@emotion/jest/serializer'],
|
|
23
23
|
transformIgnorePatterns: [
|
|
24
|
-
'node_modules/(?!(jest-)?@react-native
|
|
24
|
+
'node_modules/(?!(jest-)?@react-native|@emotion/.*|react-native|@react-native-community)',
|
|
25
25
|
],
|
|
26
26
|
};
|
|
Binary file
|
package/lib/index.js
CHANGED
|
@@ -5750,7 +5750,7 @@ var Typography = {
|
|
|
5750
5750
|
};
|
|
5751
5751
|
|
|
5752
5752
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
5753
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark', 'box-check', 'box', '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', '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', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', '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-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', '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', 'at-sign', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'camera-outlined', 'cancel', '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', 'comment-outlined', 'contacts-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', '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', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-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-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', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-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', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
|
|
5753
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark', 'box-check', 'box', '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', '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', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', '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-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', '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', 'at-sign', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'camera-outlined', 'cancel', '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', 'comment-outlined', 'contacts-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', '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', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-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-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', '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', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
|
|
5754
5754
|
|
|
5755
5755
|
var activate = 59000;
|
|
5756
5756
|
var adjustment = 59003;
|
|
@@ -5826,15 +5826,15 @@ var checkmark = 59201;
|
|
|
5826
5826
|
var italic = 59273;
|
|
5827
5827
|
var number = 59296;
|
|
5828
5828
|
var percentage = 59300;
|
|
5829
|
-
var redeem =
|
|
5830
|
-
var refresh =
|
|
5831
|
-
var remove =
|
|
5832
|
-
var restart =
|
|
5833
|
-
var strikethrough =
|
|
5834
|
-
var sync =
|
|
5835
|
-
var transfer =
|
|
5836
|
-
var unavailable =
|
|
5837
|
-
var underline =
|
|
5829
|
+
var redeem = 59309;
|
|
5830
|
+
var refresh = 59310;
|
|
5831
|
+
var remove = 59311;
|
|
5832
|
+
var restart = 59313;
|
|
5833
|
+
var strikethrough = 59332;
|
|
5834
|
+
var sync = 59337;
|
|
5835
|
+
var transfer = 59341;
|
|
5836
|
+
var unavailable = 59344;
|
|
5837
|
+
var underline = 59345;
|
|
5838
5838
|
var glyphMap = {
|
|
5839
5839
|
activate: activate,
|
|
5840
5840
|
"add-emoji": 59001,
|
|
@@ -6143,52 +6143,54 @@ var glyphMap = {
|
|
|
6143
6143
|
"play-circle-outlined": 59304,
|
|
6144
6144
|
"print-outlined": 59305,
|
|
6145
6145
|
"qr-code-outlined": 59306,
|
|
6146
|
-
"
|
|
6146
|
+
"qualification-outlined": 59307,
|
|
6147
|
+
"re-assign": 59308,
|
|
6147
6148
|
redeem: redeem,
|
|
6148
6149
|
refresh: refresh,
|
|
6149
6150
|
remove: remove,
|
|
6150
|
-
"reply-outlined":
|
|
6151
|
+
"reply-outlined": 59312,
|
|
6151
6152
|
restart: restart,
|
|
6152
|
-
"return-arrow":
|
|
6153
|
-
"rostering-outlined":
|
|
6154
|
-
"save-outlined":
|
|
6155
|
-
"schedule-outlined":
|
|
6156
|
-
"search-outlined":
|
|
6157
|
-
"search-secured-outlined":
|
|
6158
|
-
"send-outlined":
|
|
6159
|
-
"share-1":
|
|
6160
|
-
"share-2":
|
|
6161
|
-
"share-outlined":
|
|
6162
|
-
"single-down-arrow":
|
|
6163
|
-
"single-left-arrow":
|
|
6164
|
-
"single-right-arrow":
|
|
6165
|
-
"single-up-arrow":
|
|
6166
|
-
"speaker-active-outlined":
|
|
6167
|
-
"speaker-outlined":
|
|
6168
|
-
"star-outlined":
|
|
6169
|
-
"stopwatch-outlined":
|
|
6153
|
+
"return-arrow": 59314,
|
|
6154
|
+
"rostering-outlined": 59315,
|
|
6155
|
+
"save-outlined": 59316,
|
|
6156
|
+
"schedule-outlined": 59317,
|
|
6157
|
+
"search-outlined": 59318,
|
|
6158
|
+
"search-secured-outlined": 59319,
|
|
6159
|
+
"send-outlined": 59320,
|
|
6160
|
+
"share-1": 59321,
|
|
6161
|
+
"share-2": 59322,
|
|
6162
|
+
"share-outlined": 59323,
|
|
6163
|
+
"single-down-arrow": 59324,
|
|
6164
|
+
"single-left-arrow": 59325,
|
|
6165
|
+
"single-right-arrow": 59326,
|
|
6166
|
+
"single-up-arrow": 59327,
|
|
6167
|
+
"speaker-active-outlined": 59328,
|
|
6168
|
+
"speaker-outlined": 59329,
|
|
6169
|
+
"star-outlined": 59330,
|
|
6170
|
+
"stopwatch-outlined": 59331,
|
|
6170
6171
|
strikethrough: strikethrough,
|
|
6171
|
-
"suitcase-clock-outlined":
|
|
6172
|
-
"suitcase-outlined":
|
|
6173
|
-
"survey-outlined":
|
|
6174
|
-
"switch-outlined":
|
|
6172
|
+
"suitcase-clock-outlined": 59333,
|
|
6173
|
+
"suitcase-outlined": 59334,
|
|
6174
|
+
"survey-outlined": 59335,
|
|
6175
|
+
"switch-outlined": 59336,
|
|
6175
6176
|
sync: sync,
|
|
6176
|
-
"target-outlined":
|
|
6177
|
-
"timesheet-outlined":
|
|
6177
|
+
"target-outlined": 59338,
|
|
6178
|
+
"timesheet-outlined": 59339,
|
|
6179
|
+
"today-outlined": 59340,
|
|
6178
6180
|
transfer: transfer,
|
|
6179
|
-
"trash-bin-outlined":
|
|
6180
|
-
"umbrela-outlined":
|
|
6181
|
+
"trash-bin-outlined": 59342,
|
|
6182
|
+
"umbrela-outlined": 59343,
|
|
6181
6183
|
unavailable: unavailable,
|
|
6182
6184
|
underline: underline,
|
|
6183
|
-
"unlock-outlined":
|
|
6184
|
-
"upload-outlined":
|
|
6185
|
-
"user-circle-outlined":
|
|
6186
|
-
"user-gear-outlined":
|
|
6187
|
-
"user-outlined":
|
|
6188
|
-
"user-rectangle-outlined":
|
|
6189
|
-
"video-1-outlined":
|
|
6190
|
-
"video-2-outlined":
|
|
6191
|
-
"wallet-outlined":
|
|
6185
|
+
"unlock-outlined": 59346,
|
|
6186
|
+
"upload-outlined": 59347,
|
|
6187
|
+
"user-circle-outlined": 59348,
|
|
6188
|
+
"user-gear-outlined": 59349,
|
|
6189
|
+
"user-outlined": 59350,
|
|
6190
|
+
"user-rectangle-outlined": 59351,
|
|
6191
|
+
"video-1-outlined": 59352,
|
|
6192
|
+
"video-2-outlined": 59353,
|
|
6193
|
+
"wallet-outlined": 59354
|
|
6192
6194
|
};
|
|
6193
6195
|
|
|
6194
6196
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -6337,9 +6339,11 @@ var Accordion = function Accordion(_ref) {
|
|
|
6337
6339
|
|
|
6338
6340
|
var Container$1 = index$a(reactNative.View)(function (_ref) {
|
|
6339
6341
|
var theme = _ref.theme,
|
|
6342
|
+
_ref$themeVariant = _ref.themeVariant,
|
|
6343
|
+
themeVariant = _ref$themeVariant === void 0 ? 'rounded' : _ref$themeVariant,
|
|
6340
6344
|
themeIntent = _ref.themeIntent;
|
|
6341
6345
|
return {
|
|
6342
|
-
borderRadius: theme.__hd__.alert.radii["default"],
|
|
6346
|
+
borderRadius: themeVariant === 'rounded' ? theme.__hd__.alert.radii["default"] : 0,
|
|
6343
6347
|
backgroundColor: theme.__hd__.alert.colors[themeIntent],
|
|
6344
6348
|
minHeight: theme.__hd__.alert.sizes.height,
|
|
6345
6349
|
flexDirection: 'row'
|
|
@@ -6408,9 +6412,12 @@ var Alert = function Alert(_ref2) {
|
|
|
6408
6412
|
_ref2$intent = _ref2.intent,
|
|
6409
6413
|
intent = _ref2$intent === void 0 ? 'info' : _ref2$intent,
|
|
6410
6414
|
onClose = _ref2.onClose,
|
|
6415
|
+
_ref2$variant = _ref2.variant,
|
|
6416
|
+
variant = _ref2$variant === void 0 ? 'rounded' : _ref2$variant,
|
|
6411
6417
|
style = _ref2.style,
|
|
6412
6418
|
testID = _ref2.testID;
|
|
6413
6419
|
return /*#__PURE__*/React__default["default"].createElement(Container$1, {
|
|
6420
|
+
themeVariant: variant,
|
|
6414
6421
|
themeIntent: intent,
|
|
6415
6422
|
style: style,
|
|
6416
6423
|
testID: testID
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "8.0
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@emotion/native": "^11.9.3",
|
|
23
23
|
"@emotion/react": "^11.9.3",
|
|
24
|
-
"@hero-design/colors": "8.0
|
|
24
|
+
"@hero-design/colors": "8.2.0",
|
|
25
25
|
"date-fns": "^2.16.1",
|
|
26
26
|
"events": "^3.2.0",
|
|
27
27
|
"hero-editor": "^1.9.12"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@react-native-community/datetimepicker": "^3.5.2",
|
|
31
31
|
"@react-native-community/slider": "4.1.12",
|
|
32
|
-
"react": "
|
|
33
|
-
"react-native": "0.
|
|
32
|
+
"react": "18.0.0",
|
|
33
|
+
"react-native": "0.69.7",
|
|
34
34
|
"react-native-gesture-handler": "^1.10.3 | ~2.1.0",
|
|
35
35
|
"react-native-pager-view": "^5.4.25",
|
|
36
36
|
"react-native-safe-area-context": "^4.2.5",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@babel/preset-typescript": "^7.17.12",
|
|
45
45
|
"@babel/runtime": "^7.18.9",
|
|
46
46
|
"@emotion/jest": "^11.9.3",
|
|
47
|
-
"@hero-design/eslint-plugin": "8.0
|
|
47
|
+
"@hero-design/eslint-plugin": "8.2.0",
|
|
48
48
|
"@react-native-community/datetimepicker": "^3.5.2",
|
|
49
49
|
"@react-native-community/slider": "4.1.12",
|
|
50
50
|
"@rollup/plugin-babel": "^5.3.1",
|
|
@@ -60,18 +60,17 @@
|
|
|
60
60
|
"@types/react-native": "^0.67.7",
|
|
61
61
|
"@types/react-native-vector-icons": "^6.4.10",
|
|
62
62
|
"babel-plugin-inline-import": "^3.0.0",
|
|
63
|
-
"eslint-config-hd": "8.0
|
|
63
|
+
"eslint-config-hd": "8.2.0",
|
|
64
64
|
"jest": "^27.3.1",
|
|
65
|
-
"prettier-config-hd": "8.0
|
|
66
|
-
"react": "
|
|
67
|
-
"react-native": "0.
|
|
65
|
+
"prettier-config-hd": "8.2.0",
|
|
66
|
+
"react": "18.0.0",
|
|
67
|
+
"react-native": "0.69.7",
|
|
68
68
|
"react-native-gesture-handler": "~2.1.0",
|
|
69
69
|
"react-native-pager-view": "^5.4.25",
|
|
70
70
|
"react-native-safe-area-context": "^4.2.5",
|
|
71
71
|
"react-native-vector-icons": "^9.1.0",
|
|
72
72
|
"react-native-webview": "^11.15.0",
|
|
73
|
-
"react-test-renderer": "
|
|
74
|
-
"rn-7-23-0": "npm:@hero-design/rn@7.23.0",
|
|
73
|
+
"react-test-renderer": "18.0.0",
|
|
75
74
|
"rollup": "^2.68.0",
|
|
76
75
|
"rollup-plugin-copy": "^3.4.0",
|
|
77
76
|
"rollup-plugin-flow": "^1.1.1",
|
|
@@ -18,7 +18,6 @@ exports[`AccordionItem renders correctly when header is an element 1`] = `
|
|
|
18
18
|
accessible={true}
|
|
19
19
|
collapsable={false}
|
|
20
20
|
focusable={false}
|
|
21
|
-
nativeID="animatedComponent"
|
|
22
21
|
onClick={[Function]}
|
|
23
22
|
onResponderGrant={[Function]}
|
|
24
23
|
onResponderMove={[Function]}
|
|
@@ -71,7 +70,6 @@ exports[`AccordionItem renders correctly when header is an element 1`] = `
|
|
|
71
70
|
</View>
|
|
72
71
|
<View
|
|
73
72
|
collapsable={false}
|
|
74
|
-
nativeID="animatedComponent"
|
|
75
73
|
style={
|
|
76
74
|
Object {
|
|
77
75
|
"height": 0,
|
|
@@ -152,7 +150,6 @@ exports[`AccordionItem renders correctly when header is string 1`] = `
|
|
|
152
150
|
accessible={true}
|
|
153
151
|
collapsable={false}
|
|
154
152
|
focusable={false}
|
|
155
|
-
nativeID="animatedComponent"
|
|
156
153
|
onClick={[Function]}
|
|
157
154
|
onResponderGrant={[Function]}
|
|
158
155
|
onResponderMove={[Function]}
|
|
@@ -205,7 +202,6 @@ exports[`AccordionItem renders correctly when header is string 1`] = `
|
|
|
205
202
|
</View>
|
|
206
203
|
<View
|
|
207
204
|
collapsable={false}
|
|
208
|
-
nativeID="animatedComponent"
|
|
209
205
|
style={
|
|
210
206
|
Object {
|
|
211
207
|
"height": 0,
|
|
@@ -286,7 +282,6 @@ exports[`AccordionItem renders correctly when open 1`] = `
|
|
|
286
282
|
accessible={true}
|
|
287
283
|
collapsable={false}
|
|
288
284
|
focusable={false}
|
|
289
|
-
nativeID="animatedComponent"
|
|
290
285
|
onClick={[Function]}
|
|
291
286
|
onResponderGrant={[Function]}
|
|
292
287
|
onResponderMove={[Function]}
|
|
@@ -339,7 +334,6 @@ exports[`AccordionItem renders correctly when open 1`] = `
|
|
|
339
334
|
</View>
|
|
340
335
|
<View
|
|
341
336
|
collapsable={false}
|
|
342
|
-
nativeID="animatedComponent"
|
|
343
337
|
style={
|
|
344
338
|
Object {
|
|
345
339
|
"height": 0,
|
|
@@ -420,7 +414,6 @@ exports[`AccordionItem renders correctly when variant is card 1`] = `
|
|
|
420
414
|
accessible={true}
|
|
421
415
|
collapsable={false}
|
|
422
416
|
focusable={false}
|
|
423
|
-
nativeID="animatedComponent"
|
|
424
417
|
onClick={[Function]}
|
|
425
418
|
onResponderGrant={[Function]}
|
|
426
419
|
onResponderMove={[Function]}
|
|
@@ -473,7 +466,6 @@ exports[`AccordionItem renders correctly when variant is card 1`] = `
|
|
|
473
466
|
</View>
|
|
474
467
|
<View
|
|
475
468
|
collapsable={false}
|
|
476
|
-
nativeID="animatedComponent"
|
|
477
469
|
style={
|
|
478
470
|
Object {
|
|
479
471
|
"height": 0,
|
|
@@ -26,7 +26,6 @@ exports[`Accordion allows fully controlled 1`] = `
|
|
|
26
26
|
accessible={true}
|
|
27
27
|
collapsable={false}
|
|
28
28
|
focusable={true}
|
|
29
|
-
nativeID="animatedComponent"
|
|
30
29
|
onClick={[Function]}
|
|
31
30
|
onResponderGrant={[Function]}
|
|
32
31
|
onResponderMove={[Function]}
|
|
@@ -79,7 +78,6 @@ exports[`Accordion allows fully controlled 1`] = `
|
|
|
79
78
|
</View>
|
|
80
79
|
<View
|
|
81
80
|
collapsable={false}
|
|
82
|
-
nativeID="animatedComponent"
|
|
83
81
|
style={
|
|
84
82
|
Object {
|
|
85
83
|
"height": 0,
|
|
@@ -157,7 +155,6 @@ exports[`Accordion allows fully controlled 1`] = `
|
|
|
157
155
|
accessible={true}
|
|
158
156
|
collapsable={false}
|
|
159
157
|
focusable={true}
|
|
160
|
-
nativeID="animatedComponent"
|
|
161
158
|
onClick={[Function]}
|
|
162
159
|
onResponderGrant={[Function]}
|
|
163
160
|
onResponderMove={[Function]}
|
|
@@ -210,7 +207,6 @@ exports[`Accordion allows fully controlled 1`] = `
|
|
|
210
207
|
</View>
|
|
211
208
|
<View
|
|
212
209
|
collapsable={false}
|
|
213
|
-
nativeID="animatedComponent"
|
|
214
210
|
style={
|
|
215
211
|
Object {
|
|
216
212
|
"height": 0,
|
|
@@ -300,7 +296,6 @@ exports[`Accordion renders correctly 1`] = `
|
|
|
300
296
|
accessible={true}
|
|
301
297
|
collapsable={false}
|
|
302
298
|
focusable={true}
|
|
303
|
-
nativeID="animatedComponent"
|
|
304
299
|
onClick={[Function]}
|
|
305
300
|
onResponderGrant={[Function]}
|
|
306
301
|
onResponderMove={[Function]}
|
|
@@ -353,7 +348,6 @@ exports[`Accordion renders correctly 1`] = `
|
|
|
353
348
|
</View>
|
|
354
349
|
<View
|
|
355
350
|
collapsable={false}
|
|
356
|
-
nativeID="animatedComponent"
|
|
357
351
|
style={
|
|
358
352
|
Object {
|
|
359
353
|
"height": 0,
|
|
@@ -431,7 +425,6 @@ exports[`Accordion renders correctly 1`] = `
|
|
|
431
425
|
accessible={true}
|
|
432
426
|
collapsable={false}
|
|
433
427
|
focusable={true}
|
|
434
|
-
nativeID="animatedComponent"
|
|
435
428
|
onClick={[Function]}
|
|
436
429
|
onResponderGrant={[Function]}
|
|
437
430
|
onResponderMove={[Function]}
|
|
@@ -484,7 +477,6 @@ exports[`Accordion renders correctly 1`] = `
|
|
|
484
477
|
</View>
|
|
485
478
|
<View
|
|
486
479
|
collapsable={false}
|
|
487
|
-
nativeID="animatedComponent"
|
|
488
480
|
style={
|
|
489
481
|
Object {
|
|
490
482
|
"height": 0,
|
|
@@ -574,7 +566,6 @@ exports[`Accordion renders correctly when variant is card 1`] = `
|
|
|
574
566
|
accessible={true}
|
|
575
567
|
collapsable={false}
|
|
576
568
|
focusable={true}
|
|
577
|
-
nativeID="animatedComponent"
|
|
578
569
|
onClick={[Function]}
|
|
579
570
|
onResponderGrant={[Function]}
|
|
580
571
|
onResponderMove={[Function]}
|
|
@@ -627,7 +618,6 @@ exports[`Accordion renders correctly when variant is card 1`] = `
|
|
|
627
618
|
</View>
|
|
628
619
|
<View
|
|
629
620
|
collapsable={false}
|
|
630
|
-
nativeID="animatedComponent"
|
|
631
621
|
style={
|
|
632
622
|
Object {
|
|
633
623
|
"height": 0,
|
|
@@ -716,7 +706,6 @@ exports[`Accordion renders correctly when variant is card 1`] = `
|
|
|
716
706
|
accessible={true}
|
|
717
707
|
collapsable={false}
|
|
718
708
|
focusable={true}
|
|
719
|
-
nativeID="animatedComponent"
|
|
720
709
|
onClick={[Function]}
|
|
721
710
|
onResponderGrant={[Function]}
|
|
722
711
|
onResponderMove={[Function]}
|
|
@@ -769,7 +758,6 @@ exports[`Accordion renders correctly when variant is card 1`] = `
|
|
|
769
758
|
</View>
|
|
770
759
|
<View
|
|
771
760
|
collapsable={false}
|
|
772
|
-
nativeID="animatedComponent"
|
|
773
761
|
style={
|
|
774
762
|
Object {
|
|
775
763
|
"height": 0,
|
|
@@ -4,9 +4,11 @@ import type { ComponentProps } from 'react';
|
|
|
4
4
|
import type { ViewProps } from 'react-native';
|
|
5
5
|
|
|
6
6
|
const Container = styled(View)<{
|
|
7
|
+
themeVariant: 'rounded' | 'unrounded';
|
|
7
8
|
themeIntent: 'success' | 'info' | 'warning' | 'error' | 'notification';
|
|
8
|
-
}>(({ theme, themeIntent }) => ({
|
|
9
|
-
borderRadius:
|
|
9
|
+
}>(({ theme, themeVariant = 'rounded', themeIntent }) => ({
|
|
10
|
+
borderRadius:
|
|
11
|
+
themeVariant === 'rounded' ? theme.__hd__.alert.radii.default : 0,
|
|
10
12
|
backgroundColor: theme.__hd__.alert.colors[themeIntent],
|
|
11
13
|
minHeight: theme.__hd__.alert.sizes.height,
|
|
12
14
|
flexDirection: 'row',
|