@hero-design/rn 8.52.2-rc2.0 → 8.54.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/.eslintrc.js +0 -1
- package/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +11 -13
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +1004 -705
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +1003 -703
- package/package.json +7 -7
- package/sonar-project.properties +9 -0
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -0
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +2 -0
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +7 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +2 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -0
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +6 -0
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -0
- package/src/components/BottomNavigation/StyledBottomNavigation.tsx +60 -0
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +413 -0
- package/src/components/BottomNavigation/__tests__/index.spec.tsx +97 -0
- package/src/components/BottomNavigation/index.tsx +166 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +21 -32
- package/src/components/BottomSheet/index.tsx +1 -1
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +21 -0
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +10 -0
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +10 -0
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +16 -0
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +1 -0
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +32 -0
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +7 -0
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -0
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +2 -0
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +4 -0
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +1 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +803 -1
- package/src/components/Carousel/__tests__/index.spec.tsx +47 -37
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +8 -0
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/Checkbox/index.tsx +13 -1
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +2 -0
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +15 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +1 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +329 -309
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +12 -0
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Drawer/DragableDrawer/index.tsx +2 -2
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Error/index.tsx +20 -3
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/FAB/ActionGroup/index.tsx +14 -1
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -0
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -0
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +9 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -0
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +9 -0
- package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +5 -0
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -0
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -0
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1 -0
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +1 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +1 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +2 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +4 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/SectionHeading/__tests__/index.spec.tsx +1 -0
- package/src/components/SectionHeading/index.tsx +57 -32
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +4 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +42 -128
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +4 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +35 -96
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +7 -0
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +1 -0
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +24 -0
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +4 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +5 -0
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +4 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +1 -0
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +2 -0
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +10 -0
- package/src/components/Tag/index.tsx +12 -0
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +21 -0
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +17 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +330 -309
- package/src/components/Toast/StyledToast.tsx +9 -7
- package/src/components/Toast/Toast.tsx +4 -1
- package/src/components/Toast/ToastContainer.tsx +6 -2
- package/src/components/Toast/ToastContext.ts +5 -2
- package/src/components/Toast/ToastProvider.tsx +19 -2
- package/src/components/Toast/__tests__/ToastContainer.spec.tsx +15 -12
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +7 -0
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +14 -6
- package/src/components/Toast/types.ts +5 -1
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +3 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +8 -0
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +16 -0
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +19 -0
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +10 -0
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +8 -0
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +11 -0
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +20 -0
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +20 -0
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +23 -0
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +102 -0
- package/src/theme/components/badge.ts +28 -1
- package/src/theme/components/bottomNavigation.ts +27 -0
- package/src/theme/components/button.ts +24 -0
- package/src/theme/components/carousel.ts +28 -1
- package/src/theme/components/empty.ts +23 -1
- package/src/theme/components/error.ts +32 -1
- package/src/theme/components/fab.ts +13 -2
- package/src/theme/components/pinInput.ts +32 -0
- package/src/theme/components/success.ts +23 -1
- package/src/theme/components/tag.ts +28 -1
- package/src/theme/components/textInput.ts +5 -0
- package/src/theme/getTheme.ts +21 -18
- package/src/types.ts +2 -0
- package/types/components/Accordion/AccordionItem.d.ts +1 -1
- package/types/components/Accordion/StyledAccordion.d.ts +1 -1
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +1 -1
- package/types/components/Avatar/StyledAvatar.d.ts +2 -2
- package/types/components/Badge/StyledBadge.d.ts +2 -2
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +52 -0
- package/types/components/BottomNavigation/index.d.ts +45 -0
- package/types/components/BottomSheet/BottomSheetContext.d.ts +1 -1
- package/types/components/Box/config.d.ts +2 -2
- package/types/components/Box/types.d.ts +3 -3
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +1 -1
- package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
- package/types/components/Button/StyledButton.d.ts +2 -2
- package/types/components/Carousel/CardCarousel.d.ts +1 -1
- package/types/components/Carousel/types.d.ts +2 -2
- package/types/components/Checkbox/StyledCheckbox.d.ts +1 -1
- package/types/components/Checkbox/index.d.ts +7 -2
- package/types/components/Chip/StyledChip.d.ts +1 -1
- package/types/components/Divider/StyledDivider.d.ts +1 -1
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +1 -1
- package/types/components/Empty/StyledEmpty.d.ts +1 -1
- package/types/components/Error/StyledError.d.ts +1 -1
- package/types/components/Error/index.d.ts +9 -3
- package/types/components/FAB/ActionGroup/index.d.ts +6 -1
- package/types/components/FAB/AnimatedFABIcon.d.ts +1 -1
- package/types/components/FAB/FAB.d.ts +1 -1
- package/types/components/Icon/AnimatedIcon.d.ts +1 -1
- package/types/components/Icon/HeroIcon/index.d.ts +2 -2
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +2 -2
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/List/StyledListItem.d.ts +2 -2
- package/types/components/PinInput/StyledPinInput.d.ts +1 -1
- package/types/components/Portal/reducer.d.ts +1 -1
- package/types/components/Portal/types.d.ts +1 -1
- package/types/components/Progress/types.d.ts +1 -1
- package/types/components/Radio/types.d.ts +1 -1
- package/types/components/RefreshControl/index.d.ts +1 -1
- package/types/components/RichTextEditor/RichTextEditor.d.ts +1 -1
- package/types/components/RichTextEditor/types.d.ts +1 -1
- package/types/components/SectionHeading/StyledHeading.d.ts +1 -1
- package/types/components/SectionHeading/index.d.ts +11 -1
- package/types/components/Select/BaseOptionList.d.ts +1 -1
- package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/helpers.d.ts +1 -1
- package/types/components/Select/types.d.ts +6 -6
- package/types/components/Skeleton/StyledSkeleton.d.ts +2 -2
- package/types/components/Success/StyledSuccess.d.ts +1 -1
- package/types/components/Swipeable/StyledSwipeable.d.ts +1 -1
- package/types/components/Swipeable/index.d.ts +2 -2
- package/types/components/Switch/SelectorSwitch/index.d.ts +3 -3
- package/types/components/Switch/StyledSwitch.d.ts +1 -1
- package/types/components/Tabs/TabWithBadge.d.ts +3 -3
- package/types/components/Tabs/index.d.ts +2 -2
- package/types/components/Tag/StyledTag.d.ts +1 -1
- package/types/components/Tag/index.d.ts +6 -1
- package/types/components/TextInput/StyledTextInput.d.ts +2 -2
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/components/Toast/StyledToast.d.ts +2 -0
- package/types/components/Toast/ToastContext.d.ts +3 -3
- package/types/components/Toast/ToastProvider.d.ts +2 -2
- package/types/components/Toast/index.d.ts +1 -1
- package/types/components/Toast/types.d.ts +7 -3
- package/types/components/Typography/Body/StyledBody.d.ts +1 -1
- package/types/components/Typography/Title/StyledTitle.d.ts +1 -1
- package/types/components/Typography/types.d.ts +1 -1
- package/types/index.d.ts +2 -1
- package/types/theme/ThemeSwitcher.d.ts +1 -1
- package/types/theme/components/badge.d.ts +24 -0
- package/types/theme/components/bottomNavigation.d.ts +23 -0
- package/types/theme/components/button.d.ts +20 -0
- package/types/theme/components/carousel.d.ts +24 -0
- package/types/theme/components/empty.d.ts +19 -0
- package/types/theme/components/error.d.ts +27 -0
- package/types/theme/components/fab.d.ts +19 -8
- package/types/theme/components/pinInput.d.ts +27 -0
- package/types/theme/components/success.d.ts +19 -0
- package/types/theme/components/tag.d.ts +24 -0
- package/types/theme/components/textInput.d.ts +5 -0
- package/types/theme/getTheme.d.ts +21 -19
- package/types/theme/global/colors/types.d.ts +3 -3
- package/types/theme/global/index.d.ts +1 -1
- package/types/theme/global/scale.d.ts +1 -1
- package/types/theme/global/shadows.d.ts +1 -1
- package/types/theme/global/typography.d.ts +1 -1
- package/types/types.d.ts +2 -1
|
@@ -24,6 +24,7 @@ exports[`Divider has large marginHorizontal style 1`] = `
|
|
|
24
24
|
/>
|
|
25
25
|
<View
|
|
26
26
|
pointerEvents="box-none"
|
|
27
|
+
position="bottom"
|
|
27
28
|
style={
|
|
28
29
|
[
|
|
29
30
|
{
|
|
@@ -68,6 +69,7 @@ exports[`Divider has large marginVertical style 1`] = `
|
|
|
68
69
|
/>
|
|
69
70
|
<View
|
|
70
71
|
pointerEvents="box-none"
|
|
72
|
+
position="bottom"
|
|
71
73
|
style={
|
|
72
74
|
[
|
|
73
75
|
{
|
|
@@ -112,6 +114,7 @@ exports[`Divider has medium marginHorizontal style 1`] = `
|
|
|
112
114
|
/>
|
|
113
115
|
<View
|
|
114
116
|
pointerEvents="box-none"
|
|
117
|
+
position="bottom"
|
|
115
118
|
style={
|
|
116
119
|
[
|
|
117
120
|
{
|
|
@@ -156,6 +159,7 @@ exports[`Divider has medium marginVertical style 1`] = `
|
|
|
156
159
|
/>
|
|
157
160
|
<View
|
|
158
161
|
pointerEvents="box-none"
|
|
162
|
+
position="bottom"
|
|
159
163
|
style={
|
|
160
164
|
[
|
|
161
165
|
{
|
|
@@ -200,6 +204,7 @@ exports[`Divider has small marginHorizontal style 1`] = `
|
|
|
200
204
|
/>
|
|
201
205
|
<View
|
|
202
206
|
pointerEvents="box-none"
|
|
207
|
+
position="bottom"
|
|
203
208
|
style={
|
|
204
209
|
[
|
|
205
210
|
{
|
|
@@ -244,6 +249,7 @@ exports[`Divider has small marginVertical style 1`] = `
|
|
|
244
249
|
/>
|
|
245
250
|
<View
|
|
246
251
|
pointerEvents="box-none"
|
|
252
|
+
position="bottom"
|
|
247
253
|
style={
|
|
248
254
|
[
|
|
249
255
|
{
|
|
@@ -286,6 +292,7 @@ exports[`Divider has undefined marginHorizontal style 1`] = `
|
|
|
286
292
|
/>
|
|
287
293
|
<View
|
|
288
294
|
pointerEvents="box-none"
|
|
295
|
+
position="bottom"
|
|
289
296
|
style={
|
|
290
297
|
[
|
|
291
298
|
{
|
|
@@ -328,6 +335,7 @@ exports[`Divider has undefined marginVertical style 1`] = `
|
|
|
328
335
|
/>
|
|
329
336
|
<View
|
|
330
337
|
pointerEvents="box-none"
|
|
338
|
+
position="bottom"
|
|
331
339
|
style={
|
|
332
340
|
[
|
|
333
341
|
{
|
|
@@ -372,6 +380,7 @@ exports[`Divider has xlarge marginHorizontal style 1`] = `
|
|
|
372
380
|
/>
|
|
373
381
|
<View
|
|
374
382
|
pointerEvents="box-none"
|
|
383
|
+
position="bottom"
|
|
375
384
|
style={
|
|
376
385
|
[
|
|
377
386
|
{
|
|
@@ -416,6 +425,7 @@ exports[`Divider has xlarge marginVertical style 1`] = `
|
|
|
416
425
|
/>
|
|
417
426
|
<View
|
|
418
427
|
pointerEvents="box-none"
|
|
428
|
+
position="bottom"
|
|
419
429
|
style={
|
|
420
430
|
[
|
|
421
431
|
{
|
|
@@ -460,6 +470,7 @@ exports[`Divider has xsmall marginHorizontal style 1`] = `
|
|
|
460
470
|
/>
|
|
461
471
|
<View
|
|
462
472
|
pointerEvents="box-none"
|
|
473
|
+
position="bottom"
|
|
463
474
|
style={
|
|
464
475
|
[
|
|
465
476
|
{
|
|
@@ -504,6 +515,7 @@ exports[`Divider has xsmall marginVertical style 1`] = `
|
|
|
504
515
|
/>
|
|
505
516
|
<View
|
|
506
517
|
pointerEvents="box-none"
|
|
518
|
+
position="bottom"
|
|
507
519
|
style={
|
|
508
520
|
[
|
|
509
521
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useRef, useState } from 'react';
|
|
2
|
-
import { Animated, PanResponder, Easing } from 'react-native';
|
|
2
|
+
import { Animated, PanResponder, Easing, Platform } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import type { ReactNode } from 'react';
|
|
5
5
|
import {
|
|
@@ -107,7 +107,7 @@ const DragableDrawer = ({
|
|
|
107
107
|
if (animatedToValue >= 0) {
|
|
108
108
|
const animation = Animated.timing(pan, {
|
|
109
109
|
toValue: animatedToValue,
|
|
110
|
-
useNativeDriver:
|
|
110
|
+
useNativeDriver: Platform.OS !== 'web',
|
|
111
111
|
easing: Easing.inOut(Easing.cubic),
|
|
112
112
|
});
|
|
113
113
|
|
|
@@ -103,6 +103,7 @@ exports[`Drawer renders correctly in invisible state 1`] = `
|
|
|
103
103
|
</View>
|
|
104
104
|
<View
|
|
105
105
|
pointerEvents="box-none"
|
|
106
|
+
position="bottom"
|
|
106
107
|
style={
|
|
107
108
|
[
|
|
108
109
|
{
|
|
@@ -226,6 +227,7 @@ exports[`Drawer renders correctly in visible state 1`] = `
|
|
|
226
227
|
</View>
|
|
227
228
|
<View
|
|
228
229
|
pointerEvents="box-none"
|
|
230
|
+
position="bottom"
|
|
229
231
|
style={
|
|
230
232
|
[
|
|
231
233
|
{
|
|
@@ -349,6 +351,7 @@ exports[`Drawer renders correctly with no backdrop 1`] = `
|
|
|
349
351
|
</View>
|
|
350
352
|
<View
|
|
351
353
|
pointerEvents="box-none"
|
|
354
|
+
position="bottom"
|
|
352
355
|
style={
|
|
353
356
|
[
|
|
354
357
|
{
|
|
@@ -80,6 +80,7 @@ exports[`Empty renders empty state content correctly 1`] = `
|
|
|
80
80
|
</View>
|
|
81
81
|
<View
|
|
82
82
|
pointerEvents="box-none"
|
|
83
|
+
position="bottom"
|
|
83
84
|
style={
|
|
84
85
|
[
|
|
85
86
|
{
|
|
@@ -195,6 +196,7 @@ exports[`Empty renders empty state with image correctly 1`] = `
|
|
|
195
196
|
</View>
|
|
196
197
|
<View
|
|
197
198
|
pointerEvents="box-none"
|
|
199
|
+
position="bottom"
|
|
198
200
|
style={
|
|
199
201
|
[
|
|
200
202
|
{
|
|
@@ -125,6 +125,7 @@ exports[`Error renders error screen with custom image element correctly 1`] = `
|
|
|
125
125
|
</View>
|
|
126
126
|
<View
|
|
127
127
|
pointerEvents="box-none"
|
|
128
|
+
position="bottom"
|
|
128
129
|
style={
|
|
129
130
|
[
|
|
130
131
|
{
|
|
@@ -278,6 +279,7 @@ exports[`Error renders error screen with image correctly 1`] = `
|
|
|
278
279
|
</View>
|
|
279
280
|
<View
|
|
280
281
|
pointerEvents="box-none"
|
|
282
|
+
position="bottom"
|
|
281
283
|
style={
|
|
282
284
|
[
|
|
283
285
|
{
|
|
@@ -464,6 +466,7 @@ exports[`Error renders full screen error page correctly 1`] = `
|
|
|
464
466
|
</View>
|
|
465
467
|
<View
|
|
466
468
|
pointerEvents="box-none"
|
|
469
|
+
position="bottom"
|
|
467
470
|
style={
|
|
468
471
|
[
|
|
469
472
|
{
|
|
@@ -578,6 +581,7 @@ exports[`Error renders title only correctly 1`] = `
|
|
|
578
581
|
</View>
|
|
579
582
|
<View
|
|
580
583
|
pointerEvents="box-none"
|
|
584
|
+
position="bottom"
|
|
581
585
|
style={
|
|
582
586
|
[
|
|
583
587
|
{
|
|
@@ -7,10 +7,9 @@ import React, {
|
|
|
7
7
|
} from 'react';
|
|
8
8
|
import type {
|
|
9
9
|
ImageSourcePropType,
|
|
10
|
-
ImageProps as RNImageProps,
|
|
11
10
|
ViewProps,
|
|
11
|
+
ImageProps as RNImageProps,
|
|
12
12
|
} from 'react-native';
|
|
13
|
-
import { ImageProps } from '../Image/index';
|
|
14
13
|
import {
|
|
15
14
|
ErrorVariant,
|
|
16
15
|
StyledErrorButtonContainer,
|
|
@@ -24,8 +23,16 @@ import {
|
|
|
24
23
|
StyledErrorModal,
|
|
25
24
|
StyledErrorTitle,
|
|
26
25
|
} from './StyledError';
|
|
26
|
+
import { useDeprecation } from '../../utils/hooks';
|
|
27
|
+
import { ImageProps } from '../Image/index';
|
|
27
28
|
|
|
28
29
|
interface ErrorProps extends ViewProps {
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated use conditional rendering instead
|
|
32
|
+
*
|
|
33
|
+
* Visibility of the error
|
|
34
|
+
*/
|
|
35
|
+
visible?: boolean;
|
|
29
36
|
/**
|
|
30
37
|
* Variant of the error
|
|
31
38
|
*/
|
|
@@ -153,6 +160,7 @@ const ErrorPage = ({
|
|
|
153
160
|
* @return {*} {ReactElement}
|
|
154
161
|
*/
|
|
155
162
|
const Error = ({
|
|
163
|
+
visible = true,
|
|
156
164
|
variant = 'in-page',
|
|
157
165
|
title,
|
|
158
166
|
description,
|
|
@@ -164,7 +172,12 @@ const Error = ({
|
|
|
164
172
|
onSecondaryCtaPress,
|
|
165
173
|
...nativeProps
|
|
166
174
|
}: ErrorProps): ReactElement => {
|
|
167
|
-
|
|
175
|
+
useDeprecation(
|
|
176
|
+
`Visible prop is deprecated. Use conditional rendering instead`,
|
|
177
|
+
visible
|
|
178
|
+
);
|
|
179
|
+
|
|
180
|
+
const [isVisible, setIsVisible] = useState(visible);
|
|
168
181
|
const [ctaPressed, setCtaPressed] = useState<onCloseCallbackType>(null);
|
|
169
182
|
|
|
170
183
|
const onCloseModal = useCallback(() => {
|
|
@@ -177,6 +190,10 @@ const Error = ({
|
|
|
177
190
|
setCtaPressed(null);
|
|
178
191
|
}, [ctaPressed, onCtaPress, onSecondaryCtaPress]);
|
|
179
192
|
|
|
193
|
+
useEffect(() => {
|
|
194
|
+
setIsVisible(visible);
|
|
195
|
+
}, [visible]);
|
|
196
|
+
|
|
180
197
|
// These useEffect lines prevents race condition error when callback contains navigation logic
|
|
181
198
|
useEffect(() => {
|
|
182
199
|
if (ctaPressed) {
|
|
@@ -168,6 +168,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
168
168
|
</View>
|
|
169
169
|
<View
|
|
170
170
|
pointerEvents="box-none"
|
|
171
|
+
position="bottom"
|
|
171
172
|
style={
|
|
172
173
|
[
|
|
173
174
|
{
|
|
@@ -1096,6 +1097,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
1096
1097
|
</View>
|
|
1097
1098
|
<View
|
|
1098
1099
|
pointerEvents="box-none"
|
|
1100
|
+
position="bottom"
|
|
1099
1101
|
style={
|
|
1100
1102
|
[
|
|
1101
1103
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef, useRef } from 'react';
|
|
2
2
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import { Animated,
|
|
3
|
+
import { Animated, Platform, Modal } from 'react-native';
|
|
4
4
|
import type { IconName } from '../../Icon';
|
|
5
5
|
import type { ActionItemProps } from './ActionItem';
|
|
6
6
|
import ActionItem from './ActionItem';
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
|
|
15
15
|
import Box from '../../Box';
|
|
16
16
|
import { FABHandles } from '../FAB';
|
|
17
|
+
import { useDeprecation } from '../../../utils/hooks';
|
|
17
18
|
|
|
18
19
|
export type ActionGroupHandles = {
|
|
19
20
|
showFAB: () => void;
|
|
@@ -22,6 +23,12 @@ export type ActionGroupHandles = {
|
|
|
22
23
|
};
|
|
23
24
|
|
|
24
25
|
export interface ActionGroupProps {
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated headerTitle will be removed in the next major release.
|
|
28
|
+
* Title of the action group header.
|
|
29
|
+
*/
|
|
30
|
+
headerTitle?: string;
|
|
31
|
+
|
|
25
32
|
/**
|
|
26
33
|
* This function is called on pressing the FAB button.
|
|
27
34
|
* */
|
|
@@ -64,6 +71,7 @@ export interface ActionGroupProps {
|
|
|
64
71
|
const ActionGroup = forwardRef<ActionGroupHandles, ActionGroupProps>(
|
|
65
72
|
(
|
|
66
73
|
{
|
|
74
|
+
headerTitle,
|
|
67
75
|
onPress,
|
|
68
76
|
active,
|
|
69
77
|
style,
|
|
@@ -75,6 +83,11 @@ const ActionGroup = forwardRef<ActionGroupHandles, ActionGroupProps>(
|
|
|
75
83
|
},
|
|
76
84
|
ref
|
|
77
85
|
) => {
|
|
86
|
+
useDeprecation(
|
|
87
|
+
`FAB.ActionGroup's headerTitle prop will be removed in the next major release. Please remove it.`,
|
|
88
|
+
headerTitle !== undefined
|
|
89
|
+
);
|
|
90
|
+
|
|
78
91
|
const fabRef = useRef<FABHandles>(null);
|
|
79
92
|
const tranlateXAnimation = useRef<Animated.Value>(
|
|
80
93
|
new Animated.Value(active ? 1 : 0)
|
|
@@ -45,6 +45,7 @@ exports[`AnimatedFABIcon renders correctly when isActive is false 1`] = `
|
|
|
45
45
|
</View>
|
|
46
46
|
<View
|
|
47
47
|
pointerEvents="box-none"
|
|
48
|
+
position="bottom"
|
|
48
49
|
style={
|
|
49
50
|
[
|
|
50
51
|
{
|
|
@@ -110,6 +111,7 @@ exports[`AnimatedFABIcon renders correctly when isActive is true 1`] = `
|
|
|
110
111
|
</View>
|
|
111
112
|
<View
|
|
112
113
|
pointerEvents="box-none"
|
|
114
|
+
position="bottom"
|
|
113
115
|
style={
|
|
114
116
|
[
|
|
115
117
|
{
|
|
@@ -72,6 +72,7 @@ exports[`StyledFAB renders correctly 1`] = `
|
|
|
72
72
|
</View>
|
|
73
73
|
<View
|
|
74
74
|
pointerEvents="box-none"
|
|
75
|
+
position="bottom"
|
|
75
76
|
style={
|
|
76
77
|
[
|
|
77
78
|
{
|
|
@@ -164,6 +165,7 @@ exports[`StyledFAB renders correctly 2`] = `
|
|
|
164
165
|
</View>
|
|
165
166
|
<View
|
|
166
167
|
pointerEvents="box-none"
|
|
168
|
+
position="bottom"
|
|
167
169
|
style={
|
|
168
170
|
[
|
|
169
171
|
{
|
|
@@ -216,6 +218,7 @@ exports[`StyledFABIcon renders correctly 1`] = `
|
|
|
216
218
|
/>
|
|
217
219
|
<View
|
|
218
220
|
pointerEvents="box-none"
|
|
221
|
+
position="bottom"
|
|
219
222
|
style={
|
|
220
223
|
[
|
|
221
224
|
{
|
|
@@ -83,6 +83,7 @@ exports[`FAB when animated is false renders StyledFABIcon 1`] = `
|
|
|
83
83
|
</View>
|
|
84
84
|
<View
|
|
85
85
|
pointerEvents="box-none"
|
|
86
|
+
position="bottom"
|
|
86
87
|
style={
|
|
87
88
|
[
|
|
88
89
|
{
|
|
@@ -216,6 +217,7 @@ exports[`FAB when animated is true renders animatedFABIcon 1`] = `
|
|
|
216
217
|
</View>
|
|
217
218
|
<View
|
|
218
219
|
pointerEvents="box-none"
|
|
220
|
+
position="bottom"
|
|
219
221
|
style={
|
|
220
222
|
[
|
|
221
223
|
{
|
|
@@ -364,6 +366,7 @@ exports[`FAB when title has value renders correctly 1`] = `
|
|
|
364
366
|
</View>
|
|
365
367
|
<View
|
|
366
368
|
pointerEvents="box-none"
|
|
369
|
+
position="bottom"
|
|
367
370
|
style={
|
|
368
371
|
[
|
|
369
372
|
{
|
|
@@ -37,6 +37,7 @@ exports[`HeroDesignProvider renders children correctly 1`] = `
|
|
|
37
37
|
</Text>
|
|
38
38
|
<View
|
|
39
39
|
pointerEvents="box-none"
|
|
40
|
+
position="bottom"
|
|
40
41
|
style={
|
|
41
42
|
[
|
|
42
43
|
{
|
|
@@ -57,6 +58,7 @@ exports[`HeroDesignProvider renders children correctly 1`] = `
|
|
|
57
58
|
</View>
|
|
58
59
|
<View
|
|
59
60
|
pointerEvents="box-none"
|
|
61
|
+
position="bottom"
|
|
60
62
|
style={
|
|
61
63
|
[
|
|
62
64
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"activate":59000,"add-emoji":59001,"add-person":59002,"adjustment":59003,"alignment":59004,"antenna":59005,"archive":59006,"assignment-warning":59007,"bank":59008,"bell":59009,"billing":59010,"bolt":59011,"bookmark-added":59012,"bookmark":59013,"box-check":59014,"box":59015,"bpay":59016,"buildings":59017,"cake":59018,"calendar-clock":59019,"calendar":59020,"candy-box-menu":59021,"caret-down-small":59022,"caret-down":59023,"caret-left-small":59024,"caret-left":59025,"caret-right-small":59026,"caret-right":59027,"caret-up-small":59028,"caret-up":59029,"check-radio":59030,"circle-add":59031,"circle-cancel":59032,"circle-check":59033,"circle-down":59034,"circle-info":59035,"circle-left":59036,"circle-ok":59037,"circle-pencil":59038,"circle-question":59039,"circle-remove":59040,"circle-right":59041,"circle-up":59042,"circle-warning":59043,"clock-3":59044,"clock":59045,"cloud-download":59046,"cloud-upload":59047,"cog":59048,"coin":59049,"contacts":59050,"credit-card":59051,"diamond":59052,"direction-arrows":59053,"directory":59054,"document":59055,"dollar-coin-shine":59056,"double-buildings":59057,"edit-template":59058,"envelope":59059,"exclude":59060,"expand-content":59061,"expense":59062,"eye-circle":59063,"eye-invisible":59064,"eye":59065,"face-meh":59066,"face-sad":59067,"face-smiley":59068,"feed":59069,"feedbacks":59070,"file-certified":59071,"file-clone":59072,"file-copy":59073,"file-csv":59074,"file-dispose":59075,"file-doc":59076,"file-excel":59077,"file-export":59078,"file-lock":59079,"file-pdf":59080,"file-powerpoint":59081,"file-search":59082,"file-secured":59083,"file-sheets":59084,"file-slide":59085,"file-verified":59086,"file-word":59087,"file":59088,"filter":59089,"folder-user":59090,"folder":59091,"format-bold":59092,"format-heading1":59093,"format-heading2":59094,"format-italic":59095,"format-list-bulleted":59096,"format-list-numbered":59097,"format-underlined":59098,"funnel-filter":59099,"global-dollar":59100,"globe":59101,"graduation-cap":59102,"graph":59103,"happy-sun":59104,"health-bag":59105,"heart":59106,"
|
|
1
|
+
{"activate":59000,"add-emoji":59001,"add-person":59002,"adjustment":59003,"alignment":59004,"antenna":59005,"archive":59006,"assignment-warning":59007,"bank":59008,"bell":59009,"billing":59010,"bolt":59011,"bookmark-added":59012,"bookmark":59013,"box-check":59014,"box":59015,"bpay":59016,"buildings":59017,"cake":59018,"calendar-clock":59019,"calendar":59020,"candy-box-menu":59021,"caret-down-small":59022,"caret-down":59023,"caret-left-small":59024,"caret-left":59025,"caret-right-small":59026,"caret-right":59027,"caret-up-small":59028,"caret-up":59029,"check-radio":59030,"circle-add":59031,"circle-cancel":59032,"circle-check":59033,"circle-down":59034,"circle-info":59035,"circle-left":59036,"circle-ok":59037,"circle-pencil":59038,"circle-question":59039,"circle-remove":59040,"circle-right":59041,"circle-up":59042,"circle-warning":59043,"clock-3":59044,"clock":59045,"cloud-download":59046,"cloud-upload":59047,"cog":59048,"coin":59049,"contacts":59050,"credit-card":59051,"diamond":59052,"direction-arrows":59053,"directory":59054,"document":59055,"dollar-coin-shine":59056,"double-buildings":59057,"edit-template":59058,"envelope":59059,"exclude":59060,"expand-content":59061,"expense":59062,"eye-circle":59063,"eye-invisible":59064,"eye":59065,"face-meh":59066,"face-sad":59067,"face-smiley":59068,"feed":59069,"feedbacks":59070,"file-certified":59071,"file-clone":59072,"file-copy":59073,"file-csv":59074,"file-dispose":59075,"file-doc":59076,"file-excel":59077,"file-export":59078,"file-lock":59079,"file-pdf":59080,"file-powerpoint":59081,"file-search":59082,"file-secured":59083,"file-sheets":59084,"file-slide":59085,"file-verified":59086,"file-word":59087,"file":59088,"filter":59089,"folder-user":59090,"folder":59091,"format-bold":59092,"format-heading1":59093,"format-heading2":59094,"format-italic":59095,"format-list-bulleted":59096,"format-list-numbered":59097,"format-underlined":59098,"funnel-filter":59099,"global-dollar":59100,"globe":59101,"graduation-cap":59102,"graph":59103,"happy-sun":59104,"health-bag":59105,"heart":59106,"hero-points":59107,"home":59108,"image":59109,"import":59110,"incident-siren":59111,"instapay-daily":59112,"instapay-now":59113,"instapay":59114,"list":59115,"loading-2":59116,"loading":59117,"location-on":59118,"location":59119,"lock":59120,"looks-one":59121,"looks-two":59122,"media-content":59123,"menu":59124,"money-notes":59125,"moneybag":59126,"moon":59127,"multiple-stars":59128,"multiple-users":59129,"near-me":59130,"node":59131,"open-folder":59132,"paperclip":59133,"payment-summary":59134,"pencil":59135,"phone":59136,"piggy-bank":59137,"plane-up":59138,"plane":59139,"play-circle":59140,"print":59141,"raising-hands":59142,"reply-arrow":59143,"reply":59144,"reschedule":59145,"rostering":59146,"salary-sacrifice":59147,"save":59148,"schedule-send":59149,"schedule":59150,"search-person":59151,"send":59152,"speaker-active":59153,"speaker":59154,"star-award":59155,"star-badge":59156,"star-circle":59157,"star-medal":59158,"star":59159,"steps-circle":59160,"stopwatch":59161,"suitcase":59162,"surfing":59163,"survey":59164,"swag-pillar-benefit":59165,"swag-pillar-career":59166,"swag-pillar-money":59167,"swag-pillar-work":59168,"swag":59169,"swipe-right":59170,"switch":59171,"tag":59172,"target":59173,"teams":59174,"timesheet":59175,"touch-id":59176,"trash-bin":59177,"unlock":59178,"user":59179,"video-1":59180,"video-2":59181,"wallet":59182,"warning":59183,"activate-outlined":59184,"add-credit-card-outlined":59185,"add-person-outlined":59186,"add-section-outlined":59187,"add-time-outlined":59188,"add":59189,"adjustment-outlined":59190,"ai-outlined":59191,"alignment-2-outlined":59192,"alignment-outlined":59193,"all-caps":59194,"application-outlined":59195,"arrow-down":59196,"arrow-downwards":59197,"arrow-left":59198,"arrow-leftwards":59199,"arrow-right":59200,"arrow-rightwards":59201,"arrow-up":59202,"arrow-upwards":59203,"article-outlined":59204,"at-sign":59205,"auto-graph-outlined":59206,"beer-outlined":59207,"bell-active-outlined":59208,"bell-outlined":59209,"bell-slash-outlined":59210,"bill-management-outlined":59211,"billing-outlined":59212,"body-outlined":59213,"bold":59214,"bolt-outlined":59215,"book-outlined":59216,"bookmark-added-outlined":59217,"bookmark-outlined":59218,"box-check-outlined":59219,"box-outlined":59220,"bullet-points":59221,"cake-outlined":59222,"calendar-dates-outlined":59223,"calendar-star-outlined":59224,"call-outlined":59225,"call-split-outlined":59226,"camera-outlined":59227,"cancel":59228,"car-forward-outlined":59229,"cashback-outlined":59230,"charging-station-outlined":59231,"chat-bubble-outlined":59232,"chat-unread-outlined":59233,"checkmark":59234,"circle-add-outlined":59235,"circle-cancel-outlined":59236,"circle-down-outlined":59237,"circle-info-outlined":59238,"circle-left-outlined":59239,"circle-ok-outlined":59240,"circle-question-outlined":59241,"circle-remove-outlined":59242,"circle-right-outlined":59243,"circle-up-outlined":59244,"circle-warning-outlined":59245,"clock-2-outlined":59246,"clock-outlined":59247,"cog-outlined":59248,"coin-outlined":59249,"coin-super-outlined":59250,"comment-outlined":59251,"contacts-outlined":59252,"contacts-user-outlined":59253,"credit-card-outlined":59254,"cup-outlined":59255,"dentistry-outlined":59256,"direction-arrows-outlined":59257,"directory-outlined":59258,"document-outlined":59259,"dollar-box-outlined":59260,"dollar-card-outlined":59261,"dollar-coin-shine-outlined":59262,"dollar-credit-card-outlined":59263,"dollar-sign":59264,"double-buildings-outlined":59265,"double-left-arrows":59266,"double-right-arrows":59267,"download-box-outlined":59268,"download-outlined":59269,"edit-template-outlined":59270,"email-outlined":59271,"enter-arrow":59272,"envelope-outlined":59273,"expense-approval-outlined":59274,"expense-outlined":59275,"explore-outlined":59276,"extension-outlined":59277,"external-link":59278,"eye-invisible-outlined":59279,"eye-outlined":59280,"face-id":59281,"face-meh-outlined":59282,"face-open-smiley-outlined":59283,"face-sad-outlined":59284,"face-smiley-outlined":59285,"fastfood-outlined":59286,"feed-outlined":59287,"file-certified-outlined":59288,"file-clone-outlined":59289,"file-copy-outlined":59290,"file-dispose-outlined":59291,"file-dollar-certified-outlined":59292,"file-dollar-outlined":59293,"file-download-outlined":59294,"file-export-outlined":59295,"file-lock-outlined":59296,"file-outlined":59297,"file-search-outlined":59298,"file-secured-outlined":59299,"file-statutory-outlined":59300,"file-verified-outlined":59301,"filter-outlined":59302,"folder-outlined":59303,"folder-user-outlined":59304,"form-outlined":59305,"funnel-filter-outline":59306,"goal-outlined":59307,"graph-outlined":59308,"hand-holding-user-outlined":59309,"happy-sun-outlined":59310,"health-bag-outlined":59311,"heart-outlined":59312,"home-active-outlined":59313,"home-outlined":59314,"id-card-outlined":59315,"image-outlined":59316,"import-outlined":59317,"instapay-outlined":59318,"italic":59319,"job-search-outlined":59320,"leave-approval-outlined":59321,"link-1":59322,"link-2":59323,"list-outlined":59324,"live-help-outlined":59325,"location-on-outlined":59326,"location-outlined":59327,"lock-outlined":59328,"locked-file-outlined":59329,"log-out":59330,"mail-outlined":59331,"media-content-outlined":59332,"menu-close":59333,"menu-expand":59334,"menu-fold-outlined":59335,"menu-unfold-outlined":59336,"moneybag-outlined":59337,"moon-outlined":59338,"more-horizontal":59339,"more-vertical":59340,"multiple-folders-outlined":59341,"multiple-users-outlined":59342,"near-me-outlined":59343,"node-outlined":59344,"number-points":59345,"number":59346,"overview-outlined":59347,"payment-summary-outlined":59348,"payslip-outlined":59349,"pencil-outlined":59350,"percentage":59351,"phone-outlined":59352,"piggy-bank-outlined":59353,"plane-outlined":59354,"play-circle-outlined":59355,"print-outlined":59356,"propane-tank-outlined":59357,"qr-code-outlined":59358,"qualification-outlined":59359,"re-assign":59360,"redeem":59361,"refresh":59362,"remove":59363,"reply-outlined":59364,"restart":59365,"resume-outlined":59366,"return-arrow":59367,"rostering-outlined":59368,"safety-outlined":59369,"save-outlined":59370,"schedule-outlined":59371,"search-outlined":59372,"search-secured-outlined":59373,"send-outlined":59374,"share-1":59375,"share-2":59376,"share-outlined":59377,"show-chart-outlined":59378,"single-down-arrow":59379,"single-left-arrow":59380,"single-right-arrow":59381,"single-up-arrow":59382,"smart-match-outlined":59383,"sparkle-outlined":59384,"speaker-active-outlined":59385,"speaker-outlined":59386,"star-circle-outlined":59387,"star-outlined":59388,"stash-outlined":59389,"stopwatch-outlined":59390,"strikethrough":59391,"styler-outlined":59392,"suitcase-clock-outlined":59393,"suitcase-outlined":59394,"survey-outlined":59395,"switch-outlined":59396,"sync":59397,"tag-outlined":59398,"target-outlined":59399,"tennis-outlined":59400,"ticket-outlined":59401,"timesheet-outlined":59402,"timesheets-outlined":59403,"today-outlined":59404,"transfer":59405,"trash-bin-outlined":59406,"umbrela-outlined":59407,"unavailability-outlined":59408,"unavailable":59409,"underline":59410,"union-outlined":59411,"unlock-outlined":59412,"upload-outlined":59413,"user-circle-outlined":59414,"user-gear-outlined":59415,"user-outlined":59416,"user-rectangle-outlined":59417,"video-1-outlined":59418,"video-2-outlined":59419,"volunteer-outlined":59420,"wallet-outlined":59421}
|
|
@@ -107,10 +107,13 @@ const IconList = [
|
|
|
107
107
|
'happy-sun',
|
|
108
108
|
'health-bag',
|
|
109
109
|
'heart',
|
|
110
|
+
'hero-points',
|
|
110
111
|
'home',
|
|
111
112
|
'image',
|
|
112
113
|
'import',
|
|
113
114
|
'incident-siren',
|
|
115
|
+
'instapay-daily',
|
|
116
|
+
'instapay-now',
|
|
114
117
|
'instapay',
|
|
115
118
|
'list',
|
|
116
119
|
'loading-2',
|
|
@@ -144,6 +147,7 @@ const IconList = [
|
|
|
144
147
|
'reply',
|
|
145
148
|
'reschedule',
|
|
146
149
|
'rostering',
|
|
150
|
+
'salary-sacrifice',
|
|
147
151
|
'save',
|
|
148
152
|
'schedule-send',
|
|
149
153
|
'schedule',
|
|
@@ -207,6 +211,7 @@ const IconList = [
|
|
|
207
211
|
'bell-active-outlined',
|
|
208
212
|
'bell-outlined',
|
|
209
213
|
'bell-slash-outlined',
|
|
214
|
+
'bill-management-outlined',
|
|
210
215
|
'billing-outlined',
|
|
211
216
|
'body-outlined',
|
|
212
217
|
'bold',
|
|
@@ -225,6 +230,7 @@ const IconList = [
|
|
|
225
230
|
'camera-outlined',
|
|
226
231
|
'cancel',
|
|
227
232
|
'car-forward-outlined',
|
|
233
|
+
'cashback-outlined',
|
|
228
234
|
'charging-station-outlined',
|
|
229
235
|
'chat-bubble-outlined',
|
|
230
236
|
'chat-unread-outlined',
|
|
@@ -363,6 +369,7 @@ const IconList = [
|
|
|
363
369
|
'resume-outlined',
|
|
364
370
|
'return-arrow',
|
|
365
371
|
'rostering-outlined',
|
|
372
|
+
'safety-outlined',
|
|
366
373
|
'save-outlined',
|
|
367
374
|
'schedule-outlined',
|
|
368
375
|
'search-outlined',
|
|
@@ -382,6 +389,7 @@ const IconList = [
|
|
|
382
389
|
'speaker-outlined',
|
|
383
390
|
'star-circle-outlined',
|
|
384
391
|
'star-outlined',
|
|
392
|
+
'stash-outlined',
|
|
385
393
|
'stopwatch-outlined',
|
|
386
394
|
'strikethrough',
|
|
387
395
|
'styler-outlined',
|
|
@@ -400,6 +408,7 @@ const IconList = [
|
|
|
400
408
|
'transfer',
|
|
401
409
|
'trash-bin-outlined',
|
|
402
410
|
'umbrela-outlined',
|
|
411
|
+
'unavailability-outlined',
|
|
403
412
|
'unavailable',
|
|
404
413
|
'underline',
|
|
405
414
|
'union-outlined',
|
|
@@ -37,6 +37,7 @@ exports[`Icon render correctly with spin prop 1`] = `
|
|
|
37
37
|
</View>
|
|
38
38
|
<View
|
|
39
39
|
pointerEvents="box-none"
|
|
40
|
+
position="bottom"
|
|
40
41
|
style={
|
|
41
42
|
[
|
|
42
43
|
{
|
|
@@ -81,6 +82,7 @@ exports[`Icon renders correctly 1`] = `
|
|
|
81
82
|
/>
|
|
82
83
|
<View
|
|
83
84
|
pointerEvents="box-none"
|
|
85
|
+
position="bottom"
|
|
84
86
|
style={
|
|
85
87
|
[
|
|
86
88
|
{
|
|
@@ -125,6 +127,7 @@ exports[`Icon renders correctly with color and size 1`] = `
|
|
|
125
127
|
/>
|
|
126
128
|
<View
|
|
127
129
|
pointerEvents="box-none"
|
|
130
|
+
position="bottom"
|
|
128
131
|
style={
|
|
129
132
|
[
|
|
130
133
|
{
|
|
@@ -169,6 +172,7 @@ exports[`Icon renders correctly with intent 1`] = `
|
|
|
169
172
|
/>
|
|
170
173
|
<View
|
|
171
174
|
pointerEvents="box-none"
|
|
175
|
+
position="bottom"
|
|
172
176
|
style={
|
|
173
177
|
[
|
|
174
178
|
{
|
|
@@ -27,6 +27,7 @@ exports[`Image renders correctly when rounded is false 1`] = `
|
|
|
27
27
|
/>
|
|
28
28
|
<View
|
|
29
29
|
pointerEvents="box-none"
|
|
30
|
+
position="bottom"
|
|
30
31
|
style={
|
|
31
32
|
[
|
|
32
33
|
{
|
|
@@ -74,6 +75,7 @@ exports[`Image renders correctly when rounded is true 1`] = `
|
|
|
74
75
|
/>
|
|
75
76
|
<View
|
|
76
77
|
pointerEvents="box-none"
|
|
78
|
+
position="bottom"
|
|
77
79
|
style={
|
|
78
80
|
[
|
|
79
81
|
{
|
|
@@ -121,6 +123,7 @@ exports[`Image renders correctly when size is 6xlarge 1`] = `
|
|
|
121
123
|
/>
|
|
122
124
|
<View
|
|
123
125
|
pointerEvents="box-none"
|
|
126
|
+
position="bottom"
|
|
124
127
|
style={
|
|
125
128
|
[
|
|
126
129
|
{
|
|
@@ -168,6 +171,7 @@ exports[`Image renders correctly when size is 15xlarge 1`] = `
|
|
|
168
171
|
/>
|
|
169
172
|
<View
|
|
170
173
|
pointerEvents="box-none"
|
|
174
|
+
position="bottom"
|
|
171
175
|
style={
|
|
172
176
|
[
|
|
173
177
|
{
|
|
@@ -149,6 +149,7 @@ exports[`BasicListItem when suffix and prefix are icon name renders correctly 1`
|
|
|
149
149
|
</View>
|
|
150
150
|
<View
|
|
151
151
|
pointerEvents="box-none"
|
|
152
|
+
position="bottom"
|
|
152
153
|
style={
|
|
153
154
|
[
|
|
154
155
|
{
|
|
@@ -320,6 +321,7 @@ exports[`BasicListItem when suffix and prefix are react element renders correctl
|
|
|
320
321
|
</View>
|
|
321
322
|
<View
|
|
322
323
|
pointerEvents="box-none"
|
|
324
|
+
position="bottom"
|
|
323
325
|
style={
|
|
324
326
|
[
|
|
325
327
|
{
|
|
@@ -354,6 +354,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
354
354
|
</View>
|
|
355
355
|
<View
|
|
356
356
|
pointerEvents="box-none"
|
|
357
|
+
position="bottom"
|
|
357
358
|
style={
|
|
358
359
|
[
|
|
359
360
|
{
|
|
@@ -518,6 +519,7 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
|
|
|
518
519
|
</View>
|
|
519
520
|
<View
|
|
520
521
|
pointerEvents="box-none"
|
|
522
|
+
position="bottom"
|
|
521
523
|
style={
|
|
522
524
|
[
|
|
523
525
|
{
|
|
@@ -677,6 +679,7 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
|
677
679
|
</View>
|
|
678
680
|
<View
|
|
679
681
|
pointerEvents="box-none"
|
|
682
|
+
position="bottom"
|
|
680
683
|
style={
|
|
681
684
|
[
|
|
682
685
|
{
|
|
@@ -974,6 +977,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
974
977
|
</View>
|
|
975
978
|
<View
|
|
976
979
|
pointerEvents="box-none"
|
|
980
|
+
position="bottom"
|
|
977
981
|
style={
|
|
978
982
|
[
|
|
979
983
|
{
|
|
@@ -63,6 +63,7 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
|
|
|
63
63
|
</View>
|
|
64
64
|
<View
|
|
65
65
|
pointerEvents="box-none"
|
|
66
|
+
position="bottom"
|
|
66
67
|
style={
|
|
67
68
|
[
|
|
68
69
|
{
|
|
@@ -146,6 +147,7 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
|
|
|
146
147
|
</View>
|
|
147
148
|
<View
|
|
148
149
|
pointerEvents="box-none"
|
|
150
|
+
position="bottom"
|
|
149
151
|
style={
|
|
150
152
|
[
|
|
151
153
|
{
|
|
@@ -229,6 +231,7 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
|
|
|
229
231
|
</View>
|
|
230
232
|
<View
|
|
231
233
|
pointerEvents="box-none"
|
|
234
|
+
position="bottom"
|
|
232
235
|
style={
|
|
233
236
|
[
|
|
234
237
|
{
|
|
@@ -312,6 +315,7 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
|
|
|
312
315
|
</View>
|
|
313
316
|
<View
|
|
314
317
|
pointerEvents="box-none"
|
|
318
|
+
position="bottom"
|
|
315
319
|
style={
|
|
316
320
|
[
|
|
317
321
|
{
|