react-native-css 0.0.0-nightly.2c68396 → 0.0.0-nightly.2e152c9

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 (640) hide show
  1. package/README.md +35 -5
  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 +198 -39
  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 +190 -101
  17. package/dist/commonjs/compiler/declarations.js.map +1 -1
  18. package/dist/commonjs/compiler/individual-transforms.js +129 -0
  19. package/dist/commonjs/compiler/individual-transforms.js.map +1 -0
  20. package/dist/commonjs/compiler/inline-variables.js +47 -1
  21. package/dist/commonjs/compiler/inline-variables.js.map +1 -1
  22. package/dist/commonjs/compiler/lightningcss-loader.js +11 -8
  23. package/dist/commonjs/compiler/lightningcss-loader.js.map +1 -1
  24. package/dist/commonjs/compiler/media-query.js +16 -6
  25. package/dist/commonjs/compiler/media-query.js.map +1 -1
  26. package/dist/commonjs/compiler/selector-builder.js +16 -4
  27. package/dist/commonjs/compiler/selector-builder.js.map +1 -1
  28. package/dist/commonjs/compiler/stylesheet.js +33 -9
  29. package/dist/commonjs/compiler/stylesheet.js.map +1 -1
  30. package/dist/commonjs/compiler/supports.js +1 -3
  31. package/dist/commonjs/compiler/supports.js.map +1 -1
  32. package/dist/commonjs/components/FlatList.js +1 -0
  33. package/dist/commonjs/components/FlatList.js.map +1 -1
  34. package/dist/commonjs/components/ImageBackground.js +2 -6
  35. package/dist/commonjs/components/ImageBackground.js.map +1 -1
  36. package/dist/commonjs/components/KeyboardAvoidingView.js +2 -3
  37. package/dist/commonjs/components/KeyboardAvoidingView.js.map +1 -1
  38. package/dist/commonjs/components/SafeAreaProvider.js +13 -0
  39. package/dist/commonjs/components/SafeAreaProvider.js.map +1 -0
  40. package/dist/commonjs/components/index.cjs +49 -1
  41. package/dist/commonjs/components/index.cjs.map +1 -1
  42. package/dist/commonjs/components/react-native-safe-area-context.native.js +10 -0
  43. package/dist/commonjs/components/react-native-safe-area-context.native.js.map +1 -1
  44. package/dist/commonjs/jest/index.js +3 -1
  45. package/dist/commonjs/jest/index.js.map +1 -1
  46. package/dist/commonjs/metro/cache-version.js +43 -0
  47. package/dist/commonjs/metro/cache-version.js.map +1 -0
  48. package/dist/commonjs/metro/index.js +2 -0
  49. package/dist/commonjs/metro/index.js.map +1 -1
  50. package/dist/commonjs/metro/metro-transformer.js +16 -3
  51. package/dist/commonjs/metro/metro-transformer.js.map +1 -1
  52. package/dist/commonjs/metro/typescript.js +26 -6
  53. package/dist/commonjs/metro/typescript.js.map +1 -1
  54. package/dist/commonjs/metro/warnings.js +135 -0
  55. package/dist/commonjs/metro/warnings.js.map +1 -0
  56. package/dist/commonjs/native/api.js +16 -11
  57. package/dist/commonjs/native/api.js.map +1 -1
  58. package/dist/commonjs/native/conditions/attributes.js +16 -9
  59. package/dist/commonjs/native/conditions/attributes.js.map +1 -1
  60. package/dist/commonjs/native/conditions/container-query.js +11 -11
  61. package/dist/commonjs/native/conditions/container-query.js.map +1 -1
  62. package/dist/commonjs/native/conditions/guards.js +7 -0
  63. package/dist/commonjs/native/conditions/guards.js.map +1 -1
  64. package/dist/commonjs/native/conditions/media-query.js +1 -1
  65. package/dist/commonjs/native/conditions/media-query.js.map +1 -1
  66. package/dist/commonjs/native/objects.js +11 -18
  67. package/dist/commonjs/native/objects.js.map +1 -1
  68. package/dist/commonjs/native/react/interaction.js +10 -5
  69. package/dist/commonjs/native/react/interaction.js.map +1 -1
  70. package/dist/commonjs/native/react/rules.js +45 -38
  71. package/dist/commonjs/native/react/rules.js.map +1 -1
  72. package/dist/commonjs/native/react/useNativeCss.js +70 -15
  73. package/dist/commonjs/native/react/useNativeCss.js.map +1 -1
  74. package/dist/commonjs/native/react/usePassthrough.js +5 -2
  75. package/dist/commonjs/native/react/usePassthrough.js.map +1 -1
  76. package/dist/commonjs/native/reactivity.js +64 -24
  77. package/dist/commonjs/native/reactivity.js.map +1 -1
  78. package/dist/commonjs/native/reanimated.js +15 -3
  79. package/dist/commonjs/native/reanimated.js.map +1 -1
  80. package/dist/commonjs/native/styles/calculate-props.js +139 -26
  81. package/dist/commonjs/native/styles/calculate-props.js.map +1 -1
  82. package/dist/commonjs/native/styles/functions/animation-timing.js +2 -1
  83. package/dist/commonjs/native/styles/functions/animation-timing.js.map +1 -1
  84. package/dist/commonjs/native/styles/functions/color-mix.js +43 -29
  85. package/dist/commonjs/native/styles/functions/color-mix.js.map +1 -1
  86. package/dist/commonjs/native/styles/functions/filters.js +19 -5
  87. package/dist/commonjs/native/styles/functions/filters.js.map +1 -1
  88. package/dist/commonjs/native/styles/functions/numeric-functions.js +4 -3
  89. package/dist/commonjs/native/styles/functions/numeric-functions.js.map +1 -1
  90. package/dist/commonjs/native/styles/functions/platform-functions.js +2 -1
  91. package/dist/commonjs/native/styles/functions/platform-functions.js.map +1 -1
  92. package/dist/commonjs/native/styles/functions/string-functions.js +22 -6
  93. package/dist/commonjs/native/styles/functions/string-functions.js.map +1 -1
  94. package/dist/commonjs/native/styles/functions/transform-functions.js +95 -105
  95. package/dist/commonjs/native/styles/functions/transform-functions.js.map +1 -1
  96. package/dist/commonjs/native/styles/index.js +303 -49
  97. package/dist/commonjs/native/styles/index.js.map +1 -1
  98. package/dist/commonjs/native/styles/resolve.js +136 -19
  99. package/dist/commonjs/native/styles/resolve.js.map +1 -1
  100. package/dist/commonjs/native/styles/scale-factor.js +12 -0
  101. package/dist/commonjs/native/styles/scale-factor.js.map +1 -0
  102. package/dist/commonjs/native/styles/shorthands/_handler.js +10 -0
  103. package/dist/commonjs/native/styles/shorthands/_handler.js.map +1 -1
  104. package/dist/commonjs/native/styles/shorthands/animation.js +6 -3
  105. package/dist/commonjs/native/styles/shorthands/animation.js.map +1 -1
  106. package/dist/commonjs/native/styles/shorthands/box-shadow.js +41 -20
  107. package/dist/commonjs/native/styles/shorthands/box-shadow.js.map +1 -1
  108. package/dist/commonjs/native/styles/shorthands/index.js +11 -0
  109. package/dist/commonjs/native/styles/shorthands/index.js.map +1 -1
  110. package/dist/commonjs/native/styles/shorthands/logical-border-width.js +22 -0
  111. package/dist/commonjs/native/styles/shorthands/logical-border-width.js.map +1 -0
  112. package/dist/commonjs/native/styles/shorthands/transform.js +31 -8
  113. package/dist/commonjs/native/styles/shorthands/transform.js.map +1 -1
  114. package/dist/commonjs/native/styles/variables.js +165 -48
  115. package/dist/commonjs/native/styles/variables.js.map +1 -1
  116. package/dist/commonjs/native-internal/root.js +46 -7
  117. package/dist/commonjs/native-internal/root.js.map +1 -1
  118. package/dist/commonjs/native-internal/style-collection.js +22 -37
  119. package/dist/commonjs/native-internal/style-collection.js.map +1 -1
  120. package/dist/commonjs/native-internal/variables.js +1 -1
  121. package/dist/commonjs/native-internal/variables.js.map +1 -1
  122. package/dist/commonjs/utilities/dot-notation.types.js +4 -0
  123. package/dist/commonjs/utilities/equality.js +41 -0
  124. package/dist/commonjs/utilities/equality.js.map +1 -0
  125. package/dist/commonjs/utilities/index.js +11 -0
  126. package/dist/commonjs/utilities/index.js.map +1 -1
  127. package/dist/commonjs/utilities/style-descriptor.js +32 -8
  128. package/dist/commonjs/utilities/style-descriptor.js.map +1 -1
  129. package/dist/commonjs/web/api.js +2 -2
  130. package/dist/commonjs/web/api.js.map +1 -1
  131. package/dist/commonjs/web/assign-style.js +4 -1
  132. package/dist/commonjs/web/assign-style.js.map +1 -1
  133. package/dist/module/babel/helpers.js +6 -0
  134. package/dist/module/babel/helpers.js.map +1 -1
  135. package/dist/module/babel/import-plugin.js +22 -10
  136. package/dist/module/babel/import-plugin.js.map +1 -1
  137. package/dist/module/babel/react-native-web.js +16 -4
  138. package/dist/module/babel/react-native-web.js.map +1 -1
  139. package/dist/module/babel/react-native.js +9 -4
  140. package/dist/module/babel/react-native.js.map +1 -1
  141. package/dist/module/compiler/atRules.js +33 -0
  142. package/dist/module/compiler/atRules.js.map +1 -1
  143. package/dist/module/compiler/compiler.js +200 -41
  144. package/dist/module/compiler/compiler.js.map +1 -1
  145. package/dist/module/compiler/compiler.types.js +2 -0
  146. package/dist/module/compiler/compiler.types.js.map +1 -1
  147. package/dist/module/compiler/container-query.js +6 -1
  148. package/dist/module/compiler/container-query.js.map +1 -1
  149. package/dist/module/compiler/declarations.js +190 -100
  150. package/dist/module/compiler/declarations.js.map +1 -1
  151. package/dist/module/compiler/individual-transforms.js +125 -0
  152. package/dist/module/compiler/individual-transforms.js.map +1 -0
  153. package/dist/module/compiler/inline-variables.js +47 -1
  154. package/dist/module/compiler/inline-variables.js.map +1 -1
  155. package/dist/module/compiler/lightningcss-loader.js +10 -8
  156. package/dist/module/compiler/lightningcss-loader.js.map +1 -1
  157. package/dist/module/compiler/media-query.js +16 -6
  158. package/dist/module/compiler/media-query.js.map +1 -1
  159. package/dist/module/compiler/selector-builder.js +16 -5
  160. package/dist/module/compiler/selector-builder.js.map +1 -1
  161. package/dist/module/compiler/stylesheet.js +33 -9
  162. package/dist/module/compiler/stylesheet.js.map +1 -1
  163. package/dist/module/compiler/supports.js +1 -3
  164. package/dist/module/compiler/supports.js.map +1 -1
  165. package/dist/module/components/FlatList.js +1 -0
  166. package/dist/module/components/FlatList.js.map +1 -1
  167. package/dist/module/components/ImageBackground.js +2 -6
  168. package/dist/module/components/ImageBackground.js.map +1 -1
  169. package/dist/module/components/KeyboardAvoidingView.js +2 -3
  170. package/dist/module/components/KeyboardAvoidingView.js.map +1 -1
  171. package/dist/module/components/SafeAreaProvider.js +4 -0
  172. package/dist/module/components/SafeAreaProvider.js.map +1 -0
  173. package/dist/module/components/index.cjs +49 -1
  174. package/dist/module/components/index.cjs.map +1 -1
  175. package/dist/module/components/react-native-safe-area-context.native.js +9 -1
  176. package/dist/module/components/react-native-safe-area-context.native.js.map +1 -1
  177. package/dist/module/jest/index.js +3 -1
  178. package/dist/module/jest/index.js.map +1 -1
  179. package/dist/module/metro/cache-version.js +39 -0
  180. package/dist/module/metro/cache-version.js.map +1 -0
  181. package/dist/module/metro/index.js +2 -0
  182. package/dist/module/metro/index.js.map +1 -1
  183. package/dist/module/metro/metro-transformer.js +16 -3
  184. package/dist/module/metro/metro-transformer.js.map +1 -1
  185. package/dist/module/metro/typescript.js +26 -6
  186. package/dist/module/metro/typescript.js.map +1 -1
  187. package/dist/module/metro/warnings.js +131 -0
  188. package/dist/module/metro/warnings.js.map +1 -0
  189. package/dist/module/native/api.js +18 -13
  190. package/dist/module/native/api.js.map +1 -1
  191. package/dist/module/native/conditions/attributes.js +16 -9
  192. package/dist/module/native/conditions/attributes.js.map +1 -1
  193. package/dist/module/native/conditions/container-query.js +11 -11
  194. package/dist/module/native/conditions/container-query.js.map +1 -1
  195. package/dist/module/native/conditions/guards.js +7 -0
  196. package/dist/module/native/conditions/guards.js.map +1 -1
  197. package/dist/module/native/conditions/media-query.js +1 -1
  198. package/dist/module/native/conditions/media-query.js.map +1 -1
  199. package/dist/module/native/objects.js +11 -18
  200. package/dist/module/native/objects.js.map +1 -1
  201. package/dist/module/native/react/interaction.js +10 -5
  202. package/dist/module/native/react/interaction.js.map +1 -1
  203. package/dist/module/native/react/rules.js +46 -39
  204. package/dist/module/native/react/rules.js.map +1 -1
  205. package/dist/module/native/react/useNativeCss.js +73 -18
  206. package/dist/module/native/react/useNativeCss.js.map +1 -1
  207. package/dist/module/native/react/usePassthrough.js +5 -2
  208. package/dist/module/native/react/usePassthrough.js.map +1 -1
  209. package/dist/module/native/reactivity.js +58 -22
  210. package/dist/module/native/reactivity.js.map +1 -1
  211. package/dist/module/native/reanimated.js +15 -3
  212. package/dist/module/native/reanimated.js.map +1 -1
  213. package/dist/module/native/styles/calculate-props.js +139 -26
  214. package/dist/module/native/styles/calculate-props.js.map +1 -1
  215. package/dist/module/native/styles/functions/animation-timing.js +2 -1
  216. package/dist/module/native/styles/functions/animation-timing.js.map +1 -1
  217. package/dist/module/native/styles/functions/color-mix.js +43 -29
  218. package/dist/module/native/styles/functions/color-mix.js.map +1 -1
  219. package/dist/module/native/styles/functions/filters.js +17 -4
  220. package/dist/module/native/styles/functions/filters.js.map +1 -1
  221. package/dist/module/native/styles/functions/numeric-functions.js +4 -3
  222. package/dist/module/native/styles/functions/numeric-functions.js.map +1 -1
  223. package/dist/module/native/styles/functions/platform-functions.js +2 -1
  224. package/dist/module/native/styles/functions/platform-functions.js.map +1 -1
  225. package/dist/module/native/styles/functions/string-functions.js +19 -5
  226. package/dist/module/native/styles/functions/string-functions.js.map +1 -1
  227. package/dist/module/native/styles/functions/transform-functions.js +93 -104
  228. package/dist/module/native/styles/functions/transform-functions.js.map +1 -1
  229. package/dist/module/native/styles/index.js +304 -49
  230. package/dist/module/native/styles/index.js.map +1 -1
  231. package/dist/module/native/styles/resolve.js +136 -19
  232. package/dist/module/native/styles/resolve.js.map +1 -1
  233. package/dist/module/native/styles/scale-factor.js +8 -0
  234. package/dist/module/native/styles/scale-factor.js.map +1 -0
  235. package/dist/module/native/styles/shorthands/_handler.js +11 -1
  236. package/dist/module/native/styles/shorthands/_handler.js.map +1 -1
  237. package/dist/module/native/styles/shorthands/animation.js +6 -3
  238. package/dist/module/native/styles/shorthands/animation.js.map +1 -1
  239. package/dist/module/native/styles/shorthands/box-shadow.js +43 -21
  240. package/dist/module/native/styles/shorthands/box-shadow.js.map +1 -1
  241. package/dist/module/native/styles/shorthands/index.js +1 -0
  242. package/dist/module/native/styles/shorthands/index.js.map +1 -1
  243. package/dist/module/native/styles/shorthands/logical-border-width.js +18 -0
  244. package/dist/module/native/styles/shorthands/logical-border-width.js.map +1 -0
  245. package/dist/module/native/styles/shorthands/transform.js +31 -8
  246. package/dist/module/native/styles/shorthands/transform.js.map +1 -1
  247. package/dist/module/native/styles/variables.js +166 -50
  248. package/dist/module/native/styles/variables.js.map +1 -1
  249. package/dist/module/native-internal/root.js +44 -7
  250. package/dist/module/native-internal/root.js.map +1 -1
  251. package/dist/module/native-internal/style-collection.js +10 -37
  252. package/dist/module/native-internal/style-collection.js.map +1 -1
  253. package/dist/module/native-internal/variables.js +2 -2
  254. package/dist/module/native-internal/variables.js.map +1 -1
  255. package/dist/module/utilities/dot-notation.types.js +2 -0
  256. package/dist/module/utilities/equality.js +37 -0
  257. package/dist/module/utilities/equality.js.map +1 -0
  258. package/dist/module/utilities/index.js +1 -0
  259. package/dist/module/utilities/index.js.map +1 -1
  260. package/dist/module/utilities/style-descriptor.js +30 -8
  261. package/dist/module/utilities/style-descriptor.js.map +1 -1
  262. package/dist/module/web/api.js +2 -2
  263. package/dist/module/web/api.js.map +1 -1
  264. package/dist/module/web/assign-style.js +4 -1
  265. package/dist/module/web/assign-style.js.map +1 -1
  266. package/dist/typescript/commonjs/src/babel/helpers.d.ts +2 -1
  267. package/dist/typescript/commonjs/src/babel/helpers.d.ts.map +1 -1
  268. package/dist/typescript/commonjs/src/babel/import-plugin.d.ts.map +1 -1
  269. package/dist/typescript/commonjs/src/babel/react-native-web.d.ts +2 -1
  270. package/dist/typescript/commonjs/src/babel/react-native-web.d.ts.map +1 -1
  271. package/dist/typescript/commonjs/src/babel/react-native.d.ts.map +1 -1
  272. package/dist/typescript/commonjs/src/compiler/atRules.d.ts +4 -1
  273. package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -1
  274. package/dist/typescript/commonjs/src/compiler/compiler.d.ts +1 -5
  275. package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -1
  276. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +13 -0
  277. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -1
  278. package/dist/typescript/commonjs/src/compiler/declarations.d.ts +2 -3
  279. package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -1
  280. package/dist/typescript/commonjs/src/compiler/individual-transforms.d.ts +10 -0
  281. package/dist/typescript/commonjs/src/compiler/individual-transforms.d.ts.map +1 -0
  282. package/dist/typescript/commonjs/src/compiler/inline-variables.d.ts +1 -1
  283. package/dist/typescript/commonjs/src/compiler/inline-variables.d.ts.map +1 -1
  284. package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts.map +1 -1
  285. package/dist/typescript/commonjs/src/compiler/media-query.d.ts +1 -1
  286. package/dist/typescript/commonjs/src/compiler/media-query.d.ts.map +1 -1
  287. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts +2 -1
  288. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts.map +1 -1
  289. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +10 -10
  290. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -1
  291. package/dist/typescript/commonjs/src/components/FlatList.d.ts.map +1 -1
  292. package/dist/typescript/commonjs/src/components/ImageBackground.d.ts.map +1 -1
  293. package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts.map +1 -1
  294. package/dist/typescript/commonjs/src/components/SafeAreaProvider.d.ts +2 -0
  295. package/dist/typescript/commonjs/src/components/SafeAreaProvider.d.ts.map +1 -0
  296. package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts +2 -1
  297. package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
  298. package/dist/typescript/commonjs/src/jest/index.d.ts +2 -10
  299. package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -1
  300. package/dist/typescript/commonjs/src/metro/cache-version.d.ts +8 -0
  301. package/dist/typescript/commonjs/src/metro/cache-version.d.ts.map +1 -0
  302. package/dist/typescript/commonjs/src/metro/index.d.ts +4 -0
  303. package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -1
  304. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts +9 -4
  305. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -1
  306. package/dist/typescript/commonjs/src/metro/typescript.d.ts.map +1 -1
  307. package/dist/typescript/commonjs/src/metro/warnings.d.ts +13 -0
  308. package/dist/typescript/commonjs/src/metro/warnings.d.ts.map +1 -0
  309. package/dist/typescript/commonjs/src/native/api.d.ts +5 -9
  310. package/dist/typescript/commonjs/src/native/api.d.ts.map +1 -1
  311. package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts.map +1 -1
  312. package/dist/typescript/commonjs/src/native/conditions/guards.d.ts +2 -1
  313. package/dist/typescript/commonjs/src/native/conditions/guards.d.ts.map +1 -1
  314. package/dist/typescript/commonjs/src/native/objects.d.ts.map +1 -1
  315. package/dist/typescript/commonjs/src/native/react/interaction.d.ts +1 -1
  316. package/dist/typescript/commonjs/src/native/react/interaction.d.ts.map +1 -1
  317. package/dist/typescript/commonjs/src/native/react/rules.d.ts +7 -2
  318. package/dist/typescript/commonjs/src/native/react/rules.d.ts.map +1 -1
  319. package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts +0 -3
  320. package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts.map +1 -1
  321. package/dist/typescript/commonjs/src/native/react/usePassthrough.d.ts.map +1 -1
  322. package/dist/typescript/commonjs/src/native/reactivity.d.ts +15 -3
  323. package/dist/typescript/commonjs/src/native/reactivity.d.ts.map +1 -1
  324. package/dist/typescript/commonjs/src/native/reanimated.d.ts.map +1 -1
  325. package/dist/typescript/commonjs/src/native/styles/calculate-props.d.ts +11 -2
  326. package/dist/typescript/commonjs/src/native/styles/calculate-props.d.ts.map +1 -1
  327. package/dist/typescript/commonjs/src/native/styles/functions/animation-timing.d.ts.map +1 -1
  328. package/dist/typescript/commonjs/src/native/styles/functions/color-mix.d.ts.map +1 -1
  329. package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts +2 -0
  330. package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts.map +1 -1
  331. package/dist/typescript/commonjs/src/native/styles/functions/numeric-functions.d.ts.map +1 -1
  332. package/dist/typescript/commonjs/src/native/styles/functions/platform-functions.d.ts.map +1 -1
  333. package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts +2 -0
  334. package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts.map +1 -1
  335. package/dist/typescript/commonjs/src/native/styles/functions/transform-functions.d.ts +2 -0
  336. package/dist/typescript/commonjs/src/native/styles/functions/transform-functions.d.ts.map +1 -1
  337. package/dist/typescript/commonjs/src/native/styles/index.d.ts +5 -4
  338. package/dist/typescript/commonjs/src/native/styles/index.d.ts.map +1 -1
  339. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts +4 -1
  340. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts.map +1 -1
  341. package/dist/typescript/commonjs/src/native/styles/scale-factor.d.ts +2 -0
  342. package/dist/typescript/commonjs/src/native/styles/scale-factor.d.ts.map +1 -0
  343. package/dist/typescript/commonjs/src/native/styles/shorthands/_handler.d.ts.map +1 -1
  344. package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts.map +1 -1
  345. package/dist/typescript/commonjs/src/native/styles/shorthands/box-shadow.d.ts.map +1 -1
  346. package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts +1 -0
  347. package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts.map +1 -1
  348. package/dist/typescript/commonjs/src/native/styles/shorthands/logical-border-width.d.ts +4 -0
  349. package/dist/typescript/commonjs/src/native/styles/shorthands/logical-border-width.d.ts.map +1 -0
  350. package/dist/typescript/commonjs/src/native/styles/shorthands/transform.d.ts.map +1 -1
  351. package/dist/typescript/commonjs/src/native/styles/variables.d.ts +3 -2
  352. package/dist/typescript/commonjs/src/native/styles/variables.d.ts.map +1 -1
  353. package/dist/typescript/commonjs/src/native-internal/root.d.ts +38 -0
  354. package/dist/typescript/commonjs/src/native-internal/root.d.ts.map +1 -1
  355. package/dist/typescript/commonjs/src/native-internal/style-collection.d.ts +2 -2
  356. package/dist/typescript/commonjs/src/native-internal/style-collection.d.ts.map +1 -1
  357. package/dist/typescript/commonjs/src/native-internal/variables.d.ts +1 -1
  358. package/dist/typescript/commonjs/src/native-internal/variables.d.ts.map +1 -1
  359. package/dist/typescript/commonjs/src/runtime.types.d.ts +11 -6
  360. package/dist/typescript/commonjs/src/runtime.types.d.ts.map +1 -1
  361. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts +2 -1
  362. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts.map +1 -1
  363. package/dist/typescript/commonjs/src/utilities/equality.d.ts +2 -0
  364. package/dist/typescript/commonjs/src/utilities/equality.d.ts.map +1 -0
  365. package/dist/typescript/commonjs/src/utilities/index.d.ts +1 -0
  366. package/dist/typescript/commonjs/src/utilities/index.d.ts.map +1 -1
  367. package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts +14 -1
  368. package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts.map +1 -1
  369. package/dist/typescript/commonjs/src/web/api.d.ts +5 -5
  370. package/dist/typescript/commonjs/src/web/api.d.ts.map +1 -1
  371. package/dist/typescript/commonjs/src/web/assign-style.d.ts.map +1 -1
  372. package/dist/typescript/module/src/babel/helpers.d.ts +2 -1
  373. package/dist/typescript/module/src/babel/helpers.d.ts.map +1 -1
  374. package/dist/typescript/module/src/babel/import-plugin.d.ts +1 -1
  375. package/dist/typescript/module/src/babel/import-plugin.d.ts.map +1 -1
  376. package/dist/typescript/module/src/babel/react-native-web.d.ts +2 -1
  377. package/dist/typescript/module/src/babel/react-native-web.d.ts.map +1 -1
  378. package/dist/typescript/module/src/babel/react-native.d.ts.map +1 -1
  379. package/dist/typescript/module/src/compiler/atRules.d.ts +6 -3
  380. package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -1
  381. package/dist/typescript/module/src/compiler/compiler.d.ts +3 -7
  382. package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -1
  383. package/dist/typescript/module/src/compiler/compiler.types.d.ts +14 -1
  384. package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -1
  385. package/dist/typescript/module/src/compiler/container-query.d.ts +2 -2
  386. package/dist/typescript/module/src/compiler/container-query.d.ts.map +1 -1
  387. package/dist/typescript/module/src/compiler/declarations.d.ts +4 -5
  388. package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -1
  389. package/dist/typescript/module/src/compiler/index.d.ts +2 -2
  390. package/dist/typescript/module/src/compiler/index.d.ts.map +1 -1
  391. package/dist/typescript/module/src/compiler/individual-transforms.d.ts +10 -0
  392. package/dist/typescript/module/src/compiler/individual-transforms.d.ts.map +1 -0
  393. package/dist/typescript/module/src/compiler/inline-variables.d.ts +2 -2
  394. package/dist/typescript/module/src/compiler/inline-variables.d.ts.map +1 -1
  395. package/dist/typescript/module/src/compiler/keyframes.d.ts +2 -2
  396. package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -1
  397. package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts.map +1 -1
  398. package/dist/typescript/module/src/compiler/media-query.d.ts +3 -3
  399. package/dist/typescript/module/src/compiler/media-query.d.ts.map +1 -1
  400. package/dist/typescript/module/src/compiler/pseudo-elements.d.ts +1 -1
  401. package/dist/typescript/module/src/compiler/pseudo-elements.d.ts.map +1 -1
  402. package/dist/typescript/module/src/compiler/selector-builder.d.ts +3 -2
  403. package/dist/typescript/module/src/compiler/selector-builder.d.ts.map +1 -1
  404. package/dist/typescript/module/src/compiler/selectors.d.ts +2 -2
  405. package/dist/typescript/module/src/compiler/selectors.d.ts.map +1 -1
  406. package/dist/typescript/module/src/compiler/stylesheet.d.ts +10 -10
  407. package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -1
  408. package/dist/typescript/module/src/components/FlatList.d.ts.map +1 -1
  409. package/dist/typescript/module/src/components/ImageBackground.d.ts.map +1 -1
  410. package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts.map +1 -1
  411. package/dist/typescript/module/src/components/SafeAreaProvider.d.ts +2 -0
  412. package/dist/typescript/module/src/components/SafeAreaProvider.d.ts.map +1 -0
  413. package/dist/typescript/module/src/components/index.d.ts +16 -16
  414. package/dist/typescript/module/src/components/index.d.ts.map +1 -1
  415. package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts +2 -1
  416. package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
  417. package/dist/typescript/module/src/jest/index.d.ts +2 -10
  418. package/dist/typescript/module/src/jest/index.d.ts.map +1 -1
  419. package/dist/typescript/module/src/metro/cache-version.d.ts +8 -0
  420. package/dist/typescript/module/src/metro/cache-version.d.ts.map +1 -0
  421. package/dist/typescript/module/src/metro/index.d.ts +5 -1
  422. package/dist/typescript/module/src/metro/index.d.ts.map +1 -1
  423. package/dist/typescript/module/src/metro/metro-transformer.d.ts +10 -5
  424. package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -1
  425. package/dist/typescript/module/src/metro/typescript.d.ts.map +1 -1
  426. package/dist/typescript/module/src/metro/warnings.d.ts +13 -0
  427. package/dist/typescript/module/src/metro/warnings.d.ts.map +1 -0
  428. package/dist/typescript/module/src/native/api.d.ts +6 -10
  429. package/dist/typescript/module/src/native/api.d.ts.map +1 -1
  430. package/dist/typescript/module/src/native/conditions/attributes.d.ts +1 -1
  431. package/dist/typescript/module/src/native/conditions/attributes.d.ts.map +1 -1
  432. package/dist/typescript/module/src/native/conditions/container-query.d.ts +2 -2
  433. package/dist/typescript/module/src/native/conditions/container-query.d.ts.map +1 -1
  434. package/dist/typescript/module/src/native/conditions/guards.d.ts +4 -3
  435. package/dist/typescript/module/src/native/conditions/guards.d.ts.map +1 -1
  436. package/dist/typescript/module/src/native/conditions/index.d.ts +3 -3
  437. package/dist/typescript/module/src/native/conditions/index.d.ts.map +1 -1
  438. package/dist/typescript/module/src/native/conditions/media-query.d.ts +1 -1
  439. package/dist/typescript/module/src/native/conditions/media-query.d.ts.map +1 -1
  440. package/dist/typescript/module/src/native/index.d.ts +3 -3
  441. package/dist/typescript/module/src/native/index.d.ts.map +1 -1
  442. package/dist/typescript/module/src/native/objects.d.ts.map +1 -1
  443. package/dist/typescript/module/src/native/react/interaction.d.ts +2 -2
  444. package/dist/typescript/module/src/native/react/interaction.d.ts.map +1 -1
  445. package/dist/typescript/module/src/native/react/rules.d.ts +9 -4
  446. package/dist/typescript/module/src/native/react/rules.d.ts.map +1 -1
  447. package/dist/typescript/module/src/native/react/useNativeCss.d.ts +4 -7
  448. package/dist/typescript/module/src/native/react/useNativeCss.d.ts.map +1 -1
  449. package/dist/typescript/module/src/native/react/usePassthrough.d.ts +1 -1
  450. package/dist/typescript/module/src/native/react/usePassthrough.d.ts.map +1 -1
  451. package/dist/typescript/module/src/native/reactivity.d.ts +15 -3
  452. package/dist/typescript/module/src/native/reactivity.d.ts.map +1 -1
  453. package/dist/typescript/module/src/native/reanimated.d.ts.map +1 -1
  454. package/dist/typescript/module/src/native/styles/calculate-props.d.ts +13 -4
  455. package/dist/typescript/module/src/native/styles/calculate-props.d.ts.map +1 -1
  456. package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts +1 -1
  457. package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts.map +1 -1
  458. package/dist/typescript/module/src/native/styles/functions/calc.d.ts +1 -1
  459. package/dist/typescript/module/src/native/styles/functions/calc.d.ts.map +1 -1
  460. package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts +1 -1
  461. package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts.map +1 -1
  462. package/dist/typescript/module/src/native/styles/functions/filters.d.ts +3 -1
  463. package/dist/typescript/module/src/native/styles/functions/filters.d.ts.map +1 -1
  464. package/dist/typescript/module/src/native/styles/functions/index.d.ts +8 -8
  465. package/dist/typescript/module/src/native/styles/functions/index.d.ts.map +1 -1
  466. package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts +1 -1
  467. package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts.map +1 -1
  468. package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts +1 -1
  469. package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts.map +1 -1
  470. package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts +3 -1
  471. package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts.map +1 -1
  472. package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts +3 -1
  473. package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts.map +1 -1
  474. package/dist/typescript/module/src/native/styles/index.d.ts +9 -8
  475. package/dist/typescript/module/src/native/styles/index.d.ts.map +1 -1
  476. package/dist/typescript/module/src/native/styles/line-height.d.ts +1 -1
  477. package/dist/typescript/module/src/native/styles/line-height.d.ts.map +1 -1
  478. package/dist/typescript/module/src/native/styles/resolve.d.ts +7 -4
  479. package/dist/typescript/module/src/native/styles/resolve.d.ts.map +1 -1
  480. package/dist/typescript/module/src/native/styles/scale-factor.d.ts +2 -0
  481. package/dist/typescript/module/src/native/styles/scale-factor.d.ts.map +1 -0
  482. package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts +1 -1
  483. package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts.map +1 -1
  484. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts +2 -2
  485. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts.map +1 -1
  486. package/dist/typescript/module/src/native/styles/shorthands/border.d.ts +1 -1
  487. package/dist/typescript/module/src/native/styles/shorthands/border.d.ts.map +1 -1
  488. package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts +1 -1
  489. package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts.map +1 -1
  490. package/dist/typescript/module/src/native/styles/shorthands/index.d.ts +6 -5
  491. package/dist/typescript/module/src/native/styles/shorthands/index.d.ts.map +1 -1
  492. package/dist/typescript/module/src/native/styles/shorthands/logical-border-width.d.ts +4 -0
  493. package/dist/typescript/module/src/native/styles/shorthands/logical-border-width.d.ts.map +1 -0
  494. package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts +1 -1
  495. package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts.map +1 -1
  496. package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts +1 -1
  497. package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts.map +1 -1
  498. package/dist/typescript/module/src/native/styles/units.d.ts +1 -1
  499. package/dist/typescript/module/src/native/styles/units.d.ts.map +1 -1
  500. package/dist/typescript/module/src/native/styles/variables.d.ts +4 -3
  501. package/dist/typescript/module/src/native/styles/variables.d.ts.map +1 -1
  502. package/dist/typescript/module/src/native-internal/index.d.ts +3 -3
  503. package/dist/typescript/module/src/native-internal/index.d.ts.map +1 -1
  504. package/dist/typescript/module/src/native-internal/root.d.ts +39 -1
  505. package/dist/typescript/module/src/native-internal/root.d.ts.map +1 -1
  506. package/dist/typescript/module/src/native-internal/style-collection.d.ts +3 -3
  507. package/dist/typescript/module/src/native-internal/style-collection.d.ts.map +1 -1
  508. package/dist/typescript/module/src/native-internal/variables.d.ts +2 -2
  509. package/dist/typescript/module/src/native-internal/variables.d.ts.map +1 -1
  510. package/dist/typescript/module/src/runtime.d.ts +1 -1
  511. package/dist/typescript/module/src/runtime.d.ts.map +1 -1
  512. package/dist/typescript/module/src/runtime.native.d.ts +1 -1
  513. package/dist/typescript/module/src/runtime.native.d.ts.map +1 -1
  514. package/dist/typescript/module/src/runtime.types.d.ts +11 -6
  515. package/dist/typescript/module/src/runtime.types.d.ts.map +1 -1
  516. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts +2 -1
  517. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts.map +1 -1
  518. package/dist/typescript/module/src/utilities/equality.d.ts +2 -0
  519. package/dist/typescript/module/src/utilities/equality.d.ts.map +1 -0
  520. package/dist/typescript/module/src/utilities/index.d.ts +4 -3
  521. package/dist/typescript/module/src/utilities/index.d.ts.map +1 -1
  522. package/dist/typescript/module/src/utilities/specificity.d.ts +2 -2
  523. package/dist/typescript/module/src/utilities/specificity.d.ts.map +1 -1
  524. package/dist/typescript/module/src/utilities/style-descriptor.d.ts +14 -1
  525. package/dist/typescript/module/src/utilities/style-descriptor.d.ts.map +1 -1
  526. package/dist/typescript/module/src/web/api.d.ts +5 -5
  527. package/dist/typescript/module/src/web/api.d.ts.map +1 -1
  528. package/dist/typescript/module/src/web/assign-style.d.ts.map +1 -1
  529. package/dist/typescript/module/src/web/index.d.ts +3 -3
  530. package/dist/typescript/module/src/web/index.d.ts.map +1 -1
  531. package/node/babel.mjs +4 -0
  532. package/node/compiler.mjs +2 -0
  533. package/node/metro.mjs +2 -0
  534. package/package.json +78 -31
  535. package/src/babel/helpers.ts +8 -1
  536. package/src/babel/import-plugin.ts +31 -16
  537. package/src/babel/react-native-web.ts +32 -4
  538. package/src/babel/react-native.ts +9 -4
  539. package/src/compiler/atRules.ts +44 -0
  540. package/src/compiler/compiler.ts +282 -50
  541. package/src/compiler/compiler.types.ts +17 -0
  542. package/src/compiler/container-query.ts +8 -3
  543. package/src/compiler/declarations.ts +385 -247
  544. package/src/compiler/individual-transforms.ts +129 -0
  545. package/src/compiler/inline-variables.ts +67 -0
  546. package/src/compiler/lightningcss-loader.ts +16 -15
  547. package/src/compiler/media-query.ts +20 -9
  548. package/src/compiler/selector-builder.ts +32 -5
  549. package/src/compiler/stylesheet.ts +51 -15
  550. package/src/compiler/supports.ts +1 -3
  551. package/src/components/FlatList.tsx +1 -0
  552. package/src/components/ImageBackground.tsx +2 -6
  553. package/src/components/KeyboardAvoidingView.tsx +2 -3
  554. package/src/components/SafeAreaProvider.tsx +1 -0
  555. package/src/components/index.cts +49 -1
  556. package/src/components/react-native-safe-area-context.native.tsx +20 -0
  557. package/src/jest/index.ts +3 -1
  558. package/src/metro/cache-version.ts +48 -0
  559. package/src/metro/index.ts +7 -0
  560. package/src/metro/metro-transformer.ts +26 -8
  561. package/src/metro/typescript.ts +53 -6
  562. package/src/metro/warnings.ts +187 -0
  563. package/src/native/api.tsx +26 -18
  564. package/src/native/conditions/attributes.ts +26 -9
  565. package/src/native/conditions/container-query.ts +11 -9
  566. package/src/native/conditions/guards.ts +13 -1
  567. package/src/native/conditions/media-query.ts +1 -1
  568. package/src/native/objects.ts +12 -22
  569. package/src/native/react/interaction.ts +11 -6
  570. package/src/native/react/rules.ts +58 -45
  571. package/src/native/react/useNativeCss.ts +85 -18
  572. package/src/native/react/usePassthrough.ts +3 -2
  573. package/src/native/reactivity.ts +79 -24
  574. package/src/native/reanimated.ts +24 -5
  575. package/src/native/styles/calculate-props.ts +179 -28
  576. package/src/native/styles/functions/animation-timing.ts +3 -1
  577. package/src/native/styles/functions/color-mix.ts +45 -39
  578. package/src/native/styles/functions/filters.ts +21 -6
  579. package/src/native/styles/functions/numeric-functions.ts +7 -6
  580. package/src/native/styles/functions/platform-functions.ts +3 -1
  581. package/src/native/styles/functions/string-functions.ts +25 -5
  582. package/src/native/styles/functions/transform-functions.ts +111 -64
  583. package/src/native/styles/index.ts +340 -53
  584. package/src/native/styles/resolve.ts +188 -29
  585. package/src/native/styles/scale-factor.ts +9 -0
  586. package/src/native/styles/shorthands/_handler.ts +14 -1
  587. package/src/native/styles/shorthands/animation.ts +8 -2
  588. package/src/native/styles/shorthands/box-shadow.ts +46 -25
  589. package/src/native/styles/shorthands/index.ts +1 -0
  590. package/src/native/styles/shorthands/logical-border-width.ts +32 -0
  591. package/src/native/styles/shorthands/transform.ts +36 -11
  592. package/src/native/styles/variables.ts +242 -45
  593. package/src/native-internal/root.ts +83 -13
  594. package/src/native-internal/style-collection.ts +21 -46
  595. package/src/native-internal/variables.tsx +6 -4
  596. package/src/runtime.types.ts +17 -15
  597. package/src/utilities/dot-notation.types.ts +4 -3
  598. package/src/utilities/equality.ts +41 -0
  599. package/src/utilities/index.ts +1 -0
  600. package/src/utilities/style-descriptor.ts +36 -14
  601. package/src/web/api.tsx +7 -12
  602. package/src/web/assign-style.ts +2 -1
  603. package/types.d.ts +0 -20
  604. package/dist/commonjs/compiler/inheritance.test.js +0 -78
  605. package/dist/commonjs/compiler/inheritance.test.js.map +0 -1
  606. package/dist/module/compiler/inheritance.test.js +0 -78
  607. package/dist/module/compiler/inheritance.test.js.map +0 -1
  608. package/dist/typescript/commonjs/.config/eslint.config.d.mts +0 -3
  609. package/dist/typescript/commonjs/.config/eslint.config.d.mts.map +0 -1
  610. package/dist/typescript/commonjs/eslint.config.d.mts +0 -2
  611. package/dist/typescript/commonjs/eslint.config.d.mts.map +0 -1
  612. package/dist/typescript/commonjs/example/app.config.d.ts +0 -4
  613. package/dist/typescript/commonjs/example/app.config.d.ts.map +0 -1
  614. package/dist/typescript/commonjs/example/index.d.ts +0 -2
  615. package/dist/typescript/commonjs/example/index.d.ts.map +0 -1
  616. package/dist/typescript/commonjs/example/metro.config.d.ts +0 -3
  617. package/dist/typescript/commonjs/example/metro.config.d.ts.map +0 -1
  618. package/dist/typescript/commonjs/example/postcss.config.d.mts +0 -7
  619. package/dist/typescript/commonjs/example/postcss.config.d.mts.map +0 -1
  620. package/dist/typescript/commonjs/example/src/App.d.ts +0 -3
  621. package/dist/typescript/commonjs/example/src/App.d.ts.map +0 -1
  622. package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts +0 -2
  623. package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts.map +0 -1
  624. package/dist/typescript/module/.config/eslint.config.d.mts +0 -3
  625. package/dist/typescript/module/.config/eslint.config.d.mts.map +0 -1
  626. package/dist/typescript/module/eslint.config.d.mts +0 -2
  627. package/dist/typescript/module/eslint.config.d.mts.map +0 -1
  628. package/dist/typescript/module/example/app.config.d.ts +0 -4
  629. package/dist/typescript/module/example/app.config.d.ts.map +0 -1
  630. package/dist/typescript/module/example/index.d.ts +0 -2
  631. package/dist/typescript/module/example/index.d.ts.map +0 -1
  632. package/dist/typescript/module/example/metro.config.d.ts +0 -3
  633. package/dist/typescript/module/example/metro.config.d.ts.map +0 -1
  634. package/dist/typescript/module/example/postcss.config.d.mts +0 -7
  635. package/dist/typescript/module/example/postcss.config.d.mts.map +0 -1
  636. package/dist/typescript/module/example/src/App.d.ts +0 -3
  637. package/dist/typescript/module/example/src/App.d.ts.map +0 -1
  638. package/dist/typescript/module/src/compiler/inheritance.test.d.ts +0 -2
  639. package/dist/typescript/module/src/compiler/inheritance.test.d.ts.map +0 -1
  640. package/src/compiler/inheritance.test.ts +0 -121
