@hero-design/rn 8.68.0-alpha.1 → 8.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +8 -0
- package/CHANGELOG.md +27 -0
- package/es/index.js +706 -188
- package/lib/index.js +707 -187
- package/package.json +2 -2
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -4
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Alert/StyledAlert.tsx +24 -2
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +150 -30
- package/src/components/Alert/index.tsx +15 -10
- package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +18 -18
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +2 -2
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +1 -1
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Badge/StyledBadge.tsx +13 -5
- package/src/components/Badge/__tests__/Badge.spec.tsx +9 -0
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +129 -13
- package/src/components/Badge/index.tsx +8 -2
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/BottomSheet/Header.tsx +50 -27
- package/src/components/BottomSheet/StyledBottomSheet.tsx +35 -8
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +352 -1
- package/src/components/BottomSheet/__tests__/index.spec.tsx +30 -0
- package/src/components/BottomSheet/index.tsx +47 -30
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +21 -21
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +12 -12
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -4
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +3 -3
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +2 -2
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +30 -30
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -2
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -3
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +6 -6
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Progress/ProgressStep.tsx +87 -0
- package/src/components/Progress/StyledStep.tsx +48 -0
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +214 -5
- package/src/components/Progress/__tests__/index.spec.js +26 -0
- package/src/components/Progress/index.tsx +6 -1
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +10 -10
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +14 -14
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/Search/SearchOneLine.tsx +196 -0
- package/src/components/Search/SearchSuffixIcon.tsx +37 -0
- package/src/components/Search/SearchTwoLine.tsx +64 -0
- package/src/components/Search/StyledSearch.tsx +67 -0
- package/src/components/Search/__tests__/SearchOneLine.spec.tsx +197 -0
- package/src/components/Search/__tests__/SearchSuffixIcon.spec.tsx +12 -0
- package/src/components/Search/__tests__/SearchTwoLine.spec.tsx +20 -0
- package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +707 -0
- package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +134 -0
- package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +170 -0
- package/src/components/Search/__tests__/__snapshots__/utils.spec.tsx.snap +115 -0
- package/src/components/Search/__tests__/utils.spec.tsx +19 -0
- package/src/components/Search/index.tsx +17 -0
- package/src/components/Search/utils.tsx +31 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +14 -14
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -8
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -32
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +1 -1
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +2 -2
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +24 -9
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +19 -9
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +7 -2
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +24 -9
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +5 -5
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +2 -2
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +18 -18
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +7 -7
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +1 -1
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +1 -1
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +1 -1
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +1 -1
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/index.ts +4 -0
- package/src/theme/ThemeSwitcher.tsx +2 -12
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +152 -77
- package/src/theme/components/alert.ts +14 -5
- package/src/theme/components/badge.ts +21 -21
- package/src/theme/components/bottomSheet.ts +7 -0
- package/src/theme/components/progress.ts +11 -1
- package/src/theme/components/search.ts +56 -0
- package/src/theme/getTheme.ts +5 -2
- package/src/theme/global/colors/__tests__/__snapshots__/swagLight.spec.ts.snap +7 -7
- package/src/theme/global/colors/__tests__/__snapshots__/swagLightJobs.spec.ts.snap +50 -0
- package/src/theme/global/colors/__tests__/swagLightJobs.spec.ts +7 -0
- package/src/theme/global/colors/swagLight.ts +7 -8
- package/src/theme/global/colors/swagLightJobs.ts +11 -0
- package/src/theme/global/colors/types.ts +4 -0
- package/src/theme/global/index.ts +2 -0
- package/src/theme/index.ts +2 -0
- package/stats/8.67.0/rn-stats.html +4844 -0
- package/stats/8.68.0/rn-stats.html +4842 -0
- package/stats/8.69.0/rn-stats.html +4842 -0
- package/types/components/Accordion/AccordionItem.d.ts +0 -0
- package/types/components/Accordion/StyledAccordion.d.ts +0 -0
- package/types/components/Accordion/index.d.ts +0 -0
- package/types/components/Alert/StyledAlert.d.ts +17 -2
- package/types/components/Alert/index.d.ts +0 -0
- package/types/components/Attachment/StyledAttachment.d.ts +0 -0
- package/types/components/Attachment/index.d.ts +0 -0
- package/types/components/Avatar/Avatar.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
- package/types/components/Avatar/StyledAvatar.d.ts +0 -0
- package/types/components/Avatar/index.d.ts +0 -0
- package/types/components/Badge/Status.d.ts +0 -0
- package/types/components/Badge/StyledBadge.d.ts +4 -0
- package/types/components/Badge/index.d.ts +6 -2
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
- package/types/components/BottomNavigation/index.d.ts +0 -0
- package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
- package/types/components/BottomSheet/Footer.d.ts +0 -0
- package/types/components/BottomSheet/Header.d.ts +3 -2
- package/types/components/BottomSheet/ScrollView.d.ts +0 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +16 -2
- package/types/components/BottomSheet/index.d.ts +5 -1
- package/types/components/Box/StyledBox.d.ts +1 -1
- package/types/components/Box/config.d.ts +0 -0
- package/types/components/Box/index.d.ts +0 -0
- package/types/components/Box/types.d.ts +0 -0
- package/types/components/Button/Button.d.ts +0 -0
- package/types/components/Button/IconButton.d.ts +0 -0
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
- package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
- package/types/components/Button/StyledButton.d.ts +0 -0
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
- package/types/components/Button/UtilityButton/index.d.ts +0 -0
- package/types/components/Button/index.d.ts +0 -0
- package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
- package/types/components/Calendar/StyledCalendar.d.ts +0 -0
- package/types/components/Calendar/helpers.d.ts +0 -0
- package/types/components/Calendar/index.d.ts +0 -0
- package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
- package/types/components/Card/DataCard/index.d.ts +0 -0
- package/types/components/Card/StyledCard.d.ts +0 -0
- package/types/components/Card/index.d.ts +0 -0
- package/types/components/Carousel/CardCarousel.d.ts +0 -0
- package/types/components/Carousel/CarouselItem.d.ts +0 -0
- package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
- package/types/components/Carousel/StyledCarousel.d.ts +0 -0
- package/types/components/Carousel/contants.d.ts +0 -0
- package/types/components/Carousel/index.d.ts +0 -0
- package/types/components/Carousel/types.d.ts +0 -0
- package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
- package/types/components/Checkbox/index.d.ts +0 -0
- package/types/components/Collapse/StyledCollapse.d.ts +0 -0
- package/types/components/Collapse/index.d.ts +0 -0
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
- package/types/components/ContentNavigator/index.d.ts +0 -0
- package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
- package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
- package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
- package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
- package/types/components/DatePicker/index.d.ts +0 -0
- package/types/components/DatePicker/types.d.ts +0 -0
- package/types/components/Divider/StyledDivider.d.ts +0 -0
- package/types/components/Divider/index.d.ts +0 -0
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
- package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
- package/types/components/Drawer/StyledDrawer.d.ts +0 -0
- package/types/components/Drawer/index.d.ts +0 -0
- package/types/components/Empty/StyledEmpty.d.ts +0 -0
- package/types/components/Empty/index.d.ts +0 -0
- package/types/components/Error/StyledError.d.ts +0 -0
- package/types/components/Error/index.d.ts +0 -0
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
- package/types/components/FAB/ActionGroup/index.d.ts +0 -0
- package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
- package/types/components/FAB/FAB.d.ts +0 -0
- package/types/components/FAB/StyledFAB.d.ts +0 -0
- package/types/components/FAB/index.d.ts +0 -0
- package/types/components/Icon/AnimatedIcon.d.ts +0 -0
- package/types/components/Icon/HeroIcon/index.d.ts +0 -0
- package/types/components/Icon/IconList.d.ts +0 -0
- package/types/components/Icon/index.d.ts +0 -0
- package/types/components/Icon/utils.d.ts +0 -0
- package/types/components/Image/index.d.ts +0 -0
- package/types/components/List/BasicListItem.d.ts +0 -0
- package/types/components/List/ListItem.d.ts +0 -0
- package/types/components/List/StyledBasicListItem.d.ts +0 -0
- package/types/components/List/StyledListItem.d.ts +0 -0
- package/types/components/List/index.d.ts +0 -0
- package/types/components/PageControl/StyledPageControl.d.ts +0 -0
- package/types/components/PageControl/index.d.ts +0 -0
- package/types/components/PinInput/PinCell.d.ts +0 -0
- package/types/components/PinInput/StyledPinInput.d.ts +0 -0
- package/types/components/PinInput/index.d.ts +0 -0
- package/types/components/Progress/ProgressBar.d.ts +0 -0
- package/types/components/Progress/ProgressCircle.d.ts +0 -0
- package/types/components/Progress/ProgressStep.d.ts +20 -0
- package/types/components/Progress/StyledProgressBar.d.ts +0 -0
- package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
- package/types/components/Progress/StyledStep.d.ts +21 -0
- package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
- package/types/components/Progress/constants.d.ts +0 -0
- package/types/components/Progress/index.d.ts +1 -0
- package/types/components/Progress/types.d.ts +0 -0
- package/types/components/Radio/Radio.d.ts +0 -0
- package/types/components/Radio/RadioGroup.d.ts +0 -0
- package/types/components/Radio/StyledRadio.d.ts +0 -0
- package/types/components/Radio/index.d.ts +0 -0
- package/types/components/Radio/types.d.ts +0 -0
- package/types/components/RefreshControl/index.d.ts +0 -0
- package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
- package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
- package/types/components/RichTextEditor/MentionList.d.ts +0 -0
- package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
- package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
- package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
- package/types/components/RichTextEditor/constants.d.ts +0 -0
- package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
- package/types/components/RichTextEditor/index.d.ts +0 -0
- package/types/components/RichTextEditor/types.d.ts +0 -0
- package/types/components/RichTextEditor/utils/events.d.ts +0 -0
- package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
- package/types/components/Search/SearchOneLine.d.ts +60 -0
- package/types/components/Search/SearchSuffixIcon.d.ts +24 -0
- package/types/components/Search/SearchTwoLine.d.ts +31 -0
- package/types/components/Search/StyledSearch.d.ts +44 -0
- package/types/components/Search/index.d.ts +10 -0
- package/types/components/Search/utils.d.ts +8 -0
- package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
- package/types/components/SectionHeading/index.d.ts +0 -0
- package/types/components/Select/BaseOptionList.d.ts +0 -0
- package/types/components/Select/Footer.d.ts +0 -0
- package/types/components/Select/MultiSelect/Option.d.ts +0 -0
- package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
- package/types/components/Select/MultiSelect/index.d.ts +0 -0
- package/types/components/Select/SingleSelect/Option.d.ts +0 -0
- package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
- package/types/components/Select/SingleSelect/index.d.ts +0 -0
- package/types/components/Select/StyledSelect.d.ts +0 -0
- package/types/components/Select/helpers.d.ts +0 -0
- package/types/components/Select/index.d.ts +0 -0
- package/types/components/Select/types.d.ts +0 -0
- package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
- package/types/components/Skeleton/index.d.ts +0 -0
- package/types/components/Slider/index.d.ts +0 -0
- package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
- package/types/components/Spinner/StyledSpinner.d.ts +0 -0
- package/types/components/Spinner/index.d.ts +0 -0
- package/types/components/Success/StyledSuccess.d.ts +0 -0
- package/types/components/Success/index.d.ts +0 -0
- package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
- package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
- package/types/components/Swipeable/index.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
- package/types/components/Switch/StyledSwitch.d.ts +0 -0
- package/types/components/Switch/index.d.ts +0 -0
- package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
- package/types/components/Tabs/SceneView.d.ts +0 -0
- package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
- package/types/components/Tabs/StyledTabs.d.ts +0 -0
- package/types/components/Tabs/TabWithBadge.d.ts +0 -0
- package/types/components/Tabs/index.d.ts +0 -0
- package/types/components/Tabs/useIsFocused.d.ts +0 -0
- package/types/components/Tabs/utils.d.ts +0 -0
- package/types/components/Tag/StyledTag.d.ts +0 -0
- package/types/components/Tag/index.d.ts +0 -0
- package/types/components/TextInput/StyledTextInput.d.ts +0 -0
- package/types/components/TextInput/index.d.ts +0 -0
- package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
- package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
- package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
- package/types/components/TimePicker/index.d.ts +0 -0
- package/types/components/TimePicker/types.d.ts +0 -0
- package/types/components/Toast/StyledToast.d.ts +0 -0
- package/types/components/Toast/Toast.d.ts +0 -0
- package/types/components/Toast/ToastContainer.d.ts +0 -0
- package/types/components/Toast/ToastContext.d.ts +0 -0
- package/types/components/Toast/ToastProvider.d.ts +0 -0
- package/types/components/Toast/index.d.ts +0 -0
- package/types/components/Toast/types.d.ts +0 -0
- package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
- package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
- package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
- package/types/components/Toolbar/index.d.ts +0 -0
- package/types/components/Typography/Text/StyledText.d.ts +0 -0
- package/types/components/Typography/Text/index.d.ts +0 -0
- package/types/components/Typography/index.d.ts +0 -0
- package/types/index.d.ts +3 -2
- package/types/testHelpers/renderWithTheme.d.ts +0 -0
- package/types/theme/ThemeProvider.d.ts +0 -0
- package/types/theme/ThemeSwitcher.d.ts +1 -1
- package/types/theme/components/accordion.d.ts +0 -0
- package/types/theme/components/alert.d.ts +14 -5
- package/types/theme/components/attachment.d.ts +0 -0
- package/types/theme/components/avatar.d.ts +0 -0
- package/types/theme/components/badge.d.ts +21 -21
- package/types/theme/components/bottomNavigation.d.ts +0 -0
- package/types/theme/components/bottomSheet.d.ts +7 -0
- package/types/theme/components/button.d.ts +0 -0
- package/types/theme/components/calendar.d.ts +0 -0
- package/types/theme/components/card.d.ts +0 -0
- package/types/theme/components/cardCarousel.d.ts +0 -0
- package/types/theme/components/carousel.d.ts +0 -0
- package/types/theme/components/checkbox.d.ts +0 -0
- package/types/theme/components/contentNavigator.d.ts +0 -0
- package/types/theme/components/datePicker.d.ts +0 -0
- package/types/theme/components/divider.d.ts +0 -0
- package/types/theme/components/drawer.d.ts +0 -0
- package/types/theme/components/empty.d.ts +0 -0
- package/types/theme/components/error.d.ts +0 -0
- package/types/theme/components/fab.d.ts +0 -0
- package/types/theme/components/icon.d.ts +0 -0
- package/types/theme/components/image.d.ts +0 -0
- package/types/theme/components/list.d.ts +0 -0
- package/types/theme/components/pageControl.d.ts +0 -0
- package/types/theme/components/pinInput.d.ts +0 -0
- package/types/theme/components/progress.d.ts +9 -0
- package/types/theme/components/radio.d.ts +0 -0
- package/types/theme/components/refreshControl.d.ts +0 -0
- package/types/theme/components/richTextEditor.d.ts +0 -0
- package/types/theme/components/search.d.ts +38 -0
- package/types/theme/components/sectionHeading.d.ts +0 -0
- package/types/theme/components/select.d.ts +0 -0
- package/types/theme/components/skeleton.d.ts +0 -0
- package/types/theme/components/slider.d.ts +0 -0
- package/types/theme/components/spinner.d.ts +0 -0
- package/types/theme/components/success.d.ts +0 -0
- package/types/theme/components/swipeable.d.ts +0 -0
- package/types/theme/components/switch.d.ts +0 -0
- package/types/theme/components/tabs.d.ts +0 -0
- package/types/theme/components/tag.d.ts +0 -0
- package/types/theme/components/textInput.d.ts +0 -0
- package/types/theme/components/timePicker.d.ts +0 -0
- package/types/theme/components/toast.d.ts +0 -0
- package/types/theme/components/toolbar.d.ts +0 -0
- package/types/theme/components/typography.d.ts +0 -0
- package/types/theme/getTheme.d.ts +2 -0
- package/types/theme/global/borders.d.ts +0 -0
- package/types/theme/global/colors/eBens.d.ts +0 -0
- package/types/theme/global/colors/global.d.ts +0 -0
- package/types/theme/global/colors/globalDark.d.ts +0 -0
- package/types/theme/global/colors/jobs.d.ts +0 -0
- package/types/theme/global/colors/swag.d.ts +0 -0
- package/types/theme/global/colors/swagDark.d.ts +0 -0
- package/types/theme/global/colors/swagLightJobs.d.ts +47 -0
- package/types/theme/global/colors/types.d.ts +2 -0
- package/types/theme/global/colors/wallet.d.ts +0 -0
- package/types/theme/global/colors/work.d.ts +0 -0
- package/types/theme/global/index.d.ts +4 -1
- package/types/theme/global/scale.d.ts +0 -0
- package/types/theme/global/sizes.d.ts +0 -0
- package/types/theme/global/space.d.ts +0 -0
- package/types/theme/global/typography.d.ts +0 -0
- package/types/theme/index.d.ts +2 -2
- package/types/types.d.ts +0 -0
- package/types/utils/functions.d.ts +0 -0
- package/types/utils/helpers.d.ts +0 -0
- package/types/utils/hooks.d.ts +0 -0
- package/types/utils/scale.d.ts +0 -0
- package/types/components/Tabs/ScrollableTabsHeader.d.ts +0 -35
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`SearchSuffixIcon renders correctly 1`] = `
|
|
4
|
+
<View
|
|
5
|
+
style={
|
|
6
|
+
{
|
|
7
|
+
"flex": 1,
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
>
|
|
11
|
+
<View
|
|
12
|
+
style={
|
|
13
|
+
[
|
|
14
|
+
{
|
|
15
|
+
"alignItems": "center",
|
|
16
|
+
"backgroundColor": "#ffffff",
|
|
17
|
+
"borderRadius": 999,
|
|
18
|
+
"display": "flex",
|
|
19
|
+
"height": 40,
|
|
20
|
+
"justifyContent": "center",
|
|
21
|
+
"width": 40,
|
|
22
|
+
},
|
|
23
|
+
undefined,
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
>
|
|
27
|
+
<View
|
|
28
|
+
collapsable={false}
|
|
29
|
+
style={
|
|
30
|
+
{
|
|
31
|
+
"alignItems": "center",
|
|
32
|
+
"backgroundColor": "#401960",
|
|
33
|
+
"borderRadius": 999,
|
|
34
|
+
"height": 16,
|
|
35
|
+
"justifyContent": "center",
|
|
36
|
+
"minWidth": 16,
|
|
37
|
+
"opacity": 1,
|
|
38
|
+
"paddingHorizontal": undefined,
|
|
39
|
+
"position": "absolute",
|
|
40
|
+
"right": -2,
|
|
41
|
+
"top": -2,
|
|
42
|
+
"transform": [
|
|
43
|
+
{
|
|
44
|
+
"scale": 1,
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
"zIndex": 2,
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
themeIntent="primary"
|
|
51
|
+
themePadding="narrowContent"
|
|
52
|
+
themeSize="small"
|
|
53
|
+
>
|
|
54
|
+
<Text
|
|
55
|
+
allowFontScaling={false}
|
|
56
|
+
style={
|
|
57
|
+
[
|
|
58
|
+
{
|
|
59
|
+
"color": "#001f23",
|
|
60
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
61
|
+
"fontSize": 12,
|
|
62
|
+
"letterSpacing": 0.36,
|
|
63
|
+
"lineHeight": 16,
|
|
64
|
+
},
|
|
65
|
+
[
|
|
66
|
+
{
|
|
67
|
+
"color": "#ffffff",
|
|
68
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
69
|
+
"fontSize": 8,
|
|
70
|
+
"includeFontPadding": false,
|
|
71
|
+
"lineHeight": 10,
|
|
72
|
+
"textAlign": "center",
|
|
73
|
+
"textAlignVertical": "center",
|
|
74
|
+
},
|
|
75
|
+
undefined,
|
|
76
|
+
],
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
themeFontWeight="regular"
|
|
80
|
+
themeIntent="body"
|
|
81
|
+
themeSize="small"
|
|
82
|
+
>
|
|
83
|
+
7
|
|
84
|
+
</Text>
|
|
85
|
+
</View>
|
|
86
|
+
<View
|
|
87
|
+
style={
|
|
88
|
+
[
|
|
89
|
+
{
|
|
90
|
+
"paddingHorizontal": 4,
|
|
91
|
+
},
|
|
92
|
+
undefined,
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
>
|
|
96
|
+
<HeroIcon
|
|
97
|
+
name="adjustment"
|
|
98
|
+
style={
|
|
99
|
+
[
|
|
100
|
+
{
|
|
101
|
+
"color": "#001f23",
|
|
102
|
+
"fontSize": 20,
|
|
103
|
+
},
|
|
104
|
+
undefined,
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
testID="input-suffix"
|
|
108
|
+
themeIntent="text"
|
|
109
|
+
themeSize="small"
|
|
110
|
+
/>
|
|
111
|
+
</View>
|
|
112
|
+
</View>
|
|
113
|
+
<View
|
|
114
|
+
pointerEvents="box-none"
|
|
115
|
+
position="bottom"
|
|
116
|
+
style={
|
|
117
|
+
[
|
|
118
|
+
{
|
|
119
|
+
"bottom": 0,
|
|
120
|
+
"elevation": 9999,
|
|
121
|
+
"flexDirection": "column-reverse",
|
|
122
|
+
"left": 0,
|
|
123
|
+
"paddingHorizontal": 24,
|
|
124
|
+
"paddingVertical": 16,
|
|
125
|
+
"position": "absolute",
|
|
126
|
+
"right": 0,
|
|
127
|
+
"top": 0,
|
|
128
|
+
},
|
|
129
|
+
undefined,
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
/>
|
|
133
|
+
</View>
|
|
134
|
+
`;
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`SearchTwoLine renders correctly 1`] = `
|
|
4
|
+
<View
|
|
5
|
+
style={
|
|
6
|
+
{
|
|
7
|
+
"flex": 1,
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
>
|
|
11
|
+
<View
|
|
12
|
+
style={
|
|
13
|
+
[
|
|
14
|
+
{
|
|
15
|
+
"width": "100%",
|
|
16
|
+
},
|
|
17
|
+
undefined,
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
>
|
|
21
|
+
<View
|
|
22
|
+
style={
|
|
23
|
+
[
|
|
24
|
+
{
|
|
25
|
+
"alignItems": "center",
|
|
26
|
+
"backgroundColor": "#f6f6f7",
|
|
27
|
+
"borderColor": "#f6f6f7",
|
|
28
|
+
"borderRadius": 999,
|
|
29
|
+
"borderWidth": 2,
|
|
30
|
+
"flexDirection": "row",
|
|
31
|
+
"height": 56,
|
|
32
|
+
"paddingHorizontal": 8,
|
|
33
|
+
"paddingVertical": 8,
|
|
34
|
+
},
|
|
35
|
+
undefined,
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
themeFocused={false}
|
|
39
|
+
>
|
|
40
|
+
<View
|
|
41
|
+
style={
|
|
42
|
+
[
|
|
43
|
+
{
|
|
44
|
+
"paddingHorizontal": 4,
|
|
45
|
+
},
|
|
46
|
+
undefined,
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
>
|
|
50
|
+
<HeroIcon
|
|
51
|
+
name="search-outlined"
|
|
52
|
+
style={
|
|
53
|
+
[
|
|
54
|
+
{
|
|
55
|
+
"color": "#001f23",
|
|
56
|
+
"fontSize": 20,
|
|
57
|
+
},
|
|
58
|
+
undefined,
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
testID="input-prefix"
|
|
62
|
+
themeIntent="text"
|
|
63
|
+
themeSize="small"
|
|
64
|
+
/>
|
|
65
|
+
</View>
|
|
66
|
+
<View
|
|
67
|
+
style={
|
|
68
|
+
[
|
|
69
|
+
{
|
|
70
|
+
"alignItems": "flex-start",
|
|
71
|
+
"display": "flex",
|
|
72
|
+
"flexDirection": "column",
|
|
73
|
+
"flexGrow": 1,
|
|
74
|
+
"height": "100%",
|
|
75
|
+
"justifyContent": "space-between",
|
|
76
|
+
"marginHorizontal": 8,
|
|
77
|
+
},
|
|
78
|
+
undefined,
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
>
|
|
82
|
+
<Text
|
|
83
|
+
allowFontScaling={false}
|
|
84
|
+
style={
|
|
85
|
+
[
|
|
86
|
+
{
|
|
87
|
+
"color": "#001f23",
|
|
88
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
89
|
+
"fontSize": 12,
|
|
90
|
+
"letterSpacing": 0.24,
|
|
91
|
+
"lineHeight": 16,
|
|
92
|
+
},
|
|
93
|
+
undefined,
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
themeFontWeight="semi-bold"
|
|
97
|
+
themeIntent="body"
|
|
98
|
+
>
|
|
99
|
+
Find Work
|
|
100
|
+
</Text>
|
|
101
|
+
<Text
|
|
102
|
+
allowFontScaling={false}
|
|
103
|
+
style={
|
|
104
|
+
[
|
|
105
|
+
{
|
|
106
|
+
"color": "#001f23",
|
|
107
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
108
|
+
"fontSize": 12,
|
|
109
|
+
"letterSpacing": 0.36,
|
|
110
|
+
"lineHeight": 16,
|
|
111
|
+
},
|
|
112
|
+
undefined,
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
themeFontWeight="regular"
|
|
116
|
+
themeIntent="body"
|
|
117
|
+
>
|
|
118
|
+
Anywhere
|
|
119
|
+
</Text>
|
|
120
|
+
</View>
|
|
121
|
+
<View
|
|
122
|
+
style={
|
|
123
|
+
[
|
|
124
|
+
{
|
|
125
|
+
"paddingHorizontal": 4,
|
|
126
|
+
},
|
|
127
|
+
undefined,
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
>
|
|
131
|
+
<HeroIcon
|
|
132
|
+
name="adjustment"
|
|
133
|
+
style={
|
|
134
|
+
[
|
|
135
|
+
{
|
|
136
|
+
"color": "#001f23",
|
|
137
|
+
"fontSize": 20,
|
|
138
|
+
},
|
|
139
|
+
undefined,
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
testID="input-suffix"
|
|
143
|
+
themeIntent="text"
|
|
144
|
+
themeSize="small"
|
|
145
|
+
/>
|
|
146
|
+
</View>
|
|
147
|
+
</View>
|
|
148
|
+
</View>
|
|
149
|
+
<View
|
|
150
|
+
pointerEvents="box-none"
|
|
151
|
+
position="bottom"
|
|
152
|
+
style={
|
|
153
|
+
[
|
|
154
|
+
{
|
|
155
|
+
"bottom": 0,
|
|
156
|
+
"elevation": 9999,
|
|
157
|
+
"flexDirection": "column-reverse",
|
|
158
|
+
"left": 0,
|
|
159
|
+
"paddingHorizontal": 24,
|
|
160
|
+
"paddingVertical": 16,
|
|
161
|
+
"position": "absolute",
|
|
162
|
+
"right": 0,
|
|
163
|
+
"top": 0,
|
|
164
|
+
},
|
|
165
|
+
undefined,
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
/>
|
|
169
|
+
</View>
|
|
170
|
+
`;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`utils renderPrefix renders correctly 1`] = `
|
|
4
|
+
<View
|
|
5
|
+
style={
|
|
6
|
+
{
|
|
7
|
+
"flex": 1,
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
>
|
|
11
|
+
<View
|
|
12
|
+
style={
|
|
13
|
+
[
|
|
14
|
+
{
|
|
15
|
+
"paddingHorizontal": 4,
|
|
16
|
+
},
|
|
17
|
+
undefined,
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
>
|
|
21
|
+
<HeroIcon
|
|
22
|
+
name="search-outlined"
|
|
23
|
+
style={
|
|
24
|
+
[
|
|
25
|
+
{
|
|
26
|
+
"color": "#001f23",
|
|
27
|
+
"fontSize": 20,
|
|
28
|
+
},
|
|
29
|
+
undefined,
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
testID="input-prefix"
|
|
33
|
+
themeIntent="text"
|
|
34
|
+
themeSize="small"
|
|
35
|
+
/>
|
|
36
|
+
</View>
|
|
37
|
+
<View
|
|
38
|
+
pointerEvents="box-none"
|
|
39
|
+
position="bottom"
|
|
40
|
+
style={
|
|
41
|
+
[
|
|
42
|
+
{
|
|
43
|
+
"bottom": 0,
|
|
44
|
+
"elevation": 9999,
|
|
45
|
+
"flexDirection": "column-reverse",
|
|
46
|
+
"left": 0,
|
|
47
|
+
"paddingHorizontal": 24,
|
|
48
|
+
"paddingVertical": 16,
|
|
49
|
+
"position": "absolute",
|
|
50
|
+
"right": 0,
|
|
51
|
+
"top": 0,
|
|
52
|
+
},
|
|
53
|
+
undefined,
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
/>
|
|
57
|
+
</View>
|
|
58
|
+
`;
|
|
59
|
+
|
|
60
|
+
exports[`utils renderSuffix renders correctly 1`] = `
|
|
61
|
+
<View
|
|
62
|
+
style={
|
|
63
|
+
{
|
|
64
|
+
"flex": 1,
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
>
|
|
68
|
+
<View
|
|
69
|
+
style={
|
|
70
|
+
[
|
|
71
|
+
{
|
|
72
|
+
"paddingHorizontal": 4,
|
|
73
|
+
},
|
|
74
|
+
undefined,
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
>
|
|
78
|
+
<HeroIcon
|
|
79
|
+
name="adjustment"
|
|
80
|
+
style={
|
|
81
|
+
[
|
|
82
|
+
{
|
|
83
|
+
"color": "#001f23",
|
|
84
|
+
"fontSize": 20,
|
|
85
|
+
},
|
|
86
|
+
undefined,
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
testID="input-suffix"
|
|
90
|
+
themeIntent="text"
|
|
91
|
+
themeSize="small"
|
|
92
|
+
/>
|
|
93
|
+
</View>
|
|
94
|
+
<View
|
|
95
|
+
pointerEvents="box-none"
|
|
96
|
+
position="bottom"
|
|
97
|
+
style={
|
|
98
|
+
[
|
|
99
|
+
{
|
|
100
|
+
"bottom": 0,
|
|
101
|
+
"elevation": 9999,
|
|
102
|
+
"flexDirection": "column-reverse",
|
|
103
|
+
"left": 0,
|
|
104
|
+
"paddingHorizontal": 24,
|
|
105
|
+
"paddingVertical": 16,
|
|
106
|
+
"position": "absolute",
|
|
107
|
+
"right": 0,
|
|
108
|
+
"top": 0,
|
|
109
|
+
},
|
|
110
|
+
undefined,
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
/>
|
|
114
|
+
</View>
|
|
115
|
+
`;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import renderWithTheme from '../../../testHelpers/renderWithTheme';
|
|
3
|
+
import { renderPrefix, renderSuffix } from '../utils';
|
|
4
|
+
|
|
5
|
+
describe('utils', () => {
|
|
6
|
+
it('renderPrefix renders correctly', () => {
|
|
7
|
+
const wrapper = renderWithTheme(
|
|
8
|
+
<>{renderPrefix({ prefix: 'search-outlined' })}</>
|
|
9
|
+
);
|
|
10
|
+
expect(wrapper.toJSON()).toMatchSnapshot();
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it('renderSuffix renders correctly', () => {
|
|
14
|
+
const wrapper = renderWithTheme(
|
|
15
|
+
<>{renderSuffix({ suffix: 'adjustment' })}</>
|
|
16
|
+
);
|
|
17
|
+
expect(wrapper.toJSON()).toMatchSnapshot();
|
|
18
|
+
});
|
|
19
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import SearchTwoLine from './SearchTwoLine';
|
|
2
|
+
import SearchOneLine from './SearchOneLine';
|
|
3
|
+
import SearchSuffixIcon from './SearchSuffixIcon';
|
|
4
|
+
|
|
5
|
+
type SearchType = {
|
|
6
|
+
OneLine: typeof SearchOneLine;
|
|
7
|
+
TwoLine: typeof SearchTwoLine;
|
|
8
|
+
SuffixIcon: typeof SearchSuffixIcon;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
const Search: SearchType = {
|
|
12
|
+
OneLine: SearchOneLine,
|
|
13
|
+
TwoLine: SearchTwoLine,
|
|
14
|
+
SuffixIcon: SearchSuffixIcon,
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default Search;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Icon, { IconName } from '../Icon';
|
|
3
|
+
import { StyledAffixContainer } from './StyledSearch';
|
|
4
|
+
|
|
5
|
+
export const renderPrefix = ({
|
|
6
|
+
prefix,
|
|
7
|
+
}: {
|
|
8
|
+
prefix?: IconName | React.ReactElement;
|
|
9
|
+
}) => {
|
|
10
|
+
return typeof prefix === 'string' ? (
|
|
11
|
+
<StyledAffixContainer>
|
|
12
|
+
<Icon intent="text" testID="input-prefix" icon={prefix} size="small" />
|
|
13
|
+
</StyledAffixContainer>
|
|
14
|
+
) : (
|
|
15
|
+
prefix
|
|
16
|
+
);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export const renderSuffix = ({
|
|
20
|
+
suffix,
|
|
21
|
+
}: {
|
|
22
|
+
suffix?: IconName | React.ReactElement;
|
|
23
|
+
}) => {
|
|
24
|
+
return typeof suffix === 'string' ? (
|
|
25
|
+
<StyledAffixContainer>
|
|
26
|
+
<Icon intent="text" testID="input-suffix" icon={suffix} size="small" />
|
|
27
|
+
</StyledAffixContainer>
|
|
28
|
+
) : (
|
|
29
|
+
suffix
|
|
30
|
+
);
|
|
31
|
+
};
|
|
@@ -68,7 +68,7 @@ exports[`SectionHeading allows to customise the icon 1`] = `
|
|
|
68
68
|
style={
|
|
69
69
|
[
|
|
70
70
|
{
|
|
71
|
-
"color": "#
|
|
71
|
+
"color": "#401960",
|
|
72
72
|
"fontFamily": "BeVietnamPro-Regular",
|
|
73
73
|
"fontSize": 14,
|
|
74
74
|
"letterSpacing": 0.48,
|
|
@@ -437,7 +437,7 @@ exports[`SectionHeading renders correct style with small 1`] = `
|
|
|
437
437
|
[
|
|
438
438
|
{
|
|
439
439
|
"alignContent": "center",
|
|
440
|
-
"backgroundColor": "#
|
|
440
|
+
"backgroundColor": "#ccd2d3",
|
|
441
441
|
"display": "flex",
|
|
442
442
|
"flexDirection": "row",
|
|
443
443
|
"justifyContent": "space-between",
|
|
@@ -35,7 +35,7 @@ exports[`Option renders correctly 1`] = `
|
|
|
35
35
|
[
|
|
36
36
|
{
|
|
37
37
|
"alignItems": "center",
|
|
38
|
-
"backgroundColor": "#
|
|
38
|
+
"backgroundColor": "#ece8ef",
|
|
39
39
|
"borderRadius": 4,
|
|
40
40
|
"flexDirection": "row",
|
|
41
41
|
"opacity": 1,
|
|
@@ -91,7 +91,7 @@ exports[`Option renders correctly 1`] = `
|
|
|
91
91
|
style={
|
|
92
92
|
[
|
|
93
93
|
{
|
|
94
|
-
"color": "#
|
|
94
|
+
"color": "#401960",
|
|
95
95
|
"fontSize": 20,
|
|
96
96
|
},
|
|
97
97
|
{
|
|
@@ -224,7 +224,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
224
224
|
[
|
|
225
225
|
{
|
|
226
226
|
"alignItems": "center",
|
|
227
|
-
"backgroundColor": "#
|
|
227
|
+
"backgroundColor": "#ece8ef",
|
|
228
228
|
"borderRadius": 4,
|
|
229
229
|
"flexDirection": "row",
|
|
230
230
|
"opacity": 1,
|
|
@@ -280,7 +280,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
280
280
|
style={
|
|
281
281
|
[
|
|
282
282
|
{
|
|
283
|
-
"color": "#
|
|
283
|
+
"color": "#401960",
|
|
284
284
|
"fontSize": 20,
|
|
285
285
|
},
|
|
286
286
|
{
|
|
@@ -771,7 +771,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
771
771
|
style={
|
|
772
772
|
[
|
|
773
773
|
{
|
|
774
|
-
"backgroundColor": "#
|
|
774
|
+
"backgroundColor": "#401960",
|
|
775
775
|
"borderRadius": 999,
|
|
776
776
|
"height": 16,
|
|
777
777
|
"opacity": 0.9,
|
|
@@ -789,7 +789,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
789
789
|
style={
|
|
790
790
|
[
|
|
791
791
|
{
|
|
792
|
-
"backgroundColor": "#
|
|
792
|
+
"backgroundColor": "#401960",
|
|
793
793
|
"borderRadius": 999,
|
|
794
794
|
"height": 16,
|
|
795
795
|
"marginLeft": 8,
|
|
@@ -823,7 +823,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
823
823
|
style={
|
|
824
824
|
[
|
|
825
825
|
{
|
|
826
|
-
"backgroundColor": "#
|
|
826
|
+
"backgroundColor": "#401960",
|
|
827
827
|
"borderRadius": 999,
|
|
828
828
|
"height": 16,
|
|
829
829
|
"opacity": 0.45,
|
|
@@ -841,7 +841,7 @@ exports[`OptionList render isLoading correctly 1`] = `
|
|
|
841
841
|
style={
|
|
842
842
|
[
|
|
843
843
|
{
|
|
844
|
-
"backgroundColor": "#
|
|
844
|
+
"backgroundColor": "#401960",
|
|
845
845
|
"borderRadius": 999,
|
|
846
846
|
"height": 16,
|
|
847
847
|
"marginLeft": 8,
|
|
@@ -1098,7 +1098,7 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
1098
1098
|
[
|
|
1099
1099
|
{
|
|
1100
1100
|
"alignItems": "center",
|
|
1101
|
-
"backgroundColor": "#
|
|
1101
|
+
"backgroundColor": "#ece8ef",
|
|
1102
1102
|
"borderRadius": 4,
|
|
1103
1103
|
"flexDirection": "row",
|
|
1104
1104
|
"opacity": 1,
|
|
@@ -1154,7 +1154,7 @@ exports[`OptionList renders correctly 1`] = `
|
|
|
1154
1154
|
style={
|
|
1155
1155
|
[
|
|
1156
1156
|
{
|
|
1157
|
-
"color": "#
|
|
1157
|
+
"color": "#401960",
|
|
1158
1158
|
"fontSize": 20,
|
|
1159
1159
|
},
|
|
1160
1160
|
{
|
|
@@ -1819,7 +1819,7 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
|
|
|
1819
1819
|
[
|
|
1820
1820
|
{
|
|
1821
1821
|
"alignItems": "center",
|
|
1822
|
-
"backgroundColor": "#
|
|
1822
|
+
"backgroundColor": "#ece8ef",
|
|
1823
1823
|
"borderRadius": 4,
|
|
1824
1824
|
"flexDirection": "row",
|
|
1825
1825
|
"opacity": 1,
|
|
@@ -1875,7 +1875,7 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
|
|
|
1875
1875
|
style={
|
|
1876
1876
|
[
|
|
1877
1877
|
{
|
|
1878
|
-
"color": "#
|
|
1878
|
+
"color": "#401960",
|
|
1879
1879
|
"fontSize": 20,
|
|
1880
1880
|
},
|
|
1881
1881
|
{
|
|
@@ -2085,7 +2085,7 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
|
|
|
2085
2085
|
[
|
|
2086
2086
|
{
|
|
2087
2087
|
"alignItems": "center",
|
|
2088
|
-
"backgroundColor": "#
|
|
2088
|
+
"backgroundColor": "#ece8ef",
|
|
2089
2089
|
"borderRadius": 4,
|
|
2090
2090
|
"flexDirection": "row",
|
|
2091
2091
|
"opacity": 1,
|
|
@@ -2141,7 +2141,7 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
|
|
|
2141
2141
|
style={
|
|
2142
2142
|
[
|
|
2143
2143
|
{
|
|
2144
|
-
"color": "#
|
|
2144
|
+
"color": "#401960",
|
|
2145
2145
|
"fontSize": 20,
|
|
2146
2146
|
},
|
|
2147
2147
|
{
|
|
@@ -2568,7 +2568,7 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
|
|
|
2568
2568
|
[
|
|
2569
2569
|
{
|
|
2570
2570
|
"alignItems": "center",
|
|
2571
|
-
"backgroundColor": "#
|
|
2571
|
+
"backgroundColor": "#ece8ef",
|
|
2572
2572
|
"borderRadius": 4,
|
|
2573
2573
|
"flexDirection": "row",
|
|
2574
2574
|
"opacity": 1,
|
|
@@ -2624,7 +2624,7 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
|
|
|
2624
2624
|
style={
|
|
2625
2625
|
[
|
|
2626
2626
|
{
|
|
2627
|
-
"color": "#
|
|
2627
|
+
"color": "#401960",
|
|
2628
2628
|
"fontSize": 20,
|
|
2629
2629
|
},
|
|
2630
2630
|
{
|