@ornikar/kitt-universal 3.4.0 → 3.7.1

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.
Files changed (47) hide show
  1. package/dist/definitions/Avatar/Avatar.d.ts +9 -4
  2. package/dist/definitions/Avatar/Avatar.d.ts.map +1 -1
  3. package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts +2 -2
  4. package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts.map +1 -1
  5. package/dist/definitions/IconButton/PressableIconButton.d.ts.map +1 -1
  6. package/dist/definitions/Skeleton/Skeleton.d.ts +14 -0
  7. package/dist/definitions/Skeleton/Skeleton.d.ts.map +1 -0
  8. package/dist/definitions/Skeleton/SkeletonContent.d.ts +8 -0
  9. package/dist/definitions/Skeleton/SkeletonContent.d.ts.map +1 -0
  10. package/dist/definitions/Skeleton/SkeletonContent.web.d.ts +7 -0
  11. package/dist/definitions/Skeleton/SkeletonContent.web.d.ts.map +1 -0
  12. package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
  13. package/dist/definitions/index.d.ts +5 -0
  14. package/dist/definitions/index.d.ts.map +1 -1
  15. package/dist/definitions/themes/default.d.ts +23 -31
  16. package/dist/definitions/themes/default.d.ts.map +1 -1
  17. package/dist/definitions/themes/late-ocean/avatarLateOceanTheme.d.ts +9 -10
  18. package/dist/definitions/themes/late-ocean/avatarLateOceanTheme.d.ts.map +1 -1
  19. package/dist/definitions/themes/late-ocean/skeletonTheme.d.ts +7 -0
  20. package/dist/definitions/themes/late-ocean/skeletonTheme.d.ts.map +1 -0
  21. package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts +2 -0
  22. package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts.map +1 -1
  23. package/dist/definitions/useKittTheme.d.ts +0 -2
  24. package/dist/definitions/useKittTheme.d.ts.map +1 -1
  25. package/dist/definitions/utils/hexToRgba.d.ts +2 -0
  26. package/dist/definitions/utils/hexToRgba.d.ts.map +1 -0
  27. package/dist/definitions/utils/withTheme.d.ts +2 -2
  28. package/dist/definitions/utils/withTheme.d.ts.map +1 -1
  29. package/dist/index-browser-all.es.android.js +296 -129
  30. package/dist/index-browser-all.es.android.js.map +1 -1
  31. package/dist/index-browser-all.es.css +1 -1
  32. package/dist/index-browser-all.es.ios.js +296 -129
  33. package/dist/index-browser-all.es.ios.js.map +1 -1
  34. package/dist/index-browser-all.es.js +228 -87
  35. package/dist/index-browser-all.es.js.map +1 -1
  36. package/dist/index-browser-all.es.web.js +226 -124
  37. package/dist/index-browser-all.es.web.js.map +1 -1
  38. package/dist/index-node-14.17.cjs.css +1 -1
  39. package/dist/index-node-14.17.cjs.js +199 -59
  40. package/dist/index-node-14.17.cjs.js.map +1 -1
  41. package/dist/index-node-14.17.cjs.web.css +3 -2
  42. package/dist/index-node-14.17.cjs.web.js +186 -84
  43. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  44. package/dist/styles.css +3 -2
  45. package/dist/tsbuildinfo +1 -1
  46. package/package.json +6 -5
  47. package/tsconfig.eslint.json +6 -0
@@ -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 interface StyledAvatarViewProps extends Pick<AvatarProps, 'round' | 'light'> {
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":["../../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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").ComponentType<import("type-fest").Except<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & AnimatedButtonPressableContainerProps & {
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;AAE7D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C,UAAU,qCAAqC;IAC7C,KAAK,EAAE,YAAY,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,gCAAgC;;YA0H3C,CAAC;AAEH,eAAO,MAAM,uBAAuB,yHAQnC,CAAC"}
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;AAMnD,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"}
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,7 @@
1
+ import type { ReactElement } from 'react';
2
+ interface SkeletonProps {
3
+ isLoading: boolean;
4
+ }
5
+ export declare function SkeletonContent({ isLoading }: SkeletonProps): ReactElement;
6
+ export {};
7
+ //# sourceMappingURL=SkeletonContent.web.d.ts.map
@@ -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,CAGlE"}
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,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,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,YAAY,EAAE,kBAAkB,EAAE,MAAM,qCAA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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":"AAeA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAC;AAIF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBjB,CAAC;AAEF,oBAAY,KAAK,GAAG,OAAO,KAAK,CAAC"}
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 declare const avatarLateOceanTheme: {
2
- default: {
3
- color: string;
4
- backgroundColor: string;
5
- };
6
- light: {
7
- color: string;
8
- backgroundColor: string;
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":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;CAShC,CAAC"}
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,7 @@
1
+ export interface SkeletonTheme {
2
+ backgroundColor: string;
3
+ flareColor: string;
4
+ animationDuration: number;
5
+ }
6
+ export declare const skeletonTheme: SkeletonTheme;
7
+ //# sourceMappingURL=skeletonTheme.d.ts.map
@@ -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":"AAMA,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;AAiBD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DpC,CAAC"}
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"}
@@ -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;AAC9C,OAAO,EAAE,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAIlF,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,CAAC;IACZ,UAAU,EAAE,gBAAgB,CAAC;IAC7B,WAAW,EAAE,OAAO,WAAW,CAAC;CACjC;AAED,wBAAgB,YAAY,IAAI,SAAS,CAKxC"}
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,2 @@
1
+ export declare const hex2rgba: (hex: string, alpha?: number) => string;
2
+ //# sourceMappingURL=hexToRgba.d.ts.map
@@ -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>): ComponentType<Except<Props, 'theme'>>;
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;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAexC,wBAAgB,SAAS,CAAC,KAAK,SAAS;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,EAC7D,gBAAgB,EAAE,aAAa,CAAC,KAAK,CAAC,GACrC,aAAa,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAMvC"}
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"}