@ornikar/kitt-universal 2.3.0 → 3.0.0-beta.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 (156) 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 +4 -4
  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 +4 -3
  7. package/dist/definitions/Button/ButtonPressable.d.ts.map +1 -1
  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 +3 -3
  12. package/dist/definitions/ExternalLink/ExternalLink.d.ts.map +1 -1
  13. package/dist/definitions/ExternalLink/ExternalLink.web.d.ts.map +1 -1
  14. package/dist/definitions/FullScreenModal/Body.d.ts.map +1 -1
  15. package/dist/definitions/FullScreenModal/FullScreenModal.d.ts.map +1 -1
  16. package/dist/definitions/FullScreenModal/Header.d.ts.map +1 -1
  17. package/dist/definitions/Icon/Icon.d.ts.map +1 -1
  18. package/dist/definitions/Icon/SpinningIcon.web.d.ts +3 -2
  19. package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
  20. package/dist/definitions/IconButton/IconButton.d.ts.map +1 -1
  21. package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts.map +1 -1
  22. package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts.map +1 -1
  23. package/dist/definitions/IconButton/PressableIconButton.d.ts +4 -4
  24. package/dist/definitions/IconButton/PressableIconButton.d.ts.map +1 -1
  25. package/dist/definitions/ListItem/ListItem.d.ts +3 -4
  26. package/dist/definitions/ListItem/ListItem.d.ts.map +1 -1
  27. package/dist/definitions/ListItem/ListItemContent.d.ts +2 -2
  28. package/dist/definitions/ListItem/ListItemContent.d.ts.map +1 -1
  29. package/dist/definitions/ListItem/ListItemSideContent.d.ts +3 -4
  30. package/dist/definitions/ListItem/ListItemSideContent.d.ts.map +1 -1
  31. package/dist/definitions/Loader/LargeLoader.d.ts.map +1 -1
  32. package/dist/definitions/Loader/LargeLoader.web.d.ts.map +1 -1
  33. package/dist/definitions/Loader/Loader.d.ts.map +1 -1
  34. package/dist/definitions/Loader/Loader.web.d.ts.map +1 -1
  35. package/dist/definitions/Message/Message.d.ts.map +1 -1
  36. package/dist/definitions/Modal/Body.d.ts.map +1 -1
  37. package/dist/definitions/Modal/Footer.d.ts.map +1 -1
  38. package/dist/definitions/Modal/Header.d.ts.map +1 -1
  39. package/dist/definitions/Modal/Modal.d.ts.map +1 -1
  40. package/dist/definitions/Notification/Notification.d.ts.map +1 -1
  41. package/dist/definitions/Overlay/Overlay.d.ts +2 -2
  42. package/dist/definitions/Overlay/Overlay.d.ts.map +1 -1
  43. package/dist/definitions/Tag/Tag.d.ts.map +1 -1
  44. package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts +12 -0
  45. package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts.map +1 -0
  46. package/dist/definitions/TimePicker/TimePicker.d.ts +15 -0
  47. package/dist/definitions/TimePicker/TimePicker.d.ts.map +1 -0
  48. package/dist/definitions/TimePicker/TimePicker.web.d.ts +3 -0
  49. package/dist/definitions/TimePicker/TimePicker.web.d.ts.map +1 -0
  50. package/dist/definitions/TimePicker/useTimePicker.d.ts +14 -0
  51. package/dist/definitions/TimePicker/useTimePicker.d.ts.map +1 -0
  52. package/dist/definitions/Tooltip/Tooltip.d.ts +23 -3
  53. package/dist/definitions/Tooltip/Tooltip.d.ts.map +1 -1
  54. package/dist/definitions/Tooltip/Tooltip.web.d.ts +8 -0
  55. package/dist/definitions/Tooltip/Tooltip.web.d.ts.map +1 -0
  56. package/dist/definitions/Tooltip/TooltipView.d.ts +8 -0
  57. package/dist/definitions/Tooltip/TooltipView.d.ts.map +1 -0
  58. package/dist/definitions/Tooltip/tooltipUtils.d.ts +5 -0
  59. package/dist/definitions/Tooltip/tooltipUtils.d.ts.map +1 -0
  60. package/dist/definitions/forms/InputFeedback/InputFeedback.d.ts.map +1 -1
  61. package/dist/definitions/forms/InputField/InputField.d.ts.map +1 -1
  62. package/dist/definitions/forms/InputText/InputText.d.ts +3 -2
  63. package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
  64. package/dist/definitions/forms/Label/Label.d.ts.map +1 -1
  65. package/dist/definitions/forms/Radio/Radio.d.ts.map +1 -1
  66. package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
  67. package/dist/definitions/index.d.ts +7 -13
  68. package/dist/definitions/index.d.ts.map +1 -1
  69. package/dist/definitions/story-components/Flex.d.ts +2 -2
  70. package/dist/definitions/story-components/Flex.d.ts.map +1 -1
  71. package/dist/definitions/story-components/Story.d.ts.map +1 -1
  72. package/dist/definitions/story-components/StoryBlock.d.ts +1 -2
  73. package/dist/definitions/story-components/StoryBlock.d.ts.map +1 -1
  74. package/dist/definitions/story-components/StoryContainer.d.ts.map +1 -1
  75. package/dist/definitions/story-components/StoryContainer.web.d.ts.map +1 -1
  76. package/dist/definitions/story-components/StoryDecorator.d.ts +3 -3
  77. package/dist/definitions/story-components/StoryDecorator.d.ts.map +1 -1
  78. package/dist/definitions/story-components/StoryGrid.d.ts.map +1 -1
  79. package/dist/definitions/story-components/StorySection.d.ts +7 -9
  80. package/dist/definitions/story-components/StorySection.d.ts.map +1 -1
  81. package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -1
  82. package/dist/definitions/themes/default.d.ts +3 -6
  83. package/dist/definitions/themes/default.d.ts.map +1 -1
  84. package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts +1 -0
  85. package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts.map +1 -1
  86. package/dist/definitions/themes/late-ocean/tooltip.d.ts +10 -0
  87. package/dist/definitions/themes/late-ocean/tooltip.d.ts.map +1 -0
  88. package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts +6 -8
  89. package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts.map +1 -1
  90. package/dist/definitions/typography/Typography.d.ts +19 -7
  91. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  92. package/dist/definitions/typography/TypographyEmoji.d.ts +7 -0
  93. package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -0
  94. package/dist/definitions/typography/TypographyIcon.d.ts.map +1 -1
  95. package/dist/definitions/typography/TypographyLink.d.ts +6 -9
  96. package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
  97. package/dist/definitions/useKittTheme.d.ts +8 -1
  98. package/dist/definitions/useKittTheme.d.ts.map +1 -1
  99. package/dist/definitions/utils/StyleWebWrapper.d.ts +7 -0
  100. package/dist/definitions/utils/StyleWebWrapper.d.ts.map +1 -0
  101. package/dist/definitions/utils/storybook/{decorators/KittThemeDecorator.d.ts → KittThemeDecorator.d.ts} +1 -1
  102. package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts.map +1 -0
  103. package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts +2 -2
  104. package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts.map +1 -1
  105. package/dist/definitions/utils/tests/styled-component-typing-test.d.ts +1 -0
  106. package/dist/definitions/utils/tests/styled-component-typing-test.d.ts.map +1 -1
  107. package/dist/definitions/utils/windowSize/MatchWindowSize.d.ts.map +1 -1
  108. package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts +2 -2
  109. package/dist/definitions/utils/withTheme.d.ts +7 -0
  110. package/dist/definitions/utils/withTheme.d.ts.map +1 -0
  111. package/dist/index-browser-all.es.android.js +1347 -595
  112. package/dist/index-browser-all.es.android.js.map +1 -1
  113. package/dist/index-browser-all.es.css +2 -0
  114. package/dist/index-browser-all.es.ios.js +1348 -596
  115. package/dist/index-browser-all.es.ios.js.map +1 -1
  116. package/dist/index-browser-all.es.js +1318 -672
  117. package/dist/index-browser-all.es.js.map +1 -1
  118. package/dist/index-browser-all.es.web.js +1173 -812
  119. package/dist/index-browser-all.es.web.js.map +1 -1
  120. package/dist/index-node-14.17.cjs.css +2 -0
  121. package/dist/index-node-14.17.cjs.js +1168 -591
  122. package/dist/index-node-14.17.cjs.js.map +1 -1
  123. package/dist/styles.css +4 -0
  124. package/dist/tsbuildinfo +1 -1
  125. package/package.json +18 -7
  126. package/translations/es-ES.json +3 -0
  127. package/translations/fr-FR.json +3 -0
  128. package/dist/definitions/primitives/PrimitiveLink.d.ts +0 -13
  129. package/dist/definitions/primitives/PrimitiveLink.d.ts.map +0 -1
  130. package/dist/definitions/primitives/PrimitiveLink.web.d.ts +0 -4
  131. package/dist/definitions/primitives/PrimitiveLink.web.d.ts.map +0 -1
  132. package/dist/definitions/primitives/PrimitivePressable.d.ts +0 -18
  133. package/dist/definitions/primitives/PrimitivePressable.d.ts.map +0 -1
  134. package/dist/definitions/primitives/PrimitivePressable.web.d.ts +0 -4
  135. package/dist/definitions/primitives/PrimitivePressable.web.d.ts.map +0 -1
  136. package/dist/definitions/primitives/PrimitiveScrollView.d.ts +0 -8
  137. package/dist/definitions/primitives/PrimitiveScrollView.d.ts.map +0 -1
  138. package/dist/definitions/primitives/PrimitiveScrollView.web.d.ts +0 -4
  139. package/dist/definitions/primitives/PrimitiveScrollView.web.d.ts.map +0 -1
  140. package/dist/definitions/primitives/PrimitiveText.d.ts +0 -14
  141. package/dist/definitions/primitives/PrimitiveText.d.ts.map +0 -1
  142. package/dist/definitions/primitives/PrimitiveText.web.d.ts +0 -6
  143. package/dist/definitions/primitives/PrimitiveText.web.d.ts.map +0 -1
  144. package/dist/definitions/primitives/PrimitiveView.d.ts +0 -23
  145. package/dist/definitions/primitives/PrimitiveView.d.ts.map +0 -1
  146. package/dist/definitions/primitives/PrimitiveView.web.d.ts +0 -27
  147. package/dist/definitions/primitives/PrimitiveView.web.d.ts.map +0 -1
  148. package/dist/definitions/primitives/helpers.d.ts +0 -7
  149. package/dist/definitions/primitives/helpers.d.ts.map +0 -1
  150. package/dist/definitions/primitives/reset.d.ts +0 -2
  151. package/dist/definitions/primitives/reset.d.ts.map +0 -1
  152. package/dist/definitions/utils/storybook/decorators/KittThemeDecorator.d.ts.map +0 -1
  153. package/dist/definitions/utils/storybook/decorators/SafeAreaProviderDecorator.d.ts +0 -2
  154. package/dist/definitions/utils/storybook/decorators/SafeAreaProviderDecorator.d.ts.map +0 -1
  155. package/dist/definitions/utils/storybook/setup-global-decorators.d.ts +0 -2
  156. 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.3.0",
