@ledgerhq/native-ui 0.51.0-nightly.20251227023924 → 0.51.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 +4 -14
- package/lib/components/Cards/BannerCard/index.d.ts.map +1 -1
- package/lib/components/Cards/BannerCard/index.js +1 -1
- package/lib/components/Cards/FullBackgroundCard/ColoredGradient.js +1 -1
- package/lib/components/Cards/NotificationCard/index.d.ts +2 -3
- package/lib/components/Cards/NotificationCard/index.d.ts.map +1 -1
- package/lib/components/Cards/SideImageCard/index.d.ts +6 -23
- package/lib/components/Cards/SideImageCard/index.d.ts.map +1 -1
- package/lib/components/Cards/SideImageCard/index.js +1 -1
- package/lib/components/Carousel/index.d.ts +4 -1
- package/lib/components/Carousel/index.d.ts.map +1 -1
- package/lib/components/Form/Input/AnimatedInputSelect/inputTextColor.d.ts +1 -1
- package/lib/components/Form/Input/BaseInput/index.d.ts +15 -28
- package/lib/components/Form/Input/BaseInput/index.d.ts.map +1 -1
- package/lib/components/Form/Slider/components.d.ts +5 -4
- package/lib/components/Form/Slider/components.d.ts.map +1 -1
- package/lib/components/Icon/BoxedIcon.js +1 -1
- package/lib/components/Icon/IconBox/index.d.ts.map +1 -1
- package/lib/components/Icon/IconBox/index.js +4 -4
- package/lib/components/Layout/Box/index.d.ts +1 -1
- package/lib/components/Layout/Box/index.d.ts.map +1 -1
- package/lib/components/Layout/Flex/index.d.ts +1 -1
- package/lib/components/Layout/Flex/index.d.ts.map +1 -1
- package/lib/components/Layout/List/VerticalTimeline/TimelineItem.js +1 -1
- package/lib/components/Layout/ScrollContainerHeader/index.d.ts +1 -1
- package/lib/components/Layout/ScrollContainerHeader/index.d.ts.map +1 -1
- package/lib/components/Loader/InfiniteLoader/index.d.ts +2 -3
- package/lib/components/Loader/InfiniteLoader/index.d.ts.map +1 -1
- package/lib/components/Tabs/Graph/index.d.ts.map +1 -1
- package/lib/components/Tabs/TemplateTabs/index.d.ts +4 -3
- package/lib/components/Tabs/TemplateTabs/index.d.ts.map +1 -1
- package/lib/components/Tabs/TemplateTabs/index.js +3 -2
- package/lib/components/Text/index.d.ts.map +1 -1
- package/lib/components/cta/Button/index.d.ts +3 -6
- package/lib/components/cta/Button/index.d.ts.map +1 -1
- package/lib/components/cta/Button/index.js +1 -1
- package/lib/components/cta/Link/index.d.ts +2 -3
- package/lib/components/cta/Link/index.d.ts.map +1 -1
- package/lib/components/cta/QuickAction/QuickActionButton/index.d.ts +3 -5
- package/lib/components/cta/QuickAction/QuickActionButton/index.d.ts.map +1 -1
- package/lib/components/message/Alert/index.d.ts +11 -2
- package/lib/components/message/Alert/index.d.ts.map +1 -1
- package/lib/components/message/Notification/index.d.ts.map +1 -1
- package/lib/components/styled.d.ts +5 -28
- package/lib/components/styled.d.ts.map +1 -1
- package/lib/components/styled.js +0 -1
- package/lib/pre-ldls/components/sharedStoryBook.d.ts +2 -1
- package/lib/pre-ldls/components/sharedStoryBook.d.ts.map +1 -1
- package/lib/styles/StyleProvider.d.ts +1 -1
- package/lib/styles/StyleProvider.d.ts.map +1 -1
- package/package.json +7 -6
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { TouchableOpacityProps } from "react-native";
|
|
3
4
|
export type CardProps = TouchableOpacityProps & {
|
|
@@ -10,20 +11,9 @@ export type CardProps = TouchableOpacityProps & {
|
|
|
10
11
|
type CloseProps = {
|
|
11
12
|
onPressDismiss?: () => void;
|
|
12
13
|
};
|
|
13
|
-
export declare const Container: import("styled-components
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export declare const CloseContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<Omit<TouchableOpacityProps & React.RefAttributes<import("react-native").View>, "ref"> & {
|
|
17
|
-
ref?: ((instance: import("react-native").View | null) => void) | React.RefObject<import("react-native").View> | null | undefined;
|
|
18
|
-
}, never>>;
|
|
19
|
-
export declare const ChevronContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, "color" | "bottom" | "top" | "left" | "right" | "flex" | "p" | "height" | "width" | "border" | "size" | "display" | "opacity" | "order" | "overflow" | "position" | "padding" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "verticalAlign" | "backgroundColor" | "borderColor" | "alignContent" | "alignItems" | "alignSelf" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderTopWidth" | "borderWidth" | "flexBasis" | "flexDirection" | "rowGap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "zIndex" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderStyle" | "borderTopColor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "justifyItems" | "justifySelf" | "bg" | "overflowX" | "overflowY" | "borderX" | "borderY" | "borderTopStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "background" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat"> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").OverflowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> & {
|
|
20
|
-
columnGap?: string | number | undefined;
|
|
21
|
-
rowGap?: string | number | undefined;
|
|
22
|
-
color?: string | undefined;
|
|
23
|
-
display?: string | undefined;
|
|
24
|
-
position?: string | undefined;
|
|
25
|
-
maxHeight?: string | number | undefined;
|
|
26
|
-
}, never>>;
|
|
14
|
+
export declare const Container: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<TouchableOpacityProps & React.RefAttributes<import("react-native").View>>, import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
+
export declare const CloseContainer: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<TouchableOpacityProps & React.RefAttributes<import("react-native").View>>, import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
+
export declare const ChevronContainer: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, import("../../styled").BaseStyledProps, never>;
|
|
27
17
|
export declare const CloseButton: ({ onPressDismiss }: CloseProps) => React.JSX.Element;
|
|
28
18
|
declare const BannerCard: (props: CardProps) => React.ReactElement;
|
|
29
19
|
export default BannerCard;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/BannerCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAoB,MAAM,cAAc,CAAC;AAMvE,MAAM,MAAM,SAAS,GAAG,qBAAqB,GAAG;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC1B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,eAAe,EAAE,OAAO,GAAG,OAAO,CAAC;CACpC,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/BannerCard/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAoB,MAAM,cAAc,CAAC;AAMvE,MAAM,MAAM,SAAS,GAAG,qBAAqB,GAAG;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC1B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,eAAe,EAAE,OAAO,GAAG,OAAO,CAAC;CACpC,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,SAAS,6MAUrB,CAAC;AAEF,eAAO,MAAM,cAAc,6MAQ1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,0KAM5B,CAAC;AAEF,eAAO,MAAM,WAAW,uBAAwB,UAAU,sBAOzD,CAAC;AAsCF,QAAA,MAAM,UAAU,UAAW,SAAS,KAAG,MAAM,YAE5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -17,7 +17,7 @@ export const Container = styled(TouchableOpacity) `
|
|
|
17
17
|
`;
|
|
18
18
|
export const CloseContainer = styled(TouchableOpacity) `
|
|
19
19
|
background-color: ${(p) => p.theme.colors.opacityDefault.c05};
|
|
20
|
-
border-radius:
|
|
20
|
+
border-radius: 50;
|
|
21
21
|
height: 24px;
|
|
22
22
|
width: 24px;
|
|
23
23
|
display: flex;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { TouchableOpacityProps } from "react-native";
|
|
3
4
|
export type CardProps = TouchableOpacityProps & {
|
|
@@ -12,8 +13,6 @@ export type CardProps = TouchableOpacityProps & {
|
|
|
12
13
|
viewed: boolean;
|
|
13
14
|
};
|
|
14
15
|
declare const NotificationCard: (props: CardProps) => React.ReactElement;
|
|
15
|
-
export declare const Base: import("styled-components
|
|
16
|
-
ref?: ((instance: import("react-native").View | null) => void) | React.RefObject<import("react-native").View> | null | undefined;
|
|
17
|
-
}, never>>;
|
|
16
|
+
export declare const Base: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<TouchableOpacityProps & React.RefAttributes<import("react-native").View>>, import("styled-components").DefaultTheme, {}, never>;
|
|
18
17
|
export default NotificationCard;
|
|
19
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/NotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,EAAE,qBAAqB,EAAoB,MAAM,cAAc,CAAC;AAEvE,MAAM,MAAM,SAAS,GAAG,qBAAqB,GAAG;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACvC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AA0BF,QAAA,MAAM,gBAAgB,UAAW,SAAS,KAAG,MAAM,YAwElD,CAAC;AAEF,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/NotificationCard/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,EAAE,qBAAqB,EAAoB,MAAM,cAAc,CAAC;AAEvE,MAAM,MAAM,SAAS,GAAG,qBAAqB,GAAG;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACvC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AA0BF,QAAA,MAAM,gBAAgB,UAAW,SAAS,KAAG,MAAM,YAwElD,CAAC;AAEF,eAAO,MAAM,IAAI,6MAA6B,CAAC;AAM/C,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { TouchableOpacityProps, Image } from "react-native";
|
|
3
4
|
export type CardProps = TouchableOpacityProps & {
|
|
@@ -7,29 +8,11 @@ export type CardProps = TouchableOpacityProps & {
|
|
|
7
8
|
imageUrl?: string;
|
|
8
9
|
onPressDismiss?: () => void;
|
|
9
10
|
};
|
|
10
|
-
export declare const Base: import("styled-components
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare const
|
|
14
|
-
|
|
15
|
-
rowGap?: string | number | undefined;
|
|
16
|
-
color?: string | undefined;
|
|
17
|
-
display?: string | undefined;
|
|
18
|
-
position?: string | undefined;
|
|
19
|
-
maxHeight?: string | number | undefined;
|
|
20
|
-
}, never>>;
|
|
21
|
-
export declare const ImageContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, "color" | "bottom" | "top" | "left" | "right" | "flex" | "p" | "height" | "width" | "border" | "size" | "display" | "opacity" | "order" | "overflow" | "position" | "padding" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "verticalAlign" | "backgroundColor" | "borderColor" | "alignContent" | "alignItems" | "alignSelf" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderTopWidth" | "borderWidth" | "flexBasis" | "flexDirection" | "rowGap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "zIndex" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderStyle" | "borderTopColor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "justifyItems" | "justifySelf" | "bg" | "overflowX" | "overflowY" | "borderX" | "borderY" | "borderTopStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "background" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat"> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").OverflowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> & {
|
|
22
|
-
columnGap?: string | number | undefined;
|
|
23
|
-
rowGap?: string | number | undefined;
|
|
24
|
-
color?: string | undefined;
|
|
25
|
-
display?: string | undefined;
|
|
26
|
-
position?: string | undefined;
|
|
27
|
-
maxHeight?: string | number | undefined;
|
|
28
|
-
}, never>>;
|
|
29
|
-
export declare const ImageContent: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ImageProps & React.RefAttributes<Image>, never>>;
|
|
30
|
-
export declare const CloseContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<Omit<TouchableOpacityProps & React.RefAttributes<import("react-native").View>, "ref"> & {
|
|
31
|
-
ref?: ((instance: import("react-native").View | null) => void) | React.RefObject<import("react-native").View> | null | undefined;
|
|
32
|
-
}, never>>;
|
|
11
|
+
export declare const Base: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<TouchableOpacityProps & React.RefAttributes<import("react-native").View>>, import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
export declare const Container: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, import("../../styled").BaseStyledProps, never>;
|
|
13
|
+
export declare const ImageContainer: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, import("../../styled").BaseStyledProps, never>;
|
|
14
|
+
export declare const ImageContent: import("styled-components").StyledComponent<typeof Image, import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
+
export declare const CloseContainer: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<TouchableOpacityProps & React.RefAttributes<import("react-native").View>>, import("styled-components").DefaultTheme, {}, never>;
|
|
33
16
|
export declare const CloseButton: (props: CardProps) => React.JSX.Element;
|
|
34
17
|
declare const SideImageCard: (props: CardProps) => React.ReactElement;
|
|
35
18
|
export default SideImageCard;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/SideImageCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAoB,KAAK,EAAE,MAAM,cAAc,CAAC;AAQ9E,MAAM,MAAM,SAAS,GAAG,qBAAqB,GAAG;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/SideImageCard/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAoB,KAAK,EAAE,MAAM,cAAc,CAAC;AAQ9E,MAAM,MAAM,SAAS,GAAG,qBAAqB,GAAG;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,IAAI,6MAEhB,CAAC;AAEF,eAAO,MAAM,SAAS,0KAIrB,CAAC;AAEF,eAAO,MAAM,cAAc,0KAI1B,CAAC;AACF,eAAO,MAAM,YAAY,gHAIxB,CAAC;AAEF,eAAO,MAAM,cAAc,6MAW1B,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,SAAS,sBAO3C,CAAC;AAiEF,QAAA,MAAM,aAAa,UAAW,SAAS,KAAG,MAAM,YAM/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { ScrollView, ViewProps } from "react-native";
|
|
3
4
|
import type { Props as FlexboxProps } from "../Layout/Flex";
|
|
4
|
-
declare const HorizontalScrollView: import("styled-components
|
|
5
|
+
declare const HorizontalScrollView: import("styled-components").StyledComponent<typeof ScrollView, import("styled-components").DefaultTheme, {
|
|
6
|
+
horizontal: true;
|
|
7
|
+
}, "horizontal">;
|
|
5
8
|
export type Props = React.PropsWithChildren<{
|
|
6
9
|
/**
|
|
7
10
|
* Forces the selection of a specific item of the carousel.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EAEL,UAAU,EACV,SAAS,EAIV,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG5D,QAAA,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EAEL,UAAU,EACV,SA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K,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,CAAC,CAAC;AAOH,iBAAS,QAAQ,CAAC,EAChB,WAAe,EACf,SAAS,EACT,eAAsB,EACtB,iBAAyB,EACzB,cAAc,EACd,4BAA4B,EAC5B,eAAe,EACf,QAAQ,EACR,UAAU,EACV,kBAAmC,EACnC,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,cAAc,GACf,EAAE,KAAK,qBA6KP;;AAED,wBAAoC"}
|
|
@@ -13,6 +13,6 @@ type getInputStatusProps = {
|
|
|
13
13
|
hasValue?: boolean;
|
|
14
14
|
hasError?: boolean;
|
|
15
15
|
};
|
|
16
|
-
export declare const getInputStatus: ({ focused, hasValue, hasError }: getInputStatusProps) => "error" | "default" | "
|
|
16
|
+
export declare const getInputStatus: ({ focused, hasValue, hasError }: getInputStatusProps) => "error" | "default" | "focused" | "filled";
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=inputTextColor.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { TextInput, TextInputProps, StyleProp, ViewStyle, TextStyle } from "react-native";
|
|
3
4
|
export type CommonProps = TextInputProps & {
|
|
@@ -69,44 +70,30 @@ export type InputProps<T = string> = Omit<CommonProps, "value" | "onChange"> & {
|
|
|
69
70
|
*/
|
|
70
71
|
color?: string;
|
|
71
72
|
};
|
|
72
|
-
export declare const InputRenderLeftContainer: import("styled-components
|
|
73
|
+
export declare const InputRenderLeftContainer: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").OverflowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> & {
|
|
73
74
|
columnGap?: string | number | undefined;
|
|
74
75
|
rowGap?: string | number | undefined;
|
|
75
76
|
color?: string | undefined;
|
|
76
|
-
display?: string | undefined;
|
|
77
|
-
* The value of the input.
|
|
78
|
-
*/
|
|
79
|
-
position?: string | undefined;
|
|
80
|
-
maxHeight?: string | number | undefined;
|
|
81
|
-
}, import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, "color" | "bottom" | "top" | "left" | "right" | "flex" | "p" | "height" | "width" | "border" | "size" | "display" | "opacity" | "order" | "overflow" | "position" | "padding" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "verticalAlign" | "backgroundColor" | "borderColor" | "alignContent" | "alignItems" | "alignSelf" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderTopWidth" | "borderWidth" | "flexBasis" | "flexDirection" | "rowGap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "zIndex" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderStyle" | "borderTopColor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "justifyItems" | "justifySelf" | "bg" | "overflowX" | "overflowY" | "borderX" | "borderY" | "borderTopStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "background" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat"> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").OverflowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> & {
|
|
82
|
-
columnGap?: string | number | undefined;
|
|
83
|
-
rowGap?: string | number | undefined;
|
|
84
|
-
color?: string | undefined;
|
|
85
|
-
display?: string | undefined; /**
|
|
86
|
-
* The value of the input.
|
|
87
|
-
*/
|
|
77
|
+
display?: string | undefined;
|
|
88
78
|
position?: string | undefined;
|
|
89
79
|
maxHeight?: string | number | undefined;
|
|
90
|
-
}
|
|
91
|
-
|
|
80
|
+
} & {
|
|
81
|
+
alignItems: string;
|
|
82
|
+
flexDirection: string;
|
|
83
|
+
paddingRight: string;
|
|
84
|
+
}, "alignItems" | "flexDirection" | "paddingRight">;
|
|
85
|
+
export declare const InputRenderRightContainer: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").OverflowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> & {
|
|
92
86
|
columnGap?: string | number | undefined;
|
|
93
87
|
rowGap?: string | number | undefined;
|
|
94
88
|
color?: string | undefined;
|
|
95
|
-
display?: string | undefined;
|
|
96
|
-
* The value of the input.
|
|
97
|
-
*/
|
|
98
|
-
position?: string | undefined;
|
|
99
|
-
maxHeight?: string | number | undefined;
|
|
100
|
-
}, import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, "color" | "bottom" | "top" | "left" | "right" | "flex" | "p" | "height" | "width" | "border" | "size" | "display" | "opacity" | "order" | "overflow" | "position" | "padding" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "verticalAlign" | "backgroundColor" | "borderColor" | "alignContent" | "alignItems" | "alignSelf" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderTopWidth" | "borderWidth" | "flexBasis" | "flexDirection" | "rowGap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "zIndex" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderStyle" | "borderTopColor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "justifyItems" | "justifySelf" | "bg" | "overflowX" | "overflowY" | "borderX" | "borderY" | "borderTopStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "background" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat"> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").OverflowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> & {
|
|
101
|
-
columnGap?: string | number | undefined;
|
|
102
|
-
rowGap?: string | number | undefined;
|
|
103
|
-
color?: string | undefined;
|
|
104
|
-
display?: string | undefined; /**
|
|
105
|
-
* The value of the input.
|
|
106
|
-
*/
|
|
89
|
+
display?: string | undefined;
|
|
107
90
|
position?: string | undefined;
|
|
108
91
|
maxHeight?: string | number | undefined;
|
|
109
|
-
}
|
|
92
|
+
} & {
|
|
93
|
+
alignItems: string;
|
|
94
|
+
flexDirection: string;
|
|
95
|
+
paddingLeft: string;
|
|
96
|
+
}, "alignItems" | "flexDirection" | "paddingLeft">;
|
|
110
97
|
declare function Input<T = string>(props: InputProps<T>, ref?: React.Ref<unknown>): JSX.Element;
|
|
111
98
|
declare const _default: <T>(props: InputProps<T> & {
|
|
112
99
|
ref?: React.ForwardedRef<TextInput> | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/Input/BaseInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuE,MAAM,OAAO,CAAC;AAC5F,OAAO,EACL,SAAS,EACT,cAAc,EAEd,SAAS,EACT,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,MAAM,IAAI,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IAC7E;;OAEG;IACH,KAAK,EAAE,CAAC,CAAC;IACT;;OAEG;IACH,UAAU,CAAC,EACP,CAAC,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GACxF,KAAK,CAAC,SAAS,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EACR,CAAC,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GACxF,KAAK,CAAC,SAAS,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAC3C;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,CAAC;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,CAAC,CAAC;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,mBAAmB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;IACvD;;OAEG;IACH,uBAAuB,CAAC,EAAE,SAAS,CAAC;IACpC;;OAEG;IACH,yBAAyB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAsEF,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/Input/BaseInput/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAuE,MAAM,OAAO,CAAC;AAC5F,OAAO,EACL,SAAS,EACT,cAAc,EAEd,SAAS,EACT,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,MAAM,IAAI,IAAI,CA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AAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAsEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;mDAIhC,CAAC;AAEN,eAAO,MAAM,yBAAyB;;;;;;;;;;;kDAIjC,CAAC;AAON,iBAAS,KAAK,CAAC,CAAC,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CA2FtF;mCAGQ,WAAW,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,YAAY,CAAC,SAAS,CAAC,GAAG,IAAI,CAAA;CAAE,KAClE,WAAW,YAAY,CAAC;AAF7B,wBAE8B"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
|
-
export declare const MinMaxTextContainer: import("styled-components
|
|
3
|
-
export declare const Notch: import("styled-components
|
|
4
|
-
export declare const RailSelected: import("styled-components
|
|
5
|
-
export declare const Rail: import("styled-components
|
|
3
|
+
export declare const MinMaxTextContainer: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const Notch: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const RailSelected: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const Rail: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
6
7
|
export declare const Thumb: () => React.JSX.Element;
|
|
7
8
|
export declare const Label: ({ children }: {
|
|
8
9
|
children: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/Slider/components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/Slider/components.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,mBAAmB,sIAO/B,CAAC;AAEF,eAAO,MAAM,KAAK,sIAEjB,CAAC;AAEF,eAAO,MAAM,YAAY,sIAMxB,CAAC;AAEF,eAAO,MAAM,IAAI,sIAKhB,CAAC;AAYF,eAAO,MAAM,KAAK,yBAOjB,CAAC;AAYF,eAAO,MAAM,KAAK;cAA8B,MAAM,SAAS;uBAQ9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/IconBox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,EAAE,iBAAiB,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,YAAY,CAAC;CACnC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/IconBox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,EAAE,iBAAiB,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,YAAY,CAAC;CACnC,CAAC;AAkBF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,IAAI,EACJ,KAAK,EACL,OAA0B,EAC1B,QAA4B,EAC5B,kBAAkB,GACnB,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAY5B"}
|
|
@@ -3,19 +3,19 @@ import styled, { useTheme } from "styled-components/native";
|
|
|
3
3
|
import Flex from "../../Layout/Flex";
|
|
4
4
|
const DEFAULT_BOX_SIZE = 56;
|
|
5
5
|
const DEFAULT_ICON_SIZE = 24;
|
|
6
|
-
const IconContainer = styled(Flex).attrs(({
|
|
6
|
+
const IconContainer = styled(Flex).attrs(({ size = DEFAULT_BOX_SIZE }) => ({
|
|
7
7
|
justifyContent: "center",
|
|
8
8
|
alignItems: "center",
|
|
9
9
|
borderWidth: "1px",
|
|
10
10
|
borderColor: "neutral.c40",
|
|
11
|
-
width: `${
|
|
12
|
-
height: `${
|
|
11
|
+
width: `${size}px`,
|
|
12
|
+
height: `${size}px`,
|
|
13
13
|
})) `
|
|
14
14
|
border-radius: ${(p) => `${p.theme.radii[1]}px`};
|
|
15
15
|
`;
|
|
16
16
|
export default function IconBox({ Icon, color, boxSize = DEFAULT_BOX_SIZE, iconSize = DEFAULT_ICON_SIZE, iconContainerProps, }) {
|
|
17
17
|
const { colors } = useTheme();
|
|
18
|
-
return (React.createElement(IconContainer, {
|
|
18
|
+
return (React.createElement(IconContainer, { size: boxSize, ...iconContainerProps }, React.isValidElement(Icon) ? (Icon) : (
|
|
19
19
|
/* @ts-expect-error TS 5 can't seem to be able to prove this is a react comopnent here */
|
|
20
20
|
React.createElement(Icon, { size: iconSize, color: color || colors.neutral.c100 }))));
|
|
21
21
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { BaseStyledProps } from "../../styled";
|
|
2
|
-
declare const Box: import("styled-components
|
|
2
|
+
declare const Box: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, BaseStyledProps, never>;
|
|
3
3
|
export default Box;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Box/index.ts"],"names":[],"mappings":"AAAA,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE3D,QAAA,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Box/index.ts"],"names":[],"mappings":"AAAA,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE3D,QAAA,MAAM,GAAG,mJAAqC,CAAC;AAE/C,eAAe,GAAG,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseStyledProps } from "../../styled";
|
|
2
2
|
export type FlexBoxProps = BaseStyledProps;
|
|
3
3
|
export type Props = FlexBoxProps;
|
|
4
|
-
declare const FlexBox: import("styled-components
|
|
4
|
+
declare const FlexBox: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, BaseStyledProps, never>;
|
|
5
5
|
export default FlexBox;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Flex/index.tsx"],"names":[],"mappings":"AAAA,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE3D,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;AAG3C,MAAM,MAAM,KAAK,GAAG,YAAY,CAAC;AAEjC,QAAA,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Flex/index.tsx"],"names":[],"mappings":"AAAA,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE3D,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;AAG3C,MAAM,MAAM,KAAK,GAAG,YAAY,CAAC;AAEjC,QAAA,MAAM,OAAO,mJAEZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -68,7 +68,7 @@ export default function TimelineItem({ item, formatEstimatedTime, isFirstItem, i
|
|
|
68
68
|
React.createElement(Container, { status: item.status, isLastItem: isLastItem, isNeutral: item.isNeutral, mt: withExtraMarginOnActiveStep && !isFirstItem && item.status === "active" ? 4 : 0, mb: withExtraMarginOnActiveStep && !isLastItem && item.status === "active" ? 4 : 0 },
|
|
69
69
|
item.status === "active" ? item.background : null,
|
|
70
70
|
React.createElement(Flex, { flexDirection: "row", justifyContent: "space-between" },
|
|
71
|
-
React.createElement(Text, { variant: "body", fontWeight: item.status === "active" ? "semiBold" : "medium", flexShrink: 1, color: item.status === "completed" && isLastItem
|
|
71
|
+
React.createElement(Text, { variant: "body", fontWeight: item.status === "active" ? "semiBold" : "medium", flexShrink: 1, color: item.status === "completed" && isLastItem
|
|
72
72
|
? "success.c70"
|
|
73
73
|
: item.status === "active"
|
|
74
74
|
? "primary.c80"
|
|
@@ -8,7 +8,7 @@ type ScrollContainerHeaderProps<ItemType> = BaseStyledProps & Omit<HeaderProps,
|
|
|
8
8
|
containerProps?: BaseStyledProps;
|
|
9
9
|
} & Pick<ScrollViewProps, "stickyHeaderIndices">;
|
|
10
10
|
declare const ScrollContainerHeader: {
|
|
11
|
-
<ItemType>({ TopLeftSection, TopRightSection, TopMiddleSection, MiddleSection, BottomSection, children, onScroll, containerProps, ...props }: ScrollContainerHeaderProps<ItemType>):
|
|
11
|
+
<ItemType>({ TopLeftSection, TopRightSection, TopMiddleSection, MiddleSection, BottomSection, children, onScroll, containerProps, ...props }: ScrollContainerHeaderProps<ItemType>): JSX.Element;
|
|
12
12
|
Header: {
|
|
13
13
|
({ TopLeftSection, TopRightSection, TopMiddleSection, MiddleSection, BottomSection, currentPositionY, }: HeaderProps): JSX.Element;
|
|
14
14
|
PADDING_HORIZONTAL: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/ScrollContainerHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAY,aAAa,EAAE,eAAe,EAAQ,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/ScrollContainerHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAY,aAAa,EAAE,eAAe,EAAQ,MAAM,cAAc,CAAC;AAK9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAM3D,KAAK,0BAA0B,CAAC,QAAQ,IAAI,eAAe,GACzD,IAAI,CAAC,WAAW,EAAE,kBAAkB,CAAC,GACrC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,YAAY,CAAC,GAAG;IAClE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,eAAe,CAAC;CAClC,GAAG,IAAI,CAAC,eAAe,EAAE,qBAAqB,CAAC,CAAC;AAEnD,QAAA,MAAM,qBAAqB;kJAUxB,2BAA2B,QAAQ,CAAC,GAAG,WAAW;;;;;CA2BpD,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
3
|
import Svg from "react-native-svg";
|
|
3
4
|
import { SizeProps } from "styled-system";
|
|
@@ -6,8 +7,6 @@ export type Props = React.ComponentProps<typeof Loader> & {
|
|
|
6
7
|
mock?: boolean;
|
|
7
8
|
};
|
|
8
9
|
export default function InfiniteLoader({ size, color, mock, testID, ...extraProps }: Props): JSX.Element;
|
|
9
|
-
declare const Loader: import("styled-components
|
|
10
|
-
xmlns?: string | undefined;
|
|
11
|
-
}>>;
|
|
10
|
+
declare const Loader: import("styled-components").StyledComponent<typeof Svg, import("styled-components").DefaultTheme, SizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>>, never>;
|
|
12
11
|
export {};
|
|
13
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/InfiniteLoader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,GAAwD,MAAM,kBAAkB,CAAC;AAExF,OAAO,EAAgB,SAAS,EAAE,MAAM,eAAe,CAAC;AAiBxD,MAAM,MAAM,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,IAAS,EACT,KAAqB,EACrB,IAAY,EACZ,MAAW,EACX,GAAG,UAAU,EACd,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAsFrB;AAED,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/InfiniteLoader/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,GAAwD,MAAM,kBAAkB,CAAC;AAExF,OAAO,EAAgB,SAAS,EAAE,MAAM,eAAe,CAAC;AAiBxD,MAAM,MAAM,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,IAAS,EACT,KAAqB,EACrB,IAAY,EACZ,MAAW,EACX,GAAG,UAAU,EACd,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAsFrB;AAED,QAAA,MAAM,MAAM,2RAQX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Graph/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAqB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Graph/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAqB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAwB5E,eAAO,MAAM,QAAQ,yEAQlB,YAAY,KAAG,MAAM,YA2BvB,CAAC;AAEF,QAAA,MAAM,SAAS,UAAW,aAAa,KAAG,MAAM,YAE/C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
3
|
export type BaseTabsProps = {
|
|
3
4
|
activeBg?: string;
|
|
@@ -24,16 +25,16 @@ export type TabItemProps = Partial<BaseTabsProps> & {
|
|
|
24
25
|
export type TabsProps = BaseTabsProps & {
|
|
25
26
|
Item: (props: TabItemProps) => React.ReactElement;
|
|
26
27
|
};
|
|
27
|
-
export declare const TabsContainer: import("styled-components
|
|
28
|
+
export declare const TabsContainer: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").OverflowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> & {
|
|
28
29
|
columnGap?: string | number | undefined;
|
|
29
30
|
rowGap?: string | number | undefined;
|
|
30
31
|
color?: string | undefined;
|
|
31
32
|
display?: string | undefined;
|
|
32
33
|
position?: string | undefined;
|
|
33
34
|
maxHeight?: string | number | undefined;
|
|
34
|
-
}
|
|
35
|
+
} & {
|
|
35
36
|
stretchItems: boolean;
|
|
36
|
-
}
|
|
37
|
+
}, never>;
|
|
37
38
|
declare const TemplateTabsGroup: ({ gap, size, stretchItems, ...props }: TabsProps) => React.ReactElement;
|
|
38
39
|
export default TemplateTabsGroup;
|
|
39
40
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TemplateTabs/index.tsx"],"names":[],"mappings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AAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG;IACtC,IAAI,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,KAAK,CAAC,YAAY,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;kBAAmC,OAAO;SAOnE,CAAC;AAEF,QAAA,MAAM,iBAAiB,0CAKpB,SAAS,KAAG,MAAM,YAkBpB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -2,6 +2,7 @@ import React from "react";
|
|
|
2
2
|
import styled from "styled-components/native";
|
|
3
3
|
import FlexBox from "../../Layout/Flex";
|
|
4
4
|
export const TabsContainer = styled(FlexBox) `
|
|
5
|
+
// Avoid conflict with styled-system's size property by nulling size and renaming it
|
|
5
6
|
size: undefined;
|
|
6
7
|
flex-direction: row;
|
|
7
8
|
width: 100%;
|
|
@@ -9,7 +10,7 @@ export const TabsContainer = styled(FlexBox) `
|
|
|
9
10
|
${(p) => (p.stretchItems ? "" : "justify-content: center;")}
|
|
10
11
|
`;
|
|
11
12
|
const TemplateTabsGroup = ({ gap, size, stretchItems = false, ...props }) => {
|
|
12
|
-
const { labels, activeIndex, onChange, Item
|
|
13
|
-
return (React.createElement(TabsContainer, { columnGap: gap, stretchItems: stretchItems, ...props }, labels.map((label, index) => (React.createElement(Item, { key: index, ...props,
|
|
13
|
+
const { labels, activeIndex, onChange, Item } = props;
|
|
14
|
+
return (React.createElement(TabsContainer, { columnGap: gap, stretchItems: stretchItems, ...props }, labels.map((label, index) => (React.createElement(Item, { key: index, ...props, index: index, isActive: index === activeIndex, label: label, size: size, stretchItems: stretchItems, onPress: () => onChange(index) })))));
|
|
14
15
|
};
|
|
15
16
|
export default TemplateTabsGroup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAGL,aAAa,EAEb,cAAc,EAEd,eAAe,EAEhB,MAAM,eAAe,CAAC;AACvB,OAAmB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAGL,aAAa,EAEb,cAAc,EAEd,eAAe,EAEhB,MAAM,eAAe,CAAC;AACvB,OAAmB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAKxD,OAAO,EAAE,eAAe,EAAgC,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAelD,MAAM,WAAW,aACf,SAAQ,SAAS,EACf,eAAe,EACf,aAAa,EACb,cAAc,EACd,eAAe;IACjB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAiCD,QAAA,MAAM,IAAI,uDAAiE,aAAa,sBAQvF,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { PressableProps, StyleProp, View, ViewStyle } from "react-native";
|
|
3
4
|
import { BaseStyledProps } from "../../styled";
|
|
@@ -19,15 +20,11 @@ export type ButtonProps = Omit<PressableProps, "onPress"> & BaseStyledProps & {
|
|
|
19
20
|
isNewIcon?: boolean;
|
|
20
21
|
Icon?: IconType | JSX.Element;
|
|
21
22
|
};
|
|
22
|
-
export declare const Base: import("styled-components
|
|
23
|
-
ref?: ((instance: View | null) => void) | React.RefObject<View> | null | undefined;
|
|
24
|
-
}, Omit<PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
25
|
-
ref?: ((instance: View | null) => void) | React.RefObject<View> | null | undefined;
|
|
26
|
-
}>, ButtonProps>, {
|
|
23
|
+
export declare const Base: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<PressableProps & React.RefAttributes<View>>, import("styled-components").DefaultTheme, {
|
|
27
24
|
iconButton?: boolean | undefined;
|
|
28
25
|
sizeVariant?: ButtonProps["size"];
|
|
29
26
|
style?: StyleProp<ViewStyle>;
|
|
30
|
-
} & Omit<ButtonProps, "size"
|
|
27
|
+
} & Omit<ButtonProps, "size">, never>;
|
|
31
28
|
declare const Button: (props: ButtonProps) => React.ReactElement;
|
|
32
29
|
export declare const PromisableButton: (props: ButtonProps) => React.ReactElement;
|
|
33
30
|
export default Button;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/cta/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAKL,cAAc,EACd,SAAS,EACT,IAAI,EACJ,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,GACvD,eAAe,GAAG;IAChB,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACnD,mBAAmB,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;IACnE,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OA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,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAC;CAC/B,CAAC;AAUJ,eAAO,MAAM,IAAI;;kBAiBC,WAAW,CAAC,MAAM,CAAC;YACzB,UAAU,SAAS,CAAC;qCAiB/B,CAAC;AA0FF,QAAA,MAAM,MAAM,UAAW,WAAW,KAAG,MAAM,YAkC1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,WAAW,KAAG,MAAM,YAsC3D,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -37,7 +37,7 @@ export const Base = baseStyled(Pressable).attrs((p) => {
|
|
|
37
37
|
position: relative;
|
|
38
38
|
${(p) => buttonSizeStyle[p.sizeVariant || "medium"]}
|
|
39
39
|
|
|
40
|
-
${(p) => (p.iconButton ? `padding: 0; width: ${p.theme.space[10]}px;` :
|
|
40
|
+
${(p) => (p.iconButton ? `padding: 0; width: ${p.theme.space[10]}px;` : "")}
|
|
41
41
|
`;
|
|
42
42
|
const Container = styled.View `
|
|
43
43
|
flex-direction: row;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { PressableProps } from "react-native";
|
|
3
4
|
export type LinkProps = Omit<PressableProps, "onPress"> & {
|
|
@@ -14,9 +15,7 @@ export type LinkProps = Omit<PressableProps, "onPress"> & {
|
|
|
14
15
|
children?: React.ReactNode;
|
|
15
16
|
numberOfLines?: number;
|
|
16
17
|
};
|
|
17
|
-
export declare const Base: import("styled-components
|
|
18
|
-
ref?: ((instance: import("react-native").View | null) => void) | React.RefObject<import("react-native").View> | null | undefined;
|
|
19
|
-
}, never>>;
|
|
18
|
+
export declare const Base: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<PressableProps & React.RefAttributes<import("react-native").View>>, import("styled-components").DefaultTheme, {}, never>;
|
|
20
19
|
declare const Link: (props: LinkProps) => React.ReactElement;
|
|
21
20
|
export default Link;
|
|
22
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/cta/Link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,cAAc,EAIf,MAAM,cAAc,CAAC;AAMtB,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,GAAG;IACxD,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACnD,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC5D,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAUF,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/cta/Link/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,cAAc,EAIf,MAAM,cAAc,CAAC;AAMtB,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,GAAG;IACxD,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACnD,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC5D,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAUF,eAAO,MAAM,IAAI,sMAKhB,CAAC;AAgDF,QAAA,MAAM,IAAI,UAAW,SAAS,KAAG,MAAM,YAatC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -12,14 +12,12 @@ export type QuickActionButtonProps = TouchableOpacityProps & BaseStyledProps & {
|
|
|
12
12
|
variant?: Variant;
|
|
13
13
|
isActive?: boolean;
|
|
14
14
|
};
|
|
15
|
-
export declare const StyledText: import("styled-components
|
|
16
|
-
export declare const Base: import("styled-components
|
|
17
|
-
ref?: ((instance: import("react-native").View | null) => void) | React.RefObject<import("react-native").View> | null | undefined;
|
|
18
|
-
}, TouchableOpacityProps & {
|
|
15
|
+
export declare const StyledText: import("styled-components").StyledComponent<({ children, bracket, textAlign, testID, ...props }: import("../../../Text").BaseTextProps) => React.JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
+
export declare const Base: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<TouchableOpacityProps & React.RefAttributes<import("react-native").View>>, import("styled-components").DefaultTheme, TouchableOpacityProps & {
|
|
19
17
|
visuallyDisabled?: boolean | undefined;
|
|
20
18
|
variant: Variant;
|
|
21
19
|
isActive?: boolean | undefined;
|
|
22
|
-
}
|
|
20
|
+
}, never>;
|
|
23
21
|
declare const QuickActionButton: ({ Icon, children, disabled, onPress, onPressWhenDisabled, textVariant, variant, testID, isActive, ...otherProps }: QuickActionButtonProps) => React.ReactElement;
|
|
24
22
|
export default QuickActionButton;
|
|
25
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/cta/QuickAction/QuickActionButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,KAAK,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAEjC,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,GACxD,eAAe,GAAG;IAChB,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IACvD,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/cta/QuickAction/QuickActionButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,KAAK,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAEjC,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,GACxD,eAAe,GAAG;IAChB,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IACvD,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,eAAO,MAAM,UAAU,oNAGtB,CAAC;AAEF,eAAO,MAAM,IAAI;;aACgD,OAAO;;SAmBvE,CAAC;AAEF,QAAA,MAAM,iBAAiB,sHAWpB,sBAAsB,KAAG,MAAM,YA8BjC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
3
|
type AlertType = "info" | "secondary" | "success" | "warning" | "error";
|
|
3
4
|
export type IconProps = {
|
|
@@ -18,8 +19,16 @@ export interface AlertProps {
|
|
|
18
19
|
}
|
|
19
20
|
declare function Alert({ type, Icon, title, showIcon, children }: AlertProps): JSX.Element;
|
|
20
21
|
declare namespace Alert {
|
|
21
|
-
var BodyText: import("styled-components
|
|
22
|
-
|
|
22
|
+
var BodyText: import("styled-components").StyledComponent<({ children, bracket, textAlign, testID, ...props }: import("../../Text").BaseTextProps) => React.JSX.Element, import("styled-components").DefaultTheme, {
|
|
23
|
+
flexShrink: 1;
|
|
24
|
+
variant: "bodyLineHeight";
|
|
25
|
+
fontWeight: "semiBold";
|
|
26
|
+
}, "fontWeight" | "flexShrink" | "variant">;
|
|
27
|
+
var UnderlinedText: import("styled-components").StyledComponent<({ children, bracket, textAlign, testID, ...props }: import("../../Text").BaseTextProps) => React.JSX.Element, import("styled-components").DefaultTheme, {
|
|
28
|
+
flexShrink: 1;
|
|
29
|
+
variant: "bodyLineHeight";
|
|
30
|
+
fontWeight: "semiBold";
|
|
31
|
+
}, "fontWeight" | "flexShrink" | "variant">;
|
|
23
32
|
}
|
|
24
33
|
export default Alert;
|
|
25
34
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/message/Alert/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,KAAK,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,MAAM,MAAM,SAAS,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC1D,MAAM,MAAM,QAAQ,GAAG,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;AACtD,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;SAGK;IACL,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AA4DD,iBAAS,KAAK,CAAC,EAAE,IAAa,EAAE,IAAI,EAAE,KAAK,EAAE,QAAe,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAmBjG;kBAnBQ,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/message/Alert/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,KAAK,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,MAAM,MAAM,SAAS,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC1D,MAAM,MAAM,QAAQ,GAAG,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;AACtD,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;SAGK;IACL,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AA4DD,iBAAS,KAAK,CAAC,EAAE,IAAa,EAAE,IAAI,EAAE,KAAK,EAAE,QAAe,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAmBjG;kBAnBQ,KAAK;;;;;;;;;;;;AAwBd,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/message/Notification/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,EAAoB,qBAAqB,EAAE,MAAM,cAAc,CAAC;AASlF,KAAK,mBAAmB,GACpB,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,OAAO,GACP,OAAO,GACP,MAAM,CAAC;AAEX,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,IAAI,EAAE,M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AAC;AA+EF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,IAAI,EACJ,SAAS,EACT,OAAmB,EACnB,aAAa,EACb,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,WAAW,GACZ,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CA0D5B"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
import { ReactNativeStyledInterface, DefaultTheme } from "styled-components/native";
|
|
2
3
|
import { FlexboxProps, SpaceProps, PositionProps, ColorProps, LayoutProps, OverflowProps, BorderProps, BackgroundProps } from "styled-system";
|
|
4
|
+
import { InterpolationFunction } from "styled-components";
|
|
3
5
|
export type BaseStyledProps = SpaceProps & FlexboxProps & PositionProps & ColorProps & LayoutProps & OverflowProps & BorderProps & BackgroundProps & {
|
|
4
6
|
columnGap?: string | number;
|
|
5
7
|
rowGap?: string | number;
|
|
@@ -8,32 +10,7 @@ export type BaseStyledProps = SpaceProps & FlexboxProps & PositionProps & ColorP
|
|
|
8
10
|
position?: string;
|
|
9
11
|
maxHeight?: string | number;
|
|
10
12
|
};
|
|
11
|
-
export declare const baseStyles:
|
|
12
|
-
declare const _default:
|
|
13
|
-
ActivityIndicator: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").ActivityIndicator, import("react-native").ActivityIndicatorProps, import("styled-components/native/dist/types").BaseObject>;
|
|
14
|
-
Button: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").Button, import("react-native").ButtonProps, import("styled-components/native/dist/types").BaseObject>;
|
|
15
|
-
DatePickerIOS: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", any, any, import("styled-components/native/dist/types").BaseObject>;
|
|
16
|
-
DrawerLayoutAndroid: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").DrawerLayoutAndroid, import("react-native").DrawerLayoutAndroidProps, import("styled-components/native/dist/types").BaseObject>;
|
|
17
|
-
FlatList: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").FlatList, import("react-native").FlatListProps<unknown>, import("styled-components/native/dist/types").BaseObject>;
|
|
18
|
-
Image: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").Image, import("react-native").ImageProps, import("styled-components/native/dist/types").BaseObject>;
|
|
19
|
-
ImageBackground: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").ImageBackground, import("react-native").ImageBackgroundProps, import("styled-components/native/dist/types").BaseObject>;
|
|
20
|
-
KeyboardAvoidingView: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").KeyboardAvoidingView, import("react-native").KeyboardAvoidingViewProps, import("styled-components/native/dist/types").BaseObject>;
|
|
21
|
-
Modal: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").Modal, import("react-native").ModalBaseProps & import("react-native").ModalPropsIOS & import("react-native").ModalPropsAndroid & import("react-native").ViewProps, import("styled-components/native/dist/types").BaseObject>;
|
|
22
|
-
Pressable: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", import("react").ForwardRefExoticComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>, import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>, import("styled-components/native/dist/types").BaseObject>;
|
|
23
|
-
ProgressBarAndroid: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").ProgressBarAndroid, import("react-native").ProgressBarAndroidProps, import("styled-components/native/dist/types").BaseObject>;
|
|
24
|
-
ProgressViewIOS: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", any, any, import("styled-components/native/dist/types").BaseObject>;
|
|
25
|
-
RefreshControl: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").RefreshControl, import("react-native").RefreshControlProps, import("styled-components/native/dist/types").BaseObject>;
|
|
26
|
-
SafeAreaView: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").SafeAreaView, import("react-native").ViewProps, import("styled-components/native/dist/types").BaseObject>;
|
|
27
|
-
ScrollView: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").ScrollView, import("react-native").ScrollViewProps, import("styled-components/native/dist/types").BaseObject>;
|
|
28
|
-
SectionList: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").SectionList, import("react-native").SectionListProps<unknown, unknown>, import("styled-components/native/dist/types").BaseObject>;
|
|
29
|
-
Slider: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", any, any, import("styled-components/native/dist/types").BaseObject>;
|
|
30
|
-
Switch: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").Switch, import("react-native").SwitchProps, import("styled-components/native/dist/types").BaseObject>;
|
|
31
|
-
Text: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").Text, import("react-native").TextProps, import("styled-components/native/dist/types").BaseObject>;
|
|
32
|
-
TextInput: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").TextInput, import("react-native").TextInputProps, import("styled-components/native/dist/types").BaseObject>;
|
|
33
|
-
TouchableHighlight: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", import("react").ForwardRefExoticComponent<import("react-native").TouchableHighlightProps & import("react").RefAttributes<import("react-native").View>>, import("react-native").TouchableHighlightProps, import("styled-components/native/dist/types").BaseObject>;
|
|
34
|
-
TouchableOpacity: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", import("react").ForwardRefExoticComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<import("react-native").View>>, import("react-native").TouchableOpacityProps, import("styled-components/native/dist/types").BaseObject>;
|
|
35
|
-
View: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", typeof import("react-native").View, import("react-native").ViewProps, import("styled-components/native/dist/types").BaseObject>;
|
|
36
|
-
VirtualizedList: import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", any, any, import("styled-components/native/dist/types").BaseObject>;
|
|
37
|
-
};
|
|
13
|
+
export declare const baseStyles: InterpolationFunction<unknown>;
|
|
14
|
+
declare const _default: ReactNativeStyledInterface<DefaultTheme>;
|
|
38
15
|
export default _default;
|
|
39
16
|
//# sourceMappingURL=styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../src/components/styled.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../src/components/styled.ts"],"names":[],"mappings":";AAAA,OAAe,EAAE,0BAA0B,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE5F,OAAO,EAGL,YAAY,EAEZ,UAAU,EAEV,aAAa,EAEb,UAAU,EAEV,WAAW,EAEX,aAAa,EAEb,WAAW,EAEX,eAAe,EAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,MAAM,MAAM,eAAe,GAAG,UAAU,GACtC,YAAY,GACZ,aAAa,GACb,UAAU,GACV,WAAW,GACX,aAAa,GACb,WAAW,GACX,eAAe,GAAG;IAChB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B,CAAC;AAEJ,eAAO,MAAM,UAAU,EAAE,qBAAqB,CAAC,OAAO,CASrD,CAAC;;AAcF,wBAAqE"}
|
package/lib/components/styled.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import React from "react";
|
|
2
|
-
export declare const BalanceContainer: import("styled-components
|
|
3
|
+
export declare const BalanceContainer: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
3
4
|
export declare const leftElement: React.JSX.Element;
|
|
4
5
|
export declare const createRightElement: (discreetMode: boolean) => React.JSX.Element;
|
|
5
6
|
//# sourceMappingURL=sharedStoryBook.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedStoryBook.d.ts","sourceRoot":"","sources":["../../../src/pre-ldls/components/sharedStoryBook.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"sharedStoryBook.d.ts","sourceRoot":"","sources":["../../../src/pre-ldls/components/sharedStoryBook.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,gBAAgB,sIAI5B,CAAC;AAEF,eAAO,MAAM,WAAW,mBAA2B,CAAC;AAEpD,eAAO,MAAM,kBAAkB,iBAAkB,OAAO,sBAevD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyleProvider.d.ts","sourceRoot":"","sources":["../../src/styles/StyleProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAY,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,eAAe,EAAE,UAAU,CAAC;CAC7B,CAAC;AAEF,OAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"StyleProvider.d.ts","sourceRoot":"","sources":["../../src/styles/StyleProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAY,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,eAAe,EAAE,UAAU,CAAC;CAC7B,CAAC;AAEF,OAAO,QAAQ,mBAAmB,CAAC;IAEjC,UAAiB,YAAa,SAAQ,KAAK;KAAG;CAC/C;AAED,eAAO,MAAM,aAAa,kCAAmC,KAAK,KAAG,MAAM,YAe1E,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/native-ui",
|
|
3
|
-
"version": "0.51.0
|
|
3
|
+
"version": "0.51.0",
|
|
4
4
|
"description": "Ledger Live - Mobile UI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,9 +39,8 @@
|
|
|
39
39
|
"@ledgerhq/crypto-icons": "1.4.0",
|
|
40
40
|
"color": "^4.0.0",
|
|
41
41
|
"rn-range-slider": "2.1.1",
|
|
42
|
-
"styled-system": "5.1.5",
|
|
43
|
-
"
|
|
44
|
-
"@ledgerhq/icons-ui": "^0.18.0-nightly.20251227023924",
|
|
42
|
+
"styled-system": "^5.1.5",
|
|
43
|
+
"@ledgerhq/icons-ui": "^0.17.0",
|
|
45
44
|
"@ledgerhq/ui-shared": "^0.5.0"
|
|
46
45
|
},
|
|
47
46
|
"peerDependencies": {
|
|
@@ -50,7 +49,7 @@
|
|
|
50
49
|
"react-native-reanimated": "3.16.7",
|
|
51
50
|
"react-native-safe-area-context": ">=5.5.2",
|
|
52
51
|
"react-native-svg": ">=12.1.1",
|
|
53
|
-
"styled-components": "
|
|
52
|
+
"styled-components": "^5.3.3"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
55
|
"@babel/core": "7.27.1",
|
|
@@ -106,6 +105,8 @@
|
|
|
106
105
|
"@types/node": "^22.10.10",
|
|
107
106
|
"@types/prop-types": "^15.7.5",
|
|
108
107
|
"@types/react": "^18.2.21",
|
|
108
|
+
"@types/styled-components": "^5.1.3",
|
|
109
|
+
"@types/styled-components-react-native": "^5.1.3",
|
|
109
110
|
"@types/styled-system": "^5.1.13",
|
|
110
111
|
"assert": "^2.0.0",
|
|
111
112
|
"babel-loader": "10.0.0",
|
|
@@ -152,7 +153,7 @@
|
|
|
152
153
|
"rimraf": "^4.4.1",
|
|
153
154
|
"storybook": "^7.6.18",
|
|
154
155
|
"storybook-dark-mode": "^3.0.3",
|
|
155
|
-
"styled-components": "
|
|
156
|
+
"styled-components": "^5.3.3",
|
|
156
157
|
"stylelint": "^14.9.1",
|
|
157
158
|
"stylelint-config-recommended": "^13.0.0",
|
|
158
159
|
"stylelint-config-styled-components": "^0.1.1",
|