@@ -1,12 +1,12 @@
1
1
  import type { SelectorList } from "lightningcss";
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, PropertyRegistration, 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;
6
6
  mode: BuilderMode;
7
7
  private ruleTemplate;
8
8
  private mapping;
9
- descriptorProperty?: string | undefined;
9
+ descriptorProperties?: readonly string[] | undefined;
10
10
  private shared;
11
11
  private selectors;
12
12
  animationFrames?: AnimationKeyframes[];
@@ -14,17 +14,19 @@ export declare class StylesheetBuilder {
14
14
  stylesheet: ReactNativeCssStyleSheet;
15
15
  varUsage: Set<string>;
16
16
  private rule;
17
- constructor(options: CompilerOptions, mode?: BuilderMode, ruleTemplate?: StyleRule, mapping?: StyleRuleMapping, descriptorProperty?: string | undefined, shared?: {
17
+ constructor(options: CompilerOptions, mode?: BuilderMode, ruleTemplate?: StyleRule, mapping?: StyleRuleMapping, descriptorProperties?: readonly string[] | undefined, shared?: {
18
18
  ruleSets: Record<string, StyleRuleSet>;
19
19
  rootVariables?: VariableRecord;
20
20
  universalVariables?: VariableRecord;
21
+ propertyRegistrations?: Record<string, PropertyRegistration>;
21
22
  animations?: AnimationRecord;
22
23
  rem: number;
23
24
  ruleOrder: number;
24
25
  warningProperty?: string;
25
26
  warningProperties: string[];
26
- warningValues: Record<string, unknown[]>;
27
+ warningValues: Record<string, string[]>;
27
28
  warningFunctions: string[];
29
+ syntaxWarnings: Set<string>;
28
30
  }, selectors?: SelectorList);
29
31
  fork(mode?: BuilderMode, selectors?: SelectorList): StylesheetBuilder;
30
32
  cloneRule({ ...rule }?: StyleRule): StyleRule;
@@ -36,12 +38,9 @@ export declare class StylesheetBuilder {
36
38
  getRuleSets(): (readonly [string, StyleRuleSet])[] | undefined;
37
39
  setWarningProperty(property: string): void;
38
40
  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
- };
41
+ addWarning(type: "style", property: string, value: string): void;
42
+ addSyntaxWarning(message: string): void;
43
+ getWarnings(): CompilerWarnings;
45
44
  addMapping(mapping: StyleRuleMapping): void;
46
45
  newRule(mapping?: StyleRuleMapping, { important }?: {
47
46
  important?: boolean | undefined;
@@ -62,6 +61,7 @@ export declare class StylesheetBuilder {
62
61
  private pushDescriptor;
63
62
  applyRuleToSelectors(selectorList?: SelectorList): void;
64
63
  addContainerQuery(query: ContainerQuery): void;
64
+ registerProperty(name: string, inherits: boolean, initialValue: StyleDescriptor): void;
65
65
  newAnimationFrames(name: string): void;
66
66
  newAnimationFrame(progress: string): void;
67
67
  }
@@ -1 +1 @@
1
- {"version":3,"file":"stylesheet.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/stylesheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,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,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"}
@@ -0,0 +1,2 @@
1
+ export { SafeAreaProvider } from "react-native-css/components/react-native-safe-area-context";
2
+ //# sourceMappingURL=SafeAreaProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SafeAreaProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/SafeAreaProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,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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,4 +1,5 @@
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 const SafeAreaView: import("react").ForwardRefExoticComponent<import("react-native-safe-area-context").NativeSafeAreaViewProps & import("react").RefAttributes<import("react").Component<import("react-native-safe-area-context/lib/typescript/src/specs/NativeSafeAreaView").NativeProps, {}, any> & import("react-native").NativeMethods>>;
4
+ export declare function SafeAreaProvider({ children, ...props }: SafeAreaProviderProps): import("react").JSX.Element;
4
5
  //# 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":"AAWA,OAAO,EAIL,KAAK,qBAAqB,EAE3B,MAAM,gCAAgC,CAAC;AAIxC,cAAc,gCAAgC,CAAC;AAM/C,eAAO,MAAM,YAAY,0TAKxB,CAAC;AAEF,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;AAM1E,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;AAgBzC,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,17 +10,13 @@ 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>;
17
- export declare function useNativeVariable(name: string): any;
17
+ export declare function useNativeVariable(name: string): unknown;
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,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ACxB,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,WA2B7C;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,6 @@
1
- import type { ComponentState } from "../react/useNativeCss";
2
- import type { ContainerContextValue, VariableContextValue } from "../reactivity";
3
- export type RenderGuard = ["a", string, any] | ["d", string, any] | ["v", string, any] | ["c", string, WeakKey];
1
+ import type { StyleDescriptor } from "react-native-css/compiler";
2
+ import type { ComponentState } from "../react/useNativeCss.js";
3
+ import type { ContainerContextValue, VariableContextValue } from "../reactivity.js";
4
+ export type RenderGuard = ["a", string, any] | ["d", string, any] | ["v", string, StyleDescriptor] | ["n", string, StyleDescriptor] | ["c", string, WeakKey];
4
5
  export declare function testGuards(state: ComponentState, currentProps: any, inheritedVariables: VariableContextValue, inheritedContainers: ContainerContextValue): boolean | undefined;
5
6
  //# 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,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAGjE,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,eAAe,CAAC,GAC9B,CAAC,GAAG,EAAE,MAAM,EAAE,eAAe,CAAC,GAC9B,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,uBAkC3C"}
@@ -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 +1 @@
1
- {"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../../../../src/native/objects.ts"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,KAAK,OA4BxE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,GAAG,uCAcxC;AAED,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC3B,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,GAAG,QAkCX;AAED,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC3B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAC5C,KAAK,EAAE,GAAG,uBAgBX"}
1
+ {"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../../../../src/native/objects.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,KAAK,OAwBxE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,GAAG,uCAcxC;AAED,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC3B,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,GAAG,QA2BX;AAED,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC3B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAC5C,KAAK,EAAE,GAAG,uBAgBX"}
@@ -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,7 +1,12 @@
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
- export declare function generateStateHash(state: ComponentState, iterableKeys?: Iterable<WeakKey>, variables?: WeakKey, inlineVars?: Set<WeakKey>): string;
6
- export declare function generateHash(keys: WeakKey[]): string;
5
+ export declare function generateStateHash(state: ComponentState, iterableKeys: Iterable<WeakKey>): number;
6
+ /**
7
+ * Hash a set of weak keys into a 53-bit integer. Each id is mixed into two 32-bit values summed
8
+ * across the set, so the hash is order-independent without a sort. A collision would hand one
9
+ * element another's styles, but at 53 bits the odds are about n² / 2^54 for n live entries.
10
+ */
11
+ export declare function generateHash(keys: WeakKey[]): number;
7
12
  //# sourceMappingURL=rules.d.ts.map
@@ -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;AAGvB,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,CA2PhB;AAgCD,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,cAAc,EACrB,YAAY,EAAE,QAAQ,CAAC,OAAO,CAAC,GAC9B,MAAM,CAER;AAYD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAUpD"}
@@ -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;
@@ -31,8 +31,5 @@ export type ComponentState = {
31
31
  * useNativeCss is the native implementation of the useCssElement hook.
32
32
  */
33
33
  export declare function useNativeCss(type: ComponentType<any>, originalProps: Record<string, any> | undefined | null, configs?: Config[]): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").FunctionComponentElement<import("react").FragmentProps>;
34
- /**
35
- * Convert the styled() mapping to a config array
36
- */
37
34
  export declare function mappingToConfig(mapping: StyledConfiguration<any>): Config[];
38
35
  //# sourceMappingURL=useNativeCss.d.ts.map
@@ -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,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,oBA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,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;AAoDD,wBAAgB,eAAe,CAAC,OAAO,EAAE,mBAAmB,CAAC,GAAG,CAAC,GAAG,MAAM,EAAE,CAQ3E"}
@@ -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,9 +22,12 @@ 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;
30
+ size(): number;
23
31
  clear(): void;
24
32
  };
25
33
  type WeakFamilyFn<Key, Args = undefined, Result = Key> = ((key: Key, args: Args) => Result) & {
@@ -32,6 +40,7 @@ export declare const VAR_SYMBOL: unique symbol;
32
40
  export type VariableContextValue = Record<string, StyleDescriptor> & {
33
41
  [VAR_SYMBOL]: true;
34
42
  };
43
+ export declare function toVariableRecord(variables: Record<string, StyleDescriptor>): Record<string, StyleDescriptor>;
35
44
  /** Pseudo Classes ************************************************************/
36
45
  export declare const hoverFamily: WeakFamilyFn<WeakKey, void, Observable<boolean, boolean>>;
37
46
  export declare const activeFamily: WeakFamilyFn<WeakKey, void, Observable<boolean, boolean>>;
@@ -41,9 +50,12 @@ export declare const dimensions: Observable<import("react-native").ScaledSize, i
41
50
  export declare const vw: Observable<number, number>;
42
51
  export declare const vh: Observable<number, number>;
43
52
  /** Color Scheme **************************************************************/
44
- export declare const colorScheme: Observable<ColorSchemeName, ColorSchemeName>;
53
+ export declare const colorScheme: Observable<ColorSchemeName | null | undefined, ColorSchemeName | null | undefined>;
45
54
  /** Containers ****************************************************************/
46
- export type ContainerContextValue = Record<string, WeakKey>;
55
+ export type ContainerContextValue = Record<string, {
56
+ key: WeakKey;
57
+ props: Record<string, unknown> | null | undefined;
58
+ }>;
47
59
  export declare const ContainerContext: import("react").Context<ContainerContextValue>;
48
60
  export declare const containerLayoutFamily: WeakFamilyFn<WeakKey, void, Observable<LayoutRectangle, LayoutRectangle>>;
49
61
  export declare const containerWidthFamily: WeakFamilyFn<WeakKey, void, Observable<number, number>>;