@ornikar/kitt-universal 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/CHANGELOG.md +0 -12
  2. package/dist/definitions/Avatar/Avatar.d.ts.map +1 -1
  3. package/dist/definitions/Button/Button.d.ts +1 -1
  4. package/dist/definitions/Button/Button.d.ts.map +1 -1
  5. package/dist/definitions/Button/ButtonContainer.d.ts +3 -3
  6. package/dist/definitions/Button/ButtonContainer.d.ts.map +1 -1
  7. package/dist/definitions/Button/ButtonContent.d.ts +1 -2
  8. package/dist/definitions/Button/ButtonContent.d.ts.map +1 -1
  9. package/dist/definitions/Card/Card.d.ts.map +1 -1
  10. package/dist/definitions/FullScreenModal/Body.d.ts.map +1 -1
  11. package/dist/definitions/FullScreenModal/FullScreenModal.d.ts.map +1 -1
  12. package/dist/definitions/FullScreenModal/Header.d.ts.map +1 -1
  13. package/dist/definitions/Icon/Icon.d.ts.map +1 -1
  14. package/dist/definitions/Icon/SpinningIcon.web.d.ts +5 -2
  15. package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
  16. package/dist/definitions/ListItem/ListItem.d.ts +3 -5
  17. package/dist/definitions/ListItem/ListItem.d.ts.map +1 -1
  18. package/dist/definitions/ListItem/ListItemContent.d.ts +2 -2
  19. package/dist/definitions/ListItem/ListItemContent.d.ts.map +1 -1
  20. package/dist/definitions/ListItem/ListItemSideContent.d.ts +3 -4
  21. package/dist/definitions/ListItem/ListItemSideContent.d.ts.map +1 -1
  22. package/dist/definitions/Loader/LargeLoader.web.d.ts.map +1 -1
  23. package/dist/definitions/Message/Message.d.ts.map +1 -1
  24. package/dist/definitions/Modal/Body.d.ts +4 -2
  25. package/dist/definitions/Modal/Body.d.ts.map +1 -1
  26. package/dist/definitions/Modal/Footer.d.ts.map +1 -1
  27. package/dist/definitions/Modal/Header.d.ts.map +1 -1
  28. package/dist/definitions/Modal/Modal.d.ts +2 -2
  29. package/dist/definitions/Modal/Modal.d.ts.map +1 -1
  30. package/dist/definitions/Overlay/Overlay.d.ts +2 -2
  31. package/dist/definitions/Overlay/Overlay.d.ts.map +1 -1
  32. package/dist/definitions/Tag/Tag.d.ts.map +1 -1
  33. package/dist/definitions/forms/InputField/InputField.d.ts.map +1 -1
  34. package/dist/definitions/forms/InputText/InputText.d.ts +1 -0
  35. package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
  36. package/dist/definitions/forms/Radio/Radio.d.ts.map +1 -1
  37. package/dist/definitions/index.d.ts +1 -15
  38. package/dist/definitions/index.d.ts.map +1 -1
  39. package/dist/definitions/story-components/Section.d.ts +18 -0
  40. package/dist/definitions/story-components/Section.d.ts.map +1 -0
  41. package/dist/definitions/story-components/Story.d.ts.map +1 -1
  42. package/dist/definitions/story-components/StoryGrid.d.ts +1 -2
  43. package/dist/definitions/story-components/StoryGrid.d.ts.map +1 -1
  44. package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -1
  45. package/dist/definitions/story-components/index.d.ts +1 -10
  46. package/dist/definitions/story-components/index.d.ts.map +1 -1
  47. package/dist/definitions/themes/default.d.ts +0 -34
  48. package/dist/definitions/themes/default.d.ts.map +1 -1
  49. package/dist/definitions/themes/late-ocean/buttonLateOceanTheme.d.ts +0 -8
  50. package/dist/definitions/themes/late-ocean/buttonLateOceanTheme.d.ts.map +1 -1
  51. package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts +0 -3
  52. package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts.map +1 -1
  53. package/dist/definitions/typography/Typography.d.ts +3 -9
  54. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  55. package/dist/definitions/typography/TypographyLink.d.ts +4 -6
  56. package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
  57. package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts +2 -2
  58. package/dist/index-browser-all.es.android.js +143 -578
  59. package/dist/index-browser-all.es.android.js.map +1 -1
  60. package/dist/index-browser-all.es.ios.js +143 -578
  61. package/dist/index-browser-all.es.ios.js.map +1 -1
  62. package/dist/index-browser-all.es.js +134 -613
  63. package/dist/index-browser-all.es.js.map +1 -1
  64. package/dist/index-browser-all.es.web.js +163 -723
  65. package/dist/index-browser-all.es.web.js.map +1 -1
  66. package/dist/index-node-14.17.cjs.js +122 -640
  67. package/dist/index-node-14.17.cjs.js.map +1 -1
  68. package/dist/styles.css +117 -0
  69. package/dist/tsbuildinfo +1 -1
  70. package/package.json +3 -9
  71. package/dist/definitions/IconButton/IconButton.d.ts +0 -11
  72. package/dist/definitions/IconButton/IconButton.d.ts.map +0 -1
  73. package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts +0 -13
  74. package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts.map +0 -1
  75. package/dist/definitions/IconButton/PressableIconButton.d.ts +0 -8
  76. package/dist/definitions/IconButton/PressableIconButton.d.ts.map +0 -1
  77. package/dist/definitions/primitives/PrimitiveLink.d.ts +0 -11
  78. package/dist/definitions/primitives/PrimitiveLink.d.ts.map +0 -1
  79. package/dist/definitions/primitives/PrimitiveLink.web.d.ts +0 -4
  80. package/dist/definitions/primitives/PrimitiveLink.web.d.ts.map +0 -1
  81. package/dist/definitions/primitives/PrimitivePressable.d.ts +0 -16
  82. package/dist/definitions/primitives/PrimitivePressable.d.ts.map +0 -1
  83. package/dist/definitions/primitives/PrimitivePressable.web.d.ts +0 -4
  84. package/dist/definitions/primitives/PrimitivePressable.web.d.ts.map +0 -1
  85. package/dist/definitions/primitives/PrimitiveScrollView.d.ts +0 -8
  86. package/dist/definitions/primitives/PrimitiveScrollView.d.ts.map +0 -1
  87. package/dist/definitions/primitives/PrimitiveScrollView.web.d.ts +0 -4
  88. package/dist/definitions/primitives/PrimitiveScrollView.web.d.ts.map +0 -1
  89. package/dist/definitions/primitives/PrimitiveText.d.ts +0 -14
  90. package/dist/definitions/primitives/PrimitiveText.d.ts.map +0 -1
  91. package/dist/definitions/primitives/PrimitiveText.web.d.ts +0 -6
  92. package/dist/definitions/primitives/PrimitiveText.web.d.ts.map +0 -1
  93. package/dist/definitions/primitives/PrimitiveView.d.ts +0 -21
  94. package/dist/definitions/primitives/PrimitiveView.d.ts.map +0 -1
  95. package/dist/definitions/primitives/PrimitiveView.web.d.ts +0 -23
  96. package/dist/definitions/primitives/PrimitiveView.web.d.ts.map +0 -1
  97. package/dist/definitions/primitives/helpers.d.ts +0 -7
  98. package/dist/definitions/primitives/helpers.d.ts.map +0 -1
  99. package/dist/definitions/primitives/reset.d.ts +0 -2
  100. package/dist/definitions/primitives/reset.d.ts.map +0 -1
  101. package/dist/definitions/story-components/Flex.d.ts +0 -9
  102. package/dist/definitions/story-components/Flex.d.ts.map +0 -1
  103. package/dist/definitions/story-components/StoryBlock.d.ts +0 -11
  104. package/dist/definitions/story-components/StoryBlock.d.ts.map +0 -1
  105. package/dist/definitions/story-components/StoryContainer.d.ts +0 -9
  106. package/dist/definitions/story-components/StoryContainer.d.ts.map +0 -1
  107. package/dist/definitions/story-components/StoryContainer.web.d.ts +0 -4
  108. package/dist/definitions/story-components/StoryContainer.web.d.ts.map +0 -1
  109. package/dist/definitions/story-components/StorySection.d.ts +0 -23
  110. package/dist/definitions/story-components/StorySection.d.ts.map +0 -1
  111. package/dist/definitions/story-components/theme.d.ts +0 -2
  112. package/dist/definitions/story-components/theme.d.ts.map +0 -1
  113. package/dist/definitions/themes/late-ocean/iconButton.d.ts +0 -36
  114. package/dist/definitions/themes/late-ocean/iconButton.d.ts.map +0 -1
  115. package/dist/definitions/utils/tests/styled-component-typing-test.d.ts +0 -18
  116. package/dist/definitions/utils/tests/styled-component-typing-test.d.ts.map +0 -1
