react-native-unistyles 3.5.2 → 3.6.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 (317) hide show
  1. package/README.md +3 -0
  2. package/android/src/main/java/com/unistyles/NativePlatform+android.kt +44 -7
  3. package/android/src/main/java/com/unistyles/NativePlatform+insets.kt +1 -1
  4. package/cxx/converters/BackgroundImageConverter.cpp +198 -11
  5. package/cxx/converters/BackgroundImageConverter.h +1 -0
  6. package/cxx/core/HostUnistyle.cpp +6 -0
  7. package/cxx/core/UnistylesRegistry.cpp +5 -5
  8. package/cxx/core/UnistylesRegistry.h +3 -3
  9. package/cxx/hybridObjects/HybridShadowRegistry.cpp +53 -14
  10. package/cxx/hybridObjects/HybridShadowRegistry.h +3 -2
  11. package/cxx/hybridObjects/HybridStyleSheet.cpp +3 -3
  12. package/cxx/parser/Parser.cpp +47 -9
  13. package/cxx/shadowTree/ShadowTreeManager.cpp +5 -5
  14. package/cxx/shadowTree/ShadowTreeManager.h +1 -1
  15. package/ios/NativePlatform+ios.swift +28 -15
  16. package/ios/NativePlatformListener+ios.swift +9 -0
  17. package/lib/commonjs/components/native/deep/ActivityIndicator.js +19 -0
  18. package/lib/commonjs/components/native/deep/ActivityIndicator.js.map +1 -0
  19. package/lib/commonjs/components/native/deep/Animated.js +19 -0
  20. package/lib/commonjs/components/native/deep/Animated.js.map +1 -0
  21. package/lib/commonjs/components/native/deep/FlatList.js +19 -0
  22. package/lib/commonjs/components/native/deep/FlatList.js.map +1 -0
  23. package/lib/commonjs/components/native/deep/Image.js +19 -0
  24. package/lib/commonjs/components/native/deep/Image.js.map +1 -0
  25. package/lib/commonjs/components/native/deep/ImageBackground.js +19 -0
  26. package/lib/commonjs/components/native/deep/ImageBackground.js.map +1 -0
  27. package/lib/commonjs/components/native/deep/KeyboardAvoidingView.js +19 -0
  28. package/lib/commonjs/components/native/deep/KeyboardAvoidingView.js.map +1 -0
  29. package/lib/commonjs/components/native/deep/Pressable.js +19 -0
  30. package/lib/commonjs/components/native/deep/Pressable.js.map +1 -0
  31. package/lib/commonjs/components/native/deep/RefreshControl.js +19 -0
  32. package/lib/commonjs/components/native/deep/RefreshControl.js.map +1 -0
  33. package/lib/commonjs/components/native/deep/SafeAreaView.js +19 -0
  34. package/lib/commonjs/components/native/deep/SafeAreaView.js.map +1 -0
  35. package/lib/commonjs/components/native/deep/ScrollView.js +19 -0
  36. package/lib/commonjs/components/native/deep/ScrollView.js.map +1 -0
  37. package/lib/commonjs/components/native/deep/SectionList.js +19 -0
  38. package/lib/commonjs/components/native/deep/SectionList.js.map +1 -0
  39. package/lib/commonjs/components/native/deep/Switch.js +19 -0
  40. package/lib/commonjs/components/native/deep/Switch.js.map +1 -0
  41. package/lib/commonjs/components/native/deep/Text.js +19 -0
  42. package/lib/commonjs/components/native/deep/Text.js.map +1 -0
  43. package/lib/commonjs/components/native/deep/TextInput.js +19 -0
  44. package/lib/commonjs/components/native/deep/TextInput.js.map +1 -0
  45. package/lib/commonjs/components/native/deep/TextNativeComponent.js +28 -0
  46. package/lib/commonjs/components/native/deep/TextNativeComponent.js.map +1 -0
  47. package/lib/commonjs/components/native/deep/TouchableHighlight.js +19 -0
  48. package/lib/commonjs/components/native/deep/TouchableHighlight.js.map +1 -0
  49. package/lib/commonjs/components/native/deep/TouchableOpacity.js +19 -0
  50. package/lib/commonjs/components/native/deep/TouchableOpacity.js.map +1 -0
  51. package/lib/commonjs/components/native/deep/View.js +19 -0
  52. package/lib/commonjs/components/native/deep/View.js.map +1 -0
  53. package/lib/commonjs/components/native/deep/ViewNativeComponent.js +26 -0
  54. package/lib/commonjs/components/native/deep/ViewNativeComponent.js.map +1 -0
  55. package/lib/commonjs/components/native/deep/VirtualizedList.js +19 -0
  56. package/lib/commonjs/components/native/deep/VirtualizedList.js.map +1 -0
  57. package/lib/commonjs/components/native/index.js +43 -0
  58. package/lib/commonjs/components/native/index.js.map +1 -0
  59. package/lib/commonjs/core/createUnistylesActivityIndicator.js +13 -3
  60. package/lib/commonjs/core/createUnistylesActivityIndicator.js.map +1 -1
  61. package/lib/commonjs/core/createUnistylesElement.native.js +6 -0
  62. package/lib/commonjs/core/createUnistylesElement.native.js.map +1 -1
  63. package/lib/commonjs/core/createUnistylesImageBackground.js +20 -17
  64. package/lib/commonjs/core/createUnistylesImageBackground.js.map +1 -1
  65. package/lib/commonjs/core/createUnistylesTouchableHighlight.js +6 -0
  66. package/lib/commonjs/core/createUnistylesTouchableHighlight.js.map +1 -1
  67. package/lib/commonjs/core/getClassname.js +15 -0
  68. package/lib/commonjs/core/getClassname.js.map +1 -1
  69. package/lib/commonjs/core/hasUnistyles.js +26 -0
  70. package/lib/commonjs/core/hasUnistyles.js.map +1 -0
  71. package/lib/commonjs/core/useProxifiedUnistyles/useProxifiedUnistyles.js +10 -0
  72. package/lib/commonjs/core/useProxifiedUnistyles/useProxifiedUnistyles.js.map +1 -1
  73. package/lib/commonjs/core/withUnistyles/withUnistyles.native.js +16 -15
  74. package/lib/commonjs/core/withUnistyles/withUnistyles.native.js.map +1 -1
  75. package/lib/commonjs/specs/ShadowRegistry/index.js +86 -110
  76. package/lib/commonjs/specs/ShadowRegistry/index.js.map +1 -1
  77. package/lib/commonjs/specs/ShadowRegistry/styleSource.js +65 -0
  78. package/lib/commonjs/specs/ShadowRegistry/styleSource.js.map +1 -0
  79. package/lib/commonjs/unifiber/src/adapters/reanimated.js +157 -0
  80. package/lib/commonjs/unifiber/src/adapters/reanimated.js.map +1 -0
  81. package/lib/commonjs/unifiber/src/adapters/registry.js +67 -0
  82. package/lib/commonjs/unifiber/src/adapters/registry.js.map +1 -0
  83. package/lib/commonjs/unifiber/src/diagnostics.js +59 -0
  84. package/lib/commonjs/unifiber/src/diagnostics.js.map +1 -0
  85. package/lib/commonjs/unifiber/src/fiber.js +199 -0
  86. package/lib/commonjs/unifiber/src/fiber.js.map +1 -0
  87. package/lib/commonjs/unifiber/src/host.js +214 -0
  88. package/lib/commonjs/unifiber/src/host.js.map +1 -0
  89. package/lib/commonjs/unifiber/src/index.js +38 -0
  90. package/lib/commonjs/unifiber/src/index.js.map +1 -0
  91. package/lib/commonjs/web/css/core.js +30 -5
  92. package/lib/commonjs/web/css/core.js.map +1 -1
  93. package/lib/commonjs/web/css/state.js +4 -1
  94. package/lib/commonjs/web/css/state.js.map +1 -1
  95. package/lib/commonjs/web/registry.js +1 -1
  96. package/lib/commonjs/web/registry.js.map +1 -1
  97. package/lib/commonjs/web/utils/unistyle.js +11 -3
  98. package/lib/commonjs/web/utils/unistyle.js.map +1 -1
  99. package/lib/module/components/native/deep/ActivityIndicator.js +5 -0
  100. package/lib/module/components/native/deep/ActivityIndicator.js.map +1 -0
  101. package/lib/module/components/native/deep/Animated.js +5 -0
  102. package/lib/module/components/native/deep/Animated.js.map +1 -0
  103. package/lib/module/components/native/deep/FlatList.js +5 -0
  104. package/lib/module/components/native/deep/FlatList.js.map +1 -0
  105. package/lib/module/components/native/deep/Image.js +5 -0
  106. package/lib/module/components/native/deep/Image.js.map +1 -0
  107. package/lib/module/components/native/deep/ImageBackground.js +5 -0
  108. package/lib/module/components/native/deep/ImageBackground.js.map +1 -0
  109. package/lib/module/components/native/deep/KeyboardAvoidingView.js +5 -0
  110. package/lib/module/components/native/deep/KeyboardAvoidingView.js.map +1 -0
  111. package/lib/module/components/native/deep/Pressable.js +5 -0
  112. package/lib/module/components/native/deep/Pressable.js.map +1 -0
  113. package/lib/module/components/native/deep/RefreshControl.js +5 -0
  114. package/lib/module/components/native/deep/RefreshControl.js.map +1 -0
  115. package/lib/module/components/native/deep/SafeAreaView.js +5 -0
  116. package/lib/module/components/native/deep/SafeAreaView.js.map +1 -0
  117. package/lib/module/components/native/deep/ScrollView.js +5 -0
  118. package/lib/module/components/native/deep/ScrollView.js.map +1 -0
  119. package/lib/module/components/native/deep/SectionList.js +5 -0
  120. package/lib/module/components/native/deep/SectionList.js.map +1 -0
  121. package/lib/module/components/native/deep/Switch.js +5 -0
  122. package/lib/module/components/native/deep/Switch.js.map +1 -0
  123. package/lib/module/components/native/deep/Text.js +5 -0
  124. package/lib/module/components/native/deep/Text.js.map +1 -0
  125. package/lib/module/components/native/deep/TextInput.js +5 -0
  126. package/lib/module/components/native/deep/TextInput.js.map +1 -0
  127. package/lib/module/components/native/deep/TextNativeComponent.js +8 -0
  128. package/lib/module/components/native/deep/TextNativeComponent.js.map +1 -0
  129. package/lib/module/components/native/deep/TouchableHighlight.js +5 -0
  130. package/lib/module/components/native/deep/TouchableHighlight.js.map +1 -0
  131. package/lib/module/components/native/deep/TouchableOpacity.js +5 -0
  132. package/lib/module/components/native/deep/TouchableOpacity.js.map +1 -0
  133. package/lib/module/components/native/deep/View.js +5 -0
  134. package/lib/module/components/native/deep/View.js.map +1 -0
  135. package/lib/module/components/native/deep/ViewNativeComponent.js +8 -0
  136. package/lib/module/components/native/deep/ViewNativeComponent.js.map +1 -0
  137. package/lib/module/components/native/deep/VirtualizedList.js +5 -0
  138. package/lib/module/components/native/deep/VirtualizedList.js.map +1 -0
  139. package/lib/module/components/native/index.js +43 -0
  140. package/lib/module/components/native/index.js.map +1 -0
  141. package/lib/module/core/createUnistylesActivityIndicator.js +13 -3
  142. package/lib/module/core/createUnistylesActivityIndicator.js.map +1 -1
  143. package/lib/module/core/createUnistylesElement.native.js +6 -0
  144. package/lib/module/core/createUnistylesElement.native.js.map +1 -1
  145. package/lib/module/core/createUnistylesImageBackground.js +20 -17
  146. package/lib/module/core/createUnistylesImageBackground.js.map +1 -1
  147. package/lib/module/core/createUnistylesTouchableHighlight.js +6 -0
  148. package/lib/module/core/createUnistylesTouchableHighlight.js.map +1 -1
  149. package/lib/module/core/getClassname.js +16 -1
  150. package/lib/module/core/getClassname.js.map +1 -1
  151. package/lib/module/core/hasUnistyles.js +21 -0
  152. package/lib/module/core/hasUnistyles.js.map +1 -0
  153. package/lib/module/core/useProxifiedUnistyles/useProxifiedUnistyles.js +10 -0
  154. package/lib/module/core/useProxifiedUnistyles/useProxifiedUnistyles.js.map +1 -1
  155. package/lib/module/core/withUnistyles/withUnistyles.native.js +14 -14
  156. package/lib/module/core/withUnistyles/withUnistyles.native.js.map +1 -1
  157. package/lib/module/specs/ShadowRegistry/index.js +86 -110
  158. package/lib/module/specs/ShadowRegistry/index.js.map +1 -1
  159. package/lib/module/specs/ShadowRegistry/styleSource.js +60 -0
  160. package/lib/module/specs/ShadowRegistry/styleSource.js.map +1 -0
  161. package/lib/module/unifiber/src/adapters/reanimated.js +152 -0
  162. package/lib/module/unifiber/src/adapters/reanimated.js.map +1 -0
  163. package/lib/module/unifiber/src/adapters/registry.js +62 -0
  164. package/lib/module/unifiber/src/adapters/registry.js.map +1 -0
  165. package/lib/module/unifiber/src/diagnostics.js +52 -0
  166. package/lib/module/unifiber/src/diagnostics.js.map +1 -0
  167. package/lib/module/unifiber/src/fiber.js +183 -0
  168. package/lib/module/unifiber/src/fiber.js.map +1 -0
  169. package/lib/module/unifiber/src/host.js +191 -0
  170. package/lib/module/unifiber/src/host.js.map +1 -0
  171. package/lib/module/unifiber/src/index.js +33 -0
  172. package/lib/module/unifiber/src/index.js.map +1 -0
  173. package/lib/module/web/css/core.js +28 -4
  174. package/lib/module/web/css/core.js.map +1 -1
  175. package/lib/module/web/css/state.js +5 -2
  176. package/lib/module/web/css/state.js.map +1 -1
  177. package/lib/module/web/registry.js +1 -1
  178. package/lib/module/web/registry.js.map +1 -1
  179. package/lib/module/web/utils/unistyle.js +11 -3
  180. package/lib/module/web/utils/unistyle.js.map +1 -1
  181. package/lib/typescript/src/components/native/deep/ActivityIndicator.d.ts +2 -0
  182. package/lib/typescript/src/components/native/deep/ActivityIndicator.d.ts.map +1 -0
  183. package/lib/typescript/src/components/native/deep/Animated.d.ts +2 -0
  184. package/lib/typescript/src/components/native/deep/Animated.d.ts.map +1 -0
  185. package/lib/typescript/src/components/native/deep/FlatList.d.ts +2 -0
  186. package/lib/typescript/src/components/native/deep/FlatList.d.ts.map +1 -0
  187. package/lib/typescript/src/components/native/deep/Image.d.ts +2 -0
  188. package/lib/typescript/src/components/native/deep/Image.d.ts.map +1 -0
  189. package/lib/typescript/src/components/native/deep/ImageBackground.d.ts +2 -0
  190. package/lib/typescript/src/components/native/deep/ImageBackground.d.ts.map +1 -0
  191. package/lib/typescript/src/components/native/deep/KeyboardAvoidingView.d.ts +2 -0
  192. package/lib/typescript/src/components/native/deep/KeyboardAvoidingView.d.ts.map +1 -0
  193. package/lib/typescript/src/components/native/deep/Pressable.d.ts +2 -0
  194. package/lib/typescript/src/components/native/deep/Pressable.d.ts.map +1 -0
  195. package/lib/typescript/src/components/native/deep/RefreshControl.d.ts +2 -0
  196. package/lib/typescript/src/components/native/deep/RefreshControl.d.ts.map +1 -0
  197. package/lib/typescript/src/components/native/deep/SafeAreaView.d.ts +2 -0
  198. package/lib/typescript/src/components/native/deep/SafeAreaView.d.ts.map +1 -0
  199. package/lib/typescript/src/components/native/deep/ScrollView.d.ts +2 -0
  200. package/lib/typescript/src/components/native/deep/ScrollView.d.ts.map +1 -0
  201. package/lib/typescript/src/components/native/deep/SectionList.d.ts +2 -0
  202. package/lib/typescript/src/components/native/deep/SectionList.d.ts.map +1 -0
  203. package/lib/typescript/src/components/native/deep/Switch.d.ts +2 -0
  204. package/lib/typescript/src/components/native/deep/Switch.d.ts.map +1 -0
  205. package/lib/typescript/src/components/native/deep/Text.d.ts +2 -0
  206. package/lib/typescript/src/components/native/deep/Text.d.ts.map +1 -0
  207. package/lib/typescript/src/components/native/deep/TextInput.d.ts +2 -0
  208. package/lib/typescript/src/components/native/deep/TextInput.d.ts.map +1 -0
  209. package/lib/typescript/src/components/native/deep/TextNativeComponent.d.ts +3 -0
  210. package/lib/typescript/src/components/native/deep/TextNativeComponent.d.ts.map +1 -0
  211. package/lib/typescript/src/components/native/deep/TouchableHighlight.d.ts +2 -0
  212. package/lib/typescript/src/components/native/deep/TouchableHighlight.d.ts.map +1 -0
  213. package/lib/typescript/src/components/native/deep/TouchableOpacity.d.ts +2 -0
  214. package/lib/typescript/src/components/native/deep/TouchableOpacity.d.ts.map +1 -0
  215. package/lib/typescript/src/components/native/deep/View.d.ts +2 -0
  216. package/lib/typescript/src/components/native/deep/View.d.ts.map +1 -0
  217. package/lib/typescript/src/components/native/deep/ViewNativeComponent.d.ts +3 -0
  218. package/lib/typescript/src/components/native/deep/ViewNativeComponent.d.ts.map +1 -0
  219. package/lib/typescript/src/components/native/deep/VirtualizedList.d.ts +2 -0
  220. package/lib/typescript/src/components/native/deep/VirtualizedList.d.ts.map +1 -0
  221. package/lib/typescript/src/components/native/index.d.ts +4 -0
  222. package/lib/typescript/src/components/native/index.d.ts.map +1 -0
  223. package/lib/typescript/src/components/scopeChildren.d.ts +1 -1
  224. package/lib/typescript/src/core/createUnistylesActivityIndicator.d.ts.map +1 -1
  225. package/lib/typescript/src/core/createUnistylesElement.native.d.ts.map +1 -1
  226. package/lib/typescript/src/core/createUnistylesImageBackground.d.ts.map +1 -1
  227. package/lib/typescript/src/core/createUnistylesTouchableHighlight.d.ts.map +1 -1
  228. package/lib/typescript/src/core/getClassname.d.ts.map +1 -1
  229. package/lib/typescript/src/core/hasUnistyles.d.ts +2 -0
  230. package/lib/typescript/src/core/hasUnistyles.d.ts.map +1 -0
  231. package/lib/typescript/src/core/useProxifiedUnistyles/useProxifiedUnistyles.d.ts.map +1 -1
  232. package/lib/typescript/src/core/withUnistyles/withUnistyles.native.d.ts +6 -0
  233. package/lib/typescript/src/core/withUnistyles/withUnistyles.native.d.ts.map +1 -1
  234. package/lib/typescript/src/specs/ShadowRegistry/index.d.ts +2 -2
  235. package/lib/typescript/src/specs/ShadowRegistry/index.d.ts.map +1 -1
  236. package/lib/typescript/src/specs/ShadowRegistry/styleSource.d.ts +11 -0
  237. package/lib/typescript/src/specs/ShadowRegistry/styleSource.d.ts.map +1 -0
  238. package/lib/typescript/src/specs/ShadowRegistry/types.d.ts +4 -41
  239. package/lib/typescript/src/specs/ShadowRegistry/types.d.ts.map +1 -1
  240. package/lib/typescript/src/unifiber/src/adapters/reanimated.d.ts +17 -0
  241. package/lib/typescript/src/unifiber/src/adapters/reanimated.d.ts.map +1 -0
  242. package/lib/typescript/src/unifiber/src/adapters/registry.d.ts +23 -0
  243. package/lib/typescript/src/unifiber/src/adapters/registry.d.ts.map +1 -0
  244. package/lib/typescript/src/unifiber/src/diagnostics.d.ts +10 -0
  245. package/lib/typescript/src/unifiber/src/diagnostics.d.ts.map +1 -0
  246. package/lib/typescript/src/unifiber/src/fiber.d.ts +48 -0
  247. package/lib/typescript/src/unifiber/src/fiber.d.ts.map +1 -0
  248. package/lib/typescript/src/unifiber/src/host.d.ts +32 -0
  249. package/lib/typescript/src/unifiber/src/host.d.ts.map +1 -0
  250. package/lib/typescript/src/unifiber/src/index.d.ts +49 -0
  251. package/lib/typescript/src/unifiber/src/index.d.ts.map +1 -0
  252. package/lib/typescript/src/web/css/core.d.ts +1 -0
  253. package/lib/typescript/src/web/css/core.d.ts.map +1 -1
  254. package/lib/typescript/src/web/css/state.d.ts.map +1 -1
  255. package/lib/typescript/src/web/utils/unistyle.d.ts.map +1 -1
  256. package/metro/babel-transformer.js +1040 -0
  257. package/metro/index.d.ts +31 -0
  258. package/metro/index.js +170 -0
  259. package/package.json +26 -8
  260. package/plugin/index.d.ts +7 -0
  261. package/plugin/index.js +36 -16
  262. package/src/components/native/deep/ActivityIndicator.ts +2 -0
  263. package/src/components/native/deep/Animated.ts +2 -0
  264. package/src/components/native/deep/FlatList.ts +2 -0
  265. package/src/components/native/deep/Image.ts +2 -0
  266. package/src/components/native/deep/ImageBackground.ts +2 -0
  267. package/src/components/native/deep/KeyboardAvoidingView.ts +2 -0
  268. package/src/components/native/deep/Pressable.ts +2 -0
  269. package/src/components/native/deep/RefreshControl.ts +2 -0
  270. package/src/components/native/deep/SafeAreaView.ts +2 -0
  271. package/src/components/native/deep/ScrollView.ts +2 -0
  272. package/src/components/native/deep/SectionList.ts +2 -0
  273. package/src/components/native/deep/Switch.ts +2 -0
  274. package/src/components/native/deep/Text.ts +2 -0
  275. package/src/components/native/deep/TextInput.ts +2 -0
  276. package/src/components/native/deep/TextNativeComponent.ts +5 -0
  277. package/src/components/native/deep/TouchableHighlight.ts +2 -0
  278. package/src/components/native/deep/TouchableOpacity.ts +2 -0
  279. package/src/components/native/deep/View.ts +2 -0
  280. package/src/components/native/deep/ViewNativeComponent.ts +5 -0
  281. package/src/components/native/deep/VirtualizedList.ts +2 -0
  282. package/src/components/native/index.ts +41 -0
  283. package/src/core/createUnistylesActivityIndicator.tsx +11 -4
  284. package/src/core/createUnistylesElement.native.tsx +5 -0
  285. package/src/core/createUnistylesImageBackground.tsx +27 -23
  286. package/src/core/createUnistylesTouchableHighlight.tsx +5 -0
  287. package/src/core/getClassname.ts +10 -1
  288. package/src/core/hasUnistyles.ts +20 -0
  289. package/src/core/useProxifiedUnistyles/useProxifiedUnistyles.ts +11 -0
  290. package/src/core/withUnistyles/withUnistyles.native.tsx +22 -25
  291. package/src/specs/ShadowRegistry/index.ts +87 -149
  292. package/src/specs/ShadowRegistry/styleSource.ts +78 -0
  293. package/src/specs/ShadowRegistry/types.ts +3 -43
  294. package/src/unifiber/LICENSE +21 -0
  295. package/src/unifiber/README.md +92 -0
  296. package/src/unifiber/src/adapters/reanimated.ts +204 -0
  297. package/src/unifiber/src/adapters/registry.ts +102 -0
  298. package/src/unifiber/src/diagnostics.ts +55 -0
  299. package/src/unifiber/src/fiber.ts +262 -0
  300. package/src/unifiber/src/host.ts +236 -0
  301. package/src/unifiber/src/index.ts +43 -0
  302. package/src/web/css/core.ts +29 -4
  303. package/src/web/css/state.ts +6 -2
  304. package/src/web/registry.ts +1 -1
  305. package/src/web/utils/unistyle.ts +12 -3
  306. package/lib/typescript/src/__tests__/mocks.spec.d.ts +0 -2
  307. package/lib/typescript/src/__tests__/mocks.spec.d.ts.map +0 -1
  308. package/lib/typescript/src/__tests__/passForwardRef.spec.d.ts +0 -2
  309. package/lib/typescript/src/__tests__/passForwardRef.spec.d.ts.map +0 -1
  310. package/lib/typescript/src/__tests__/scoped-theme.spec.d.ts +0 -2
  311. package/lib/typescript/src/__tests__/scoped-theme.spec.d.ts.map +0 -1
  312. package/lib/typescript/src/__tests__/shadow-registry.spec.d.ts +0 -2
  313. package/lib/typescript/src/__tests__/shadow-registry.spec.d.ts.map +0 -1
  314. package/lib/typescript/src/__tests__/web-listener.spec.d.ts +0 -2
  315. package/lib/typescript/src/__tests__/web-listener.spec.d.ts.map +0 -1
  316. package/lib/typescript/src/__tests__/web-runtime.spec.d.ts +0 -2
  317. package/lib/typescript/src/__tests__/web-runtime.spec.d.ts.map +0 -1
