@ornikar/kitt-universal 3.3.0 → 3.7.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/Avatar/Avatar.d.ts +9 -4
- package/dist/definitions/Avatar/Avatar.d.ts.map +1 -1
- package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts +2 -2
- package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts.map +1 -1
- package/dist/definitions/IconButton/PressableIconButton.d.ts.map +1 -1
- package/dist/definitions/Skeleton/Skeleton.d.ts +14 -0
- package/dist/definitions/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/definitions/Skeleton/SkeletonContent.d.ts +8 -0
- package/dist/definitions/Skeleton/SkeletonContent.d.ts.map +1 -0
- package/dist/definitions/Skeleton/SkeletonContent.web.d.ts +7 -0
- package/dist/definitions/Skeleton/SkeletonContent.web.d.ts.map +1 -0
- package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
- package/dist/definitions/index.d.ts +5 -0
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +23 -31
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/avatarLateOceanTheme.d.ts +9 -10
- package/dist/definitions/themes/late-ocean/avatarLateOceanTheme.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/skeletonTheme.d.ts +7 -0
- package/dist/definitions/themes/late-ocean/skeletonTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts +2 -0
- package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts +2 -0
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
- package/dist/definitions/useKittTheme.d.ts +0 -2
- package/dist/definitions/useKittTheme.d.ts.map +1 -1
- package/dist/definitions/utils/hexToRgba.d.ts +2 -0
- package/dist/definitions/utils/hexToRgba.d.ts.map +1 -0
- 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 +337 -151
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.css +2 -2
- package/dist/index-browser-all.es.ios.js +337 -151
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +296 -129
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +294 -166
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.css +2 -2
- package/dist/index-node-14.17.cjs.js +247 -78
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.css +4 -3
- package/dist/index-node-14.17.cjs.web.js +234 -103
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/styles.css +4 -3
- package/dist/tsbuildinfo +1 -1
- package/package.json +5 -4
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
+
import type { TypographyType } from '../typography/Typography';
|
|
3
|
+
export interface StyledAvatarViewProps {
|
|
4
|
+
$isRound?: boolean;
|
|
5
|
+
$isLight?: boolean;
|
|
6
|
+
$size: number;
|
|
7
|
+
}
|
|
2
8
|
export interface AvatarProps {
|
|
3
9
|
size?: number;
|
|
4
10
|
src?: string | null;
|
|
11
|
+
alt?: string;
|
|
5
12
|
firstname?: string | null;
|
|
6
13
|
lastname?: string | null;
|
|
14
|
+
base?: TypographyType;
|
|
7
15
|
round?: boolean;
|
|
8
16
|
light?: boolean;
|
|
9
17
|
}
|
|
10
|
-
export
|
|
11
|
-
size: number;
|
|
12
|
-
}
|
|
13
|
-
export declare function Avatar({ size, ...rest }: AvatarProps): ReactElement;
|
|
18
|
+
export declare function Avatar({ size, base, round, light, ...props }: AvatarProps): ReactElement;
|
|
14
19
|
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK/D,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAsCD,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,MAAM,CAAC,EAAE,IAAS,EAAE,IAAmB,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,GAAG,YAAY,CAM5G"}
|
|
@@ -9,9 +9,9 @@ interface AnimatedButtonPressableContainerProps {
|
|
|
9
9
|
$isStretch?: boolean;
|
|
10
10
|
$isSubtle?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare const AnimatedButtonPressableContainer: import("react").
|
|
12
|
+
export declare const AnimatedButtonPressableContainer: import("react").ForwardRefExoticComponent<Pick<import("type-fest").Except<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & AnimatedButtonPressableContainerProps & {
|
|
13
13
|
as?: import("react").ElementType<any> | undefined;
|
|
14
|
-
}, "theme">>;
|
|
14
|
+
}, "theme">, "children" | "style" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "key" | "slot" | "title" | "hidden" | "color" | "as" | "id" | "autoCapitalize" | "autoCorrect" | "defaultValue" | "onBlur" | "onChange" | "onFocus" | "onScroll" | "onKeyPress" | "placeholder" | "spellCheck" | "onError" | "onLoad" | "onLoadStart" | "onProgress" | "$isStretch" | "$type" | "$isDisabled" | "className" | "$isSubtle" | "aria-checked" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "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" | "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>>;
|
|
15
15
|
export declare const AnimatedButtonPressable: import("react").ForwardRefExoticComponent<AnimatedButtonPressableProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=AnimatedButtonPressable.web.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAG7D,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;;knJA0H3C,CAAC;AAEH,eAAO,MAAM,uBAAuB,yHAQnC,CAAC"}
|
|
@@ -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;AAOnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AA2E3D,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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
import type { ReactElement } from 'react';
|
|
3
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
export interface SkeletonProps {
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
style?: StyleProp<ViewStyle>;
|
|
7
|
+
}
|
|
8
|
+
export declare function Skeleton({ isLoading, style }: SkeletonProps): ReactElement;
|
|
9
|
+
export declare namespace Skeleton {
|
|
10
|
+
var Bar: import("styled-components").StyledComponent<typeof Skeleton, import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
var Circle: import("styled-components").StyledComponent<typeof Skeleton, import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
var Square: import("styled-components").StyledComponent<typeof Skeleton, import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/Skeleton/Skeleton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzD,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,aAAa,GAAG,YAAY,CAQ1E;yBARe,QAAQ"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
interface SkeletonProps {
|
|
3
|
+
isLoading?: boolean;
|
|
4
|
+
width: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function SkeletonContent({ isLoading, width }: SkeletonProps): ReactElement;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=SkeletonContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkeletonContent.d.ts","sourceRoot":"","sources":["../../../src/Skeleton/SkeletonContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAa1C,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAUD,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,aAAa,GAAG,YAAY,CAkCjF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkeletonContent.web.d.ts","sourceRoot":"","sources":["../../../src/Skeleton/SkeletonContent.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AA+C1C,UAAU,aAAa;IACrB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,EAAE,aAAa,GAAG,YAAY,CAE1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/forms/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC;CAAG;AAEtE,wBAAgB,QAAQ,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/forms/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC;CAAG;AAEtE,wBAAgB,QAAQ,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,GAAG,YAAY,CAWlE"}
|
|
@@ -40,6 +40,8 @@ export type { ModalProps } from './Modal/Modal';
|
|
|
40
40
|
export { Modal } from './Modal/Modal';
|
|
41
41
|
export type { NotificationProps } from './Notification/Notification';
|
|
42
42
|
export { Notification } from './Notification/Notification';
|
|
43
|
+
export type { SkeletonProps } from './Skeleton/Skeleton';
|
|
44
|
+
export { Skeleton } from './Skeleton/Skeleton';
|
|
43
45
|
export * from './story-components';
|
|
44
46
|
export type { TagProps } from './Tag/Tag';
|
|
45
47
|
export { Tag } from './Tag/Tag';
|
|
@@ -57,11 +59,14 @@ export type { TypographyLinkProps } from './typography/TypographyLink';
|
|
|
57
59
|
export { TypographyLink } from './typography/TypographyLink';
|
|
58
60
|
export type { KittTheme } from './useKittTheme';
|
|
59
61
|
export { useKittTheme } from './useKittTheme';
|
|
62
|
+
export { hex2rgba } from './utils/hexToRgba';
|
|
60
63
|
export { KittThemeDecorator, KittThemeProvider } from './utils/storybook/KittThemeDecorator';
|
|
64
|
+
export { StyleWebWrapper } from './utils/StyleWebWrapper';
|
|
61
65
|
export type { WindowSizeHelper } from './utils/windowSize/createWindowSizeHelper';
|
|
62
66
|
export { createWindowSizeHelper } from './utils/windowSize/createWindowSizeHelper';
|
|
63
67
|
export { MatchWindowSize } from './utils/windowSize/MatchWindowSize';
|
|
64
68
|
export { matchWindowSize, useMatchWindowSize } from './utils/windowSize/useMatchWindowSize';
|
|
65
69
|
export { useWindowSize } from './utils/windowSize/useWindowSize';
|
|
70
|
+
export { withTheme } from './utils/withTheme';
|
|
66
71
|
export * from '@ornikar/kitt-icons';
|
|
67
72
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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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EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,YAAY,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,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,YAAY,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,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,24 +1,3 @@
|
|
|
1
|
-
export declare const breakpoints: {
|
|
2
|
-
values: {
|
|
3
|
-
base: number;
|
|
4
|
-
small: number;
|
|
5
|
-
medium: number;
|
|
6
|
-
large: number;
|
|
7
|
-
wide: number;
|
|
8
|
-
};
|
|
9
|
-
min: {
|
|
10
|
-
smallBreakpoint: string;
|
|
11
|
-
mediumBreakpoint: string;
|
|
12
|
-
largeBreakpoint: string;
|
|
13
|
-
wideBreakpoint: string;
|
|
14
|
-
};
|
|
15
|
-
max: {
|
|
16
|
-
smallBreakpoint: string;
|
|
17
|
-
mediumBreakpoint: string;
|
|
18
|
-
largeBreakpoint: string;
|
|
19
|
-
wideBreakpoint: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
1
|
export declare const theme: {
|
|
23
2
|
spacing: number;
|
|
24
3
|
colors: {
|
|
@@ -66,16 +45,7 @@ export declare const theme: {
|
|
|
66
45
|
moonPurpleLight1: string;
|
|
67
46
|
};
|
|
68
47
|
};
|
|
69
|
-
avatar:
|
|
70
|
-
default: {
|
|
71
|
-
color: string;
|
|
72
|
-
backgroundColor: string;
|
|
73
|
-
};
|
|
74
|
-
light: {
|
|
75
|
-
color: string;
|
|
76
|
-
backgroundColor: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
48
|
+
avatar: import("./late-ocean/avatarLateOceanTheme").AvatarTheme;
|
|
79
49
|
button: import("./late-ocean/buttonLateOceanTheme").ButtonTheme;
|
|
80
50
|
card: {
|
|
81
51
|
borderRadius: string;
|
|
@@ -250,6 +220,28 @@ export declare const theme: {
|
|
|
250
220
|
innerMargin: string;
|
|
251
221
|
};
|
|
252
222
|
tooltip: import("./late-ocean/tooltip").TooltipTheme;
|
|
223
|
+
skeleton: import("./late-ocean/skeletonTheme").SkeletonTheme;
|
|
224
|
+
breakpoints: {
|
|
225
|
+
values: {
|
|
226
|
+
base: number;
|
|
227
|
+
small: number;
|
|
228
|
+
medium: number;
|
|
229
|
+
large: number;
|
|
230
|
+
wide: number;
|
|
231
|
+
};
|
|
232
|
+
min: {
|
|
233
|
+
smallBreakpoint: string;
|
|
234
|
+
mediumBreakpoint: string;
|
|
235
|
+
largeBreakpoint: string;
|
|
236
|
+
wideBreakpoint: string;
|
|
237
|
+
};
|
|
238
|
+
max: {
|
|
239
|
+
smallBreakpoint: string;
|
|
240
|
+
mediumBreakpoint: string;
|
|
241
|
+
largeBreakpoint: string;
|
|
242
|
+
wideBreakpoint: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
253
245
|
};
|
|
254
246
|
export declare type Theme = typeof theme;
|
|
255
247
|
//# sourceMappingURL=default.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBjB,CAAC;AAEF,oBAAY,KAAK,GAAG,OAAO,KAAK,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
1
|
+
export interface AvatarThemeVariant {
|
|
2
|
+
backgroundColor: string;
|
|
3
|
+
}
|
|
4
|
+
export interface AvatarTheme {
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
default: AvatarThemeVariant;
|
|
7
|
+
light: AvatarThemeVariant;
|
|
8
|
+
}
|
|
9
|
+
export declare const avatar: AvatarTheme;
|
|
11
10
|
//# sourceMappingURL=avatarLateOceanTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatarLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/avatarLateOceanTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"avatarLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/avatarLateOceanTheme.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,kBAAkB,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM,EAAE,WAQpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeletonTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/skeletonTheme.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const calcLineHeight: (fontSize: number, lineHeightMultiplier: number) => number;
|
|
1
2
|
export interface TypographyTypeBreakpointRangeConfig {
|
|
2
3
|
fontSize: string;
|
|
3
4
|
lineHeight: string;
|
|
@@ -6,6 +7,7 @@ export interface TypographyTypeConfig {
|
|
|
6
7
|
baseAndSmall: TypographyTypeBreakpointRangeConfig;
|
|
7
8
|
mediumAndWide: TypographyTypeBreakpointRangeConfig;
|
|
8
9
|
}
|
|
10
|
+
export declare const createTypographyTypeConfig: (lineHeightMultiplier: number, baseAndSmallFontSize: number, mediumAndWideFontSize: number) => TypographyTypeConfig;
|
|
9
11
|
export declare const typographyLateOceanTheme: {
|
|
10
12
|
colors: {
|
|
11
13
|
black: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typographyLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/typographyLateOceanTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typographyLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/typographyLateOceanTheme.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,aAAc,MAAM,wBAAwB,MAAM,KAAG,MACnC,CAAC;AAE9C,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,mCAAmC,CAAC;IAClD,aAAa,EAAE,mCAAmC,CAAC;CACpD;AAED,eAAO,MAAM,0BAA0B,yBACf,MAAM,wBACN,MAAM,yBACL,MAAM,KAC5B,oBASD,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DpC,CAAC"}
|
|
@@ -33,6 +33,8 @@ export interface TypographyProps extends TypographyBreakpointTypesProps, Except<
|
|
|
33
33
|
}
|
|
34
34
|
export declare type TypographyPropsWithoutRole = Except<TypographyProps, 'accessibilityRole'>;
|
|
35
35
|
export declare function useTypographyTypeForCurrentWindowSize(base: TypographyType | undefined, small: TypographyType | undefined, medium: TypographyType | undefined, large: TypographyType | undefined): TypographyType | undefined;
|
|
36
|
+
declare type GetTypographyInheritedOrDefaultValuesBasedOnExistingAncestorsProps = Pick<TypographyProps, 'base' | 'color'>;
|
|
37
|
+
export declare function getTypographyInheritedOrDefaultValuesBasedOnExistingAncestors(hasTypographyAncestor: boolean, { base, color }: GetTypographyInheritedOrDefaultValuesBasedOnExistingAncestorsProps): GetTypographyInheritedOrDefaultValuesBasedOnExistingAncestorsProps;
|
|
36
38
|
export declare function Typography({ accessibilityRole, base, small, medium, large, variant, color, ...otherProps }: TypographyProps): ReactElement | null;
|
|
37
39
|
export declare namespace Typography {
|
|
38
40
|
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|
-
{"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;
|
|
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;AA8C/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,10 +1,8 @@
|
|
|
1
1
|
import type { Theme } from './themes/default';
|
|
2
|
-
import { breakpoints } from './themes/default';
|
|
3
2
|
import type { WindowSizeHelper } from './utils/windowSize/createWindowSizeHelper';
|
|
4
3
|
export interface KittTheme {
|
|
5
4
|
kitt: Theme;
|
|
6
5
|
responsive: WindowSizeHelper;
|
|
7
|
-
breakpoints: typeof breakpoints;
|
|
8
6
|
}
|
|
9
7
|
export declare function useKittTheme(): KittTheme;
|
|
10
8
|
//# sourceMappingURL=useKittTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKittTheme.d.ts","sourceRoot":"","sources":["../../src/useKittTheme.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"useKittTheme.d.ts","sourceRoot":"","sources":["../../src/useKittTheme.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAIlF,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,CAAC;IACZ,UAAU,EAAE,gBAAgB,CAAC;CAC9B;AAED,wBAAgB,YAAY,IAAI,SAAS,CAKxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hexToRgba.d.ts","sourceRoot":"","sources":["../../../src/utils/hexToRgba.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,QAAS,MAAM,qBAAc,MAMjD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ComponentType } from 'react';
|
|
1
|
+
import type { ComponentType, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from 'react';
|
|
2
2
|
import type { DefaultTheme } from 'styled-components/native';
|
|
3
3
|
import type { Except } from 'type-fest';
|
|
4
4
|
export declare function withTheme<Props extends {
|
|
5
5
|
theme: DefaultTheme;
|
|
6
|
-
}>(WrappedComponent: ComponentType<Props>):
|
|
6
|
+
}, T>(WrappedComponent: ComponentType<Props>): ForwardRefExoticComponent<PropsWithoutRef<Except<Props, 'theme'>> & RefAttributes<T>>;
|
|
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;
|
|
1
|
+
{"version":3,"file":"withTheme.d.ts","sourceRoot":"","sources":["../../../src/utils/withTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtG,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,EAAE,CAAC,EAChE,gBAAgB,EAAE,aAAa,CAAC,KAAK,CAAC,GACrC,yBAAyB,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAOvF"}
|