@prototyp/skeletor 1.0.2

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 (216) hide show
  1. package/.eslintrc.json +19 -0
  2. package/.github/CODEOWNERS +2 -0
  3. package/.gitignore +5 -0
  4. package/README.md +418 -0
  5. package/lib/module/components/Block/Block.js +71 -0
  6. package/lib/module/components/Block/Block.js.map +1 -0
  7. package/lib/module/components/Block/index.js +2 -0
  8. package/lib/module/components/Block/index.js.map +1 -0
  9. package/lib/module/components/InputFocusScrollView/InputFocusScrollView.js +93 -0
  10. package/lib/module/components/InputFocusScrollView/InputFocusScrollView.js.map +1 -0
  11. package/lib/module/components/InputFocusScrollView/index.js +2 -0
  12. package/lib/module/components/InputFocusScrollView/index.js.map +1 -0
  13. package/lib/module/components/Screen/Screen.js +55 -0
  14. package/lib/module/components/Screen/Screen.js.map +1 -0
  15. package/lib/module/components/Screen/index.js +2 -0
  16. package/lib/module/components/Screen/index.js.map +1 -0
  17. package/lib/module/components/SkeletorProvider/SkeletorContext.js +9 -0
  18. package/lib/module/components/SkeletorProvider/SkeletorContext.js.map +1 -0
  19. package/lib/module/components/SkeletorProvider/SkeletorProvider.js +17 -0
  20. package/lib/module/components/SkeletorProvider/SkeletorProvider.js.map +1 -0
  21. package/lib/module/components/SkeletorProvider/index.js +3 -0
  22. package/lib/module/components/SkeletorProvider/index.js.map +1 -0
  23. package/lib/module/components/Text/Text.js +64 -0
  24. package/lib/module/components/Text/Text.js.map +1 -0
  25. package/lib/module/components/Text/index.js +2 -0
  26. package/lib/module/components/Text/index.js.map +1 -0
  27. package/lib/module/components/index.js +6 -0
  28. package/lib/module/components/index.js.map +1 -0
  29. package/lib/module/hooks/index.js +7 -0
  30. package/lib/module/hooks/index.js.map +1 -0
  31. package/lib/module/hooks/useAndroidBackHandler.js +24 -0
  32. package/lib/module/hooks/useAndroidBackHandler.js.map +1 -0
  33. package/lib/module/hooks/useAnimation.js +33 -0
  34. package/lib/module/hooks/useAnimation.js.map +1 -0
  35. package/lib/module/hooks/useAnimationTimeline.js +97 -0
  36. package/lib/module/hooks/useAnimationTimeline.js.map +1 -0
  37. package/lib/module/hooks/useAppState.js +21 -0
  38. package/lib/module/hooks/useAppState.js.map +1 -0
  39. package/lib/module/hooks/useForm.js +159 -0
  40. package/lib/module/hooks/useForm.js.map +1 -0
  41. package/lib/module/hooks/useSkeletor.js +6 -0
  42. package/lib/module/hooks/useSkeletor.js.map +1 -0
  43. package/lib/module/index.js +5 -0
  44. package/lib/module/index.js.map +1 -0
  45. package/lib/module/models/Alignment.js +2 -0
  46. package/lib/module/models/Alignment.js.map +1 -0
  47. package/lib/module/models/Border.js +2 -0
  48. package/lib/module/models/Border.js.map +1 -0
  49. package/lib/module/models/Size.js +2 -0
  50. package/lib/module/models/Size.js.map +1 -0
  51. package/lib/module/models/SkeletorConfig.js +2 -0
  52. package/lib/module/models/SkeletorConfig.js.map +1 -0
  53. package/lib/module/models/Spacing.js +2 -0
  54. package/lib/module/models/Spacing.js.map +1 -0
  55. package/lib/module/models/index.js +6 -0
  56. package/lib/module/models/index.js.map +1 -0
  57. package/lib/module/types/Font.d.js +2 -0
  58. package/lib/module/types/Font.d.js.map +1 -0
  59. package/lib/module/utils/extractAlignmentProperties.js +10 -0
  60. package/lib/module/utils/extractAlignmentProperties.js.map +1 -0
  61. package/lib/module/utils/extractSizeProperties.js +12 -0
  62. package/lib/module/utils/extractSizeProperties.js.map +1 -0
  63. package/lib/module/utils/index.js +3 -0
  64. package/lib/module/utils/index.js.map +1 -0
  65. package/lib/typescript/lib/module/components/Block/Block.d.ts +4 -0
  66. package/lib/typescript/lib/module/components/Block/Block.d.ts.map +1 -0
  67. package/lib/typescript/lib/module/components/Block/index.d.ts +2 -0
  68. package/lib/typescript/lib/module/components/Block/index.d.ts.map +1 -0
  69. package/lib/typescript/lib/module/components/InputFocusScrollView/InputFocusScrollView.d.ts +4 -0
  70. package/lib/typescript/lib/module/components/InputFocusScrollView/InputFocusScrollView.d.ts.map +1 -0
  71. package/lib/typescript/lib/module/components/InputFocusScrollView/index.d.ts +2 -0
  72. package/lib/typescript/lib/module/components/InputFocusScrollView/index.d.ts.map +1 -0
  73. package/lib/typescript/lib/module/components/Screen/Screen.d.ts +5 -0
  74. package/lib/typescript/lib/module/components/Screen/Screen.d.ts.map +1 -0
  75. package/lib/typescript/lib/module/components/Screen/index.d.ts +2 -0
  76. package/lib/typescript/lib/module/components/Screen/index.d.ts.map +1 -0
  77. package/lib/typescript/lib/module/components/SkeletorProvider/SkeletorContext.d.ts +14 -0
  78. package/lib/typescript/lib/module/components/SkeletorProvider/SkeletorContext.d.ts.map +1 -0
  79. package/lib/typescript/lib/module/components/SkeletorProvider/SkeletorProvider.d.ts +8 -0
  80. package/lib/typescript/lib/module/components/SkeletorProvider/SkeletorProvider.d.ts.map +1 -0
  81. package/lib/typescript/lib/module/components/SkeletorProvider/index.d.ts +3 -0
  82. package/lib/typescript/lib/module/components/SkeletorProvider/index.d.ts.map +1 -0
  83. package/lib/typescript/lib/module/components/Text/Text.d.ts +4 -0
  84. package/lib/typescript/lib/module/components/Text/Text.d.ts.map +1 -0
  85. package/lib/typescript/lib/module/components/Text/index.d.ts +2 -0
  86. package/lib/typescript/lib/module/components/Text/index.d.ts.map +1 -0
  87. package/lib/typescript/lib/module/components/index.d.ts +6 -0
  88. package/lib/typescript/lib/module/components/index.d.ts.map +1 -0
  89. package/lib/typescript/lib/module/hooks/index.d.ts +7 -0
  90. package/lib/typescript/lib/module/hooks/index.d.ts.map +1 -0
  91. package/lib/typescript/lib/module/hooks/useAndroidBackHandler.d.ts +2 -0
  92. package/lib/typescript/lib/module/hooks/useAndroidBackHandler.d.ts.map +1 -0
  93. package/lib/typescript/lib/module/hooks/useAnimation.d.ts +9 -0
  94. package/lib/typescript/lib/module/hooks/useAnimation.d.ts.map +1 -0
  95. package/lib/typescript/lib/module/hooks/useAnimationTimeline.d.ts +10 -0
  96. package/lib/typescript/lib/module/hooks/useAnimationTimeline.d.ts.map +1 -0
  97. package/lib/typescript/lib/module/hooks/useAppState.d.ts +2 -0
  98. package/lib/typescript/lib/module/hooks/useAppState.d.ts.map +1 -0
  99. package/lib/typescript/lib/module/hooks/useForm.d.ts +33 -0
  100. package/lib/typescript/lib/module/hooks/useForm.d.ts.map +1 -0
  101. package/lib/typescript/lib/module/hooks/useSkeletor.d.ts +7 -0
  102. package/lib/typescript/lib/module/hooks/useSkeletor.d.ts.map +1 -0
  103. package/lib/typescript/lib/module/index.d.ts +5 -0
  104. package/lib/typescript/lib/module/index.d.ts.map +1 -0
  105. package/lib/typescript/lib/module/models/Alignment.d.ts +2 -0
  106. package/lib/typescript/lib/module/models/Alignment.d.ts.map +1 -0
  107. package/lib/typescript/lib/module/models/Border.d.ts +1 -0
  108. package/lib/typescript/lib/module/models/Border.d.ts.map +1 -0
  109. package/lib/typescript/lib/module/models/Size.d.ts +1 -0
  110. package/lib/typescript/lib/module/models/Size.d.ts.map +1 -0
  111. package/lib/typescript/lib/module/models/SkeletorConfig.d.ts +1 -0
  112. package/lib/typescript/lib/module/models/SkeletorConfig.d.ts.map +1 -0
  113. package/lib/typescript/lib/module/models/Spacing.d.ts +1 -0
  114. package/lib/typescript/lib/module/models/Spacing.d.ts.map +1 -0
  115. package/lib/typescript/lib/module/models/index.d.ts +2 -0
  116. package/lib/typescript/lib/module/models/index.d.ts.map +1 -0
  117. package/lib/typescript/lib/module/types/Font.d.d.ts +1 -0
  118. package/lib/typescript/lib/module/types/Font.d.d.ts.map +1 -0
  119. package/lib/typescript/lib/module/utils/extractAlignmentProperties.d.ts +8 -0
  120. package/lib/typescript/lib/module/utils/extractAlignmentProperties.d.ts.map +1 -0
  121. package/lib/typescript/lib/module/utils/extractSizeProperties.d.ts +10 -0
  122. package/lib/typescript/lib/module/utils/extractSizeProperties.d.ts.map +1 -0
  123. package/lib/typescript/lib/module/utils/index.d.ts +3 -0
  124. package/lib/typescript/lib/module/utils/index.d.ts.map +1 -0
  125. package/lib/typescript/src/components/Block/Block.d.ts +23 -0
  126. package/lib/typescript/src/components/Block/Block.d.ts.map +1 -0
  127. package/lib/typescript/src/components/Block/index.d.ts +2 -0
  128. package/lib/typescript/src/components/Block/index.d.ts.map +1 -0
  129. package/lib/typescript/src/components/InputFocusScrollView/InputFocusScrollView.d.ts +18 -0
  130. package/lib/typescript/src/components/InputFocusScrollView/InputFocusScrollView.d.ts.map +1 -0
  131. package/lib/typescript/src/components/InputFocusScrollView/index.d.ts +2 -0
  132. package/lib/typescript/src/components/InputFocusScrollView/index.d.ts.map +1 -0
  133. package/lib/typescript/src/components/Screen/Screen.d.ts +16 -0
  134. package/lib/typescript/src/components/Screen/Screen.d.ts.map +1 -0
  135. package/lib/typescript/src/components/Screen/index.d.ts +2 -0
  136. package/lib/typescript/src/components/Screen/index.d.ts.map +1 -0
  137. package/lib/typescript/src/components/SkeletorProvider/SkeletorContext.d.ts +5 -0
  138. package/lib/typescript/src/components/SkeletorProvider/SkeletorContext.d.ts.map +1 -0
  139. package/lib/typescript/src/components/SkeletorProvider/SkeletorProvider.d.ts +8 -0
  140. package/lib/typescript/src/components/SkeletorProvider/SkeletorProvider.d.ts.map +1 -0
  141. package/lib/typescript/src/components/SkeletorProvider/index.d.ts +3 -0
  142. package/lib/typescript/src/components/SkeletorProvider/index.d.ts.map +1 -0
  143. package/lib/typescript/src/components/Text/Text.d.ts +21 -0
  144. package/lib/typescript/src/components/Text/Text.d.ts.map +1 -0
  145. package/lib/typescript/src/components/Text/index.d.ts +2 -0
  146. package/lib/typescript/src/components/Text/index.d.ts.map +1 -0
  147. package/lib/typescript/src/components/index.d.ts +6 -0
  148. package/lib/typescript/src/components/index.d.ts.map +1 -0
  149. package/lib/typescript/src/hooks/index.d.ts +7 -0
  150. package/lib/typescript/src/hooks/index.d.ts.map +1 -0
  151. package/lib/typescript/src/hooks/useAndroidBackHandler.d.ts +16 -0
  152. package/lib/typescript/src/hooks/useAndroidBackHandler.d.ts.map +1 -0
  153. package/lib/typescript/src/hooks/useAnimation.d.ts +20 -0
  154. package/lib/typescript/src/hooks/useAnimation.d.ts.map +1 -0
  155. package/lib/typescript/src/hooks/useAnimationTimeline.d.ts +30 -0
  156. package/lib/typescript/src/hooks/useAnimationTimeline.d.ts.map +1 -0
  157. package/lib/typescript/src/hooks/useAppState.d.ts +7 -0
  158. package/lib/typescript/src/hooks/useAppState.d.ts.map +1 -0
  159. package/lib/typescript/src/hooks/useForm.d.ts +52 -0
  160. package/lib/typescript/src/hooks/useForm.d.ts.map +1 -0
  161. package/lib/typescript/src/hooks/useSkeletor.d.ts +3 -0
  162. package/lib/typescript/src/hooks/useSkeletor.d.ts.map +1 -0
  163. package/lib/typescript/src/index.d.ts +5 -0
  164. package/lib/typescript/src/index.d.ts.map +1 -0
  165. package/lib/typescript/src/models/Alignment.d.ts +9 -0
  166. package/lib/typescript/src/models/Alignment.d.ts.map +1 -0
  167. package/lib/typescript/src/models/Border.d.ts +16 -0
  168. package/lib/typescript/src/models/Border.d.ts.map +1 -0
  169. package/lib/typescript/src/models/Size.d.ts +10 -0
  170. package/lib/typescript/src/models/Size.d.ts.map +1 -0
  171. package/lib/typescript/src/models/SkeletorConfig.d.ts +7 -0
  172. package/lib/typescript/src/models/SkeletorConfig.d.ts.map +1 -0
  173. package/lib/typescript/src/models/Spacing.d.ts +21 -0
  174. package/lib/typescript/src/models/Spacing.d.ts.map +1 -0
  175. package/lib/typescript/src/models/index.d.ts +6 -0
  176. package/lib/typescript/src/models/index.d.ts.map +1 -0
  177. package/lib/typescript/src/utils/extractAlignmentProperties.d.ts +3 -0
  178. package/lib/typescript/src/utils/extractAlignmentProperties.d.ts.map +1 -0
  179. package/lib/typescript/src/utils/extractSizeProperties.d.ts +3 -0
  180. package/lib/typescript/src/utils/extractSizeProperties.d.ts.map +1 -0
  181. package/lib/typescript/src/utils/index.d.ts +3 -0
  182. package/lib/typescript/src/utils/index.d.ts.map +1 -0
  183. package/package.json +63 -0
  184. package/prototyp-skeletor-v1.0.0.tgz +0 -0
  185. package/src/components/Block/Block.tsx +106 -0
  186. package/src/components/Block/index.ts +1 -0
  187. package/src/components/InputFocusScrollView/InputFocusScrollView.tsx +120 -0
  188. package/src/components/InputFocusScrollView/index.ts +1 -0
  189. package/src/components/Screen/Screen.tsx +91 -0
  190. package/src/components/Screen/index.ts +1 -0
  191. package/src/components/SkeletorProvider/SkeletorContext.ts +12 -0
  192. package/src/components/SkeletorProvider/SkeletorProvider.tsx +18 -0
  193. package/src/components/SkeletorProvider/index.ts +2 -0
  194. package/src/components/Text/Text.tsx +99 -0
  195. package/src/components/Text/index.ts +1 -0
  196. package/src/components/index.ts +5 -0
  197. package/src/hooks/index.ts +6 -0
  198. package/src/hooks/useAndroidBackHandler.ts +45 -0
  199. package/src/hooks/useAnimation.ts +62 -0
  200. package/src/hooks/useAnimationTimeline.ts +139 -0
  201. package/src/hooks/useAppState.ts +26 -0
  202. package/src/hooks/useForm.ts +190 -0
  203. package/src/hooks/useSkeletor.ts +7 -0
  204. package/src/index.ts +4 -0
  205. package/src/models/Alignment.ts +9 -0
  206. package/src/models/Border.ts +15 -0
  207. package/src/models/Size.ts +9 -0
  208. package/src/models/SkeletorConfig.ts +6 -0
  209. package/src/models/Spacing.ts +20 -0
  210. package/src/models/index.ts +5 -0
  211. package/src/types/Font.d.ts +1 -0
  212. package/src/utils/extractAlignmentProperties.ts +13 -0
  213. package/src/utils/extractSizeProperties.ts +13 -0
  214. package/src/utils/index.ts +2 -0
  215. package/tsconfig.json +16 -0
  216. package/yarn.lock +6080 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["SkeletorConfig.ts"],"mappings":""}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=Spacing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["Spacing.ts"],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export * from "./Alignment";