@@ -281,6 +281,7 @@ void parser::Parser::rebuildUnistylesInDependencyMap(
281
281
  std::unordered_map<std::shared_ptr<StyleSheet>, jsi::Value> parsedStyleSheetsWithDefaultTheme;
282
282
  std::unordered_map<std::string, std::unordered_map<std::shared_ptr<StyleSheet>, jsi::Value>> parsedStyleSheetsWithScopedTheme;
283
283
  std::unordered_set<std::shared_ptr<core::Unistyle>> parsedUnistyles;
284
+ std::unordered_set<std::shared_ptr<core::Unistyle>> sharedUnistyles;
284
285
 
285
286
  // Parse all stylesheets that depend on changes
286
287
  for (const auto& styleSheet : styleSheets) {
@@ -355,6 +356,8 @@ void parser::Parser::rebuildUnistylesInDependencyMap(
355
356
  }
356
357
 
357
358
  this->rebuildUnistyleWithScopedTheme(rt, parsedStyleSheet, unistyleData);
359
+ } else if (sharedUnistyles.contains(unistyle)) {
360
+ unistyleData->parsedStyle = jsi::Value(rt, unistyle->parsedStyle.value()).asObject(rt);
358
361
  } else {
359
362
  unistyle->rawValue = parsedSheetObj
360
363
  .getProperty(rt, unistyle->styleKey.c_str())
@@ -365,9 +368,14 @@ void parser::Parser::rebuildUnistylesInDependencyMap(
365
368
  );
366
369
  unistyleData->parsedStyle = jsi::Value(rt, unistyle->parsedStyle.value()).asObject(rt);
367
370
  unistyle->isDirty = true;
368
- }
369
371
 
370
- parsedUnistyles.insert(unistyle);
372
+ if (unistyle->type == core::UnistyleType::Object && !unistyle->rawValue.hasProperty(rt, "variants")) {
373
+ sharedUnistyles.insert(unistyle);
374
+ }
375
+
376
+ // unistyles rebuilt only for a scoped theme stay out of this set, so the loop below refreshes their global rawValue
377
+ parsedUnistyles.insert(unistyle);
378
+ }
371
379
  }
