react-native-css 2.1.2 → 3.0.0-nightly.19372e8

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 (899) hide show
  1. package/{LICENSE.md → LICENSE} +6 -8
  2. package/README.md +177 -70
  3. package/dist/commonjs/babel/allowedModules.js +23 -0
  4. package/dist/commonjs/babel/allowedModules.js.map +1 -0
  5. package/dist/commonjs/babel/helpers.js +25 -0
  6. package/dist/commonjs/babel/helpers.js.map +1 -0
  7. package/dist/commonjs/babel/import-plugin.js +101 -0
  8. package/dist/commonjs/babel/import-plugin.js.map +1 -0
  9. package/dist/commonjs/babel/index.js +9 -0
  10. package/dist/commonjs/babel/index.js.map +1 -0
  11. package/dist/commonjs/babel/react-native-web.js +118 -0
  12. package/dist/commonjs/babel/react-native-web.js.map +1 -0
  13. package/dist/commonjs/babel/react-native.js +118 -0
  14. package/dist/commonjs/babel/react-native.js.map +1 -0
  15. package/dist/commonjs/compiler/atRules.js +114 -0
  16. package/dist/commonjs/compiler/atRules.js.map +1 -0
  17. package/dist/commonjs/compiler/compiler.js +281 -0
  18. package/dist/commonjs/compiler/compiler.js.map +1 -0
  19. package/dist/commonjs/compiler/compiler.types.js +4 -0
  20. package/dist/commonjs/compiler/compiler.types.js.map +1 -0
  21. package/dist/commonjs/compiler/container-query.js +63 -0
  22. package/dist/commonjs/compiler/container-query.js.map +1 -0
  23. package/dist/commonjs/compiler/declarations.js +2166 -0
  24. package/dist/commonjs/compiler/declarations.js.map +1 -0
  25. package/dist/commonjs/compiler/functions-web.js +44 -0
  26. package/dist/commonjs/compiler/functions-web.js.map +1 -0
  27. package/dist/commonjs/compiler/functions.js +59 -0
  28. package/dist/commonjs/compiler/functions.js.map +1 -0
  29. package/dist/commonjs/compiler/index.js +17 -0
  30. package/dist/commonjs/compiler/index.js.map +1 -0
  31. package/dist/commonjs/compiler/inheritance.test.js +78 -0
  32. package/dist/commonjs/compiler/inheritance.test.js.map +1 -0
  33. package/dist/commonjs/compiler/keyframes.js +60 -0
  34. package/dist/commonjs/compiler/keyframes.js.map +1 -0
  35. package/dist/commonjs/compiler/media-query.js +172 -0
  36. package/dist/commonjs/compiler/media-query.js.map +1 -0
  37. package/dist/commonjs/compiler/pseudo-elements.js +49 -0
  38. package/dist/commonjs/compiler/pseudo-elements.js.map +1 -0
  39. package/dist/commonjs/compiler/selector-builder.js +501 -0
  40. package/dist/commonjs/compiler/selector-builder.js.map +1 -0
  41. package/dist/commonjs/compiler/selectors.js +414 -0
  42. package/dist/commonjs/compiler/selectors.js.map +1 -0
  43. package/dist/commonjs/compiler/split-by-delimiter.js +21 -0
  44. package/dist/commonjs/compiler/split-by-delimiter.js.map +1 -0
  45. package/dist/commonjs/compiler/stylesheet.js +476 -0
  46. package/dist/commonjs/compiler/stylesheet.js.map +1 -0
  47. package/dist/commonjs/compiler/supports.js +27 -0
  48. package/dist/commonjs/compiler/supports.js.map +1 -0
  49. package/dist/commonjs/components/ActivityIndicator.js +22 -0
  50. package/dist/commonjs/components/ActivityIndicator.js.map +1 -0
  51. package/dist/commonjs/components/Button.js +22 -0
  52. package/dist/commonjs/components/Button.js.map +1 -0
  53. package/dist/commonjs/components/FlatList.js +19 -0
  54. package/dist/commonjs/components/FlatList.js.map +1 -0
  55. package/dist/commonjs/components/Image.js +17 -0
  56. package/dist/commonjs/components/Image.js.map +1 -0
  57. package/dist/commonjs/components/Switch.js +17 -0
  58. package/dist/commonjs/components/Switch.js.map +1 -0
  59. package/dist/commonjs/components/Text.js +17 -0
  60. package/dist/commonjs/components/Text.js.map +1 -0
  61. package/dist/commonjs/components/TextInput.js +17 -0
  62. package/dist/commonjs/components/TextInput.js.map +1 -0
  63. package/dist/commonjs/components/View.js +17 -0
  64. package/dist/commonjs/components/View.js.map +1 -0
  65. package/dist/commonjs/components/index.js +84 -0
  66. package/dist/commonjs/components/index.js.map +1 -0
  67. package/dist/commonjs/doctor/index.js +6 -0
  68. package/dist/commonjs/doctor/index.js.map +1 -0
  69. package/dist/commonjs/index.js +28 -0
  70. package/dist/commonjs/index.js.map +1 -0
  71. package/dist/commonjs/jest/expect.d.js +2 -0
  72. package/dist/commonjs/jest/expect.d.js.map +1 -0
  73. package/dist/commonjs/jest/index.js +56 -0
  74. package/dist/commonjs/jest/index.js.map +1 -0
  75. package/dist/commonjs/jest/setup.js +3 -0
  76. package/dist/commonjs/jest/setup.js.map +1 -0
  77. package/dist/commonjs/jest/setupAfterEnv.js +15 -0
  78. package/dist/commonjs/jest/setupAfterEnv.js.map +1 -0
  79. package/dist/commonjs/metro/index.js +167 -0
  80. package/dist/commonjs/metro/index.js.map +1 -0
  81. package/dist/commonjs/metro/injection-code.js +32 -0
  82. package/dist/commonjs/metro/injection-code.js.map +1 -0
  83. package/dist/commonjs/metro/metro-transformer.js +21 -0
  84. package/dist/commonjs/metro/metro-transformer.js.map +1 -0
  85. package/dist/commonjs/metro/picocolors.js +71 -0
  86. package/dist/commonjs/metro/picocolors.js.map +1 -0
  87. package/dist/commonjs/metro/resolver.js +62 -0
  88. package/dist/commonjs/metro/resolver.js.map +1 -0
  89. package/dist/commonjs/metro/stringify.js +59 -0
  90. package/dist/commonjs/metro/stringify.js.map +1 -0
  91. package/dist/commonjs/metro/typescript.js +47 -0
  92. package/dist/commonjs/metro/typescript.js.map +1 -0
  93. package/dist/commonjs/package.json +1 -0
  94. package/dist/commonjs/poison.pill.js +39 -0
  95. package/dist/commonjs/poison.pill.js.map +1 -0
  96. package/dist/commonjs/runtime/index.js +17 -0
  97. package/dist/commonjs/runtime/index.js.map +1 -0
  98. package/dist/commonjs/runtime/native/api.js +90 -0
  99. package/dist/commonjs/runtime/native/api.js.map +1 -0
  100. package/dist/commonjs/runtime/native/conditions/attributes.js +42 -0
  101. package/dist/commonjs/runtime/native/conditions/attributes.js.map +1 -0
  102. package/dist/commonjs/runtime/native/conditions/container-query.js +123 -0
  103. package/dist/commonjs/runtime/native/conditions/container-query.js.map +1 -0
  104. package/dist/commonjs/runtime/native/conditions/guards.js +33 -0
  105. package/dist/commonjs/runtime/native/conditions/guards.js.map +1 -0
  106. package/dist/commonjs/runtime/native/conditions/index.js +40 -0
  107. package/dist/commonjs/runtime/native/conditions/index.js.map +1 -0
  108. package/dist/commonjs/runtime/native/conditions/media-query.js +98 -0
  109. package/dist/commonjs/runtime/native/conditions/media-query.js.map +1 -0
  110. package/dist/commonjs/runtime/native/index.js +28 -0
  111. package/dist/commonjs/runtime/native/index.js.map +1 -0
  112. package/dist/commonjs/runtime/native/injection.js +100 -0
  113. package/dist/commonjs/runtime/native/injection.js.map +1 -0
  114. package/dist/commonjs/runtime/native/metro.js +6 -0
  115. package/dist/commonjs/runtime/native/metro.js.map +1 -0
  116. package/dist/commonjs/runtime/native/react/interaction.js +63 -0
  117. package/dist/commonjs/runtime/native/react/interaction.js.map +1 -0
  118. package/dist/commonjs/runtime/native/react/rules.js +255 -0
  119. package/dist/commonjs/runtime/native/react/rules.js.map +1 -0
  120. package/dist/commonjs/runtime/native/react/useNativeCss.js +159 -0
  121. package/dist/commonjs/runtime/native/react/useNativeCss.js.map +1 -0
  122. package/dist/commonjs/runtime/native/react/usePassthrough.js +50 -0
  123. package/dist/commonjs/runtime/native/react/usePassthrough.js.map +1 -0
  124. package/dist/commonjs/runtime/native/reactivity.js +178 -0
  125. package/dist/commonjs/runtime/native/reactivity.js.map +1 -0
  126. package/dist/commonjs/runtime/native/reanimated.js +17 -0
  127. package/dist/commonjs/runtime/native/reanimated.js.map +1 -0
  128. package/dist/commonjs/runtime/native/root.js +28 -0
  129. package/dist/commonjs/runtime/native/root.js.map +1 -0
  130. package/dist/commonjs/runtime/native/styles/calculate-props.js +148 -0
  131. package/dist/commonjs/runtime/native/styles/calculate-props.js.map +1 -0
  132. package/dist/commonjs/runtime/native/styles/constants.js +9 -0
  133. package/dist/commonjs/runtime/native/styles/constants.js.map +1 -0
  134. package/dist/commonjs/runtime/native/styles/defaults.js +69 -0
  135. package/dist/commonjs/runtime/native/styles/defaults.js.map +1 -0
  136. package/dist/commonjs/runtime/native/styles/functions/animation-timing.js +34 -0
  137. package/dist/commonjs/runtime/native/styles/functions/animation-timing.js.map +1 -0
  138. package/dist/commonjs/runtime/native/styles/functions/calc.js +125 -0
  139. package/dist/commonjs/runtime/native/styles/functions/calc.js.map +1 -0
  140. package/dist/commonjs/runtime/native/styles/functions/filters.js +84 -0
  141. package/dist/commonjs/runtime/native/styles/functions/filters.js.map +1 -0
  142. package/dist/commonjs/runtime/native/styles/functions/index.js +61 -0
  143. package/dist/commonjs/runtime/native/styles/functions/index.js.map +1 -0
  144. package/dist/commonjs/runtime/native/styles/functions/platform-functions.js +46 -0
  145. package/dist/commonjs/runtime/native/styles/functions/platform-functions.js.map +1 -0
  146. package/dist/commonjs/runtime/native/styles/functions/transform-functions.js +121 -0
  147. package/dist/commonjs/runtime/native/styles/functions/transform-functions.js.map +1 -0
  148. package/dist/commonjs/runtime/native/styles/index.js +115 -0
  149. package/dist/commonjs/runtime/native/styles/index.js.map +1 -0
  150. package/dist/commonjs/runtime/native/styles/resolve.js +106 -0
  151. package/dist/commonjs/runtime/native/styles/resolve.js.map +1 -0
  152. package/dist/commonjs/runtime/native/styles/shorthands/_handler.js +79 -0
  153. package/dist/commonjs/runtime/native/styles/shorthands/_handler.js.map +1 -0
  154. package/dist/commonjs/runtime/native/styles/shorthands/animation.js +57 -0
  155. package/dist/commonjs/runtime/native/styles/shorthands/animation.js.map +1 -0
  156. package/dist/commonjs/runtime/native/styles/shorthands/border.js +12 -0
  157. package/dist/commonjs/runtime/native/styles/shorthands/border.js.map +1 -0
  158. package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js +40 -0
  159. package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js.map +1 -0
  160. package/dist/commonjs/runtime/native/styles/shorthands/index.js +61 -0
  161. package/dist/commonjs/runtime/native/styles/shorthands/index.js.map +1 -0
  162. package/dist/commonjs/runtime/native/styles/shorthands/text-shadow.js +13 -0
  163. package/dist/commonjs/runtime/native/styles/shorthands/text-shadow.js.map +1 -0
  164. package/dist/commonjs/runtime/native/styles/shorthands/transform.js +23 -0
  165. package/dist/commonjs/runtime/native/styles/shorthands/transform.js.map +1 -0
  166. package/dist/commonjs/runtime/native/styles/units.js +52 -0
  167. package/dist/commonjs/runtime/native/styles/units.js.map +1 -0
  168. package/dist/commonjs/runtime/native/styles/variables.js +79 -0
  169. package/dist/commonjs/runtime/native/styles/variables.js.map +1 -0
  170. package/dist/commonjs/runtime/runtime.js +17 -0
  171. package/dist/commonjs/runtime/runtime.js.map +1 -0
  172. package/dist/commonjs/runtime/runtime.native.js +17 -0
  173. package/dist/commonjs/runtime/runtime.native.js.map +1 -0
  174. package/dist/commonjs/runtime/runtime.types.js +6 -0
  175. package/dist/commonjs/runtime/runtime.types.js.map +1 -0
  176. package/dist/commonjs/runtime/utils/components.js +18 -0
  177. package/dist/commonjs/runtime/utils/components.js.map +1 -0
  178. package/dist/commonjs/runtime/utils/dot-notation.types.js +2 -0
  179. package/dist/commonjs/runtime/utils/dot-notation.types.js.map +1 -0
  180. package/dist/commonjs/runtime/utils/index.js +61 -0
  181. package/dist/commonjs/runtime/utils/index.js.map +1 -0
  182. package/dist/commonjs/runtime/utils/objects.js +92 -0
  183. package/dist/commonjs/runtime/utils/objects.js.map +1 -0
  184. package/dist/commonjs/runtime/utils/specificity.js +44 -0
  185. package/dist/commonjs/runtime/utils/specificity.js.map +1 -0
  186. package/dist/commonjs/runtime/utils/style-value.js +21 -0
  187. package/dist/commonjs/runtime/utils/style-value.js.map +1 -0
  188. package/dist/commonjs/runtime/utils/utils.types.js +6 -0
  189. package/dist/commonjs/runtime/utils/utils.types.js.map +1 -0
  190. package/dist/commonjs/runtime/web/api.js +68 -0
  191. package/dist/commonjs/runtime/web/api.js.map +1 -0
  192. package/dist/commonjs/runtime/web/assign-style.js +27 -0
  193. package/dist/commonjs/runtime/web/assign-style.js.map +1 -0
  194. package/dist/commonjs/runtime/web/index.js +18 -0
  195. package/dist/commonjs/runtime/web/index.js.map +1 -0
  196. package/dist/commonjs/runtime/web/metro.js +6 -0
  197. package/dist/commonjs/runtime/web/metro.js.map +1 -0
  198. package/dist/module/babel/allowedModules.js +19 -0
  199. package/dist/module/babel/allowedModules.js.map +1 -0
  200. package/dist/module/babel/helpers.js +21 -0
  201. package/dist/module/babel/helpers.js.map +1 -0
  202. package/dist/module/babel/import-plugin.js +97 -0
  203. package/dist/module/babel/import-plugin.js.map +1 -0
  204. package/dist/module/babel/index.js +9 -0
  205. package/dist/module/babel/index.js.map +1 -0
  206. package/dist/module/babel/react-native-web.js +112 -0
  207. package/dist/module/babel/react-native-web.js.map +1 -0
  208. package/dist/module/babel/react-native.js +112 -0
  209. package/dist/module/babel/react-native.js.map +1 -0
  210. package/dist/module/compiler/atRules.js +110 -0
  211. package/dist/module/compiler/atRules.js.map +1 -0
  212. package/dist/module/compiler/compiler.js +276 -0
  213. package/dist/module/compiler/compiler.js.map +1 -0
  214. package/dist/module/compiler/compiler.types.js +60 -0
  215. package/dist/module/compiler/compiler.types.js.map +1 -0
  216. package/dist/module/compiler/container-query.js +59 -0
  217. package/dist/module/compiler/container-query.js.map +1 -0
  218. package/dist/module/compiler/declarations.js +2091 -0
  219. package/dist/module/compiler/declarations.js.map +1 -0
  220. package/dist/module/compiler/functions-web.js +32 -0
  221. package/dist/module/compiler/functions-web.js.map +1 -0
  222. package/dist/module/compiler/functions.js +47 -0
  223. package/dist/module/compiler/functions.js.map +1 -0
  224. package/dist/module/compiler/index.js +9 -0
  225. package/dist/module/compiler/index.js.map +1 -0
  226. package/dist/module/compiler/inheritance.test.js +78 -0
  227. package/dist/module/compiler/inheritance.test.js.map +1 -0
  228. package/dist/module/compiler/keyframes.js +54 -0
  229. package/dist/module/compiler/keyframes.js.map +1 -0
  230. package/dist/module/compiler/media-query.js +166 -0
  231. package/dist/module/compiler/media-query.js.map +1 -0
  232. package/dist/module/compiler/pseudo-elements.js +44 -0
  233. package/dist/module/compiler/pseudo-elements.js.map +1 -0
  234. package/dist/module/compiler/selector-builder.js +496 -0
  235. package/dist/module/compiler/selector-builder.js.map +1 -0
  236. package/dist/module/compiler/selectors.js +409 -0
  237. package/dist/module/compiler/selectors.js.map +1 -0
  238. package/dist/module/compiler/split-by-delimiter.js +17 -0
  239. package/dist/module/compiler/split-by-delimiter.js.map +1 -0
  240. package/dist/module/compiler/stylesheet.js +471 -0
  241. package/dist/module/compiler/stylesheet.js.map +1 -0
  242. package/dist/module/compiler/supports.js +23 -0
  243. package/dist/module/compiler/supports.js.map +1 -0
  244. package/dist/module/components/ActivityIndicator.js +17 -0
  245. package/dist/module/components/ActivityIndicator.js.map +1 -0
  246. package/dist/module/components/Button.js +17 -0
  247. package/dist/module/components/Button.js.map +1 -0
  248. package/dist/module/components/FlatList.js +14 -0
  249. package/dist/module/components/FlatList.js.map +1 -0
  250. package/dist/module/components/Image.js +12 -0
  251. package/dist/module/components/Image.js.map +1 -0
  252. package/dist/module/components/Switch.js +12 -0
  253. package/dist/module/components/Switch.js.map +1 -0
  254. package/dist/module/components/Text.js +12 -0
  255. package/dist/module/components/Text.js.map +1 -0
  256. package/dist/module/components/TextInput.js +12 -0
  257. package/dist/module/components/TextInput.js.map +1 -0
  258. package/dist/module/components/View.js +12 -0
  259. package/dist/module/components/View.js.map +1 -0
  260. package/dist/module/components/index.js +12 -0
  261. package/dist/module/components/index.js.map +1 -0
  262. package/dist/module/doctor/index.js +4 -0
  263. package/dist/module/doctor/index.js.map +1 -0
  264. package/dist/module/index.js +5 -0
  265. package/dist/module/index.js.map +1 -0
  266. package/dist/module/jest/expect.d.js +2 -0
  267. package/dist/module/jest/expect.d.js.map +1 -0
  268. package/dist/module/jest/index.js +50 -0
  269. package/dist/module/jest/index.js.map +1 -0
  270. package/dist/module/jest/setup.js +3 -0
  271. package/dist/module/jest/setup.js.map +1 -0
  272. package/dist/module/jest/setupAfterEnv.js +15 -0
  273. package/dist/module/jest/setupAfterEnv.js.map +1 -0
  274. package/dist/module/metro/index.js +161 -0
  275. package/dist/module/metro/index.js.map +1 -0
  276. package/dist/module/metro/injection-code.js +27 -0
  277. package/dist/module/metro/injection-code.js.map +1 -0
  278. package/dist/module/metro/metro-transformer.js +17 -0
  279. package/dist/module/metro/metro-transformer.js.map +1 -0
  280. package/dist/module/metro/picocolors.js +67 -0
  281. package/dist/module/metro/picocolors.js.map +1 -0
  282. package/dist/module/metro/resolver.js +57 -0
  283. package/dist/module/metro/resolver.js.map +1 -0
  284. package/dist/module/metro/stringify.js +55 -0
  285. package/dist/module/metro/stringify.js.map +1 -0
  286. package/dist/module/metro/typescript.js +42 -0
  287. package/dist/module/metro/typescript.js.map +1 -0
  288. package/dist/module/package.json +1 -0
  289. package/dist/module/poison.pill.js +37 -0
  290. package/dist/module/poison.pill.js.map +1 -0
  291. package/dist/module/runtime/index.js +9 -0
  292. package/dist/module/runtime/index.js.map +1 -0
  293. package/dist/module/runtime/native/api.js +75 -0
  294. package/dist/module/runtime/native/api.js.map +1 -0
  295. package/dist/module/runtime/native/conditions/attributes.js +38 -0
  296. package/dist/module/runtime/native/conditions/attributes.js.map +1 -0
  297. package/dist/module/runtime/native/conditions/container-query.js +117 -0
  298. package/dist/module/runtime/native/conditions/container-query.js.map +1 -0
  299. package/dist/module/runtime/native/conditions/guards.js +29 -0
  300. package/dist/module/runtime/native/conditions/guards.js.map +1 -0
  301. package/dist/module/runtime/native/conditions/index.js +36 -0
  302. package/dist/module/runtime/native/conditions/index.js.map +1 -0
  303. package/dist/module/runtime/native/conditions/media-query.js +93 -0
  304. package/dist/module/runtime/native/conditions/media-query.js.map +1 -0
  305. package/dist/module/runtime/native/index.js +5 -0
  306. package/dist/module/runtime/native/index.js.map +1 -0
  307. package/dist/module/runtime/native/injection.js +95 -0
  308. package/dist/module/runtime/native/injection.js.map +1 -0
  309. package/dist/module/runtime/native/metro.js +5 -0
  310. package/dist/module/runtime/native/metro.js.map +1 -0
  311. package/dist/module/runtime/native/react/interaction.js +59 -0
  312. package/dist/module/runtime/native/react/interaction.js.map +1 -0
  313. package/dist/module/runtime/native/react/rules.js +248 -0
  314. package/dist/module/runtime/native/react/rules.js.map +1 -0
  315. package/dist/module/runtime/native/react/useNativeCss.js +153 -0
  316. package/dist/module/runtime/native/react/useNativeCss.js.map +1 -0
  317. package/dist/module/runtime/native/react/usePassthrough.js +45 -0
  318. package/dist/module/runtime/native/react/usePassthrough.js.map +1 -0
  319. package/dist/module/runtime/native/reactivity.js +166 -0
  320. package/dist/module/runtime/native/reactivity.js.map +1 -0
  321. package/dist/module/runtime/native/reanimated.js +13 -0
  322. package/dist/module/runtime/native/reanimated.js.map +1 -0
  323. package/dist/module/runtime/native/root.js +24 -0
  324. package/dist/module/runtime/native/root.js.map +1 -0
  325. package/dist/module/runtime/native/styles/calculate-props.js +143 -0
  326. package/dist/module/runtime/native/styles/calculate-props.js.map +1 -0
  327. package/dist/module/runtime/native/styles/constants.js +5 -0
  328. package/dist/module/runtime/native/styles/constants.js.map +1 -0
  329. package/dist/module/runtime/native/styles/defaults.js +65 -0
  330. package/dist/module/runtime/native/styles/defaults.js.map +1 -0
  331. package/dist/module/runtime/native/styles/functions/animation-timing.js +30 -0
  332. package/dist/module/runtime/native/styles/functions/animation-timing.js.map +1 -0
  333. package/dist/module/runtime/native/styles/functions/calc.js +120 -0
  334. package/dist/module/runtime/native/styles/functions/calc.js.map +1 -0
  335. package/dist/module/runtime/native/styles/functions/filters.js +70 -0
  336. package/dist/module/runtime/native/styles/functions/filters.js.map +1 -0
  337. package/dist/module/runtime/native/styles/functions/index.js +8 -0
  338. package/dist/module/runtime/native/styles/functions/index.js.map +1 -0
  339. package/dist/module/runtime/native/styles/functions/platform-functions.js +36 -0
  340. package/dist/module/runtime/native/styles/functions/platform-functions.js.map +1 -0
  341. package/dist/module/runtime/native/styles/functions/transform-functions.js +114 -0
  342. package/dist/module/runtime/native/styles/functions/transform-functions.js.map +1 -0
  343. package/dist/module/runtime/native/styles/index.js +110 -0
  344. package/dist/module/runtime/native/styles/index.js.map +1 -0
  345. package/dist/module/runtime/native/styles/resolve.js +101 -0
  346. package/dist/module/runtime/native/styles/resolve.js.map +1 -0
  347. package/dist/module/runtime/native/styles/shorthands/_handler.js +74 -0
  348. package/dist/module/runtime/native/styles/shorthands/_handler.js.map +1 -0
  349. package/dist/module/runtime/native/styles/shorthands/animation.js +51 -0
  350. package/dist/module/runtime/native/styles/shorthands/animation.js.map +1 -0
  351. package/dist/module/runtime/native/styles/shorthands/border.js +8 -0
  352. package/dist/module/runtime/native/styles/shorthands/border.js.map +1 -0
  353. package/dist/module/runtime/native/styles/shorthands/box-shadow.js +35 -0
  354. package/dist/module/runtime/native/styles/shorthands/box-shadow.js.map +1 -0
  355. package/dist/module/runtime/native/styles/shorthands/index.js +8 -0
  356. package/dist/module/runtime/native/styles/shorthands/index.js.map +1 -0
  357. package/dist/module/runtime/native/styles/shorthands/text-shadow.js +9 -0
  358. package/dist/module/runtime/native/styles/shorthands/text-shadow.js.map +1 -0
  359. package/dist/module/runtime/native/styles/shorthands/transform.js +18 -0
  360. package/dist/module/runtime/native/styles/shorthands/transform.js.map +1 -0
  361. package/dist/module/runtime/native/styles/units.js +43 -0
  362. package/dist/module/runtime/native/styles/units.js.map +1 -0
  363. package/dist/module/runtime/native/styles/variables.js +75 -0
  364. package/dist/module/runtime/native/styles/variables.js.map +1 -0
  365. package/dist/module/runtime/runtime.js +4 -0
  366. package/dist/module/runtime/runtime.js.map +1 -0
  367. package/dist/module/runtime/runtime.native.js +4 -0
  368. package/dist/module/runtime/runtime.native.js.map +1 -0
  369. package/dist/module/runtime/runtime.types.js +4 -0
  370. package/dist/module/runtime/runtime.types.js.map +1 -0
  371. package/dist/module/runtime/utils/components.js +14 -0
  372. package/dist/module/runtime/utils/components.js.map +1 -0
  373. package/dist/module/runtime/utils/dot-notation.types.js +2 -0
  374. package/dist/module/runtime/utils/dot-notation.types.js.map +1 -0
  375. package/dist/module/runtime/utils/index.js +8 -0
  376. package/dist/module/runtime/utils/index.js.map +1 -0
  377. package/dist/module/runtime/utils/objects.js +84 -0
  378. package/dist/module/runtime/utils/objects.js.map +1 -0
  379. package/dist/module/runtime/utils/specificity.js +39 -0
  380. package/dist/module/runtime/utils/specificity.js.map +1 -0
  381. package/dist/module/runtime/utils/style-value.js +16 -0
  382. package/dist/module/runtime/utils/style-value.js.map +1 -0
  383. package/dist/module/runtime/utils/utils.types.js +4 -0
  384. package/dist/module/runtime/utils/utils.types.js.map +1 -0
  385. package/dist/module/runtime/web/api.js +59 -0
  386. package/dist/module/runtime/web/api.js.map +1 -0
  387. package/dist/module/runtime/web/assign-style.js +23 -0
  388. package/dist/module/runtime/web/assign-style.js.map +1 -0
  389. package/dist/module/runtime/web/index.js +6 -0
  390. package/dist/module/runtime/web/index.js.map +1 -0
  391. package/dist/module/runtime/web/metro.js +5 -0
  392. package/dist/module/runtime/web/metro.js.map +1 -0
  393. package/dist/typescript/commonjs/example/app.config.d.ts +4 -0
  394. package/dist/typescript/commonjs/example/app.config.d.ts.map +1 -0
  395. package/dist/typescript/commonjs/example/src/App.d.ts +3 -0
  396. package/dist/typescript/commonjs/example/src/App.d.ts.map +1 -0
  397. package/dist/typescript/commonjs/package.json +1 -0
  398. package/dist/typescript/commonjs/src/babel/allowedModules.d.ts +2 -0
  399. package/dist/typescript/commonjs/src/babel/allowedModules.d.ts.map +1 -0
  400. package/dist/typescript/commonjs/src/babel/helpers.d.ts +13 -0
  401. package/dist/typescript/commonjs/src/babel/helpers.d.ts.map +1 -0
  402. package/dist/typescript/commonjs/src/babel/import-plugin.d.ts +6 -0
  403. package/dist/typescript/commonjs/src/babel/import-plugin.d.ts.map +1 -0
  404. package/dist/typescript/commonjs/src/babel/index.d.ts +1 -0
  405. package/dist/typescript/commonjs/src/babel/index.d.ts.map +1 -0
  406. package/dist/typescript/commonjs/src/babel/react-native-web.d.ts +8 -0
  407. package/dist/typescript/commonjs/src/babel/react-native-web.d.ts.map +1 -0
  408. package/dist/typescript/commonjs/src/babel/react-native.d.ts +8 -0
  409. package/dist/typescript/commonjs/src/babel/react-native.d.ts.map +1 -0
  410. package/dist/typescript/commonjs/src/compiler/atRules.d.ts +34 -0
  411. package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -0
  412. package/dist/typescript/commonjs/src/compiler/compiler.d.ts +17 -0
  413. package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -0
  414. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +197 -0
  415. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -0
  416. package/dist/typescript/commonjs/src/compiler/container-query.d.ts +5 -0
  417. package/dist/typescript/commonjs/src/compiler/container-query.d.ts.map +1 -0
  418. package/dist/typescript/commonjs/src/compiler/declarations.d.ts +118 -0
  419. package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -0
  420. package/dist/typescript/commonjs/src/compiler/functions-web.d.ts +11 -0
  421. package/dist/typescript/commonjs/src/compiler/functions-web.d.ts.map +1 -0
  422. package/dist/typescript/commonjs/src/compiler/functions.d.ts +11 -0
  423. package/dist/typescript/commonjs/src/compiler/functions.d.ts.map +1 -0
  424. package/dist/typescript/commonjs/src/compiler/index.d.ts +7 -0
  425. package/dist/typescript/commonjs/src/compiler/index.d.ts.map +1 -0
  426. package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts +2 -0
  427. package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts.map +1 -0
  428. package/dist/typescript/commonjs/src/compiler/keyframes.d.ts +7 -0
  429. package/dist/typescript/commonjs/src/compiler/keyframes.d.ts.map +1 -0
  430. package/dist/typescript/commonjs/src/compiler/media-query.d.ts +7 -0
  431. package/dist/typescript/commonjs/src/compiler/media-query.d.ts.map +1 -0
  432. package/dist/typescript/commonjs/src/compiler/pseudo-elements.d.ts +4 -0
  433. package/dist/typescript/commonjs/src/compiler/pseudo-elements.d.ts.map +1 -0
  434. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts +24 -0
  435. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts.map +1 -0
  436. package/dist/typescript/commonjs/src/compiler/selectors.d.ts +24 -0
  437. package/dist/typescript/commonjs/src/compiler/selectors.d.ts.map +1 -0
  438. package/dist/typescript/commonjs/src/compiler/split-by-delimiter.d.ts +2 -0
  439. package/dist/typescript/commonjs/src/compiler/split-by-delimiter.d.ts.map +1 -0
  440. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +68 -0
  441. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -0
  442. package/dist/typescript/commonjs/src/compiler/supports.d.ts +3 -0
  443. package/dist/typescript/commonjs/src/compiler/supports.d.ts.map +1 -0
  444. package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts +13 -0
  445. package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts.map +1 -0
  446. package/dist/typescript/commonjs/src/components/Button.d.ts +13 -0
  447. package/dist/typescript/commonjs/src/components/Button.d.ts.map +1 -0
  448. package/dist/typescript/commonjs/src/components/FlatList.d.ts +10 -0
  449. package/dist/typescript/commonjs/src/components/FlatList.d.ts.map +1 -0
  450. package/dist/typescript/commonjs/src/components/Image.d.ts +8 -0
  451. package/dist/typescript/commonjs/src/components/Image.d.ts.map +1 -0
  452. package/dist/typescript/commonjs/src/components/Switch.d.ts +8 -0
  453. package/dist/typescript/commonjs/src/components/Switch.d.ts.map +1 -0
  454. package/dist/typescript/commonjs/src/components/Text.d.ts +8 -0
  455. package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -0
  456. package/dist/typescript/commonjs/src/components/TextInput.d.ts +8 -0
  457. package/dist/typescript/commonjs/src/components/TextInput.d.ts.map +1 -0
  458. package/dist/typescript/commonjs/src/components/View.d.ts +8 -0
  459. package/dist/typescript/commonjs/src/components/View.d.ts.map +1 -0
  460. package/dist/typescript/commonjs/src/components/index.d.ts +10 -0
  461. package/dist/typescript/commonjs/src/components/index.d.ts.map +1 -0
  462. package/dist/typescript/commonjs/src/doctor/index.d.ts +2 -0
  463. package/dist/typescript/commonjs/src/doctor/index.d.ts.map +1 -0
  464. package/dist/typescript/commonjs/src/index.d.ts +3 -0
  465. package/dist/typescript/commonjs/src/index.d.ts.map +1 -0
  466. package/dist/typescript/commonjs/src/jest/index.d.ts +30 -0
  467. package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -0
  468. package/dist/typescript/commonjs/src/jest/setup.d.ts +1 -0
  469. package/dist/typescript/commonjs/src/jest/setup.d.ts.map +1 -0
  470. package/dist/typescript/commonjs/src/jest/setupAfterEnv.d.ts +1 -0
  471. package/dist/typescript/commonjs/src/jest/setupAfterEnv.d.ts.map +1 -0
  472. package/dist/typescript/commonjs/src/metro/index.d.ts +11 -0
  473. package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -0
  474. package/dist/typescript/commonjs/src/metro/injection-code.d.ts +16 -0
  475. package/dist/typescript/commonjs/src/metro/injection-code.d.ts.map +1 -0
  476. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts +3 -0
  477. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -0
  478. package/dist/typescript/commonjs/src/metro/picocolors.d.ts +27 -0
  479. package/dist/typescript/commonjs/src/metro/picocolors.d.ts.map +1 -0
  480. package/dist/typescript/commonjs/src/metro/resolver.d.ts +4 -0
  481. package/dist/typescript/commonjs/src/metro/resolver.d.ts.map +1 -0
  482. package/dist/typescript/commonjs/src/metro/stringify.d.ts +7 -0
  483. package/dist/typescript/commonjs/src/metro/stringify.d.ts.map +1 -0
  484. package/dist/typescript/commonjs/src/metro/typescript.d.ts +2 -0
  485. package/dist/typescript/commonjs/src/metro/typescript.d.ts.map +1 -0
  486. package/dist/typescript/commonjs/src/poison.pill.d.ts +2 -0
  487. package/dist/typescript/commonjs/src/poison.pill.d.ts.map +1 -0
  488. package/dist/typescript/commonjs/src/runtime/index.d.ts +7 -0
  489. package/dist/typescript/commonjs/src/runtime/index.d.ts.map +1 -0
  490. package/dist/typescript/commonjs/src/runtime/native/api.d.ts +17 -0
  491. package/dist/typescript/commonjs/src/runtime/native/api.d.ts.map +1 -0
  492. package/dist/typescript/commonjs/src/runtime/native/conditions/attributes.d.ts +5 -0
  493. package/dist/typescript/commonjs/src/runtime/native/conditions/attributes.d.ts.map +1 -0
  494. package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts +7 -0
  495. package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts.map +1 -0
  496. package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts +5 -0
  497. package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts.map +1 -0
  498. package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts +6 -0
  499. package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts.map +1 -0
  500. package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts +4 -0
  501. package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts.map +1 -0
  502. package/dist/typescript/commonjs/src/runtime/native/index.d.ts +4 -0
  503. package/dist/typescript/commonjs/src/runtime/native/index.d.ts.map +1 -0
  504. package/dist/typescript/commonjs/src/runtime/native/injection.d.ts +16 -0
  505. package/dist/typescript/commonjs/src/runtime/native/injection.d.ts.map +1 -0
  506. package/dist/typescript/commonjs/src/runtime/native/metro.d.ts +2 -0
  507. package/dist/typescript/commonjs/src/runtime/native/metro.d.ts.map +1 -0
  508. package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts +6 -0
  509. package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts.map +1 -0
  510. package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts +7 -0
  511. package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts.map +1 -0
  512. package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts +38 -0
  513. package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts.map +1 -0
  514. package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts +4 -0
  515. package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts.map +1 -0
  516. package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts +55 -0
  517. package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts.map +1 -0
  518. package/dist/typescript/commonjs/src/runtime/native/reanimated.d.ts +5 -0
  519. package/dist/typescript/commonjs/src/runtime/native/reanimated.d.ts.map +1 -0
  520. package/dist/typescript/commonjs/src/runtime/native/root.d.ts +11 -0
  521. package/dist/typescript/commonjs/src/runtime/native/root.d.ts.map +1 -0
  522. package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts +10 -0
  523. package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts.map +1 -0
  524. package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts +3 -0
  525. package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts.map +1 -0
  526. package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts +3 -0
  527. package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts.map +1 -0
  528. package/dist/typescript/commonjs/src/runtime/native/styles/functions/animation-timing.d.ts +4 -0
  529. package/dist/typescript/commonjs/src/runtime/native/styles/functions/animation-timing.d.ts.map +1 -0
  530. package/dist/typescript/commonjs/src/runtime/native/styles/functions/calc.d.ts +3 -0
  531. package/dist/typescript/commonjs/src/runtime/native/styles/functions/calc.d.ts.map +1 -0
  532. package/dist/typescript/commonjs/src/runtime/native/styles/functions/filters.d.ts +12 -0
  533. package/dist/typescript/commonjs/src/runtime/native/styles/functions/filters.d.ts.map +1 -0
  534. package/dist/typescript/commonjs/src/runtime/native/styles/functions/index.d.ts +6 -0
  535. package/dist/typescript/commonjs/src/runtime/native/styles/functions/index.d.ts.map +1 -0
  536. package/dist/typescript/commonjs/src/runtime/native/styles/functions/platform-functions.d.ts +8 -0
  537. package/dist/typescript/commonjs/src/runtime/native/styles/functions/platform-functions.d.ts.map +1 -0
  538. package/dist/typescript/commonjs/src/runtime/native/styles/functions/transform-functions.d.ts +5 -0
  539. package/dist/typescript/commonjs/src/runtime/native/styles/functions/transform-functions.d.ts.map +1 -0
  540. package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts +19 -0
  541. package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts.map +1 -0
  542. package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts +18 -0
  543. package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts.map +1 -0
  544. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/_handler.d.ts +11 -0
  545. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/_handler.d.ts.map +1 -0
  546. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/animation.d.ts +4 -0
  547. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/animation.d.ts.map +1 -0
  548. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/border.d.ts +2 -0
  549. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/border.d.ts.map +1 -0
  550. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/box-shadow.d.ts +3 -0
  551. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/box-shadow.d.ts.map +1 -0
  552. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/index.d.ts +6 -0
  553. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/index.d.ts.map +1 -0
  554. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/text-shadow.d.ts +2 -0
  555. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/text-shadow.d.ts.map +1 -0
  556. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/transform.d.ts +7 -0
  557. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/transform.d.ts.map +1 -0
  558. package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts +6 -0
  559. package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts.map +1 -0
  560. package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts +5 -0
  561. package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts.map +1 -0
  562. package/dist/typescript/commonjs/src/runtime/runtime.d.ts +2 -0
  563. package/dist/typescript/commonjs/src/runtime/runtime.d.ts.map +1 -0
  564. package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts +2 -0
  565. package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts.map +1 -0
  566. package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts +47 -0
  567. package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts.map +1 -0
  568. package/dist/typescript/commonjs/src/runtime/utils/components.d.ts +2 -0
  569. package/dist/typescript/commonjs/src/runtime/utils/components.d.ts.map +1 -0
  570. package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts +23 -0
  571. package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts.map +1 -0
  572. package/dist/typescript/commonjs/src/runtime/utils/index.d.ts +6 -0
  573. package/dist/typescript/commonjs/src/runtime/utils/index.d.ts.map +1 -0
  574. package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts +5 -0
  575. package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts.map +1 -0
  576. package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts +13 -0
  577. package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts.map +1 -0
  578. package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts +4 -0
  579. package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts.map +1 -0
  580. package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts +5 -0
  581. package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts.map +1 -0
  582. package/dist/typescript/commonjs/src/runtime/web/api.d.ts +10 -0
  583. package/dist/typescript/commonjs/src/runtime/web/api.d.ts.map +1 -0
  584. package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts +2 -0
  585. package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts.map +1 -0
  586. package/dist/typescript/commonjs/src/runtime/web/index.d.ts +4 -0
  587. package/dist/typescript/commonjs/src/runtime/web/index.d.ts.map +1 -0
  588. package/dist/typescript/commonjs/src/runtime/web/metro.d.ts +2 -0
  589. package/dist/typescript/commonjs/src/runtime/web/metro.d.ts.map +1 -0
  590. package/dist/typescript/module/example/app.config.d.ts +4 -0
  591. package/dist/typescript/module/example/app.config.d.ts.map +1 -0
  592. package/dist/typescript/module/example/src/App.d.ts +3 -0
  593. package/dist/typescript/module/example/src/App.d.ts.map +1 -0
  594. package/dist/typescript/module/package.json +1 -0
  595. package/dist/typescript/module/src/babel/allowedModules.d.ts +2 -0
  596. package/dist/typescript/module/src/babel/allowedModules.d.ts.map +1 -0
  597. package/dist/typescript/module/src/babel/helpers.d.ts +13 -0
  598. package/dist/typescript/module/src/babel/helpers.d.ts.map +1 -0
  599. package/dist/typescript/module/src/babel/import-plugin.d.ts +6 -0
  600. package/dist/typescript/module/src/babel/import-plugin.d.ts.map +1 -0
  601. package/dist/typescript/module/src/babel/index.d.ts +1 -0
  602. package/dist/typescript/module/src/babel/index.d.ts.map +1 -0
  603. package/dist/typescript/module/src/babel/react-native-web.d.ts +8 -0
  604. package/dist/typescript/module/src/babel/react-native-web.d.ts.map +1 -0
  605. package/dist/typescript/module/src/babel/react-native.d.ts +8 -0
  606. package/dist/typescript/module/src/babel/react-native.d.ts.map +1 -0
  607. package/dist/typescript/module/src/compiler/atRules.d.ts +34 -0
  608. package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -0
  609. package/dist/typescript/module/src/compiler/compiler.d.ts +17 -0
  610. package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -0
  611. package/dist/typescript/module/src/compiler/compiler.types.d.ts +197 -0
  612. package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -0
  613. package/dist/typescript/module/src/compiler/container-query.d.ts +5 -0
  614. package/dist/typescript/module/src/compiler/container-query.d.ts.map +1 -0
  615. package/dist/typescript/module/src/compiler/declarations.d.ts +118 -0
  616. package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -0
  617. package/dist/typescript/module/src/compiler/functions-web.d.ts +11 -0
  618. package/dist/typescript/module/src/compiler/functions-web.d.ts.map +1 -0
  619. package/dist/typescript/module/src/compiler/functions.d.ts +11 -0
  620. package/dist/typescript/module/src/compiler/functions.d.ts.map +1 -0
  621. package/dist/typescript/module/src/compiler/index.d.ts +7 -0
  622. package/dist/typescript/module/src/compiler/index.d.ts.map +1 -0
  623. package/dist/typescript/module/src/compiler/inheritance.test.d.ts +2 -0
  624. package/dist/typescript/module/src/compiler/inheritance.test.d.ts.map +1 -0
  625. package/dist/typescript/module/src/compiler/keyframes.d.ts +7 -0
  626. package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -0
  627. package/dist/typescript/module/src/compiler/media-query.d.ts +7 -0
  628. package/dist/typescript/module/src/compiler/media-query.d.ts.map +1 -0
  629. package/dist/typescript/module/src/compiler/pseudo-elements.d.ts +4 -0
  630. package/dist/typescript/module/src/compiler/pseudo-elements.d.ts.map +1 -0
  631. package/dist/typescript/module/src/compiler/selector-builder.d.ts +24 -0
  632. package/dist/typescript/module/src/compiler/selector-builder.d.ts.map +1 -0
  633. package/dist/typescript/module/src/compiler/selectors.d.ts +24 -0
  634. package/dist/typescript/module/src/compiler/selectors.d.ts.map +1 -0
  635. package/dist/typescript/module/src/compiler/split-by-delimiter.d.ts +2 -0
  636. package/dist/typescript/module/src/compiler/split-by-delimiter.d.ts.map +1 -0
  637. package/dist/typescript/module/src/compiler/stylesheet.d.ts +68 -0
  638. package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -0
  639. package/dist/typescript/module/src/compiler/supports.d.ts +3 -0
  640. package/dist/typescript/module/src/compiler/supports.d.ts.map +1 -0
  641. package/dist/typescript/module/src/components/ActivityIndicator.d.ts +13 -0
  642. package/dist/typescript/module/src/components/ActivityIndicator.d.ts.map +1 -0
  643. package/dist/typescript/module/src/components/Button.d.ts +13 -0
  644. package/dist/typescript/module/src/components/Button.d.ts.map +1 -0
  645. package/dist/typescript/module/src/components/FlatList.d.ts +10 -0
  646. package/dist/typescript/module/src/components/FlatList.d.ts.map +1 -0
  647. package/dist/typescript/module/src/components/Image.d.ts +8 -0
  648. package/dist/typescript/module/src/components/Image.d.ts.map +1 -0
  649. package/dist/typescript/module/src/components/Switch.d.ts +8 -0
  650. package/dist/typescript/module/src/components/Switch.d.ts.map +1 -0
  651. package/dist/typescript/module/src/components/Text.d.ts +8 -0
  652. package/dist/typescript/module/src/components/Text.d.ts.map +1 -0
  653. package/dist/typescript/module/src/components/TextInput.d.ts +8 -0
  654. package/dist/typescript/module/src/components/TextInput.d.ts.map +1 -0
  655. package/dist/typescript/module/src/components/View.d.ts +8 -0
  656. package/dist/typescript/module/src/components/View.d.ts.map +1 -0
  657. package/dist/typescript/module/src/components/index.d.ts +10 -0
  658. package/dist/typescript/module/src/components/index.d.ts.map +1 -0
  659. package/dist/typescript/module/src/doctor/index.d.ts +2 -0
  660. package/dist/typescript/module/src/doctor/index.d.ts.map +1 -0
  661. package/dist/typescript/module/src/index.d.ts +3 -0
  662. package/dist/typescript/module/src/index.d.ts.map +1 -0
  663. package/dist/typescript/module/src/jest/index.d.ts +30 -0
  664. package/dist/typescript/module/src/jest/index.d.ts.map +1 -0
  665. package/dist/typescript/module/src/jest/setup.d.ts +1 -0
  666. package/dist/typescript/module/src/jest/setup.d.ts.map +1 -0
  667. package/dist/typescript/module/src/jest/setupAfterEnv.d.ts +1 -0
  668. package/dist/typescript/module/src/jest/setupAfterEnv.d.ts.map +1 -0
  669. package/dist/typescript/module/src/metro/index.d.ts +11 -0
  670. package/dist/typescript/module/src/metro/index.d.ts.map +1 -0
  671. package/dist/typescript/module/src/metro/injection-code.d.ts +16 -0
  672. package/dist/typescript/module/src/metro/injection-code.d.ts.map +1 -0
  673. package/dist/typescript/module/src/metro/metro-transformer.d.ts +3 -0
  674. package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -0
  675. package/dist/typescript/module/src/metro/picocolors.d.ts +27 -0
  676. package/dist/typescript/module/src/metro/picocolors.d.ts.map +1 -0
  677. package/dist/typescript/module/src/metro/resolver.d.ts +4 -0
  678. package/dist/typescript/module/src/metro/resolver.d.ts.map +1 -0
  679. package/dist/typescript/module/src/metro/stringify.d.ts +7 -0
  680. package/dist/typescript/module/src/metro/stringify.d.ts.map +1 -0
  681. package/dist/typescript/module/src/metro/typescript.d.ts +2 -0
  682. package/dist/typescript/module/src/metro/typescript.d.ts.map +1 -0
  683. package/dist/typescript/module/src/poison.pill.d.ts +2 -0
  684. package/dist/typescript/module/src/poison.pill.d.ts.map +1 -0
  685. package/dist/typescript/module/src/runtime/index.d.ts +7 -0
  686. package/dist/typescript/module/src/runtime/index.d.ts.map +1 -0
  687. package/dist/typescript/module/src/runtime/native/api.d.ts +17 -0
  688. package/dist/typescript/module/src/runtime/native/api.d.ts.map +1 -0
  689. package/dist/typescript/module/src/runtime/native/conditions/attributes.d.ts +5 -0
  690. package/dist/typescript/module/src/runtime/native/conditions/attributes.d.ts.map +1 -0
  691. package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts +7 -0
  692. package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts.map +1 -0
  693. package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts +5 -0
  694. package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts.map +1 -0
  695. package/dist/typescript/module/src/runtime/native/conditions/index.d.ts +6 -0
  696. package/dist/typescript/module/src/runtime/native/conditions/index.d.ts.map +1 -0
  697. package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts +4 -0
  698. package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts.map +1 -0
  699. package/dist/typescript/module/src/runtime/native/index.d.ts +4 -0
  700. package/dist/typescript/module/src/runtime/native/index.d.ts.map +1 -0
  701. package/dist/typescript/module/src/runtime/native/injection.d.ts +16 -0
  702. package/dist/typescript/module/src/runtime/native/injection.d.ts.map +1 -0
  703. package/dist/typescript/module/src/runtime/native/metro.d.ts +2 -0
  704. package/dist/typescript/module/src/runtime/native/metro.d.ts.map +1 -0
  705. package/dist/typescript/module/src/runtime/native/react/interaction.d.ts +6 -0
  706. package/dist/typescript/module/src/runtime/native/react/interaction.d.ts.map +1 -0
  707. package/dist/typescript/module/src/runtime/native/react/rules.d.ts +7 -0
  708. package/dist/typescript/module/src/runtime/native/react/rules.d.ts.map +1 -0
  709. package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts +38 -0
  710. package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts.map +1 -0
  711. package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts +4 -0
  712. package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts.map +1 -0
  713. package/dist/typescript/module/src/runtime/native/reactivity.d.ts +55 -0
  714. package/dist/typescript/module/src/runtime/native/reactivity.d.ts.map +1 -0
  715. package/dist/typescript/module/src/runtime/native/reanimated.d.ts +5 -0
  716. package/dist/typescript/module/src/runtime/native/reanimated.d.ts.map +1 -0
  717. package/dist/typescript/module/src/runtime/native/root.d.ts +11 -0
  718. package/dist/typescript/module/src/runtime/native/root.d.ts.map +1 -0
  719. package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts +10 -0
  720. package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts.map +1 -0
  721. package/dist/typescript/module/src/runtime/native/styles/constants.d.ts +3 -0
  722. package/dist/typescript/module/src/runtime/native/styles/constants.d.ts.map +1 -0
  723. package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts +3 -0
  724. package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts.map +1 -0
  725. package/dist/typescript/module/src/runtime/native/styles/functions/animation-timing.d.ts +4 -0
  726. package/dist/typescript/module/src/runtime/native/styles/functions/animation-timing.d.ts.map +1 -0
  727. package/dist/typescript/module/src/runtime/native/styles/functions/calc.d.ts +3 -0
  728. package/dist/typescript/module/src/runtime/native/styles/functions/calc.d.ts.map +1 -0
  729. package/dist/typescript/module/src/runtime/native/styles/functions/filters.d.ts +12 -0
  730. package/dist/typescript/module/src/runtime/native/styles/functions/filters.d.ts.map +1 -0
  731. package/dist/typescript/module/src/runtime/native/styles/functions/index.d.ts +6 -0
  732. package/dist/typescript/module/src/runtime/native/styles/functions/index.d.ts.map +1 -0
  733. package/dist/typescript/module/src/runtime/native/styles/functions/platform-functions.d.ts +8 -0
  734. package/dist/typescript/module/src/runtime/native/styles/functions/platform-functions.d.ts.map +1 -0
  735. package/dist/typescript/module/src/runtime/native/styles/functions/transform-functions.d.ts +5 -0
  736. package/dist/typescript/module/src/runtime/native/styles/functions/transform-functions.d.ts.map +1 -0
  737. package/dist/typescript/module/src/runtime/native/styles/index.d.ts +19 -0
  738. package/dist/typescript/module/src/runtime/native/styles/index.d.ts.map +1 -0
  739. package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts +18 -0
  740. package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts.map +1 -0
  741. package/dist/typescript/module/src/runtime/native/styles/shorthands/_handler.d.ts +11 -0
  742. package/dist/typescript/module/src/runtime/native/styles/shorthands/_handler.d.ts.map +1 -0
  743. package/dist/typescript/module/src/runtime/native/styles/shorthands/animation.d.ts +4 -0
  744. package/dist/typescript/module/src/runtime/native/styles/shorthands/animation.d.ts.map +1 -0
  745. package/dist/typescript/module/src/runtime/native/styles/shorthands/border.d.ts +2 -0
  746. package/dist/typescript/module/src/runtime/native/styles/shorthands/border.d.ts.map +1 -0
  747. package/dist/typescript/module/src/runtime/native/styles/shorthands/box-shadow.d.ts +3 -0
  748. package/dist/typescript/module/src/runtime/native/styles/shorthands/box-shadow.d.ts.map +1 -0
  749. package/dist/typescript/module/src/runtime/native/styles/shorthands/index.d.ts +6 -0
  750. package/dist/typescript/module/src/runtime/native/styles/shorthands/index.d.ts.map +1 -0
  751. package/dist/typescript/module/src/runtime/native/styles/shorthands/text-shadow.d.ts +2 -0
  752. package/dist/typescript/module/src/runtime/native/styles/shorthands/text-shadow.d.ts.map +1 -0
  753. package/dist/typescript/module/src/runtime/native/styles/shorthands/transform.d.ts +7 -0
  754. package/dist/typescript/module/src/runtime/native/styles/shorthands/transform.d.ts.map +1 -0
  755. package/dist/typescript/module/src/runtime/native/styles/units.d.ts +6 -0
  756. package/dist/typescript/module/src/runtime/native/styles/units.d.ts.map +1 -0
  757. package/dist/typescript/module/src/runtime/native/styles/variables.d.ts +5 -0
  758. package/dist/typescript/module/src/runtime/native/styles/variables.d.ts.map +1 -0
  759. package/dist/typescript/module/src/runtime/runtime.d.ts +2 -0
  760. package/dist/typescript/module/src/runtime/runtime.d.ts.map +1 -0
  761. package/dist/typescript/module/src/runtime/runtime.native.d.ts +2 -0
  762. package/dist/typescript/module/src/runtime/runtime.native.d.ts.map +1 -0
  763. package/dist/typescript/module/src/runtime/runtime.types.d.ts +47 -0
  764. package/dist/typescript/module/src/runtime/runtime.types.d.ts.map +1 -0
  765. package/dist/typescript/module/src/runtime/utils/components.d.ts +2 -0
  766. package/dist/typescript/module/src/runtime/utils/components.d.ts.map +1 -0
  767. package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts +23 -0
  768. package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts.map +1 -0
  769. package/dist/typescript/module/src/runtime/utils/index.d.ts +6 -0
  770. package/dist/typescript/module/src/runtime/utils/index.d.ts.map +1 -0
  771. package/dist/typescript/module/src/runtime/utils/objects.d.ts +5 -0
  772. package/dist/typescript/module/src/runtime/utils/objects.d.ts.map +1 -0
  773. package/dist/typescript/module/src/runtime/utils/specificity.d.ts +13 -0
  774. package/dist/typescript/module/src/runtime/utils/specificity.d.ts.map +1 -0
  775. package/dist/typescript/module/src/runtime/utils/style-value.d.ts +4 -0
  776. package/dist/typescript/module/src/runtime/utils/style-value.d.ts.map +1 -0
  777. package/dist/typescript/module/src/runtime/utils/utils.types.d.ts +5 -0
  778. package/dist/typescript/module/src/runtime/utils/utils.types.d.ts.map +1 -0
  779. package/dist/typescript/module/src/runtime/web/api.d.ts +10 -0
  780. package/dist/typescript/module/src/runtime/web/api.d.ts.map +1 -0
  781. package/dist/typescript/module/src/runtime/web/assign-style.d.ts +2 -0
  782. package/dist/typescript/module/src/runtime/web/assign-style.d.ts.map +1 -0
  783. package/dist/typescript/module/src/runtime/web/index.d.ts +4 -0
  784. package/dist/typescript/module/src/runtime/web/index.d.ts.map +1 -0
  785. package/dist/typescript/module/src/runtime/web/metro.d.ts +2 -0
  786. package/dist/typescript/module/src/runtime/web/metro.d.ts.map +1 -0
  787. package/package.json +248 -47
  788. package/src/babel/allowedModules.ts +24 -0
  789. package/src/babel/helpers.ts +40 -0
  790. package/src/babel/import-plugin.ts +176 -0
  791. package/src/babel/index.ts +9 -0
  792. package/src/babel/react-native-web.ts +226 -0
  793. package/src/babel/react-native.ts +226 -0
  794. package/src/compiler/atRules.ts +158 -0
  795. package/src/compiler/compiler.ts +305 -0
  796. package/src/compiler/compiler.types.ts +267 -0
  797. package/src/compiler/container-query.ts +97 -0
  798. package/src/compiler/declarations.ts +3177 -0
  799. package/src/compiler/functions-web.ts +44 -0
  800. package/src/compiler/functions.ts +64 -0
  801. package/src/compiler/index.ts +7 -0
  802. package/src/compiler/inheritance.test.ts +121 -0
  803. package/src/compiler/keyframes.ts +86 -0
  804. package/src/compiler/media-query.ts +251 -0
  805. package/src/compiler/pseudo-elements.ts +54 -0
  806. package/src/compiler/selector-builder.ts +586 -0
  807. package/src/compiler/selectors.ts +505 -0
  808. package/src/compiler/split-by-delimiter.ts +19 -0
  809. package/src/compiler/stylesheet.ts +681 -0
  810. package/src/compiler/supports.ts +26 -0
  811. package/src/components/ActivityIndicator.tsx +27 -0
  812. package/src/components/Button.tsx +22 -0
  813. package/src/components/FlatList.tsx +21 -0
  814. package/src/components/Image.tsx +17 -0
  815. package/src/components/Switch.tsx +17 -0
  816. package/src/components/Text.tsx +17 -0
  817. package/src/components/TextInput.tsx +17 -0
  818. package/src/components/View.tsx +17 -0
  819. package/src/components/index.tsx +10 -0
  820. package/src/doctor/index.ts +1 -0
  821. package/src/index.ts +3 -0
  822. package/src/jest/expect.d.ts +1 -0
  823. package/src/jest/index.ts +74 -0
  824. package/src/jest/setup.ts +1 -0
  825. package/src/jest/setupAfterEnv.ts +13 -0
  826. package/src/metro/index.ts +237 -0
  827. package/src/metro/injection-code.ts +38 -0
  828. package/src/metro/metro-transformer.ts +31 -0
  829. package/src/metro/picocolors.ts +77 -0
  830. package/src/metro/resolver.ts +89 -0
  831. package/src/metro/stringify.ts +59 -0
  832. package/src/metro/typescript.ts +73 -0
  833. package/src/poison.pill.ts +36 -0
  834. package/src/runtime/index.ts +7 -0
  835. package/src/runtime/native/api.ts +106 -0
  836. package/src/runtime/native/conditions/attributes.ts +52 -0
  837. package/src/runtime/native/conditions/container-query.ts +162 -0
  838. package/src/runtime/native/conditions/guards.ts +44 -0
  839. package/src/runtime/native/conditions/index.ts +54 -0
  840. package/src/runtime/native/conditions/media-query.ts +98 -0
  841. package/src/runtime/native/index.ts +4 -0
  842. package/src/runtime/native/injection.ts +132 -0
  843. package/src/runtime/native/metro.ts +2 -0
  844. package/src/runtime/native/react/interaction.ts +90 -0
  845. package/src/runtime/native/react/rules.ts +330 -0
  846. package/src/runtime/native/react/useNativeCss.ts +203 -0
  847. package/src/runtime/native/react/usePassthrough.ts +51 -0
  848. package/src/runtime/native/reactivity.ts +243 -0
  849. package/src/runtime/native/reanimated.ts +22 -0
  850. package/src/runtime/native/root.ts +31 -0
  851. package/src/runtime/native/styles/calculate-props.ts +197 -0
  852. package/src/runtime/native/styles/constants.ts +2 -0
  853. package/src/runtime/native/styles/defaults.ts +79 -0
  854. package/src/runtime/native/styles/functions/animation-timing.ts +44 -0
  855. package/src/runtime/native/styles/functions/calc.ts +121 -0
  856. package/src/runtime/native/styles/functions/filters.ts +98 -0
  857. package/src/runtime/native/styles/functions/index.ts +5 -0
  858. package/src/runtime/native/styles/functions/platform-functions.ts +50 -0
  859. package/src/runtime/native/styles/functions/transform-functions.ts +84 -0
  860. package/src/runtime/native/styles/index.ts +197 -0
  861. package/src/runtime/native/styles/resolve.ts +162 -0
  862. package/src/runtime/native/styles/shorthands/_handler.ts +121 -0
  863. package/src/runtime/native/styles/shorthands/animation.ts +122 -0
  864. package/src/runtime/native/styles/shorthands/border.ts +10 -0
  865. package/src/runtime/native/styles/shorthands/box-shadow.ts +54 -0
  866. package/src/runtime/native/styles/shorthands/index.ts +5 -0
  867. package/src/runtime/native/styles/shorthands/text-shadow.ts +17 -0
  868. package/src/runtime/native/styles/shorthands/transform.ts +23 -0
  869. package/src/runtime/native/styles/units.ts +57 -0
  870. package/src/runtime/native/styles/variables.ts +84 -0
  871. package/src/runtime/runtime.native.ts +1 -0
  872. package/src/runtime/runtime.ts +1 -0
  873. package/src/runtime/runtime.types.ts +130 -0
  874. package/src/runtime/utils/components.ts +15 -0
  875. package/src/runtime/utils/dot-notation.types.ts +118 -0
  876. package/src/runtime/utils/index.ts +5 -0
  877. package/src/runtime/utils/objects.ts +109 -0
  878. package/src/runtime/utils/specificity.ts +45 -0
  879. package/src/runtime/utils/style-value.ts +24 -0
  880. package/src/runtime/utils/utils.types.ts +19 -0
  881. package/src/runtime/web/api.ts +88 -0
  882. package/src/runtime/web/assign-style.ts +26 -0
  883. package/src/runtime/web/index.ts +5 -0
  884. package/src/runtime/web/metro.ts +2 -0
  885. package/types.d.ts +70 -0
  886. package/.babelrc +0 -17
  887. package/.editorconfig +0 -17
  888. package/.eslintignore +0 -3
  889. package/.eslintrc +0 -39
  890. package/.npmignore +0 -7
  891. package/build/index.js +0 -299
  892. package/build/utils.js +0 -61
  893. package/circle.yml +0 -31
  894. package/jsconfig.json +0 -9
  895. package/login.sh +0 -11
  896. package/src/index.js +0 -184
  897. package/src/utils.js +0 -32
  898. package/test/rnc.test.js +0 -258
  899. package/yarn.lock +0 -3333
