@ornikar/kitt-universal 3.0.0 → 3.3.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/dist/definitions/Button/AnimatedButtonPressable.d.ts +14 -0
- package/dist/definitions/Button/AnimatedButtonPressable.d.ts.map +1 -0
- package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts +17 -0
- package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts.map +1 -0
- package/dist/definitions/Button/BaseStyledButtonPressable.d.ts +11 -0
- package/dist/definitions/Button/BaseStyledButtonPressable.d.ts.map +1 -0
- package/dist/definitions/Button/Button.d.ts +9 -4
- package/dist/definitions/Button/Button.d.ts.map +1 -1
- package/dist/definitions/Button/ButtonContent.d.ts +11 -3
- package/dist/definitions/Button/ButtonContent.d.ts.map +1 -1
- package/dist/definitions/Button/StyledDisabled.d.ts +3 -0
- package/dist/definitions/Button/StyledDisabled.d.ts.map +1 -0
- package/dist/definitions/Button/isSubtle.d.ts +3 -0
- package/dist/definitions/Button/isSubtle.d.ts.map +1 -0
- package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
- package/dist/definitions/IconButton/PressableIconButton.d.ts.map +1 -1
- package/dist/definitions/Loader/LargeLoader.web.d.ts.map +1 -1
- package/dist/definitions/Loader/Loader.d.ts +1 -1
- package/dist/definitions/Loader/Loader.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +3 -43
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/buttonLateOceanTheme.d.ts +42 -35
- package/dist/definitions/themes/late-ocean/buttonLateOceanTheme.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts +2 -0
- package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts +11 -11
- package/dist/definitions/typography/TypographyIcon.d.ts +2 -2
- package/dist/definitions/typography/TypographyIcon.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
- package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts +7 -2
- package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts.map +1 -1
- package/dist/definitions/utils/windowSize/useMatchWindowSize.d.ts +5 -2
- package/dist/definitions/utils/windowSize/useMatchWindowSize.d.ts.map +1 -1
- package/dist/definitions/utils/withTheme.d.ts +2 -2
- package/dist/definitions/utils/withTheme.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +421 -234
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +421 -234
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +425 -238
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +421 -228
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +448 -206
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.css +1 -0
- package/dist/index-node-14.17.cjs.web.js +400 -196
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/styles.css +1 -0
- package/dist/tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/definitions/Button/ButtonPressable.d.ts +0 -13
- package/dist/definitions/Button/ButtonPressable.d.ts.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { PressableProps, View } from 'react-native';
|
|
3
|
+
import type { ButtonType } from './Button';
|
|
4
|
+
export interface StyledPressableProps extends PressableProps {
|
|
5
|
+
$isStretch?: boolean;
|
|
6
|
+
$type: ButtonType;
|
|
7
|
+
}
|
|
8
|
+
export interface AnimatedButtonPressableProps extends PressableProps {
|
|
9
|
+
accessibilityRole: NonNullable<PressableProps['accessibilityRole']>;
|
|
10
|
+
$type: ButtonType;
|
|
11
|
+
$isStretch?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const AnimatedButtonPressable: import("react").ForwardRefExoticComponent<AnimatedButtonPressableProps & import("react").RefAttributes<View>>;
|
|
14
|
+
//# sourceMappingURL=AnimatedButtonPressable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedButtonPressable.d.ts","sourceRoot":"","sources":["../../../src/Button/AnimatedButtonPressable.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB;AAcD,MAAM,WAAW,4BAA6B,SAAQ,cAAc;IAClE,iBAAiB,EAAE,WAAW,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACpE,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,uBAAuB,+GA8DnC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { DefaultTheme } from 'styled-components/native';
|
|
3
|
+
import type { AnimatedButtonPressableProps } from './AnimatedButtonPressable';
|
|
4
|
+
import type { ButtonType } from './Button';
|
|
5
|
+
interface AnimatedButtonPressableContainerProps {
|
|
6
|
+
theme: DefaultTheme;
|
|
7
|
+
$isDisabled?: boolean;
|
|
8
|
+
$type: ButtonType;
|
|
9
|
+
$isStretch?: boolean;
|
|
10
|
+
$isSubtle?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const AnimatedButtonPressableContainer: import("react").ComponentType<import("type-fest").Except<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & AnimatedButtonPressableContainerProps & {
|
|
13
|
+
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
}, "theme">>;
|
|
15
|
+
export declare const AnimatedButtonPressable: import("react").ForwardRefExoticComponent<AnimatedButtonPressableProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=AnimatedButtonPressable.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedButtonPressable.web.d.ts","sourceRoot":"","sources":["../../../src/Button/AnimatedButtonPressable.web.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C,UAAU,qCAAqC;IAC7C,KAAK,EAAE,YAAY,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,gCAAgC;;YA0H3C,CAAC;AAEH,eAAO,MAAM,uBAAuB,yHAQnC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
import type { ButtonType } from './Button';
|
|
4
|
+
export interface BaseStyledButtonPressableProps extends ViewProps {
|
|
5
|
+
$type: ButtonType;
|
|
6
|
+
$isLarge?: boolean;
|
|
7
|
+
$isStretch?: boolean;
|
|
8
|
+
$isDisabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const BaseStyledButtonPressable: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, BaseStyledButtonPressableProps, never>;
|
|
11
|
+
//# sourceMappingURL=BaseStyledButtonPressable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseStyledButtonPressable.d.ts","sourceRoot":"","sources":["../../../src/Button/BaseStyledButtonPressable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,8BAA+B,SAAQ,SAAS;IAC/D,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,yBAAyB,kKA8BrC,CAAC"}
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import type { PressableProps } from 'react-native';
|
|
3
|
-
export declare type
|
|
2
|
+
import type { PressableProps, View } from 'react-native';
|
|
3
|
+
export declare type SubtleButtonType = 'subtle' | 'subtle-dark';
|
|
4
|
+
export declare type ButtonType = 'primary' | 'default' | SubtleButtonType | 'white';
|
|
4
5
|
declare type IconPosition = 'right' | 'left';
|
|
5
6
|
export interface ButtonProps {
|
|
6
7
|
children?: ReactNode;
|
|
7
8
|
type?: ButtonType;
|
|
8
9
|
disabled?: boolean;
|
|
10
|
+
stretch?: boolean;
|
|
11
|
+
large?: boolean;
|
|
9
12
|
icon?: ReactElement;
|
|
10
13
|
iconPosition?: IconPosition;
|
|
11
14
|
iconSpin?: boolean;
|
|
12
|
-
stretch?: boolean;
|
|
13
15
|
testID?: PressableProps['testID'];
|
|
14
16
|
href?: PressableProps['href'];
|
|
15
17
|
hrefAttrs?: PressableProps['hrefAttrs'];
|
|
18
|
+
accessibilityRole?: PressableProps['accessibilityRole'];
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: PressableProps['style'];
|
|
16
21
|
onPress?: () => void;
|
|
17
22
|
}
|
|
18
|
-
export declare
|
|
23
|
+
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<View>>;
|
|
19
24
|
export {};
|
|
20
25
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAOzD,oBAAY,gBAAgB,GAAG,QAAQ,GAAG,aAAa,CAAC;AACxD,oBAAY,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,gBAAgB,GAAG,OAAO,CAAC;AAE5E,aAAK,YAAY,GAAG,OAAO,GAAG,MAAM,CAAC;AAErC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,iBAAiB,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,MAAM,8FA+ClB,CAAC"}
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import type { Except } from 'type-fest';
|
|
3
|
+
import type { TypographyColor } from '../typography/Typography';
|
|
3
4
|
import type { ButtonProps, ButtonType } from './Button';
|
|
4
|
-
interface ButtonContentProps extends Except<ButtonProps, 'onPress'> {
|
|
5
|
-
|
|
5
|
+
interface ButtonContentProps extends Except<ButtonProps, 'onPress' | 'disabled' | 'stretch'> {
|
|
6
|
+
isDisabled?: boolean;
|
|
6
7
|
type: NonNullable<ButtonType>;
|
|
8
|
+
$isStretch: ButtonProps['stretch'];
|
|
7
9
|
}
|
|
8
|
-
|
|
10
|
+
interface ButtonContentChildrenProps extends Except<ButtonProps, 'onPress' | 'disabled' | 'stretch'> {
|
|
11
|
+
isDisabled?: boolean;
|
|
12
|
+
type: NonNullable<ButtonType>;
|
|
13
|
+
color: TypographyColor;
|
|
14
|
+
}
|
|
15
|
+
export declare function ButtonContentChildren({ type, icon, iconPosition, iconSpin, isDisabled, color, children, }: ButtonContentChildrenProps): ReactElement | null;
|
|
16
|
+
export declare function ButtonContent({ type, isDisabled, $isStretch, icon, children, ...props }: ButtonContentProps): ReactElement;
|
|
9
17
|
export {};
|
|
10
18
|
//# sourceMappingURL=ButtonContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonContent.d.ts","sourceRoot":"","sources":["../../../src/Button/ButtonContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonContent.d.ts","sourceRoot":"","sources":["../../../src/Button/ButtonContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,eAAe,EAAuB,MAAM,0BAA0B,CAAC;AAIrF,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AA+ExD,UAAU,kBAAmB,SAAQ,MAAM,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAC1F,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAC9B,UAAU,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACpC;AAED,UAAU,0BAA2B,SAAQ,MAAM,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAClG,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAC9B,KAAK,EAAE,eAAe,CAAC;CACxB;AAQD,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,KAAK,EACL,QAAQ,GACT,EAAE,0BAA0B,GAAG,YAAY,GAAG,IAAI,CA+ClD;AA4BD,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,UAAU,EACV,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG,YAAY,CAUnC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
export declare const StyledDisabled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
//# sourceMappingURL=StyledDisabled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StyledDisabled.d.ts","sourceRoot":"","sources":["../../../src/Button/StyledDisabled.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,cAAc,sIAW1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isSubtle.d.ts","sourceRoot":"","sources":["../../../src/Button/isSubtle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE7D,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,IAAI,gBAAgB,CAEnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpinningIcon.web.d.ts","sourceRoot":"","sources":["../../../src/Icon/SpinningIcon.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SpinningIcon.web.d.ts","sourceRoot":"","sources":["../../../src/Icon/SpinningIcon.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AA0BxD,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAE1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressableIconButton.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"PressableIconButton.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAMnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAwE3D,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,KAAK,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,GAAG,YAAY,CAM/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LargeLoader.web.d.ts","sourceRoot":"","sources":["../../../src/Loader/LargeLoader.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"LargeLoader.web.d.ts","sourceRoot":"","sources":["../../../src/Loader/LargeLoader.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAoF1C,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,YAAY,CAatE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import type { TypographyIconProps } from '../typography/TypographyIcon';
|
|
3
3
|
export interface LoaderProps {
|
|
4
|
-
color?: TypographyIconProps['color']
|
|
4
|
+
color?: Exclude<TypographyIconProps['color'], 'inherit'>;
|
|
5
5
|
size?: TypographyIconProps['size'];
|
|
6
6
|
}
|
|
7
7
|
export declare function Loader({ color, size }: LoaderProps): ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;CACpC;AAOD,wBAAgB,MAAM,CAAC,EAAE,KAAiB,EAAE,IAAS,EAAE,EAAE,WAAW,GAAG,YAAY,CAIlF"}
|
|
@@ -34,6 +34,8 @@ export declare const theme: {
|
|
|
34
34
|
black: string;
|
|
35
35
|
uiBackground: string;
|
|
36
36
|
uiBackgroundLight: string;
|
|
37
|
+
transparent: string;
|
|
38
|
+
disabled: string;
|
|
37
39
|
overlay: {
|
|
38
40
|
dark: string;
|
|
39
41
|
light: string;
|
|
@@ -74,49 +76,7 @@ export declare const theme: {
|
|
|
74
76
|
backgroundColor: string;
|
|
75
77
|
};
|
|
76
78
|
};
|
|
77
|
-
button:
|
|
78
|
-
borderRadius: string;
|
|
79
|
-
borderWidth: string;
|
|
80
|
-
minHeight: string;
|
|
81
|
-
minWidth: string;
|
|
82
|
-
maxWidth: string;
|
|
83
|
-
iconSize: number;
|
|
84
|
-
contentPadding: {
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
primary: {
|
|
88
|
-
backgroundColor: string;
|
|
89
|
-
disabledBackgroundColor: string;
|
|
90
|
-
pressedBackgroundColor: string;
|
|
91
|
-
disabledBorderColor: string;
|
|
92
|
-
};
|
|
93
|
-
secondary: {
|
|
94
|
-
backgroundColor: string;
|
|
95
|
-
disabledBackgroundColor: string;
|
|
96
|
-
pressedBackgroundColor: string;
|
|
97
|
-
disabledBorderColor: string;
|
|
98
|
-
};
|
|
99
|
-
subtle: {
|
|
100
|
-
backgroundColor: string;
|
|
101
|
-
disabledBackgroundColor: string;
|
|
102
|
-
pressedBackgroundColor: string;
|
|
103
|
-
disabledBorderColor: string;
|
|
104
|
-
};
|
|
105
|
-
'subtle-dark': {
|
|
106
|
-
backgroundColor: string;
|
|
107
|
-
disabledBackgroundColor: string;
|
|
108
|
-
pressedBackgroundColor: string;
|
|
109
|
-
disabledBorderColor: string;
|
|
110
|
-
};
|
|
111
|
-
white: {
|
|
112
|
-
backgroundColor: string;
|
|
113
|
-
disabledBackgroundColor: string;
|
|
114
|
-
hoverBackgroundColor: string;
|
|
115
|
-
pressedBackgroundColor: string;
|
|
116
|
-
focusBorderColor: string;
|
|
117
|
-
disabledBorderColor: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
79
|
+
button: import("./late-ocean/buttonLateOceanTheme").ButtonTheme;
|
|
120
80
|
card: {
|
|
121
81
|
borderRadius: string;
|
|
122
82
|
borderWidth: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAC;AAIF,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAC;AAIF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBjB,CAAC;AAEF,oBAAY,KAAK,GAAG,OAAO,KAAK,CAAC"}
|
|
@@ -1,44 +1,51 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface ButtonVariantTheme {
|
|
2
|
+
backgroundColor: string;
|
|
3
|
+
pressedBackgroundColor: string;
|
|
4
|
+
hoverBackgroundColor: string;
|
|
5
|
+
focusBorderColor: string;
|
|
6
|
+
}
|
|
7
|
+
export interface SubtleButtonVariantTheme extends ButtonVariantTheme {
|
|
8
|
+
color: string;
|
|
9
|
+
hoverColor: string;
|
|
10
|
+
activeColor: string;
|
|
11
|
+
}
|
|
12
|
+
export interface DisabledButtonVariantTheme extends ButtonVariantTheme {
|
|
13
|
+
borderColor: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ButtonTheme {
|
|
2
16
|
borderRadius: string;
|
|
3
|
-
borderWidth:
|
|
17
|
+
borderWidth: {
|
|
18
|
+
disabled: string;
|
|
19
|
+
focus: string;
|
|
20
|
+
};
|
|
4
21
|
minHeight: string;
|
|
5
22
|
minWidth: string;
|
|
6
23
|
maxWidth: string;
|
|
7
|
-
|
|
24
|
+
scale: {
|
|
25
|
+
base: {
|
|
26
|
+
default: number;
|
|
27
|
+
hover: number;
|
|
28
|
+
active: number;
|
|
29
|
+
};
|
|
30
|
+
medium: {
|
|
31
|
+
hover: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
8
34
|
contentPadding: {
|
|
9
35
|
default: string;
|
|
36
|
+
large: string;
|
|
37
|
+
disabled: string;
|
|
10
38
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
pressedBackgroundColor: string;
|
|
15
|
-
disabledBorderColor: string;
|
|
16
|
-
};
|
|
17
|
-
secondary: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
disabledBackgroundColor: string;
|
|
20
|
-
pressedBackgroundColor: string;
|
|
21
|
-
disabledBorderColor: string;
|
|
22
|
-
};
|
|
23
|
-
subtle: {
|
|
24
|
-
backgroundColor: string;
|
|
25
|
-
disabledBackgroundColor: string;
|
|
26
|
-
pressedBackgroundColor: string;
|
|
27
|
-
disabledBorderColor: string;
|
|
28
|
-
};
|
|
29
|
-
'subtle-dark': {
|
|
30
|
-
backgroundColor: string;
|
|
31
|
-
disabledBackgroundColor: string;
|
|
32
|
-
pressedBackgroundColor: string;
|
|
33
|
-
disabledBorderColor: string;
|
|
34
|
-
};
|
|
35
|
-
white: {
|
|
36
|
-
backgroundColor: string;
|
|
37
|
-
disabledBackgroundColor: string;
|
|
38
|
-
hoverBackgroundColor: string;
|
|
39
|
-
pressedBackgroundColor: string;
|
|
40
|
-
focusBorderColor: string;
|
|
41
|
-
disabledBorderColor: string;
|
|
39
|
+
transition: {
|
|
40
|
+
duration: string;
|
|
41
|
+
timingFunction: string;
|
|
42
42
|
};
|
|
43
|
-
|
|
43
|
+
default: ButtonVariantTheme;
|
|
44
|
+
primary: ButtonVariantTheme;
|
|
45
|
+
white: ButtonVariantTheme;
|
|
46
|
+
subtle: SubtleButtonVariantTheme;
|
|
47
|
+
'subtle-dark': SubtleButtonVariantTheme;
|
|
48
|
+
disabled: DisabledButtonVariantTheme;
|
|
49
|
+
}
|
|
50
|
+
export declare const buttonLateOceanTheme: ButtonTheme;
|
|
44
51
|
//# sourceMappingURL=buttonLateOceanTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/buttonLateOceanTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buttonLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/buttonLateOceanTheme.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IAGjC,eAAe,EAAE,MAAM,CAAC;IACxB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB;IACpE,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE;QACX,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,OAAO,EAAE,MAAM,CAAC;YAChB,KAAK,EAAE,MAAM,CAAC;YACd,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,MAAM,EAAE;YACN,KAAK,EAAE,MAAM,CAAC;SACf,CAAC;KACH,CAAC;IACF,cAAc,EAAE;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,UAAU,EAAE;QACV,QAAQ,EAAE,MAAM,CAAC;QACjB,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,OAAO,EAAE,kBAAkB,CAAC;IAC5B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,kBAAkB,CAAC;IAC1B,MAAM,EAAE,wBAAwB,CAAC;IACjC,aAAa,EAAE,wBAAwB,CAAC;IACxC,QAAQ,EAAE,0BAA0B,CAAC;CACtC;AAED,eAAO,MAAM,oBAAoB,EAAE,WAuElC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colorsLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/colorsLateOceanTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"colorsLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/colorsLateOceanTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC"}
|
|
@@ -37,17 +37,17 @@ export declare function Typography({ accessibilityRole, base, small, medium, lar
|
|
|
37
37
|
export declare namespace Typography {
|
|
38
38
|
var Text: typeof TypographyText;
|
|
39
39
|
var Paragraph: typeof TypographyParagraph;
|
|
40
|
-
var Header1: FC<
|
|
41
|
-
var Header2: FC<
|
|
42
|
-
var Header3: FC<
|
|
43
|
-
var Header4: FC<
|
|
44
|
-
var Header5: FC<
|
|
45
|
-
var Header6: FC<
|
|
46
|
-
var h1: FC<
|
|
47
|
-
var h2: FC<
|
|
48
|
-
var h3: FC<
|
|
49
|
-
var h4: FC<
|
|
50
|
-
var h5: FC<
|
|
40
|
+
var Header1: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
41
|
+
var Header2: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
42
|
+
var Header3: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
43
|
+
var Header4: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
44
|
+
var Header5: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
45
|
+
var Header6: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
46
|
+
var h1: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
47
|
+
var h2: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
48
|
+
var h3: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
49
|
+
var h4: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
50
|
+
var h5: FC<Except<TypographyProps, "accessibilityRole">>;
|
|
51
51
|
}
|
|
52
52
|
export declare type TypographyTextProps = SetOptional<TypographyProps, 'accessibilityRole'>;
|
|
53
53
|
declare function TypographyText(props: TypographyTextProps): ReactElement;
|
|
@@ -3,7 +3,7 @@ import type { Except } from 'type-fest';
|
|
|
3
3
|
import type { IconProps } from '../Icon/Icon';
|
|
4
4
|
import type { TypographyProps } from './Typography';
|
|
5
5
|
export interface TypographyIconProps extends Except<IconProps, 'color'> {
|
|
6
|
-
color?: TypographyProps['color'];
|
|
6
|
+
color?: TypographyProps['color'] | 'inherit';
|
|
7
7
|
}
|
|
8
|
-
export declare function TypographyIcon({ color, ...
|
|
8
|
+
export declare function TypographyIcon({ color, ...props }: TypographyIconProps): ReactElement;
|
|
9
9
|
//# sourceMappingURL=TypographyIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypographyIcon.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC;IACrE,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"TypographyIcon.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC;IACrE,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;CAC9C;AAaD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,YAAY,CAMrF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypographyLink.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"TypographyLink.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGxC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AA6C/D,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,0BAA0B,EAAE,UAAU,CAAC;IACzF,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,WAAW,CAAC,0BAA0B,CAAC,SAAS,CAAC,CAAC,CAAC;IAC5D,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC/B;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,SAAS,EACT,OAAO,EACP,GAAG,UAAU,EACd,EAAE,mBAAmB,GAAG,YAAY,CAqBpC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FlattenSimpleInterpolation } from 'styled-components';
|
|
1
2
|
import type { MatchWindowSizeOptions } from './useMatchWindowSize';
|
|
2
3
|
export interface WindowSizeHelper {
|
|
3
4
|
/** Prefer using if or map variants, at it should be more web friendly */
|
|
@@ -15,7 +16,7 @@ export interface WindowSizeHelper {
|
|
|
15
16
|
* `;
|
|
16
17
|
* ```
|
|
17
18
|
*/
|
|
18
|
-
ifWindowSizeMatches: <T extends string | null>(options: MatchWindowSizeOptions, valueIfTrue: T, valueIfFalse
|
|
19
|
+
ifWindowSizeMatches: <T extends string | FlattenSimpleInterpolation | null>(options: MatchWindowSizeOptions, valueIfTrue: T, valueIfFalse?: T) => T | undefined;
|
|
19
20
|
/**
|
|
20
21
|
*
|
|
21
22
|
* @example
|
|
@@ -32,5 +33,9 @@ export interface WindowSizeHelper {
|
|
|
32
33
|
*/
|
|
33
34
|
mapWindowWidth: <V extends string>(...widthList: [number, V][]) => V | null;
|
|
34
35
|
}
|
|
35
|
-
export
|
|
36
|
+
export interface WindowDimensions {
|
|
37
|
+
width?: number;
|
|
38
|
+
height?: number;
|
|
39
|
+
}
|
|
40
|
+
export declare function createWindowSizeHelper(dimensions: WindowDimensions): WindowSizeHelper;
|
|
36
41
|
//# sourceMappingURL=createWindowSizeHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createWindowSizeHelper.d.ts","sourceRoot":"","sources":["../../../../src/utils/windowSize/createWindowSizeHelper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createWindowSizeHelper.d.ts","sourceRoot":"","sources":["../../../../src/utils/windowSize/createWindowSizeHelper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAGnE,MAAM,WAAW,gBAAgB;IAC/B,yEAAyE;IACzE,eAAe,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,OAAO,CAAC;IAE9D;;;;;;;;;;;;OAYG;IACH,mBAAmB,EAAE,CAAC,CAAC,SAAS,MAAM,GAAG,0BAA0B,GAAG,IAAI,EACxE,OAAO,EAAE,sBAAsB,EAC/B,WAAW,EAAE,CAAC,EACd,YAAY,CAAC,EAAE,CAAC,KACb,CAAC,GAAG,SAAS,CAAC;IAEnB;;;;;;;;;;;;;OAaG;IACH,cAAc,EAAE,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,SAAS,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC;CAC7E;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,GAAG,gBAAgB,CAuBrF"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { WindowDimensions } from './createWindowSizeHelper';
|
|
1
2
|
export interface MatchWindowSizeOptions {
|
|
2
|
-
minWidth
|
|
3
|
+
minWidth?: number;
|
|
3
4
|
maxWidth?: number;
|
|
5
|
+
minHeight?: number;
|
|
6
|
+
maxHeight?: number;
|
|
4
7
|
}
|
|
5
|
-
export declare function matchWindowSize(
|
|
8
|
+
export declare function matchWindowSize({ width, height }: WindowDimensions, { minWidth, maxWidth, minHeight, maxHeight }: MatchWindowSizeOptions): boolean;
|
|
6
9
|
export declare function useMatchWindowSize(options: MatchWindowSizeOptions): boolean;
|
|
7
10
|
//# sourceMappingURL=useMatchWindowSize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMatchWindowSize.d.ts","sourceRoot":"","sources":["../../../../src/utils/windowSize/useMatchWindowSize.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useMatchWindowSize.d.ts","sourceRoot":"","sources":["../../../../src/utils/windowSize/useMatchWindowSize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,wBAAgB,eAAe,CAC7B,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,gBAAgB,EACnC,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,sBAAsB,GACnE,OAAO,CAIT;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAG3E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
2
|
import type { DefaultTheme } from 'styled-components/native';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Except } from 'type-fest';
|
|
4
4
|
export declare function withTheme<Props extends {
|
|
5
5
|
theme: DefaultTheme;
|
|
6
|
-
}>(WrappedComponent:
|
|
6
|
+
}>(WrappedComponent: ComponentType<Props>): ComponentType<Except<Props, 'theme'>>;
|
|
7
7
|
//# sourceMappingURL=withTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withTheme.d.ts","sourceRoot":"","sources":["../../../src/utils/withTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"withTheme.d.ts","sourceRoot":"","sources":["../../../src/utils/withTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAexC,wBAAgB,SAAS,CAAC,KAAK,SAAS;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,EAC7D,gBAAgB,EAAE,aAAa,CAAC,KAAK,CAAC,GACrC,aAAa,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAMvC"}
|