@ornikar/kitt-universal 2.2.0 → 3.0.0-beta.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 (163) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/dist/definitions/Avatar/Avatar.d.ts.map +1 -1
  3. package/dist/definitions/Button/Button.d.ts +5 -2
  4. package/dist/definitions/Button/Button.d.ts.map +1 -1
  5. package/dist/definitions/Button/ButtonContent.d.ts.map +1 -1
  6. package/dist/definitions/Button/ButtonPressable.d.ts +13 -0
  7. package/dist/definitions/Button/ButtonPressable.d.ts.map +1 -0
  8. package/dist/definitions/Card/Card.d.ts.map +1 -1
  9. package/dist/definitions/Emoji/Emoji.d.ts +8 -0
  10. package/dist/definitions/Emoji/Emoji.d.ts.map +1 -0
  11. package/dist/definitions/ExternalLink/ExternalLink.d.ts +18 -0
  12. package/dist/definitions/ExternalLink/ExternalLink.d.ts.map +1 -0
  13. package/dist/definitions/ExternalLink/ExternalLink.web.d.ts +4 -0
  14. package/dist/definitions/ExternalLink/ExternalLink.web.d.ts.map +1 -0
  15. package/dist/definitions/ExternalLink/ExternalLinkOpenLinkBehavior.d.ts +24 -0
  16. package/dist/definitions/ExternalLink/ExternalLinkOpenLinkBehavior.d.ts.map +1 -0
  17. package/dist/definitions/FullScreenModal/Body.d.ts.map +1 -1
  18. package/dist/definitions/FullScreenModal/FullScreenModal.d.ts.map +1 -1
  19. package/dist/definitions/FullScreenModal/Header.d.ts.map +1 -1
  20. package/dist/definitions/Icon/Icon.d.ts.map +1 -1
  21. package/dist/definitions/Icon/SpinningIcon.web.d.ts +3 -2
  22. package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
  23. package/dist/definitions/IconButton/IconButton.d.ts.map +1 -1
  24. package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts.map +1 -1
  25. package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts.map +1 -1
  26. package/dist/definitions/IconButton/PressableIconButton.d.ts +4 -4
  27. package/dist/definitions/IconButton/PressableIconButton.d.ts.map +1 -1
  28. package/dist/definitions/ListItem/ListItem.d.ts +3 -4
  29. package/dist/definitions/ListItem/ListItem.d.ts.map +1 -1
  30. package/dist/definitions/ListItem/ListItemContent.d.ts +2 -2
  31. package/dist/definitions/ListItem/ListItemContent.d.ts.map +1 -1
  32. package/dist/definitions/ListItem/ListItemSideContent.d.ts +3 -4
  33. package/dist/definitions/ListItem/ListItemSideContent.d.ts.map +1 -1
  34. package/dist/definitions/Loader/LargeLoader.d.ts.map +1 -1
  35. package/dist/definitions/Loader/LargeLoader.web.d.ts.map +1 -1
  36. package/dist/definitions/Loader/Loader.d.ts.map +1 -1
  37. package/dist/definitions/Loader/Loader.web.d.ts.map +1 -1
  38. package/dist/definitions/Message/Message.d.ts.map +1 -1
  39. package/dist/definitions/Modal/Body.d.ts.map +1 -1
  40. package/dist/definitions/Modal/Footer.d.ts.map +1 -1
  41. package/dist/definitions/Modal/Header.d.ts.map +1 -1
  42. package/dist/definitions/Modal/Modal.d.ts.map +1 -1
  43. package/dist/definitions/Notification/Notification.d.ts.map +1 -1
  44. package/dist/definitions/Overlay/Overlay.d.ts +2 -2
  45. package/dist/definitions/Overlay/Overlay.d.ts.map +1 -1
  46. package/dist/definitions/Tag/Tag.d.ts.map +1 -1
  47. package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts +12 -0
  48. package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts.map +1 -0
  49. package/dist/definitions/TimePicker/TimePicker.d.ts +15 -0
  50. package/dist/definitions/TimePicker/TimePicker.d.ts.map +1 -0
  51. package/dist/definitions/TimePicker/TimePicker.web.d.ts +3 -0
  52. package/dist/definitions/TimePicker/TimePicker.web.d.ts.map +1 -0
  53. package/dist/definitions/TimePicker/useTimePicker.d.ts +14 -0
  54. package/dist/definitions/TimePicker/useTimePicker.d.ts.map +1 -0
  55. package/dist/definitions/Tooltip/Tooltip.d.ts +23 -3
  56. package/dist/definitions/Tooltip/Tooltip.d.ts.map +1 -1
  57. package/dist/definitions/Tooltip/Tooltip.web.d.ts +8 -0
  58. package/dist/definitions/Tooltip/Tooltip.web.d.ts.map +1 -0
  59. package/dist/definitions/Tooltip/TooltipView.d.ts +8 -0
  60. package/dist/definitions/Tooltip/TooltipView.d.ts.map +1 -0
  61. package/dist/definitions/Tooltip/tooltipUtils.d.ts +5 -0
  62. package/dist/definitions/Tooltip/tooltipUtils.d.ts.map +1 -0
  63. package/dist/definitions/forms/InputFeedback/InputFeedback.d.ts.map +1 -1
  64. package/dist/definitions/forms/InputField/InputField.d.ts.map +1 -1
  65. package/dist/definitions/forms/InputText/InputText.d.ts +3 -2
  66. package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
  67. package/dist/definitions/forms/Label/Label.d.ts.map +1 -1
  68. package/dist/definitions/forms/Radio/Radio.d.ts.map +1 -1
  69. package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
  70. package/dist/definitions/index.d.ts +9 -13
  71. package/dist/definitions/index.d.ts.map +1 -1
  72. package/dist/definitions/story-components/Flex.d.ts +2 -2
  73. package/dist/definitions/story-components/Flex.d.ts.map +1 -1
  74. package/dist/definitions/story-components/Story.d.ts.map +1 -1
  75. package/dist/definitions/story-components/StoryBlock.d.ts +1 -2
  76. package/dist/definitions/story-components/StoryBlock.d.ts.map +1 -1
  77. package/dist/definitions/story-components/StoryContainer.d.ts.map +1 -1
  78. package/dist/definitions/story-components/StoryContainer.web.d.ts.map +1 -1
  79. package/dist/definitions/story-components/StoryDecorator.d.ts +3 -3
  80. package/dist/definitions/story-components/StoryDecorator.d.ts.map +1 -1
  81. package/dist/definitions/story-components/StoryGrid.d.ts.map +1 -1
  82. package/dist/definitions/story-components/StorySection.d.ts +7 -9
  83. package/dist/definitions/story-components/StorySection.d.ts.map +1 -1
  84. package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -1
  85. package/dist/definitions/themes/default.d.ts +3 -6
  86. package/dist/definitions/themes/default.d.ts.map +1 -1
  87. package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts +1 -0
  88. package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts.map +1 -1
  89. package/dist/definitions/themes/late-ocean/tooltip.d.ts +10 -0
  90. package/dist/definitions/themes/late-ocean/tooltip.d.ts.map +1 -0
  91. package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts +6 -8
  92. package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts.map +1 -1
  93. package/dist/definitions/typography/Typography.d.ts +19 -7
  94. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  95. package/dist/definitions/typography/TypographyEmoji.d.ts +7 -0
  96. package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -0
  97. package/dist/definitions/typography/TypographyIcon.d.ts.map +1 -1
  98. package/dist/definitions/typography/TypographyLink.d.ts +9 -9
  99. package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
  100. package/dist/definitions/useKittTheme.d.ts +8 -1
  101. package/dist/definitions/useKittTheme.d.ts.map +1 -1
  102. package/dist/definitions/utils/StyleWebWrapper.d.ts +7 -0
  103. package/dist/definitions/utils/StyleWebWrapper.d.ts.map +1 -0
  104. package/dist/definitions/utils/storybook/{decorators/KittThemeDecorator.d.ts → KittThemeDecorator.d.ts} +1 -1
  105. package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts.map +1 -0
  106. package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts +2 -2
  107. package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts.map +1 -1
  108. package/dist/definitions/utils/tests/styled-component-typing-test.d.ts +1 -0
  109. package/dist/definitions/utils/tests/styled-component-typing-test.d.ts.map +1 -1
  110. package/dist/definitions/utils/windowSize/MatchWindowSize.d.ts.map +1 -1
  111. package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts +2 -2
  112. package/dist/definitions/utils/withTheme.d.ts +7 -0
  113. package/dist/definitions/utils/withTheme.d.ts.map +1 -0
  114. package/dist/index-browser-all.es.android.js +1437 -652
  115. package/dist/index-browser-all.es.android.js.map +1 -1
  116. package/dist/index-browser-all.es.css +2 -0
  117. package/dist/index-browser-all.es.ios.js +1437 -652
  118. package/dist/index-browser-all.es.ios.js.map +1 -1
  119. package/dist/index-browser-all.es.js +1403 -724
  120. package/dist/index-browser-all.es.js.map +1 -1
  121. package/dist/index-browser-all.es.web.js +1249 -837
  122. package/dist/index-browser-all.es.web.js.map +1 -1
  123. package/dist/index-node-14.17.cjs.css +2 -0
  124. package/dist/index-node-14.17.cjs.js +1244 -634
  125. package/dist/index-node-14.17.cjs.js.map +1 -1
  126. package/dist/styles.css +4 -0
  127. package/dist/tsbuildinfo +1 -1
  128. package/package.json +19 -7
  129. package/translations/es-ES.json +3 -0
  130. package/translations/fr-FR.json +3 -0
  131. package/dist/definitions/Button/ButtonContainer.d.ts +0 -12
  132. package/dist/definitions/Button/ButtonContainer.d.ts.map +0 -1
  133. package/dist/definitions/Button/useButton.d.ts +0 -6
  134. package/dist/definitions/Button/useButton.d.ts.map +0 -1
  135. package/dist/definitions/primitives/PrimitiveLink.d.ts +0 -11
  136. package/dist/definitions/primitives/PrimitiveLink.d.ts.map +0 -1
  137. package/dist/definitions/primitives/PrimitiveLink.web.d.ts +0 -4
  138. package/dist/definitions/primitives/PrimitiveLink.web.d.ts.map +0 -1
  139. package/dist/definitions/primitives/PrimitivePressable.d.ts +0 -16
  140. package/dist/definitions/primitives/PrimitivePressable.d.ts.map +0 -1
  141. package/dist/definitions/primitives/PrimitivePressable.web.d.ts +0 -4
  142. package/dist/definitions/primitives/PrimitivePressable.web.d.ts.map +0 -1
  143. package/dist/definitions/primitives/PrimitiveScrollView.d.ts +0 -8
  144. package/dist/definitions/primitives/PrimitiveScrollView.d.ts.map +0 -1
  145. package/dist/definitions/primitives/PrimitiveScrollView.web.d.ts +0 -4
  146. package/dist/definitions/primitives/PrimitiveScrollView.web.d.ts.map +0 -1
  147. package/dist/definitions/primitives/PrimitiveText.d.ts +0 -14
  148. package/dist/definitions/primitives/PrimitiveText.d.ts.map +0 -1
  149. package/dist/definitions/primitives/PrimitiveText.web.d.ts +0 -6
  150. package/dist/definitions/primitives/PrimitiveText.web.d.ts.map +0 -1
  151. package/dist/definitions/primitives/PrimitiveView.d.ts +0 -21
  152. package/dist/definitions/primitives/PrimitiveView.d.ts.map +0 -1
  153. package/dist/definitions/primitives/PrimitiveView.web.d.ts +0 -23
  154. package/dist/definitions/primitives/PrimitiveView.web.d.ts.map +0 -1
  155. package/dist/definitions/primitives/helpers.d.ts +0 -7
  156. package/dist/definitions/primitives/helpers.d.ts.map +0 -1
  157. package/dist/definitions/primitives/reset.d.ts +0 -2
  158. package/dist/definitions/primitives/reset.d.ts.map +0 -1
  159. package/dist/definitions/utils/storybook/decorators/KittThemeDecorator.d.ts.map +0 -1
  160. package/dist/definitions/utils/storybook/decorators/SafeAreaProviderDecorator.d.ts +0 -2
  161. package/dist/definitions/utils/storybook/decorators/SafeAreaProviderDecorator.d.ts.map +0 -1
  162. package/dist/definitions/utils/storybook/setup-global-decorators.d.ts +0 -2
  163. package/dist/definitions/utils/storybook/setup-global-decorators.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/kitt-universal",
