@ledgerhq/native-ui 0.51.0-nightly.20251219024040 → 0.51.0-nightly.20251220023811
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 +14 -4
- 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 +3 -2
- package/lib/components/Cards/NotificationCard/index.d.ts.map +1 -1
- package/lib/components/Cards/SideImageCard/index.d.ts +23 -6
- 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 +1 -4
- 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 +28 -15
- package/lib/components/Form/Input/BaseInput/index.d.ts.map +1 -1
- package/lib/components/Form/Slider/components.d.ts +4 -5
- 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/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 +3 -2
- 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 +3 -4
- package/lib/components/Tabs/TemplateTabs/index.d.ts.map +1 -1
- package/lib/components/Tabs/TemplateTabs/index.js +2 -3
- package/lib/components/Text/index.d.ts.map +1 -1
- package/lib/components/cta/Button/index.d.ts +6 -3
- 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 +3 -2
- package/lib/components/cta/Link/index.d.ts.map +1 -1
- package/lib/components/cta/QuickAction/QuickActionButton/index.d.ts +5 -3
- package/lib/components/cta/QuickAction/QuickActionButton/index.d.ts.map +1 -1
- package/lib/components/message/Alert/index.d.ts +2 -11
- 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 +28 -5
- package/lib/components/styled.d.ts.map +1 -1
- package/lib/components/styled.js +1 -0
- package/lib/pre-ldls/components/sharedStoryBook.d.ts +1 -2
- 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 +6 -7
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { TouchableOpacityProps } from "react-native";
|
|
4
3
|
export type CardProps = TouchableOpacityProps & {
|
|
@@ -11,9 +10,20 @@ export type CardProps = TouchableOpacityProps & {
|
|
|
11
10
|
type CloseProps = {
|
|
12
11
|
onPressDismiss?: () => void;
|
|
13
12
|
};
|
|
14
|
-
export declare const Container: import("styled-components").
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
export declare const Container: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<Omit<TouchableOpacityProps & React.RefAttributes<import("react-native").View>, "ref"> & {
|
|
14
|
+
ref?: ((instance: import("react-native").View | null) => void) | React.RefObject<import("react-native").View> | null | undefined;
|
|
15
|
+
}, never>>;
|
|
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>>;
|
|
17
27
|
export declare const CloseButton: ({ onPressDismiss }: CloseProps) => React.JSX.Element;
|
|
18
28
|
declare const BannerCard: (props: CardProps) => React.ReactElement;
|
|
19
29
|
export default BannerCard;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/BannerCard/index.tsx"],"names":[],"mappings":"
|
|
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;;UAUrB,CAAC;AAEF,eAAO,MAAM,cAAc;;UAQ1B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;UAM5B,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: 50px;
|
|
21
21
|
height: 24px;
|
|
22
22
|
width: 24px;
|
|
23
23
|
display: flex;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { TouchableOpacityProps } from "react-native";
|
|
4
3
|
export type CardProps = TouchableOpacityProps & {
|
|
@@ -13,6 +12,8 @@ export type CardProps = TouchableOpacityProps & {
|
|
|
13
12
|
viewed: boolean;
|
|
14
13
|
};
|
|
15
14
|
declare const NotificationCard: (props: CardProps) => React.ReactElement;
|
|
16
|
-
export declare const Base: import("styled-components").
|
|
15
|
+
export declare const Base: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<Omit<TouchableOpacityProps & React.RefAttributes<import("react-native").View>, "ref"> & {
|
|
16
|
+
ref?: ((instance: import("react-native").View | null) => void) | React.RefObject<import("react-native").View> | null | undefined;
|
|
17
|
+
}, never>>;
|
|
17
18
|
export default NotificationCard;
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/NotificationCard/index.tsx"],"names":[],"mappings":"
|
|
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;;UAA6B,CAAC;AAM/C,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { TouchableOpacityProps, Image } from "react-native";
|
|
4
3
|
export type CardProps = TouchableOpacityProps & {
|
|
@@ -8,11 +7,29 @@ export type CardProps = TouchableOpacityProps & {
|
|
|
8
7
|
imageUrl?: string;
|
|
9
8
|
onPressDismiss?: () => void;
|
|
10
9
|
};
|
|
11
|
-
export declare const Base: import("styled-components").
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
15
|
-
|
|
10
|
+
export declare const Base: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<Omit<TouchableOpacityProps & React.RefAttributes<import("react-native").View>, "ref"> & {
|
|
11
|
+
ref?: ((instance: import("react-native").View | null) => void) | React.RefObject<import("react-native").View> | null | undefined;
|
|
12
|
+
}, never>>;
|
|
13
|
+
export declare const Container: 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>> & {
|
|
14
|
+
columnGap?: string | number | undefined;
|
|
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>>;
|
|
16
33
|
export declare const CloseButton: (props: CardProps) => React.JSX.Element;
|
|
17
34
|
declare const SideImageCard: (props: CardProps) => React.ReactElement;
|
|
18
35
|
export default SideImageCard;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/SideImageCard/index.tsx"],"names":[],"mappings":"
|
|
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;;UAEhB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;UAIrB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;UAI1B,CAAC;AACF,eAAO,MAAM,YAAY,6MAIxB,CAAC;AAEF,eAAO,MAAM,cAAc;;UAW1B,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,10 +1,7 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { ScrollView, ViewProps } from "react-native";
|
|
4
3
|
import type { Props as FlexboxProps } from "../Layout/Flex";
|
|
5
|
-
declare const HorizontalScrollView: import("styled-components").
|
|
6
|
-
horizontal: true;
|
|
7
|
-
}, "horizontal">;
|
|
4
|
+
declare const HorizontalScrollView: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").Substitute<import("react-native").ScrollViewProps, import("react-native").ScrollViewProps & React.RefAttributes<ScrollView>>, never>, never>>;
|
|
8
5
|
export type Props = React.PropsWithChildren<{
|
|
9
6
|
/**
|
|
10
7
|
* 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":"
|
|
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,wXAEzB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC1C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,KAAK,EAAE,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IACrE;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B;;;OAGG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACpE;;;OAGG;IACH,4BAA4B,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAExD,kBAAkB,CAAC,EACf,KAAK,CAAC,aAAa,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC,GACF,KAAK,CAAC,YAAY,CAAC;IAEvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEvC;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,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" | "filled" | "focused";
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=inputTextColor.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { TextInput, TextInputProps, StyleProp, ViewStyle, TextStyle } from "react-native";
|
|
4
3
|
export type CommonProps = TextInputProps & {
|
|
@@ -70,30 +69,44 @@ export type InputProps<T = string> = Omit<CommonProps, "value" | "onChange"> & {
|
|
|
70
69
|
*/
|
|
71
70
|
color?: string;
|
|
72
71
|
};
|
|
73
|
-
export declare const InputRenderLeftContainer: import("styled-components").
|
|
72
|
+
export declare const InputRenderLeftContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").Substitute<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>> & {
|
|
74
73
|
columnGap?: string | number | undefined;
|
|
75
74
|
rowGap?: string | number | undefined;
|
|
76
75
|
color?: string | undefined;
|
|
77
|
-
display?: 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
|
+
*/
|
|
78
88
|
position?: string | undefined;
|
|
79
89
|
maxHeight?: string | number | undefined;
|
|
80
|
-
}
|
|
81
|
-
|
|
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>> & {
|
|
90
|
+
}>, never>, never>>;
|
|
91
|
+
export declare const InputRenderRightContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").Substitute<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>> & {
|
|
86
92
|
columnGap?: string | number | undefined;
|
|
87
93
|
rowGap?: string | number | undefined;
|
|
88
94
|
color?: string | undefined;
|
|
89
|
-
display?: 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
|
+
*/
|
|
90
107
|
position?: string | undefined;
|
|
91
108
|
maxHeight?: string | number | undefined;
|
|
92
|
-
}
|
|
93
|
-
alignItems: string;
|
|
94
|
-
flexDirection: string;
|
|
95
|
-
paddingLeft: string;
|
|
96
|
-
}, "alignItems" | "flexDirection" | "paddingLeft">;
|
|
109
|
+
}>, never>, never>>;
|
|
97
110
|
declare function Input<T = string>(props: InputProps<T>, ref?: React.Ref<unknown>): JSX.Element;
|
|
98
111
|
declare const _default: <T>(props: InputProps<T> & {
|
|
99
112
|
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":"
|
|
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;;;;kCArInC;;OAEG;;;;;;;kCAFH;;OAEG;;;mBAuIA,CAAC;AAEN,eAAO,MAAM,yBAAyB;;;;kCA3IpC;;OAEG;;;;;;;kCAFH;;OAEG;;;mBA6IA,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,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
|
-
export declare const MinMaxTextContainer: import("styled-components").
|
|
4
|
-
export declare const Notch: import("styled-components").
|
|
5
|
-
export declare const RailSelected: import("styled-components").
|
|
6
|
-
export declare const Rail: import("styled-components").
|
|
2
|
+
export declare const MinMaxTextContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never>>;
|
|
3
|
+
export declare const Notch: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never>>;
|
|
4
|
+
export declare const RailSelected: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never>>;
|
|
5
|
+
export declare const Rail: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never>>;
|
|
7
6
|
export declare const Thumb: () => React.JSX.Element;
|
|
8
7
|
export declare const Label: ({ children }: {
|
|
9
8
|
children: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/Slider/components.tsx"],"names":[],"mappings":"
|
|
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,+KAO/B,CAAC;AAEF,eAAO,MAAM,KAAK,+KAEjB,CAAC;AAEF,eAAO,MAAM,YAAY,+KAMxB,CAAC;AAEF,eAAO,MAAM,IAAI,+KAKhB,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;AAgBF,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(({ boxSize = 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: `${boxSize}px`,
|
|
12
|
+
height: `${boxSize}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, { boxSize: 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/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").Substitute<import("react-native").ViewProps, BaseStyledProps>>;
|
|
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,2LAAqC,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/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").Substitute<import("react-native").ViewProps, BaseStyledProps>>;
|
|
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,2LAEZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -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>): React.ReactElement;
|
|
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;AAI9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAW3D,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,MAAM,YAAY;;;;;CA2B3D,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
2
|
import Svg from "react-native-svg";
|
|
4
3
|
import { SizeProps } from "styled-system";
|
|
@@ -7,6 +6,8 @@ export type Props = React.ComponentProps<typeof Loader> & {
|
|
|
7
6
|
mock?: boolean;
|
|
8
7
|
};
|
|
9
8
|
export default function InfiniteLoader({ size, color, mock, testID, ...extraProps }: Props): JSX.Element;
|
|
10
|
-
declare const Loader: import("styled-components").
|
|
9
|
+
declare const Loader: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").Substitute<import("styled-components/native/dist/types").Substitute<import("styled-components/native/dist/types").Substitute<(import("react-native-svg").SvgProps | Readonly<import("react-native-svg").SvgProps>) & React.RefAttributes<Svg>, (import("react-native-svg").SvgProps | Readonly<import("react-native-svg").SvgProps>) & React.RefAttributes<Svg>>, SizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>>>, SizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>> & {
|
|
10
|
+
xmlns?: string | undefined;
|
|
11
|
+
}>>;
|
|
11
12
|
export {};
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/InfiniteLoader/index.tsx"],"names":[],"mappings":"
|
|
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;;GAYX,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;AA4B5E,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,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
2
|
export type BaseTabsProps = {
|
|
4
3
|
activeBg?: string;
|
|
@@ -25,16 +24,16 @@ export type TabItemProps = Partial<BaseTabsProps> & {
|
|
|
25
24
|
export type TabsProps = BaseTabsProps & {
|
|
26
25
|
Item: (props: TabItemProps) => React.ReactElement;
|
|
27
26
|
};
|
|
28
|
-
export declare const TabsContainer: import("styled-components").
|
|
27
|
+
export declare const TabsContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").Substitute<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>> & {
|
|
29
28
|
columnGap?: string | number | undefined;
|
|
30
29
|
rowGap?: string | number | undefined;
|
|
31
30
|
color?: string | undefined;
|
|
32
31
|
display?: string | undefined;
|
|
33
32
|
position?: string | undefined;
|
|
34
33
|
maxHeight?: string | number | undefined;
|
|
35
|
-
}
|
|
34
|
+
}, {
|
|
36
35
|
stretchItems: boolean;
|
|
37
|
-
}
|
|
36
|
+
}>>;
|
|
38
37
|
declare const TemplateTabsGroup: ({ gap, size, stretchItems, ...props }: TabsProps) => React.ReactElement;
|
|
39
38
|
export default TemplateTabsGroup;
|
|
40
39
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TemplateTabs/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TemplateTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,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;GAMnE,CAAC;AAEF,QAAA,MAAM,iBAAiB,0CAKpB,SAAS,KAAG,MAAM,YAiCpB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -2,7 +2,6 @@ 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
|
|
6
5
|
size: undefined;
|
|
7
6
|
flex-direction: row;
|
|
8
7
|
width: 100%;
|
|
@@ -10,7 +9,7 @@ export const TabsContainer = styled(FlexBox) `
|
|
|
10
9
|
${(p) => (p.stretchItems ? "" : "justify-content: center;")}
|
|
11
10
|
`;
|
|
12
11
|
const TemplateTabsGroup = ({ gap, size, stretchItems = false, ...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) })))));
|
|
12
|
+
const { labels, activeIndex, onChange, Item, activeBg, activeColor, disabled, inactiveBg, inactiveColor, } = props;
|
|
13
|
+
return (React.createElement(TabsContainer, { columnGap: gap, stretchItems: stretchItems, ...props }, labels.map((label, index) => (React.createElement(Item, { key: index, ...props, activeBg: activeBg, activeColor: activeColor, disabled: disabled, inactiveBg: inactiveBg, inactiveColor: inactiveColor, index: index, isActive: index === activeIndex, label: label, size: size, stretchItems: stretchItems, onPress: () => onChange(index) })))));
|
|
15
14
|
};
|
|
16
15
|
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;AAIxD,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,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { PressableProps, StyleProp, View, ViewStyle } from "react-native";
|
|
4
3
|
import { BaseStyledProps } from "../../styled";
|
|
@@ -20,11 +19,15 @@ export type ButtonProps = Omit<PressableProps, "onPress"> & BaseStyledProps & {
|
|
|
20
19
|
isNewIcon?: boolean;
|
|
21
20
|
Icon?: IconType | JSX.Element;
|
|
22
21
|
};
|
|
23
|
-
export declare const Base: import("styled-components").
|
|
22
|
+
export declare const Base: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").Substitute<import("styled-components/native/dist/types").Substitute<import("styled-components/native/dist/types").Substitute<Omit<PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
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>, {
|
|
24
27
|
iconButton?: boolean | undefined;
|
|
25
28
|
sizeVariant?: ButtonProps["size"];
|
|
26
29
|
style?: StyleProp<ViewStyle>;
|
|
27
|
-
} & Omit<ButtonProps, "size"
|
|
30
|
+
} & Omit<ButtonProps, "size">>>;
|
|
28
31
|
declare const Button: (props: ButtonProps) => React.ReactElement;
|
|
29
32
|
export declare const PromisableButton: (props: ButtonProps) => React.ReactElement;
|
|
30
33
|
export default Button;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/cta/Button/index.tsx"],"names":[],"mappings":"
|
|
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,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,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;+BAiB/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;` : null)}
|
|
41
41
|
`;
|
|
42
42
|
const Container = styled.View `
|
|
43
43
|
flex-direction: row;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { PressableProps } from "react-native";
|
|
4
3
|
export type LinkProps = Omit<PressableProps, "onPress"> & {
|
|
@@ -15,7 +14,9 @@ export type LinkProps = Omit<PressableProps, "onPress"> & {
|
|
|
15
14
|
children?: React.ReactNode;
|
|
16
15
|
numberOfLines?: number;
|
|
17
16
|
};
|
|
18
|
-
export declare const Base: import("styled-components").
|
|
17
|
+
export declare const Base: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<Omit<PressableProps & React.RefAttributes<import("react-native").View>, "ref"> & {
|
|
18
|
+
ref?: ((instance: import("react-native").View | null) => void) | React.RefObject<import("react-native").View> | null | undefined;
|
|
19
|
+
}, never>>;
|
|
19
20
|
declare const Link: (props: LinkProps) => React.ReactElement;
|
|
20
21
|
export default Link;
|
|
21
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/cta/Link/index.tsx"],"names":[],"mappings":"
|
|
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;;UAKhB,CAAC;AAgDF,QAAA,MAAM,IAAI,UAAW,SAAS,KAAG,MAAM,YAatC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -12,12 +12,14 @@ 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").
|
|
15
|
+
export declare const StyledText: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("../../../Text").BaseTextProps, never>>;
|
|
16
|
+
export declare const Base: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").Substitute<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
|
+
}, TouchableOpacityProps & {
|
|
17
19
|
visuallyDisabled?: boolean | undefined;
|
|
18
20
|
variant: Variant;
|
|
19
21
|
isActive?: boolean | undefined;
|
|
20
|
-
}
|
|
22
|
+
}>>;
|
|
21
23
|
declare const QuickActionButton: ({ Icon, children, disabled, onPress, onPressWhenDisabled, textVariant, variant, testID, isActive, ...otherProps }: QuickActionButtonProps) => React.ReactElement;
|
|
22
24
|
export default QuickActionButton;
|
|
23
25
|
//# 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,oLAGtB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;aACgD,OAAO;;GAmBvE,CAAC;AAEF,QAAA,MAAM,iBAAiB,sHAWpB,sBAAsB,KAAG,MAAM,YA8BjC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
2
|
type AlertType = "info" | "secondary" | "success" | "warning" | "error";
|
|
4
3
|
export type IconProps = {
|
|
@@ -19,16 +18,8 @@ export interface AlertProps {
|
|
|
19
18
|
}
|
|
20
19
|
declare function Alert({ type, Icon, title, showIcon, children }: AlertProps): JSX.Element;
|
|
21
20
|
declare namespace Alert {
|
|
22
|
-
var BodyText: import("styled-components").
|
|
23
|
-
|
|
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">;
|
|
21
|
+
var BodyText: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").Substitute<import("../../Text").BaseTextProps, import("../../Text").BaseTextProps>, never>, never>>;
|
|
22
|
+
var UnderlinedText: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").Substitute<import("../../Text").BaseTextProps, import("../../Text").BaseTextProps>, never>, never>, never>>;
|
|
32
23
|
}
|
|
33
24
|
export default Alert;
|
|
34
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/message/Alert/index.tsx"],"names":[],"mappings":"
|
|
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,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;CAChD,CAAC;
|
|
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,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;CAChD,CAAC;AAoFF,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,7 +1,5 @@
|
|
|
1
|
-
/// <reference types="
|
|
2
|
-
import { ReactNativeStyledInterface, DefaultTheme } from "styled-components/native";
|
|
1
|
+
/// <reference types="react" />
|
|
3
2
|
import { FlexboxProps, SpaceProps, PositionProps, ColorProps, LayoutProps, OverflowProps, BorderProps, BackgroundProps } from "styled-system";
|
|
4
|
-
import { InterpolationFunction } from "styled-components";
|
|
5
3
|
export type BaseStyledProps = SpaceProps & FlexboxProps & PositionProps & ColorProps & LayoutProps & OverflowProps & BorderProps & BackgroundProps & {
|
|
6
4
|
columnGap?: string | number;
|
|
7
5
|
rowGap?: string | number;
|
|
@@ -10,7 +8,32 @@ export type BaseStyledProps = SpaceProps & FlexboxProps & PositionProps & ColorP
|
|
|
10
8
|
position?: string;
|
|
11
9
|
maxHeight?: string | number;
|
|
12
10
|
};
|
|
13
|
-
export declare const baseStyles:
|
|
14
|
-
declare const _default:
|
|
11
|
+
export declare const baseStyles: import("styled-system").styleFn;
|
|
12
|
+
declare const _default: (<Target extends import("styled-components/native").NativeTarget>(tag: Target) => import("styled-components/native/dist/constructors/constructWithOptions").Styled<"native", Target, Target extends import("styled-components/native/dist/types").KnownTarget ? import("react").ComponentPropsWithRef<Target> : import("styled-components/native/dist/types").BaseObject, import("styled-components/native/dist/types").BaseObject>) & {
|
|
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
|
+
};
|
|
15
38
|
export default _default;
|
|
16
39
|
//# 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":";AAEA,OAAO,EAGL,YAAY,EAEZ,UAAU,EAEV,aAAa,EAEb,UAAU,EAEV,WAAW,EAEX,aAAa,EAEb,WAAW,EAEX,eAAe,EAChB,MAAM,eAAe,CAAC;AAEvB,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,iCAStB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeF,wBAA4C"}
|
package/lib/components/styled.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
1
|
import React from "react";
|
|
3
|
-
export declare const BalanceContainer: import("styled-components").
|
|
2
|
+
export declare const BalanceContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never>>;
|
|
4
3
|
export declare const leftElement: React.JSX.Element;
|
|
5
4
|
export declare const createRightElement: (discreetMode: boolean) => React.JSX.Element;
|
|
6
5
|
//# sourceMappingURL=sharedStoryBook.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedStoryBook.d.ts","sourceRoot":"","sources":["../../../src/pre-ldls/components/sharedStoryBook.tsx"],"names":[],"mappings":"
|
|
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,+KAI5B,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,0BAA0B,CAAC;IAExC,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-nightly.
|
|
3
|
+
"version": "0.51.0-nightly.20251220023811",
|
|
4
4
|
"description": "Ledger Live - Mobile UI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,8 +39,9 @@
|
|
|
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": "
|
|
43
|
-
"
|
|
42
|
+
"styled-system": "5.1.5",
|
|
43
|
+
"stylis": "4.0.0",
|
|
44
|
+
"@ledgerhq/icons-ui": "^0.18.0-nightly.20251220023811",
|
|
44
45
|
"@ledgerhq/ui-shared": "^0.5.0"
|
|
45
46
|
},
|
|
46
47
|
"peerDependencies": {
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"react-native-reanimated": "3.16.7",
|
|
50
51
|
"react-native-safe-area-context": ">=5.5.2",
|
|
51
52
|
"react-native-svg": ">=12.1.1",
|
|
52
|
-
"styled-components": "
|
|
53
|
+
"styled-components": ">=6.0.0"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@babel/core": "7.27.1",
|
|
@@ -105,8 +106,6 @@
|
|
|
105
106
|
"@types/node": "^22.10.10",
|
|
106
107
|
"@types/prop-types": "^15.7.5",
|
|
107
108
|
"@types/react": "^18.2.21",
|
|
108
|
-
"@types/styled-components": "^5.1.3",
|
|
109
|
-
"@types/styled-components-react-native": "^5.1.3",
|
|
110
109
|
"@types/styled-system": "^5.1.13",
|
|
111
110
|
"assert": "^2.0.0",
|
|
112
111
|
"babel-loader": "10.0.0",
|
|
@@ -153,7 +152,7 @@
|
|
|
153
152
|
"rimraf": "^4.4.1",
|
|
154
153
|
"storybook": "^7.6.18",
|
|
155
154
|
"storybook-dark-mode": "^3.0.3",
|
|
156
|
-
"styled-components": "
|
|
155
|
+
"styled-components": "6.1.19",
|
|
157
156
|
"stylelint": "^14.9.1",
|
|
158
157
|
"stylelint-config-recommended": "^13.0.0",
|
|
159
158
|
"stylelint-config-styled-components": "^0.1.1",
|