@hero-design/rn 8.43.0 → 8.43.1
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/CHANGELOG.md +9 -0
- package/es/index.js +1339 -1324
- package/jest-setup.ts +2 -0
- package/lib/index.js +1339 -1324
- package/package.json +20 -20
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +68 -0
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +102 -0
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +85 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +34 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +12 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +108 -0
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +17 -0
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +51 -1
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +34 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +128 -0
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +17 -0
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +80 -0
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +85 -0
- package/src/components/Carousel/CardCarousel.tsx +10 -7
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +68 -0
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +72 -0
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +204 -0
- package/src/components/Collapse/index.tsx +1 -1
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +72 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +36 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +12 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +12 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +54 -1
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +81 -0
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +16 -0
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +24 -0
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +16 -0
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +60 -0
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +32 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +32 -0
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +16 -0
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +24 -0
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +180 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +119 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +1 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +18 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +8 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +124 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +437 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +8 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +124 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +323 -3
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +51 -0
- package/src/components/Swipeable/index.tsx +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +9 -0
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +171 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +40 -0
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +159 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +24 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +66 -1
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +102 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +72 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +96 -0
- package/tsconfig.json +4 -1
- package/types/components/Accordion/AccordionItem.d.ts +2 -1
- package/types/components/Accordion/index.d.ts +1 -1
- package/types/components/Attachment/index.d.ts +2 -1
- package/types/components/Avatar/Avatar.d.ts +2 -1
- package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
- package/types/components/Avatar/index.d.ts +3 -2
- package/types/components/Badge/StyledBadge.d.ts +0 -4
- package/types/components/BottomSheet/Footer.d.ts +2 -1
- package/types/components/BottomSheet/Header.d.ts +2 -1
- package/types/components/BottomSheet/ScrollView.d.ts +1 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
- package/types/components/Box/index.d.ts +2 -1
- package/types/components/Button/IconButton.d.ts +2 -1
- package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
- package/types/components/Button/UtilityButton/index.d.ts +2 -1
- package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
- package/types/components/Calendar/StyledCalendar.d.ts +1 -1
- package/types/components/Calendar/index.d.ts +2 -1
- package/types/components/Carousel/CardCarousel.d.ts +1 -1
- package/types/components/Carousel/CarouselItem.d.ts +2 -1
- package/types/components/Carousel/index.d.ts +2 -2
- package/types/components/Checkbox/index.d.ts +2 -1
- package/types/components/Chip/index.d.ts +2 -1
- package/types/components/Collapse/StyledCollapse.d.ts +0 -2
- package/types/components/Collapse/index.d.ts +2 -1
- package/types/components/ContentNavigator/index.d.ts +2 -1
- package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
- package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
- package/types/components/DatePicker/index.d.ts +2 -1
- package/types/components/Divider/index.d.ts +2 -1
- package/types/components/Drawer/StyledDrawer.d.ts +0 -6
- package/types/components/Error/StyledError.d.ts +0 -4
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
- package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
- package/types/components/HeroDesignProvider/index.d.ts +2 -1
- package/types/components/Icon/AnimatedIcon.d.ts +2 -1
- package/types/components/Icon/index.d.ts +2 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Image/index.d.ts +1 -0
- package/types/components/Modal/index.d.ts +2 -2
- package/types/components/PageControl/StyledPageControl.d.ts +0 -2
- package/types/components/PageControl/index.d.ts +2 -1
- package/types/components/PinInput/PinCell.d.ts +2 -1
- package/types/components/Portal/PortalHost.d.ts +1 -1
- package/types/components/Portal/PortalProvider.d.ts +1 -1
- package/types/components/Portal/index.d.ts +2 -2
- package/types/components/Progress/ProgressBar.d.ts +1 -0
- package/types/components/Progress/StyledProgressBar.d.ts +0 -2
- package/types/components/Progress/index.d.ts +1 -0
- package/types/components/Rate/StyledRate.d.ts +0 -2
- package/types/components/Rate/index.d.ts +2 -1
- package/types/components/RefreshControl/index.d.ts +2 -1
- package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
- package/types/components/RichTextEditor/MentionList.d.ts +2 -1
- package/types/components/RichTextEditor/index.d.ts +2 -2
- package/types/components/Select/BaseOptionList.d.ts +1 -1
- package/types/components/Select/Footer.d.ts +2 -1
- package/types/components/Select/MultiSelect/Option.d.ts +2 -1
- package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
- package/types/components/Select/MultiSelect/index.d.ts +1 -1
- package/types/components/Select/SingleSelect/Option.d.ts +2 -1
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
- package/types/components/Select/SingleSelect/index.d.ts +1 -1
- package/types/components/Select/helpers.d.ts +1 -2
- package/types/components/Select/index.d.ts +2 -1
- package/types/components/Skeleton/index.d.ts +2 -1
- package/types/components/Slider/index.d.ts +2 -1
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
- package/types/components/Success/StyledSuccess.d.ts +0 -2
- package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
- package/types/components/Swipeable/index.d.ts +3 -3
- package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
- package/types/components/Switch/StyledSwitch.d.ts +0 -2
- package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
- package/types/components/Tabs/SceneView.d.ts +1 -1
- package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
- package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
- package/types/components/Tabs/StyledTabs.d.ts +0 -4
- package/types/components/Tabs/TabWithBadge.d.ts +2 -2
- package/types/components/Tabs/index.d.ts +2 -1
- package/types/components/TextInput/StyledTextInput.d.ts +1 -1
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
- package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
- package/types/components/TimePicker/index.d.ts +2 -1
- package/types/components/Toast/StyledToast.d.ts +0 -2
- package/types/components/Toast/Toast.d.ts +1 -0
- package/types/components/Toast/ToastProvider.d.ts +2 -1
- package/types/components/Toast/index.d.ts +1 -1
- package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
- package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
- package/types/components/Toolbar/index.d.ts +3 -2
- package/types/components/Typography/Body/index.d.ts +2 -1
- package/types/components/Typography/Caption/index.d.ts +2 -1
- package/types/components/Typography/Label/index.d.ts +2 -1
- package/types/components/Typography/Text/index.d.ts +2 -1
- package/types/components/Typography/Title/index.d.ts +2 -1
- package/types/testHelpers/renderWithTheme.d.ts +1 -0
- package/types/theme/ThemeSwitcher.d.ts +2 -2
|
@@ -4,7 +4,19 @@ exports[`ToolbarItems renders correctly when disabled 1`] = `
|
|
|
4
4
|
<View
|
|
5
5
|
accessibilityState={
|
|
6
6
|
{
|
|
7
|
+
"busy": undefined,
|
|
8
|
+
"checked": undefined,
|
|
7
9
|
"disabled": true,
|
|
10
|
+
"expanded": undefined,
|
|
11
|
+
"selected": undefined,
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
accessibilityValue={
|
|
15
|
+
{
|
|
16
|
+
"max": undefined,
|
|
17
|
+
"min": undefined,
|
|
18
|
+
"now": undefined,
|
|
19
|
+
"text": undefined,
|
|
8
20
|
}
|
|
9
21
|
}
|
|
10
22
|
accessible={true}
|
|
@@ -92,7 +104,19 @@ exports[`ToolbarItems renders correctly when intent is danger, icon is undefined
|
|
|
92
104
|
<View
|
|
93
105
|
accessibilityState={
|
|
94
106
|
{
|
|
107
|
+
"busy": undefined,
|
|
108
|
+
"checked": undefined,
|
|
95
109
|
"disabled": false,
|
|
110
|
+
"expanded": undefined,
|
|
111
|
+
"selected": undefined,
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
accessibilityValue={
|
|
115
|
+
{
|
|
116
|
+
"max": undefined,
|
|
117
|
+
"min": undefined,
|
|
118
|
+
"now": undefined,
|
|
119
|
+
"text": undefined,
|
|
96
120
|
}
|
|
97
121
|
}
|
|
98
122
|
accessible={true}
|
|
@@ -144,7 +168,19 @@ exports[`ToolbarItems renders correctly when intent is info, icon is undefined,
|
|
|
144
168
|
<View
|
|
145
169
|
accessibilityState={
|
|
146
170
|
{
|
|
171
|
+
"busy": undefined,
|
|
172
|
+
"checked": undefined,
|
|
147
173
|
"disabled": false,
|
|
174
|
+
"expanded": undefined,
|
|
175
|
+
"selected": undefined,
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
accessibilityValue={
|
|
179
|
+
{
|
|
180
|
+
"max": undefined,
|
|
181
|
+
"min": undefined,
|
|
182
|
+
"now": undefined,
|
|
183
|
+
"text": undefined,
|
|
148
184
|
}
|
|
149
185
|
}
|
|
150
186
|
accessible={true}
|
|
@@ -196,7 +232,19 @@ exports[`ToolbarItems renders correctly when intent is primary, icon is ai-outli
|
|
|
196
232
|
<View
|
|
197
233
|
accessibilityState={
|
|
198
234
|
{
|
|
235
|
+
"busy": undefined,
|
|
236
|
+
"checked": undefined,
|
|
199
237
|
"disabled": false,
|
|
238
|
+
"expanded": undefined,
|
|
239
|
+
"selected": undefined,
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
accessibilityValue={
|
|
243
|
+
{
|
|
244
|
+
"max": undefined,
|
|
245
|
+
"min": undefined,
|
|
246
|
+
"now": undefined,
|
|
247
|
+
"text": undefined,
|
|
200
248
|
}
|
|
201
249
|
}
|
|
202
250
|
accessible={true}
|
|
@@ -284,7 +332,19 @@ exports[`ToolbarItems renders correctly when intent is primary, icon is ai-outli
|
|
|
284
332
|
<View
|
|
285
333
|
accessibilityState={
|
|
286
334
|
{
|
|
335
|
+
"busy": undefined,
|
|
336
|
+
"checked": undefined,
|
|
287
337
|
"disabled": true,
|
|
338
|
+
"expanded": undefined,
|
|
339
|
+
"selected": undefined,
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
accessibilityValue={
|
|
343
|
+
{
|
|
344
|
+
"max": undefined,
|
|
345
|
+
"min": undefined,
|
|
346
|
+
"now": undefined,
|
|
347
|
+
"text": undefined,
|
|
288
348
|
}
|
|
289
349
|
}
|
|
290
350
|
accessible={true}
|
|
@@ -372,7 +432,19 @@ exports[`ToolbarItems renders correctly when intent is primary, icon is ai-outli
|
|
|
372
432
|
<View
|
|
373
433
|
accessibilityState={
|
|
374
434
|
{
|
|
435
|
+
"busy": undefined,
|
|
436
|
+
"checked": undefined,
|
|
375
437
|
"disabled": false,
|
|
438
|
+
"expanded": undefined,
|
|
439
|
+
"selected": undefined,
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
accessibilityValue={
|
|
443
|
+
{
|
|
444
|
+
"max": undefined,
|
|
445
|
+
"min": undefined,
|
|
446
|
+
"now": undefined,
|
|
447
|
+
"text": undefined,
|
|
376
448
|
}
|
|
377
449
|
}
|
|
378
450
|
accessible={true}
|
|
@@ -434,7 +506,19 @@ exports[`ToolbarItems renders correctly when intent is success, icon is undefine
|
|
|
434
506
|
<View
|
|
435
507
|
accessibilityState={
|
|
436
508
|
{
|
|
509
|
+
"busy": undefined,
|
|
510
|
+
"checked": undefined,
|
|
437
511
|
"disabled": false,
|
|
512
|
+
"expanded": undefined,
|
|
513
|
+
"selected": undefined,
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
accessibilityValue={
|
|
517
|
+
{
|
|
518
|
+
"max": undefined,
|
|
519
|
+
"min": undefined,
|
|
520
|
+
"now": undefined,
|
|
521
|
+
"text": undefined,
|
|
438
522
|
}
|
|
439
523
|
}
|
|
440
524
|
accessible={true}
|
|
@@ -486,7 +570,19 @@ exports[`ToolbarItems renders correctly when intent is warning, icon is undefine
|
|
|
486
570
|
<View
|
|
487
571
|
accessibilityState={
|
|
488
572
|
{
|
|
573
|
+
"busy": undefined,
|
|
574
|
+
"checked": undefined,
|
|
489
575
|
"disabled": false,
|
|
576
|
+
"expanded": undefined,
|
|
577
|
+
"selected": undefined,
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
accessibilityValue={
|
|
581
|
+
{
|
|
582
|
+
"max": undefined,
|
|
583
|
+
"min": undefined,
|
|
584
|
+
"now": undefined,
|
|
585
|
+
"text": undefined,
|
|
490
586
|
}
|
|
491
587
|
}
|
|
492
588
|
accessible={true}
|
package/tsconfig.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ReactElement } from 'react';
|
|
2
3
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
4
|
import type { Variant } from './StyledAccordion';
|
|
@@ -10,5 +11,5 @@ export type AccordionItemProps = {
|
|
|
10
11
|
style?: StyleProp<ViewStyle>;
|
|
11
12
|
testID?: string;
|
|
12
13
|
};
|
|
13
|
-
declare const AccordionItem: ({ header, content, open, onPress, variant, style, testID, }: AccordionItemProps) => JSX.Element;
|
|
14
|
+
declare const AccordionItem: ({ header, content, open, onPress, variant, style, testID, }: AccordionItemProps) => React.JSX.Element;
|
|
14
15
|
export default AccordionItem;
|
|
@@ -35,5 +35,5 @@ export interface AccordionProps<K extends Key> {
|
|
|
35
35
|
*/
|
|
36
36
|
testID?: string;
|
|
37
37
|
}
|
|
38
|
-
declare const Accordion: <K extends React.Key>({ items, activeItemKey, onItemPress, variant, style, testID, }: AccordionProps<K>) => JSX.Element;
|
|
38
|
+
declare const Accordion: <K extends React.Key>({ items, activeItemKey, onItemPress, variant, style, testID, }: AccordionProps<K>) => React.JSX.Element;
|
|
39
39
|
export default Accordion;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ReactElement } from 'react';
|
|
2
3
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
4
|
import { IconProps } from '../Icon';
|
|
@@ -33,5 +34,5 @@ interface AttachmentProps {
|
|
|
33
34
|
*/
|
|
34
35
|
testID?: string;
|
|
35
36
|
}
|
|
36
|
-
declare const Attachment: ({ filename, previewElement, onRemove, onDownload, backgroundHighlighted, style, testID, }: AttachmentProps) => JSX.Element;
|
|
37
|
+
declare const Attachment: ({ filename, previewElement, onRemove, onDownload, backgroundHighlighted, style, testID, }: AttachmentProps) => React.JSX.Element;
|
|
37
38
|
export default Attachment;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ImageSourcePropType, StyleProp, ViewProps, ViewStyle } from 'react-native';
|
|
2
3
|
export interface AvatarProps extends ViewProps {
|
|
3
4
|
/**
|
|
@@ -29,5 +30,5 @@ export interface AvatarProps extends ViewProps {
|
|
|
29
30
|
*/
|
|
30
31
|
testID?: string;
|
|
31
32
|
}
|
|
32
|
-
declare const Avatar: ({ onPress, source, testID, style, title, size, intent, }: AvatarProps) => JSX.Element | null;
|
|
33
|
+
declare const Avatar: ({ onPress, source, testID, style, title, size, intent, }: AvatarProps) => React.JSX.Element | null;
|
|
33
34
|
export default Avatar;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import { AvatarProps } from '../Avatar';
|
|
4
4
|
export interface AvatarStackProps extends Pick<AvatarProps, 'size'> {
|
|
@@ -19,5 +19,5 @@ export interface AvatarStackProps extends Pick<AvatarProps, 'size'> {
|
|
|
19
19
|
*/
|
|
20
20
|
testID?: string;
|
|
21
21
|
}
|
|
22
|
-
declare const AvatarStack: ({ children, max, size, style, testID, }: AvatarStackProps) => JSX.Element;
|
|
22
|
+
declare const AvatarStack: ({ children, max, size, style, testID, }: AvatarStackProps) => React.JSX.Element;
|
|
23
23
|
export default AvatarStack;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { useAvatarColors } from './AvatarStack/utils';
|
|
2
|
-
declare const _default: (({ onPress, source, testID, style, title, size, intent, }: import("./Avatar").AvatarProps) => JSX.Element | null) & {
|
|
3
|
-
Stack: ({ children, max, size, style, testID, }: import("./AvatarStack").AvatarStackProps) => JSX.Element;
|
|
3
|
+
declare const _default: (({ onPress, source, testID, style, title, size, intent, }: import("./Avatar").AvatarProps) => import("react").JSX.Element | null) & {
|
|
4
|
+
Stack: ({ children, max, size, style, testID, }: import("./AvatarStack").AvatarStackProps) => import("react").JSX.Element;
|
|
4
5
|
};
|
|
5
6
|
export default _default;
|
|
6
7
|
export { useAvatarColors };
|
|
@@ -3,8 +3,6 @@ import { Animated } from 'react-native';
|
|
|
3
3
|
type ThemeIntent = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived';
|
|
4
4
|
type ThemePadding = 'narrowContent' | 'wideContent';
|
|
5
5
|
declare const StyledView: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
|
|
6
|
-
children?: import("react").ReactNode;
|
|
7
|
-
} & {
|
|
8
6
|
theme?: import("@emotion/react").Theme | undefined;
|
|
9
7
|
as?: import("react").ElementType<any> | undefined;
|
|
10
8
|
} & {
|
|
@@ -16,8 +14,6 @@ declare const StyledText: import("@emotion/native").StyledComponent<import("../T
|
|
|
16
14
|
as?: import("react").ElementType<any> | undefined;
|
|
17
15
|
}, {}, {}>;
|
|
18
16
|
declare const StyledStatus: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
|
|
19
|
-
children?: import("react").ReactNode;
|
|
20
|
-
} & {
|
|
21
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
22
18
|
as?: import("react").ElementType<any> | undefined;
|
|
23
19
|
} & {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ReactElement } from 'react';
|
|
2
3
|
declare const Header: ({ content, showDivider, onRequestClose, showCloseButton, }: {
|
|
3
4
|
content: string | ReactElement;
|
|
4
5
|
showDivider: boolean;
|
|
5
6
|
onRequestClose?: (() => void) | undefined;
|
|
6
7
|
showCloseButton: boolean;
|
|
7
|
-
}) => JSX.Element;
|
|
8
|
+
}) => React.JSX.Element;
|
|
8
9
|
export default Header;
|
|
@@ -14,14 +14,10 @@ declare const StyledKeyboardAvoidingView: import("@emotion/native").StyledCompon
|
|
|
14
14
|
ref?: import("react").Ref<KeyboardAvoidingView> | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
|
|
17
|
-
children?: import("react").ReactNode;
|
|
18
|
-
} & {
|
|
19
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
18
|
as?: import("react").ElementType<any> | undefined;
|
|
21
19
|
}, {}, {}>;
|
|
22
20
|
declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
|
|
23
|
-
children?: import("react").ReactNode;
|
|
24
|
-
} & {
|
|
25
21
|
theme?: import("@emotion/react").Theme | undefined;
|
|
26
22
|
as?: import("react").ElementType<any> | undefined;
|
|
27
23
|
}, {}, {}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { BoxViewProps, FlexStyleProps, StyleProps } from './types';
|
|
2
3
|
export interface BoxProps extends StyleProps, FlexStyleProps, BoxViewProps {
|
|
3
4
|
}
|
|
4
|
-
declare const Box: ({ children, style, testID, ...otherProps }: BoxProps) => JSX.Element;
|
|
5
|
+
declare const Box: ({ children, style, testID, ...otherProps }: BoxProps) => React.JSX.Element;
|
|
5
6
|
export default Box;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { StyleProp, ViewStyle, TouchableOpacityProps } from 'react-native';
|
|
2
3
|
import type { IconProps, IconName } from '../Icon';
|
|
3
4
|
export interface IconButtonProps {
|
|
@@ -34,5 +35,5 @@ export interface IconButtonProps {
|
|
|
34
35
|
*/
|
|
35
36
|
testID?: string;
|
|
36
37
|
}
|
|
37
|
-
declare const IconButton: ({ hitSlop, onPress, icon, disabled, testID, style, size, intent, }: IconButtonProps) => JSX.Element;
|
|
38
|
+
declare const IconButton: ({ hitSlop, onPress, icon, disabled, testID, style, size, intent, }: IconButtonProps) => React.JSX.Element;
|
|
38
39
|
export default IconButton;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
|
|
2
3
|
type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
|
|
3
4
|
interface LoadingIndicatorProps extends ViewProps {
|
|
@@ -22,5 +23,5 @@ interface LoadingIndicatorProps extends ViewProps {
|
|
|
22
23
|
*/
|
|
23
24
|
themeVariant: ThemeVariant;
|
|
24
25
|
}
|
|
25
|
-
declare const LoadingIndicator: ({ count, size, testID, themeVariant, ...nativeProps }: LoadingIndicatorProps) => JSX.Element;
|
|
26
|
+
declare const LoadingIndicator: ({ count, size, testID, themeVariant, ...nativeProps }: LoadingIndicatorProps) => React.JSX.Element;
|
|
26
27
|
export default LoadingIndicator;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ReactChild } from 'react';
|
|
2
3
|
import type { ViewProps } from 'react-native';
|
|
3
4
|
import type { IconName } from '../../Icon';
|
|
@@ -19,5 +20,5 @@ export interface UtilityButtonProps extends ViewProps {
|
|
|
19
20
|
*/
|
|
20
21
|
intent?: 'primary' | 'text';
|
|
21
22
|
}
|
|
22
|
-
declare const UtilityButton: ({ icon, onPress, text, testID, intent, style, hitSlop, }: UtilityButtonProps) => JSX.Element;
|
|
23
|
+
declare const UtilityButton: ({ icon, onPress, text, testID, intent, style, hitSlop, }: UtilityButtonProps) => React.JSX.Element;
|
|
23
24
|
export default UtilityButton;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface CalendarRowItemProps {
|
|
2
3
|
date?: Date;
|
|
3
4
|
onPress?: () => void;
|
|
@@ -6,5 +7,5 @@ export interface CalendarRowItemProps {
|
|
|
6
7
|
textIntent?: 'body' | 'subdued';
|
|
7
8
|
marked?: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const CalendarRowItem: ({ date, onPress, isCurrent, isSelected, textIntent, marked, }: CalendarRowItemProps) => JSX.Element;
|
|
10
|
+
declare const CalendarRowItem: ({ date, onPress, isCurrent, isSelected, textIntent, marked, }: CalendarRowItemProps) => React.JSX.Element;
|
|
10
11
|
export default CalendarRowItem;
|
|
@@ -23,7 +23,7 @@ declare const StyledCalendarCell: import("@emotion/native").StyledComponent<impo
|
|
|
23
23
|
theme?: import("@emotion/react").Theme | undefined;
|
|
24
24
|
as?: import("react").ElementType<any> | undefined;
|
|
25
25
|
} & {
|
|
26
|
-
variant?: "
|
|
26
|
+
variant?: "default" | "selected" | "current" | undefined;
|
|
27
27
|
}, {}, {
|
|
28
28
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
29
29
|
}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface CalendarProps {
|
|
2
3
|
/**
|
|
3
4
|
* Selected date value.
|
|
@@ -53,5 +54,5 @@ export interface CalendarProps {
|
|
|
53
54
|
*/
|
|
54
55
|
monthPickerCancelLabel?: string;
|
|
55
56
|
}
|
|
56
|
-
declare const Calendar: ({ value, visibleDate, onChange, onPreviousPress, onNextPress, onTitlePress, minDate, maxDate, markedDates, testID, onMonthChange, onToggleMonthPicker, monthPickerConfirmLabel, monthPickerCancelLabel, }: CalendarProps) => JSX.Element;
|
|
57
|
+
declare const Calendar: ({ value, visibleDate, onChange, onPreviousPress, onNextPress, onTitlePress, minDate, maxDate, markedDates, testID, onMonthChange, onToggleMonthPicker, monthPickerConfirmLabel, monthPickerCancelLabel, }: CalendarProps) => React.JSX.Element;
|
|
57
58
|
export default Calendar;
|
|
@@ -38,4 +38,4 @@ export interface CardCarouselProps {
|
|
|
38
38
|
ref?: React.Ref<CardCarouselHandles>;
|
|
39
39
|
onLayout?: (event: LayoutChangeEvent) => void;
|
|
40
40
|
}
|
|
41
|
-
export declare const CardCarousel: React.ForwardRefExoticComponent<
|
|
41
|
+
export declare const CardCarousel: React.ForwardRefExoticComponent<Omit<CardCarouselProps, "ref"> & React.RefAttributes<CardCarouselHandles>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { CarouselData } from './types';
|
|
2
3
|
interface CarouselItemProps extends Omit<CarouselData, 'background'> {
|
|
3
4
|
width: number;
|
|
4
5
|
}
|
|
5
|
-
declare const CarouselItem: ({ width, image, content, heading, body, }: CarouselItemProps) => JSX.Element;
|
|
6
|
+
declare const CarouselItem: ({ width, image, content, heading, body, }: CarouselItemProps) => React.JSX.Element;
|
|
6
7
|
export default CarouselItem;
|
|
@@ -38,7 +38,7 @@ interface CarouselProps extends ViewProps {
|
|
|
38
38
|
pageControlPosition?: 'top' | 'bottom';
|
|
39
39
|
}
|
|
40
40
|
export declare function useStateFromProp<T>(initialValue: T): [T, Dispatch<SetStateAction<T>>];
|
|
41
|
-
declare const _default: (({ items, onItemIndexChange, renderActions, selectedItemIndex, style, shouldShowPagination, testID, pageControlPosition, ...nativeProps }: CarouselProps) => JSX.Element) & {
|
|
42
|
-
Card: React.ForwardRefExoticComponent<
|
|
41
|
+
declare const _default: (({ items, onItemIndexChange, renderActions, selectedItemIndex, style, shouldShowPagination, testID, pageControlPosition, ...nativeProps }: CarouselProps) => React.JSX.Element) & {
|
|
42
|
+
Card: React.ForwardRefExoticComponent<Omit<import("./CardCarousel").CardCarouselProps, "ref"> & React.RefAttributes<import("./CardCarousel").CardCarouselHandles>>;
|
|
43
43
|
};
|
|
44
44
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
3
|
export interface CheckboxProps {
|
|
3
4
|
/**
|
|
@@ -39,5 +40,5 @@ type getStateType = {
|
|
|
39
40
|
readonly: boolean;
|
|
40
41
|
};
|
|
41
42
|
export declare const getThemeState: ({ disabled, readonly }: getStateType) => "default" | "disabled" | "readonly";
|
|
42
|
-
declare const Checkbox: ({ checked, description, withBorder, disabled, onPress, style, testID, readonly, }: CheckboxProps) => JSX.Element;
|
|
43
|
+
declare const Checkbox: ({ checked, description, withBorder, disabled, onPress, style, testID, readonly, }: CheckboxProps) => React.JSX.Element;
|
|
43
44
|
export default Checkbox;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ViewProps } from 'react-native';
|
|
2
3
|
import { IconName } from '../Icon';
|
|
3
4
|
export interface ChipProps extends ViewProps {
|
|
@@ -22,5 +23,5 @@ export interface ChipProps extends ViewProps {
|
|
|
22
23
|
*/
|
|
23
24
|
onPress?: () => void;
|
|
24
25
|
}
|
|
25
|
-
declare const Chip: ({ label, variant, selected, icon, onPress, ...otherProps }: ChipProps) => JSX.Element;
|
|
26
|
+
declare const Chip: ({ label, variant, selected, icon, onPress, ...otherProps }: ChipProps) => React.JSX.Element;
|
|
26
27
|
export default Chip;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Animated, View } from 'react-native';
|
|
3
3
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
4
|
-
children?: import("react").ReactNode;
|
|
5
|
-
} & {
|
|
6
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
7
5
|
as?: import("react").ElementType<any> | undefined;
|
|
8
6
|
}, {}, {}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import type { StyleProp, ViewProps, ViewStyle } from 'react-native';
|
|
3
4
|
export interface CollapseProps extends ViewProps {
|
|
4
5
|
children: ReactNode;
|
|
@@ -15,5 +16,5 @@ export interface CollapseProps extends ViewProps {
|
|
|
15
16
|
*/
|
|
16
17
|
testID?: string;
|
|
17
18
|
}
|
|
18
|
-
declare const Collapse: ({ open, children, testID, style, onLayout, }: CollapseProps) => JSX.Element;
|
|
19
|
+
declare const Collapse: ({ open, children, testID, style, onLayout, }: CollapseProps) => React.JSX.Element;
|
|
19
20
|
export default Collapse;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ReactElement } from 'react';
|
|
2
3
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
4
|
interface ContentNavigatorProps {
|
|
@@ -38,5 +39,5 @@ interface ContentNavigatorProps {
|
|
|
38
39
|
*/
|
|
39
40
|
testID?: string;
|
|
40
41
|
}
|
|
41
|
-
declare function ContentNavigator({ onPreviousPress, onNextPress, onPress, value, previousDisabled, nextDisabled, fontSize, testID, style, }: ContentNavigatorProps): JSX.Element;
|
|
42
|
+
declare function ContentNavigator({ onPreviousPress, onNextPress, onPress, value, previousDisabled, nextDisabled, fontSize, testID, style, }: ContentNavigatorProps): React.JSX.Element;
|
|
42
43
|
export default ContentNavigator;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { DatePickerProps } from './types';
|
|
2
|
-
declare const DatePickerAndroid: ({ value, minDate, maxDate, label, placeholder, onChange, displayFormat, disabled, required, error, helpText, style, testID, }: Omit<DatePickerProps, 'variant' | 'monthPickerConfirmLabel' | 'monthPickerCancelLabel'>) => JSX.Element;
|
|
3
|
+
declare const DatePickerAndroid: ({ value, minDate, maxDate, label, placeholder, onChange, displayFormat, disabled, required, error, helpText, style, testID, }: Omit<DatePickerProps, 'variant' | 'monthPickerConfirmLabel' | 'monthPickerCancelLabel'>) => React.JSX.Element;
|
|
3
4
|
export default DatePickerAndroid;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { DatePickerProps } from './types';
|
|
2
|
-
declare const DatePickerCalendar: ({ value, minDate, maxDate, label, placeholder, onChange, confirmLabel, displayFormat, disabled, required, error, helpText, style, testID, monthPickerConfirmLabel, monthPickerCancelLabel, }: Omit<DatePickerProps, 'variant'>) => JSX.Element;
|
|
3
|
+
declare const DatePickerCalendar: ({ value, minDate, maxDate, label, placeholder, onChange, confirmLabel, displayFormat, disabled, required, error, helpText, style, testID, monthPickerConfirmLabel, monthPickerCancelLabel, }: Omit<DatePickerProps, 'variant'>) => React.JSX.Element;
|
|
3
4
|
export default DatePickerCalendar;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { DatePickerProps } from './types';
|
|
2
3
|
export declare const getInitialDateValue: (value: Date, minDate?: Date | undefined, maxDate?: Date | undefined) => Date;
|
|
3
|
-
declare const DatePickerIOS: ({ value, minDate, maxDate, label, placeholder, onChange, confirmLabel, displayFormat, disabled, required, error, helpText, style, testID, }: Omit<DatePickerProps, 'variant' | 'monthPickerConfirmLabel' | 'monthPickerCancelLabel'>) => JSX.Element;
|
|
4
|
+
declare const DatePickerIOS: ({ value, minDate, maxDate, label, placeholder, onChange, confirmLabel, displayFormat, disabled, required, error, helpText, style, testID, }: Omit<DatePickerProps, 'variant' | 'monthPickerConfirmLabel' | 'monthPickerCancelLabel'>) => React.JSX.Element;
|
|
4
5
|
export default DatePickerIOS;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { DatePickerProps } from './types';
|
|
2
|
-
declare const DatePicker: ({ variant, ...props }: DatePickerProps) => JSX.Element;
|
|
3
|
+
declare const DatePicker: ({ variant, ...props }: DatePickerProps) => React.JSX.Element;
|
|
3
4
|
export default DatePicker;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
|
|
2
3
|
interface DividerProps extends ViewProps {
|
|
3
4
|
/**
|
|
@@ -17,5 +18,5 @@ interface DividerProps extends ViewProps {
|
|
|
17
18
|
*/
|
|
18
19
|
testID?: string;
|
|
19
20
|
}
|
|
20
|
-
declare const Divider: ({ marginHorizontal, marginVertical, style, testID, ...nativeProps }: DividerProps) => JSX.Element;
|
|
21
|
+
declare const Divider: ({ marginHorizontal, marginVertical, style, testID, ...nativeProps }: DividerProps) => React.JSX.Element;
|
|
21
22
|
export default Divider;
|
|
@@ -18,22 +18,16 @@ declare const StyledDragableContainer: import("@emotion/native").StyledComponent
|
|
|
18
18
|
ref?: import("react").Ref<View> | undefined;
|
|
19
19
|
}>;
|
|
20
20
|
declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
|
|
21
|
-
children?: import("react").ReactNode;
|
|
22
|
-
} & {
|
|
23
21
|
theme?: import("@emotion/react").Theme | undefined;
|
|
24
22
|
as?: import("react").ElementType<any> | undefined;
|
|
25
23
|
}, {}, {}>;
|
|
26
24
|
declare const StyledDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
27
|
-
children?: import("react").ReactNode;
|
|
28
|
-
} & {
|
|
29
25
|
theme?: import("@emotion/react").Theme | undefined;
|
|
30
26
|
as?: import("react").ElementType<any> | undefined;
|
|
31
27
|
} & {
|
|
32
28
|
enableShadow: boolean;
|
|
33
29
|
}, {}, {}>;
|
|
34
30
|
declare const StyledDragableDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
35
|
-
children?: import("react").ReactNode;
|
|
36
|
-
} & {
|
|
37
31
|
theme?: import("@emotion/react").Theme | undefined;
|
|
38
32
|
as?: import("react").ElementType<any> | undefined;
|
|
39
33
|
} & {
|
|
@@ -26,14 +26,10 @@ declare const StyledErrorButtonContainer: import("@emotion/native").StyledCompon
|
|
|
26
26
|
ref?: import("react").Ref<View> | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
declare const StyledErrorButtonPrimary: import("@emotion/native").StyledComponent<import("../Button/Button").ButtonProps & {
|
|
29
|
-
children?: import("react").ReactNode;
|
|
30
|
-
} & {
|
|
31
29
|
theme?: import("@emotion/react").Theme | undefined;
|
|
32
30
|
as?: import("react").ElementType<any> | undefined;
|
|
33
31
|
}, {}, {}>;
|
|
34
32
|
declare const StyledErrorButtonSecondary: import("@emotion/native").StyledComponent<import("../Button/Button").ButtonProps & {
|
|
35
|
-
children?: import("react").ReactNode;
|
|
36
|
-
} & {
|
|
37
33
|
theme?: import("@emotion/react").Theme | undefined;
|
|
38
34
|
as?: import("react").ElementType<any> | undefined;
|
|
39
35
|
}, {}, {}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ComponentProps } from 'react';
|
|
2
3
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
4
|
import Icon from '../../Icon';
|
|
@@ -13,5 +14,5 @@ interface AnimatedActionItemProps extends ActionItemProps {
|
|
|
13
14
|
index: number;
|
|
14
15
|
active?: boolean;
|
|
15
16
|
}
|
|
16
|
-
declare const ActionItem: ({ icon, title, onPress, style, testID, index, active, }: AnimatedActionItemProps) => JSX.Element;
|
|
17
|
+
declare const ActionItem: ({ icon, title, onPress, style, testID, index, active, }: AnimatedActionItemProps) => React.JSX.Element;
|
|
17
18
|
export default ActionItem;
|
|
@@ -14,8 +14,6 @@ declare const StyledContainerInModal: import("@emotion/native").StyledComponent<
|
|
|
14
14
|
ref?: import("react").Ref<View> | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
declare const StyledActionGroupContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
17
|
-
children?: import("react").ReactNode;
|
|
18
|
-
} & {
|
|
19
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
18
|
as?: import("react").ElementType<any> | undefined;
|
|
21
19
|
}, {}, {}>;
|
|
@@ -24,8 +22,6 @@ declare const StyledFAB: import("@emotion/native").StyledComponent<import("../FA
|
|
|
24
22
|
as?: import("react").ElementType<any> | undefined;
|
|
25
23
|
}, {}, {}>;
|
|
26
24
|
declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
|
|
27
|
-
children?: import("react").ReactNode;
|
|
28
|
-
} & {
|
|
29
25
|
theme?: import("@emotion/react").Theme | undefined;
|
|
30
26
|
as?: import("react").ElementType<any> | undefined;
|
|
31
27
|
}, {}, {}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { IconProps } from '../Icon';
|
|
2
3
|
type Props = {
|
|
3
4
|
active?: boolean;
|
|
4
5
|
} & IconProps;
|
|
5
|
-
declare const AnimatedFABIcon: ({ active, ...iconProps }: Props) => JSX.Element;
|
|
6
|
+
declare const AnimatedFABIcon: ({ active, ...iconProps }: Props) => React.JSX.Element;
|
|
6
7
|
export { AnimatedFABIcon };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ThemeProviderProps } from '../../theme/ThemeProvider';
|
|
2
|
-
declare const HeroDesignProvider: ({ theme, children }: ThemeProviderProps) => JSX.Element;
|
|
3
|
+
declare const HeroDesignProvider: ({ theme, children }: ThemeProviderProps) => React.JSX.Element;
|
|
3
4
|
export default HeroDesignProvider;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ComponentProps } from 'react';
|
|
2
3
|
import StyledHeroIcon from './HeroIcon';
|
|
3
4
|
type AnimatedIconProps = ComponentProps<typeof StyledHeroIcon>;
|
|
4
|
-
declare const AnimatedIcon: ({ style, ...otherProps }: AnimatedIconProps) => JSX.Element;
|
|
5
|
+
declare const AnimatedIcon: ({ style, ...otherProps }: AnimatedIconProps) => React.JSX.Element;
|
|
5
6
|
export default AnimatedIcon;
|