@hero-design/rn 8.63.0 → 8.63.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 +15 -13
- package/lib/index.js +15 -13
- package/package.json +17 -17
- package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +0 -21
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +0 -12
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +0 -12
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +0 -7
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +4 -4
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +4 -16
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +4 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +3 -15
- package/src/components/Tabs/ScrollableTabs.tsx +5 -3
- package/src/components/Tabs/StyledScrollableTabs.tsx +0 -6
- package/src/components/Tabs/StyledTabs.tsx +0 -8
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +12 -9
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +2 -2
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +9 -6
- package/src/components/Tabs/index.tsx +6 -3
- package/types/components/Accordion/StyledAccordion.d.ts +0 -1
- package/types/components/Alert/StyledAlert.d.ts +0 -1
- package/types/components/Attachment/StyledAttachment.d.ts +0 -1
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -1
- package/types/components/Avatar/StyledAvatar.d.ts +0 -1
- package/types/components/Avatar/index.d.ts +0 -1
- package/types/components/Badge/StyledBadge.d.ts +0 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -1
- package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -1
- package/types/components/BottomSheet/ScrollView.d.ts +0 -1
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -1
- package/types/components/Box/StyledBox.d.ts +0 -1
- package/types/components/Box/types.d.ts +0 -1
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -1
- package/types/components/Button/StyledButton.d.ts +0 -1
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -1
- package/types/components/Calendar/StyledCalendar.d.ts +1 -2
- package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -1
- package/types/components/Card/StyledCard.d.ts +0 -1
- package/types/components/Carousel/StyledCardCarousel.d.ts +0 -1
- package/types/components/Carousel/StyledCarousel.d.ts +0 -1
- package/types/components/Checkbox/StyledCheckbox.d.ts +0 -1
- package/types/components/Chip/StyledChip.d.ts +0 -1
- package/types/components/Collapse/StyledCollapse.d.ts +0 -1
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -1
- package/types/components/DatePicker/StyledDatePicker.d.ts +0 -1
- package/types/components/Divider/StyledDivider.d.ts +0 -1
- package/types/components/Drawer/StyledDrawer.d.ts +0 -1
- package/types/components/Empty/StyledEmpty.d.ts +0 -1
- package/types/components/Error/StyledError.d.ts +0 -1
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -1
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -1
- package/types/components/FAB/StyledFAB.d.ts +0 -1
- package/types/components/FAB/index.d.ts +0 -1
- package/types/components/Icon/HeroIcon/index.d.ts +0 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Image/index.d.ts +0 -1
- package/types/components/List/StyledBasicListItem.d.ts +0 -1
- package/types/components/List/StyledListItem.d.ts +0 -1
- package/types/components/PageControl/StyledPageControl.d.ts +0 -1
- package/types/components/PinInput/StyledPinInput.d.ts +0 -1
- package/types/components/Progress/ProgressBar.d.ts +0 -1
- package/types/components/Progress/StyledProgressBar.d.ts +0 -1
- package/types/components/Progress/StyledProgressCircle.d.ts +0 -1
- package/types/components/Progress/index.d.ts +0 -1
- package/types/components/Radio/StyledRadio.d.ts +0 -1
- package/types/components/Radio/index.d.ts +0 -1
- package/types/components/Rate/StyledRate.d.ts +0 -1
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -1
- package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -1
- package/types/components/RichTextEditor/index.d.ts +0 -1
- package/types/components/SectionHeading/StyledHeading.d.ts +0 -1
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -1
- package/types/components/Select/StyledSelect.d.ts +0 -1
- package/types/components/Select/index.d.ts +0 -1
- package/types/components/Skeleton/StyledSkeleton.d.ts +0 -1
- package/types/components/Spinner/StyledSpinner.d.ts +0 -1
- package/types/components/Success/StyledSuccess.d.ts +0 -1
- package/types/components/Swipeable/StyledSwipeable.d.ts +0 -1
- package/types/components/Swipeable/index.d.ts +2 -2
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -1
- package/types/components/Switch/StyledSwitch.d.ts +0 -1
- package/types/components/Tabs/StyledScrollableTabs.d.ts +1 -9
- package/types/components/Tabs/StyledTabs.d.ts +1 -7
- package/types/components/Tag/StyledTag.d.ts +0 -1
- package/types/components/TextInput/StyledTextInput.d.ts +0 -1
- package/types/components/TextInput/index.d.ts +3 -3
- package/types/components/TimePicker/StyledTimePicker.d.ts +0 -1
- package/types/components/Toast/StyledToast.d.ts +0 -1
- package/types/components/Toast/Toast.d.ts +0 -1
- package/types/components/Toast/ToastContext.d.ts +0 -1
- package/types/components/Toast/index.d.ts +0 -1
- package/types/components/Toolbar/StyledToolbar.d.ts +0 -1
- package/types/components/Typography/Body/StyledBody.d.ts +0 -1
- package/types/components/Typography/Caption/StyledCaption.d.ts +0 -1
- package/types/components/Typography/Label/StyledLabel.d.ts +0 -1
- package/types/components/Typography/Text/StyledText.d.ts +0 -1
- package/types/components/Typography/Title/StyledTitle.d.ts +0 -1
- package/types/testHelpers/renderWithTheme.d.ts +0 -1
- package/types/theme/ThemeProvider.d.ts +0 -1
|
@@ -204,7 +204,7 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
|
|
|
204
204
|
onScrollToIndexFailed={[Function]}
|
|
205
205
|
removeClippedSubviews={false}
|
|
206
206
|
renderItem={[Function]}
|
|
207
|
-
scrollEventThrottle={
|
|
207
|
+
scrollEventThrottle={0.0001}
|
|
208
208
|
showsHorizontalScrollIndicator={false}
|
|
209
209
|
stickyHeaderIndices={[]}
|
|
210
210
|
style={
|
|
@@ -745,12 +745,13 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
|
|
|
745
745
|
</View>
|
|
746
746
|
</RCTScrollView>
|
|
747
747
|
</View>
|
|
748
|
-
<
|
|
748
|
+
<LEGACY_RNCViewPager
|
|
749
749
|
layoutDirection="ltr"
|
|
750
750
|
onMoveShouldSetResponderCapture={[Function]}
|
|
751
751
|
onPageScroll={[Function]}
|
|
752
752
|
onPageScrollStateChanged={[Function]}
|
|
753
753
|
onPageSelected={[Function]}
|
|
754
|
+
useLegacy={true}
|
|
754
755
|
>
|
|
755
756
|
<View
|
|
756
757
|
collapsable={false}
|
|
@@ -894,7 +895,7 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
|
|
|
894
895
|
}
|
|
895
896
|
/>
|
|
896
897
|
</View>
|
|
897
|
-
</
|
|
898
|
+
</LEGACY_RNCViewPager>
|
|
898
899
|
</View>
|
|
899
900
|
</RNCSafeAreaProvider>
|
|
900
901
|
<View
|
|
@@ -1124,7 +1125,7 @@ exports[`Tabs.Scroll renders correctly 1`] = `
|
|
|
1124
1125
|
onScrollToIndexFailed={[Function]}
|
|
1125
1126
|
removeClippedSubviews={false}
|
|
1126
1127
|
renderItem={[Function]}
|
|
1127
|
-
scrollEventThrottle={
|
|
1128
|
+
scrollEventThrottle={0.0001}
|
|
1128
1129
|
showsHorizontalScrollIndicator={false}
|
|
1129
1130
|
stickyHeaderIndices={[]}
|
|
1130
1131
|
style={
|
|
@@ -1665,12 +1666,13 @@ exports[`Tabs.Scroll renders correctly 1`] = `
|
|
|
1665
1666
|
</View>
|
|
1666
1667
|
</RCTScrollView>
|
|
1667
1668
|
</View>
|
|
1668
|
-
<
|
|
1669
|
+
<LEGACY_RNCViewPager
|
|
1669
1670
|
layoutDirection="ltr"
|
|
1670
1671
|
onMoveShouldSetResponderCapture={[Function]}
|
|
1671
1672
|
onPageScroll={[Function]}
|
|
1672
1673
|
onPageScrollStateChanged={[Function]}
|
|
1673
1674
|
onPageSelected={[Function]}
|
|
1675
|
+
useLegacy={true}
|
|
1674
1676
|
>
|
|
1675
1677
|
<View
|
|
1676
1678
|
collapsable={false}
|
|
@@ -1814,7 +1816,7 @@ exports[`Tabs.Scroll renders correctly 1`] = `
|
|
|
1814
1816
|
}
|
|
1815
1817
|
/>
|
|
1816
1818
|
</View>
|
|
1817
|
-
</
|
|
1819
|
+
</LEGACY_RNCViewPager>
|
|
1818
1820
|
</View>
|
|
1819
1821
|
</RNCSafeAreaProvider>
|
|
1820
1822
|
<View
|
|
@@ -2044,7 +2046,7 @@ exports[`useIsFocused renders correctly 1`] = `
|
|
|
2044
2046
|
onScrollToIndexFailed={[Function]}
|
|
2045
2047
|
removeClippedSubviews={false}
|
|
2046
2048
|
renderItem={[Function]}
|
|
2047
|
-
scrollEventThrottle={
|
|
2049
|
+
scrollEventThrottle={0.0001}
|
|
2048
2050
|
showsHorizontalScrollIndicator={false}
|
|
2049
2051
|
stickyHeaderIndices={[]}
|
|
2050
2052
|
style={
|
|
@@ -2585,12 +2587,13 @@ exports[`useIsFocused renders correctly 1`] = `
|
|
|
2585
2587
|
</View>
|
|
2586
2588
|
</RCTScrollView>
|
|
2587
2589
|
</View>
|
|
2588
|
-
<
|
|
2590
|
+
<LEGACY_RNCViewPager
|
|
2589
2591
|
layoutDirection="ltr"
|
|
2590
2592
|
onMoveShouldSetResponderCapture={[Function]}
|
|
2591
2593
|
onPageScroll={[Function]}
|
|
2592
2594
|
onPageScrollStateChanged={[Function]}
|
|
2593
2595
|
onPageSelected={[Function]}
|
|
2596
|
+
useLegacy={true}
|
|
2594
2597
|
>
|
|
2595
2598
|
<View
|
|
2596
2599
|
collapsable={false}
|
|
@@ -2734,7 +2737,7 @@ exports[`useIsFocused renders correctly 1`] = `
|
|
|
2734
2737
|
}
|
|
2735
2738
|
/>
|
|
2736
2739
|
</View>
|
|
2737
|
-
</
|
|
2740
|
+
</LEGACY_RNCViewPager>
|
|
2738
2741
|
</View>
|
|
2739
2742
|
</RNCSafeAreaProvider>
|
|
2740
2743
|
<View
|
|
@@ -99,7 +99,7 @@ exports[`ScrollableTabsHeader highlighted variant renders correctly 1`] = `
|
|
|
99
99
|
onScrollToIndexFailed={[Function]}
|
|
100
100
|
removeClippedSubviews={false}
|
|
101
101
|
renderItem={[Function]}
|
|
102
|
-
scrollEventThrottle={
|
|
102
|
+
scrollEventThrottle={0.0001}
|
|
103
103
|
showsHorizontalScrollIndicator={false}
|
|
104
104
|
stickyHeaderIndices={[]}
|
|
105
105
|
style={
|
|
@@ -763,7 +763,7 @@ exports[`ScrollableTabsHeader underlined variant renders correctly 1`] = `
|
|
|
763
763
|
onScrollToIndexFailed={[Function]}
|
|
764
764
|
removeClippedSubviews={false}
|
|
765
765
|
renderItem={[Function]}
|
|
766
|
-
scrollEventThrottle={
|
|
766
|
+
scrollEventThrottle={0.0001}
|
|
767
767
|
showsHorizontalScrollIndicator={false}
|
|
768
768
|
stickyHeaderIndices={[]}
|
|
769
769
|
style={
|
|
@@ -489,12 +489,13 @@ exports[`Tabs renders correctly 1`] = `
|
|
|
489
489
|
/>
|
|
490
490
|
</View>
|
|
491
491
|
</View>
|
|
492
|
-
<
|
|
492
|
+
<LEGACY_RNCViewPager
|
|
493
493
|
layoutDirection="ltr"
|
|
494
494
|
onMoveShouldSetResponderCapture={[Function]}
|
|
495
495
|
onPageScroll={[Function]}
|
|
496
496
|
onPageScrollStateChanged={[Function]}
|
|
497
497
|
onPageSelected={[Function]}
|
|
498
|
+
useLegacy={true}
|
|
498
499
|
>
|
|
499
500
|
<View
|
|
500
501
|
collapsable={false}
|
|
@@ -638,7 +639,7 @@ exports[`Tabs renders correctly 1`] = `
|
|
|
638
639
|
}
|
|
639
640
|
/>
|
|
640
641
|
</View>
|
|
641
|
-
</
|
|
642
|
+
</LEGACY_RNCViewPager>
|
|
642
643
|
</View>
|
|
643
644
|
</RNCSafeAreaProvider>
|
|
644
645
|
<View
|
|
@@ -1153,12 +1154,13 @@ exports[`useIsFocused renders correctly 1`] = `
|
|
|
1153
1154
|
/>
|
|
1154
1155
|
</View>
|
|
1155
1156
|
</View>
|
|
1156
|
-
<
|
|
1157
|
+
<LEGACY_RNCViewPager
|
|
1157
1158
|
layoutDirection="ltr"
|
|
1158
1159
|
onMoveShouldSetResponderCapture={[Function]}
|
|
1159
1160
|
onPageScroll={[Function]}
|
|
1160
1161
|
onPageScrollStateChanged={[Function]}
|
|
1161
1162
|
onPageSelected={[Function]}
|
|
1163
|
+
useLegacy={true}
|
|
1162
1164
|
>
|
|
1163
1165
|
<View
|
|
1164
1166
|
collapsable={false}
|
|
@@ -1302,7 +1304,7 @@ exports[`useIsFocused renders correctly 1`] = `
|
|
|
1302
1304
|
}
|
|
1303
1305
|
/>
|
|
1304
1306
|
</View>
|
|
1305
|
-
</
|
|
1307
|
+
</LEGACY_RNCViewPager>
|
|
1306
1308
|
</View>
|
|
1307
1309
|
</RNCSafeAreaProvider>
|
|
1308
1310
|
<View
|
|
@@ -1817,12 +1819,13 @@ exports[`useIsFocused renders correctly: xxxxxx 1`] = `
|
|
|
1817
1819
|
/>
|
|
1818
1820
|
</View>
|
|
1819
1821
|
</View>
|
|
1820
|
-
<
|
|
1822
|
+
<LEGACY_RNCViewPager
|
|
1821
1823
|
layoutDirection="ltr"
|
|
1822
1824
|
onMoveShouldSetResponderCapture={[Function]}
|
|
1823
1825
|
onPageScroll={[Function]}
|
|
1824
1826
|
onPageScrollStateChanged={[Function]}
|
|
1825
1827
|
onPageSelected={[Function]}
|
|
1828
|
+
useLegacy={true}
|
|
1826
1829
|
>
|
|
1827
1830
|
<View
|
|
1828
1831
|
collapsable={false}
|
|
@@ -1978,7 +1981,7 @@ exports[`useIsFocused renders correctly: xxxxxx 1`] = `
|
|
|
1978
1981
|
</Text>
|
|
1979
1982
|
</View>
|
|
1980
1983
|
</View>
|
|
1981
|
-
</
|
|
1984
|
+
</LEGACY_RNCViewPager>
|
|
1982
1985
|
</View>
|
|
1983
1986
|
</RNCSafeAreaProvider>
|
|
1984
1987
|
<View
|
|
@@ -12,7 +12,6 @@ import ActiveTabIndicator from './ActiveTabIndicator';
|
|
|
12
12
|
import SceneView from './SceneView';
|
|
13
13
|
import ScrollableTabs from './ScrollableTabs';
|
|
14
14
|
import {
|
|
15
|
-
ContentWrapper,
|
|
16
15
|
HeaderTab,
|
|
17
16
|
HeaderTabItem,
|
|
18
17
|
HeaderTabWrapper,
|
|
@@ -78,6 +77,8 @@ export interface TabsProps extends ViewProps {
|
|
|
78
77
|
testID?: string;
|
|
79
78
|
}
|
|
80
79
|
|
|
80
|
+
const AnimatedPagerView = Animated.createAnimatedComponent(PagerView);
|
|
81
|
+
|
|
81
82
|
const getTabItem = ({
|
|
82
83
|
item,
|
|
83
84
|
color,
|
|
@@ -193,7 +194,8 @@ const Tabs = ({
|
|
|
193
194
|
/>
|
|
194
195
|
</View>
|
|
195
196
|
</HeaderTabWrapper>
|
|
196
|
-
<
|
|
197
|
+
<AnimatedPagerView
|
|
198
|
+
useNext
|
|
197
199
|
initialPage={selectedTabIndex}
|
|
198
200
|
ref={pagerViewRef}
|
|
199
201
|
onPageSelected={(e) => {
|
|
@@ -217,6 +219,7 @@ const Tabs = ({
|
|
|
217
219
|
}
|
|
218
220
|
)}
|
|
219
221
|
scrollEnabled={swipeEnabled}
|
|
222
|
+
style={{ flex: 1 }}
|
|
220
223
|
>
|
|
221
224
|
{tabs.map((tab, index) => {
|
|
222
225
|
const { key, component, testID } = tab;
|
|
@@ -236,7 +239,7 @@ const Tabs = ({
|
|
|
236
239
|
</ScreenContext.Provider>
|
|
237
240
|
);
|
|
238
241
|
})}
|
|
239
|
-
</
|
|
242
|
+
</AnimatedPagerView>
|
|
240
243
|
</TabContainer>
|
|
241
244
|
</TabContext.Provider>
|
|
242
245
|
);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { useAvatarColors } from './AvatarStack/utils';
|
|
3
2
|
declare const _default: (({ onPress, source, testID, style, title, size, intent, }: import("./Avatar").AvatarProps) => import("react").JSX.Element | null) & {
|
|
4
3
|
Stack: ({ children, max, size, style, testID, variant, total, renderSurplus, }: import("./AvatarStack").AvatarStackProps) => import("react").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Animated, KeyboardAvoidingView, KeyboardAvoidingViewProps, SafeAreaView, View } from 'react-native';
|
|
3
2
|
import type { ViewProps } from 'react-native';
|
|
4
3
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TouchableOpacity, View } from 'react-native';
|
|
3
2
|
import type { ViewProps } from 'react-native';
|
|
4
3
|
declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
@@ -23,7 +22,7 @@ declare const StyledCalendarCell: import("@emotion/native").StyledComponent<impo
|
|
|
23
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
24
23
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
25
24
|
} & {
|
|
26
|
-
variant?: "
|
|
25
|
+
variant?: "selected" | "default" | "current" | undefined;
|
|
27
26
|
}, {}, {
|
|
28
27
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
29
28
|
}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TouchableOpacity, View } from 'react-native';
|
|
3
2
|
declare type CheckboxThemeState = 'default' | 'disabled' | 'readonly';
|
|
4
3
|
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Animated, View } from 'react-native';
|
|
3
2
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
4
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const _default: import("react").ForwardRefExoticComponent<import("./FAB").FABProps & import("react").RefAttributes<import("./FAB").FABHandles>> & {
|
|
3
2
|
ActionGroup: import("react").ForwardRefExoticComponent<import("./ActionGroup").ActionGroupProps & import("react").RefAttributes<import("./ActionGroup").ActionGroupHandles>>;
|
|
4
3
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare type ThemeSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
2
|
declare type ThemeIntent = 'text' | 'primary' | 'secondary' | 'info' | 'danger' | 'success' | 'warning' | 'disabled-text' | 'text-inverted';
|
|
4
3
|
declare const StyledHeroIcon: import("@emotion/native").StyledComponent<import("react-native-vector-icons/Icon").IconProps & {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const isHeroIcon: (x: any) => x is "number" | "swag" | "wallet" | "bold" | "menu" | "filter" | "image" | "switch" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "
|
|
1
|
+
declare const isHeroIcon: (x: any) => x is "number" | "swag" | "wallet" | "bold" | "menu" | "filter" | "image" | "switch" | "target" | "restart" | "directory" | "document" | "feed" | "list" | "billing" | "home" | "user" | "send" | "file" | "loading" | "sync" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "bolt" | "bookmark-added" | "bookmark" | "box-check" | "box" | "bpay" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "caret-down-small" | "caret-down" | "caret-left-small" | "caret-left" | "caret-right-small" | "caret-right" | "caret-up-small" | "caret-up" | "check-radio" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock-3" | "clock" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "dollar-coin-shine" | "double-buildings" | "edit-template" | "envelope" | "exclude" | "expand-content" | "expense" | "explore_nearby" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "folder-user" | "folder" | "format-bold" | "format-heading1" | "format-heading2" | "format-italic" | "format-list-bulleted" | "format-list-numbered" | "format-underlined" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "hero-points" | "import" | "incident-siren" | "instapay-daily" | "instapay-now" | "instapay" | "loading-2" | "location-on" | "location" | "lock" | "looks-one" | "looks-two" | "media-content" | "money-notes" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "near-me" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane-up" | "plane" | "play-circle" | "print" | "raising-hands" | "reply-arrow" | "reply" | "reschedule" | "rostering" | "salary-sacrifice" | "save" | "schedule-send" | "schedule" | "search-person" | "speaker-active" | "speaker" | "star-award" | "star-badge" | "star-circle" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "surfing" | "survey" | "swag-pillar-benefit" | "swag-pillar-career" | "swag-pillar-money" | "swag-pillar-work" | "swipe-right" | "tag" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "video-1" | "video-2" | "activate-outlined" | "add-credit-card-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "ai-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "application-outlined" | "arrow-down" | "arrow-downwards" | "arrow-left" | "arrow-leftwards" | "arrow-right" | "arrow-rightwards" | "arrow-up" | "arrow-upwards" | "article-outlined" | "at-sign" | "auto-graph-outlined" | "beer-outlined" | "bell-active-outlined" | "bell-outlined" | "bell-slash-outlined" | "bill-management-outlined" | "billing-outlined" | "body-outlined" | "bolt-outlined" | "book-outlined" | "bookmark-added-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "call-outlined" | "call-split-outlined" | "camera-outlined" | "cancel" | "car-forward-outlined" | "cashback-outlined" | "charging-station-outlined" | "chat-bubble-outlined" | "chat-unread-outlined" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-in-outlined" | "clock-out-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "coin-super-outlined" | "comment-outlined" | "contacts-outlined" | "contacts-user-outlined" | "credit-card-outlined" | "cup-outlined" | "dentistry-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-box-outlined" | "dollar-card-outlined" | "dollar-coin-shine-outlined" | "dollar-credit-card-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-box-outlined" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "end-break-outlined" | "enter-arrow" | "envelope-outlined" | "expense-approval-outlined" | "expense-outlined" | "explore-outlined" | "extension-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "fastfood-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-dollar-certified-outlined" | "file-dollar-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-statutory-outlined" | "file-verified-outlined" | "filter-outlined" | "folder-outlined" | "folder-user-outlined" | "form-outlined" | "funnel-filter-outline" | "goal-outlined" | "graph-outlined" | "hand-holding-user-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-active-outlined" | "home-outlined" | "id-card-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "job-search-outlined" | "leave-approval-outlined" | "link-1" | "link-2" | "list-outlined" | "live-help-outlined" | "local_mall_outlined" | "location-on-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "mail-outlined" | "map-outlined" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "multiple-folders-outlined" | "multiple-users-outlined" | "near-me-outlined" | "node-outlined" | "number-points" | "overview-outlined" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "propane-tank-outlined" | "qr-code-outlined" | "qualification-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "resume-outlined" | "return-arrow" | "rostering-outlined" | "safety-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "search-secured-outlined" | "send-outlined" | "share-1" | "share-2" | "share-outlined-2" | "share-outlined" | "shopping_basket_outlined" | "show-chart-outlined" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "smart-match-outlined" | "sparkle-outlined" | "speaker-active-outlined" | "speaker-outlined" | "star-circle-outlined" | "star-outlined" | "start-break-outlined" | "stash-outlined" | "stopwatch-outlined" | "strikethrough" | "styler-outlined" | "suitcase-clock-outlined" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "tag-outlined" | "target-outlined" | "tennis-outlined" | "ticket-outlined" | "timesheet-outlined" | "timesheets-outlined" | "today-outlined" | "transfer" | "trash-bin-outlined" | "umbrela-outlined" | "unavailability-outlined" | "unavailable" | "underline" | "union-outlined" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-gear-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "volunteer-outlined" | "wallet-outlined" | "wellness-outlined";
|
|
2
2
|
export { isHeroIcon };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const Progress: {
|
|
3
2
|
readonly Circle: ({ value, renderValue, intent, style, testID, ...nativeProps }: import("./ProgressCircle").ProgressCircleProps) => JSX.Element;
|
|
4
3
|
readonly Bar: ({ value, intent, style, testID, ...nativeProps }: import("./ProgressBar").ProgressBarProps) => JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const CompoundRadio: {
|
|
3
2
|
readonly Group: <T>({ value, onPress, options, keyExtractor, style, testID, inactiveIntent, }: import("./RadioGroup").RadioGroupProps<T>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
4
3
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TouchableOpacity, View } from 'react-native';
|
|
3
2
|
export declare const StyledToolbarButton: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
4
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { RichTextEditorProps, RichTextEditorRef } from './RichTextEditor';
|
|
3
2
|
export type { RichTextEditorProps, RichTextEditorRef };
|
|
4
3
|
declare const _default: import("react").ForwardRefExoticComponent<Omit<RichTextEditorProps, "forwardedRef"> & import("react").RefAttributes<RichTextEditorRef>> & {
|