2
+ export * from "./Border";
3
+ export * from "./Size";
4
+ export * from "./SkeletorConfig";
5
+ export * from "./Spacing";
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,cAAc,QAAQ;AACtB,cAAc,kBAAkB;AAChC,cAAc,WAAW"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=Font.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["Font.d.ts"],"mappings":""}
@@ -0,0 +1,10 @@
1
+ export function extractAlignmentProperties(props) {
2
+ return {
3
+ align: props.align,
4
+ alignSelf: props.alignSelf,
5
+ justify: props.justify,
6
+ flexDirection: props.flexDirection,
7
+ flexWrap: props.flexWrap
8
+ };
9
+ }
10
+ //# sourceMappingURL=extractAlignmentProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["extractAlignmentProperties","props","align","alignSelf","justify","flexDirection","flexWrap"],"sourceRoot":"../../src","sources":["extractAlignmentProperties.ts"],"mappings":"AAEA,OAAO,SAASA,0BAA0B,CACxCC,KAAY,EACD;EACX,OAAO;IACLC,KAAK,EAAED,KAAK,CAACC,KAAK;IAClBC,SAAS,EAAEF,KAAK,CAACE,SAAS;IAC1BC,OAAO,EAAEH,KAAK,CAACG,OAAO;IACtBC,aAAa,EAAEJ,KAAK,CAACI,aAAa;IAClCC,QAAQ,EAAEL,KAAK,CAACK;EAClB,CAAC;AACH"}
@@ -0,0 +1,12 @@
1
+ export function extractSizeProperties(props) {
2
+ return {
3
+ flex: props.flex,
4
+ height: props.height,
5
+ width: props.width,
6
+ maxHeight: props.maxHeight,
7
+ maxWidth: props.maxWidth,
8
+ minHeight: props.minHeight,
9
+ minWidth: props.minWidth
10
+ };
11
+ }
12
+ //# sourceMappingURL=extractSizeProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["extractSizeProperties","props","flex","height","width","maxHeight","maxWidth","minHeight","minWidth"],"sourceRoot":"../../src","sources":["extractSizeProperties.ts"],"mappings":"AAEA,OAAO,SAASA,qBAAqB,CAAqBC,KAAY,EAAQ;EAC5E,OAAO;IACLC,IAAI,EAAED,KAAK,CAACC,IAAI;IAChBC,MAAM,EAAEF,KAAK,CAACE,MAAM;IACpBC,KAAK,EAAEH,KAAK,CAACG,KAAK;IAClBC,SAAS,EAAEJ,KAAK,CAACI,SAAS;IAC1BC,QAAQ,EAAEL,KAAK,CAACK,QAAQ;IACxBC,SAAS,EAAEN,KAAK,CAACM,SAAS;IAC1BC,QAAQ,EAAEP,KAAK,CAACO;EAClB,CAAC;AACH"}
@@ -0,0 +1,3 @@
1
+ export * from "./extractAlignmentProperties";
2
+ export * from "./extractSizeProperties";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,cAAc,8BAA8B;AAC5C,cAAc,yBAAyB"}
@@ -0,0 +1,4 @@
1
+ export function Block(_ref2: any): React.FunctionComponentElement<any> | React.CElement<import("react-native").ScrollViewProps, ScrollView>;
2
+ import React from "react";
3
+ import { ScrollView } from "react-native";
4
+ //# sourceMappingURL=Block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../../../module/components/Block/Block.js"],"names":[],"mappings":"AAuCO,4IA8BN"}
@@ -0,0 +1,2 @@
1
+ export * from "./Block";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/components/Block/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export function InputFocusScrollView(_ref: any): React.CElement<import("react-native").ScrollViewProps, ScrollView>;
2
+ import { ScrollView } from "react-native";
3
+ import React from "react";
4
+ //# sourceMappingURL=InputFocusScrollView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputFocusScrollView.d.ts","sourceRoot":"","sources":["../../../../../module/components/InputFocusScrollView/InputFocusScrollView.js"],"names":[],"mappings":"AAUO,oHAqEN"}
@@ -0,0 +1,2 @@
1
+ export * from "./InputFocusScrollView";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/components/InputFocusScrollView/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export function Screen(_ref: any): React.FunctionComponentElement<{
2
+ children?: React.ReactNode;
3
+ }>;
4
+ import React from "react";
5
+ //# sourceMappingURL=Screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../../../module/components/Screen/Screen.js"],"names":[],"mappings":"AAKO;;GAyCN"}
@@ -0,0 +1,2 @@
1
+ export * from "./Screen";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/components/Screen/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export namespace SkeletorDefaults {
2
+ const defaultFont: undefined;
3
+ const defaultFontSize: number[];
4
+ const defaultStatusBarType: string;
5
+ const defaultTextColor: string;
6
+ }
7
+ export const SkeletorContext: React.Context<{
8
+ defaultFont: undefined;
9
+ defaultFontSize: number[];
10
+ defaultStatusBarType: string;
11
+ defaultTextColor: string;
12
+ }>;
13
+ import React from "react";
14
+ //# sourceMappingURL=SkeletorContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkeletorContext.d.ts","sourceRoot":"","sources":["../../../../../module/components/SkeletorProvider/SkeletorContext.js"],"names":[],"mappings":";;;;;;AAOA;;;;;GAAkF"}
@@ -0,0 +1,8 @@
1
+ export function SkeletorProvider(_ref: any): React.FunctionComponentElement<React.ProviderProps<{
2
+ defaultFont: undefined;
3
+ defaultFontSize: number[];
4
+ defaultStatusBarType: string;
5
+ defaultTextColor: string;
6
+ }>>;
7
+ import React from "react";
8
+ //# sourceMappingURL=SkeletorProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkeletorProvider.d.ts","sourceRoot":"","sources":["../../../../../module/components/SkeletorProvider/SkeletorProvider.js"],"names":[],"mappings":"AAIO;;;;;IAWN"}
@@ -0,0 +1,3 @@
1
+ export * from "./SkeletorProvider";
2
+ export * from "./SkeletorContext";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/components/SkeletorProvider/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export function Text(_ref: any): React.CElement<import("react-native").TextProps, RNText>;
2
+ import { Text as RNText } from "react-native";
3
+ import React from "react";
4
+ //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../module/components/Text/Text.js"],"names":[],"mappings":"AAOO,0FAuDN"}
@@ -0,0 +1,2 @@
1
+ export * from "./Text";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/components/Text/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export * from "./Text";
2
+ export * from "./Screen";
3
+ export * from "./Block";
4
+ export * from "./SkeletorProvider";
5
+ export * from "./InputFocusScrollView";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/components/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export * from "./useForm";
2
+ export * from "./useAnimation";
3
+ export * from "./useAnimationTimeline";
4
+ export * from "./useAppState";
5
+ export * from "./useSkeletor";
6
+ export * from "./useAndroidBackHandler";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/hooks/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export function useAndroidBackHandler(props: any): void;
2
+ //# sourceMappingURL=useAndroidBackHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAndroidBackHandler.d.ts","sourceRoot":"","sources":["../../../../module/hooks/useAndroidBackHandler.js"],"names":[],"mappings":"AAKA,wDAiBC"}
@@ -0,0 +1,9 @@
1
+ /** Any is a hotfix, requires more investigation */
2
+ export function useAnimation(styles: any, configuration: any): {
3
+ values: Animated.Value[];
4
+ animations: {};
5
+ configuration: any;
6
+ definitions: any;
7
+ };
8
+ import { Animated } from "react-native";
9
+ //# sourceMappingURL=useAnimation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAnimation.d.ts","sourceRoot":"","sources":["../../../../module/hooks/useAnimation.js"],"names":[],"mappings":"AAGA,mDAAmD;AAEnD;;;;;EA0BC"}
@@ -0,0 +1,10 @@
1
+ /** Used to layout animated values on a timeline and handle starting/reversing the animations.
2
+ * Supports all Animated types (delay, stagger, parallel, sequence).
3
+ * @example
4
+ * useAnimationTimeline({
5
+ stagger: { elements: [ring1, ring2, ring3], stagger: 900, start: show },
6
+ sequence: { elements: [button], start: Boolean(show && !disabled) },
7
+ });
8
+ */
9
+ export function useAnimationTimeline(config: any): void;
10
+ //# sourceMappingURL=useAnimationTimeline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAnimationTimeline.d.ts","sourceRoot":"","sources":["../../../../module/hooks/useAnimationTimeline.js"],"names":[],"mappings":"AAEA;;;;;;;EAOE;AACF,wDAqFC"}
@@ -0,0 +1,2 @@
1
+ export function useAppState(_ref: any): void;
2
+ //# sourceMappingURL=useAppState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAppState.d.ts","sourceRoot":"","sources":["../../../../module/hooks/useAppState.js"],"names":[],"mappings":"AAEA,6CAiBC"}
@@ -0,0 +1,33 @@
1
+ /** One-fits-all solution to manage state changes, field validation and optional entries within a form.
2
+ * @example <caption>Simple use case:</caption>
3
+ * const { state, validation, update } = useForm({ email: '', password: '', });
4
+ *
5
+ *
6
+ * @example <caption>For more complex form states (ie one field can be of multiple types), you should pass the form's type:</caption>
7
+ * const { state, validation, update } = useForm<{ numericOrUndefined: number | undefined }>({ numericOrUndefined: undefined }, { rules: { numericOrUndefined: (value: number | undefined): boolean | undefined => ... }});
8
+ *
9
+ */
10
+ export function useForm(values: any, config: any): {
11
+ state: any;
12
+ validation: {};
13
+ update: (key: any, value: any, shouldValidate: any) => void;
14
+ validate: (key: any) => void;
15
+ validateForm: () => boolean;
16
+ isFormValid: () => boolean;
17
+ clearForm: () => void;
18
+ resetState: () => void;
19
+ resetValidation: () => void;
20
+ resetInitialValues: () => void;
21
+ };
22
+ /** Helper hook to validate form state outside of the scope of useForm. */
23
+ export function useFormUtils(config: any): {
24
+ doesValueExist: (value: any) => boolean;
25
+ validateByRule: (key: any, value: any, state: any) => any;
26
+ isOptional: (key: any) => any;
27
+ fieldValidation: (key: any, value: any, state: any) => any;
28
+ stateValidation: (state: any) => {
29
+ valid: boolean;
30
+ validation: {};
31
+ };
32
+ };
33
+ //# sourceMappingURL=useForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useForm.d.ts","sourceRoot":"","sources":["../../../../module/hooks/useForm.js"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AACH;;;;;;;;;;;EA+FC;AAED,0EAA0E;AAC1E;;;;;;;;;EAiDC"}
@@ -0,0 +1,7 @@
1
+ export function useSkeletor(): {
2
+ defaultFont: undefined;
3
+ defaultFontSize: number[];
4
+ defaultStatusBarType: string;
5
+ defaultTextColor: string;
6
+ };
7
+ //# sourceMappingURL=useSkeletor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSkeletor.d.ts","sourceRoot":"","sources":["../../../../module/hooks/useSkeletor.js"],"names":[],"mappings":"AAEA;;;;;EAEC"}
@@ -0,0 +1,5 @@
1
+ export * from "./components";
2
+ export * from "./hooks";
3
+ export * from "./models";
4
+ export * from "./utils";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../module/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Alignment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alignment.d.ts","sourceRoot":"","sources":["../../../../module/models/Alignment.js"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=Border.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Border.d.ts","sourceRoot":"","sources":["../../../../module/models/Border.js"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=Size.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Size.d.ts","sourceRoot":"","sources":["../../../../module/models/Size.js"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=SkeletorConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkeletorConfig.d.ts","sourceRoot":"","sources":["../../../../module/models/SkeletorConfig.js"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=Spacing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spacing.d.ts","sourceRoot":"","sources":["../../../../module/models/Spacing.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./Alignment";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/models/index.js"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=Font.d.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Font.d.d.ts","sourceRoot":"","sources":["../../../../module/types/Font.d.js"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export function extractAlignmentProperties(props: any): {
2
+ align: any;
3
+ alignSelf: any;
4
+ justify: any;
5
+ flexDirection: any;
6
+ flexWrap: any;
7
+ };
8
+ //# sourceMappingURL=extractAlignmentProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extractAlignmentProperties.d.ts","sourceRoot":"","sources":["../../../../module/utils/extractAlignmentProperties.js"],"names":[],"mappings":"AAAA;;;;;;EAQC"}
@@ -0,0 +1,10 @@
1
+ export function extractSizeProperties(props: any): {
2
+ flex: any;
3
+ height: any;
4
+ width: any;
5
+ maxHeight: any;
6
+ maxWidth: any;
7
+ minHeight: any;
8
+ minWidth: any;
9
+ };
10
+ //# sourceMappingURL=extractSizeProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extractSizeProperties.d.ts","sourceRoot":"","sources":["../../../../module/utils/extractSizeProperties.js"],"names":[],"mappings":"AAAA;;;;;;;;EAUC"}
@@ -0,0 +1,3 @@
1
+ export * from "./extractAlignmentProperties";
2
+ export * from "./extractSizeProperties";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/utils/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ import React, { PropsWithChildren } from "react";
2
+ import { StyleProp, ViewProps, ViewStyle } from "react-native";
3
+ import { Alignment, Border, Size, Spacing } from "../../models";
4
+ interface SharedProps extends ViewProps {
5
+ background?: string;
6
+ overflow?: ViewStyle["overflow"];
7
+ }
8
+ interface BlockScrollViewProps extends SharedProps {
9
+ scrollable: true;
10
+ horizontal?: boolean;
11
+ showsVerticalScrollIndicator?: boolean;
12
+ showsHorizontalScrollIndicator?: boolean;
13
+ bounces?: boolean;
14
+ style?: StyleProp<ViewStyle>;
15
+ }
16
+ export interface BlockViewProps extends SharedProps {
17
+ scrollable?: false | undefined;
18
+ }
19
+ declare type BaseProps = Alignment & Spacing & Size & Border;
20
+ export declare type BlockProps = (BlockViewProps | BlockScrollViewProps) & BaseProps;
21
+ export declare const Block: React.FC<PropsWithChildren<BlockProps>>;
22
+ export {};
23
+ //# sourceMappingURL=Block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../../../src/components/Block/Block.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAC1D,OAAO,EAEL,SAAS,EAGT,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGhE,UAAU,WAAY,SAAQ,SAAS;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;CAClC;AAED,UAAU,oBAAqB,SAAQ,WAAW;IAChD,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,cAAe,SAAQ,WAAW;IACjD,UAAU,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;CAChC;AA4CD,aAAK,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,CAAC;AACrD,oBAAY,UAAU,GAAG,CAAC,cAAc,GAAG,oBAAoB,CAAC,GAAG,SAAS,CAAC;AAE7E,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,UAAU,CAAC,CA8BzD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./Block";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Block/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,18 @@
1
+ import React, { PropsWithChildren } from "react";
2
+ import { NativeSyntheticEvent, ScrollViewProps, TextInputFocusEventData } from "react-native";
3
+ import { Spacing } from "../../models";
4
+ export interface InputFocusScrollViewProps extends Omit<ScrollViewProps, "children">, Spacing {
5
+ /** Percentage of screen to add to element position. Values between 0 and 1. Use this if you want to position the input focus somewhere other than the top of the screen. Defaults to 0.3 */
6
+ focusPositionOffset?: number;
7
+ height?: "full" | "auto";
8
+ children: (onInputFocus: (e: NativeSyntheticEvent<TextInputFocusEventData>) => void) => React.ReactNode;
9
+ }
10
+ /**
11
+ * This scroll view will automatically scroll to an active input field rendered within it, provided you attach the onInputFocus callback to the input onFocus prop.
12
+ *
13
+ * The return value is a lambda component, returning a callback which you attach to input fields rendered within it.
14
+ * @example <InputFocusScrollView>{(onInputFocus) => <TextInput onFocus={onInputFocus} ... />}</InputFocusScrollView>
15
+ * NOTE: This works on iOS only, Android does this by default with @param android:windowSoftInputMode
16
+ */
17
+ export declare const InputFocusScrollView: React.FC<PropsWithChildren<InputFocusScrollViewProps>>;
18
+ //# sourceMappingURL=InputFocusScrollView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputFocusScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/InputFocusScrollView/InputFocusScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAoB,MAAM,OAAO,CAAC;AACnE,OAAO,EAGL,oBAAoB,EAEpB,eAAe,EAEf,uBAAuB,EAExB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,WAAW,yBACf,SAAQ,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,EACvC,OAAO;IACT,4LAA4L;IAC5L,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,QAAQ,EAAE,CACR,YAAY,EAAE,CAAC,CAAC,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,KAAK,IAAI,KACrE,KAAK,CAAC,SAAS,CAAC;CACtB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CACzC,iBAAiB,CAAC,yBAAyB,CAAC,CA8E7C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./InputFocusScrollView";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/InputFocusScrollView/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React, { PropsWithChildren } from "react";
2
+ import { ViewProps } from "react-native";
3
+ declare type OwnProps = {
4
+ /** Pass a specific background view OR just a background color value. Custom components should be 100% height and width. */
5
+ background?: JSX.Element | string;
6
+ hideTopSafeArea?: boolean;
7
+ hideBottomSafeArea?: boolean;
8
+ bottomSafeAreaColor?: string;
9
+ topSafeAreaColor?: string;
10
+ statusBarType?: "default" | "light-content" | "dark-content";
11
+ isLandscape?: boolean;
12
+ };
13
+ export declare type ScreenProps = OwnProps & ViewProps;
14
+ export declare const Screen: React.FC<PropsWithChildren<ScreenProps>>;
15
+ export {};
16
+ //# sourceMappingURL=Screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../../../src/components/Screen/Screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAGL,SAAS,EAKV,MAAM,cAAc,CAAC;AAItB,aAAK,QAAQ,GAAG;IACd,2HAA2H;IAC3H,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,cAAc,CAAC;IAC7D,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,oBAAY,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/C,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAwD3D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./Screen";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Screen/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { SkeletorConfig } from "../../models";
3
+ export declare const SkeletorDefaults: SkeletorConfig;
4
+ export declare const SkeletorContext: React.Context<SkeletorConfig>;
5
+ //# sourceMappingURL=SkeletorContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkeletorContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/SkeletorProvider/SkeletorContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,gBAAgB,EAAE,cAK9B,CAAC;AAEF,eAAO,MAAM,eAAe,+BAC2B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React, { PropsWithChildren } from "react";
2
+ import { SkeletorConfig } from "../../models";
3
+ declare type Props = Partial<SkeletorConfig>;
4
+ /** Create a Font.d.ts type in your typescript types directory and define fonts as follows:
5
+ * @example type Font = "Helvetica" | "Montserrat" ... */
6
+ export declare const SkeletorProvider: React.FC<PropsWithChildren<Props>>;
7
+ export {};
8
+ //# sourceMappingURL=SkeletorProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkeletorProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/SkeletorProvider/SkeletorProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,aAAK,KAAK,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAErC;0DAC0D;AAC1D,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAS/D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./SkeletorProvider";
2
+ export * from "./SkeletorContext";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SkeletorProvider/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import React, { PropsWithChildren } from "react";
2
+ import { TextProps as RNTextProps, TextStyle } from "react-native";
3
+ import { Size, Spacing } from "../../models";
4
+ interface OwnProps extends RNTextProps {
5
+ /** Create a Font.d.ts type in your typescript types directory and define fonts as follows:
6
+ * @example type Font = "Helvetica" | "Montserrat" ... */
7
+ font?: Font;
8
+ /** Either define [fontSize, lineHeight] or just one size applied to both fontSize and lineHeight */
9
+ size?: [number, number] | number;
10
+ textTransform?: TextStyle["textTransform"];
11
+ letterSpacing?: TextStyle["letterSpacing"];
12
+ color?: string;
13
+ textAlign?: TextStyle["textAlign"];
14
+ opacity?: TextStyle["opacity"];
15
+ }
16
+ export declare type TextProps = OwnProps & Spacing & Size;
17
+ /** Create a Font.d.ts type in your typescript types directory and define fonts as follows:
18
+ * @example type Font = "Helvetica" | "Montserrat" ... */
19
+ export declare const Text: React.FC<PropsWithChildren<TextProps>>;
20
+ export {};
21
+ //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAC1D,OAAO,EAGL,SAAS,IAAI,WAAW,EACxB,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAI7C,UAAU,QAAS,SAAQ,WAAW;IACpC;8DAC0D;IAC1D,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,oGAAoG;IACpG,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC;IACjC,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,oBAAY,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,IAAI,CAAC;AAElD;0DAC0D;AAC1D,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAsEvD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./Text";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Text/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from "./Text";
2
+ export * from "./Screen";
3
+ export * from "./Block";
4
+ export * from "./SkeletorProvider";
5
+ export * from "./InputFocusScrollView";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}