react-native-css 2.1.2 → 3.0.0-nightly.4723140

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 (660) hide show
  1. package/{LICENSE.md → LICENSE} +6 -8
  2. package/README.md +10 -86
  3. package/dist/commonjs/babel/helpers.js +129 -0
  4. package/dist/commonjs/babel/helpers.js.map +1 -0
  5. package/dist/commonjs/babel/import-plugin.js +97 -0
  6. package/dist/commonjs/babel/import-plugin.js.map +1 -0
  7. package/dist/commonjs/babel/index.js +9 -0
  8. package/dist/commonjs/babel/index.js.map +1 -0
  9. package/dist/commonjs/compiler/add.js +175 -0
  10. package/dist/commonjs/compiler/add.js.map +1 -0
  11. package/dist/commonjs/compiler/compiler.js +466 -0
  12. package/dist/commonjs/compiler/compiler.js.map +1 -0
  13. package/dist/commonjs/compiler/compiler.types.js +4 -0
  14. package/dist/commonjs/compiler/compiler.types.js.map +1 -0
  15. package/dist/commonjs/compiler/container-query.js +63 -0
  16. package/dist/commonjs/compiler/container-query.js.map +1 -0
  17. package/dist/commonjs/compiler/declarations.js +1843 -0
  18. package/dist/commonjs/compiler/declarations.js.map +1 -0
  19. package/dist/commonjs/compiler/functions-web.js +44 -0
  20. package/dist/commonjs/compiler/functions-web.js.map +1 -0
  21. package/dist/commonjs/compiler/functions.js +59 -0
  22. package/dist/commonjs/compiler/functions.js.map +1 -0
  23. package/dist/commonjs/compiler/index.js +17 -0
  24. package/dist/commonjs/compiler/index.js.map +1 -0
  25. package/dist/commonjs/compiler/keyframes.js +69 -0
  26. package/dist/commonjs/compiler/keyframes.js.map +1 -0
  27. package/dist/commonjs/compiler/media-query.js +172 -0
  28. package/dist/commonjs/compiler/media-query.js.map +1 -0
  29. package/dist/commonjs/compiler/selectors.js +330 -0
  30. package/dist/commonjs/compiler/selectors.js.map +1 -0
  31. package/dist/commonjs/components/ActivityIndicator.js +20 -0
  32. package/dist/commonjs/components/ActivityIndicator.js.map +1 -0
  33. package/dist/commonjs/components/SafeAreaProvider/index.js +41 -0
  34. package/dist/commonjs/components/SafeAreaProvider/index.js.map +1 -0
  35. package/dist/commonjs/components/SafeAreaProvider/index.web.js +13 -0
  36. package/dist/commonjs/components/SafeAreaProvider/index.web.js.map +1 -0
  37. package/dist/commonjs/components/Text.js +15 -0
  38. package/dist/commonjs/components/Text.js.map +1 -0
  39. package/dist/commonjs/components/TextInput.js +20 -0
  40. package/dist/commonjs/components/TextInput.js.map +1 -0
  41. package/dist/commonjs/components/View.js +15 -0
  42. package/dist/commonjs/components/View.js.map +1 -0
  43. package/dist/commonjs/components/index.js +36 -0
  44. package/dist/commonjs/components/index.js.map +1 -0
  45. package/dist/commonjs/doctor/index.js +6 -0
  46. package/dist/commonjs/doctor/index.js.map +1 -0
  47. package/dist/commonjs/index.js +17 -0
  48. package/dist/commonjs/index.js.map +1 -0
  49. package/dist/commonjs/jest/expect.d.js +2 -0
  50. package/dist/commonjs/jest/expect.d.js.map +1 -0
  51. package/dist/commonjs/jest/index.js +49 -0
  52. package/dist/commonjs/jest/index.js.map +1 -0
  53. package/dist/commonjs/jest/setup.js +3 -0
  54. package/dist/commonjs/jest/setup.js.map +1 -0
  55. package/dist/commonjs/jest/setupAfterEnv.js +15 -0
  56. package/dist/commonjs/jest/setupAfterEnv.js.map +1 -0
  57. package/dist/commonjs/metro/index.js +106 -0
  58. package/dist/commonjs/metro/index.js.map +1 -0
  59. package/dist/commonjs/metro/injection-code.js +12 -0
  60. package/dist/commonjs/metro/injection-code.js.map +1 -0
  61. package/dist/commonjs/metro/metro-transformer.js +21 -0
  62. package/dist/commonjs/metro/metro-transformer.js.map +1 -0
  63. package/dist/commonjs/metro/picocolors.js +71 -0
  64. package/dist/commonjs/metro/picocolors.js.map +1 -0
  65. package/dist/commonjs/metro/stringify.js +59 -0
  66. package/dist/commonjs/metro/stringify.js.map +1 -0
  67. package/dist/commonjs/metro/typescript.js +47 -0
  68. package/dist/commonjs/metro/typescript.js.map +1 -0
  69. package/dist/commonjs/package.json +1 -0
  70. package/dist/commonjs/runtime/index.js +17 -0
  71. package/dist/commonjs/runtime/index.js.map +1 -0
  72. package/dist/commonjs/runtime/native/api.js +90 -0
  73. package/dist/commonjs/runtime/native/api.js.map +1 -0
  74. package/dist/commonjs/runtime/native/conditions/container-query.js +116 -0
  75. package/dist/commonjs/runtime/native/conditions/container-query.js.map +1 -0
  76. package/dist/commonjs/runtime/native/conditions/guards.js +27 -0
  77. package/dist/commonjs/runtime/native/conditions/guards.js.map +1 -0
  78. package/dist/commonjs/runtime/native/conditions/index.js +74 -0
  79. package/dist/commonjs/runtime/native/conditions/index.js.map +1 -0
  80. package/dist/commonjs/runtime/native/conditions/media-query.js +91 -0
  81. package/dist/commonjs/runtime/native/conditions/media-query.js.map +1 -0
  82. package/dist/commonjs/runtime/native/index.js +18 -0
  83. package/dist/commonjs/runtime/native/index.js.map +1 -0
  84. package/dist/commonjs/runtime/native/injection.js +80 -0
  85. package/dist/commonjs/runtime/native/injection.js.map +1 -0
  86. package/dist/commonjs/runtime/native/metro.js +6 -0
  87. package/dist/commonjs/runtime/native/metro.js.map +1 -0
  88. package/dist/commonjs/runtime/native/react/interaction.js +63 -0
  89. package/dist/commonjs/runtime/native/react/interaction.js.map +1 -0
  90. package/dist/commonjs/runtime/native/react/rules.js +257 -0
  91. package/dist/commonjs/runtime/native/react/rules.js.map +1 -0
  92. package/dist/commonjs/runtime/native/react/useNativeCss.js +158 -0
  93. package/dist/commonjs/runtime/native/react/useNativeCss.js.map +1 -0
  94. package/dist/commonjs/runtime/native/react/usePassthrough.js +50 -0
  95. package/dist/commonjs/runtime/native/react/usePassthrough.js.map +1 -0
  96. package/dist/commonjs/runtime/native/reactivity.js +193 -0
  97. package/dist/commonjs/runtime/native/reactivity.js.map +1 -0
  98. package/dist/commonjs/runtime/native/styles/animation.js +90 -0
  99. package/dist/commonjs/runtime/native/styles/animation.js.map +1 -0
  100. package/dist/commonjs/runtime/native/styles/calc.js +113 -0
  101. package/dist/commonjs/runtime/native/styles/calc.js.map +1 -0
  102. package/dist/commonjs/runtime/native/styles/constants.js +8 -0
  103. package/dist/commonjs/runtime/native/styles/constants.js.map +1 -0
  104. package/dist/commonjs/runtime/native/styles/defaults.js +69 -0
  105. package/dist/commonjs/runtime/native/styles/defaults.js.map +1 -0
  106. package/dist/commonjs/runtime/native/styles/index.js +223 -0
  107. package/dist/commonjs/runtime/native/styles/index.js.map +1 -0
  108. package/dist/commonjs/runtime/native/styles/resolve.js +96 -0
  109. package/dist/commonjs/runtime/native/styles/resolve.js.map +1 -0
  110. package/dist/commonjs/runtime/native/styles/shorthand.js +62 -0
  111. package/dist/commonjs/runtime/native/styles/shorthand.js.map +1 -0
  112. package/dist/commonjs/runtime/native/styles/text-shadow.js +13 -0
  113. package/dist/commonjs/runtime/native/styles/text-shadow.js.map +1 -0
  114. package/dist/commonjs/runtime/native/styles/transform.js +17 -0
  115. package/dist/commonjs/runtime/native/styles/transform.js.map +1 -0
  116. package/dist/commonjs/runtime/native/styles/units.js +46 -0
  117. package/dist/commonjs/runtime/native/styles/units.js.map +1 -0
  118. package/dist/commonjs/runtime/native/styles/variables.js +57 -0
  119. package/dist/commonjs/runtime/native/styles/variables.js.map +1 -0
  120. package/dist/commonjs/runtime/runtime.js +17 -0
  121. package/dist/commonjs/runtime/runtime.js.map +1 -0
  122. package/dist/commonjs/runtime/runtime.native.js +17 -0
  123. package/dist/commonjs/runtime/runtime.native.js.map +1 -0
  124. package/dist/commonjs/runtime/runtime.types.js +6 -0
  125. package/dist/commonjs/runtime/runtime.types.js.map +1 -0
  126. package/dist/commonjs/runtime/utils/components.js +18 -0
  127. package/dist/commonjs/runtime/utils/components.js.map +1 -0
  128. package/dist/commonjs/runtime/utils/dot-notation.types.js +2 -0
  129. package/dist/commonjs/runtime/utils/dot-notation.types.js.map +1 -0
  130. package/dist/commonjs/runtime/utils/index.js +61 -0
  131. package/dist/commonjs/runtime/utils/index.js.map +1 -0
  132. package/dist/commonjs/runtime/utils/objects.js +71 -0
  133. package/dist/commonjs/runtime/utils/objects.js.map +1 -0
  134. package/dist/commonjs/runtime/utils/specificity.js +43 -0
  135. package/dist/commonjs/runtime/utils/specificity.js.map +1 -0
  136. package/dist/commonjs/runtime/utils/style-value.js +14 -0
  137. package/dist/commonjs/runtime/utils/style-value.js.map +1 -0
  138. package/dist/commonjs/runtime/utils/utils.types.js +6 -0
  139. package/dist/commonjs/runtime/utils/utils.types.js.map +1 -0
  140. package/dist/commonjs/runtime/web/api.js +68 -0
  141. package/dist/commonjs/runtime/web/api.js.map +1 -0
  142. package/dist/commonjs/runtime/web/assign-style.js +27 -0
  143. package/dist/commonjs/runtime/web/assign-style.js.map +1 -0
  144. package/dist/commonjs/runtime/web/index.js +17 -0
  145. package/dist/commonjs/runtime/web/index.js.map +1 -0
  146. package/dist/module/babel/helpers.js +120 -0
  147. package/dist/module/babel/helpers.js.map +1 -0
  148. package/dist/module/babel/import-plugin.js +93 -0
  149. package/dist/module/babel/import-plugin.js.map +1 -0
  150. package/dist/module/babel/index.js +9 -0
  151. package/dist/module/babel/index.js.map +1 -0
  152. package/dist/module/compiler/add.js +168 -0
  153. package/dist/module/compiler/add.js.map +1 -0
  154. package/dist/module/compiler/compiler.js +461 -0
  155. package/dist/module/compiler/compiler.js.map +1 -0
  156. package/dist/module/compiler/compiler.types.js +72 -0
  157. package/dist/module/compiler/compiler.types.js.map +1 -0
  158. package/dist/module/compiler/container-query.js +59 -0
  159. package/dist/module/compiler/container-query.js.map +1 -0
  160. package/dist/module/compiler/declarations.js +1834 -0
  161. package/dist/module/compiler/declarations.js.map +1 -0
  162. package/dist/module/compiler/functions-web.js +32 -0
  163. package/dist/module/compiler/functions-web.js.map +1 -0
  164. package/dist/module/compiler/functions.js +47 -0
  165. package/dist/module/compiler/functions.js.map +1 -0
  166. package/dist/module/compiler/index.js +9 -0
  167. package/dist/module/compiler/index.js.map +1 -0
  168. package/dist/module/compiler/keyframes.js +63 -0
  169. package/dist/module/compiler/keyframes.js.map +1 -0
  170. package/dist/module/compiler/media-query.js +166 -0
  171. package/dist/module/compiler/media-query.js.map +1 -0
  172. package/dist/module/compiler/selectors.js +325 -0
  173. package/dist/module/compiler/selectors.js.map +1 -0
  174. package/dist/module/components/ActivityIndicator.js +16 -0
  175. package/dist/module/components/ActivityIndicator.js.map +1 -0
  176. package/dist/module/components/SafeAreaProvider/index.js +36 -0
  177. package/dist/module/components/SafeAreaProvider/index.js.map +1 -0
  178. package/dist/module/components/SafeAreaProvider/index.web.js +4 -0
  179. package/dist/module/components/SafeAreaProvider/index.web.js.map +1 -0
  180. package/dist/module/components/Text.js +11 -0
  181. package/dist/module/components/Text.js.map +1 -0
  182. package/dist/module/components/TextInput.js +16 -0
  183. package/dist/module/components/TextInput.js.map +1 -0
  184. package/dist/module/components/View.js +11 -0
  185. package/dist/module/components/View.js.map +1 -0
  186. package/dist/module/components/index.js +6 -0
  187. package/dist/module/components/index.js.map +1 -0
  188. package/dist/module/doctor/index.js +4 -0
  189. package/dist/module/doctor/index.js.map +1 -0
  190. package/dist/module/index.js +4 -0
  191. package/dist/module/index.js.map +1 -0
  192. package/dist/module/jest/expect.d.js +2 -0
  193. package/dist/module/jest/expect.d.js.map +1 -0
  194. package/dist/module/jest/index.js +28 -0
  195. package/dist/module/jest/index.js.map +1 -0
  196. package/dist/module/jest/setup.js +3 -0
  197. package/dist/module/jest/setup.js.map +1 -0
  198. package/dist/module/jest/setupAfterEnv.js +15 -0
  199. package/dist/module/jest/setupAfterEnv.js.map +1 -0
  200. package/dist/module/metro/index.js +100 -0
  201. package/dist/module/metro/index.js.map +1 -0
  202. package/dist/module/metro/injection-code.js +8 -0
  203. package/dist/module/metro/injection-code.js.map +1 -0
  204. package/dist/module/metro/metro-transformer.js +17 -0
  205. package/dist/module/metro/metro-transformer.js.map +1 -0
  206. package/dist/module/metro/picocolors.js +67 -0
  207. package/dist/module/metro/picocolors.js.map +1 -0
  208. package/dist/module/metro/stringify.js +55 -0
  209. package/dist/module/metro/stringify.js.map +1 -0
  210. package/dist/module/metro/typescript.js +42 -0
  211. package/dist/module/metro/typescript.js.map +1 -0
  212. package/dist/module/package.json +1 -0
  213. package/dist/module/runtime/index.js +9 -0
  214. package/dist/module/runtime/index.js.map +1 -0
  215. package/dist/module/runtime/native/api.js +75 -0
  216. package/dist/module/runtime/native/api.js.map +1 -0
  217. package/dist/module/runtime/native/conditions/container-query.js +110 -0
  218. package/dist/module/runtime/native/conditions/container-query.js.map +1 -0
  219. package/dist/module/runtime/native/conditions/guards.js +23 -0
  220. package/dist/module/runtime/native/conditions/guards.js.map +1 -0
  221. package/dist/module/runtime/native/conditions/index.js +70 -0
  222. package/dist/module/runtime/native/conditions/index.js.map +1 -0
  223. package/dist/module/runtime/native/conditions/media-query.js +86 -0
  224. package/dist/module/runtime/native/conditions/media-query.js.map +1 -0
  225. package/dist/module/runtime/native/index.js +6 -0
  226. package/dist/module/runtime/native/index.js.map +1 -0
  227. package/dist/module/runtime/native/injection.js +75 -0
  228. package/dist/module/runtime/native/injection.js.map +1 -0
  229. package/dist/module/runtime/native/metro.js +5 -0
  230. package/dist/module/runtime/native/metro.js.map +1 -0
  231. package/dist/module/runtime/native/react/interaction.js +59 -0
  232. package/dist/module/runtime/native/react/interaction.js.map +1 -0
  233. package/dist/module/runtime/native/react/rules.js +251 -0
  234. package/dist/module/runtime/native/react/rules.js.map +1 -0
  235. package/dist/module/runtime/native/react/useNativeCss.js +152 -0
  236. package/dist/module/runtime/native/react/useNativeCss.js.map +1 -0
  237. package/dist/module/runtime/native/react/usePassthrough.js +45 -0
  238. package/dist/module/runtime/native/react/usePassthrough.js.map +1 -0
  239. package/dist/module/runtime/native/reactivity.js +181 -0
  240. package/dist/module/runtime/native/reactivity.js.map +1 -0
  241. package/dist/module/runtime/native/styles/animation.js +85 -0
  242. package/dist/module/runtime/native/styles/animation.js.map +1 -0
  243. package/dist/module/runtime/native/styles/calc.js +108 -0
  244. package/dist/module/runtime/native/styles/calc.js.map +1 -0
  245. package/dist/module/runtime/native/styles/constants.js +4 -0
  246. package/dist/module/runtime/native/styles/constants.js.map +1 -0
  247. package/dist/module/runtime/native/styles/defaults.js +65 -0
  248. package/dist/module/runtime/native/styles/defaults.js.map +1 -0
  249. package/dist/module/runtime/native/styles/index.js +218 -0
  250. package/dist/module/runtime/native/styles/index.js.map +1 -0
  251. package/dist/module/runtime/native/styles/resolve.js +92 -0
  252. package/dist/module/runtime/native/styles/resolve.js.map +1 -0
  253. package/dist/module/runtime/native/styles/shorthand.js +57 -0
  254. package/dist/module/runtime/native/styles/shorthand.js.map +1 -0
  255. package/dist/module/runtime/native/styles/text-shadow.js +9 -0
  256. package/dist/module/runtime/native/styles/text-shadow.js.map +1 -0
  257. package/dist/module/runtime/native/styles/transform.js +12 -0
  258. package/dist/module/runtime/native/styles/transform.js.map +1 -0
  259. package/dist/module/runtime/native/styles/units.js +37 -0
  260. package/dist/module/runtime/native/styles/units.js.map +1 -0
  261. package/dist/module/runtime/native/styles/variables.js +53 -0
  262. package/dist/module/runtime/native/styles/variables.js.map +1 -0
  263. package/dist/module/runtime/runtime.js +4 -0
  264. package/dist/module/runtime/runtime.js.map +1 -0
  265. package/dist/module/runtime/runtime.native.js +4 -0
  266. package/dist/module/runtime/runtime.native.js.map +1 -0
  267. package/dist/module/runtime/runtime.types.js +4 -0
  268. package/dist/module/runtime/runtime.types.js.map +1 -0
  269. package/dist/module/runtime/utils/components.js +14 -0
  270. package/dist/module/runtime/utils/components.js.map +1 -0
  271. package/dist/module/runtime/utils/dot-notation.types.js +2 -0
  272. package/dist/module/runtime/utils/dot-notation.types.js.map +1 -0
  273. package/dist/module/runtime/utils/index.js +8 -0
  274. package/dist/module/runtime/utils/index.js.map +1 -0
  275. package/dist/module/runtime/utils/objects.js +64 -0
  276. package/dist/module/runtime/utils/objects.js.map +1 -0
  277. package/dist/module/runtime/utils/specificity.js +38 -0
  278. package/dist/module/runtime/utils/specificity.js.map +1 -0
  279. package/dist/module/runtime/utils/style-value.js +10 -0
  280. package/dist/module/runtime/utils/style-value.js.map +1 -0
  281. package/dist/module/runtime/utils/utils.types.js +4 -0
  282. package/dist/module/runtime/utils/utils.types.js.map +1 -0
  283. package/dist/module/runtime/web/api.js +59 -0
  284. package/dist/module/runtime/web/api.js.map +1 -0
  285. package/dist/module/runtime/web/assign-style.js +23 -0
  286. package/dist/module/runtime/web/assign-style.js.map +1 -0
  287. package/dist/module/runtime/web/index.js +4 -0
  288. package/dist/module/runtime/web/index.js.map +1 -0
  289. package/dist/typescript/commonjs/example/src/App.d.ts +3 -0
  290. package/dist/typescript/commonjs/example/src/App.d.ts.map +1 -0
  291. package/dist/typescript/commonjs/package.json +1 -0
  292. package/dist/typescript/commonjs/src/babel/helpers.d.ts +18 -0
  293. package/dist/typescript/commonjs/src/babel/helpers.d.ts.map +1 -0
  294. package/dist/typescript/commonjs/src/babel/import-plugin.d.ts +6 -0
  295. package/dist/typescript/commonjs/src/babel/import-plugin.d.ts.map +1 -0
  296. package/dist/typescript/commonjs/src/babel/index.d.ts +1 -0
  297. package/dist/typescript/commonjs/src/babel/index.d.ts.map +1 -0
  298. package/dist/typescript/commonjs/src/compiler/add.d.ts +10 -0
  299. package/dist/typescript/commonjs/src/compiler/add.d.ts.map +1 -0
  300. package/dist/typescript/commonjs/src/compiler/compiler.d.ts +10 -0
  301. package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -0
  302. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +279 -0
  303. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -0
  304. package/dist/typescript/commonjs/src/compiler/container-query.d.ts +5 -0
  305. package/dist/typescript/commonjs/src/compiler/container-query.d.ts.map +1 -0
  306. package/dist/typescript/commonjs/src/compiler/declarations.d.ts +28 -0
  307. package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -0
  308. package/dist/typescript/commonjs/src/compiler/functions-web.d.ts +11 -0
  309. package/dist/typescript/commonjs/src/compiler/functions-web.d.ts.map +1 -0
  310. package/dist/typescript/commonjs/src/compiler/functions.d.ts +11 -0
  311. package/dist/typescript/commonjs/src/compiler/functions.d.ts.map +1 -0
  312. package/dist/typescript/commonjs/src/compiler/index.d.ts +7 -0
  313. package/dist/typescript/commonjs/src/compiler/index.d.ts.map +1 -0
  314. package/dist/typescript/commonjs/src/compiler/keyframes.d.ts +6 -0
  315. package/dist/typescript/commonjs/src/compiler/keyframes.d.ts.map +1 -0
  316. package/dist/typescript/commonjs/src/compiler/media-query.d.ts +7 -0
  317. package/dist/typescript/commonjs/src/compiler/media-query.d.ts.map +1 -0
  318. package/dist/typescript/commonjs/src/compiler/selectors.d.ts +18 -0
  319. package/dist/typescript/commonjs/src/compiler/selectors.d.ts.map +1 -0
  320. package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts +3 -0
  321. package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts.map +1 -0
  322. package/dist/typescript/commonjs/src/components/SafeAreaProvider/index.d.ts +4 -0
  323. package/dist/typescript/commonjs/src/components/SafeAreaProvider/index.d.ts.map +1 -0
  324. package/dist/typescript/commonjs/src/components/SafeAreaProvider/index.web.d.ts +2 -0
  325. package/dist/typescript/commonjs/src/components/SafeAreaProvider/index.web.d.ts.map +1 -0
  326. package/dist/typescript/commonjs/src/components/Text.d.ts +8 -0
  327. package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -0
  328. package/dist/typescript/commonjs/src/components/TextInput.d.ts +13 -0
  329. package/dist/typescript/commonjs/src/components/TextInput.d.ts.map +1 -0
  330. package/dist/typescript/commonjs/src/components/View.d.ts +8 -0
  331. package/dist/typescript/commonjs/src/components/View.d.ts.map +1 -0
  332. package/dist/typescript/commonjs/src/components/index.d.ts +4 -0
  333. package/dist/typescript/commonjs/src/components/index.d.ts.map +1 -0
  334. package/dist/typescript/commonjs/src/doctor/index.d.ts +2 -0
  335. package/dist/typescript/commonjs/src/doctor/index.d.ts.map +1 -0
  336. package/dist/typescript/commonjs/src/index.d.ts +2 -0
  337. package/dist/typescript/commonjs/src/index.d.ts.map +1 -0
  338. package/dist/typescript/commonjs/src/jest/index.d.ts +14 -0
  339. package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -0
  340. package/dist/typescript/commonjs/src/jest/setup.d.ts +1 -0
  341. package/dist/typescript/commonjs/src/jest/setup.d.ts.map +1 -0
  342. package/dist/typescript/commonjs/src/jest/setupAfterEnv.d.ts +1 -0
  343. package/dist/typescript/commonjs/src/jest/setupAfterEnv.d.ts.map +1 -0
  344. package/dist/typescript/commonjs/src/metro/index.d.ts +10 -0
  345. package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -0
  346. package/dist/typescript/commonjs/src/metro/injection-code.d.ts +2 -0
  347. package/dist/typescript/commonjs/src/metro/injection-code.d.ts.map +1 -0
  348. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts +3 -0
  349. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -0
  350. package/dist/typescript/commonjs/src/metro/picocolors.d.ts +27 -0
  351. package/dist/typescript/commonjs/src/metro/picocolors.d.ts.map +1 -0
  352. package/dist/typescript/commonjs/src/metro/stringify.d.ts +7 -0
  353. package/dist/typescript/commonjs/src/metro/stringify.d.ts.map +1 -0
  354. package/dist/typescript/commonjs/src/metro/typescript.d.ts +2 -0
  355. package/dist/typescript/commonjs/src/metro/typescript.d.ts.map +1 -0
  356. package/dist/typescript/commonjs/src/runtime/index.d.ts +7 -0
  357. package/dist/typescript/commonjs/src/runtime/index.d.ts.map +1 -0
  358. package/dist/typescript/commonjs/src/runtime/native/api.d.ts +17 -0
  359. package/dist/typescript/commonjs/src/runtime/native/api.d.ts.map +1 -0
  360. package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts +7 -0
  361. package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts.map +1 -0
  362. package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts +5 -0
  363. package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts.map +1 -0
  364. package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts +6 -0
  365. package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts.map +1 -0
  366. package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts +4 -0
  367. package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts.map +1 -0
  368. package/dist/typescript/commonjs/src/runtime/native/index.d.ts +4 -0
  369. package/dist/typescript/commonjs/src/runtime/native/index.d.ts.map +1 -0
  370. package/dist/typescript/commonjs/src/runtime/native/injection.d.ts +16 -0
  371. package/dist/typescript/commonjs/src/runtime/native/injection.d.ts.map +1 -0
  372. package/dist/typescript/commonjs/src/runtime/native/metro.d.ts +2 -0
  373. package/dist/typescript/commonjs/src/runtime/native/metro.d.ts.map +1 -0
  374. package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts +6 -0
  375. package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts.map +1 -0
  376. package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts +6 -0
  377. package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts.map +1 -0
  378. package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts +37 -0
  379. package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts.map +1 -0
  380. package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts +4 -0
  381. package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts.map +1 -0
  382. package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts +63 -0
  383. package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts.map +1 -0
  384. package/dist/typescript/commonjs/src/runtime/native/styles/animation.d.ts +8 -0
  385. package/dist/typescript/commonjs/src/runtime/native/styles/animation.d.ts.map +1 -0
  386. package/dist/typescript/commonjs/src/runtime/native/styles/calc.d.ts +3 -0
  387. package/dist/typescript/commonjs/src/runtime/native/styles/calc.d.ts.map +1 -0
  388. package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts +2 -0
  389. package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts.map +1 -0
  390. package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts +3 -0
  391. package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts.map +1 -0
  392. package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts +20 -0
  393. package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts.map +1 -0
  394. package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts +14 -0
  395. package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts.map +1 -0
  396. package/dist/typescript/commonjs/src/runtime/native/styles/shorthand.d.ts +12 -0
  397. package/dist/typescript/commonjs/src/runtime/native/styles/shorthand.d.ts.map +1 -0
  398. package/dist/typescript/commonjs/src/runtime/native/styles/text-shadow.d.ts +2 -0
  399. package/dist/typescript/commonjs/src/runtime/native/styles/text-shadow.d.ts.map +1 -0
  400. package/dist/typescript/commonjs/src/runtime/native/styles/transform.d.ts +7 -0
  401. package/dist/typescript/commonjs/src/runtime/native/styles/transform.d.ts.map +1 -0
  402. package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts +6 -0
  403. package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts.map +1 -0
  404. package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts +5 -0
  405. package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts.map +1 -0
  406. package/dist/typescript/commonjs/src/runtime/runtime.d.ts +2 -0
  407. package/dist/typescript/commonjs/src/runtime/runtime.d.ts.map +1 -0
  408. package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts +2 -0
  409. package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts.map +1 -0
  410. package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts +62 -0
  411. package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts.map +1 -0
  412. package/dist/typescript/commonjs/src/runtime/utils/components.d.ts +2 -0
  413. package/dist/typescript/commonjs/src/runtime/utils/components.d.ts.map +1 -0
  414. package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts +23 -0
  415. package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts.map +1 -0
  416. package/dist/typescript/commonjs/src/runtime/utils/index.d.ts +6 -0
  417. package/dist/typescript/commonjs/src/runtime/utils/index.d.ts.map +1 -0
  418. package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts +4 -0
  419. package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts.map +1 -0
  420. package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts +12 -0
  421. package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts.map +1 -0
  422. package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts +3 -0
  423. package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts.map +1 -0
  424. package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts +5 -0
  425. package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts.map +1 -0
  426. package/dist/typescript/commonjs/src/runtime/web/api.d.ts +10 -0
  427. package/dist/typescript/commonjs/src/runtime/web/api.d.ts.map +1 -0
  428. package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts +2 -0
  429. package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts.map +1 -0
  430. package/dist/typescript/commonjs/src/runtime/web/index.d.ts +3 -0
  431. package/dist/typescript/commonjs/src/runtime/web/index.d.ts.map +1 -0
  432. package/dist/typescript/module/example/src/App.d.ts +3 -0
  433. package/dist/typescript/module/example/src/App.d.ts.map +1 -0
  434. package/dist/typescript/module/package.json +1 -0
  435. package/dist/typescript/module/src/babel/helpers.d.ts +18 -0
  436. package/dist/typescript/module/src/babel/helpers.d.ts.map +1 -0
  437. package/dist/typescript/module/src/babel/import-plugin.d.ts +6 -0
  438. package/dist/typescript/module/src/babel/import-plugin.d.ts.map +1 -0
  439. package/dist/typescript/module/src/babel/index.d.ts +1 -0
  440. package/dist/typescript/module/src/babel/index.d.ts.map +1 -0
  441. package/dist/typescript/module/src/compiler/add.d.ts +10 -0
  442. package/dist/typescript/module/src/compiler/add.d.ts.map +1 -0
  443. package/dist/typescript/module/src/compiler/compiler.d.ts +10 -0
  444. package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -0
  445. package/dist/typescript/module/src/compiler/compiler.types.d.ts +279 -0
  446. package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -0
  447. package/dist/typescript/module/src/compiler/container-query.d.ts +5 -0
  448. package/dist/typescript/module/src/compiler/container-query.d.ts.map +1 -0
  449. package/dist/typescript/module/src/compiler/declarations.d.ts +28 -0
  450. package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -0
  451. package/dist/typescript/module/src/compiler/functions-web.d.ts +11 -0
  452. package/dist/typescript/module/src/compiler/functions-web.d.ts.map +1 -0
  453. package/dist/typescript/module/src/compiler/functions.d.ts +11 -0
  454. package/dist/typescript/module/src/compiler/functions.d.ts.map +1 -0
  455. package/dist/typescript/module/src/compiler/index.d.ts +7 -0
  456. package/dist/typescript/module/src/compiler/index.d.ts.map +1 -0
  457. package/dist/typescript/module/src/compiler/keyframes.d.ts +6 -0
  458. package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -0
  459. package/dist/typescript/module/src/compiler/media-query.d.ts +7 -0
  460. package/dist/typescript/module/src/compiler/media-query.d.ts.map +1 -0
  461. package/dist/typescript/module/src/compiler/selectors.d.ts +18 -0
  462. package/dist/typescript/module/src/compiler/selectors.d.ts.map +1 -0
  463. package/dist/typescript/module/src/components/ActivityIndicator.d.ts +3 -0
  464. package/dist/typescript/module/src/components/ActivityIndicator.d.ts.map +1 -0
  465. package/dist/typescript/module/src/components/SafeAreaProvider/index.d.ts +4 -0
  466. package/dist/typescript/module/src/components/SafeAreaProvider/index.d.ts.map +1 -0
  467. package/dist/typescript/module/src/components/SafeAreaProvider/index.web.d.ts +2 -0
  468. package/dist/typescript/module/src/components/SafeAreaProvider/index.web.d.ts.map +1 -0
  469. package/dist/typescript/module/src/components/Text.d.ts +8 -0
  470. package/dist/typescript/module/src/components/Text.d.ts.map +1 -0
  471. package/dist/typescript/module/src/components/TextInput.d.ts +13 -0
  472. package/dist/typescript/module/src/components/TextInput.d.ts.map +1 -0
  473. package/dist/typescript/module/src/components/View.d.ts +8 -0
  474. package/dist/typescript/module/src/components/View.d.ts.map +1 -0
  475. package/dist/typescript/module/src/components/index.d.ts +4 -0
  476. package/dist/typescript/module/src/components/index.d.ts.map +1 -0
  477. package/dist/typescript/module/src/doctor/index.d.ts +2 -0
  478. package/dist/typescript/module/src/doctor/index.d.ts.map +1 -0
  479. package/dist/typescript/module/src/index.d.ts +2 -0
  480. package/dist/typescript/module/src/index.d.ts.map +1 -0
  481. package/dist/typescript/module/src/jest/index.d.ts +14 -0
  482. package/dist/typescript/module/src/jest/index.d.ts.map +1 -0
  483. package/dist/typescript/module/src/jest/setup.d.ts +1 -0
  484. package/dist/typescript/module/src/jest/setup.d.ts.map +1 -0
  485. package/dist/typescript/module/src/jest/setupAfterEnv.d.ts +1 -0
  486. package/dist/typescript/module/src/jest/setupAfterEnv.d.ts.map +1 -0
  487. package/dist/typescript/module/src/metro/index.d.ts +10 -0
  488. package/dist/typescript/module/src/metro/index.d.ts.map +1 -0
  489. package/dist/typescript/module/src/metro/injection-code.d.ts +2 -0
  490. package/dist/typescript/module/src/metro/injection-code.d.ts.map +1 -0
  491. package/dist/typescript/module/src/metro/metro-transformer.d.ts +3 -0
  492. package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -0
  493. package/dist/typescript/module/src/metro/picocolors.d.ts +27 -0
  494. package/dist/typescript/module/src/metro/picocolors.d.ts.map +1 -0
  495. package/dist/typescript/module/src/metro/stringify.d.ts +7 -0
  496. package/dist/typescript/module/src/metro/stringify.d.ts.map +1 -0
  497. package/dist/typescript/module/src/metro/typescript.d.ts +2 -0
  498. package/dist/typescript/module/src/metro/typescript.d.ts.map +1 -0
  499. package/dist/typescript/module/src/runtime/index.d.ts +7 -0
  500. package/dist/typescript/module/src/runtime/index.d.ts.map +1 -0
  501. package/dist/typescript/module/src/runtime/native/api.d.ts +17 -0
  502. package/dist/typescript/module/src/runtime/native/api.d.ts.map +1 -0
  503. package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts +7 -0
  504. package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts.map +1 -0
  505. package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts +5 -0
  506. package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts.map +1 -0
  507. package/dist/typescript/module/src/runtime/native/conditions/index.d.ts +6 -0
  508. package/dist/typescript/module/src/runtime/native/conditions/index.d.ts.map +1 -0
  509. package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts +4 -0
  510. package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts.map +1 -0
  511. package/dist/typescript/module/src/runtime/native/index.d.ts +4 -0
  512. package/dist/typescript/module/src/runtime/native/index.d.ts.map +1 -0
  513. package/dist/typescript/module/src/runtime/native/injection.d.ts +16 -0
  514. package/dist/typescript/module/src/runtime/native/injection.d.ts.map +1 -0
  515. package/dist/typescript/module/src/runtime/native/metro.d.ts +2 -0
  516. package/dist/typescript/module/src/runtime/native/metro.d.ts.map +1 -0
  517. package/dist/typescript/module/src/runtime/native/react/interaction.d.ts +6 -0
  518. package/dist/typescript/module/src/runtime/native/react/interaction.d.ts.map +1 -0
  519. package/dist/typescript/module/src/runtime/native/react/rules.d.ts +6 -0
  520. package/dist/typescript/module/src/runtime/native/react/rules.d.ts.map +1 -0
  521. package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts +37 -0
  522. package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts.map +1 -0
  523. package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts +4 -0
  524. package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts.map +1 -0
  525. package/dist/typescript/module/src/runtime/native/reactivity.d.ts +63 -0
  526. package/dist/typescript/module/src/runtime/native/reactivity.d.ts.map +1 -0
  527. package/dist/typescript/module/src/runtime/native/styles/animation.d.ts +8 -0
  528. package/dist/typescript/module/src/runtime/native/styles/animation.d.ts.map +1 -0
  529. package/dist/typescript/module/src/runtime/native/styles/calc.d.ts +3 -0
  530. package/dist/typescript/module/src/runtime/native/styles/calc.d.ts.map +1 -0
  531. package/dist/typescript/module/src/runtime/native/styles/constants.d.ts +2 -0
  532. package/dist/typescript/module/src/runtime/native/styles/constants.d.ts.map +1 -0
  533. package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts +3 -0
  534. package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts.map +1 -0
  535. package/dist/typescript/module/src/runtime/native/styles/index.d.ts +20 -0
  536. package/dist/typescript/module/src/runtime/native/styles/index.d.ts.map +1 -0
  537. package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts +14 -0
  538. package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts.map +1 -0
  539. package/dist/typescript/module/src/runtime/native/styles/shorthand.d.ts +12 -0
  540. package/dist/typescript/module/src/runtime/native/styles/shorthand.d.ts.map +1 -0
  541. package/dist/typescript/module/src/runtime/native/styles/text-shadow.d.ts +2 -0
  542. package/dist/typescript/module/src/runtime/native/styles/text-shadow.d.ts.map +1 -0
  543. package/dist/typescript/module/src/runtime/native/styles/transform.d.ts +7 -0
  544. package/dist/typescript/module/src/runtime/native/styles/transform.d.ts.map +1 -0
  545. package/dist/typescript/module/src/runtime/native/styles/units.d.ts +6 -0
  546. package/dist/typescript/module/src/runtime/native/styles/units.d.ts.map +1 -0
  547. package/dist/typescript/module/src/runtime/native/styles/variables.d.ts +5 -0
  548. package/dist/typescript/module/src/runtime/native/styles/variables.d.ts.map +1 -0
  549. package/dist/typescript/module/src/runtime/runtime.d.ts +2 -0
  550. package/dist/typescript/module/src/runtime/runtime.d.ts.map +1 -0
  551. package/dist/typescript/module/src/runtime/runtime.native.d.ts +2 -0
  552. package/dist/typescript/module/src/runtime/runtime.native.d.ts.map +1 -0
  553. package/dist/typescript/module/src/runtime/runtime.types.d.ts +62 -0
  554. package/dist/typescript/module/src/runtime/runtime.types.d.ts.map +1 -0
  555. package/dist/typescript/module/src/runtime/utils/components.d.ts +2 -0
  556. package/dist/typescript/module/src/runtime/utils/components.d.ts.map +1 -0
  557. package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts +23 -0
  558. package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts.map +1 -0
  559. package/dist/typescript/module/src/runtime/utils/index.d.ts +6 -0
  560. package/dist/typescript/module/src/runtime/utils/index.d.ts.map +1 -0
  561. package/dist/typescript/module/src/runtime/utils/objects.d.ts +4 -0
  562. package/dist/typescript/module/src/runtime/utils/objects.d.ts.map +1 -0
  563. package/dist/typescript/module/src/runtime/utils/specificity.d.ts +12 -0
  564. package/dist/typescript/module/src/runtime/utils/specificity.d.ts.map +1 -0
  565. package/dist/typescript/module/src/runtime/utils/style-value.d.ts +3 -0
  566. package/dist/typescript/module/src/runtime/utils/style-value.d.ts.map +1 -0
  567. package/dist/typescript/module/src/runtime/utils/utils.types.d.ts +5 -0
  568. package/dist/typescript/module/src/runtime/utils/utils.types.d.ts.map +1 -0
  569. package/dist/typescript/module/src/runtime/web/api.d.ts +10 -0
  570. package/dist/typescript/module/src/runtime/web/api.d.ts.map +1 -0
  571. package/dist/typescript/module/src/runtime/web/assign-style.d.ts +2 -0
  572. package/dist/typescript/module/src/runtime/web/assign-style.d.ts.map +1 -0
  573. package/dist/typescript/module/src/runtime/web/index.d.ts +3 -0
  574. package/dist/typescript/module/src/runtime/web/index.d.ts.map +1 -0
  575. package/package.json +191 -47
  576. package/src/babel/helpers.ts +182 -0
  577. package/src/babel/import-plugin.ts +183 -0
  578. package/src/babel/index.ts +9 -0
  579. package/src/compiler/add.ts +257 -0
  580. package/src/compiler/compiler.ts +627 -0
  581. package/src/compiler/compiler.types.ts +372 -0
  582. package/src/compiler/container-query.ts +97 -0
  583. package/src/compiler/declarations.ts +3146 -0
  584. package/src/compiler/functions-web.ts +44 -0
  585. package/src/compiler/functions.ts +64 -0
  586. package/src/compiler/index.ts +7 -0
  587. package/src/compiler/keyframes.ts +100 -0
  588. package/src/compiler/media-query.ts +250 -0
  589. package/src/compiler/selectors.ts +473 -0
  590. package/src/components/ActivityIndicator.tsx +19 -0
  591. package/src/components/SafeAreaProvider/index.tsx +50 -0
  592. package/src/components/SafeAreaProvider/index.web.tsx +1 -0
  593. package/src/components/Text.tsx +15 -0
  594. package/src/components/TextInput.tsx +20 -0
  595. package/src/components/View.tsx +15 -0
  596. package/src/components/index.tsx +4 -0
  597. package/src/doctor/index.ts +1 -0
  598. package/src/index.ts +1 -0
  599. package/src/jest/expect.d.ts +1 -0
  600. package/src/jest/index.ts +40 -0
  601. package/src/jest/setup.ts +1 -0
  602. package/src/jest/setupAfterEnv.ts +13 -0
  603. package/src/metro/index.ts +137 -0
  604. package/src/metro/injection-code.ts +8 -0
  605. package/src/metro/metro-transformer.ts +31 -0
  606. package/src/metro/picocolors.ts +77 -0
  607. package/src/metro/stringify.ts +59 -0
  608. package/src/metro/typescript.ts +73 -0
  609. package/src/runtime/index.ts +7 -0
  610. package/src/runtime/native/api.ts +106 -0
  611. package/src/runtime/native/conditions/container-query.ts +157 -0
  612. package/src/runtime/native/conditions/guards.ts +37 -0
  613. package/src/runtime/native/conditions/index.ts +106 -0
  614. package/src/runtime/native/conditions/media-query.ts +92 -0
  615. package/src/runtime/native/index.ts +5 -0
  616. package/src/runtime/native/injection.ts +101 -0
  617. package/src/runtime/native/metro.ts +2 -0
  618. package/src/runtime/native/react/interaction.ts +90 -0
  619. package/src/runtime/native/react/rules.ts +333 -0
  620. package/src/runtime/native/react/useNativeCss.ts +200 -0
  621. package/src/runtime/native/react/usePassthrough.ts +51 -0
  622. package/src/runtime/native/reactivity.ts +266 -0
  623. package/src/runtime/native/styles/animation.ts +142 -0
  624. package/src/runtime/native/styles/calc.ts +120 -0
  625. package/src/runtime/native/styles/constants.ts +1 -0
  626. package/src/runtime/native/styles/defaults.ts +78 -0
  627. package/src/runtime/native/styles/index.ts +333 -0
  628. package/src/runtime/native/styles/resolve.ts +131 -0
  629. package/src/runtime/native/styles/shorthand.ts +101 -0
  630. package/src/runtime/native/styles/text-shadow.ts +17 -0
  631. package/src/runtime/native/styles/transform.ts +15 -0
  632. package/src/runtime/native/styles/units.ts +48 -0
  633. package/src/runtime/native/styles/variables.ts +72 -0
  634. package/src/runtime/runtime.native.ts +1 -0
  635. package/src/runtime/runtime.ts +1 -0
  636. package/src/runtime/runtime.types.ts +155 -0
  637. package/src/runtime/utils/components.ts +15 -0
  638. package/src/runtime/utils/dot-notation.types.ts +118 -0
  639. package/src/runtime/utils/index.ts +5 -0
  640. package/src/runtime/utils/objects.ts +82 -0
  641. package/src/runtime/utils/specificity.ts +44 -0
  642. package/src/runtime/utils/style-value.ts +12 -0
  643. package/src/runtime/utils/utils.types.ts +19 -0
  644. package/src/runtime/web/api.ts +88 -0
  645. package/src/runtime/web/assign-style.ts +26 -0
  646. package/src/runtime/web/index.ts +2 -0
  647. package/.babelrc +0 -17
  648. package/.editorconfig +0 -17
  649. package/.eslintignore +0 -3
  650. package/.eslintrc +0 -39
  651. package/.npmignore +0 -7
  652. package/build/index.js +0 -299
  653. package/build/utils.js +0 -61
  654. package/circle.yml +0 -31
  655. package/jsconfig.json +0 -9
  656. package/login.sh +0 -11
  657. package/src/index.js +0 -184
  658. package/src/utils.js +0 -32
  659. package/test/rnc.test.js +0 -258
  660. package/yarn.lock +0 -3333
