react-native-css 2.1.2 → 3.0.0-nightly.27bd5e2

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 (759) 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 +101 -0
  16. package/dist/commonjs/compiler/atRules.js.map +1 -0
  17. package/dist/commonjs/compiler/attributes.test.js +20 -0
  18. package/dist/commonjs/compiler/attributes.test.js.map +1 -0
  19. package/dist/commonjs/compiler/compiler.js +235 -0
  20. package/dist/commonjs/compiler/compiler.js.map +1 -0
  21. package/dist/commonjs/compiler/compiler.types.js +4 -0
  22. package/dist/commonjs/compiler/compiler.types.js.map +1 -0
  23. package/dist/commonjs/compiler/container-query.js +63 -0
  24. package/dist/commonjs/compiler/container-query.js.map +1 -0
  25. package/dist/commonjs/compiler/declarations.js +2088 -0
  26. package/dist/commonjs/compiler/declarations.js.map +1 -0
  27. package/dist/commonjs/compiler/functions-web.js +44 -0
  28. package/dist/commonjs/compiler/functions-web.js.map +1 -0
  29. package/dist/commonjs/compiler/functions.js +59 -0
  30. package/dist/commonjs/compiler/functions.js.map +1 -0
  31. package/dist/commonjs/compiler/index.js +17 -0
  32. package/dist/commonjs/compiler/index.js.map +1 -0
  33. package/dist/commonjs/compiler/inheritance.test.js +78 -0
  34. package/dist/commonjs/compiler/inheritance.test.js.map +1 -0
  35. package/dist/commonjs/compiler/keyframes.js +60 -0
  36. package/dist/commonjs/compiler/keyframes.js.map +1 -0
  37. package/dist/commonjs/compiler/media-query.js +172 -0
  38. package/dist/commonjs/compiler/media-query.js.map +1 -0
  39. package/dist/commonjs/compiler/selectors.js +410 -0
  40. package/dist/commonjs/compiler/selectors.js.map +1 -0
  41. package/dist/commonjs/compiler/split-by-delimiter.js +21 -0
  42. package/dist/commonjs/compiler/split-by-delimiter.js.map +1 -0
  43. package/dist/commonjs/compiler/stylesheet.js +374 -0
  44. package/dist/commonjs/compiler/stylesheet.js.map +1 -0
  45. package/dist/commonjs/components/Text.js +17 -0
  46. package/dist/commonjs/components/Text.js.map +1 -0
  47. package/dist/commonjs/components/View.js +17 -0
  48. package/dist/commonjs/components/View.js.map +1 -0
  49. package/dist/commonjs/components/index.js +36 -0
  50. package/dist/commonjs/components/index.js.map +1 -0
  51. package/dist/commonjs/doctor/index.js +6 -0
  52. package/dist/commonjs/doctor/index.js.map +1 -0
  53. package/dist/commonjs/index.js +28 -0
  54. package/dist/commonjs/index.js.map +1 -0
  55. package/dist/commonjs/jest/expect.d.js +2 -0
  56. package/dist/commonjs/jest/expect.d.js.map +1 -0
  57. package/dist/commonjs/jest/index.js +50 -0
  58. package/dist/commonjs/jest/index.js.map +1 -0
  59. package/dist/commonjs/jest/setup.js +3 -0
  60. package/dist/commonjs/jest/setup.js.map +1 -0
  61. package/dist/commonjs/jest/setupAfterEnv.js +15 -0
  62. package/dist/commonjs/jest/setupAfterEnv.js.map +1 -0
  63. package/dist/commonjs/metro/index.js +165 -0
  64. package/dist/commonjs/metro/index.js.map +1 -0
  65. package/dist/commonjs/metro/injection-code.js +32 -0
  66. package/dist/commonjs/metro/injection-code.js.map +1 -0
  67. package/dist/commonjs/metro/metro-transformer.js +21 -0
  68. package/dist/commonjs/metro/metro-transformer.js.map +1 -0
  69. package/dist/commonjs/metro/picocolors.js +71 -0
  70. package/dist/commonjs/metro/picocolors.js.map +1 -0
  71. package/dist/commonjs/metro/resolver.js +62 -0
  72. package/dist/commonjs/metro/resolver.js.map +1 -0
  73. package/dist/commonjs/metro/stringify.js +59 -0
  74. package/dist/commonjs/metro/stringify.js.map +1 -0
  75. package/dist/commonjs/metro/typescript.js +47 -0
  76. package/dist/commonjs/metro/typescript.js.map +1 -0
  77. package/dist/commonjs/package.json +1 -0
  78. package/dist/commonjs/poison.pill.js +36 -0
  79. package/dist/commonjs/poison.pill.js.map +1 -0
  80. package/dist/commonjs/runtime/index.js +17 -0
  81. package/dist/commonjs/runtime/index.js.map +1 -0
  82. package/dist/commonjs/runtime/native/api.js +90 -0
  83. package/dist/commonjs/runtime/native/api.js.map +1 -0
  84. package/dist/commonjs/runtime/native/conditions/container-query.js +116 -0
  85. package/dist/commonjs/runtime/native/conditions/container-query.js.map +1 -0
  86. package/dist/commonjs/runtime/native/conditions/guards.js +33 -0
  87. package/dist/commonjs/runtime/native/conditions/guards.js.map +1 -0
  88. package/dist/commonjs/runtime/native/conditions/index.js +74 -0
  89. package/dist/commonjs/runtime/native/conditions/index.js.map +1 -0
  90. package/dist/commonjs/runtime/native/conditions/media-query.js +93 -0
  91. package/dist/commonjs/runtime/native/conditions/media-query.js.map +1 -0
  92. package/dist/commonjs/runtime/native/index.js +28 -0
  93. package/dist/commonjs/runtime/native/index.js.map +1 -0
  94. package/dist/commonjs/runtime/native/injection.js +98 -0
  95. package/dist/commonjs/runtime/native/injection.js.map +1 -0
  96. package/dist/commonjs/runtime/native/metro.js +6 -0
  97. package/dist/commonjs/runtime/native/metro.js.map +1 -0
  98. package/dist/commonjs/runtime/native/react/interaction.js +63 -0
  99. package/dist/commonjs/runtime/native/react/interaction.js.map +1 -0
  100. package/dist/commonjs/runtime/native/react/rules.js +253 -0
  101. package/dist/commonjs/runtime/native/react/rules.js.map +1 -0
  102. package/dist/commonjs/runtime/native/react/useNativeCss.js +158 -0
  103. package/dist/commonjs/runtime/native/react/useNativeCss.js.map +1 -0
  104. package/dist/commonjs/runtime/native/react/usePassthrough.js +50 -0
  105. package/dist/commonjs/runtime/native/react/usePassthrough.js.map +1 -0
  106. package/dist/commonjs/runtime/native/reactivity.js +189 -0
  107. package/dist/commonjs/runtime/native/reactivity.js.map +1 -0
  108. package/dist/commonjs/runtime/native/styles/animation.js +88 -0
  109. package/dist/commonjs/runtime/native/styles/animation.js.map +1 -0
  110. package/dist/commonjs/runtime/native/styles/border.js +12 -0
  111. package/dist/commonjs/runtime/native/styles/border.js.map +1 -0
  112. package/dist/commonjs/runtime/native/styles/box-shadow.js +40 -0
  113. package/dist/commonjs/runtime/native/styles/box-shadow.js.map +1 -0
  114. package/dist/commonjs/runtime/native/styles/calc.js +85 -0
  115. package/dist/commonjs/runtime/native/styles/calc.js.map +1 -0
  116. package/dist/commonjs/runtime/native/styles/calculate-props.js +123 -0
  117. package/dist/commonjs/runtime/native/styles/calculate-props.js.map +1 -0
  118. package/dist/commonjs/runtime/native/styles/constants.js +9 -0
  119. package/dist/commonjs/runtime/native/styles/constants.js.map +1 -0
  120. package/dist/commonjs/runtime/native/styles/defaults.js +69 -0
  121. package/dist/commonjs/runtime/native/styles/defaults.js.map +1 -0
  122. package/dist/commonjs/runtime/native/styles/filters.js +84 -0
  123. package/dist/commonjs/runtime/native/styles/filters.js.map +1 -0
  124. package/dist/commonjs/runtime/native/styles/index.js +115 -0
  125. package/dist/commonjs/runtime/native/styles/index.js.map +1 -0
  126. package/dist/commonjs/runtime/native/styles/platform-functions.js +46 -0
  127. package/dist/commonjs/runtime/native/styles/platform-functions.js.map +1 -0
  128. package/dist/commonjs/runtime/native/styles/resolve.js +129 -0
  129. package/dist/commonjs/runtime/native/styles/resolve.js.map +1 -0
  130. package/dist/commonjs/runtime/native/styles/shorthand.js +79 -0
  131. package/dist/commonjs/runtime/native/styles/shorthand.js.map +1 -0
  132. package/dist/commonjs/runtime/native/styles/text-shadow.js +13 -0
  133. package/dist/commonjs/runtime/native/styles/text-shadow.js.map +1 -0
  134. package/dist/commonjs/runtime/native/styles/transform.js +23 -0
  135. package/dist/commonjs/runtime/native/styles/transform.js.map +1 -0
  136. package/dist/commonjs/runtime/native/styles/units.js +49 -0
  137. package/dist/commonjs/runtime/native/styles/units.js.map +1 -0
  138. package/dist/commonjs/runtime/native/styles/variables.js +78 -0
  139. package/dist/commonjs/runtime/native/styles/variables.js.map +1 -0
  140. package/dist/commonjs/runtime/runtime.js +17 -0
  141. package/dist/commonjs/runtime/runtime.js.map +1 -0
  142. package/dist/commonjs/runtime/runtime.native.js +17 -0
  143. package/dist/commonjs/runtime/runtime.native.js.map +1 -0
  144. package/dist/commonjs/runtime/runtime.types.js +6 -0
  145. package/dist/commonjs/runtime/runtime.types.js.map +1 -0
  146. package/dist/commonjs/runtime/utils/components.js +18 -0
  147. package/dist/commonjs/runtime/utils/components.js.map +1 -0
  148. package/dist/commonjs/runtime/utils/dot-notation.types.js +2 -0
  149. package/dist/commonjs/runtime/utils/dot-notation.types.js.map +1 -0
  150. package/dist/commonjs/runtime/utils/index.js +61 -0
  151. package/dist/commonjs/runtime/utils/index.js.map +1 -0
  152. package/dist/commonjs/runtime/utils/objects.js +84 -0
  153. package/dist/commonjs/runtime/utils/objects.js.map +1 -0
  154. package/dist/commonjs/runtime/utils/specificity.js +43 -0
  155. package/dist/commonjs/runtime/utils/specificity.js.map +1 -0
  156. package/dist/commonjs/runtime/utils/style-value.js +21 -0
  157. package/dist/commonjs/runtime/utils/style-value.js.map +1 -0
  158. package/dist/commonjs/runtime/utils/utils.types.js +6 -0
  159. package/dist/commonjs/runtime/utils/utils.types.js.map +1 -0
  160. package/dist/commonjs/runtime/web/api.js +68 -0
  161. package/dist/commonjs/runtime/web/api.js.map +1 -0
  162. package/dist/commonjs/runtime/web/assign-style.js +27 -0
  163. package/dist/commonjs/runtime/web/assign-style.js.map +1 -0
  164. package/dist/commonjs/runtime/web/index.js +18 -0
  165. package/dist/commonjs/runtime/web/index.js.map +1 -0
  166. package/dist/commonjs/runtime/web/metro.js +6 -0
  167. package/dist/commonjs/runtime/web/metro.js.map +1 -0
  168. package/dist/module/babel/allowedModules.js +19 -0
  169. package/dist/module/babel/allowedModules.js.map +1 -0
  170. package/dist/module/babel/helpers.js +21 -0
  171. package/dist/module/babel/helpers.js.map +1 -0
  172. package/dist/module/babel/import-plugin.js +97 -0
  173. package/dist/module/babel/import-plugin.js.map +1 -0
  174. package/dist/module/babel/index.js +9 -0
  175. package/dist/module/babel/index.js.map +1 -0
  176. package/dist/module/babel/react-native-web.js +112 -0
  177. package/dist/module/babel/react-native-web.js.map +1 -0
  178. package/dist/module/babel/react-native.js +112 -0
  179. package/dist/module/babel/react-native.js.map +1 -0
  180. package/dist/module/compiler/atRules.js +97 -0
  181. package/dist/module/compiler/atRules.js.map +1 -0
  182. package/dist/module/compiler/attributes.test.js +20 -0
  183. package/dist/module/compiler/attributes.test.js.map +1 -0
  184. package/dist/module/compiler/compiler.js +230 -0
  185. package/dist/module/compiler/compiler.js.map +1 -0
  186. package/dist/module/compiler/compiler.types.js +60 -0
  187. package/dist/module/compiler/compiler.types.js.map +1 -0
  188. package/dist/module/compiler/container-query.js +59 -0
  189. package/dist/module/compiler/container-query.js.map +1 -0
  190. package/dist/module/compiler/declarations.js +2014 -0
  191. package/dist/module/compiler/declarations.js.map +1 -0
  192. package/dist/module/compiler/functions-web.js +32 -0
  193. package/dist/module/compiler/functions-web.js.map +1 -0
  194. package/dist/module/compiler/functions.js +47 -0
  195. package/dist/module/compiler/functions.js.map +1 -0
  196. package/dist/module/compiler/index.js +9 -0
  197. package/dist/module/compiler/index.js.map +1 -0
  198. package/dist/module/compiler/inheritance.test.js +78 -0
  199. package/dist/module/compiler/inheritance.test.js.map +1 -0
  200. package/dist/module/compiler/keyframes.js +54 -0
  201. package/dist/module/compiler/keyframes.js.map +1 -0
  202. package/dist/module/compiler/media-query.js +166 -0
  203. package/dist/module/compiler/media-query.js.map +1 -0
  204. package/dist/module/compiler/selectors.js +405 -0
  205. package/dist/module/compiler/selectors.js.map +1 -0
  206. package/dist/module/compiler/split-by-delimiter.js +17 -0
  207. package/dist/module/compiler/split-by-delimiter.js.map +1 -0
  208. package/dist/module/compiler/stylesheet.js +369 -0
  209. package/dist/module/compiler/stylesheet.js.map +1 -0
  210. package/dist/module/components/Text.js +12 -0
  211. package/dist/module/components/Text.js.map +1 -0
  212. package/dist/module/components/View.js +12 -0
  213. package/dist/module/components/View.js.map +1 -0
  214. package/dist/module/components/index.js +6 -0
  215. package/dist/module/components/index.js.map +1 -0
  216. package/dist/module/doctor/index.js +4 -0
  217. package/dist/module/doctor/index.js.map +1 -0
  218. package/dist/module/index.js +5 -0
  219. package/dist/module/index.js.map +1 -0
  220. package/dist/module/jest/expect.d.js +2 -0
  221. package/dist/module/jest/expect.d.js.map +1 -0
  222. package/dist/module/jest/index.js +29 -0
  223. package/dist/module/jest/index.js.map +1 -0
  224. package/dist/module/jest/setup.js +3 -0
  225. package/dist/module/jest/setup.js.map +1 -0
  226. package/dist/module/jest/setupAfterEnv.js +15 -0
  227. package/dist/module/jest/setupAfterEnv.js.map +1 -0
  228. package/dist/module/metro/index.js +159 -0
  229. package/dist/module/metro/index.js.map +1 -0
  230. package/dist/module/metro/injection-code.js +27 -0
  231. package/dist/module/metro/injection-code.js.map +1 -0
  232. package/dist/module/metro/metro-transformer.js +17 -0
  233. package/dist/module/metro/metro-transformer.js.map +1 -0
  234. package/dist/module/metro/picocolors.js +67 -0
  235. package/dist/module/metro/picocolors.js.map +1 -0
  236. package/dist/module/metro/resolver.js +57 -0
  237. package/dist/module/metro/resolver.js.map +1 -0
  238. package/dist/module/metro/stringify.js +55 -0
  239. package/dist/module/metro/stringify.js.map +1 -0
  240. package/dist/module/metro/typescript.js +42 -0
  241. package/dist/module/metro/typescript.js.map +1 -0
  242. package/dist/module/package.json +1 -0
  243. package/dist/module/poison.pill.js +34 -0
  244. package/dist/module/poison.pill.js.map +1 -0
  245. package/dist/module/runtime/index.js +9 -0
  246. package/dist/module/runtime/index.js.map +1 -0
  247. package/dist/module/runtime/native/api.js +75 -0
  248. package/dist/module/runtime/native/api.js.map +1 -0
  249. package/dist/module/runtime/native/conditions/container-query.js +110 -0
  250. package/dist/module/runtime/native/conditions/container-query.js.map +1 -0
  251. package/dist/module/runtime/native/conditions/guards.js +29 -0
  252. package/dist/module/runtime/native/conditions/guards.js.map +1 -0
  253. package/dist/module/runtime/native/conditions/index.js +70 -0
  254. package/dist/module/runtime/native/conditions/index.js.map +1 -0
  255. package/dist/module/runtime/native/conditions/media-query.js +88 -0
  256. package/dist/module/runtime/native/conditions/media-query.js.map +1 -0
  257. package/dist/module/runtime/native/index.js +5 -0
  258. package/dist/module/runtime/native/index.js.map +1 -0
  259. package/dist/module/runtime/native/injection.js +93 -0
  260. package/dist/module/runtime/native/injection.js.map +1 -0
  261. package/dist/module/runtime/native/metro.js +5 -0
  262. package/dist/module/runtime/native/metro.js.map +1 -0
  263. package/dist/module/runtime/native/react/interaction.js +59 -0
  264. package/dist/module/runtime/native/react/interaction.js.map +1 -0
  265. package/dist/module/runtime/native/react/rules.js +246 -0
  266. package/dist/module/runtime/native/react/rules.js.map +1 -0
  267. package/dist/module/runtime/native/react/useNativeCss.js +152 -0
  268. package/dist/module/runtime/native/react/useNativeCss.js.map +1 -0
  269. package/dist/module/runtime/native/react/usePassthrough.js +45 -0
  270. package/dist/module/runtime/native/react/usePassthrough.js.map +1 -0
  271. package/dist/module/runtime/native/reactivity.js +177 -0
  272. package/dist/module/runtime/native/reactivity.js.map +1 -0
  273. package/dist/module/runtime/native/styles/animation.js +82 -0
  274. package/dist/module/runtime/native/styles/animation.js.map +1 -0
  275. package/dist/module/runtime/native/styles/border.js +8 -0
  276. package/dist/module/runtime/native/styles/border.js.map +1 -0
  277. package/dist/module/runtime/native/styles/box-shadow.js +35 -0
  278. package/dist/module/runtime/native/styles/box-shadow.js.map +1 -0
  279. package/dist/module/runtime/native/styles/calc.js +79 -0
  280. package/dist/module/runtime/native/styles/calc.js.map +1 -0
  281. package/dist/module/runtime/native/styles/calculate-props.js +118 -0
  282. package/dist/module/runtime/native/styles/calculate-props.js.map +1 -0
  283. package/dist/module/runtime/native/styles/constants.js +5 -0
  284. package/dist/module/runtime/native/styles/constants.js.map +1 -0
  285. package/dist/module/runtime/native/styles/defaults.js +65 -0
  286. package/dist/module/runtime/native/styles/defaults.js.map +1 -0
  287. package/dist/module/runtime/native/styles/filters.js +70 -0
  288. package/dist/module/runtime/native/styles/filters.js.map +1 -0
  289. package/dist/module/runtime/native/styles/index.js +110 -0
  290. package/dist/module/runtime/native/styles/index.js.map +1 -0
  291. package/dist/module/runtime/native/styles/platform-functions.js +36 -0
  292. package/dist/module/runtime/native/styles/platform-functions.js.map +1 -0
  293. package/dist/module/runtime/native/styles/resolve.js +125 -0
  294. package/dist/module/runtime/native/styles/resolve.js.map +1 -0
  295. package/dist/module/runtime/native/styles/shorthand.js +74 -0
  296. package/dist/module/runtime/native/styles/shorthand.js.map +1 -0
  297. package/dist/module/runtime/native/styles/text-shadow.js +9 -0
  298. package/dist/module/runtime/native/styles/text-shadow.js.map +1 -0
  299. package/dist/module/runtime/native/styles/transform.js +18 -0
  300. package/dist/module/runtime/native/styles/transform.js.map +1 -0
  301. package/dist/module/runtime/native/styles/units.js +40 -0
  302. package/dist/module/runtime/native/styles/units.js.map +1 -0
  303. package/dist/module/runtime/native/styles/variables.js +74 -0
  304. package/dist/module/runtime/native/styles/variables.js.map +1 -0
  305. package/dist/module/runtime/runtime.js +4 -0
  306. package/dist/module/runtime/runtime.js.map +1 -0
  307. package/dist/module/runtime/runtime.native.js +4 -0
  308. package/dist/module/runtime/runtime.native.js.map +1 -0
  309. package/dist/module/runtime/runtime.types.js +4 -0
  310. package/dist/module/runtime/runtime.types.js.map +1 -0
  311. package/dist/module/runtime/utils/components.js +14 -0
  312. package/dist/module/runtime/utils/components.js.map +1 -0
  313. package/dist/module/runtime/utils/dot-notation.types.js +2 -0
  314. package/dist/module/runtime/utils/dot-notation.types.js.map +1 -0
  315. package/dist/module/runtime/utils/index.js +8 -0
  316. package/dist/module/runtime/utils/index.js.map +1 -0
  317. package/dist/module/runtime/utils/objects.js +76 -0
  318. package/dist/module/runtime/utils/objects.js.map +1 -0
  319. package/dist/module/runtime/utils/specificity.js +38 -0
  320. package/dist/module/runtime/utils/specificity.js.map +1 -0
  321. package/dist/module/runtime/utils/style-value.js +16 -0
  322. package/dist/module/runtime/utils/style-value.js.map +1 -0
  323. package/dist/module/runtime/utils/utils.types.js +4 -0
  324. package/dist/module/runtime/utils/utils.types.js.map +1 -0
  325. package/dist/module/runtime/web/api.js +59 -0
  326. package/dist/module/runtime/web/api.js.map +1 -0
  327. package/dist/module/runtime/web/assign-style.js +23 -0
  328. package/dist/module/runtime/web/assign-style.js.map +1 -0
  329. package/dist/module/runtime/web/index.js +6 -0
  330. package/dist/module/runtime/web/index.js.map +1 -0
  331. package/dist/module/runtime/web/metro.js +5 -0
  332. package/dist/module/runtime/web/metro.js.map +1 -0
  333. package/dist/typescript/commonjs/example/src/App.d.ts +3 -0
  334. package/dist/typescript/commonjs/example/src/App.d.ts.map +1 -0
  335. package/dist/typescript/commonjs/package.json +1 -0
  336. package/dist/typescript/commonjs/src/babel/allowedModules.d.ts +2 -0
  337. package/dist/typescript/commonjs/src/babel/allowedModules.d.ts.map +1 -0
  338. package/dist/typescript/commonjs/src/babel/helpers.d.ts +13 -0
  339. package/dist/typescript/commonjs/src/babel/helpers.d.ts.map +1 -0
  340. package/dist/typescript/commonjs/src/babel/import-plugin.d.ts +6 -0
  341. package/dist/typescript/commonjs/src/babel/import-plugin.d.ts.map +1 -0
  342. package/dist/typescript/commonjs/src/babel/index.d.ts +1 -0
  343. package/dist/typescript/commonjs/src/babel/index.d.ts.map +1 -0
  344. package/dist/typescript/commonjs/src/babel/react-native-web.d.ts +8 -0
  345. package/dist/typescript/commonjs/src/babel/react-native-web.d.ts.map +1 -0
  346. package/dist/typescript/commonjs/src/babel/react-native.d.ts +8 -0
  347. package/dist/typescript/commonjs/src/babel/react-native.d.ts.map +1 -0
  348. package/dist/typescript/commonjs/src/compiler/atRules.d.ts +34 -0
  349. package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -0
  350. package/dist/typescript/commonjs/src/compiler/attributes.test.d.ts +2 -0
  351. package/dist/typescript/commonjs/src/compiler/attributes.test.d.ts.map +1 -0
  352. package/dist/typescript/commonjs/src/compiler/compiler.d.ts +10 -0
  353. package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -0
  354. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +198 -0
  355. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -0
  356. package/dist/typescript/commonjs/src/compiler/container-query.d.ts +5 -0
  357. package/dist/typescript/commonjs/src/compiler/container-query.d.ts.map +1 -0
  358. package/dist/typescript/commonjs/src/compiler/declarations.d.ts +121 -0
  359. package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -0
  360. package/dist/typescript/commonjs/src/compiler/functions-web.d.ts +11 -0
  361. package/dist/typescript/commonjs/src/compiler/functions-web.d.ts.map +1 -0
  362. package/dist/typescript/commonjs/src/compiler/functions.d.ts +11 -0
  363. package/dist/typescript/commonjs/src/compiler/functions.d.ts.map +1 -0
  364. package/dist/typescript/commonjs/src/compiler/index.d.ts +7 -0
  365. package/dist/typescript/commonjs/src/compiler/index.d.ts.map +1 -0
  366. package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts +2 -0
  367. package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts.map +1 -0
  368. package/dist/typescript/commonjs/src/compiler/keyframes.d.ts +7 -0
  369. package/dist/typescript/commonjs/src/compiler/keyframes.d.ts.map +1 -0
  370. package/dist/typescript/commonjs/src/compiler/media-query.d.ts +7 -0
  371. package/dist/typescript/commonjs/src/compiler/media-query.d.ts.map +1 -0
  372. package/dist/typescript/commonjs/src/compiler/selectors.d.ts +23 -0
  373. package/dist/typescript/commonjs/src/compiler/selectors.d.ts.map +1 -0
  374. package/dist/typescript/commonjs/src/compiler/split-by-delimiter.d.ts +2 -0
  375. package/dist/typescript/commonjs/src/compiler/split-by-delimiter.d.ts.map +1 -0
  376. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +50 -0
  377. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -0
  378. package/dist/typescript/commonjs/src/components/Text.d.ts +8 -0
  379. package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -0
  380. package/dist/typescript/commonjs/src/components/View.d.ts +8 -0
  381. package/dist/typescript/commonjs/src/components/View.d.ts.map +1 -0
  382. package/dist/typescript/commonjs/src/components/index.d.ts +4 -0
  383. package/dist/typescript/commonjs/src/components/index.d.ts.map +1 -0
  384. package/dist/typescript/commonjs/src/doctor/index.d.ts +2 -0
  385. package/dist/typescript/commonjs/src/doctor/index.d.ts.map +1 -0
  386. package/dist/typescript/commonjs/src/index.d.ts +3 -0
  387. package/dist/typescript/commonjs/src/index.d.ts.map +1 -0
  388. package/dist/typescript/commonjs/src/jest/index.d.ts +14 -0
  389. package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -0
  390. package/dist/typescript/commonjs/src/jest/setup.d.ts +1 -0
  391. package/dist/typescript/commonjs/src/jest/setup.d.ts.map +1 -0
  392. package/dist/typescript/commonjs/src/jest/setupAfterEnv.d.ts +1 -0
  393. package/dist/typescript/commonjs/src/jest/setupAfterEnv.d.ts.map +1 -0
  394. package/dist/typescript/commonjs/src/metro/index.d.ts +11 -0
  395. package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -0
  396. package/dist/typescript/commonjs/src/metro/injection-code.d.ts +16 -0
  397. package/dist/typescript/commonjs/src/metro/injection-code.d.ts.map +1 -0
  398. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts +3 -0
  399. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -0
  400. package/dist/typescript/commonjs/src/metro/picocolors.d.ts +27 -0
  401. package/dist/typescript/commonjs/src/metro/picocolors.d.ts.map +1 -0
  402. package/dist/typescript/commonjs/src/metro/resolver.d.ts +4 -0
  403. package/dist/typescript/commonjs/src/metro/resolver.d.ts.map +1 -0
  404. package/dist/typescript/commonjs/src/metro/stringify.d.ts +7 -0
  405. package/dist/typescript/commonjs/src/metro/stringify.d.ts.map +1 -0
  406. package/dist/typescript/commonjs/src/metro/typescript.d.ts +2 -0
  407. package/dist/typescript/commonjs/src/metro/typescript.d.ts.map +1 -0
  408. package/dist/typescript/commonjs/src/poison.pill.d.ts +2 -0
  409. package/dist/typescript/commonjs/src/poison.pill.d.ts.map +1 -0
  410. package/dist/typescript/commonjs/src/runtime/index.d.ts +7 -0
  411. package/dist/typescript/commonjs/src/runtime/index.d.ts.map +1 -0
  412. package/dist/typescript/commonjs/src/runtime/native/api.d.ts +17 -0
  413. package/dist/typescript/commonjs/src/runtime/native/api.d.ts.map +1 -0
  414. package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts +7 -0
  415. package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts.map +1 -0
  416. package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts +5 -0
  417. package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts.map +1 -0
  418. package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts +6 -0
  419. package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts.map +1 -0
  420. package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts +4 -0
  421. package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts.map +1 -0
  422. package/dist/typescript/commonjs/src/runtime/native/index.d.ts +4 -0
  423. package/dist/typescript/commonjs/src/runtime/native/index.d.ts.map +1 -0
  424. package/dist/typescript/commonjs/src/runtime/native/injection.d.ts +16 -0
  425. package/dist/typescript/commonjs/src/runtime/native/injection.d.ts.map +1 -0
  426. package/dist/typescript/commonjs/src/runtime/native/metro.d.ts +2 -0
  427. package/dist/typescript/commonjs/src/runtime/native/metro.d.ts.map +1 -0
  428. package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts +6 -0
  429. package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts.map +1 -0
  430. package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts +7 -0
  431. package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts.map +1 -0
  432. package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts +37 -0
  433. package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts.map +1 -0
  434. package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts +4 -0
  435. package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts.map +1 -0
  436. package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts +63 -0
  437. package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts.map +1 -0
  438. package/dist/typescript/commonjs/src/runtime/native/styles/animation.d.ts +9 -0
  439. package/dist/typescript/commonjs/src/runtime/native/styles/animation.d.ts.map +1 -0
  440. package/dist/typescript/commonjs/src/runtime/native/styles/border.d.ts +2 -0
  441. package/dist/typescript/commonjs/src/runtime/native/styles/border.d.ts.map +1 -0
  442. package/dist/typescript/commonjs/src/runtime/native/styles/box-shadow.d.ts +3 -0
  443. package/dist/typescript/commonjs/src/runtime/native/styles/box-shadow.d.ts.map +1 -0
  444. package/dist/typescript/commonjs/src/runtime/native/styles/calc.d.ts +3 -0
  445. package/dist/typescript/commonjs/src/runtime/native/styles/calc.d.ts.map +1 -0
  446. package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts +10 -0
  447. package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts.map +1 -0
  448. package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts +3 -0
  449. package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts.map +1 -0
  450. package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts +3 -0
  451. package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts.map +1 -0
  452. package/dist/typescript/commonjs/src/runtime/native/styles/filters.d.ts +12 -0
  453. package/dist/typescript/commonjs/src/runtime/native/styles/filters.d.ts.map +1 -0
  454. package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts +19 -0
  455. package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts.map +1 -0
  456. package/dist/typescript/commonjs/src/runtime/native/styles/platform-functions.d.ts +8 -0
  457. package/dist/typescript/commonjs/src/runtime/native/styles/platform-functions.d.ts.map +1 -0
  458. package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts +18 -0
  459. package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts.map +1 -0
  460. package/dist/typescript/commonjs/src/runtime/native/styles/shorthand.d.ts +11 -0
  461. package/dist/typescript/commonjs/src/runtime/native/styles/shorthand.d.ts.map +1 -0
  462. package/dist/typescript/commonjs/src/runtime/native/styles/text-shadow.d.ts +2 -0
  463. package/dist/typescript/commonjs/src/runtime/native/styles/text-shadow.d.ts.map +1 -0
  464. package/dist/typescript/commonjs/src/runtime/native/styles/transform.d.ts +7 -0
  465. package/dist/typescript/commonjs/src/runtime/native/styles/transform.d.ts.map +1 -0
  466. package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts +6 -0
  467. package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts.map +1 -0
  468. package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts +5 -0
  469. package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts.map +1 -0
  470. package/dist/typescript/commonjs/src/runtime/runtime.d.ts +2 -0
  471. package/dist/typescript/commonjs/src/runtime/runtime.d.ts.map +1 -0
  472. package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts +2 -0
  473. package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts.map +1 -0
  474. package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts +47 -0
  475. package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts.map +1 -0
  476. package/dist/typescript/commonjs/src/runtime/utils/components.d.ts +2 -0
  477. package/dist/typescript/commonjs/src/runtime/utils/components.d.ts.map +1 -0
  478. package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts +23 -0
  479. package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts.map +1 -0
  480. package/dist/typescript/commonjs/src/runtime/utils/index.d.ts +6 -0
  481. package/dist/typescript/commonjs/src/runtime/utils/index.d.ts.map +1 -0
  482. package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts +5 -0
  483. package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts.map +1 -0
  484. package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts +12 -0
  485. package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts.map +1 -0
  486. package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts +4 -0
  487. package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts.map +1 -0
  488. package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts +5 -0
  489. package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts.map +1 -0
  490. package/dist/typescript/commonjs/src/runtime/web/api.d.ts +10 -0
  491. package/dist/typescript/commonjs/src/runtime/web/api.d.ts.map +1 -0
  492. package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts +2 -0
  493. package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts.map +1 -0
  494. package/dist/typescript/commonjs/src/runtime/web/index.d.ts +4 -0
  495. package/dist/typescript/commonjs/src/runtime/web/index.d.ts.map +1 -0
  496. package/dist/typescript/commonjs/src/runtime/web/metro.d.ts +2 -0
  497. package/dist/typescript/commonjs/src/runtime/web/metro.d.ts.map +1 -0
  498. package/dist/typescript/module/example/src/App.d.ts +3 -0
  499. package/dist/typescript/module/example/src/App.d.ts.map +1 -0
  500. package/dist/typescript/module/package.json +1 -0
  501. package/dist/typescript/module/src/babel/allowedModules.d.ts +2 -0
  502. package/dist/typescript/module/src/babel/allowedModules.d.ts.map +1 -0
  503. package/dist/typescript/module/src/babel/helpers.d.ts +13 -0
  504. package/dist/typescript/module/src/babel/helpers.d.ts.map +1 -0
  505. package/dist/typescript/module/src/babel/import-plugin.d.ts +6 -0
  506. package/dist/typescript/module/src/babel/import-plugin.d.ts.map +1 -0
  507. package/dist/typescript/module/src/babel/index.d.ts +1 -0
  508. package/dist/typescript/module/src/babel/index.d.ts.map +1 -0
  509. package/dist/typescript/module/src/babel/react-native-web.d.ts +8 -0
  510. package/dist/typescript/module/src/babel/react-native-web.d.ts.map +1 -0
  511. package/dist/typescript/module/src/babel/react-native.d.ts +8 -0
  512. package/dist/typescript/module/src/babel/react-native.d.ts.map +1 -0
  513. package/dist/typescript/module/src/compiler/atRules.d.ts +34 -0
  514. package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -0
  515. package/dist/typescript/module/src/compiler/attributes.test.d.ts +2 -0
  516. package/dist/typescript/module/src/compiler/attributes.test.d.ts.map +1 -0
  517. package/dist/typescript/module/src/compiler/compiler.d.ts +10 -0
  518. package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -0
  519. package/dist/typescript/module/src/compiler/compiler.types.d.ts +198 -0
  520. package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -0
  521. package/dist/typescript/module/src/compiler/container-query.d.ts +5 -0
  522. package/dist/typescript/module/src/compiler/container-query.d.ts.map +1 -0
  523. package/dist/typescript/module/src/compiler/declarations.d.ts +121 -0
  524. package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -0
  525. package/dist/typescript/module/src/compiler/functions-web.d.ts +11 -0
  526. package/dist/typescript/module/src/compiler/functions-web.d.ts.map +1 -0
  527. package/dist/typescript/module/src/compiler/functions.d.ts +11 -0
  528. package/dist/typescript/module/src/compiler/functions.d.ts.map +1 -0
  529. package/dist/typescript/module/src/compiler/index.d.ts +7 -0
  530. package/dist/typescript/module/src/compiler/index.d.ts.map +1 -0
  531. package/dist/typescript/module/src/compiler/inheritance.test.d.ts +2 -0
  532. package/dist/typescript/module/src/compiler/inheritance.test.d.ts.map +1 -0
  533. package/dist/typescript/module/src/compiler/keyframes.d.ts +7 -0
  534. package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -0
  535. package/dist/typescript/module/src/compiler/media-query.d.ts +7 -0
  536. package/dist/typescript/module/src/compiler/media-query.d.ts.map +1 -0
  537. package/dist/typescript/module/src/compiler/selectors.d.ts +23 -0
  538. package/dist/typescript/module/src/compiler/selectors.d.ts.map +1 -0
  539. package/dist/typescript/module/src/compiler/split-by-delimiter.d.ts +2 -0
  540. package/dist/typescript/module/src/compiler/split-by-delimiter.d.ts.map +1 -0
  541. package/dist/typescript/module/src/compiler/stylesheet.d.ts +50 -0
  542. package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -0
  543. package/dist/typescript/module/src/components/Text.d.ts +8 -0
  544. package/dist/typescript/module/src/components/Text.d.ts.map +1 -0
  545. package/dist/typescript/module/src/components/View.d.ts +8 -0
  546. package/dist/typescript/module/src/components/View.d.ts.map +1 -0
  547. package/dist/typescript/module/src/components/index.d.ts +4 -0
  548. package/dist/typescript/module/src/components/index.d.ts.map +1 -0
  549. package/dist/typescript/module/src/doctor/index.d.ts +2 -0
  550. package/dist/typescript/module/src/doctor/index.d.ts.map +1 -0
  551. package/dist/typescript/module/src/index.d.ts +3 -0
  552. package/dist/typescript/module/src/index.d.ts.map +1 -0
  553. package/dist/typescript/module/src/jest/index.d.ts +14 -0
  554. package/dist/typescript/module/src/jest/index.d.ts.map +1 -0
  555. package/dist/typescript/module/src/jest/setup.d.ts +1 -0
  556. package/dist/typescript/module/src/jest/setup.d.ts.map +1 -0
  557. package/dist/typescript/module/src/jest/setupAfterEnv.d.ts +1 -0
  558. package/dist/typescript/module/src/jest/setupAfterEnv.d.ts.map +1 -0
  559. package/dist/typescript/module/src/metro/index.d.ts +11 -0
  560. package/dist/typescript/module/src/metro/index.d.ts.map +1 -0
  561. package/dist/typescript/module/src/metro/injection-code.d.ts +16 -0
  562. package/dist/typescript/module/src/metro/injection-code.d.ts.map +1 -0
  563. package/dist/typescript/module/src/metro/metro-transformer.d.ts +3 -0
  564. package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -0
  565. package/dist/typescript/module/src/metro/picocolors.d.ts +27 -0
  566. package/dist/typescript/module/src/metro/picocolors.d.ts.map +1 -0
  567. package/dist/typescript/module/src/metro/resolver.d.ts +4 -0
  568. package/dist/typescript/module/src/metro/resolver.d.ts.map +1 -0
  569. package/dist/typescript/module/src/metro/stringify.d.ts +7 -0
  570. package/dist/typescript/module/src/metro/stringify.d.ts.map +1 -0
  571. package/dist/typescript/module/src/metro/typescript.d.ts +2 -0
  572. package/dist/typescript/module/src/metro/typescript.d.ts.map +1 -0
  573. package/dist/typescript/module/src/poison.pill.d.ts +2 -0
  574. package/dist/typescript/module/src/poison.pill.d.ts.map +1 -0
  575. package/dist/typescript/module/src/runtime/index.d.ts +7 -0
  576. package/dist/typescript/module/src/runtime/index.d.ts.map +1 -0
  577. package/dist/typescript/module/src/runtime/native/api.d.ts +17 -0
  578. package/dist/typescript/module/src/runtime/native/api.d.ts.map +1 -0
  579. package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts +7 -0
  580. package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts.map +1 -0
  581. package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts +5 -0
  582. package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts.map +1 -0
  583. package/dist/typescript/module/src/runtime/native/conditions/index.d.ts +6 -0
  584. package/dist/typescript/module/src/runtime/native/conditions/index.d.ts.map +1 -0
  585. package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts +4 -0
  586. package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts.map +1 -0
  587. package/dist/typescript/module/src/runtime/native/index.d.ts +4 -0
  588. package/dist/typescript/module/src/runtime/native/index.d.ts.map +1 -0
  589. package/dist/typescript/module/src/runtime/native/injection.d.ts +16 -0
  590. package/dist/typescript/module/src/runtime/native/injection.d.ts.map +1 -0
  591. package/dist/typescript/module/src/runtime/native/metro.d.ts +2 -0
  592. package/dist/typescript/module/src/runtime/native/metro.d.ts.map +1 -0
  593. package/dist/typescript/module/src/runtime/native/react/interaction.d.ts +6 -0
  594. package/dist/typescript/module/src/runtime/native/react/interaction.d.ts.map +1 -0
  595. package/dist/typescript/module/src/runtime/native/react/rules.d.ts +7 -0
  596. package/dist/typescript/module/src/runtime/native/react/rules.d.ts.map +1 -0
  597. package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts +37 -0
  598. package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts.map +1 -0
  599. package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts +4 -0
  600. package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts.map +1 -0
  601. package/dist/typescript/module/src/runtime/native/reactivity.d.ts +63 -0
  602. package/dist/typescript/module/src/runtime/native/reactivity.d.ts.map +1 -0
  603. package/dist/typescript/module/src/runtime/native/styles/animation.d.ts +9 -0
  604. package/dist/typescript/module/src/runtime/native/styles/animation.d.ts.map +1 -0
  605. package/dist/typescript/module/src/runtime/native/styles/border.d.ts +2 -0
  606. package/dist/typescript/module/src/runtime/native/styles/border.d.ts.map +1 -0
  607. package/dist/typescript/module/src/runtime/native/styles/box-shadow.d.ts +3 -0
  608. package/dist/typescript/module/src/runtime/native/styles/box-shadow.d.ts.map +1 -0
  609. package/dist/typescript/module/src/runtime/native/styles/calc.d.ts +3 -0
  610. package/dist/typescript/module/src/runtime/native/styles/calc.d.ts.map +1 -0
  611. package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts +10 -0
  612. package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts.map +1 -0
  613. package/dist/typescript/module/src/runtime/native/styles/constants.d.ts +3 -0
  614. package/dist/typescript/module/src/runtime/native/styles/constants.d.ts.map +1 -0
  615. package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts +3 -0
  616. package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts.map +1 -0
  617. package/dist/typescript/module/src/runtime/native/styles/filters.d.ts +12 -0
  618. package/dist/typescript/module/src/runtime/native/styles/filters.d.ts.map +1 -0
  619. package/dist/typescript/module/src/runtime/native/styles/index.d.ts +19 -0
  620. package/dist/typescript/module/src/runtime/native/styles/index.d.ts.map +1 -0
  621. package/dist/typescript/module/src/runtime/native/styles/platform-functions.d.ts +8 -0
  622. package/dist/typescript/module/src/runtime/native/styles/platform-functions.d.ts.map +1 -0
  623. package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts +18 -0
  624. package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts.map +1 -0
  625. package/dist/typescript/module/src/runtime/native/styles/shorthand.d.ts +11 -0
  626. package/dist/typescript/module/src/runtime/native/styles/shorthand.d.ts.map +1 -0
  627. package/dist/typescript/module/src/runtime/native/styles/text-shadow.d.ts +2 -0
  628. package/dist/typescript/module/src/runtime/native/styles/text-shadow.d.ts.map +1 -0
  629. package/dist/typescript/module/src/runtime/native/styles/transform.d.ts +7 -0
  630. package/dist/typescript/module/src/runtime/native/styles/transform.d.ts.map +1 -0
  631. package/dist/typescript/module/src/runtime/native/styles/units.d.ts +6 -0
  632. package/dist/typescript/module/src/runtime/native/styles/units.d.ts.map +1 -0
  633. package/dist/typescript/module/src/runtime/native/styles/variables.d.ts +5 -0
  634. package/dist/typescript/module/src/runtime/native/styles/variables.d.ts.map +1 -0
  635. package/dist/typescript/module/src/runtime/runtime.d.ts +2 -0
  636. package/dist/typescript/module/src/runtime/runtime.d.ts.map +1 -0
  637. package/dist/typescript/module/src/runtime/runtime.native.d.ts +2 -0
  638. package/dist/typescript/module/src/runtime/runtime.native.d.ts.map +1 -0
  639. package/dist/typescript/module/src/runtime/runtime.types.d.ts +47 -0
  640. package/dist/typescript/module/src/runtime/runtime.types.d.ts.map +1 -0
  641. package/dist/typescript/module/src/runtime/utils/components.d.ts +2 -0
  642. package/dist/typescript/module/src/runtime/utils/components.d.ts.map +1 -0
  643. package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts +23 -0
  644. package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts.map +1 -0
  645. package/dist/typescript/module/src/runtime/utils/index.d.ts +6 -0
  646. package/dist/typescript/module/src/runtime/utils/index.d.ts.map +1 -0
  647. package/dist/typescript/module/src/runtime/utils/objects.d.ts +5 -0
  648. package/dist/typescript/module/src/runtime/utils/objects.d.ts.map +1 -0
  649. package/dist/typescript/module/src/runtime/utils/specificity.d.ts +12 -0
  650. package/dist/typescript/module/src/runtime/utils/specificity.d.ts.map +1 -0
  651. package/dist/typescript/module/src/runtime/utils/style-value.d.ts +4 -0
  652. package/dist/typescript/module/src/runtime/utils/style-value.d.ts.map +1 -0
  653. package/dist/typescript/module/src/runtime/utils/utils.types.d.ts +5 -0
  654. package/dist/typescript/module/src/runtime/utils/utils.types.d.ts.map +1 -0
  655. package/dist/typescript/module/src/runtime/web/api.d.ts +10 -0
  656. package/dist/typescript/module/src/runtime/web/api.d.ts.map +1 -0
  657. package/dist/typescript/module/src/runtime/web/assign-style.d.ts +2 -0
  658. package/dist/typescript/module/src/runtime/web/assign-style.d.ts.map +1 -0
  659. package/dist/typescript/module/src/runtime/web/index.d.ts +4 -0
  660. package/dist/typescript/module/src/runtime/web/index.d.ts.map +1 -0
  661. package/dist/typescript/module/src/runtime/web/metro.d.ts +2 -0
  662. package/dist/typescript/module/src/runtime/web/metro.d.ts.map +1 -0
  663. package/package.json +222 -47
  664. package/src/babel/allowedModules.ts +24 -0
  665. package/src/babel/helpers.ts +40 -0
  666. package/src/babel/import-plugin.ts +176 -0
  667. package/src/babel/index.ts +9 -0
  668. package/src/babel/react-native-web.ts +226 -0
  669. package/src/babel/react-native.ts +226 -0
  670. package/src/compiler/atRules.ts +144 -0
  671. package/src/compiler/attributes.test.ts +28 -0
  672. package/src/compiler/compiler.ts +268 -0
  673. package/src/compiler/compiler.types.ts +267 -0
  674. package/src/compiler/container-query.ts +97 -0
  675. package/src/compiler/declarations.ts +2964 -0
  676. package/src/compiler/functions-web.ts +44 -0
  677. package/src/compiler/functions.ts +64 -0
  678. package/src/compiler/index.ts +7 -0
  679. package/src/compiler/inheritance.test.ts +121 -0
  680. package/src/compiler/keyframes.ts +86 -0
  681. package/src/compiler/media-query.ts +251 -0
  682. package/src/compiler/selectors.ts +491 -0
  683. package/src/compiler/split-by-delimiter.ts +19 -0
  684. package/src/compiler/stylesheet.ts +528 -0
  685. package/src/components/Text.tsx +17 -0
  686. package/src/components/View.tsx +17 -0
  687. package/src/components/index.tsx +4 -0
  688. package/src/doctor/index.ts +1 -0
  689. package/src/index.ts +3 -0
  690. package/src/jest/expect.d.ts +1 -0
  691. package/src/jest/index.ts +42 -0
  692. package/src/jest/setup.ts +1 -0
  693. package/src/jest/setupAfterEnv.ts +13 -0
  694. package/src/metro/index.ts +231 -0
  695. package/src/metro/injection-code.ts +38 -0
  696. package/src/metro/metro-transformer.ts +31 -0
  697. package/src/metro/picocolors.ts +77 -0
  698. package/src/metro/resolver.ts +89 -0
  699. package/src/metro/stringify.ts +59 -0
  700. package/src/metro/typescript.ts +73 -0
  701. package/src/poison.pill.ts +32 -0
  702. package/src/runtime/index.ts +7 -0
  703. package/src/runtime/native/api.ts +106 -0
  704. package/src/runtime/native/conditions/container-query.ts +157 -0
  705. package/src/runtime/native/conditions/guards.ts +45 -0
  706. package/src/runtime/native/conditions/index.ts +106 -0
  707. package/src/runtime/native/conditions/media-query.ts +94 -0
  708. package/src/runtime/native/index.ts +4 -0
  709. package/src/runtime/native/injection.ts +131 -0
  710. package/src/runtime/native/metro.ts +2 -0
  711. package/src/runtime/native/react/interaction.ts +90 -0
  712. package/src/runtime/native/react/rules.ts +326 -0
  713. package/src/runtime/native/react/useNativeCss.ts +200 -0
  714. package/src/runtime/native/react/usePassthrough.ts +51 -0
  715. package/src/runtime/native/reactivity.ts +262 -0
  716. package/src/runtime/native/styles/animation.ts +181 -0
  717. package/src/runtime/native/styles/border.ts +10 -0
  718. package/src/runtime/native/styles/box-shadow.ts +54 -0
  719. package/src/runtime/native/styles/calc.ts +97 -0
  720. package/src/runtime/native/styles/calculate-props.ts +165 -0
  721. package/src/runtime/native/styles/constants.ts +2 -0
  722. package/src/runtime/native/styles/defaults.ts +78 -0
  723. package/src/runtime/native/styles/filters.ts +98 -0
  724. package/src/runtime/native/styles/index.ts +197 -0
  725. package/src/runtime/native/styles/platform-functions.ts +50 -0
  726. package/src/runtime/native/styles/resolve.ts +205 -0
  727. package/src/runtime/native/styles/shorthand.ts +121 -0
  728. package/src/runtime/native/styles/text-shadow.ts +17 -0
  729. package/src/runtime/native/styles/transform.ts +21 -0
  730. package/src/runtime/native/styles/units.ts +53 -0
  731. package/src/runtime/native/styles/variables.ts +88 -0
  732. package/src/runtime/runtime.native.ts +1 -0
  733. package/src/runtime/runtime.ts +1 -0
  734. package/src/runtime/runtime.types.ts +130 -0
  735. package/src/runtime/utils/components.ts +15 -0
  736. package/src/runtime/utils/dot-notation.types.ts +118 -0
  737. package/src/runtime/utils/index.ts +5 -0
  738. package/src/runtime/utils/objects.ts +97 -0
  739. package/src/runtime/utils/specificity.ts +44 -0
  740. package/src/runtime/utils/style-value.ts +24 -0
  741. package/src/runtime/utils/utils.types.ts +19 -0
  742. package/src/runtime/web/api.ts +88 -0
  743. package/src/runtime/web/assign-style.ts +26 -0
  744. package/src/runtime/web/index.ts +5 -0
  745. package/src/runtime/web/metro.ts +2 -0
  746. package/.babelrc +0 -17
  747. package/.editorconfig +0 -17
  748. package/.eslintignore +0 -3
  749. package/.eslintrc +0 -39
  750. package/.npmignore +0 -7
  751. package/build/index.js +0 -299
  752. package/build/utils.js +0 -61
  753. package/circle.yml +0 -31
  754. package/jsconfig.json +0 -9
  755. package/login.sh +0 -11
  756. package/src/index.js +0 -184
  757. package/src/utils.js +0 -32
  758. package/test/rnc.test.js +0 -258
  759. package/yarn.lock +0 -3333
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=utils.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["runtime/utils/utils.types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+
3
+ import { createElement } from "react";
4
+ import { Appearance } from "react-native";
5
+ import { assignStyle } from "./assign-style.js";
6
+ export const styled = (baseComponent, mapping, _options) => {
7
+ return props => {
8
+ return useCssElement(baseComponent, mapping, props);
9
+ };
10
+ };
11
+ export const useCssElement = (component, incomingProps, mapping) => {
12
+ let props = {
13
+ ...incomingProps
14
+ };
15
+ for (const [key, value] of Object.entries(mapping)) {
16
+ const source = props[key];
17
+ if (!source) {
18
+ continue;
19
+ }
20
+
21
+ // eslint-disable-next-line @typescript-eslint/no-dynamic-delete
22
+ delete props[key];
23
+ let target = typeof value === "object" ? value.target : value;
24
+ if (typeof target === "boolean") {
25
+ target = key;
26
+ }
27
+ props = assignStyle({
28
+ $$css: true,
29
+ [key]: source
30
+ }, target.split("."), props);
31
+ }
32
+ return /*#__PURE__*/createElement(component, props);
33
+ };
34
+ export const colorScheme = {
35
+ get() {
36
+ return Appearance.getColorScheme();
37
+ },
38
+ set(name) {
39
+ Appearance.setColorScheme(name);
40
+ }
41
+ };
42
+ export function vars(variables) {
43
+ const $variables = {};
44
+ for (const [key, value] of Object.entries(variables)) {
45
+ if (key.startsWith("--")) {
46
+ $variables[key] = value.toString();
47
+ } else {
48
+ $variables[`--${key}`] = value.toString();
49
+ }
50
+ }
51
+ return $variables;
52
+ }
53
+ export const useNativeVariable = () => {
54
+ throw new Error("useNativeVariable is not supported in web");
55
+ };
56
+ export const useUnstableNativeVariable = () => {
57
+ throw new Error("useUnstableNativeVariable is not supported in web");
58
+ };
59
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createElement","Appearance","assignStyle","styled","baseComponent","mapping","_options","props","useCssElement","component","incomingProps","key","value","Object","entries","source","target","$$css","split","colorScheme","get","getColorScheme","set","name","setColorScheme","vars","variables","$variables","startsWith","toString","useNativeVariable","Error","useUnstableNativeVariable"],"sourceRoot":"../../../../src","sources":["runtime/web/api.ts"],"mappings":";;AAAA,SAASA,aAAa,QAA6B,OAAO;AAC1D,SAASC,UAAU,QAAQ,cAAc;AAUzC,SAASC,WAAW,QAAQ,mBAAgB;AAE5C,OAAO,MAAMC,MAAM,GAAGA,CAIpBC,aAAgB,EAChBC,OAAU,EACVC,QAAwB,KACrB;EACH,OAAQC,KAAwC,IAAK;IACnD,OAAOC,aAAa,CAACJ,aAAa,EAAEC,OAAO,EAAEE,KAAK,CAAC;EACrD,CAAC;AACH,CAAC;AAED,OAAO,MAAMC,aAAa,GAAGA,CAC3BC,SAAY,EACZC,aAAoB,EACpBL,OAA+B,KAC5B;EACH,IAAIE,KAAK,GAAG;IAAE,GAAGG;EAAc,CAAC;EAEhC,KAAK,MAAM,CAACC,GAAG,EAAEC,KAAK,CAAC,IAAIC,MAAM,CAACC,OAAO,CAACT,OAAO,CAAC,EAAE;IAClD,MAAMU,MAAe,GAAGR,KAAK,CAACI,GAAG,CAAC;IAClC,IAAI,CAACI,MAAM,EAAE;MACX;IACF;;IAEA;IACA,OAAOR,KAAK,CAACI,GAAG,CAAC;IAEjB,IAAIK,MAAwB,GAC1B,OAAOJ,KAAK,KAAK,QAAQ,GAAGA,KAAK,CAACI,MAAM,GAAGJ,KAAK;IAElD,IAAI,OAAOI,MAAM,KAAK,SAAS,EAAE;MAC/BA,MAAM,GAAGL,GAAG;IACd;IAEAJ,KAAK,GAAGL,WAAW,CACjB;MAAEe,KAAK,EAAE,IAAI;MAAE,CAACN,GAAG,GAAGI;IAAO,CAAC,EAC9BC,MAAM,CAACE,KAAK,CAAC,GAAG,CAAC,EACjBX,KACF,CAAC;EACH;EAEA,oBAAOP,aAAa,CAACS,SAAS,EAAEF,KAAK,CAAC;AACxC,CAAC;AAED,OAAO,MAAMY,WAAwB,GAAG;EACtCC,GAAGA,CAAA,EAAG;IACJ,OAAOnB,UAAU,CAACoB,cAAc,CAAC,CAAC;EACpC,CAAC;EACDC,GAAGA,CAACC,IAAI,EAAE;IACRtB,UAAU,CAACuB,cAAc,CAACD,IAAI,CAAC;EACjC;AACF,CAAC;AAED,OAAO,SAASE,IAAIA,CAACC,SAAiD,EAAE;EACtE,MAAMC,UAAkC,GAAG,CAAC,CAAC;EAE7C,KAAK,MAAM,CAAChB,GAAG,EAAEC,KAAK,CAAC,IAAIC,MAAM,CAACC,OAAO,CAACY,SAAS,CAAC,EAAE;IACpD,IAAIf,GAAG,CAACiB,UAAU,CAAC,IAAI,CAAC,EAAE;MACxBD,UAAU,CAAChB,GAAG,CAAC,GAAGC,KAAK,CAACiB,QAAQ,CAAC,CAAC;IACpC,CAAC,MAAM;MACLF,UAAU,CAAC,KAAKhB,GAAG,EAAE,CAAC,GAAGC,KAAK,CAACiB,QAAQ,CAAC,CAAC;IAC3C;EACF;EACA,OAAOF,UAAU;AACnB;AAEA,OAAO,MAAMG,iBAAiB,GAAGA,CAAA,KAAM;EACrC,MAAM,IAAIC,KAAK,CAAC,2CAA2C,CAAC;AAC9D,CAAC;AAED,OAAO,MAAMC,yBAAyB,GAAGA,CAAA,KAAM;EAC7C,MAAM,IAAID,KAAK,CAAC,mDAAmD,CAAC;AACtE,CAAC","ignoreList":[]}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ /* eslint-disable */
4
+ export function assignStyle(value, targets, props) {
5
+ const target = targets.shift();
6
+ if (!target) return {};
7
+ if (targets.length === 0) {
8
+ if (typeof props[target] === "function") {
9
+ const cb = props[target];
10
+ props[target] = (...args) => {
11
+ return [cb(...args), value];
12
+ };
13
+ } else {
14
+ props[target] = [props[target], value];
15
+ }
16
+ return props;
17
+ } else {
18
+ props[target] ??= {};
19
+ assignStyle(value, targets, props[target]);
20
+ return props;
21
+ }
22
+ }
23
+ //# sourceMappingURL=assign-style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["assignStyle","value","targets","props","target","shift","length","cb","args"],"sourceRoot":"../../../../src","sources":["runtime/web/assign-style.ts"],"mappings":";;AAAA;AACA,OAAO,SAASA,WAAWA,CACzBC,KAA0B,EAC1BC,OAAiB,EACjBC,KAA0B,EAC1B;EACA,MAAMC,MAAM,GAAGF,OAAO,CAACG,KAAK,CAAC,CAAC;EAE9B,IAAI,CAACD,MAAM,EAAE,OAAO,CAAC,CAAC;EAEtB,IAAIF,OAAO,CAACI,MAAM,KAAK,CAAC,EAAE;IACxB,IAAI,OAAOH,KAAK,CAACC,MAAM,CAAC,KAAK,UAAU,EAAE;MACvC,MAAMG,EAAE,GAAGJ,KAAK,CAACC,MAAM,CAAC;MACxBD,KAAK,CAACC,MAAM,CAAC,GAAG,CAAC,GAAGI,IAAW,KAAK;QAClC,OAAO,CAACD,EAAE,CAAC,GAAGC,IAAI,CAAC,EAAEP,KAAK,CAAC;MAC7B,CAAC;IACH,CAAC,MAAM;MACLE,KAAK,CAACC,MAAM,CAAC,GAAG,CAACD,KAAK,CAACC,MAAM,CAAC,EAAEH,KAAK,CAAC;IACxC;IACA,OAAOE,KAAK;EACd,CAAC,MAAM;IACLA,KAAK,CAACC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpBJ,WAAW,CAACC,KAAK,EAAEC,OAAO,EAAEC,KAAK,CAACC,MAAM,CAAC,CAAC;IAC1C,OAAOD,KAAK;EACd;AACF","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ // Import this file for Metro to override
4
+ import "./metro.js";
5
+ export * from "./api.js";
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["runtime/web/index.ts"],"mappings":";;AAAA;AACA,OAAO,YAAS;AAGhB,cAAc,UAAO","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ // This file will be overwritten by Metro
4
+ export {};
5
+ //# sourceMappingURL=metro.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["runtime/web/metro.ts"],"mappings":";;AAAA;AACA","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ import "../global.css";
2
+ export default function App(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=App.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../../example/src/App.tsx"],"names":[],"mappings":"AAEA,OAAO,eAAe,CAAC;AAEvB,MAAM,CAAC,OAAO,UAAU,GAAG,4CAQ1B"}
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
@@ -0,0 +1,2 @@
1
+ export declare const allowedModules: Set<string>;
2
+ //# sourceMappingURL=allowedModules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowedModules.d.ts","sourceRoot":"","sources":["../../../../../src/babel/allowedModules.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,cAAc,aAE1B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import tBabelTypes, { type CallExpression } from "@babel/types";
2
+ export type BabelTypes = typeof tBabelTypes;
3
+ export interface PluginOpts {
4
+ target?: string;
5
+ runtime?: string;
6
+ commonjs?: boolean;
7
+ }
8
+ export interface PluginState {
9
+ opts?: PluginOpts;
10
+ filename: string;
11
+ }
12
+ export declare function getInteropRequireDefaultSource(init: CallExpression, t: BabelTypes): string | undefined;
13
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/babel/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAEhE,MAAM,MAAM,UAAU,GAAG,OAAO,WAAW,CAAC;AAE5C,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,cAAc,EACpB,CAAC,EAAE,UAAU,sBAsBd"}
@@ -0,0 +1,6 @@
1
+ import { type PluginObj } from "@babel/core";
2
+ import { type BabelTypes, type PluginState } from "./helpers";
3
+ export default function ({ types: t, }: {
4
+ types: BabelTypes;
5
+ }): PluginObj<PluginState>;
6
+ //# sourceMappingURL=import-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/babel/import-plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,WAAW,EACjB,MAAM,WAAW,CAAC;AAYnB,MAAM,CAAC,OAAO,WAAW,EACvB,KAAK,EAAE,CAAC,GACT,EAAE;IACD,KAAK,EAAE,UAAU,CAAC;CACnB,GAAG,SAAS,CAAC,WAAW,CAAC,CAsJzB"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/babel/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { type NodePath } from "@babel/traverse";
2
+ import tBabelTypes, { type ImportDeclaration, type ObjectPattern, type Statement, type VariableDeclaration } from "@babel/types";
3
+ type BabelTypes = typeof tBabelTypes;
4
+ export declare function handleReactNativeWebImport(declaration: ImportDeclaration, t: BabelTypes, filename: string): Statement[] | undefined;
5
+ export declare function handleReactNativeWebIdentifierRequire(path: NodePath<VariableDeclaration>, t: BabelTypes, id: string, source: string, filename: string): tBabelTypes.VariableDeclaration[] | undefined;
6
+ export declare function handleReactNativeWebObjectPatternRequire(path: NodePath<VariableDeclaration>, t: BabelTypes, id: ObjectPattern, source: string, filename: string): tBabelTypes.Statement[] | undefined;
7
+ export {};
8
+ //# sourceMappingURL=react-native-web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-native-web.d.ts","sourceRoot":"","sources":["../../../../../src/babel/react-native-web.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,WAAW,EAAE,EAClB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACzB,MAAM,cAAc,CAAC;AAItB,KAAK,UAAU,GAAG,OAAO,WAAW,CAAC;AAgCrC,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,iBAAiB,EAC9B,CAAC,EAAE,UAAU,EACb,QAAQ,EAAE,MAAM,GACf,SAAS,EAAE,GAAG,SAAS,CA6DzB;AAED,wBAAgB,qCAAqC,CACnD,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EACnC,CAAC,EAAE,UAAU,EACb,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,iDA0CjB;AAED,wBAAgB,wCAAwC,CACtD,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EACnC,CAAC,EAAE,UAAU,EACb,EAAE,EAAE,aAAa,EACjB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,uCA4DjB"}
@@ -0,0 +1,8 @@
1
+ import { type NodePath } from "@babel/traverse";
2
+ import tBabelTypes, { type ImportDeclaration, type ObjectPattern, type Statement, type VariableDeclaration } from "@babel/types";
3
+ type BabelTypes = typeof tBabelTypes;
4
+ export declare function handleReactNativeImport(declaration: ImportDeclaration, t: BabelTypes, filename: string): Statement[] | undefined;
5
+ export declare function handleReactNativeIdentifierRequire(path: NodePath<VariableDeclaration>, t: BabelTypes, id: string, source: string, filename: string): tBabelTypes.VariableDeclaration[] | undefined;
6
+ export declare function handleReactNativeObjectPatternRequire(path: NodePath<VariableDeclaration>, t: BabelTypes, id: ObjectPattern, source: string, filename: string): tBabelTypes.Statement[] | undefined;
7
+ export {};
8
+ //# sourceMappingURL=react-native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-native.d.ts","sourceRoot":"","sources":["../../../../../src/babel/react-native.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,WAAW,EAAE,EAClB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACzB,MAAM,cAAc,CAAC;AAItB,KAAK,UAAU,GAAG,OAAO,WAAW,CAAC;AAgCrC,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,iBAAiB,EAC9B,CAAC,EAAE,UAAU,EACb,QAAQ,EAAE,MAAM,GACf,SAAS,EAAE,GAAG,SAAS,CA6DzB;AAED,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EACnC,CAAC,EAAE,UAAU,EACb,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,iDA0CjB;AAED,wBAAgB,qCAAqC,CACnD,IAAI,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EACnC,CAAC,EAAE,UAAU,EACb,EAAE,EAAE,aAAa,EACjB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,uCA4DjB"}
@@ -0,0 +1,34 @@
1
+ import type { DeclarationBlock, ParsedComponent, Rule, TokenOrValue } from "lightningcss";
2
+ import type { StyleRuleMapping } from "./compiler.types";
3
+ import type { StylesheetBuilder } from "./stylesheet";
4
+ export interface PropAtRule {
5
+ type: "unknown";
6
+ value: {
7
+ name: "prop";
8
+ prelude: Extract<TokenOrValue, {
9
+ type: "token";
10
+ }>[];
11
+ block: Extract<TokenOrValue, {
12
+ type: "token";
13
+ }>[] | null;
14
+ };
15
+ }
16
+ /***********************************************
17
+ * @react-native *
18
+ ***********************************************/
19
+ export interface ReactNativeAtRule {
20
+ type: "custom";
21
+ value: {
22
+ name: "react-native";
23
+ prelude: null | Extract<ParsedComponent, {
24
+ type: "repeated";
25
+ }>;
26
+ body: {
27
+ type: "declaration-list";
28
+ value: Pick<DeclarationBlock, "declarations">;
29
+ };
30
+ };
31
+ }
32
+ export declare function maybeMutateReactNativeOptions(rule: Rule | ReactNativeAtRule, builder: StylesheetBuilder): void;
33
+ export declare function parsePropAtRule(rules?: (Rule | PropAtRule)[]): StyleRuleMapping;
34
+ //# sourceMappingURL=atRules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"atRules.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/atRules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,IAAI,EACJ,YAAY,EACb,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,OAAO,CAAC,YAAY,EAAE;YAAE,IAAI,EAAE,OAAO,CAAA;SAAE,CAAC,EAAE,CAAC;QACpD,KAAK,EAAE,OAAO,CAAC,YAAY,EAAE;YAAE,IAAI,EAAE,OAAO,CAAA;SAAE,CAAC,EAAE,GAAG,IAAI,CAAC;KAC1D,CAAC;CACH;AAED;;iDAEiD;AAEjD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE;QACL,IAAI,EAAE,cAAc,CAAC;QACrB,OAAO,EAAE,IAAI,GAAG,OAAO,CAAC,eAAe,EAAE;YAAE,IAAI,EAAE,UAAU,CAAA;SAAE,CAAC,CAAC;QAC/D,IAAI,EAAE;YACJ,IAAI,EAAE,kBAAkB,CAAC;YACzB,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;SAC/C,CAAC;KACH,CAAC;CACH;AAED,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,IAAI,GAAG,iBAAiB,EAC9B,OAAO,EAAE,iBAAiB,QA+B3B;AAUD,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,GAAG,UAAU,CAAC,EAAE,oBAgC5D"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=attributes.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attributes.test.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/attributes.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import type { CompilerOptions, ReactNativeCssStyleSheet } from "./compiler.types";
2
+ /**
3
+ * Converts a CSS file to a collection of style declarations that can be used with the StyleSheet API
4
+ *
5
+ * @param code - The CSS file contents
6
+ * @param options - Compiler options
7
+ * @returns A `ReactNativeCssStyleSheet` that can be passed to `StyleSheet.register` or used with a custom runtime
8
+ */
9
+ export declare function compile(code: Buffer | string, options?: CompilerOptions): ReactNativeCssStyleSheet;
10
+ //# sourceMappingURL=compiler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/compiler.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,eAAe,EAEf,wBAAwB,EACzB,MAAM,kBAAkB,CAAC;AAU1B;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,MAAM,GAAG,MAAM,EACrB,OAAO,GAAE,eAAoB,GAC5B,wBAAwB,CAyE1B"}
@@ -0,0 +1,198 @@
1
+ import type { Debugger } from "debug";
2
+ import type { MediaFeatureNameFor_MediaFeatureId } from "lightningcss";
3
+ import { VAR_SYMBOL } from "../runtime/native/reactivity";
4
+ export interface CompilerOptions {
5
+ inlineRem?: number | false;
6
+ grouping?: (string | RegExp)[];
7
+ selectorPrefix?: string;
8
+ stylesheetOrder?: number;
9
+ features?: FeatureFlagRecord;
10
+ logger?: (message: string) => void | Debugger;
11
+ /** Strip unused variables declarations. Defaults: false */
12
+ stripUnusedVariables?: boolean;
13
+ /** @internal */
14
+ ignorePropertyWarningRegex?: (string | RegExp)[];
15
+ preserveVariables?: boolean;
16
+ hexColors?: boolean;
17
+ colorPrecision?: number;
18
+ }
19
+ /**
20
+ * A `react-native-css` StyleSheet
21
+ */
22
+ export type ReactNativeCssStyleSheet = ReactNativeCssStyleSheet_V2;
23
+ export interface ReactNativeCssStyleSheet_V2 {
24
+ /** Feature flags */
25
+ f?: FeatureFlagRecord;
26
+ /** rem */
27
+ r?: number;
28
+ /** StyleRuleSets */
29
+ s?: (readonly [string, StyleRuleSet])[];
30
+ /** KeyFrames */
31
+ k?: Animation_V2[];
32
+ /** Root Variables */
33
+ vr?: [string, LightDarkVariable][];
34
+ /** Universal Variables */
35
+ vu?: [string, LightDarkVariable][];
36
+ }
37
+ /******************************** Styles ********************************/
38
+ /**
39
+ * The JS representation of a style object
40
+ *
41
+ * This CSS rule is a single StyleRuleSet, made up of multiple StyleRules
42
+ *
43
+ * ```css
44
+ * .my-class {
45
+ * color: red;
46
+ * }
47
+ * ```
48
+ * Properties are split into normal and important properties, and then split
49
+ * into different StyleRules depending on their specificity, conditions, etc
50
+ */
51
+ export type StyleRuleSet = StyleRule[];
52
+ export interface StyleRule {
53
+ /** Specificity */
54
+ s: SpecificityArray;
55
+ /** Declarations */
56
+ d?: StyleDeclaration[];
57
+ /** Variables */
58
+ v?: VariableDescriptor[];
59
+ /** Named Containers */
60
+ c?: string[];
61
+ /** Declarations use variables */
62
+ dv?: number;
63
+ target?: string | string[] | false;
64
+ /**
65
+ * Conditionals
66
+ */
67
+ /** MediaQuery */
68
+ m?: MediaCondition[];
69
+ /** PseudoClassesQuery */
70
+ p?: PseudoClassesQuery;
71
+ /** Container Query */
72
+ cq?: ContainerQuery[];
73
+ /** Attribute Conditions */
74
+ aq?: AttributeQuery[];
75
+ /**
76
+ * Animations and Transitions
77
+ */
78
+ /** Animations */
79
+ a?: boolean;
80
+ }
81
+ export type StyleDeclaration =
82
+ /** This is a static style object */
83
+ Record<string, StyleDescriptor>
84
+ /** A style that needs to be set */
85
+ | [StyleDescriptor, string | string[]]
86
+ /** A value that can only be computed at runtime */
87
+ | [StyleFunction, string | string[]]
88
+ /** A value that can only be computed at runtime, and only after styles have been calculated */
89
+ | [StyleFunction, string | string[], 1];
90
+ export type StyleDescriptor = string | number | boolean | undefined | StyleFunction | StyleDescriptor[];
91
+ export type StyleFunction = [
92
+ Record<never, never>,
93
+ string
94
+ ] | readonly [
95
+ Record<never, never>,
96
+ string
97
+ ] | [
98
+ Record<never, never>,
99
+ string,
100
+ StyleDescriptor
101
+ ] | readonly [
102
+ Record<never, never>,
103
+ string,
104
+ StyleDescriptor
105
+ ] | [
106
+ Record<never, never>,
107
+ string,
108
+ StyleDescriptor,
109
+ 1
110
+ ] | readonly [
111
+ Record<never, never>,
112
+ string,
113
+ StyleDescriptor,
114
+ 1
115
+ ];
116
+ /****************************** Variables *******************************/
117
+ export type VariableDescriptor = [string, StyleDescriptor];
118
+ export type VariableRecord = Record<string, LightDarkVariable>;
119
+ export type LightDarkVariable = [StyleDescriptor] | [StyleDescriptor, StyleDescriptor];
120
+ export type InlineVariable = {
121
+ [VAR_SYMBOL]: "inline";
122
+ [key: string]: unknown | undefined;
123
+ };
124
+ /****************************** Animations V2 ******************************/
125
+ export type Animation_V2 = [string, AnimationKeyframes_V2[]];
126
+ export type AnimationRecord = Record<string, AnimationKeyframes_V2[]>;
127
+ export type AnimationKeyframes_V2 = [string | number, StyleDeclaration[]];
128
+ /****************************** Conditions ******************************/
129
+ export type MediaCondition = ["!!", MediaFeatureNameFor_MediaFeatureId] | ["!", MediaCondition] | ["&", MediaCondition[]] | ["|", MediaCondition[]] | [
130
+ MediaFeatureComparison,
131
+ MediaFeatureNameFor_MediaFeatureId | MediaFeatureNameFor_MediaFeatureId,
132
+ StyleDescriptor
133
+ ] | [
134
+ "[]",
135
+ MediaFeatureNameFor_MediaFeatureId,
136
+ StyleDescriptor,
137
+ MediaFeatureComparison,
138
+ StyleDescriptor,
139
+ MediaFeatureComparison
140
+ ];
141
+ export type MediaFeatureComparison = "=" | ">" | ">=" | "<" | "<=";
142
+ export interface PseudoClassesQuery {
143
+ /** Hover */
144
+ h?: 1;
145
+ /** Active */
146
+ a?: 1;
147
+ /** Focus */
148
+ f?: 1;
149
+ }
150
+ type AttributeQueryType = "a" | "d";
151
+ export type AttributeQuery = [AttributeQueryType, string] | [AttributeQueryType, string, "!"] | [AttributeQueryType, string, AttrSelectorOperator, string] | [AttributeQueryType, string, AttrSelectorOperator, string, "i" | "s"];
152
+ export type AttrSelectorOperator = "=" | "~=" | "|=" | "^=" | "$=" | "*=";
153
+ /****************************** Containers *****************************/
154
+ export interface ContainerQuery {
155
+ /** Name */
156
+ n?: string | null;
157
+ m?: MediaCondition;
158
+ p?: PseudoClassesQuery;
159
+ a?: AttributeQuery[];
160
+ }
161
+ /****************************** Specificity *****************************/
162
+ /**
163
+ * https://drafts.csswg.org/selectors/#specificity-rules
164
+ *
165
+ * This array is sorted by most common values when parsing a StyleSheet
166
+ */
167
+ export type SpecificityArray = SpecificityValue[];
168
+ export type SpecificityValue = number | undefined;
169
+ /****************************** Compiler ********************************/
170
+ type FeatureFlags = never;
171
+ export type FeatureFlagRecord = Partial<Record<FeatureFlags, boolean>>;
172
+ /** @internal */
173
+ export type PathTokens = string | string[];
174
+ /** @internal */
175
+ export type StyleRuleMapping = Record<string, PathTokens>;
176
+ /**
177
+ * @internal
178
+ */
179
+ export type LoggerOptions = {
180
+ logger: (message: string) => void;
181
+ };
182
+ /**
183
+ * @internal
184
+ */
185
+ export interface CompilerCollection extends CompilerOptions {
186
+ features: FeatureFlagRecord;
187
+ rules: Map<string, StyleRule[]>;
188
+ keyframes: Map<string, AnimationKeyframes_V2[]>;
189
+ darkMode?: string | null;
190
+ rootVariables: VariableRecord;
191
+ universalVariables: VariableRecord;
192
+ selectorPrefix?: string;
193
+ appearanceOrder: number;
194
+ rem?: number | boolean;
195
+ varUsageCount: Map<string, number>;
196
+ }
197
+ export {};
198
+ //# sourceMappingURL=compiler.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compiler.types.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/compiler.types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,5 @@
1
+ import type { ContainerCondition as CSSContainerCondition } from "lightningcss";
2
+ import type { MediaCondition } from "./compiler.types";
3
+ import type { StylesheetBuilder } from "./stylesheet";
4
+ export declare function parseContainerCondition(condition: CSSContainerCondition, builder: StylesheetBuilder): 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;AAKvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,qBAAqB,EAChC,OAAO,EAAE,iBAAiB,8BAU3B"}
@@ -0,0 +1,121 @@
1
+ import type { Angle, BorderBlockColor, BorderSideWidth, BorderStyle, ColorOrAuto, CssColor, Declaration, DimensionPercentageFor_LengthValue, EnvironmentVariable, FontSize, FontStyle, FontVariantCaps, FontWeight, Length, LengthPercentageOrAuto, LengthValue, LineHeight, LineStyle, MaxSize, NumberOrPercentage, Scale, Size, Size2DFor_DimensionPercentageFor_LengthValue, Time, Token, TokenOrValue, Translate, UnresolvedColor } from "lightningcss";
2
+ import type { StyleDescriptor, StyleFunction } from "./compiler.types";
3
+ import type { StylesheetBuilder } from "./stylesheet";
4
+ type DeclarationType<P extends Declaration["property"]> = Extract<Declaration, {
5
+ property: P;
6
+ }>;
7
+ export declare function parseDeclaration(declaration: Declaration, builder: StylesheetBuilder): void;
8
+ export declare function parseScaleValue(translate: Scale, prop: keyof Extract<Scale, object>, builder: StylesheetBuilder): StyleDescriptor;
9
+ export declare function parseDeclarationUnparsed(declaration: Extract<Declaration, {
10
+ property: "unparsed";
11
+ }>, builder: StylesheetBuilder): void;
12
+ export declare function parseDeclarationCustom(declaration: Extract<Declaration, {
13
+ property: "custom";
14
+ }>, builder: StylesheetBuilder): void;
15
+ export declare function reduceParseUnparsed(tokenOrValues: TokenOrValue[], builder: StylesheetBuilder): StyleDescriptor;
16
+ export declare function unparsedFunction(token: Extract<TokenOrValue, {
17
+ type: "function";
18
+ }>, builder: StylesheetBuilder): StyleFunction;
19
+ /**
20
+ * When the CSS cannot be parsed (often due to a runtime condition like a CSS variable)
21
+ * This export function best efforts parsing it into a export function that we can evaluate at runtime
22
+ */
23
+ export declare function parseUnparsed(tokenOrValue: TokenOrValue | TokenOrValue[] | string | number | undefined | null, builder: StylesheetBuilder, allowAuto?: boolean): StyleDescriptor;
24
+ export declare function parseLengthDeclaration(declaration: {
25
+ value: number | Length | DimensionPercentageFor_LengthValue | NumberOrPercentage | LengthValue;
26
+ }, builder: StylesheetBuilder): StyleDescriptor;
27
+ export declare function parseLength(length: number | Length | DimensionPercentageFor_LengthValue | NumberOrPercentage | LengthValue, builder: StylesheetBuilder): StyleDescriptor;
28
+ export declare function parseAngle(angle: Angle | number, builder: StylesheetBuilder): string | undefined;
29
+ export declare function parseSizeDeclaration(declaration: {
30
+ value: Size | MaxSize;
31
+ }, builder: StylesheetBuilder): StyleDescriptor;
32
+ export declare function parsePointerEvents({ value }: {
33
+ value: string;
34
+ }, builder: StylesheetBuilder): "none" | "auto" | "box-none" | "box-only" | undefined;
35
+ export declare function parseSize(size: Size | MaxSize, builder: StylesheetBuilder, options?: {
36
+ allowAuto?: boolean;
37
+ }): StyleDescriptor;
38
+ export declare function parseSize(size: Size | MaxSize, builder: StylesheetBuilder, property: string, options?: {
39
+ allowAuto?: boolean;
40
+ }): StyleDescriptor;
41
+ export declare function parseColorOrAuto({ value }: {
42
+ value: ColorOrAuto;
43
+ }, builder: StylesheetBuilder): string | readonly [{}, "var", "__rn-css-current-color"] | undefined;
44
+ export declare function parseFontColorDeclaration(declaration: Extract<Declaration, {
45
+ value: CssColor;
46
+ }>, builder: StylesheetBuilder): void;
47
+ export declare function parseColorDeclaration(declaration: Extract<Declaration, {
48
+ value: CssColor;
49
+ }>, builder: StylesheetBuilder): void;
50
+ export declare function parseColor(cssColor: CssColor, builder: StylesheetBuilder): string | readonly [{}, "var", "__rn-css-current-color"] | undefined;
51
+ export declare function parseLengthPercentageOrAutoDeclaration(value: {
52
+ value: LengthPercentageOrAuto;
53
+ }, builder: StylesheetBuilder): StyleDescriptor;
54
+ export declare function parseLengthPercentageOrAuto(lengthPercentageOrAuto: LengthPercentageOrAuto, builder: StylesheetBuilder, { allowAuto }?: {
55
+ allowAuto?: boolean | undefined;
56
+ }): StyleDescriptor;
57
+ export declare function parseJustifyContent(declaration: DeclarationType<"justify-content">, builder: StylesheetBuilder): string | undefined;
58
+ export declare function parseAlignContent(declaration: DeclarationType<"align-content">, builder: StylesheetBuilder): string | undefined;
59
+ export declare function parseAlignItems(alignItems: DeclarationType<"align-items">, builder: StylesheetBuilder): string | undefined;
60
+ export declare function parseAlignSelf(alignSelf: DeclarationType<"align-self">, builder: StylesheetBuilder): string | undefined;
61
+ export declare function parseFontWeightDeclaration(declaration: DeclarationType<"font-weight">, builder: StylesheetBuilder): string | undefined;
62
+ export declare function parseFontWeight(fontWeight: FontWeight, builder: StylesheetBuilder): string | undefined;
63
+ export declare function parseTextShadow(declaration: DeclarationType<"text-shadow">, builder: StylesheetBuilder): void;
64
+ export declare function parseTextDecorationStyle(declaration: DeclarationType<"text-decoration-style">, builder: StylesheetBuilder): import("lightningcss").TextDecorationStyle | undefined;
65
+ export declare function parseTextDecorationLineDeclaration(declaration: DeclarationType<"text-decoration-line">, builder: StylesheetBuilder): "none" | "underline" | "line-through" | "underline line-through" | undefined;
66
+ export declare function parseTextDecorationLine(value: DeclarationType<"text-decoration-line">["value"], builder: StylesheetBuilder): "none" | "underline" | "line-through" | "underline line-through" | undefined;
67
+ export declare function parsePosition({ value }: DeclarationType<"position">, builder: StylesheetBuilder): "absolute" | "relative" | undefined;
68
+ export declare function parseOverflow({ value }: DeclarationType<"overflow">, builder: StylesheetBuilder): import("lightningcss").OverflowKeyword | undefined;
69
+ export declare function parseBorderStyleDeclaration(declaration: DeclarationType<"border-style">, builder: StylesheetBuilder): LineStyle | undefined;
70
+ export declare function parseBorderStyle(value: BorderStyle | LineStyle, builder: StylesheetBuilder): LineStyle | undefined;
71
+ export declare function parseBorderBlockColor({ value }: {
72
+ value: BorderBlockColor;
73
+ }, builder: StylesheetBuilder): void;
74
+ export declare function parseBorderBlockWidth(declaration: DeclarationType<"border-block-width" | "border-inline-width">, builder: StylesheetBuilder): void;
75
+ export declare function parseBorderSideWidthDeclaration(declaration: {
76
+ value: BorderSideWidth;
77
+ }, builder: StylesheetBuilder): StyleDescriptor;
78
+ export declare function parseBorderSideWidth(value: BorderSideWidth, builder: StylesheetBuilder): StyleDescriptor;
79
+ export declare function parseVerticalAlign({ value }: DeclarationType<"vertical-align">, builder: StylesheetBuilder): import("lightningcss").VerticalAlignKeyword | undefined;
80
+ export declare function parseLineHeightDeclaration(declaration: DeclarationType<"line-height">, builder: StylesheetBuilder): StyleDescriptor;
81
+ export declare function parseLineHeight(value: LineHeight, builder: StylesheetBuilder): StyleDescriptor;
82
+ export declare function parseFontSizeDeclaration(declaration: DeclarationType<"font-size">, builder: StylesheetBuilder): void;
83
+ export declare function parseFontSize(value: FontSize, builder: StylesheetBuilder): StyleDescriptor;
84
+ export declare function parseFontStyleDeclaration(declaration: DeclarationType<"font-style">, builder: StylesheetBuilder): "normal" | "italic" | undefined;
85
+ export declare function parseFontStyle(value: FontStyle, builder: StylesheetBuilder): "normal" | "italic" | undefined;
86
+ export declare function parseFontVariantCapsDeclaration(declaration: DeclarationType<"font-variant-caps">, builder: StylesheetBuilder): FontVariantCaps | undefined;
87
+ export declare function parseFontVariantCaps(value: FontVariantCaps, builder: StylesheetBuilder): FontVariantCaps | undefined;
88
+ export declare function parseLengthOrCoercePercentageToRuntime(value: Length | DimensionPercentageFor_LengthValue | NumberOrPercentage, builder: StylesheetBuilder): StyleDescriptor;
89
+ export declare function parseGap(declaration: DeclarationType<"gap" | "column-gap" | "row-gap">, builder: StylesheetBuilder): StyleDescriptor;
90
+ export declare function parseTextAlign({ value }: DeclarationType<"text-align">, builder: StylesheetBuilder): import("lightningcss").TextAlign | undefined;
91
+ export declare function parseBoxShadow({ value }: DeclarationType<"box-shadow">, builder: StylesheetBuilder): void;
92
+ export declare function parseDisplay({ value }: DeclarationType<"display">, builder: StylesheetBuilder): "flex" | "none" | undefined;
93
+ export declare function parseAspectRatio({ value, }: DeclarationType<"aspect-ratio">): StyleDescriptor;
94
+ export declare function parseDimension({ unit, value }: Extract<Token, {
95
+ type: "dimension";
96
+ }>, builder: StylesheetBuilder): StyleDescriptor;
97
+ export declare function parseUserSelect({ value }: DeclarationType<"user-select">, builder: StylesheetBuilder): import("lightningcss").UserSelect | undefined;
98
+ export declare function parseSVGPaint({ value }: DeclarationType<"fill" | "stroke">, builder: StylesheetBuilder): string | readonly [{}, "var", "__rn-css-current-color"] | undefined;
99
+ export declare function round(number: number): number;
100
+ export declare function parseDimensionPercentageFor_LengthValue(value: DimensionPercentageFor_LengthValue, builder: StylesheetBuilder): StyleDescriptor;
101
+ export declare function parseEnv(value: EnvironmentVariable, builder: StylesheetBuilder): StyleFunction | undefined;
102
+ export declare function parseCalcFn(name: string, tokens: TokenOrValue[], builder: StylesheetBuilder): StyleDescriptor;
103
+ export declare function parseCalcArguments([...args]: TokenOrValue[], builder: StylesheetBuilder): StyleDescriptor[] | undefined;
104
+ export declare function parseTranslateProp(value: Translate, prop: keyof Extract<Translate, object>, builder: StylesheetBuilder): StyleDescriptor;
105
+ export declare function parseUnresolvedColor(color: UnresolvedColor, builder: StylesheetBuilder): StyleDescriptor;
106
+ export declare function allEqual(...params: unknown[]): boolean;
107
+ export declare function equal(a: unknown, b: unknown): boolean;
108
+ export declare function parseTime(time: Time): number;
109
+ export declare function parseSize2DDimensionPercentageDeclaration(declaration: {
110
+ value: Size2DFor_DimensionPercentageFor_LengthValue;
111
+ }, builder: StylesheetBuilder): StyleDescriptor;
112
+ export declare function parseSize2DDimensionPercentage(value: Size2DFor_DimensionPercentageFor_LengthValue, builder: StylesheetBuilder): StyleDescriptor;
113
+ export declare function addTransitionValue(declaration: Extract<Declaration, {
114
+ property: `transition${string}` | "transition";
115
+ }>, builder: StylesheetBuilder): void;
116
+ export declare function addAnimationValue(declaration: Extract<Declaration, {
117
+ property: `animation${string}` | "animation";
118
+ }>, builder: StylesheetBuilder): void;
119
+ export declare function kebabCase(str: string): string;
120
+ export {};
121
+ //# sourceMappingURL=declarations.d.ts.map