@ledgerhq/native-ui 0.22.0 → 0.22.1-nightly.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/lib/components/Cards/BannerCard/index.d.ts +1 -1
- package/lib/components/Cards/SideImageCard/index.d.ts +1 -1
- package/lib/components/Carousel/index.d.ts +1 -1
- package/lib/components/Carousel/index.js +1 -1
- package/lib/components/ChartCard/index.d.ts +1 -1
- package/lib/components/Form/SelectableList.d.ts +2 -2
- package/lib/components/Form/Slider/components.d.ts +2 -2
- package/lib/components/Form/Slider/index.d.ts +2 -2
- package/lib/components/Form/Slider/index.native.d.ts +2 -2
- package/lib/components/Icon/BoxedIcon.d.ts +3 -3
- package/lib/components/Icon/IconBadge.d.ts +2 -2
- package/lib/components/Layout/List/VerticalStepper/StepperItem.d.ts +2 -2
- package/lib/components/Layout/List/VerticalStepper/index.d.ts +1 -12
- package/lib/components/Layout/List/VerticalTimeline/TimelineIndicator.d.ts +2 -2
- package/lib/components/Layout/List/VerticalTimeline/TimelineItem.d.ts +2 -2
- package/lib/components/Layout/List/VerticalTimeline/index.d.ts +1 -1
- package/lib/components/Layout/Modals/BaseModal/index.d.ts +4 -2
- package/lib/components/Navigation/FlowStepper/index.d.ts +1 -1
- package/lib/components/Navigation/StoriesIndicator/index.d.ts +1 -1
- package/lib/components/ProgressBar/index.d.ts +1 -1
- package/lib/components/Text/index.d.ts +1 -1
- package/lib/components/cta/Button/index.js +1 -1
- package/lib/components/cta/QuickAction/QuickActionButton/index.d.ts +1 -1
- package/lib/components/message/Alert/index.d.ts +2 -2
- package/lib/components/message/Log/Brackets.d.ts +4 -4
- package/lib/components/transitions/Fade.d.ts +2 -2
- package/lib/components/transitions/Slide.d.ts +2 -2
- package/package.json +6 -6
|
@@ -21,6 +21,6 @@ export declare const ChevronContainer: import("styled-components").StyledCompone
|
|
|
21
21
|
position?: string | undefined;
|
|
22
22
|
maxHeight?: string | number | undefined;
|
|
23
23
|
}, never>;
|
|
24
|
-
export declare const CloseButton: ({ onPressDismiss }: CloseProps) => JSX.Element;
|
|
24
|
+
export declare const CloseButton: ({ onPressDismiss }: CloseProps) => React.JSX.Element;
|
|
25
25
|
declare const BannerCard: (props: CardProps) => React.ReactElement;
|
|
26
26
|
export default BannerCard;
|
|
@@ -27,6 +27,6 @@ export declare const ImageContainer: import("styled-components").StyledComponent
|
|
|
27
27
|
}, never>;
|
|
28
28
|
export declare const ImageContent: import("styled-components").StyledComponent<typeof Image, import("styled-components").DefaultTheme, {}, never>;
|
|
29
29
|
export declare const CloseContainer: import("styled-components").StyledComponent<typeof TouchableOpacity, import("styled-components").DefaultTheme, {}, never>;
|
|
30
|
-
export declare const CloseButton: (props: CardProps) => JSX.Element;
|
|
30
|
+
export declare const CloseButton: (props: CardProps) => React.JSX.Element;
|
|
31
31
|
declare const SideImageCard: (props: CardProps) => React.ReactElement;
|
|
32
32
|
export default SideImageCard;
|
|
@@ -70,6 +70,6 @@ export type Props = React.PropsWithChildren<{
|
|
|
70
70
|
*/
|
|
71
71
|
onManualChange?: (index: number) => void;
|
|
72
72
|
}>;
|
|
73
|
-
declare function Carousel({ activeIndex, autoDelay, restartAfterEnd, scrollOnSidePress, containerProps, slideIndicatorContainerProps, scrollViewProps, onChange, onOverflow, IndicatorComponent, maxDurationOfTap, children, onAutoChange, onManualChange, }: Props): JSX.Element;
|
|
73
|
+
declare function Carousel({ activeIndex, autoDelay, restartAfterEnd, scrollOnSidePress, containerProps, slideIndicatorContainerProps, scrollViewProps, onChange, onOverflow, IndicatorComponent, maxDurationOfTap, children, onAutoChange, onManualChange, }: Props): React.JSX.Element;
|
|
74
74
|
declare const _default: React.MemoExoticComponent<typeof Carousel>;
|
|
75
75
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useState, useRef, useCallback } from "react";
|
|
2
|
-
import { Platform } from "react-native";
|
|
2
|
+
import { Platform, } from "react-native";
|
|
3
3
|
import styled from "styled-components/native";
|
|
4
4
|
import { Flex, SlideIndicator } from "../index";
|
|
5
5
|
import { I18nManager } from "react-native";
|
|
@@ -20,8 +20,8 @@ export type Props<V> = React.PropsWithChildren<{
|
|
|
20
20
|
currentValue?: V;
|
|
21
21
|
onChange: (newValue: V) => void;
|
|
22
22
|
}>;
|
|
23
|
-
declare function SelectableList<V>({ currentValue, onChange, children }: Props<V>): JSX.Element;
|
|
23
|
+
declare function SelectableList<V>({ currentValue, onChange, children }: Props<V>): React.JSX.Element;
|
|
24
24
|
declare namespace SelectableList {
|
|
25
|
-
var Element: <V>(props: ElementProps<V>) => JSX.Element;
|
|
25
|
+
var Element: <V extends React.ReactNode>(props: ElementProps<V>) => React.JSX.Element;
|
|
26
26
|
}
|
|
27
27
|
export default SelectableList;
|
|
@@ -4,7 +4,7 @@ export declare const MinMaxTextContainer: import("styled-components").StyledComp
|
|
|
4
4
|
export declare const Notch: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
export declare const RailSelected: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
6
6
|
export declare const Rail: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
-
export declare const Thumb: () => JSX.Element;
|
|
7
|
+
export declare const Thumb: () => React.JSX.Element;
|
|
8
8
|
export declare const Label: ({ children }: {
|
|
9
9
|
children: React.ReactNode;
|
|
10
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import type { SliderProps } from "./index.native";
|
|
3
|
-
declare const SliderScreen: (_props: SliderProps) => JSX.Element;
|
|
3
|
+
declare const SliderScreen: (_props: SliderProps) => React.JSX.Element;
|
|
4
4
|
export default SliderScreen;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
export type SliderProps = {
|
|
3
3
|
step: number;
|
|
4
4
|
min: number;
|
|
@@ -9,5 +9,5 @@ export type SliderProps = {
|
|
|
9
9
|
onTouchEnd?: (low: number, high: number) => void;
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare const Slider: ({ value, min, max, step, onChange, onTouchEnd, onTouchStart, disabled, }: SliderProps) => JSX.Element;
|
|
12
|
+
declare const Slider: ({ value, min, max, step, onChange, onTouchEnd, onTouchStart, disabled, }: SliderProps) => React.JSX.Element;
|
|
13
13
|
export default Slider;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { IconOrElementType, NewIconOrElementType, NewIconProps, IconType } from "./type";
|
|
3
3
|
export declare const DEFAULT_BOX_SIZE = 40;
|
|
4
4
|
export declare const DEFAULT_ICON_SIZE = 16;
|
|
@@ -49,6 +49,6 @@ export type BoxedIconProps = IconBoxProps & {
|
|
|
49
49
|
*/
|
|
50
50
|
iconColor?: string;
|
|
51
51
|
};
|
|
52
|
-
export declare const IconBox: ({ Badge, size, children, borderColor, backgroundColor, badgeColor, badgeSize, variant, }: IconBoxProps) => JSX.Element;
|
|
53
|
-
declare const BoxedIcon: ({ Icon, iconSize, iconColor, ...iconBoxProps }: BoxedIconProps) => JSX.Element;
|
|
52
|
+
export declare const IconBox: ({ Badge, size, children, borderColor, backgroundColor, badgeColor, badgeSize, variant, }: IconBoxProps) => React.JSX.Element;
|
|
53
|
+
declare const BoxedIcon: ({ Icon, iconSize, iconColor, ...iconBoxProps }: BoxedIconProps) => React.JSX.Element;
|
|
54
54
|
export default BoxedIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { FlexBoxProps } from "../Layout/Flex";
|
|
3
3
|
import { IconOrElementType } from "./type";
|
|
4
4
|
export declare const DEFAULT_ICON_SIZE = 16;
|
|
@@ -22,5 +22,5 @@ export type IconBadgeProps = FlexBoxProps & {
|
|
|
22
22
|
*/
|
|
23
23
|
backgroundColor?: string;
|
|
24
24
|
};
|
|
25
|
-
declare const IconBadge: ({ Icon, iconSize, backgroundColor, iconColor, ...rest }: IconBadgeProps) => JSX.Element;
|
|
25
|
+
declare const IconBadge: ({ Icon, iconSize, backgroundColor, iconColor, ...rest }: IconBadgeProps) => React.JSX.Element;
|
|
26
26
|
export default IconBadge;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { Item } from "../types";
|
|
3
3
|
export type Props = {
|
|
4
4
|
item: Item;
|
|
@@ -8,4 +8,4 @@ export type Props = {
|
|
|
8
8
|
onTapIndex?: (_: number) => void;
|
|
9
9
|
index: number;
|
|
10
10
|
};
|
|
11
|
-
export default function StepperItem({ item, progress, nested, isLastItem, onTapIndex, index, }: Props): JSX.Element;
|
|
11
|
+
export default function StepperItem({ item, progress, nested, isLastItem, onTapIndex, index, }: Props): React.JSX.Element;
|
|
@@ -6,16 +6,5 @@ export type Props = BaseStyledProps & {
|
|
|
6
6
|
onTapIndex?: (arg0: number) => void;
|
|
7
7
|
nested?: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const _default: React.NamedExoticComponent<
|
|
10
|
-
columnGap?: string | number | undefined;
|
|
11
|
-
rowGap?: string | number | undefined;
|
|
12
|
-
color?: string | undefined;
|
|
13
|
-
display?: string | undefined;
|
|
14
|
-
position?: string | undefined;
|
|
15
|
-
maxHeight?: string | number | undefined;
|
|
16
|
-
} & {
|
|
17
|
-
steps?: Item[] | undefined;
|
|
18
|
-
onTapIndex?: ((arg0: number) => void) | undefined;
|
|
19
|
-
nested?: boolean | undefined;
|
|
20
|
-
}>;
|
|
9
|
+
declare const _default: React.NamedExoticComponent<Props>;
|
|
21
10
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { Props as FlexProps } from "../../Flex";
|
|
3
3
|
import { ItemStatus } from "../types";
|
|
4
4
|
export type Props = FlexProps & {
|
|
@@ -7,7 +7,7 @@ export type Props = FlexProps & {
|
|
|
7
7
|
isLastItem?: boolean;
|
|
8
8
|
topHeight?: number;
|
|
9
9
|
};
|
|
10
|
-
declare function TimelineIndicator({ status, isFirstItem, isLastItem, topHeight, ...props }: Props): JSX.Element;
|
|
10
|
+
declare function TimelineIndicator({ status, isFirstItem, isLastItem, topHeight, ...props }: Props): React.JSX.Element;
|
|
11
11
|
declare namespace TimelineIndicator {
|
|
12
12
|
var topSegmentDefaultHeight: number;
|
|
13
13
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { Item } from "../types";
|
|
3
3
|
export type Props = {
|
|
4
4
|
item: Item;
|
|
@@ -9,4 +9,4 @@ export type Props = {
|
|
|
9
9
|
index: number;
|
|
10
10
|
withExtraMarginOnActiveStep?: boolean;
|
|
11
11
|
};
|
|
12
|
-
export default function TimelineItem({ item, formatEstimatedTime, isFirstItem, isLastItem, setActiveIndex, index, withExtraMarginOnActiveStep, }: Props): JSX.Element;
|
|
12
|
+
export default function TimelineItem({ item, formatEstimatedTime, isFirstItem, isLastItem, setActiveIndex, index, withExtraMarginOnActiveStep, }: Props): React.JSX.Element;
|
|
@@ -15,7 +15,7 @@ export type Props = BaseStyledProps & {
|
|
|
15
15
|
autoScroll?: boolean;
|
|
16
16
|
contentContainerStyle?: StyleProp<ViewStyle>;
|
|
17
17
|
};
|
|
18
|
-
declare function VerticalTimeline({ steps, formatEstimatedTime, setActiveIndex, header, autoScroll, contentContainerStyle, ...props }: Props): JSX.Element;
|
|
18
|
+
declare function VerticalTimeline({ steps, formatEstimatedTime, setActiveIndex, header, autoScroll, contentContainerStyle, ...props }: Props): React.JSX.Element;
|
|
19
19
|
declare namespace VerticalTimeline {
|
|
20
20
|
var BodyText: React.FC<BaseTextProps>;
|
|
21
21
|
var SubtitleText: React.FC<BaseTextProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
2
|
import { ModalProps } from "react-native-modal";
|
|
3
3
|
import { StyleProp, ViewStyle } from "react-native";
|
|
4
4
|
import { IconOrElementType } from "../../../Icon/type";
|
|
@@ -16,7 +16,9 @@ export type BaseModalProps = {
|
|
|
16
16
|
subtitle?: string;
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
noCloseButton?: boolean;
|
|
19
|
-
CustomHeader?: React.ComponentType
|
|
19
|
+
CustomHeader?: React.ComponentType<{
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
}>;
|
|
20
22
|
} & Partial<ModalProps>;
|
|
21
23
|
export declare function ModalHeader({ Icon, iconColor, title, description, subtitle, }: Pick<BaseModalProps, "Icon" | "iconColor" | "title" | "description" | "subtitle">): React.ReactElement | null;
|
|
22
24
|
export declare function ModalHeaderCloseButton({ onClose, }: Pick<BaseModalProps, "onClose">): React.ReactElement;
|
|
@@ -66,5 +66,5 @@ export interface Props<ExtraProps> {
|
|
|
66
66
|
*/
|
|
67
67
|
children: React.ReactNode;
|
|
68
68
|
}
|
|
69
|
-
declare function FlowStepper<ExtraProps>({ activeIndex, header, footer, extraProps, progressBarProps, renderTransition, transitionDuration, children, }: Props<ExtraProps>): JSX.Element;
|
|
69
|
+
declare function FlowStepper<ExtraProps>({ activeIndex, header, footer, extraProps, progressBarProps, renderTransition, transitionDuration, children, }: Props<ExtraProps>): React.JSX.Element;
|
|
70
70
|
export default FlowStepper;
|
|
@@ -29,6 +29,6 @@ export interface StoriesIndicatorProps extends FlexBoxProps {
|
|
|
29
29
|
*/
|
|
30
30
|
duration?: number;
|
|
31
31
|
}
|
|
32
|
-
declare function StoriesIndicator({ activeIndex, slidesLength, duration }: StoriesIndicatorProps): JSX.Element;
|
|
32
|
+
declare function StoriesIndicator({ activeIndex, slidesLength, duration }: StoriesIndicatorProps): React.JSX.Element;
|
|
33
33
|
declare const _default: React.MemoExoticComponent<typeof StoriesIndicator>;
|
|
34
34
|
export default _default;
|
|
@@ -15,6 +15,6 @@ export interface Props extends FlexBoxProps {
|
|
|
15
15
|
*/
|
|
16
16
|
activeBarProps?: BaseStyledProps;
|
|
17
17
|
}
|
|
18
|
-
declare function ProgressBar({ index, length, activeBarProps, ...props }: Props): JSX.Element;
|
|
18
|
+
declare function ProgressBar({ index, length, activeBarProps, ...props }: Props): React.JSX.Element;
|
|
19
19
|
declare const _default: React.MemoExoticComponent<typeof ProgressBar>;
|
|
20
20
|
export default _default;
|
|
@@ -17,5 +17,5 @@ export interface BaseTextProps extends TextProps, BaseStyledProps, FontSizeProps
|
|
|
17
17
|
uppercase?: boolean;
|
|
18
18
|
children?: React.ReactNode;
|
|
19
19
|
}
|
|
20
|
-
declare const Text: ({ children, bracket, textAlign, testID, ...props }: BaseTextProps) => JSX.Element;
|
|
20
|
+
declare const Text: ({ children, bracket, textAlign, testID, ...props }: BaseTextProps) => React.JSX.Element;
|
|
21
21
|
export default Text;
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import React, { useCallback, useState, useMemo } from "react";
|
|
11
11
|
import styled, { useTheme } from "styled-components/native";
|
|
12
|
-
import { ActivityIndicator, TouchableOpacity, View } from "react-native";
|
|
12
|
+
import { ActivityIndicator, TouchableOpacity, View, } from "react-native";
|
|
13
13
|
import { buttonSizeStyle, getButtonColorStyle } from "../../cta/Button/getButtonStyle";
|
|
14
14
|
import { ctaIconSize, ctaTextType } from "../../cta/getCtaStyle";
|
|
15
15
|
import Text from "../../Text";
|
|
@@ -11,7 +11,7 @@ export type QuickActionButtonProps = TouchableOpacityProps & BaseStyledProps & {
|
|
|
11
11
|
textVariant?: TextVariants;
|
|
12
12
|
variant?: Variant;
|
|
13
13
|
};
|
|
14
|
-
export declare const StyledText: import("styled-components").StyledComponent<({ children, bracket, textAlign, testID, ...props }: import("../../../Text").BaseTextProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
14
|
+
export declare const StyledText: import("styled-components").StyledComponent<({ children, bracket, textAlign, testID, ...props }: import("../../../Text").BaseTextProps) => React.JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
15
15
|
export declare const Base: import("styled-components").StyledComponent<typeof TouchableOpacity, import("styled-components").DefaultTheme, TouchableOpacityProps & {
|
|
16
16
|
visuallyDisabled?: boolean | undefined;
|
|
17
17
|
variant: Variant;
|
|
@@ -19,12 +19,12 @@ export interface AlertProps {
|
|
|
19
19
|
}
|
|
20
20
|
declare function Alert({ type, Icon, title, showIcon, children }: AlertProps): JSX.Element;
|
|
21
21
|
declare namespace Alert {
|
|
22
|
-
var BodyText: import("styled-components").StyledComponent<({ children, bracket, textAlign, testID, ...props }: import("../../Text").BaseTextProps) => JSX.Element, import("styled-components").DefaultTheme, {
|
|
22
|
+
var BodyText: import("styled-components").StyledComponent<({ children, bracket, textAlign, testID, ...props }: import("../../Text").BaseTextProps) => React.JSX.Element, import("styled-components").DefaultTheme, {
|
|
23
23
|
flexShrink: 1;
|
|
24
24
|
variant: "bodyLineHeight";
|
|
25
25
|
fontWeight: "semiBold";
|
|
26
26
|
}, "fontWeight" | "flexShrink" | "variant">;
|
|
27
|
-
var UnderlinedText: import("styled-components").StyledComponent<({ children, bracket, textAlign, testID, ...props }: import("../../Text").BaseTextProps) => JSX.Element, import("styled-components").DefaultTheme, {
|
|
27
|
+
var UnderlinedText: import("styled-components").StyledComponent<({ children, bracket, textAlign, testID, ...props }: import("../../Text").BaseTextProps) => React.JSX.Element, import("styled-components").DefaultTheme, {
|
|
28
28
|
flexShrink: 1;
|
|
29
29
|
variant: "bodyLineHeight";
|
|
30
30
|
fontWeight: "semiBold";
|
|
@@ -8,8 +8,8 @@ type BaseBracketProps = FlexBoxProps & BracketProps & {
|
|
|
8
8
|
style?: ViewStyle;
|
|
9
9
|
};
|
|
10
10
|
export declare const Bracket: ({ color, style, mb, mt }: BaseBracketProps) => React.ReactElement;
|
|
11
|
-
export declare const BracketTopLeft: ({ color }: BracketProps) => JSX.Element;
|
|
12
|
-
export declare const BracketTopRight: ({ color }: BracketProps) => JSX.Element;
|
|
13
|
-
export declare const BracketBottomLeft: ({ color }: BracketProps) => JSX.Element;
|
|
14
|
-
export declare const BracketBottomRight: ({ color }: BracketProps) => JSX.Element;
|
|
11
|
+
export declare const BracketTopLeft: ({ color }: BracketProps) => React.JSX.Element;
|
|
12
|
+
export declare const BracketTopRight: ({ color }: BracketProps) => React.JSX.Element;
|
|
13
|
+
export declare const BracketBottomLeft: ({ color }: BracketProps) => React.JSX.Element;
|
|
14
|
+
export declare const BracketBottomRight: ({ color }: BracketProps) => React.JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { TransitionProps } from "./types";
|
|
3
3
|
export interface FadeProps extends TransitionProps {
|
|
4
4
|
/**
|
|
@@ -9,4 +9,4 @@ export interface FadeProps extends TransitionProps {
|
|
|
9
9
|
/**
|
|
10
10
|
* A fade-in / fade-out transition changing the opacity of its children based on their status.
|
|
11
11
|
*/
|
|
12
|
-
export declare function Fade({ status, delay, duration, style, children }: FadeProps): JSX.Element;
|
|
12
|
+
export declare function Fade({ status, delay, duration, style, children }: FadeProps): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { TransitionProps } from "./types";
|
|
3
3
|
export interface SlideProps extends TransitionProps {
|
|
4
4
|
/**
|
|
@@ -9,4 +9,4 @@ export interface SlideProps extends TransitionProps {
|
|
|
9
9
|
/**
|
|
10
10
|
* A slide left/right transition translating its children based on their status and a given direction.
|
|
11
11
|
*/
|
|
12
|
-
export declare function Slide({ status, duration, style, direction, children }: SlideProps): JSX.Element;
|
|
12
|
+
export declare function Slide({ status, duration, style, direction, children }: SlideProps): React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/native-ui",
|
|
3
|
-
"version": "0.22.0",
|
|
3
|
+
"version": "0.22.1-nightly.0",
|
|
4
4
|
"description": "Ledger Live - Mobile UI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"rn-range-slider": "2.1.1",
|
|
47
47
|
"styled-system": "^5.1.5",
|
|
48
48
|
"victory-native": "^35.5.5",
|
|
49
|
-
"@ledgerhq/crypto-icons-ui": "^0.5.
|
|
50
|
-
"@ledgerhq/icons-ui": "^0.6.
|
|
49
|
+
"@ledgerhq/crypto-icons-ui": "^0.5.2-nightly.0",
|
|
50
|
+
"@ledgerhq/icons-ui": "^0.6.2-nightly.0",
|
|
51
51
|
"@ledgerhq/ui-shared": "^0.2.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
101
101
|
"@types/node": "^18.0.0",
|
|
102
102
|
"@types/prop-types": "^15.7.5",
|
|
103
|
-
"@types/react": "^
|
|
103
|
+
"@types/react": "^18.2.21",
|
|
104
104
|
"@types/react-native": "0.71.5",
|
|
105
105
|
"@types/styled-components": "^5.1.3",
|
|
106
106
|
"@types/styled-components-react-native": "^5.1.3",
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
"metro-transform-worker": "^0.76.0",
|
|
134
134
|
"minimatch": "^5.1.0",
|
|
135
135
|
"prop-types": "^15.8.1",
|
|
136
|
-
"react": "^18",
|
|
137
|
-
"react-dom": "^18",
|
|
136
|
+
"react": "^18.2.0",
|
|
137
|
+
"react-dom": "^18.2.0",
|
|
138
138
|
"react-is": "^18",
|
|
139
139
|
"react-native": "0.71.6",
|
|
140
140
|
"react-native-reanimated": "^3.1.0",
|