@ornikar/kitt-universal 5.0.1 → 6.1.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 +2 -1
- package/dist/definitions/Button/AnimatedButtonPressable.d.ts.map +1 -1
- package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts +2 -1
- package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts.map +1 -1
- package/dist/definitions/Button/BaseStyledButtonPressable.d.ts +2 -1
- package/dist/definitions/Button/BaseStyledButtonPressable.d.ts.map +1 -1
- package/dist/definitions/Button/Button.d.ts +2 -1
- package/dist/definitions/Button/Button.d.ts.map +1 -1
- package/dist/definitions/Button/ButtonContent.d.ts +4 -3
- package/dist/definitions/Button/ButtonContent.d.ts.map +1 -1
- package/dist/definitions/Button/getVariantValuesIfExist.d.ts +5 -0
- package/dist/definitions/Button/getVariantValuesIfExist.d.ts.map +1 -0
- package/dist/definitions/ExternalLink/ExternalLink.d.ts +3 -3
- package/dist/definitions/ExternalLink/ExternalLink.d.ts.map +1 -1
- package/dist/definitions/Icon/Icon.d.ts +10 -2
- package/dist/definitions/Icon/Icon.d.ts.map +1 -1
- package/dist/definitions/Icon/SpinningIcon.d.ts +4 -4
- package/dist/definitions/Icon/SpinningIcon.d.ts.map +1 -1
- package/dist/definitions/Icon/SpinningIcon.web.d.ts +1 -1
- package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
- package/dist/definitions/Loader/Loader.d.ts.map +1 -1
- package/dist/definitions/Loader/Loader.web.d.ts +3 -3
- package/dist/definitions/Loader/Loader.web.d.ts.map +1 -1
- package/dist/definitions/forms/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +1 -1
- package/dist/definitions/index.d.ts +4 -0
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/button.d.ts +26 -9
- package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
- package/dist/definitions/typography/TypographySpinningIcon.d.ts +9 -0
- package/dist/definitions/typography/TypographySpinningIcon.d.ts.map +1 -0
- package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts +4 -2
- package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +294 -303
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +294 -303
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +294 -303
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +373 -364
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +197 -109
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.css +1 -1
- package/dist/index-node-14.17.cjs.web.js +215 -118
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.android.js +59 -38
- package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.ios.js +59 -38
- package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.js +59 -38
- package/dist/linaria-themes-browser-all.es.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.web.js +59 -38
- package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.js +59 -38
- package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.web.js +59 -38
- package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +8 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { PressableProps, View } from 'react-native';
|
|
3
|
-
import type { ButtonType } from './Button';
|
|
3
|
+
import type { ButtonType, ButtonVariant } from './Button';
|
|
4
4
|
export interface StyledPressableProps extends PressableProps {
|
|
5
5
|
$isStretch?: boolean;
|
|
6
6
|
$type: ButtonType;
|
|
@@ -8,6 +8,7 @@ export interface StyledPressableProps extends PressableProps {
|
|
|
8
8
|
export interface AnimatedButtonPressableProps extends PressableProps {
|
|
9
9
|
accessibilityRole: NonNullable<PressableProps['accessibilityRole']>;
|
|
10
10
|
$type: ButtonType;
|
|
11
|
+
$variant: ButtonVariant;
|
|
11
12
|
$isStretch?: boolean;
|
|
12
13
|
}
|
|
13
14
|
export declare const AnimatedButtonPressable: import("react").ForwardRefExoticComponent<AnimatedButtonPressableProps & import("react").RefAttributes<View>>;
|
|
@@ -1 +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;
|
|
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,aAAa,EAAE,MAAM,UAAU,CAAC;AAG1D,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,QAAQ,EAAE,aAAa,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,uBAAuB,+GA+DnC,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { DefaultTheme } from 'styled-components/native';
|
|
3
3
|
import type { AnimatedButtonPressableProps } from './AnimatedButtonPressable';
|
|
4
|
-
import type { ButtonType } from './Button';
|
|
4
|
+
import type { ButtonType, ButtonVariant } from './Button';
|
|
5
5
|
interface AnimatedButtonPressableContainerProps {
|
|
6
6
|
theme: DefaultTheme;
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
$isDisabled?: boolean;
|
|
9
9
|
$type: ButtonType;
|
|
10
|
+
$variant: ButtonVariant;
|
|
10
11
|
$isStretch?: boolean;
|
|
11
12
|
$isSubtle?: boolean;
|
|
12
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedButtonPressable.web.d.ts","sourceRoot":"","sources":["../../../src/Button/AnimatedButtonPressable.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"AnimatedButtonPressable.web.d.ts","sourceRoot":"","sources":["../../../src/Button/AnimatedButtonPressable.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAI1D,UAAU,qCAAqC;IAC7C,KAAK,EAAE,YAAY,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,aAAa,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,gCAAgC,uKA0I3C,CAAC;AAEH,eAAO,MAAM,uBAAuB,yHAcnC,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="styled-components-react-native" />
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
|
-
import type { ButtonType } from './Button';
|
|
3
|
+
import type { ButtonType, ButtonVariant } from './Button';
|
|
4
4
|
export interface BaseStyledButtonPressableProps extends ViewProps {
|
|
5
5
|
$type: ButtonType;
|
|
6
|
+
$variant: ButtonVariant;
|
|
6
7
|
$isLarge?: boolean;
|
|
7
8
|
$isStretch?: boolean;
|
|
8
9
|
$isDisabled?: boolean;
|
|
@@ -1 +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;
|
|
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,aAAa,EAAE,MAAM,UAAU,CAAC;AAG1D,MAAM,WAAW,8BAA+B,SAAQ,SAAS;IAC/D,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,aAAa,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,yBAAyB,kKA8BrC,CAAC"}
|
|
@@ -2,16 +2,17 @@ import type { ReactElement, ReactNode } from 'react';
|
|
|
2
2
|
import type { PressableProps, View } from 'react-native';
|
|
3
3
|
export declare type SubtleButtonType = 'subtle' | 'subtle-dark';
|
|
4
4
|
export declare type ButtonType = 'primary' | 'default' | SubtleButtonType | 'white';
|
|
5
|
+
export declare type ButtonVariant = 'default' | 'ghost';
|
|
5
6
|
declare type IconPosition = 'right' | 'left';
|
|
6
7
|
export interface ButtonProps {
|
|
7
8
|
children?: ReactNode;
|
|
8
9
|
type?: ButtonType;
|
|
10
|
+
variant?: ButtonVariant;
|
|
9
11
|
disabled?: boolean;
|
|
10
12
|
stretch?: boolean;
|
|
11
13
|
large?: boolean;
|
|
12
14
|
icon?: ReactElement;
|
|
13
15
|
iconPosition?: IconPosition;
|
|
14
|
-
iconSpin?: boolean;
|
|
15
16
|
testID?: PressableProps['testID'];
|
|
16
17
|
href?: PressableProps['href'];
|
|
17
18
|
hrefAttrs?: PressableProps['hrefAttrs'];
|
|
@@ -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,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,EA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cAAc,CAAC,SAAS,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,MAAM,8FA0DlB,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import type { Except } from 'type-fest';
|
|
3
3
|
import type { TypographyColor } from '../typography/Typography';
|
|
4
|
-
import type { ButtonProps, ButtonType } from './Button';
|
|
4
|
+
import type { ButtonProps, ButtonType, ButtonVariant } from './Button';
|
|
5
5
|
interface ButtonContentProps extends Except<ButtonProps, 'onPress' | 'disabled' | 'stretch'> {
|
|
6
6
|
isDisabled?: boolean;
|
|
7
7
|
type: NonNullable<ButtonType>;
|
|
8
|
+
variant: NonNullable<ButtonVariant>;
|
|
8
9
|
$isStretch: ButtonProps['stretch'];
|
|
9
10
|
}
|
|
10
11
|
interface ButtonContentChildrenProps extends Except<ButtonProps, 'onPress' | 'disabled' | 'stretch'> {
|
|
@@ -12,7 +13,7 @@ interface ButtonContentChildrenProps extends Except<ButtonProps, 'onPress' | 'di
|
|
|
12
13
|
type: NonNullable<ButtonType>;
|
|
13
14
|
color: TypographyColor;
|
|
14
15
|
}
|
|
15
|
-
export declare function ButtonContentChildren({ type, icon, iconPosition,
|
|
16
|
-
export declare function ButtonContent({ type, isDisabled, $isStretch, icon, children, ...props }: ButtonContentProps): ReactElement;
|
|
16
|
+
export declare function ButtonContentChildren({ type, icon, iconPosition, isDisabled, color, children, }: ButtonContentChildrenProps): ReactElement | null;
|
|
17
|
+
export declare function ButtonContent({ type, variant, isDisabled, $isStretch, icon, children, ...props }: ButtonContentProps): ReactElement;
|
|
17
18
|
export {};
|
|
18
19
|
//# 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;AAG1C,OAAO,KAA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,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG,YAAY,CAUnC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DefaultTheme } from 'styled-components/native';
|
|
2
|
+
import type { BaseButtonTheme, BaseButtonWithVariant } from '../themes/late-ocean/button';
|
|
3
|
+
import type { ButtonType, ButtonVariant } from './Button';
|
|
4
|
+
export declare function getVariantValuesIfExist<V extends ButtonVariant>(theme: DefaultTheme, type: ButtonType, variant: ButtonVariant): BaseButtonTheme['default'] | BaseButtonWithVariant[V];
|
|
5
|
+
//# sourceMappingURL=getVariantValuesIfExist.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVariantValuesIfExist.d.ts","sourceRoot":"","sources":["../../../src/Button/getVariantValuesIfExist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC1F,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAM1D,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,aAAa,EAC7D,KAAK,EAAE,YAAY,EACnB,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,aAAa,GACrB,eAAe,CAAC,SAAS,CAAC,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAQvD"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { ComponentProps, ReactElement, VoidFunctionComponent } from 'react';
|
|
2
|
-
import type { TextProps } from 'react-native';
|
|
2
|
+
import type { PressableProps, TextProps } from 'react-native';
|
|
3
3
|
import type { ExternalLinkOpenLinkBehavior } from './ExternalLinkOpenLinkBehavior';
|
|
4
4
|
export interface ExternalLinkAsComponentMinimumRequiredProps {
|
|
5
5
|
href?: TextProps['href'];
|
|
6
6
|
hrefAttrs?: TextProps['hrefAttrs'];
|
|
7
|
-
onPress?:
|
|
7
|
+
onPress?: PressableProps['onPress'];
|
|
8
8
|
}
|
|
9
9
|
export interface ExternalLinkProps<C extends VoidFunctionComponent<any>> {
|
|
10
10
|
as: C;
|
|
11
11
|
openLinkBehavior?: ExternalLinkOpenLinkBehavior;
|
|
12
12
|
href?: string;
|
|
13
|
-
onPress?:
|
|
13
|
+
onPress?: PressableProps['onPress'];
|
|
14
14
|
}
|
|
15
15
|
/** @internal for ExternalLink.web.tsx only */
|
|
16
16
|
export declare type ExternalLinkSendableComponentProps<C extends VoidFunctionComponent<any>> = Omit<ComponentProps<C>, keyof ExternalLinkProps<C> & keyof ExternalLinkAsComponentMinimumRequiredProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalLink.d.ts","sourceRoot":"","sources":["../../../src/ExternalLink/ExternalLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ExternalLink.d.ts","sourceRoot":"","sources":["../../../src/ExternalLink/ExternalLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAGnF,MAAM,WAAW,2CAA2C;IAC1D,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC;IACrE,EAAE,EAAE,CAAC,CAAC;IACN,gBAAgB,CAAC,EAAE,4BAA4B,CAAC;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACrC;AAED,8CAA8C;AAE9C,oBAAY,kCAAkC,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,IAAI,IAAI,CACzF,cAAc,CAAC,CAAC,CAAC,EACjB,MAAM,iBAAiB,CAAC,CAAC,CAAC,GAAG,MAAM,2CAA2C,CAC/E,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,EAAE,EACjE,EAAE,EAAE,SAAS,EACb,IAAI,EACJ,gBAA0C,EAC1C,OAAO,EACP,GAAG,IAAI,EACR,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,kCAAkC,CAAC,CAAC,CAAC,GAAG,YAAY,CA6B7E"}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
1
2
|
import type { ReactElement } from 'react';
|
|
2
3
|
import type { ViewStyle } from 'react-native';
|
|
3
4
|
export interface IconProps {
|
|
4
5
|
icon: ReactElement;
|
|
5
6
|
size?: number;
|
|
6
7
|
color: string;
|
|
7
|
-
spin?: boolean;
|
|
8
8
|
align?: ViewStyle['alignSelf'];
|
|
9
9
|
testID?: ViewStyle['testID'];
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
interface IconContainerProps {
|
|
12
|
+
$align?: ViewStyle['alignSelf'];
|
|
13
|
+
$size?: number;
|
|
14
|
+
$color: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const defaultIconSize = 20;
|
|
17
|
+
export declare const IconContainer: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, IconContainerProps, never>;
|
|
18
|
+
export declare function Icon({ icon, size, align, color }: IconProps): ReactElement;
|
|
19
|
+
export {};
|
|
12
20
|
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;CAC9B;AAED,UAAU,kBAAkB;IAC1B,MAAM,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,eAAO,MAAM,aAAa,sJAKzB,CAAC;AAEF,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,IAAsB,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,SAAS,GAAG,YAAY,CAQ5F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ReactElement
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { IconProps } from './Icon';
|
|
3
|
+
export interface SpinningIconProps extends IconProps {
|
|
4
4
|
}
|
|
5
|
-
export declare function SpinningIcon({
|
|
5
|
+
export declare function SpinningIcon({ icon, size, align, color }: SpinningIconProps): ReactElement;
|
|
6
6
|
//# sourceMappingURL=SpinningIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpinningIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/SpinningIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SpinningIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/SpinningIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGxC,MAAM,WAAW,iBAAkB,SAAQ,SAAS;CAAG;AAEvD,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,IAAsB,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAkC5G"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import type { SpinningIconProps } from './SpinningIcon';
|
|
3
|
-
export declare function SpinningIcon({
|
|
3
|
+
export declare function SpinningIcon({ icon, size, align, color }: SpinningIconProps): ReactElement;
|
|
4
4
|
//# sourceMappingURL=SpinningIcon.web.d.ts.map
|
|
@@ -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;AAK1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AA0BxD,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,IAAsB,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAO5G"}
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,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;AASD,wBAAgB,MAAM,CAAC,EAAE,KAAiB,EAAE,IAAwB,EAAE,EAAE,WAAW,GAAG,YAAY,CAIjG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TypographySpinningIconProps } from '../typography/TypographySpinningIcon';
|
|
3
3
|
export interface LoaderProps {
|
|
4
|
-
color?:
|
|
5
|
-
size?:
|
|
4
|
+
color?: TypographySpinningIconProps['color'];
|
|
5
|
+
size?: TypographySpinningIconProps['size'];
|
|
6
6
|
}
|
|
7
7
|
export declare function Loader({ color, size }: LoaderProps): ReactElement;
|
|
8
8
|
//# sourceMappingURL=Loader.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.web.d.ts","sourceRoot":"","sources":["../../../src/Loader/Loader.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Loader.web.d.ts","sourceRoot":"","sources":["../../../src/Loader/Loader.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAGxF,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,2BAA2B,CAAC,OAAO,CAAC,CAAC;IAC7C,IAAI,CAAC,EAAE,2BAA2B,CAAC,MAAM,CAAC,CAAC;CAC5C;AAED,wBAAgB,MAAM,CAAC,EAAE,KAAiB,EAAE,IAAS,EAAE,EAAE,WAAW,GAAG,YAAY,CAElF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/forms/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/forms/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AA+C1E,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC/D,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,OAAY,EACZ,EAAE,EACF,QAAQ,GACT,EAAE,aAAa,GAAG,YAAY,CA8B9B"}
|
|
@@ -6,6 +6,6 @@ interface WebInputTextContainerProps extends InputTextContainerProps {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const InputTextContainer: import("react").ForwardRefExoticComponent<Pick<import("type-fest").Except<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & WebInputTextContainerProps & {
|
|
8
8
|
as?: import("react").ElementType<any> | undefined;
|
|
9
|
-
}, "theme">, "
|
|
9
|
+
}, "theme">, "slot" | "style" | "title" | "children" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "color" | "key" | "as" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "hidden" | "onError" | "onLoad" | "onLoadStart" | "onProgress" | "onBlur" | "onFocus" | "$isDisabled" | "className" | "onChange" | "id" | "placeholder" | "onScroll" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css"> & import("react").RefAttributes<unknown>>;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=InputTextContainer.web.d.ts.map
|
|
@@ -42,6 +42,8 @@ export type { FullScreenModalProps } from './FullScreenModal/FullScreenModal';
|
|
|
42
42
|
export { FullScreenModal } from './FullScreenModal/FullScreenModal';
|
|
43
43
|
export type { IconProps } from './Icon/Icon';
|
|
44
44
|
export { Icon } from './Icon/Icon';
|
|
45
|
+
export type { SpinningIconProps } from './Icon/SpinningIcon';
|
|
46
|
+
export { SpinningIcon } from './Icon/SpinningIcon';
|
|
45
47
|
export type { IconButtonProps } from './IconButton/IconButton';
|
|
46
48
|
export { IconButton } from './IconButton/IconButton';
|
|
47
49
|
export type { KittBreakpoint, KittBreakpointMax } from './KittBreakpoints';
|
|
@@ -75,6 +77,8 @@ export type { TypographyIconProps } from './typography/TypographyIcon';
|
|
|
75
77
|
export { TypographyIcon } from './typography/TypographyIcon';
|
|
76
78
|
export type { TypographyLinkProps } from './typography/TypographyLink';
|
|
77
79
|
export { TypographyLink } from './typography/TypographyLink';
|
|
80
|
+
export type { TypographySpinningIconProps } from './typography/TypographySpinningIcon';
|
|
81
|
+
export { TypographySpinningIcon } from './typography/TypographySpinningIcon';
|
|
78
82
|
export type { KittTheme } from './useKittTheme';
|
|
79
83
|
export { useKittTheme } from './useKittTheme';
|
|
80
84
|
export { hex2rgba } from './utils/hexToRgba';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,YAAY,EAAE,iBAAiB,EAAE,MA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E,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC7F,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,YAAY,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,17 +1,34 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface BaseVariantTheme {
|
|
2
2
|
backgroundColor: string;
|
|
3
3
|
pressedBackgroundColor: string;
|
|
4
4
|
hoverBackgroundColor: string;
|
|
5
5
|
focusBorderColor: string;
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
7
|
+
export interface GhostVariantTheme extends BaseVariantTheme {
|
|
8
8
|
color: string;
|
|
9
9
|
hoverColor: string;
|
|
10
10
|
activeColor: string;
|
|
11
11
|
}
|
|
12
|
-
export interface
|
|
12
|
+
export interface BaseButtonTheme {
|
|
13
|
+
default: BaseVariantTheme;
|
|
14
|
+
}
|
|
15
|
+
export interface BaseButtonWithVariant extends BaseButtonTheme {
|
|
16
|
+
ghost: GhostVariantTheme;
|
|
17
|
+
}
|
|
18
|
+
export interface SubtleBaseVariantTheme extends BaseVariantTheme {
|
|
19
|
+
color: string;
|
|
20
|
+
hoverColor: string;
|
|
21
|
+
activeColor: string;
|
|
22
|
+
}
|
|
23
|
+
export interface SubtleButtonTheme extends BaseButtonTheme {
|
|
24
|
+
default: SubtleBaseVariantTheme;
|
|
25
|
+
}
|
|
26
|
+
export interface DisabledBaseVariantTheme extends BaseVariantTheme {
|
|
13
27
|
borderColor: string;
|
|
14
28
|
}
|
|
29
|
+
export interface DisabledButtonTheme extends BaseButtonTheme {
|
|
30
|
+
default: DisabledBaseVariantTheme;
|
|
31
|
+
}
|
|
15
32
|
export interface ButtonTheme {
|
|
16
33
|
borderRadius: number;
|
|
17
34
|
borderWidth: {
|
|
@@ -40,12 +57,12 @@ export interface ButtonTheme {
|
|
|
40
57
|
duration: string;
|
|
41
58
|
timingFunction: string;
|
|
42
59
|
};
|
|
43
|
-
default:
|
|
44
|
-
primary:
|
|
45
|
-
white:
|
|
46
|
-
subtle:
|
|
47
|
-
'subtle-dark':
|
|
48
|
-
disabled:
|
|
60
|
+
default: BaseButtonTheme;
|
|
61
|
+
primary: BaseButtonWithVariant;
|
|
62
|
+
white: BaseButtonTheme;
|
|
63
|
+
subtle: SubtleButtonTheme;
|
|
64
|
+
'subtle-dark': SubtleButtonTheme;
|
|
65
|
+
disabled: DisabledButtonTheme;
|
|
49
66
|
}
|
|
50
67
|
export declare const button: ButtonTheme;
|
|
51
68
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/button.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/button.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,gBAAgB,CAAC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B,aAAa,EAAE,iBAAiB,CAAC;IACjC,QAAQ,EAAE,mBAAmB,CAAC;CAC/B;AAED,eAAO,MAAM,MAAM,EAAE,WA4FpB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { Except } from 'type-fest';
|
|
3
|
+
import type { SpinningIconProps } from '../Icon/SpinningIcon';
|
|
4
|
+
import type { TypographyProps } from './Typography';
|
|
5
|
+
export interface TypographySpinningIconProps extends Except<SpinningIconProps, 'color'> {
|
|
6
|
+
color?: TypographyProps['color'] | 'inherit';
|
|
7
|
+
}
|
|
8
|
+
export declare function TypographySpinningIcon({ color, ...props }: TypographySpinningIconProps): ReactElement;
|
|
9
|
+
//# sourceMappingURL=TypographySpinningIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypographySpinningIcon.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographySpinningIcon.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,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,WAAW,2BAA4B,SAAQ,MAAM,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACrF,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;CAC9C;AAgBD,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,2BAA2B,GAAG,YAAY,CAMrG"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type { RenderResult } from '@testing-library/react';
|
|
1
|
+
import type { RenderResult as RenderResultWeb } from '@testing-library/react';
|
|
2
|
+
import type { RenderAPI as RenderAPINative } from '@testing-library/react-native';
|
|
2
3
|
import type { ReactElement } from 'react';
|
|
3
|
-
export declare function
|
|
4
|
+
export declare function renderWebWithProviders(element: ReactElement): RenderResultWeb;
|
|
5
|
+
export declare function renderNativeWithProviders(element: ReactElement): RenderAPINative;
|
|
4
6
|
//# sourceMappingURL=renderWithProvidersUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderWithProvidersUtils.d.ts","sourceRoot":"","sources":["../../../../src/utils/tests/renderWithProvidersUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"renderWithProvidersUtils.d.ts","sourceRoot":"","sources":["../../../../src/utils/tests/renderWithProvidersUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9E,OAAO,KAAK,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAElF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,YAAY,GAAG,eAAe,CAE7E;AAED,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,YAAY,GAAG,eAAe,CAEhF"}
|