@hero-design/rn 8.113.0 → 8.114.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +674 -439
- package/package.json +4 -4
- package/src/components/Alert/index.tsx +1 -1
- package/src/components/Badge/Count.tsx +2 -2
- package/src/components/Badge/Status.tsx +2 -2
- package/src/components/Badge/index.tsx +2 -1
- package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +32 -36
- package/src/components/BottomNavigation/__tests__/index.spec.tsx +17 -8
- package/src/components/BottomNavigation/index.tsx +4 -5
- package/src/components/BottomSheet/ScrollView.tsx +2 -1
- package/src/components/BottomSheet/index.tsx +1 -1
- package/src/components/Button/Button.tsx +2 -2
- package/src/components/Calendar/__tests__/CalendarRange.spec.tsx +1 -1
- package/src/components/Calendar/__tests__/index.spec.tsx +4 -9
- package/src/components/Card/DataCard/index.tsx +2 -2
- package/src/components/Card/index.tsx +2 -2
- package/src/components/Carousel/index.tsx +2 -2
- package/src/components/DatePicker/Dialog/__tests__/IOSDialog.spec.tsx +0 -6
- package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +2 -10
- package/src/components/DatePicker/__tests__/DatePickerIOS.spec.tsx +27 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +176 -728
- package/src/components/Drawer/DragableDrawer/index.tsx +2 -2
- package/src/components/Drawer/index.tsx +2 -2
- package/src/components/FAB/__tests__/index.spec.tsx +33 -8
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +3 -0
- package/src/components/Image/index.tsx +2 -1
- package/src/components/List/BasicListItem.tsx +2 -1
- package/src/components/List/ListItem.tsx +1 -1
- package/src/components/MapPin/Focussed.tsx +2 -1
- package/src/components/MapPin/index.tsx +2 -1
- package/src/components/Modal/__tests__/index.spec.tsx +46 -0
- package/src/components/Modal/index.tsx +121 -149
- package/src/components/Progress/ProgressBar.tsx +2 -1
- package/src/components/Progress/ProgressCircle.tsx +2 -1
- package/src/components/Progress/SegmentedBar/Legend.tsx +39 -0
- package/src/components/Progress/SegmentedBar/StyledLegend.tsx +32 -0
- package/src/components/Progress/SegmentedBar/StyledSegmentedBar.tsx +30 -0
- package/src/components/Progress/SegmentedBar/__tests__/index.spec.tsx +115 -0
- package/src/components/Progress/SegmentedBar/__tests__/utils.spec.tsx +24 -0
- package/src/components/Progress/SegmentedBar/constants.ts +8 -0
- package/src/components/Progress/SegmentedBar/hooks/validation.ts +71 -0
- package/src/components/Progress/SegmentedBar/index.tsx +153 -0
- package/src/components/Progress/SegmentedBar/types.ts +62 -0
- package/src/components/Progress/SegmentedBar/utils.ts +16 -0
- package/src/components/Progress/index.tsx +2 -0
- package/src/components/RichTextEditor/MentionList.tsx +2 -1
- package/src/components/Tabs/ScrollableTabs.tsx +30 -9
- package/src/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.tsx +5 -7
- package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +74 -38
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +105 -129
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +30 -42
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +0 -683
- package/src/components/Tabs/__tests__/index.spec.tsx +37 -25
- package/src/components/Tabs/index.tsx +4 -2
- package/src/components/Tag/index.tsx +1 -1
- package/src/components/TimePicker/__tests__/TimePickerIOS.spec.tsx +0 -6
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +237 -282
- package/src/components/Toast/Toast.tsx +2 -1
- package/src/components/Toolbar/ToolbarItem.tsx +2 -1
- package/src/components/Typography/Label/index.tsx +1 -1
- package/src/testHelpers/renderWithTheme.tsx +2 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +9 -1
- package/src/theme/components/bottomNavigation.ts +1 -1
- package/src/theme/components/progress.ts +8 -0
- package/src/types.ts +2 -0
- package/src/utils/helpers.ts +6 -0
- package/.turbo/turbo-build.log +0 -17
- package/es/index.js +0 -48768
- package/locales/en_AU.js +0 -10
- package/locales/en_AU.mjs +0 -8
- package/locales/en_CA.js +0 -10
- package/locales/en_CA.mjs +0 -8
- package/locales/index.js +0 -11
- package/locales/index.mjs +0 -9
- package/locales/types.js +0 -2
- package/locales/types.mjs +0 -1
- package/types/components/Accordion/AccordionItem.d.ts +0 -15
- package/types/components/Accordion/StyledAccordion.d.ts +0 -30
- package/types/components/Accordion/index.d.ts +0 -43
- package/types/components/Alert/StyledAlert.d.ts +0 -51
- package/types/components/Alert/index.d.ts +0 -66
- package/types/components/AnimatedScroller/AnimatedFAB.d.ts +0 -12
- package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +0 -16
- package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +0 -12
- package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +0 -12
- package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +0 -12
- package/types/components/AnimatedScroller/index.d.ts +0 -4
- package/types/components/AppCue/StyledAppCue.d.ts +0 -20
- package/types/components/AppCue/__tests__/StyledAppCue.d.ts +0 -1
- package/types/components/AppCue/index.d.ts +0 -21
- package/types/components/AppCue/utils.d.ts +0 -66
- package/types/components/Attachment/StyledAttachment.d.ts +0 -26
- package/types/components/Attachment/index.d.ts +0 -38
- package/types/components/Avatar/Avatar.d.ts +0 -34
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -30
- package/types/components/Avatar/AvatarStack/index.d.ts +0 -36
- package/types/components/Avatar/AvatarStack/utils.d.ts +0 -4
- package/types/components/Avatar/StyledAvatar.d.ts +0 -32
- package/types/components/Avatar/index.d.ts +0 -6
- package/types/components/Badge/Count.d.ts +0 -27
- package/types/components/Badge/Status.d.ts +0 -23
- package/types/components/Badge/StyledBadge.d.ts +0 -43
- package/types/components/Badge/constants.d.ts +0 -1
- package/types/components/Badge/index.d.ts +0 -7
- package/types/components/Badge/types.d.ts +0 -53
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -51
- package/types/components/BottomNavigation/index.d.ts +0 -45
- package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -5
- package/types/components/BottomSheet/Footer.d.ts +0 -7
- package/types/components/BottomSheet/Header.d.ts +0 -10
- package/types/components/BottomSheet/ScrollView.d.ts +0 -5
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -59
- package/types/components/BottomSheet/index.d.ts +0 -74
- package/types/components/Box/StyledBox.d.ts +0 -10
- package/types/components/Box/config.d.ts +0 -174
- package/types/components/Box/index.d.ts +0 -6
- package/types/components/Box/types.d.ts +0 -31
- package/types/components/Button/Button.d.ts +0 -64
- package/types/components/Button/IconButton.d.ts +0 -39
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -19
- package/types/components/Button/LoadingIndicator/index.d.ts +0 -27
- package/types/components/Button/StyledButton.d.ts +0 -61
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -15
- package/types/components/Button/UtilityButton/index.d.ts +0 -24
- package/types/components/Button/index.d.ts +0 -10
- package/types/components/Calendar/CalendarRange.d.ts +0 -11
- package/types/components/Calendar/CalendarRangeConnector.d.ts +0 -11
- package/types/components/Calendar/CalendarRowItem.d.ts +0 -13
- package/types/components/Calendar/StyledCalendar.d.ts +0 -61
- package/types/components/Calendar/constants.d.ts +0 -4
- package/types/components/Calendar/helpers.d.ts +0 -35
- package/types/components/Calendar/index.d.ts +0 -9
- package/types/components/Calendar/shared/hooks/useCalendarLayout.d.ts +0 -8
- package/types/components/Calendar/types.d.ts +0 -58
- package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -22
- package/types/components/Card/DataCard/index.d.ts +0 -22
- package/types/components/Card/StyledCard.d.ts +0 -11
- package/types/components/Card/index.d.ts +0 -32
- package/types/components/Carousel/CardCarousel.d.ts +0 -46
- package/types/components/Carousel/CarouselItem.d.ts +0 -7
- package/types/components/Carousel/StyledCardCarousel.d.ts +0 -27
- package/types/components/Carousel/StyledCarousel.d.ts +0 -55
- package/types/components/Carousel/contants.d.ts +0 -2
- package/types/components/Carousel/index.d.ts +0 -46
- package/types/components/Carousel/types.d.ts +0 -14
- package/types/components/Chart/ChartSelect/StyledChartSelect.d.ts +0 -8
- package/types/components/Chart/ChartSelect/index.d.ts +0 -63
- package/types/components/Chart/ColumnChart/ColumnChartContent.d.ts +0 -29
- package/types/components/Chart/ColumnChart/Segment.d.ts +0 -14
- package/types/components/Chart/ColumnChart/StackedSegment.d.ts +0 -32
- package/types/components/Chart/ColumnChart/StyledColumnChart.d.ts +0 -8
- package/types/components/Chart/ColumnChart/index.d.ts +0 -86
- package/types/components/Chart/Line/Line.d.ts +0 -23
- package/types/components/Chart/Line/index.d.ts +0 -41
- package/types/components/Chart/StyledChart.d.ts +0 -9
- package/types/components/Chart/index.d.ts +0 -6
- package/types/components/Chart/shared/AxisLabel.d.ts +0 -7
- package/types/components/Chart/shared/ChartFrame.d.ts +0 -30
- package/types/components/Chart/shared/ChartHeader.d.ts +0 -8
- package/types/components/Chart/shared/EmptyState.d.ts +0 -8
- package/types/components/Chart/shared/XAxis.d.ts +0 -8
- package/types/components/Chart/shared/XAxisGrid.d.ts +0 -8
- package/types/components/Chart/shared/YAxis.d.ts +0 -10
- package/types/components/Chart/shared/YAxisGrid.d.ts +0 -10
- package/types/components/Chart/shared/constants.d.ts +0 -4
- package/types/components/Chart/shared/hooks/useColorScale.d.ts +0 -7
- package/types/components/Chart/shared/hooks/useCustomColor.d.ts +0 -22
- package/types/components/Chart/shared/hooks/useGenerateTicks.d.ts +0 -6
- package/types/components/Chart/shared/hooks/useScaleBandX.d.ts +0 -7
- package/types/components/Chart/shared/hooks/useScaleLinearY.d.ts +0 -8
- package/types/components/Chart/shared/niceNumbers.d.ts +0 -12
- package/types/components/Chart/shared/utils.d.ts +0 -11
- package/types/components/Chart/types.d.ts +0 -91
- package/types/components/Checkbox/DefaultCheckBox.d.ts +0 -40
- package/types/components/Checkbox/InlineCheckBox.d.ts +0 -38
- package/types/components/Checkbox/StyledDefaultCheckBox.d.ts +0 -33
- package/types/components/Checkbox/StyledInlineCheckBox.d.ts +0 -45
- package/types/components/Checkbox/index.d.ts +0 -6
- package/types/components/Checkbox/utils.d.ts +0 -7
- package/types/components/Chip/StyledChip.d.ts +0 -13
- package/types/components/Chip/index.d.ts +0 -43
- package/types/components/Collapse/StyledCollapse.d.ts +0 -23
- package/types/components/Collapse/index.d.ts +0 -20
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -8
- package/types/components/ContentNavigator/index.d.ts +0 -43
- package/types/components/DatePicker/DatePicker.d.ts +0 -4
- package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -7
- package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -4
- package/types/components/DatePicker/DatePickerIOS.d.ts +0 -7
- package/types/components/DatePicker/Dialog/AndroidDialog.d.ts +0 -5
- package/types/components/DatePicker/Dialog/IOSDialog.d.ts +0 -4
- package/types/components/DatePicker/Dialog/type.d.ts +0 -50
- package/types/components/DatePicker/Dialog.d.ts +0 -4
- package/types/components/DatePicker/StyledDatePicker.d.ts +0 -16
- package/types/components/DatePicker/hooks/useCalculateDate.d.ts +0 -4
- package/types/components/DatePicker/hooks/useFormatDate.d.ts +0 -10
- package/types/components/DatePicker/hooks/utils.d.ts +0 -6
- package/types/components/DatePicker/index.d.ts +0 -6
- package/types/components/DatePicker/index.internal.d.ts +0 -7
- package/types/components/DatePicker/types.d.ts +0 -109
- package/types/components/Divider/StyledDivider.d.ts +0 -12
- package/types/components/Divider/index.d.ts +0 -22
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -8
- package/types/components/Drawer/DragableDrawer/index.d.ts +0 -33
- package/types/components/Drawer/StyledDrawer.d.ts +0 -49
- package/types/components/Drawer/index.d.ts +0 -27
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -18
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -31
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -15
- package/types/components/FAB/ActionGroup/index.d.ts +0 -55
- package/types/components/FAB/AnimatedFABIcon.d.ts +0 -7
- package/types/components/FAB/FAB.d.ts +0 -40
- package/types/components/FAB/Pair/StyledFAB.d.ts +0 -12
- package/types/components/FAB/Pair/index.d.ts +0 -16
- package/types/components/FAB/StyledFAB.d.ts +0 -22
- package/types/components/FAB/index.d.ts +0 -5
- package/types/components/FilterTrigger/StyledFilterTrigger.d.ts +0 -20
- package/types/components/FilterTrigger/index.d.ts +0 -39
- package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +0 -19
- package/types/components/FloatingIsland/index.d.ts +0 -24
- package/types/components/HeroDesignProvider/index.d.ts +0 -8
- package/types/components/Icon/AnimatedIcon.d.ts +0 -6
- package/types/components/Icon/HeroIcon/index.d.ts +0 -12
- package/types/components/Icon/IconList.d.ts +0 -2
- package/types/components/Icon/index.d.ts +0 -37
- package/types/components/Icon/utils.d.ts +0 -3
- package/types/components/Illustration/BaseSvg.d.ts +0 -8
- package/types/components/Illustration/assets/Add.d.ts +0 -4
- package/types/components/Illustration/assets/AllInOneSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Boom.d.ts +0 -4
- package/types/components/Illustration/assets/Build.d.ts +0 -4
- package/types/components/Illustration/assets/CelebrationSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Clock.d.ts +0 -4
- package/types/components/Illustration/assets/Confetti.d.ts +0 -4
- package/types/components/Illustration/assets/Connections.d.ts +0 -4
- package/types/components/Illustration/assets/DiySketch.d.ts +0 -4
- package/types/components/Illustration/assets/Error.d.ts +0 -4
- package/types/components/Illustration/assets/ErrorSketch.d.ts +0 -4
- package/types/components/Illustration/assets/FreedomSketch.d.ts +0 -4
- package/types/components/Illustration/assets/GrowingSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Info.d.ts +0 -4
- package/types/components/Illustration/assets/InstantSketch.d.ts +0 -4
- package/types/components/Illustration/assets/LiftSketch.d.ts +0 -4
- package/types/components/Illustration/assets/List.d.ts +0 -4
- package/types/components/Illustration/assets/Location.d.ts +0 -4
- package/types/components/Illustration/assets/Lock.d.ts +0 -4
- package/types/components/Illustration/assets/Merge.d.ts +0 -4
- package/types/components/Illustration/assets/NoResult.d.ts +0 -4
- package/types/components/Illustration/assets/Notifications.d.ts +0 -4
- package/types/components/Illustration/assets/OnDemandSketch.d.ts +0 -4
- package/types/components/Illustration/assets/ProcessingSketch.d.ts +0 -4
- package/types/components/Illustration/assets/RemoteJobsSketch.d.ts +0 -4
- package/types/components/Illustration/assets/RewardSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Search.d.ts +0 -4
- package/types/components/Illustration/assets/SearchSketch.d.ts +0 -4
- package/types/components/Illustration/assets/SecuritySketch.d.ts +0 -4
- package/types/components/Illustration/assets/SentSketch.d.ts +0 -4
- package/types/components/Illustration/assets/SpeedSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Star.d.ts +0 -4
- package/types/components/Illustration/assets/Success.d.ts +0 -4
- package/types/components/Illustration/assets/SuperchargeSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Unlock.d.ts +0 -4
- package/types/components/Illustration/assets/UnlockSketch.d.ts +0 -4
- package/types/components/Illustration/assets/User.d.ts +0 -4
- package/types/components/Illustration/assets/WorkflowSketch.d.ts +0 -4
- package/types/components/Illustration/constants.d.ts +0 -1
- package/types/components/Illustration/hooks/useMonoColor.d.ts +0 -5
- package/types/components/Illustration/illustrations.d.ts +0 -42
- package/types/components/Illustration/index.d.ts +0 -29
- package/types/components/Illustration/types.d.ts +0 -7
- package/types/components/Image/index.d.ts +0 -20
- package/types/components/List/BasicListItem.d.ts +0 -43
- package/types/components/List/ListItem.d.ts +0 -52
- package/types/components/List/StyledBasicListItem.d.ts +0 -27
- package/types/components/List/StyledListItem.d.ts +0 -49
- package/types/components/List/index.d.ts +0 -8
- package/types/components/LocaleProvider/__tests__/utils.specs.d.ts +0 -1
- package/types/components/LocaleProvider/context.d.ts +0 -3
- package/types/components/LocaleProvider/hooks.d.ts +0 -5
- package/types/components/LocaleProvider/index.d.ts +0 -7
- package/types/components/LocaleProvider/utils.d.ts +0 -3
- package/types/components/MapPin/Focussed.d.ts +0 -13
- package/types/components/MapPin/StyledMapPin.d.ts +0 -41
- package/types/components/MapPin/index.d.ts +0 -5
- package/types/components/MapPin/types.d.ts +0 -38
- package/types/components/Modal/index.d.ts +0 -38
- package/types/components/PageControl/StyledPageControl.d.ts +0 -12
- package/types/components/PageControl/index.d.ts +0 -22
- package/types/components/PinInput/PinCell.d.ts +0 -9
- package/types/components/PinInput/StyledPinInput.d.ts +0 -67
- package/types/components/PinInput/index.d.ts +0 -73
- package/types/components/Portal/PortalHost.d.ts +0 -5
- package/types/components/Portal/PortalProvider.d.ts +0 -7
- package/types/components/Portal/constants.d.ts +0 -8
- package/types/components/Portal/contexts.d.ts +0 -9
- package/types/components/Portal/index.d.ts +0 -19
- package/types/components/Portal/reducer.d.ts +0 -5
- package/types/components/Portal/types.d.ts +0 -23
- package/types/components/Portal/usePortal.d.ts +0 -8
- package/types/components/Portal/usePortalState.d.ts +0 -1
- package/types/components/Progress/ProgressBar.d.ts +0 -18
- package/types/components/Progress/ProgressCircle.d.ts +0 -20
- package/types/components/Progress/ProgressStep.d.ts +0 -20
- package/types/components/Progress/StyledProgressBar.d.ts +0 -18
- package/types/components/Progress/StyledProgressCircle.d.ts +0 -15
- package/types/components/Progress/StyledStep.d.ts +0 -23
- package/types/components/Progress/__tests__/index.spec.d.ts +0 -1
- package/types/components/Progress/constants.d.ts +0 -15
- package/types/components/Progress/index.d.ts +0 -6
- package/types/components/Progress/types.d.ts +0 -1
- package/types/components/Radio/Radio.d.ts +0 -43
- package/types/components/Radio/RadioGroup.d.ts +0 -40
- package/types/components/Radio/StyledRadio.d.ts +0 -30
- package/types/components/Radio/index.d.ts +0 -4
- package/types/components/Radio/types.d.ts +0 -10
- package/types/components/Rate/StyledRate.d.ts +0 -10
- package/types/components/Rate/index.d.ts +0 -29
- package/types/components/RefreshControl/index.d.ts +0 -5
- package/types/components/RichTextEditor/EditorEvent.d.ts +0 -3
- package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -18
- package/types/components/RichTextEditor/MentionList.d.ts +0 -17
- package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -27
- package/types/components/RichTextEditor/RichTextEditorInput.d.ts +0 -69
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -7
- package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -19
- package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -2
- package/types/components/RichTextEditor/constants.d.ts +0 -17
- package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -2
- package/types/components/RichTextEditor/hooks/useRichTextEditorEvents.d.ts +0 -36
- package/types/components/RichTextEditor/index.d.ts +0 -71
- package/types/components/RichTextEditor/types.d.ts +0 -2
- package/types/components/RichTextEditor/utils/events.d.ts +0 -7
- package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -7
- package/types/components/Search/SearchOneLine.d.ts +0 -73
- package/types/components/Search/SearchSuffixIcon.d.ts +0 -24
- package/types/components/Search/SearchTwoLine.d.ts +0 -40
- package/types/components/Search/StyledSearch.d.ts +0 -49
- package/types/components/Search/index.d.ts +0 -10
- package/types/components/Search/utils.d.ts +0 -8
- package/types/components/SectionHeading/StyledHeading.d.ts +0 -23
- package/types/components/SectionHeading/index.d.ts +0 -45
- package/types/components/SegmentedControl/SegmentedItem.d.ts +0 -18
- package/types/components/SegmentedControl/StyledSegmentedControl.d.ts +0 -26
- package/types/components/SegmentedControl/index.d.ts +0 -31
- package/types/components/SegmentedControl/types.d.ts +0 -43
- package/types/components/Select/BaseOptionList.d.ts +0 -8
- package/types/components/Select/Footer.d.ts +0 -6
- package/types/components/Select/MultiSelect/Option.d.ts +0 -10
- package/types/components/Select/MultiSelect/OptionList.d.ts +0 -9
- package/types/components/Select/MultiSelect/index.d.ts +0 -35
- package/types/components/Select/MultiSelect/utils.d.ts +0 -2
- package/types/components/Select/SingleSelect/Option.d.ts +0 -10
- package/types/components/Select/SingleSelect/OptionList.d.ts +0 -11
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -2
- package/types/components/Select/SingleSelect/index.d.ts +0 -28
- package/types/components/Select/StyledSelect.d.ts +0 -28
- package/types/components/Select/helpers.d.ts +0 -10
- package/types/components/Select/index.d.ts +0 -10
- package/types/components/Select/index.internal.d.ts +0 -21
- package/types/components/Select/types.d.ts +0 -88
- package/types/components/Skeleton/StyledSkeleton.d.ts +0 -16
- package/types/components/Skeleton/index.d.ts +0 -14
- package/types/components/Slider/RangeSlider.d.ts +0 -60
- package/types/components/Slider/SingleSlider.d.ts +0 -53
- package/types/components/Slider/StyledRangeSlider.d.ts +0 -10
- package/types/components/Slider/constants.d.ts +0 -3
- package/types/components/Slider/index.d.ts +0 -8
- package/types/components/Spinner/AnimatedSpinner.d.ts +0 -6
- package/types/components/Spinner/StyledSpinner.d.ts +0 -34
- package/types/components/Spinner/index.d.ts +0 -18
- package/types/components/StatusScreens/Empty/StyledEmpty.d.ts +0 -27
- package/types/components/StatusScreens/Empty/index.d.ts +0 -38
- package/types/components/StatusScreens/Error/StyledError.d.ts +0 -59
- package/types/components/StatusScreens/Error/index.d.ts +0 -62
- package/types/components/StatusScreens/Success/StyledSuccess.d.ts +0 -59
- package/types/components/StatusScreens/Success/index.d.ts +0 -56
- package/types/components/Swipeable/StyledSwipeable.d.ts +0 -7
- package/types/components/Swipeable/SwipeableAction.d.ts +0 -28
- package/types/components/Swipeable/index.d.ts +0 -50
- package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -14
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -19
- package/types/components/Switch/SelectorSwitch/index.d.ts +0 -37
- package/types/components/Switch/StyledSwitch.d.ts +0 -15
- package/types/components/Switch/index.d.ts +0 -28
- package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -9
- package/types/components/Tabs/SceneView.d.ts +0 -10
- package/types/components/Tabs/ScrollableTabs.d.ts +0 -7
- package/types/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.d.ts +0 -40
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +0 -9
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +0 -10
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -55
- package/types/components/Tabs/StyledTabs.d.ts +0 -45
- package/types/components/Tabs/TabWithBadge.d.ts +0 -17
- package/types/components/Tabs/index.d.ts +0 -62
- package/types/components/Tabs/useHandlePageScroll.d.ts +0 -8
- package/types/components/Tabs/useIsFocused.d.ts +0 -6
- package/types/components/Tabs/utils.d.ts +0 -2
- package/types/components/Tag/StyledTag.d.ts +0 -17
- package/types/components/Tag/index.d.ts +0 -28
- package/types/components/TextInput/StyledTextInput.d.ts +0 -89
- package/types/components/TextInput/index.d.ts +0 -136
- package/types/components/TimePicker/StyledTimePicker.d.ts +0 -16
- package/types/components/TimePicker/TimePicker.d.ts +0 -4
- package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -4
- package/types/components/TimePicker/TimePickerIOS.d.ts +0 -4
- package/types/components/TimePicker/index.d.ts +0 -4
- package/types/components/TimePicker/index.internal.d.ts +0 -5
- package/types/components/TimePicker/types.d.ts +0 -76
- package/types/components/Toast/StyledToast.d.ts +0 -57
- package/types/components/Toast/Toast.d.ts +0 -3
- package/types/components/Toast/ToastContainer.d.ts +0 -5
- package/types/components/Toast/ToastContext.d.ts +0 -13
- package/types/components/Toast/ToastProvider.d.ts +0 -11
- package/types/components/Toast/index.d.ts +0 -8
- package/types/components/Toast/types.d.ts +0 -74
- package/types/components/Toolbar/StyledToolbar.d.ts +0 -69
- package/types/components/Toolbar/ToolbarGroup.d.ts +0 -25
- package/types/components/Toolbar/ToolbarItem.d.ts +0 -31
- package/types/components/Toolbar/ToolbarMessage.d.ts +0 -58
- package/types/components/Toolbar/index.d.ts +0 -14
- package/types/components/Typography/Body/StyledBody.d.ts +0 -15
- package/types/components/Typography/Body/__tests__/StyledBody.d.ts +0 -1
- package/types/components/Typography/Body/index.d.ts +0 -38
- package/types/components/Typography/Caption/StyledCaption.d.ts +0 -13
- package/types/components/Typography/Caption/index.d.ts +0 -32
- package/types/components/Typography/Label/StyledLabel.d.ts +0 -12
- package/types/components/Typography/Label/__tests__/StyledLabel.d.ts +0 -1
- package/types/components/Typography/Label/index.d.ts +0 -28
- package/types/components/Typography/Text/StyledText.d.ts +0 -13
- package/types/components/Typography/Text/index.d.ts +0 -40
- package/types/components/Typography/Title/StyledTitle.d.ts +0 -15
- package/types/components/Typography/Title/__tests__/StyledTitle.d.ts +0 -1
- package/types/components/Typography/Title/index.d.ts +0 -38
- package/types/components/Typography/index.d.ts +0 -17
- package/types/components/Typography/types.d.ts +0 -6
- package/types/index.d.ts +0 -64
- package/types/index.internal.d.ts +0 -19
- package/types/locales/en_AU.d.ts +0 -3
- package/types/locales/en_CA.d.ts +0 -3
- package/types/locales/index.d.ts +0 -5
- package/types/locales/types.d.ts +0 -10
- package/types/testHelpers/renderWithTheme.d.ts +0 -3
- package/types/testHelpers/utils.d.ts +0 -1
- package/types/theme/ThemeProvider.d.ts +0 -12
- package/types/theme/ThemeSwitcher.d.ts +0 -9
- package/types/theme/components/accordion.d.ts +0 -13
- package/types/theme/components/alert.d.ts +0 -48
- package/types/theme/components/appCue.d.ts +0 -16
- package/types/theme/components/attachment.d.ts +0 -21
- package/types/theme/components/avatar.d.ts +0 -50
- package/types/theme/components/badge.d.ts +0 -69
- package/types/theme/components/bottomNavigation.d.ts +0 -30
- package/types/theme/components/bottomSheet.d.ts +0 -29
- package/types/theme/components/button.d.ts +0 -127
- package/types/theme/components/calendar.d.ts +0 -33
- package/types/theme/components/card.d.ts +0 -26
- package/types/theme/components/cardCarousel.d.ts +0 -19
- package/types/theme/components/carousel.d.ts +0 -36
- package/types/theme/components/chart.d.ts +0 -22
- package/types/theme/components/checkbox.d.ts +0 -40
- package/types/theme/components/chip.d.ts +0 -43
- package/types/theme/components/columnChart.d.ts +0 -10
- package/types/theme/components/contentNavigator.d.ts +0 -7
- package/types/theme/components/datePicker.d.ts +0 -7
- package/types/theme/components/divider.d.ts +0 -17
- package/types/theme/components/drawer.d.ts +0 -30
- package/types/theme/components/empty.d.ts +0 -37
- package/types/theme/components/error.d.ts +0 -52
- package/types/theme/components/fab.d.ts +0 -73
- package/types/theme/components/filterTrigger.d.ts +0 -72
- package/types/theme/components/floatingIsland.d.ts +0 -32
- package/types/theme/components/icon.d.ts +0 -25
- package/types/theme/components/image.d.ts +0 -8
- package/types/theme/components/list.d.ts +0 -46
- package/types/theme/components/mapPin.d.ts +0 -43
- package/types/theme/components/pageControl.d.ts +0 -18
- package/types/theme/components/pinInput.d.ts +0 -57
- package/types/theme/components/progress.d.ts +0 -51
- package/types/theme/components/radio.d.ts +0 -24
- package/types/theme/components/rate.d.ts +0 -11
- package/types/theme/components/refreshControl.d.ts +0 -7
- package/types/theme/components/richTextEditor.d.ts +0 -28
- package/types/theme/components/search.d.ts +0 -58
- package/types/theme/components/sectionHeading.d.ts +0 -14
- package/types/theme/components/segmentedControl.d.ts +0 -55
- package/types/theme/components/select.d.ts +0 -18
- package/types/theme/components/skeleton.d.ts +0 -17
- package/types/theme/components/slider.d.ts +0 -33
- package/types/theme/components/spinner.d.ts +0 -27
- package/types/theme/components/success.d.ts +0 -45
- package/types/theme/components/swipeable.d.ts +0 -16
- package/types/theme/components/switch.d.ts +0 -38
- package/types/theme/components/tabs.d.ts +0 -31
- package/types/theme/components/tag.d.ts +0 -53
- package/types/theme/components/textInput.d.ts +0 -95
- package/types/theme/components/timePicker.d.ts +0 -7
- package/types/theme/components/toast.d.ts +0 -52
- package/types/theme/components/toolbar.d.ts +0 -48
- package/types/theme/components/typography.d.ts +0 -168
- package/types/theme/getTheme.d.ts +0 -119
- package/types/theme/global/borders.d.ts +0 -18
- package/types/theme/global/colors/__tests__/ehWork.spec.d.ts +0 -1
- package/types/theme/global/colors/eBens.d.ts +0 -6
- package/types/theme/global/colors/ehJobs.d.ts +0 -3
- package/types/theme/global/colors/ehWork.d.ts +0 -3
- package/types/theme/global/colors/ehWorkDark.d.ts +0 -3
- package/types/theme/global/colors/global.d.ts +0 -3
- package/types/theme/global/colors/globalDark.d.ts +0 -3
- package/types/theme/global/colors/jobs.d.ts +0 -6
- package/types/theme/global/colors/swag.d.ts +0 -6
- package/types/theme/global/colors/swagDark.d.ts +0 -6
- package/types/theme/global/colors/swagLight.d.ts +0 -6
- package/types/theme/global/colors/swagLightGlobal.d.ts +0 -3
- package/types/theme/global/colors/swagLightJobs.d.ts +0 -6
- package/types/theme/global/colors/swagSystemPalette.d.ts +0 -3
- package/types/theme/global/colors/types.d.ts +0 -58
- package/types/theme/global/colors/wallet.d.ts +0 -6
- package/types/theme/global/colors/work.d.ts +0 -6
- package/types/theme/global/index.d.ts +0 -78
- package/types/theme/global/scale.d.ts +0 -14
- package/types/theme/global/shadows/ehJobs.d.ts +0 -3
- package/types/theme/global/shadows/ehWork.d.ts +0 -3
- package/types/theme/global/shadows/ehWorkDark.d.ts +0 -3
- package/types/theme/global/shadows/index.d.ts +0 -3
- package/types/theme/global/shadows/types.d.ts +0 -16
- package/types/theme/global/sizes.d.ts +0 -14
- package/types/theme/global/space.d.ts +0 -16
- package/types/theme/global/typography.d.ts +0 -34
- package/types/theme/index.d.ts +0 -9
- package/types/types.d.ts +0 -42
- package/types/types.internal.d.ts +0 -18
- package/types/utils/functions.d.ts +0 -1
- package/types/utils/helpers.d.ts +0 -13
- package/types/utils/hooks.d.ts +0 -3
- package/types/utils/scale.d.ts +0 -1
package/lib/index.js
CHANGED
|
@@ -5721,7 +5721,7 @@ var getBottomNavigationTheme = function getBottomNavigationTheme(theme) {
|
|
|
5721
5721
|
wrapper: theme.shadows.medium
|
|
5722
5722
|
};
|
|
5723
5723
|
var space = {
|
|
5724
|
-
titleMarginTop: theme.space.
|
|
5724
|
+
titleMarginTop: theme.space.xxsmall
|
|
5725
5725
|
};
|
|
5726
5726
|
return {
|
|
5727
5727
|
colors: colors,
|
|
@@ -6547,19 +6547,27 @@ var getProgressTheme = function getProgressTheme(theme) {
|
|
|
6547
6547
|
complete: theme.colors.primary,
|
|
6548
6548
|
incomplete: theme.colors.archivedSurface,
|
|
6549
6549
|
current: theme.colors.decorativePrimarySurface
|
|
6550
|
-
}
|
|
6550
|
+
},
|
|
6551
|
+
segmentedRemainderBackground: theme.colors.archivedSurface
|
|
6551
6552
|
};
|
|
6552
6553
|
var sizes = {
|
|
6553
6554
|
circleDiameter: theme.sizes['6xlarge'],
|
|
6554
6555
|
circleCompletenessHeight: theme.sizes.small,
|
|
6555
6556
|
barHeight: theme.sizes.small,
|
|
6556
|
-
stepHeight: theme.sizes.small
|
|
6557
|
+
stepHeight: theme.sizes.small,
|
|
6558
|
+
legendWidth: theme.space.small,
|
|
6559
|
+
legendHeight: theme.space.small
|
|
6557
6560
|
};
|
|
6558
6561
|
var radii = {
|
|
6559
|
-
"default": theme.radii.rounded
|
|
6562
|
+
"default": theme.radii.rounded,
|
|
6563
|
+
legendCircle: theme.radii.rounded
|
|
6560
6564
|
};
|
|
6561
6565
|
var space = {
|
|
6562
|
-
stepGap: theme.space.xsmall
|
|
6566
|
+
stepGap: theme.space.xsmall,
|
|
6567
|
+
segmentedHeaderMarginBottom: theme.space.small,
|
|
6568
|
+
legendGap: theme.space.small,
|
|
6569
|
+
legendInnerGap: theme.space.xsmall,
|
|
6570
|
+
segmentedLegendMarginTop: theme.space.small
|
|
6563
6571
|
};
|
|
6564
6572
|
return {
|
|
6565
6573
|
colors: colors,
|
|
@@ -6873,6 +6881,11 @@ var transformKebabCaseToCamelCase = function transformKebabCaseToCamelCase(strin
|
|
|
6873
6881
|
return /[a-z]/.test(_char4) ? _char4.toUpperCase() : _char4;
|
|
6874
6882
|
});
|
|
6875
6883
|
};
|
|
6884
|
+
function assert(condition, message) {
|
|
6885
|
+
if (!condition) {
|
|
6886
|
+
throw new Error(message);
|
|
6887
|
+
}
|
|
6888
|
+
}
|
|
6876
6889
|
|
|
6877
6890
|
var getSliderTheme = function getSliderTheme(theme) {
|
|
6878
6891
|
var colors = {
|
|
@@ -8263,7 +8276,7 @@ var Typography = {
|
|
|
8263
8276
|
};
|
|
8264
8277
|
|
|
8265
8278
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
8266
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'global-pound', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-pound-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
|
|
8279
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'global-pound', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rocket-launch', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'diamond-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-pound-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rocket-launch-outlined', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
|
|
8267
8280
|
|
|
8268
8281
|
var activate = 59000;
|
|
8269
8282
|
var adjustment = 59003;
|
|
@@ -8319,44 +8332,44 @@ var plane = 59144;
|
|
|
8319
8332
|
var print = 59149;
|
|
8320
8333
|
var reply = 59152;
|
|
8321
8334
|
var reschedule = 59153;
|
|
8322
|
-
var rostering =
|
|
8323
|
-
var save =
|
|
8324
|
-
var schedule$1 =
|
|
8325
|
-
var search =
|
|
8326
|
-
var send =
|
|
8327
|
-
var speaker =
|
|
8328
|
-
var star =
|
|
8329
|
-
var stopwatch =
|
|
8330
|
-
var suitcase =
|
|
8331
|
-
var surfing =
|
|
8332
|
-
var survey =
|
|
8333
|
-
var swag =
|
|
8334
|
-
var tag =
|
|
8335
|
-
var target =
|
|
8336
|
-
var teams =
|
|
8337
|
-
var timesheet =
|
|
8338
|
-
var unlock =
|
|
8339
|
-
var user =
|
|
8340
|
-
var wallet =
|
|
8341
|
-
var warning =
|
|
8342
|
-
var add =
|
|
8343
|
-
var bold =
|
|
8344
|
-
var cancel =
|
|
8345
|
-
var checkmark =
|
|
8346
|
-
var italic =
|
|
8347
|
-
var local_mall_outlined =
|
|
8348
|
-
var number$2 =
|
|
8349
|
-
var percentage =
|
|
8350
|
-
var redeem =
|
|
8351
|
-
var refresh =
|
|
8352
|
-
var remove$1 =
|
|
8353
|
-
var restart =
|
|
8354
|
-
var shopping_basket_outlined =
|
|
8355
|
-
var strikethrough =
|
|
8356
|
-
var sync =
|
|
8357
|
-
var transfer =
|
|
8358
|
-
var unavailable =
|
|
8359
|
-
var underline =
|
|
8335
|
+
var rostering = 59155;
|
|
8336
|
+
var save = 59157;
|
|
8337
|
+
var schedule$1 = 59159;
|
|
8338
|
+
var search = 59161;
|
|
8339
|
+
var send = 59162;
|
|
8340
|
+
var speaker = 59164;
|
|
8341
|
+
var star = 59169;
|
|
8342
|
+
var stopwatch = 59171;
|
|
8343
|
+
var suitcase = 59172;
|
|
8344
|
+
var surfing = 59173;
|
|
8345
|
+
var survey = 59174;
|
|
8346
|
+
var swag = 59179;
|
|
8347
|
+
var tag = 59182;
|
|
8348
|
+
var target = 59183;
|
|
8349
|
+
var teams = 59184;
|
|
8350
|
+
var timesheet = 59187;
|
|
8351
|
+
var unlock = 59190;
|
|
8352
|
+
var user = 59191;
|
|
8353
|
+
var wallet = 59194;
|
|
8354
|
+
var warning = 59195;
|
|
8355
|
+
var add = 59203;
|
|
8356
|
+
var bold = 59233;
|
|
8357
|
+
var cancel = 59250;
|
|
8358
|
+
var checkmark = 59256;
|
|
8359
|
+
var italic = 59354;
|
|
8360
|
+
var local_mall_outlined = 59362;
|
|
8361
|
+
var number$2 = 59385;
|
|
8362
|
+
var percentage = 59391;
|
|
8363
|
+
var redeem = 59405;
|
|
8364
|
+
var refresh = 59406;
|
|
8365
|
+
var remove$1 = 59407;
|
|
8366
|
+
var restart = 59409;
|
|
8367
|
+
var shopping_basket_outlined = 59427;
|
|
8368
|
+
var strikethrough = 59442;
|
|
8369
|
+
var sync = 59448;
|
|
8370
|
+
var transfer = 59458;
|
|
8371
|
+
var unavailable = 59463;
|
|
8372
|
+
var underline = 59464;
|
|
8360
8373
|
var glyphMap = {
|
|
8361
8374
|
activate: activate,
|
|
8362
8375
|
"add-emoji": 59001,
|
|
@@ -8512,326 +8525,329 @@ var glyphMap = {
|
|
|
8512
8525
|
"reply-arrow": 59151,
|
|
8513
8526
|
reply: reply,
|
|
8514
8527
|
reschedule: reschedule,
|
|
8528
|
+
"rocket-launch": 59154,
|
|
8515
8529
|
rostering: rostering,
|
|
8516
|
-
"salary-sacrifice":
|
|
8530
|
+
"salary-sacrifice": 59156,
|
|
8517
8531
|
save: save,
|
|
8518
|
-
"schedule-send":
|
|
8532
|
+
"schedule-send": 59158,
|
|
8519
8533
|
schedule: schedule$1,
|
|
8520
|
-
"search-person":
|
|
8534
|
+
"search-person": 59160,
|
|
8521
8535
|
search: search,
|
|
8522
8536
|
send: send,
|
|
8523
|
-
"speaker-active":
|
|
8537
|
+
"speaker-active": 59163,
|
|
8524
8538
|
speaker: speaker,
|
|
8525
|
-
"star-award":
|
|
8526
|
-
"star-badge":
|
|
8527
|
-
"star-circle":
|
|
8528
|
-
"star-medal":
|
|
8539
|
+
"star-award": 59165,
|
|
8540
|
+
"star-badge": 59166,
|
|
8541
|
+
"star-circle": 59167,
|
|
8542
|
+
"star-medal": 59168,
|
|
8529
8543
|
star: star,
|
|
8530
|
-
"steps-circle":
|
|
8544
|
+
"steps-circle": 59170,
|
|
8531
8545
|
stopwatch: stopwatch,
|
|
8532
8546
|
suitcase: suitcase,
|
|
8533
8547
|
surfing: surfing,
|
|
8534
8548
|
survey: survey,
|
|
8535
|
-
"swag-pillar-benefit":
|
|
8536
|
-
"swag-pillar-career":
|
|
8537
|
-
"swag-pillar-money":
|
|
8538
|
-
"swag-pillar-work":
|
|
8549
|
+
"swag-pillar-benefit": 59175,
|
|
8550
|
+
"swag-pillar-career": 59176,
|
|
8551
|
+
"swag-pillar-money": 59177,
|
|
8552
|
+
"swag-pillar-work": 59178,
|
|
8539
8553
|
swag: swag,
|
|
8540
|
-
"swipe-right":
|
|
8541
|
-
"switch":
|
|
8554
|
+
"swipe-right": 59180,
|
|
8555
|
+
"switch": 59181,
|
|
8542
8556
|
tag: tag,
|
|
8543
8557
|
target: target,
|
|
8544
8558
|
teams: teams,
|
|
8545
|
-
"thumb-down":
|
|
8546
|
-
"thumb-up":
|
|
8559
|
+
"thumb-down": 59185,
|
|
8560
|
+
"thumb-up": 59186,
|
|
8547
8561
|
timesheet: timesheet,
|
|
8548
|
-
"touch-id":
|
|
8549
|
-
"trash-bin":
|
|
8562
|
+
"touch-id": 59188,
|
|
8563
|
+
"trash-bin": 59189,
|
|
8550
8564
|
unlock: unlock,
|
|
8551
8565
|
user: user,
|
|
8552
|
-
"video-1":
|
|
8553
|
-
"video-2":
|
|
8566
|
+
"video-1": 59192,
|
|
8567
|
+
"video-2": 59193,
|
|
8554
8568
|
wallet: wallet,
|
|
8555
8569
|
warning: warning,
|
|
8556
|
-
"academic-hat-outlined":
|
|
8557
|
-
"accommodation-outlined":
|
|
8558
|
-
"activate-outlined":
|
|
8559
|
-
"add-credit-card-outlined":
|
|
8560
|
-
"add-person-outlined":
|
|
8561
|
-
"add-section-outlined":
|
|
8562
|
-
"add-time-outlined":
|
|
8570
|
+
"academic-hat-outlined": 59196,
|
|
8571
|
+
"accommodation-outlined": 59197,
|
|
8572
|
+
"activate-outlined": 59198,
|
|
8573
|
+
"add-credit-card-outlined": 59199,
|
|
8574
|
+
"add-person-outlined": 59200,
|
|
8575
|
+
"add-section-outlined": 59201,
|
|
8576
|
+
"add-time-outlined": 59202,
|
|
8563
8577
|
add: add,
|
|
8564
|
-
"adjustment-outlined":
|
|
8565
|
-
"afternoon-outlined":
|
|
8566
|
-
"ai-outlined":
|
|
8567
|
-
"alignment-2-outlined":
|
|
8568
|
-
"alignment-outlined":
|
|
8569
|
-
"all-caps":
|
|
8570
|
-
"application-outlined":
|
|
8571
|
-
"arrow-down":
|
|
8572
|
-
"arrow-downwards":
|
|
8573
|
-
"arrow-left":
|
|
8574
|
-
"arrow-leftwards":
|
|
8575
|
-
"arrow-right":
|
|
8576
|
-
"arrow-rightwards":
|
|
8577
|
-
"arrow-up":
|
|
8578
|
-
"arrow-upwards":
|
|
8579
|
-
"article-outlined":
|
|
8580
|
-
"at-sign":
|
|
8581
|
-
"auto-graph-outlined":
|
|
8582
|
-
"automotive-outlined":
|
|
8583
|
-
"bakery-outlined":
|
|
8584
|
-
"bar-outlined":
|
|
8585
|
-
"beauty-outlined":
|
|
8586
|
-
"beer-outlined":
|
|
8587
|
-
"bell-active-outlined":
|
|
8588
|
-
"bell-outlined":
|
|
8589
|
-
"bell-slash-outlined":
|
|
8590
|
-
"bill-management-outlined":
|
|
8591
|
-
"billing-outlined":
|
|
8592
|
-
"body-outlined":
|
|
8578
|
+
"adjustment-outlined": 59204,
|
|
8579
|
+
"afternoon-outlined": 59205,
|
|
8580
|
+
"ai-outlined": 59206,
|
|
8581
|
+
"alignment-2-outlined": 59207,
|
|
8582
|
+
"alignment-outlined": 59208,
|
|
8583
|
+
"all-caps": 59209,
|
|
8584
|
+
"application-outlined": 59210,
|
|
8585
|
+
"arrow-down": 59211,
|
|
8586
|
+
"arrow-downwards": 59212,
|
|
8587
|
+
"arrow-left": 59213,
|
|
8588
|
+
"arrow-leftwards": 59214,
|
|
8589
|
+
"arrow-right": 59215,
|
|
8590
|
+
"arrow-rightwards": 59216,
|
|
8591
|
+
"arrow-up": 59217,
|
|
8592
|
+
"arrow-upwards": 59218,
|
|
8593
|
+
"article-outlined": 59219,
|
|
8594
|
+
"at-sign": 59220,
|
|
8595
|
+
"auto-graph-outlined": 59221,
|
|
8596
|
+
"automotive-outlined": 59222,
|
|
8597
|
+
"bakery-outlined": 59223,
|
|
8598
|
+
"bar-outlined": 59224,
|
|
8599
|
+
"beauty-outlined": 59225,
|
|
8600
|
+
"beer-outlined": 59226,
|
|
8601
|
+
"bell-active-outlined": 59227,
|
|
8602
|
+
"bell-outlined": 59228,
|
|
8603
|
+
"bell-slash-outlined": 59229,
|
|
8604
|
+
"bill-management-outlined": 59230,
|
|
8605
|
+
"billing-outlined": 59231,
|
|
8606
|
+
"body-outlined": 59232,
|
|
8593
8607
|
bold: bold,
|
|
8594
|
-
"bolt-outlined":
|
|
8595
|
-
"book-outlined":
|
|
8596
|
-
"bookmark-added-outlined":
|
|
8597
|
-
"bookmark-checked-outlined":
|
|
8598
|
-
"bookmark-outlined":
|
|
8599
|
-
"box-1-outlined":
|
|
8600
|
-
"box-check-outlined":
|
|
8601
|
-
"box-outlined":
|
|
8602
|
-
"bullet-points":
|
|
8603
|
-
"cake-outlined":
|
|
8604
|
-
"calculator-outlined":
|
|
8605
|
-
"calendar-dates-outlined":
|
|
8606
|
-
"calendar-star-outlined":
|
|
8607
|
-
"call-outlined":
|
|
8608
|
-
"call-split-outlined":
|
|
8609
|
-
"camera-outlined":
|
|
8608
|
+
"bolt-outlined": 59234,
|
|
8609
|
+
"book-outlined": 59235,
|
|
8610
|
+
"bookmark-added-outlined": 59236,
|
|
8611
|
+
"bookmark-checked-outlined": 59237,
|
|
8612
|
+
"bookmark-outlined": 59238,
|
|
8613
|
+
"box-1-outlined": 59239,
|
|
8614
|
+
"box-check-outlined": 59240,
|
|
8615
|
+
"box-outlined": 59241,
|
|
8616
|
+
"bullet-points": 59242,
|
|
8617
|
+
"cake-outlined": 59243,
|
|
8618
|
+
"calculator-outlined": 59244,
|
|
8619
|
+
"calendar-dates-outlined": 59245,
|
|
8620
|
+
"calendar-star-outlined": 59246,
|
|
8621
|
+
"call-outlined": 59247,
|
|
8622
|
+
"call-split-outlined": 59248,
|
|
8623
|
+
"camera-outlined": 59249,
|
|
8610
8624
|
cancel: cancel,
|
|
8611
|
-
"car-forward-outlined":
|
|
8612
|
-
"cashback-outlined":
|
|
8613
|
-
"charging-station-outlined":
|
|
8614
|
-
"chat-bubble-outlined":
|
|
8615
|
-
"chat-unread-outlined":
|
|
8625
|
+
"car-forward-outlined": 59251,
|
|
8626
|
+
"cashback-outlined": 59252,
|
|
8627
|
+
"charging-station-outlined": 59253,
|
|
8628
|
+
"chat-bubble-outlined": 59254,
|
|
8629
|
+
"chat-unread-outlined": 59255,
|
|
8616
8630
|
checkmark: checkmark,
|
|
8617
|
-
"circle-add-outlined":
|
|
8618
|
-
"circle-cancel-outlined":
|
|
8619
|
-
"circle-down-outlined":
|
|
8620
|
-
"circle-info-outlined":
|
|
8621
|
-
"circle-left-outlined":
|
|
8622
|
-
"circle-ok-outlined":
|
|
8623
|
-
"circle-question-outlined":
|
|
8624
|
-
"circle-remove-outlined":
|
|
8625
|
-
"circle-right-outlined":
|
|
8626
|
-
"circle-up-outlined":
|
|
8627
|
-
"circle-warning-outlined":
|
|
8628
|
-
"clock-2-outlined":
|
|
8629
|
-
"clock-in-outlined":
|
|
8630
|
-
"clock-out-outlined":
|
|
8631
|
-
"clock-outlined":
|
|
8632
|
-
"cog-outlined":
|
|
8633
|
-
"coin-outlined":
|
|
8634
|
-
"coin-super-outlined":
|
|
8635
|
-
"comment-outlined":
|
|
8636
|
-
"contacts-outlined":
|
|
8637
|
-
"contacts-user-outlined":
|
|
8638
|
-
"credit-card-outlined":
|
|
8639
|
-
"cultural-site-outlined":
|
|
8640
|
-
"cup-outlined":
|
|
8641
|
-
"dentistry-outlined":
|
|
8642
|
-
"
|
|
8643
|
-
"
|
|
8644
|
-
"
|
|
8645
|
-
"
|
|
8646
|
-
"dollar-
|
|
8647
|
-
"dollar-
|
|
8648
|
-
"dollar-
|
|
8649
|
-
"dollar-
|
|
8650
|
-
"
|
|
8651
|
-
"double-
|
|
8652
|
-
"double-
|
|
8653
|
-
"
|
|
8654
|
-
"download-outlined":
|
|
8655
|
-
"
|
|
8656
|
-
"
|
|
8657
|
-
"
|
|
8658
|
-
"
|
|
8659
|
-
"
|
|
8660
|
-
"
|
|
8661
|
-
"
|
|
8662
|
-
"
|
|
8663
|
-
"
|
|
8664
|
-
"expense-outlined":
|
|
8665
|
-
"
|
|
8666
|
-
"
|
|
8667
|
-
"
|
|
8668
|
-
"
|
|
8669
|
-
"eye-outlined":
|
|
8670
|
-
"
|
|
8671
|
-
"face-
|
|
8672
|
-
"face-
|
|
8673
|
-
"face-
|
|
8674
|
-
"face-
|
|
8675
|
-
"
|
|
8676
|
-
"
|
|
8677
|
-
"
|
|
8678
|
-
"file-
|
|
8679
|
-
"file-
|
|
8680
|
-
"file-
|
|
8681
|
-
"file-
|
|
8682
|
-
"file-dollar-outlined":
|
|
8683
|
-
"file-
|
|
8684
|
-
"file-
|
|
8685
|
-
"file-
|
|
8686
|
-
"file-outlined":
|
|
8687
|
-
"file-
|
|
8688
|
-
"file-
|
|
8689
|
-
"file-
|
|
8690
|
-
"file-
|
|
8691
|
-
"file-
|
|
8692
|
-
"
|
|
8693
|
-
"
|
|
8694
|
-
"
|
|
8695
|
-
"folder-
|
|
8696
|
-
"folder-
|
|
8697
|
-
"
|
|
8698
|
-
"
|
|
8699
|
-
"
|
|
8700
|
-
"
|
|
8701
|
-
"
|
|
8702
|
-
"
|
|
8703
|
-
"
|
|
8704
|
-
"
|
|
8705
|
-
"
|
|
8706
|
-
"
|
|
8707
|
-
"
|
|
8708
|
-
"home-outlined":
|
|
8709
|
-
"
|
|
8710
|
-
"
|
|
8711
|
-
"
|
|
8712
|
-
"
|
|
8631
|
+
"circle-add-outlined": 59257,
|
|
8632
|
+
"circle-cancel-outlined": 59258,
|
|
8633
|
+
"circle-down-outlined": 59259,
|
|
8634
|
+
"circle-info-outlined": 59260,
|
|
8635
|
+
"circle-left-outlined": 59261,
|
|
8636
|
+
"circle-ok-outlined": 59262,
|
|
8637
|
+
"circle-question-outlined": 59263,
|
|
8638
|
+
"circle-remove-outlined": 59264,
|
|
8639
|
+
"circle-right-outlined": 59265,
|
|
8640
|
+
"circle-up-outlined": 59266,
|
|
8641
|
+
"circle-warning-outlined": 59267,
|
|
8642
|
+
"clock-2-outlined": 59268,
|
|
8643
|
+
"clock-in-outlined": 59269,
|
|
8644
|
+
"clock-out-outlined": 59270,
|
|
8645
|
+
"clock-outlined": 59271,
|
|
8646
|
+
"cog-outlined": 59272,
|
|
8647
|
+
"coin-outlined": 59273,
|
|
8648
|
+
"coin-super-outlined": 59274,
|
|
8649
|
+
"comment-outlined": 59275,
|
|
8650
|
+
"contacts-outlined": 59276,
|
|
8651
|
+
"contacts-user-outlined": 59277,
|
|
8652
|
+
"credit-card-outlined": 59278,
|
|
8653
|
+
"cultural-site-outlined": 59279,
|
|
8654
|
+
"cup-outlined": 59280,
|
|
8655
|
+
"dentistry-outlined": 59281,
|
|
8656
|
+
"diamond-outlined": 59282,
|
|
8657
|
+
"direction-arrows-outlined": 59283,
|
|
8658
|
+
"directory-outlined": 59284,
|
|
8659
|
+
"document-outlined": 59285,
|
|
8660
|
+
"dollar-box-outlined": 59286,
|
|
8661
|
+
"dollar-card-outlined": 59287,
|
|
8662
|
+
"dollar-coin-shine-outlined": 59288,
|
|
8663
|
+
"dollar-credit-card-outlined": 59289,
|
|
8664
|
+
"dollar-sign": 59290,
|
|
8665
|
+
"double-buildings-outlined": 59291,
|
|
8666
|
+
"double-left-arrows": 59292,
|
|
8667
|
+
"double-right-arrows": 59293,
|
|
8668
|
+
"download-box-outlined": 59294,
|
|
8669
|
+
"download-outlined": 59295,
|
|
8670
|
+
"edit-template-outlined": 59296,
|
|
8671
|
+
"electronics-outlined": 59297,
|
|
8672
|
+
"email-outlined": 59298,
|
|
8673
|
+
"end-break-outlined": 59299,
|
|
8674
|
+
"enter-arrow": 59300,
|
|
8675
|
+
"entertainment-outlined": 59301,
|
|
8676
|
+
"envelope-outlined": 59302,
|
|
8677
|
+
"evening-outlined": 59303,
|
|
8678
|
+
"expense-approval-outlined": 59304,
|
|
8679
|
+
"expense-outlined": 59305,
|
|
8680
|
+
"explore-outlined": 59306,
|
|
8681
|
+
"extension-outlined": 59307,
|
|
8682
|
+
"external-link": 59308,
|
|
8683
|
+
"eye-invisible-outlined": 59309,
|
|
8684
|
+
"eye-outlined": 59310,
|
|
8685
|
+
"face-id": 59311,
|
|
8686
|
+
"face-meh-outlined": 59312,
|
|
8687
|
+
"face-open-smiley-outlined": 59313,
|
|
8688
|
+
"face-sad-outlined": 59314,
|
|
8689
|
+
"face-smiley-outlined": 59315,
|
|
8690
|
+
"fastfood-outlined": 59316,
|
|
8691
|
+
"feed-outlined": 59317,
|
|
8692
|
+
"file-certified-outlined": 59318,
|
|
8693
|
+
"file-clone-outlined": 59319,
|
|
8694
|
+
"file-copy-outlined": 59320,
|
|
8695
|
+
"file-dispose-outlined": 59321,
|
|
8696
|
+
"file-dollar-certified-outlined": 59322,
|
|
8697
|
+
"file-dollar-outlined": 59323,
|
|
8698
|
+
"file-download-outlined": 59324,
|
|
8699
|
+
"file-export-outlined": 59325,
|
|
8700
|
+
"file-lock-outlined": 59326,
|
|
8701
|
+
"file-outlined": 59327,
|
|
8702
|
+
"file-pound-outlined": 59328,
|
|
8703
|
+
"file-search-outlined": 59329,
|
|
8704
|
+
"file-secured-outlined": 59330,
|
|
8705
|
+
"file-statutory-outlined": 59331,
|
|
8706
|
+
"file-verified-outlined": 59332,
|
|
8707
|
+
"filter-outlined": 59333,
|
|
8708
|
+
"fitness-outlined": 59334,
|
|
8709
|
+
"folder-outlined": 59335,
|
|
8710
|
+
"folder-upload-outlined": 59336,
|
|
8711
|
+
"folder-user-outlined": 59337,
|
|
8712
|
+
"form-outlined": 59338,
|
|
8713
|
+
"funnel-filter-outline": 59339,
|
|
8714
|
+
"goal-outlined": 59340,
|
|
8715
|
+
"graph-outlined": 59341,
|
|
8716
|
+
"grocery-outlined": 59342,
|
|
8717
|
+
"hand-holding-user-outlined": 59343,
|
|
8718
|
+
"handshake-outlined": 59344,
|
|
8719
|
+
"happy-sun-outlined": 59345,
|
|
8720
|
+
"health-bag-outlined": 59346,
|
|
8721
|
+
"heart-outlined": 59347,
|
|
8722
|
+
"home-active-outlined": 59348,
|
|
8723
|
+
"home-outlined": 59349,
|
|
8724
|
+
"id-card-outlined": 59350,
|
|
8725
|
+
"image-outlined": 59351,
|
|
8726
|
+
"import-outlined": 59352,
|
|
8727
|
+
"instapay-outlined": 59353,
|
|
8713
8728
|
italic: italic,
|
|
8714
|
-
"job-search-outlined":
|
|
8715
|
-
"leave-approval-outlined":
|
|
8716
|
-
"lighting-outlined":
|
|
8717
|
-
"link-1":
|
|
8718
|
-
"link-2":
|
|
8719
|
-
"list-outlined":
|
|
8720
|
-
"live-help-outlined":
|
|
8729
|
+
"job-search-outlined": 59355,
|
|
8730
|
+
"leave-approval-outlined": 59356,
|
|
8731
|
+
"lighting-outlined": 59357,
|
|
8732
|
+
"link-1": 59358,
|
|
8733
|
+
"link-2": 59359,
|
|
8734
|
+
"list-outlined": 59360,
|
|
8735
|
+
"live-help-outlined": 59361,
|
|
8721
8736
|
local_mall_outlined: local_mall_outlined,
|
|
8722
|
-
"location-on-outlined":
|
|
8723
|
-
"location-outlined":
|
|
8724
|
-
"lock-outlined":
|
|
8725
|
-
"locked-file-outlined":
|
|
8726
|
-
"log-out":
|
|
8727
|
-
"mail-outlined":
|
|
8728
|
-
"map-outlined":
|
|
8729
|
-
"media-content-outlined":
|
|
8730
|
-
"menu-close":
|
|
8731
|
-
"menu-expand":
|
|
8732
|
-
"menu-fold-outlined":
|
|
8733
|
-
"menu-unfold-outlined":
|
|
8734
|
-
"moneybag-outlined":
|
|
8735
|
-
"moon-outlined":
|
|
8736
|
-
"more-horizontal":
|
|
8737
|
-
"more-vertical":
|
|
8738
|
-
"morning-outlined":
|
|
8739
|
-
"multiple-folders-outlined":
|
|
8740
|
-
"multiple-users-outlined":
|
|
8741
|
-
"near-me-outlined":
|
|
8742
|
-
"node-outlined":
|
|
8743
|
-
"number-points":
|
|
8737
|
+
"location-on-outlined": 59363,
|
|
8738
|
+
"location-outlined": 59364,
|
|
8739
|
+
"lock-outlined": 59365,
|
|
8740
|
+
"locked-file-outlined": 59366,
|
|
8741
|
+
"log-out": 59367,
|
|
8742
|
+
"mail-outlined": 59368,
|
|
8743
|
+
"map-outlined": 59369,
|
|
8744
|
+
"media-content-outlined": 59370,
|
|
8745
|
+
"menu-close": 59371,
|
|
8746
|
+
"menu-expand": 59372,
|
|
8747
|
+
"menu-fold-outlined": 59373,
|
|
8748
|
+
"menu-unfold-outlined": 59374,
|
|
8749
|
+
"moneybag-outlined": 59375,
|
|
8750
|
+
"moon-outlined": 59376,
|
|
8751
|
+
"more-horizontal": 59377,
|
|
8752
|
+
"more-vertical": 59378,
|
|
8753
|
+
"morning-outlined": 59379,
|
|
8754
|
+
"multiple-folders-outlined": 59380,
|
|
8755
|
+
"multiple-users-outlined": 59381,
|
|
8756
|
+
"near-me-outlined": 59382,
|
|
8757
|
+
"node-outlined": 59383,
|
|
8758
|
+
"number-points": 59384,
|
|
8744
8759
|
number: number$2,
|
|
8745
|
-
"overview-outlined":
|
|
8746
|
-
"park-outlined":
|
|
8747
|
-
"payment-summary-outlined":
|
|
8748
|
-
"payslip-outlined":
|
|
8749
|
-
"pencil-outlined":
|
|
8760
|
+
"overview-outlined": 59386,
|
|
8761
|
+
"park-outlined": 59387,
|
|
8762
|
+
"payment-summary-outlined": 59388,
|
|
8763
|
+
"payslip-outlined": 59389,
|
|
8764
|
+
"pencil-outlined": 59390,
|
|
8750
8765
|
percentage: percentage,
|
|
8751
|
-
"phone-outlined":
|
|
8752
|
-
"piggy-bank-outlined":
|
|
8753
|
-
"plane-outlined":
|
|
8754
|
-
"play-circle-outlined":
|
|
8755
|
-
"pound-box-outlined":
|
|
8756
|
-
"pound-card-outlined":
|
|
8757
|
-
"pound-coin-shine-outlined":
|
|
8758
|
-
"pound-credit-card-outlined":
|
|
8759
|
-
"print-outlined":
|
|
8760
|
-
"propane-tank-outlined":
|
|
8761
|
-
"qr-code-outlined":
|
|
8762
|
-
"qualification-outlined":
|
|
8763
|
-
"re-assign":
|
|
8766
|
+
"phone-outlined": 59392,
|
|
8767
|
+
"piggy-bank-outlined": 59393,
|
|
8768
|
+
"plane-outlined": 59394,
|
|
8769
|
+
"play-circle-outlined": 59395,
|
|
8770
|
+
"pound-box-outlined": 59396,
|
|
8771
|
+
"pound-card-outlined": 59397,
|
|
8772
|
+
"pound-coin-shine-outlined": 59398,
|
|
8773
|
+
"pound-credit-card-outlined": 59399,
|
|
8774
|
+
"print-outlined": 59400,
|
|
8775
|
+
"propane-tank-outlined": 59401,
|
|
8776
|
+
"qr-code-outlined": 59402,
|
|
8777
|
+
"qualification-outlined": 59403,
|
|
8778
|
+
"re-assign": 59404,
|
|
8764
8779
|
redeem: redeem,
|
|
8765
8780
|
refresh: refresh,
|
|
8766
8781
|
remove: remove$1,
|
|
8767
|
-
"reply-outlined":
|
|
8782
|
+
"reply-outlined": 59408,
|
|
8768
8783
|
restart: restart,
|
|
8769
|
-
"restaurant-outlined":
|
|
8770
|
-
"resume-outlined":
|
|
8771
|
-
"return-arrow":
|
|
8772
|
-
"
|
|
8773
|
-
"
|
|
8774
|
-
"
|
|
8775
|
-
"
|
|
8776
|
-
"
|
|
8777
|
-
"search-
|
|
8778
|
-
"
|
|
8779
|
-
"
|
|
8780
|
-
"share-
|
|
8781
|
-
"share-
|
|
8782
|
-
"share-outlined":
|
|
8783
|
-
"
|
|
8784
|
-
"
|
|
8784
|
+
"restaurant-outlined": 59410,
|
|
8785
|
+
"resume-outlined": 59411,
|
|
8786
|
+
"return-arrow": 59412,
|
|
8787
|
+
"rocket-launch-outlined": 59413,
|
|
8788
|
+
"rostering-outlined": 59414,
|
|
8789
|
+
"safety-outlined": 59415,
|
|
8790
|
+
"save-outlined": 59416,
|
|
8791
|
+
"schedule-outlined": 59417,
|
|
8792
|
+
"search-outlined": 59418,
|
|
8793
|
+
"search-secured-outlined": 59419,
|
|
8794
|
+
"send-outlined": 59420,
|
|
8795
|
+
"share-1": 59421,
|
|
8796
|
+
"share-2": 59422,
|
|
8797
|
+
"share-outlined-2": 59423,
|
|
8798
|
+
"share-outlined": 59424,
|
|
8799
|
+
"shield-check-outlined": 59425,
|
|
8800
|
+
"shop-outlined": 59426,
|
|
8785
8801
|
shopping_basket_outlined: shopping_basket_outlined,
|
|
8786
|
-
"show-chart-outlined":
|
|
8787
|
-
"single-down-arrow":
|
|
8788
|
-
"single-left-arrow":
|
|
8789
|
-
"single-right-arrow":
|
|
8790
|
-
"single-up-arrow":
|
|
8791
|
-
"smart-match-outlined":
|
|
8792
|
-
"sparkle-outlined":
|
|
8793
|
-
"speaker-active-outlined":
|
|
8794
|
-
"speaker-outlined":
|
|
8795
|
-
"star-circle-outlined":
|
|
8796
|
-
"star-outlined":
|
|
8797
|
-
"start-break-outlined":
|
|
8798
|
-
"stash-outlined":
|
|
8799
|
-
"stopwatch-outlined":
|
|
8802
|
+
"show-chart-outlined": 59428,
|
|
8803
|
+
"single-down-arrow": 59429,
|
|
8804
|
+
"single-left-arrow": 59430,
|
|
8805
|
+
"single-right-arrow": 59431,
|
|
8806
|
+
"single-up-arrow": 59432,
|
|
8807
|
+
"smart-match-outlined": 59433,
|
|
8808
|
+
"sparkle-outlined": 59434,
|
|
8809
|
+
"speaker-active-outlined": 59435,
|
|
8810
|
+
"speaker-outlined": 59436,
|
|
8811
|
+
"star-circle-outlined": 59437,
|
|
8812
|
+
"star-outlined": 59438,
|
|
8813
|
+
"start-break-outlined": 59439,
|
|
8814
|
+
"stash-outlined": 59440,
|
|
8815
|
+
"stopwatch-outlined": 59441,
|
|
8800
8816
|
strikethrough: strikethrough,
|
|
8801
|
-
"styler-outlined":
|
|
8802
|
-
"suitcase-clock-outlined":
|
|
8803
|
-
"suitcase-outlined":
|
|
8804
|
-
"survey-outlined":
|
|
8805
|
-
"switch-outlined":
|
|
8817
|
+
"styler-outlined": 59443,
|
|
8818
|
+
"suitcase-clock-outlined": 59444,
|
|
8819
|
+
"suitcase-outlined": 59445,
|
|
8820
|
+
"survey-outlined": 59446,
|
|
8821
|
+
"switch-outlined": 59447,
|
|
8806
8822
|
sync: sync,
|
|
8807
|
-
"tag-outlined":
|
|
8808
|
-
"target-outlined":
|
|
8809
|
-
"tennis-outlined":
|
|
8810
|
-
"thumb-down-outlined":
|
|
8811
|
-
"thumb-up-outlined":
|
|
8812
|
-
"ticket-outlined":
|
|
8813
|
-
"timesheet-outlined":
|
|
8814
|
-
"timesheets-outlined":
|
|
8815
|
-
"today-outlined":
|
|
8823
|
+
"tag-outlined": 59449,
|
|
8824
|
+
"target-outlined": 59450,
|
|
8825
|
+
"tennis-outlined": 59451,
|
|
8826
|
+
"thumb-down-outlined": 59452,
|
|
8827
|
+
"thumb-up-outlined": 59453,
|
|
8828
|
+
"ticket-outlined": 59454,
|
|
8829
|
+
"timesheet-outlined": 59455,
|
|
8830
|
+
"timesheets-outlined": 59456,
|
|
8831
|
+
"today-outlined": 59457,
|
|
8816
8832
|
transfer: transfer,
|
|
8817
|
-
"transportation-outlined":
|
|
8818
|
-
"trash-bin-outlined":
|
|
8819
|
-
"umbrela-outlined":
|
|
8820
|
-
"unavailability-outlined":
|
|
8833
|
+
"transportation-outlined": 59459,
|
|
8834
|
+
"trash-bin-outlined": 59460,
|
|
8835
|
+
"umbrela-outlined": 59461,
|
|
8836
|
+
"unavailability-outlined": 59462,
|
|
8821
8837
|
unavailable: unavailable,
|
|
8822
8838
|
underline: underline,
|
|
8823
|
-
"union-outlined":
|
|
8824
|
-
"unlock-outlined":
|
|
8825
|
-
"upload-outlined":
|
|
8826
|
-
"user-circle-outlined":
|
|
8827
|
-
"user-gear-outlined":
|
|
8828
|
-
"user-outlined":
|
|
8829
|
-
"user-rectangle-outlined":
|
|
8830
|
-
"video-1-outlined":
|
|
8831
|
-
"video-2-outlined":
|
|
8832
|
-
"volunteer-outlined":
|
|
8833
|
-
"wallet-outlined":
|
|
8834
|
-
"wellness-outlined":
|
|
8839
|
+
"union-outlined": 59465,
|
|
8840
|
+
"unlock-outlined": 59466,
|
|
8841
|
+
"upload-outlined": 59467,
|
|
8842
|
+
"user-circle-outlined": 59468,
|
|
8843
|
+
"user-gear-outlined": 59469,
|
|
8844
|
+
"user-outlined": 59470,
|
|
8845
|
+
"user-rectangle-outlined": 59471,
|
|
8846
|
+
"video-1-outlined": 59472,
|
|
8847
|
+
"video-2-outlined": 59473,
|
|
8848
|
+
"volunteer-outlined": 59474,
|
|
8849
|
+
"wallet-outlined": 59475,
|
|
8850
|
+
"wellness-outlined": 59476
|
|
8835
8851
|
};
|
|
8836
8852
|
|
|
8837
8853
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -10308,7 +10324,7 @@ var BottomBarItem = index$c(reactNative.View)({
|
|
|
10308
10324
|
flex: 1,
|
|
10309
10325
|
alignItems: 'center'
|
|
10310
10326
|
});
|
|
10311
|
-
var StyledBottomBarText = index$c(Typography.
|
|
10327
|
+
var StyledBottomBarText = index$c(Typography.Label)(function (_ref3) {
|
|
10312
10328
|
var theme = _ref3.theme;
|
|
10313
10329
|
return {
|
|
10314
10330
|
marginTop: theme.__hd__.bottomNavigation.space.titleMarginTop
|
|
@@ -10383,11 +10399,10 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
10383
10399
|
testID: testID
|
|
10384
10400
|
}, /*#__PURE__*/React__namespace.default.createElement(BottomBarItem, null, /*#__PURE__*/React__namespace.default.createElement(Icon, {
|
|
10385
10401
|
icon: active ? icon : inactiveIcon,
|
|
10386
|
-
intent: active ? 'primary' : '
|
|
10402
|
+
intent: active ? 'primary' : 'muted',
|
|
10387
10403
|
testID: "hero-icon-".concat(icon)
|
|
10388
10404
|
}), !!title && /*#__PURE__*/React__namespace.default.createElement(StyledBottomBarText, {
|
|
10389
|
-
|
|
10390
|
-
intent: active ? 'primary' : 'body',
|
|
10405
|
+
intent: active ? 'primary' : 'muted',
|
|
10391
10406
|
numberOfLines: 1
|
|
10392
10407
|
}, title)));
|
|
10393
10408
|
}))));
|
|
@@ -10479,7 +10494,7 @@ var StyledHeaderWrapper = index$c(reactNative.View)(function (_ref5) {
|
|
|
10479
10494
|
paddingHorizontal: theme.__hd__.bottomSheet.space.headerWrapperHorizontalPadding
|
|
10480
10495
|
};
|
|
10481
10496
|
});
|
|
10482
|
-
var StyledHeader = index$c(reactNative.View)({
|
|
10497
|
+
var StyledHeader$1 = index$c(reactNative.View)({
|
|
10483
10498
|
flex: 1,
|
|
10484
10499
|
justifyContent: 'center'
|
|
10485
10500
|
});
|
|
@@ -11189,7 +11204,7 @@ var Header = function Header(_ref) {
|
|
|
11189
11204
|
_ref$variant = _ref.variant,
|
|
11190
11205
|
variant = _ref$variant === void 0 ? 'fixed' : _ref$variant;
|
|
11191
11206
|
var theme = useTheme();
|
|
11192
|
-
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(StyledHeaderWrapper, null, typeof content === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledHeader, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
|
|
11207
|
+
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(StyledHeaderWrapper, null, typeof content === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledHeader$1, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
|
|
11193
11208
|
variant: "regular-bold"
|
|
11194
11209
|
}, content)) : /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
|
|
11195
11210
|
style: {
|
|
@@ -23242,15 +23257,16 @@ var Portal$1 = Object.assign(Portal, {
|
|
|
23242
23257
|
Host: PortalHost
|
|
23243
23258
|
});
|
|
23244
23259
|
|
|
23245
|
-
var _excluded$r = ["visible"];
|
|
23246
23260
|
var DEFAULT_BACKDROP_OPACITY = 0.4;
|
|
23247
23261
|
var DEFAULT_ANIMATION_CONFIG = {
|
|
23248
23262
|
easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
|
|
23249
23263
|
useNativeDriver: reactNative.Platform.OS !== 'web',
|
|
23250
23264
|
duration: 400
|
|
23251
23265
|
};
|
|
23252
|
-
var Modal =
|
|
23266
|
+
var Modal = function Modal(_ref) {
|
|
23253
23267
|
var children = _ref.children,
|
|
23268
|
+
_ref$visible = _ref.visible,
|
|
23269
|
+
visible = _ref$visible === void 0 ? true : _ref$visible,
|
|
23254
23270
|
onShow = _ref.onShow,
|
|
23255
23271
|
onRequestClose = _ref.onRequestClose,
|
|
23256
23272
|
testID = _ref.testID,
|
|
@@ -23262,56 +23278,58 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
23262
23278
|
var theme = useTheme();
|
|
23263
23279
|
var animatedBackdropValue = React.useRef(new reactNative.Animated.Value(0)).current;
|
|
23264
23280
|
var animatedModalValue = React.useRef(new reactNative.Animated.Value(0)).current;
|
|
23265
|
-
|
|
23266
|
-
|
|
23267
|
-
|
|
23268
|
-
|
|
23269
|
-
|
|
23270
|
-
|
|
23271
|
-
|
|
23272
|
-
|
|
23273
|
-
|
|
23274
|
-
|
|
23275
|
-
|
|
23276
|
-
|
|
23277
|
-
|
|
23278
|
-
|
|
23279
|
-
|
|
23280
|
-
|
|
23281
|
-
|
|
23282
|
-
|
|
23283
|
-
|
|
23284
|
-
|
|
23285
|
-
inputRange: [0, 1],
|
|
23286
|
-
outputRange: [0, DEFAULT_BACKDROP_OPACITY]
|
|
23287
|
-
});
|
|
23288
|
-
var modalAnimation = animatedModalValue.interpolate({
|
|
23289
|
-
inputRange: [0, 1],
|
|
23290
|
-
outputRange: animationType === 'slide' ? [reactNative.Dimensions.get('window').height, 0] : [0, 1]
|
|
23291
|
-
});
|
|
23292
|
-
React.useImperativeHandle(ref, function () {
|
|
23293
|
-
return {
|
|
23294
|
-
show: function show() {
|
|
23295
|
-
animateBackdropAndContent({
|
|
23296
|
-
toValue: 1,
|
|
23297
|
-
callback: onShow
|
|
23281
|
+
var _useState = React.useState(visible),
|
|
23282
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
23283
|
+
mounted = _useState2[0],
|
|
23284
|
+
setMounted = _useState2[1];
|
|
23285
|
+
var previousVisible = React.useRef(false);
|
|
23286
|
+
// Animate in/out based on visible prop
|
|
23287
|
+
React.useEffect(function () {
|
|
23288
|
+
if (visible && !previousVisible.current) {
|
|
23289
|
+
// Show animation
|
|
23290
|
+
setMounted(true);
|
|
23291
|
+
if (animationType !== 'none') {
|
|
23292
|
+
if (!transparent) {
|
|
23293
|
+
reactNative.Animated.timing(animatedBackdropValue, _objectSpread2({
|
|
23294
|
+
toValue: 1
|
|
23295
|
+
}, DEFAULT_ANIMATION_CONFIG)).start();
|
|
23296
|
+
}
|
|
23297
|
+
reactNative.Animated.timing(animatedModalValue, _objectSpread2({
|
|
23298
|
+
toValue: 1
|
|
23299
|
+
}, DEFAULT_ANIMATION_CONFIG)).start(function () {
|
|
23300
|
+
onShow === null || onShow === void 0 || onShow();
|
|
23298
23301
|
});
|
|
23299
|
-
}
|
|
23300
|
-
|
|
23301
|
-
|
|
23302
|
-
|
|
23303
|
-
|
|
23304
|
-
|
|
23305
|
-
|
|
23306
|
-
|
|
23307
|
-
|
|
23302
|
+
} else {
|
|
23303
|
+
onShow === null || onShow === void 0 || onShow();
|
|
23304
|
+
}
|
|
23305
|
+
} else if (!visible && previousVisible.current) {
|
|
23306
|
+
// Hide animation
|
|
23307
|
+
if (animationType !== 'none') {
|
|
23308
|
+
if (!transparent) {
|
|
23309
|
+
reactNative.Animated.timing(animatedBackdropValue, _objectSpread2({
|
|
23310
|
+
toValue: 0
|
|
23311
|
+
}, DEFAULT_ANIMATION_CONFIG)).start();
|
|
23312
|
+
}
|
|
23313
|
+
reactNative.Animated.timing(animatedModalValue, _objectSpread2({
|
|
23314
|
+
toValue: 0
|
|
23315
|
+
}, DEFAULT_ANIMATION_CONFIG)).start(function () {
|
|
23316
|
+
setMounted(false);
|
|
23317
|
+
if (reactNative.Platform.OS === 'ios') {
|
|
23318
|
+
onDismiss === null || onDismiss === void 0 || onDismiss();
|
|
23308
23319
|
}
|
|
23309
23320
|
});
|
|
23321
|
+
} else {
|
|
23322
|
+
setMounted(false);
|
|
23323
|
+
if (reactNative.Platform.OS === 'ios') {
|
|
23324
|
+
onDismiss === null || onDismiss === void 0 || onDismiss();
|
|
23325
|
+
}
|
|
23310
23326
|
}
|
|
23311
|
-
}
|
|
23312
|
-
|
|
23327
|
+
}
|
|
23328
|
+
previousVisible.current = visible;
|
|
23329
|
+
}, [visible, animationType, transparent, onShow, onDismiss]);
|
|
23313
23330
|
// Back button handler
|
|
23314
23331
|
React.useEffect(function () {
|
|
23332
|
+
if (!visible) return;
|
|
23315
23333
|
var backHandler = reactNative.BackHandler.addEventListener('hardwareBackPress', function () {
|
|
23316
23334
|
onRequestClose === null || onRequestClose === void 0 || onRequestClose();
|
|
23317
23335
|
return true;
|
|
@@ -23319,7 +23337,18 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
23319
23337
|
return function () {
|
|
23320
23338
|
return backHandler.remove();
|
|
23321
23339
|
};
|
|
23322
|
-
}, [onRequestClose]);
|
|
23340
|
+
}, [visible, onRequestClose]);
|
|
23341
|
+
var backdropOpacityAnimation = animatedBackdropValue.interpolate({
|
|
23342
|
+
inputRange: [0, 1],
|
|
23343
|
+
outputRange: [0, DEFAULT_BACKDROP_OPACITY]
|
|
23344
|
+
});
|
|
23345
|
+
var modalAnimation = animatedModalValue.interpolate({
|
|
23346
|
+
inputRange: [0, 1],
|
|
23347
|
+
outputRange: animationType === 'slide' ? [reactNative.Dimensions.get('window').height, 0] : [0, 1]
|
|
23348
|
+
});
|
|
23349
|
+
if (!visible && !mounted) {
|
|
23350
|
+
return null;
|
|
23351
|
+
}
|
|
23323
23352
|
return /*#__PURE__*/React__namespace.default.createElement(Portal$1, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.Animated.View, {
|
|
23324
23353
|
style: _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
23325
23354
|
backgroundColor: transparent ? 'transparent' : theme.colors.overlayGlobalSurface,
|
|
@@ -23334,39 +23363,9 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
23334
23363
|
}]
|
|
23335
23364
|
})
|
|
23336
23365
|
}, children));
|
|
23337
|
-
});
|
|
23338
|
-
var ModalWrapper = function ModalWrapper(_ref3) {
|
|
23339
|
-
var _ref3$visible = _ref3.visible,
|
|
23340
|
-
visible = _ref3$visible === void 0 ? true : _ref3$visible,
|
|
23341
|
-
props = _objectWithoutProperties(_ref3, _excluded$r);
|
|
23342
|
-
var modalRef = React.useRef(null);
|
|
23343
|
-
var _useState = React.useState(visible),
|
|
23344
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
23345
|
-
internalVisible = _useState2[0],
|
|
23346
|
-
setInternalVisible = _useState2[1];
|
|
23347
|
-
React.useEffect(function () {
|
|
23348
|
-
if (visible) {
|
|
23349
|
-
setInternalVisible(true);
|
|
23350
|
-
} else {
|
|
23351
|
-
var _modalRef$current;
|
|
23352
|
-
// Wait for animation to finish before hiding the modal
|
|
23353
|
-
(_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 || _modalRef$current.hide(function () {
|
|
23354
|
-
return setInternalVisible(false);
|
|
23355
|
-
});
|
|
23356
|
-
}
|
|
23357
|
-
}, [visible]);
|
|
23358
|
-
React.useEffect(function () {
|
|
23359
|
-
if (internalVisible) {
|
|
23360
|
-
var _modalRef$current2;
|
|
23361
|
-
(_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0 || _modalRef$current2.show();
|
|
23362
|
-
}
|
|
23363
|
-
}, [internalVisible]);
|
|
23364
|
-
return internalVisible ? /*#__PURE__*/React__namespace.default.createElement(Modal, _extends$1({
|
|
23365
|
-
ref: modalRef
|
|
23366
|
-
}, props)) : null;
|
|
23367
23366
|
};
|
|
23368
23367
|
|
|
23369
|
-
var StyledErrorModal = index$c(
|
|
23368
|
+
var StyledErrorModal = index$c(Modal)({
|
|
23370
23369
|
height: '100%',
|
|
23371
23370
|
width: '100%'
|
|
23372
23371
|
});
|
|
@@ -23458,7 +23457,7 @@ var StyledErrorDescription = index$c(Typography.Body)(function (_ref10) {
|
|
|
23458
23457
|
};
|
|
23459
23458
|
});
|
|
23460
23459
|
|
|
23461
|
-
var _excluded$
|
|
23460
|
+
var _excluded$r = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
|
|
23462
23461
|
_excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
|
|
23463
23462
|
var renderImage$1 = function renderImage(image) {
|
|
23464
23463
|
if (/*#__PURE__*/React.isValidElement(image)) {
|
|
@@ -23499,7 +23498,7 @@ var ErrorPage = function ErrorPage(_ref2) {
|
|
|
23499
23498
|
secondaryCtaText = _ref2.secondaryCtaText,
|
|
23500
23499
|
onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
|
|
23501
23500
|
icon = _ref2.icon,
|
|
23502
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
23501
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$r);
|
|
23503
23502
|
var showCta = ctaText && onCtaPress !== undefined;
|
|
23504
23503
|
var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
|
|
23505
23504
|
var showButtonContainer = showCta || showSecondaryCta;
|
|
@@ -23725,13 +23724,13 @@ var ActionItem = function ActionItem(_ref) {
|
|
|
23725
23724
|
})), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
|
|
23726
23725
|
};
|
|
23727
23726
|
|
|
23728
|
-
var _excluded$
|
|
23727
|
+
var _excluded$q = ["active"];
|
|
23729
23728
|
var AnimatedIcons = reactNative.Animated.createAnimatedComponent(/*#__PURE__*/React__namespace.default.forwardRef(function (props, _) {
|
|
23730
23729
|
return /*#__PURE__*/React__namespace.default.createElement(StyledFABIcon, props);
|
|
23731
23730
|
}));
|
|
23732
23731
|
var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
|
|
23733
23732
|
var active = _ref.active,
|
|
23734
|
-
iconProps = _objectWithoutProperties(_ref, _excluded$
|
|
23733
|
+
iconProps = _objectWithoutProperties(_ref, _excluded$q);
|
|
23735
23734
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
|
|
23736
23735
|
React.useEffect(function () {
|
|
23737
23736
|
var animation = reactNative.Animated.spring(rotateAnimation.current, {
|
|
@@ -24089,11 +24088,11 @@ var StyledFAB = index$c(FAB$1)(function (_ref) {
|
|
|
24089
24088
|
};
|
|
24090
24089
|
});
|
|
24091
24090
|
|
|
24092
|
-
var _excluded$
|
|
24091
|
+
var _excluded$p = ["fabConfig", "onCancel"];
|
|
24093
24092
|
var Pair = function Pair(_ref) {
|
|
24094
24093
|
var fabConfig = _ref.fabConfig,
|
|
24095
24094
|
onCancel = _ref.onCancel,
|
|
24096
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
24095
|
+
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
24097
24096
|
var icon = fabConfig.icon,
|
|
24098
24097
|
title = fabConfig.title,
|
|
24099
24098
|
onPress = fabConfig.onPress,
|
|
@@ -24823,11 +24822,11 @@ var StyledFocusIcon = index$c(Icon)(function (_ref7) {
|
|
|
24823
24822
|
};
|
|
24824
24823
|
});
|
|
24825
24824
|
|
|
24826
|
-
var _excluded$
|
|
24825
|
+
var _excluded$o = ["style", "testID"];
|
|
24827
24826
|
var MapPinFocussed = function MapPinFocussed(_ref) {
|
|
24828
24827
|
var style = _ref.style,
|
|
24829
24828
|
testID = _ref.testID,
|
|
24830
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
24829
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$o);
|
|
24831
24830
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
|
|
24832
24831
|
style: style,
|
|
24833
24832
|
testID: testID
|
|
@@ -24837,7 +24836,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
|
|
|
24837
24836
|
}));
|
|
24838
24837
|
};
|
|
24839
24838
|
|
|
24840
|
-
var _excluded$
|
|
24839
|
+
var _excluded$n = ["style", "testID", "state", "image", "icon"];
|
|
24841
24840
|
var getBadgeIconName = function getBadgeIconName(state) {
|
|
24842
24841
|
var iconMap = {
|
|
24843
24842
|
idle: undefined,
|
|
@@ -24853,7 +24852,7 @@ var MapPin = function MapPin(_ref) {
|
|
|
24853
24852
|
state = _ref$state === void 0 ? 'idle' : _ref$state,
|
|
24854
24853
|
image = _ref.image,
|
|
24855
24854
|
icon = _ref.icon,
|
|
24856
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
24855
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
24857
24856
|
var badgeIcon = getBadgeIconName(state);
|
|
24858
24857
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
|
|
24859
24858
|
style: style,
|
|
@@ -25174,7 +25173,7 @@ var THEME_INTENT_MAP = {
|
|
|
25174
25173
|
'archived-inverted': 'archivedInverted'
|
|
25175
25174
|
};
|
|
25176
25175
|
|
|
25177
|
-
var _excluded$
|
|
25176
|
+
var _excluded$m = ["value", "renderValue", "intent", "style", "testID"];
|
|
25178
25177
|
var defaultRenderValue = function defaultRenderValue(value) {
|
|
25179
25178
|
return "".concat(value, "%");
|
|
25180
25179
|
};
|
|
@@ -25187,7 +25186,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
|
|
|
25187
25186
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
25188
25187
|
style = _ref.style,
|
|
25189
25188
|
testID = _ref.testID,
|
|
25190
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
25189
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
25191
25190
|
var theme = useTheme$1();
|
|
25192
25191
|
var size = theme.__hd__.progress.sizes.circleDiameter;
|
|
25193
25192
|
var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
|
|
@@ -25257,14 +25256,14 @@ var StyledInner = index$c(reactNative.Animated.View)(function (_ref2) {
|
|
|
25257
25256
|
};
|
|
25258
25257
|
});
|
|
25259
25258
|
|
|
25260
|
-
var _excluded$
|
|
25259
|
+
var _excluded$l = ["value", "intent", "style", "testID"];
|
|
25261
25260
|
var ProgressBar = function ProgressBar(_ref) {
|
|
25262
25261
|
var value = _ref.value,
|
|
25263
25262
|
_ref$intent = _ref.intent,
|
|
25264
25263
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
25265
25264
|
style = _ref.style,
|
|
25266
25265
|
testID = _ref.testID,
|
|
25267
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
25266
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$l);
|
|
25268
25267
|
var _useState = React.useState(0),
|
|
25269
25268
|
_useState2 = _slicedToArray(_useState, 2),
|
|
25270
25269
|
width = _useState2[0],
|
|
@@ -25354,7 +25353,7 @@ var StyledSingleStep = index$c(Box)(function (_ref3) {
|
|
|
25354
25353
|
};
|
|
25355
25354
|
});
|
|
25356
25355
|
|
|
25357
|
-
var _excluded$
|
|
25356
|
+
var _excluded$k = ["steps", "current", "onLayout"];
|
|
25358
25357
|
var getStepState = function getStepState(current, index) {
|
|
25359
25358
|
if (index < current) {
|
|
25360
25359
|
return 'complete';
|
|
@@ -25368,7 +25367,7 @@ var ProgressStep = function ProgressStep(_ref) {
|
|
|
25368
25367
|
var steps = _ref.steps,
|
|
25369
25368
|
current = _ref.current,
|
|
25370
25369
|
onLayout = _ref.onLayout,
|
|
25371
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
25370
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
25372
25371
|
var theme = useTheme$1();
|
|
25373
25372
|
var _React$useState = React__namespace.default.useState(0),
|
|
25374
25373
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -25403,9 +25402,240 @@ var ProgressStep = function ProgressStep(_ref) {
|
|
|
25403
25402
|
}));
|
|
25404
25403
|
};
|
|
25405
25404
|
|
|
25405
|
+
var MIN_PROGRESS_VALUE = 0;
|
|
25406
|
+
var MAX_PROGRESS_VALUE = 100;
|
|
25407
|
+
var SEGMENTED_BAR_ERRORS = {
|
|
25408
|
+
negativeValue: '[Progress.SegmentedBar] value:$value is less than 0',
|
|
25409
|
+
legendDisplayValues: '[Progress.SegmentedBar] legendConfig.displayValues must include a non-null/non-undefined entry for each data series (length must match and no null/undefined values are allowed)'
|
|
25410
|
+
};
|
|
25411
|
+
|
|
25412
|
+
var useValidateSegmentedBarData = function useValidateSegmentedBarData(_ref) {
|
|
25413
|
+
var values = _ref.values,
|
|
25414
|
+
dataLength = _ref.dataLength;
|
|
25415
|
+
var _React$useMemo = React__namespace.default.useMemo(function () {
|
|
25416
|
+
var foundNegativeValue = values.find(function (value) {
|
|
25417
|
+
return value < 0;
|
|
25418
|
+
});
|
|
25419
|
+
return {
|
|
25420
|
+
hasNegativeValue: foundNegativeValue !== undefined,
|
|
25421
|
+
negativeValue: foundNegativeValue
|
|
25422
|
+
};
|
|
25423
|
+
}, [dataLength, values]),
|
|
25424
|
+
hasNegativeValue = _React$useMemo.hasNegativeValue,
|
|
25425
|
+
negativeValue = _React$useMemo.negativeValue;
|
|
25426
|
+
assert(!hasNegativeValue, SEGMENTED_BAR_ERRORS.negativeValue.replace('$value', String(negativeValue)));
|
|
25427
|
+
};
|
|
25428
|
+
var useValidateSegmentedBarLegendDisplayValues = function useValidateSegmentedBarLegendDisplayValues(_ref2) {
|
|
25429
|
+
var dataLength = _ref2.dataLength,
|
|
25430
|
+
legendConfig = _ref2.legendConfig,
|
|
25431
|
+
fallbackValues = _ref2.fallbackValues;
|
|
25432
|
+
var displayValues = legendConfig === null || legendConfig === void 0 ? void 0 : legendConfig.displayValues;
|
|
25433
|
+
var _React$useMemo2 = React__namespace.default.useMemo(function () {
|
|
25434
|
+
if (displayValues === undefined) {
|
|
25435
|
+
return {
|
|
25436
|
+
valuesToUse: fallbackValues,
|
|
25437
|
+
hasLengthMismatch: false,
|
|
25438
|
+
hasEmptyEntry: false
|
|
25439
|
+
};
|
|
25440
|
+
}
|
|
25441
|
+
var isLengthMismatch = displayValues.length !== dataLength;
|
|
25442
|
+
var isEmptyEntry = displayValues.some(function (value) {
|
|
25443
|
+
return value === undefined || value === null;
|
|
25444
|
+
});
|
|
25445
|
+
return {
|
|
25446
|
+
valuesToUse: displayValues,
|
|
25447
|
+
hasLengthMismatch: isLengthMismatch,
|
|
25448
|
+
hasEmptyEntry: isEmptyEntry
|
|
25449
|
+
};
|
|
25450
|
+
}, [dataLength, displayValues, fallbackValues]),
|
|
25451
|
+
valuesToUse = _React$useMemo2.valuesToUse,
|
|
25452
|
+
hasLengthMismatch = _React$useMemo2.hasLengthMismatch,
|
|
25453
|
+
hasEmptyEntry = _React$useMemo2.hasEmptyEntry;
|
|
25454
|
+
assert(!(hasLengthMismatch || hasEmptyEntry), SEGMENTED_BAR_ERRORS.legendDisplayValues);
|
|
25455
|
+
return valuesToUse;
|
|
25456
|
+
};
|
|
25457
|
+
|
|
25458
|
+
var LegendBox = index$c(Box)(function (_ref) {
|
|
25459
|
+
var theme = _ref.theme;
|
|
25460
|
+
return {
|
|
25461
|
+
flexDirection: 'row',
|
|
25462
|
+
alignItems: 'center',
|
|
25463
|
+
flexWrap: 'wrap',
|
|
25464
|
+
marginTop: theme.__hd__.progress.space.segmentedLegendMarginTop
|
|
25465
|
+
};
|
|
25466
|
+
});
|
|
25467
|
+
var LegendItem = index$c(Box)(function (_ref2) {
|
|
25468
|
+
var theme = _ref2.theme;
|
|
25469
|
+
return {
|
|
25470
|
+
flexDirection: 'row',
|
|
25471
|
+
alignItems: 'center',
|
|
25472
|
+
marginRight: theme.__hd__.progress.space.legendGap,
|
|
25473
|
+
marginBottom: theme.__hd__.progress.space.legendGap
|
|
25474
|
+
};
|
|
25475
|
+
});
|
|
25476
|
+
var LegendCircle = index$c(Box)(function (_ref3) {
|
|
25477
|
+
var theme = _ref3.theme,
|
|
25478
|
+
themeColor = _ref3.themeColor;
|
|
25479
|
+
return {
|
|
25480
|
+
width: theme.__hd__.progress.sizes.legendWidth,
|
|
25481
|
+
height: theme.__hd__.progress.sizes.legendHeight,
|
|
25482
|
+
borderRadius: theme.__hd__.progress.radii.legendCircle,
|
|
25483
|
+
backgroundColor: themeColor,
|
|
25484
|
+
marginRight: theme.__hd__.progress.space.legendInnerGap
|
|
25485
|
+
};
|
|
25486
|
+
});
|
|
25487
|
+
var LegendValue = index$c(Box)(function (_ref4) {
|
|
25488
|
+
var theme = _ref4.theme;
|
|
25489
|
+
return {
|
|
25490
|
+
marginLeft: theme.__hd__.progress.space.legendInnerGap
|
|
25491
|
+
};
|
|
25492
|
+
});
|
|
25493
|
+
|
|
25494
|
+
var getTextComponent = function getTextComponent(content, textElement) {
|
|
25495
|
+
if (!content) {
|
|
25496
|
+
return null;
|
|
25497
|
+
}
|
|
25498
|
+
if (typeof content === 'string' || typeof content === 'number') {
|
|
25499
|
+
return textElement;
|
|
25500
|
+
}
|
|
25501
|
+
return content;
|
|
25502
|
+
};
|
|
25503
|
+
|
|
25504
|
+
var ProgressSegmentedBarLegendItem = function ProgressSegmentedBarLegendItem(_ref) {
|
|
25505
|
+
var title = _ref.title,
|
|
25506
|
+
color = _ref.color,
|
|
25507
|
+
displayValue = _ref.displayValue,
|
|
25508
|
+
testID = _ref.testID;
|
|
25509
|
+
var renderedDisplayValue = getTextComponent(displayValue, /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
|
|
25510
|
+
intent: "muted"
|
|
25511
|
+
}, displayValue));
|
|
25512
|
+
return /*#__PURE__*/React__namespace.default.createElement(LegendItem, {
|
|
25513
|
+
testID: testID
|
|
25514
|
+
}, /*#__PURE__*/React__namespace.default.createElement(LegendCircle, {
|
|
25515
|
+
themeColor: color
|
|
25516
|
+
}), /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, null, "".concat(title, ":")), renderedDisplayValue ? /*#__PURE__*/React__namespace.default.createElement(LegendValue, null, renderedDisplayValue) : null);
|
|
25517
|
+
};
|
|
25518
|
+
|
|
25519
|
+
var StyledHeader = index$c(Box)(function (_ref) {
|
|
25520
|
+
var theme = _ref.theme;
|
|
25521
|
+
return {
|
|
25522
|
+
flexDirection: 'row',
|
|
25523
|
+
justifyContent: 'space-between',
|
|
25524
|
+
alignItems: 'baseline',
|
|
25525
|
+
flexWrap: 'wrap',
|
|
25526
|
+
marginBottom: theme.__hd__.progress.space.segmentedHeaderMarginBottom
|
|
25527
|
+
};
|
|
25528
|
+
});
|
|
25529
|
+
var StyledTrack = index$c(Box)(function (_ref2) {
|
|
25530
|
+
var theme = _ref2.theme;
|
|
25531
|
+
return {
|
|
25532
|
+
width: '100%',
|
|
25533
|
+
height: theme.__hd__.progress.sizes.barHeight,
|
|
25534
|
+
borderRadius: theme.__hd__.progress.radii["default"],
|
|
25535
|
+
overflow: 'hidden',
|
|
25536
|
+
flexDirection: 'row'
|
|
25537
|
+
};
|
|
25538
|
+
});
|
|
25539
|
+
var StyledSegment = index$c(Box)(function (_ref3) {
|
|
25540
|
+
var themeColor = _ref3.themeColor,
|
|
25541
|
+
themeWidthPercent = _ref3.themeWidthPercent;
|
|
25542
|
+
return {
|
|
25543
|
+
backgroundColor: themeColor,
|
|
25544
|
+
flexGrow: 0,
|
|
25545
|
+
flexShrink: 0,
|
|
25546
|
+
width: "".concat(themeWidthPercent, "%")
|
|
25547
|
+
};
|
|
25548
|
+
});
|
|
25549
|
+
|
|
25550
|
+
var _excluded$j = ["data", "headerConfig", "legendConfig", "style", "testID"];
|
|
25551
|
+
var ProgressSegmentedBar = function ProgressSegmentedBar(_ref) {
|
|
25552
|
+
var data = _ref.data,
|
|
25553
|
+
headerConfig = _ref.headerConfig,
|
|
25554
|
+
legendConfig = _ref.legendConfig,
|
|
25555
|
+
style = _ref.style,
|
|
25556
|
+
testID = _ref.testID,
|
|
25557
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$j);
|
|
25558
|
+
var values = React__namespace.default.useMemo(function () {
|
|
25559
|
+
return data.map(function (s) {
|
|
25560
|
+
return s.data;
|
|
25561
|
+
});
|
|
25562
|
+
}, [data]);
|
|
25563
|
+
useValidateSegmentedBarData({
|
|
25564
|
+
dataLength: data.length,
|
|
25565
|
+
values: values
|
|
25566
|
+
});
|
|
25567
|
+
var legendDisplayValues = useValidateSegmentedBarLegendDisplayValues({
|
|
25568
|
+
dataLength: data.length,
|
|
25569
|
+
legendConfig: legendConfig,
|
|
25570
|
+
fallbackValues: values
|
|
25571
|
+
});
|
|
25572
|
+
var theme = useTheme$1();
|
|
25573
|
+
var totalPercent = React__namespace.default.useMemo(function () {
|
|
25574
|
+
return values.reduce(function (acc, value) {
|
|
25575
|
+
return acc + value;
|
|
25576
|
+
}, 0);
|
|
25577
|
+
}, [values]);
|
|
25578
|
+
var ariaValueMax = totalPercent > MAX_PROGRESS_VALUE ? totalPercent : MAX_PROGRESS_VALUE;
|
|
25579
|
+
var remainderPercent = React__namespace.default.useMemo(function () {
|
|
25580
|
+
return totalPercent >= MAX_PROGRESS_VALUE ? 0 : MAX_PROGRESS_VALUE - totalPercent;
|
|
25581
|
+
}, [totalPercent]);
|
|
25582
|
+
// Mock colors
|
|
25583
|
+
var segmentColors = [theme.colors.primary, theme.colors.success, theme.colors.warning, theme.colors.error, theme.colors.info, theme.colors.archived];
|
|
25584
|
+
var headerRight = React__namespace.default.useMemo(function () {
|
|
25585
|
+
return getTextComponent(headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.right, /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
|
|
25586
|
+
intent: "muted"
|
|
25587
|
+
}, headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.right));
|
|
25588
|
+
}, [headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.right]);
|
|
25589
|
+
var showHeader = Boolean((headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.left) || headerRight);
|
|
25590
|
+
var showLegend = Boolean(legendConfig && Object.keys(legendConfig).length > 0);
|
|
25591
|
+
return /*#__PURE__*/React__namespace.default.createElement(Box, _extends$1({}, nativeProps, {
|
|
25592
|
+
style: style,
|
|
25593
|
+
testID: testID
|
|
25594
|
+
}), showHeader ? /*#__PURE__*/React__namespace.default.createElement(StyledHeader, {
|
|
25595
|
+
testID: testID ? "".concat(testID, "-header") : undefined
|
|
25596
|
+
}, headerConfig !== null && headerConfig !== void 0 && headerConfig.left ? /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
|
|
25597
|
+
variant: "regular-bold",
|
|
25598
|
+
testID: testID ? "".concat(testID, "-header-left") : undefined
|
|
25599
|
+
}, headerConfig.left) : null, headerRight ? /*#__PURE__*/React__namespace.default.createElement(Box, {
|
|
25600
|
+
testID: testID ? "".concat(testID, "-header-right") : undefined
|
|
25601
|
+
}, headerRight) : null) : null, /*#__PURE__*/React__namespace.default.createElement(StyledTrack, {
|
|
25602
|
+
testID: testID ? "".concat(testID, "-track") : undefined,
|
|
25603
|
+
accessibilityRole: "progressbar",
|
|
25604
|
+
accessibilityValue: {
|
|
25605
|
+
min: MIN_PROGRESS_VALUE,
|
|
25606
|
+
max: ariaValueMax,
|
|
25607
|
+
now: totalPercent
|
|
25608
|
+
}
|
|
25609
|
+
}, data.map(function (s, index) {
|
|
25610
|
+
var segmentColor = segmentColors[index % segmentColors.length];
|
|
25611
|
+
return /*#__PURE__*/React__namespace.default.createElement(StyledSegment, {
|
|
25612
|
+
key: "".concat(s.label, "-").concat(segmentColor),
|
|
25613
|
+
themeColor: segmentColor,
|
|
25614
|
+
themeWidthPercent: s.data,
|
|
25615
|
+
testID: testID ? "".concat(testID, "-segment-").concat(s.label) : undefined
|
|
25616
|
+
});
|
|
25617
|
+
}), remainderPercent > 0 ? /*#__PURE__*/React__namespace.default.createElement(StyledSegment, {
|
|
25618
|
+
key: "remainder",
|
|
25619
|
+
themeColor: theme.__hd__.progress.colors.segmentedRemainderBackground,
|
|
25620
|
+
themeWidthPercent: remainderPercent,
|
|
25621
|
+
testID: testID ? "".concat(testID, "-segment-remainder") : undefined
|
|
25622
|
+
}) : null), showLegend ? /*#__PURE__*/React__namespace.default.createElement(LegendBox, {
|
|
25623
|
+
testID: testID ? "".concat(testID, "-legend") : 'segmented-progress-legend'
|
|
25624
|
+
}, data.map(function (item, index) {
|
|
25625
|
+
return /*#__PURE__*/React__namespace.default.createElement(ProgressSegmentedBarLegendItem, {
|
|
25626
|
+
key: "".concat(item.label, "-").concat(segmentColors[index % segmentColors.length]),
|
|
25627
|
+
title: item.label,
|
|
25628
|
+
color: segmentColors[index % segmentColors.length],
|
|
25629
|
+
displayValue: legendDisplayValues[index],
|
|
25630
|
+
testID: testID ? "".concat(testID, "-legend-").concat(item.label) : undefined
|
|
25631
|
+
});
|
|
25632
|
+
})) : null);
|
|
25633
|
+
};
|
|
25634
|
+
|
|
25406
25635
|
var Progress = {
|
|
25407
25636
|
Circle: ProgressCircle,
|
|
25408
25637
|
Bar: ProgressBar,
|
|
25638
|
+
SegmentedBar: ProgressSegmentedBar,
|
|
25409
25639
|
Step: ProgressStep
|
|
25410
25640
|
};
|
|
25411
25641
|
|
|
@@ -26773,7 +27003,7 @@ var StyledSuccessButtonSecondary = index$c(CompoundButton)(function (_ref10) {
|
|
|
26773
27003
|
marginTop: theme.__hd__.success.space.button.secondaryCTAMarginTop
|
|
26774
27004
|
};
|
|
26775
27005
|
});
|
|
26776
|
-
var StyledSuccessModal = index$c(
|
|
27006
|
+
var StyledSuccessModal = index$c(Modal)({
|
|
26777
27007
|
height: '100%',
|
|
26778
27008
|
width: '100%'
|
|
26779
27009
|
});
|
|
@@ -27517,10 +27747,10 @@ var ScrollableTabHeader = function ScrollableTabHeader(_ref2) {
|
|
|
27517
27747
|
badge = tab.badge;
|
|
27518
27748
|
var active = selectedIndex === index;
|
|
27519
27749
|
var activeAnimated = tabsAnims[index];
|
|
27520
|
-
var outlineScale =
|
|
27750
|
+
var outlineScale = activeAnimated.interpolate({
|
|
27521
27751
|
inputRange: [0, 1],
|
|
27522
27752
|
outputRange: [0.5, 1]
|
|
27523
|
-
})
|
|
27753
|
+
});
|
|
27524
27754
|
var inactiveItem = originalInactiveItem !== null && originalInactiveItem !== void 0 ? originalInactiveItem : activeItem;
|
|
27525
27755
|
var tabItem = getTabItem$1({
|
|
27526
27756
|
item: active ? activeItem : inactiveItem,
|
|
@@ -27598,7 +27828,8 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
27598
27828
|
swipeEnabled = _ref$swipeEnabled === void 0 ? true : _ref$swipeEnabled,
|
|
27599
27829
|
componentTestID = _ref.testID,
|
|
27600
27830
|
_ref$variant = _ref.variant,
|
|
27601
|
-
variant = _ref$variant === void 0 ? 'highlighted' : _ref$variant
|
|
27831
|
+
variant = _ref$variant === void 0 ? 'highlighted' : _ref$variant,
|
|
27832
|
+
header = _ref.header;
|
|
27602
27833
|
var pagerViewRef = React.useRef(null);
|
|
27603
27834
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
27604
27835
|
var selectedTabIndex = tabs.findIndex(function (item) {
|
|
@@ -27629,20 +27860,23 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
27629
27860
|
selectedTabKey: selectedTabKey
|
|
27630
27861
|
};
|
|
27631
27862
|
}, [selectedTabKey]);
|
|
27863
|
+
var headerProps = React.useMemo(function () {
|
|
27864
|
+
return {
|
|
27865
|
+
tabs: tabs,
|
|
27866
|
+
selectedIndex: selectedTabIndex,
|
|
27867
|
+
onTabPress: onTabPress,
|
|
27868
|
+
barStyle: barStyle,
|
|
27869
|
+
insets: insets,
|
|
27870
|
+
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined,
|
|
27871
|
+
variant: variant
|
|
27872
|
+
};
|
|
27873
|
+
}, [tabs, selectedTabIndex, onTabPress, barStyle, insets, componentTestID, variant]);
|
|
27632
27874
|
return /*#__PURE__*/React__namespace.default.createElement(TabContext.Provider, {
|
|
27633
27875
|
value: tabContextProviderValue
|
|
27634
27876
|
}, /*#__PURE__*/React__namespace.default.createElement(TabContainer, {
|
|
27635
27877
|
style: containerStyle,
|
|
27636
27878
|
testID: componentTestID
|
|
27637
|
-
}, /*#__PURE__*/React__namespace.default.createElement(ScrollableTabHeader, {
|
|
27638
|
-
tabs: tabs,
|
|
27639
|
-
selectedIndex: selectedTabIndex,
|
|
27640
|
-
onTabPress: onTabPress,
|
|
27641
|
-
barStyle: barStyle,
|
|
27642
|
-
insets: insets,
|
|
27643
|
-
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined,
|
|
27644
|
-
variant: variant
|
|
27645
|
-
}), /*#__PURE__*/React__namespace.default.createElement(PagerView__default.default, {
|
|
27879
|
+
}, header ? header(headerProps) : /*#__PURE__*/React__namespace.default.createElement(ScrollableTabHeader, headerProps), /*#__PURE__*/React__namespace.default.createElement(PagerView__default.default, {
|
|
27646
27880
|
initialPage: selectedTabIndex,
|
|
27647
27881
|
ref: pagerViewRef,
|
|
27648
27882
|
onPageScrollStateChanged: onPageScrollStateChanged,
|
|
@@ -27819,6 +28053,7 @@ var Tabs = function Tabs(_ref2) {
|
|
|
27819
28053
|
};
|
|
27820
28054
|
var index$2 = Object.assign(Tabs, {
|
|
27821
28055
|
Scroll: ScrollableTab,
|
|
28056
|
+
ScrollHeader: ScrollableTabHeader,
|
|
27822
28057
|
useIsFocused: useIsFocused
|
|
27823
28058
|
});
|
|
27824
28059
|
|