@hero-design/rn 8.99.4 → 8.100.0-alpha.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 +17 -0
- package/coverage/clover.xml +4923 -0
- package/coverage/coverage-final.json +378 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +1511 -0
- package/coverage/lcov-report/niceNumbers.ts.html +328 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/components/Accordion/AccordionItem.tsx.html +232 -0
- package/coverage/lcov-report/src/components/Accordion/StyledAccordion.tsx.html +172 -0
- package/coverage/lcov-report/src/components/Accordion/index.html +146 -0
- package/coverage/lcov-report/src/components/Accordion/index.tsx.html +334 -0
- package/coverage/lcov-report/src/components/Alert/StyledAlert.tsx.html +304 -0
- package/coverage/lcov-report/src/components/Alert/index.html +131 -0
- package/coverage/lcov-report/src/components/Alert/index.tsx.html +556 -0
- package/coverage/lcov-report/src/components/AnimatedScroller/AnimatedFAB.tsx.html +550 -0
- package/coverage/lcov-report/src/components/AnimatedScroller/AnimatedScrollable.tsx.html +295 -0
- package/coverage/lcov-report/src/components/AnimatedScroller/FlatListWithFAB.tsx.html +154 -0
- package/coverage/lcov-report/src/components/AnimatedScroller/ScrollViewWithFAB.tsx.html +148 -0
- package/coverage/lcov-report/src/components/AnimatedScroller/SectionListWithFAB.tsx.html +163 -0
- package/coverage/lcov-report/src/components/AnimatedScroller/index.html +191 -0
- package/coverage/lcov-report/src/components/AnimatedScroller/index.tsx.html +100 -0
- package/coverage/lcov-report/src/components/AppCue/StyledAppCue.tsx.html +301 -0
- package/coverage/lcov-report/src/components/AppCue/index.html +146 -0
- package/coverage/lcov-report/src/components/AppCue/index.tsx.html +658 -0
- package/coverage/lcov-report/src/components/AppCue/utils.ts.html +604 -0
- package/coverage/lcov-report/src/components/Attachment/StyledAttachment.tsx.html +217 -0
- package/coverage/lcov-report/src/components/Attachment/index.html +131 -0
- package/coverage/lcov-report/src/components/Attachment/index.tsx.html +322 -0
- package/coverage/lcov-report/src/components/Avatar/Avatar.tsx.html +367 -0
- package/coverage/lcov-report/src/components/Avatar/AvatarStack/StyledAvatarStack.tsx.html +334 -0
- package/coverage/lcov-report/src/components/Avatar/AvatarStack/index.html +146 -0
- package/coverage/lcov-report/src/components/Avatar/AvatarStack/index.tsx.html +523 -0
- package/coverage/lcov-report/src/components/Avatar/AvatarStack/utils.ts.html +148 -0
- package/coverage/lcov-report/src/components/Avatar/StyledAvatar.tsx.html +286 -0
- package/coverage/lcov-report/src/components/Avatar/index.html +146 -0
- package/coverage/lcov-report/src/components/Avatar/index.ts.html +103 -0
- package/coverage/lcov-report/src/components/Badge/Count.tsx.html +265 -0
- package/coverage/lcov-report/src/components/Badge/Status.tsx.html +322 -0
- package/coverage/lcov-report/src/components/Badge/StyledBadge.tsx.html +397 -0
- package/coverage/lcov-report/src/components/Badge/constants.ts.html +88 -0
- package/coverage/lcov-report/src/components/Badge/index.html +176 -0
- package/coverage/lcov-report/src/components/Badge/index.tsx.html +358 -0
- package/coverage/lcov-report/src/components/BottomNavigation/StyledBottomNavigation.tsx.html +259 -0
- package/coverage/lcov-report/src/components/BottomNavigation/index.html +131 -0
- package/coverage/lcov-report/src/components/BottomNavigation/index.tsx.html +571 -0
- package/coverage/lcov-report/src/components/BottomSheet/BottomSheetContext.ts.html +118 -0
- package/coverage/lcov-report/src/components/BottomSheet/Footer.tsx.html +145 -0
- package/coverage/lcov-report/src/components/BottomSheet/Header.tsx.html +304 -0
- package/coverage/lcov-report/src/components/BottomSheet/ScrollView.tsx.html +256 -0
- package/coverage/lcov-report/src/components/BottomSheet/StyledBottomSheet.tsx.html +403 -0
- package/coverage/lcov-report/src/components/BottomSheet/index.html +191 -0
- package/coverage/lcov-report/src/components/BottomSheet/index.tsx.html +793 -0
- package/coverage/lcov-report/src/components/Box/StyledBox.tsx.html +250 -0
- package/coverage/lcov-report/src/components/Box/config.ts.html +700 -0
- package/coverage/lcov-report/src/components/Box/index.html +146 -0
- package/coverage/lcov-report/src/components/Box/index.tsx.html +124 -0
- package/coverage/lcov-report/src/components/Button/Button.tsx.html +1045 -0
- package/coverage/lcov-report/src/components/Button/IconButton.tsx.html +292 -0
- package/coverage/lcov-report/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx.html +307 -0
- package/coverage/lcov-report/src/components/Button/LoadingIndicator/index.html +131 -0
- package/coverage/lcov-report/src/components/Button/LoadingIndicator/index.tsx.html +511 -0
- package/coverage/lcov-report/src/components/Button/StyledButton.tsx.html +1561 -0
- package/coverage/lcov-report/src/components/Button/UtilityButton/StyledUtilityButton.tsx.html +160 -0
- package/coverage/lcov-report/src/components/Button/UtilityButton/index.html +131 -0
- package/coverage/lcov-report/src/components/Button/UtilityButton/index.tsx.html +259 -0
- package/coverage/lcov-report/src/components/Button/index.html +161 -0
- package/coverage/lcov-report/src/components/Button/index.tsx.html +136 -0
- package/coverage/lcov-report/src/components/Calendar/CalendarRange.tsx.html +1111 -0
- package/coverage/lcov-report/src/components/Calendar/CalendarRangeConnector.tsx.html +289 -0
- package/coverage/lcov-report/src/components/Calendar/CalendarRowItem.tsx.html +286 -0
- package/coverage/lcov-report/src/components/Calendar/StyledCalendar.tsx.html +397 -0
- package/coverage/lcov-report/src/components/Calendar/helpers.ts.html +394 -0
- package/coverage/lcov-report/src/components/Calendar/index.html +191 -0
- package/coverage/lcov-report/src/components/Calendar/index.tsx.html +1171 -0
- package/coverage/lcov-report/src/components/Card/DataCard/StyledDataCard.tsx.html +160 -0
- package/coverage/lcov-report/src/components/Card/DataCard/index.html +131 -0
- package/coverage/lcov-report/src/components/Card/DataCard/index.tsx.html +193 -0
- package/coverage/lcov-report/src/components/Card/StyledCard.tsx.html +160 -0
- package/coverage/lcov-report/src/components/Card/index.html +131 -0
- package/coverage/lcov-report/src/components/Card/index.tsx.html +232 -0
- package/coverage/lcov-report/src/components/Carousel/CardCarousel.tsx.html +844 -0
- package/coverage/lcov-report/src/components/Carousel/CarouselItem.tsx.html +313 -0
- package/coverage/lcov-report/src/components/Carousel/StyledCardCarousel.tsx.html +172 -0
- package/coverage/lcov-report/src/components/Carousel/StyledCarousel.tsx.html +325 -0
- package/coverage/lcov-report/src/components/Carousel/contants.ts.html +115 -0
- package/coverage/lcov-report/src/components/Carousel/index.html +191 -0
- package/coverage/lcov-report/src/components/Carousel/index.tsx.html +775 -0
- package/coverage/lcov-report/src/components/Chart/ChartSelect/StyledChartSelect.tsx.html +112 -0
- package/coverage/lcov-report/src/components/Chart/ChartSelect/index.html +131 -0
- package/coverage/lcov-report/src/components/Chart/ChartSelect/index.tsx.html +496 -0
- package/coverage/lcov-report/src/components/Chart/ColumnChart/ColumnChartContent.tsx.html +337 -0
- package/coverage/lcov-report/src/components/Chart/ColumnChart/Segment.tsx.html +283 -0
- package/coverage/lcov-report/src/components/Chart/ColumnChart/StackedSegment.tsx.html +382 -0
- package/coverage/lcov-report/src/components/Chart/ColumnChart/StyledColumnChart.tsx.html +112 -0
- package/coverage/lcov-report/src/components/Chart/ColumnChart/index.html +176 -0
- package/coverage/lcov-report/src/components/Chart/ColumnChart/index.tsx.html +733 -0
- package/coverage/lcov-report/src/components/Chart/Line/Line.tsx.html +328 -0
- package/coverage/lcov-report/src/components/Chart/Line/index.html +131 -0
- package/coverage/lcov-report/src/components/Chart/Line/index.tsx.html +514 -0
- package/coverage/lcov-report/src/components/Chart/StyledChart.tsx.html +133 -0
- package/coverage/lcov-report/src/components/Chart/index.html +131 -0
- package/coverage/lcov-report/src/components/Chart/index.tsx.html +124 -0
- package/coverage/lcov-report/src/components/Chart/shared/AxisLabel.tsx.html +160 -0
- package/coverage/lcov-report/src/components/Chart/shared/ChartFrame.tsx.html +478 -0
- package/coverage/lcov-report/src/components/Chart/shared/ChartHeader.tsx.html +142 -0
- package/coverage/lcov-report/src/components/Chart/shared/EmptyState.tsx.html +226 -0
- package/coverage/lcov-report/src/components/Chart/shared/XAxis.tsx.html +292 -0
- package/coverage/lcov-report/src/components/Chart/shared/XAxisGrid.tsx.html +211 -0
- package/coverage/lcov-report/src/components/Chart/shared/YAxis.tsx.html +397 -0
- package/coverage/lcov-report/src/components/Chart/shared/YAxisGrid.tsx.html +259 -0
- package/coverage/lcov-report/src/components/Chart/shared/constants.ts.html +91 -0
- package/coverage/lcov-report/src/components/Chart/shared/hooks/index.html +161 -0
- package/coverage/lcov-report/src/components/Chart/shared/hooks/useColorScale.ts.html +160 -0
- package/coverage/lcov-report/src/components/Chart/shared/hooks/useGenerateTicks.ts.html +166 -0
- package/coverage/lcov-report/src/components/Chart/shared/hooks/useScaleBandX.ts.html +136 -0
- package/coverage/lcov-report/src/components/Chart/shared/hooks/useScaleLinearY.ts.html +175 -0
- package/coverage/lcov-report/src/components/Chart/shared/index.html +251 -0
- package/coverage/lcov-report/src/components/Chart/shared/niceNumbers.ts.html +289 -0
- package/coverage/lcov-report/src/components/Checkbox/StyledCheckbox.tsx.html +217 -0
- package/coverage/lcov-report/src/components/Checkbox/index.html +131 -0
- package/coverage/lcov-report/src/components/Checkbox/index.tsx.html +448 -0
- package/coverage/lcov-report/src/components/Chip/StyledChip.tsx.html +445 -0
- package/coverage/lcov-report/src/components/Chip/index.html +131 -0
- package/coverage/lcov-report/src/components/Chip/index.tsx.html +415 -0
- package/coverage/lcov-report/src/components/Collapse/StyledCollapse.tsx.html +157 -0
- package/coverage/lcov-report/src/components/Collapse/index.html +131 -0
- package/coverage/lcov-report/src/components/Collapse/index.tsx.html +370 -0
- package/coverage/lcov-report/src/components/ContentNavigator/StyledContentNavigator.tsx.html +115 -0
- package/coverage/lcov-report/src/components/ContentNavigator/index.html +131 -0
- package/coverage/lcov-report/src/components/ContentNavigator/index.tsx.html +397 -0
- package/coverage/lcov-report/src/components/DatePicker/DatePickerAndroid.tsx.html +340 -0
- package/coverage/lcov-report/src/components/DatePicker/DatePickerCalendar.tsx.html +571 -0
- package/coverage/lcov-report/src/components/DatePicker/DatePickerIOS.tsx.html +361 -0
- package/coverage/lcov-report/src/components/DatePicker/Dialog/AndroidDialog.tsx.html +289 -0
- package/coverage/lcov-report/src/components/DatePicker/Dialog/IOSDialog.tsx.html +358 -0
- package/coverage/lcov-report/src/components/DatePicker/Dialog/index.html +131 -0
- package/coverage/lcov-report/src/components/DatePicker/StyledDatePicker.tsx.html +112 -0
- package/coverage/lcov-report/src/components/DatePicker/hooks/index.html +146 -0
- package/coverage/lcov-report/src/components/DatePicker/hooks/useCalculateDate.tsx.html +187 -0
- package/coverage/lcov-report/src/components/DatePicker/hooks/useFormatDate.ts.html +160 -0
- package/coverage/lcov-report/src/components/DatePicker/hooks/utils.ts.html +175 -0
- package/coverage/lcov-report/src/components/DatePicker/index.html +176 -0
- package/coverage/lcov-report/src/components/DatePicker/index.tsx.html +175 -0
- package/coverage/lcov-report/src/components/Divider/StyledDivider.tsx.html +169 -0
- package/coverage/lcov-report/src/components/Divider/index.html +131 -0
- package/coverage/lcov-report/src/components/Divider/index.tsx.html +205 -0
- package/coverage/lcov-report/src/components/Drawer/DragableDrawer/helpers.ts.html +223 -0
- package/coverage/lcov-report/src/components/Drawer/DragableDrawer/index.html +131 -0
- package/coverage/lcov-report/src/components/Drawer/DragableDrawer/index.tsx.html +697 -0
- package/coverage/lcov-report/src/components/Drawer/StyledDrawer.tsx.html +337 -0
- package/coverage/lcov-report/src/components/Drawer/index.html +131 -0
- package/coverage/lcov-report/src/components/Drawer/index.tsx.html +376 -0
- package/coverage/lcov-report/src/components/FAB/ActionGroup/ActionItem.tsx.html +313 -0
- package/coverage/lcov-report/src/components/FAB/ActionGroup/StyledActionGroup.tsx.html +289 -0
- package/coverage/lcov-report/src/components/FAB/ActionGroup/StyledActionItem.tsx.html +175 -0
- package/coverage/lcov-report/src/components/FAB/ActionGroup/index.html +161 -0
- package/coverage/lcov-report/src/components/FAB/ActionGroup/index.tsx.html +715 -0
- package/coverage/lcov-report/src/components/FAB/AnimatedFABIcon.tsx.html +226 -0
- package/coverage/lcov-report/src/components/FAB/FAB.tsx.html +871 -0
- package/coverage/lcov-report/src/components/FAB/Pair/StyledFAB.tsx.html +142 -0
- package/coverage/lcov-report/src/components/FAB/Pair/index.html +131 -0
- package/coverage/lcov-report/src/components/FAB/Pair/index.tsx.html +223 -0
- package/coverage/lcov-report/src/components/FAB/StyledFAB.tsx.html +229 -0
- package/coverage/lcov-report/src/components/FAB/index.html +161 -0
- package/coverage/lcov-report/src/components/FAB/index.tsx.html +109 -0
- package/coverage/lcov-report/src/components/FloatingIsland/StyledFloatingIsland.tsx.html +181 -0
- package/coverage/lcov-report/src/components/FloatingIsland/index.html +131 -0
- package/coverage/lcov-report/src/components/FloatingIsland/index.tsx.html +367 -0
- package/coverage/lcov-report/src/components/HeroDesignProvider/index.html +116 -0
- package/coverage/lcov-report/src/components/HeroDesignProvider/index.tsx.html +166 -0
- package/coverage/lcov-report/src/components/Icon/AnimatedIcon.tsx.html +226 -0
- package/coverage/lcov-report/src/components/Icon/HeroIcon/index.html +116 -0
- package/coverage/lcov-report/src/components/Icon/HeroIcon/index.tsx.html +238 -0
- package/coverage/lcov-report/src/components/Icon/IconList.ts.html +1486 -0
- package/coverage/lcov-report/src/components/Icon/index.html +161 -0
- package/coverage/lcov-report/src/components/Icon/index.tsx.html +412 -0
- package/coverage/lcov-report/src/components/Icon/utils.ts.html +103 -0
- package/coverage/lcov-report/src/components/Image/index.html +116 -0
- package/coverage/lcov-report/src/components/Image/index.tsx.html +238 -0
- package/coverage/lcov-report/src/components/List/BasicListItem.tsx.html +442 -0
- package/coverage/lcov-report/src/components/List/ListItem.tsx.html +565 -0
- package/coverage/lcov-report/src/components/List/StyledBasicListItem.tsx.html +187 -0
- package/coverage/lcov-report/src/components/List/StyledListItem.tsx.html +325 -0
- package/coverage/lcov-report/src/components/List/index.html +176 -0
- package/coverage/lcov-report/src/components/List/index.tsx.html +127 -0
- package/coverage/lcov-report/src/components/LocaleProvider/context.ts.html +106 -0
- package/coverage/lcov-report/src/components/LocaleProvider/hooks.ts.html +142 -0
- package/coverage/lcov-report/src/components/LocaleProvider/index.html +161 -0
- package/coverage/lcov-report/src/components/LocaleProvider/index.tsx.html +166 -0
- package/coverage/lcov-report/src/components/LocaleProvider/utils.ts.html +127 -0
- package/coverage/lcov-report/src/components/MapPin/Focussed.tsx.html +169 -0
- package/coverage/lcov-report/src/components/MapPin/StyledMapPin.tsx.html +301 -0
- package/coverage/lcov-report/src/components/MapPin/index.html +146 -0
- package/coverage/lcov-report/src/components/MapPin/index.tsx.html +274 -0
- package/coverage/lcov-report/src/components/Modal/index.html +116 -0
- package/coverage/lcov-report/src/components/Modal/index.tsx.html +736 -0
- package/coverage/lcov-report/src/components/PageControl/StyledPageControl.tsx.html +136 -0
- package/coverage/lcov-report/src/components/PageControl/index.html +131 -0
- package/coverage/lcov-report/src/components/PageControl/index.tsx.html +319 -0
- package/coverage/lcov-report/src/components/PinInput/PinCell.tsx.html +193 -0
- package/coverage/lcov-report/src/components/PinInput/StyledPinInput.tsx.html +358 -0
- package/coverage/lcov-report/src/components/PinInput/index.html +146 -0
- package/coverage/lcov-report/src/components/PinInput/index.tsx.html +817 -0
- package/coverage/lcov-report/src/components/Portal/PortalHost.tsx.html +166 -0
- package/coverage/lcov-report/src/components/Portal/PortalProvider.tsx.html +190 -0
- package/coverage/lcov-report/src/components/Portal/constants.ts.html +115 -0
- package/coverage/lcov-report/src/components/Portal/contexts.ts.html +127 -0
- package/coverage/lcov-report/src/components/Portal/index.html +221 -0
- package/coverage/lcov-report/src/components/Portal/index.tsx.html +283 -0
- package/coverage/lcov-report/src/components/Portal/reducer.ts.html +403 -0
- package/coverage/lcov-report/src/components/Portal/usePortal.ts.html +235 -0
- package/coverage/lcov-report/src/components/Portal/usePortalState.ts.html +118 -0
- package/coverage/lcov-report/src/components/Progress/ProgressBar.tsx.html +358 -0
- package/coverage/lcov-report/src/components/Progress/ProgressCircle.tsx.html +460 -0
- package/coverage/lcov-report/src/components/Progress/ProgressStep.tsx.html +352 -0
- package/coverage/lcov-report/src/components/Progress/StyledProgressBar.tsx.html +181 -0
- package/coverage/lcov-report/src/components/Progress/StyledProgressCircle.tsx.html +163 -0
- package/coverage/lcov-report/src/components/Progress/StyledStep.tsx.html +235 -0
- package/coverage/lcov-report/src/components/Progress/constants.ts.html +133 -0
- package/coverage/lcov-report/src/components/Progress/index.html +221 -0
- package/coverage/lcov-report/src/components/Progress/index.tsx.html +118 -0
- package/coverage/lcov-report/src/components/Radio/Radio.tsx.html +331 -0
- package/coverage/lcov-report/src/components/Radio/RadioGroup.tsx.html +343 -0
- package/coverage/lcov-report/src/components/Radio/StyledRadio.tsx.html +211 -0
- package/coverage/lcov-report/src/components/Radio/index.html +161 -0
- package/coverage/lcov-report/src/components/Radio/index.tsx.html +100 -0
- package/coverage/lcov-report/src/components/Rate/StyledRate.tsx.html +133 -0
- package/coverage/lcov-report/src/components/Rate/index.html +131 -0
- package/coverage/lcov-report/src/components/Rate/index.tsx.html +355 -0
- package/coverage/lcov-report/src/components/RefreshControl/index.html +116 -0
- package/coverage/lcov-report/src/components/RefreshControl/index.tsx.html +160 -0
- package/coverage/lcov-report/src/components/RichTextEditor/EditorEvent.ts.html +106 -0
- package/coverage/lcov-report/src/components/RichTextEditor/EditorToolbar.tsx.html +736 -0
- package/coverage/lcov-report/src/components/RichTextEditor/MentionList.tsx.html +382 -0
- package/coverage/lcov-report/src/components/RichTextEditor/RichTextEditor.tsx.html +1450 -0
- package/coverage/lcov-report/src/components/RichTextEditor/StyledRichTextEditor.ts.html +139 -0
- package/coverage/lcov-report/src/components/RichTextEditor/StyledToolbar.ts.html +181 -0
- package/coverage/lcov-report/src/components/RichTextEditor/constants.ts.html +112 -0
- package/coverage/lcov-report/src/components/RichTextEditor/heroEditorApp.ts.html +94 -0
- package/coverage/lcov-report/src/components/RichTextEditor/index.html +236 -0
- package/coverage/lcov-report/src/components/RichTextEditor/index.tsx.html +118 -0
- package/coverage/lcov-report/src/components/RichTextEditor/utils/events.ts.html +178 -0
- package/coverage/lcov-report/src/components/RichTextEditor/utils/index.html +131 -0
- package/coverage/lcov-report/src/components/RichTextEditor/utils/rnWebView.ts.html +142 -0
- package/coverage/lcov-report/src/components/Search/SearchOneLine.tsx.html +787 -0
- package/coverage/lcov-report/src/components/Search/SearchSuffixIcon.tsx.html +229 -0
- package/coverage/lcov-report/src/components/Search/SearchTwoLine.tsx.html +295 -0
- package/coverage/lcov-report/src/components/Search/StyledSearch.tsx.html +310 -0
- package/coverage/lcov-report/src/components/Search/index.html +191 -0
- package/coverage/lcov-report/src/components/Search/index.tsx.html +136 -0
- package/coverage/lcov-report/src/components/Search/utils.tsx.html +178 -0
- package/coverage/lcov-report/src/components/SectionHeading/StyledHeading.tsx.html +190 -0
- package/coverage/lcov-report/src/components/SectionHeading/index.html +131 -0
- package/coverage/lcov-report/src/components/SectionHeading/index.tsx.html +445 -0
- package/coverage/lcov-report/src/components/Select/BaseOptionList.tsx.html +310 -0
- package/coverage/lcov-report/src/components/Select/Footer.tsx.html +109 -0
- package/coverage/lcov-report/src/components/Select/MultiSelect/Option.tsx.html +229 -0
- package/coverage/lcov-report/src/components/Select/MultiSelect/OptionList.tsx.html +301 -0
- package/coverage/lcov-report/src/components/Select/MultiSelect/index.html +161 -0
- package/coverage/lcov-report/src/components/Select/MultiSelect/index.tsx.html +685 -0
- package/coverage/lcov-report/src/components/Select/MultiSelect/utils.ts.html +121 -0
- package/coverage/lcov-report/src/components/Select/SingleSelect/Option.tsx.html +178 -0
- package/coverage/lcov-report/src/components/Select/SingleSelect/OptionList.tsx.html +325 -0
- package/coverage/lcov-report/src/components/Select/SingleSelect/StyledSingleSelect.tsx.html +103 -0
- package/coverage/lcov-report/src/components/Select/SingleSelect/index.html +161 -0
- package/coverage/lcov-report/src/components/Select/SingleSelect/index.tsx.html +574 -0
- package/coverage/lcov-report/src/components/Select/StyledSelect.tsx.html +151 -0
- package/coverage/lcov-report/src/components/Select/helpers.tsx.html +298 -0
- package/coverage/lcov-report/src/components/Select/index.html +176 -0
- package/coverage/lcov-report/src/components/Select/index.tsx.html +115 -0
- package/coverage/lcov-report/src/components/Skeleton/StyledSkeleton.tsx.html +160 -0
- package/coverage/lcov-report/src/components/Skeleton/index.html +131 -0
- package/coverage/lcov-report/src/components/Skeleton/index.tsx.html +475 -0
- package/coverage/lcov-report/src/components/Slider/RangeSlider.tsx.html +646 -0
- package/coverage/lcov-report/src/components/Slider/SingleSlider.tsx.html +352 -0
- package/coverage/lcov-report/src/components/Slider/StyledRangeSlider.tsx.html +133 -0
- package/coverage/lcov-report/src/components/Slider/index.html +161 -0
- package/coverage/lcov-report/src/components/Slider/index.tsx.html +127 -0
- package/coverage/lcov-report/src/components/Spinner/AnimatedSpinner.tsx.html +295 -0
- package/coverage/lcov-report/src/components/Spinner/StyledSpinner.tsx.html +304 -0
- package/coverage/lcov-report/src/components/Spinner/index.html +146 -0
- package/coverage/lcov-report/src/components/Spinner/index.tsx.html +190 -0
- package/coverage/lcov-report/src/components/StatusScreens/Empty/StyledEmpty.tsx.html +223 -0
- package/coverage/lcov-report/src/components/StatusScreens/Empty/index.html +131 -0
- package/coverage/lcov-report/src/components/StatusScreens/Empty/index.tsx.html +376 -0
- package/coverage/lcov-report/src/components/StatusScreens/Error/StyledError.tsx.html +355 -0
- package/coverage/lcov-report/src/components/StatusScreens/Error/index.html +131 -0
- package/coverage/lcov-report/src/components/StatusScreens/Error/index.tsx.html +961 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Add.tsx.html +232 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Boom.tsx.html +268 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Build.tsx.html +220 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Clock.tsx.html +199 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Confetti.tsx.html +319 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Connections.tsx.html +256 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Error.tsx.html +250 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Info.tsx.html +190 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/List.tsx.html +196 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Location.tsx.html +196 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Merge.tsx.html +262 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Notifications.tsx.html +163 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Search.tsx.html +193 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Star.tsx.html +196 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/Success.tsx.html +208 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/User.tsx.html +214 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/assets/index.html +341 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/index.html +116 -0
- package/coverage/lcov-report/src/components/StatusScreens/StatusIcon/index.tsx.html +274 -0
- package/coverage/lcov-report/src/components/StatusScreens/Success/StyledSuccess.tsx.html +340 -0
- package/coverage/lcov-report/src/components/StatusScreens/Success/index.html +131 -0
- package/coverage/lcov-report/src/components/StatusScreens/Success/index.tsx.html +631 -0
- package/coverage/lcov-report/src/components/Swipeable/StyledSwipeable.tsx.html +118 -0
- package/coverage/lcov-report/src/components/Swipeable/SwipeableAction.tsx.html +220 -0
- package/coverage/lcov-report/src/components/Swipeable/index.html +146 -0
- package/coverage/lcov-report/src/components/Swipeable/index.tsx.html +646 -0
- package/coverage/lcov-report/src/components/Switch/SelectorSwitch/Option.tsx.html +352 -0
- package/coverage/lcov-report/src/components/Switch/SelectorSwitch/StyledSelectorSwitch.tsx.html +193 -0
- package/coverage/lcov-report/src/components/Switch/SelectorSwitch/index.html +146 -0
- package/coverage/lcov-report/src/components/Switch/SelectorSwitch/index.tsx.html +442 -0
- package/coverage/lcov-report/src/components/Switch/StyledSwitch.tsx.html +175 -0
- package/coverage/lcov-report/src/components/Switch/index.html +131 -0
- package/coverage/lcov-report/src/components/Switch/index.tsx.html +346 -0
- package/coverage/lcov-report/src/components/Tabs/ActiveTabIndicator.tsx.html +196 -0
- package/coverage/lcov-report/src/components/Tabs/SceneView.tsx.html +283 -0
- package/coverage/lcov-report/src/components/Tabs/ScrollableTabs.tsx.html +418 -0
- package/coverage/lcov-report/src/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.tsx.html +814 -0
- package/coverage/lcov-report/src/components/Tabs/ScrollableTabsHeader/hooks/index.html +131 -0
- package/coverage/lcov-report/src/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.ts.html +220 -0
- package/coverage/lcov-report/src/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.ts.html +358 -0
- package/coverage/lcov-report/src/components/Tabs/ScrollableTabsHeader/index.html +116 -0
- package/coverage/lcov-report/src/components/Tabs/StyledScrollableTabs.tsx.html +307 -0
- package/coverage/lcov-report/src/components/Tabs/StyledTabs.tsx.html +250 -0
- package/coverage/lcov-report/src/components/Tabs/TabWithBadge.tsx.html +247 -0
- package/coverage/lcov-report/src/components/Tabs/index.html +251 -0
- package/coverage/lcov-report/src/components/Tabs/index.tsx.html +847 -0
- package/coverage/lcov-report/src/components/Tabs/useHandlePageScroll.tsx.html +181 -0
- package/coverage/lcov-report/src/components/Tabs/useIsFocused.tsx.html +142 -0
- package/coverage/lcov-report/src/components/Tabs/utils.ts.html +124 -0
- package/coverage/lcov-report/src/components/Tag/StyledTag.tsx.html +190 -0
- package/coverage/lcov-report/src/components/Tag/index.html +131 -0
- package/coverage/lcov-report/src/components/Tag/index.tsx.html +268 -0
- package/coverage/lcov-report/src/components/TextInput/StyledTextInput.tsx.html +514 -0
- package/coverage/lcov-report/src/components/TextInput/index.html +131 -0
- package/coverage/lcov-report/src/components/TextInput/index.tsx.html +1693 -0
- package/coverage/lcov-report/src/components/TimePicker/StyledTimePicker.tsx.html +112 -0
- package/coverage/lcov-report/src/components/TimePicker/TimePickerAndroid.tsx.html +277 -0
- package/coverage/lcov-report/src/components/TimePicker/TimePickerIOS.tsx.html +376 -0
- package/coverage/lcov-report/src/components/TimePicker/index.html +161 -0
- package/coverage/lcov-report/src/components/TimePicker/index.tsx.html +130 -0
- package/coverage/lcov-report/src/components/Toast/StyledToast.tsx.html +334 -0
- package/coverage/lcov-report/src/components/Toast/Toast.tsx.html +505 -0
- package/coverage/lcov-report/src/components/Toast/ToastContainer.tsx.html +355 -0
- package/coverage/lcov-report/src/components/Toast/ToastContext.ts.html +214 -0
- package/coverage/lcov-report/src/components/Toast/ToastProvider.tsx.html +280 -0
- package/coverage/lcov-report/src/components/Toast/index.html +191 -0
- package/coverage/lcov-report/src/components/Toast/index.tsx.html +118 -0
- package/coverage/lcov-report/src/components/Toolbar/StyledToolbar.tsx.html +460 -0
- package/coverage/lcov-report/src/components/Toolbar/ToolbarGroup.tsx.html +196 -0
- package/coverage/lcov-report/src/components/Toolbar/ToolbarItem.tsx.html +448 -0
- package/coverage/lcov-report/src/components/Toolbar/ToolbarMessage.tsx.html +601 -0
- package/coverage/lcov-report/src/components/Toolbar/index.html +176 -0
- package/coverage/lcov-report/src/components/Toolbar/index.tsx.html +151 -0
- package/coverage/lcov-report/src/components/Typography/Body/StyledBody.tsx.html +223 -0
- package/coverage/lcov-report/src/components/Typography/Body/index.html +131 -0
- package/coverage/lcov-report/src/components/Typography/Body/index.tsx.html +301 -0
- package/coverage/lcov-report/src/components/Typography/Caption/StyledCaption.tsx.html +136 -0
- package/coverage/lcov-report/src/components/Typography/Caption/index.html +131 -0
- package/coverage/lcov-report/src/components/Typography/Caption/index.tsx.html +271 -0
- package/coverage/lcov-report/src/components/Typography/Label/StyledLabel.tsx.html +127 -0
- package/coverage/lcov-report/src/components/Typography/Label/index.html +131 -0
- package/coverage/lcov-report/src/components/Typography/Label/index.tsx.html +253 -0
- package/coverage/lcov-report/src/components/Typography/Text/StyledText.tsx.html +244 -0
- package/coverage/lcov-report/src/components/Typography/Text/index.html +131 -0
- package/coverage/lcov-report/src/components/Typography/Text/index.tsx.html +361 -0
- package/coverage/lcov-report/src/components/Typography/Title/StyledTitle.tsx.html +145 -0
- package/coverage/lcov-report/src/components/Typography/Title/index.html +131 -0
- package/coverage/lcov-report/src/components/Typography/Title/index.tsx.html +298 -0
- package/coverage/lcov-report/src/components/Typography/index.html +131 -0
- package/coverage/lcov-report/src/components/Typography/index.tsx.html +163 -0
- package/coverage/lcov-report/src/components/Typography/types.ts.html +142 -0
- package/coverage/lcov-report/src/index.html +131 -0
- package/coverage/lcov-report/src/index.ts.html +571 -0
- package/coverage/lcov-report/src/locales/en_AU.ts.html +115 -0
- package/coverage/lcov-report/src/locales/en_CA.ts.html +115 -0
- package/coverage/lcov-report/src/locales/index.html +146 -0
- package/coverage/lcov-report/src/locales/index.ts.html +106 -0
- package/coverage/lcov-report/src/testHelpers/index.html +116 -0
- package/coverage/lcov-report/src/testHelpers/renderWithTheme.tsx.html +133 -0
- package/coverage/lcov-report/src/theme/ThemeProvider.ts.html +142 -0
- package/coverage/lcov-report/src/theme/ThemeSwitcher.tsx.html +310 -0
- package/coverage/lcov-report/src/theme/components/accordion.ts.html +142 -0
- package/coverage/lcov-report/src/theme/components/alert.ts.html +229 -0
- package/coverage/lcov-report/src/theme/components/appCue.ts.html +151 -0
- package/coverage/lcov-report/src/theme/components/attachment.ts.html +169 -0
- package/coverage/lcov-report/src/theme/components/avatar.ts.html +259 -0
- package/coverage/lcov-report/src/theme/components/badge.ts.html +358 -0
- package/coverage/lcov-report/src/theme/components/bottomNavigation.ts.html +172 -0
- package/coverage/lcov-report/src/theme/components/bottomSheet.ts.html +193 -0
- package/coverage/lcov-report/src/theme/components/button.ts.html +445 -0
- package/coverage/lcov-report/src/theme/components/calendar.ts.html +214 -0
- package/coverage/lcov-report/src/theme/components/card.ts.html +172 -0
- package/coverage/lcov-report/src/theme/components/cardCarousel.ts.html +160 -0
- package/coverage/lcov-report/src/theme/components/carousel.ts.html +217 -0
- package/coverage/lcov-report/src/theme/components/chart.ts.html +163 -0
- package/coverage/lcov-report/src/theme/components/checkbox.ts.html +229 -0
- package/coverage/lcov-report/src/theme/components/chip.ts.html +235 -0
- package/coverage/lcov-report/src/theme/components/columnChart.ts.html +130 -0
- package/coverage/lcov-report/src/theme/components/contentNavigator.ts.html +118 -0
- package/coverage/lcov-report/src/theme/components/datePicker.ts.html +118 -0
- package/coverage/lcov-report/src/theme/components/divider.ts.html +154 -0
- package/coverage/lcov-report/src/theme/components/drawer.ts.html +190 -0
- package/coverage/lcov-report/src/theme/components/empty.ts.html +223 -0
- package/coverage/lcov-report/src/theme/components/error.ts.html +268 -0
- package/coverage/lcov-report/src/theme/components/fab.ts.html +337 -0
- package/coverage/lcov-report/src/theme/components/floatingIsland.ts.html +178 -0
- package/coverage/lcov-report/src/theme/components/icon.ts.html +172 -0
- package/coverage/lcov-report/src/theme/components/image.ts.html +121 -0
- package/coverage/lcov-report/src/theme/components/index.html +881 -0
- package/coverage/lcov-report/src/theme/components/list.ts.html +223 -0
- package/coverage/lcov-report/src/theme/components/mapPin.ts.html +235 -0
- package/coverage/lcov-report/src/theme/components/pageControl.ts.html +160 -0
- package/coverage/lcov-report/src/theme/components/pinInput.ts.html +313 -0
- package/coverage/lcov-report/src/theme/components/progress.ts.html +265 -0
- package/coverage/lcov-report/src/theme/components/radio.ts.html +193 -0
- package/coverage/lcov-report/src/theme/components/rate.ts.html +133 -0
- package/coverage/lcov-report/src/theme/components/refreshControl.ts.html +118 -0
- package/coverage/lcov-report/src/theme/components/richTextEditor.ts.html +193 -0
- package/coverage/lcov-report/src/theme/components/search.ts.html +292 -0
- package/coverage/lcov-report/src/theme/components/sectionHeading.ts.html +142 -0
- package/coverage/lcov-report/src/theme/components/select.ts.html +154 -0
- package/coverage/lcov-report/src/theme/components/skeleton.ts.html +151 -0
- package/coverage/lcov-report/src/theme/components/slider.ts.html +178 -0
- package/coverage/lcov-report/src/theme/components/spinner.ts.html +184 -0
- package/coverage/lcov-report/src/theme/components/success.ts.html +241 -0
- package/coverage/lcov-report/src/theme/components/swipeable.ts.html +151 -0
- package/coverage/lcov-report/src/theme/components/switch.ts.html +235 -0
- package/coverage/lcov-report/src/theme/components/tabs.ts.html +202 -0
- package/coverage/lcov-report/src/theme/components/tag.ts.html +274 -0
- package/coverage/lcov-report/src/theme/components/textInput.ts.html +409 -0
- package/coverage/lcov-report/src/theme/components/timePicker.ts.html +118 -0
- package/coverage/lcov-report/src/theme/components/toast.ts.html +241 -0
- package/coverage/lcov-report/src/theme/components/toolbar.ts.html +262 -0
- package/coverage/lcov-report/src/theme/components/typography.ts.html +622 -0
- package/coverage/lcov-report/src/theme/getTheme.ts.html +637 -0
- package/coverage/lcov-report/src/theme/global/borders.ts.html +187 -0
- package/coverage/lcov-report/src/theme/global/colors/eBens.ts.html +163 -0
- package/coverage/lcov-report/src/theme/global/colors/ehJobs.ts.html +127 -0
- package/coverage/lcov-report/src/theme/global/colors/ehWork.ts.html +166 -0
- package/coverage/lcov-report/src/theme/global/colors/ehWorkDark.ts.html +277 -0
- package/coverage/lcov-report/src/theme/global/colors/global.ts.html +247 -0
- package/coverage/lcov-report/src/theme/global/colors/globalDark.ts.html +238 -0
- package/coverage/lcov-report/src/theme/global/colors/index.html +326 -0
- package/coverage/lcov-report/src/theme/global/colors/jobs.ts.html +163 -0
- package/coverage/lcov-report/src/theme/global/colors/swag.ts.html +169 -0
- package/coverage/lcov-report/src/theme/global/colors/swagDark.ts.html +175 -0
- package/coverage/lcov-report/src/theme/global/colors/swagLight.ts.html +121 -0
- package/coverage/lcov-report/src/theme/global/colors/swagLightGlobal.ts.html +127 -0
- package/coverage/lcov-report/src/theme/global/colors/swagLightJobs.ts.html +121 -0
- package/coverage/lcov-report/src/theme/global/colors/swagSystemPalette.ts.html +112 -0
- package/coverage/lcov-report/src/theme/global/colors/wallet.ts.html +163 -0
- package/coverage/lcov-report/src/theme/global/colors/work.ts.html +163 -0
- package/coverage/lcov-report/src/theme/global/index.html +191 -0
- package/coverage/lcov-report/src/theme/global/index.ts.html +280 -0
- package/coverage/lcov-report/src/theme/global/scale.ts.html +172 -0
- package/coverage/lcov-report/src/theme/global/shadows/ehJobs.ts.html +196 -0
- package/coverage/lcov-report/src/theme/global/shadows/ehWork.ts.html +193 -0
- package/coverage/lcov-report/src/theme/global/shadows/ehWorkDark.ts.html +193 -0
- package/coverage/lcov-report/src/theme/global/shadows/index.html +161 -0
- package/coverage/lcov-report/src/theme/global/shadows/index.ts.html +166 -0
- package/coverage/lcov-report/src/theme/global/sizes.ts.html +172 -0
- package/coverage/lcov-report/src/theme/global/space.ts.html +181 -0
- package/coverage/lcov-report/src/theme/global/typography.ts.html +376 -0
- package/coverage/lcov-report/src/theme/index.html +161 -0
- package/coverage/lcov-report/src/theme/index.ts.html +214 -0
- package/coverage/lcov-report/src/types.ts.html +238 -0
- package/coverage/lcov-report/src/utils/functions.ts.html +91 -0
- package/coverage/lcov-report/src/utils/helpers.ts.html +424 -0
- package/coverage/lcov-report/src/utils/hooks.ts.html +172 -0
- package/coverage/lcov-report/src/utils/index.html +146 -0
- package/coverage/lcov.info +11518 -0
- package/es/index.js +5626 -692
- package/jest.config.js +1 -1
- package/lib/index.js +5550 -615
- package/locales/en_AU.d.ts +3 -0
- package/locales/en_CA.d.ts +3 -0
- package/locales/index.d.ts +5 -0
- package/locales/types.d.ts +10 -0
- package/package.json +4 -2
- package/src/components/Avatar/AvatarStack/utils.ts +6 -4
- package/src/components/Badge/Status.tsx +1 -1
- package/src/components/Badge/__tests__/Status.spec.tsx +20 -0
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -0
- package/src/components/Chart/ChartSelect/StyledChartSelect.tsx +9 -0
- package/src/components/Chart/ChartSelect/__tests__/StyledChartSelect.spec.tsx +15 -0
- package/src/components/Chart/ChartSelect/__tests__/__snapshots__/StyledChartSelect.spec.tsx.snap +20 -0
- package/src/components/Chart/ChartSelect/__tests__/index.spec.tsx +111 -0
- package/src/components/Chart/ChartSelect/index.tsx +137 -0
- package/src/components/Chart/ColumnChart/ColumnChartContent.tsx +84 -0
- package/src/components/Chart/ColumnChart/Segment.tsx +66 -0
- package/src/components/Chart/ColumnChart/StackedSegment.tsx +99 -0
- package/src/components/Chart/ColumnChart/StyledColumnChart.tsx +9 -0
- package/src/components/Chart/ColumnChart/__tests__/ColumnChartContent.spec.tsx +68 -0
- package/src/components/Chart/ColumnChart/__tests__/Segment.spec.tsx +99 -0
- package/src/components/Chart/ColumnChart/__tests__/StackedSegment.spec.tsx +115 -0
- package/src/components/Chart/ColumnChart/__tests__/__snapshots__/StackedSegment.spec.tsx.snap +120 -0
- package/src/components/Chart/ColumnChart/__tests__/__snapshots__/index.spec.tsx.snap +1405 -0
- package/src/components/Chart/ColumnChart/__tests__/index.spec.tsx +134 -0
- package/src/components/Chart/ColumnChart/index.tsx +216 -0
- package/src/components/Chart/Line/Line.tsx +81 -0
- package/src/components/Chart/Line/__tests__/Line.spec.tsx +148 -0
- package/src/components/Chart/Line/__tests__/__snapshots__/Line.spec.tsx.snap +56 -0
- package/src/components/Chart/Line/__tests__/__snapshots__/index.spec.tsx.snap +1461 -0
- package/src/components/Chart/Line/__tests__/index.spec.tsx +112 -0
- package/src/components/Chart/Line/index.tsx +143 -0
- package/src/components/Chart/StyledChart.tsx +16 -0
- package/src/components/Chart/index.tsx +13 -0
- package/src/components/Chart/shared/AxisLabel.tsx +25 -0
- package/src/components/Chart/shared/ChartFrame.tsx +131 -0
- package/src/components/Chart/shared/ChartHeader.tsx +19 -0
- package/src/components/Chart/shared/EmptyState.tsx +83 -0
- package/src/components/Chart/shared/XAxis.tsx +69 -0
- package/src/components/Chart/shared/XAxisGrid.tsx +42 -0
- package/src/components/Chart/shared/YAxis.tsx +104 -0
- package/src/components/Chart/shared/YAxisGrid.tsx +58 -0
- package/src/components/Chart/shared/__tests__/ChartFrame.spec.tsx +125 -0
- package/src/components/Chart/shared/__tests__/ChartHeader.spec.tsx +22 -0
- package/src/components/Chart/shared/__tests__/EmptyState.spec.tsx +29 -0
- package/src/components/Chart/shared/__tests__/XAXisGrid.spec.tsx +30 -0
- package/src/components/Chart/shared/__tests__/XAxis.spec.tsx +42 -0
- package/src/components/Chart/shared/__tests__/YAxis.spec.tsx +72 -0
- package/src/components/Chart/shared/__tests__/YAxisGrid.spec.tsx +35 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/ChartFrame.spec.tsx.snap +3058 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/ChartHeader.spec.tsx.snap +160 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/EmptyState.spec.tsx.snap +155 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/XAXisGrid.spec.tsx.snap +197 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/XAxis.spec.tsx.snap +369 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/YAxis.spec.tsx.snap +1013 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/YAxisGrid.spec.tsx.snap +228 -0
- package/src/components/Chart/shared/__tests__/niceNumbers.spec.tsx +127 -0
- package/src/components/Chart/shared/constants.ts +2 -0
- package/src/components/Chart/shared/hooks/useColorScale.ts +25 -0
- package/src/components/Chart/shared/hooks/useGenerateTicks.ts +27 -0
- package/src/components/Chart/shared/hooks/useScaleBandX.ts +17 -0
- package/src/components/Chart/shared/hooks/useScaleLinearY.ts +30 -0
- package/src/components/Chart/shared/niceNumbers.ts +68 -0
- package/src/components/Chart/types.ts +100 -0
- package/src/components/Select/MultiSelect/OptionList.tsx +1 -1
- package/src/components/Select/MultiSelect/index.tsx +2 -6
- package/src/components/Select/MultiSelect/utils.ts +7 -3
- package/src/components/Select/SingleSelect/OptionList.tsx +1 -1
- package/src/components/Select/SingleSelect/index.tsx +2 -7
- package/src/components/Select/__tests__/helpers.spec.tsx +0 -36
- package/src/components/Select/helpers.tsx +0 -75
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +2 -0
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +1 -0
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +28 -0
- package/src/theme/components/chart.ts +28 -0
- package/src/theme/components/columnChart.ts +15 -0
- package/src/theme/getTheme.ts +6 -0
- package/src/types.ts +4 -0
- package/src/utils/__tests__/helpers.spec.ts +36 -1
- package/src/utils/helpers.ts +76 -1
- package/stats/8.100.0/rn-stats.html +4842 -0
- package/stats/8.99.4/rn-stats.html +1 -1
- package/types/components/Badge/Status.d.ts +0 -1
- package/types/components/Chart/ChartSelect/StyledChartSelect.d.ts +8 -0
- package/types/components/Chart/ChartSelect/index.d.ts +63 -0
- package/types/components/Chart/ColumnChart/ColumnChartContent.d.ts +25 -0
- package/types/components/Chart/ColumnChart/Segment.d.ts +14 -0
- package/types/components/Chart/ColumnChart/StackedSegment.d.ts +28 -0
- package/types/components/Chart/ColumnChart/StyledColumnChart.d.ts +8 -0
- package/types/components/Chart/ColumnChart/index.d.ts +80 -0
- package/types/components/Chart/Line/Line.d.ts +21 -0
- package/types/components/Chart/Line/index.d.ts +35 -0
- package/types/components/Chart/StyledChart.d.ts +9 -0
- package/types/components/Chart/index.d.ts +9 -0
- package/types/components/Chart/shared/AxisContext.d.ts +8 -0
- package/types/components/Chart/shared/AxisLabel.d.ts +7 -0
- package/types/components/Chart/shared/ChartFrame.d.ts +30 -0
- package/types/components/Chart/shared/ChartHeader.d.ts +8 -0
- package/types/components/Chart/shared/EmptyState.d.ts +8 -0
- package/types/components/Chart/shared/TextWrapper.d.ts +11 -0
- package/types/components/Chart/shared/XAxis.d.ts +8 -0
- package/types/components/Chart/shared/XAxisGrid.d.ts +8 -0
- package/types/components/Chart/shared/YAxis.d.ts +10 -0
- package/types/components/Chart/shared/YAxisGrid.d.ts +10 -0
- package/types/components/Chart/shared/constants.d.ts +2 -0
- package/types/components/Chart/shared/context/AxisContext.d.ts +8 -0
- package/types/components/Chart/shared/hooks/useColorScale.d.ts +7 -0
- package/types/components/Chart/shared/hooks/useGenerateTicks.d.ts +6 -0
- package/types/components/Chart/shared/hooks/useScaleBandX.d.ts +8 -0
- package/types/components/Chart/shared/hooks/useScaleLinearY.d.ts +9 -0
- package/types/components/Chart/shared/niceNumbers.d.ts +12 -0
- package/types/components/Chart/types.d.ts +84 -0
- package/types/components/DatePicker/DatePickerDialog/AndroidDatePickerDialog.d.ts +4 -0
- package/types/components/DatePicker/DatePickerDialog/IOSDatePickerDialog.d.ts +4 -0
- package/types/components/DatePicker/DatePickerDialog/type.d.ts +50 -0
- package/types/components/DatePicker/useCalculateDate.d.ts +4 -0
- package/types/components/DatePicker/useFormatDate.d.ts +12 -0
- package/types/components/Empty/StyledEmpty.d.ts +21 -0
- package/types/components/Empty/index.d.ts +31 -0
- package/types/components/Error/StyledError.d.ts +53 -0
- package/types/components/Error/index.d.ts +56 -0
- package/types/components/Select/helpers.d.ts +0 -5
- package/types/components/Success/StyledSuccess.d.ts +49 -0
- package/types/components/Success/index.d.ts +50 -0
- package/types/index.d.ts +2 -1
- package/types/theme/components/chart.d.ts +22 -0
- package/types/theme/components/columnChart.d.ts +10 -0
- package/types/theme/getTheme.d.ts +4 -0
- package/types/theme/global/shadows/shadows.d.ts +9 -0
- package/types/theme/global/shadows/swagLight.d.ts +3 -0
- package/types/theme/global/shadows/swagLightJobs.d.ts +3 -0
- package/types/theme/global/shadows.d.ts +16 -0
- package/types/types.d.ts +3 -1
- package/types/utils/helpers.d.ts +5 -0
- package/.turbo/turbo-build.log +0 -18
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DatePickerProps } from './types';
|
|
2
|
+
export declare const getDateValue: (value: Date, minDate?: Date | undefined, maxDate?: Date | undefined) => Date;
|
|
3
|
+
declare const useCalculateDate: ({ maxDate, minDate, onChange, value, }: Pick<DatePickerProps, "maxDate" | "minDate" | "onChange" | "value">) => void;
|
|
4
|
+
export default useCalculateDate;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LocaleCode } from '../../types';
|
|
2
|
+
type UseFormatDateProps = {
|
|
3
|
+
displayFormat?: string;
|
|
4
|
+
locale?: LocaleCode;
|
|
5
|
+
value?: Date;
|
|
6
|
+
};
|
|
7
|
+
declare const useFormatDate: ({ displayFormat, locale, value, }: UseFormatDateProps) => {
|
|
8
|
+
displayValue: string;
|
|
9
|
+
pickerInitValue: Date;
|
|
10
|
+
format: string;
|
|
11
|
+
};
|
|
12
|
+
export default useFormatDate;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type ThemeVariant = 'light' | 'dark';
|
|
3
|
+
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}, {}, {
|
|
7
|
+
ref?: import("react").Ref<View> | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
declare const StyledTitle: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & {
|
|
13
|
+
themeVariant: ThemeVariant;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
declare const StyledDescription: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
} & {
|
|
19
|
+
themeVariant: ThemeVariant;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export { StyledWrapper, StyledTitle, StyledDescription };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle, ImageProps as RNImageProps } from 'react-native';
|
|
3
|
+
import { ImageProps } from '../Image';
|
|
4
|
+
interface EmptyProps {
|
|
5
|
+
/**
|
|
6
|
+
* Image to be displayed.
|
|
7
|
+
*/
|
|
8
|
+
image?: ReactElement<ImageProps | RNImageProps>;
|
|
9
|
+
/**
|
|
10
|
+
* Empty's title.
|
|
11
|
+
*/
|
|
12
|
+
title: string;
|
|
13
|
+
/**
|
|
14
|
+
* Empty's description.
|
|
15
|
+
*/
|
|
16
|
+
description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Empty's variant.
|
|
19
|
+
*/
|
|
20
|
+
variant?: 'light' | 'dark';
|
|
21
|
+
/**
|
|
22
|
+
* Additional style.
|
|
23
|
+
*/
|
|
24
|
+
style?: StyleProp<ViewStyle>;
|
|
25
|
+
/**
|
|
26
|
+
* Testing id of the component.
|
|
27
|
+
*/
|
|
28
|
+
testID?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const Empty: ({ image, title, description, style, testID, variant, }: EmptyProps) => JSX.Element;
|
|
31
|
+
export default Empty;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type ErrorVariant = 'full-screen' | 'in-page';
|
|
3
|
+
declare const StyledErrorModal: import("@emotion/native").StyledComponent<import("../Modal").ModalProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const StyledErrorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
9
|
+
as?: React.ElementType;
|
|
10
|
+
} & {
|
|
11
|
+
themeVariant: ErrorVariant;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
declare const StyledErrorContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
}, {}, {
|
|
19
|
+
ref?: import("react").Ref<View> | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
declare const StyledErrorButtonContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
|
+
}, {}, {
|
|
25
|
+
ref?: import("react").Ref<View> | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
declare const StyledErrorButtonPrimary: import("@emotion/native").StyledComponent<import("../Button/Button").ButtonProps & {
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
|
+
}, {}, {}>;
|
|
31
|
+
declare const StyledErrorButtonSecondary: import("@emotion/native").StyledComponent<import("../Button/Button").ButtonProps & {
|
|
32
|
+
theme?: import("@emotion/react").Theme;
|
|
33
|
+
as?: React.ElementType;
|
|
34
|
+
}, {}, {}>;
|
|
35
|
+
declare const StyledErrorImageContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
36
|
+
theme?: import("@emotion/react").Theme;
|
|
37
|
+
as?: React.ElementType;
|
|
38
|
+
}, {}, {
|
|
39
|
+
ref?: import("react").Ref<View> | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
declare const StyledErrorImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
|
|
42
|
+
theme?: import("@emotion/react").Theme;
|
|
43
|
+
as?: React.ElementType;
|
|
44
|
+
}, {}, {}>;
|
|
45
|
+
declare const StyledErrorTitle: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
|
|
46
|
+
theme?: import("@emotion/react").Theme;
|
|
47
|
+
as?: React.ElementType;
|
|
48
|
+
}, {}, {}>;
|
|
49
|
+
declare const StyledErrorDescription: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
50
|
+
theme?: import("@emotion/react").Theme;
|
|
51
|
+
as?: React.ElementType;
|
|
52
|
+
}, {}, {}>;
|
|
53
|
+
export { ErrorVariant, StyledErrorModal, StyledErrorImage, StyledErrorContainer, StyledErrorButtonContainer, StyledErrorButtonPrimary, StyledErrorButtonSecondary, StyledErrorContent, StyledErrorTitle, StyledErrorDescription, StyledErrorImageContainer, };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import type { ImageSourcePropType, ViewProps, ImageProps as RNImageProps } from 'react-native';
|
|
3
|
+
import { ErrorVariant } from './StyledError';
|
|
4
|
+
import { ImageProps } from '../Image/index';
|
|
5
|
+
interface ErrorProps extends ViewProps {
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated use conditional rendering instead
|
|
8
|
+
*
|
|
9
|
+
* Visibility of the error
|
|
10
|
+
*/
|
|
11
|
+
visible?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Variant of the error
|
|
14
|
+
*/
|
|
15
|
+
variant?: ErrorVariant;
|
|
16
|
+
/**
|
|
17
|
+
* Title of the error
|
|
18
|
+
*/
|
|
19
|
+
title: string;
|
|
20
|
+
/**
|
|
21
|
+
* Description of the error
|
|
22
|
+
*/
|
|
23
|
+
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Image of the error
|
|
26
|
+
*/
|
|
27
|
+
image?: ReactElement<ImageProps | RNImageProps> | ImageSourcePropType | string;
|
|
28
|
+
/**
|
|
29
|
+
* Testing id of the component.
|
|
30
|
+
*/
|
|
31
|
+
testID?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Action button text
|
|
34
|
+
*/
|
|
35
|
+
ctaText?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Callback when the action button is pressed.
|
|
38
|
+
*/
|
|
39
|
+
onCtaPress?: () => void;
|
|
40
|
+
/**
|
|
41
|
+
* Secondary button text
|
|
42
|
+
*/
|
|
43
|
+
secondaryCtaText?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Callback when the secondary button is pressed.
|
|
46
|
+
*/
|
|
47
|
+
onSecondaryCtaPress?: () => void;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Renders error page
|
|
51
|
+
*
|
|
52
|
+
* @param {ErrorProps}
|
|
53
|
+
* @return {*} {ReactElement}
|
|
54
|
+
*/
|
|
55
|
+
declare const ErrorComponent: ({ visible, variant, title, description, image, testID, ctaText, onCtaPress, secondaryCtaText, onSecondaryCtaPress, ...nativeProps }: ErrorProps) => ReactElement;
|
|
56
|
+
export default ErrorComponent;
|
|
@@ -8,8 +8,3 @@ export type ScrollParams = {
|
|
|
8
8
|
sectionIndex: number;
|
|
9
9
|
};
|
|
10
10
|
export declare const getScrollParams: <V, T extends OptionType<V>>(value: V, sections: SectionData<V, T>[]) => ScrollParams;
|
|
11
|
-
export declare const useKeyboard: () => {
|
|
12
|
-
isKeyboardVisible: boolean;
|
|
13
|
-
keyboardHeight: number;
|
|
14
|
-
};
|
|
15
|
-
export declare const deepCompareValue: <V>(a: V, b: V) => boolean;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type SuccessVariant = 'full-screen' | 'in-page';
|
|
3
|
+
declare const StyledSuccessContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
} & {
|
|
7
|
+
themeVariant: SuccessVariant;
|
|
8
|
+
}, {}, {
|
|
9
|
+
ref?: import("react").Ref<View> | undefined;
|
|
10
|
+
}>;
|
|
11
|
+
declare const StyledSuccessImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
13
|
+
as?: React.ElementType;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
declare const StyledSuccessContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
}, {}, {
|
|
19
|
+
ref?: import("react").Ref<View> | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
declare const StyledSuccessImageContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
|
+
}, {}, {
|
|
25
|
+
ref?: import("react").Ref<View> | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
declare const StyledSuccessTitle: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
|
+
}, {}, {}>;
|
|
31
|
+
declare const StyledSuccessDescription: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
32
|
+
theme?: import("@emotion/react").Theme;
|
|
33
|
+
as?: React.ElementType;
|
|
34
|
+
}, {}, {}>;
|
|
35
|
+
declare const StyledSuccessButtonContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
36
|
+
theme?: import("@emotion/react").Theme;
|
|
37
|
+
as?: React.ElementType;
|
|
38
|
+
}, {}, {
|
|
39
|
+
ref?: import("react").Ref<View> | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
declare const StyledSuccessButtonPrimary: import("@emotion/native").StyledComponent<import("../Button/Button").ButtonProps & {
|
|
42
|
+
theme?: import("@emotion/react").Theme;
|
|
43
|
+
as?: React.ElementType;
|
|
44
|
+
}, {}, {}>;
|
|
45
|
+
declare const StyledSuccessModal: import("@emotion/native").StyledComponent<import("../Modal").ModalProps & {
|
|
46
|
+
theme?: import("@emotion/react").Theme;
|
|
47
|
+
as?: React.ElementType;
|
|
48
|
+
}, {}, {}>;
|
|
49
|
+
export { SuccessVariant, StyledSuccessImage, StyledSuccessContainer, StyledSuccessContent, StyledSuccessImageContainer, StyledSuccessTitle, StyledSuccessDescription, StyledSuccessButtonContainer, StyledSuccessButtonPrimary, StyledSuccessModal, };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import type { ViewProps, ImageSourcePropType, ImageProps as RNImageProps } from 'react-native';
|
|
3
|
+
import { SuccessVariant } from './StyledSuccess';
|
|
4
|
+
import { ImageProps } from '../Image';
|
|
5
|
+
export interface SuccessProps extends ViewProps {
|
|
6
|
+
/**
|
|
7
|
+
* Image to be displayed.
|
|
8
|
+
*/
|
|
9
|
+
image?: ReactElement<ImageProps | RNImageProps> | ImageSourcePropType | string;
|
|
10
|
+
/**
|
|
11
|
+
* Success's title.
|
|
12
|
+
*/
|
|
13
|
+
title: string;
|
|
14
|
+
/**
|
|
15
|
+
* Success's description.
|
|
16
|
+
*/
|
|
17
|
+
description?: string | ReactElement;
|
|
18
|
+
/**
|
|
19
|
+
* Success's variant.
|
|
20
|
+
*/
|
|
21
|
+
variant?: SuccessVariant;
|
|
22
|
+
/**
|
|
23
|
+
* Action button text
|
|
24
|
+
*/
|
|
25
|
+
ctaText?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Callback when the action button is pressed.
|
|
28
|
+
*/
|
|
29
|
+
onCtaPress?: () => void;
|
|
30
|
+
/**
|
|
31
|
+
* Secondary button text.
|
|
32
|
+
*/
|
|
33
|
+
secondaryCtaText?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Callback when the secondary button is pressed.
|
|
36
|
+
*/
|
|
37
|
+
onSecondaryCtaPress?: () => void;
|
|
38
|
+
/**
|
|
39
|
+
* Testing id of the component.
|
|
40
|
+
*/
|
|
41
|
+
testID?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Renders success page
|
|
45
|
+
*
|
|
46
|
+
* @param {SuccessProps} props
|
|
47
|
+
* @return {*} {ReactElement}
|
|
48
|
+
*/
|
|
49
|
+
declare const Success: (props: SuccessProps) => ReactElement;
|
|
50
|
+
export default Success;
|
package/types/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import Button from './components/Button';
|
|
|
13
13
|
import Calendar from './components/Calendar';
|
|
14
14
|
import Carousel from './components/Carousel';
|
|
15
15
|
import Card from './components/Card';
|
|
16
|
+
import Chart from './components/Chart';
|
|
16
17
|
import Chip from './components/Chip';
|
|
17
18
|
import Collapse from './components/Collapse';
|
|
18
19
|
import Checkbox from './components/Checkbox';
|
|
@@ -55,5 +56,5 @@ import { ScrollViewWithFAB, SectionListWithFAB, FlatListWithFAB } from './compon
|
|
|
55
56
|
import Search from './components/Search';
|
|
56
57
|
import FloatingIsland from './components/FloatingIsland';
|
|
57
58
|
import LocaleProvider from './components/LocaleProvider';
|
|
58
|
-
export { theme, getTheme, useTheme, scale, ThemeProvider, ThemeSwitcher, withTheme, swagSystemPalette, swagLightSystemPalette, swagLightJobsSystemPalette, swagDarkSystemPalette, workSystemPalette, jobsSystemPalette, walletSystemPalette, eBensSystemPalette, ehWorkDarkSystemPalette, ehWorkSystemPalette, ehJobsSystemPalette, Accordion, Alert, AppCue, Attachment, Avatar, useAvatarColors, Badge, BottomNavigation, BottomSheet, Box, Button, Calendar, Card, Carousel, Chip, Collapse, Checkbox, ContentNavigator, DatePicker, Divider, Drawer, Empty, Error, FAB, FlatListWithFAB, Icon, Image, HeroDesignProvider, MapPin, List, PinInput, Progress, Portal, PageControl, Skeleton, Slider, Spinner, Swipeable, Radio, Search, ScrollViewWithFAB, SectionHeading, SectionListWithFAB, Select, Success, Switch, Tabs, Tag, TextInput, TimePicker, Toast, Toolbar, Typography, Rate, RefreshControl, RichTextEditor, FloatingIsland, LocaleProvider, };
|
|
59
|
+
export { theme, getTheme, useTheme, scale, ThemeProvider, ThemeSwitcher, withTheme, swagSystemPalette, swagLightSystemPalette, swagLightJobsSystemPalette, swagDarkSystemPalette, workSystemPalette, jobsSystemPalette, walletSystemPalette, eBensSystemPalette, ehWorkDarkSystemPalette, ehWorkSystemPalette, ehJobsSystemPalette, Accordion, Alert, AppCue, Attachment, Avatar, useAvatarColors, Badge, BottomNavigation, BottomSheet, Box, Button, Calendar, Card, Chart, Carousel, Chip, Collapse, Checkbox, ContentNavigator, DatePicker, Divider, Drawer, Empty, Error, FAB, FlatListWithFAB, Icon, Image, HeroDesignProvider, MapPin, List, PinInput, Progress, Portal, PageControl, Skeleton, Slider, Spinner, Swipeable, Radio, Search, ScrollViewWithFAB, SectionHeading, SectionListWithFAB, Select, Success, Switch, Tabs, Tag, TextInput, TimePicker, Toast, Toolbar, Typography, Rate, RefreshControl, RichTextEditor, FloatingIsland, LocaleProvider, };
|
|
59
60
|
export * from './types';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { GlobalTheme } from '../global';
|
|
2
|
+
declare const getChartTheme: (theme: GlobalTheme) => {
|
|
3
|
+
space: {
|
|
4
|
+
xAxisMarginLeft: number;
|
|
5
|
+
xAxisGridTextMarginTop: number;
|
|
6
|
+
yAxisMarginBottom: number;
|
|
7
|
+
yAxisGridMarginTop: number;
|
|
8
|
+
yAxisGridTextMarginRight: number;
|
|
9
|
+
headerMarginBottom: number;
|
|
10
|
+
};
|
|
11
|
+
sizes: {
|
|
12
|
+
xAxisDefaultTextHeight: number;
|
|
13
|
+
yAxisDefaultTextHeight: number;
|
|
14
|
+
yAxisDefaultTextWidth: number;
|
|
15
|
+
defaultWebEmptyStateWidth: number;
|
|
16
|
+
defaultWebEmptyStateHeight: number;
|
|
17
|
+
};
|
|
18
|
+
colors: {
|
|
19
|
+
gridStroke: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default getChartTheme;
|
|
@@ -12,6 +12,8 @@ import { CarouselThemeType } from './components/carousel';
|
|
|
12
12
|
import getCardCarouselTheme from './components/cardCarousel';
|
|
13
13
|
import getCheckboxTheme from './components/checkbox';
|
|
14
14
|
import getChipTheme from './components/chip';
|
|
15
|
+
import getChartTheme from './components/chart';
|
|
16
|
+
import getColumnChartTheme from './components/columnChart';
|
|
15
17
|
import getContentNavigatorTheme from './components/contentNavigator';
|
|
16
18
|
import getDatePickerTheme from './components/datePicker';
|
|
17
19
|
import getDividerTheme from './components/divider';
|
|
@@ -69,6 +71,8 @@ type Theme = GlobalTheme & {
|
|
|
69
71
|
cardCarousel: ReturnType<typeof getCardCarouselTheme>;
|
|
70
72
|
checkbox: ReturnType<typeof getCheckboxTheme>;
|
|
71
73
|
chip: ReturnType<typeof getChipTheme>;
|
|
74
|
+
chart: ReturnType<typeof getChartTheme>;
|
|
75
|
+
columnChart: ReturnType<typeof getColumnChartTheme>;
|
|
72
76
|
contentNavigator: ReturnType<typeof getContentNavigatorTheme>;
|
|
73
77
|
datePicker: ReturnType<typeof getDatePickerTheme>;
|
|
74
78
|
divider: ReturnType<typeof getDividerTheme>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ShadowPalette } from './types';
|
|
2
|
+
declare const getShadows: (shadowPalette: ShadowPalette) => {
|
|
3
|
+
default: import("./types").ShadowStyles;
|
|
4
|
+
cardDrawer: import("./types").ShadowStyles;
|
|
5
|
+
tabBar: import("./types").ShadowStyles;
|
|
6
|
+
};
|
|
7
|
+
type Shadows = ReturnType<typeof getShadows>;
|
|
8
|
+
export { getShadows };
|
|
9
|
+
export type { Shadows };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SystemPalette } from '.';
|
|
2
|
+
declare const getShadows: (systemPalette: SystemPalette) => {
|
|
3
|
+
default: {
|
|
4
|
+
shadowOffset: {
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
};
|
|
8
|
+
shadowColor: string;
|
|
9
|
+
shadowOpacity: number;
|
|
10
|
+
shadowRadius: number;
|
|
11
|
+
elevation: number;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
type Shadows = ReturnType<typeof getShadows>;
|
|
15
|
+
export { getShadows };
|
|
16
|
+
export type { Shadows };
|
package/types/types.d.ts
CHANGED
|
@@ -14,4 +14,6 @@ import { ActionGroupHandles } from './components/FAB/ActionGroup';
|
|
|
14
14
|
import type { SliderRangeValue } from './components/Slider/RangeSlider';
|
|
15
15
|
import type { CalendarDateRange } from './components/Calendar/CalendarRange';
|
|
16
16
|
import { LocaleCode, LocaleValues, DateTimeFormats } from './locales/types';
|
|
17
|
-
|
|
17
|
+
import type { ColumnChartProps } from './components/Chart/ColumnChart';
|
|
18
|
+
import { LineChartProps } from './components/Chart/Line';
|
|
19
|
+
export type { BottomNavigationTabType, IconName, SingleSelectProps, MultiSelectProps, ListRenderOptionInfo, SectionListRenderOptionInfo, SwipeableProps, RichTextEditorProps, RichTextEditorRef, TabType, TextInputProps, TextProps, TextInputHandles, Theme, CardCarouselHandles, FABHandles, ActionGroupHandles, SliderRangeValue, CalendarDateRange, LocaleCode, LocaleValues, DateTimeFormats, ColumnChartProps, LineChartProps, };
|
package/types/utils/helpers.d.ts
CHANGED
|
@@ -3,3 +3,8 @@ export declare const isAndroid: boolean;
|
|
|
3
3
|
export declare function pick<O extends object, T extends keyof O>(keys: T[], obj: O): Pick<O, T>;
|
|
4
4
|
export declare function omit<O, T extends keyof O>(keys: T[], obj: O): Omit<O, T>;
|
|
5
5
|
export declare function hexToRgba(hex: string, a: number): string;
|
|
6
|
+
export declare const deepCompareValue: <V>(a: V, b: V) => boolean;
|
|
7
|
+
export declare const useKeyboard: () => {
|
|
8
|
+
isKeyboardVisible: boolean;
|
|
9
|
+
keyboardHeight: number;
|
|
10
|
+
};
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
(node:3216) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
|
|
2
|
-
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
|
-
[36m
|
|
4
|
-
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
5
|
-
[1m[33m(!) [plugin replace] @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.[39m[22m
|
|
6
|
-
[1m[33m(!) [plugin typescript] src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx (61:35): @rollup/plugin-typescript TS2307: Cannot find module '../../../../types' or its corresponding type declarations.[39m[22m
|
|
7
|
-
[1m/home/runner/work/hero-design/hero-design/packages/rn/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx:61:35[22m
|
|
8
|
-
[90m
|
|
9
|
-
[7m61[0m import { RichTextEditorRef } from "../../../../types";
|
|
10
|
-
[7m [0m [91m ~~~~~~~~~~~~~~~~~~~[0m
|
|
11
|
-
[39m
|
|
12
|
-
[1m[33m(!) [plugin node-resolve] preferring built-in module 'events' over local alternative at '/home/runner/work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning.or passing a function to 'preferBuiltins' to provide more fine-grained control over which built-in modules to prefer.[39m[22m
|
|
13
|
-
[32mcreated [1mlib/index.js, es/index.js[22m in [1m55.1s[22m[39m
|
|
14
|
-
[36m
|
|
15
|
-
[1m/home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_AU.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_CA.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/index.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/types.ts[22m → [1m., .[22m...[39m
|
|
16
|
-
[1m[33m(!) Generated empty chunks[39m[22m
|
|
17
|
-
"locales/types" and "locales/types"
|
|
18
|
-
[32mcreated [1m., .[22m in [1m21.1s[22m[39m
|