@hero-design/rn 7.23.0 → 7.25.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 +2 -2
- package/assets/fonts/hero-icons.ttf +0 -0
- package/es/index.js +1364 -9239
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +1368 -9238
- package/package.json +7 -4
- package/rollup.config.js +1 -0
- 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/Attachment/StyledAttachment.tsx +44 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +158 -0
- package/src/components/Attachment/__tests__/index.spec.tsx +59 -0
- package/src/components/Attachment/index.tsx +77 -0
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Badge/Status.tsx +1 -1
- package/src/components/Badge/StyledBadge.tsx +8 -1
- package/src/components/Badge/__tests__/Badge.spec.tsx +9 -0
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +44 -0
- package/src/components/Badge/index.tsx +1 -1
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/BottomSheet/Header.tsx +2 -1
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +52 -52
- package/src/components/BottomSheet/index.tsx +4 -4
- package/src/components/Button/Button.tsx +0 -11
- 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/LoadingIndicator/index.tsx +1 -1
- package/src/components/Button/StyledButton.tsx +24 -63
- package/src/components/Button/UtilityButton/__tests__/index.spec.tsx +2 -2
- package/src/components/Button/__tests__/Button.spec.tsx +10 -5
- package/src/components/Button/__tests__/StyledButton.spec.tsx +0 -70
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +301 -1206
- package/src/components/Calendar/CalendarRowItem.tsx +1 -4
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
- package/src/components/Calendar/index.tsx +4 -3
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Checkbox/StyledCheckbox.tsx +7 -5
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +4 -12
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +95 -42
- package/src/components/Checkbox/index.tsx +4 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/ContentNavigator/index.tsx +14 -9
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +29 -27
- package/src/components/Drawer/DragableDrawer/index.tsx +0 -2
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Empty/index.tsx +1 -2
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -1
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Icon/HeroIcon/fonts/hero-icons.ttf +0 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -0
- package/src/components/Icon/HeroIcon/index.tsx +3 -7
- package/src/components/Icon/IconList.ts +36 -6
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Icon/index.tsx +1 -0
- package/src/components/List/BasicListItem.tsx +13 -8
- package/src/components/List/ListItem.tsx +8 -6
- package/src/components/List/StyledBasicListItem.tsx +2 -2
- package/src/components/List/StyledListItem.tsx +2 -2
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +24 -36
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +39 -59
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +40 -44
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +50 -50
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
- package/src/components/Progress/ProgressBar.tsx +1 -1
- package/src/components/Progress/ProgressCircle.tsx +1 -1
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +10 -10
- package/src/components/Progress/types.ts +7 -1
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +20 -32
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +30 -48
- package/src/components/RefreshControl/__tests__/index.spec.tsx +1 -3
- package/src/components/RefreshControl/index.tsx +4 -2
- package/src/components/RichTextEditor/MentionList.tsx +12 -3
- package/src/components/RichTextEditor/RichTextEditor.tsx +4 -8
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +6 -4
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +13 -20
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +154 -238
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +435 -650
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +11 -18
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +144 -228
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +414 -629
- package/src/components/Select/StyledOptionList.tsx +0 -1
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
- package/src/components/Spinner/AnimatedSpinner.tsx +22 -7
- package/src/components/Spinner/StyledSpinner.tsx +15 -11
- package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +3 -1
- package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +42 -31
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +12 -8
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +543 -83
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +12 -8
- package/src/components/Spinner/index.tsx +6 -1
- package/src/components/Swipeable/StyledSwipeable.tsx +11 -0
- package/src/components/Swipeable/SwipeableAction.tsx +45 -0
- package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +37 -0
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +130 -0
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +33 -0
- package/src/components/Swipeable/__tests__/index.spec.tsx +34 -0
- package/src/components/Swipeable/index.tsx +160 -0
- package/src/components/Switch/SelectorSwitch/Option.tsx +1 -5
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/index.spec.tsx +1 -0
- package/src/components/Switch/SelectorSwitch/index.tsx +4 -1
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +1 -1
- package/src/components/Tabs/StyledTabs.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +2 -2
- package/src/components/TextInput/StyledTextInput.tsx +7 -12
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +12 -6
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +31 -146
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +40 -14
- package/src/components/TextInput/__tests__/index.spec.tsx +114 -124
- package/src/components/TextInput/index.tsx +8 -6
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +29 -27
- package/src/components/Toast/Toast.tsx +0 -3
- package/src/components/Toast/ToastProvider.tsx +1 -0
- package/src/components/Toast/__tests__/index.spec.tsx +1 -1
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +4 -4
- package/src/emotion.d.ts +1 -0
- package/src/index.ts +10 -0
- package/src/theme/ThemeSwitcher.tsx +7 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +96 -78
- package/src/theme/__tests__/ensureCompatibleWithV7.spec.tsx +13 -0
- package/src/theme/components/alert.ts +1 -1
- package/src/theme/components/attachment.ts +28 -0
- package/src/theme/components/avatar.ts +1 -1
- package/src/theme/components/badge.ts +2 -1
- package/src/theme/components/bottomNavigation.ts +1 -1
- package/src/theme/components/bottomSheet.ts +2 -2
- package/src/theme/components/button.ts +4 -20
- package/src/theme/components/calendar.ts +3 -3
- package/src/theme/components/card.ts +1 -1
- package/src/theme/components/checkbox.ts +2 -2
- package/src/theme/components/divider.ts +1 -1
- package/src/theme/components/drawer.ts +2 -2
- package/src/theme/components/empty.ts +3 -3
- package/src/theme/components/fab.ts +7 -7
- package/src/theme/components/icon.ts +4 -4
- package/src/theme/components/list.ts +0 -2
- package/src/theme/components/pinInput.ts +4 -4
- package/src/theme/components/progress.ts +6 -5
- package/src/theme/components/radio.ts +1 -1
- package/src/theme/components/richTextEditor.ts +2 -2
- package/src/theme/components/slider.ts +2 -2
- package/src/theme/components/spinner.ts +4 -1
- package/src/theme/components/swipeable.ts +13 -0
- package/src/theme/components/switch.ts +4 -4
- package/src/theme/components/tabs.ts +6 -5
- package/src/theme/components/tag.ts +2 -2
- package/src/theme/components/textInput.ts +23 -33
- package/src/theme/components/toast.ts +3 -3
- package/src/theme/components/toolbar.ts +3 -3
- package/src/theme/components/typography.ts +7 -7
- package/src/theme/getTheme.ts +7 -1
- package/src/theme/global/colors/eBens.ts +23 -0
- package/src/theme/global/colors/global.ts +15 -6
- package/src/theme/global/colors/jobs.ts +15 -10
- package/src/theme/global/colors/legacySystemPalette.ts +6 -6
- package/src/theme/global/colors/swag.ts +32 -53
- package/src/theme/global/colors/types.ts +35 -15
- package/src/theme/global/colors/wallet.ts +23 -0
- package/src/theme/global/colors/work.ts +15 -11
- package/src/theme/global/index.ts +4 -0
- package/src/theme/index.ts +4 -0
- package/src/types.ts +2 -0
- package/src/utils/functions.ts +2 -0
- package/src/utils/scale.ts +1 -1
- package/testUtils/setup.tsx +13 -0
- package/tsconfig.json +8 -2
- package/types/components/Accordion/StyledAccordion.d.ts +14 -14
- package/types/components/Alert/StyledAlert.d.ts +15 -15
- package/types/components/Attachment/StyledAttachment.d.ts +28 -0
- package/types/components/Attachment/index.d.ts +37 -0
- package/types/components/Avatar/StyledAvatar.d.ts +15 -15
- package/types/components/Avatar/index.d.ts +1 -1
- package/types/components/Badge/Status.d.ts +1 -1
- package/types/components/Badge/StyledBadge.d.ts +8 -8
- package/types/components/Badge/index.d.ts +1 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +21 -21
- package/types/components/BottomSheet/Header.d.ts +1 -1
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
- package/types/components/Box/StyledBox.d.ts +4 -4
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +7 -7
- package/types/components/Button/StyledButton.d.ts +15 -18
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +8 -8
- package/types/components/Calendar/StyledCalendar.d.ts +25 -25
- package/types/components/Calendar/helpers.d.ts +2 -2
- package/types/components/Card/DataCard/StyledDataCard.d.ts +6 -6
- package/types/components/Card/StyledCard.d.ts +7 -7
- package/types/components/Checkbox/StyledCheckbox.d.ts +16 -10
- package/types/components/Collapse/StyledCollapse.d.ts +8 -8
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +5 -5
- package/types/components/ContentNavigator/index.d.ts +2 -1
- package/types/components/DatePicker/StyledDatePicker.d.ts +3 -3
- package/types/components/Divider/StyledDivider.d.ts +5 -5
- package/types/components/Drawer/StyledDrawer.d.ts +19 -19
- package/types/components/Empty/StyledEmpty.d.ts +9 -9
- package/types/components/Empty/index.d.ts +1 -2
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +11 -11
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +7 -7
- package/types/components/FAB/StyledFAB.d.ts +8 -8
- package/types/components/Icon/HeroIcon/index.d.ts +3 -3
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +4 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/List/StyledBasicListItem.d.ts +16 -16
- package/types/components/List/StyledListItem.d.ts +25 -25
- package/types/components/PinInput/StyledPinInput.d.ts +30 -30
- package/types/components/Progress/ProgressBar.d.ts +1 -1
- package/types/components/Progress/ProgressCircle.d.ts +1 -1
- package/types/components/Progress/StyledProgressBar.d.ts +5 -5
- package/types/components/Progress/StyledProgressCircle.d.ts +18 -18
- package/types/components/Progress/types.d.ts +1 -1
- package/types/components/Radio/StyledRadio.d.ts +9 -9
- package/types/components/RefreshControl/index.d.ts +1 -2
- package/types/components/RichTextEditor/EditorToolbar.d.ts +1 -1
- package/types/components/RichTextEditor/MentionList.d.ts +1 -1
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +6 -6
- package/types/components/RichTextEditor/StyledToolbar.d.ts +9 -9
- package/types/components/RichTextEditor/index.d.ts +2 -2
- package/types/components/SectionHeading/StyledHeading.d.ts +9 -9
- package/types/components/Select/MultiSelect/Option.d.ts +1 -1
- package/types/components/Select/SingleSelect/Option.d.ts +1 -1
- package/types/components/Select/StyledSelect.d.ts +11 -11
- package/types/components/Select/helpers.d.ts +1 -1
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
- package/types/components/Spinner/StyledSpinner.d.ts +13 -12
- package/types/components/Spinner/index.d.ts +5 -1
- package/types/components/Swipeable/StyledSwipeable.d.ts +10 -0
- package/types/components/Swipeable/SwipeableAction.d.ts +27 -0
- package/types/components/Swipeable/index.d.ts +45 -0
- package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +9 -9
- package/types/components/Switch/StyledSwitch.d.ts +5 -5
- package/types/components/Tabs/StyledScrollableTabs.d.ts +23 -23
- package/types/components/Tabs/StyledTabs.d.ts +22 -22
- package/types/components/Tag/StyledTag.d.ts +6 -6
- package/types/components/TextInput/StyledTextInput.d.ts +46 -45
- package/types/components/TextInput/index.d.ts +6 -6
- package/types/components/TimePicker/StyledTimePicker.d.ts +3 -3
- package/types/components/Toast/StyledToast.d.ts +17 -17
- package/types/components/Toolbar/StyledToolbar.d.ts +9 -9
- package/types/components/Typography/Text/StyledText.d.ts +3 -3
- package/types/index.d.ts +4 -2
- package/types/testHelpers/renderWithTheme.d.ts +1 -1
- package/types/theme/ThemeSwitcher.d.ts +2 -2
- package/types/theme/components/attachment.d.ts +21 -0
- package/types/theme/components/badge.d.ts +1 -0
- package/types/theme/components/button.d.ts +0 -15
- package/types/theme/components/list.d.ts +0 -1
- package/types/theme/components/progress.d.ts +1 -0
- package/types/theme/components/spinner.d.ts +4 -1
- package/types/theme/components/swipeable.d.ts +9 -0
- package/types/theme/components/tabs.d.ts +1 -0
- package/types/theme/components/tag.d.ts +2 -2
- package/types/theme/components/textInput.d.ts +0 -10
- package/types/theme/getTheme.d.ts +4 -0
- package/types/theme/global/colors/eBens.d.ts +3 -0
- package/types/theme/global/colors/types.d.ts +23 -16
- package/types/theme/global/colors/wallet.d.ts +3 -0
- package/types/theme/global/index.d.ts +26 -12
- package/types/theme/index.d.ts +2 -2
- package/types/types.d.ts +2 -1
- package/types/utils/functions.d.ts +1 -0
- package/types/utils/hooks.d.ts +1 -1
- package/src/components/Icon/HeroIcon/selection.json +0 -7029
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`StyledSpinnerContainer renders correctly
|
|
3
|
+
exports[`StyledSpinnerContainer renders correctly when intent is $themeIntent, and size is $themeSize 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
6
|
Array [
|
|
@@ -33,13 +33,13 @@ exports[`StyledSpinnerContainer renders correctly in medium size 1`] = `
|
|
|
33
33
|
Array [
|
|
34
34
|
Object {
|
|
35
35
|
"flexDirection": "row",
|
|
36
|
-
"marginBottom":
|
|
36
|
+
"marginBottom": 4,
|
|
37
37
|
},
|
|
38
38
|
Object {},
|
|
39
39
|
]
|
|
40
40
|
}
|
|
41
41
|
themePosition="top"
|
|
42
|
-
themeSize="
|
|
42
|
+
themeSize="small"
|
|
43
43
|
>
|
|
44
44
|
<View
|
|
45
45
|
collapsable={false}
|
|
@@ -47,17 +47,18 @@ exports[`StyledSpinnerContainer renders correctly in medium size 1`] = `
|
|
|
47
47
|
style={
|
|
48
48
|
Array [
|
|
49
49
|
Object {
|
|
50
|
-
"backgroundColor": "#
|
|
50
|
+
"backgroundColor": "#401960",
|
|
51
51
|
"borderRadius": 999,
|
|
52
|
-
"height":
|
|
53
|
-
"opacity":
|
|
54
|
-
"width":
|
|
52
|
+
"height": 8,
|
|
53
|
+
"opacity": 0.9,
|
|
54
|
+
"width": 8,
|
|
55
55
|
},
|
|
56
56
|
Object {},
|
|
57
57
|
]
|
|
58
58
|
}
|
|
59
|
+
themeIntent="primary"
|
|
59
60
|
themePosition="topLeft"
|
|
60
|
-
themeSize="
|
|
61
|
+
themeSize="small"
|
|
61
62
|
/>
|
|
62
63
|
<View
|
|
63
64
|
collapsable={false}
|
|
@@ -65,18 +66,19 @@ exports[`StyledSpinnerContainer renders correctly in medium size 1`] = `
|
|
|
65
66
|
style={
|
|
66
67
|
Array [
|
|
67
68
|
Object {
|
|
68
|
-
"backgroundColor": "#
|
|
69
|
+
"backgroundColor": "#401960",
|
|
69
70
|
"borderRadius": 999,
|
|
70
|
-
"height":
|
|
71
|
-
"marginLeft":
|
|
72
|
-
"opacity": 0.
|
|
73
|
-
"width":
|
|
71
|
+
"height": 8,
|
|
72
|
+
"marginLeft": 4,
|
|
73
|
+
"opacity": 0.675,
|
|
74
|
+
"width": 8,
|
|
74
75
|
},
|
|
75
76
|
Object {},
|
|
76
77
|
]
|
|
77
78
|
}
|
|
79
|
+
themeIntent="primary"
|
|
78
80
|
themePosition="topRight"
|
|
79
|
-
themeSize="
|
|
81
|
+
themeSize="small"
|
|
80
82
|
/>
|
|
81
83
|
</View>
|
|
82
84
|
<View
|
|
@@ -92,7 +94,7 @@ exports[`StyledSpinnerContainer renders correctly in medium size 1`] = `
|
|
|
92
94
|
]
|
|
93
95
|
}
|
|
94
96
|
themePosition="bottom"
|
|
95
|
-
themeSize="
|
|
97
|
+
themeSize="small"
|
|
96
98
|
>
|
|
97
99
|
<View
|
|
98
100
|
collapsable={false}
|
|
@@ -100,17 +102,18 @@ exports[`StyledSpinnerContainer renders correctly in medium size 1`] = `
|
|
|
100
102
|
style={
|
|
101
103
|
Array [
|
|
102
104
|
Object {
|
|
103
|
-
"backgroundColor": "#
|
|
105
|
+
"backgroundColor": "#401960",
|
|
104
106
|
"borderRadius": 999,
|
|
105
|
-
"height":
|
|
106
|
-
"opacity": 0.
|
|
107
|
-
"width":
|
|
107
|
+
"height": 8,
|
|
108
|
+
"opacity": 0.45,
|
|
109
|
+
"width": 8,
|
|
108
110
|
},
|
|
109
111
|
Object {},
|
|
110
112
|
]
|
|
111
113
|
}
|
|
114
|
+
themeIntent="primary"
|
|
112
115
|
themePosition="bottomLeft"
|
|
113
|
-
themeSize="
|
|
116
|
+
themeSize="small"
|
|
114
117
|
/>
|
|
115
118
|
<View
|
|
116
119
|
collapsable={false}
|
|
@@ -118,25 +121,26 @@ exports[`StyledSpinnerContainer renders correctly in medium size 1`] = `
|
|
|
118
121
|
style={
|
|
119
122
|
Array [
|
|
120
123
|
Object {
|
|
121
|
-
"backgroundColor": "#
|
|
124
|
+
"backgroundColor": "#401960",
|
|
122
125
|
"borderRadius": 999,
|
|
123
|
-
"height":
|
|
124
|
-
"marginLeft":
|
|
125
|
-
"opacity": 0.
|
|
126
|
-
"width":
|
|
126
|
+
"height": 8,
|
|
127
|
+
"marginLeft": 4,
|
|
128
|
+
"opacity": 0.225,
|
|
129
|
+
"width": 8,
|
|
127
130
|
},
|
|
128
131
|
Object {},
|
|
129
132
|
]
|
|
130
133
|
}
|
|
134
|
+
themeIntent="primary"
|
|
131
135
|
themePosition="bottomRight"
|
|
132
|
-
themeSize="
|
|
136
|
+
themeSize="small"
|
|
133
137
|
/>
|
|
134
138
|
</View>
|
|
135
139
|
</View>
|
|
136
140
|
</View>
|
|
137
141
|
`;
|
|
138
142
|
|
|
139
|
-
exports[`StyledSpinnerContainer renders correctly
|
|
143
|
+
exports[`StyledSpinnerContainer renders correctly when intent is $themeIntent, and size is $themeSize 2`] = `
|
|
140
144
|
<View
|
|
141
145
|
style={
|
|
142
146
|
Array [
|
|
@@ -183,15 +187,16 @@ exports[`StyledSpinnerContainer renders correctly in small size 1`] = `
|
|
|
183
187
|
style={
|
|
184
188
|
Array [
|
|
185
189
|
Object {
|
|
186
|
-
"backgroundColor": "#
|
|
190
|
+
"backgroundColor": "#ffffff",
|
|
187
191
|
"borderRadius": 999,
|
|
188
192
|
"height": 8,
|
|
189
|
-
"opacity":
|
|
193
|
+
"opacity": 0.9,
|
|
190
194
|
"width": 8,
|
|
191
195
|
},
|
|
192
196
|
Object {},
|
|
193
197
|
]
|
|
194
198
|
}
|
|
199
|
+
themeIntent="inverted"
|
|
195
200
|
themePosition="topLeft"
|
|
196
201
|
themeSize="small"
|
|
197
202
|
/>
|
|
@@ -201,16 +206,17 @@ exports[`StyledSpinnerContainer renders correctly in small size 1`] = `
|
|
|
201
206
|
style={
|
|
202
207
|
Array [
|
|
203
208
|
Object {
|
|
204
|
-
"backgroundColor": "#
|
|
209
|
+
"backgroundColor": "#ffffff",
|
|
205
210
|
"borderRadius": 999,
|
|
206
211
|
"height": 8,
|
|
207
212
|
"marginLeft": 4,
|
|
208
|
-
"opacity": 0.
|
|
213
|
+
"opacity": 0.675,
|
|
209
214
|
"width": 8,
|
|
210
215
|
},
|
|
211
216
|
Object {},
|
|
212
217
|
]
|
|
213
218
|
}
|
|
219
|
+
themeIntent="inverted"
|
|
214
220
|
themePosition="topRight"
|
|
215
221
|
themeSize="small"
|
|
216
222
|
/>
|
|
@@ -236,15 +242,16 @@ exports[`StyledSpinnerContainer renders correctly in small size 1`] = `
|
|
|
236
242
|
style={
|
|
237
243
|
Array [
|
|
238
244
|
Object {
|
|
239
|
-
"backgroundColor": "#
|
|
245
|
+
"backgroundColor": "#ffffff",
|
|
240
246
|
"borderRadius": 999,
|
|
241
247
|
"height": 8,
|
|
242
|
-
"opacity": 0.
|
|
248
|
+
"opacity": 0.45,
|
|
243
249
|
"width": 8,
|
|
244
250
|
},
|
|
245
251
|
Object {},
|
|
246
252
|
]
|
|
247
253
|
}
|
|
254
|
+
themeIntent="inverted"
|
|
248
255
|
themePosition="bottomLeft"
|
|
249
256
|
themeSize="small"
|
|
250
257
|
/>
|
|
@@ -254,16 +261,17 @@ exports[`StyledSpinnerContainer renders correctly in small size 1`] = `
|
|
|
254
261
|
style={
|
|
255
262
|
Array [
|
|
256
263
|
Object {
|
|
257
|
-
"backgroundColor": "#
|
|
264
|
+
"backgroundColor": "#ffffff",
|
|
258
265
|
"borderRadius": 999,
|
|
259
266
|
"height": 8,
|
|
260
267
|
"marginLeft": 4,
|
|
261
|
-
"opacity": 0.
|
|
268
|
+
"opacity": 0.225,
|
|
262
269
|
"width": 8,
|
|
263
270
|
},
|
|
264
271
|
Object {},
|
|
265
272
|
]
|
|
266
273
|
}
|
|
274
|
+
themeIntent="inverted"
|
|
267
275
|
themePosition="bottomRight"
|
|
268
276
|
themeSize="small"
|
|
269
277
|
/>
|
|
@@ -272,222 +280,674 @@ exports[`StyledSpinnerContainer renders correctly in small size 1`] = `
|
|
|
272
280
|
</View>
|
|
273
281
|
`;
|
|
274
282
|
|
|
275
|
-
exports[`
|
|
283
|
+
exports[`StyledSpinnerContainer renders correctly when intent is $themeIntent, and size is $themeSize 3`] = `
|
|
276
284
|
<View
|
|
277
285
|
style={
|
|
278
286
|
Array [
|
|
279
287
|
Object {
|
|
280
|
-
"
|
|
281
|
-
"
|
|
288
|
+
"alignItems": "center",
|
|
289
|
+
"height": "100%",
|
|
290
|
+
"justifyContent": "center",
|
|
282
291
|
},
|
|
283
292
|
undefined,
|
|
284
293
|
]
|
|
285
294
|
}
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
295
|
+
>
|
|
296
|
+
<View
|
|
297
|
+
collapsable={false}
|
|
298
|
+
nativeID="animatedComponent"
|
|
299
|
+
style={
|
|
300
|
+
Object {
|
|
301
|
+
"transform": Array [
|
|
302
|
+
Object {
|
|
303
|
+
"rotate": "0deg",
|
|
304
|
+
},
|
|
305
|
+
],
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
>
|
|
309
|
+
<View
|
|
310
|
+
collapsable={false}
|
|
311
|
+
nativeID="animatedComponent"
|
|
312
|
+
style={
|
|
313
|
+
Array [
|
|
314
|
+
Object {
|
|
315
|
+
"flexDirection": "row",
|
|
316
|
+
"marginBottom": 8,
|
|
317
|
+
},
|
|
318
|
+
Object {},
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
themePosition="top"
|
|
322
|
+
themeSize="medium"
|
|
323
|
+
>
|
|
324
|
+
<View
|
|
325
|
+
collapsable={false}
|
|
326
|
+
nativeID="animatedComponent"
|
|
327
|
+
style={
|
|
328
|
+
Array [
|
|
329
|
+
Object {
|
|
330
|
+
"backgroundColor": "#401960",
|
|
331
|
+
"borderRadius": 999,
|
|
332
|
+
"height": 16,
|
|
333
|
+
"opacity": 0.9,
|
|
334
|
+
"width": 16,
|
|
335
|
+
},
|
|
336
|
+
Object {},
|
|
337
|
+
]
|
|
338
|
+
}
|
|
339
|
+
themeIntent="primary"
|
|
340
|
+
themePosition="topLeft"
|
|
341
|
+
themeSize="medium"
|
|
342
|
+
/>
|
|
343
|
+
<View
|
|
344
|
+
collapsable={false}
|
|
345
|
+
nativeID="animatedComponent"
|
|
346
|
+
style={
|
|
347
|
+
Array [
|
|
348
|
+
Object {
|
|
349
|
+
"backgroundColor": "#401960",
|
|
350
|
+
"borderRadius": 999,
|
|
351
|
+
"height": 16,
|
|
352
|
+
"marginLeft": 8,
|
|
353
|
+
"opacity": 0.675,
|
|
354
|
+
"width": 16,
|
|
355
|
+
},
|
|
356
|
+
Object {},
|
|
357
|
+
]
|
|
358
|
+
}
|
|
359
|
+
themeIntent="primary"
|
|
360
|
+
themePosition="topRight"
|
|
361
|
+
themeSize="medium"
|
|
362
|
+
/>
|
|
363
|
+
</View>
|
|
364
|
+
<View
|
|
365
|
+
collapsable={false}
|
|
366
|
+
nativeID="animatedComponent"
|
|
367
|
+
style={
|
|
368
|
+
Array [
|
|
369
|
+
Object {
|
|
370
|
+
"flexDirection": "row",
|
|
371
|
+
"marginBottom": 0,
|
|
372
|
+
},
|
|
373
|
+
Object {},
|
|
374
|
+
]
|
|
375
|
+
}
|
|
376
|
+
themePosition="bottom"
|
|
377
|
+
themeSize="medium"
|
|
378
|
+
>
|
|
379
|
+
<View
|
|
380
|
+
collapsable={false}
|
|
381
|
+
nativeID="animatedComponent"
|
|
382
|
+
style={
|
|
383
|
+
Array [
|
|
384
|
+
Object {
|
|
385
|
+
"backgroundColor": "#401960",
|
|
386
|
+
"borderRadius": 999,
|
|
387
|
+
"height": 16,
|
|
388
|
+
"opacity": 0.45,
|
|
389
|
+
"width": 16,
|
|
390
|
+
},
|
|
391
|
+
Object {},
|
|
392
|
+
]
|
|
393
|
+
}
|
|
394
|
+
themeIntent="primary"
|
|
395
|
+
themePosition="bottomLeft"
|
|
396
|
+
themeSize="medium"
|
|
397
|
+
/>
|
|
398
|
+
<View
|
|
399
|
+
collapsable={false}
|
|
400
|
+
nativeID="animatedComponent"
|
|
401
|
+
style={
|
|
402
|
+
Array [
|
|
403
|
+
Object {
|
|
404
|
+
"backgroundColor": "#401960",
|
|
405
|
+
"borderRadius": 999,
|
|
406
|
+
"height": 16,
|
|
407
|
+
"marginLeft": 8,
|
|
408
|
+
"opacity": 0.225,
|
|
409
|
+
"width": 16,
|
|
410
|
+
},
|
|
411
|
+
Object {},
|
|
412
|
+
]
|
|
413
|
+
}
|
|
414
|
+
themeIntent="primary"
|
|
415
|
+
themePosition="bottomRight"
|
|
416
|
+
themeSize="medium"
|
|
417
|
+
/>
|
|
418
|
+
</View>
|
|
419
|
+
</View>
|
|
420
|
+
</View>
|
|
289
421
|
`;
|
|
290
422
|
|
|
291
|
-
exports[`
|
|
423
|
+
exports[`StyledSpinnerContainer renders correctly when intent is $themeIntent, and size is $themeSize 4`] = `
|
|
292
424
|
<View
|
|
293
425
|
style={
|
|
294
426
|
Array [
|
|
295
427
|
Object {
|
|
296
|
-
"
|
|
297
|
-
"
|
|
428
|
+
"alignItems": "center",
|
|
429
|
+
"height": "100%",
|
|
430
|
+
"justifyContent": "center",
|
|
298
431
|
},
|
|
299
432
|
undefined,
|
|
300
433
|
]
|
|
301
434
|
}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
435
|
+
>
|
|
436
|
+
<View
|
|
437
|
+
collapsable={false}
|
|
438
|
+
nativeID="animatedComponent"
|
|
439
|
+
style={
|
|
440
|
+
Object {
|
|
441
|
+
"transform": Array [
|
|
442
|
+
Object {
|
|
443
|
+
"rotate": "0deg",
|
|
444
|
+
},
|
|
445
|
+
],
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
>
|
|
449
|
+
<View
|
|
450
|
+
collapsable={false}
|
|
451
|
+
nativeID="animatedComponent"
|
|
452
|
+
style={
|
|
453
|
+
Array [
|
|
454
|
+
Object {
|
|
455
|
+
"flexDirection": "row",
|
|
456
|
+
"marginBottom": 8,
|
|
457
|
+
},
|
|
458
|
+
Object {},
|
|
459
|
+
]
|
|
460
|
+
}
|
|
461
|
+
themePosition="top"
|
|
462
|
+
themeSize="medium"
|
|
463
|
+
>
|
|
464
|
+
<View
|
|
465
|
+
collapsable={false}
|
|
466
|
+
nativeID="animatedComponent"
|
|
467
|
+
style={
|
|
468
|
+
Array [
|
|
469
|
+
Object {
|
|
470
|
+
"backgroundColor": "#ffffff",
|
|
471
|
+
"borderRadius": 999,
|
|
472
|
+
"height": 16,
|
|
473
|
+
"opacity": 0.9,
|
|
474
|
+
"width": 16,
|
|
475
|
+
},
|
|
476
|
+
Object {},
|
|
477
|
+
]
|
|
478
|
+
}
|
|
479
|
+
themeIntent="inverted"
|
|
480
|
+
themePosition="topLeft"
|
|
481
|
+
themeSize="medium"
|
|
482
|
+
/>
|
|
483
|
+
<View
|
|
484
|
+
collapsable={false}
|
|
485
|
+
nativeID="animatedComponent"
|
|
486
|
+
style={
|
|
487
|
+
Array [
|
|
488
|
+
Object {
|
|
489
|
+
"backgroundColor": "#ffffff",
|
|
490
|
+
"borderRadius": 999,
|
|
491
|
+
"height": 16,
|
|
492
|
+
"marginLeft": 8,
|
|
493
|
+
"opacity": 0.675,
|
|
494
|
+
"width": 16,
|
|
495
|
+
},
|
|
496
|
+
Object {},
|
|
497
|
+
]
|
|
498
|
+
}
|
|
499
|
+
themeIntent="inverted"
|
|
500
|
+
themePosition="topRight"
|
|
501
|
+
themeSize="medium"
|
|
502
|
+
/>
|
|
503
|
+
</View>
|
|
504
|
+
<View
|
|
505
|
+
collapsable={false}
|
|
506
|
+
nativeID="animatedComponent"
|
|
507
|
+
style={
|
|
508
|
+
Array [
|
|
509
|
+
Object {
|
|
510
|
+
"flexDirection": "row",
|
|
511
|
+
"marginBottom": 0,
|
|
512
|
+
},
|
|
513
|
+
Object {},
|
|
514
|
+
]
|
|
515
|
+
}
|
|
516
|
+
themePosition="bottom"
|
|
517
|
+
themeSize="medium"
|
|
518
|
+
>
|
|
519
|
+
<View
|
|
520
|
+
collapsable={false}
|
|
521
|
+
nativeID="animatedComponent"
|
|
522
|
+
style={
|
|
523
|
+
Array [
|
|
524
|
+
Object {
|
|
525
|
+
"backgroundColor": "#ffffff",
|
|
526
|
+
"borderRadius": 999,
|
|
527
|
+
"height": 16,
|
|
528
|
+
"opacity": 0.45,
|
|
529
|
+
"width": 16,
|
|
530
|
+
},
|
|
531
|
+
Object {},
|
|
532
|
+
]
|
|
533
|
+
}
|
|
534
|
+
themeIntent="inverted"
|
|
535
|
+
themePosition="bottomLeft"
|
|
536
|
+
themeSize="medium"
|
|
537
|
+
/>
|
|
538
|
+
<View
|
|
539
|
+
collapsable={false}
|
|
540
|
+
nativeID="animatedComponent"
|
|
541
|
+
style={
|
|
542
|
+
Array [
|
|
543
|
+
Object {
|
|
544
|
+
"backgroundColor": "#ffffff",
|
|
545
|
+
"borderRadius": 999,
|
|
546
|
+
"height": 16,
|
|
547
|
+
"marginLeft": 8,
|
|
548
|
+
"opacity": 0.225,
|
|
549
|
+
"width": 16,
|
|
550
|
+
},
|
|
551
|
+
Object {},
|
|
552
|
+
]
|
|
553
|
+
}
|
|
554
|
+
themeIntent="inverted"
|
|
555
|
+
themePosition="bottomRight"
|
|
556
|
+
themeSize="medium"
|
|
557
|
+
/>
|
|
558
|
+
</View>
|
|
559
|
+
</View>
|
|
560
|
+
</View>
|
|
305
561
|
`;
|
|
306
562
|
|
|
307
|
-
exports[`
|
|
563
|
+
exports[`StyledSpinnerDot renders correctly when position is bottomLeft, size is medium, intent is inverted 1`] = `
|
|
308
564
|
<View
|
|
309
565
|
style={
|
|
310
566
|
Array [
|
|
311
567
|
Object {
|
|
312
|
-
"
|
|
313
|
-
"
|
|
568
|
+
"backgroundColor": "#ffffff",
|
|
569
|
+
"borderRadius": 999,
|
|
570
|
+
"height": 16,
|
|
571
|
+
"opacity": 0.45,
|
|
572
|
+
"width": 16,
|
|
314
573
|
},
|
|
315
574
|
undefined,
|
|
316
575
|
]
|
|
317
576
|
}
|
|
318
|
-
|
|
577
|
+
themeIntent="inverted"
|
|
578
|
+
themePosition="bottomLeft"
|
|
319
579
|
themeSize="medium"
|
|
320
580
|
/>
|
|
321
581
|
`;
|
|
322
582
|
|
|
323
|
-
exports[`
|
|
583
|
+
exports[`StyledSpinnerDot renders correctly when position is bottomLeft, size is medium, intent is primary 1`] = `
|
|
324
584
|
<View
|
|
325
585
|
style={
|
|
326
586
|
Array [
|
|
327
587
|
Object {
|
|
328
|
-
"
|
|
329
|
-
"
|
|
588
|
+
"backgroundColor": "#401960",
|
|
589
|
+
"borderRadius": 999,
|
|
590
|
+
"height": 16,
|
|
591
|
+
"opacity": 0.45,
|
|
592
|
+
"width": 16,
|
|
330
593
|
},
|
|
331
594
|
undefined,
|
|
332
595
|
]
|
|
333
596
|
}
|
|
334
|
-
|
|
335
|
-
|
|
597
|
+
themeIntent="primary"
|
|
598
|
+
themePosition="bottomLeft"
|
|
599
|
+
themeSize="medium"
|
|
336
600
|
/>
|
|
337
601
|
`;
|
|
338
602
|
|
|
339
|
-
exports[`
|
|
603
|
+
exports[`StyledSpinnerDot renders correctly when position is bottomLeft, size is small, intent is inverted 1`] = `
|
|
340
604
|
<View
|
|
341
605
|
style={
|
|
342
606
|
Array [
|
|
343
607
|
Object {
|
|
344
|
-
"backgroundColor": "#
|
|
608
|
+
"backgroundColor": "#ffffff",
|
|
345
609
|
"borderRadius": 999,
|
|
346
|
-
"height":
|
|
347
|
-
"opacity": 0.
|
|
348
|
-
"width":
|
|
610
|
+
"height": 8,
|
|
611
|
+
"opacity": 0.45,
|
|
612
|
+
"width": 8,
|
|
349
613
|
},
|
|
350
614
|
undefined,
|
|
351
615
|
]
|
|
352
616
|
}
|
|
617
|
+
themeIntent="inverted"
|
|
353
618
|
themePosition="bottomLeft"
|
|
354
|
-
themeSize="
|
|
619
|
+
themeSize="small"
|
|
355
620
|
/>
|
|
356
621
|
`;
|
|
357
622
|
|
|
358
|
-
exports[`
|
|
623
|
+
exports[`StyledSpinnerDot renders correctly when position is bottomLeft, size is small, intent is primary 1`] = `
|
|
359
624
|
<View
|
|
360
625
|
style={
|
|
361
626
|
Array [
|
|
362
627
|
Object {
|
|
363
|
-
"backgroundColor": "#
|
|
628
|
+
"backgroundColor": "#401960",
|
|
364
629
|
"borderRadius": 999,
|
|
365
630
|
"height": 8,
|
|
366
|
-
"opacity": 0.
|
|
631
|
+
"opacity": 0.45,
|
|
367
632
|
"width": 8,
|
|
368
633
|
},
|
|
369
634
|
undefined,
|
|
370
635
|
]
|
|
371
636
|
}
|
|
637
|
+
themeIntent="primary"
|
|
372
638
|
themePosition="bottomLeft"
|
|
373
639
|
themeSize="small"
|
|
374
640
|
/>
|
|
375
641
|
`;
|
|
376
642
|
|
|
377
|
-
exports[`
|
|
643
|
+
exports[`StyledSpinnerDot renders correctly when position is bottomRight, size is medium, intent is inverted 1`] = `
|
|
378
644
|
<View
|
|
379
645
|
style={
|
|
380
646
|
Array [
|
|
381
647
|
Object {
|
|
382
|
-
"backgroundColor": "#
|
|
648
|
+
"backgroundColor": "#ffffff",
|
|
383
649
|
"borderRadius": 999,
|
|
384
650
|
"height": 16,
|
|
385
651
|
"marginLeft": 8,
|
|
386
|
-
"opacity": 0.
|
|
652
|
+
"opacity": 0.225,
|
|
387
653
|
"width": 16,
|
|
388
654
|
},
|
|
389
655
|
undefined,
|
|
390
656
|
]
|
|
391
657
|
}
|
|
658
|
+
themeIntent="inverted"
|
|
392
659
|
themePosition="bottomRight"
|
|
393
660
|
themeSize="medium"
|
|
394
661
|
/>
|
|
395
662
|
`;
|
|
396
663
|
|
|
397
|
-
exports[`
|
|
664
|
+
exports[`StyledSpinnerDot renders correctly when position is bottomRight, size is medium, intent is primary 1`] = `
|
|
665
|
+
<View
|
|
666
|
+
style={
|
|
667
|
+
Array [
|
|
668
|
+
Object {
|
|
669
|
+
"backgroundColor": "#401960",
|
|
670
|
+
"borderRadius": 999,
|
|
671
|
+
"height": 16,
|
|
672
|
+
"marginLeft": 8,
|
|
673
|
+
"opacity": 0.225,
|
|
674
|
+
"width": 16,
|
|
675
|
+
},
|
|
676
|
+
undefined,
|
|
677
|
+
]
|
|
678
|
+
}
|
|
679
|
+
themeIntent="primary"
|
|
680
|
+
themePosition="bottomRight"
|
|
681
|
+
themeSize="medium"
|
|
682
|
+
/>
|
|
683
|
+
`;
|
|
684
|
+
|
|
685
|
+
exports[`StyledSpinnerDot renders correctly when position is bottomRight, size is small, intent is inverted 1`] = `
|
|
686
|
+
<View
|
|
687
|
+
style={
|
|
688
|
+
Array [
|
|
689
|
+
Object {
|
|
690
|
+
"backgroundColor": "#ffffff",
|
|
691
|
+
"borderRadius": 999,
|
|
692
|
+
"height": 8,
|
|
693
|
+
"marginLeft": 4,
|
|
694
|
+
"opacity": 0.225,
|
|
695
|
+
"width": 8,
|
|
696
|
+
},
|
|
697
|
+
undefined,
|
|
698
|
+
]
|
|
699
|
+
}
|
|
700
|
+
themeIntent="inverted"
|
|
701
|
+
themePosition="bottomRight"
|
|
702
|
+
themeSize="small"
|
|
703
|
+
/>
|
|
704
|
+
`;
|
|
705
|
+
|
|
706
|
+
exports[`StyledSpinnerDot renders correctly when position is bottomRight, size is small, intent is primary 1`] = `
|
|
398
707
|
<View
|
|
399
708
|
style={
|
|
400
709
|
Array [
|
|
401
710
|
Object {
|
|
402
|
-
"backgroundColor": "#
|
|
711
|
+
"backgroundColor": "#401960",
|
|
403
712
|
"borderRadius": 999,
|
|
404
713
|
"height": 8,
|
|
405
714
|
"marginLeft": 4,
|
|
406
|
-
"opacity": 0.
|
|
715
|
+
"opacity": 0.225,
|
|
407
716
|
"width": 8,
|
|
408
717
|
},
|
|
409
718
|
undefined,
|
|
410
719
|
]
|
|
411
720
|
}
|
|
721
|
+
themeIntent="primary"
|
|
412
722
|
themePosition="bottomRight"
|
|
413
723
|
themeSize="small"
|
|
414
724
|
/>
|
|
415
725
|
`;
|
|
416
726
|
|
|
417
|
-
exports[`
|
|
727
|
+
exports[`StyledSpinnerDot renders correctly when position is topLeft, size is medium, intent is inverted 1`] = `
|
|
728
|
+
<View
|
|
729
|
+
style={
|
|
730
|
+
Array [
|
|
731
|
+
Object {
|
|
732
|
+
"backgroundColor": "#ffffff",
|
|
733
|
+
"borderRadius": 999,
|
|
734
|
+
"height": 16,
|
|
735
|
+
"opacity": 0.9,
|
|
736
|
+
"width": 16,
|
|
737
|
+
},
|
|
738
|
+
undefined,
|
|
739
|
+
]
|
|
740
|
+
}
|
|
741
|
+
themeIntent="inverted"
|
|
742
|
+
themePosition="topLeft"
|
|
743
|
+
themeSize="medium"
|
|
744
|
+
/>
|
|
745
|
+
`;
|
|
746
|
+
|
|
747
|
+
exports[`StyledSpinnerDot renders correctly when position is topLeft, size is medium, intent is primary 1`] = `
|
|
418
748
|
<View
|
|
419
749
|
style={
|
|
420
750
|
Array [
|
|
421
751
|
Object {
|
|
422
|
-
"backgroundColor": "#
|
|
752
|
+
"backgroundColor": "#401960",
|
|
423
753
|
"borderRadius": 999,
|
|
424
754
|
"height": 16,
|
|
425
|
-
"opacity":
|
|
755
|
+
"opacity": 0.9,
|
|
426
756
|
"width": 16,
|
|
427
757
|
},
|
|
428
758
|
undefined,
|
|
429
759
|
]
|
|
430
760
|
}
|
|
761
|
+
themeIntent="primary"
|
|
431
762
|
themePosition="topLeft"
|
|
432
763
|
themeSize="medium"
|
|
433
764
|
/>
|
|
434
765
|
`;
|
|
435
766
|
|
|
436
|
-
exports[`
|
|
767
|
+
exports[`StyledSpinnerDot renders correctly when position is topLeft, size is small, intent is inverted 1`] = `
|
|
768
|
+
<View
|
|
769
|
+
style={
|
|
770
|
+
Array [
|
|
771
|
+
Object {
|
|
772
|
+
"backgroundColor": "#ffffff",
|
|
773
|
+
"borderRadius": 999,
|
|
774
|
+
"height": 8,
|
|
775
|
+
"opacity": 0.9,
|
|
776
|
+
"width": 8,
|
|
777
|
+
},
|
|
778
|
+
undefined,
|
|
779
|
+
]
|
|
780
|
+
}
|
|
781
|
+
themeIntent="inverted"
|
|
782
|
+
themePosition="topLeft"
|
|
783
|
+
themeSize="small"
|
|
784
|
+
/>
|
|
785
|
+
`;
|
|
786
|
+
|
|
787
|
+
exports[`StyledSpinnerDot renders correctly when position is topLeft, size is small, intent is primary 1`] = `
|
|
437
788
|
<View
|
|
438
789
|
style={
|
|
439
790
|
Array [
|
|
440
791
|
Object {
|
|
441
|
-
"backgroundColor": "#
|
|
792
|
+
"backgroundColor": "#401960",
|
|
442
793
|
"borderRadius": 999,
|
|
443
794
|
"height": 8,
|
|
444
|
-
"opacity":
|
|
795
|
+
"opacity": 0.9,
|
|
445
796
|
"width": 8,
|
|
446
797
|
},
|
|
447
798
|
undefined,
|
|
448
799
|
]
|
|
449
800
|
}
|
|
801
|
+
themeIntent="primary"
|
|
450
802
|
themePosition="topLeft"
|
|
451
803
|
themeSize="small"
|
|
452
804
|
/>
|
|
453
805
|
`;
|
|
454
806
|
|
|
455
|
-
exports[`
|
|
807
|
+
exports[`StyledSpinnerDot renders correctly when position is topRight, size is medium, intent is inverted 1`] = `
|
|
456
808
|
<View
|
|
457
809
|
style={
|
|
458
810
|
Array [
|
|
459
811
|
Object {
|
|
460
|
-
"backgroundColor": "#
|
|
812
|
+
"backgroundColor": "#ffffff",
|
|
461
813
|
"borderRadius": 999,
|
|
462
814
|
"height": 16,
|
|
463
815
|
"marginLeft": 8,
|
|
464
|
-
"opacity": 0.
|
|
816
|
+
"opacity": 0.675,
|
|
465
817
|
"width": 16,
|
|
466
818
|
},
|
|
467
819
|
undefined,
|
|
468
820
|
]
|
|
469
821
|
}
|
|
822
|
+
themeIntent="inverted"
|
|
470
823
|
themePosition="topRight"
|
|
471
824
|
themeSize="medium"
|
|
472
825
|
/>
|
|
473
826
|
`;
|
|
474
827
|
|
|
475
|
-
exports[`
|
|
828
|
+
exports[`StyledSpinnerDot renders correctly when position is topRight, size is medium, intent is primary 1`] = `
|
|
476
829
|
<View
|
|
477
830
|
style={
|
|
478
831
|
Array [
|
|
479
832
|
Object {
|
|
480
|
-
"backgroundColor": "#
|
|
833
|
+
"backgroundColor": "#401960",
|
|
834
|
+
"borderRadius": 999,
|
|
835
|
+
"height": 16,
|
|
836
|
+
"marginLeft": 8,
|
|
837
|
+
"opacity": 0.675,
|
|
838
|
+
"width": 16,
|
|
839
|
+
},
|
|
840
|
+
undefined,
|
|
841
|
+
]
|
|
842
|
+
}
|
|
843
|
+
themeIntent="primary"
|
|
844
|
+
themePosition="topRight"
|
|
845
|
+
themeSize="medium"
|
|
846
|
+
/>
|
|
847
|
+
`;
|
|
848
|
+
|
|
849
|
+
exports[`StyledSpinnerDot renders correctly when position is topRight, size is small, intent is inverted 1`] = `
|
|
850
|
+
<View
|
|
851
|
+
style={
|
|
852
|
+
Array [
|
|
853
|
+
Object {
|
|
854
|
+
"backgroundColor": "#ffffff",
|
|
481
855
|
"borderRadius": 999,
|
|
482
856
|
"height": 8,
|
|
483
857
|
"marginLeft": 4,
|
|
484
|
-
"opacity": 0.
|
|
858
|
+
"opacity": 0.675,
|
|
485
859
|
"width": 8,
|
|
486
860
|
},
|
|
487
861
|
undefined,
|
|
488
862
|
]
|
|
489
863
|
}
|
|
864
|
+
themeIntent="inverted"
|
|
490
865
|
themePosition="topRight"
|
|
491
866
|
themeSize="small"
|
|
492
867
|
/>
|
|
493
868
|
`;
|
|
869
|
+
|
|
870
|
+
exports[`StyledSpinnerDot renders correctly when position is topRight, size is small, intent is primary 1`] = `
|
|
871
|
+
<View
|
|
872
|
+
style={
|
|
873
|
+
Array [
|
|
874
|
+
Object {
|
|
875
|
+
"backgroundColor": "#401960",
|
|
876
|
+
"borderRadius": 999,
|
|
877
|
+
"height": 8,
|
|
878
|
+
"marginLeft": 4,
|
|
879
|
+
"opacity": 0.675,
|
|
880
|
+
"width": 8,
|
|
881
|
+
},
|
|
882
|
+
undefined,
|
|
883
|
+
]
|
|
884
|
+
}
|
|
885
|
+
themeIntent="primary"
|
|
886
|
+
themePosition="topRight"
|
|
887
|
+
themeSize="small"
|
|
888
|
+
/>
|
|
889
|
+
`;
|
|
890
|
+
|
|
891
|
+
exports[`StyledSpinnerRow renders correctly when position is bottom, and size is medium 1`] = `
|
|
892
|
+
<View
|
|
893
|
+
style={
|
|
894
|
+
Array [
|
|
895
|
+
Object {
|
|
896
|
+
"flexDirection": "row",
|
|
897
|
+
"marginBottom": 0,
|
|
898
|
+
},
|
|
899
|
+
undefined,
|
|
900
|
+
]
|
|
901
|
+
}
|
|
902
|
+
themePosition="bottom"
|
|
903
|
+
themeSize="medium"
|
|
904
|
+
/>
|
|
905
|
+
`;
|
|
906
|
+
|
|
907
|
+
exports[`StyledSpinnerRow renders correctly when position is bottom, and size is small 1`] = `
|
|
908
|
+
<View
|
|
909
|
+
style={
|
|
910
|
+
Array [
|
|
911
|
+
Object {
|
|
912
|
+
"flexDirection": "row",
|
|
913
|
+
"marginBottom": 0,
|
|
914
|
+
},
|
|
915
|
+
undefined,
|
|
916
|
+
]
|
|
917
|
+
}
|
|
918
|
+
themePosition="bottom"
|
|
919
|
+
themeSize="small"
|
|
920
|
+
/>
|
|
921
|
+
`;
|
|
922
|
+
|
|
923
|
+
exports[`StyledSpinnerRow renders correctly when position is top, and size is medium 1`] = `
|
|
924
|
+
<View
|
|
925
|
+
style={
|
|
926
|
+
Array [
|
|
927
|
+
Object {
|
|
928
|
+
"flexDirection": "row",
|
|
929
|
+
"marginBottom": 8,
|
|
930
|
+
},
|
|
931
|
+
undefined,
|
|
932
|
+
]
|
|
933
|
+
}
|
|
934
|
+
themePosition="top"
|
|
935
|
+
themeSize="medium"
|
|
936
|
+
/>
|
|
937
|
+
`;
|
|
938
|
+
|
|
939
|
+
exports[`StyledSpinnerRow renders correctly when position is top, and size is small 1`] = `
|
|
940
|
+
<View
|
|
941
|
+
style={
|
|
942
|
+
Array [
|
|
943
|
+
Object {
|
|
944
|
+
"flexDirection": "row",
|
|
945
|
+
"marginBottom": 4,
|
|
946
|
+
},
|
|
947
|
+
undefined,
|
|
948
|
+
]
|
|
949
|
+
}
|
|
950
|
+
themePosition="top"
|
|
951
|
+
themeSize="small"
|
|
952
|
+
/>
|
|
953
|
+
`;
|