@hero-design/rn 7.24.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 +845 -752
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +846 -750
- package/package.json +6 -5
- 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 +1 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +28 -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/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/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +30 -3
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- 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 +3 -4
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -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 +146 -234
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +430 -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 +136 -224
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +409 -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/StyledSpinner.tsx +1 -2
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +16 -16
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +1 -1
- package/src/components/Swipeable/index.tsx +14 -2
- 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 +1 -0
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +11 -10
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +27 -14
- package/src/components/TextInput/index.tsx +1 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +1 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +28 -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 +6 -0
- package/src/theme/ThemeSwitcher.tsx +7 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +87 -74
- 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/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 -28
- 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 +4 -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 -9
- 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 -9
- package/src/theme/global/index.ts +4 -0
- package/src/theme/index.ts +4 -0
- package/src/utils/functions.ts +2 -0
- package/src/utils/scale.ts +1 -1
- 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/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 +1 -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/StyledSpinner.d.ts +12 -12
- package/types/components/Swipeable/StyledSwipeable.d.ts +3 -3
- package/types/components/Swipeable/index.d.ts +7 -3
- 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 +44 -44
- package/types/components/TextInput/index.d.ts +5 -5
- 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 +3 -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/tabs.d.ts +1 -0
- package/types/theme/components/tag.d.ts +2 -2
- package/types/theme/components/textInput.d.ts +0 -5
- package/types/theme/getTheme.d.ts +2 -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/utils/functions.d.ts +1 -0
- package/types/utils/hooks.d.ts +1 -1
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
exports[`StyledButtonContainer has basic-transparent style 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
accessible={true}
|
|
6
|
+
collapsable={false}
|
|
6
7
|
focusable={false}
|
|
8
|
+
nativeID="animatedComponent"
|
|
7
9
|
onClick={[Function]}
|
|
8
10
|
onResponderGrant={[Function]}
|
|
9
11
|
onResponderMove={[Function]}
|
|
@@ -12,21 +14,18 @@ exports[`StyledButtonContainer has basic-transparent style 1`] = `
|
|
|
12
14
|
onResponderTerminationRequest={[Function]}
|
|
13
15
|
onStartShouldSetResponder={[Function]}
|
|
14
16
|
style={
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
undefined,
|
|
29
|
-
]
|
|
17
|
+
Object {
|
|
18
|
+
"alignItems": "center",
|
|
19
|
+
"backgroundColor": "transparent",
|
|
20
|
+
"borderColor": "#ffffff",
|
|
21
|
+
"borderRadius": 32,
|
|
22
|
+
"borderWidth": 2,
|
|
23
|
+
"flexDirection": "row",
|
|
24
|
+
"justifyContent": "center",
|
|
25
|
+
"opacity": 1,
|
|
26
|
+
"padding": 14,
|
|
27
|
+
"width": "100%",
|
|
28
|
+
}
|
|
30
29
|
}
|
|
31
30
|
>
|
|
32
31
|
<Text>
|
|
@@ -38,7 +37,9 @@ exports[`StyledButtonContainer has basic-transparent style 1`] = `
|
|
|
38
37
|
exports[`StyledButtonContainer has filled-danger style 1`] = `
|
|
39
38
|
<View
|
|
40
39
|
accessible={true}
|
|
40
|
+
collapsable={false}
|
|
41
41
|
focusable={false}
|
|
42
|
+
nativeID="animatedComponent"
|
|
42
43
|
onClick={[Function]}
|
|
43
44
|
onResponderGrant={[Function]}
|
|
44
45
|
onResponderMove={[Function]}
|
|
@@ -47,18 +48,16 @@ exports[`StyledButtonContainer has filled-danger style 1`] = `
|
|
|
47
48
|
onResponderTerminationRequest={[Function]}
|
|
48
49
|
onStartShouldSetResponder={[Function]}
|
|
49
50
|
style={
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
undefined,
|
|
61
|
-
]
|
|
51
|
+
Object {
|
|
52
|
+
"alignItems": "center",
|
|
53
|
+
"alignSelf": "stretch",
|
|
54
|
+
"backgroundColor": "#de350b",
|
|
55
|
+
"borderRadius": 32,
|
|
56
|
+
"flexDirection": "row",
|
|
57
|
+
"justifyContent": "center",
|
|
58
|
+
"opacity": 1,
|
|
59
|
+
"padding": 16,
|
|
60
|
+
}
|
|
62
61
|
}
|
|
63
62
|
>
|
|
64
63
|
<Text>
|
|
@@ -70,7 +69,9 @@ exports[`StyledButtonContainer has filled-danger style 1`] = `
|
|
|
70
69
|
exports[`StyledButtonContainer has filled-primary style 1`] = `
|
|
71
70
|
<View
|
|
72
71
|
accessible={true}
|
|
72
|
+
collapsable={false}
|
|
73
73
|
focusable={false}
|
|
74
|
+
nativeID="animatedComponent"
|
|
74
75
|
onClick={[Function]}
|
|
75
76
|
onResponderGrant={[Function]}
|
|
76
77
|
onResponderMove={[Function]}
|
|
@@ -79,18 +80,16 @@ exports[`StyledButtonContainer has filled-primary style 1`] = `
|
|
|
79
80
|
onResponderTerminationRequest={[Function]}
|
|
80
81
|
onStartShouldSetResponder={[Function]}
|
|
81
82
|
style={
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
undefined,
|
|
93
|
-
]
|
|
83
|
+
Object {
|
|
84
|
+
"alignItems": "center",
|
|
85
|
+
"alignSelf": "stretch",
|
|
86
|
+
"backgroundColor": "#401960",
|
|
87
|
+
"borderRadius": 32,
|
|
88
|
+
"flexDirection": "row",
|
|
89
|
+
"justifyContent": "center",
|
|
90
|
+
"opacity": 1,
|
|
91
|
+
"padding": 16,
|
|
92
|
+
}
|
|
94
93
|
}
|
|
95
94
|
>
|
|
96
95
|
<Text>
|
|
@@ -102,7 +101,9 @@ exports[`StyledButtonContainer has filled-primary style 1`] = `
|
|
|
102
101
|
exports[`StyledButtonContainer has filled-secondary style 1`] = `
|
|
103
102
|
<View
|
|
104
103
|
accessible={true}
|
|
104
|
+
collapsable={false}
|
|
105
105
|
focusable={false}
|
|
106
|
+
nativeID="animatedComponent"
|
|
106
107
|
onClick={[Function]}
|
|
107
108
|
onResponderGrant={[Function]}
|
|
108
109
|
onResponderMove={[Function]}
|
|
@@ -111,18 +112,16 @@ exports[`StyledButtonContainer has filled-secondary style 1`] = `
|
|
|
111
112
|
onResponderTerminationRequest={[Function]}
|
|
112
113
|
onStartShouldSetResponder={[Function]}
|
|
113
114
|
style={
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
undefined,
|
|
125
|
-
]
|
|
115
|
+
Object {
|
|
116
|
+
"alignItems": "center",
|
|
117
|
+
"alignSelf": "stretch",
|
|
118
|
+
"backgroundColor": "#795e90",
|
|
119
|
+
"borderRadius": 32,
|
|
120
|
+
"flexDirection": "row",
|
|
121
|
+
"justifyContent": "center",
|
|
122
|
+
"opacity": 1,
|
|
123
|
+
"padding": 16,
|
|
124
|
+
}
|
|
126
125
|
}
|
|
127
126
|
>
|
|
128
127
|
<Text>
|
|
@@ -134,7 +133,9 @@ exports[`StyledButtonContainer has filled-secondary style 1`] = `
|
|
|
134
133
|
exports[`StyledButtonContainer has outlined-danger style 1`] = `
|
|
135
134
|
<View
|
|
136
135
|
accessible={true}
|
|
136
|
+
collapsable={false}
|
|
137
137
|
focusable={false}
|
|
138
|
+
nativeID="animatedComponent"
|
|
138
139
|
onClick={[Function]}
|
|
139
140
|
onResponderGrant={[Function]}
|
|
140
141
|
onResponderMove={[Function]}
|
|
@@ -143,20 +144,18 @@ exports[`StyledButtonContainer has outlined-danger style 1`] = `
|
|
|
143
144
|
onResponderTerminationRequest={[Function]}
|
|
144
145
|
onStartShouldSetResponder={[Function]}
|
|
145
146
|
style={
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
undefined,
|
|
159
|
-
]
|
|
147
|
+
Object {
|
|
148
|
+
"alignItems": "center",
|
|
149
|
+
"alignSelf": "stretch",
|
|
150
|
+
"backgroundColor": "transparent",
|
|
151
|
+
"borderColor": "#de350b",
|
|
152
|
+
"borderRadius": 32,
|
|
153
|
+
"borderWidth": 2,
|
|
154
|
+
"flexDirection": "row",
|
|
155
|
+
"justifyContent": "center",
|
|
156
|
+
"opacity": 1,
|
|
157
|
+
"padding": 14,
|
|
158
|
+
}
|
|
160
159
|
}
|
|
161
160
|
>
|
|
162
161
|
<Text>
|
|
@@ -168,7 +167,9 @@ exports[`StyledButtonContainer has outlined-danger style 1`] = `
|
|
|
168
167
|
exports[`StyledButtonContainer has outlined-primary style 1`] = `
|
|
169
168
|
<View
|
|
170
169
|
accessible={true}
|
|
170
|
+
collapsable={false}
|
|
171
171
|
focusable={false}
|
|
172
|
+
nativeID="animatedComponent"
|
|
172
173
|
onClick={[Function]}
|
|
173
174
|
onResponderGrant={[Function]}
|
|
174
175
|
onResponderMove={[Function]}
|
|
@@ -177,20 +178,18 @@ exports[`StyledButtonContainer has outlined-primary style 1`] = `
|
|
|
177
178
|
onResponderTerminationRequest={[Function]}
|
|
178
179
|
onStartShouldSetResponder={[Function]}
|
|
179
180
|
style={
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
undefined,
|
|
193
|
-
]
|
|
181
|
+
Object {
|
|
182
|
+
"alignItems": "center",
|
|
183
|
+
"alignSelf": "stretch",
|
|
184
|
+
"backgroundColor": "transparent",
|
|
185
|
+
"borderColor": "#401960",
|
|
186
|
+
"borderRadius": 32,
|
|
187
|
+
"borderWidth": 2,
|
|
188
|
+
"flexDirection": "row",
|
|
189
|
+
"justifyContent": "center",
|
|
190
|
+
"opacity": 1,
|
|
191
|
+
"padding": 14,
|
|
192
|
+
}
|
|
194
193
|
}
|
|
195
194
|
>
|
|
196
195
|
<Text>
|
|
@@ -202,7 +201,9 @@ exports[`StyledButtonContainer has outlined-primary style 1`] = `
|
|
|
202
201
|
exports[`StyledButtonContainer has outlined-secondary style 1`] = `
|
|
203
202
|
<View
|
|
204
203
|
accessible={true}
|
|
204
|
+
collapsable={false}
|
|
205
205
|
focusable={false}
|
|
206
|
+
nativeID="animatedComponent"
|
|
206
207
|
onClick={[Function]}
|
|
207
208
|
onResponderGrant={[Function]}
|
|
208
209
|
onResponderMove={[Function]}
|
|
@@ -211,87 +212,18 @@ exports[`StyledButtonContainer has outlined-secondary style 1`] = `
|
|
|
211
212
|
onResponderTerminationRequest={[Function]}
|
|
212
213
|
onStartShouldSetResponder={[Function]}
|
|
213
214
|
style={
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
undefined,
|
|
227
|
-
]
|
|
228
|
-
}
|
|
229
|
-
>
|
|
230
|
-
<Text>
|
|
231
|
-
Title
|
|
232
|
-
</Text>
|
|
233
|
-
</View>
|
|
234
|
-
`;
|
|
235
|
-
|
|
236
|
-
exports[`StyledButtonContainer has pressed with the correct variant basic-transparent style 1`] = `
|
|
237
|
-
<View
|
|
238
|
-
accessible={true}
|
|
239
|
-
focusable={false}
|
|
240
|
-
onClick={[Function]}
|
|
241
|
-
onResponderGrant={[Function]}
|
|
242
|
-
onResponderMove={[Function]}
|
|
243
|
-
onResponderRelease={[Function]}
|
|
244
|
-
onResponderTerminate={[Function]}
|
|
245
|
-
onResponderTerminationRequest={[Function]}
|
|
246
|
-
onStartShouldSetResponder={[Function]}
|
|
247
|
-
style={
|
|
248
|
-
Array [
|
|
249
|
-
Object {
|
|
250
|
-
"alignItems": "center",
|
|
251
|
-
"backgroundColor": "transparent",
|
|
252
|
-
"borderColor": "#ffffff",
|
|
253
|
-
"borderRadius": 32,
|
|
254
|
-
"borderWidth": 2,
|
|
255
|
-
"flexDirection": "row",
|
|
256
|
-
"justifyContent": "center",
|
|
257
|
-
"opacity": 0.6,
|
|
258
|
-
"padding": 14,
|
|
259
|
-
"width": "100%",
|
|
260
|
-
},
|
|
261
|
-
undefined,
|
|
262
|
-
]
|
|
263
|
-
}
|
|
264
|
-
>
|
|
265
|
-
<Text>
|
|
266
|
-
Title
|
|
267
|
-
</Text>
|
|
268
|
-
</View>
|
|
269
|
-
`;
|
|
270
|
-
|
|
271
|
-
exports[`StyledButtonContainer has pressed with the correct variant filled-danger style 1`] = `
|
|
272
|
-
<View
|
|
273
|
-
accessible={true}
|
|
274
|
-
focusable={false}
|
|
275
|
-
onClick={[Function]}
|
|
276
|
-
onResponderGrant={[Function]}
|
|
277
|
-
onResponderMove={[Function]}
|
|
278
|
-
onResponderRelease={[Function]}
|
|
279
|
-
onResponderTerminate={[Function]}
|
|
280
|
-
onResponderTerminationRequest={[Function]}
|
|
281
|
-
onStartShouldSetResponder={[Function]}
|
|
282
|
-
style={
|
|
283
|
-
Array [
|
|
284
|
-
Object {
|
|
285
|
-
"alignItems": "center",
|
|
286
|
-
"alignSelf": "stretch",
|
|
287
|
-
"backgroundColor": "#de350b",
|
|
288
|
-
"borderRadius": 32,
|
|
289
|
-
"flexDirection": "row",
|
|
290
|
-
"justifyContent": "center",
|
|
291
|
-
"padding": 16,
|
|
292
|
-
},
|
|
293
|
-
undefined,
|
|
294
|
-
]
|
|
215
|
+
Object {
|
|
216
|
+
"alignItems": "center",
|
|
217
|
+
"alignSelf": "stretch",
|
|
218
|
+
"backgroundColor": "transparent",
|
|
219
|
+
"borderColor": "#795e90",
|
|
220
|
+
"borderRadius": 32,
|
|
221
|
+
"borderWidth": 2,
|
|
222
|
+
"flexDirection": "row",
|
|
223
|
+
"justifyContent": "center",
|
|
224
|
+
"opacity": 1,
|
|
225
|
+
"padding": 14,
|
|
226
|
+
}
|
|
295
227
|
}
|
|
296
228
|
>
|
|
297
229
|
<Text>
|
|
@@ -300,10 +232,12 @@ exports[`StyledButtonContainer has pressed with the correct variant filled-dange
|
|
|
300
232
|
</View>
|
|
301
233
|
`;
|
|
302
234
|
|
|
303
|
-
exports[`StyledButtonContainer has
|
|
235
|
+
exports[`StyledButtonContainer has text-danger style 1`] = `
|
|
304
236
|
<View
|
|
305
237
|
accessible={true}
|
|
238
|
+
collapsable={false}
|
|
306
239
|
focusable={false}
|
|
240
|
+
nativeID="animatedComponent"
|
|
307
241
|
onClick={[Function]}
|
|
308
242
|
onResponderGrant={[Function]}
|
|
309
243
|
onResponderMove={[Function]}
|
|
@@ -312,18 +246,14 @@ exports[`StyledButtonContainer has pressed with the correct variant filled-prima
|
|
|
312
246
|
onResponderTerminationRequest={[Function]}
|
|
313
247
|
onStartShouldSetResponder={[Function]}
|
|
314
248
|
style={
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
"padding": 16,
|
|
324
|
-
},
|
|
325
|
-
undefined,
|
|
326
|
-
]
|
|
249
|
+
Object {
|
|
250
|
+
"alignItems": "center",
|
|
251
|
+
"borderWidth": 0,
|
|
252
|
+
"flexDirection": "row",
|
|
253
|
+
"justifyContent": "center",
|
|
254
|
+
"opacity": 1,
|
|
255
|
+
"padding": 16,
|
|
256
|
+
}
|
|
327
257
|
}
|
|
328
258
|
>
|
|
329
259
|
<Text>
|
|
@@ -332,10 +262,12 @@ exports[`StyledButtonContainer has pressed with the correct variant filled-prima
|
|
|
332
262
|
</View>
|
|
333
263
|
`;
|
|
334
264
|
|
|
335
|
-
exports[`StyledButtonContainer has
|
|
265
|
+
exports[`StyledButtonContainer has text-primary style 1`] = `
|
|
336
266
|
<View
|
|
337
267
|
accessible={true}
|
|
268
|
+
collapsable={false}
|
|
338
269
|
focusable={false}
|
|
270
|
+
nativeID="animatedComponent"
|
|
339
271
|
onClick={[Function]}
|
|
340
272
|
onResponderGrant={[Function]}
|
|
341
273
|
onResponderMove={[Function]}
|
|
@@ -344,18 +276,14 @@ exports[`StyledButtonContainer has pressed with the correct variant filled-secon
|
|
|
344
276
|
onResponderTerminationRequest={[Function]}
|
|
345
277
|
onStartShouldSetResponder={[Function]}
|
|
346
278
|
style={
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
"padding": 16,
|
|
356
|
-
},
|
|
357
|
-
undefined,
|
|
358
|
-
]
|
|
279
|
+
Object {
|
|
280
|
+
"alignItems": "center",
|
|
281
|
+
"borderWidth": 0,
|
|
282
|
+
"flexDirection": "row",
|
|
283
|
+
"justifyContent": "center",
|
|
284
|
+
"opacity": 1,
|
|
285
|
+
"padding": 16,
|
|
286
|
+
}
|
|
359
287
|
}
|
|
360
288
|
>
|
|
361
289
|
<Text>
|
|
@@ -364,10 +292,12 @@ exports[`StyledButtonContainer has pressed with the correct variant filled-secon
|
|
|
364
292
|
</View>
|
|
365
293
|
`;
|
|
366
294
|
|
|
367
|
-
exports[`StyledButtonContainer has
|
|
295
|
+
exports[`StyledButtonContainer has text-secondary style 1`] = `
|
|
368
296
|
<View
|
|
369
297
|
accessible={true}
|
|
298
|
+
collapsable={false}
|
|
370
299
|
focusable={false}
|
|
300
|
+
nativeID="animatedComponent"
|
|
371
301
|
onClick={[Function]}
|
|
372
302
|
onResponderGrant={[Function]}
|
|
373
303
|
onResponderMove={[Function]}
|
|
@@ -376,20 +306,14 @@ exports[`StyledButtonContainer has pressed with the correct variant outlined-dan
|
|
|
376
306
|
onResponderTerminationRequest={[Function]}
|
|
377
307
|
onStartShouldSetResponder={[Function]}
|
|
378
308
|
style={
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
"flexDirection": "row",
|
|
388
|
-
"justifyContent": "center",
|
|
389
|
-
"padding": 14,
|
|
390
|
-
},
|
|
391
|
-
undefined,
|
|
392
|
-
]
|
|
309
|
+
Object {
|
|
310
|
+
"alignItems": "center",
|
|
311
|
+
"borderWidth": 0,
|
|
312
|
+
"flexDirection": "row",
|
|
313
|
+
"justifyContent": "center",
|
|
314
|
+
"opacity": 1,
|
|
315
|
+
"padding": 16,
|
|
316
|
+
}
|
|
393
317
|
}
|
|
394
318
|
>
|
|
395
319
|
<Text>
|
|
@@ -398,10 +322,12 @@ exports[`StyledButtonContainer has pressed with the correct variant outlined-dan
|
|
|
398
322
|
</View>
|
|
399
323
|
`;
|
|
400
324
|
|
|
401
|
-
exports[`StyledButtonContainer
|
|
325
|
+
exports[`StyledButtonContainer renders disabled correctly 1`] = `
|
|
402
326
|
<View
|
|
403
327
|
accessible={true}
|
|
328
|
+
collapsable={false}
|
|
404
329
|
focusable={false}
|
|
330
|
+
nativeID="animatedComponent"
|
|
405
331
|
onClick={[Function]}
|
|
406
332
|
onResponderGrant={[Function]}
|
|
407
333
|
onResponderMove={[Function]}
|
|
@@ -410,20 +336,16 @@ exports[`StyledButtonContainer has pressed with the correct variant outlined-pri
|
|
|
410
336
|
onResponderTerminationRequest={[Function]}
|
|
411
337
|
onStartShouldSetResponder={[Function]}
|
|
412
338
|
style={
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
"padding": 14,
|
|
424
|
-
},
|
|
425
|
-
undefined,
|
|
426
|
-
]
|
|
339
|
+
Object {
|
|
340
|
+
"alignItems": "center",
|
|
341
|
+
"alignSelf": "stretch",
|
|
342
|
+
"backgroundColor": "#bfc1c5",
|
|
343
|
+
"borderRadius": 32,
|
|
344
|
+
"flexDirection": "row",
|
|
345
|
+
"justifyContent": "center",
|
|
346
|
+
"opacity": 1,
|
|
347
|
+
"padding": 16,
|
|
348
|
+
}
|
|
427
349
|
}
|
|
428
350
|
>
|
|
429
351
|
<Text>
|
|
@@ -432,732 +354,78 @@ exports[`StyledButtonContainer has pressed with the correct variant outlined-pri
|
|
|
432
354
|
</View>
|
|
433
355
|
`;
|
|
434
356
|
|
|
435
|
-
exports[`
|
|
436
|
-
<
|
|
437
|
-
|
|
438
|
-
focusable={false}
|
|
439
|
-
onClick={[Function]}
|
|
440
|
-
onResponderGrant={[Function]}
|
|
441
|
-
onResponderMove={[Function]}
|
|
442
|
-
onResponderRelease={[Function]}
|
|
443
|
-
onResponderTerminate={[Function]}
|
|
444
|
-
onResponderTerminationRequest={[Function]}
|
|
445
|
-
onStartShouldSetResponder={[Function]}
|
|
357
|
+
exports[`StyledButtonIcon has basic-transparent style 1`] = `
|
|
358
|
+
<HeroIcon
|
|
359
|
+
name="bell"
|
|
446
360
|
style={
|
|
447
361
|
Array [
|
|
448
362
|
Object {
|
|
449
|
-
"
|
|
450
|
-
"
|
|
451
|
-
"backgroundColor": "transparent",
|
|
452
|
-
"borderColor": "#401960",
|
|
453
|
-
"borderRadius": 32,
|
|
454
|
-
"borderWidth": 2,
|
|
455
|
-
"flexDirection": "row",
|
|
456
|
-
"justifyContent": "center",
|
|
457
|
-
"padding": 14,
|
|
363
|
+
"color": "#001f23",
|
|
364
|
+
"fontSize": 24,
|
|
458
365
|
},
|
|
459
|
-
|
|
366
|
+
Array [
|
|
367
|
+
Object {
|
|
368
|
+
"color": "#ffffff",
|
|
369
|
+
"fontSize": 20,
|
|
370
|
+
},
|
|
371
|
+
undefined,
|
|
372
|
+
],
|
|
460
373
|
]
|
|
461
374
|
}
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
</Text>
|
|
466
|
-
</View>
|
|
375
|
+
themeIntent="text"
|
|
376
|
+
themeSize="medium"
|
|
377
|
+
/>
|
|
467
378
|
`;
|
|
468
379
|
|
|
469
|
-
exports[`
|
|
470
|
-
<
|
|
471
|
-
|
|
472
|
-
focusable={false}
|
|
473
|
-
onClick={[Function]}
|
|
474
|
-
onResponderGrant={[Function]}
|
|
475
|
-
onResponderMove={[Function]}
|
|
476
|
-
onResponderRelease={[Function]}
|
|
477
|
-
onResponderTerminate={[Function]}
|
|
478
|
-
onResponderTerminationRequest={[Function]}
|
|
479
|
-
onStartShouldSetResponder={[Function]}
|
|
380
|
+
exports[`StyledButtonIcon has filled-danger style 1`] = `
|
|
381
|
+
<HeroIcon
|
|
382
|
+
name="bell"
|
|
480
383
|
style={
|
|
481
384
|
Array [
|
|
482
385
|
Object {
|
|
483
|
-
"
|
|
484
|
-
"
|
|
485
|
-
"flexDirection": "row",
|
|
486
|
-
"justifyContent": "center",
|
|
487
|
-
"padding": 16,
|
|
386
|
+
"color": "#001f23",
|
|
387
|
+
"fontSize": 24,
|
|
488
388
|
},
|
|
489
|
-
|
|
389
|
+
Array [
|
|
390
|
+
Object {
|
|
391
|
+
"color": "#ffffff",
|
|
392
|
+
"fontSize": 20,
|
|
393
|
+
},
|
|
394
|
+
undefined,
|
|
395
|
+
],
|
|
490
396
|
]
|
|
491
397
|
}
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
</Text>
|
|
496
|
-
</View>
|
|
398
|
+
themeIntent="text"
|
|
399
|
+
themeSize="medium"
|
|
400
|
+
/>
|
|
497
401
|
`;
|
|
498
402
|
|
|
499
|
-
exports[`
|
|
500
|
-
<
|
|
501
|
-
|
|
502
|
-
focusable={false}
|
|
503
|
-
onClick={[Function]}
|
|
504
|
-
onResponderGrant={[Function]}
|
|
505
|
-
onResponderMove={[Function]}
|
|
506
|
-
onResponderRelease={[Function]}
|
|
507
|
-
onResponderTerminate={[Function]}
|
|
508
|
-
onResponderTerminationRequest={[Function]}
|
|
509
|
-
onStartShouldSetResponder={[Function]}
|
|
403
|
+
exports[`StyledButtonIcon has filled-primary style 1`] = `
|
|
404
|
+
<HeroIcon
|
|
405
|
+
name="bell"
|
|
510
406
|
style={
|
|
511
407
|
Array [
|
|
512
408
|
Object {
|
|
513
|
-
"
|
|
514
|
-
"
|
|
515
|
-
"flexDirection": "row",
|
|
516
|
-
"justifyContent": "center",
|
|
517
|
-
"padding": 16,
|
|
409
|
+
"color": "#001f23",
|
|
410
|
+
"fontSize": 24,
|
|
518
411
|
},
|
|
519
|
-
|
|
412
|
+
Array [
|
|
413
|
+
Object {
|
|
414
|
+
"color": "#ffffff",
|
|
415
|
+
"fontSize": 20,
|
|
416
|
+
},
|
|
417
|
+
undefined,
|
|
418
|
+
],
|
|
520
419
|
]
|
|
521
420
|
}
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
</Text>
|
|
526
|
-
</View>
|
|
421
|
+
themeIntent="text"
|
|
422
|
+
themeSize="medium"
|
|
423
|
+
/>
|
|
527
424
|
`;
|
|
528
425
|
|
|
529
|
-
exports[`
|
|
530
|
-
<
|
|
531
|
-
|
|
532
|
-
focusable={false}
|
|
533
|
-
onClick={[Function]}
|
|
534
|
-
onResponderGrant={[Function]}
|
|
535
|
-
onResponderMove={[Function]}
|
|
536
|
-
onResponderRelease={[Function]}
|
|
537
|
-
onResponderTerminate={[Function]}
|
|
538
|
-
onResponderTerminationRequest={[Function]}
|
|
539
|
-
onStartShouldSetResponder={[Function]}
|
|
540
|
-
style={
|
|
541
|
-
Array [
|
|
542
|
-
Object {
|
|
543
|
-
"alignItems": "center",
|
|
544
|
-
"borderWidth": 0,
|
|
545
|
-
"flexDirection": "row",
|
|
546
|
-
"justifyContent": "center",
|
|
547
|
-
"padding": 16,
|
|
548
|
-
},
|
|
549
|
-
undefined,
|
|
550
|
-
]
|
|
551
|
-
}
|
|
552
|
-
>
|
|
553
|
-
<Text>
|
|
554
|
-
Title
|
|
555
|
-
</Text>
|
|
556
|
-
</View>
|
|
557
|
-
`;
|
|
558
|
-
|
|
559
|
-
exports[`StyledButtonContainer has text-danger style 1`] = `
|
|
560
|
-
<View
|
|
561
|
-
accessible={true}
|
|
562
|
-
focusable={false}
|
|
563
|
-
onClick={[Function]}
|
|
564
|
-
onResponderGrant={[Function]}
|
|
565
|
-
onResponderMove={[Function]}
|
|
566
|
-
onResponderRelease={[Function]}
|
|
567
|
-
onResponderTerminate={[Function]}
|
|
568
|
-
onResponderTerminationRequest={[Function]}
|
|
569
|
-
onStartShouldSetResponder={[Function]}
|
|
570
|
-
style={
|
|
571
|
-
Array [
|
|
572
|
-
Object {
|
|
573
|
-
"alignItems": "center",
|
|
574
|
-
"borderWidth": 0,
|
|
575
|
-
"flexDirection": "row",
|
|
576
|
-
"justifyContent": "center",
|
|
577
|
-
"padding": 16,
|
|
578
|
-
},
|
|
579
|
-
undefined,
|
|
580
|
-
]
|
|
581
|
-
}
|
|
582
|
-
>
|
|
583
|
-
<Text>
|
|
584
|
-
Title
|
|
585
|
-
</Text>
|
|
586
|
-
</View>
|
|
587
|
-
`;
|
|
588
|
-
|
|
589
|
-
exports[`StyledButtonContainer has text-primary style 1`] = `
|
|
590
|
-
<View
|
|
591
|
-
accessible={true}
|
|
592
|
-
focusable={false}
|
|
593
|
-
onClick={[Function]}
|
|
594
|
-
onResponderGrant={[Function]}
|
|
595
|
-
onResponderMove={[Function]}
|
|
596
|
-
onResponderRelease={[Function]}
|
|
597
|
-
onResponderTerminate={[Function]}
|
|
598
|
-
onResponderTerminationRequest={[Function]}
|
|
599
|
-
onStartShouldSetResponder={[Function]}
|
|
600
|
-
style={
|
|
601
|
-
Array [
|
|
602
|
-
Object {
|
|
603
|
-
"alignItems": "center",
|
|
604
|
-
"borderWidth": 0,
|
|
605
|
-
"flexDirection": "row",
|
|
606
|
-
"justifyContent": "center",
|
|
607
|
-
"padding": 16,
|
|
608
|
-
},
|
|
609
|
-
undefined,
|
|
610
|
-
]
|
|
611
|
-
}
|
|
612
|
-
>
|
|
613
|
-
<Text>
|
|
614
|
-
Title
|
|
615
|
-
</Text>
|
|
616
|
-
</View>
|
|
617
|
-
`;
|
|
618
|
-
|
|
619
|
-
exports[`StyledButtonContainer has text-secondary style 1`] = `
|
|
620
|
-
<View
|
|
621
|
-
accessible={true}
|
|
622
|
-
focusable={false}
|
|
623
|
-
onClick={[Function]}
|
|
624
|
-
onResponderGrant={[Function]}
|
|
625
|
-
onResponderMove={[Function]}
|
|
626
|
-
onResponderRelease={[Function]}
|
|
627
|
-
onResponderTerminate={[Function]}
|
|
628
|
-
onResponderTerminationRequest={[Function]}
|
|
629
|
-
onStartShouldSetResponder={[Function]}
|
|
630
|
-
style={
|
|
631
|
-
Array [
|
|
632
|
-
Object {
|
|
633
|
-
"alignItems": "center",
|
|
634
|
-
"borderWidth": 0,
|
|
635
|
-
"flexDirection": "row",
|
|
636
|
-
"justifyContent": "center",
|
|
637
|
-
"padding": 16,
|
|
638
|
-
},
|
|
639
|
-
undefined,
|
|
640
|
-
]
|
|
641
|
-
}
|
|
642
|
-
>
|
|
643
|
-
<Text>
|
|
644
|
-
Title
|
|
645
|
-
</Text>
|
|
646
|
-
</View>
|
|
647
|
-
`;
|
|
648
|
-
|
|
649
|
-
exports[`StyledButtonContainer renders disabled correctly 1`] = `
|
|
650
|
-
<View
|
|
651
|
-
accessibilityState={
|
|
652
|
-
Object {
|
|
653
|
-
"disabled": true,
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
accessible={true}
|
|
657
|
-
focusable={false}
|
|
658
|
-
onClick={[Function]}
|
|
659
|
-
onResponderGrant={[Function]}
|
|
660
|
-
onResponderMove={[Function]}
|
|
661
|
-
onResponderRelease={[Function]}
|
|
662
|
-
onResponderTerminate={[Function]}
|
|
663
|
-
onResponderTerminationRequest={[Function]}
|
|
664
|
-
onStartShouldSetResponder={[Function]}
|
|
665
|
-
style={
|
|
666
|
-
Array [
|
|
667
|
-
Object {
|
|
668
|
-
"alignItems": "center",
|
|
669
|
-
"alignSelf": "stretch",
|
|
670
|
-
"backgroundColor": "#bfc1c5",
|
|
671
|
-
"borderRadius": 32,
|
|
672
|
-
"flexDirection": "row",
|
|
673
|
-
"justifyContent": "center",
|
|
674
|
-
"padding": 16,
|
|
675
|
-
},
|
|
676
|
-
undefined,
|
|
677
|
-
]
|
|
678
|
-
}
|
|
679
|
-
>
|
|
680
|
-
<Text>
|
|
681
|
-
Title
|
|
682
|
-
</Text>
|
|
683
|
-
</View>
|
|
684
|
-
`;
|
|
685
|
-
|
|
686
|
-
exports[`StyledButtonIcon has basic-transparent style 1`] = `
|
|
687
|
-
<HeroIcon
|
|
688
|
-
name="bell"
|
|
689
|
-
style={
|
|
690
|
-
Array [
|
|
691
|
-
Object {
|
|
692
|
-
"color": "#001f23",
|
|
693
|
-
"fontSize": 24,
|
|
694
|
-
},
|
|
695
|
-
Array [
|
|
696
|
-
Object {
|
|
697
|
-
"color": "#ffffff",
|
|
698
|
-
"fontSize": 20,
|
|
699
|
-
},
|
|
700
|
-
undefined,
|
|
701
|
-
],
|
|
702
|
-
]
|
|
703
|
-
}
|
|
704
|
-
themeIntent="text"
|
|
705
|
-
themeSize="medium"
|
|
706
|
-
/>
|
|
707
|
-
`;
|
|
708
|
-
|
|
709
|
-
exports[`StyledButtonIcon has filled-danger style 1`] = `
|
|
710
|
-
<HeroIcon
|
|
711
|
-
name="bell"
|
|
712
|
-
style={
|
|
713
|
-
Array [
|
|
714
|
-
Object {
|
|
715
|
-
"color": "#001f23",
|
|
716
|
-
"fontSize": 24,
|
|
717
|
-
},
|
|
718
|
-
Array [
|
|
719
|
-
Object {
|
|
720
|
-
"color": "#ffffff",
|
|
721
|
-
"fontSize": 20,
|
|
722
|
-
},
|
|
723
|
-
undefined,
|
|
724
|
-
],
|
|
725
|
-
]
|
|
726
|
-
}
|
|
727
|
-
themeIntent="text"
|
|
728
|
-
themeSize="medium"
|
|
729
|
-
/>
|
|
730
|
-
`;
|
|
731
|
-
|
|
732
|
-
exports[`StyledButtonIcon has filled-primary style 1`] = `
|
|
733
|
-
<HeroIcon
|
|
734
|
-
name="bell"
|
|
735
|
-
style={
|
|
736
|
-
Array [
|
|
737
|
-
Object {
|
|
738
|
-
"color": "#001f23",
|
|
739
|
-
"fontSize": 24,
|
|
740
|
-
},
|
|
741
|
-
Array [
|
|
742
|
-
Object {
|
|
743
|
-
"color": "#ffffff",
|
|
744
|
-
"fontSize": 20,
|
|
745
|
-
},
|
|
746
|
-
undefined,
|
|
747
|
-
],
|
|
748
|
-
]
|
|
749
|
-
}
|
|
750
|
-
themeIntent="text"
|
|
751
|
-
themeSize="medium"
|
|
752
|
-
/>
|
|
753
|
-
`;
|
|
754
|
-
|
|
755
|
-
exports[`StyledButtonIcon has filled-secondary style 1`] = `
|
|
756
|
-
<HeroIcon
|
|
757
|
-
name="bell"
|
|
758
|
-
style={
|
|
759
|
-
Array [
|
|
760
|
-
Object {
|
|
761
|
-
"color": "#001f23",
|
|
762
|
-
"fontSize": 24,
|
|
763
|
-
},
|
|
764
|
-
Array [
|
|
765
|
-
Object {
|
|
766
|
-
"color": "#ffffff",
|
|
767
|
-
"fontSize": 20,
|
|
768
|
-
},
|
|
769
|
-
undefined,
|
|
770
|
-
],
|
|
771
|
-
]
|
|
772
|
-
}
|
|
773
|
-
themeIntent="text"
|
|
774
|
-
themeSize="medium"
|
|
775
|
-
/>
|
|
776
|
-
`;
|
|
777
|
-
|
|
778
|
-
exports[`StyledButtonIcon has outlined-danger style 1`] = `
|
|
779
|
-
<HeroIcon
|
|
780
|
-
name="bell"
|
|
781
|
-
style={
|
|
782
|
-
Array [
|
|
783
|
-
Object {
|
|
784
|
-
"color": "#001f23",
|
|
785
|
-
"fontSize": 24,
|
|
786
|
-
},
|
|
787
|
-
Array [
|
|
788
|
-
Object {
|
|
789
|
-
"color": "#de350b",
|
|
790
|
-
"fontSize": 18,
|
|
791
|
-
"lineHeight": 24,
|
|
792
|
-
},
|
|
793
|
-
undefined,
|
|
794
|
-
],
|
|
795
|
-
]
|
|
796
|
-
}
|
|
797
|
-
themeIntent="text"
|
|
798
|
-
themeSize="medium"
|
|
799
|
-
/>
|
|
800
|
-
`;
|
|
801
|
-
|
|
802
|
-
exports[`StyledButtonIcon has outlined-primary style 1`] = `
|
|
803
|
-
<HeroIcon
|
|
804
|
-
name="bell"
|
|
805
|
-
style={
|
|
806
|
-
Array [
|
|
807
|
-
Object {
|
|
808
|
-
"color": "#001f23",
|
|
809
|
-
"fontSize": 24,
|
|
810
|
-
},
|
|
811
|
-
Array [
|
|
812
|
-
Object {
|
|
813
|
-
"color": "#001f23",
|
|
814
|
-
"fontSize": 18,
|
|
815
|
-
"lineHeight": 24,
|
|
816
|
-
},
|
|
817
|
-
undefined,
|
|
818
|
-
],
|
|
819
|
-
]
|
|
820
|
-
}
|
|
821
|
-
themeIntent="text"
|
|
822
|
-
themeSize="medium"
|
|
823
|
-
/>
|
|
824
|
-
`;
|
|
825
|
-
|
|
826
|
-
exports[`StyledButtonIcon has outlined-secondary style 1`] = `
|
|
827
|
-
<HeroIcon
|
|
828
|
-
name="bell"
|
|
829
|
-
style={
|
|
830
|
-
Array [
|
|
831
|
-
Object {
|
|
832
|
-
"color": "#001f23",
|
|
833
|
-
"fontSize": 24,
|
|
834
|
-
},
|
|
835
|
-
Array [
|
|
836
|
-
Object {
|
|
837
|
-
"color": "#401960",
|
|
838
|
-
"fontSize": 18,
|
|
839
|
-
"lineHeight": 24,
|
|
840
|
-
},
|
|
841
|
-
undefined,
|
|
842
|
-
],
|
|
843
|
-
]
|
|
844
|
-
}
|
|
845
|
-
themeIntent="text"
|
|
846
|
-
themeSize="medium"
|
|
847
|
-
/>
|
|
848
|
-
`;
|
|
849
|
-
|
|
850
|
-
exports[`StyledButtonIcon has pressed with the correct variant basic-transparent style 1`] = `
|
|
851
|
-
<HeroIcon
|
|
852
|
-
name="bell"
|
|
853
|
-
style={
|
|
854
|
-
Array [
|
|
855
|
-
Object {
|
|
856
|
-
"color": "#001f23",
|
|
857
|
-
"fontSize": 24,
|
|
858
|
-
},
|
|
859
|
-
Array [
|
|
860
|
-
Object {
|
|
861
|
-
"color": "#ffffff",
|
|
862
|
-
"fontSize": 20,
|
|
863
|
-
},
|
|
864
|
-
undefined,
|
|
865
|
-
],
|
|
866
|
-
]
|
|
867
|
-
}
|
|
868
|
-
themeIntent="text"
|
|
869
|
-
themeSize="medium"
|
|
870
|
-
/>
|
|
871
|
-
`;
|
|
872
|
-
|
|
873
|
-
exports[`StyledButtonIcon has pressed with the correct variant filled-danger style 1`] = `
|
|
874
|
-
<HeroIcon
|
|
875
|
-
name="bell"
|
|
876
|
-
style={
|
|
877
|
-
Array [
|
|
878
|
-
Object {
|
|
879
|
-
"color": "#001f23",
|
|
880
|
-
"fontSize": 24,
|
|
881
|
-
},
|
|
882
|
-
Array [
|
|
883
|
-
Object {
|
|
884
|
-
"color": "#ffffff",
|
|
885
|
-
"fontSize": 20,
|
|
886
|
-
},
|
|
887
|
-
undefined,
|
|
888
|
-
],
|
|
889
|
-
]
|
|
890
|
-
}
|
|
891
|
-
themeIntent="text"
|
|
892
|
-
themeSize="medium"
|
|
893
|
-
/>
|
|
894
|
-
`;
|
|
895
|
-
|
|
896
|
-
exports[`StyledButtonIcon has pressed with the correct variant filled-primary style 1`] = `
|
|
897
|
-
<HeroIcon
|
|
898
|
-
name="bell"
|
|
899
|
-
style={
|
|
900
|
-
Array [
|
|
901
|
-
Object {
|
|
902
|
-
"color": "#001f23",
|
|
903
|
-
"fontSize": 24,
|
|
904
|
-
},
|
|
905
|
-
Array [
|
|
906
|
-
Object {
|
|
907
|
-
"color": "#ffffff",
|
|
908
|
-
"fontSize": 20,
|
|
909
|
-
},
|
|
910
|
-
undefined,
|
|
911
|
-
],
|
|
912
|
-
]
|
|
913
|
-
}
|
|
914
|
-
themeIntent="text"
|
|
915
|
-
themeSize="medium"
|
|
916
|
-
/>
|
|
917
|
-
`;
|
|
918
|
-
|
|
919
|
-
exports[`StyledButtonIcon has pressed with the correct variant filled-secondary style 1`] = `
|
|
920
|
-
<HeroIcon
|
|
921
|
-
name="bell"
|
|
922
|
-
style={
|
|
923
|
-
Array [
|
|
924
|
-
Object {
|
|
925
|
-
"color": "#001f23",
|
|
926
|
-
"fontSize": 24,
|
|
927
|
-
},
|
|
928
|
-
Array [
|
|
929
|
-
Object {
|
|
930
|
-
"color": "#ffffff",
|
|
931
|
-
"fontSize": 20,
|
|
932
|
-
},
|
|
933
|
-
undefined,
|
|
934
|
-
],
|
|
935
|
-
]
|
|
936
|
-
}
|
|
937
|
-
themeIntent="text"
|
|
938
|
-
themeSize="medium"
|
|
939
|
-
/>
|
|
940
|
-
`;
|
|
941
|
-
|
|
942
|
-
exports[`StyledButtonIcon has pressed with the correct variant outlined-danger style 1`] = `
|
|
943
|
-
<HeroIcon
|
|
944
|
-
name="bell"
|
|
945
|
-
style={
|
|
946
|
-
Array [
|
|
947
|
-
Object {
|
|
948
|
-
"color": "#001f23",
|
|
949
|
-
"fontSize": 24,
|
|
950
|
-
},
|
|
951
|
-
Array [
|
|
952
|
-
Object {
|
|
953
|
-
"color": "#de350b",
|
|
954
|
-
"fontSize": 18,
|
|
955
|
-
"lineHeight": 24,
|
|
956
|
-
},
|
|
957
|
-
undefined,
|
|
958
|
-
],
|
|
959
|
-
]
|
|
960
|
-
}
|
|
961
|
-
themeIntent="text"
|
|
962
|
-
themeSize="medium"
|
|
963
|
-
/>
|
|
964
|
-
`;
|
|
965
|
-
|
|
966
|
-
exports[`StyledButtonIcon has pressed with the correct variant outlined-primary style 1`] = `
|
|
967
|
-
<HeroIcon
|
|
968
|
-
name="bell"
|
|
969
|
-
style={
|
|
970
|
-
Array [
|
|
971
|
-
Object {
|
|
972
|
-
"color": "#001f23",
|
|
973
|
-
"fontSize": 24,
|
|
974
|
-
},
|
|
975
|
-
Array [
|
|
976
|
-
Object {
|
|
977
|
-
"color": "#4d6265",
|
|
978
|
-
"fontSize": 18,
|
|
979
|
-
"lineHeight": 24,
|
|
980
|
-
},
|
|
981
|
-
undefined,
|
|
982
|
-
],
|
|
983
|
-
]
|
|
984
|
-
}
|
|
985
|
-
themeIntent="text"
|
|
986
|
-
themeSize="medium"
|
|
987
|
-
/>
|
|
988
|
-
`;
|
|
989
|
-
|
|
990
|
-
exports[`StyledButtonIcon has pressed with the correct variant outlined-secondary style 1`] = `
|
|
991
|
-
<HeroIcon
|
|
992
|
-
name="bell"
|
|
993
|
-
style={
|
|
994
|
-
Array [
|
|
995
|
-
Object {
|
|
996
|
-
"color": "#001f23",
|
|
997
|
-
"fontSize": 24,
|
|
998
|
-
},
|
|
999
|
-
Array [
|
|
1000
|
-
Object {
|
|
1001
|
-
"color": "#401960",
|
|
1002
|
-
"fontSize": 18,
|
|
1003
|
-
"lineHeight": 24,
|
|
1004
|
-
},
|
|
1005
|
-
undefined,
|
|
1006
|
-
],
|
|
1007
|
-
]
|
|
1008
|
-
}
|
|
1009
|
-
themeIntent="text"
|
|
1010
|
-
themeSize="medium"
|
|
1011
|
-
/>
|
|
1012
|
-
`;
|
|
1013
|
-
|
|
1014
|
-
exports[`StyledButtonIcon has pressed with the correct variant text-danger style 1`] = `
|
|
1015
|
-
<HeroIcon
|
|
1016
|
-
name="bell"
|
|
1017
|
-
style={
|
|
1018
|
-
Array [
|
|
1019
|
-
Object {
|
|
1020
|
-
"color": "#001f23",
|
|
1021
|
-
"fontSize": 24,
|
|
1022
|
-
},
|
|
1023
|
-
Array [
|
|
1024
|
-
Object {
|
|
1025
|
-
"color": "#de350b",
|
|
1026
|
-
"fontSize": 16,
|
|
1027
|
-
"lineHeight": 24,
|
|
1028
|
-
},
|
|
1029
|
-
undefined,
|
|
1030
|
-
],
|
|
1031
|
-
]
|
|
1032
|
-
}
|
|
1033
|
-
themeIntent="text"
|
|
1034
|
-
themeSize="medium"
|
|
1035
|
-
/>
|
|
1036
|
-
`;
|
|
1037
|
-
|
|
1038
|
-
exports[`StyledButtonIcon has pressed with the correct variant text-primary style 1`] = `
|
|
1039
|
-
<HeroIcon
|
|
1040
|
-
name="bell"
|
|
1041
|
-
style={
|
|
1042
|
-
Array [
|
|
1043
|
-
Object {
|
|
1044
|
-
"color": "#001f23",
|
|
1045
|
-
"fontSize": 24,
|
|
1046
|
-
},
|
|
1047
|
-
Array [
|
|
1048
|
-
Object {
|
|
1049
|
-
"color": "#4d6265",
|
|
1050
|
-
"fontSize": 16,
|
|
1051
|
-
"lineHeight": 24,
|
|
1052
|
-
},
|
|
1053
|
-
undefined,
|
|
1054
|
-
],
|
|
1055
|
-
]
|
|
1056
|
-
}
|
|
1057
|
-
themeIntent="text"
|
|
1058
|
-
themeSize="medium"
|
|
1059
|
-
/>
|
|
1060
|
-
`;
|
|
1061
|
-
|
|
1062
|
-
exports[`StyledButtonIcon has pressed with the correct variant text-secondary style 1`] = `
|
|
1063
|
-
<HeroIcon
|
|
1064
|
-
name="bell"
|
|
1065
|
-
style={
|
|
1066
|
-
Array [
|
|
1067
|
-
Object {
|
|
1068
|
-
"color": "#001f23",
|
|
1069
|
-
"fontSize": 24,
|
|
1070
|
-
},
|
|
1071
|
-
Array [
|
|
1072
|
-
Object {
|
|
1073
|
-
"color": "#401960",
|
|
1074
|
-
"fontSize": 16,
|
|
1075
|
-
"lineHeight": 24,
|
|
1076
|
-
},
|
|
1077
|
-
undefined,
|
|
1078
|
-
],
|
|
1079
|
-
]
|
|
1080
|
-
}
|
|
1081
|
-
themeIntent="text"
|
|
1082
|
-
themeSize="medium"
|
|
1083
|
-
/>
|
|
1084
|
-
`;
|
|
1085
|
-
|
|
1086
|
-
exports[`StyledButtonIcon has text-danger style 1`] = `
|
|
1087
|
-
<HeroIcon
|
|
1088
|
-
name="bell"
|
|
1089
|
-
style={
|
|
1090
|
-
Array [
|
|
1091
|
-
Object {
|
|
1092
|
-
"color": "#001f23",
|
|
1093
|
-
"fontSize": 24,
|
|
1094
|
-
},
|
|
1095
|
-
Array [
|
|
1096
|
-
Object {
|
|
1097
|
-
"color": "#de350b",
|
|
1098
|
-
"fontSize": 16,
|
|
1099
|
-
"lineHeight": 24,
|
|
1100
|
-
},
|
|
1101
|
-
undefined,
|
|
1102
|
-
],
|
|
1103
|
-
]
|
|
1104
|
-
}
|
|
1105
|
-
themeIntent="text"
|
|
1106
|
-
themeSize="medium"
|
|
1107
|
-
/>
|
|
1108
|
-
`;
|
|
1109
|
-
|
|
1110
|
-
exports[`StyledButtonIcon has text-primary style 1`] = `
|
|
1111
|
-
<HeroIcon
|
|
1112
|
-
name="bell"
|
|
1113
|
-
style={
|
|
1114
|
-
Array [
|
|
1115
|
-
Object {
|
|
1116
|
-
"color": "#001f23",
|
|
1117
|
-
"fontSize": 24,
|
|
1118
|
-
},
|
|
1119
|
-
Array [
|
|
1120
|
-
Object {
|
|
1121
|
-
"color": "#001f23",
|
|
1122
|
-
"fontSize": 16,
|
|
1123
|
-
"lineHeight": 24,
|
|
1124
|
-
},
|
|
1125
|
-
undefined,
|
|
1126
|
-
],
|
|
1127
|
-
]
|
|
1128
|
-
}
|
|
1129
|
-
themeIntent="text"
|
|
1130
|
-
themeSize="medium"
|
|
1131
|
-
/>
|
|
1132
|
-
`;
|
|
1133
|
-
|
|
1134
|
-
exports[`StyledButtonIcon has text-secondary style 1`] = `
|
|
1135
|
-
<HeroIcon
|
|
1136
|
-
name="bell"
|
|
1137
|
-
style={
|
|
1138
|
-
Array [
|
|
1139
|
-
Object {
|
|
1140
|
-
"color": "#001f23",
|
|
1141
|
-
"fontSize": 24,
|
|
1142
|
-
},
|
|
1143
|
-
Array [
|
|
1144
|
-
Object {
|
|
1145
|
-
"color": "#401960",
|
|
1146
|
-
"fontSize": 16,
|
|
1147
|
-
"lineHeight": 24,
|
|
1148
|
-
},
|
|
1149
|
-
undefined,
|
|
1150
|
-
],
|
|
1151
|
-
]
|
|
1152
|
-
}
|
|
1153
|
-
themeIntent="text"
|
|
1154
|
-
themeSize="medium"
|
|
1155
|
-
/>
|
|
1156
|
-
`;
|
|
1157
|
-
|
|
1158
|
-
exports[`StyledButtonIcon renders disabled correctly 1`] = `
|
|
1159
|
-
<HeroIcon
|
|
1160
|
-
name="bell"
|
|
426
|
+
exports[`StyledButtonIcon has filled-secondary style 1`] = `
|
|
427
|
+
<HeroIcon
|
|
428
|
+
name="bell"
|
|
1161
429
|
style={
|
|
1162
430
|
Array [
|
|
1163
431
|
Object {
|
|
@@ -1167,381 +435,214 @@ exports[`StyledButtonIcon renders disabled correctly 1`] = `
|
|
|
1167
435
|
Array [
|
|
1168
436
|
Object {
|
|
1169
437
|
"color": "#ffffff",
|
|
1170
|
-
"fontSize": 20,
|
|
1171
|
-
},
|
|
1172
|
-
undefined,
|
|
1173
|
-
],
|
|
1174
|
-
]
|
|
1175
|
-
}
|
|
1176
|
-
themeIntent="text"
|
|
1177
|
-
themeSize="medium"
|
|
1178
|
-
/>
|
|
1179
|
-
`;
|
|
1180
|
-
|
|
1181
|
-
exports[`StyledButtonIconWrapper has left style 1`] = `
|
|
1182
|
-
<View
|
|
1183
|
-
style={
|
|
1184
|
-
Array [
|
|
1185
|
-
Object {
|
|
1186
|
-
"paddingRight": 12,
|
|
1187
|
-
},
|
|
1188
|
-
undefined,
|
|
1189
|
-
]
|
|
1190
|
-
}
|
|
1191
|
-
themePosition="left"
|
|
1192
|
-
/>
|
|
1193
|
-
`;
|
|
1194
|
-
|
|
1195
|
-
exports[`StyledButtonIconWrapper has right style 1`] = `
|
|
1196
|
-
<View
|
|
1197
|
-
style={
|
|
1198
|
-
Array [
|
|
1199
|
-
Object {
|
|
1200
|
-
"paddingLeft": 12,
|
|
1201
|
-
},
|
|
1202
|
-
undefined,
|
|
1203
|
-
]
|
|
1204
|
-
}
|
|
1205
|
-
themePosition="right"
|
|
1206
|
-
/>
|
|
1207
|
-
`;
|
|
1208
|
-
|
|
1209
|
-
exports[`StyledButtonText has basic-transparent style 1`] = `
|
|
1210
|
-
<Text
|
|
1211
|
-
style={
|
|
1212
|
-
Array [
|
|
1213
|
-
Object {
|
|
1214
|
-
"color": "#001f23",
|
|
1215
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
1216
|
-
"fontSize": 14,
|
|
1217
|
-
"letterSpacing": 0.42,
|
|
1218
|
-
"lineHeight": 22,
|
|
1219
|
-
},
|
|
1220
|
-
Array [
|
|
1221
|
-
Object {
|
|
1222
|
-
"color": "#ffffff",
|
|
1223
|
-
"flexShrink": 1,
|
|
1224
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1225
|
-
"fontSize": 18,
|
|
1226
|
-
"lineHeight": 24,
|
|
1227
|
-
"textAlign": "center",
|
|
1228
|
-
},
|
|
1229
|
-
undefined,
|
|
1230
|
-
],
|
|
1231
|
-
]
|
|
1232
|
-
}
|
|
1233
|
-
themeFontSize="medium"
|
|
1234
|
-
themeFontWeight="regular"
|
|
1235
|
-
themeIntent="body"
|
|
1236
|
-
themeVariant="basic-transparent"
|
|
1237
|
-
>
|
|
1238
|
-
Example
|
|
1239
|
-
</Text>
|
|
1240
|
-
`;
|
|
1241
|
-
|
|
1242
|
-
exports[`StyledButtonText has filled-danger style 1`] = `
|
|
1243
|
-
<Text
|
|
1244
|
-
style={
|
|
1245
|
-
Array [
|
|
1246
|
-
Object {
|
|
1247
|
-
"color": "#001f23",
|
|
1248
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
1249
|
-
"fontSize": 14,
|
|
1250
|
-
"letterSpacing": 0.42,
|
|
1251
|
-
"lineHeight": 22,
|
|
1252
|
-
},
|
|
1253
|
-
Array [
|
|
1254
|
-
Object {
|
|
1255
|
-
"color": "#ffffff",
|
|
1256
|
-
"flexShrink": 1,
|
|
1257
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1258
|
-
"fontSize": 18,
|
|
1259
|
-
"lineHeight": 24,
|
|
1260
|
-
"textAlign": "center",
|
|
1261
|
-
},
|
|
1262
|
-
undefined,
|
|
1263
|
-
],
|
|
1264
|
-
]
|
|
1265
|
-
}
|
|
1266
|
-
themeFontSize="medium"
|
|
1267
|
-
themeFontWeight="regular"
|
|
1268
|
-
themeIntent="body"
|
|
1269
|
-
themeVariant="filled-danger"
|
|
1270
|
-
>
|
|
1271
|
-
Example
|
|
1272
|
-
</Text>
|
|
1273
|
-
`;
|
|
1274
|
-
|
|
1275
|
-
exports[`StyledButtonText has filled-primary style 1`] = `
|
|
1276
|
-
<Text
|
|
1277
|
-
style={
|
|
1278
|
-
Array [
|
|
1279
|
-
Object {
|
|
1280
|
-
"color": "#001f23",
|
|
1281
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
1282
|
-
"fontSize": 14,
|
|
1283
|
-
"letterSpacing": 0.42,
|
|
1284
|
-
"lineHeight": 22,
|
|
1285
|
-
},
|
|
1286
|
-
Array [
|
|
1287
|
-
Object {
|
|
1288
|
-
"color": "#ffffff",
|
|
1289
|
-
"flexShrink": 1,
|
|
1290
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1291
|
-
"fontSize": 18,
|
|
1292
|
-
"lineHeight": 24,
|
|
1293
|
-
"textAlign": "center",
|
|
438
|
+
"fontSize": 20,
|
|
1294
439
|
},
|
|
1295
440
|
undefined,
|
|
1296
441
|
],
|
|
1297
442
|
]
|
|
1298
443
|
}
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
themeVariant="filled-primary"
|
|
1303
|
-
>
|
|
1304
|
-
Example
|
|
1305
|
-
</Text>
|
|
444
|
+
themeIntent="text"
|
|
445
|
+
themeSize="medium"
|
|
446
|
+
/>
|
|
1306
447
|
`;
|
|
1307
448
|
|
|
1308
|
-
exports[`
|
|
1309
|
-
<
|
|
449
|
+
exports[`StyledButtonIcon has outlined-danger style 1`] = `
|
|
450
|
+
<HeroIcon
|
|
451
|
+
name="bell"
|
|
1310
452
|
style={
|
|
1311
453
|
Array [
|
|
1312
454
|
Object {
|
|
1313
455
|
"color": "#001f23",
|
|
1314
|
-
"
|
|
1315
|
-
"fontSize": 14,
|
|
1316
|
-
"letterSpacing": 0.42,
|
|
1317
|
-
"lineHeight": 22,
|
|
456
|
+
"fontSize": 24,
|
|
1318
457
|
},
|
|
1319
458
|
Array [
|
|
1320
459
|
Object {
|
|
1321
|
-
"color": "#
|
|
1322
|
-
"flexShrink": 1,
|
|
1323
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
460
|
+
"color": "#de350b",
|
|
1324
461
|
"fontSize": 18,
|
|
1325
462
|
"lineHeight": 24,
|
|
1326
|
-
"textAlign": "center",
|
|
1327
463
|
},
|
|
1328
464
|
undefined,
|
|
1329
465
|
],
|
|
1330
466
|
]
|
|
1331
467
|
}
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
themeVariant="filled-secondary"
|
|
1336
|
-
>
|
|
1337
|
-
Example
|
|
1338
|
-
</Text>
|
|
468
|
+
themeIntent="text"
|
|
469
|
+
themeSize="medium"
|
|
470
|
+
/>
|
|
1339
471
|
`;
|
|
1340
472
|
|
|
1341
|
-
exports[`
|
|
1342
|
-
<
|
|
473
|
+
exports[`StyledButtonIcon has outlined-primary style 1`] = `
|
|
474
|
+
<HeroIcon
|
|
475
|
+
name="bell"
|
|
1343
476
|
style={
|
|
1344
477
|
Array [
|
|
1345
478
|
Object {
|
|
1346
479
|
"color": "#001f23",
|
|
1347
|
-
"
|
|
1348
|
-
"fontSize": 14,
|
|
1349
|
-
"letterSpacing": 0.42,
|
|
1350
|
-
"lineHeight": 22,
|
|
480
|
+
"fontSize": 24,
|
|
1351
481
|
},
|
|
1352
482
|
Array [
|
|
1353
483
|
Object {
|
|
1354
|
-
"color": "#
|
|
1355
|
-
"flexShrink": 1,
|
|
1356
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
484
|
+
"color": "#401960",
|
|
1357
485
|
"fontSize": 18,
|
|
1358
486
|
"lineHeight": 24,
|
|
1359
|
-
"textAlign": "center",
|
|
1360
487
|
},
|
|
1361
488
|
undefined,
|
|
1362
489
|
],
|
|
1363
490
|
]
|
|
1364
491
|
}
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
themeVariant="outlined-danger"
|
|
1369
|
-
>
|
|
1370
|
-
Example
|
|
1371
|
-
</Text>
|
|
492
|
+
themeIntent="text"
|
|
493
|
+
themeSize="medium"
|
|
494
|
+
/>
|
|
1372
495
|
`;
|
|
1373
496
|
|
|
1374
|
-
exports[`
|
|
1375
|
-
<
|
|
497
|
+
exports[`StyledButtonIcon has outlined-secondary style 1`] = `
|
|
498
|
+
<HeroIcon
|
|
499
|
+
name="bell"
|
|
1376
500
|
style={
|
|
1377
501
|
Array [
|
|
1378
502
|
Object {
|
|
1379
503
|
"color": "#001f23",
|
|
1380
|
-
"
|
|
1381
|
-
"fontSize": 14,
|
|
1382
|
-
"letterSpacing": 0.42,
|
|
1383
|
-
"lineHeight": 22,
|
|
504
|
+
"fontSize": 24,
|
|
1384
505
|
},
|
|
1385
506
|
Array [
|
|
1386
507
|
Object {
|
|
1387
|
-
"color": "#
|
|
1388
|
-
"flexShrink": 1,
|
|
1389
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
508
|
+
"color": "#795e90",
|
|
1390
509
|
"fontSize": 18,
|
|
1391
510
|
"lineHeight": 24,
|
|
1392
|
-
"textAlign": "center",
|
|
1393
511
|
},
|
|
1394
512
|
undefined,
|
|
1395
513
|
],
|
|
1396
514
|
]
|
|
1397
515
|
}
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
themeVariant="outlined-primary"
|
|
1402
|
-
>
|
|
1403
|
-
Example
|
|
1404
|
-
</Text>
|
|
516
|
+
themeIntent="text"
|
|
517
|
+
themeSize="medium"
|
|
518
|
+
/>
|
|
1405
519
|
`;
|
|
1406
520
|
|
|
1407
|
-
exports[`
|
|
1408
|
-
<
|
|
521
|
+
exports[`StyledButtonIcon has text-danger style 1`] = `
|
|
522
|
+
<HeroIcon
|
|
523
|
+
name="bell"
|
|
1409
524
|
style={
|
|
1410
525
|
Array [
|
|
1411
526
|
Object {
|
|
1412
527
|
"color": "#001f23",
|
|
1413
|
-
"
|
|
1414
|
-
"fontSize": 14,
|
|
1415
|
-
"letterSpacing": 0.42,
|
|
1416
|
-
"lineHeight": 22,
|
|
528
|
+
"fontSize": 24,
|
|
1417
529
|
},
|
|
1418
530
|
Array [
|
|
1419
531
|
Object {
|
|
1420
|
-
"color": "#
|
|
1421
|
-
"
|
|
1422
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1423
|
-
"fontSize": 18,
|
|
532
|
+
"color": "#de350b",
|
|
533
|
+
"fontSize": 16,
|
|
1424
534
|
"lineHeight": 24,
|
|
1425
|
-
"textAlign": "center",
|
|
1426
535
|
},
|
|
1427
536
|
undefined,
|
|
1428
537
|
],
|
|
1429
538
|
]
|
|
1430
539
|
}
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
themeVariant="outlined-secondary"
|
|
1435
|
-
>
|
|
1436
|
-
Example
|
|
1437
|
-
</Text>
|
|
540
|
+
themeIntent="text"
|
|
541
|
+
themeSize="medium"
|
|
542
|
+
/>
|
|
1438
543
|
`;
|
|
1439
544
|
|
|
1440
|
-
exports[`
|
|
1441
|
-
<
|
|
1442
|
-
|
|
545
|
+
exports[`StyledButtonIcon has text-primary style 1`] = `
|
|
546
|
+
<HeroIcon
|
|
547
|
+
name="bell"
|
|
1443
548
|
style={
|
|
1444
549
|
Array [
|
|
1445
550
|
Object {
|
|
1446
551
|
"color": "#001f23",
|
|
1447
|
-
"
|
|
1448
|
-
"fontSize": 14,
|
|
1449
|
-
"letterSpacing": 0.42,
|
|
1450
|
-
"lineHeight": 22,
|
|
552
|
+
"fontSize": 24,
|
|
1451
553
|
},
|
|
1452
554
|
Array [
|
|
1453
555
|
Object {
|
|
1454
|
-
"color": "#
|
|
1455
|
-
"
|
|
1456
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1457
|
-
"fontSize": 18,
|
|
556
|
+
"color": "#401960",
|
|
557
|
+
"fontSize": 16,
|
|
1458
558
|
"lineHeight": 24,
|
|
1459
|
-
"textAlign": "center",
|
|
1460
559
|
},
|
|
1461
560
|
undefined,
|
|
1462
561
|
],
|
|
1463
562
|
]
|
|
1464
563
|
}
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
themeVariant="basic-transparent"
|
|
1469
|
-
>
|
|
1470
|
-
Example
|
|
1471
|
-
</Text>
|
|
564
|
+
themeIntent="text"
|
|
565
|
+
themeSize="medium"
|
|
566
|
+
/>
|
|
1472
567
|
`;
|
|
1473
568
|
|
|
1474
|
-
exports[`
|
|
1475
|
-
<
|
|
1476
|
-
|
|
569
|
+
exports[`StyledButtonIcon has text-secondary style 1`] = `
|
|
570
|
+
<HeroIcon
|
|
571
|
+
name="bell"
|
|
1477
572
|
style={
|
|
1478
573
|
Array [
|
|
1479
574
|
Object {
|
|
1480
575
|
"color": "#001f23",
|
|
1481
|
-
"
|
|
1482
|
-
"fontSize": 14,
|
|
1483
|
-
"letterSpacing": 0.42,
|
|
1484
|
-
"lineHeight": 22,
|
|
576
|
+
"fontSize": 24,
|
|
1485
577
|
},
|
|
1486
578
|
Array [
|
|
1487
579
|
Object {
|
|
1488
|
-
"color": "#
|
|
1489
|
-
"
|
|
1490
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1491
|
-
"fontSize": 18,
|
|
580
|
+
"color": "#795e90",
|
|
581
|
+
"fontSize": 16,
|
|
1492
582
|
"lineHeight": 24,
|
|
1493
|
-
"textAlign": "center",
|
|
1494
583
|
},
|
|
1495
584
|
undefined,
|
|
1496
585
|
],
|
|
1497
586
|
]
|
|
1498
587
|
}
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
themeVariant="filled-danger"
|
|
1503
|
-
>
|
|
1504
|
-
Example
|
|
1505
|
-
</Text>
|
|
588
|
+
themeIntent="text"
|
|
589
|
+
themeSize="medium"
|
|
590
|
+
/>
|
|
1506
591
|
`;
|
|
1507
592
|
|
|
1508
|
-
exports[`
|
|
1509
|
-
<
|
|
1510
|
-
|
|
593
|
+
exports[`StyledButtonIcon renders disabled correctly 1`] = `
|
|
594
|
+
<HeroIcon
|
|
595
|
+
name="bell"
|
|
1511
596
|
style={
|
|
1512
597
|
Array [
|
|
1513
598
|
Object {
|
|
1514
599
|
"color": "#001f23",
|
|
1515
|
-
"
|
|
1516
|
-
"fontSize": 14,
|
|
1517
|
-
"letterSpacing": 0.42,
|
|
1518
|
-
"lineHeight": 22,
|
|
600
|
+
"fontSize": 24,
|
|
1519
601
|
},
|
|
1520
602
|
Array [
|
|
1521
603
|
Object {
|
|
1522
604
|
"color": "#ffffff",
|
|
1523
|
-
"
|
|
1524
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1525
|
-
"fontSize": 18,
|
|
1526
|
-
"lineHeight": 24,
|
|
1527
|
-
"textAlign": "center",
|
|
605
|
+
"fontSize": 20,
|
|
1528
606
|
},
|
|
1529
607
|
undefined,
|
|
1530
608
|
],
|
|
1531
609
|
]
|
|
1532
610
|
}
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
themeVariant="filled-primary"
|
|
1537
|
-
>
|
|
1538
|
-
Example
|
|
1539
|
-
</Text>
|
|
611
|
+
themeIntent="text"
|
|
612
|
+
themeSize="medium"
|
|
613
|
+
/>
|
|
1540
614
|
`;
|
|
1541
615
|
|
|
1542
|
-
exports[`
|
|
616
|
+
exports[`StyledButtonIconWrapper has left style 1`] = `
|
|
617
|
+
<View
|
|
618
|
+
style={
|
|
619
|
+
Array [
|
|
620
|
+
Object {
|
|
621
|
+
"paddingRight": 12,
|
|
622
|
+
},
|
|
623
|
+
undefined,
|
|
624
|
+
]
|
|
625
|
+
}
|
|
626
|
+
themePosition="left"
|
|
627
|
+
/>
|
|
628
|
+
`;
|
|
629
|
+
|
|
630
|
+
exports[`StyledButtonIconWrapper has right style 1`] = `
|
|
631
|
+
<View
|
|
632
|
+
style={
|
|
633
|
+
Array [
|
|
634
|
+
Object {
|
|
635
|
+
"paddingLeft": 12,
|
|
636
|
+
},
|
|
637
|
+
undefined,
|
|
638
|
+
]
|
|
639
|
+
}
|
|
640
|
+
themePosition="right"
|
|
641
|
+
/>
|
|
642
|
+
`;
|
|
643
|
+
|
|
644
|
+
exports[`StyledButtonText has basic-transparent style 1`] = `
|
|
1543
645
|
<Text
|
|
1544
|
-
pressed={true}
|
|
1545
646
|
style={
|
|
1546
647
|
Array [
|
|
1547
648
|
Object {
|
|
@@ -1567,15 +668,14 @@ exports[`StyledButtonText has pressed with the correct variant filled-secondary
|
|
|
1567
668
|
themeFontSize="medium"
|
|
1568
669
|
themeFontWeight="regular"
|
|
1569
670
|
themeIntent="body"
|
|
1570
|
-
themeVariant="
|
|
671
|
+
themeVariant="basic-transparent"
|
|
1571
672
|
>
|
|
1572
673
|
Example
|
|
1573
674
|
</Text>
|
|
1574
675
|
`;
|
|
1575
676
|
|
|
1576
|
-
exports[`StyledButtonText has
|
|
677
|
+
exports[`StyledButtonText has filled-danger style 1`] = `
|
|
1577
678
|
<Text
|
|
1578
|
-
pressed={true}
|
|
1579
679
|
style={
|
|
1580
680
|
Array [
|
|
1581
681
|
Object {
|
|
@@ -1587,7 +687,7 @@ exports[`StyledButtonText has pressed with the correct variant outlined-danger s
|
|
|
1587
687
|
},
|
|
1588
688
|
Array [
|
|
1589
689
|
Object {
|
|
1590
|
-
"color": "#
|
|
690
|
+
"color": "#ffffff",
|
|
1591
691
|
"flexShrink": 1,
|
|
1592
692
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1593
693
|
"fontSize": 18,
|
|
@@ -1601,15 +701,14 @@ exports[`StyledButtonText has pressed with the correct variant outlined-danger s
|
|
|
1601
701
|
themeFontSize="medium"
|
|
1602
702
|
themeFontWeight="regular"
|
|
1603
703
|
themeIntent="body"
|
|
1604
|
-
themeVariant="
|
|
704
|
+
themeVariant="filled-danger"
|
|
1605
705
|
>
|
|
1606
706
|
Example
|
|
1607
707
|
</Text>
|
|
1608
708
|
`;
|
|
1609
709
|
|
|
1610
|
-
exports[`StyledButtonText has
|
|
710
|
+
exports[`StyledButtonText has filled-primary style 1`] = `
|
|
1611
711
|
<Text
|
|
1612
|
-
pressed={true}
|
|
1613
712
|
style={
|
|
1614
713
|
Array [
|
|
1615
714
|
Object {
|
|
@@ -1621,7 +720,7 @@ exports[`StyledButtonText has pressed with the correct variant outlined-primary
|
|
|
1621
720
|
},
|
|
1622
721
|
Array [
|
|
1623
722
|
Object {
|
|
1624
|
-
"color": "#
|
|
723
|
+
"color": "#ffffff",
|
|
1625
724
|
"flexShrink": 1,
|
|
1626
725
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1627
726
|
"fontSize": 18,
|
|
@@ -1635,15 +734,14 @@ exports[`StyledButtonText has pressed with the correct variant outlined-primary
|
|
|
1635
734
|
themeFontSize="medium"
|
|
1636
735
|
themeFontWeight="regular"
|
|
1637
736
|
themeIntent="body"
|
|
1638
|
-
themeVariant="
|
|
737
|
+
themeVariant="filled-primary"
|
|
1639
738
|
>
|
|
1640
739
|
Example
|
|
1641
740
|
</Text>
|
|
1642
741
|
`;
|
|
1643
742
|
|
|
1644
|
-
exports[`StyledButtonText has
|
|
743
|
+
exports[`StyledButtonText has filled-secondary style 1`] = `
|
|
1645
744
|
<Text
|
|
1646
|
-
pressed={true}
|
|
1647
745
|
style={
|
|
1648
746
|
Array [
|
|
1649
747
|
Object {
|
|
@@ -1655,7 +753,7 @@ exports[`StyledButtonText has pressed with the correct variant outlined-secondar
|
|
|
1655
753
|
},
|
|
1656
754
|
Array [
|
|
1657
755
|
Object {
|
|
1658
|
-
"color": "#
|
|
756
|
+
"color": "#ffffff",
|
|
1659
757
|
"flexShrink": 1,
|
|
1660
758
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1661
759
|
"fontSize": 18,
|
|
@@ -1669,15 +767,14 @@ exports[`StyledButtonText has pressed with the correct variant outlined-secondar
|
|
|
1669
767
|
themeFontSize="medium"
|
|
1670
768
|
themeFontWeight="regular"
|
|
1671
769
|
themeIntent="body"
|
|
1672
|
-
themeVariant="
|
|
770
|
+
themeVariant="filled-secondary"
|
|
1673
771
|
>
|
|
1674
772
|
Example
|
|
1675
773
|
</Text>
|
|
1676
774
|
`;
|
|
1677
775
|
|
|
1678
|
-
exports[`StyledButtonText has
|
|
776
|
+
exports[`StyledButtonText has outlined-danger style 1`] = `
|
|
1679
777
|
<Text
|
|
1680
|
-
pressed={true}
|
|
1681
778
|
style={
|
|
1682
779
|
Array [
|
|
1683
780
|
Object {
|
|
@@ -1692,7 +789,7 @@ exports[`StyledButtonText has pressed with the correct variant text-danger style
|
|
|
1692
789
|
"color": "#de350b",
|
|
1693
790
|
"flexShrink": 1,
|
|
1694
791
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1695
|
-
"fontSize":
|
|
792
|
+
"fontSize": 18,
|
|
1696
793
|
"lineHeight": 24,
|
|
1697
794
|
"textAlign": "center",
|
|
1698
795
|
},
|
|
@@ -1703,15 +800,14 @@ exports[`StyledButtonText has pressed with the correct variant text-danger style
|
|
|
1703
800
|
themeFontSize="medium"
|
|
1704
801
|
themeFontWeight="regular"
|
|
1705
802
|
themeIntent="body"
|
|
1706
|
-
themeVariant="
|
|
803
|
+
themeVariant="outlined-danger"
|
|
1707
804
|
>
|
|
1708
805
|
Example
|
|
1709
806
|
</Text>
|
|
1710
807
|
`;
|
|
1711
808
|
|
|
1712
|
-
exports[`StyledButtonText has
|
|
809
|
+
exports[`StyledButtonText has outlined-primary style 1`] = `
|
|
1713
810
|
<Text
|
|
1714
|
-
pressed={true}
|
|
1715
811
|
style={
|
|
1716
812
|
Array [
|
|
1717
813
|
Object {
|
|
@@ -1723,10 +819,10 @@ exports[`StyledButtonText has pressed with the correct variant text-primary styl
|
|
|
1723
819
|
},
|
|
1724
820
|
Array [
|
|
1725
821
|
Object {
|
|
1726
|
-
"color": "#
|
|
822
|
+
"color": "#401960",
|
|
1727
823
|
"flexShrink": 1,
|
|
1728
824
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1729
|
-
"fontSize":
|
|
825
|
+
"fontSize": 18,
|
|
1730
826
|
"lineHeight": 24,
|
|
1731
827
|
"textAlign": "center",
|
|
1732
828
|
},
|
|
@@ -1737,15 +833,14 @@ exports[`StyledButtonText has pressed with the correct variant text-primary styl
|
|
|
1737
833
|
themeFontSize="medium"
|
|
1738
834
|
themeFontWeight="regular"
|
|
1739
835
|
themeIntent="body"
|
|
1740
|
-
themeVariant="
|
|
836
|
+
themeVariant="outlined-primary"
|
|
1741
837
|
>
|
|
1742
838
|
Example
|
|
1743
839
|
</Text>
|
|
1744
840
|
`;
|
|
1745
841
|
|
|
1746
|
-
exports[`StyledButtonText has
|
|
842
|
+
exports[`StyledButtonText has outlined-secondary style 1`] = `
|
|
1747
843
|
<Text
|
|
1748
|
-
pressed={true}
|
|
1749
844
|
style={
|
|
1750
845
|
Array [
|
|
1751
846
|
Object {
|
|
@@ -1757,10 +852,10 @@ exports[`StyledButtonText has pressed with the correct variant text-secondary st
|
|
|
1757
852
|
},
|
|
1758
853
|
Array [
|
|
1759
854
|
Object {
|
|
1760
|
-
"color": "#
|
|
855
|
+
"color": "#795e90",
|
|
1761
856
|
"flexShrink": 1,
|
|
1762
857
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1763
|
-
"fontSize":
|
|
858
|
+
"fontSize": 18,
|
|
1764
859
|
"lineHeight": 24,
|
|
1765
860
|
"textAlign": "center",
|
|
1766
861
|
},
|
|
@@ -1771,7 +866,7 @@ exports[`StyledButtonText has pressed with the correct variant text-secondary st
|
|
|
1771
866
|
themeFontSize="medium"
|
|
1772
867
|
themeFontWeight="regular"
|
|
1773
868
|
themeIntent="body"
|
|
1774
|
-
themeVariant="
|
|
869
|
+
themeVariant="outlined-secondary"
|
|
1775
870
|
>
|
|
1776
871
|
Example
|
|
1777
872
|
</Text>
|
|
@@ -1823,7 +918,7 @@ exports[`StyledButtonText has text-primary style 1`] = `
|
|
|
1823
918
|
},
|
|
1824
919
|
Array [
|
|
1825
920
|
Object {
|
|
1826
|
-
"color": "#
|
|
921
|
+
"color": "#401960",
|
|
1827
922
|
"flexShrink": 1,
|
|
1828
923
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1829
924
|
"fontSize": 16,
|
|
@@ -1856,7 +951,7 @@ exports[`StyledButtonText has text-secondary style 1`] = `
|
|
|
1856
951
|
},
|
|
1857
952
|
Array [
|
|
1858
953
|
Object {
|
|
1859
|
-
"color": "#
|
|
954
|
+
"color": "#795e90",
|
|
1860
955
|
"flexShrink": 1,
|
|
1861
956
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1862
957
|
"fontSize": 16,
|