@hero-design/rn 7.25.1 → 7.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +9 -9
- package/assets/fonts/BeVietnamPro-Bold.ttf +0 -0
- package/assets/fonts/{be-vietnam-pro-light.ttf → BeVietnamPro-Light.ttf} +0 -0
- package/assets/fonts/{be-vietnam-pro-regular.ttf → BeVietnamPro-Regular.ttf} +0 -0
- package/assets/fonts/{be-vietnam-pro-semibold.ttf → BeVietnamPro-SemiBold.ttf} +0 -0
- package/assets/fonts/RebondGrotesque-Light.otf +0 -0
- package/assets/fonts/RebondGrotesque-Regular.otf +0 -0
- package/assets/fonts/RebondGrotesque-SemiBold.otf +0 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +9150 -12295
- package/jest.config.js +6 -2
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +9150 -12294
- package/package.json +4 -4
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -0
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +11 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Avatar/{index.tsx → Avatar.tsx} +33 -18
- package/src/components/Avatar/AvatarStack/StyledAvatarStack.tsx +29 -0
- package/src/components/Avatar/AvatarStack/__tests__/StyledAvatarStack.spec.tsx +33 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +80 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +552 -0
- package/src/components/Avatar/AvatarStack/__tests__/index.spec.tsx +59 -0
- package/src/components/Avatar/AvatarStack/index.tsx +61 -0
- package/src/components/Avatar/AvatarStack/utils.ts +22 -0
- package/src/components/Avatar/StyledAvatar.tsx +6 -25
- package/src/components/Avatar/__tests__/StyledAvatar.spec.tsx +3 -19
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -24
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +118 -20
- package/src/components/Avatar/__tests__/index.spec.tsx +25 -8
- package/src/components/Avatar/index.ts +6 -0
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -0
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +11 -0
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +3 -0
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +11 -0
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +54 -31
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +5 -1
- package/src/components/Progress/ProgressBar.tsx +19 -2
- package/src/components/Progress/ProgressCircle.tsx +30 -9
- package/src/components/Progress/StyledProgressBar.tsx +14 -7
- package/src/components/Progress/StyledProgressCircle.tsx +35 -24
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +337 -30
- package/src/components/Progress/__tests__/index.spec.js +15 -0
- package/src/components/Progress/constants.ts +16 -0
- package/src/components/Progress/types.ts +7 -1
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -0
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -0
- package/src/components/RichTextEditor/RichTextEditor.tsx +1 -1
- package/src/components/RichTextEditor/__mocks__/heroEditorApp.ts +2 -0
- package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +36 -25
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +8 -4
- package/src/components/RichTextEditor/heroEditorApp.ts +3 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +22 -0
- package/src/components/Select/MultiSelect/index.tsx +35 -13
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +46 -0
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -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 +1 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2 -0
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +22 -0
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +31 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +1 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +3 -0
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +13 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +6 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -0
- package/src/components/Typography/Text/StyledText.tsx +6 -2
- package/src/components/Typography/Text/__tests__/StyledText.spec.tsx +22 -0
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +63 -0
- package/src/components/Typography/Text/index.tsx +8 -0
- package/src/index.ts +2 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +84 -21
- package/src/theme/components/avatar.ts +29 -5
- package/src/theme/components/badge.ts +1 -1
- package/src/theme/components/button.ts +2 -2
- package/src/theme/components/empty.ts +2 -2
- package/src/theme/components/fab.ts +3 -3
- package/src/theme/components/pinInput.ts +2 -2
- package/src/theme/components/progress.ts +37 -9
- package/src/theme/components/tag.ts +1 -1
- package/src/theme/components/typography.ts +1 -7
- package/src/theme/global/colors/global.ts +12 -3
- package/src/theme/global/colors/types.ts +5 -0
- package/src/theme/global/scale.ts +6 -2
- package/src/theme/global/typography.ts +23 -5
- package/types/components/Avatar/Avatar.d.ts +33 -0
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +17 -0
- package/types/components/Avatar/AvatarStack/index.d.ts +23 -0
- package/types/components/Avatar/AvatarStack/utils.d.ts +4 -0
- package/types/components/Avatar/StyledAvatar.d.ts +2 -12
- package/types/components/Avatar/index.d.ts +6 -25
- 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/Progress/ProgressBar.d.ts +1 -1
- package/types/components/Progress/ProgressCircle.d.ts +4 -2
- package/types/components/Progress/StyledProgressBar.d.ts +2 -0
- package/types/components/Progress/StyledProgressCircle.d.ts +2 -0
- package/types/components/Progress/constants.d.ts +15 -0
- package/types/components/Progress/index.d.ts +1 -1
- package/types/components/Progress/types.d.ts +1 -1
- package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +2 -0
- package/types/components/RichTextEditor/heroEditorApp.d.ts +2 -0
- package/types/components/Select/MultiSelect/index.d.ts +4 -1
- package/types/components/Typography/Text/StyledText.d.ts +1 -0
- package/types/components/Typography/Text/index.d.ts +7 -1
- package/types/index.d.ts +2 -2
- package/types/theme/components/avatar.d.ts +4 -2
- package/types/theme/components/progress.d.ts +30 -9
- package/types/theme/components/typography.d.ts +1 -5
- package/types/theme/global/colors/types.d.ts +5 -0
- package/types/theme/global/index.d.ts +5 -0
- package/types/theme/global/scale.d.ts +4 -1
- package/types/theme/global/typography.d.ts +9 -2
|
@@ -69,6 +69,7 @@ exports[`rendering renders correctly 1`] = `
|
|
|
69
69
|
themeFontSize="medium"
|
|
70
70
|
themeFontWeight="semi-bold"
|
|
71
71
|
themeIntent="body"
|
|
72
|
+
themeTypeface="neutral"
|
|
72
73
|
>
|
|
73
74
|
20
|
|
74
75
|
</Text>
|
|
@@ -178,6 +179,7 @@ exports[`rendering renders correctly when icon buttons are disabled 1`] = `
|
|
|
178
179
|
themeFontSize="medium"
|
|
179
180
|
themeFontWeight="semi-bold"
|
|
180
181
|
themeIntent="body"
|
|
182
|
+
themeTypeface="neutral"
|
|
181
183
|
>
|
|
182
184
|
20
|
|
183
185
|
</Text>
|
|
@@ -103,6 +103,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
103
103
|
themeFontSize="small"
|
|
104
104
|
themeFontWeight="regular"
|
|
105
105
|
themeIntent="body"
|
|
106
|
+
themeTypeface="neutral"
|
|
106
107
|
themeVariant="filled"
|
|
107
108
|
>
|
|
108
109
|
Start date
|
|
@@ -365,6 +366,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
365
366
|
themeFontSize="large"
|
|
366
367
|
themeFontWeight="semi-bold"
|
|
367
368
|
themeIntent="body"
|
|
369
|
+
themeTypeface="neutral"
|
|
368
370
|
>
|
|
369
371
|
Start date
|
|
370
372
|
</Text>
|
|
@@ -516,6 +518,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
516
518
|
themeFontSize="large"
|
|
517
519
|
themeFontWeight="semi-bold"
|
|
518
520
|
themeIntent="primary"
|
|
521
|
+
themeTypeface="neutral"
|
|
519
522
|
>
|
|
520
523
|
Confirm
|
|
521
524
|
</Text>
|
|
@@ -82,6 +82,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
82
82
|
themeFontSize="medium"
|
|
83
83
|
themeFontWeight="regular"
|
|
84
84
|
themeIntent="body"
|
|
85
|
+
themeTypeface="neutral"
|
|
85
86
|
>
|
|
86
87
|
What would you like to create?
|
|
87
88
|
</Text>
|
|
@@ -161,6 +162,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
161
162
|
themeFontSize="medium"
|
|
162
163
|
themeFontWeight="regular"
|
|
163
164
|
themeIntent="body"
|
|
165
|
+
themeTypeface="neutral"
|
|
164
166
|
>
|
|
165
167
|
Give shout out
|
|
166
168
|
</Text>
|
|
@@ -240,6 +242,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
240
242
|
themeFontSize="medium"
|
|
241
243
|
themeFontWeight="regular"
|
|
242
244
|
themeIntent="body"
|
|
245
|
+
themeTypeface="neutral"
|
|
243
246
|
>
|
|
244
247
|
Goal
|
|
245
248
|
</Text>
|
|
@@ -319,6 +322,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
319
322
|
themeFontSize="medium"
|
|
320
323
|
themeFontWeight="regular"
|
|
321
324
|
themeIntent="body"
|
|
325
|
+
themeTypeface="neutral"
|
|
322
326
|
>
|
|
323
327
|
Leave request
|
|
324
328
|
</Text>
|
|
@@ -398,6 +402,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
398
402
|
themeFontSize="medium"
|
|
399
403
|
themeFontWeight="regular"
|
|
400
404
|
themeIntent="body"
|
|
405
|
+
themeTypeface="neutral"
|
|
401
406
|
>
|
|
402
407
|
Safety incident
|
|
403
408
|
</Text>
|
|
@@ -477,6 +482,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
477
482
|
themeFontSize="medium"
|
|
478
483
|
themeFontWeight="regular"
|
|
479
484
|
themeIntent="body"
|
|
485
|
+
themeTypeface="neutral"
|
|
480
486
|
>
|
|
481
487
|
Timesheets
|
|
482
488
|
</Text>
|
|
@@ -645,6 +651,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
645
651
|
themeFontSize="medium"
|
|
646
652
|
themeFontWeight="regular"
|
|
647
653
|
themeIntent="body"
|
|
654
|
+
themeTypeface="neutral"
|
|
648
655
|
>
|
|
649
656
|
What would you like to create?
|
|
650
657
|
</Text>
|
|
@@ -724,6 +731,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
724
731
|
themeFontSize="medium"
|
|
725
732
|
themeFontWeight="regular"
|
|
726
733
|
themeIntent="body"
|
|
734
|
+
themeTypeface="neutral"
|
|
727
735
|
>
|
|
728
736
|
Give shout out
|
|
729
737
|
</Text>
|
|
@@ -803,6 +811,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
803
811
|
themeFontSize="medium"
|
|
804
812
|
themeFontWeight="regular"
|
|
805
813
|
themeIntent="body"
|
|
814
|
+
themeTypeface="neutral"
|
|
806
815
|
>
|
|
807
816
|
Goal
|
|
808
817
|
</Text>
|
|
@@ -882,6 +891,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
882
891
|
themeFontSize="medium"
|
|
883
892
|
themeFontWeight="regular"
|
|
884
893
|
themeIntent="body"
|
|
894
|
+
themeTypeface="neutral"
|
|
885
895
|
>
|
|
886
896
|
Leave request
|
|
887
897
|
</Text>
|
|
@@ -961,6 +971,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
961
971
|
themeFontSize="medium"
|
|
962
972
|
themeFontWeight="regular"
|
|
963
973
|
themeIntent="body"
|
|
974
|
+
themeTypeface="neutral"
|
|
964
975
|
>
|
|
965
976
|
Safety incident
|
|
966
977
|
</Text>
|
|
@@ -1040,6 +1051,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
1040
1051
|
themeFontSize="medium"
|
|
1041
1052
|
themeFontWeight="regular"
|
|
1042
1053
|
themeIntent="body"
|
|
1054
|
+
themeTypeface="neutral"
|
|
1043
1055
|
>
|
|
1044
1056
|
Timesheets
|
|
1045
1057
|
</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,"bookmark":59011,"box-check":59012,"box":59013,"buildings":59014,"cake":59015,"calendar-clock":59016,"calendar":59017,"candy-box-menu":59018,"carat-down-small":59019,"carat-down":59020,"carat-left-small":59021,"carat-left":59022,"carat-right-small":59023,"carat-right":59024,"carat-up-small":59025,"carat-up":59026,"check-radio":
|
|
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,"bookmark":59011,"box-check":59012,"box":59013,"buildings":59014,"cake":59015,"calendar-clock":59016,"calendar":59017,"candy-box-menu":59018,"carat-down-small":59019,"carat-down":59020,"carat-left-small":59021,"carat-left":59022,"carat-right-small":59023,"carat-right":59024,"carat-up-small":59025,"carat-up":59026,"caret-down-small":59027,"caret-down":59028,"caret-left-small":59029,"caret-left":59030,"caret-right-small":59031,"caret-right":59032,"caret-up-small":59033,"caret-up":59034,"check-radio":59035,"circle-add":59036,"circle-cancel":59037,"circle-check":59038,"circle-down":59039,"circle-info":59040,"circle-left":59041,"circle-ok":59042,"circle-pencil":59043,"circle-question":59044,"circle-remove":59045,"circle-right":59046,"circle-up":59047,"circle-warning":59048,"clock-3":59049,"clock":59050,"cloud-download":59051,"cloud-upload":59052,"cog":59053,"coin":59054,"contacts":59055,"credit-card":59056,"diamond":59057,"direction-arrows":59058,"directory":59059,"document":59060,"dollar-coin-shine":59061,"double-buildings":59062,"edit-template":59063,"envelope":59064,"expense":59065,"eye-circle":59066,"eye-invisible":59067,"eye":59068,"face-meh":59069,"face-sad":59070,"face-smiley":59071,"feed":59072,"feedbacks":59073,"file-certified":59074,"file-clone":59075,"file-copy":59076,"file-csv":59077,"file-dispose":59078,"file-doc":59079,"file-excel":59080,"file-export":59081,"file-lock":59082,"file-pdf":59083,"file-powerpoint":59084,"file-search":59085,"file-secured":59086,"file-sheets":59087,"file-slide":59088,"file-verified":59089,"file-word":59090,"file":59091,"filter":59092,"folder-user":59093,"folder":59094,"format-bold":59095,"format-heading1":59096,"format-heading2":59097,"format-italic":59098,"format-list-bulleted":59099,"format-list-numbered":59100,"format-underlined":59101,"funnel-filter":59102,"global-dollar":59103,"globe":59104,"graduation-cap":59105,"graph":59106,"happy-sun":59107,"health-bag":59108,"heart":59109,"home":59110,"image":59111,"import":59112,"incident-siren":59113,"instapay":59114,"list":59115,"loading-2":59116,"loading":59117,"location":59118,"lock":59119,"looks-one":59120,"looks-two":59121,"media-content":59122,"menu":59123,"moneybag":59124,"moon":59125,"multiple-stars":59126,"multiple-users":59127,"node":59128,"open-folder":59129,"paperclip":59130,"payment-summary":59131,"pencil":59132,"phone":59133,"piggy-bank":59134,"plane":59135,"play-circle":59136,"print":59137,"raising-hands":59138,"reply-arrow":59139,"reply":59140,"reschedule":59141,"rostering":59142,"save":59143,"schedule-send":59144,"schedule":59145,"search-person":59146,"send":59147,"speaker-active":59148,"speaker":59149,"star-award":59150,"star-badge":59151,"star-medal":59152,"star":59153,"steps-circle":59154,"stopwatch":59155,"suitcase":59156,"survey":59157,"swag":59158,"switch":59159,"tag":59160,"target":59161,"teams":59162,"timesheet":59163,"touch-id":59164,"trash-bin":59165,"unlock":59166,"user":59167,"video-1":59168,"video-2":59169,"wallet":59170,"warning":59171,"activate-outlined":59172,"add-credit-card-outlined":59173,"add-person-outlined":59174,"add-section-outlined":59175,"add-time-outlined":59176,"add":59177,"adjustment-outlined":59178,"alignment-2-outlined":59179,"alignment-outlined":59180,"all-caps":59181,"arrow-down":59182,"arrow-downwards":59183,"arrow-left":59184,"arrow-leftwards":59185,"arrow-right":59186,"arrow-rightwards":59187,"arrow-up":59188,"arrow-upwards":59189,"at-sign":59190,"bell-active-outlined":59191,"bell-outlined":59192,"bell-slash-outlined":59193,"billing-outlined":59194,"body-outlined":59195,"bold":59196,"bookmark-added-outlined":59197,"bookmark-outlined":59198,"box-check-outlined":59199,"box-outlined":59200,"bullet-points":59201,"cake-outlined":59202,"calendar-dates-outlined":59203,"calendar-star-outlined":59204,"camera-outlined":59205,"cancel":59206,"chat-bubble-outlined":59207,"chat-unread-outlined":59208,"checkmark":59209,"circle-add-outlined":59210,"circle-cancel-outlined":59211,"circle-down-outlined":59212,"circle-info-outlined":59213,"circle-left-outlined":59214,"circle-ok-outlined":59215,"circle-question-outlined":59216,"circle-remove-outlined":59217,"circle-right-outlined":59218,"circle-up-outlined":59219,"circle-warning-outlined":59220,"clock-2-outlined":59221,"clock-outlined":59222,"cog-outlined":59223,"coin-outlined":59224,"comment-outlined":59225,"contacts-outlined":59226,"credit-card-outlined":59227,"cup-outlined":59228,"direction-arrows-outlined":59229,"directory-outlined":59230,"document-outlined":59231,"dollar-card-outlined":59232,"dollar-coin-shine-outlined":59233,"dollar-sign":59234,"double-buildings-outlined":59235,"double-left-arrows":59236,"double-right-arrows":59237,"download-outlined":59238,"edit-template-outlined":59239,"email-outlined":59240,"enter-arrow":59241,"envelope-outlined":59242,"expense-outlined":59243,"explore-outlined":59244,"external-link":59245,"eye-invisible-outlined":59246,"eye-outlined":59247,"face-id":59248,"face-meh-outlined":59249,"face-open-smiley-outlined":59250,"face-sad-outlined":59251,"face-smiley-outlined":59252,"feed-outlined":59253,"file-certified-outlined":59254,"file-clone-outlined":59255,"file-copy-outlined":59256,"file-dispose-outlined":59257,"file-dollar-outlined":59258,"file-download-outlined":59259,"file-export-outlined":59260,"file-lock-outlined":59261,"file-outlined":59262,"file-search-outlined":59263,"file-secured-outlined":59264,"file-verified-outlined":59265,"filter-outlined":59266,"folder-outlined":59267,"folder-user-outlined":59268,"funnel-filter-outline":59269,"graph-outlined":59270,"hand-holding-user-outlined":59271,"happy-sun-outlined":59272,"health-bag-outlined":59273,"heart-outlined":59274,"home-active-outlined":59275,"home-outlined":59276,"id-card-outlined":59277,"image-outlined":59278,"import-outlined":59279,"instapay-outlined":59280,"italic":59281,"link-1":59282,"link-2":59283,"list-outlined":59284,"live-help-outlined":59285,"location-outlined":59286,"lock-outlined":59287,"locked-file-outlined":59288,"log-out":59289,"media-content-outlined":59290,"menu-close":59291,"menu-expand":59292,"menu-fold-outlined":59293,"menu-unfold-outlined":59294,"moneybag-outlined":59295,"moon-outlined":59296,"more-horizontal":59297,"more-vertical":59298,"multiple-folders-outlined":59299,"multiple-users-outlined":59300,"near-me-outlined":59301,"node-outlined":59302,"number-points":59303,"number":59304,"payment-summary-outlined":59305,"payslip-outlined":59306,"pencil-outlined":59307,"percentage":59308,"phone-outlined":59309,"piggy-bank-outlined":59310,"plane-outlined":59311,"play-circle-outlined":59312,"print-outlined":59313,"qr-code-outlined":59314,"re-assign":59315,"redeem":59316,"refresh":59317,"remove":59318,"reply-outlined":59319,"restart":59320,"return-arrow":59321,"rostering-outlined":59322,"save-outlined":59323,"schedule-outlined":59324,"search-outlined":59325,"search-secured-outlined":59326,"send-outlined":59327,"share-1":59328,"share-2":59329,"single-down-arrow":59330,"single-left-arrow":59331,"single-right-arrow":59332,"single-up-arrow":59333,"speaker-active-outlined":59334,"speaker-outlined":59335,"star-outlined":59336,"stopwatch-outlined":59337,"strikethrough":59338,"suitcase-clock-outlined":59339,"suitcase-outlined":59340,"survey-outlined":59341,"switch-outlined":59342,"sync":59343,"target-outlined":59344,"timesheet-outlined":59345,"transfer":59346,"trash-bin-outlined":59347,"umbrela-outlined":59348,"unavailable":59349,"underline":59350,"unlock-outlined":59351,"upload-outlined":59352,"user-circle-outlined":59353,"user-gear-outlined":59354,"user-outlined":59355,"user-rectangle-outlined":59356,"video-1-outlined":59357,"video-2-outlined":59358,"wallet-outlined":59359}
|
|
@@ -27,6 +27,14 @@ const IconList = [
|
|
|
27
27
|
'carat-right',
|
|
28
28
|
'carat-up-small',
|
|
29
29
|
'carat-up',
|
|
30
|
+
'caret-down-small',
|
|
31
|
+
'caret-down',
|
|
32
|
+
'caret-left-small',
|
|
33
|
+
'caret-left',
|
|
34
|
+
'caret-right-small',
|
|
35
|
+
'caret-right',
|
|
36
|
+
'caret-up-small',
|
|
37
|
+
'caret-up',
|
|
30
38
|
'check-radio',
|
|
31
39
|
'circle-add',
|
|
32
40
|
'circle-cancel',
|
|
@@ -263,6 +271,7 @@ const IconList = [
|
|
|
263
271
|
'folder-user-outlined',
|
|
264
272
|
'funnel-filter-outline',
|
|
265
273
|
'graph-outlined',
|
|
274
|
+
'hand-holding-user-outlined',
|
|
266
275
|
'happy-sun-outlined',
|
|
267
276
|
'health-bag-outlined',
|
|
268
277
|
'heart-outlined',
|
|
@@ -330,6 +339,7 @@ const IconList = [
|
|
|
330
339
|
'star-outlined',
|
|
331
340
|
'stopwatch-outlined',
|
|
332
341
|
'strikethrough',
|
|
342
|
+
'suitcase-clock-outlined',
|
|
333
343
|
'suitcase-outlined',
|
|
334
344
|
'survey-outlined',
|
|
335
345
|
'switch-outlined',
|
|
@@ -344,6 +354,7 @@ const IconList = [
|
|
|
344
354
|
'unlock-outlined',
|
|
345
355
|
'upload-outlined',
|
|
346
356
|
'user-circle-outlined',
|
|
357
|
+
'user-gear-outlined',
|
|
347
358
|
'user-outlined',
|
|
348
359
|
'user-rectangle-outlined',
|
|
349
360
|
'video-1-outlined',
|
|
@@ -76,6 +76,7 @@ exports[`BasicListItem when suffix and prefix are icon name renders correctly 1`
|
|
|
76
76
|
themeFontSize="large"
|
|
77
77
|
themeFontWeight="regular"
|
|
78
78
|
themeIntent="body"
|
|
79
|
+
themeTypeface="neutral"
|
|
79
80
|
>
|
|
80
81
|
List item
|
|
81
82
|
</Text>
|
|
@@ -95,6 +96,7 @@ exports[`BasicListItem when suffix and prefix are icon name renders correctly 1`
|
|
|
95
96
|
themeFontSize="small"
|
|
96
97
|
themeFontWeight="regular"
|
|
97
98
|
themeIntent="subdued"
|
|
99
|
+
themeTypeface="neutral"
|
|
98
100
|
>
|
|
99
101
|
subtitle
|
|
100
102
|
</Text>
|
|
@@ -204,6 +206,7 @@ exports[`BasicListItem when suffix and prefix are react element renders correctl
|
|
|
204
206
|
themeFontSize="large"
|
|
205
207
|
themeFontWeight="regular"
|
|
206
208
|
themeIntent="body"
|
|
209
|
+
themeTypeface="neutral"
|
|
207
210
|
>
|
|
208
211
|
List item
|
|
209
212
|
</Text>
|
|
@@ -223,6 +226,7 @@ exports[`BasicListItem when suffix and prefix are react element renders correctl
|
|
|
223
226
|
themeFontSize="small"
|
|
224
227
|
themeFontWeight="regular"
|
|
225
228
|
themeIntent="subdued"
|
|
229
|
+
themeTypeface="neutral"
|
|
226
230
|
>
|
|
227
231
|
subtitle
|
|
228
232
|
</Text>
|
|
@@ -53,21 +53,27 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
53
53
|
}
|
|
54
54
|
>
|
|
55
55
|
<View
|
|
56
|
+
accessible={true}
|
|
57
|
+
collapsable={false}
|
|
58
|
+
focusable={false}
|
|
59
|
+
nativeID="animatedComponent"
|
|
60
|
+
onClick={[Function]}
|
|
61
|
+
onResponderGrant={[Function]}
|
|
62
|
+
onResponderMove={[Function]}
|
|
63
|
+
onResponderRelease={[Function]}
|
|
64
|
+
onResponderTerminate={[Function]}
|
|
65
|
+
onResponderTerminationRequest={[Function]}
|
|
66
|
+
onStartShouldSetResponder={[Function]}
|
|
56
67
|
style={
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
},
|
|
66
|
-
undefined,
|
|
67
|
-
]
|
|
68
|
+
Object {
|
|
69
|
+
"backgroundColor": "#401960",
|
|
70
|
+
"borderRadius": 999,
|
|
71
|
+
"height": 32,
|
|
72
|
+
"opacity": 1,
|
|
73
|
+
"overflow": "hidden",
|
|
74
|
+
"width": 32,
|
|
75
|
+
}
|
|
68
76
|
}
|
|
69
|
-
themeIntent="primary"
|
|
70
|
-
themeSize="small"
|
|
71
77
|
>
|
|
72
78
|
<View
|
|
73
79
|
style={
|
|
@@ -87,14 +93,14 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
87
93
|
style={
|
|
88
94
|
Array [
|
|
89
95
|
Object {
|
|
90
|
-
"color": "#
|
|
96
|
+
"color": "#ffffff",
|
|
97
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
91
98
|
"fontSize": 16,
|
|
92
99
|
"overflow": "hidden",
|
|
93
100
|
},
|
|
94
101
|
undefined,
|
|
95
102
|
]
|
|
96
103
|
}
|
|
97
|
-
themeIntent="primary"
|
|
98
104
|
themeSize="small"
|
|
99
105
|
>
|
|
100
106
|
ML
|
|
@@ -128,6 +134,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
128
134
|
themeFontSize="large"
|
|
129
135
|
themeFontWeight="semi-bold"
|
|
130
136
|
themeIntent="body"
|
|
137
|
+
themeTypeface="neutral"
|
|
131
138
|
>
|
|
132
139
|
Menu List
|
|
133
140
|
</Text>
|
|
@@ -147,6 +154,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
147
154
|
themeFontSize="small"
|
|
148
155
|
themeFontWeight="regular"
|
|
149
156
|
themeIntent="subdued"
|
|
157
|
+
themeTypeface="neutral"
|
|
150
158
|
>
|
|
151
159
|
Got a common question?
|
|
152
160
|
</Text>
|
|
@@ -214,6 +222,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
214
222
|
themeFontSize="medium"
|
|
215
223
|
themeFontWeight="regular"
|
|
216
224
|
themeIntent="body"
|
|
225
|
+
themeTypeface="neutral"
|
|
217
226
|
>
|
|
218
227
|
Gross pay
|
|
219
228
|
</Text>
|
|
@@ -233,6 +242,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
233
242
|
themeFontSize="medium"
|
|
234
243
|
themeFontWeight="regular"
|
|
235
244
|
themeIntent="body"
|
|
245
|
+
themeTypeface="neutral"
|
|
236
246
|
>
|
|
237
247
|
$1052.03
|
|
238
248
|
</Text>
|
|
@@ -262,6 +272,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
262
272
|
themeFontSize="medium"
|
|
263
273
|
themeFontWeight="regular"
|
|
264
274
|
themeIntent="body"
|
|
275
|
+
themeTypeface="neutral"
|
|
265
276
|
>
|
|
266
277
|
Gross pay
|
|
267
278
|
</Text>
|
|
@@ -281,6 +292,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
281
292
|
themeFontSize="medium"
|
|
282
293
|
themeFontWeight="regular"
|
|
283
294
|
themeIntent="body"
|
|
295
|
+
themeTypeface="neutral"
|
|
284
296
|
>
|
|
285
297
|
$1052.03
|
|
286
298
|
</Text>
|
|
@@ -359,6 +371,7 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
|
|
|
359
371
|
themeFontSize="large"
|
|
360
372
|
themeFontWeight="semi-bold"
|
|
361
373
|
themeIntent="body"
|
|
374
|
+
themeTypeface="neutral"
|
|
362
375
|
>
|
|
363
376
|
List item
|
|
364
377
|
</Text>
|
|
@@ -378,6 +391,7 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
|
|
|
378
391
|
themeFontSize="small"
|
|
379
392
|
themeFontWeight="regular"
|
|
380
393
|
themeIntent="subdued"
|
|
394
|
+
themeTypeface="neutral"
|
|
381
395
|
>
|
|
382
396
|
subtitle
|
|
383
397
|
</Text>
|
|
@@ -438,7 +452,7 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
|
438
452
|
style={
|
|
439
453
|
Array [
|
|
440
454
|
Object {
|
|
441
|
-
"backgroundColor": "#
|
|
455
|
+
"backgroundColor": "#abacaf",
|
|
442
456
|
"borderRadius": 999,
|
|
443
457
|
"marginRight": 8,
|
|
444
458
|
"width": 8,
|
|
@@ -495,6 +509,7 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
|
495
509
|
themeFontSize="large"
|
|
496
510
|
themeFontWeight="semi-bold"
|
|
497
511
|
themeIntent="body"
|
|
512
|
+
themeTypeface="neutral"
|
|
498
513
|
>
|
|
499
514
|
03:00 PM - 9:00 PM
|
|
500
515
|
</Text>
|
|
@@ -583,21 +598,27 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
583
598
|
}
|
|
584
599
|
>
|
|
585
600
|
<View
|
|
601
|
+
accessible={true}
|
|
602
|
+
collapsable={false}
|
|
603
|
+
focusable={false}
|
|
604
|
+
nativeID="animatedComponent"
|
|
605
|
+
onClick={[Function]}
|
|
606
|
+
onResponderGrant={[Function]}
|
|
607
|
+
onResponderMove={[Function]}
|
|
608
|
+
onResponderRelease={[Function]}
|
|
609
|
+
onResponderTerminate={[Function]}
|
|
610
|
+
onResponderTerminationRequest={[Function]}
|
|
611
|
+
onStartShouldSetResponder={[Function]}
|
|
586
612
|
style={
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
},
|
|
596
|
-
undefined,
|
|
597
|
-
]
|
|
613
|
+
Object {
|
|
614
|
+
"backgroundColor": "#401960",
|
|
615
|
+
"borderRadius": 999,
|
|
616
|
+
"height": 32,
|
|
617
|
+
"opacity": 1,
|
|
618
|
+
"overflow": "hidden",
|
|
619
|
+
"width": 32,
|
|
620
|
+
}
|
|
598
621
|
}
|
|
599
|
-
themeIntent="primary"
|
|
600
|
-
themeSize="small"
|
|
601
622
|
>
|
|
602
623
|
<View
|
|
603
624
|
style={
|
|
@@ -617,14 +638,14 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
617
638
|
style={
|
|
618
639
|
Array [
|
|
619
640
|
Object {
|
|
620
|
-
"color": "#
|
|
641
|
+
"color": "#ffffff",
|
|
642
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
621
643
|
"fontSize": 16,
|
|
622
644
|
"overflow": "hidden",
|
|
623
645
|
},
|
|
624
646
|
undefined,
|
|
625
647
|
]
|
|
626
648
|
}
|
|
627
|
-
themeIntent="primary"
|
|
628
649
|
themeSize="small"
|
|
629
650
|
>
|
|
630
651
|
ML
|
|
@@ -658,6 +679,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
658
679
|
themeFontSize="large"
|
|
659
680
|
themeFontWeight="semi-bold"
|
|
660
681
|
themeIntent="body"
|
|
682
|
+
themeTypeface="neutral"
|
|
661
683
|
>
|
|
662
684
|
List item
|
|
663
685
|
</Text>
|
|
@@ -677,6 +699,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
677
699
|
themeFontSize="small"
|
|
678
700
|
themeFontWeight="regular"
|
|
679
701
|
themeIntent="subdued"
|
|
702
|
+
themeTypeface="neutral"
|
|
680
703
|
>
|
|
681
704
|
subtitle
|
|
682
705
|
</Text>
|
|
@@ -40,6 +40,7 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
|
|
|
40
40
|
themeFontSize="medium"
|
|
41
41
|
themeFontWeight="regular"
|
|
42
42
|
themeIntent="body"
|
|
43
|
+
themeTypeface="neutral"
|
|
43
44
|
>
|
|
44
45
|
StyledListItemContainer
|
|
45
46
|
</Text>
|
|
@@ -86,6 +87,7 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
|
|
|
86
87
|
themeFontSize="medium"
|
|
87
88
|
themeFontWeight="regular"
|
|
88
89
|
themeIntent="body"
|
|
90
|
+
themeTypeface="neutral"
|
|
89
91
|
>
|
|
90
92
|
StyledListItemContainer
|
|
91
93
|
</Text>
|
|
@@ -132,6 +134,7 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
|
|
|
132
134
|
themeFontSize="medium"
|
|
133
135
|
themeFontWeight="regular"
|
|
134
136
|
themeIntent="body"
|
|
137
|
+
themeTypeface="neutral"
|
|
135
138
|
>
|
|
136
139
|
StyledListItemContainer
|
|
137
140
|
</Text>
|
|
@@ -178,6 +181,7 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
|
|
|
178
181
|
themeFontSize="medium"
|
|
179
182
|
themeFontWeight="regular"
|
|
180
183
|
themeIntent="body"
|
|
184
|
+
themeTypeface="neutral"
|
|
181
185
|
>
|
|
182
186
|
StyledListItemContainer
|
|
183
187
|
</Text>
|
|
@@ -5,7 +5,7 @@ exports[`LeadingStatus renders correctly themeLeadingStausIntent archived 1`] =
|
|
|
5
5
|
style={
|
|
6
6
|
Array [
|
|
7
7
|
Object {
|
|
8
|
-
"backgroundColor": "#
|
|
8
|
+
"backgroundColor": "#abacaf",
|
|
9
9
|
"borderRadius": 999,
|
|
10
10
|
"marginRight": 8,
|
|
11
11
|
"width": 8,
|
|
@@ -133,6 +133,7 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant ca
|
|
|
133
133
|
themeFontSize="medium"
|
|
134
134
|
themeFontWeight="regular"
|
|
135
135
|
themeIntent="body"
|
|
136
|
+
themeTypeface="neutral"
|
|
136
137
|
>
|
|
137
138
|
StyledListItemContainer
|
|
138
139
|
</Text>
|
|
@@ -177,6 +178,7 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant fu
|
|
|
177
178
|
themeFontSize="medium"
|
|
178
179
|
themeFontWeight="regular"
|
|
179
180
|
themeIntent="body"
|
|
181
|
+
themeTypeface="neutral"
|
|
180
182
|
>
|
|
181
183
|
StyledListItemContainer
|
|
182
184
|
</Text>
|
|
@@ -231,6 +233,7 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
|
|
|
231
233
|
themeFontSize="medium"
|
|
232
234
|
themeFontWeight="regular"
|
|
233
235
|
themeIntent="body"
|
|
236
|
+
themeTypeface="neutral"
|
|
234
237
|
>
|
|
235
238
|
StyledListItemContainer
|
|
236
239
|
</Text>
|
|
@@ -275,6 +278,7 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant ful
|
|
|
275
278
|
themeFontSize="medium"
|
|
276
279
|
themeFontWeight="regular"
|
|
277
280
|
themeIntent="body"
|
|
281
|
+
themeTypeface="neutral"
|
|
278
282
|
>
|
|
279
283
|
StyledListItemContainer
|
|
280
284
|
</Text>
|
|
@@ -12,7 +12,19 @@ export interface ProgressBarProps extends ViewProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Set intent for your progress.
|
|
14
14
|
*/
|
|
15
|
-
intent?:
|
|
15
|
+
intent?:
|
|
16
|
+
| 'primary'
|
|
17
|
+
| 'success'
|
|
18
|
+
| 'warning'
|
|
19
|
+
| 'danger'
|
|
20
|
+
| 'info'
|
|
21
|
+
| 'archived'
|
|
22
|
+
| 'primary-inverted'
|
|
23
|
+
| 'success-inverted'
|
|
24
|
+
| 'warning-inverted'
|
|
25
|
+
| 'danger-inverted'
|
|
26
|
+
| 'info-inverted'
|
|
27
|
+
| 'archived-inverted';
|
|
16
28
|
/**
|
|
17
29
|
* Additional style.
|
|
18
30
|
*/
|
|
@@ -57,7 +69,12 @@ const ProgressBar = ({
|
|
|
57
69
|
});
|
|
58
70
|
|
|
59
71
|
return (
|
|
60
|
-
<StyledWrapper
|
|
72
|
+
<StyledWrapper
|
|
73
|
+
{...nativeProps}
|
|
74
|
+
testID={testID}
|
|
75
|
+
style={style}
|
|
76
|
+
themeIntent={intent}
|
|
77
|
+
>
|
|
61
78
|
<StyledInner
|
|
62
79
|
themeIntent={intent}
|
|
63
80
|
onLayout={({ nativeEvent }) => setWidth(nativeEvent.layout.width)}
|