@hero-design/rn 8.34.2-alpha.0 → 8.34.2
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 +2 -2
- package/.turbo/turbo-publish:npm.log +0 -9
- package/es/index.js +11189 -2212
- package/lib/index.js +11189 -2211
- package/package.json +9 -10
- package/rollup.config.js +3 -7
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/FAB/ActionGroup/index.tsx +1 -1
- package/src/components/FAB/FAB.tsx +1 -0
- package/src/components/FAB/StyledFAB.tsx +20 -16
- package/src/components/FAB/__tests__/StyledFAB.spec.tsx +11 -1
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +57 -0
- package/src/components/List/StyledListItem.tsx +1 -1
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -0
- package/src/components/Progress/StyledProgressBar.tsx +1 -0
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +46 -44
- package/src/components/Switch/SelectorSwitch/StyledSelectorSwitch.tsx +4 -7
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
- package/src/components/Switch/SelectorSwitch/index.tsx +7 -15
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +12 -12
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +4 -4
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +9 -8
- package/src/theme/components/fab.ts +1 -0
- package/src/theme/components/list.ts +1 -1
- package/src/theme/components/progress.ts +2 -2
- package/src/theme/components/switch.ts +4 -4
- package/src/theme/components/tabs.ts +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +4 -4
- package/src/theme/global/colors/work.ts +4 -4
- 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 +0 -0
- 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 +0 -0
- package/types/components/Badge/index.d.ts +0 -0
- 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 +0 -0
- package/types/components/BottomSheet/ScrollView.d.ts +0 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
- package/types/components/BottomSheet/index.d.ts +0 -0
- package/types/components/Box/StyledBox.d.ts +0 -0
- 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 +2 -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/StyledProgressBar.d.ts +0 -0
- package/types/components/Progress/StyledProgressCircle.d.ts +0 -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 +0 -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/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/ScrollableTabsHeader.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 +0 -0
- package/types/testHelpers/renderWithTheme.d.ts +0 -0
- package/types/theme/ThemeProvider.d.ts +0 -0
- package/types/theme/ThemeSwitcher.d.ts +0 -0
- package/types/theme/components/accordion.d.ts +0 -0
- package/types/theme/components/alert.d.ts +0 -0
- 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 +0 -0
- package/types/theme/components/bottomNavigation.d.ts +0 -0
- package/types/theme/components/bottomSheet.d.ts +0 -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 +1 -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 +1 -1
- 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 +0 -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/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 +1 -1
- 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 +0 -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/types.d.ts +0 -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 +0 -0
- 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 +0 -0
- 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/.tool-versions +0 -1
- package/.turbo/turbo-build:types.log +0 -9
- package/.turbo/turbo-lint.log +0 -152
- package/.turbo/turbo-test.log +0 -725
- package/.turbo/turbo-type-check.log +0 -1
- package/types/components/Tabs/ScrollableTabsV2/SceneView.d.ts +0 -10
- package/types/components/Tabs/ScrollableTabsV2/ScrollableTabsV2.d.ts +0 -9
- package/types/components/Tabs/ScrollableTabsV2/index.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "8.34.2
|
|
3
|
+
"version": "8.34.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -21,16 +21,13 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@emotion/native": "^11.9.3",
|
|
23
23
|
"@emotion/react": "^11.9.3",
|
|
24
|
-
"@hero-design/colors": "8.34.
|
|
25
|
-
"@hero-design/react-native-month-year-picker": "^8.34.1",
|
|
24
|
+
"@hero-design/colors": "8.34.2",
|
|
26
25
|
"date-fns": "^2.16.1",
|
|
27
26
|
"events": "^3.2.0",
|
|
28
|
-
"hero-editor": "^1.9.21"
|
|
29
|
-
"react-native-root-siblings": "^4.1.1",
|
|
30
|
-
"rollup-plugin-jsx": "^1.0.3"
|
|
27
|
+
"hero-editor": "^1.9.21"
|
|
31
28
|
},
|
|
32
29
|
"peerDependencies": {
|
|
33
|
-
"@hero-design/react-native-month-year-picker": "^8.34.
|
|
30
|
+
"@hero-design/react-native-month-year-picker": "^8.34.2",
|
|
34
31
|
"@react-native-community/datetimepicker": "^3.5.2",
|
|
35
32
|
"@react-native-community/slider": "4.1.12",
|
|
36
33
|
"react": "18.0.0",
|
|
@@ -38,6 +35,7 @@
|
|
|
38
35
|
"react-native-gesture-handler": "^1.10.3 | ~2.5.0",
|
|
39
36
|
"react-native-linear-gradient": "^2.6.2",
|
|
40
37
|
"react-native-pager-view": "^5.4.25",
|
|
38
|
+
"react-native-root-siblings": "^4.1.1",
|
|
41
39
|
"react-native-safe-area-context": "^3.0.2",
|
|
42
40
|
"react-native-vector-icons": "^9.1.0",
|
|
43
41
|
"react-native-webview": "^11.2.5"
|
|
@@ -49,7 +47,8 @@
|
|
|
49
47
|
"@babel/preset-typescript": "^7.17.12",
|
|
50
48
|
"@babel/runtime": "^7.18.9",
|
|
51
49
|
"@emotion/jest": "^11.9.3",
|
|
52
|
-
"@hero-design/eslint-plugin": "8.34.
|
|
50
|
+
"@hero-design/eslint-plugin": "8.34.2",
|
|
51
|
+
"@hero-design/react-native-month-year-picker": "^8.34.2",
|
|
53
52
|
"@react-native-community/datetimepicker": "^3.5.2",
|
|
54
53
|
"@react-native-community/slider": "4.1.12",
|
|
55
54
|
"@rollup/plugin-babel": "^5.3.1",
|
|
@@ -65,10 +64,10 @@
|
|
|
65
64
|
"@types/react-native": "^0.67.7",
|
|
66
65
|
"@types/react-native-vector-icons": "^6.4.10",
|
|
67
66
|
"babel-plugin-inline-import": "^3.0.0",
|
|
68
|
-
"eslint-config-hd": "8.34.
|
|
67
|
+
"eslint-config-hd": "8.34.2",
|
|
69
68
|
"eslint-plugin-import": "^2.27.5",
|
|
70
69
|
"jest": "^27.3.1",
|
|
71
|
-
"prettier-config-hd": "8.34.
|
|
70
|
+
"prettier-config-hd": "8.34.2",
|
|
72
71
|
"react": "18.0.0",
|
|
73
72
|
"react-native": "0.69.7",
|
|
74
73
|
"react-native-gesture-handler": "~2.5.0",
|
package/rollup.config.js
CHANGED
|
@@ -35,6 +35,7 @@ export default {
|
|
|
35
35
|
'react-native-vector-icons',
|
|
36
36
|
'react-native-linear-gradient',
|
|
37
37
|
'@hero-design/react-native-month-year-picker',
|
|
38
|
+
'react-native-root-siblings',
|
|
38
39
|
],
|
|
39
40
|
plugins: [
|
|
40
41
|
replace({
|
|
@@ -42,15 +43,10 @@ export default {
|
|
|
42
43
|
}),
|
|
43
44
|
nodeResolve({ extensions, browser: true }),
|
|
44
45
|
flow(),
|
|
46
|
+
commonjs(),
|
|
45
47
|
json(),
|
|
46
48
|
typescript(),
|
|
47
|
-
babel({
|
|
48
|
-
exclude: 'node_modules/**',
|
|
49
|
-
presets: ['@babel/env', '@babel/preset-react'],
|
|
50
|
-
extensions,
|
|
51
|
-
babelHelpers: 'bundled',
|
|
52
|
-
}),
|
|
53
|
-
commonjs(),
|
|
49
|
+
babel({ extensions, babelHelpers: 'bundled' }),
|
|
54
50
|
copy({
|
|
55
51
|
targets: [
|
|
56
52
|
{
|
|
@@ -34,7 +34,7 @@ exports[`AvatarStack renders correctly by default 1`] = `
|
|
|
34
34
|
onStartShouldSetResponder={[Function]}
|
|
35
35
|
style={
|
|
36
36
|
Object {
|
|
37
|
-
"backgroundColor": "#
|
|
37
|
+
"backgroundColor": "#001f23",
|
|
38
38
|
"borderRadius": 999,
|
|
39
39
|
"height": 32,
|
|
40
40
|
"left": 0,
|
|
@@ -111,7 +111,7 @@ exports[`AvatarStack renders correctly by default 1`] = `
|
|
|
111
111
|
onStartShouldSetResponder={[Function]}
|
|
112
112
|
style={
|
|
113
113
|
Object {
|
|
114
|
-
"backgroundColor": "#
|
|
114
|
+
"backgroundColor": "#0d2a2e",
|
|
115
115
|
"borderRadius": 999,
|
|
116
116
|
"height": 32,
|
|
117
117
|
"left": 22.4,
|
|
@@ -188,7 +188,7 @@ exports[`AvatarStack renders correctly by default 1`] = `
|
|
|
188
188
|
onStartShouldSetResponder={[Function]}
|
|
189
189
|
style={
|
|
190
190
|
Object {
|
|
191
|
-
"backgroundColor": "#
|
|
191
|
+
"backgroundColor": "#193539",
|
|
192
192
|
"borderRadius": 999,
|
|
193
193
|
"height": 32,
|
|
194
194
|
"left": 44.8,
|
|
@@ -265,7 +265,7 @@ exports[`AvatarStack renders correctly by default 1`] = `
|
|
|
265
265
|
onStartShouldSetResponder={[Function]}
|
|
266
266
|
style={
|
|
267
267
|
Object {
|
|
268
|
-
"backgroundColor": "#
|
|
268
|
+
"backgroundColor": "#264144",
|
|
269
269
|
"borderRadius": 999,
|
|
270
270
|
"height": 32,
|
|
271
271
|
"left": 67.19999999999999,
|
|
@@ -342,7 +342,7 @@ exports[`AvatarStack renders correctly by default 1`] = `
|
|
|
342
342
|
onStartShouldSetResponder={[Function]}
|
|
343
343
|
style={
|
|
344
344
|
Object {
|
|
345
|
-
"backgroundColor": "#
|
|
345
|
+
"backgroundColor": "#334c4f",
|
|
346
346
|
"borderRadius": 999,
|
|
347
347
|
"height": 32,
|
|
348
348
|
"left": 89.6,
|
|
@@ -438,7 +438,7 @@ exports[`AvatarStack renders correctly with custom props 1`] = `
|
|
|
438
438
|
onStartShouldSetResponder={[Function]}
|
|
439
439
|
style={
|
|
440
440
|
Object {
|
|
441
|
-
"backgroundColor": "#
|
|
441
|
+
"backgroundColor": "#001f23",
|
|
442
442
|
"borderRadius": 999,
|
|
443
443
|
"height": 40,
|
|
444
444
|
"left": 0,
|
|
@@ -515,7 +515,7 @@ exports[`AvatarStack renders correctly with custom props 1`] = `
|
|
|
515
515
|
onStartShouldSetResponder={[Function]}
|
|
516
516
|
style={
|
|
517
517
|
Object {
|
|
518
|
-
"backgroundColor": "#
|
|
518
|
+
"backgroundColor": "#0d2a2e",
|
|
519
519
|
"borderRadius": 999,
|
|
520
520
|
"height": 40,
|
|
521
521
|
"left": 28,
|
|
@@ -592,7 +592,7 @@ exports[`AvatarStack renders correctly with custom props 1`] = `
|
|
|
592
592
|
onStartShouldSetResponder={[Function]}
|
|
593
593
|
style={
|
|
594
594
|
Object {
|
|
595
|
-
"backgroundColor": "#
|
|
595
|
+
"backgroundColor": "#193539",
|
|
596
596
|
"borderRadius": 999,
|
|
597
597
|
"height": 40,
|
|
598
598
|
"left": 56,
|
|
@@ -669,7 +669,7 @@ exports[`AvatarStack renders correctly with custom props 1`] = `
|
|
|
669
669
|
onStartShouldSetResponder={[Function]}
|
|
670
670
|
style={
|
|
671
671
|
Object {
|
|
672
|
-
"backgroundColor": "#
|
|
672
|
+
"backgroundColor": "#264144",
|
|
673
673
|
"borderRadius": 999,
|
|
674
674
|
"height": 40,
|
|
675
675
|
"left": 84,
|
|
@@ -764,7 +764,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
764
764
|
"backgroundColor": "#000000",
|
|
765
765
|
"bottom": 0,
|
|
766
766
|
"left": 0,
|
|
767
|
-
"opacity": 0.
|
|
767
|
+
"opacity": 0.25,
|
|
768
768
|
"position": "absolute",
|
|
769
769
|
"right": 0,
|
|
770
770
|
"top": 0,
|
|
@@ -1373,7 +1373,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
1373
1373
|
Object {
|
|
1374
1374
|
"alignItems": "center",
|
|
1375
1375
|
"alignSelf": "flex-start",
|
|
1376
|
-
"backgroundColor": "#
|
|
1376
|
+
"backgroundColor": "#664780",
|
|
1377
1377
|
"borderRadius": 999,
|
|
1378
1378
|
"elevation": 2,
|
|
1379
1379
|
"flexDirection": "row",
|
|
@@ -114,7 +114,7 @@ const ActionGroup = forwardRef<ActionGroupHandles, ActionGroupProps>(
|
|
|
114
114
|
const interpolatedBackdropOpacityAnimation =
|
|
115
115
|
tranlateXAnimation.current.interpolate({
|
|
116
116
|
inputRange: [0, 1],
|
|
117
|
-
outputRange: [0, 0.
|
|
117
|
+
outputRange: [0, 0.25],
|
|
118
118
|
});
|
|
119
119
|
|
|
120
120
|
const interpolatedActionGroupOpacityAnimation =
|
|
@@ -6,22 +6,26 @@ import Icon from '../Icon';
|
|
|
6
6
|
import Typography from '../Typography';
|
|
7
7
|
import Box from '../Box';
|
|
8
8
|
|
|
9
|
-
const StyledFAB = styled(TouchableHighlight)<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
9
|
+
const StyledFAB = styled(TouchableHighlight)<
|
|
10
|
+
TouchableHighlightProps & {
|
|
11
|
+
themeActive?: boolean;
|
|
12
|
+
}
|
|
13
|
+
>(({ theme, themeActive }) => ({
|
|
14
|
+
backgroundColor: themeActive
|
|
15
|
+
? theme.__hd__.fab.colors.buttonActiveBackground
|
|
16
|
+
: theme.__hd__.fab.colors.buttonBackground,
|
|
17
|
+
borderRadius: theme.radii.rounded,
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
justifyContent: 'center',
|
|
20
|
+
alignSelf: 'flex-start',
|
|
21
|
+
padding: theme.__hd__.fab.space.containerPadding,
|
|
22
|
+
flexDirection: 'row',
|
|
23
|
+
elevation: theme.__hd__.fab.shadows.elevation,
|
|
24
|
+
shadowColor: theme.__hd__.fab.colors.shadow,
|
|
25
|
+
shadowOffset: theme.__hd__.fab.shadows.offset,
|
|
26
|
+
shadowRadius: theme.__hd__.fab.shadows.radius,
|
|
27
|
+
shadowOpacity: theme.__hd__.fab.shadows.opacity,
|
|
28
|
+
}));
|
|
25
29
|
|
|
26
30
|
const StyledFABIcon = styled(Icon)<IconProps>(({ theme }) => ({
|
|
27
31
|
color: theme.__hd__.fab.colors.icon,
|
|
@@ -6,7 +6,17 @@ import { StyledFAB, StyledFABIcon } from '../StyledFAB';
|
|
|
6
6
|
describe('StyledFAB', () => {
|
|
7
7
|
it('renders correctly', () => {
|
|
8
8
|
const { toJSON } = renderWithTheme(
|
|
9
|
-
<StyledFAB>
|
|
9
|
+
<StyledFAB themeActive={false}>
|
|
10
|
+
<Typography.Body variant="small"> button </Typography.Body>
|
|
11
|
+
</StyledFAB>
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
expect(toJSON()).toMatchSnapshot();
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
it('renders correctly', () => {
|
|
18
|
+
const { toJSON } = renderWithTheme(
|
|
19
|
+
<StyledFAB themeActive>
|
|
10
20
|
<Typography.Body variant="small"> button </Typography.Body>
|
|
11
21
|
</StyledFAB>
|
|
12
22
|
);
|
|
@@ -57,6 +57,63 @@ exports[`StyledFAB renders correctly 1`] = `
|
|
|
57
57
|
</View>
|
|
58
58
|
`;
|
|
59
59
|
|
|
60
|
+
exports[`StyledFAB renders correctly 2`] = `
|
|
61
|
+
<View
|
|
62
|
+
accessible={true}
|
|
63
|
+
focusable={false}
|
|
64
|
+
onClick={[Function]}
|
|
65
|
+
onResponderGrant={[Function]}
|
|
66
|
+
onResponderMove={[Function]}
|
|
67
|
+
onResponderRelease={[Function]}
|
|
68
|
+
onResponderTerminate={[Function]}
|
|
69
|
+
onResponderTerminationRequest={[Function]}
|
|
70
|
+
onStartShouldSetResponder={[Function]}
|
|
71
|
+
style={
|
|
72
|
+
Array [
|
|
73
|
+
Object {
|
|
74
|
+
"alignItems": "center",
|
|
75
|
+
"alignSelf": "flex-start",
|
|
76
|
+
"backgroundColor": "#664780",
|
|
77
|
+
"borderRadius": 999,
|
|
78
|
+
"elevation": 2,
|
|
79
|
+
"flexDirection": "row",
|
|
80
|
+
"justifyContent": "center",
|
|
81
|
+
"padding": 20,
|
|
82
|
+
"shadowColor": "#001f23",
|
|
83
|
+
"shadowOffset": Object {
|
|
84
|
+
"height": 2,
|
|
85
|
+
"width": 0,
|
|
86
|
+
},
|
|
87
|
+
"shadowOpacity": 0.12,
|
|
88
|
+
"shadowRadius": 8,
|
|
89
|
+
},
|
|
90
|
+
undefined,
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
>
|
|
94
|
+
<Text
|
|
95
|
+
allowFontScaling={false}
|
|
96
|
+
style={
|
|
97
|
+
Array [
|
|
98
|
+
Object {
|
|
99
|
+
"color": "#001f23",
|
|
100
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
101
|
+
"fontSize": 14,
|
|
102
|
+
"letterSpacing": 0.48,
|
|
103
|
+
"lineHeight": 22,
|
|
104
|
+
},
|
|
105
|
+
undefined,
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
themeIntent="body"
|
|
109
|
+
themeTypeface="neutral"
|
|
110
|
+
themeVariant="small"
|
|
111
|
+
>
|
|
112
|
+
button
|
|
113
|
+
</Text>
|
|
114
|
+
</View>
|
|
115
|
+
`;
|
|
116
|
+
|
|
60
117
|
exports[`StyledFABIcon renders correctly 1`] = `
|
|
61
118
|
<HeroIcon
|
|
62
119
|
name="add"
|
|
@@ -19,6 +19,7 @@ const StyledListItemContainer = styled(TouchableHighlight)<{
|
|
|
19
19
|
? theme.__hd__.list.colors.checkedListItemContainerBackground
|
|
20
20
|
: theme.__hd__.list.colors.listItemContainerBackground,
|
|
21
21
|
padding: theme.__hd__.list.space.listItemContainerPadding,
|
|
22
|
+
borderRadius: theme.__hd__.list.radii.item,
|
|
22
23
|
};
|
|
23
24
|
|
|
24
25
|
switch (themeVariant) {
|
|
@@ -28,7 +29,6 @@ const StyledListItemContainer = styled(TouchableHighlight)<{
|
|
|
28
29
|
return {
|
|
29
30
|
...sharedStyles,
|
|
30
31
|
alignItems: 'center',
|
|
31
|
-
borderRadius: theme.__hd__.list.radii.card,
|
|
32
32
|
shadowColor: theme.colors.secondaryOutline,
|
|
33
33
|
shadowRadius: theme.__hd__.list.radii.cardShadow,
|
|
34
34
|
shadowOffset: theme.__hd__.list.shadows.cardOffset,
|
|
@@ -20,6 +20,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
|
|
|
20
20
|
Array [
|
|
21
21
|
Object {
|
|
22
22
|
"backgroundColor": "#ffffff",
|
|
23
|
+
"borderRadius": 8,
|
|
23
24
|
"flexDirection": "row",
|
|
24
25
|
"padding": 16,
|
|
25
26
|
},
|
|
@@ -346,6 +347,7 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
|
|
|
346
347
|
Array [
|
|
347
348
|
Object {
|
|
348
349
|
"backgroundColor": "#ffffff",
|
|
350
|
+
"borderRadius": 8,
|
|
349
351
|
"flexDirection": "row",
|
|
350
352
|
"padding": 16,
|
|
351
353
|
},
|
|
@@ -474,6 +476,7 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
|
|
|
474
476
|
Array [
|
|
475
477
|
Object {
|
|
476
478
|
"backgroundColor": "#ffffff",
|
|
479
|
+
"borderRadius": 8,
|
|
477
480
|
"flexDirection": "row",
|
|
478
481
|
"padding": 16,
|
|
479
482
|
},
|
|
@@ -597,6 +600,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
|
|
|
597
600
|
Array [
|
|
598
601
|
Object {
|
|
599
602
|
"backgroundColor": "#ffffff",
|
|
603
|
+
"borderRadius": 8,
|
|
600
604
|
"flexDirection": "row",
|
|
601
605
|
"padding": 16,
|
|
602
606
|
},
|
|
@@ -155,6 +155,7 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant fu
|
|
|
155
155
|
Array [
|
|
156
156
|
Object {
|
|
157
157
|
"backgroundColor": "#ffffff",
|
|
158
|
+
"borderRadius": 8,
|
|
158
159
|
"flexDirection": "row",
|
|
159
160
|
"padding": 16,
|
|
160
161
|
},
|
|
@@ -255,6 +256,7 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant ful
|
|
|
255
256
|
Array [
|
|
256
257
|
Object {
|
|
257
258
|
"backgroundColor": "#ece8ef",
|
|
259
|
+
"borderRadius": 8,
|
|
258
260
|
"flexDirection": "row",
|
|
259
261
|
"padding": 16,
|
|
260
262
|
},
|
|
@@ -7,7 +7,8 @@ exports[`Progress.Bar renders correctly 1`] = `
|
|
|
7
7
|
Object {
|
|
8
8
|
"alignSelf": "stretch",
|
|
9
9
|
"backgroundColor": "#e8e9ea",
|
|
10
|
-
"
|
|
10
|
+
"borderRadius": 999,
|
|
11
|
+
"height": 8,
|
|
11
12
|
"overflow": "hidden",
|
|
12
13
|
},
|
|
13
14
|
undefined,
|
|
@@ -45,7 +46,8 @@ exports[`Progress.Bar renders correctly with intent 1`] = `
|
|
|
45
46
|
Object {
|
|
46
47
|
"alignSelf": "stretch",
|
|
47
48
|
"backgroundColor": "#e8e9ea",
|
|
48
|
-
"
|
|
49
|
+
"borderRadius": 999,
|
|
50
|
+
"height": 8,
|
|
49
51
|
"overflow": "hidden",
|
|
50
52
|
},
|
|
51
53
|
undefined,
|
|
@@ -110,7 +112,7 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
|
|
|
110
112
|
Object {
|
|
111
113
|
"borderColor": "#5ace7d",
|
|
112
114
|
"borderRadius": 999,
|
|
113
|
-
"borderWidth":
|
|
115
|
+
"borderWidth": 8,
|
|
114
116
|
"height": 72,
|
|
115
117
|
"width": 72,
|
|
116
118
|
},
|
|
@@ -161,7 +163,7 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
|
|
|
161
163
|
Object {
|
|
162
164
|
"borderColor": "#e8e9ea",
|
|
163
165
|
"borderRadius": 999,
|
|
164
|
-
"borderWidth":
|
|
166
|
+
"borderWidth": 8,
|
|
165
167
|
"height": 72,
|
|
166
168
|
"width": 72,
|
|
167
169
|
},
|
|
@@ -204,7 +206,7 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
|
|
|
204
206
|
Object {
|
|
205
207
|
"borderColor": "#5ace7d",
|
|
206
208
|
"borderRadius": 999,
|
|
207
|
-
"borderWidth":
|
|
209
|
+
"borderWidth": 8,
|
|
208
210
|
"height": 72,
|
|
209
211
|
"width": 72,
|
|
210
212
|
},
|
|
@@ -256,7 +258,7 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
|
|
|
256
258
|
Object {
|
|
257
259
|
"borderColor": "#e8e9ea",
|
|
258
260
|
"borderRadius": 999,
|
|
259
|
-
"borderWidth":
|
|
261
|
+
"borderWidth": 8,
|
|
260
262
|
"height": 72,
|
|
261
263
|
"width": 72,
|
|
262
264
|
},
|
|
@@ -274,11 +276,11 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
|
|
|
274
276
|
Object {
|
|
275
277
|
"backgroundColor": "#5ace7d",
|
|
276
278
|
"borderRadius": 999,
|
|
277
|
-
"height":
|
|
278
|
-
"left":
|
|
279
|
+
"height": 8,
|
|
280
|
+
"left": 32,
|
|
279
281
|
"position": "absolute",
|
|
280
282
|
"top": 0,
|
|
281
|
-
"width":
|
|
283
|
+
"width": 8,
|
|
282
284
|
"zIndex": 2,
|
|
283
285
|
},
|
|
284
286
|
undefined,
|
|
@@ -310,11 +312,11 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
|
|
|
310
312
|
Object {
|
|
311
313
|
"backgroundColor": "#5ace7d",
|
|
312
314
|
"borderRadius": 999,
|
|
313
|
-
"height":
|
|
314
|
-
"left":
|
|
315
|
+
"height": 8,
|
|
316
|
+
"left": 32,
|
|
315
317
|
"position": "absolute",
|
|
316
318
|
"top": 0,
|
|
317
|
-
"width":
|
|
319
|
+
"width": 8,
|
|
318
320
|
"zIndex": 2,
|
|
319
321
|
},
|
|
320
322
|
undefined,
|
|
@@ -329,12 +331,12 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
|
|
|
329
331
|
Object {
|
|
330
332
|
"alignItems": "center",
|
|
331
333
|
"borderRadius": 999,
|
|
332
|
-
"height":
|
|
334
|
+
"height": 56,
|
|
333
335
|
"justifyContent": "center",
|
|
334
|
-
"left":
|
|
336
|
+
"left": 8,
|
|
335
337
|
"position": "absolute",
|
|
336
|
-
"top":
|
|
337
|
-
"width":
|
|
338
|
+
"top": 8,
|
|
339
|
+
"width": 56,
|
|
338
340
|
"zIndex": 3,
|
|
339
341
|
},
|
|
340
342
|
undefined,
|
|
@@ -400,7 +402,7 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
400
402
|
Object {
|
|
401
403
|
"borderColor": "#401960",
|
|
402
404
|
"borderRadius": 999,
|
|
403
|
-
"borderWidth":
|
|
405
|
+
"borderWidth": 8,
|
|
404
406
|
"height": 72,
|
|
405
407
|
"width": 72,
|
|
406
408
|
},
|
|
@@ -451,7 +453,7 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
451
453
|
Object {
|
|
452
454
|
"borderColor": "#e8e9ea",
|
|
453
455
|
"borderRadius": 999,
|
|
454
|
-
"borderWidth":
|
|
456
|
+
"borderWidth": 8,
|
|
455
457
|
"height": 72,
|
|
456
458
|
"width": 72,
|
|
457
459
|
},
|
|
@@ -494,7 +496,7 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
494
496
|
Object {
|
|
495
497
|
"borderColor": "#401960",
|
|
496
498
|
"borderRadius": 999,
|
|
497
|
-
"borderWidth":
|
|
499
|
+
"borderWidth": 8,
|
|
498
500
|
"height": 72,
|
|
499
501
|
"width": 72,
|
|
500
502
|
},
|
|
@@ -546,7 +548,7 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
546
548
|
Object {
|
|
547
549
|
"borderColor": "#e8e9ea",
|
|
548
550
|
"borderRadius": 999,
|
|
549
|
-
"borderWidth":
|
|
551
|
+
"borderWidth": 8,
|
|
550
552
|
"height": 72,
|
|
551
553
|
"width": 72,
|
|
552
554
|
},
|
|
@@ -564,11 +566,11 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
564
566
|
Object {
|
|
565
567
|
"backgroundColor": "#401960",
|
|
566
568
|
"borderRadius": 999,
|
|
567
|
-
"height":
|
|
568
|
-
"left":
|
|
569
|
+
"height": 8,
|
|
570
|
+
"left": 32,
|
|
569
571
|
"position": "absolute",
|
|
570
572
|
"top": 0,
|
|
571
|
-
"width":
|
|
573
|
+
"width": 8,
|
|
572
574
|
"zIndex": 2,
|
|
573
575
|
},
|
|
574
576
|
undefined,
|
|
@@ -600,11 +602,11 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
600
602
|
Object {
|
|
601
603
|
"backgroundColor": "#401960",
|
|
602
604
|
"borderRadius": 999,
|
|
603
|
-
"height":
|
|
604
|
-
"left":
|
|
605
|
+
"height": 8,
|
|
606
|
+
"left": 32,
|
|
605
607
|
"position": "absolute",
|
|
606
608
|
"top": 0,
|
|
607
|
-
"width":
|
|
609
|
+
"width": 8,
|
|
608
610
|
"zIndex": 2,
|
|
609
611
|
},
|
|
610
612
|
undefined,
|
|
@@ -619,12 +621,12 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
619
621
|
Object {
|
|
620
622
|
"alignItems": "center",
|
|
621
623
|
"borderRadius": 999,
|
|
622
|
-
"height":
|
|
624
|
+
"height": 56,
|
|
623
625
|
"justifyContent": "center",
|
|
624
|
-
"left":
|
|
626
|
+
"left": 8,
|
|
625
627
|
"position": "absolute",
|
|
626
|
-
"top":
|
|
627
|
-
"width":
|
|
628
|
+
"top": 8,
|
|
629
|
+
"width": 56,
|
|
628
630
|
"zIndex": 3,
|
|
629
631
|
},
|
|
630
632
|
undefined,
|
|
@@ -690,7 +692,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
690
692
|
Object {
|
|
691
693
|
"borderColor": "#5ace7d",
|
|
692
694
|
"borderRadius": 999,
|
|
693
|
-
"borderWidth":
|
|
695
|
+
"borderWidth": 8,
|
|
694
696
|
"height": 72,
|
|
695
697
|
"width": 72,
|
|
696
698
|
},
|
|
@@ -741,7 +743,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
741
743
|
Object {
|
|
742
744
|
"borderColor": "#e8e9ea",
|
|
743
745
|
"borderRadius": 999,
|
|
744
|
-
"borderWidth":
|
|
746
|
+
"borderWidth": 8,
|
|
745
747
|
"height": 72,
|
|
746
748
|
"width": 72,
|
|
747
749
|
},
|
|
@@ -784,7 +786,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
784
786
|
Object {
|
|
785
787
|
"borderColor": "#5ace7d",
|
|
786
788
|
"borderRadius": 999,
|
|
787
|
-
"borderWidth":
|
|
789
|
+
"borderWidth": 8,
|
|
788
790
|
"height": 72,
|
|
789
791
|
"width": 72,
|
|
790
792
|
},
|
|
@@ -836,7 +838,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
836
838
|
Object {
|
|
837
839
|
"borderColor": "#e8e9ea",
|
|
838
840
|
"borderRadius": 999,
|
|
839
|
-
"borderWidth":
|
|
841
|
+
"borderWidth": 8,
|
|
840
842
|
"height": 72,
|
|
841
843
|
"width": 72,
|
|
842
844
|
},
|
|
@@ -854,11 +856,11 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
854
856
|
Object {
|
|
855
857
|
"backgroundColor": "#5ace7d",
|
|
856
858
|
"borderRadius": 999,
|
|
857
|
-
"height":
|
|
858
|
-
"left":
|
|
859
|
+
"height": 8,
|
|
860
|
+
"left": 32,
|
|
859
861
|
"position": "absolute",
|
|
860
862
|
"top": 0,
|
|
861
|
-
"width":
|
|
863
|
+
"width": 8,
|
|
862
864
|
"zIndex": 2,
|
|
863
865
|
},
|
|
864
866
|
undefined,
|
|
@@ -890,11 +892,11 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
890
892
|
Object {
|
|
891
893
|
"backgroundColor": "#5ace7d",
|
|
892
894
|
"borderRadius": 999,
|
|
893
|
-
"height":
|
|
894
|
-
"left":
|
|
895
|
+
"height": 8,
|
|
896
|
+
"left": 32,
|
|
895
897
|
"position": "absolute",
|
|
896
898
|
"top": 0,
|
|
897
|
-
"width":
|
|
899
|
+
"width": 8,
|
|
898
900
|
"zIndex": 2,
|
|
899
901
|
},
|
|
900
902
|
undefined,
|
|
@@ -909,12 +911,12 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
909
911
|
Object {
|
|
910
912
|
"alignItems": "center",
|
|
911
913
|
"borderRadius": 999,
|
|
912
|
-
"height":
|
|
914
|
+
"height": 56,
|
|
913
915
|
"justifyContent": "center",
|
|
914
|
-
"left":
|
|
916
|
+
"left": 8,
|
|
915
917
|
"position": "absolute",
|
|
916
|
-
"top":
|
|
917
|
-
"width":
|
|
918
|
+
"top": 8,
|
|
919
|
+
"width": 56,
|
|
918
920
|
"zIndex": 3,
|
|
919
921
|
},
|
|
920
922
|
undefined,
|