react-native-css 0.0.0-nightly.da5ce0f → 0.0.0-nightly.df32ce3

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 (548) hide show
  1. package/README.md +24 -0
  2. package/dist/commonjs/babel/helpers.js +7 -0
  3. package/dist/commonjs/babel/helpers.js.map +1 -1
  4. package/dist/commonjs/babel/import-plugin.js +20 -8
  5. package/dist/commonjs/babel/import-plugin.js.map +1 -1
  6. package/dist/commonjs/babel/react-native-web.js +17 -4
  7. package/dist/commonjs/babel/react-native-web.js.map +1 -1
  8. package/dist/commonjs/babel/react-native.js +9 -4
  9. package/dist/commonjs/babel/react-native.js.map +1 -1
  10. package/dist/commonjs/compiler/atRules.js +35 -0
  11. package/dist/commonjs/compiler/atRules.js.map +1 -1
  12. package/dist/commonjs/compiler/compiler.js +107 -32
  13. package/dist/commonjs/compiler/compiler.js.map +1 -1
  14. package/dist/commonjs/compiler/container-query.js +6 -1
  15. package/dist/commonjs/compiler/container-query.js.map +1 -1
  16. package/dist/commonjs/compiler/declarations.js +103 -62
  17. package/dist/commonjs/compiler/declarations.js.map +1 -1
  18. package/dist/commonjs/compiler/lightningcss-loader.js +11 -8
  19. package/dist/commonjs/compiler/lightningcss-loader.js.map +1 -1
  20. package/dist/commonjs/compiler/media-query.js +16 -6
  21. package/dist/commonjs/compiler/media-query.js.map +1 -1
  22. package/dist/commonjs/compiler/selector-builder.js +15 -4
  23. package/dist/commonjs/compiler/selector-builder.js.map +1 -1
  24. package/dist/commonjs/compiler/stylesheet.js +16 -3
  25. package/dist/commonjs/compiler/stylesheet.js.map +1 -1
  26. package/dist/commonjs/compiler/supports.js +1 -3
  27. package/dist/commonjs/compiler/supports.js.map +1 -1
  28. package/dist/commonjs/components/FlatList.js +1 -0
  29. package/dist/commonjs/components/FlatList.js.map +1 -1
  30. package/dist/commonjs/components/ImageBackground.js +2 -6
  31. package/dist/commonjs/components/ImageBackground.js.map +1 -1
  32. package/dist/commonjs/components/KeyboardAvoidingView.js +2 -3
  33. package/dist/commonjs/components/KeyboardAvoidingView.js.map +1 -1
  34. package/dist/commonjs/components/index.cjs +46 -1
  35. package/dist/commonjs/components/index.cjs.map +1 -1
  36. package/dist/commonjs/jest/index.js +1 -1
  37. package/dist/commonjs/jest/index.js.map +1 -1
  38. package/dist/commonjs/metro/cache-version.js +43 -0
  39. package/dist/commonjs/metro/cache-version.js.map +1 -0
  40. package/dist/commonjs/metro/index.js +2 -0
  41. package/dist/commonjs/metro/index.js.map +1 -1
  42. package/dist/commonjs/metro/metro-transformer.js +16 -3
  43. package/dist/commonjs/metro/metro-transformer.js.map +1 -1
  44. package/dist/commonjs/metro/typescript.js +26 -6
  45. package/dist/commonjs/metro/typescript.js.map +1 -1
  46. package/dist/commonjs/metro/warnings.js +135 -0
  47. package/dist/commonjs/metro/warnings.js.map +1 -0
  48. package/dist/commonjs/native/api.js +13 -9
  49. package/dist/commonjs/native/api.js.map +1 -1
  50. package/dist/commonjs/native/conditions/attributes.js +16 -9
  51. package/dist/commonjs/native/conditions/attributes.js.map +1 -1
  52. package/dist/commonjs/native/conditions/container-query.js +11 -11
  53. package/dist/commonjs/native/conditions/container-query.js.map +1 -1
  54. package/dist/commonjs/native/conditions/media-query.js +1 -1
  55. package/dist/commonjs/native/conditions/media-query.js.map +1 -1
  56. package/dist/commonjs/native/react/interaction.js +10 -5
  57. package/dist/commonjs/native/react/interaction.js.map +1 -1
  58. package/dist/commonjs/native/react/rules.js +12 -5
  59. package/dist/commonjs/native/react/rules.js.map +1 -1
  60. package/dist/commonjs/native/react/useNativeCss.js +60 -11
  61. package/dist/commonjs/native/react/useNativeCss.js.map +1 -1
  62. package/dist/commonjs/native/react/usePassthrough.js +5 -2
  63. package/dist/commonjs/native/react/usePassthrough.js.map +1 -1
  64. package/dist/commonjs/native/reactivity.js +61 -24
  65. package/dist/commonjs/native/reactivity.js.map +1 -1
  66. package/dist/commonjs/native/reanimated.js +15 -3
  67. package/dist/commonjs/native/reanimated.js.map +1 -1
  68. package/dist/commonjs/native/styles/functions/color-mix.js +43 -29
  69. package/dist/commonjs/native/styles/functions/color-mix.js.map +1 -1
  70. package/dist/commonjs/native/styles/functions/filters.js +18 -5
  71. package/dist/commonjs/native/styles/functions/filters.js.map +1 -1
  72. package/dist/commonjs/native/styles/functions/numeric-functions.js +4 -3
  73. package/dist/commonjs/native/styles/functions/numeric-functions.js.map +1 -1
  74. package/dist/commonjs/native/styles/functions/string-functions.js +16 -1
  75. package/dist/commonjs/native/styles/functions/string-functions.js.map +1 -1
  76. package/dist/commonjs/native/styles/functions/transform-functions.js +5 -4
  77. package/dist/commonjs/native/styles/functions/transform-functions.js.map +1 -1
  78. package/dist/commonjs/native/styles/index.js +140 -14
  79. package/dist/commonjs/native/styles/index.js.map +1 -1
  80. package/dist/commonjs/native/styles/resolve.js +10 -6
  81. package/dist/commonjs/native/styles/resolve.js.map +1 -1
  82. package/dist/commonjs/native/styles/scale-factor.js +13 -0
  83. package/dist/commonjs/native/styles/scale-factor.js.map +1 -0
  84. package/dist/commonjs/native/styles/shorthands/_handler.js +10 -0
  85. package/dist/commonjs/native/styles/shorthands/_handler.js.map +1 -1
  86. package/dist/commonjs/native/styles/shorthands/animation.js +6 -3
  87. package/dist/commonjs/native/styles/shorthands/animation.js.map +1 -1
  88. package/dist/commonjs/native/styles/shorthands/box-shadow.js +45 -12
  89. package/dist/commonjs/native/styles/shorthands/box-shadow.js.map +1 -1
  90. package/dist/commonjs/native/styles/shorthands/index.js +11 -0
  91. package/dist/commonjs/native/styles/shorthands/index.js.map +1 -1
  92. package/dist/commonjs/native/styles/shorthands/logical-border-width.js +22 -0
  93. package/dist/commonjs/native/styles/shorthands/logical-border-width.js.map +1 -0
  94. package/dist/commonjs/native/styles/variables.js +55 -43
  95. package/dist/commonjs/native/styles/variables.js.map +1 -1
  96. package/dist/commonjs/native-internal/root.js +18 -7
  97. package/dist/commonjs/native-internal/root.js.map +1 -1
  98. package/dist/commonjs/native-internal/style-collection.js +1 -1
  99. package/dist/commonjs/native-internal/style-collection.js.map +1 -1
  100. package/dist/commonjs/native-internal/variables.js +1 -1
  101. package/dist/commonjs/native-internal/variables.js.map +1 -1
  102. package/dist/commonjs/utilities/dot-notation.types.js +4 -0
  103. package/dist/commonjs/utilities/style-descriptor.js +4 -9
  104. package/dist/commonjs/utilities/style-descriptor.js.map +1 -1
  105. package/dist/commonjs/web/api.js +1 -1
  106. package/dist/commonjs/web/api.js.map +1 -1
  107. package/dist/commonjs/web/assign-style.js +4 -1
  108. package/dist/commonjs/web/assign-style.js.map +1 -1
  109. package/dist/module/babel/helpers.js +6 -0
  110. package/dist/module/babel/helpers.js.map +1 -1
  111. package/dist/module/babel/import-plugin.js +22 -10
  112. package/dist/module/babel/import-plugin.js.map +1 -1
  113. package/dist/module/babel/react-native-web.js +16 -4
  114. package/dist/module/babel/react-native-web.js.map +1 -1
  115. package/dist/module/babel/react-native.js +9 -4
  116. package/dist/module/babel/react-native.js.map +1 -1
  117. package/dist/module/compiler/atRules.js +33 -0
  118. package/dist/module/compiler/atRules.js.map +1 -1
  119. package/dist/module/compiler/compiler.js +109 -34
  120. package/dist/module/compiler/compiler.js.map +1 -1
  121. package/dist/module/compiler/compiler.types.js +2 -0
  122. package/dist/module/compiler/compiler.types.js.map +1 -1
  123. package/dist/module/compiler/container-query.js +6 -1
  124. package/dist/module/compiler/container-query.js.map +1 -1
  125. package/dist/module/compiler/declarations.js +103 -62
  126. package/dist/module/compiler/declarations.js.map +1 -1
  127. package/dist/module/compiler/lightningcss-loader.js +10 -8
  128. package/dist/module/compiler/lightningcss-loader.js.map +1 -1
  129. package/dist/module/compiler/media-query.js +16 -6
  130. package/dist/module/compiler/media-query.js.map +1 -1
  131. package/dist/module/compiler/selector-builder.js +15 -4
  132. package/dist/module/compiler/selector-builder.js.map +1 -1
  133. package/dist/module/compiler/stylesheet.js +16 -3
  134. package/dist/module/compiler/stylesheet.js.map +1 -1
  135. package/dist/module/compiler/supports.js +1 -3
  136. package/dist/module/compiler/supports.js.map +1 -1
  137. package/dist/module/components/FlatList.js +1 -0
  138. package/dist/module/components/FlatList.js.map +1 -1
  139. package/dist/module/components/ImageBackground.js +2 -6
  140. package/dist/module/components/ImageBackground.js.map +1 -1
  141. package/dist/module/components/KeyboardAvoidingView.js +2 -3
  142. package/dist/module/components/KeyboardAvoidingView.js.map +1 -1
  143. package/dist/module/components/index.cjs +46 -1
  144. package/dist/module/components/index.cjs.map +1 -1
  145. package/dist/module/jest/index.js +1 -1
  146. package/dist/module/jest/index.js.map +1 -1
  147. package/dist/module/metro/cache-version.js +39 -0
  148. package/dist/module/metro/cache-version.js.map +1 -0
  149. package/dist/module/metro/index.js +2 -0
  150. package/dist/module/metro/index.js.map +1 -1
  151. package/dist/module/metro/metro-transformer.js +16 -3
  152. package/dist/module/metro/metro-transformer.js.map +1 -1
  153. package/dist/module/metro/typescript.js +26 -6
  154. package/dist/module/metro/typescript.js.map +1 -1
  155. package/dist/module/metro/warnings.js +131 -0
  156. package/dist/module/metro/warnings.js.map +1 -0
  157. package/dist/module/native/api.js +15 -11
  158. package/dist/module/native/api.js.map +1 -1
  159. package/dist/module/native/conditions/attributes.js +16 -9
  160. package/dist/module/native/conditions/attributes.js.map +1 -1
  161. package/dist/module/native/conditions/container-query.js +11 -11
  162. package/dist/module/native/conditions/container-query.js.map +1 -1
  163. package/dist/module/native/conditions/media-query.js +1 -1
  164. package/dist/module/native/conditions/media-query.js.map +1 -1
  165. package/dist/module/native/react/interaction.js +10 -5
  166. package/dist/module/native/react/interaction.js.map +1 -1
  167. package/dist/module/native/react/rules.js +13 -6
  168. package/dist/module/native/react/rules.js.map +1 -1
  169. package/dist/module/native/react/useNativeCss.js +63 -14
  170. package/dist/module/native/react/useNativeCss.js.map +1 -1
  171. package/dist/module/native/react/usePassthrough.js +5 -2
  172. package/dist/module/native/react/usePassthrough.js.map +1 -1
  173. package/dist/module/native/reactivity.js +55 -22
  174. package/dist/module/native/reactivity.js.map +1 -1
  175. package/dist/module/native/reanimated.js +15 -3
  176. package/dist/module/native/reanimated.js.map +1 -1
  177. package/dist/module/native/styles/functions/color-mix.js +43 -29
  178. package/dist/module/native/styles/functions/color-mix.js.map +1 -1
  179. package/dist/module/native/styles/functions/filters.js +16 -4
  180. package/dist/module/native/styles/functions/filters.js.map +1 -1
  181. package/dist/module/native/styles/functions/numeric-functions.js +4 -3
  182. package/dist/module/native/styles/functions/numeric-functions.js.map +1 -1
  183. package/dist/module/native/styles/functions/string-functions.js +13 -0
  184. package/dist/module/native/styles/functions/string-functions.js.map +1 -1
  185. package/dist/module/native/styles/functions/transform-functions.js +5 -4
  186. package/dist/module/native/styles/functions/transform-functions.js.map +1 -1
  187. package/dist/module/native/styles/index.js +140 -14
  188. package/dist/module/native/styles/index.js.map +1 -1
  189. package/dist/module/native/styles/resolve.js +10 -6
  190. package/dist/module/native/styles/resolve.js.map +1 -1
  191. package/dist/module/native/styles/scale-factor.js +9 -0
  192. package/dist/module/native/styles/scale-factor.js.map +1 -0
  193. package/dist/module/native/styles/shorthands/_handler.js +11 -1
  194. package/dist/module/native/styles/shorthands/_handler.js.map +1 -1
  195. package/dist/module/native/styles/shorthands/animation.js +6 -3
  196. package/dist/module/native/styles/shorthands/animation.js.map +1 -1
  197. package/dist/module/native/styles/shorthands/box-shadow.js +46 -12
  198. package/dist/module/native/styles/shorthands/box-shadow.js.map +1 -1
  199. package/dist/module/native/styles/shorthands/index.js +1 -0
  200. package/dist/module/native/styles/shorthands/index.js.map +1 -1
  201. package/dist/module/native/styles/shorthands/logical-border-width.js +18 -0
  202. package/dist/module/native/styles/shorthands/logical-border-width.js.map +1 -0
  203. package/dist/module/native/styles/variables.js +55 -43
  204. package/dist/module/native/styles/variables.js.map +1 -1
  205. package/dist/module/native-internal/root.js +18 -7
  206. package/dist/module/native-internal/root.js.map +1 -1
  207. package/dist/module/native-internal/style-collection.js +1 -1
  208. package/dist/module/native-internal/style-collection.js.map +1 -1
  209. package/dist/module/native-internal/variables.js +2 -2
  210. package/dist/module/native-internal/variables.js.map +1 -1
  211. package/dist/module/utilities/dot-notation.types.js +2 -0
  212. package/dist/module/utilities/style-descriptor.js +4 -9
  213. package/dist/module/utilities/style-descriptor.js.map +1 -1
  214. package/dist/module/web/api.js +1 -1
  215. package/dist/module/web/api.js.map +1 -1
  216. package/dist/module/web/assign-style.js +4 -1
  217. package/dist/module/web/assign-style.js.map +1 -1
  218. package/dist/typescript/commonjs/src/babel/helpers.d.ts +2 -1
  219. package/dist/typescript/commonjs/src/babel/helpers.d.ts.map +1 -1
  220. package/dist/typescript/commonjs/src/babel/import-plugin.d.ts.map +1 -1
  221. package/dist/typescript/commonjs/src/babel/react-native-web.d.ts +2 -1
  222. package/dist/typescript/commonjs/src/babel/react-native-web.d.ts.map +1 -1
  223. package/dist/typescript/commonjs/src/babel/react-native.d.ts.map +1 -1
  224. package/dist/typescript/commonjs/src/compiler/atRules.d.ts +4 -1
  225. package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -1
  226. package/dist/typescript/commonjs/src/compiler/compiler.d.ts +1 -5
  227. package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -1
  228. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +6 -0
  229. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -1
  230. package/dist/typescript/commonjs/src/compiler/declarations.d.ts +2 -2
  231. package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -1
  232. package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts.map +1 -1
  233. package/dist/typescript/commonjs/src/compiler/media-query.d.ts +1 -1
  234. package/dist/typescript/commonjs/src/compiler/media-query.d.ts.map +1 -1
  235. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts.map +1 -1
  236. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +7 -8
  237. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -1
  238. package/dist/typescript/commonjs/src/components/FlatList.d.ts.map +1 -1
  239. package/dist/typescript/commonjs/src/components/ImageBackground.d.ts.map +1 -1
  240. package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts.map +1 -1
  241. package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts +1 -1
  242. package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
  243. package/dist/typescript/commonjs/src/jest/index.d.ts +2 -10
  244. package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -1
  245. package/dist/typescript/commonjs/src/metro/cache-version.d.ts +8 -0
  246. package/dist/typescript/commonjs/src/metro/cache-version.d.ts.map +1 -0
  247. package/dist/typescript/commonjs/src/metro/index.d.ts +4 -0
  248. package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -1
  249. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts +9 -4
  250. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -1
  251. package/dist/typescript/commonjs/src/metro/typescript.d.ts.map +1 -1
  252. package/dist/typescript/commonjs/src/metro/warnings.d.ts +13 -0
  253. package/dist/typescript/commonjs/src/metro/warnings.d.ts.map +1 -0
  254. package/dist/typescript/commonjs/src/native/api.d.ts +4 -8
  255. package/dist/typescript/commonjs/src/native/api.d.ts.map +1 -1
  256. package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts.map +1 -1
  257. package/dist/typescript/commonjs/src/native/react/interaction.d.ts +1 -1
  258. package/dist/typescript/commonjs/src/native/react/interaction.d.ts.map +1 -1
  259. package/dist/typescript/commonjs/src/native/react/rules.d.ts.map +1 -1
  260. package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts.map +1 -1
  261. package/dist/typescript/commonjs/src/native/react/usePassthrough.d.ts.map +1 -1
  262. package/dist/typescript/commonjs/src/native/reactivity.d.ts +14 -3
  263. package/dist/typescript/commonjs/src/native/reactivity.d.ts.map +1 -1
  264. package/dist/typescript/commonjs/src/native/reanimated.d.ts.map +1 -1
  265. package/dist/typescript/commonjs/src/native/styles/functions/color-mix.d.ts.map +1 -1
  266. package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts +2 -0
  267. package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts.map +1 -1
  268. package/dist/typescript/commonjs/src/native/styles/functions/numeric-functions.d.ts.map +1 -1
  269. package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts +2 -0
  270. package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts.map +1 -1
  271. package/dist/typescript/commonjs/src/native/styles/functions/transform-functions.d.ts.map +1 -1
  272. package/dist/typescript/commonjs/src/native/styles/index.d.ts +2 -2
  273. package/dist/typescript/commonjs/src/native/styles/index.d.ts.map +1 -1
  274. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts +1 -0
  275. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts.map +1 -1
  276. package/dist/typescript/commonjs/src/native/styles/scale-factor.d.ts +2 -0
  277. package/dist/typescript/commonjs/src/native/styles/scale-factor.d.ts.map +1 -0
  278. package/dist/typescript/commonjs/src/native/styles/shorthands/_handler.d.ts.map +1 -1
  279. package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts.map +1 -1
  280. package/dist/typescript/commonjs/src/native/styles/shorthands/box-shadow.d.ts.map +1 -1
  281. package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts +1 -0
  282. package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts.map +1 -1
  283. package/dist/typescript/commonjs/src/native/styles/shorthands/logical-border-width.d.ts +4 -0
  284. package/dist/typescript/commonjs/src/native/styles/shorthands/logical-border-width.d.ts.map +1 -0
  285. package/dist/typescript/commonjs/src/native/styles/variables.d.ts.map +1 -1
  286. package/dist/typescript/commonjs/src/native-internal/root.d.ts +12 -0
  287. package/dist/typescript/commonjs/src/native-internal/root.d.ts.map +1 -1
  288. package/dist/typescript/commonjs/src/native-internal/variables.d.ts +1 -1
  289. package/dist/typescript/commonjs/src/native-internal/variables.d.ts.map +1 -1
  290. package/dist/typescript/commonjs/src/runtime.types.d.ts +11 -6
  291. package/dist/typescript/commonjs/src/runtime.types.d.ts.map +1 -1
  292. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts +2 -1
  293. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts.map +1 -1
  294. package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts +1 -1
  295. package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts.map +1 -1
  296. package/dist/typescript/commonjs/src/web/api.d.ts +5 -5
  297. package/dist/typescript/commonjs/src/web/api.d.ts.map +1 -1
  298. package/dist/typescript/commonjs/src/web/assign-style.d.ts.map +1 -1
  299. package/dist/typescript/module/src/babel/helpers.d.ts +2 -1
  300. package/dist/typescript/module/src/babel/helpers.d.ts.map +1 -1
  301. package/dist/typescript/module/src/babel/import-plugin.d.ts +1 -1
  302. package/dist/typescript/module/src/babel/import-plugin.d.ts.map +1 -1
  303. package/dist/typescript/module/src/babel/react-native-web.d.ts +2 -1
  304. package/dist/typescript/module/src/babel/react-native-web.d.ts.map +1 -1
  305. package/dist/typescript/module/src/babel/react-native.d.ts.map +1 -1
  306. package/dist/typescript/module/src/compiler/atRules.d.ts +6 -3
  307. package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -1
  308. package/dist/typescript/module/src/compiler/compiler.d.ts +3 -7
  309. package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -1
  310. package/dist/typescript/module/src/compiler/compiler.types.d.ts +7 -1
  311. package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -1
  312. package/dist/typescript/module/src/compiler/container-query.d.ts +2 -2
  313. package/dist/typescript/module/src/compiler/container-query.d.ts.map +1 -1
  314. package/dist/typescript/module/src/compiler/declarations.d.ts +4 -4
  315. package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -1
  316. package/dist/typescript/module/src/compiler/index.d.ts +2 -2
  317. package/dist/typescript/module/src/compiler/index.d.ts.map +1 -1
  318. package/dist/typescript/module/src/compiler/inline-variables.d.ts +1 -1
  319. package/dist/typescript/module/src/compiler/inline-variables.d.ts.map +1 -1
  320. package/dist/typescript/module/src/compiler/keyframes.d.ts +2 -2
  321. package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -1
  322. package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts.map +1 -1
  323. package/dist/typescript/module/src/compiler/media-query.d.ts +3 -3
  324. package/dist/typescript/module/src/compiler/media-query.d.ts.map +1 -1
  325. package/dist/typescript/module/src/compiler/pseudo-elements.d.ts +1 -1
  326. package/dist/typescript/module/src/compiler/pseudo-elements.d.ts.map +1 -1
  327. package/dist/typescript/module/src/compiler/selector-builder.d.ts +1 -1
  328. package/dist/typescript/module/src/compiler/selector-builder.d.ts.map +1 -1
  329. package/dist/typescript/module/src/compiler/selectors.d.ts +2 -2
  330. package/dist/typescript/module/src/compiler/selectors.d.ts.map +1 -1
  331. package/dist/typescript/module/src/compiler/stylesheet.d.ts +7 -8
  332. package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -1
  333. package/dist/typescript/module/src/components/FlatList.d.ts.map +1 -1
  334. package/dist/typescript/module/src/components/ImageBackground.d.ts.map +1 -1
  335. package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts.map +1 -1
  336. package/dist/typescript/module/src/components/index.d.ts +16 -16
  337. package/dist/typescript/module/src/components/index.d.ts.map +1 -1
  338. package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts +1 -1
  339. package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
  340. package/dist/typescript/module/src/jest/index.d.ts +2 -10
  341. package/dist/typescript/module/src/jest/index.d.ts.map +1 -1
  342. package/dist/typescript/module/src/metro/cache-version.d.ts +8 -0
  343. package/dist/typescript/module/src/metro/cache-version.d.ts.map +1 -0
  344. package/dist/typescript/module/src/metro/index.d.ts +5 -1
  345. package/dist/typescript/module/src/metro/index.d.ts.map +1 -1
  346. package/dist/typescript/module/src/metro/metro-transformer.d.ts +10 -5
  347. package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -1
  348. package/dist/typescript/module/src/metro/typescript.d.ts.map +1 -1
  349. package/dist/typescript/module/src/metro/warnings.d.ts +13 -0
  350. package/dist/typescript/module/src/metro/warnings.d.ts.map +1 -0
  351. package/dist/typescript/module/src/native/api.d.ts +5 -9
  352. package/dist/typescript/module/src/native/api.d.ts.map +1 -1
  353. package/dist/typescript/module/src/native/conditions/attributes.d.ts +1 -1
  354. package/dist/typescript/module/src/native/conditions/attributes.d.ts.map +1 -1
  355. package/dist/typescript/module/src/native/conditions/container-query.d.ts +2 -2
  356. package/dist/typescript/module/src/native/conditions/container-query.d.ts.map +1 -1
  357. package/dist/typescript/module/src/native/conditions/guards.d.ts +2 -2
  358. package/dist/typescript/module/src/native/conditions/guards.d.ts.map +1 -1
  359. package/dist/typescript/module/src/native/conditions/index.d.ts +3 -3
  360. package/dist/typescript/module/src/native/conditions/index.d.ts.map +1 -1
  361. package/dist/typescript/module/src/native/conditions/media-query.d.ts +1 -1
  362. package/dist/typescript/module/src/native/conditions/media-query.d.ts.map +1 -1
  363. package/dist/typescript/module/src/native/index.d.ts +3 -3
  364. package/dist/typescript/module/src/native/index.d.ts.map +1 -1
  365. package/dist/typescript/module/src/native/react/interaction.d.ts +2 -2
  366. package/dist/typescript/module/src/native/react/interaction.d.ts.map +1 -1
  367. package/dist/typescript/module/src/native/react/rules.d.ts +2 -2
  368. package/dist/typescript/module/src/native/react/rules.d.ts.map +1 -1
  369. package/dist/typescript/module/src/native/react/useNativeCss.d.ts +4 -4
  370. package/dist/typescript/module/src/native/react/useNativeCss.d.ts.map +1 -1
  371. package/dist/typescript/module/src/native/react/usePassthrough.d.ts +1 -1
  372. package/dist/typescript/module/src/native/react/usePassthrough.d.ts.map +1 -1
  373. package/dist/typescript/module/src/native/reactivity.d.ts +14 -3
  374. package/dist/typescript/module/src/native/reactivity.d.ts.map +1 -1
  375. package/dist/typescript/module/src/native/reanimated.d.ts.map +1 -1
  376. package/dist/typescript/module/src/native/styles/calculate-props.d.ts +2 -2
  377. package/dist/typescript/module/src/native/styles/calculate-props.d.ts.map +1 -1
  378. package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts +1 -1
  379. package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts.map +1 -1
  380. package/dist/typescript/module/src/native/styles/functions/calc.d.ts +1 -1
  381. package/dist/typescript/module/src/native/styles/functions/calc.d.ts.map +1 -1
  382. package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts +1 -1
  383. package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts.map +1 -1
  384. package/dist/typescript/module/src/native/styles/functions/filters.d.ts +3 -1
  385. package/dist/typescript/module/src/native/styles/functions/filters.d.ts.map +1 -1
  386. package/dist/typescript/module/src/native/styles/functions/index.d.ts +8 -8
  387. package/dist/typescript/module/src/native/styles/functions/index.d.ts.map +1 -1
  388. package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts +1 -1
  389. package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts.map +1 -1
  390. package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts +1 -1
  391. package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts.map +1 -1
  392. package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts +3 -1
  393. package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts.map +1 -1
  394. package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts +1 -1
  395. package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts.map +1 -1
  396. package/dist/typescript/module/src/native/styles/index.d.ts +7 -7
  397. package/dist/typescript/module/src/native/styles/index.d.ts.map +1 -1
  398. package/dist/typescript/module/src/native/styles/line-height.d.ts +1 -1
  399. package/dist/typescript/module/src/native/styles/line-height.d.ts.map +1 -1
  400. package/dist/typescript/module/src/native/styles/resolve.d.ts +4 -3
  401. package/dist/typescript/module/src/native/styles/resolve.d.ts.map +1 -1
  402. package/dist/typescript/module/src/native/styles/scale-factor.d.ts +2 -0
  403. package/dist/typescript/module/src/native/styles/scale-factor.d.ts.map +1 -0
  404. package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts +1 -1
  405. package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts.map +1 -1
  406. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts +2 -2
  407. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts.map +1 -1
  408. package/dist/typescript/module/src/native/styles/shorthands/border.d.ts +1 -1
  409. package/dist/typescript/module/src/native/styles/shorthands/border.d.ts.map +1 -1
  410. package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts +1 -1
  411. package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts.map +1 -1
  412. package/dist/typescript/module/src/native/styles/shorthands/index.d.ts +6 -5
  413. package/dist/typescript/module/src/native/styles/shorthands/index.d.ts.map +1 -1
  414. package/dist/typescript/module/src/native/styles/shorthands/logical-border-width.d.ts +4 -0
  415. package/dist/typescript/module/src/native/styles/shorthands/logical-border-width.d.ts.map +1 -0
  416. package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts +1 -1
  417. package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts.map +1 -1
  418. package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts +1 -1
  419. package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts.map +1 -1
  420. package/dist/typescript/module/src/native/styles/units.d.ts +1 -1
  421. package/dist/typescript/module/src/native/styles/units.d.ts.map +1 -1
  422. package/dist/typescript/module/src/native/styles/variables.d.ts +2 -2
  423. package/dist/typescript/module/src/native/styles/variables.d.ts.map +1 -1
  424. package/dist/typescript/module/src/native-internal/index.d.ts +3 -3
  425. package/dist/typescript/module/src/native-internal/index.d.ts.map +1 -1
  426. package/dist/typescript/module/src/native-internal/root.d.ts +13 -1
  427. package/dist/typescript/module/src/native-internal/root.d.ts.map +1 -1
  428. package/dist/typescript/module/src/native-internal/style-collection.d.ts +2 -2
  429. package/dist/typescript/module/src/native-internal/style-collection.d.ts.map +1 -1
  430. package/dist/typescript/module/src/native-internal/variables.d.ts +2 -2
  431. package/dist/typescript/module/src/native-internal/variables.d.ts.map +1 -1
  432. package/dist/typescript/module/src/runtime.d.ts +1 -1
  433. package/dist/typescript/module/src/runtime.d.ts.map +1 -1
  434. package/dist/typescript/module/src/runtime.native.d.ts +1 -1
  435. package/dist/typescript/module/src/runtime.native.d.ts.map +1 -1
  436. package/dist/typescript/module/src/runtime.types.d.ts +11 -6
  437. package/dist/typescript/module/src/runtime.types.d.ts.map +1 -1
  438. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts +2 -1
  439. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts.map +1 -1
  440. package/dist/typescript/module/src/utilities/index.d.ts +3 -3
  441. package/dist/typescript/module/src/utilities/index.d.ts.map +1 -1
  442. package/dist/typescript/module/src/utilities/specificity.d.ts +2 -2
  443. package/dist/typescript/module/src/utilities/specificity.d.ts.map +1 -1
  444. package/dist/typescript/module/src/utilities/style-descriptor.d.ts +1 -1
  445. package/dist/typescript/module/src/utilities/style-descriptor.d.ts.map +1 -1
  446. package/dist/typescript/module/src/web/api.d.ts +5 -5
  447. package/dist/typescript/module/src/web/api.d.ts.map +1 -1
  448. package/dist/typescript/module/src/web/assign-style.d.ts.map +1 -1
  449. package/dist/typescript/module/src/web/index.d.ts +3 -3
  450. package/dist/typescript/module/src/web/index.d.ts.map +1 -1
  451. package/node/babel.mjs +4 -0
  452. package/node/compiler.mjs +2 -0
  453. package/node/metro.mjs +2 -0
  454. package/package.json +65 -29
  455. package/src/babel/helpers.ts +8 -1
  456. package/src/babel/import-plugin.ts +31 -16
  457. package/src/babel/react-native-web.ts +32 -4
  458. package/src/babel/react-native.ts +9 -4
  459. package/src/compiler/atRules.ts +44 -0
  460. package/src/compiler/compiler.ts +159 -43
  461. package/src/compiler/compiler.types.ts +9 -0
  462. package/src/compiler/container-query.ts +8 -3
  463. package/src/compiler/declarations.ts +190 -101
  464. package/src/compiler/lightningcss-loader.ts +16 -15
  465. package/src/compiler/media-query.ts +20 -9
  466. package/src/compiler/selector-builder.ts +31 -4
  467. package/src/compiler/stylesheet.ts +23 -10
  468. package/src/compiler/supports.ts +1 -3
  469. package/src/components/FlatList.tsx +1 -0
  470. package/src/components/ImageBackground.tsx +2 -6
  471. package/src/components/KeyboardAvoidingView.tsx +2 -3
  472. package/src/components/index.cts +46 -1
  473. package/src/jest/index.ts +1 -1
  474. package/src/metro/cache-version.ts +48 -0
  475. package/src/metro/index.ts +7 -0
  476. package/src/metro/metro-transformer.ts +26 -8
  477. package/src/metro/typescript.ts +53 -6
  478. package/src/metro/warnings.ts +187 -0
  479. package/src/native/api.tsx +22 -17
  480. package/src/native/conditions/attributes.ts +26 -9
  481. package/src/native/conditions/container-query.ts +11 -9
  482. package/src/native/conditions/media-query.ts +1 -1
  483. package/src/native/react/interaction.ts +11 -6
  484. package/src/native/react/rules.ts +13 -5
  485. package/src/native/react/useNativeCss.ts +69 -14
  486. package/src/native/react/usePassthrough.ts +3 -2
  487. package/src/native/reactivity.ts +76 -24
  488. package/src/native/reanimated.ts +24 -5
  489. package/src/native/styles/functions/color-mix.ts +45 -39
  490. package/src/native/styles/functions/filters.ts +20 -6
  491. package/src/native/styles/functions/numeric-functions.ts +7 -6
  492. package/src/native/styles/functions/string-functions.ts +18 -0
  493. package/src/native/styles/functions/transform-functions.ts +5 -4
  494. package/src/native/styles/index.ts +146 -15
  495. package/src/native/styles/resolve.ts +15 -11
  496. package/src/native/styles/scale-factor.ts +6 -0
  497. package/src/native/styles/shorthands/_handler.ts +14 -1
  498. package/src/native/styles/shorthands/animation.ts +8 -2
  499. package/src/native/styles/shorthands/box-shadow.ts +50 -15
  500. package/src/native/styles/shorthands/index.ts +1 -0
  501. package/src/native/styles/shorthands/logical-border-width.ts +32 -0
  502. package/src/native/styles/variables.ts +48 -38
  503. package/src/native-internal/root.ts +40 -13
  504. package/src/native-internal/style-collection.ts +1 -1
  505. package/src/native-internal/variables.tsx +6 -4
  506. package/src/runtime.types.ts +17 -15
  507. package/src/utilities/dot-notation.types.ts +4 -3
  508. package/src/utilities/style-descriptor.ts +11 -16
  509. package/src/web/api.tsx +6 -11
  510. package/src/web/assign-style.ts +2 -1
  511. package/types.d.ts +0 -20
  512. package/dist/commonjs/compiler/inheritance.test.js +0 -78
  513. package/dist/commonjs/compiler/inheritance.test.js.map +0 -1
  514. package/dist/module/compiler/inheritance.test.js +0 -78
  515. package/dist/module/compiler/inheritance.test.js.map +0 -1
  516. package/dist/typescript/commonjs/.config/eslint.config.d.mts +0 -3
  517. package/dist/typescript/commonjs/.config/eslint.config.d.mts.map +0 -1
  518. package/dist/typescript/commonjs/eslint.config.d.mts +0 -2
  519. package/dist/typescript/commonjs/eslint.config.d.mts.map +0 -1
  520. package/dist/typescript/commonjs/example/app.config.d.ts +0 -4
  521. package/dist/typescript/commonjs/example/app.config.d.ts.map +0 -1
  522. package/dist/typescript/commonjs/example/index.d.ts +0 -2
  523. package/dist/typescript/commonjs/example/index.d.ts.map +0 -1
  524. package/dist/typescript/commonjs/example/metro.config.d.ts +0 -3
  525. package/dist/typescript/commonjs/example/metro.config.d.ts.map +0 -1
  526. package/dist/typescript/commonjs/example/postcss.config.d.mts +0 -7
  527. package/dist/typescript/commonjs/example/postcss.config.d.mts.map +0 -1
  528. package/dist/typescript/commonjs/example/src/App.d.ts +0 -3
  529. package/dist/typescript/commonjs/example/src/App.d.ts.map +0 -1
  530. package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts +0 -2
  531. package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts.map +0 -1
  532. package/dist/typescript/module/.config/eslint.config.d.mts +0 -3
  533. package/dist/typescript/module/.config/eslint.config.d.mts.map +0 -1
  534. package/dist/typescript/module/eslint.config.d.mts +0 -2
  535. package/dist/typescript/module/eslint.config.d.mts.map +0 -1
  536. package/dist/typescript/module/example/app.config.d.ts +0 -4
  537. package/dist/typescript/module/example/app.config.d.ts.map +0 -1
  538. package/dist/typescript/module/example/index.d.ts +0 -2
  539. package/dist/typescript/module/example/index.d.ts.map +0 -1
  540. package/dist/typescript/module/example/metro.config.d.ts +0 -3
  541. package/dist/typescript/module/example/metro.config.d.ts.map +0 -1
  542. package/dist/typescript/module/example/postcss.config.d.mts +0 -7
  543. package/dist/typescript/module/example/postcss.config.d.mts.map +0 -1
  544. package/dist/typescript/module/example/src/App.d.ts +0 -3
  545. package/dist/typescript/module/example/src/App.d.ts.map +0 -1
  546. package/dist/typescript/module/src/compiler/inheritance.test.d.ts +0 -2
  547. package/dist/typescript/module/src/compiler/inheritance.test.d.ts.map +0 -1
  548. package/src/compiler/inheritance.test.ts +0 -121
