@ornikar/kitt-universal 2.1.0 → 2.4.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/Button.d.ts +6 -3
- package/dist/definitions/Button/Button.d.ts.map +1 -1
- package/dist/definitions/Button/{ButtonContainer.d.ts → ButtonPressable.d.ts} +3 -3
- package/dist/definitions/Button/{ButtonContainer.d.ts.map → ButtonPressable.d.ts.map} +1 -1
- package/dist/definitions/Emoji/Emoji.d.ts +8 -0
- package/dist/definitions/Emoji/Emoji.d.ts.map +1 -0
- package/dist/definitions/ExternalLink/ExternalLink.d.ts +18 -0
- package/dist/definitions/ExternalLink/ExternalLink.d.ts.map +1 -0
- package/dist/definitions/ExternalLink/ExternalLink.web.d.ts +4 -0
- package/dist/definitions/ExternalLink/ExternalLink.web.d.ts.map +1 -0
- package/dist/definitions/ExternalLink/ExternalLinkOpenLinkBehavior.d.ts +24 -0
- package/dist/definitions/ExternalLink/ExternalLinkOpenLinkBehavior.d.ts.map +1 -0
- package/dist/definitions/Tag/Tag.d.ts +6 -3
- package/dist/definitions/Tag/Tag.d.ts.map +1 -1
- package/dist/definitions/index.d.ts +9 -1
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/primitives/PrimitiveImage.d.ts +13 -0
- package/dist/definitions/primitives/PrimitiveImage.d.ts.map +1 -0
- package/dist/definitions/primitives/PrimitiveImage.web.d.ts +4 -0
- package/dist/definitions/primitives/PrimitiveImage.web.d.ts.map +1 -0
- package/dist/definitions/primitives/PrimitiveLink.d.ts +3 -1
- package/dist/definitions/primitives/PrimitiveLink.d.ts.map +1 -1
- package/dist/definitions/primitives/PrimitiveLink.web.d.ts +1 -1
- package/dist/definitions/primitives/PrimitiveLink.web.d.ts.map +1 -1
- package/dist/definitions/primitives/PrimitivePressable.d.ts +4 -1
- package/dist/definitions/primitives/PrimitivePressable.d.ts.map +1 -1
- package/dist/definitions/primitives/PrimitivePressable.web.d.ts.map +1 -1
- package/dist/definitions/primitives/PrimitiveView.d.ts +3 -0
- package/dist/definitions/primitives/PrimitiveView.d.ts.map +1 -1
- package/dist/definitions/primitives/PrimitiveView.web.d.ts +6 -2
- package/dist/definitions/primitives/PrimitiveView.web.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryDecorator.d.ts +3 -3
- package/dist/definitions/story-components/StoryDecorator.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +30 -3
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/tagLateOceanTheme.d.ts +30 -3
- package/dist/definitions/themes/late-ocean/tagLateOceanTheme.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts +3 -3
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyEmoji.d.ts +8 -0
- package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -0
- package/dist/definitions/typography/TypographyLink.d.ts +7 -4
- package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
- package/dist/definitions/utils/storybook/decorators/SafeAreaProviderDecorator.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +329 -151
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +329 -151
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +279 -96
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +383 -164
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +250 -66
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +5 -2
- package/dist/definitions/Button/useButton.d.ts +0 -6
- package/dist/definitions/Button/useButton.d.ts.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { PrimitivePressableProps } from '..';
|
|
2
3
|
export declare type ButtonType = 'primary' | 'secondary' | 'subtle' | 'subtle-dark';
|
|
3
4
|
declare type IconPosition = 'right' | 'left';
|
|
4
5
|
export interface ButtonProps {
|
|
@@ -9,9 +10,11 @@ export interface ButtonProps {
|
|
|
9
10
|
iconPosition?: IconPosition;
|
|
10
11
|
iconSpin?: boolean;
|
|
11
12
|
stretch?: boolean;
|
|
12
|
-
testID?:
|
|
13
|
-
|
|
13
|
+
testID?: PrimitivePressableProps['testID'];
|
|
14
|
+
href?: PrimitivePressableProps['href'];
|
|
15
|
+
hrefAttrs?: PrimitivePressableProps['hrefAttrs'];
|
|
16
|
+
onPress?: () => void;
|
|
14
17
|
}
|
|
15
|
-
export declare function Button({ children, type, icon, iconPosition, iconSpin, stretch, disabled,
|
|
18
|
+
export declare function Button({ children, type, icon, iconPosition, iconSpin, stretch, disabled, testID, href, hrefAttrs, onPress, }: ButtonProps): ReactElement;
|
|
16
19
|
export {};
|
|
17
20
|
//# 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;
|
|
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,uBAAuB,EAAE,MAAM,IAAI,CAAC;AAIlD,oBAAY,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,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,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IAC3C,IAAI,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,IAAkB,EAClB,IAAI,EACJ,YAAqB,EACrB,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,SAAS,EACT,OAAO,GACR,EAAE,WAAW,GAAG,YAAY,CAgC5B"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { PrimitivePressableProps } from '../primitives/PrimitivePressable';
|
|
3
3
|
import type { ButtonType } from './Button';
|
|
4
|
-
interface
|
|
4
|
+
interface ButtonPressableProps extends PrimitivePressableProps {
|
|
5
5
|
type: ButtonType;
|
|
6
6
|
isPressed?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
stretch?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const ButtonPressable: import("styled-components").StyledComponent<import("react").FunctionComponent<PrimitivePressableProps>, import("styled-components").DefaultTheme, ButtonPressableProps, never>;
|
|
11
11
|
export {};
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=ButtonPressable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"ButtonPressable.d.ts","sourceRoot":"","sources":["../../../src/Button/ButtonPressable.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,UAAU,oBAAqB,SAAQ,uBAAuB;IAC5D,IAAI,EAAE,UAAU,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,gLAqB3B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { PrimitiveImageProps } from '../primitives/PrimitiveImage';
|
|
3
|
+
export interface EmojiProps extends Pick<PrimitiveImageProps, 'style' | 'className'> {
|
|
4
|
+
emoji: string;
|
|
5
|
+
size: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function Emoji({ emoji, size, style, className }: EmojiProps): ReactElement | null;
|
|
8
|
+
//# sourceMappingURL=Emoji.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Emoji.d.ts","sourceRoot":"","sources":["../../../src/Emoji/Emoji.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAK1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAYxE,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAAC;IAClF,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,UAAU,GAAG,YAAY,GAAG,IAAI,CAqBxF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ComponentProps, ReactElement, VoidFunctionComponent } from 'react';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
import type { ExternalLinkOpenLinkBehavior } from './ExternalLinkOpenLinkBehavior';
|
|
4
|
+
export interface ExternalLinkAsComponentMinimumRequiredProps {
|
|
5
|
+
href?: ViewProps['href'];
|
|
6
|
+
hrefAttrs?: ViewProps['hrefAttrs'];
|
|
7
|
+
onPress?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export interface ExternalLinkProps<C extends VoidFunctionComponent<any>> {
|
|
10
|
+
as: C;
|
|
11
|
+
openLinkBehavior?: ExternalLinkOpenLinkBehavior;
|
|
12
|
+
href?: string;
|
|
13
|
+
onPress?: () => void;
|
|
14
|
+
}
|
|
15
|
+
/** @internal for ExternalLink.web.tsx only */
|
|
16
|
+
export declare type ExternalLinkSendableComponentProps<C extends VoidFunctionComponent<any>> = Omit<ComponentProps<C>, keyof ExternalLinkProps<C> & keyof ExternalLinkAsComponentMinimumRequiredProps>;
|
|
17
|
+
export declare function ExternalLink<C extends VoidFunctionComponent<any>>({ as: Component, href, openLinkBehavior, onPress, ...rest }: ExternalLinkProps<C> & ExternalLinkSendableComponentProps<C>): ReactElement;
|
|
18
|
+
//# sourceMappingURL=ExternalLink.d.ts.map
|
|
@@ -0,0 +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;AAEjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,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,MAAM,IAAI,CAAC;CACtB;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,MAAM,IAAI,CAAC;CACtB;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,CAwB7E"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement, VoidFunctionComponent } from 'react';
|
|
2
|
+
import type { ExternalLinkProps, ExternalLinkSendableComponentProps } from './ExternalLink';
|
|
3
|
+
export declare function ExternalLink<C extends VoidFunctionComponent<any>>({ as: Component, href, openLinkBehavior, onPress, ...rest }: ExternalLinkProps<C> & ExternalLinkSendableComponentProps<C>): ReactElement;
|
|
4
|
+
//# sourceMappingURL=ExternalLink.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalLink.web.d.ts","sourceRoot":"","sources":["../../../src/ExternalLink/ExternalLink.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,kCAAkC,EAAE,MAAM,gBAAgB,CAAC;AAG5F,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,CAS7E"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ExternalLinkOpenLinkBehavior {
|
|
2
|
+
/**
|
|
3
|
+
* @default 'openInModal'
|
|
4
|
+
*
|
|
5
|
+
* @description open link behavior in native
|
|
6
|
+
*
|
|
7
|
+
* "openInModal": open via [expo-web-browser](https://docs.expo.dev/versions/latest/sdk/webbrowser/)
|
|
8
|
+
*
|
|
9
|
+
* "openBrowserApp": open via [Linking](https://docs.expo.dev/guides/linking/#opening-links-from-your-app)
|
|
10
|
+
*/
|
|
11
|
+
native?: 'openInModal' | 'openBrowserApp';
|
|
12
|
+
/**
|
|
13
|
+
* @default 'targetBlank'
|
|
14
|
+
*
|
|
15
|
+
* @description open link behavior in native
|
|
16
|
+
*
|
|
17
|
+
* "targetSelf": no dom attributes added, behave like `target="_self"`
|
|
18
|
+
*
|
|
19
|
+
* "targetBlank": dome attributes: `target="_blank" rel="noopener noreferrer"`
|
|
20
|
+
*/
|
|
21
|
+
web?: 'targetSelf' | 'targetBlank';
|
|
22
|
+
}
|
|
23
|
+
export declare const defaultOpenLinkBehavior: ExternalLinkOpenLinkBehavior;
|
|
24
|
+
//# sourceMappingURL=ExternalLinkOpenLinkBehavior.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalLinkOpenLinkBehavior.d.ts","sourceRoot":"","sources":["../../../src/ExternalLink/ExternalLinkOpenLinkBehavior.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,aAAa,GAAG,gBAAgB,CAAC;IAE1C;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,YAAY,GAAG,aAAa,CAAC;CACpC;AAED,eAAO,MAAM,uBAAuB,EAAE,4BAGrC,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
|
|
2
|
+
import type { TypographyColor } from '../typography/Typography';
|
|
3
|
+
export declare type TagType = 'primary' | 'default' | 'danger';
|
|
4
|
+
export declare type TagVariant = 'outline' | 'fill';
|
|
3
5
|
export interface TagProps {
|
|
4
6
|
label: ReactNode;
|
|
5
7
|
type?: TagType;
|
|
8
|
+
variant?: TagVariant;
|
|
6
9
|
}
|
|
7
|
-
export declare
|
|
8
|
-
export {};
|
|
10
|
+
export declare const getLabelColor: (type: TagType, variant: TagVariant) => TypographyColor;
|
|
11
|
+
export declare function Tag({ label, type, variant }: TagProps): ReactElement;
|
|
9
12
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGhE,oBAAY,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEvD,oBAAY,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AAE5C,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB;AAgBD,eAAO,MAAM,aAAa,SAAU,OAAO,WAAW,UAAU,KAAG,eAelE,CAAC;AAEF,wBAAgB,GAAG,CAAC,EAAE,KAAK,EAAE,IAAgB,EAAE,OAAgB,EAAE,EAAE,QAAQ,GAAG,YAAY,CAQzF"}
|
|
@@ -4,6 +4,10 @@ export type { ButtonProps } from './Button/Button';
|
|
|
4
4
|
export { Button } from './Button/Button';
|
|
5
5
|
export type { CardProps } from './Card/Card';
|
|
6
6
|
export { Card } from './Card/Card';
|
|
7
|
+
export type { EmojiProps } from './Emoji/Emoji';
|
|
8
|
+
export { Emoji } from './Emoji/Emoji';
|
|
9
|
+
export type { ExternalLinkProps } from './ExternalLink/ExternalLink';
|
|
10
|
+
export { ExternalLink } from './ExternalLink/ExternalLink';
|
|
7
11
|
export type { InputFeedbackProps } from './forms/InputFeedback/InputFeedback';
|
|
8
12
|
export { InputFeedback } from './forms/InputFeedback/InputFeedback';
|
|
9
13
|
export type { InputFieldProps } from './forms/InputField/InputField';
|
|
@@ -36,6 +40,8 @@ export type { ModalProps } from './Modal/Modal';
|
|
|
36
40
|
export { Modal } from './Modal/Modal';
|
|
37
41
|
export type { NotificationProps } from './Notification/Notification';
|
|
38
42
|
export { Notification } from './Notification/Notification';
|
|
43
|
+
export type { PrimitiveImageProps } from './primitives/PrimitiveImage';
|
|
44
|
+
export { PrimitiveImage } from './primitives/PrimitiveImage';
|
|
39
45
|
export type { PrimitiveLinkProps } from './primitives/PrimitiveLink';
|
|
40
46
|
export { PrimitiveLink } from './primitives/PrimitiveLink';
|
|
41
47
|
export type { PrimitivePressableProps } from './primitives/PrimitivePressable';
|
|
@@ -55,12 +61,14 @@ export type { TooltipProps } from './Tooltip/Tooltip';
|
|
|
55
61
|
export { Tooltip } from './Tooltip/Tooltip';
|
|
56
62
|
export type { TypographyColor, TypographyHeadingProps, TypographyProps, TypographyTextProps, } from './typography/Typography';
|
|
57
63
|
export { Typography } from './typography/Typography';
|
|
64
|
+
export type { TypographyEmojiProps } from './typography/TypographyEmoji';
|
|
65
|
+
export { TypographyEmoji } from './typography/TypographyEmoji';
|
|
58
66
|
export type { TypographyIconProps } from './typography/TypographyIcon';
|
|
59
67
|
export { TypographyIcon } from './typography/TypographyIcon';
|
|
60
68
|
export type { TypographyLinkProps } from './typography/TypographyLink';
|
|
61
69
|
export { TypographyLink } from './typography/TypographyLink';
|
|
62
70
|
export { useKittTheme } from './useKittTheme';
|
|
63
|
-
export { KittThemeDecorator } from './utils/storybook/decorators/KittThemeDecorator';
|
|
71
|
+
export { KittThemeDecorator, KittThemeProvider } from './utils/storybook/decorators/KittThemeDecorator';
|
|
64
72
|
export { SafeAreaProviderDecorator } from './utils/storybook/decorators/SafeAreaProviderDecorator';
|
|
65
73
|
export type { WindowSizeHelper } from './utils/windowSize/createWindowSizeHelper';
|
|
66
74
|
export { createWindowSizeHelper } from './utils/windowSize/createWindowSizeHelper';
|
|
@@ -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,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,6BAA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AA8B,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,YAAY,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,YAAY,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACxG,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AACnG,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,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FunctionComponent } from 'react';
|
|
2
|
+
import type { ImageProps, ImageURISource } from 'react-native';
|
|
3
|
+
export interface PrimitiveImageProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
children?: never;
|
|
6
|
+
source: {
|
|
7
|
+
uri: ImageURISource['uri'];
|
|
8
|
+
};
|
|
9
|
+
style?: ImageProps['style'];
|
|
10
|
+
accessibilityLabel?: ImageProps['accessibilityLabel'];
|
|
11
|
+
}
|
|
12
|
+
export declare const PrimitiveImage: FunctionComponent<PrimitiveImageProps>;
|
|
13
|
+
//# sourceMappingURL=PrimitiveImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrimitiveImage.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE/D,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,MAAM,EAAE;QACN,GAAG,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;KAC5B,CAAC;IACF,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,kBAAkB,CAAC,EAAE,UAAU,CAAC,oBAAoB,CAAC,CAAC;CACvD;AAED,eAAO,MAAM,cAAc,wCAAmE,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { PrimitiveImageProps } from './PrimitiveImage';
|
|
3
|
+
export declare function PrimitiveImage({ source, className, accessibilityLabel }: PrimitiveImageProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=PrimitiveImage.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrimitiveImage.web.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveImage.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAO5D,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,EAAE,mBAAmB,GAAG,YAAY,CAE3G"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
import type { TextProps } from 'react-native';
|
|
2
|
+
import type { TextProps, ViewProps } from 'react-native';
|
|
3
3
|
export interface PrimitiveLinkProps {
|
|
4
4
|
className?: string;
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
accessibilityRole?: Extract<TextProps['accessibilityRole'], 'link'>;
|
|
7
7
|
selectable?: TextProps['selectable'];
|
|
8
|
+
href?: ViewProps['href'];
|
|
9
|
+
hrefAttrs?: ViewProps['hrefAttrs'];
|
|
8
10
|
onPress?: TextProps['onPress'];
|
|
9
11
|
}
|
|
10
12
|
export declare const PrimitiveLink: FunctionComponent<PrimitiveLinkProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrimitiveLink.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"PrimitiveLink.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC,CAAC;IACpE,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,uCAAiE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PrimitiveLinkProps } from './PrimitiveLink';
|
|
3
|
-
export declare const PrimitiveLink: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<PrimitiveLinkProps & React.RefAttributes<HTMLSpanElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const PrimitiveLink: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<PrimitiveLinkProps & React.RefAttributes<HTMLSpanElement | HTMLAnchorElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
//# sourceMappingURL=PrimitiveLink.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrimitiveLink.web.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveLink.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"PrimitiveLink.web.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveLink.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAoC1D,eAAO,MAAM,aAAa,kNAezB,CAAC"}
|
|
@@ -7,8 +7,11 @@ export interface PrimitivePressableProps {
|
|
|
7
7
|
disabled?: PressableProps['disabled'];
|
|
8
8
|
focusable?: PressableProps['focusable'];
|
|
9
9
|
nativeID?: PressableProps['nativeID'];
|
|
10
|
+
href?: PressableProps['href'];
|
|
11
|
+
hrefAttrs?: PressableProps['hrefAttrs'];
|
|
10
12
|
accessibilityRole: Extract<PressableProps['accessibilityRole'], 'button' | 'radio' | 'none'>;
|
|
11
|
-
|
|
13
|
+
accessibilityLabel?: PressableProps['accessibilityLabel'];
|
|
14
|
+
onPress?: NonNullable<PressableProps['onPress']>;
|
|
12
15
|
onPressIn?: PressableProps['onPressIn'];
|
|
13
16
|
onPressOut?: PressableProps['onPressOut'];
|
|
14
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrimitivePressable.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitivePressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,iBAAiB,EAAE,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;IAC7F,OAAO,EAAE,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"PrimitivePressable.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitivePressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,iBAAiB,EAAE,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;IAC7F,kBAAkB,CAAC,EAAE,cAAc,CAAC,oBAAoB,CAAC,CAAC;IAC1D,OAAO,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC;IAEjD,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IAExC,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,kBAAkB,4CAA2E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrimitivePressable.web.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitivePressable.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"PrimitivePressable.web.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitivePressable.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAoDpE,eAAO,MAAM,kBAAkB,kMAG9B,CAAC"}
|
|
@@ -8,8 +8,11 @@ export interface PrimitiveViewProps {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
accessibilityRole?: Extract<NativeViewProps['accessibilityRole'], 'button' | 'radio' | 'none'>;
|
|
11
|
+
accessibilityLabel?: NativeViewProps['accessibilityLabel'];
|
|
11
12
|
testID?: NativeViewProps['testID'];
|
|
12
13
|
nativeID?: NativeViewProps['nativeID'];
|
|
14
|
+
href?: NativeViewProps['href'];
|
|
15
|
+
hrefAttrs?: NativeViewProps['hrefAttrs'];
|
|
13
16
|
/**
|
|
14
17
|
* Use internally to pass all styles from PrimitiveScrollView
|
|
15
18
|
* @private
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrimitiveView.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAGjE,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,mBAAmB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;IAC/F,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IACvC;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAEjC,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,aAAa,uCAAiE,CAAC"}
|
|
1
|
+
{"version":3,"file":"PrimitiveView.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAGjE,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,mBAAmB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;IAC/F,kBAAkB,CAAC,EAAE,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAC3D,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAEjC,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,aAAa,uCAAiE,CAAC"}
|
|
@@ -7,7 +7,7 @@ export interface BaseWebPrimitiveViewProps extends Except<PrimitiveViewProps, 'a
|
|
|
7
7
|
}
|
|
8
8
|
interface WebPrimitiveViewPropsWithOnPress extends BaseWebPrimitiveViewProps {
|
|
9
9
|
accessibilityRole: NonNullable<PrimitiveViewProps['accessibilityRole']>;
|
|
10
|
-
onPress: (e?: MouseEventHandler<HTMLDivElement> | any) => void;
|
|
10
|
+
onPress: (e?: MouseEventHandler<HTMLDivElement | HTMLAnchorElement> | any) => void;
|
|
11
11
|
}
|
|
12
12
|
interface WebPrimitiveViewPropsWithoutOnPress extends BaseWebPrimitiveViewProps {
|
|
13
13
|
accessibilityRole?: NonNullable<PrimitiveViewProps['accessibilityRole']>;
|
|
@@ -17,7 +17,11 @@ export declare type WebPrimitiveViewProps = WebPrimitiveViewPropsWithOnPress | W
|
|
|
17
17
|
interface StyledDivProps extends ComponentProps<'div'> {
|
|
18
18
|
hasTextAncestor: boolean;
|
|
19
19
|
}
|
|
20
|
+
interface StyledAnchorProps extends ComponentProps<'a'> {
|
|
21
|
+
hasTextAncestor: boolean;
|
|
22
|
+
}
|
|
20
23
|
export declare const StyledDiv: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledDivProps, never>;
|
|
21
|
-
export declare const
|
|
24
|
+
export declare const StyledAnchor: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, StyledAnchorProps, never>;
|
|
25
|
+
export declare const PrimitiveView: React.ForwardRefExoticComponent<WebPrimitiveViewProps & React.RefAttributes<HTMLDivElement | HTMLAnchorElement>>;
|
|
22
26
|
export {};
|
|
23
27
|
//# sourceMappingURL=PrimitiveView.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrimitiveView.web.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveView.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"PrimitiveView.web.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveView.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAgB,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAC3F,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAI1D,MAAM,WAAW,yBAA0B,SAAQ,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAAC;IAChG,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACvC;AAED,UAAU,gCAAiC,SAAQ,yBAAyB;IAC1E,iBAAiB,EAAE,WAAW,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACxE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,cAAc,GAAG,iBAAiB,CAAC,GAAG,GAAG,KAAK,IAAI,CAAC;CACpF;AAED,UAAU,mCAAoC,SAAQ,yBAAyB;IAC7E,iBAAiB,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACzE,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,oBAAY,qBAAqB,GAAG,gCAAgC,GAAG,mCAAmC,CAAC;AAE3G,UAAU,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IACpD,eAAe,EAAE,OAAO,CAAC;CAC1B;AACD,UAAU,iBAAkB,SAAQ,cAAc,CAAC,GAAG,CAAC;IACrD,eAAe,EAAE,OAAO,CAAC;CAC1B;AAcD,eAAO,MAAM,SAAS,qHAGrB,CAAC;AAEF,eAAO,MAAM,YAAY,sHAIxB,CAAC;AAEF,eAAO,MAAM,aAAa,kHAyDzB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoryContext
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
export declare function StoryDecorator(storyFn:
|
|
1
|
+
import type { StoryContext } from '@storybook/addons';
|
|
2
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
3
|
+
export declare function StoryDecorator(storyFn: () => ReactNode, context: StoryContext): ReactElement;
|
|
4
4
|
//# sourceMappingURL=StoryDecorator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryDecorator.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"StoryDecorator.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,SAAS,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY,CAE5F"}
|
|
@@ -236,13 +236,40 @@ export declare const theme: {
|
|
|
236
236
|
borderRadius: string;
|
|
237
237
|
padding: string;
|
|
238
238
|
primary: {
|
|
239
|
-
|
|
239
|
+
fill: {
|
|
240
|
+
backgroundColor: string;
|
|
241
|
+
borderWidth: string;
|
|
242
|
+
borderColor: string;
|
|
243
|
+
};
|
|
244
|
+
outline: {
|
|
245
|
+
backgroundColor: string;
|
|
246
|
+
borderWidth: string;
|
|
247
|
+
borderColor: string;
|
|
248
|
+
};
|
|
240
249
|
};
|
|
241
250
|
default: {
|
|
242
|
-
|
|
251
|
+
fill: {
|
|
252
|
+
backgroundColor: string;
|
|
253
|
+
borderWidth: string;
|
|
254
|
+
borderColor: string;
|
|
255
|
+
};
|
|
256
|
+
outline: {
|
|
257
|
+
backgroundColor: string;
|
|
258
|
+
borderWidth: string;
|
|
259
|
+
borderColor: string;
|
|
260
|
+
};
|
|
243
261
|
};
|
|
244
262
|
danger: {
|
|
245
|
-
|
|
263
|
+
fill: {
|
|
264
|
+
backgroundColor: string;
|
|
265
|
+
borderWidth: string;
|
|
266
|
+
borderColor: string;
|
|
267
|
+
};
|
|
268
|
+
outline: {
|
|
269
|
+
backgroundColor: string;
|
|
270
|
+
borderWidth: string;
|
|
271
|
+
borderColor: string;
|
|
272
|
+
};
|
|
246
273
|
};
|
|
247
274
|
};
|
|
248
275
|
shadows: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAenF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAC;AAIF,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAenF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAC;AAIF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAejB,CAAC;AAEF,oBAAY,SAAS,GAAG;IACtB,IAAI,EAAE,OAAO,KAAK,CAAC;IACnB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,WAAW,EAAE,OAAO,WAAW,CAAC;CACjC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -2,13 +2,40 @@ export declare const tagLateOceanTheme: {
|
|
|
2
2
|
borderRadius: string;
|
|
3
3
|
padding: string;
|
|
4
4
|
primary: {
|
|
5
|
-
|
|
5
|
+
fill: {
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
borderWidth: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
};
|
|
10
|
+
outline: {
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
borderWidth: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
};
|
|
6
15
|
};
|
|
7
16
|
default: {
|
|
8
|
-
|
|
17
|
+
fill: {
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
borderWidth: string;
|
|
20
|
+
borderColor: string;
|
|
21
|
+
};
|
|
22
|
+
outline: {
|
|
23
|
+
backgroundColor: string;
|
|
24
|
+
borderWidth: string;
|
|
25
|
+
borderColor: string;
|
|
26
|
+
};
|
|
9
27
|
};
|
|
10
28
|
danger: {
|
|
11
|
-
|
|
29
|
+
fill: {
|
|
30
|
+
backgroundColor: string;
|
|
31
|
+
borderWidth: string;
|
|
32
|
+
borderColor: string;
|
|
33
|
+
};
|
|
34
|
+
outline: {
|
|
35
|
+
backgroundColor: string;
|
|
36
|
+
borderWidth: string;
|
|
37
|
+
borderColor: string;
|
|
38
|
+
};
|
|
12
39
|
};
|
|
13
40
|
};
|
|
14
41
|
//# sourceMappingURL=tagLateOceanTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/tagLateOceanTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tagLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/tagLateOceanTheme.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC7B,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { FC, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import type { Except, SetOptional } from 'type-fest';
|
|
3
3
|
import type { PrimitiveTextProps } from '../primitives/PrimitiveText';
|
|
4
|
-
declare type TypographyHeaderType = `header${'1' | '2' | '3' | '4' | '5'}`;
|
|
5
|
-
declare type TypographyBodyType = 'body' | `body-${'large' | 'medium' | 'small' | 'xsmall'}`;
|
|
6
|
-
declare type TypographyType = TypographyHeaderType | TypographyBodyType;
|
|
4
|
+
export declare type TypographyHeaderType = `header${'1' | '2' | '3' | '4' | '5'}`;
|
|
5
|
+
export declare type TypographyBodyType = 'body' | `body-${'large' | 'medium' | 'small' | 'xsmall'}`;
|
|
6
|
+
export declare type TypographyType = TypographyHeaderType | TypographyBodyType;
|
|
7
7
|
declare type TypographyVariant = 'regular' | 'bold';
|
|
8
8
|
export declare type TypographyColor = 'black' | 'black-light' | 'white' | 'white-light' | 'primary' | 'primary-light' | 'accent' | 'success' | 'danger';
|
|
9
9
|
export declare function useTypographyColor(): TypographyColor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,oBAAY,oBAAoB,GAAG,SAAS,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;AAC1E,oBAAY,kBAAkB,GAAG,MAAM,GAAG,QAAQ,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,EAAE,CAAC;AAC5F,oBAAY,cAAc,GAAG,oBAAoB,GAAG,kBAAkB,CAAC;AACvE,aAAK,iBAAiB,GAAG,SAAS,GAAG,MAAM,CAAC;AAC5C,oBAAY,eAAe,GACvB,OAAO,GACP,aAAa,GACb,OAAO,GACP,aAAa,GACb,SAAS,GACT,eAAe,GACf,QAAQ,GACR,SAAS,GACT,QAAQ,CAAC;AAKb,wBAAgB,kBAAkB,IAAI,eAAe,CAEpD;AAkDD,MAAM,WAAW,eAAgB,SAAQ,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAAC;IAEtF,iBAAiB,EAAE,WAAW,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAC,GAAG,IAAI,CAAC;IAC/E,mEAAmE;IACnE,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,iGAAiG;IACjG,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB;AACD,oBAAY,0BAA0B,GAAG,MAAM,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;AAUtF,wBAAgB,UAAU,CAAC,EACzB,iBAAiB,EACjB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,GAAG,UAAU,EACd,EAAE,eAAe,GAAG,YAAY,GAAG,IAAI,CA6BvC;yBAnCe,UAAU;;;;;;;;;;;;;;;AAqC1B,oBAAY,mBAAmB,GAAG,WAAW,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;AACpF,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAEhE;AAED,iBAAS,mBAAmB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAErE;AAED,oBAAY,sBAAsB,GAAG,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { TypographyType } from './Typography';
|
|
3
|
+
export interface TypographyEmojiProps {
|
|
4
|
+
emoji: string;
|
|
5
|
+
base?: TypographyType;
|
|
6
|
+
}
|
|
7
|
+
export declare function TypographyEmoji({ emoji, base }: TypographyEmojiProps): ReactElement;
|
|
8
|
+
//# sourceMappingURL=TypographyEmoji.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypographyEmoji.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyEmoji.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAO1C,OAAO,KAAK,EAAsB,cAAc,EAAE,MAAM,cAAc,CAAC;AA4BvE,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB;AAED,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,IAAa,EAAE,EAAE,oBAAoB,GAAG,YAAY,CAc5F"}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { Except } from 'type-fest';
|
|
2
3
|
import type { PrimitiveLinkProps } from '../primitives/PrimitiveLink';
|
|
3
4
|
import type { TypographyPropsWithoutRole } from './Typography';
|
|
4
5
|
interface StyledLinkProps {
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
noUnderline?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export interface TypographyLinkProps extends StyledLinkProps, TypographyPropsWithoutRole {
|
|
9
|
+
export interface TypographyLinkProps extends StyledLinkProps, Except<TypographyPropsWithoutRole, 'children'> {
|
|
10
|
+
children: NonNullable<ReactNode>;
|
|
9
11
|
variant: NonNullable<TypographyPropsWithoutRole['variant']>;
|
|
10
|
-
href?:
|
|
12
|
+
href?: PrimitiveLinkProps['href'];
|
|
13
|
+
hrefAttrs?: PrimitiveLinkProps['hrefAttrs'];
|
|
11
14
|
onPress: PrimitiveLinkProps['onPress'];
|
|
12
15
|
}
|
|
13
|
-
export declare function TypographyLink({ children, disabled, noUnderline, onPress, ...otherProps }: TypographyLinkProps): ReactElement;
|
|
16
|
+
export declare function TypographyLink({ children, disabled, noUnderline, href, hrefAttrs, onPress, ...otherProps }: TypographyLinkProps): ReactElement;
|
|
14
17
|
export {};
|
|
15
18
|
//# sourceMappingURL=TypographyLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypographyLink.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TypographyLink.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAG/D,UAAU,eAAe;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAyBD,MAAM,WAAW,mBAAoB,SAAQ,eAAe,EAAE,MAAM,CAAC,0BAA0B,EAAE,UAAU,CAAC;IAC1G,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,OAAO,EAAE,WAAW,CAAC,0BAA0B,CAAC,SAAS,CAAC,CAAC,CAAC;IAC5D,IAAI,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;CACxC;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,SAAS,EACT,OAAO,EACP,GAAG,UAAU,EACd,EAAE,mBAAmB,GAAG,YAAY,CAepC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeAreaProviderDecorator.d.ts","sourceRoot":"","sources":["../../../../../src/utils/storybook/decorators/SafeAreaProviderDecorator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SafeAreaProviderDecorator.d.ts","sourceRoot":"","sources":["../../../../../src/utils/storybook/decorators/SafeAreaProviderDecorator.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,yBAAyB,uBAMpC,CAAC"}
|