3
- "version": "2.2.0",
3
+ "version": "3.0.0-beta.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,18 +19,27 @@
19
19
  "yarn": ">= 1.12.3"
20
20
  },
21
21
  "scripts": {
22
+ "build": "ORNIKAR_ONLY=kitt-universal yarn --cwd ../.. build",
22
23
  "lint:eslint": "yarn --cwd ../.. eslint --quiet @ornikar/kitt-universal"
23
24
  },
24
25
  "dependencies": {
25
26
  "@babel/runtime": "^7.13.0",
27
+ "@linaria/react": "^3.0.0-beta.15",
26
28
  "@ornikar/kitt-icons": "^2.1.0",
27
- "type-fest": "^1.0.0"
29
+ "@react-native-community/datetimepicker": "^5.1.0",
30
+ "twemoji-parser": "13.1.0",
31
+ "type-fest": "^1.0.0",
32
+ "@floating-ui/react-dom": "^0.4.2",
33
+ "@floating-ui/react-native": "^0.4.2"
28
34
  },
29
35
  "peerDependencies": {
30
36
  "@storybook/addons": ">= 6.0.0",
37
+ "expo-web-browser": ">= 10.1.0",
31
38
  "react": "^17.0.1",
32
39
  "react-dom": "^17.0.1",
33
- "react-native": ">=0.63.4",
40
+ "react-intl": "^3.0.0 || ^5.0.0",
41
+ "react-native": ">=0.64.0",
42
+ "react-native-gesture-handler": "^2.1.0",
34
43
  "react-native-reanimated": "2.3.1",
35
44
  "react-native-safe-area-context": "3.3.2",
36
45
  "styled-components": "5.3.3"
@@ -47,16 +56,19 @@
47
56
  }
