@hero-design/rn 0.0.0-mainIsReactNative-1 → 0.0.0-mainIsReactNative-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/es/index.js +42700 -929
- package/lib/index.js +44030 -0
- package/package.json +5 -5
- package/types/components/Accordion/StyledAccordion.d.ts +26 -12
- package/types/components/Alert/StyledAlert.d.ts +46 -17
- package/types/components/AppCue/StyledAppCue.d.ts +22 -9
- package/types/components/Attachment/StyledAttachment.d.ts +22 -9
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +29 -8
- package/types/components/Avatar/StyledAvatar.d.ts +29 -10
- package/types/components/Badge/StyledBadge.d.ts +44 -17
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +44 -15
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +58 -33
- package/types/components/Box/StyledBox.d.ts +8 -2
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +16 -4
- package/types/components/Button/StyledButton.d.ts +55 -17
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +14 -8
- package/types/components/Calendar/StyledCalendar.d.ts +59 -23
- package/types/components/Card/DataCard/StyledDataCard.d.ts +18 -6
- package/types/components/Card/StyledCard.d.ts +9 -2
- package/types/components/Card/index.d.ts +5 -2
- package/types/components/Carousel/StyledCardCarousel.d.ts +24 -10
- package/types/components/Carousel/StyledCarousel.d.ts +53 -26
- package/types/components/Chart/ChartSelect/StyledChartSelect.d.ts +6 -2
- package/types/components/Chart/ColumnChart/StyledColumnChart.d.ts +6 -2
- package/types/components/Chart/StyledChart.d.ts +8 -6
- package/types/components/Checkbox/StyledDefaultCheckBox.d.ts +31 -13
- package/types/components/Checkbox/StyledInlineCheckBox.d.ts +43 -13
- package/types/components/Checkbox/utils.d.ts +1 -1
- package/types/components/Chip/StyledChip.d.ts +12 -6
- package/types/components/Collapse/StyledCollapse.d.ts +15 -7
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +6 -2
- package/types/components/DatePicker/StyledDatePicker.d.ts +7 -2
- package/types/components/Divider/StyledDivider.d.ts +10 -2
- package/types/components/Drawer/StyledDrawer.d.ts +44 -17
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +28 -16
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +14 -9
- package/types/components/FAB/Pair/StyledFAB.d.ts +13 -6
- package/types/components/FAB/StyledFAB.d.ts +22 -12
- package/types/components/FilterTrigger/StyledFilterTrigger.d.ts +20 -9
- package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +17 -11
- package/types/components/Icon/HeroIcon/index.d.ts +10 -2
- package/types/components/InlineLoader/StyledInlineLoader.d.ts +15 -4
- package/types/components/List/StyledBasicListItem.d.ts +23 -9
- package/types/components/List/StyledListGroup.d.ts +8 -2
- package/types/components/List/StyledListItem.d.ts +44 -15
- package/types/components/MapPin/StyledMapPin.d.ts +37 -17
- package/types/components/PageControl/StyledPageControl.d.ts +10 -5
- package/types/components/PinInput/StyledPinInput.d.ts +59 -23
- package/types/components/Portal/reducer.d.ts +3 -6
- package/types/components/Progress/SegmentedBar/StyledLegend.d.ts +18 -12
- package/types/components/Progress/SegmentedBar/StyledSegmentedBar.d.ts +19 -12
- package/types/components/Progress/StyledProgressBar.d.ts +16 -5
- package/types/components/Progress/StyledProgressCircle.d.ts +12 -4
- package/types/components/Progress/StyledStep.d.ts +22 -12
- package/types/components/Radio/StyledRadio.d.ts +26 -9
- package/types/components/Rate/StyledRate.d.ts +9 -6
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +6 -2
- package/types/components/RichTextEditor/StyledToolbar.d.ts +17 -7
- package/types/components/Search/StyledSearch.d.ts +42 -15
- package/types/components/SectionHeading/StyledHeading.d.ts +19 -6
- package/types/components/SectionList/StyledSectionList.d.ts +27 -9
- package/types/components/SegmentedControl/StyledSegmentedControl.d.ts +25 -15
- package/types/components/Select/StyledSelect.d.ts +16 -7
- package/types/components/Skeleton/StyledSkeleton.d.ts +15 -6
- package/types/components/Slider/StyledRangeSlider.d.ts +8 -2
- package/types/components/Spinner/StyledSpinner.d.ts +29 -8
- package/types/components/StatusScreens/Empty/StyledEmpty.d.ts +24 -10
- package/types/components/StatusScreens/Error/StyledError.d.ts +53 -30
- package/types/components/StatusScreens/Success/StyledSuccess.d.ts +53 -30
- package/types/components/Swipeable/StyledSwipeable.d.ts +6 -3
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +18 -11
- package/types/components/Switch/StyledSwitch.d.ts +12 -5
- package/types/components/Tabs/StyledScrollableTabs.d.ts +59 -30
- package/types/components/Tabs/StyledTabs.d.ts +39 -13
- package/types/components/Tag/StyledTag.d.ts +22 -8
- package/types/components/TextInput/AssistiveInfoTrigger/StyledAssistiveInfoTrigger.d.ts +10 -5
- package/types/components/TextInput/StyledTextInput.d.ts +91 -33
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/components/TimePicker/StyledTimePicker.d.ts +7 -2
- package/types/components/Toast/StyledToast.d.ts +56 -24
- package/types/components/Toolbar/StyledToolbar.d.ts +59 -25
- package/types/components/Typography/Body/StyledBody.d.ts +13 -2
- package/types/components/Typography/Caption/StyledCaption.d.ts +11 -2
- package/types/components/Typography/Label/StyledLabel.d.ts +11 -2
- package/types/components/Typography/Text/StyledText.d.ts +11 -2
- package/types/components/Typography/Title/StyledTitle.d.ts +13 -2
- package/types/index.d.ts +70 -8818
- package/types/testHelpers/renderWithTheme.d.ts +10 -11
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import type { RenderOptions } from '@testing-library/react-native';
|
|
4
|
-
import { theme } from '../index';
|
|
5
4
|
declare const renderWithTheme: (ui: ReactElement, options?: RenderOptions) => {
|
|
6
5
|
rerender: (component: React.ReactElement) => void;
|
|
7
6
|
rerenderAsync: (component: React.ReactElement) => Promise<void>;
|
|
@@ -11,24 +10,24 @@ declare const renderWithTheme: (ui: ReactElement, options?: RenderOptions) => {
|
|
|
11
10
|
unmountAsync: () => Promise<void>;
|
|
12
11
|
toJSON: () => null | import("react-test-renderer").ReactTestRendererJSON | import("react-test-renderer").ReactTestRendererJSON[];
|
|
13
12
|
debug: import("@testing-library/react-native").DebugFunction;
|
|
14
|
-
root:
|
|
15
|
-
UNSAFE_root:
|
|
13
|
+
root: ReactTestInstance;
|
|
14
|
+
UNSAFE_root: ReactTestInstance;
|
|
16
15
|
UNSAFE_getByProps: (props: {
|
|
17
16
|
[x: string]: unknown;
|
|
18
|
-
}) =>
|
|
17
|
+
}) => ReactTestInstance;
|
|
19
18
|
UNSAFE_getAllByProps: (props: {
|
|
20
19
|
[x: string]: unknown;
|
|
21
|
-
}) => Array<
|
|
20
|
+
}) => Array<ReactTestInstance>;
|
|
22
21
|
UNSAFE_queryByProps: (props: {
|
|
23
22
|
[x: string]: unknown;
|
|
24
|
-
}) =>
|
|
23
|
+
}) => ReactTestInstance | null;
|
|
25
24
|
UNSAFE_queryAllByProps: (props: {
|
|
26
25
|
[x: string]: unknown;
|
|
27
|
-
}) => Array<
|
|
28
|
-
UNSAFE_getByType: <P>(type: React.ComponentType<P>) =>
|
|
29
|
-
UNSAFE_getAllByType: <P>(type: React.ComponentType<P>) => Array<
|
|
30
|
-
UNSAFE_queryByType: <P>(type: React.ComponentType<P>) =>
|
|
31
|
-
UNSAFE_queryAllByType: <P>(type: React.ComponentType<P>) => Array<
|
|
26
|
+
}) => Array<ReactTestInstance>;
|
|
27
|
+
UNSAFE_getByType: <P>(type: React.ComponentType<P>) => ReactTestInstance;
|
|
28
|
+
UNSAFE_getAllByType: <P>(type: React.ComponentType<P>) => Array<ReactTestInstance>;
|
|
29
|
+
UNSAFE_queryByType: <P>(type: React.ComponentType<P>) => ReactTestInstance | null;
|
|
30
|
+
UNSAFE_queryAllByType: <P>(type: React.ComponentType<P>) => Array<ReactTestInstance>;
|
|
32
31
|
getByRole: import("@testing-library/react-native/build/queries/make-queries").GetByQuery<import("@testing-library/react-native/build/queries/role").ByRoleMatcher, import("@testing-library/react-native/build/queries/role").ByRoleOptions>;
|
|
33
32
|
getAllByRole: import("@testing-library/react-native/build/queries/make-queries").GetAllByQuery<import("@testing-library/react-native/build/queries/role").ByRoleMatcher, import("@testing-library/react-native/build/queries/role").ByRoleOptions>;
|
|
34
33
|
queryByRole: import("@testing-library/react-native/build/queries/make-queries").QueryByQuery<import("@testing-library/react-native/build/queries/role").ByRoleMatcher, import("@testing-library/react-native/build/queries/role").ByRoleOptions>;
|