@@ -1,5 +1,5 @@
1
1
  import type { SelectorList } from "lightningcss";
2
- import type { AttributeQuery, CompilerOptions, ContainerQuery, MediaCondition, PseudoClassesQuery, SpecificityArray } from "./compiler.types";
2
+ import type { AttributeQuery, CompilerOptions, ContainerQuery, MediaCondition, PseudoClassesQuery, SpecificityArray } from "./compiler.types.js";
3
3
  interface ReactNativeClassNameSelector {
4
4
  type: "className";
5
5
  specificity: SpecificityArray;
@@ -1 +1 @@
1
- {"version":3,"file":"selector-builder.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/selector-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA2B,YAAY,EAAE,MAAM,cAAc,CAAC;AAG1E,OAAO,KAAK,EACV,cAAc,EAEd,eAAe,EACf,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,kBAAkB,CAAC;AAE1B,UAAU,4BAA4B;IACpC,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;IAClC,kBAAkB,CAAC,EAAE,kB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CAAC,EAAE,kBAAkB,CAAC;IACxC,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC/B;AAED,UAAU,yBAAyB;IACjC,IAAI,EAAE,eAAe,GAAG,oBAAoB,CAAC;CAC9C;AAED,KAAK,eAAe,GAAG,OAAO,CAAC,4BAA4B,CAAC,GAAG;IAC7D,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,EAAE,gBAAgB,CAAC;CAC/B,CAAC;AAYF,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,YAAY,EACvB,OAAO,GAAE,eAAoB,mDAiC9B;AA0gBD,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,GAGI,SAAS,CAAC,CAAC,CAAC,CACpE;AAED,KAAK,SAAS,CAAC,CAAC,SAAS,MAAM,IAC7B,CAAC,SAAS,GAAG,MAAM,EAAE,IAAI,MAAM,EAAE,GAAG,MAAM,EAAE,EAAE,GAC1C,GAAG,SAAS,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE,GAClD,SAAS,CAAC,CAAC,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { SelectorList } from "lightningcss";
2
- import type { AttributeQuery, ContainerQuery, MediaCondition, PseudoClassesQuery, SpecificityArray } from "./compiler.types";
3
- import { StylesheetBuilder } from "./stylesheet";
2
+ import type { AttributeQuery, ContainerQuery, MediaCondition, PseudoClassesQuery, SpecificityArray } from "./compiler.types.js";
3
+ import { StylesheetBuilder } from "./stylesheet.js";
4
4
  export type NormalizeSelector = ClassNameSelector | {
5
5
  type: "rootVariables" | "universalVariables";
6
6
  subtype: "light" | "dark";
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAY,YAAY,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2
- import type { AnimationKeyframes, AnimationRecord, CompilerOptions, ContainerQuery, MediaCondition, ReactNativeCssStyleSheet, StyleDeclaration, StyleDescriptor, StyleRule, StyleRuleMapping, StyleRuleSet, VariableRecord } from "./compiler.types";
2
+ import type { AnimationKeyframes, AnimationRecord, CompilerOptions, CompilerWarnings, ContainerQuery, MediaCondition, ReactNativeCssStyleSheet, StyleDeclaration, StyleDescriptor, StyleRule, StyleRuleMapping, StyleRuleSet, VariableRecord } from "./compiler.types.js";
3
3
  type BuilderMode = "style" | "media" | "container" | "keyframes";
4
4
  export declare class StylesheetBuilder {
5
5
  private options;
@@ -23,8 +23,9 @@ export declare class StylesheetBuilder {
23
23
  ruleOrder: number;
24
24
  warningProperty?: string;
25
25
  warningProperties: string[];
26
- warningValues: Record<string, unknown[]>;
26
+ warningValues: Record<string, string[]>;
27
27
  warningFunctions: string[];
28
+ syntaxWarnings: Set<string>;
28
29
  }, selectors?: SelectorList);
29
30
  fork(mode?: BuilderMode, selectors?: SelectorList): StylesheetBuilder;
30
31
  cloneRule({ ...rule }?: StyleRule): StyleRule;
@@ -36,12 +37,9 @@ export declare class StylesheetBuilder {
36
37
  getRuleSets(): (readonly [string, StyleRuleSet])[] | undefined;
37
38
  setWarningProperty(property: string): void;
38
39
  addWarning(type: "property" | "value", property: string): void;
39
- addWarning(type: "style", property: string, value: unknown): void;
40
- getWarnings(): {
41
- properties?: string[];
42
- values?: Record<string, unknown[]>;
43
- functions?: string[];
44
- };
40
+ addWarning(type: "style", property: string, value: string): void;
41
+ addSyntaxWarning(message: string): void;
42
+ getWarnings(): CompilerWarnings;
45
43
  addMapping(mapping: StyleRuleMapping): void;
46
44
  newRule(mapping?: StyleRuleMapping, { important }?: {
47
45
  important?: boolean | undefined;
@@ -62,6 +60,7 @@ export declare class StylesheetBuilder {
62
60
  private pushDescriptor;
63
61
  applyRuleToSelectors(selectorList?: SelectorList): void;
64
62
  addContainerQuery(query: ContainerQuery): void;
63
+ addRootVariable(name: string, value: StyleDescriptor): void;
65
64
  newAnimationFrames(name: string): void;
66
65
  newAnimationFrame(progress: string): void;
67
66
  }
@@ -1 +1 @@
1
- {"version":3,"file":"stylesheet.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/stylesheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAOjD,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,cAAc,EACd,cAAc,EACd,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EAEf,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,cAAc,EAEf,MAAM,kBAAkB,CAAC;AAO1B,KAAK,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,WAAW,GAAG,WAAW,CAAC;AAWjE,qBAAa,iBAAiB;IAa1B,OAAO,CAAC,OAAO;IACR,IAAI,EAAE,WAAW;IACxB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,OAAO;IACR,kBAAkB,CAAC,EAAE,MAAM;IAClC,OAAO,CAAC,MAAM;IAmBd,OAAO,CAAC,SAAS;IAvCnB,eAAe,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACvC,qBAAqB,EAAE,gBAAgB,EAAE,CAAM;IAE/C,UAAU,EAAE,wBAAwB,CAAM;IAE1C,QAAQ,cAAqB;IAE7B,OAAO,CAAC,IAAI,CAEV;gBAGQ,OAAO,EAAE,eAAe,EACzB,IAAI,GAAE,WAAqB,EAC1B,YAAY,GAAE,SAErB,EAEO,OAAO,GAAE,gBAAqB,EAC/B,kBAAkB,CAAC,EAAE,MAAM,YAAA,EAC1B,MAAM,GAAE;QACd,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;QACvC,aAAa,CAAC,EAAE,cAAc,CAAC;QAC/B,kBAAkB,CAAC,EAAE,cAAc,CAAC;QACpC,UAAU,CAAC,EAAE,eAAe,CAAC;QAC7B,GAAG,EAAE,MAAM,CAAC;Q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"file":"FlatList.d.ts","sourceRoot":"","sources":["../../../../../src/components/FlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,kBAAkB,CAAC;AAW1B,eAAO,MAAM,QAAQ,EAIJ,OAAO,UAAU,GAChC,CAAC,CAAC,KAAK,EACL,KAAK,EAAE,WAAW,CAChB,aAAa,CAAC,KAAK,CAAC,EACpB,mBAAmB,CAAC,OAAO,UAAU,CAAC,CACvC,KACE,SAAS,CAAC,CAAC;AAElB,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"FlatList.d.ts","sourceRoot":"","sources":["../../../../../src/components/FlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,kBAAkB,CAAC;AAY1B,eAAO,MAAM,QAAQ,EAIJ,OAAO,UAAU,GAChC,CAAC,CAAC,KAAK,EACL,KAAK,EAAE,WAAW,CAChB,aAAa,CAAC,KAAK,CAAC,EACpB,mBAAmB,CAAC,OAAO,UAAU,CAAC,CACvC,KACE,SAAS,CAAC,CAAC;AAElB,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageBackground.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,IAAI,iBAAiB,EAErC,MAAM,cAAc,CAAC;AAmBtB,eAAO,MAAM,eAAe,0BAK3B,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"ImageBackground.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageBackground.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,IAAI,iBAAiB,EAErC,MAAM,cAAc,CAAC;AAetB,eAAO,MAAM,eAAe,0BAK3B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KeyboardAvoidingView.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyboardAvoidingView.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,IAAI,sBAAsB,EAE/C,MAAM,cAAc,CAAC;AAgBtB,eAAO,MAAM,oBAAoB,+BAKhC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"KeyboardAvoidingView.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyboardAvoidingView.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,IAAI,sBAAsB,EAE/C,MAAM,cAAc,CAAC;AAetB,eAAO,MAAM,oBAAoB,+BAKhC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,18 +1,18 @@
1
1
  export * from "react-native";
2
- export { ActivityIndicator } from "./ActivityIndicator";
3
- export { Button } from "./Button";
4
- export { FlatList } from "./FlatList";
5
- export { Image } from "./Image";
6
- export { ImageBackground } from "./ImageBackground";
7
- export { KeyboardAvoidingView } from "./KeyboardAvoidingView";
8
- export { Pressable } from "./Pressable";
9
- export { ScrollView } from "./ScrollView";
10
- export { Switch } from "./Switch";
11
- export { Text } from "./Text";
12
- export { TextInput } from "./TextInput";
13
- export { TouchableHighlight } from "./TouchableHighlight";
14
- export { TouchableOpacity } from "./TouchableOpacity";
15
- export { TouchableWithoutFeedback } from "./TouchableWithoutFeedback";
16
- export { View } from "./View";
17
- export { VirtualizedList } from "./VirtualizedList";
2
+ export { ActivityIndicator } from "./ActivityIndicator.js";
3
+ export { Button } from "./Button.js";
4
+ export { FlatList } from "./FlatList.js";
5
+ export { Image } from "./Image.js";
6
+ export { ImageBackground } from "./ImageBackground.js";
7
+ export { KeyboardAvoidingView } from "./KeyboardAvoidingView.js";
8
+ export { Pressable } from "./Pressable.js";
9
+ export { ScrollView } from "./ScrollView.js";
10
+ export { Switch } from "./Switch.js";
11
+ export { Text } from "./Text.js";
12
+ export { TextInput } from "./TextInput.js";
13
+ export { TouchableHighlight } from "./TouchableHighlight.js";
14
+ export { TouchableOpacity } from "./TouchableOpacity.js";
15
+ export { TouchableWithoutFeedback } from "./TouchableWithoutFeedback.js";
16
+ export { View } from "./View.js";
17
+ export { VirtualizedList } from "./VirtualizedList.js";
18
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAAwB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAc,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAQ,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAa,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAoB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA4B,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAQ,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAmB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { type SafeAreaProviderProps } from "react-native-safe-area-context";
2
2
  export * from "react-native-safe-area-context";
3
- export declare function SafeAreaProvider({ children, ...props }: SafeAreaProviderProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function SafeAreaProvider({ children, ...props }: SafeAreaProviderProps): import("react").JSX.Element;
4
4
  //# sourceMappingURL=react-native-safe-area-context.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-native-safe-area-context.native.d.ts","sourceRoot":"","sources":["../../../../../src/components/react-native-safe-area-context.native.tsx"],"names":[],"mappings":"AAMA,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAC;AAExC,cAAc,gCAAgC,CAAC;AAE/C,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAMvB"}
1
+ {"version":3,"file":"react-native-safe-area-context.native.d.ts","sourceRoot":"","sources":["../../../../../src/components/react-native-safe-area-context.native.tsx"],"names":[],"mappings":"AAMA,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAC;AAExC,cAAc,gCAAgC,CAAC;AAE/C,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,qBAAqB,+BAMvB"}
@@ -11,20 +11,12 @@ export declare function registerCSS(css: string, options?: CompilerOptions & {
11
11
  debug?: boolean;
12
12
  }): {
13
13
  stylesheet: () => import("react-native-css/compiler").ReactNativeCssStyleSheet;
14
- warnings: () => {
15
- properties?: string[];
16
- values?: Record<string, unknown[]>;
17
- functions?: string[];
18
- };
14
+ warnings: () => import("react-native-css/compiler").CompilerWarnings;
19
15
  };
20
16
  export declare function compileWithAutoDebug(css: string, { debug, ...options }?: CompilerOptions & {
21
17
  debug?: boolean | "verbose";
22
18
  }): {
23
19
  stylesheet: () => import("react-native-css/compiler").ReactNativeCssStyleSheet;
24
- warnings: () => {
25
- properties?: string[];
26
- values?: Record<string, unknown[]>;
27
- functions?: string[];
28
- };
20
+ warnings: () => import("react-native-css/compiler").CompilerWarnings;
29
21
  };
30
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/jest/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAW,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAK1E,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,IAAI,CAAC;QACb,UAAU,QAAQ,CAAC,CAAC;YAClB,mBAAmB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC;SACzC;KACF;CACF;AAED,eAAO,MAAM,MAAM,qBAAqB,CAAC;AAezC,wBAAgB,WAAW,CACzB,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,eAAe,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;EAoBpD;AAED,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,EACE,KAAoB,EACpB,GAAG,OAAO,EACX,GAAE,eAAe,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO;;;;;;;EAY1D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/jest/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAW,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAK1E,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,IAAI,CAAC;QACb,UAAU,QAAQ,CAAC,CAAC;YAClB,mBAAmB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC;SACzC;KACF;CACF;AAED,eAAO,MAAM,MAAM,qBAAqB,CAAC;AAezC,wBAAgB,WAAW,CACzB,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,eAAe,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO;;;EAoBpD;AAED,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,EACE,KAAoB,EACpB,GAAG,OAAO,EACX,GAAE,eAAe,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO;;;EAY1D"}
@@ -0,0 +1,8 @@
1
+ import type { CompilerOptions } from "../compiler/index.js";
2
+ /**
3
+ * Expo's supervising worker bypasses a custom worker's getCacheKey hook.
4
+ * Put the engine fingerprint in Metro's top level cacheVersion instead so
5
+ * both supervised and direct workers invalidate compiled CSS after an update.
6
+ */
7
+ export declare function getCacheVersion(cacheVersion: string | undefined, options: CompilerOptions | undefined): string;
8
+ //# sourceMappingURL=cache-version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cache-version.d.ts","sourceRoot":"","sources":["../../../../../src/metro/cache-version.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAa,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,OAAO,EAAE,eAAe,GAAG,SAAS,UAkCrC"}
@@ -1,11 +1,15 @@
1
1
  import type { MetroConfig } from "metro-config";
2
- import { type CompilerOptions } from "../compiler";
2
+ import { type CompilerOptions } from "../compiler/index.js";
3
+ import type { WarningLevel } from "./warnings.js";
3
4
  export interface WithReactNativeCSSOptions extends CompilerOptions {
4
5
  typescriptEnvPath?: string;
5
6
  disableTypeScriptGeneration?: boolean;
6
7
  /** Add className to all React Native primitives. Defaults false */
7
8
  globalClassNamePolyfill?: boolean;
8
9
  hexColors?: boolean;
10
+ /** How native builds print the compiler's warnings. Defaults "summary" */
11
+ warnings?: WarningLevel;
9
12
  }
13
+ export type { WarningLevel } from "./warnings.js";
10
14
  export declare function withReactNativeCSS<T extends MetroConfig | (() => Promise<MetroConfig>)>(config: T, options?: WithReactNativeCSSOptions): T;
11
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/metro/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAInD,MAAM,WAAW,yBAA0B,SAAQ,eAAe;IAEhE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,mEAAmE;IACnE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAOD,wBAAgB,kBAAkB,CAChC,CAAC,SAAS,WAAW,GAAG,CAAC,MAAM,OAAO,CAAC,WAAW,CAAC,CAAC,EACpD,MAAM,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,yBAAyB,GAAG,CAAC,CAwDnD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/metro/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAa,CAAC;AAInD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAY,CAAC;AAE/C,MAAM,WAAW,yBAA0B,SAAQ,eAAe;IAEhE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,mEAAmE;IACnE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB;AAED,YAAY,EAAE,YAAY,EAAE,MAAM,eAAY,CAAC;AAO/C,wBAAgB,kBAAkB,CAChC,CAAC,SAAS,WAAW,GAAG,CAAC,MAAM,OAAO,CAAC,WAAW,CAAC,CAAC,EACpD,MAAM,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,yBAAyB,GAAG,CAAC,CAyDnD"}
@@ -1,6 +1,11 @@
1
- import type { JsTransformerConfig, JsTransformOptions, TransformResponse } from "metro-transform-worker";
2
- import { type CompilerOptions } from "../compiler";
3
- export declare function transform(config: JsTransformerConfig, projectRoot: string, filePath: string, data: Buffer, options: JsTransformOptions & {
4
- reactNativeCSS?: CompilerOptions | undefined;
5
- }): Promise<TransformResponse>;
1
+ import type { JsTransformerConfig, JsTransformOptions } from "metro-transform-worker";
2
+ import { type CompilerOptions } from "../compiler/index.js";
3
+ import { type WarningLevel } from "./warnings.js";
4
+ type TransformResponse = Awaited<ReturnType<typeof import("metro-transform-worker").transform>>;
5
+ export declare function transform(config: JsTransformerConfig & {
6
+ reactNativeCSS?: (CompilerOptions & {
7
+ warnings?: WarningLevel | undefined;
8
+ }) | undefined;
9
+ }, projectRoot: string, filePath: string, data: Buffer, options: JsTransformOptions): Promise<TransformResponse>;
10
+ export {};
6
11
  //# sourceMappingURL=metro-transformer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"metro-transformer.d.ts","sourceRoot":"","sources":["../../../../../src/metro/metro-transformer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAW,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAO5D,wBAAsB,SAAS,CAC7B,MAAM,EAAE,mBAAmB,EAC3B,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,kBAAkB,GAAG;IAC5B,cAAc,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;CAC9C,GACA,OAAO,CAAC,iBAAiB,CAAC,CAuC5B"}
1
+ {"version":3,"file":"metro-transformer.d.ts","sourceRoot":"","sources":["../../../../../src/metro/metro-transformer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAW,KAAK,eAAe,EAAE,MAAM,sBAAa,CAAC;AAE5D,OAAO,EAA0B,KAAK,YAAY,EAAE,MAAM,eAAY,CAAC;AAEvE,KAAK,iBAAiB,GAAG,OAAO,CAC9B,UAAU,CAAC,cAAc,wBAAwB,EAAE,SAAS,CAAC,CAC9D,CAAC;AAMF,wBAAsB,SAAS,CAC7B,MAAM,EAAE,mBAAmB,GAAG;IAC5B,cAAc,CAAC,EACX,CAAC,eAAe,GAAG;QAAE,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAA;KAAE,CAAC,GAC3D,SAAS,CAAC;CACf,EACD,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,iBAAiB,CAAC,CAmD5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../../../src/metro/typescript.ts"],"names":[],"mappings":"AAOA,wBAAgB,eAAe,CAC7B,OAAO,SAA8B,EACrC,IAAI,SAAqB,QA+D1B"}
1
+ {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../../../src/metro/typescript.ts"],"names":[],"mappings":"AAQA,wBAAgB,eAAe,CAC7B,OAAO,SAA8B,EACrC,IAAI,SAAqB,QA6G1B"}
@@ -0,0 +1,13 @@
1
+ import type { CompilerWarnings } from "../compiler/compiler.types.js";
2
+ /** "summary" prints one capped block per CSS file, "verbose" lists every entry, "none" prints nothing */
3
+ export type WarningLevel = "none" | "summary" | "verbose";
4
+ export declare function reportCompilerWarnings(warnings: CompilerWarnings, options: {
5
+ filename: string;
6
+ projectRoot: string;
7
+ level?: WarningLevel | undefined;
8
+ }): void;
9
+ export declare function formatCompilerWarnings(warnings: CompilerWarnings, options: {
10
+ displayPath: string;
11
+ verbose?: boolean | undefined;
12
+ }): string | undefined;
13
+ //# sourceMappingURL=warnings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"warnings.d.ts","sourceRoot":"","sources":["../../../../../src/metro/warnings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA4B,CAAC;AAEnE,yGAAyG;AACzG,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAY1D,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,gBAAgB,EAC1B,OAAO,EAAE;IACP,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CAClC,GACA,IAAI,CAwBN;AAGD,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,gBAAgB,EAC1B,OAAO,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE,GAC9D,MAAM,GAAG,SAAS,CAsEpB"}
@@ -1,7 +1,7 @@
1
+ import { type ViewStyle } from "react-native";
1
2
  import type { StyleDescriptor } from "react-native-css/compiler";
2
- import type { ColorScheme, Props, ReactComponent, StyledConfiguration, StyledOptions } from "../runtime.types";
3
- import { useNativeCss } from "./react/useNativeCss";
4
- import { VAR_SYMBOL } from "./reactivity";
3
+ import type { ColorScheme, Props, ReactComponent, Styled, StyledConfiguration } from "../runtime.types.js";
4
+ import { useNativeCss } from "./react/useNativeCss.js";
5
5
  export { StyleCollection, VariableContext, VariableContextProvider, } from "react-native-css/native-internal";
6
6
  export { useNativeCss };
7
7
  /**
@@ -10,7 +10,7 @@ export { useNativeCss };
10
10
  * @param baseComponent
11
11
  * @param mapping
12
12
  */
13
- export declare const styled: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(baseComponent: C, mapping?: M, options?: StyledOptions) => any;
13
+ export declare const styled: Styled;
14
14
  export declare const colorScheme: ColorScheme;
15
15
  export declare const useUnstableNativeVariable: typeof useNativeVariable;
16
16
  export declare const useCssElement: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(component: C, incomingProps: Props, mapping: M) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").FunctionComponentElement<import("react").FragmentProps>;
@@ -18,9 +18,5 @@ export declare function useNativeVariable(name: string): any;
18
18
  /**
19
19
  * @deprecated Use `<VariableContextProvider />` instead.
20
20
  */
21
- export declare function vars(variables: Record<string, StyleDescriptor>): {
22
- [VAR_SYMBOL]: string;
23
- } & {
24
- [k: string]: StyleDescriptor;
25
- };
21
+ export declare function vars(variables: Record<string, StyleDescriptor>): ViewStyle;
26
22
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/native/api.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAGjE,OAAO,KAAK,EACV,WAAW,EACX,KAAK,EACL,cAAc,EACd,mBAAmB,EACnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAmB,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAEL,UAAU,EAGX,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,eAAe,EACf,eAAe,EACf,uBAAuB,GACxB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,CAAC;AAMxB;;;;;GAKG;AACH,eAAO,MAAM,MAAM,GACjB,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,EACnC,KAAK,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,CAAC,EAEtC,eAAe,CAAC,EAChB,UAAS,CAAuB,EAChC,UAAU,aAAa,QAoBxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAOzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,0BAAoB,CAAC;AAE3D,eAAO,MAAM,aAAa,GACxB,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,EACnC,KAAK,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,CAAC,EAEtC,WAAW,CAAC,EACZ,eAAe,KAAK,EACpB,SAAS,CAAC,qKAIX,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,OAkB7C;AAED;;GAEG;AACH,wBAAgB,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;;;;EAO9D"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/native/api.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAGjE,OAAO,KAAK,EACV,WAAW,EACX,KAAK,EACL,cAAc,EACd,MAAM,EACN,mBAAmB,EAEpB,MAAM,qBAAkB,CAAC;AAC1B,OAAO,EAAmB,YAAY,EAAE,MAAM,yBAAsB,CAAC;AAYrE,OAAO,EACL,eAAe,EACf,eAAe,EACf,uBAAuB,GACxB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,CAAC;AAMxB;;;;;GAKG;AACH,eAAO,MAAM,MAAM,EAAE,MAuBpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAOzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,0BAAoB,CAAC;AAE3D,eAAO,MAAM,aAAa,GACxB,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,EACnC,KAAK,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,CAAC,EAEtC,WAAW,CAAC,EACZ,eAAe,KAAK,EACpB,SAAS,CAAC,qKAIX,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,OAyB7C;AAED;;GAEG;AACH,wBAAgB,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,GAAG,SAAS,CAK1E"}
@@ -1,4 +1,4 @@
1
1
  import type { AttributeQuery } from "react-native-css/compiler";
2
- import type { RenderGuard } from "./guards";
2
+ import type { RenderGuard } from "./guards.js";
3
3
  export declare function testAttributes(queries: AttributeQuery[], props: Record<string, unknown> | undefined | null, guards: RenderGuard[]): boolean;
4
4
  //# sourceMappingURL=attributes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/attributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,cAAc,CAC5B,OAAO,EAAE,cAAc,EAAE,EACzB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,EACjD,MAAM,EAAE,WAAW,EAAE,WAGtB"}
1
+ {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/attributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAU,CAAC;AAE5C,wBAAgB,cAAc,CAC5B,OAAO,EAAE,cAAc,EAAE,EACzB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,EACjD,MAAM,EAAE,WAAW,EAAE,WAGtB"}
@@ -1,6 +1,6 @@
1
1
  import type { ContainerQuery } from "react-native-css/compiler";
2
- import { type ContainerContextValue, type Getter } from "../reactivity";
3
- import type { RenderGuard } from "./guards";
2
+ import { type ContainerContextValue, type Getter } from "../reactivity.js";
3
+ import type { RenderGuard } from "./guards.js";
4
4
  export declare const DEFAULT_CONTAINER_NAME = "c:___default___";
5
5
  export declare function testContainerQueries(queries: ContainerQuery[], inheritedContainers: ContainerContextValue, guards: RenderGuard[], get: Getter): boolean;
6
6
  export declare function testContainerQuery(query: ContainerQuery, inheritedContainers: ContainerContextValue, guards: RenderGuard[], get: Getter): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"container-query.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/container-query.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EAIf,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAML,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AAExD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,cAAc,EAAE,EACzB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,GAAG,EAAE,MAAM,WAKZ;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,cAAc,EACrB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,GAAG,EAAE,MAAM,GACV,OAAO,CAuBT"}
1
+ {"version":3,"file":"container-query.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/container-query.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EAIf,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAML,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,kBAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAU,CAAC;AAE5C,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AAExD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,cAAc,EAAE,EACzB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,GAAG,EAAE,MAAM,WAKZ;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,cAAc,EACrB,mBAAmB,EAAE,qBAAqB,EAC1C,MAAM,EAAE,WAAW,EAAE,EACrB,GAAG,EAAE,MAAM,GACV,OAAO,CAyBT"}
@@ -1,5 +1,5 @@
1
- import type { ComponentState } from "../react/useNativeCss";
2
- import type { ContainerContextValue, VariableContextValue } from "../reactivity";
1
+ import type { ComponentState } from "../react/useNativeCss.js";
2
+ import type { ContainerContextValue, VariableContextValue } from "../reactivity.js";
3
3
  export type RenderGuard = ["a", string, any] | ["d", string, any] | ["v", string, any] | ["c", string, WeakKey];
4
4
  export declare function testGuards(state: ComponentState, currentProps: any, inheritedVariables: VariableContextValue, inheritedContainers: ContainerContextValue): boolean | undefined;
5
5
  //# sourceMappingURL=guards.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"guards.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/guards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,WAAW,GACnB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAE3B,wBAAgB,UAAU,CACxB,KAAK,EAAE,cAAc,EACrB,YAAY,EAAE,GAAG,EACjB,kBAAkB,EAAE,oBAAoB,EACxC,mBAAmB,EAAE,qBAAqB,uBA0B3C"}
1
+ {"version":3,"file":"guards.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/guards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAAuB,CAAC;AAC5D,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,kBAAe,CAAC;AAEvB,MAAM,MAAM,WAAW,GACnB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,GAClB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAE3B,wBAAgB,UAAU,CACxB,KAAK,EAAE,cAAc,EACrB,YAAY,EAAE,GAAG,EACjB,kBAAkB,EAAE,oBAAoB,EACxC,mBAAmB,EAAE,qBAAqB,uBA0B3C"}
@@ -1,6 +1,6 @@
1
1
  import type { StyleRule } from "react-native-css/compiler";
2
- import type { Props } from "../../runtime.types";
3
- import { type ContainerContextValue, type Getter } from "../reactivity";
4
- import type { RenderGuard } from "./guards";
2
+ import type { Props } from "../../runtime.types.js";
3
+ import { type ContainerContextValue, type Getter } from "../reactivity.js";
4
+ import type { RenderGuard } from "./guards.js";
5
5
  export declare function testRule(rule: StyleRule, get: Getter, props: Props, guards: RenderGuard[], containerContext: ContainerContextValue): boolean;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE/E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,eAAe,CAAC;AAGvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,wBAAgB,QAAQ,CACtB,IAAI,EAAE,SAAS,EACf,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,WAAW,EAAE,EACrB,gBAAgB,EAAE,qBAAqB,WAmBxC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE/E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAqB,CAAC;AACjD,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,kBAAe,CAAC;AAGvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAU,CAAC;AAG5C,wBAAgB,QAAQ,CACtB,IAAI,EAAE,SAAS,EACf,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,WAAW,EAAE,EACrB,gBAAgB,EAAE,qBAAqB,WAmBxC"}
@@ -1,4 +1,4 @@
1
1
  import type { MediaCondition } from "react-native-css/compiler";
2
- import { type Getter } from "../reactivity";
2
+ import { type Getter } from "../reactivity.js";
3
3
  export declare function testMediaQuery(mediaQueries: MediaCondition[], get: Getter): boolean;
4
4
  //# sourceMappingURL=media-query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"media-query.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/media-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAuB,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAEjE,wBAAgB,cAAc,CAAC,YAAY,EAAE,cAAc,EAAE,EAAE,GAAG,EAAE,MAAM,WAEzE"}
1
+ {"version":3,"file":"media-query.d.ts","sourceRoot":"","sources":["../../../../../../src/native/conditions/media-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAuB,KAAK,MAAM,EAAE,MAAM,kBAAe,CAAC;AAEjE,wBAAgB,cAAc,CAAC,YAAY,EAAE,cAAc,EAAE,EAAE,GAAG,EAAE,MAAM,WAEzE"}
@@ -1,4 +1,4 @@
1
- export * from "./api";
2
- export type * from "../runtime.types";
3
- export * from "./react-native-css-metro-override";
1
+ export * from "./api.js";
2
+ export type * from "../runtime.types.js";
3
+ export * from "./react-native-css-metro-override.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/native/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,mBAAmB,kBAAkB,CAAC;AACtC,cAAc,mCAAmC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/native/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAO,CAAC;AACtB,mBAAmB,qBAAkB,CAAC;AACtC,cAAc,sCAAmC,CAAC"}
@@ -1,6 +1,6 @@
1
- import { type Getter as WeakKey } from "../reactivity";
1
+ import { type Getter as WeakKey } from "../reactivity.js";
2
2
  type Handler = (event: unknown) => void;
3
3
  export type InteractionType = "onLayout" | "onHoverIn" | "onHoverOut" | "onPress" | "onPressIn" | "onPressOut" | "onFocus" | "onBlur";
4
- export declare function getInteractionHandler(weakKey: WeakKey, type: InteractionType, handler?: Handler): (event: any) => void;
4
+ export declare function getInteractionHandler(weakKey: WeakKey, type: InteractionType, handler?: Handler | null): (event: any) => void;
5
5
  export {};
6
6
  //# sourceMappingURL=interaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/interaction.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,KAAK,MAAM,IAAI,OAAO,EACvB,MAAM,eAAe,CAAC;AAOvB,KAAK,OAAO,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;AAExC,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,WAAW,GACX,YAAY,GACZ,SAAS,GACT,WAAW,GACX,YAAY,GACZ,SAAS,GACT,QAAQ,CAAC;AAab,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,eAAe,EACrB,OAAO,UAAwB,WA7BL,GAAG,KAAK,IAAI,CA4EvC"}
1
+ {"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/interaction.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,KAAK,MAAM,IAAI,OAAO,EACvB,MAAM,kBAAe,CAAC;AAOvB,KAAK,OAAO,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;AAExC,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,WAAW,GACX,YAAY,GACZ,SAAS,GACT,WAAW,GACX,YAAY,GACZ,SAAS,GACT,QAAQ,CAAC;AAab,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,WA7BuB,GAAG,KAAK,IAAI,CAiF5D"}
@@ -1,5 +1,5 @@
1
- import { type ContainerContextValue, type VariableContextValue } from "../reactivity";
2
- import type { ComponentState } from "./useNativeCss";
1
+ import { type ContainerContextValue, type VariableContextValue } from "../reactivity.js";
2
+ import type { ComponentState } from "./useNativeCss.js";
3
3
  export declare const INLINE_RULE_SYMBOL: unique symbol;
4
4
  export declare function updateRules(state: ComponentState, currentProps?: Record<string, any> | null | undefined, inheritedVariables?: VariableContextValue, inheritedContainers?: ContainerContextValue, forceUpdate?: boolean, isRerender?: boolean): ComponentState;
5
5
  export declare function generateStateHash(state: ComponentState, iterableKeys?: Iterable<WeakKey>, variables?: WeakKey, inlineVars?: Set<WeakKey>): string;
@@ -1 +1 @@
1
- {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/rules.ts"],"names":[],"mappings":"AAQA,OAAO,EAOL,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,cAAc,EAAU,MAAM,gBAAgB,CAAC;AAE7D,eAAO,MAAM,kBAAkB,eAAwC,CAAC;AAExE,wBAAgB,WAAW,CACzB,KAAK,EAAE,cAAc,EAErB,YAAY,yCAAqB,EACjC,kBAAkB,uBAA2B,EAC7C,mBAAmB,wBAA4B,EAC/C,WAAW,UAAQ,EACnB,UAAU,UAAO,GAChB,cAAc,CAkOhB;AAgCD,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,cAAc,EACrB,YAAY,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,EAChC,SAAS,CAAC,EAAE,OAAO,EACnB,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,GACxB,MAAM,CAgBR;AAQD,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAiBpD"}
1
+ {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/rules.ts"],"names":[],"mappings":"AAQA,OAAO,EAQL,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAC1B,MAAM,kBAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,cAAc,EAAU,MAAM,mBAAgB,CAAC;AAE7D,eAAO,MAAM,kBAAkB,eAAwC,CAAC;AAExE,wBAAgB,WAAW,CACzB,KAAK,EAAE,cAAc,EAErB,YAAY,yCAAqB,EACjC,kBAAkB,uBAA2B,EAC7C,mBAAmB,wBAA4B,EAC/C,WAAW,UAAQ,EACnB,UAAU,UAAO,GAChB,cAAc,CAyOhB;AAgCD,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,cAAc,EACrB,YAAY,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,EAChC,SAAS,CAAC,EAAE,OAAO,EACnB,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,GACxB,MAAM,CAgBR;AAQD,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAiBpD"}
@@ -1,8 +1,8 @@
1
1
  import { type ComponentType } from "react";
2
- import type { StyledConfiguration } from "../../runtime.types";
3
- import { type RenderGuard } from "../conditions/guards";
4
- import { type ContainerContextValue, type Effect, type Getter, type VariableContextValue } from "../reactivity";
5
- import { stylesFamily } from "../styles";
2
+ import type { StyledConfiguration } from "../../runtime.types.js";
3
+ import { type RenderGuard } from "../conditions/guards.js";
4
+ import { type ContainerContextValue, type Effect, type Getter, type VariableContextValue } from "../reactivity.js";
5
+ import { stylesFamily } from "../styles/index.js";
6
6
  export type Config = {
7
7
  source: string;
8
8
  target: string[] | string | false;
@@ -1 +1 @@
1
- {"version":3,"file":"useNativeCss.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/useNativeCss.ts"],"names":[],"mappings":"AACA,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAGL,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACX,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAkB,YAAY,EAAE,MAAM,WAAW,CAAC;AAGzD,MAAM,MAAM,MAAM,GAAG;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,KAAK,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,uCAAuC;IACvC,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB,wBAAwB;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IAEpB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC;IAEtD,kDAAkD;IAClD,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,YAA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Ac,GAAG;IAC3B,uCAAuC;IACvC,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB,wBAAwB;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IAEpB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC;IAEtD,kDAAkD;IAClD,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IAC5C,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IAEvB,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,UAAU,CAAC,EAAE,qBAAqB,CAAC;IAEnC,kBAAkB,EAAE,oBAAoB,CAAC;IACzC,mBAAmB,EAAE,qBAAqB,CAAC;IAE3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,EACxB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,EACrD,OAAO,GAAE,MAAM,EAA+C,oKA0I/D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,mBAAmB,CAAC,GAAG,CAAC,YA4ChE"}
@@ -1,4 +1,4 @@
1
1
  import { type ComponentType } from "react";
2
- import type { Config } from "./useNativeCss";
2
+ import type { Config } from "./useNativeCss.js";
3
3
  export declare function usePassthrough(type: ComponentType<any>, { ...props }: Record<string, any>, configs: Config[]): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
4
4
  //# sourceMappingURL=usePassthrough.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePassthrough.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/usePassthrough.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAG1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAI7C,wBAAgB,cAAc,CAC5B,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,EACxB,EAAE,GAAG,KAAK,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjC,OAAO,EAAE,MAAM,EAAE,0FAuClB"}
1
+ {"version":3,"file":"usePassthrough.d.ts","sourceRoot":"","sources":["../../../../../../src/native/react/usePassthrough.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAG1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAgB,CAAC;AAI7C,wBAAgB,cAAc,CAC5B,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,EACxB,EAAE,GAAG,KAAK,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjC,OAAO,EAAE,MAAM,EAAE,0FAwClB"}
@@ -1,14 +1,19 @@
1
1
  import { type ColorSchemeName, type LayoutRectangle } from "react-native";
2
2
  import type { StyleDescriptor } from "react-native-css/compiler";
3
3
  export type Effect = {
4
- observers: Set<Effect>;
4
+ observers: Set<Observable<any, any>>;
5
5
  run(): void;
6
+ /** Dependencies recorded by the last cleanupEffect() */
7
+ dependencies?: Observable<any, any>[];
8
+ /** Dependency values recorded by the last cleanupEffect() */
9
+ snapshots?: [Observable<any, any>, unknown][];
6
10
  };
7
11
  export type Observable<Value, Arg = Value> = {
8
12
  observers: Set<Effect>;
9
13
  get: (effect?: Effect) => Value;
10
14
  set: (arg: Arg) => void;
11
15
  run: () => void;
16
+ unsubscribe: (effect: Effect) => void;
12
17
  };
13
18
  type Read<Value, Arg> = (get: Getter, arg?: Arg) => Value;
14
19
  export type Getter = <Value>(observable: Observable<Value, any>) => Value;
@@ -17,6 +22,8 @@ export declare const observableBatch: {
17
22
  };
18
23
  export declare function observable<Value, Arg = Value>(init: Value | Read<Value, Arg>, equality?: (value1: Value, value2: Value) => boolean): Observable<Value, Arg>;
19
24
  export declare function cleanupEffect(effect: Effect): void;
25
+ /** Whether any of the effect's dependencies changed since cleanupEffect() */
26
+ export declare function hasChangedDependencies(effect: Effect): boolean;
20
27
  /** Family Helpers ************************************************************/
21
28
  export declare function family<Key, Result = Key, Args extends any = void>(fn: (key: Key, args: Args) => Result): ((key: Key, args: Args) => Result) & {
22
29
  delete(key: Key): boolean;
@@ -32,6 +39,7 @@ export declare const VAR_SYMBOL: unique symbol;
32
39
  export type VariableContextValue = Record<string, StyleDescriptor> & {
33
40
  [VAR_SYMBOL]: true;
34
41
  };
42
+ export declare function toVariableRecord(variables: Record<string, StyleDescriptor>): Record<string, StyleDescriptor>;
35
43
  /** Pseudo Classes ************************************************************/
36
44
  export declare const hoverFamily: WeakFamilyFn<WeakKey, void, Observable<boolean, boolean>>;
37
45
  export declare const activeFamily: WeakFamilyFn<WeakKey, void, Observable<boolean, boolean>>;
@@ -41,9 +49,12 @@ export declare const dimensions: Observable<import("react-native").ScaledSize, i
41
49
  export declare const vw: Observable<number, number>;
42
50
  export declare const vh: Observable<number, number>;
43
51
  /** Color Scheme **************************************************************/
44
- export declare const colorScheme: Observable<ColorSchemeName, ColorSchemeName>;
52
+ export declare const colorScheme: Observable<ColorSchemeName | null | undefined, ColorSchemeName | null | undefined>;
45
53
  /** Containers ****************************************************************/
46
- export type ContainerContextValue = Record<string, WeakKey>;
54
+ export type ContainerContextValue = Record<string, {
55
+ key: WeakKey;
56
+ props: Record<string, unknown> | null | undefined;
57
+ }>;
47
58
  export declare const ContainerContext: import("react").Context<ContainerContextValue>;
48
59
  export declare const containerLayoutFamily: WeakFamilyFn<WeakKey, void, Observable<LayoutRectangle, LayoutRectangle>>;
49
60
  export declare const containerWidthFamily: WeakFamilyFn<WeakKey, void, Observable<number, number>>;
@@ -1 +1 @@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gBAAgB,gDAA2C,CAAC;AAEzE,eAAO,MAAM,qBAAqB,2EAOhC,CAAC;AAEH,eAAO,MAAM,oBAAoB,yDAI/B,CAAC;AAEH,eAAO,MAAM,qBAAqB,yDAIhC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reanimated.d.ts","sourceRoot":"","sources":["../../../../../src/native/reanimated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,eAAO,MAAM,uBAAuB;;CAiBnC,CAAC"}
1
+ {"version":3,"file":"reanimated.d.ts","sourceRoot":"","sources":["../../../../../src/native/reanimated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,eAAO,MAAM,uBAAuB;;CAoCnC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { InlineVariable, StyleDeclaration, StyleRule } from "react-native-css/compiler";
2
- import type { RenderGuard } from "../conditions/guards";
3
- import { type Getter, type VariableContextValue } from "../reactivity";
2
+ import type { RenderGuard } from "../conditions/guards.js";
3
+ import { type Getter, type VariableContextValue } from "../reactivity.js";
4
4
  export declare function calculateProps(get: Getter, rules: (StyleRule | InlineVariable | VariableContextValue)[], guards?: RenderGuard[], inheritedVariables?: VariableContextValue, inlineVariables?: InlineVariable): {
5
5
  normal: Record<string, any> | undefined;
6
6
  guards: RenderGuard[];