3
+ "version": "3.0.0-beta.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,19 +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",
31
37
  "expo-web-browser": ">= 10.1.0",
32
38
  "react": "^17.0.1",
33
39
  "react-dom": "^17.0.1",
34
- "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",
35
43
  "react-native-reanimated": "2.3.1",
36
44
  "react-native-safe-area-context": "3.3.2",
37
45
  "styled-components": "5.3.3"
@@ -48,16 +56,19 @@
48
56
  }
49
57
  },
50
58
  "devDependencies": {
59
+ "@babel/core": "7.16.7",
51
60
  "@types/react": "17.0.38",
52
- "@types/styled-components": "5.1.19",
61
+ "@types/styled-components": "5.1.20",
53
62
  "@types/styled-components-react-native": "5.1.3",
63
+ "@types/twemoji-parser": "13.1.1",
54
64
  "react": "17.0.1",
65
+ "react-dom": "17.0.1",
66
+ "react-intl": "5.24.1",
55
67
  "react-is": "17.0.1",
56
68
  "react-native": "0.64.3",
57
69
  "react-native-gesture-handler": "2.1.0",
58
70
  "react-native-safe-area-context": "3.3.2",
59
- "react-test-renderer": "17.0.1",
71
+ "react-native-web": "0.17.5",
60
72
  "styled-components": "5.3.3"
61
- },
62
- "gitHead": "add3458b42b8d123b8aa9916d1fea0211e0fa72b"
73
+ }
63
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,13 +0,0 @@
1
- import type { FunctionComponent, ReactNode } from 'react';
2
- import type { TextProps, ViewProps } from 'react-native';
3
- export interface PrimitiveLinkProps {
4
- className?: string;
5
- children?: ReactNode;
6
- accessibilityRole?: Extract<TextProps['accessibilityRole'], 'link'>;
7
- selectable?: TextProps['selectable'];
8
- href?: ViewProps['href'];
9
- hrefAttrs?: ViewProps['hrefAttrs'];
10
- onPress?: TextProps['onPress'];
11
- }
12
- export declare const PrimitiveLink: FunctionComponent<PrimitiveLinkProps>;
13
- //# 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,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC,CAAC;IACpE,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,uCAAiE,CAAC"}
@@ -1,4 +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 | HTMLAnchorElement>>, 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;AAoC1D,eAAO,MAAM,aAAa,kNAezB,CAAC"}
@@ -1,18 +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
- href?: PressableProps['href'];
11
- hrefAttrs?: PressableProps['hrefAttrs'];
12
- accessibilityRole: Extract<PressableProps['accessibilityRole'], 'button' | 'radio' | 'none'>;
13
- onPress?: NonNullable<PressableProps['onPress']>;
14
- onPressIn?: PressableProps['onPressIn'];
15
- onPressOut?: PressableProps['onPressOut'];
16
- }
17
- export declare const PrimitivePressable: FunctionComponent<PrimitivePressableProps>;
18
- //# 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,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,iBAAiB,EAAE,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;IAC7F,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;AAuCpE,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,23 +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
- href?: NativeViewProps['href'];
14
- hrefAttrs?: NativeViewProps['hrefAttrs'];
15
- /**
16
- * Use internally to pass all styles from PrimitiveScrollView
17
- * @private
18
- */
19
- style?: NativeViewProps['style'];
20
- onLayout?: NativeViewProps['onLayout'];
21
- }
22
- export declare const PrimitiveView: FunctionComponent<PrimitiveViewProps>;
23
- //# 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,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAEjC,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,aAAa,uCAAiE,CAAC"}
@@ -1,27 +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 | HTMLAnchorElement> | 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
- interface StyledAnchorProps extends ComponentProps<'a'> {
21
- hasTextAncestor: boolean;
22
- }
23
- export declare const StyledDiv: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledDivProps, never>;
24
- export declare const StyledAnchor: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, StyledAnchorProps, never>;
25
- export declare const PrimitiveView: React.ForwardRefExoticComponent<WebPrimitiveViewProps & React.RefAttributes<HTMLDivElement | HTMLAnchorElement>>;
26
- export {};
27
- //# 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,EAAgB,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAC3F,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAI1D,MAAM,WAAW,yBAA0B,SAAQ,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAAC;IAChG,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACvC;AAED,UAAU,gCAAiC,SAAQ,yBAAyB;IAC1E,iBAAiB,EAAE,WAAW,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACxE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,cAAc,GAAG,iBAAiB,CAAC,GAAG,GAAG,KAAK,IAAI,CAAC;CACpF;AAED,UAAU,mCAAoC,SAAQ,yBAAyB;IAC7E,iBAAiB,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACzE,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,oBAAY,qBAAqB,GAAG,gCAAgC,GAAG,mCAAmC,CAAC;AAE3G,UAAU,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IACpD,eAAe,EAAE,OAAO,CAAC;CAC1B;AACD,UAAU,iBAAkB,SAAQ,cAAc,CAAC,GAAG,CAAC;IACrD,eAAe,EAAE,OAAO,CAAC;CAC1B;AAcD,eAAO,MAAM,SAAS,qHAGrB,CAAC;AAEF,eAAO,MAAM,YAAY,sHAIxB,CAAC;AAEF,eAAO,MAAM,aAAa,kHA2CzB,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":""}