48
57
  },
49
58
  "devDependencies": {
59
+ "@babel/core": "7.16.7",
50
60
  "@types/react": "17.0.38",
51
- "@types/styled-components": "5.1.19",
61
+ "@types/styled-components": "5.1.20",
52
62
  "@types/styled-components-react-native": "5.1.3",
63
+ "@types/twemoji-parser": "13.1.1",
53
64
  "react": "17.0.1",
65
+ "react-dom": "17.0.1",
66
+ "react-intl": "5.24.1",
54
67
  "react-is": "17.0.1",
55
68
  "react-native": "0.64.3",
56
69
  "react-native-gesture-handler": "2.1.0",
57
70
  "react-native-safe-area-context": "3.3.2",
58
- "react-test-renderer": "17.0.1",
71
+ "react-native-web": "0.17.5",
59
72
  "styled-components": "5.3.3"
60
- },
61
- "gitHead": "687a7fa0f25893dc0b527680c4554acce4157f5b"
73
+ }
62
74
  }
@@ -0,0 +1,3 @@
1
+ {
2
+ "kitt-universal.ModalDateTimePicker.confirm": "Validar"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "kitt-universal.ModalDateTimePicker.confirm": "Valider"
3
+ }
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import type { PrimitivePressableProps } from '../primitives/PrimitivePressable';
3
- import type { ButtonType } from './Button';
4
- interface ButtonContainerProps extends PrimitivePressableProps {
5
- type: ButtonType;
6
- isPressed?: boolean;
7
- disabled?: boolean;
8
- stretch?: boolean;
9
- }
10
- export declare const ButtonContainer: import("styled-components").StyledComponent<import("react").FunctionComponent<PrimitivePressableProps>, import("styled-components").DefaultTheme, ButtonContainerProps, never>;
11
- export {};
12
- //# sourceMappingURL=ButtonContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ButtonContainer.d.ts","sourceRoot":"","sources":["../../../src/Button/ButtonContainer.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"}
@@ -1,6 +0,0 @@
1
- export declare const useButton: () => {
2
- isPressed: boolean;
3
- handleButtonPressIn: () => void;
4
- handleButtonPressOut: () => void;
5
- };
6
- //# sourceMappingURL=useButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useButton.d.ts","sourceRoot":"","sources":["../../../src/Button/useButton.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;eACT,OAAO;yBACG,MAAM,IAAI;0BACT,MAAM,IAAI;CAQjC,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,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,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 +0,0 @@
1
- {"version":3,"file":"KittThemeDecorator.d.ts","sourceRoot":"","sources":["../../../../../src/utils/storybook/decorators/KittThemeDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGzD,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAiB,YAAa,SAAQ,SAAS;KAAG;CACnD;AAED,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,sBAAsB,GAAG,YAAY,CAGpF;AAED,eAAO,MAAM,kBAAkB,uBAM7B,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const SafeAreaProviderDecorator: (...args: any) => any;
2
- //# sourceMappingURL=SafeAreaProviderDecorator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SafeAreaProviderDecorator.d.ts","sourceRoot":"","sources":["../../../../../src/utils/storybook/decorators/SafeAreaProviderDecorator.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,yBAAyB,uBAMpC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=setup-global-decorators.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup-global-decorators.d.ts","sourceRoot":"","sources":["../../../../src/utils/storybook/setup-global-decorators.ts"],"names":[],"mappings":""}