372
380
  }
373
381
 
@@ -1063,6 +1071,7 @@ jsi::Value parser::Parser::parseSecondLevel(jsi::Runtime &rt, Unistyle::Shared u
1063
1071
  folly::dynamic parser::Parser::parseStylesToShadowTreeStyles(jsi::Runtime& rt, const std::vector<std::shared_ptr<UnistyleData>>& unistyles) {
1064
1072
  jsi::Object convertedStyles(rt);
1065
1073
  auto& state = core::UnistylesRegistry::get().getState();
1074
+ std::unordered_set<std::string> skippedBackgroundImages;
1066
1075
 
1067
1076
  for (const auto& unistyleData : unistyles) {
1068
1077
  if (!unistyleData->parsedStyle.has_value()) {
@@ -1072,8 +1081,23 @@ folly::dynamic parser::Parser::parseStylesToShadowTreeStyles(jsi::Runtime& rt, c
1072
1081
  helpers::enumerateJSIObject(
1073
1082
  rt,
1074
1083
  unistyleData->parsedStyle.value(),
1075
- [this, &rt, &state, &convertedStyles](const std::string& propertyName, jsi::Value& propertyValue) {
1084
+ [this, &rt, &state, &convertedStyles, &skippedBackgroundImages](const std::string& propertyName, jsi::Value& propertyValue) {
1085
+ if (converters::isBackgroundImagePropName(propertyName)) {
1086
+ skippedBackgroundImages.erase(propertyName);
1087
+ }
1088
+
1076
1089
  if (converters::isBackgroundImagePropName(propertyName) && propertyValue.isString()) {
1090
+ // React Native parses the raw string natively and reads an array as the unprocessed syntax
1091
+ if (converters::canReactNativeParseBackgroundImageString()) {
1092
+ convertedStyles.setProperty(
1093
+ rt,
1094
+ propertyName.c_str(),
1095
+ propertyValue
1096
+ );
1097
+
1098
+ return;
1099
+ }
1100
+
1077
1101
  auto maybeBackgroundImage = converters::parseBackgroundImageString(propertyValue.asString(rt).utf8(rt));
1078
1102
 
1079
1103
  if (maybeBackgroundImage.has_value()) {
@@ -1086,11 +1110,9 @@ folly::dynamic parser::Parser::parseStylesToShadowTreeStyles(jsi::Runtime& rt, c
1086
1110
  return;
1087
1111
  }
1088
1112
 
1089
- convertedStyles.setProperty(
1090
- rt,
1091
- propertyName.c_str(),
1092
- propertyValue
1093
- );
1113
+ // without a converter (React Native < 0.83) a raw string reads as no background image,
1114
+ // so leave the prop to React, which processes it in JS
1115
+ skippedBackgroundImages.insert(propertyName);
1094
1116
 
1095
1117
  return;
1096
1118
  }
@@ -1265,7 +1287,15 @@ folly::dynamic parser::Parser::parseStylesToShadowTreeStyles(jsi::Runtime& rt, c
1265
1287
  );
1266
1288
  }
1267
1289
 
1268
- return jsi::dynamicFromValue(rt, jsi::Value(rt, convertedStyles));
1290
+ auto props = jsi::dynamicFromValue(rt, jsi::Value(rt, convertedStyles));
1291
+
1292
+ // a skipped string still wins over earlier styles in React,
1293
+ // so drop the prop instead of writing an earlier style's value
1294
+ for (const auto& propName : skippedBackgroundImages) {
1295
+ props.erase(propName);
1296
+ }
1297
+
1298
+ return props;
1269
1299
  }
1270
1300
 
1271
1301
  // shadow tree updates skip the props an inline style sets last, React (or an animation) owns them
@@ -1273,6 +1303,14 @@ folly::dynamic parser::Parser::parseStylesToShadowTreeStyles(jsi::Runtime& rt, c
1273
1303
  // so a value captured at link time would undo what React rendered since
1274
1304
  folly::dynamic parser::Parser::parseStylesToShadowTreeUpdates(jsi::Runtime& rt, const std::vector<std::shared_ptr<UnistyleData>>& unistyles) {
1275
1305
  auto props = this->parseStylesToShadowTreeStyles(rt, unistyles);
1306
+ auto hasInlineStyle = std::any_of(unistyles.begin(), unistyles.end(), [](const std::shared_ptr<UnistyleData>& unistyleData) {
1307
+ return unistyleData->parsedStyle.has_value() && unistyleData->unistyle->styleKey == helpers::EXOTIC_STYLE_KEY;
1308
+ });
1309
+
1310
+ if (!hasInlineStyle) {
1311
+ return props;
1312
+ }
1313
+
1276
1314
  std::unordered_map<std::string, bool> isOwnedByInlineStyle;
1277
1315
 
1278
1316
  for (const auto& unistyleData : unistyles) {
@@ -4,13 +4,13 @@ using namespace margelo::nitro::unistyles;
4
4
  using namespace facebook::react;
5
5
  using namespace facebook;
6
6
 
7
- std::vector<Tag> shadow::ShadowTreeManager::updateShadowTree(jsi::Runtime& rt) {
7
+ std::vector<InstanceHandle::Shared> shadow::ShadowTreeManager::updateShadowTree(jsi::Runtime& rt) {
8
8
  auto& registry = core::UnistylesRegistry::get();
9
9
 
10
10
  // updates pin their families, so raw pointers stay valid during the commit
11
11
  // declared outside of the lock, so the last pin is released after unlocking
12
12
  PinnedShadowLeafUpdates updates;
13
- std::vector<Tag> committedTags;
13
+ std::vector<InstanceHandle::Shared> committedInstanceHandles;
14
14
 
15
15
  registry.trafficController.withLock([&](){
16
16
  updates = registry.trafficController.takeUpdates();
@@ -21,18 +21,18 @@ std::vector<Tag> shadow::ShadowTreeManager::updateShadowTree(jsi::Runtime& rt) {
21
21
 
22
22
  std::unordered_map<Tag, folly::dynamic> tagToProps;
23
23
 
24
- committedTags.reserve(updates.size());
24
+ committedInstanceHandles.reserve(updates.size());
25
25
 
26
26
  for (const auto& [family, update] : updates) {
27
27
  auto safeProps = update.props.isObject() ? update.props : folly::dynamic::object();
28
28
 
29
29
  tagToProps.insert({family->getTag(), safeProps});
30
- committedTags.push_back(family->getTag());
30
+ committedInstanceHandles.push_back(family->getInstanceHandle());
31
31
  shadow::mergeNativeProps(family, safeProps);
32
32
  }
33
33
 
34
34
  UIManagerBinding::getBinding(rt)->getUIManager().updateShadowTree(std::move(tagToProps));
35
35
  });
36
36
 
37
- return committedTags;
37
+ return committedInstanceHandles;
38
38
  }
@@ -15,7 +15,7 @@ using namespace facebook::react;
15
15
  using namespace facebook;
16
16
 
17
17
  struct ShadowTreeManager {
18
- static std::vector<Tag> updateShadowTree(jsi::Runtime& rt);
18
+ static std::vector<InstanceHandle::Shared> updateShadowTree(jsi::Runtime& rt);
19
19
  };
20
20
 
21
21
  }
@@ -14,6 +14,7 @@ class NativeIOSPlatform: HybridNativePlatformSpec {
14
14
 
15
15
  var dependencyListeners: Array<CxxDependencyListener> = []
16
16
  var imeListeners: Array<CxxImeListener> = []
17
+ var interfaceStyle: UIUserInterfaceStyle?
17
18
 
18
19
  override init() {
19
20
  super.init()
@@ -52,17 +53,27 @@ class NativeIOSPlatform: HybridNativePlatformSpec {
52
53
  }
53
54
 
54
55
  func getColorScheme() -> ColorScheme {
55
- let interfaceStyle = UIScreen.main.traitCollection.userInterfaceStyle
56
-
57
- switch (interfaceStyle) {
58
- case .dark:
59
- return ColorScheme.dark
60
- case .light:
61
- return ColorScheme.light
62
- case .unspecified:
63
- return ColorScheme.unspecified
64
- default:
65
- return ColorScheme.unspecified
56
+ func getColorSchemeFn() -> ColorScheme {
57
+ let interfaceStyle = self.interfaceStyle ?? (RCTKeyWindow()?.traitCollection ?? UIScreen.main.traitCollection).userInterfaceStyle
58
+
59
+ switch (interfaceStyle) {
60
+ case .dark:
61
+ return ColorScheme.dark
62
+ case .light:
63
+ return ColorScheme.light
64
+ case .unspecified:
65
+ return ColorScheme.unspecified
66
+ default:
67
+ return ColorScheme.unspecified
68
+ }
69
+ }
70
+
71
+ if Thread.isMainThread {
72
+ return getColorSchemeFn()
73
+ }
74
+
75
+ return DispatchQueue.main.sync {
76
+ return getColorSchemeFn()
66
77
  }
67
78
  }
68
79
 
@@ -120,8 +131,10 @@ class NativeIOSPlatform: HybridNativePlatformSpec {
120
131
  return cachedRuntime.screen;
121
132
  }
122
133
 
123
- // this should never happen, but it's better to return zeros
124
- return Dimensions(width: 0, height: 0)
134
+ // when the app is launched in the background there is no foreground window yet, fall back to the screen
135
+ let screenSize = UIScreen.main.bounds.size
136
+
137
+ return Dimensions(width: screenSize.width, height: screenSize.height)
125
138
  }
126
139
 
127
140
  let width = windowFrame.size.width
@@ -280,8 +293,8 @@ class NativeIOSPlatform: HybridNativePlatformSpec {
280
293
  return cachedRuntime.pixelRatio;
281
294
  }
282
295
 
283
- // this should never happen, but it's better to return default
284
- return 1
296
+ // when the app is launched in the background there is no foreground window yet, fall back to the screen
297
+ return UIScreen.main.scale
285
298
  }
286
299
 
287
300
  return window.screen.scale
@@ -7,6 +7,15 @@ extension NativeIOSPlatform {
7
7
  let orientationPublisher = NotificationCenter.default.publisher(for: UIDevice.orientationDidChangeNotification)
8
8
  let colorSchemePublisher = NotificationCenter.default.publisher(for: NSNotification.Name("RCTUserInterfaceStyleDidChangeNotification"))
9
9
 
10
+ colorSchemePublisher
11
+ .sink { [weak self] notification in
12
+ if let traitCollection = notification.userInfo?["traitCollection"] as? UITraitCollection,
13
+ traitCollection.userInterfaceStyle != .unspecified {
14
+ self?.interfaceStyle = traitCollection.userInterfaceStyle
15
+ }
16
+ }
17
+ .store(in: &cancellables)
18
+
10
19
  Publishers
11
20
  .MergeMany([windowPublisher, orientationPublisher, colorSchemePublisher])
12
21
  .throttle(for: .milliseconds(25), scheduler: RunLoop.main, latest: true)
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ActivityIndicator", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _ActivityIndicator.ActivityIndicator;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _ActivityIndicator.ActivityIndicator;
16
+ }
17
+ });
18
+ var _ActivityIndicator = require("../ActivityIndicator");
19
+ //# sourceMappingURL=ActivityIndicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_ActivityIndicator","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/ActivityIndicator.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,kBAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Animated", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Animated.Animated;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _Animated.Animated;
16
+ }
17
+ });
18
+ var _Animated = require("../Animated");
19
+ //# sourceMappingURL=Animated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_Animated","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/Animated.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "FlatList", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _FlatList.FlatList;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _FlatList.FlatList;
16
+ }
17
+ });
18
+ var _FlatList = require("../FlatList");
19
+ //# sourceMappingURL=FlatList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_FlatList","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/FlatList.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Image", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Image.Image;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _Image.Image;
16
+ }
17
+ });
18
+ var _Image = require("../Image");
19
+ //# sourceMappingURL=Image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_Image","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/Image.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ImageBackground", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _ImageBackground.ImageBackground;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _ImageBackground.ImageBackground;
16
+ }
17
+ });
18
+ var _ImageBackground = require("../ImageBackground");
19
+ //# sourceMappingURL=ImageBackground.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_ImageBackground","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/ImageBackground.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,gBAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "KeyboardAvoidingView", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _KeyboardAvoidingView.KeyboardAvoidingView;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _KeyboardAvoidingView.KeyboardAvoidingView;
16
+ }
17
+ });
18
+ var _KeyboardAvoidingView = require("../KeyboardAvoidingView");
19
+ //# sourceMappingURL=KeyboardAvoidingView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_KeyboardAvoidingView","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/KeyboardAvoidingView.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,qBAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Pressable", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Pressable.Pressable;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _Pressable.Pressable;
16
+ }
17
+ });
18
+ var _Pressable = require("../Pressable");
19
+ //# sourceMappingURL=Pressable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_Pressable","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/Pressable.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,UAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "RefreshControl", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _RefreshControl.RefreshControl;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _RefreshControl.RefreshControl;
16
+ }
17
+ });
18
+ var _RefreshControl = require("../RefreshControl");
19
+ //# sourceMappingURL=RefreshControl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_RefreshControl","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/RefreshControl.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "SafeAreaView", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _SafeAreaView.SafeAreaView;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _SafeAreaView.SafeAreaView;
16
+ }
17
+ });
18
+ var _SafeAreaView = require("../SafeAreaView");
19
+ //# sourceMappingURL=SafeAreaView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_SafeAreaView","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/SafeAreaView.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,aAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ScrollView", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _ScrollView.ScrollView;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _ScrollView.ScrollView;
16
+ }
17
+ });
18
+ var _ScrollView = require("../ScrollView");
19
+ //# sourceMappingURL=ScrollView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_ScrollView","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/ScrollView.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,WAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "SectionList", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _SectionList.SectionList;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _SectionList.SectionList;
16
+ }
17
+ });
18
+ var _SectionList = require("../SectionList");
19
+ //# sourceMappingURL=SectionList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_SectionList","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/SectionList.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Switch", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Switch.Switch;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _Switch.Switch;
16
+ }
17
+ });
18
+ var _Switch = require("../Switch");
19
+ //# sourceMappingURL=Switch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_Switch","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/Switch.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Text", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Text.Text;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _Text.Text;
16
+ }
17
+ });
18
+ var _Text = require("../Text");
19
+ //# sourceMappingURL=Text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_Text","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/Text.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "TextInput", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _TextInput.TextInput;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _TextInput.TextInput;
16
+ }
17
+ });
18
+ var _TextInput = require("../TextInput");
19
+ //# sourceMappingURL=TextInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_TextInput","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/TextInput.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,UAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _exportNames = {
7
+ NativeText: true
8
+ };
9
+ Object.defineProperty(exports, "NativeText", {
10
+ enumerable: true,
11
+ get: function () {
12
+ return _NativeText.NativeText;
13
+ }
14
+ });
15
+ var _TextNativeComponent = require("react-native/Libraries/Text/TextNativeComponent");
16
+ Object.keys(_TextNativeComponent).forEach(function (key) {
17
+ if (key === "default" || key === "__esModule") return;
18
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
19
+ if (key in exports && exports[key] === _TextNativeComponent[key]) return;
20
+ Object.defineProperty(exports, key, {
21
+ enumerable: true,
22
+ get: function () {
23
+ return _TextNativeComponent[key];
24
+ }
25
+ });
26
+ });
27
+ var _NativeText = require("../NativeText");
28
+ //# sourceMappingURL=TextNativeComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_TextNativeComponent","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_NativeText"],"sourceRoot":"../../../../../src","sources":["components/native/deep/TextNativeComponent.ts"],"mappings":";;;;;;;;;;;;;;AAGA,IAAAA,oBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,oBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAL,oBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAb,oBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,WAAA,GAAAb,OAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "TouchableHighlight", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _TouchableHighlight.TouchableHighlight;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "default", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _TouchableHighlight.TouchableHighlight;
16
+ }
17
+ });
18
+ var _TouchableHighlight = require("../TouchableHighlight");
19
+ //# sourceMappingURL=TouchableHighlight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_TouchableHighlight","require"],"sourceRoot":"../../../../../src","sources":["components/native/deep/TouchableHighlight.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,mBAAA,GAAAC,OAAA","ignoreList":[]}