@@ -0,0 +1,476 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StylesheetBuilder = void 0;
7
+ var _index = require("../runtime/utils/index.js");
8
+ var _pseudoElements = require("./pseudo-elements.js");
9
+ var _selectorBuilder = require("./selector-builder.js");
10
+ const staticDeclarations = new WeakMap();
11
+ const extraRules = new WeakMap();
12
+ const keywords = new Set(["unset"]);
13
+ class StylesheetBuilder {
14
+ animationDeclarations = [];
15
+ stylesheet = {};
16
+ varUsage = new Set();
17
+ rule = {
18
+ s: []
19
+ };
20
+ constructor(options, mode = "style", ruleTemplate = {
21
+ s: []
22
+ },
23
+ // Any default mapping should be included in the @prop parsing
24
+ mapping = {}, descriptorProperty, shared = {
25
+ ruleSets: {},
26
+ rem: 14,
27
+ ruleOrder: 0,
28
+ warningProperties: [],
29
+ warningValues: {},
30
+ warningFunctions: []
31
+ }, selectors = []) {
32
+ this.options = options;
33
+ this.mode = mode;
34
+ this.ruleTemplate = ruleTemplate;
35
+ this.mapping = mapping;
36
+ this.descriptorProperty = descriptorProperty;
37
+ this.shared = shared;
38
+ this.selectors = selectors;
39
+ }
40
+ fork(mode = this.mode, selectors = []) {
41
+ this.shared.ruleOrder++;
42
+
43
+ /**
44
+ * If we already have selectors and we are added more
45
+ * Then these must be nested selectors.
46
+ *
47
+ * We need to extrapolate out the selectors to their full values
48
+ */
49
+ selectors = this.selectors.length && selectors.length ? this.selectors.flatMap(selectorA => {
50
+ return selectors.map(selectorB => [...selectorA, ...selectorB]);
51
+ }) : [...this.selectors, ...selectors];
52
+ return new StylesheetBuilder(this.options, mode, this.cloneRule(), {
53
+ ...this.mapping
54
+ }, this.descriptorProperty, this.shared, selectors);
55
+ }
56
+ cloneRule({
57
+ ...rule
58
+ } = this.ruleTemplate) {
59
+ rule.s = [...rule.s];
60
+ rule.aq &&= [...rule.aq];
61
+ rule.c &&= [...rule.c];
62
+ rule.cq &&= [...rule.cq];
63
+ rule.d &&= [...rule.d];
64
+ rule.m &&= [...rule.m];
65
+ rule.p &&= {
66
+ ...rule.p
67
+ };
68
+ rule.v &&= [...rule.v];
69
+ return rule;
70
+ }
71
+ createRuleFromPartial(rule, partial) {
72
+ rule = this.cloneRule(rule);
73
+ if (partial.m) {
74
+ rule.m ??= [];
75
+ rule.m.push(...partial.m);
76
+ }
77
+ if (partial.d) {
78
+ rule.d = partial.d;
79
+ }
80
+ return rule;
81
+ }
82
+ extendRule(rule) {
83
+ return this.cloneRule({
84
+ ...this.rule,
85
+ ...rule
86
+ });
87
+ }
88
+ getOptions() {
89
+ return this.options;
90
+ }
91
+ setOptions(key, value) {
92
+ this.options[key] = value;
93
+ }
94
+ getNativeStyleSheet() {
95
+ const stylesheetOptions = {};
96
+ const ruleSets = this.getRuleSets();
97
+ if (ruleSets) {
98
+ stylesheetOptions.s = ruleSets;
99
+ }
100
+ if (this.shared.rootVariables) {
101
+ stylesheetOptions.vr = Object.entries(this.shared.rootVariables).map(
102
+ // Reverse these so the most specific variables are first
103
+ ([key, value]) => [key, value.reverse()]);
104
+ }
105
+ if (this.shared.universalVariables) {
106
+ stylesheetOptions.vu = Object.entries(this.shared.universalVariables).map(
107
+ // Reverse these so the most specific variables are first
108
+ ([key, value]) => [key, value.reverse()]);
109
+ }
110
+ if (this.shared.animations) {
111
+ stylesheetOptions.k = Object.entries(this.shared.animations);
112
+ }
113
+ return stylesheetOptions;
114
+ }
115
+ getRuleSets() {
116
+ const entries = Object.entries(this.shared.ruleSets);
117
+ if (!entries.length) {
118
+ return;
119
+ }
120
+ return Object.entries(this.shared.ruleSets).map(([key, value]) => [key, value.sort((a, b) => (0, _index.specificityCompareFn)(a, b))]);
121
+ }
122
+ setWarningProperty(property) {
123
+ this.shared.warningProperty = property;
124
+ }
125
+ addWarning(type, property, value) {
126
+ switch (type) {
127
+ case "property":
128
+ this.shared.warningProperties.push(property);
129
+ break;
130
+ case "value":
131
+ {
132
+ value = property;
133
+ property = this.shared.warningProperty ?? "";
134
+ if (!property) {
135
+ return;
136
+ }
137
+ this.shared.warningValues[property] ??= [];
138
+ this.shared.warningValues[property]?.push(value);
139
+ break;
140
+ }
141
+ case "style":
142
+ this.shared.warningValues[property] ??= [];
143
+ this.shared.warningValues[property]?.push(value);
144
+ break;
145
+ }
146
+ }
147
+ getWarnings() {
148
+ const result = {};
149
+ if (this.shared.warningProperties.length) {
150
+ result.properties = this.shared.warningProperties;
151
+ }
152
+ if (Object.keys(this.shared.warningValues).length) {
153
+ result.values = this.shared.warningValues;
154
+ }
155
+ if (this.shared.warningFunctions.length) {
156
+ result.functions = this.shared.warningFunctions;
157
+ }
158
+ return result;
159
+ }
160
+ addMapping(mapping) {
161
+ this.mapping = {
162
+ ...this.mapping,
163
+ ...mapping
164
+ };
165
+ }
166
+ newRule(mapping = this.mapping, {
167
+ important = false
168
+ } = {}) {
169
+ this.mapping = mapping;
170
+ this.rule = this.cloneRule(this.ruleTemplate);
171
+ this.rule.s[_index.Specificity.Order] = this.shared.ruleOrder;
172
+ if (important) {
173
+ this.rule.s[_index.Specificity.Important] = 1;
174
+ }
175
+ }
176
+
177
+ /** Used by nested declarations (for example @media inside a RuleSet) */
178
+ newNestedRule({
179
+ important = false
180
+ } = {}) {
181
+ this.newRule(this.mapping, {
182
+ important
183
+ });
184
+ }
185
+
186
+ /** Hack for light-dark, which requires adding a new rule without changing the current rule */
187
+ addExtraRule(rule) {
188
+ let extraRuleArray = extraRules.get(this.rule);
189
+ if (!extraRuleArray) {
190
+ extraRuleArray = [];
191
+ extraRules.set(this.rule, extraRuleArray);
192
+ }
193
+ extraRuleArray.push(rule);
194
+ }
195
+ addRuleToRuleSet(name, rule = this.rule) {
196
+ if (this.shared.ruleSets[name]) {
197
+ this.shared.ruleSets[name].push(rule);
198
+ } else {
199
+ this.shared.ruleSets[name] = [rule];
200
+ }
201
+ }
202
+ addMediaQuery(condition) {
203
+ this.ruleTemplate.m ??= [];
204
+ this.ruleTemplate.m.push(condition);
205
+ }
206
+ addContainer(value) {
207
+ this.rule.c ??= [];
208
+ if (value === false) {
209
+ this.rule.c = [];
210
+ } else {
211
+ this.rule.c.push(...value.map(name => `c:${name}`));
212
+ }
213
+ }
214
+ addUnnamedDescriptor(value, forceTuple, rule = this.rule) {
215
+ if (this.descriptorProperty === undefined) {
216
+ return;
217
+ }
218
+ this.addDescriptor(this.descriptorProperty, value, forceTuple, rule);
219
+ }
220
+ addDescriptor(property, value, forceTuple, rule = this.rule) {
221
+ if (value === undefined) {
222
+ return;
223
+ }
224
+ if (this.mode === "keyframes") {
225
+ property = (0, _selectorBuilder.toRNProperty)(property);
226
+ this.pushDescriptor(property, value, this.animationDeclarations, forceTuple);
227
+ } else if (property.startsWith("--")) {
228
+ // If we have enabled variable usage tracking, skip unused variables
229
+ if (this.options.stripUnusedVariables && !property.startsWith("--__rn-css") && !this.varUsage.has(property)) {
230
+ return;
231
+ }
232
+ rule.v ??= [];
233
+ rule.v.push([property.slice(2), value]);
234
+ } else if (isStyleFunction(value)) {
235
+ const [delayed, usesVariables] = postProcessStyleFunction(value);
236
+ rule.d ??= [];
237
+ if (value[1].startsWith("animation") || value[1].startsWith("transition")) {
238
+ rule.a ??= true;
239
+ }
240
+ if (usesVariables) {
241
+ rule.dv = 1;
242
+ }
243
+ this.pushDescriptor(property, value, rule.d, forceTuple, delayed || usesVariables);
244
+ } else {
245
+ if (property.startsWith("animation-") || property.startsWith("transition-") || property === "transition") {
246
+ rule.a ??= true;
247
+ }
248
+ rule.d ??= [];
249
+ this.pushDescriptor(property, value, rule.d);
250
+ }
251
+ }
252
+ addShorthand(property, options) {
253
+ if (allEqual(...Object.values(options))) {
254
+ this.addDescriptor(property, Object.values(options)[0]);
255
+ } else {
256
+ for (const [name, value] of Object.entries(options)) {
257
+ this.addDescriptor(name, value);
258
+ }
259
+ }
260
+ }
261
+ pushDescriptor(rawProperty, value, declarations, forceTuple = false, delayed = false) {
262
+ const property = (0, _selectorBuilder.toRNProperty)(rawProperty);
263
+ let propPath = this.mapping[rawProperty] ?? this.mapping[property] ?? this.mapping["*"];
264
+ if (Array.isArray(propPath)) {
265
+ const [first, second] = propPath;
266
+ if (propPath.length === 2 && first === "*" && second) {
267
+ propPath = second;
268
+ } else {
269
+ forceTuple = true;
270
+ }
271
+ } else if (propPath) {
272
+ forceTuple = true;
273
+ } else {
274
+ propPath = property;
275
+ }
276
+ if (forceTuple && !Array.isArray(propPath)) {
277
+ propPath = [propPath];
278
+ }
279
+ if (isStyleFunction(value) || Array.isArray(propPath)) {
280
+ if (delayed) {
281
+ declarations.push([value, propPath, 1]);
282
+ } else {
283
+ declarations.push([value, propPath]);
284
+ }
285
+ } else if (Array.isArray(value) && value.some(isStyleFunction)) {
286
+ declarations.push([value, propPath]);
287
+ } else if (typeof value === "string" && keywords.has(value)) {
288
+ declarations.push([value, propPath]);
289
+ } else if (typeof propPath === "string") {
290
+ let staticDeclarationRecord = staticDeclarations.get(declarations);
291
+ if (!staticDeclarationRecord) {
292
+ staticDeclarationRecord = {};
293
+ staticDeclarations.set(declarations, staticDeclarationRecord);
294
+ declarations.push(staticDeclarationRecord);
295
+ }
296
+ staticDeclarationRecord[propPath] = value;
297
+ }
298
+ }
299
+ applyRuleToSelectors(selectorList = this.selectors) {
300
+ if (!selectorList.length) {
301
+ // If there are no selectors, we cannot apply the rule
302
+ return;
303
+ }
304
+ if (!this.rule.d && !this.rule.v && !this.rule.c) {
305
+ return;
306
+ }
307
+ const normalizedSelectors = (0, _selectorBuilder.getClassNameSelectors)(selectorList, this.options);
308
+ for (const selector of normalizedSelectors) {
309
+ // We are going to be apply the current rule to n selectors, so we clone the rule
310
+ let rule = this.cloneRule(this.rule);
311
+ if (selector.type === "className" && selector.pseudoElementQuery) {
312
+ if (selector.pseudoElementQuery.includes("selection")) {
313
+ rule = (0, _pseudoElements.modifyRuleForSelection)(rule);
314
+ } else if (selector.pseudoElementQuery.includes("placeholder")) {
315
+ rule = (0, _pseudoElements.modifyRuleForPlaceholder)(rule);
316
+ }
317
+ }
318
+ if (!rule) {
319
+ continue;
320
+ }
321
+ if (selector.type === "className") {
322
+ const {
323
+ specificity,
324
+ className,
325
+ mediaQuery,
326
+ containerQuery,
327
+ pseudoClassesQuery,
328
+ attributeQuery
329
+ } = selector;
330
+ if (!className) {
331
+ continue; // No className, nothing to do
332
+ }
333
+
334
+ // Combine the specificity of the selector with the rule's specificity
335
+ for (let i = 0; i < specificity.length; i++) {
336
+ const spec = specificity[i];
337
+ if (!spec) continue;
338
+ rule.s[i] = spec + (rule.s[i] ?? 0);
339
+ }
340
+ if (mediaQuery) {
341
+ rule.m ??= [];
342
+ rule.m.push(...mediaQuery);
343
+ }
344
+ if (containerQuery) {
345
+ rule.cq ??= [];
346
+ rule.cq.push(...containerQuery);
347
+ for (const query of containerQuery) {
348
+ const name = query.n;
349
+ if (typeof name !== "string") {
350
+ continue;
351
+ }
352
+ const [first, ...rest] = name.slice(2).split(".");
353
+ if (typeof first !== "string") {
354
+ continue;
355
+ }
356
+ const containerRule = {
357
+ // These are not "real" rules, so they use the lowest specificity
358
+ s: [0],
359
+ c: [name]
360
+ };
361
+ if (rest.length) {
362
+ containerRule.aq = rest.map(attr => ["a", "className", "*=", attr]);
363
+ }
364
+
365
+ // Create rules for the parent classes
366
+ this.addRuleToRuleSet(first, containerRule);
367
+ }
368
+ }
369
+ if (pseudoClassesQuery) {
370
+ rule.p = {
371
+ ...rule.p,
372
+ ...pseudoClassesQuery
373
+ };
374
+ }
375
+ if (attributeQuery) {
376
+ rule.aq ??= [];
377
+ rule.aq.push(...attributeQuery);
378
+ }
379
+ this.addRuleToRuleSet(className, rule);
380
+ const extraRulesArray = extraRules.get(this.rule);
381
+ if (extraRulesArray) {
382
+ for (const extraRule of extraRulesArray) {
383
+ this.addRuleToRuleSet(className, this.createRuleFromPartial(rule, extraRule));
384
+ }
385
+ }
386
+ } else {
387
+ // These can only have variable declarations
388
+ if (!this.rule.v) {
389
+ continue;
390
+ }
391
+ const {
392
+ type
393
+ } = selector;
394
+ for (const [name, value] of this.rule.v) {
395
+ this.shared[type] ??= {};
396
+ this.shared[type][name] ??= [];
397
+ const mediaQueries = this.rule.m;
398
+ const variableValue = mediaQueries ? [value, [...mediaQueries]] : [value];
399
+ // Append extra media queries if they exist
400
+ this.shared[type][name].push(variableValue);
401
+ }
402
+ }
403
+ }
404
+ }
405
+ addContainerQuery(query) {
406
+ this.ruleTemplate.cq ??= [];
407
+ this.ruleTemplate.cq.push(query);
408
+ }
409
+ newAnimationFrames(name) {
410
+ this.shared.animations ??= {};
411
+ this.animationFrames = this.shared.animations[name];
412
+ if (!this.animationFrames) {
413
+ this.animationFrames = [];
414
+ this.shared.animations[name] = this.animationFrames;
415
+ }
416
+ }
417
+ newAnimationFrame(progress) {
418
+ if (!this.animationFrames) {
419
+ throw new Error("No animation frames defined. Call newAnimationFrames first.");
420
+ }
421
+ this.animationDeclarations = [];
422
+ this.animationFrames.push([progress, this.animationDeclarations]);
423
+ }
424
+ }
425
+ exports.StylesheetBuilder = StylesheetBuilder;
426
+ function isStyleFunction(value) {
427
+ return Boolean(Array.isArray(value) && value.length > 0 && value[0] && typeof value[0] === "object" && Object.keys(value[0]).length === 0);
428
+ }
429
+ function postProcessStyleFunction(value) {
430
+ if (!Array.isArray(value)) {
431
+ return [false, false];
432
+ }
433
+ if ((0, _index.isStyleDescriptorArray)(value)) {
434
+ let shouldDelay = false;
435
+ let usesVariables = false;
436
+ for (const v of value) {
437
+ const [delayed, variables] = postProcessStyleFunction(v);
438
+ shouldDelay ||= delayed;
439
+ usesVariables ||= variables;
440
+ }
441
+ return [shouldDelay, usesVariables];
442
+ }
443
+ let [shouldDelay, usesVariables] = postProcessStyleFunction(value[2]);
444
+ usesVariables ||= value[1] === "var";
445
+ shouldDelay ||= value[3] === 1 || usesVariables;
446
+ if (shouldDelay) {
447
+ return [true, usesVariables];
448
+ }
449
+ return [false, false];
450
+ }
451
+ function allEqual(...params) {
452
+ return params.every((param, index, array) => {
453
+ return index === 0 ? true : equal(array[0], param);
454
+ });
455
+ }
456
+ function equal(a, b) {
457
+ if (a === b) return true;
458
+ if (typeof a !== typeof b) return false;
459
+ if (a === null || b === null) return false;
460
+ if (Array.isArray(a) && Array.isArray(b)) {
461
+ if (a.length !== b.length) return false;
462
+ for (let i = 0; i < a.length; i++) {
463
+ if (!equal(a[i], b[i])) return false;
464
+ }
465
+ return true;
466
+ }
467
+ if (typeof a === "object" && typeof b === "object") {
468
+ if (Object.keys(a).length !== Object.keys(b).length) return false;
469
+ for (const key in a) {
470
+ if (!equal(a[key], b[key])) return false;
471
+ }
472
+ return true;
473
+ }
474
+ return false;
475
+ }
476
+ //# sourceMappingURL=stylesheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","_pseudoElements","_selectorBuilder","staticDeclarations","WeakMap","extraRules","keywords","Set","StylesheetBuilder","animationDeclarations","stylesheet","varUsage","rule","s","constructor","options","mode","ruleTemplate","mapping","descriptorProperty","shared","ruleSets","rem","ruleOrder","warningProperties","warningValues","warningFunctions","selectors","fork","length","flatMap","selectorA","map","selectorB","cloneRule","aq","c","cq","d","m","p","v","createRuleFromPartial","partial","push","extendRule","getOptions","setOptions","key","value","getNativeStyleSheet","stylesheetOptions","getRuleSets","rootVariables","vr","Object","entries","reverse","universalVariables","vu","animations","k","sort","a","b","specificityCompareFn","setWarningProperty","property","warningProperty","addWarning","type","getWarnings","result","properties","keys","values","functions","addMapping","newRule","important","Specificity","Order","Important","newNestedRule","addExtraRule","extraRuleArray","get","set","addRuleToRuleSet","name","addMediaQuery","condition","addContainer","addUnnamedDescriptor","forceTuple","undefined","addDescriptor","toRNProperty","pushDescriptor","startsWith","stripUnusedVariables","has","slice","isStyleFunction","delayed","usesVariables","postProcessStyleFunction","dv","addShorthand","allEqual","rawProperty","declarations","propPath","Array","isArray","first","second","some","staticDeclarationRecord","applyRuleToSelectors","selectorList","normalizedSelectors","getClassNameSelectors","selector","pseudoElementQuery","includes","modifyRuleForSelection","modifyRuleForPlaceholder","specificity","className","mediaQuery","containerQuery","pseudoClassesQuery","attributeQuery","i","spec","query","n","rest","split","containerRule","attr","extraRulesArray","extraRule","mediaQueries","variableValue","addContainerQuery","newAnimationFrames","animationFrames","newAnimationFrame","progress","Error","exports","Boolean","isStyleDescriptorArray","shouldDelay","variables","params","every","param","index","array","equal"],"sourceRoot":"../../../src","sources":["compiler/stylesheet.ts"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,OAAA;AAqBA,IAAAC,eAAA,GAAAD,OAAA;AAIA,IAAAE,gBAAA,GAAAF,OAAA;AAIA,MAAMG,kBAAkB,GAAG,IAAIC,OAAO,CAGpC,CAAC;AAEH,MAAMC,UAAU,GAAG,IAAID,OAAO,CAAkC,CAAC;AAEjE,MAAME,QAAQ,GAAG,IAAIC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;AAE5B,MAAMC,iBAAiB,CAAC;EAE7BC,qBAAqB,GAAuB,EAAE;EAE9CC,UAAU,GAA6B,CAAC,CAAC;EAEzCC,QAAQ,GAAG,IAAIJ,GAAG,CAAS,CAAC;EAEpBK,IAAI,GAAc;IACxBC,CAAC,EAAE;EACL,CAAC;EAEDC,WAAWA,CACDC,OAAwB,EACzBC,IAAiB,GAAG,OAAO,EAC1BC,YAAuB,GAAG;IAChCJ,CAAC,EAAE;EACL,CAAC;EACD;EACQK,OAAyB,GAAG,CAAC,CAAC,EAC/BC,kBAA2B,EAC1BC,MAWP,GAAG;IACFC,QAAQ,EAAE,CAAC,CAAC;IACZC,GAAG,EAAE,EAAE;IACPC,SAAS,EAAE,CAAC;IACZC,iBAAiB,EAAE,EAAE;IACrBC,aAAa,EAAE,CAAC,CAAC;IACjBC,gBAAgB,EAAE;EACpB,CAAC,EACOC,SAAuB,GAAG,EAAE,EACpC;IAAA,KA5BQZ,OAAwB,GAAxBA,OAAwB;IAAA,KACzBC,IAAiB,GAAjBA,IAAiB;IAAA,KAChBC,YAAuB,GAAvBA,YAAuB;IAAA,KAIvBC,OAAyB,GAAzBA,OAAyB;IAAA,KAC1BC,kBAA2B,GAA3BA,kBAA2B;IAAA,KAC1BC,MAWP,GAXOA,MAWP;IAAA,KAQOO,SAAuB,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AOD,CAAC,KAAK,OAAOC,CAAC,EAAE,OAAO,KAAK;EACvC,IAAID,CAAC,KAAK,IAAI,IAAIC,CAAC,KAAK,IAAI,EAAE,OAAO,KAAK;EAC1C,IAAIiD,KAAK,CAACC,OAAO,CAACnD,CAAC,CAAC,IAAIkD,KAAK,CAACC,OAAO,CAAClD,CAAC,CAAC,EAAE;IACxC,IAAID,CAAC,CAAClC,MAAM,KAAKmC,CAAC,CAACnC,MAAM,EAAE,OAAO,KAAK;IACvC,KAAK,IAAIyG,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGvE,CAAC,CAAClC,MAAM,EAAEyG,CAAC,EAAE,EAAE;MACjC,IAAI,CAAC4B,KAAK,CAACnG,CAAC,CAACuE,CAAC,CAAC,EAAEtE,CAAC,CAACsE,CAAC,CAAC,CAAC,EAAE,OAAO,KAAK;IACtC;IACA,OAAO,IAAI;EACb;EACA,IAAI,OAAOvE,CAAC,KAAK,QAAQ,IAAI,OAAOC,CAAC,KAAK,QAAQ,EAAE;IAClD,IAAIT,MAAM,CAACmB,IAAI,CAACX,CAAC,CAAC,CAAClC,MAAM,KAAK0B,MAAM,CAACmB,IAAI,CAACV,CAAC,CAAC,CAACnC,MAAM,EAAE,OAAO,KAAK;IACjE,KAAK,MAAMmB,GAAG,IAAIe,CAAC,EAAE;MACnB,IACE,CAACmG,KAAK,CACHnG,CAAC,CAA6Bf,GAAG,CAAC,EAClCgB,CAAC,CAA6BhB,GAAG,CACpC,CAAC,EAED,OAAO,KAAK;IAChB;IACA,OAAO,IAAI;EACb;EAEA,OAAO,KAAK;AACd","ignoreList":[]}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.supportsConditionValid = supportsConditionValid;
7
+ function supportsConditionValid(condition) {
8
+ if (condition.type === "and") {
9
+ return condition.value.every(condition => {
10
+ return supportsConditionValid(condition);
11
+ });
12
+ } else if (condition.type === "or") {
13
+ return condition.value.some(condition => {
14
+ return supportsConditionValid(condition);
15
+ });
16
+ } else if (condition.type === "not") {
17
+ return !supportsConditionValid(condition.value);
18
+ } else if (condition.type === "declaration") {
19
+ return Boolean(declarations[condition.propertyId.property]?.includes(condition.value));
20
+ }
21
+ return false;
22
+ }
23
+ const declarations = {
24
+ // We don't actually support this, but its needed for Tailwind CSS
25
+ "-moz-orient": ["inline"]
26
+ };
27
+ //# sourceMappingURL=supports.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["supportsConditionValid","condition","type","value","every","some","Boolean","declarations","propertyId","property","includes"],"sourceRoot":"../../../src","sources":["compiler/supports.ts"],"mappings":";;;;;;AAEO,SAASA,sBAAsBA,CAACC,SAA4B,EAAW;EAC5E,IAAIA,SAAS,CAACC,IAAI,KAAK,KAAK,EAAE;IAC5B,OAAOD,SAAS,CAACE,KAAK,CAACC,KAAK,CAAEH,SAAS,IAAK;MAC1C,OAAOD,sBAAsB,CAACC,SAAS,CAAC;IAC1C,CAAC,CAAC;EACJ,CAAC,MAAM,IAAIA,SAAS,CAACC,IAAI,KAAK,IAAI,EAAE;IAClC,OAAOD,SAAS,CAACE,KAAK,CAACE,IAAI,CAAEJ,SAAS,IAAK;MACzC,OAAOD,sBAAsB,CAACC,SAAS,CAAC;IAC1C,CAAC,CAAC;EACJ,CAAC,MAAM,IAAIA,SAAS,CAACC,IAAI,KAAK,KAAK,EAAE;IACnC,OAAO,CAACF,sBAAsB,CAACC,SAAS,CAACE,KAAK,CAAC;EACjD,CAAC,MAAM,IAAIF,SAAS,CAACC,IAAI,KAAK,aAAa,EAAE;IAC3C,OAAOI,OAAO,CACZC,YAAY,CAACN,SAAS,CAACO,UAAU,CAACC,QAAQ,CAAC,EAAEC,QAAQ,CAACT,SAAS,CAACE,KAAK,CACvE,CAAC;EACH;EAEA,OAAO,KAAK;AACd;AAEA,MAAMI,YAAsC,GAAG;EAC7C;EACA,aAAa,EAAE,CAAC,QAAQ;AAC1B,CAAC","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ActivityIndicator = ActivityIndicator;
7
+ exports.default = void 0;
8
+ var _reactNative = require("react-native");
9
+ var _index = require("../runtime/index.js");
10
+ const mapping = {
11
+ className: {
12
+ target: "style",
13
+ nativeStyleMapping: {
14
+ color: "color"
15
+ }
16
+ }
17
+ };
18
+ function ActivityIndicator(props) {
19
+ return (0, _index.useCssElement)(_reactNative.ActivityIndicator, props, mapping);
20
+ }
21
+ var _default = exports.default = ActivityIndicator;
22
+ //# sourceMappingURL=ActivityIndicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","mapping","className","target","nativeStyleMapping","color","ActivityIndicator","props","useCssElement","RNActivityIndicator","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/ActivityIndicator.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,MAAA,GAAAD,OAAA;AAMA,MAAME,OAAO,GAAG;EACdC,SAAS,EAAE;IACTC,MAAM,EAAE,OAAO;IACfC,kBAAkB,EAAE;MAClBC,KAAK,EAAE;IACT;EACF;AACF,CAA2D;AAEpD,SAASC,iBAAiBA,CAC/BC,KAA0D,EAC1D;EACA,OAAO,IAAAC,oBAAa,EAACC,8BAAmB,EAAEF,KAAK,EAAEN,OAAO,CAAC;AAC3D;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,iBAAiB","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Button = Button;
7
+ exports.default = void 0;
8
+ var _reactNative = require("react-native");
9
+ var _index = require("../runtime/index.js");
10
+ const mapping = {
11
+ className: {
12
+ target: false,
13
+ nativeStyleMapping: {
14
+ color: "color"
15
+ }
16
+ }
17
+ };
18
+ function Button(props) {
19
+ return (0, _index.useCssElement)(_reactNative.Button, props, mapping);
20
+ }
21
+ var _default = exports.default = Button;
22
+ //# sourceMappingURL=Button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","mapping","className","target","nativeStyleMapping","color","Button","props","useCssElement","RNButton","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/Button.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAMA,MAAME,OAAO,GAAG;EACdC,SAAS,EAAE;IACTC,MAAM,EAAE,KAAK;IACbC,kBAAkB,EAAE;MAClBC,KAAK,EAAE;IACT;EACF;AACF,CAAgD;AAEzC,SAASC,MAAMA,CAACC,KAA+C,EAAE;EACtE,OAAO,IAAAC,oBAAa,EAACC,mBAAQ,EAAEF,KAAK,EAAEN,OAAO,CAAC;AAChD;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,MAAM","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FlatList = FlatList;
7
+ exports.default = void 0;
8
+ var _reactNative = require("react-native");
9
+ var _index = require("../runtime/index.js");
10
+ const mapping = {
11
+ columnWrapperStyle: "columnWrapperStyle",
12
+ listFooterComponentClassName: "ListFooterComponentStyle",
13
+ listHeaderComponentClassName: "ListHeaderComponentStyle"
14
+ };
15
+ function FlatList(props) {
16
+ return (0, _index.useCssElement)(_reactNative.FlatList, props, mapping);
17
+ }
18
+ var _default = exports.default = FlatList;
19
+ //# sourceMappingURL=FlatList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","mapping","columnWrapperStyle","listFooterComponentClassName","listHeaderComponentClassName","FlatList","props","useCssElement","RNFlatList","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/FlatList.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAMA,MAAME,OAAO,GAAG;EACdC,kBAAkB,EAAE,oBAAoB;EACxCC,4BAA4B,EAAE,0BAA0B;EACxDC,4BAA4B,EAAE;AAChC,CAAkD;AAE3C,SAASC,QAAQA,CACtBC,KAAwD,EACxD;EACA,OAAO,IAAAC,oBAAa,EAACC,qBAAU,EAAEF,KAAK,EAAEL,OAAO,CAAC;AAClD;AAAC,IAAAQ,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,QAAQ","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Image = Image;
7
+ exports.default = void 0;
8
+ var _reactNative = require("react-native");
9
+ var _index = require("../runtime/index.js");
10
+ const mapping = {
11
+ className: "style"
12
+ };
13
+ function Image(props) {
14
+ return (0, _index.useCssElement)(_reactNative.Image, props, mapping);
15
+ }
16
+ var _default = exports.default = Image;
17
+ //# sourceMappingURL=Image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","mapping","className","Image","props","useCssElement","RNImage","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/Image.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAMA,MAAME,OAAO,GAAG;EACdC,SAAS,EAAE;AACb,CAA+C;AAExC,SAASC,KAAKA,CAACC,KAA8C,EAAE;EACpE,OAAO,IAAAC,oBAAa,EAACC,kBAAO,EAAEF,KAAK,EAAEH,OAAO,CAAC;AAC/C;AAAC,IAAAM,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,KAAK","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Switch = Switch;
7
+ exports.default = void 0;
8
+ var _reactNative = require("react-native");
9
+ var _index = require("../runtime/index.js");
10
+ const mapping = {
11
+ className: "style"
12
+ };
13
+ function Switch(props) {
14
+ return (0, _index.useCssElement)(_reactNative.Switch, props, mapping);
15
+ }
16
+ var _default = exports.default = Switch;
17
+ //# sourceMappingURL=Switch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","mapping","className","Switch","props","useCssElement","RNSwitch","_default","exports","default"],"sourceRoot":"../../../src","sources":["components/Switch.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAMA,MAAME,OAAO,GAAG;EACdC,SAAS,EAAE;AACb,CAAgD;AAEzC,SAASC,MAAMA,CAACC,KAA+C,EAAE;EACtE,OAAO,IAAAC,oBAAa,EAACC,mBAAQ,EAAEF,KAAK,EAAEH,OAAO,CAAC;AAChD;AAAC,IAAAM,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcN,MAAM","ignoreList":[]}