@@ -1,13 +0,0 @@
1
- import type { ReactElement, ReactNode } from 'react';
2
- import type { IconButtonContentProps } from './IconButton';
3
- import type { PressableIconButtonProps } from './PressableIconButton';
4
- interface AnimatedContainerProps {
5
- children: NonNullable<ReactNode>;
6
- disabled?: boolean;
7
- color: IconButtonContentProps['color'];
8
- onPress: NonNullable<PressableIconButtonProps['onPress']>;
9
- }
10
- declare function WebAnimatedContainer({ children, color, disabled, onPress }: AnimatedContainerProps): ReactElement;
11
- export declare const PressableAnimatedContainer: typeof WebAnimatedContainer;
12
- export {};
13
- //# sourceMappingURL=PressableAnimatedContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PressableAnimatedContainer.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableAnimatedContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAGtE,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACvC,OAAO,EAAE,WAAW,CAAC,wBAAwB,CAAC,SAAS,CAAC,CAAC,CAAC;CAC3D;AAED,iBAAS,oBAAoB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,sBAAsB,GAAG,YAAY,CAM1G;AAoFD,eAAO,MAAM,0BAA0B,6BAAyE,CAAC"}
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import type { PrimitivePressableProps } from '../primitives/PrimitivePressable';
3
- import type { IconButtonContentProps } from './IconButton';
4
- export interface PressableIconButtonProps extends PrimitivePressableProps {
5
- color: IconButtonContentProps['color'];
6
- }
7
- export declare const PressableIconButton: import("styled-components").StyledComponent<import("react").FunctionComponent<PrimitivePressableProps>, import("styled-components").DefaultTheme, PressableIconButtonProps, never>;
8
- //# sourceMappingURL=PressableIconButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PressableIconButton.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableIconButton.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAE3D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;IACvE,KAAK,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,mBAAmB,oLAuD/B,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { FunctionComponent, ReactNode } from 'react';
2
- import type { TextProps } from 'react-native';
3
- export interface PrimitiveLinkProps {
4
- className?: string;
5
- children?: ReactNode;
6
- accessibilityRole?: Extract<TextProps['accessibilityRole'], 'link'>;
7
- selectable?: TextProps['selectable'];
8
- onPress?: TextProps['onPress'];
9
- }
10
- export declare const PrimitiveLink: FunctionComponent<PrimitiveLinkProps>;
11
- //# sourceMappingURL=PrimitiveLink.d.ts.map
@@ -1 +0,0 @@
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;AAE9C,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,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,uCAAiE,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
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>;
4
- //# sourceMappingURL=PrimitiveLink.web.d.ts.map
@@ -1 +0,0 @@
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;AA8B1D,eAAO,MAAM,aAAa,8LAezB,CAAC"}
@@ -1,16 +0,0 @@
1
- import type { FunctionComponent, ReactNode } from 'react';
2
- import type { PressableProps } from 'react-native';
3
- export interface PrimitivePressableProps {
4
- className?: string;
5
- children?: ReactNode;
6
- testID?: PressableProps['testID'];
7
- disabled?: PressableProps['disabled'];
8
- focusable?: PressableProps['focusable'];
9
- nativeID?: PressableProps['nativeID'];
10
- accessibilityRole: Extract<PressableProps['accessibilityRole'], 'button' | 'radio' | 'none'>;
11
- onPress: NonNullable<PressableProps['onPress']>;
12
- onPressIn?: PressableProps['onPressIn'];
13
- onPressOut?: PressableProps['onPressOut'];
14
- }
15
- export declare const PrimitivePressable: FunctionComponent<PrimitivePressableProps>;
16
- //# sourceMappingURL=PrimitivePressable.d.ts.map
@@ -1 +0,0 @@
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;IAEhD,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,4 +0,0 @@
1
- import React from 'react';
2
- import type { PrimitivePressableProps } from './PrimitivePressable';
3
- export declare const PrimitivePressable: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<PrimitivePressableProps & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
4
- //# sourceMappingURL=PrimitivePressable.web.d.ts.map
@@ -1 +0,0 @@
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;AAkCpE,eAAO,MAAM,kBAAkB,kMAG9B,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { FunctionComponent } from 'react';
2
- import type { ScrollViewProps } from 'react-native';
3
- import type { PrimitiveViewProps } from './PrimitiveView';
4
- export interface PrimitiveScrollViewProps extends PrimitiveViewProps {
5
- contentContainerStyle?: ScrollViewProps['contentContainerStyle'];
6
- }
7
- export declare const PrimitiveScrollView: FunctionComponent<PrimitiveScrollViewProps>;
8
- //# sourceMappingURL=PrimitiveScrollView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimitiveScrollView.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB;IAClE,qBAAqB,CAAC,EAAE,eAAe,CAAC,uBAAuB,CAAC,CAAC;CAClE;AAED,eAAO,MAAM,mBAAmB,6CAAuE,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { PrimitiveScrollViewProps } from './PrimitiveScrollView';
3
- export declare const PrimitiveScrollView: React.ForwardRefExoticComponent<PrimitiveScrollViewProps & React.RefAttributes<HTMLDivElement>>;
4
- //# sourceMappingURL=PrimitiveScrollView.web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimitiveScrollView.web.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveScrollView.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAGtE,eAAO,MAAM,mBAAmB,iGAQ/B,CAAC"}
@@ -1,14 +0,0 @@
1
- import type { FunctionComponent, ReactNode } from 'react';
2
- import type { TextProps } from 'react-native';
3
- export interface PrimitiveTextProps {
4
- className?: string;
5
- children?: ReactNode;
6
- accessibilityRole?: Extract<TextProps['accessibilityRole'], 'header' | 'none'> | 'paragraph';
7
- accessibilityLevel?: number;
8
- accessibilityRoleDescription?: string;
9
- testID?: TextProps['testID'];
10
- numberOfLines?: TextProps['numberOfLines'];
11
- selectable?: TextProps['selectable'];
12
- }
13
- export declare const PrimitiveText: FunctionComponent<PrimitiveTextProps>;
14
- //# sourceMappingURL=PrimitiveText.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimitiveText.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,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,QAAQ,GAAG,MAAM,CAAC,GAAG,WAAW,CAAC;IAC7F,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,MAAM,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC7B,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;CAEtC;AAED,eAAO,MAAM,aAAa,uCAAiE,CAAC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import type { PrimitiveTextProps } from './PrimitiveText';
3
- export declare const PrimitiveTextAncestorContext: React.Context<boolean>;
4
- export declare const textResetMixin: import("styled-components").FlattenSimpleInterpolation;
5
- export declare const PrimitiveText: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<PrimitiveTextProps & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
6
- //# sourceMappingURL=PrimitiveText.web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimitiveText.web.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveText.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAW1D,eAAO,MAAM,4BAA4B,wBAAuB,CAAC;AA8CjE,eAAO,MAAM,cAAc,wDAO1B,CAAC;AAEF,eAAO,MAAM,aAAa,6LAezB,CAAC"}
@@ -1,21 +0,0 @@
1
- import type { FunctionComponent, ReactNode } from 'react';
2
- import type { ViewProps as NativeViewProps } from 'react-native';
3
- export interface PrimitiveViewProps {
4
- /**
5
- * Use internally to pass all styles to our implementation with styled-components
6
- * @private
7
- */
8
- className?: string;
9
- children?: ReactNode;
10
- accessibilityRole?: Extract<NativeViewProps['accessibilityRole'], 'button' | 'radio' | 'none'>;
11
- testID?: NativeViewProps['testID'];
12
- nativeID?: NativeViewProps['nativeID'];
13
- /**
14
- * Use internally to pass all styles from PrimitiveScrollView
15
- * @private
16
- */
17
- style?: NativeViewProps['style'];
18
- onLayout?: NativeViewProps['onLayout'];
19
- }
20
- export declare const PrimitiveView: FunctionComponent<PrimitiveViewProps>;
21
- //# sourceMappingURL=PrimitiveView.d.ts.map
@@ -1 +0,0 @@
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,23 +0,0 @@
1
- import type { ComponentProps, MouseEventHandler } from 'react';
2
- import React from 'react';
3
- import type { Except } from 'type-fest';
4
- import type { PrimitiveViewProps } from './PrimitiveView';
5
- export interface BaseWebPrimitiveViewProps extends Except<PrimitiveViewProps, 'accessibilityRole'> {
6
- tabIndex?: HTMLDivElement['tabIndex'];
7
- }
8
- interface WebPrimitiveViewPropsWithOnPress extends BaseWebPrimitiveViewProps {
9
- accessibilityRole: NonNullable<PrimitiveViewProps['accessibilityRole']>;
10
- onPress: (e?: MouseEventHandler<HTMLDivElement> | any) => void;
11
- }
12
- interface WebPrimitiveViewPropsWithoutOnPress extends BaseWebPrimitiveViewProps {
13
- accessibilityRole?: NonNullable<PrimitiveViewProps['accessibilityRole']>;
14
- onPress?: never;
15
- }
16
- export declare type WebPrimitiveViewProps = WebPrimitiveViewPropsWithOnPress | WebPrimitiveViewPropsWithoutOnPress;
17
- interface StyledDivProps extends ComponentProps<'div'> {
18
- hasTextAncestor: boolean;
19
- }
20
- export declare const StyledDiv: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledDivProps, never>;
21
- export declare const PrimitiveView: React.ForwardRefExoticComponent<WebPrimitiveViewProps & React.RefAttributes<HTMLDivElement>>;
22
- export {};
23
- //# sourceMappingURL=PrimitiveView.web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimitiveView.web.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitiveView.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAC7E,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,CAAC,GAAG,GAAG,KAAK,IAAI,CAAC;CAChE;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;AAED,eAAO,MAAM,SAAS,qHAWrB,CAAC;AAEF,eAAO,MAAM,aAAa,8FAoBzB,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { KeyboardEventHandler, MouseEventHandler } from 'react';
2
- import type { GestureResponderEvent } from 'react-native';
3
- declare type OnPress = (event: GestureResponderEvent) => void;
4
- export declare function createPressClickHandler<T = HTMLElement>(onPress: OnPress | MouseEventHandler<T> | undefined): MouseEventHandler<T> | undefined;
5
- export declare function createPressKeyUpHandler<T = HTMLElement>(onPress: OnPress | MouseEventHandler<T> | undefined): KeyboardEventHandler<T> | undefined;
6
- export {};
7
- //# sourceMappingURL=helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/primitives/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,aAAK,OAAO,GAAG,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;AAEtD,wBAAgB,uBAAuB,CAAC,CAAC,GAAG,WAAW,EACrD,OAAO,EAAE,OAAO,GAAG,iBAAiB,CAAC,CAAC,CAAC,GAAG,SAAS,GAClD,iBAAiB,CAAC,CAAC,CAAC,GAAG,SAAS,CAMlC;AAUD,wBAAgB,uBAAuB,CAAC,CAAC,GAAG,WAAW,EACrD,OAAO,EAAE,OAAO,GAAG,iBAAiB,CAAC,CAAC,CAAC,GAAG,SAAS,GAClD,oBAAoB,CAAC,CAAC,CAAC,GAAG,SAAS,CAOrC"}
@@ -1,2 +0,0 @@
1
- export declare const resetMixin: import("styled-components").FlattenSimpleInterpolation;
2
- //# sourceMappingURL=reset.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reset.d.ts","sourceRoot":"","sources":["../../../src/primitives/reset.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,wDAKtB,CAAC"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ViewStyle } from 'react-native';
3
- interface FlexProps {
4
- direction: ViewStyle['flexDirection'];
5
- padding?: number;
6
- }
7
- export declare const Flex: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../primitives/PrimitiveView").PrimitiveViewProps>, import("styled-components").DefaultTheme, FlexProps, never>;
8
- export {};
9
- //# sourceMappingURL=Flex.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/story-components/Flex.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,UAAU,SAAS;IACjB,SAAS,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,IAAI,sMAOhB,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { ReactElement, ReactNode } from 'react';
2
- import React from 'react';
3
- import type { TypographyColor } from '../typography/Typography';
4
- export interface StoryBlockProps {
5
- background?: 'dark' | 'light' | 'primary' | 'transparent';
6
- children: ReactNode;
7
- }
8
- export declare const StoryBlockBackgroundContext: React.Context<"primary" | "transparent" | "light" | "dark" | undefined>;
9
- export declare const useStoryBlockColor: (color?: TypographyColor | undefined) => TypographyColor;
10
- export declare function StoryBlock({ children, background }: StoryBlockProps): ReactElement;
11
- //# sourceMappingURL=StoryBlock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryBlock.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAoC,MAAM,OAAO,CAAC;AAIzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGhE,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa,CAAC;IAC1D,QAAQ,EAAE,SAAS,CAAC;CACrB;AA6BD,eAAO,MAAM,2BAA2B,yEAA8D,CAAC;AAGvG,eAAO,MAAM,kBAAkB,WAAY,eAAe,GAAG,SAAS,KAAG,eAGxE,CAAC;AAQF,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,eAAe,GAAG,YAAY,CAQlF"}
@@ -1,9 +0,0 @@
1
- import type { ReactElement, ReactNode } from 'react';
2
- export interface StoryContainerProps {
3
- children: NonNullable<ReactNode>;
4
- state?: 'none' | 'active' | 'hover' | 'focus';
5
- platform?: 'all' | 'native' | 'web';
6
- title?: ReactNode;
7
- }
8
- export declare function StoryContainer({ children, title, state, platform, }: StoryContainerProps): ReactElement | null;
9
- //# sourceMappingURL=StoryContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryContainer.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;IAC9C,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,KAAK,CAAC;IACpC,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,KAAK,EACL,KAAc,EACd,QAAgB,GACjB,EAAE,mBAAmB,GAAG,YAAY,GAAG,IAAI,CAQ3C"}
@@ -1,4 +0,0 @@
1
- import type { ReactElement } from 'react';
2
- import type { StoryContainerProps } from './StoryContainer';
3
- export declare function StoryContainer({ children, state, title, platform }: StoryContainerProps): ReactElement | null;
4
- //# sourceMappingURL=StoryContainer.web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryContainer.web.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryContainer.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,mBAAmB,GAAG,YAAY,GAAG,IAAI,CAQ7G"}
@@ -1,23 +0,0 @@
1
- import type { ReactElement, ReactNode } from 'react';
2
- import React from 'react';
3
- import type { PrimitiveViewProps } from '../primitives/PrimitiveView';
4
- export interface StorySectionProps extends PrimitiveViewProps {
5
- title: ReactNode;
6
- className?: string;
7
- children: ReactNode;
8
- /** @private */
9
- internalIsDemoSection?: boolean;
10
- }
11
- export declare function StorySection({ title, className, children, internalIsDemoSection, ...props }: StorySectionProps): ReactElement;
12
- export declare namespace StorySection {
13
- var SubSection: ({ title, className, children, ...props }: StorySectionProps) => ReactElement<any, string | React.JSXElementConstructor<any>>;
14
- var BlockSection: ({ title, className, children, ...props }: StorySectionProps) => ReactElement<any, string | React.JSXElementConstructor<any>>;
15
- var DemoSection: ({ children }: DemoSectionProps) => ReactElement<any, string | React.JSXElementConstructor<any>>;
16
- var Demo: ({ children }: DemoSectionProps) => ReactElement<any, string | React.JSXElementConstructor<any>>;
17
- }
18
- export interface DemoSectionProps {
19
- children: ReactNode;
20
- }
21
- /** @deprecated use StorySection instead */
22
- export declare const DeprecatedSection: typeof StorySection;
23
- //# sourceMappingURL=StorySection.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StorySection.d.ts","sourceRoot":"","sources":["../../../src/story-components/StorySection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAUtE,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe;IACf,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,SAAS,EACT,QAAQ,EACR,qBAAqB,EACrB,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG,YAAY,CAQlC;yBAde,YAAY;;;;;;AA0C5B,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAsBD,2CAA2C;AAC3C,eAAO,MAAM,iBAAiB,qBAAe,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const storyPadding = 16;
2
- //# sourceMappingURL=theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/story-components/theme.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,KAAK,CAAC"}
@@ -1,36 +0,0 @@
1
- interface IconButtonVariationValues {
2
- pressedBackgroundColor: string;
3
- }
4
- export interface IconButtonTheme {
5
- backgroundColor: string;
6
- width: number;
7
- height: number;
8
- borderRadius: number;
9
- borderWidth: number;
10
- borderColor: string;
11
- transition: {
12
- property: string;
13
- duration: string;
14
- timingFunction: string;
15
- };
16
- scale: {
17
- base: {
18
- default: number;
19
- hover: number;
20
- active: number;
21
- };
22
- medium: {
23
- hover: number;
24
- };
25
- };
26
- disabled: {
27
- scale: number;
28
- backgroundColor: string;
29
- borderColor: string;
30
- };
31
- default: IconButtonVariationValues;
32
- white: IconButtonVariationValues;
33
- }
34
- export declare const iconButton: IconButtonTheme;
35
- export {};
36
- //# sourceMappingURL=iconButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"iconButton.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/iconButton.ts"],"names":[],"mappings":"AAEA,UAAU,yBAAyB;IACjC,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE;QACV,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,OAAO,EAAE,MAAM,CAAC;YAChB,KAAK,EAAE,MAAM,CAAC;YACd,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,MAAM,EAAE;YACN,KAAK,EAAE,MAAM,CAAC;SACf,CAAC;KACH,CAAC;IACF,QAAQ,EAAE;QACR,KAAK,EAAE,MAAM,CAAC;QACd,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,OAAO,EAAE,yBAAyB,CAAC;IACnC,KAAK,EAAE,yBAAyB,CAAC;CAClC;AAED,eAAO,MAAM,UAAU,EAAE,eAiCxB,CAAC"}
@@ -1,18 +0,0 @@
1
- import type { ReactElement } from 'react';
2
- interface C1Props {
3
- color: 'white' | 'black';
4
- }
5
- declare function C1({ color }: C1Props): ReactElement;
6
- export declare const C2: import("styled-components").ThemedStyledFunction<typeof C1, import("styled-components").DefaultTheme, Partial<C1Props> & {
7
- [others: string]: any;
8
- }, string | number>;
9
- export declare const C3: import("styled-components").StyledComponent<typeof C1, import("styled-components").DefaultTheme, {}, never>;
10
- export declare const C4: import("styled-components").ThemedStyledFunction<typeof C1, import("styled-components").DefaultTheme, {}, never>;
11
- interface C5Props {
12
- color: string;
13
- align: 'center' | 'normal';
14
- }
15
- export declare const C5: import("styled-components").StyledComponent<typeof C1, import("styled-components").DefaultTheme, C5Props, never>;
16
- export declare function C5Usage(): ReactElement;
17
- export {};
18
- //# sourceMappingURL=styled-component-typing-test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styled-component-typing-test.d.ts","sourceRoot":"","sources":["../../../../src/utils/tests/styled-component-typing-test.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAK1C,UAAU,OAAO;IACf,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;CAC1B;AAED,iBAAS,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,GAAG,YAAY,CAE5C;AAGD,eAAO,MAAM,EAAE;;mBAMb,CAAC;AAGH,eAAO,MAAM,EAAE,6GAId,CAAC;AAOF,eAAO,MAAM,EAAE,kHAMb,CAAC;AAGH,UAAU,OAAO;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC5B;AAED,eAAO,MAAM,EAAE,kHAId,CAAC;AAEF,wBAAgB,OAAO,IAAI,YAAY,CAStC"}