@@ -0,0 +1,5 @@
1
+ import type { ContainerCondition as CSSContainerCondition } from "lightningcss";
2
+ import type { MediaCondition } from "./compiler.types";
3
+ import type { ParserOptions } from "./declarations";
4
+ export declare function parseContainerCondition(condition: CSSContainerCondition, options: ParserOptions): MediaCondition | undefined;
5
+ //# sourceMappingURL=container-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container-query.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/container-query.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,kBAAkB,IAAI,qBAAqB,EAE5C,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAMpD,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,qBAAqB,EAChC,OAAO,EAAE,aAAa,8BAUvB"}
@@ -0,0 +1,28 @@
1
+ import type { Declaration, DimensionPercentageFor_LengthValue, Length, LengthValue, NumberOrPercentage, Scale, TokenOrValue, Translate, UnresolvedColor } from "lightningcss";
2
+ import type { AddFn } from "./add";
3
+ import type { FeatureFlagRecord, StyleDescriptor } from "./compiler.types";
4
+ export interface ParseDeclarationOptions {
5
+ inlineRem?: number | false;
6
+ features?: FeatureFlagRecord;
7
+ allowAuto?: boolean;
8
+ }
9
+ export interface ParserOptions extends ParseDeclarationOptions {
10
+ add: AddFn;
11
+ addWarning: AddWarningShort;
12
+ }
13
+ declare function AddWarning(type: "property", property: string): undefined;
14
+ declare function AddWarning(type: "function", name: string): undefined;
15
+ declare function AddWarning(type: "value", property: string, value: any): undefined;
16
+ export type AddWarningFn = typeof AddWarning;
17
+ declare function AddWarningShort(type: "property", value: never): undefined;
18
+ declare function AddWarningShort(type: "value", value: any): undefined;
19
+ declare function AddWarningShort(type: "function", name: any): undefined;
20
+ type AddWarningShort = typeof AddWarningShort;
21
+ export declare function parseDeclaration(declaration: Declaration, options: ParseDeclarationOptions, add: AddFn, addWarning: AddWarningFn): void;
22
+ export declare function parseLength(length: number | Length | DimensionPercentageFor_LengthValue | NumberOrPercentage | LengthValue, options: ParserOptions): StyleDescriptor;
23
+ export declare function parseCalcFn(name: string, tokens: TokenOrValue[], options: ParserOptions): StyleDescriptor;
24
+ export declare function parseTranslate(translate: Translate, prop: keyof Extract<Translate, object>, options: ParserOptions): StyleDescriptor;
25
+ export declare function parseScale(translate: Scale, prop: keyof Extract<Scale, object>, options: ParserOptions): StyleDescriptor;
26
+ export declare function parseUnresolvedColor(color: UnresolvedColor, options: ParserOptions): StyleDescriptor;
27
+ export {};
28
+ //# sourceMappingURL=declarations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"declarations.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/declarations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAUV,WAAW,EACX,kCAAkC,EAUlC,MAAM,EAEN,WAAW,EAIX,kBAAkB,EAGlB,KAAK,EASL,YAAY,EACZ,SAAS,EACT,eAAe,EAGhB,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EAEhB,MAAM,kBAAkB,CAAC;AA0K1B,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC3B,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,aAAc,SAAQ,uBAAuB;IAC5D,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE,eAAe,CAAC;CAC7B;AAED,OAAO,UAAU,UAAU,CAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;AAC3E,OAAO,UAAU,UAAU,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;AACvE,OAAO,UAAU,UAAU,CACzB,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,GAAG,GACT,SAAS,CAAC;AACb,MAAM,MAAM,YAAY,GAAG,OAAO,UAAU,CAAC;AAE7C,OAAO,UAAU,eAAe,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;AAC5E,OAAO,UAAU,eAAe,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,GAAG,SAAS,CAAC;AACvE,OAAO,UAAU,eAAe,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,GAAG,SAAS,CAAC;AACzE,KAAK,eAAe,GAAG,OAAO,eAAe,CAAC;AAE9C,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,uBAAuB,EAChC,GAAG,EAAE,KAAK,EACV,UAAU,EAAE,YAAY,QAwvCzB;AAwUD,wBAAgB,WAAW,CACzB,MAAM,EACF,MAAM,GACN,MAAM,GACN,kCAAkC,GAClC,kBAAkB,GAClB,WAAW,EACf,OAAO,EAAE,aAAa,GACrB,eAAe,CA2FjB;AAwyBD,wBAAgB,WAAW,CACzB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,YAAY,EAAE,EACtB,OAAO,EAAE,aAAa,GACrB,eAAe,CAOjB;AAiID,wBAAgB,cAAc,CAC5B,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,MAAM,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,EACtC,OAAO,EAAE,aAAa,GACrB,eAAe,CAMjB;AAED,wBAAgB,UAAU,CACxB,SAAS,EAAE,KAAK,EAChB,IAAI,EAAE,MAAM,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,EAClC,OAAO,EAAE,aAAa,GACrB,eAAe,CAMjB;AAED,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,eAAe,EACtB,OAAO,EAAE,aAAa,GACrB,eAAe,CA0BjB"}
@@ -0,0 +1,11 @@
1
+ import type { PlatformOSType } from "react-native";
2
+ export declare function hairlineWidth(): number;
3
+ export declare function platformSelect(specifics: Partial<Record<PlatformOSType | "default", unknown>>): unknown;
4
+ export declare function pixelScaleSelect(specifics: Partial<Record<number | "default", unknown>>): unknown;
5
+ export declare function fontScaleSelect(specifics: Partial<Record<number | "default", unknown>>): unknown;
6
+ export declare function pixelScale(value?: number): number;
7
+ export declare function fontScale(value?: number): number;
8
+ export declare function getPixelSizeForLayoutSize(value: number): number;
9
+ export declare function roundToNearestPixel(value: number): number;
10
+ export declare function platformColor(...colors: string[]): string[];
11
+ //# sourceMappingURL=functions-web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions-web.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/functions-web.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,wBAAgB,aAAa,WAE5B;AAED,wBAAgB,cAAc,CAC5B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,WAGhE;AAED,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,WAGxD;AAED,wBAAgB,eAAe,CAC7B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,WAGxD;AAED,wBAAgB,UAAU,CAAC,KAAK,SAAI,UAEnC;AAED,wBAAgB,SAAS,CAAC,KAAK,SAAI,UAElC;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,UAEtD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,UAEhD;AAED,wBAAgB,aAAa,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,YAEhD"}
@@ -0,0 +1,11 @@
1
+ import type { PlatformOSType } from "react-native";
2
+ export declare function hairlineWidth(): string;
3
+ export declare function platformSelect(specifics: Partial<Record<PlatformOSType | "default", unknown>>): string;
4
+ export declare function pixelScaleSelect(specifics: Partial<Record<number | "default", unknown>>): string;
5
+ export declare function fontScaleSelect(specifics: Partial<Record<number | "default", unknown>>): string;
6
+ export declare function pixelScale(value?: number): string;
7
+ export declare function fontScale(value?: number): string;
8
+ export declare function getPixelSizeForLayoutSize(value: number): string;
9
+ export declare function roundToNearestPixel(value: number): string;
10
+ export declare function platformColor(...colors: string[]): string;
11
+ //# sourceMappingURL=functions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/functions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,wBAAgB,aAAa,WAE5B;AAED,wBAAgB,cAAc,CAC5B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,UAOhE;AAED,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,UAOxD;AAED,wBAAgB,eAAe,CAC7B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,UAOxD;AAED,wBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,MAAM,UAExC;AAED,wBAAgB,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,UAEvC;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,UAEtD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,UAEhD;AAED,wBAAgB,aAAa,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,UAUhD"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * A CSS-to-JSON compiler for React Native focusing on minimal output.
3
+ * @module
4
+ */
5
+ export * from "./compiler";
6
+ export type * from "./compiler.types";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,YAAY,CAAC;AAC3B,mBAAmB,kBAAkB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { AnimationIterationCount, EasingFunction as CSSEasingFunction, Declaration, KeyframesRule } from "lightningcss";
2
+ import type { CompilerCollection, EasingFunction } from "./compiler.types";
3
+ export declare function parseIterationCount(value: AnimationIterationCount[]): number[];
4
+ export declare function parseEasingFunction(value: CSSEasingFunction[]): EasingFunction[];
5
+ export declare function extractKeyFrames(keyframes: KeyframesRule<Declaration>, collection: CompilerCollection): void;
6
+ //# sourceMappingURL=keyframes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyframes.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/keyframes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,uBAAuB,EACvB,cAAc,IAAI,iBAAiB,EACnC,WAAW,EACX,aAAa,EACd,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAEV,kBAAkB,EAClB,cAAc,EAEf,MAAM,kBAAkB,CAAC;AAG1B,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,uBAAuB,EAAE,GAC/B,MAAM,EAAE,CAIV;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,iBAAiB,EAAE,GACzB,cAAc,EAAE,CAmBlB;AAED,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,EACrC,UAAU,EAAE,kBAAkB,QAG/B"}
@@ -0,0 +1,7 @@
1
+ import type { MediaFeatureComparison as CSSMediaFeatureComparison, MediaFeatureValue as CSSMediaFeatureValue, MediaQuery as CSSMediaQuery } from "lightningcss";
2
+ import type { MediaCondition, MediaFeatureComparison, StyleDescriptor } from "./compiler.types";
3
+ import { type ParserOptions } from "./declarations";
4
+ export declare function parseMediaQuery(query: CSSMediaQuery, options: ParserOptions): MediaCondition | undefined;
5
+ export declare function parseMediaFeatureValue(value: CSSMediaFeatureValue, options: ParserOptions): StyleDescriptor;
6
+ export declare function parseMediaFeatureOperator(operator: CSSMediaFeatureComparison): MediaFeatureComparison;
7
+ //# sourceMappingURL=media-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media-query.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/media-query.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,sBAAsB,IAAI,yBAAyB,EACnD,iBAAiB,IAAI,oBAAoB,EACzC,UAAU,IAAI,aAAa,EAE5B,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EACV,cAAc,EACd,sBAAsB,EACtB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEjE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,aAAa,EACpB,OAAO,EAAE,aAAa,GACrB,cAAc,GAAG,SAAS,CAuC5B;AAuED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,oBAAoB,EAC3B,OAAO,EAAE,aAAa,GACrB,eAAe,CAoCjB;AAED,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,yBAAyB,GAClC,sBAAsB,CAgBxB"}
@@ -0,0 +1,18 @@
1
+ import type { SelectorList } from "lightningcss";
2
+ import type { CompilerCollection, MediaCondition, SpecificityArray, StyleRule } from "./compiler.types";
3
+ export type NormalizeSelector = {
4
+ type: "rootVariables" | "universalVariables";
5
+ subtype: "light" | "dark";
6
+ } | {
7
+ type: "className";
8
+ specificity: SpecificityArray;
9
+ classNames: ([string] | [string, Partial<StyleRule>])[];
10
+ };
11
+ /**
12
+ * Turns a CSS selector into a `react-native-css` selector.
13
+ */
14
+ export declare function getSelectors(extractedStyle: StyleRule, selectorList: SelectorList, collection: CompilerCollection, selectors?: NormalizeSelector[], mediaQuery?: MediaCondition[]): NormalizeSelector[];
15
+ export declare function toRNProperty<T extends string>(str: T): CamelCase<T>;
16
+ type CamelCase<S extends string> = S extends `${infer P1}-${infer P2}${infer P3}` ? `${Lowercase<P1>}${Uppercase<P2>}${CamelCase<P3>}` : Lowercase<S>;
17
+ export {};
18
+ //# sourceMappingURL=selectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,YAAY,EAAE,MAAM,cAAc,CAAC;AAG9E,OAAO,KAAK,EAGV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,SAAS,EACV,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,iBAAiB,GACzB;IACE,IAAI,EAAE,eAAe,GAAG,oBAAoB,CAAC;IAC7C,OAAO,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B,GACD;IACE,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;CACzD,CAAC;AAEN;;GAEG;AACH,wBAAgB,YAAY,CAC1B,cAAc,EAAE,SAAS,EACzB,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,kBAAkB,EAC9B,SAAS,GAAE,iBAAiB,EAAO,EACnC,UAAU,GAAE,cAAc,EAAO,uBA6GlC;AAkUD,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,GAGF,SAAS,CAAC,CAAC,CAAC,CAC9D;AAED,KAAK,SAAS,CAAC,CAAC,SAAS,MAAM,IAC7B,CAAC,SAAS,GAAG,MAAM,EAAE,IAAI,MAAM,EAAE,GAAG,MAAM,EAAE,EAAE,GAC1C,GAAG,SAAS,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE,GAClD,SAAS,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type ActivityIndicatorProps } from "react-native";
2
+ export declare function ActivityIndicator(props: ActivityIndicatorProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
3
+ //# sourceMappingURL=ActivityIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActivityIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActivityIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,cAAc,CAAC;AAatB,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,0FAE9D"}
@@ -0,0 +1,4 @@
1
+ import { type ComponentProps } from "react";
2
+ import { SafeAreaProvider as RNSafeAreaProvider } from "react-native-safe-area-context";
3
+ export declare function SafeAreaProvider({ children, ...props }: ComponentProps<typeof RNSafeAreaProvider>): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SafeAreaProvider/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,gBAAgB,IAAI,kBAAkB,EAEvC,MAAM,gCAAgC,CAAC;AAOxC,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,kBAAkB,CAAC,2CAM3C"}
@@ -0,0 +1,2 @@
1
+ export { SafeAreaProvider } from "react-native-safe-area-context";
2
+ //# sourceMappingURL=index.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SafeAreaProvider/index.web.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type TextProps } from "react-native";
2
+ import { type StyledProps } from "../runtime";
3
+ declare const mapping: {
4
+ className: "style";
5
+ };
6
+ export declare function Text(props: StyledProps<TextProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
7
+ export {};
8
+ //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO;;CAEiC,CAAC;AAE/C,wBAAgB,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,SAAS,EAAE,OAAO,OAAO,CAAC,0FAEjE"}
@@ -0,0 +1,13 @@
1
+ import { type TextInputProps } from "react-native";
2
+ import { type StyledProps } from "../runtime";
3
+ declare const mapping: {
4
+ className: {
5
+ target: "style";
6
+ nativeStyleMapping: {
7
+ selectionColor: "selectionColor";
8
+ };
9
+ };
10
+ };
11
+ export declare function TextInput(props: StyledProps<TextInputProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
12
+ export {};
13
+ //# sourceMappingURL=TextInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAE7E,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO;;;;;;;CAOsC,CAAC;AAEpD,wBAAgB,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC,cAAc,EAAE,OAAO,OAAO,CAAC,0FAE3E"}
@@ -0,0 +1,8 @@
1
+ import { type ViewProps } from "react-native";
2
+ import { type StyledProps } from "../runtime";
3
+ declare const mapping: {
4
+ className: "style";
5
+ };
6
+ export declare function View(props: StyledProps<ViewProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
7
+ export {};
8
+ //# sourceMappingURL=View.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../src/components/View.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO;;CAEiC,CAAC;AAE/C,wBAAgB,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,SAAS,EAAE,OAAO,OAAO,CAAC,0FAEjE"}
@@ -0,0 +1,4 @@
1
+ export * from "react-native";
2
+ export { Text } from "./Text";
3
+ export { View } from "./View";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/doctor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./runtime";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type CompilerOptions } from "../compiler";
2
+ declare global {
3
+ namespace jest {
4
+ interface Matchers<R> {
5
+ toHaveAnimatedStyle(style?: any): R;
6
+ }
7
+ }
8
+ }
9
+ export * from "@testing-library/react-native";
10
+ export declare const testID = "react-native-css";
11
+ export declare function registerCSS(css: string, { debugCompiled, ...options }?: CompilerOptions & {
12
+ debugCompiled?: boolean;
13
+ }): void;
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/jest/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAW,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAI5D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,IAAI,CAAC;QACb,UAAU,QAAQ,CAAC,CAAC;YAElB,mBAAmB,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,CAAC,CAAC;SACrC;KACF;CACF;AAED,cAAc,+BAA+B,CAAC;AAC9C,eAAO,MAAM,MAAM,qBAAqB,CAAC;AASzC,wBAAgB,WAAW,CACzB,GAAG,EAAE,MAAM,EACX,EACE,aAA+D,EAC/D,GAAG,OAAO,EACX,GAAE,eAAe,GAAG;IAAE,aAAa,CAAC,EAAE,OAAO,CAAA;CAAO,QAQtD"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../../../src/jest/setup.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=setupAfterEnv.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupAfterEnv.d.ts","sourceRoot":"","sources":["../../../../../src/jest/setupAfterEnv.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import type { MetroConfig } from "metro-config";
2
+ export interface WithReactNativeCSSOptions {
3
+ browserslist?: string | null;
4
+ browserslistEnv?: string | null;
5
+ libName?: string;
6
+ typescriptEnvPath?: string;
7
+ disableTypeScriptGeneration?: boolean;
8
+ }
9
+ export declare function withReactNativeCSS<T extends MetroConfig | (() => Promise<MetroConfig>)>(config: T, options?: WithReactNativeCSSOptions): T;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/metro/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAMhD,MAAM,WAAW,yBAAyB;IACxC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAED,wBAAgB,kBAAkB,CAChC,CAAC,SAAS,WAAW,GAAG,CAAC,MAAM,OAAO,CAAC,WAAW,CAAC,CAAC,EACpD,MAAM,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,yBAAyB,GAAG,CAAC,CAmHnD"}
@@ -0,0 +1,2 @@
1
+ export declare function getInjectionCode(filePath: string, values: unknown[]): Buffer<ArrayBuffer>;
2
+ //# sourceMappingURL=injection-code.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"injection-code.d.ts","sourceRoot":"","sources":["../../../../../src/metro/injection-code.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,uBAOnE"}
@@ -0,0 +1,3 @@
1
+ import type { JsTransformerConfig, JsTransformOptions, TransformResponse } from "metro-transform-worker";
2
+ export declare function transform(config: JsTransformerConfig, projectRoot: string, filePath: string, data: Buffer, options: JsTransformOptions): Promise<TransformResponse>;
3
+ //# sourceMappingURL=metro-transformer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metro-transformer.d.ts","sourceRoot":"","sources":["../../../../../src/metro/metro-transformer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAMhC,wBAAgB,SAAS,CACvB,MAAM,EAAE,mBAAmB,EAC3B,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,iBAAiB,CAAC,CAc5B"}
@@ -0,0 +1,27 @@
1
+ export declare const reset: (s: string) => string;
2
+ export declare const bold: (input: string) => string;
3
+ export declare const dim: (input: string) => string;
4
+ export declare const italic: (input: string) => string;
5
+ export declare const underline: (input: string) => string;
6
+ export declare const inverse: (input: string) => string;
7
+ export declare const hidden: (input: string) => string;
8
+ export declare const strikethrough: (input: string) => string;
9
+ export declare const black: (input: string) => string;
10
+ export declare const red: (input: string) => string;
11
+ export declare const green: (input: string) => string;
12
+ export declare const yellow: (input: string) => string;
13
+ export declare const blue: (input: string) => string;
14
+ export declare const magenta: (input: string) => string;
15
+ export declare const purple: (input: string) => string;
16
+ export declare const cyan: (input: string) => string;
17
+ export declare const white: (input: string) => string;
18
+ export declare const gray: (input: string) => string;
19
+ export declare const bgBlack: (input: string) => string;
20
+ export declare const bgRed: (input: string) => string;
21
+ export declare const bgGreen: (input: string) => string;
22
+ export declare const bgYellow: (input: string) => string;
23
+ export declare const bgBlue: (input: string) => string;
24
+ export declare const bgMagenta: (input: string) => string;
25
+ export declare const bgCyan: (input: string) => string;
26
+ export declare const bgWhite: (input: string) => string;
27
+ //# sourceMappingURL=picocolors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"picocolors.d.ts","sourceRoot":"","sources":["../../../../../src/metro/picocolors.ts"],"names":[],"mappings":"AAmDA,eAAO,MAAM,KAAK,MAAiB,MAAM,WAAkC,CAAC;AAC5E,eAAO,MAAM,IAAI,UAVA,MAAM,WAUgD,CAAC;AACxE,eAAO,MAAM,GAAG,UAXC,MAAM,WAW+C,CAAC;AACvE,eAAO,MAAM,MAAM,UAZF,MAAM,WAY+B,CAAC;AACvD,eAAO,MAAM,SAAS,UAbL,MAAM,WAakC,CAAC;AAC1D,eAAO,MAAM,OAAO,UAdH,MAAM,WAcgC,CAAC;AACxD,eAAO,MAAM,MAAM,UAfF,MAAM,WAe+B,CAAC;AACvD,eAAO,MAAM,aAAa,UAhBT,MAAM,WAgBsC,CAAC;AAC9D,eAAO,MAAM,KAAK,UAjBD,MAAM,WAiB+B,CAAC;AACvD,eAAO,MAAM,GAAG,UAlBC,MAAM,WAkB6B,CAAC;AACrD,eAAO,MAAM,KAAK,UAnBD,MAAM,WAmB+B,CAAC;AACvD,eAAO,MAAM,MAAM,UApBF,MAAM,WAoBgC,CAAC;AACxD,eAAO,MAAM,IAAI,UArBA,MAAM,WAqB8B,CAAC;AACtD,eAAO,MAAM,OAAO,UAtBH,MAAM,WAsBiC,CAAC;AACzD,eAAO,MAAM,MAAM,UAvBF,MAAM,WAuB8C,CAAC;AACtE,eAAO,MAAM,IAAI,UAxBA,MAAM,WAwB8B,CAAC;AACtD,eAAO,MAAM,KAAK,UAzBD,MAAM,WAyB+B,CAAC;AACvD,eAAO,MAAM,IAAI,UA1BA,MAAM,WA0B8B,CAAC;AACtD,eAAO,MAAM,OAAO,UA3BH,MAAM,WA2BiC,CAAC;AACzD,eAAO,MAAM,KAAK,UA5BD,MAAM,WA4B+B,CAAC;AACvD,eAAO,MAAM,OAAO,UA7BH,MAAM,WA6BiC,CAAC;AACzD,eAAO,MAAM,QAAQ,UA9BJ,MAAM,WA8BkC,CAAC;AAC1D,eAAO,MAAM,MAAM,UA/BF,MAAM,WA+BgC,CAAC;AACxD,eAAO,MAAM,SAAS,UAhCL,MAAM,WAgCmC,CAAC;AAC3D,eAAO,MAAM,MAAM,UAjCF,MAAM,WAiCgC,CAAC;AACxD,eAAO,MAAM,OAAO,UAlCH,MAAM,WAkCiC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Convert a data structure to JavaScript.
3
+ * The output should be similar to JSON, but without the extra characters.
4
+ * This is simply to reduce file size in production
5
+ */
6
+ export declare function stringify(data: unknown): string;
7
+ //# sourceMappingURL=stringify.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stringify.d.ts","sourceRoot":"","sources":["../../../../../src/metro/stringify.ts"],"names":[],"mappings":"AACA;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAoD/C"}
@@ -0,0 +1,2 @@
1
+ export declare function setupTypeScript(envPath?: string, name?: string): void;
2
+ //# sourceMappingURL=typescript.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../../../src/metro/typescript.ts"],"names":[],"mappings":"AAOA,wBAAgB,eAAe,CAC7B,OAAO,SAA8B,EACrC,IAAI,SAAqB,QA+D1B"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * An opinionated runtime for React Native CSS.
3
+ * @module
4
+ */
5
+ export * from "./runtime";
6
+ export type * from "./runtime.types";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/runtime/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,WAAW,CAAC;AAC1B,mBAAmB,iBAAiB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { StyleDescriptor } from "../../compiler";
2
+ import type { ColorScheme, Props, StyledConfiguration, StyledOptions } from "../runtime.types";
3
+ import type { ReactComponent } from "../utils";
4
+ export { StyleCollection } from "./injection";
5
+ /**
6
+ * Generates a new Higher-Order component the wraps the base component and applies the styles.
7
+ * This is added to the `interopComponents` map so that it can be used in the `wrapJSX` function
8
+ * @param baseComponent
9
+ * @param mapping
10
+ */
11
+ export declare const styled: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(baseComponent: C, mapping: M, options?: StyledOptions) => any;
12
+ export declare const colorScheme: ColorScheme;
13
+ export declare const useUnstableNativeVariable: typeof useNativeVariable;
14
+ export declare const useCssElement: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(component: C, incomingProps: Props, mapping: M) => import("react").FunctionComponentElement<import("react").FragmentProps> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
15
+ export declare function useNativeVariable(name: string): any;
16
+ export declare function vars(variables: Record<string, StyleDescriptor>): Record<string, StyleDescriptor>;
17
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../../src/runtime/native/api.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAkB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,KAAK,EACV,WAAW,EACX,KAAK,EACL,mBAAmB,EACnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAY/C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C;;;;;GAKG;AACH,eAAO,MAAM,MAAM,GACjB,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,EACnC,KAAK,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,CAAC,EAEtC,eAAe,CAAC,EAChB,SAAS,CAAC,EACV,UAAU,aAAa,QAoBxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAOzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,0BAAoB,CAAC;AAE3D,eAAO,MAAM,aAAa,GACxB,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,EACnC,KAAK,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,CAAC,EAEtC,WAAW,CAAC,EACZ,eAAe,KAAK,EACpB,SAAS,CAAC,qKAIX,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,OAkB7C;AAED,wBAAgB,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,mCAG9D"}
@@ -0,0 +1,7 @@
1
+ import type { ContainerQuery } from "../../../compiler";
2
+ import { type ContainerContextValue, type Effect } from "../reactivity";
3
+ import type { RenderGuard } from "./guards";
4
+ export declare const DEFAULT_CONTAINER_NAME = "c:___default___";
5
+ export declare function testContainerQueries(queries: ContainerQuery[], inheritedContainers: ContainerContextValue, guards: RenderGuard[], effect: Effect): boolean;
6
+ export declare function testContainerQuery(query: ContainerQuery, inheritedContainers: ContainerContextValue, guards: RenderGuard[], effect?: Effect): boolean;
7
+ //# sourceMappingURL=container-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container-query.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/conditions/container-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,cAAc,EAIf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAML,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AAExD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,cAAc,EAAE,EACzB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,MAAM,EAAE,MAAM,WAKf;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,cAAc,EACrB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAmBT"}
@@ -0,0 +1,5 @@
1
+ import type { ComponentState } from "../react/useNativeCss";
2
+ import type { ContainerContextValue, Effect, VariableContextValue } from "../reactivity";
3
+ export type RenderGuard = ["a", string, any] | ["d", string, any] | ["v", string, any] | ["c", string, Effect];
4
+ export declare function testGuards(state: ComponentState, currentProps: any, inheritedVariables: VariableContextValue, inheritedContainers: ContainerContextValue): boolean | undefined;
5
+ //# sourceMappingURL=guards.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guards.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/conditions/guards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EACV,qBAAqB,EACrB,MAAM,EACN,oBAAoB,EACrB,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,WAAW,GACnB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAE1B,wBAAgB,UAAU,CACxB,KAAK,EAAE,cAAc,EACrB,YAAY,EAAE,GAAG,EACjB,kBAAkB,EAAE,oBAAoB,EACxC,mBAAmB,EAAE,qBAAqB,uBAkB3C"}
@@ -0,0 +1,6 @@
1
+ import type { StyleRule } from "../../../compiler";
2
+ import type { Props } from "../../runtime.types";
3
+ import { type ContainerContextValue, type Effect } from "../reactivity";
4
+ import type { RenderGuard } from "./guards";
5
+ export declare function testRule(rule: StyleRule, effect: Effect, props: Props, guards: RenderGuard[], containerContext: ContainerContextValue): boolean;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/conditions/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,SAAS,EACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,wBAAgB,QAAQ,CACtB,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,WAAW,EAAE,EACrB,gBAAgB,EAAE,qBAAqB,WAmBxC"}
@@ -0,0 +1,4 @@
1
+ import type { MediaCondition } from "../../../compiler";
2
+ import { type Effect } from "../reactivity";
3
+ export declare function testMediaQuery(mediaQueries: MediaCondition[], effect: Effect): boolean;
4
+ //# sourceMappingURL=media-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media-query.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/conditions/media-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAuB,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAEjE,wBAAgB,cAAc,CAAC,YAAY,EAAE,cAAc,EAAE,EAAE,MAAM,EAAE,MAAM,WAE5E"}
@@ -0,0 +1,4 @@
1
+ import "./metro";
2
+ export * from "./api";
3
+ export type * from "../runtime.types";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/runtime/native/index.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,CAAC;AAEjB,cAAc,OAAO,CAAC;AACtB,mBAAmB,kBAAkB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { ReactNativeCssStyleSheet, StyleRuleSet } from "../../compiler";
2
+ import { type Observable } from "./reactivity";
3
+ export declare function StyleCollection(): null;
4
+ export declare namespace StyleCollection {
5
+ var styles: ((key: string, args: void) => Observable<StyleRuleSet>) & {
6
+ delete(key: string): boolean;
7
+ clear(): void;
8
+ };
9
+ var keyframes: ((key: string, args: void) => Observable<import("../../compiler").AnimationKeyframes_V2[]>) & {
10
+ delete(key: string): boolean;
11
+ clear(): void;
12
+ };
13
+ var inject: (options: ReactNativeCssStyleSheet) => void;
14
+ }
15
+ export declare const inlineStylesMap: WeakMap<WeakKey, any>;
16
+ //# sourceMappingURL=injection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../../../../../src/runtime/native/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,wBAAwB,EACxB,YAAY,EACb,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAKL,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AAEtB,wBAAgB,eAAe,SAE9B;yBAFe,eAAe;;;;;;;;;0BAaa,wBAAwB;;AATpE,eAAO,MAAM,eAAe,uBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=metro.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metro.d.ts","sourceRoot":"","sources":["../../../../../../src/runtime/native/metro.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type Effect } from "../reactivity";
2
+ type Handler = (event: unknown) => void;
3
+ export type InteractionType = "onLayout" | "onHoverIn" | "onHoverOut" | "onPress" | "onPressIn" | "onPressOut" | "onFocus" | "onBlur";
4
+ export declare function getInteractionHandler(effect: Effect, type: InteractionType, handler?: Handler): (event: any) => void;
5
+ export {};
6
+ //# sourceMappingURL=interaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/react/interaction.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,KAAK,MAAM,EACZ,MAAM,eAAe,CAAC;AAOvB,KAAK,OAAO,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;AAExC,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,WAAW,GACX,YAAY,GACZ,SAAS,GACT,WAAW,GACX,YAAY,GACZ,SAAS,GACT,QAAQ,CAAC;AAab,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,eAAe,EACrB,OAAO,UAAwB,WA7BL,GAAG,KAAK,IAAI,CA4EvC"}
@@ -0,0 +1,6 @@
1
+ import { type VariableContextValue } from "../reactivity";
2
+ import type { ComponentState } from "./useNativeCss";
3
+ export declare const INLINE_RULE_SYMBOL: unique symbol;
4
+ export declare function updateRules(state: ComponentState, currentProps?: Record<string, any> | null | undefined, inheritedVariables?: VariableContextValue, inheritedContainers?: import("../reactivity").ContainerContextValue, forceUpdate?: boolean, isRerender?: boolean): ComponentState;
5
+ export declare function generateHash(state: ComponentState, iterableKeys?: Iterable<WeakKey>, variables?: WeakKey, inlineVars?: Set<WeakKey>): string;
6
+ //# sourceMappingURL=rules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/react/rules.ts"],"names":[],"mappings":"AAOA,OAAO,EAOL,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,cAAc,EAAU,MAAM,gBAAgB,CAAC;AAE7D,eAAO,MAAM,kBAAkB,eAAwC,CAAC;AAExE,wBAAgB,WAAW,CACzB,KAAK,EAAE,cAAc,EAErB,YAAY,yCAAqB,EACjC,kBAAkB,uBAA2B,EAC7C,mBAAmB,gDAA4B,EAC/C,WAAW,UAAQ,EACnB,UAAU,UAAO,GAChB,cAAc,CAqOhB;AAsCD,wBAAgB,YAAY,CAC1B,KAAK,EAAE,cAAc,EACrB,YAAY,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,EAChC,SAAS,CAAC,EAAE,OAAO,EACnB,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,GACxB,MAAM,CA+BR"}
@@ -0,0 +1,37 @@
1
+ import { type ComponentType } from "react";
2
+ import type { StyledConfiguration } from "../../runtime.types";
3
+ import { type RenderGuard } from "../conditions/guards";
4
+ import { type ContainerContextValue, type Effect, type VariableContextValue } from "../reactivity";
5
+ import { stylesFamily } from "../styles";
6
+ export type Config = {
7
+ source: string;
8
+ target: string[] | string | false;
9
+ nativeStyleMapping?: Record<string, string>;
10
+ };
11
+ export type ComponentState = {
12
+ /** The source/target for classNames */
13
+ configs: Config[];
14
+ /** Reactive tracking */
15
+ ruleEffect: Effect;
16
+ styleEffect: Effect;
17
+ /** The components props */
18
+ currentProps?: Record<string, any> | undefined | null;
19
+ /** An observable of the normal/important props */
20
+ stylesObs?: ReturnType<typeof stylesFamily>;
21
+ guards?: RenderGuard[];
22
+ variables?: VariableContextValue;
23
+ containers?: ContainerContextValue;
24
+ inheritedVariables: VariableContextValue;
25
+ inheritedContainers: ContainerContextValue;
26
+ animated?: boolean;
27
+ pressable?: undefined | boolean;
28
+ };
29
+ /**
30
+ * useNativeCss is the native implementation of the useCssElement hook.
31
+ */
32
+ export declare function useNativeCss(type: ComponentType<any>, originalProps: Record<string, any> | undefined | null, configs?: Config[]): import("react").FunctionComponentElement<import("react").FragmentProps> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
33
+ /**
34
+ * Convert the styled() mapping to a config array
35
+ */
36
+ export declare function mappingToConfig(mapping: StyledConfiguration<any>): Config[];
37
+ //# sourceMappingURL=useNativeCss.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNativeCss.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/react/useNativeCss.ts"],"names":[],"mappings":"AACA,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAkB,YAAY,EAAE,MAAM,WAAW,CAAC;AAIzD,MAAM,MAAM,MAAM,GAAG;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,KAAK,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,uCAAuC;IACvC,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB,wBAAwB;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IAEpB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC;IAEtD,kDAAkD;IAClD,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IAC5C,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IAEvB,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,UAAU,CAAC,EAAE,qBAAqB,CAAC;IAEnC,kBAAkB,EAAE,oBAAoB,CAAC;IACzC,mBAAmB,EAAE,qBAAqB,CAAC;IAE3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,EACxB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,EACrD,OAAO,GAAE,MAAM,EAA+C,oKAoG/D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,mBAAmB,CAAC,GAAG,CAAC,YAgChE"}
@@ -0,0 +1,4 @@
1
+ import { type ComponentType } from "react";
2
+ import type { Config } from "./useNativeCss";
3
+ export declare function usePassthrough(type: ComponentType<any>, { ...props }: Record<string, any>, configs: Config[]): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
4
+ //# sourceMappingURL=usePassthrough.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePassthrough.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtime/native/react/usePassthrough.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAG1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAI7C,wBAAgB,cAAc,CAC5B,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,EACxB,EAAE,GAAG,KAAK,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjC,OAAO,EAAE,MAAM,EAAE,0FAuClB"}