@hero-design/rn 8.27.1 → 8.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/es/index.js +13 -69
- package/lib/index.js +13 -69
- package/package.json +5 -5
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +6 -6
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -2
- package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +3 -17
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +1065 -557
- package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +15 -9
- package/src/components/FAB/ActionGroup/index.tsx +35 -97
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/TextInput/index.tsx +1 -1
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +2 -2
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +2 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +0 -1
- package/src/theme/components/fab.ts +0 -1
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +1 -7
- package/types/theme/components/fab.d.ts +0 -1
|
@@ -10,7 +10,7 @@ describe('ActionGroup', () => {
|
|
|
10
10
|
${true}
|
|
11
11
|
${false}
|
|
12
12
|
`('has active $active', ({ active }) => {
|
|
13
|
-
const { toJSON,
|
|
13
|
+
const { toJSON, getByTestId, getByText } = renderWithTheme(
|
|
14
14
|
<ActionGroup
|
|
15
15
|
fabTitle="Shout out"
|
|
16
16
|
active={active}
|
|
@@ -39,19 +39,25 @@ describe('ActionGroup', () => {
|
|
|
39
39
|
|
|
40
40
|
expect(toJSON()).toMatchSnapshot();
|
|
41
41
|
|
|
42
|
-
expect(
|
|
43
|
-
expect(
|
|
44
|
-
expect(
|
|
45
|
-
expect(
|
|
46
|
-
expect(
|
|
47
|
-
expect(
|
|
42
|
+
expect(getByText('What would you like to create?')).toBeDefined();
|
|
43
|
+
expect(getByText('Shout out')).toBeDefined();
|
|
44
|
+
expect(getByTestId('speaker-action-item')).toBeDefined();
|
|
45
|
+
expect(getByTestId('target-action-item')).toBeDefined();
|
|
46
|
+
expect(getByTestId('plane-action-item')).toBeDefined();
|
|
47
|
+
expect(getByTestId('health-bag-action-item')).toBeDefined();
|
|
48
48
|
|
|
49
49
|
if (active) {
|
|
50
50
|
// verify action group appears
|
|
51
|
-
expect(
|
|
51
|
+
expect(getByTestId('action-group')).toHaveStyle({
|
|
52
52
|
transform: [{ translateX: 0 }],
|
|
53
53
|
});
|
|
54
|
-
expect(
|
|
54
|
+
expect(getByTestId('back-drop')).toHaveProp('pointerEvents', 'auto');
|
|
55
|
+
} else {
|
|
56
|
+
// verify action group disappears
|
|
57
|
+
expect(getByTestId('action-group')).toHaveStyle({
|
|
58
|
+
transform: [{ translateX: 400 }],
|
|
59
|
+
});
|
|
60
|
+
expect(getByTestId('back-drop')).toHaveProp('pointerEvents', 'box-none');
|
|
55
61
|
}
|
|
56
62
|
});
|
|
57
63
|
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useEffect, useRef } from 'react';
|
|
2
|
+
import { Animated, Easing, Platform, View } from 'react-native';
|
|
2
3
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import { Animated, Easing, Modal, Platform, View } from 'react-native';
|
|
4
|
-
import { useTheme } from '../../../theme';
|
|
5
|
-
import type { IconName } from '../../Icon';
|
|
6
|
-
import type { ActionItemProps } from './ActionItem';
|
|
7
4
|
import ActionItem from './ActionItem';
|
|
8
5
|
import {
|
|
9
|
-
StyledActionGroupContainer,
|
|
10
6
|
StyledBackdrop,
|
|
11
7
|
StyledContainer,
|
|
12
8
|
StyledFAB,
|
|
13
9
|
StyledHeaderText,
|
|
14
|
-
|
|
10
|
+
StyledActionGroupContainer,
|
|
15
11
|
} from './StyledActionGroup';
|
|
12
|
+
import type { IconName } from '../../Icon';
|
|
13
|
+
import type { ActionItemProps } from './ActionItem';
|
|
16
14
|
|
|
17
15
|
type ActionItemsContainerProps = {
|
|
18
16
|
style?: StyleProp<ViewStyle>;
|
|
@@ -76,7 +74,6 @@ export interface ActionGroupProps {
|
|
|
76
74
|
|
|
77
75
|
testID?: string;
|
|
78
76
|
}
|
|
79
|
-
|
|
80
77
|
const ActionGroup = ({
|
|
81
78
|
headerTitle,
|
|
82
79
|
onPress,
|
|
@@ -87,48 +84,18 @@ const ActionGroup = ({
|
|
|
87
84
|
fabTitle,
|
|
88
85
|
fabIcon = 'add',
|
|
89
86
|
}: ActionGroupProps) => {
|
|
90
|
-
const theme = useTheme();
|
|
91
|
-
// Internal state to control the animation of the action group
|
|
92
|
-
const [visible, setVisibility] = useState(active);
|
|
93
87
|
const tranlateXAnimation = useRef<Animated.Value>(
|
|
94
88
|
new Animated.Value(active ? 1 : 0)
|
|
95
89
|
);
|
|
96
|
-
|
|
97
|
-
useEffect(() => {
|
|
98
|
-
if (active && !visible) {
|
|
99
|
-
setVisibility(true);
|
|
100
|
-
}
|
|
101
|
-
}, [active]);
|
|
102
|
-
|
|
103
90
|
useEffect(() => {
|
|
104
|
-
if (active) {
|
|
105
|
-
const animation = Animated.timing(tranlateXAnimation.current, {
|
|
106
|
-
toValue: 1,
|
|
107
|
-
useNativeDriver: Platform.OS === 'ios' || Platform.OS === 'android',
|
|
108
|
-
easing: Easing.inOut(Easing.cubic),
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
animation.start();
|
|
112
|
-
}
|
|
113
|
-
}, [active]);
|
|
114
|
-
|
|
115
|
-
// Make sure the animation finishes running before closing the modal
|
|
116
|
-
const onInternalFABPress = useCallback(() => {
|
|
117
|
-
if (!onPress) {
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
91
|
const animation = Animated.timing(tranlateXAnimation.current, {
|
|
122
|
-
toValue: 0,
|
|
92
|
+
toValue: active ? 1 : 0,
|
|
123
93
|
useNativeDriver: Platform.OS === 'ios' || Platform.OS === 'android',
|
|
124
94
|
easing: Easing.inOut(Easing.cubic),
|
|
125
95
|
});
|
|
126
96
|
|
|
127
|
-
animation.start(
|
|
128
|
-
|
|
129
|
-
onPress();
|
|
130
|
-
});
|
|
131
|
-
}, [visible]);
|
|
97
|
+
animation.start();
|
|
98
|
+
}, [active]);
|
|
132
99
|
|
|
133
100
|
const interpolatedTranlateXAnimation = tranlateXAnimation.current.interpolate(
|
|
134
101
|
{
|
|
@@ -150,63 +117,34 @@ const ActionGroup = ({
|
|
|
150
117
|
|
|
151
118
|
return (
|
|
152
119
|
<StyledContainer testID={testID} pointerEvents="box-none" style={style}>
|
|
153
|
-
<
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
120
|
+
<StyledBackdrop
|
|
121
|
+
pointerEvents={active ? 'auto' : 'box-none'}
|
|
122
|
+
testID="back-drop"
|
|
123
|
+
style={{ opacity: interpolatedBackdropOpacityAnimation }}
|
|
124
|
+
/>
|
|
125
|
+
<StyledActionGroupContainer
|
|
126
|
+
pointerEvents={active ? 'auto' : 'none'}
|
|
127
|
+
testID="action-group"
|
|
128
|
+
style={{
|
|
129
|
+
opacity: interpolatedActionGroupOpacityAnimation,
|
|
130
|
+
transform: [{ translateX: interpolatedTranlateXAnimation }],
|
|
131
|
+
}}
|
|
158
132
|
>
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}}
|
|
175
|
-
>
|
|
176
|
-
{!!headerTitle && (
|
|
177
|
-
<StyledHeaderText testID="header-text">
|
|
178
|
-
{headerTitle}
|
|
179
|
-
</StyledHeaderText>
|
|
180
|
-
)}
|
|
181
|
-
<ActionItemsListComponent items={items} />
|
|
182
|
-
</StyledActionGroupContainer>
|
|
183
|
-
|
|
184
|
-
{active && (
|
|
185
|
-
<StyledFAB
|
|
186
|
-
testID="fab"
|
|
187
|
-
icon={fabIcon}
|
|
188
|
-
onPress={onInternalFABPress}
|
|
189
|
-
animated
|
|
190
|
-
active={active}
|
|
191
|
-
title={fabTitle}
|
|
192
|
-
style={{
|
|
193
|
-
marginBottom: theme.__hd__.fab.space.internalFABMarginBottom,
|
|
194
|
-
}}
|
|
195
|
-
/>
|
|
196
|
-
)}
|
|
197
|
-
</StyledModalView>
|
|
198
|
-
</Modal>
|
|
199
|
-
|
|
200
|
-
{!active && (
|
|
201
|
-
<StyledFAB
|
|
202
|
-
testID="fab"
|
|
203
|
-
icon={fabIcon}
|
|
204
|
-
onPress={onPress}
|
|
205
|
-
animated
|
|
206
|
-
active={active}
|
|
207
|
-
title={fabTitle}
|
|
208
|
-
/>
|
|
209
|
-
)}
|
|
133
|
+
{!!headerTitle && (
|
|
134
|
+
<StyledHeaderText testID="header-text">
|
|
135
|
+
{headerTitle}
|
|
136
|
+
</StyledHeaderText>
|
|
137
|
+
)}
|
|
138
|
+
<ActionItemsListComponent items={items} />
|
|
139
|
+
</StyledActionGroupContainer>
|
|
140
|
+
<StyledFAB
|
|
141
|
+
testID="fab"
|
|
142
|
+
icon={fabIcon}
|
|
143
|
+
onPress={onPress}
|
|
144
|
+
animated
|
|
145
|
+
active={active}
|
|
146
|
+
title={fabTitle}
|
|
147
|
+
/>
|
|
210
148
|
</StyledContainer>
|
|
211
149
|
);
|
|
212
150
|
};
|
|
@@ -187,14 +187,14 @@ Array [
|
|
|
187
187
|
Array [
|
|
188
188
|
Object {
|
|
189
189
|
"color": "#001f23",
|
|
190
|
-
"fontSize":
|
|
190
|
+
"fontSize": 24,
|
|
191
191
|
},
|
|
192
192
|
undefined,
|
|
193
193
|
]
|
|
194
194
|
}
|
|
195
195
|
testID="input-suffix"
|
|
196
196
|
themeIntent="text"
|
|
197
|
-
themeSize="
|
|
197
|
+
themeSize="medium"
|
|
198
198
|
/>
|
|
199
199
|
</View>
|
|
200
200
|
<View
|
|
@@ -1587,14 +1587,14 @@ Array [
|
|
|
1587
1587
|
Array [
|
|
1588
1588
|
Object {
|
|
1589
1589
|
"color": "#001f23",
|
|
1590
|
-
"fontSize":
|
|
1590
|
+
"fontSize": 24,
|
|
1591
1591
|
},
|
|
1592
1592
|
undefined,
|
|
1593
1593
|
]
|
|
1594
1594
|
}
|
|
1595
1595
|
testID="input-suffix"
|
|
1596
1596
|
themeIntent="text"
|
|
1597
|
-
themeSize="
|
|
1597
|
+
themeSize="medium"
|
|
1598
1598
|
/>
|
|
1599
1599
|
</View>
|
|
1600
1600
|
<View
|
|
@@ -1820,14 +1820,14 @@ Array [
|
|
|
1820
1820
|
Array [
|
|
1821
1821
|
Object {
|
|
1822
1822
|
"color": "#001f23",
|
|
1823
|
-
"fontSize":
|
|
1823
|
+
"fontSize": 24,
|
|
1824
1824
|
},
|
|
1825
1825
|
undefined,
|
|
1826
1826
|
]
|
|
1827
1827
|
}
|
|
1828
1828
|
testID="input-suffix"
|
|
1829
1829
|
themeIntent="text"
|
|
1830
|
-
themeSize="
|
|
1830
|
+
themeSize="medium"
|
|
1831
1831
|
/>
|
|
1832
1832
|
</View>
|
|
1833
1833
|
<View
|
|
@@ -3412,14 +3412,14 @@ Array [
|
|
|
3412
3412
|
Array [
|
|
3413
3413
|
Object {
|
|
3414
3414
|
"color": "#001f23",
|
|
3415
|
-
"fontSize":
|
|
3415
|
+
"fontSize": 24,
|
|
3416
3416
|
},
|
|
3417
3417
|
undefined,
|
|
3418
3418
|
]
|
|
3419
3419
|
}
|
|
3420
3420
|
testID="input-suffix"
|
|
3421
3421
|
themeIntent="text"
|
|
3422
|
-
themeSize="
|
|
3422
|
+
themeSize="medium"
|
|
3423
3423
|
/>
|
|
3424
3424
|
</View>
|
|
3425
3425
|
</View>
|
|
@@ -3646,14 +3646,14 @@ Array [
|
|
|
3646
3646
|
Array [
|
|
3647
3647
|
Object {
|
|
3648
3648
|
"color": "#001f23",
|
|
3649
|
-
"fontSize":
|
|
3649
|
+
"fontSize": 24,
|
|
3650
3650
|
},
|
|
3651
3651
|
undefined,
|
|
3652
3652
|
]
|
|
3653
3653
|
}
|
|
3654
3654
|
testID="input-suffix"
|
|
3655
3655
|
themeIntent="text"
|
|
3656
|
-
themeSize="
|
|
3656
|
+
themeSize="medium"
|
|
3657
3657
|
/>
|
|
3658
3658
|
</View>
|
|
3659
3659
|
<View
|
|
@@ -186,14 +186,14 @@ Array [
|
|
|
186
186
|
Array [
|
|
187
187
|
Object {
|
|
188
188
|
"color": "#001f23",
|
|
189
|
-
"fontSize":
|
|
189
|
+
"fontSize": 24,
|
|
190
190
|
},
|
|
191
191
|
undefined,
|
|
192
192
|
]
|
|
193
193
|
}
|
|
194
194
|
testID="input-suffix"
|
|
195
195
|
themeIntent="text"
|
|
196
|
-
themeSize="
|
|
196
|
+
themeSize="medium"
|
|
197
197
|
/>
|
|
198
198
|
</View>
|
|
199
199
|
<View
|
|
@@ -1509,14 +1509,14 @@ Array [
|
|
|
1509
1509
|
Array [
|
|
1510
1510
|
Object {
|
|
1511
1511
|
"color": "#001f23",
|
|
1512
|
-
"fontSize":
|
|
1512
|
+
"fontSize": 24,
|
|
1513
1513
|
},
|
|
1514
1514
|
undefined,
|
|
1515
1515
|
]
|
|
1516
1516
|
}
|
|
1517
1517
|
testID="input-suffix"
|
|
1518
1518
|
themeIntent="text"
|
|
1519
|
-
themeSize="
|
|
1519
|
+
themeSize="medium"
|
|
1520
1520
|
/>
|
|
1521
1521
|
</View>
|
|
1522
1522
|
<View
|
|
@@ -1742,14 +1742,14 @@ Array [
|
|
|
1742
1742
|
Array [
|
|
1743
1743
|
Object {
|
|
1744
1744
|
"color": "#001f23",
|
|
1745
|
-
"fontSize":
|
|
1745
|
+
"fontSize": 24,
|
|
1746
1746
|
},
|
|
1747
1747
|
undefined,
|
|
1748
1748
|
]
|
|
1749
1749
|
}
|
|
1750
1750
|
testID="input-suffix"
|
|
1751
1751
|
themeIntent="text"
|
|
1752
|
-
themeSize="
|
|
1752
|
+
themeSize="medium"
|
|
1753
1753
|
/>
|
|
1754
1754
|
</View>
|
|
1755
1755
|
<View
|
|
@@ -3203,14 +3203,14 @@ Array [
|
|
|
3203
3203
|
Array [
|
|
3204
3204
|
Object {
|
|
3205
3205
|
"color": "#001f23",
|
|
3206
|
-
"fontSize":
|
|
3206
|
+
"fontSize": 24,
|
|
3207
3207
|
},
|
|
3208
3208
|
undefined,
|
|
3209
3209
|
]
|
|
3210
3210
|
}
|
|
3211
3211
|
testID="input-suffix"
|
|
3212
3212
|
themeIntent="text"
|
|
3213
|
-
themeSize="
|
|
3213
|
+
themeSize="medium"
|
|
3214
3214
|
/>
|
|
3215
3215
|
</View>
|
|
3216
3216
|
</View>
|
|
@@ -3437,14 +3437,14 @@ Array [
|
|
|
3437
3437
|
Array [
|
|
3438
3438
|
Object {
|
|
3439
3439
|
"color": "#001f23",
|
|
3440
|
-
"fontSize":
|
|
3440
|
+
"fontSize": 24,
|
|
3441
3441
|
},
|
|
3442
3442
|
undefined,
|
|
3443
3443
|
]
|
|
3444
3444
|
}
|
|
3445
3445
|
testID="input-suffix"
|
|
3446
3446
|
themeIntent="text"
|
|
3447
|
-
themeSize="
|
|
3447
|
+
themeSize="medium"
|
|
3448
3448
|
/>
|
|
3449
3449
|
</View>
|
|
3450
3450
|
<View
|
|
@@ -1541,14 +1541,14 @@ exports[`TextInput filled renders correctly 1`] = `
|
|
|
1541
1541
|
Array [
|
|
1542
1542
|
Object {
|
|
1543
1543
|
"color": "#001f23",
|
|
1544
|
-
"fontSize":
|
|
1544
|
+
"fontSize": 24,
|
|
1545
1545
|
},
|
|
1546
1546
|
undefined,
|
|
1547
1547
|
]
|
|
1548
1548
|
}
|
|
1549
1549
|
testID="input-suffix"
|
|
1550
1550
|
themeIntent="text"
|
|
1551
|
-
themeSize="
|
|
1551
|
+
themeSize="medium"
|
|
1552
1552
|
/>
|
|
1553
1553
|
</View>
|
|
1554
1554
|
<View
|
|
@@ -2006,14 +2006,14 @@ exports[`TextInput idle renders correctly 1`] = `
|
|
|
2006
2006
|
Array [
|
|
2007
2007
|
Object {
|
|
2008
2008
|
"color": "#001f23",
|
|
2009
|
-
"fontSize":
|
|
2009
|
+
"fontSize": 24,
|
|
2010
2010
|
},
|
|
2011
2011
|
undefined,
|
|
2012
2012
|
]
|
|
2013
2013
|
}
|
|
2014
2014
|
testID="input-suffix"
|
|
2015
2015
|
themeIntent="text"
|
|
2016
|
-
themeSize="
|
|
2016
|
+
themeSize="medium"
|
|
2017
2017
|
/>
|
|
2018
2018
|
</View>
|
|
2019
2019
|
<View
|
|
@@ -2418,14 +2418,14 @@ exports[`TextInput loading renders correctly 1`] = `
|
|
|
2418
2418
|
Array [
|
|
2419
2419
|
Object {
|
|
2420
2420
|
"color": "#001f23",
|
|
2421
|
-
"fontSize":
|
|
2421
|
+
"fontSize": 24,
|
|
2422
2422
|
},
|
|
2423
2423
|
undefined,
|
|
2424
2424
|
]
|
|
2425
2425
|
}
|
|
2426
2426
|
testID="input-suffix"
|
|
2427
2427
|
themeIntent="text"
|
|
2428
|
-
themeSize="
|
|
2428
|
+
themeSize="medium"
|
|
2429
2429
|
/>
|
|
2430
2430
|
</View>
|
|
2431
2431
|
</View>
|
|
@@ -3492,14 +3492,14 @@ exports[`TextInput readonly renders correctly 1`] = `
|
|
|
3492
3492
|
Array [
|
|
3493
3493
|
Object {
|
|
3494
3494
|
"color": "#001f23",
|
|
3495
|
-
"fontSize":
|
|
3495
|
+
"fontSize": 24,
|
|
3496
3496
|
},
|
|
3497
3497
|
undefined,
|
|
3498
3498
|
]
|
|
3499
3499
|
}
|
|
3500
3500
|
testID="input-suffix"
|
|
3501
3501
|
themeIntent="text"
|
|
3502
|
-
themeSize="
|
|
3502
|
+
themeSize="medium"
|
|
3503
3503
|
/>
|
|
3504
3504
|
</View>
|
|
3505
3505
|
<View
|
|
@@ -3913,14 +3913,14 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3913
3913
|
Array [
|
|
3914
3914
|
Object {
|
|
3915
3915
|
"color": "#001f23",
|
|
3916
|
-
"fontSize":
|
|
3916
|
+
"fontSize": 24,
|
|
3917
3917
|
},
|
|
3918
3918
|
undefined,
|
|
3919
3919
|
]
|
|
3920
3920
|
}
|
|
3921
3921
|
testID="input-suffix"
|
|
3922
3922
|
themeIntent="text"
|
|
3923
|
-
themeSize="
|
|
3923
|
+
themeSize="medium"
|
|
3924
3924
|
/>
|
|
3925
3925
|
</View>
|
|
3926
3926
|
<View
|
|
@@ -424,14 +424,14 @@ exports[`TimePickerAndroid renders correctly 1`] = `
|
|
|
424
424
|
Array [
|
|
425
425
|
Object {
|
|
426
426
|
"color": "#001f23",
|
|
427
|
-
"fontSize":
|
|
427
|
+
"fontSize": 24,
|
|
428
428
|
},
|
|
429
429
|
undefined,
|
|
430
430
|
]
|
|
431
431
|
}
|
|
432
432
|
testID="input-suffix"
|
|
433
433
|
themeIntent="text"
|
|
434
|
-
themeSize="
|
|
434
|
+
themeSize="medium"
|
|
435
435
|
/>
|
|
436
436
|
</View>
|
|
437
437
|
<View
|
|
@@ -424,14 +424,14 @@ exports[`TimePickerIOS renders correctly 1`] = `
|
|
|
424
424
|
Array [
|
|
425
425
|
Object {
|
|
426
426
|
"color": "#001f23",
|
|
427
|
-
"fontSize":
|
|
427
|
+
"fontSize": 24,
|
|
428
428
|
},
|
|
429
429
|
undefined,
|
|
430
430
|
]
|
|
431
431
|
}
|
|
432
432
|
testID="input-suffix"
|
|
433
433
|
themeIntent="text"
|
|
434
|
-
themeSize="
|
|
434
|
+
themeSize="medium"
|
|
435
435
|
/>
|
|
436
436
|
</View>
|
|
437
437
|
<View
|
|
@@ -58,7 +58,6 @@ const getFABTheme = (theme: GlobalTheme) => {
|
|
|
58
58
|
headerTextMarginBottom: theme.space.large,
|
|
59
59
|
containerPadding: theme.space.large - theme.space.xsmall,
|
|
60
60
|
titleMarginHorizontal: theme.space.small,
|
|
61
|
-
internalFABMarginBottom: theme.space.large,
|
|
62
61
|
};
|
|
63
62
|
|
|
64
63
|
const radii = {
|
|
@@ -28,10 +28,4 @@ declare const StyledHeaderText: import("@emotion/native").StyledComponent<TextPr
|
|
|
28
28
|
theme?: import("@emotion/react").Theme | undefined;
|
|
29
29
|
as?: import("react").ElementType<any> | undefined;
|
|
30
30
|
}, {}, {}>;
|
|
31
|
-
|
|
32
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
33
|
-
as?: import("react").ElementType<any> | undefined;
|
|
34
|
-
}, {}, {
|
|
35
|
-
ref?: import("react").Ref<View> | undefined;
|
|
36
|
-
}>;
|
|
37
|
-
export { StyledHeaderText, StyledBackdrop, StyledContainer, StyledActionGroupContainer, StyledFAB, StyledModalView, };
|
|
31
|
+
export { StyledHeaderText, StyledBackdrop, StyledContainer, StyledActionGroupContainer, StyledFAB, };
|