@hero-design/rn 8.33.1 → 8.34.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 +1 -1
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +868 -655
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +871 -656
- package/package.json +8 -7
- package/rollup.config.js +1 -0
- package/src/components/Accordion/AccordionItem.tsx +1 -3
- package/src/components/Accordion/__tests__/AccordionItem.spec.tsx +5 -5
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +26 -34
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +36 -48
- package/src/components/Accordion/__tests__/index.spec.tsx +2 -2
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +26 -39
- package/src/components/Alert/__tests__/index.spec.tsx +8 -2
- package/src/components/Alert/index.tsx +2 -2
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/Attachment/index.tsx +3 -1
- package/src/components/Badge/StyledBadge.tsx +1 -4
- package/src/components/Badge/__tests__/Status.spec.tsx +1 -1
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +18 -48
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -3
- package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -12
- package/src/components/BottomNavigation/index.tsx +0 -1
- package/src/components/BottomSheet/Header.tsx +1 -3
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/Button/Button.tsx +34 -11
- package/src/components/Button/StyledButton.tsx +45 -38
- package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +2 -4
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +8 -14
- package/src/components/Button/__tests__/StyledButton.spec.tsx +12 -6
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +66 -90
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +56 -86
- package/src/components/Calendar/CalendarRowItem.tsx +5 -2
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +10 -15
- package/src/components/Calendar/index.tsx +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +12 -18
- package/src/components/Card/__tests__/index.spec.tsx +1 -1
- package/src/components/Carousel/CardCarousel.tsx +2 -0
- package/src/components/Carousel/CarouselItem.tsx +4 -4
- package/src/components/Carousel/StyledCarousel.tsx +1 -4
- package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +18 -18
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +24 -20
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +99 -165
- package/src/components/Checkbox/StyledCheckbox.tsx +1 -1
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +8 -12
- package/src/components/Checkbox/index.tsx +1 -1
- package/src/components/ContentNavigator/StyledContentNavigator.tsx +1 -6
- package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +1 -9
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +0 -29
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +124 -17
- package/src/components/ContentNavigator/__tests__/index.spec.tsx +16 -0
- package/src/components/ContentNavigator/index.tsx +30 -9
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +12 -18
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +4 -6
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +4 -6
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +13 -18
- package/src/components/Empty/StyledEmpty.tsx +2 -6
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +22 -36
- package/src/components/Empty/index.tsx +4 -2
- package/src/components/Error/StyledError.tsx +2 -8
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +44 -76
- package/src/components/Error/index.tsx +6 -2
- package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +1 -4
- package/src/components/FAB/ActionGroup/StyledActionItem.tsx +1 -5
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +54 -116
- package/src/components/FAB/ActionGroup/index.tsx +1 -1
- package/src/components/FAB/StyledFAB.tsx +1 -4
- package/src/components/FAB/__tests__/StyledFAB.spec.tsx +1 -1
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +2 -3
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +4 -8
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/List/BasicListItem.tsx +2 -6
- package/src/components/List/ListItem.tsx +3 -5
- package/src/components/List/__tests__/ListItem.spec.tsx +4 -4
- package/src/components/List/__tests__/StyledBasicListItem.spec.tsx +3 -1
- package/src/components/List/__tests__/StyledListItem.spec.tsx +3 -1
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -10
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +23 -37
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +8 -12
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +8 -12
- package/src/components/Modal/ModalContentWrapper.tsx +112 -0
- package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +135 -0
- package/src/components/Modal/ModalPresenter/index.tsx +9 -0
- package/src/components/Modal/ModalProvider.tsx +8 -0
- package/src/components/Modal/__tests__/ModalContentWrapper.spec.tsx +25 -0
- package/src/components/Modal/__tests__/ModalPresenter.spec.tsx +57 -0
- package/src/components/Modal/__tests__/__snapshots__/ModalContentWrapper.spec.tsx.snap +35 -0
- package/src/components/Modal/__tests__/__snapshots__/ModalPresenter.spec.tsx.snap +55 -0
- package/src/components/Modal/__tests__/index.spec.tsx +50 -0
- package/src/components/Modal/index.tsx +121 -0
- package/src/components/PageControl/index.tsx +0 -1
- package/src/components/PinInput/PinCell.tsx +3 -1
- package/src/components/PinInput/StyledPinInput.tsx +2 -7
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +25 -45
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +18 -34
- package/src/components/PinInput/index.tsx +2 -0
- package/src/components/Progress/ProgressCircle.tsx +1 -3
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -6
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -4
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -6
- package/src/components/RichTextEditor/RichTextEditor.tsx +7 -11
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +16 -24
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/SectionHeading/__tests__/index.spec.tsx +3 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -24
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +86 -130
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +6 -10
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -24
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +49 -79
- package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +5 -9
- package/src/components/Success/StyledSuccess.tsx +2 -6
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +40 -64
- package/src/components/Success/index.tsx +3 -1
- package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +2 -2
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +6 -9
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/Swipeable/__tests__/index.spec.tsx +6 -4
- package/src/components/Switch/SelectorSwitch/Option.tsx +1 -1
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -2
- package/src/components/Tabs/ScrollableTabsHeader.tsx +3 -3
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +4 -4
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +6 -9
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +33 -60
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +7 -13
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +3 -8
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +45 -81
- package/src/components/Tabs/index.tsx +3 -3
- package/src/components/Tag/StyledTag.tsx +1 -4
- package/src/components/Tag/__tests__/Tag.spec.tsx +5 -1
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +47 -93
- package/src/components/Tag/index.tsx +5 -1
- package/src/components/TextInput/StyledTextInput.tsx +8 -16
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +72 -134
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +145 -257
- package/src/components/TextInput/index.tsx +2 -3
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +12 -23
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +21 -35
- package/src/components/Toast/Toast.tsx +6 -5
- package/src/components/Toast/ToastContainer.tsx +2 -0
- package/src/components/Toast/__tests__/Toast.spec.tsx +5 -1
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +26 -39
- package/src/components/Toolbar/StyledToolbar.tsx +1 -1
- package/src/components/Toolbar/ToolbarItem.tsx +4 -6
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -18
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +14 -21
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -0
- package/src/theme/components/badge.ts +15 -0
- package/src/theme/components/button.ts +16 -0
- package/src/theme/components/carousel.ts +15 -0
- package/src/theme/components/empty.ts +12 -0
- package/src/theme/components/error.ts +16 -0
- package/src/theme/components/fab.ts +11 -0
- package/src/theme/components/pinInput.ts +15 -0
- package/src/theme/components/success.ts +12 -0
- package/src/theme/components/tag.ts +16 -0
- package/src/theme/components/textInput.ts +1 -0
- package/src/theme/getTheme.ts +18 -18
- package/testUtils/setup.tsx +24 -0
- package/types/components/Badge/StyledBadge.d.ts +1 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +1 -1
- package/types/components/Button/StyledButton.d.ts +12 -5
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +1 -1
- package/types/components/Carousel/StyledCarousel.d.ts +1 -1
- package/types/components/Checkbox/StyledCheckbox.d.ts +1 -1
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +1 -5
- package/types/components/Empty/StyledEmpty.d.ts +2 -2
- package/types/components/Error/StyledError.d.ts +2 -2
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +2 -2
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +1 -1
- package/types/components/FAB/StyledFAB.d.ts +1 -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/types/components/Modal/ModalContentWrapper.d.ts +16 -0
- package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +34 -0
- package/types/components/Modal/ModalPresenter/index.d.ts +3 -0
- package/types/components/Modal/ModalProvider.d.ts +5 -0
- package/types/components/Modal/index.d.ts +33 -0
- package/types/components/PinInput/StyledPinInput.d.ts +2 -2
- package/types/components/RichTextEditor/RichTextEditor.d.ts +2 -2
- package/types/components/Success/StyledSuccess.d.ts +2 -2
- package/types/components/Tag/StyledTag.d.ts +1 -1
- package/types/components/TextInput/StyledTextInput.d.ts +7 -10
- package/types/components/Toolbar/StyledToolbar.d.ts +1 -1
- package/types/index.d.ts +2 -1
- package/types/theme/components/badge.d.ts +15 -0
- package/types/theme/components/button.d.ts +14 -0
- package/types/theme/components/carousel.d.ts +15 -0
- package/types/theme/components/empty.d.ts +11 -0
- package/types/theme/components/error.d.ts +15 -0
- package/types/theme/components/fab.d.ts +11 -0
- package/types/theme/components/pinInput.d.ts +15 -0
- package/types/theme/components/success.d.ts +11 -0
- package/types/theme/components/tag.d.ts +15 -0
- package/types/theme/components/textInput.d.ts +1 -0
- package/types/theme/getTheme.d.ts +18 -18
|
@@ -65,17 +65,14 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
65
65
|
Array [
|
|
66
66
|
Object {
|
|
67
67
|
"color": "#001f23",
|
|
68
|
-
"fontFamily": "BeVietnamPro-
|
|
69
|
-
"fontSize":
|
|
70
|
-
"letterSpacing": 0
|
|
71
|
-
"lineHeight":
|
|
68
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
69
|
+
"fontSize": 24,
|
|
70
|
+
"letterSpacing": 0,
|
|
71
|
+
"lineHeight": 32,
|
|
72
72
|
},
|
|
73
73
|
Array [
|
|
74
74
|
Object {
|
|
75
75
|
"color": "#001f23",
|
|
76
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
77
|
-
"fontSize": 24,
|
|
78
|
-
"lineHeight": 32,
|
|
79
76
|
"marginBottom": 24,
|
|
80
77
|
"marginRight": 24,
|
|
81
78
|
"textAlign": "right",
|
|
@@ -85,9 +82,8 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
85
82
|
]
|
|
86
83
|
}
|
|
87
84
|
testID="header-text"
|
|
88
|
-
themeFontSize="medium"
|
|
89
|
-
themeFontWeight="regular"
|
|
90
85
|
themeIntent="body"
|
|
86
|
+
themeLevel="h4"
|
|
91
87
|
themeTypeface="neutral"
|
|
92
88
|
>
|
|
93
89
|
What would you like to create?
|
|
@@ -189,26 +185,21 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
189
185
|
Object {
|
|
190
186
|
"color": "#001f23",
|
|
191
187
|
"fontFamily": "BeVietnamPro-Regular",
|
|
192
|
-
"fontSize":
|
|
193
|
-
"letterSpacing": 0.
|
|
194
|
-
"lineHeight":
|
|
188
|
+
"fontSize": 16,
|
|
189
|
+
"letterSpacing": 0.48,
|
|
190
|
+
"lineHeight": 24,
|
|
195
191
|
},
|
|
196
192
|
Array [
|
|
197
193
|
Object {
|
|
198
194
|
"color": "#ffffff",
|
|
199
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
200
|
-
"fontSize": 16,
|
|
201
|
-
"lineHeight": 22,
|
|
202
|
-
"paddingLeft": 4,
|
|
203
195
|
},
|
|
204
196
|
undefined,
|
|
205
197
|
],
|
|
206
198
|
]
|
|
207
199
|
}
|
|
208
|
-
themeFontSize="medium"
|
|
209
|
-
themeFontWeight="regular"
|
|
210
200
|
themeIntent="body"
|
|
211
201
|
themeTypeface="neutral"
|
|
202
|
+
themeVariant="regular"
|
|
212
203
|
>
|
|
213
204
|
Give shout out
|
|
214
205
|
</Text>
|
|
@@ -297,26 +288,21 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
297
288
|
Object {
|
|
298
289
|
"color": "#001f23",
|
|
299
290
|
"fontFamily": "BeVietnamPro-Regular",
|
|
300
|
-
"fontSize":
|
|
301
|
-
"letterSpacing": 0.
|
|
302
|
-
"lineHeight":
|
|
291
|
+
"fontSize": 16,
|
|
292
|
+
"letterSpacing": 0.48,
|
|
293
|
+
"lineHeight": 24,
|
|
303
294
|
},
|
|
304
295
|
Array [
|
|
305
296
|
Object {
|
|
306
297
|
"color": "#ffffff",
|
|
307
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
308
|
-
"fontSize": 16,
|
|
309
|
-
"lineHeight": 22,
|
|
310
|
-
"paddingLeft": 4,
|
|
311
298
|
},
|
|
312
299
|
undefined,
|
|
313
300
|
],
|
|
314
301
|
]
|
|
315
302
|
}
|
|
316
|
-
themeFontSize="medium"
|
|
317
|
-
themeFontWeight="regular"
|
|
318
303
|
themeIntent="body"
|
|
319
304
|
themeTypeface="neutral"
|
|
305
|
+
themeVariant="regular"
|
|
320
306
|
>
|
|
321
307
|
Goal
|
|
322
308
|
</Text>
|
|
@@ -405,26 +391,21 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
405
391
|
Object {
|
|
406
392
|
"color": "#001f23",
|
|
407
393
|
"fontFamily": "BeVietnamPro-Regular",
|
|
408
|
-
"fontSize":
|
|
409
|
-
"letterSpacing": 0.
|
|
410
|
-
"lineHeight":
|
|
394
|
+
"fontSize": 16,
|
|
395
|
+
"letterSpacing": 0.48,
|
|
396
|
+
"lineHeight": 24,
|
|
411
397
|
},
|
|
412
398
|
Array [
|
|
413
399
|
Object {
|
|
414
400
|
"color": "#ffffff",
|
|
415
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
416
|
-
"fontSize": 16,
|
|
417
|
-
"lineHeight": 22,
|
|
418
|
-
"paddingLeft": 4,
|
|
419
401
|
},
|
|
420
402
|
undefined,
|
|
421
403
|
],
|
|
422
404
|
]
|
|
423
405
|
}
|
|
424
|
-
themeFontSize="medium"
|
|
425
|
-
themeFontWeight="regular"
|
|
426
406
|
themeIntent="body"
|
|
427
407
|
themeTypeface="neutral"
|
|
408
|
+
themeVariant="regular"
|
|
428
409
|
>
|
|
429
410
|
Leave request
|
|
430
411
|
</Text>
|
|
@@ -513,26 +494,21 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
513
494
|
Object {
|
|
514
495
|
"color": "#001f23",
|
|
515
496
|
"fontFamily": "BeVietnamPro-Regular",
|
|
516
|
-
"fontSize":
|
|
517
|
-
"letterSpacing": 0.
|
|
518
|
-
"lineHeight":
|
|
497
|
+
"fontSize": 16,
|
|
498
|
+
"letterSpacing": 0.48,
|
|
499
|
+
"lineHeight": 24,
|
|
519
500
|
},
|
|
520
501
|
Array [
|
|
521
502
|
Object {
|
|
522
503
|
"color": "#ffffff",
|
|
523
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
524
|
-
"fontSize": 16,
|
|
525
|
-
"lineHeight": 22,
|
|
526
|
-
"paddingLeft": 4,
|
|
527
504
|
},
|
|
528
505
|
undefined,
|
|
529
506
|
],
|
|
530
507
|
]
|
|
531
508
|
}
|
|
532
|
-
themeFontSize="medium"
|
|
533
|
-
themeFontWeight="regular"
|
|
534
509
|
themeIntent="body"
|
|
535
510
|
themeTypeface="neutral"
|
|
511
|
+
themeVariant="regular"
|
|
536
512
|
>
|
|
537
513
|
Safety incident
|
|
538
514
|
</Text>
|
|
@@ -621,26 +597,21 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
621
597
|
Object {
|
|
622
598
|
"color": "#001f23",
|
|
623
599
|
"fontFamily": "BeVietnamPro-Regular",
|
|
624
|
-
"fontSize":
|
|
625
|
-
"letterSpacing": 0.
|
|
626
|
-
"lineHeight":
|
|
600
|
+
"fontSize": 16,
|
|
601
|
+
"letterSpacing": 0.48,
|
|
602
|
+
"lineHeight": 24,
|
|
627
603
|
},
|
|
628
604
|
Array [
|
|
629
605
|
Object {
|
|
630
606
|
"color": "#ffffff",
|
|
631
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
632
|
-
"fontSize": 16,
|
|
633
|
-
"lineHeight": 22,
|
|
634
|
-
"paddingLeft": 4,
|
|
635
607
|
},
|
|
636
608
|
undefined,
|
|
637
609
|
],
|
|
638
610
|
]
|
|
639
611
|
}
|
|
640
|
-
themeFontSize="medium"
|
|
641
|
-
themeFontWeight="regular"
|
|
642
612
|
themeIntent="body"
|
|
643
613
|
themeTypeface="neutral"
|
|
614
|
+
themeVariant="regular"
|
|
644
615
|
>
|
|
645
616
|
Timesheets
|
|
646
617
|
</Text>
|
|
@@ -742,16 +713,13 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
742
713
|
Object {
|
|
743
714
|
"color": "#001f23",
|
|
744
715
|
"fontFamily": "BeVietnamPro-Regular",
|
|
745
|
-
"fontSize":
|
|
746
|
-
"letterSpacing": 0.
|
|
747
|
-
"lineHeight":
|
|
716
|
+
"fontSize": 16,
|
|
717
|
+
"letterSpacing": 0.48,
|
|
718
|
+
"lineHeight": 24,
|
|
748
719
|
},
|
|
749
720
|
Array [
|
|
750
721
|
Object {
|
|
751
722
|
"color": "#ffffff",
|
|
752
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
753
|
-
"fontSize": 16,
|
|
754
|
-
"lineHeight": 24,
|
|
755
723
|
"marginHorizontal": 8,
|
|
756
724
|
"textAlign": "center",
|
|
757
725
|
"textAlignVertical": "center",
|
|
@@ -760,10 +728,9 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
760
728
|
],
|
|
761
729
|
]
|
|
762
730
|
}
|
|
763
|
-
themeFontSize="medium"
|
|
764
|
-
themeFontWeight="regular"
|
|
765
731
|
themeIntent="body"
|
|
766
732
|
themeTypeface="neutral"
|
|
733
|
+
themeVariant="regular"
|
|
767
734
|
>
|
|
768
735
|
Shout out
|
|
769
736
|
</Text>
|
|
@@ -836,17 +803,14 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
836
803
|
Array [
|
|
837
804
|
Object {
|
|
838
805
|
"color": "#001f23",
|
|
839
|
-
"fontFamily": "BeVietnamPro-
|
|
840
|
-
"fontSize":
|
|
841
|
-
"letterSpacing": 0
|
|
842
|
-
"lineHeight":
|
|
806
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
807
|
+
"fontSize": 24,
|
|
808
|
+
"letterSpacing": 0,
|
|
809
|
+
"lineHeight": 32,
|
|
843
810
|
},
|
|
844
811
|
Array [
|
|
845
812
|
Object {
|
|
846
813
|
"color": "#001f23",
|
|
847
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
848
|
-
"fontSize": 24,
|
|
849
|
-
"lineHeight": 32,
|
|
850
814
|
"marginBottom": 24,
|
|
851
815
|
"marginRight": 24,
|
|
852
816
|
"textAlign": "right",
|
|
@@ -856,9 +820,8 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
856
820
|
]
|
|
857
821
|
}
|
|
858
822
|
testID="header-text"
|
|
859
|
-
themeFontSize="medium"
|
|
860
|
-
themeFontWeight="regular"
|
|
861
823
|
themeIntent="body"
|
|
824
|
+
themeLevel="h4"
|
|
862
825
|
themeTypeface="neutral"
|
|
863
826
|
>
|
|
864
827
|
What would you like to create?
|
|
@@ -960,26 +923,21 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
960
923
|
Object {
|
|
961
924
|
"color": "#001f23",
|
|
962
925
|
"fontFamily": "BeVietnamPro-Regular",
|
|
963
|
-
"fontSize":
|
|
964
|
-
"letterSpacing": 0.
|
|
965
|
-
"lineHeight":
|
|
926
|
+
"fontSize": 16,
|
|
927
|
+
"letterSpacing": 0.48,
|
|
928
|
+
"lineHeight": 24,
|
|
966
929
|
},
|
|
967
930
|
Array [
|
|
968
931
|
Object {
|
|
969
932
|
"color": "#ffffff",
|
|
970
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
971
|
-
"fontSize": 16,
|
|
972
|
-
"lineHeight": 22,
|
|
973
|
-
"paddingLeft": 4,
|
|
974
933
|
},
|
|
975
934
|
undefined,
|
|
976
935
|
],
|
|
977
936
|
]
|
|
978
937
|
}
|
|
979
|
-
themeFontSize="medium"
|
|
980
|
-
themeFontWeight="regular"
|
|
981
938
|
themeIntent="body"
|
|
982
939
|
themeTypeface="neutral"
|
|
940
|
+
themeVariant="regular"
|
|
983
941
|
>
|
|
984
942
|
Give shout out
|
|
985
943
|
</Text>
|
|
@@ -1068,26 +1026,21 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
1068
1026
|
Object {
|
|
1069
1027
|
"color": "#001f23",
|
|
1070
1028
|
"fontFamily": "BeVietnamPro-Regular",
|
|
1071
|
-
"fontSize":
|
|
1072
|
-
"letterSpacing": 0.
|
|
1073
|
-
"lineHeight":
|
|
1029
|
+
"fontSize": 16,
|
|
1030
|
+
"letterSpacing": 0.48,
|
|
1031
|
+
"lineHeight": 24,
|
|
1074
1032
|
},
|
|
1075
1033
|
Array [
|
|
1076
1034
|
Object {
|
|
1077
1035
|
"color": "#ffffff",
|
|
1078
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
1079
|
-
"fontSize": 16,
|
|
1080
|
-
"lineHeight": 22,
|
|
1081
|
-
"paddingLeft": 4,
|
|
1082
1036
|
},
|
|
1083
1037
|
undefined,
|
|
1084
1038
|
],
|
|
1085
1039
|
]
|
|
1086
1040
|
}
|
|
1087
|
-
themeFontSize="medium"
|
|
1088
|
-
themeFontWeight="regular"
|
|
1089
1041
|
themeIntent="body"
|
|
1090
1042
|
themeTypeface="neutral"
|
|
1043
|
+
themeVariant="regular"
|
|
1091
1044
|
>
|
|
1092
1045
|
Goal
|
|
1093
1046
|
</Text>
|
|
@@ -1176,26 +1129,21 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
1176
1129
|
Object {
|
|
1177
1130
|
"color": "#001f23",
|
|
1178
1131
|
"fontFamily": "BeVietnamPro-Regular",
|
|
1179
|
-
"fontSize":
|
|
1180
|
-
"letterSpacing": 0.
|
|
1181
|
-
"lineHeight":
|
|
1132
|
+
"fontSize": 16,
|
|
1133
|
+
"letterSpacing": 0.48,
|
|
1134
|
+
"lineHeight": 24,
|
|
1182
1135
|
},
|
|
1183
1136
|
Array [
|
|
1184
1137
|
Object {
|
|
1185
1138
|
"color": "#ffffff",
|
|
1186
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
1187
|
-
"fontSize": 16,
|
|
1188
|
-
"lineHeight": 22,
|
|
1189
|
-
"paddingLeft": 4,
|
|
1190
1139
|
},
|
|
1191
1140
|
undefined,
|
|
1192
1141
|
],
|
|
1193
1142
|
]
|
|
1194
1143
|
}
|
|
1195
|
-
themeFontSize="medium"
|
|
1196
|
-
themeFontWeight="regular"
|
|
1197
1144
|
themeIntent="body"
|
|
1198
1145
|
themeTypeface="neutral"
|
|
1146
|
+
themeVariant="regular"
|
|
1199
1147
|
>
|
|
1200
1148
|
Leave request
|
|
1201
1149
|
</Text>
|
|
@@ -1284,26 +1232,21 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
1284
1232
|
Object {
|
|
1285
1233
|
"color": "#001f23",
|
|
1286
1234
|
"fontFamily": "BeVietnamPro-Regular",
|
|
1287
|
-
"fontSize":
|
|
1288
|
-
"letterSpacing": 0.
|
|
1289
|
-
"lineHeight":
|
|
1235
|
+
"fontSize": 16,
|
|
1236
|
+
"letterSpacing": 0.48,
|
|
1237
|
+
"lineHeight": 24,
|
|
1290
1238
|
},
|
|
1291
1239
|
Array [
|
|
1292
1240
|
Object {
|
|
1293
1241
|
"color": "#ffffff",
|
|
1294
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
1295
|
-
"fontSize": 16,
|
|
1296
|
-
"lineHeight": 22,
|
|
1297
|
-
"paddingLeft": 4,
|
|
1298
1242
|
},
|
|
1299
1243
|
undefined,
|
|
1300
1244
|
],
|
|
1301
1245
|
]
|
|
1302
1246
|
}
|
|
1303
|
-
themeFontSize="medium"
|
|
1304
|
-
themeFontWeight="regular"
|
|
1305
1247
|
themeIntent="body"
|
|
1306
1248
|
themeTypeface="neutral"
|
|
1249
|
+
themeVariant="regular"
|
|
1307
1250
|
>
|
|
1308
1251
|
Safety incident
|
|
1309
1252
|
</Text>
|
|
@@ -1392,26 +1335,21 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
1392
1335
|
Object {
|
|
1393
1336
|
"color": "#001f23",
|
|
1394
1337
|
"fontFamily": "BeVietnamPro-Regular",
|
|
1395
|
-
"fontSize":
|
|
1396
|
-
"letterSpacing": 0.
|
|
1397
|
-
"lineHeight":
|
|
1338
|
+
"fontSize": 16,
|
|
1339
|
+
"letterSpacing": 0.48,
|
|
1340
|
+
"lineHeight": 24,
|
|
1398
1341
|
},
|
|
1399
1342
|
Array [
|
|
1400
1343
|
Object {
|
|
1401
1344
|
"color": "#ffffff",
|
|
1402
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
1403
|
-
"fontSize": 16,
|
|
1404
|
-
"lineHeight": 22,
|
|
1405
|
-
"paddingLeft": 4,
|
|
1406
1345
|
},
|
|
1407
1346
|
undefined,
|
|
1408
1347
|
],
|
|
1409
1348
|
]
|
|
1410
1349
|
}
|
|
1411
|
-
themeFontSize="medium"
|
|
1412
|
-
themeFontWeight="regular"
|
|
1413
1350
|
themeIntent="body"
|
|
1414
1351
|
themeTypeface="neutral"
|
|
1352
|
+
themeVariant="regular"
|
|
1415
1353
|
>
|
|
1416
1354
|
Timesheets
|
|
1417
1355
|
</Text>
|
|
@@ -141,7 +141,7 @@ const ActionGroup = forwardRef<ActionGroupHandles, ActionGroupProps>(
|
|
|
141
141
|
<Animated.View
|
|
142
142
|
style={{ transform: [{ translateY: titleTranslateY }] }}
|
|
143
143
|
>
|
|
144
|
-
<StyledHeaderText testID="header-text">
|
|
144
|
+
<StyledHeaderText testID="header-text" level="h4">
|
|
145
145
|
{headerTitle}
|
|
146
146
|
</StyledHeaderText>
|
|
147
147
|
</Animated.View>
|
|
@@ -30,10 +30,7 @@ const StyledFABIcon = styled(Icon)<IconProps>(({ theme }) => ({
|
|
|
30
30
|
textAlign: 'center',
|
|
31
31
|
}));
|
|
32
32
|
|
|
33
|
-
const StyledFABText = styled(Typography.
|
|
34
|
-
fontFamily: theme.__hd__.fab.fonts.title,
|
|
35
|
-
fontSize: theme.__hd__.fab.fontSizes.title,
|
|
36
|
-
lineHeight: theme.__hd__.fab.lineHeights.title,
|
|
33
|
+
const StyledFABText = styled(Typography.Body)<TextProps>(({ theme }) => ({
|
|
37
34
|
color: theme.__hd__.fab.colors.titleText,
|
|
38
35
|
textAlignVertical: 'center',
|
|
39
36
|
textAlign: 'center',
|
|
@@ -42,16 +42,15 @@ exports[`StyledFAB renders correctly 1`] = `
|
|
|
42
42
|
"color": "#001f23",
|
|
43
43
|
"fontFamily": "BeVietnamPro-Regular",
|
|
44
44
|
"fontSize": 14,
|
|
45
|
-
"letterSpacing": 0.
|
|
45
|
+
"letterSpacing": 0.48,
|
|
46
46
|
"lineHeight": 22,
|
|
47
47
|
},
|
|
48
48
|
undefined,
|
|
49
49
|
]
|
|
50
50
|
}
|
|
51
|
-
themeFontSize="medium"
|
|
52
|
-
themeFontWeight="regular"
|
|
53
51
|
themeIntent="body"
|
|
54
52
|
themeTypeface="neutral"
|
|
53
|
+
themeVariant="small"
|
|
55
54
|
>
|
|
56
55
|
button
|
|
57
56
|
</Text>
|
|
@@ -255,16 +255,13 @@ exports[`FAB when title has value renders correctly 1`] = `
|
|
|
255
255
|
Object {
|
|
256
256
|
"color": "#001f23",
|
|
257
257
|
"fontFamily": "BeVietnamPro-Regular",
|
|
258
|
-
"fontSize":
|
|
259
|
-
"letterSpacing": 0.
|
|
260
|
-
"lineHeight":
|
|
258
|
+
"fontSize": 16,
|
|
259
|
+
"letterSpacing": 0.48,
|
|
260
|
+
"lineHeight": 24,
|
|
261
261
|
},
|
|
262
262
|
Array [
|
|
263
263
|
Object {
|
|
264
264
|
"color": "#ffffff",
|
|
265
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
266
|
-
"fontSize": 16,
|
|
267
|
-
"lineHeight": 24,
|
|
268
265
|
"marginHorizontal": 8,
|
|
269
266
|
"textAlign": "center",
|
|
270
267
|
"textAlignVertical": "center",
|
|
@@ -273,10 +270,9 @@ exports[`FAB when title has value renders correctly 1`] = `
|
|
|
273
270
|
],
|
|
274
271
|
]
|
|
275
272
|
}
|
|
276
|
-
themeFontSize="medium"
|
|
277
|
-
themeFontWeight="regular"
|
|
278
273
|
themeIntent="body"
|
|
279
274
|
themeTypeface="neutral"
|
|
275
|
+
themeVariant="regular"
|
|
280
276
|
>
|
|
281
277
|
Shout out
|
|
282
278
|
</Text>
|
|
@@ -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,"expense":59061,"eye-circle":59062,"eye-invisible":59063,"eye":59064,"face-meh":59065,"face-sad":59066,"face-smiley":59067,"feed":59068,"feedbacks":59069,"file-certified":59070,"file-clone":59071,"file-copy":59072,"file-csv":59073,"file-dispose":59074,"file-doc":59075,"file-excel":59076,"file-export":59077,"file-lock":59078,"file-pdf":59079,"file-powerpoint":59080,"file-search":59081,"file-secured":59082,"file-sheets":59083,"file-slide":59084,"file-verified":59085,"file-word":59086,"file":59087,"filter":59088,"folder-user":59089,"folder":59090,"format-bold":59091,"format-heading1":59092,"format-heading2":59093,"format-italic":59094,"format-list-bulleted":59095,"format-list-numbered":59096,"format-underlined":59097,"funnel-filter":59098,"global-dollar":59099,"globe":59100,"graduation-cap":59101,"graph":59102,"happy-sun":59103,"health-bag":59104,"heart":59105,"home":59106,"image":59107,"import":59108,"incident-siren":59109,"instapay":59110,"list":59111,"loading-2":59112,"loading":59113,"location":59114,"lock":59115,"looks-one":59116,"looks-two":59117,"media-content":59118,"menu":59119,"money-notes":59120,"moneybag":59121,"moon":59122,"multiple-stars":59123,"multiple-users":59124,"node":59125,"open-folder":59126,"paperclip":59127,"payment-summary":59128,"pencil":59129,"phone":59130,"piggy-bank":59131,"plane-up":59132,"plane":59133,"play-circle":59134,"print":59135,"raising-hands":59136,"reply-arrow":59137,"reply":59138,"reschedule":59139,"rostering":59140,"save":59141,"schedule-send":59142,"schedule":59143,"search-person":59144,"send":59145,"speaker-active":59146,"speaker":59147,"star-award":59148,"star-badge":59149,"star-circle":59150,"star-medal":59151,"star":59152,"steps-circle":59153,"stopwatch":59154,"suitcase":59155,"surfing":59156,"survey":59157,"swag-pillar-benefit":59158,"swag-pillar-career":59159,"swag-pillar-money":59160,"swag-pillar-work":59161,"swag":59162,"switch":59163,"tag":59164,"target":59165,"teams":59166,"timesheet":59167,"touch-id":59168,"trash-bin":59169,"unlock":59170,"user":59171,"video-1":59172,"video-2":59173,"wallet":59174,"warning":59175,"activate-outlined":59176,"add-credit-card-outlined":59177,"add-person-outlined":59178,"add-section-outlined":59179,"add-time-outlined":59180,"add":59181,"adjustment-outlined":59182,"ai-outlined":59183,"alignment-2-outlined":59184,"alignment-outlined":59185,"all-caps":59186,"arrow-down":59187,"arrow-downwards":59188,"arrow-left":59189,"arrow-leftwards":59190,"arrow-right":59191,"arrow-rightwards":59192,"arrow-up":59193,"arrow-upwards":59194,"article-outlined":59195,"at-sign":59196,"auto-graph-outlined":59197,"beer-outlined":59198,"bell-active-outlined":59199,"bell-outlined":59200,"bell-slash-outlined":59201,"billing-outlined":59202,"body-outlined":59203,"bold":59204,"book-outlined":59205,"bookmark-added-outlined":59206,"bookmark-outlined":59207,"box-check-outlined":59208,"box-outlined":59209,"bullet-points":59210,"cake-outlined":59211,"calendar-dates-outlined":59212,"calendar-star-outlined":59213,"call-split-outlined":
|
|
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,"expense":59061,"eye-circle":59062,"eye-invisible":59063,"eye":59064,"face-meh":59065,"face-sad":59066,"face-smiley":59067,"feed":59068,"feedbacks":59069,"file-certified":59070,"file-clone":59071,"file-copy":59072,"file-csv":59073,"file-dispose":59074,"file-doc":59075,"file-excel":59076,"file-export":59077,"file-lock":59078,"file-pdf":59079,"file-powerpoint":59080,"file-search":59081,"file-secured":59082,"file-sheets":59083,"file-slide":59084,"file-verified":59085,"file-word":59086,"file":59087,"filter":59088,"folder-user":59089,"folder":59090,"format-bold":59091,"format-heading1":59092,"format-heading2":59093,"format-italic":59094,"format-list-bulleted":59095,"format-list-numbered":59096,"format-underlined":59097,"funnel-filter":59098,"global-dollar":59099,"globe":59100,"graduation-cap":59101,"graph":59102,"happy-sun":59103,"health-bag":59104,"heart":59105,"home":59106,"image":59107,"import":59108,"incident-siren":59109,"instapay":59110,"list":59111,"loading-2":59112,"loading":59113,"location":59114,"lock":59115,"looks-one":59116,"looks-two":59117,"media-content":59118,"menu":59119,"money-notes":59120,"moneybag":59121,"moon":59122,"multiple-stars":59123,"multiple-users":59124,"node":59125,"open-folder":59126,"paperclip":59127,"payment-summary":59128,"pencil":59129,"phone":59130,"piggy-bank":59131,"plane-up":59132,"plane":59133,"play-circle":59134,"print":59135,"raising-hands":59136,"reply-arrow":59137,"reply":59138,"reschedule":59139,"rostering":59140,"save":59141,"schedule-send":59142,"schedule":59143,"search-person":59144,"send":59145,"speaker-active":59146,"speaker":59147,"star-award":59148,"star-badge":59149,"star-circle":59150,"star-medal":59151,"star":59152,"steps-circle":59153,"stopwatch":59154,"suitcase":59155,"surfing":59156,"survey":59157,"swag-pillar-benefit":59158,"swag-pillar-career":59159,"swag-pillar-money":59160,"swag-pillar-work":59161,"swag":59162,"switch":59163,"tag":59164,"target":59165,"teams":59166,"timesheet":59167,"touch-id":59168,"trash-bin":59169,"unlock":59170,"user":59171,"video-1":59172,"video-2":59173,"wallet":59174,"warning":59175,"activate-outlined":59176,"add-credit-card-outlined":59177,"add-person-outlined":59178,"add-section-outlined":59179,"add-time-outlined":59180,"add":59181,"adjustment-outlined":59182,"ai-outlined":59183,"alignment-2-outlined":59184,"alignment-outlined":59185,"all-caps":59186,"arrow-down":59187,"arrow-downwards":59188,"arrow-left":59189,"arrow-leftwards":59190,"arrow-right":59191,"arrow-rightwards":59192,"arrow-up":59193,"arrow-upwards":59194,"article-outlined":59195,"at-sign":59196,"auto-graph-outlined":59197,"beer-outlined":59198,"bell-active-outlined":59199,"bell-outlined":59200,"bell-slash-outlined":59201,"billing-outlined":59202,"body-outlined":59203,"bold":59204,"book-outlined":59205,"bookmark-added-outlined":59206,"bookmark-outlined":59207,"box-check-outlined":59208,"box-outlined":59209,"bullet-points":59210,"cake-outlined":59211,"calendar-dates-outlined":59212,"calendar-star-outlined":59213,"call-outlined":59214,"call-split-outlined":59215,"camera-outlined":59216,"cancel":59217,"car-forward-outlined":59218,"charging-station-outlined":59219,"chat-bubble-outlined":59220,"chat-unread-outlined":59221,"checkmark":59222,"circle-add-outlined":59223,"circle-cancel-outlined":59224,"circle-down-outlined":59225,"circle-info-outlined":59226,"circle-left-outlined":59227,"circle-ok-outlined":59228,"circle-question-outlined":59229,"circle-remove-outlined":59230,"circle-right-outlined":59231,"circle-up-outlined":59232,"circle-warning-outlined":59233,"clock-2-outlined":59234,"clock-outlined":59235,"cog-outlined":59236,"coin-outlined":59237,"coin-super-outlined":59238,"comment-outlined":59239,"contacts-outlined":59240,"contacts-user-outlined":59241,"credit-card-outlined":59242,"cup-outlined":59243,"dentistry-outlined":59244,"direction-arrows-outlined":59245,"directory-outlined":59246,"document-outlined":59247,"dollar-box-outlined":59248,"dollar-card-outlined":59249,"dollar-coin-shine-outlined":59250,"dollar-credit-card-outlined":59251,"dollar-sign":59252,"double-buildings-outlined":59253,"double-left-arrows":59254,"double-right-arrows":59255,"download-box-outlined":59256,"download-outlined":59257,"edit-template-outlined":59258,"email-outlined":59259,"enter-arrow":59260,"envelope-outlined":59261,"expense-outlined":59262,"explore-outlined":59263,"extension-outlined":59264,"external-link":59265,"eye-invisible-outlined":59266,"eye-outlined":59267,"face-id":59268,"face-meh-outlined":59269,"face-open-smiley-outlined":59270,"face-sad-outlined":59271,"face-smiley-outlined":59272,"fastfood-outlined":59273,"feed-outlined":59274,"file-certified-outlined":59275,"file-clone-outlined":59276,"file-copy-outlined":59277,"file-dispose-outlined":59278,"file-dollar-certified-outlined":59279,"file-dollar-outlined":59280,"file-download-outlined":59281,"file-export-outlined":59282,"file-lock-outlined":59283,"file-outlined":59284,"file-search-outlined":59285,"file-secured-outlined":59286,"file-statutory-outlined":59287,"file-verified-outlined":59288,"filter-outlined":59289,"folder-outlined":59290,"folder-user-outlined":59291,"form-outlined":59292,"funnel-filter-outline":59293,"graph-outlined":59294,"hand-holding-user-outlined":59295,"happy-sun-outlined":59296,"health-bag-outlined":59297,"heart-outlined":59298,"home-active-outlined":59299,"home-outlined":59300,"id-card-outlined":59301,"image-outlined":59302,"import-outlined":59303,"instapay-outlined":59304,"italic":59305,"link-1":59306,"link-2":59307,"list-outlined":59308,"live-help-outlined":59309,"location-on-outlined":59310,"location-outlined":59311,"lock-outlined":59312,"locked-file-outlined":59313,"log-out":59314,"mail-outlined":59315,"media-content-outlined":59316,"menu-close":59317,"menu-expand":59318,"menu-fold-outlined":59319,"menu-unfold-outlined":59320,"moneybag-outlined":59321,"moon-outlined":59322,"more-horizontal":59323,"more-vertical":59324,"multiple-folders-outlined":59325,"multiple-users-outlined":59326,"near-me-outlined":59327,"node-outlined":59328,"number-points":59329,"number":59330,"overview-outlined":59331,"payment-summary-outlined":59332,"payslip-outlined":59333,"pencil-outlined":59334,"percentage":59335,"phone-outlined":59336,"piggy-bank-outlined":59337,"plane-outlined":59338,"play-circle-outlined":59339,"print-outlined":59340,"qr-code-outlined":59341,"qualification-outlined":59342,"re-assign":59343,"redeem":59344,"refresh":59345,"remove":59346,"reply-outlined":59347,"restart":59348,"return-arrow":59349,"rostering-outlined":59350,"save-outlined":59351,"schedule-outlined":59352,"search-outlined":59353,"search-secured-outlined":59354,"send-outlined":59355,"share-1":59356,"share-2":59357,"share-outlined":59358,"show-chart-outlined":59359,"single-down-arrow":59360,"single-left-arrow":59361,"single-right-arrow":59362,"single-up-arrow":59363,"speaker-active-outlined":59364,"speaker-outlined":59365,"star-circle-outlined":59366,"star-outlined":59367,"stopwatch-outlined":59368,"strikethrough":59369,"styler-outlined":59370,"suitcase-clock-outlined":59371,"suitcase-outlined":59372,"survey-outlined":59373,"switch-outlined":59374,"sync":59375,"tag-outlined":59376,"target-outlined":59377,"tennis-outlined":59378,"ticket-outlined":59379,"timesheet-outlined":59380,"today-outlined":59381,"transfer":59382,"trash-bin-outlined":59383,"umbrela-outlined":59384,"unavailable":59385,"underline":59386,"union-outlined":59387,"unlock-outlined":59388,"upload-outlined":59389,"user-circle-outlined":59390,"user-gear-outlined":59391,"user-outlined":59392,"user-rectangle-outlined":59393,"video-1-outlined":59394,"video-2-outlined":59395,"volunteer-outlined":59396,"wallet-outlined":59397}
|
|
@@ -214,6 +214,7 @@ const IconList = [
|
|
|
214
214
|
'cake-outlined',
|
|
215
215
|
'calendar-dates-outlined',
|
|
216
216
|
'calendar-star-outlined',
|
|
217
|
+
'call-outlined',
|
|
217
218
|
'call-split-outlined',
|
|
218
219
|
'camera-outlined',
|
|
219
220
|
'cancel',
|
|
@@ -314,6 +315,7 @@ const IconList = [
|
|
|
314
315
|
'lock-outlined',
|
|
315
316
|
'locked-file-outlined',
|
|
316
317
|
'log-out',
|
|
318
|
+
'mail-outlined',
|
|
317
319
|
'media-content-outlined',
|
|
318
320
|
'menu-close',
|
|
319
321
|
'menu-expand',
|
|
@@ -90,16 +90,12 @@ const BasicListItem = ({
|
|
|
90
90
|
)}
|
|
91
91
|
<StyledTitleContainer>
|
|
92
92
|
{typeof title === 'string' ? (
|
|
93
|
-
<Typography.
|
|
94
|
-
{title}
|
|
95
|
-
</Typography.Text>
|
|
93
|
+
<Typography.Body intent="body">{title}</Typography.Body>
|
|
96
94
|
) : (
|
|
97
95
|
title
|
|
98
96
|
)}
|
|
99
97
|
{subtitle && (
|
|
100
|
-
<Typography.
|
|
101
|
-
{subtitle}
|
|
102
|
-
</Typography.Text>
|
|
98
|
+
<Typography.Caption intent="subdued">{subtitle}</Typography.Caption>
|
|
103
99
|
)}
|
|
104
100
|
</StyledTitleContainer>
|
|
105
101
|
{suffix && (
|
|
@@ -124,16 +124,14 @@ const ListItem = ({
|
|
|
124
124
|
)}
|
|
125
125
|
<StyledTitleContainer>
|
|
126
126
|
{typeof title === 'string' ? (
|
|
127
|
-
<Typography.
|
|
128
|
-
{title}
|
|
129
|
-
</Typography.Text>
|
|
127
|
+
<Typography.Body intent="body">{title}</Typography.Body>
|
|
130
128
|
) : (
|
|
131
129
|
title
|
|
132
130
|
)}
|
|
133
131
|
{!!subtitle && (
|
|
134
|
-
<Typography.
|
|
132
|
+
<Typography.Caption intent="subdued">
|
|
135
133
|
{subtitle}
|
|
136
|
-
</Typography.
|
|
134
|
+
</Typography.Caption>
|
|
137
135
|
)}
|
|
138
136
|
</StyledTitleContainer>
|
|
139
137
|
{suffix && (
|
|
@@ -57,8 +57,8 @@ describe('ListItem', () => {
|
|
|
57
57
|
justifyContent: 'space-between',
|
|
58
58
|
}}
|
|
59
59
|
>
|
|
60
|
-
<Typography.
|
|
61
|
-
<Typography.
|
|
60
|
+
<Typography.Body>Gross pay</Typography.Body>
|
|
61
|
+
<Typography.Body>$1052.03</Typography.Body>
|
|
62
62
|
</View>
|
|
63
63
|
<View
|
|
64
64
|
style={{
|
|
@@ -67,8 +67,8 @@ describe('ListItem', () => {
|
|
|
67
67
|
justifyContent: 'space-between',
|
|
68
68
|
}}
|
|
69
69
|
>
|
|
70
|
-
<Typography.
|
|
71
|
-
<Typography.
|
|
70
|
+
<Typography.Body>Gross pay</Typography.Body>
|
|
71
|
+
<Typography.Body>$1052.03</Typography.Body>
|
|
72
72
|
</View>
|
|
73
73
|
</ListItem>
|
|
74
74
|
);
|
|
@@ -18,7 +18,9 @@ describe('StyledListItemContainer', () => {
|
|
|
18
18
|
themeSelected={themeSelected}
|
|
19
19
|
themeDisabled={themeDisabled}
|
|
20
20
|
>
|
|
21
|
-
<Typography.
|
|
21
|
+
<Typography.Body variant="small">
|
|
22
|
+
StyledListItemContainer
|
|
23
|
+
</Typography.Body>
|
|
22
24
|
</StyledListItemContainer>
|
|
23
25
|
);
|
|
24
26
|
expect(toJSON()).toMatchSnapshot();
|
|
@@ -21,7 +21,9 @@ describe('ListItemContainer', () => {
|
|
|
21
21
|
themeSelected={themeSelected}
|
|
22
22
|
themeVariant={themeVariant}
|
|
23
23
|
>
|
|
24
|
-
<Typography.
|
|
24
|
+
<Typography.Body variant="small">
|
|
25
|
+
StyledListItemContainer
|
|
26
|
+
</Typography.Body>
|
|
25
27
|
</StyledListItemContainer>
|
|
26
28
|
);
|
|
27
29
|
expect(toJSON()).toMatchSnapshot();
|