@hero-design/rn 8.63.1-alpha.0 → 8.63.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -11
- package/es/index.js +943 -898
- package/lib/index.js +943 -898
- package/package.json +21 -21
- 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/Error/index.tsx +2 -2
- 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/Error/index.d.ts +2 -2
- 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
- package/.turbo/turbo-build.log +0 -5
|
@@ -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={false}
|
|
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;
|
|
@@ -52,5 +52,5 @@ interface ErrorProps extends ViewProps {
|
|
|
52
52
|
* @param {ErrorProps}
|
|
53
53
|
* @return {*} {ReactElement}
|
|
54
54
|
*/
|
|
55
|
-
declare const
|
|
56
|
-
export default
|
|
55
|
+
declare const ErrorComponent: ({ visible, variant, title, description, image, testID, ctaText, onCtaPress, secondaryCtaText, onSecondaryCtaPress, ...nativeProps }: ErrorProps) => ReactElement;
|
|
56
|
+
export default ErrorComponent;
|
|
@@ -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>> & {
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const StyledOptionList: <V, T extends import("../types").OptionType<V>>({ keyExtractor, loading, onEndReached, onQueryChange, sections, renderItem, sectionListRef, ...rest }: import("../BaseOptionList").BaseOptionListProps<V, T>) => import("react").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TouchableOpacity } from 'react-native';
|
|
3
2
|
export declare type ActionIntent = 'primary' | 'success' | 'danger';
|
|
4
3
|
export declare const StyledRectButton: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ComponentProps, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Swipeable as RnghSwipeable } from 'react-native-gesture-handler';
|
|
3
3
|
declare type State = 'closed' | 'leftOpen' | 'rightOpen';
|
|
4
4
|
declare type RnghSwipeableProps = ComponentProps<typeof RnghSwipeable>;
|
|
5
5
|
export interface SwipeableProps extends Pick<RnghSwipeableProps, 'enableTrackpadTwoFingerGesture' | 'friction' | 'leftThreshold' | 'rightThreshold' | 'overshootLeft' | 'overshootRight' | 'overshootFriction' | 'useNativeAnimations' | 'containerStyle' | 'childrenContainerStyle'> {
|
|
@@ -44,6 +44,6 @@ export interface SwipeableProps extends Pick<RnghSwipeableProps, 'enableTrackpad
|
|
|
44
44
|
}
|
|
45
45
|
declare const _default: (({ children, state, onStateChange, leftActions, leftActionsWidth, rightActions, rightActionsWidth, variant, ...swipeableProps }: SwipeableProps) => React.JSX.Element) & {
|
|
46
46
|
Action: ({ intent, onPress, style, children, testID, }: import("./SwipeableAction").SwipeableActionProps) => React.JSX.Element;
|
|
47
|
-
Content:
|
|
47
|
+
Content: React.ForwardRefExoticComponent<Omit<import("react-native-gesture-handler").RectButtonProps, "innerRef"> & React.RefAttributes<any>>;
|
|
48
48
|
};
|
|
49
49
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Animated, View } from 'react-native';
|
|
3
2
|
export declare type Variant = 'checked' | 'unchecked' | 'disabled-checked' | 'disabled-unchecked';
|
|
4
3
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Animated, View } from 'react-native';
|
|
3
|
-
import PagerView from 'react-native-pager-view';
|
|
4
2
|
declare const TabScreen: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
5
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
6
4
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -13,12 +11,6 @@ declare const TabContainer: import("@emotion/native").StyledComponent<import("re
|
|
|
13
11
|
}, {}, {
|
|
14
12
|
ref?: import("react").Ref<View> | undefined;
|
|
15
13
|
}>;
|
|
16
|
-
declare const ContentWrapper: import("@emotion/native").StyledComponent<import("react-native-pager-view").PagerViewProps & {
|
|
17
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
|
-
}, {}, {
|
|
20
|
-
ref?: import("react").Ref<PagerView> | undefined;
|
|
21
|
-
}>;
|
|
22
14
|
declare const HeaderTabWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
23
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
24
16
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -60,4 +52,4 @@ declare const HeaderTabItemIndicator: import("@emotion/native").StyledComponent<
|
|
|
60
52
|
theme?: import("@emotion/react").Theme | undefined;
|
|
61
53
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
62
54
|
}, {}, {}>;
|
|
63
|
-
export { HeaderTabItem, TabScreen, TabContainer, HeaderTabWrapper,
|
|
55
|
+
export { HeaderTabItem, TabScreen, TabContainer, HeaderTabWrapper, HeaderTabItemOutlineWrapper, HeaderTabItemOutline, HeaderTabItemWrapper, HeaderTabItemIndicator, };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Animated, View } from 'react-native';
|
|
3
|
-
import PagerView from 'react-native-pager-view';
|
|
4
2
|
declare const TabContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
5
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
6
4
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -32,10 +30,6 @@ declare const HeaderTabItem: import("@emotion/native").StyledComponent<import("r
|
|
|
32
30
|
}, {}, {
|
|
33
31
|
ref?: import("react").Ref<View> | undefined;
|
|
34
32
|
}>;
|
|
35
|
-
declare const ContentWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native-pager-view").PagerViewProps & import("react").RefAttributes<PagerView>> & {
|
|
36
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
37
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
38
|
-
}, {}, {}>;
|
|
39
33
|
declare const TabScreen: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
40
34
|
theme?: import("@emotion/react").Theme | undefined;
|
|
41
35
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -54,4 +48,4 @@ declare const StyledBadgeWrapper: import("@emotion/native").StyledComponent<impo
|
|
|
54
48
|
}, {}, {
|
|
55
49
|
ref?: import("react").Ref<View> | undefined;
|
|
56
50
|
}>;
|
|
57
|
-
export { TabContainer, HeaderTabWrapper, HeaderTab, HeaderTabItem,
|
|
51
|
+
export { TabContainer, HeaderTabWrapper, HeaderTab, HeaderTabItem, TabScreen, StyledIndicator, StyledBadgeWrapper, };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { View } from 'react-native';
|
|
3
2
|
declare type ThemeIntent = 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'archived';
|
|
4
3
|
declare const StyledView: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|