react-native-css 0.0.0-nightly.2cfbf16 → 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 (613) hide show
  1. package/README.md +30 -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 +150 -50
  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 +32 -13
  29. package/dist/commonjs/compiler/stylesheet.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 +49 -1
  35. package/dist/commonjs/components/index.cjs.map +1 -1
  36. package/dist/commonjs/components/react-native-safe-area-context.native.js +10 -0
  37. package/dist/commonjs/components/react-native-safe-area-context.native.js.map +1 -1
  38. package/dist/commonjs/jest/index.js +3 -1
  39. package/dist/commonjs/jest/index.js.map +1 -1
  40. package/dist/commonjs/metro/cache-version.js +43 -0
  41. package/dist/commonjs/metro/cache-version.js.map +1 -0
  42. package/dist/commonjs/metro/index.js +2 -0
  43. package/dist/commonjs/metro/index.js.map +1 -1
  44. package/dist/commonjs/metro/metro-transformer.js +16 -3
  45. package/dist/commonjs/metro/metro-transformer.js.map +1 -1
  46. package/dist/commonjs/metro/typescript.js +26 -6
  47. package/dist/commonjs/metro/typescript.js.map +1 -1
  48. package/dist/commonjs/metro/warnings.js +135 -0
  49. package/dist/commonjs/metro/warnings.js.map +1 -0
  50. package/dist/commonjs/native/api.js +16 -11
  51. package/dist/commonjs/native/api.js.map +1 -1
  52. package/dist/commonjs/native/conditions/attributes.js +16 -9
  53. package/dist/commonjs/native/conditions/attributes.js.map +1 -1
  54. package/dist/commonjs/native/conditions/container-query.js +11 -11
  55. package/dist/commonjs/native/conditions/container-query.js.map +1 -1
  56. package/dist/commonjs/native/conditions/guards.js +7 -0
  57. package/dist/commonjs/native/conditions/guards.js.map +1 -1
  58. package/dist/commonjs/native/conditions/media-query.js +1 -1
  59. package/dist/commonjs/native/conditions/media-query.js.map +1 -1
  60. package/dist/commonjs/native/objects.js +11 -18
  61. package/dist/commonjs/native/objects.js.map +1 -1
  62. package/dist/commonjs/native/react/interaction.js +10 -5
  63. package/dist/commonjs/native/react/interaction.js.map +1 -1
  64. package/dist/commonjs/native/react/rules.js +45 -38
  65. package/dist/commonjs/native/react/rules.js.map +1 -1
  66. package/dist/commonjs/native/react/useNativeCss.js +70 -15
  67. package/dist/commonjs/native/react/useNativeCss.js.map +1 -1
  68. package/dist/commonjs/native/react/usePassthrough.js +5 -2
  69. package/dist/commonjs/native/react/usePassthrough.js.map +1 -1
  70. package/dist/commonjs/native/reactivity.js +64 -24
  71. package/dist/commonjs/native/reactivity.js.map +1 -1
  72. package/dist/commonjs/native/reanimated.js +15 -3
  73. package/dist/commonjs/native/reanimated.js.map +1 -1
  74. package/dist/commonjs/native/styles/calculate-props.js +139 -26
  75. package/dist/commonjs/native/styles/calculate-props.js.map +1 -1
  76. package/dist/commonjs/native/styles/functions/animation-timing.js +2 -1
  77. package/dist/commonjs/native/styles/functions/animation-timing.js.map +1 -1
  78. package/dist/commonjs/native/styles/functions/color-mix.js +43 -29
  79. package/dist/commonjs/native/styles/functions/color-mix.js.map +1 -1
  80. package/dist/commonjs/native/styles/functions/filters.js +15 -1
  81. package/dist/commonjs/native/styles/functions/filters.js.map +1 -1
  82. package/dist/commonjs/native/styles/functions/numeric-functions.js +4 -3
  83. package/dist/commonjs/native/styles/functions/numeric-functions.js.map +1 -1
  84. package/dist/commonjs/native/styles/functions/platform-functions.js +2 -1
  85. package/dist/commonjs/native/styles/functions/platform-functions.js.map +1 -1
  86. package/dist/commonjs/native/styles/functions/string-functions.js +22 -6
  87. package/dist/commonjs/native/styles/functions/string-functions.js.map +1 -1
  88. package/dist/commonjs/native/styles/functions/transform-functions.js +95 -105
  89. package/dist/commonjs/native/styles/functions/transform-functions.js.map +1 -1
  90. package/dist/commonjs/native/styles/index.js +182 -123
  91. package/dist/commonjs/native/styles/index.js.map +1 -1
  92. package/dist/commonjs/native/styles/resolve.js +136 -19
  93. package/dist/commonjs/native/styles/resolve.js.map +1 -1
  94. package/dist/commonjs/native/styles/scale-factor.js +12 -0
  95. package/dist/commonjs/native/styles/scale-factor.js.map +1 -0
  96. package/dist/commonjs/native/styles/shorthands/animation.js +6 -3
  97. package/dist/commonjs/native/styles/shorthands/animation.js.map +1 -1
  98. package/dist/commonjs/native/styles/shorthands/box-shadow.js +13 -25
  99. package/dist/commonjs/native/styles/shorthands/box-shadow.js.map +1 -1
  100. package/dist/commonjs/native/styles/shorthands/index.js +11 -0
  101. package/dist/commonjs/native/styles/shorthands/index.js.map +1 -1
  102. package/dist/commonjs/native/styles/shorthands/logical-border-width.js +22 -0
  103. package/dist/commonjs/native/styles/shorthands/logical-border-width.js.map +1 -0
  104. package/dist/commonjs/native/styles/shorthands/transform.js +31 -8
  105. package/dist/commonjs/native/styles/shorthands/transform.js.map +1 -1
  106. package/dist/commonjs/native/styles/variables.js +165 -48
  107. package/dist/commonjs/native/styles/variables.js.map +1 -1
  108. package/dist/commonjs/native-internal/root.js +46 -7
  109. package/dist/commonjs/native-internal/root.js.map +1 -1
  110. package/dist/commonjs/native-internal/style-collection.js +22 -37
  111. package/dist/commonjs/native-internal/style-collection.js.map +1 -1
  112. package/dist/commonjs/native-internal/variables.js +1 -1
  113. package/dist/commonjs/native-internal/variables.js.map +1 -1
  114. package/dist/commonjs/utilities/dot-notation.types.js +4 -0
  115. package/dist/commonjs/utilities/equality.js +41 -0
  116. package/dist/commonjs/utilities/equality.js.map +1 -0
  117. package/dist/commonjs/utilities/index.js +11 -0
  118. package/dist/commonjs/utilities/index.js.map +1 -1
  119. package/dist/commonjs/utilities/style-descriptor.js +32 -8
  120. package/dist/commonjs/utilities/style-descriptor.js.map +1 -1
  121. package/dist/commonjs/web/api.js +1 -1
  122. package/dist/commonjs/web/api.js.map +1 -1
  123. package/dist/commonjs/web/assign-style.js +4 -1
  124. package/dist/commonjs/web/assign-style.js.map +1 -1
  125. package/dist/module/babel/helpers.js +6 -0
  126. package/dist/module/babel/helpers.js.map +1 -1
  127. package/dist/module/babel/import-plugin.js +22 -10
  128. package/dist/module/babel/import-plugin.js.map +1 -1
  129. package/dist/module/babel/react-native-web.js +16 -4
  130. package/dist/module/babel/react-native-web.js.map +1 -1
  131. package/dist/module/babel/react-native.js +9 -4
  132. package/dist/module/babel/react-native.js.map +1 -1
  133. package/dist/module/compiler/atRules.js +33 -0
  134. package/dist/module/compiler/atRules.js.map +1 -1
  135. package/dist/module/compiler/compiler.js +151 -51
  136. package/dist/module/compiler/compiler.js.map +1 -1
  137. package/dist/module/compiler/compiler.types.js +2 -0
  138. package/dist/module/compiler/compiler.types.js.map +1 -1
  139. package/dist/module/compiler/container-query.js +6 -1
  140. package/dist/module/compiler/container-query.js.map +1 -1
  141. package/dist/module/compiler/declarations.js +190 -100
  142. package/dist/module/compiler/declarations.js.map +1 -1
  143. package/dist/module/compiler/individual-transforms.js +125 -0
  144. package/dist/module/compiler/individual-transforms.js.map +1 -0
  145. package/dist/module/compiler/inline-variables.js +47 -1
  146. package/dist/module/compiler/inline-variables.js.map +1 -1
  147. package/dist/module/compiler/lightningcss-loader.js +10 -8
  148. package/dist/module/compiler/lightningcss-loader.js.map +1 -1
  149. package/dist/module/compiler/media-query.js +16 -6
  150. package/dist/module/compiler/media-query.js.map +1 -1
  151. package/dist/module/compiler/selector-builder.js +16 -5
  152. package/dist/module/compiler/selector-builder.js.map +1 -1
  153. package/dist/module/compiler/stylesheet.js +32 -13
  154. package/dist/module/compiler/stylesheet.js.map +1 -1
  155. package/dist/module/components/ImageBackground.js +2 -6
  156. package/dist/module/components/ImageBackground.js.map +1 -1
  157. package/dist/module/components/KeyboardAvoidingView.js +2 -3
  158. package/dist/module/components/KeyboardAvoidingView.js.map +1 -1
  159. package/dist/module/components/index.cjs +49 -1
  160. package/dist/module/components/index.cjs.map +1 -1
  161. package/dist/module/components/react-native-safe-area-context.native.js +9 -1
  162. package/dist/module/components/react-native-safe-area-context.native.js.map +1 -1
  163. package/dist/module/jest/index.js +3 -1
  164. package/dist/module/jest/index.js.map +1 -1
  165. package/dist/module/metro/cache-version.js +39 -0
  166. package/dist/module/metro/cache-version.js.map +1 -0
  167. package/dist/module/metro/index.js +2 -0
  168. package/dist/module/metro/index.js.map +1 -1
  169. package/dist/module/metro/metro-transformer.js +16 -3
  170. package/dist/module/metro/metro-transformer.js.map +1 -1
  171. package/dist/module/metro/typescript.js +26 -6
  172. package/dist/module/metro/typescript.js.map +1 -1
  173. package/dist/module/metro/warnings.js +131 -0
  174. package/dist/module/metro/warnings.js.map +1 -0
  175. package/dist/module/native/api.js +18 -13
  176. package/dist/module/native/api.js.map +1 -1
  177. package/dist/module/native/conditions/attributes.js +16 -9
  178. package/dist/module/native/conditions/attributes.js.map +1 -1
  179. package/dist/module/native/conditions/container-query.js +11 -11
  180. package/dist/module/native/conditions/container-query.js.map +1 -1
  181. package/dist/module/native/conditions/guards.js +7 -0
  182. package/dist/module/native/conditions/guards.js.map +1 -1
  183. package/dist/module/native/conditions/media-query.js +1 -1
  184. package/dist/module/native/conditions/media-query.js.map +1 -1
  185. package/dist/module/native/objects.js +11 -18
  186. package/dist/module/native/objects.js.map +1 -1
  187. package/dist/module/native/react/interaction.js +10 -5
  188. package/dist/module/native/react/interaction.js.map +1 -1
  189. package/dist/module/native/react/rules.js +46 -39
  190. package/dist/module/native/react/rules.js.map +1 -1
  191. package/dist/module/native/react/useNativeCss.js +73 -18
  192. package/dist/module/native/react/useNativeCss.js.map +1 -1
  193. package/dist/module/native/react/usePassthrough.js +5 -2
  194. package/dist/module/native/react/usePassthrough.js.map +1 -1
  195. package/dist/module/native/reactivity.js +58 -22
  196. package/dist/module/native/reactivity.js.map +1 -1
  197. package/dist/module/native/reanimated.js +15 -3
  198. package/dist/module/native/reanimated.js.map +1 -1
  199. package/dist/module/native/styles/calculate-props.js +139 -26
  200. package/dist/module/native/styles/calculate-props.js.map +1 -1
  201. package/dist/module/native/styles/functions/animation-timing.js +2 -1
  202. package/dist/module/native/styles/functions/animation-timing.js.map +1 -1
  203. package/dist/module/native/styles/functions/color-mix.js +43 -29
  204. package/dist/module/native/styles/functions/color-mix.js.map +1 -1
  205. package/dist/module/native/styles/functions/filters.js +13 -0
  206. package/dist/module/native/styles/functions/filters.js.map +1 -1
  207. package/dist/module/native/styles/functions/numeric-functions.js +4 -3
  208. package/dist/module/native/styles/functions/numeric-functions.js.map +1 -1
  209. package/dist/module/native/styles/functions/platform-functions.js +2 -1
  210. package/dist/module/native/styles/functions/platform-functions.js.map +1 -1
  211. package/dist/module/native/styles/functions/string-functions.js +19 -5
  212. package/dist/module/native/styles/functions/string-functions.js.map +1 -1
  213. package/dist/module/native/styles/functions/transform-functions.js +93 -104
  214. package/dist/module/native/styles/functions/transform-functions.js.map +1 -1
  215. package/dist/module/native/styles/index.js +182 -123
  216. package/dist/module/native/styles/index.js.map +1 -1
  217. package/dist/module/native/styles/resolve.js +136 -19
  218. package/dist/module/native/styles/resolve.js.map +1 -1
  219. package/dist/module/native/styles/scale-factor.js +8 -0
  220. package/dist/module/native/styles/scale-factor.js.map +1 -0
  221. package/dist/module/native/styles/shorthands/animation.js +6 -3
  222. package/dist/module/native/styles/shorthands/animation.js.map +1 -1
  223. package/dist/module/native/styles/shorthands/box-shadow.js +14 -26
  224. package/dist/module/native/styles/shorthands/box-shadow.js.map +1 -1
  225. package/dist/module/native/styles/shorthands/index.js +1 -0
  226. package/dist/module/native/styles/shorthands/index.js.map +1 -1
  227. package/dist/module/native/styles/shorthands/logical-border-width.js +18 -0
  228. package/dist/module/native/styles/shorthands/logical-border-width.js.map +1 -0
  229. package/dist/module/native/styles/shorthands/transform.js +31 -8
  230. package/dist/module/native/styles/shorthands/transform.js.map +1 -1
  231. package/dist/module/native/styles/variables.js +166 -50
  232. package/dist/module/native/styles/variables.js.map +1 -1
  233. package/dist/module/native-internal/root.js +44 -7
  234. package/dist/module/native-internal/root.js.map +1 -1
  235. package/dist/module/native-internal/style-collection.js +10 -37
  236. package/dist/module/native-internal/style-collection.js.map +1 -1
  237. package/dist/module/native-internal/variables.js +2 -2
  238. package/dist/module/native-internal/variables.js.map +1 -1
  239. package/dist/module/utilities/dot-notation.types.js +2 -0
  240. package/dist/module/utilities/equality.js +37 -0
  241. package/dist/module/utilities/equality.js.map +1 -0
  242. package/dist/module/utilities/index.js +1 -0
  243. package/dist/module/utilities/index.js.map +1 -1
  244. package/dist/module/utilities/style-descriptor.js +30 -8
  245. package/dist/module/utilities/style-descriptor.js.map +1 -1
  246. package/dist/module/web/api.js +1 -1
  247. package/dist/module/web/api.js.map +1 -1
  248. package/dist/module/web/assign-style.js +4 -1
  249. package/dist/module/web/assign-style.js.map +1 -1
  250. package/dist/typescript/commonjs/src/babel/helpers.d.ts +2 -1
  251. package/dist/typescript/commonjs/src/babel/helpers.d.ts.map +1 -1
  252. package/dist/typescript/commonjs/src/babel/import-plugin.d.ts.map +1 -1
  253. package/dist/typescript/commonjs/src/babel/react-native-web.d.ts +2 -1
  254. package/dist/typescript/commonjs/src/babel/react-native-web.d.ts.map +1 -1
  255. package/dist/typescript/commonjs/src/babel/react-native.d.ts.map +1 -1
  256. package/dist/typescript/commonjs/src/compiler/atRules.d.ts +4 -1
  257. package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -1
  258. package/dist/typescript/commonjs/src/compiler/compiler.d.ts +1 -5
  259. package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -1
  260. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +13 -0
  261. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -1
  262. package/dist/typescript/commonjs/src/compiler/declarations.d.ts +2 -3
  263. package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -1
  264. package/dist/typescript/commonjs/src/compiler/individual-transforms.d.ts +10 -0
  265. package/dist/typescript/commonjs/src/compiler/individual-transforms.d.ts.map +1 -0
  266. package/dist/typescript/commonjs/src/compiler/inline-variables.d.ts +1 -1
  267. package/dist/typescript/commonjs/src/compiler/inline-variables.d.ts.map +1 -1
  268. package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts.map +1 -1
  269. package/dist/typescript/commonjs/src/compiler/media-query.d.ts +1 -1
  270. package/dist/typescript/commonjs/src/compiler/media-query.d.ts.map +1 -1
  271. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts +2 -1
  272. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts.map +1 -1
  273. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +10 -11
  274. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -1
  275. package/dist/typescript/commonjs/src/components/ImageBackground.d.ts.map +1 -1
  276. package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts.map +1 -1
  277. package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts +2 -1
  278. package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
  279. package/dist/typescript/commonjs/src/jest/index.d.ts +2 -10
  280. package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -1
  281. package/dist/typescript/commonjs/src/metro/cache-version.d.ts +8 -0
  282. package/dist/typescript/commonjs/src/metro/cache-version.d.ts.map +1 -0
  283. package/dist/typescript/commonjs/src/metro/index.d.ts +4 -0
  284. package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -1
  285. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts +9 -4
  286. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -1
  287. package/dist/typescript/commonjs/src/metro/typescript.d.ts.map +1 -1
  288. package/dist/typescript/commonjs/src/metro/warnings.d.ts +13 -0
  289. package/dist/typescript/commonjs/src/metro/warnings.d.ts.map +1 -0
  290. package/dist/typescript/commonjs/src/native/api.d.ts +5 -9
  291. package/dist/typescript/commonjs/src/native/api.d.ts.map +1 -1
  292. package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts.map +1 -1
  293. package/dist/typescript/commonjs/src/native/conditions/guards.d.ts +2 -1
  294. package/dist/typescript/commonjs/src/native/conditions/guards.d.ts.map +1 -1
  295. package/dist/typescript/commonjs/src/native/objects.d.ts.map +1 -1
  296. package/dist/typescript/commonjs/src/native/react/interaction.d.ts +1 -1
  297. package/dist/typescript/commonjs/src/native/react/interaction.d.ts.map +1 -1
  298. package/dist/typescript/commonjs/src/native/react/rules.d.ts +7 -2
  299. package/dist/typescript/commonjs/src/native/react/rules.d.ts.map +1 -1
  300. package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts +0 -3
  301. package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts.map +1 -1
  302. package/dist/typescript/commonjs/src/native/react/usePassthrough.d.ts.map +1 -1
  303. package/dist/typescript/commonjs/src/native/reactivity.d.ts +15 -3
  304. package/dist/typescript/commonjs/src/native/reactivity.d.ts.map +1 -1
  305. package/dist/typescript/commonjs/src/native/reanimated.d.ts.map +1 -1
  306. package/dist/typescript/commonjs/src/native/styles/calculate-props.d.ts +11 -2
  307. package/dist/typescript/commonjs/src/native/styles/calculate-props.d.ts.map +1 -1
  308. package/dist/typescript/commonjs/src/native/styles/functions/animation-timing.d.ts.map +1 -1
  309. package/dist/typescript/commonjs/src/native/styles/functions/color-mix.d.ts.map +1 -1
  310. package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts +2 -0
  311. package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts.map +1 -1
  312. package/dist/typescript/commonjs/src/native/styles/functions/numeric-functions.d.ts.map +1 -1
  313. package/dist/typescript/commonjs/src/native/styles/functions/platform-functions.d.ts.map +1 -1
  314. package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts +2 -0
  315. package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts.map +1 -1
  316. package/dist/typescript/commonjs/src/native/styles/functions/transform-functions.d.ts +2 -0
  317. package/dist/typescript/commonjs/src/native/styles/functions/transform-functions.d.ts.map +1 -1
  318. package/dist/typescript/commonjs/src/native/styles/index.d.ts +5 -4
  319. package/dist/typescript/commonjs/src/native/styles/index.d.ts.map +1 -1
  320. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts +4 -1
  321. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts.map +1 -1
  322. package/dist/typescript/commonjs/src/native/styles/scale-factor.d.ts +2 -0
  323. package/dist/typescript/commonjs/src/native/styles/scale-factor.d.ts.map +1 -0
  324. package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts.map +1 -1
  325. package/dist/typescript/commonjs/src/native/styles/shorthands/box-shadow.d.ts.map +1 -1
  326. package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts +1 -0
  327. package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts.map +1 -1
  328. package/dist/typescript/commonjs/src/native/styles/shorthands/logical-border-width.d.ts +4 -0
  329. package/dist/typescript/commonjs/src/native/styles/shorthands/logical-border-width.d.ts.map +1 -0
  330. package/dist/typescript/commonjs/src/native/styles/shorthands/transform.d.ts.map +1 -1
  331. package/dist/typescript/commonjs/src/native/styles/variables.d.ts +3 -2
  332. package/dist/typescript/commonjs/src/native/styles/variables.d.ts.map +1 -1
  333. package/dist/typescript/commonjs/src/native-internal/root.d.ts +38 -0
  334. package/dist/typescript/commonjs/src/native-internal/root.d.ts.map +1 -1
  335. package/dist/typescript/commonjs/src/native-internal/style-collection.d.ts +2 -2
  336. package/dist/typescript/commonjs/src/native-internal/style-collection.d.ts.map +1 -1
  337. package/dist/typescript/commonjs/src/native-internal/variables.d.ts +1 -1
  338. package/dist/typescript/commonjs/src/native-internal/variables.d.ts.map +1 -1
  339. package/dist/typescript/commonjs/src/runtime.types.d.ts +11 -6
  340. package/dist/typescript/commonjs/src/runtime.types.d.ts.map +1 -1
  341. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts +2 -1
  342. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts.map +1 -1
  343. package/dist/typescript/commonjs/src/utilities/equality.d.ts +2 -0
  344. package/dist/typescript/commonjs/src/utilities/equality.d.ts.map +1 -0
  345. package/dist/typescript/commonjs/src/utilities/index.d.ts +1 -0
  346. package/dist/typescript/commonjs/src/utilities/index.d.ts.map +1 -1
  347. package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts +14 -1
  348. package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts.map +1 -1
  349. package/dist/typescript/commonjs/src/web/api.d.ts +5 -5
  350. package/dist/typescript/commonjs/src/web/api.d.ts.map +1 -1
  351. package/dist/typescript/commonjs/src/web/assign-style.d.ts.map +1 -1
  352. package/dist/typescript/module/src/babel/helpers.d.ts +2 -1
  353. package/dist/typescript/module/src/babel/helpers.d.ts.map +1 -1
  354. package/dist/typescript/module/src/babel/import-plugin.d.ts +1 -1
  355. package/dist/typescript/module/src/babel/import-plugin.d.ts.map +1 -1
  356. package/dist/typescript/module/src/babel/react-native-web.d.ts +2 -1
  357. package/dist/typescript/module/src/babel/react-native-web.d.ts.map +1 -1
  358. package/dist/typescript/module/src/babel/react-native.d.ts.map +1 -1
  359. package/dist/typescript/module/src/compiler/atRules.d.ts +6 -3
  360. package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -1
  361. package/dist/typescript/module/src/compiler/compiler.d.ts +3 -7
  362. package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -1
  363. package/dist/typescript/module/src/compiler/compiler.types.d.ts +14 -1
  364. package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -1
  365. package/dist/typescript/module/src/compiler/container-query.d.ts +2 -2
  366. package/dist/typescript/module/src/compiler/container-query.d.ts.map +1 -1
  367. package/dist/typescript/module/src/compiler/declarations.d.ts +4 -5
  368. package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -1
  369. package/dist/typescript/module/src/compiler/index.d.ts +2 -2
  370. package/dist/typescript/module/src/compiler/index.d.ts.map +1 -1
  371. package/dist/typescript/module/src/compiler/individual-transforms.d.ts +10 -0
  372. package/dist/typescript/module/src/compiler/individual-transforms.d.ts.map +1 -0
  373. package/dist/typescript/module/src/compiler/inline-variables.d.ts +2 -2
  374. package/dist/typescript/module/src/compiler/inline-variables.d.ts.map +1 -1
  375. package/dist/typescript/module/src/compiler/keyframes.d.ts +2 -2
  376. package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -1
  377. package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts.map +1 -1
  378. package/dist/typescript/module/src/compiler/media-query.d.ts +3 -3
  379. package/dist/typescript/module/src/compiler/media-query.d.ts.map +1 -1
  380. package/dist/typescript/module/src/compiler/pseudo-elements.d.ts +1 -1
  381. package/dist/typescript/module/src/compiler/pseudo-elements.d.ts.map +1 -1
  382. package/dist/typescript/module/src/compiler/selector-builder.d.ts +3 -2
  383. package/dist/typescript/module/src/compiler/selector-builder.d.ts.map +1 -1
  384. package/dist/typescript/module/src/compiler/selectors.d.ts +2 -2
  385. package/dist/typescript/module/src/compiler/selectors.d.ts.map +1 -1
  386. package/dist/typescript/module/src/compiler/stylesheet.d.ts +10 -11
  387. package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -1
  388. package/dist/typescript/module/src/components/ImageBackground.d.ts.map +1 -1
  389. package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts.map +1 -1
  390. package/dist/typescript/module/src/components/index.d.ts +16 -16
  391. package/dist/typescript/module/src/components/index.d.ts.map +1 -1
  392. package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts +2 -1
  393. package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
  394. package/dist/typescript/module/src/jest/index.d.ts +2 -10
  395. package/dist/typescript/module/src/jest/index.d.ts.map +1 -1
  396. package/dist/typescript/module/src/metro/cache-version.d.ts +8 -0
  397. package/dist/typescript/module/src/metro/cache-version.d.ts.map +1 -0
  398. package/dist/typescript/module/src/metro/index.d.ts +5 -1
  399. package/dist/typescript/module/src/metro/index.d.ts.map +1 -1
  400. package/dist/typescript/module/src/metro/metro-transformer.d.ts +10 -5
  401. package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -1
  402. package/dist/typescript/module/src/metro/typescript.d.ts.map +1 -1
  403. package/dist/typescript/module/src/metro/warnings.d.ts +13 -0
  404. package/dist/typescript/module/src/metro/warnings.d.ts.map +1 -0
  405. package/dist/typescript/module/src/native/api.d.ts +6 -10
  406. package/dist/typescript/module/src/native/api.d.ts.map +1 -1
  407. package/dist/typescript/module/src/native/conditions/attributes.d.ts +1 -1
  408. package/dist/typescript/module/src/native/conditions/attributes.d.ts.map +1 -1
  409. package/dist/typescript/module/src/native/conditions/container-query.d.ts +2 -2
  410. package/dist/typescript/module/src/native/conditions/container-query.d.ts.map +1 -1
  411. package/dist/typescript/module/src/native/conditions/guards.d.ts +4 -3
  412. package/dist/typescript/module/src/native/conditions/guards.d.ts.map +1 -1
  413. package/dist/typescript/module/src/native/conditions/index.d.ts +3 -3
  414. package/dist/typescript/module/src/native/conditions/index.d.ts.map +1 -1
  415. package/dist/typescript/module/src/native/conditions/media-query.d.ts +1 -1
  416. package/dist/typescript/module/src/native/conditions/media-query.d.ts.map +1 -1
  417. package/dist/typescript/module/src/native/index.d.ts +3 -3
  418. package/dist/typescript/module/src/native/index.d.ts.map +1 -1
  419. package/dist/typescript/module/src/native/objects.d.ts.map +1 -1
  420. package/dist/typescript/module/src/native/react/interaction.d.ts +2 -2
  421. package/dist/typescript/module/src/native/react/interaction.d.ts.map +1 -1
  422. package/dist/typescript/module/src/native/react/rules.d.ts +9 -4
  423. package/dist/typescript/module/src/native/react/rules.d.ts.map +1 -1
  424. package/dist/typescript/module/src/native/react/useNativeCss.d.ts +4 -7
  425. package/dist/typescript/module/src/native/react/useNativeCss.d.ts.map +1 -1
  426. package/dist/typescript/module/src/native/react/usePassthrough.d.ts +1 -1
  427. package/dist/typescript/module/src/native/react/usePassthrough.d.ts.map +1 -1
  428. package/dist/typescript/module/src/native/reactivity.d.ts +15 -3
  429. package/dist/typescript/module/src/native/reactivity.d.ts.map +1 -1
  430. package/dist/typescript/module/src/native/reanimated.d.ts.map +1 -1
  431. package/dist/typescript/module/src/native/styles/calculate-props.d.ts +13 -4
  432. package/dist/typescript/module/src/native/styles/calculate-props.d.ts.map +1 -1
  433. package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts +1 -1
  434. package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts.map +1 -1
  435. package/dist/typescript/module/src/native/styles/functions/calc.d.ts +1 -1
  436. package/dist/typescript/module/src/native/styles/functions/calc.d.ts.map +1 -1
  437. package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts +1 -1
  438. package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts.map +1 -1
  439. package/dist/typescript/module/src/native/styles/functions/filters.d.ts +3 -1
  440. package/dist/typescript/module/src/native/styles/functions/filters.d.ts.map +1 -1
  441. package/dist/typescript/module/src/native/styles/functions/index.d.ts +8 -8
  442. package/dist/typescript/module/src/native/styles/functions/index.d.ts.map +1 -1
  443. package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts +1 -1
  444. package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts.map +1 -1
  445. package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts +1 -1
  446. package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts.map +1 -1
  447. package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts +3 -1
  448. package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts.map +1 -1
  449. package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts +3 -1
  450. package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts.map +1 -1
  451. package/dist/typescript/module/src/native/styles/index.d.ts +9 -8
  452. package/dist/typescript/module/src/native/styles/index.d.ts.map +1 -1
  453. package/dist/typescript/module/src/native/styles/line-height.d.ts +1 -1
  454. package/dist/typescript/module/src/native/styles/line-height.d.ts.map +1 -1
  455. package/dist/typescript/module/src/native/styles/resolve.d.ts +7 -4
  456. package/dist/typescript/module/src/native/styles/resolve.d.ts.map +1 -1
  457. package/dist/typescript/module/src/native/styles/scale-factor.d.ts +2 -0
  458. package/dist/typescript/module/src/native/styles/scale-factor.d.ts.map +1 -0
  459. package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts +1 -1
  460. package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts.map +1 -1
  461. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts +2 -2
  462. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts.map +1 -1
  463. package/dist/typescript/module/src/native/styles/shorthands/border.d.ts +1 -1
  464. package/dist/typescript/module/src/native/styles/shorthands/border.d.ts.map +1 -1
  465. package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts +1 -1
  466. package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts.map +1 -1
  467. package/dist/typescript/module/src/native/styles/shorthands/index.d.ts +6 -5
  468. package/dist/typescript/module/src/native/styles/shorthands/index.d.ts.map +1 -1
  469. package/dist/typescript/module/src/native/styles/shorthands/logical-border-width.d.ts +4 -0
  470. package/dist/typescript/module/src/native/styles/shorthands/logical-border-width.d.ts.map +1 -0
  471. package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts +1 -1
  472. package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts.map +1 -1
  473. package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts +1 -1
  474. package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts.map +1 -1
  475. package/dist/typescript/module/src/native/styles/units.d.ts +1 -1
  476. package/dist/typescript/module/src/native/styles/units.d.ts.map +1 -1
  477. package/dist/typescript/module/src/native/styles/variables.d.ts +4 -3
  478. package/dist/typescript/module/src/native/styles/variables.d.ts.map +1 -1
  479. package/dist/typescript/module/src/native-internal/index.d.ts +3 -3
  480. package/dist/typescript/module/src/native-internal/index.d.ts.map +1 -1
  481. package/dist/typescript/module/src/native-internal/root.d.ts +39 -1
  482. package/dist/typescript/module/src/native-internal/root.d.ts.map +1 -1
  483. package/dist/typescript/module/src/native-internal/style-collection.d.ts +3 -3
  484. package/dist/typescript/module/src/native-internal/style-collection.d.ts.map +1 -1
  485. package/dist/typescript/module/src/native-internal/variables.d.ts +2 -2
  486. package/dist/typescript/module/src/native-internal/variables.d.ts.map +1 -1
  487. package/dist/typescript/module/src/runtime.d.ts +1 -1
  488. package/dist/typescript/module/src/runtime.d.ts.map +1 -1
  489. package/dist/typescript/module/src/runtime.native.d.ts +1 -1
  490. package/dist/typescript/module/src/runtime.native.d.ts.map +1 -1
  491. package/dist/typescript/module/src/runtime.types.d.ts +11 -6
  492. package/dist/typescript/module/src/runtime.types.d.ts.map +1 -1
  493. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts +2 -1
  494. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts.map +1 -1
  495. package/dist/typescript/module/src/utilities/equality.d.ts +2 -0
  496. package/dist/typescript/module/src/utilities/equality.d.ts.map +1 -0
  497. package/dist/typescript/module/src/utilities/index.d.ts +4 -3
  498. package/dist/typescript/module/src/utilities/index.d.ts.map +1 -1
  499. package/dist/typescript/module/src/utilities/specificity.d.ts +2 -2
  500. package/dist/typescript/module/src/utilities/specificity.d.ts.map +1 -1
  501. package/dist/typescript/module/src/utilities/style-descriptor.d.ts +14 -1
  502. package/dist/typescript/module/src/utilities/style-descriptor.d.ts.map +1 -1
  503. package/dist/typescript/module/src/web/api.d.ts +5 -5
  504. package/dist/typescript/module/src/web/api.d.ts.map +1 -1
  505. package/dist/typescript/module/src/web/assign-style.d.ts.map +1 -1
  506. package/dist/typescript/module/src/web/index.d.ts +3 -3
  507. package/dist/typescript/module/src/web/index.d.ts.map +1 -1
  508. package/node/babel.mjs +4 -0
  509. package/node/compiler.mjs +2 -0
  510. package/node/metro.mjs +2 -0
  511. package/package.json +61 -27
  512. package/src/babel/helpers.ts +8 -1
  513. package/src/babel/import-plugin.ts +31 -16
  514. package/src/babel/react-native-web.ts +32 -4
  515. package/src/babel/react-native.ts +9 -4
  516. package/src/compiler/atRules.ts +44 -0
  517. package/src/compiler/compiler.ts +216 -69
  518. package/src/compiler/compiler.types.ts +17 -0
  519. package/src/compiler/container-query.ts +8 -3
  520. package/src/compiler/declarations.ts +385 -247
  521. package/src/compiler/individual-transforms.ts +129 -0
  522. package/src/compiler/inline-variables.ts +67 -0
  523. package/src/compiler/lightningcss-loader.ts +16 -15
  524. package/src/compiler/media-query.ts +20 -9
  525. package/src/compiler/selector-builder.ts +32 -5
  526. package/src/compiler/stylesheet.ts +49 -19
  527. package/src/components/ImageBackground.tsx +2 -6
  528. package/src/components/KeyboardAvoidingView.tsx +2 -3
  529. package/src/components/index.cts +49 -1
  530. package/src/components/react-native-safe-area-context.native.tsx +20 -0
  531. package/src/jest/index.ts +3 -1
  532. package/src/metro/cache-version.ts +48 -0
  533. package/src/metro/index.ts +7 -0
  534. package/src/metro/metro-transformer.ts +26 -8
  535. package/src/metro/typescript.ts +53 -6
  536. package/src/metro/warnings.ts +187 -0
  537. package/src/native/api.tsx +26 -18
  538. package/src/native/conditions/attributes.ts +26 -9
  539. package/src/native/conditions/container-query.ts +11 -9
  540. package/src/native/conditions/guards.ts +13 -1
  541. package/src/native/conditions/media-query.ts +1 -1
  542. package/src/native/objects.ts +12 -22
  543. package/src/native/react/interaction.ts +11 -6
  544. package/src/native/react/rules.ts +58 -45
  545. package/src/native/react/useNativeCss.ts +85 -18
  546. package/src/native/react/usePassthrough.ts +3 -2
  547. package/src/native/reactivity.ts +79 -24
  548. package/src/native/reanimated.ts +24 -5
  549. package/src/native/styles/calculate-props.ts +179 -28
  550. package/src/native/styles/functions/animation-timing.ts +3 -1
  551. package/src/native/styles/functions/color-mix.ts +45 -39
  552. package/src/native/styles/functions/filters.ts +15 -0
  553. package/src/native/styles/functions/numeric-functions.ts +7 -6
  554. package/src/native/styles/functions/platform-functions.ts +3 -1
  555. package/src/native/styles/functions/string-functions.ts +25 -5
  556. package/src/native/styles/functions/transform-functions.ts +111 -64
  557. package/src/native/styles/index.ts +208 -144
  558. package/src/native/styles/resolve.ts +188 -29
  559. package/src/native/styles/scale-factor.ts +9 -0
  560. package/src/native/styles/shorthands/animation.ts +8 -2
  561. package/src/native/styles/shorthands/box-shadow.ts +20 -34
  562. package/src/native/styles/shorthands/index.ts +1 -0
  563. package/src/native/styles/shorthands/logical-border-width.ts +32 -0
  564. package/src/native/styles/shorthands/transform.ts +36 -11
  565. package/src/native/styles/variables.ts +242 -45
  566. package/src/native-internal/root.ts +83 -13
  567. package/src/native-internal/style-collection.ts +21 -46
  568. package/src/native-internal/variables.tsx +6 -4
  569. package/src/runtime.types.ts +17 -15
  570. package/src/utilities/dot-notation.types.ts +4 -3
  571. package/src/utilities/equality.ts +41 -0
  572. package/src/utilities/index.ts +1 -0
  573. package/src/utilities/style-descriptor.ts +36 -14
  574. package/src/web/api.tsx +6 -11
  575. package/src/web/assign-style.ts +2 -1
  576. package/types.d.ts +0 -20
  577. package/dist/commonjs/compiler/inheritance.test.js +0 -78
  578. package/dist/commonjs/compiler/inheritance.test.js.map +0 -1
  579. package/dist/module/compiler/inheritance.test.js +0 -78
  580. package/dist/module/compiler/inheritance.test.js.map +0 -1
  581. package/dist/typescript/commonjs/.config/eslint.config.d.mts +0 -3
  582. package/dist/typescript/commonjs/.config/eslint.config.d.mts.map +0 -1
  583. package/dist/typescript/commonjs/eslint.config.d.mts +0 -2
  584. package/dist/typescript/commonjs/eslint.config.d.mts.map +0 -1
  585. package/dist/typescript/commonjs/example/app.config.d.ts +0 -4
  586. package/dist/typescript/commonjs/example/app.config.d.ts.map +0 -1
  587. package/dist/typescript/commonjs/example/index.d.ts +0 -2
  588. package/dist/typescript/commonjs/example/index.d.ts.map +0 -1
  589. package/dist/typescript/commonjs/example/metro.config.d.ts +0 -3
  590. package/dist/typescript/commonjs/example/metro.config.d.ts.map +0 -1
  591. package/dist/typescript/commonjs/example/postcss.config.d.mts +0 -7
  592. package/dist/typescript/commonjs/example/postcss.config.d.mts.map +0 -1
  593. package/dist/typescript/commonjs/example/src/App.d.ts +0 -3
  594. package/dist/typescript/commonjs/example/src/App.d.ts.map +0 -1
  595. package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts +0 -2
  596. package/dist/typescript/commonjs/src/compiler/inheritance.test.d.ts.map +0 -1
  597. package/dist/typescript/module/.config/eslint.config.d.mts +0 -3
  598. package/dist/typescript/module/.config/eslint.config.d.mts.map +0 -1
  599. package/dist/typescript/module/eslint.config.d.mts +0 -2
  600. package/dist/typescript/module/eslint.config.d.mts.map +0 -1
  601. package/dist/typescript/module/example/app.config.d.ts +0 -4
  602. package/dist/typescript/module/example/app.config.d.ts.map +0 -1
  603. package/dist/typescript/module/example/index.d.ts +0 -2
  604. package/dist/typescript/module/example/index.d.ts.map +0 -1
  605. package/dist/typescript/module/example/metro.config.d.ts +0 -3
  606. package/dist/typescript/module/example/metro.config.d.ts.map +0 -1
  607. package/dist/typescript/module/example/postcss.config.d.mts +0 -7
  608. package/dist/typescript/module/example/postcss.config.d.mts.map +0 -1
  609. package/dist/typescript/module/example/src/App.d.ts +0 -3
  610. package/dist/typescript/module/example/src/App.d.ts.map +0 -1
  611. package/dist/typescript/module/src/compiler/inheritance.test.d.ts +0 -2
  612. package/dist/typescript/module/src/compiler/inheritance.test.d.ts.map +0 -1
  613. package/src/compiler/inheritance.test.ts +0 -121
@@ -1,5 +1,6 @@
1
+ import type { StyleDescriptor } from "react-native-css/compiler";
1
2
  import type { ComponentState } from "../react/useNativeCss";
2
3
  import type { ContainerContextValue, VariableContextValue } from "../reactivity";
3
- export type RenderGuard = ["a", string, any] | ["d", string, any] | ["v", string, any] | ["c", string, WeakKey];
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,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,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 +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
1
  import { type Getter as WeakKey } from "../reactivity";
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,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,CAAC,EAAE,OAAO,GAAG,IAAI,WA7BuB,GAAG,KAAK,IAAI,CAiF5D"}
@@ -2,6 +2,11 @@ import { type ContainerContextValue, type VariableContextValue } from "../reacti
2
2
  import type { ComponentState } from "./useNativeCss";
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,eAAe,CAAC;AAGvB,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,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"}
@@ -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,MAA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a,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 +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,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,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>>;
@@ -1 +1 @@
1
- {"version":3,"file":"reactivity.d.ts","sourceRoot":"","sources":["../../../../../src/native/reactivity.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,eAAe,EACrB,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,MAAM,MAAM,GAAG;IACnB,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACvB,GAAG,IAAI,IAAI,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI;IAC3C,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACvB,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,KAAK,CAAC;IAChC,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IACxB,GAAG,EAAE,MAAM,IAAI,CAAC;CACjB,CAAC;AACF,KAAK,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,GAAG,KAAK,KAAK,CAAC;AAC1D,MAAM,MAAM,MAAM,GAAG,CAAC,KAAK,EAAE,UAAU,EAAE,UAAU,CAAC,KAAK,EA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DAA+C,CAAC;AAExE,gFAAgF;AAEhF,eAAO,MAAM,UAAU,kFAAuC,CAAC;AAC/D,eAAO,MAAM,EAAE,4BAEd,CAAC;AACF,eAAO,MAAM,EAAE,4BAEd,CAAC;AAcF,gFAAgF;AAEhF,eAAO,MAAM,WAAW,oFAEvB,CAAC;AAGF,gFAAgF;AAEhF,MAAM,MAAM,qBAAqB,GAAG,MAAM,CACxC,MAAM,EACN;IACE,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CACnD,CACF,CAAC;AACF,eAAO,MAAM,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,4 +1,4 @@
1
- import type { InlineVariable, StyleDeclaration, StyleRule } from "react-native-css/compiler";
1
+ import type { InlineVariable, StyleDeclaration, StyleDescriptor, StyleRule } from "react-native-css/compiler";
2
2
  import type { RenderGuard } from "../conditions/guards";
3
3
  import { type Getter, type VariableContextValue } from "../reactivity";
4
4
  export declare function calculateProps(get: Getter, rules: (StyleRule | InlineVariable | VariableContextValue)[], guards?: RenderGuard[], inheritedVariables?: VariableContextValue, inlineVariables?: InlineVariable): {
@@ -6,5 +6,14 @@ export declare function calculateProps(get: Getter, rules: (StyleRule | InlineVa
6
6
  guards: RenderGuard[];
7
7
  important: Record<string, any> | undefined;
8
8
  };
9
- export declare function applyDeclarations(get: Getter, declarations: StyleDeclaration[], inlineVariables: InlineVariable, inheritedVariables: VariableContextValue, delayedStyles?: (() => void)[], transformStyles?: (() => void)[], guards?: RenderGuard[], target?: Record<string, any>, topLevelTarget?: Record<string, any>): void;
9
+ /** A transform property's declaration, kept until every rule has been walked */
10
+ interface TransformRecord {
11
+ readonly target: Record<string, any>;
12
+ readonly path: string | readonly string[];
13
+ readonly important: boolean;
14
+ readonly slot: number;
15
+ readonly value: StyleDescriptor;
16
+ }
17
+ export declare function applyDeclarations(get: Getter, declarations: StyleDeclaration[], inlineVariables: InlineVariable, inheritedVariables: VariableContextValue, delayedStyles?: (() => void)[], transforms?: TransformRecord[], guards?: RenderGuard[], target?: Record<string, any>, topLevelTarget?: Record<string, any>, path?: string | readonly string[], important?: boolean): void;
18
+ export {};
10
19
  //# sourceMappingURL=calculate-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"calculate-props.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/calculate-props.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,SAAS,EACV,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAEL,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AAIvB,wBAAgB,cAAc,CAC5B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,CAAC,SAAS,GAAG,cAAc,GAAG,oBAAoB,CAAC,EAAE,EAC5D,MAAM,GAAE,WAAW,EAAO,EAC1B,kBAAkB,GAAE,oBAEnB,EACD,eAAe,GAAE,cAEhB;;;;EAmEF;AAED,wBAAgB,iBAAiB,CAC/B,GAAG,EA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AAE,cAAc,EAC/B,kBAAkB,EAAE,oBAAoB,EACxC,aAAa,GAAE,CAAC,MAAM,IAAI,CAAC,EAAO,EAClC,UAAU,GAAE,eAAe,EAAO,EAClC,MAAM,GAAE,WAAW,EAAO,EAC1B,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,EAChC,cAAc,sBAAS,EACvB,IAAI,GAAE,MAAM,GAAG,SAAS,MAAM,EAAY,EAC1C,SAAS,UAAQ,QAyGlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"animation-timing.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/animation-timing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AA0CxD,eAAO,MAAM,WAAW,uBAAyB,CAAC;AAClD,eAAO,MAAM,KAAK,uBAAyB,CAAC"}
1
+ {"version":3,"file":"animation-timing.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/animation-timing.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AA0CxD,eAAO,MAAM,WAAW,uBAAyB,CAAC;AAClD,eAAO,MAAM,KAAK,uBAAyB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"color-mix.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/color-mix.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAMxD,eAAO,MAAM,QAAQ,EAAE,qBAgDtB,CAAC"}
1
+ {"version":3,"file":"color-mix.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/color-mix.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAMxD,eAAO,MAAM,QAAQ,EAAE,qBAyDtB,CAAC"}
@@ -9,4 +9,6 @@ export declare const sepia: StyleFunctionResolver;
9
9
  export declare const saturate: StyleFunctionResolver;
10
10
  export declare const opacity: StyleFunctionResolver;
11
11
  export declare const dropShadow: StyleFunctionResolver;
12
+ /** CSS variables may expand to multiple filters; native filter arrays must be flat. */
13
+ export declare const filter: StyleFunctionResolver;
12
14
  //# sourceMappingURL=filters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/filters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAGxD,eAAO,MAAM,IAAI,EAAE,qBAKlB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,qBAKxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAKtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAKvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAKvB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBAKpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAKnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAKtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,qBAKrB,CAAC;AAmBF,eAAO,MAAM,UAAU,EAAE,qBAaxB,CAAC"}
1
+ {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/filters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAGxD,eAAO,MAAM,IAAI,EAAE,qBAKlB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,qBAKxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAKtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAKvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAKvB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBAKpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAKnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAKtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,qBAKrB,CAAC;AAmBF,eAAO,MAAM,UAAU,EAAE,qBAaxB,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,MAAM,EAAE,qBAYpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"numeric-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/numeric-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,GAAG,EAAE,qBAQjB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,qBAQjB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAenB,CAAC"}
1
+ {"version":3,"file":"numeric-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/numeric-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,GAAG,EAAE,qBAQjB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,qBAQjB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAgBnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"platform-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/platform-functions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,aAAa,EAAE,qBAS3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAE3B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,qBAExB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAEvB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,qBAUvC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,qBAUjC,CAAC"}
1
+ {"version":3,"file":"platform-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/platform-functions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,aAAa,EAAE,qBAS3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAE3B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,qBAExB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAEvB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,qBAUvC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,qBAUjC,CAAC"}
@@ -1,3 +1,5 @@
1
1
  import type { StyleFunctionResolver } from "../resolve";
2
+ export declare const gradientPosition: StyleFunctionResolver;
3
+ export declare const colorStop: StyleFunctionResolver;
2
4
  export declare const join: StyleFunctionResolver;
3
5
  //# sourceMappingURL=string-functions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"string-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/string-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,IAAI,EAAE,qBAmBlB,CAAC"}
1
+ {"version":3,"file":"string-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/string-functions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,gBAAgB,EAAE,qBAM9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAQvB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,qBAmBlB,CAAC"}
@@ -2,4 +2,6 @@ import type { StyleFunctionResolver } from "../resolve";
2
2
  export declare const scale: StyleFunctionResolver;
3
3
  export declare const rotate: StyleFunctionResolver;
4
4
  export declare const translate: StyleFunctionResolver;
5
+ export declare const individualTranslate: StyleFunctionResolver;
6
+ export declare const individualScale: StyleFunctionResolver;
5
7
  //# sourceMappingURL=transform-functions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transform-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/transform-functions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,eAAO,MAAM,KAAK,EAAE,qBAsBnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBAgCpB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAsBvB,CAAC"}
1
+ {"version":3,"file":"transform-functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/transform-functions.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAsB,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAI5E,eAAO,MAAM,KAAK,EAAE,qBAInB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBAOpB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAIvB,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,qBAUjC,CAAC;AAGF,eAAO,MAAM,eAAe,EAAE,qBAU7B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { InlineVariable, StyleRule } from "react-native-css/compiler";
2
2
  import type { ComponentState } from "../react/useNativeCss";
3
3
  import { type Effect, type VariableContextValue } from "../reactivity";
4
- export declare const stylesFamily: ((key: string, args: Set<VariableContextValue | StyleRule | InlineVariable>) => import("../reactivity").Observable<{
4
+ export declare const stylesFamily: ((key: number, args: Set<VariableContextValue | StyleRule | InlineVariable>) => import("../reactivity").Observable<{
5
5
  normal: Record<string, any> | undefined;
6
6
  guards: import("../conditions/guards").RenderGuard[];
7
7
  important: Record<string, any> | undefined;
@@ -10,10 +10,11 @@ export declare const stylesFamily: ((key: string, args: Set<VariableContextValue
10
10
  guards: import("../conditions/guards").RenderGuard[];
11
11
  important: Record<string, any> | undefined;
12
12
  }> & {
13
- cleanup: (effect: Effect) => void;
13
+ unsubscribe: (effect: Effect) => void;
14
14
  }) & {
15
- delete(key: string): boolean;
15
+ delete(key: number): boolean;
16
+ size(): number;
16
17
  clear(): void;
17
18
  };
18
- export declare function getStyledProps(state: ComponentState, inline: Record<string, any> | undefined | null): Record<string, any> | undefined;
19
+ export declare function getStyledProps(state: ComponentState, inline: Record<string, any> | undefined | null, adaptProps?: (props: Record<string, any> | undefined) => Record<string, any> | undefined): Record<string, any> | undefined;
19
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAI3E,OAAO,KAAK,EAAE,cAAc,EAAU,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAQL,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AAkJvB,eAAO,MAAM,YAAY;;;;;;;;;sBAaD,MAAM;;;;CAQ7B,CAAC;AAEF,wBAAgB,cAAc,CAC5B,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,mCAiF/C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAI3E,OAAO,KAAK,EAAE,cAAc,EAAU,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAQL,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AA2HvB,eAAO,MAAM,YAAY;;;;;;;;;0BAcG,MAAM;;;;;CAQjC,CAAC;AAEF,wBAAgB,cAAc,CAC5B,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,EAC9C,UAAU,GAAE,CACV,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,KACnC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAA4B,mCAyHxD"}
@@ -11,8 +11,11 @@ export type ResolveValueOptions = {
11
11
  inlineVariables?: InlineVariable | undefined;
12
12
  renderGuards?: RenderGuard[];
13
13
  variableHistory?: Set<string>;
14
+ variableCycles?: Set<string>;
14
15
  /** Pass down to perform recursive calculations and avoid circular dependencies */
15
16
  calculateProps?: typeof calculateProps;
16
17
  };
17
- export declare function resolveValue(value: StyleDescriptor, get: Getter, options: ResolveValueOptions): any;
18
+ export declare function resolveValue(value: StyleDescriptor, get: Getter, options: ResolveValueOptions,
19
+ /** The caller has already found value to be a style function */
20
+ isFunction?: boolean): any;
18
21
  //# sourceMappingURL=resolve.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/resolve.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,aAAa,EACd,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAQxD,MAAM,MAAM,kBAAkB,GAAG,CAC/B,KAAK,EAAE,eAAe,EACtB,WAAW,CAAC,EAAE,OAAO,KAClB,OAAO,CAAC;AAEb,MAAM,MAAM,qBAAqB,GAAG,CAClC,YAAY,EAAE,kBAAkB,EAChC,KAAK,EAAE,aAAa,EACpB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB,KACzB,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,GAAG,CAC1B,YAAY,EAAE,kBAAkB,EAChC,KAAK,EAAE,eAAe,EACtB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB,KACzB,OAAO,CAAC;AAYb,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;IAC1C,eAAe,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC7C,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,kFAAkF;IAClF,cAAc,CAAC,EAAE,OAAO,cAAc,CAAC;CACxC,CAAC;AAEF,wBAAgB,YAAY,CAC1B,KAAK,EAAE,eAAe,EACtB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB;AAC5B,gEAAgE;AAChE,UAAU,CAAC,EAAE,OAAO,GACnB,GAAG,CAyFL"}
@@ -0,0 +1,2 @@
1
+ export declare function scaleFactor(value: unknown): number | null;
2
+ //# sourceMappingURL=scale-factor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scale-factor.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/scale-factor.ts"],"names":[],"mappings":"AACA,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAOzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/animation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAgCxD,eAAO,MAAM,kBAAkB,oCAuB9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBA2DvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAQ3B,CAAC"}
1
+ {"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/animation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAgCxD,eAAO,MAAM,kBAAkB,oCAyB9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBA+DvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAQ3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"box-shadow.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/box-shadow.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAgCxD,eAAO,MAAM,SAAS,EAAE,qBAoCvB,CAAC"}
1
+ {"version":3,"file":"box-shadow.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/box-shadow.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAkCxD,eAAO,MAAM,SAAS,EAAE,qBA4BvB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export * from "./animation";
2
2
  export * from "./border";
3
+ export * from "./logical-border-width";
3
4
  export * from "./box-shadow";
4
5
  export * from "./text-shadow";
5
6
  export * from "./transform";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { StyleFunctionResolver } from "../resolve";
2
+ export declare const borderBlockWidth: StyleFunctionResolver;
3
+ export declare const borderInlineWidth: StyleFunctionResolver;
4
+ //# sourceMappingURL=logical-border-width.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logical-border-width.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/logical-border-width.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAuBxD,eAAO,MAAM,gBAAgB,uBAG5B,CAAC;AACF,eAAO,MAAM,iBAAiB,uBAG7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,qBAgBvB,CAAC"}
1
+ {"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/shorthands/transform.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,qBAkBvB,CAAC"}
@@ -1,5 +1,6 @@
1
- import type { StyleFunction } from "react-native-css/compiler";
2
- import { type Getter } from "../reactivity";
1
+ import type { InlineVariable, StyleFunction } from "react-native-css/compiler";
2
+ import { type Getter, type VariableContextValue } from "../reactivity";
3
3
  import type { ResolveValueOptions, SimpleResolveValue } from "./resolve";
4
4
  export declare function varResolver(resolve: SimpleResolveValue, fn: StyleFunction, get: Getter, options: ResolveValueOptions): unknown;
5
+ export declare function substituteOwnReferences(variables: VariableContextValue, ruleVariableNames: ReadonlySet<string>, inlineVariables: ReadonlySet<InlineVariable>, previous: Readonly<VariableContextValue> | undefined, get: Getter): boolean;
5
6
  //# sourceMappingURL=variables.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/variables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAOhF,OAAO,EAAc,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEzE,wBAAgB,WAAW,CACzB,OAAO,EAAE,kBAAkB,EAC3B,EAAE,EAAE,aAAa,EACjB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB,WAyE7B"}
1
+ {"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../../../../src/native/styles/variables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EAEd,aAAa,EACd,MAAM,2BAA2B,CAAC;AAanC,OAAO,EAEL,KAAK,MAAM,EACX,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEzE,wBAAgB,WAAW,CACzB,OAAO,EAAE,kBAAkB,EAC3B,EAAE,EAAE,aAAa,EACjB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,mBAAmB,WA+F7B;AA0ED,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,oBAAoB,EAC/B,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,EACtC,eAAe,EAAE,WAAW,CAAC,cAAc,CAAC,EAC5C,QAAQ,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GAAG,SAAS,EACpD,GAAG,EAAE,MAAM,GACV,OAAO,CA8BT"}
@@ -1,11 +1,49 @@
1
1
  import type { StyleDescriptor, VariableValue } from "react-native-css/compiler";
2
2
  import { type Observable } from "../native/reactivity";
3
+ declare const rootVariableFamily: () => ((key: string, args: void) => Observable<StyleDescriptor, VariableValue[]>) & {
4
+ delete(key: string): boolean;
5
+ size(): number;
6
+ clear(): void;
7
+ };
8
+ declare const registeredInitialValueFamily: () => ((key: string, args: void) => Observable<StyleDescriptor>) & {
9
+ delete(key: string): boolean;
10
+ size(): number;
11
+ clear(): void;
12
+ };
13
+ declare const registeredInheritanceFamily: () => ((key: string, args: void) => Observable<boolean>) & {
14
+ delete(key: string): boolean;
15
+ size(): number;
16
+ clear(): void;
17
+ };
18
+ interface RootVariableRegistries {
19
+ root: ReturnType<typeof rootVariableFamily>;
20
+ universal: ReturnType<typeof rootVariableFamily>;
21
+ }
22
+ declare global {
23
+ var __react_native_css_root_variable_registries: RootVariableRegistries | undefined;
24
+ var __react_native_css_registered_initial_values: ReturnType<typeof registeredInitialValueFamily> | undefined;
25
+ var __react_native_css_registered_inheritance: ReturnType<typeof registeredInheritanceFamily> | undefined;
26
+ }
3
27
  export declare const rootVariables: ((key: string, args: void) => Observable<StyleDescriptor, VariableValue[]>) & {
4
28
  delete(key: string): boolean;
29
+ size(): number;
5
30
  clear(): void;
6
31
  };
7
32
  export declare const universalVariables: ((key: string, args: void) => Observable<StyleDescriptor, VariableValue[]>) & {
8
33
  delete(key: string): boolean;
34
+ size(): number;
35
+ clear(): void;
36
+ };
37
+ export declare const registeredInitialValues: ((key: string, args: void) => Observable<StyleDescriptor>) & {
38
+ delete(key: string): boolean;
39
+ size(): number;
40
+ clear(): void;
41
+ };
42
+ export declare const registeredInheritance: ((key: string, args: void) => Observable<boolean>) & {
43
+ delete(key: string): boolean;
44
+ size(): number;
9
45
  clear(): void;
10
46
  };
47
+ export declare function resetVariableRegistries(): void;
48
+ export {};
11
49
  //# sourceMappingURL=root.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/root.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAGhF,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AA0B3E,eAAO,MAAM,aAAa;;;CAAuB,CAAC;AAClD,eAAO,MAAM,kBAAkB;;;CAAuB,CAAC"}
1
+ {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/root.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAIhF,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAE3E,QAAA,MAAM,kBAAkB;;;;CAsBvB,CAAC;AAGF,QAAA,MAAM,4BAA4B;;;;CAIjC,CAAC;AAEF,QAAA,MAAM,2BAA2B;;;;CAEhC,CAAC;AAEF,UAAU,sBAAsB;IAC9B,IAAI,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC5C,SAAS,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;CAClD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,IAAI,2CAA2C,EAC3C,sBAAsB,GACtB,SAAS,CAAC;IACd,IAAI,4CAA4C,EAC5C,UAAU,CAAC,OAAO,4BAA4B,CAAC,GAC/C,SAAS,CAAC;IACd,IAAI,yCAAyC,EACzC,UAAU,CAAC,OAAO,2BAA2B,CAAC,GAC9C,SAAS,CAAC;CACf;AA+BD,eAAO,MAAM,aAAa;;;;CACmC,CAAC;AAC9D,eAAO,MAAM,kBAAkB;;;;CACmC,CAAC;AAOnE,eAAO,MAAM,uBAAuB;;;;CACqB,CAAC;AAE1D,eAAO,MAAM,qBAAqB;;;;CACoB,CAAC;AAGvD,wBAAgB,uBAAuB,SAOtC"}
@@ -1,8 +1,8 @@
1
1
  import { type Context } from "react";
2
2
  import type { Animation, ReactNativeCssStyleSheet, StyleRuleSet } from "react-native-css/compiler";
3
3
  import { family, type Observable, type VariableContextValue } from "../native/reactivity";
4
- import { rootVariables, universalVariables } from "./root";
5
- export { rootVariables, universalVariables };
4
+ import { registeredInheritance, registeredInitialValues, rootVariables, universalVariables } from "./root";
5
+ export { registeredInheritance, registeredInitialValues, rootVariables, universalVariables, };
6
6
  interface StyleCollectionType {
7
7
  styles: ReturnType<typeof family<string, Observable<StyleRuleSet>>>;
8
8
  keyframes: ReturnType<typeof family<string, Observable<Animation[1]>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"style-collection.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/style-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EACV,SAAS,EACT,wBAAwB,EACxB,YAAY,EACb,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EACL,MAAM,EAGN,KAAK,UAAU,EACf,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,CAAC;AAE7C,UAAU,mBAAmB;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IACpE,SAAS,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACvE,MAAM,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,CAAC;CACrD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,IAAI,mCAAmC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACzE,IAAI,mCAAmC,EACnC,OAAO,CAAC,oBAAoB,CAAC,GAC7B,SAAS,CAAC;CACf;AA0ED,eAAO,MAAM,eAAe,qBAAiD,CAAC"}
1
+ {"version":3,"file":"style-collection.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/style-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EACV,SAAS,EACT,wBAAwB,EACxB,YAAY,EACb,MAAM,2BAA2B,CAAC;AAInC,OAAO,EACL,MAAM,EAGN,KAAK,UAAU,EACf,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,aAAa,EACb,kBAAkB,EACnB,MAAM,QAAQ,CAAC;AAEhB,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,aAAa,EACb,kBAAkB,GACnB,CAAC;AAEF,UAAU,mBAAmB;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IACpE,SAAS,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACvE,MAAM,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,CAAC;CACrD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,IAAI,mCAAmC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACzE,IAAI,mCAAmC,EACnC,OAAO,CAAC,oBAAoB,CAAC,GAC7B,SAAS,CAAC;CACf;AAgFD,eAAO,MAAM,eAAe,qBAAiD,CAAC"}
@@ -4,5 +4,5 @@ import { type VariableContextValue } from "../native/reactivity";
4
4
  export declare const VariableContext: import("react").Context<VariableContextValue>;
5
5
  export declare function VariableContextProvider(props: PropsWithChildren<{
6
6
  value: Record<`--${string}`, StyleDescriptor>;
7
- }>): import("react/jsx-runtime").JSX.Element;
7
+ }>): import("react").JSX.Element;
8
8
  //# sourceMappingURL=variables.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/variables.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAAc,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAO7E,eAAO,MAAM,eAAe,+CAAiD,CAAC;AAE9E,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,iBAAiB,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,eAAe,CAAC,CAAA;CAAE,CAAC,2CAgB5E"}
1
+ {"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../../../src/native-internal/variables.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAC;AAO9B,eAAO,MAAM,eAAe,+CAAiD,CAAC;AAE9E,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,iBAAiB,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,eAAe,CAAC,CAAA;CAAE,CAAC,+BAc5E"}
@@ -1,4 +1,4 @@
1
- import type { ClassicComponentClass, ComponentClass, ComponentProps, ComponentType, ForwardRefExoticComponent, FunctionComponent, ReactElement } from "react";
1
+ import type { ClassicComponentClass, ComponentClass, ComponentProps, ComponentPropsWithRef, ComponentType, ForwardRefExoticComponent, FunctionComponent, ReactElement } from "react";
2
2
  import type { ColorSchemeName, ImageStyle, TextStyle, ViewStyle } from "react-native";
3
3
  import type { DotNotation, ResolveDotPath } from "react-native-css/utilities";
4
4
  /******************************** API ********************************/
@@ -8,8 +8,13 @@ export type StyledReactElement<C extends ReactComponent, M extends StyledConfigu
8
8
  export type StyledProps<P, M extends StyledConfiguration<any>> = P & {
9
9
  [K in keyof M as K extends string ? M[K] extends undefined | false ? never : M[K] extends true | string | object ? K : never : never]?: string;
10
10
  };
11
- export type Styled = <const C extends ReactComponent, const M extends StyledConfiguration<C>>(component: C, mapping: M & StyledConfiguration<C>, options?: StyledOptions) => StyledComponent<C, M>;
12
- type StyledComponent<C extends ReactComponent, M extends StyledConfiguration<C>> = ComponentType<ComponentProps<C> & {
11
+ export interface Styled {
12
+ <const C extends ReactComponent>(component: C, mapping?: undefined, options?: StyledOptions): ComponentType<ComponentPropsWithRef<C> & {
13
+ className?: string;
14
+ }>;
15
+ <const C extends ReactComponent, const M extends StyledConfiguration<C>>(component: C, mapping: M & StyledConfiguration<C>, options?: StyledOptions): StyledComponent<C, M>;
16
+ }
17
+ type StyledComponent<C extends ReactComponent, M extends StyledConfiguration<C>> = ComponentType<ComponentPropsWithRef<C> & {
13
18
  [K in keyof M as K extends string ? M[K] extends undefined | false ? never : M[K] extends true | string | object ? K : never : never]?: string;
14
19
  }>;
15
20
  export type StyledConfiguration<C extends ReactComponent, K extends string = string> = Record<K, boolean | ComponentPropsDotNotation<C> | StyledConfigurationObject<C, ComponentPropsDotNotation<C> | false>>;
@@ -17,7 +22,7 @@ interface StyledConfigurationObject<C extends ReactComponent, T extends Componen
17
22
  target: T;
18
23
  nativeStyleMapping?: T extends false ? NativeStyleMapping<string, ComponentProps<C>> : NativeStyleMapping<ResolveDotPath<T, ComponentProps<C>>, ComponentProps<C>>;
19
24
  /** @deprecated Please use nativeStyleMapping */
20
- nativeStyleToProp?: NativeStyleMapping<ResolveDotPath<T, ComponentProps<C>>, ComponentProps<C>>;
25
+ nativeStyleToProp?: StyledConfigurationObject<C, T>["nativeStyleMapping"];
21
26
  }
22
27
  type NativeStyleMapping<T, S> = T extends object ? {
23
28
  [K in keyof T as K extends string ? K : never]: true | DotNotation<S>;
@@ -42,8 +47,8 @@ export type Callback = () => void;
42
47
  export type RNStyle = ViewStyle & TextStyle & ImageStyle;
43
48
  /******************************** Globals ********************************/
44
49
  export interface ColorScheme {
45
- get: () => ColorSchemeName;
46
- set: (value: ColorSchemeName) => void;
50
+ get: () => ColorSchemeName | null | undefined;
51
+ set: (value: ColorSchemeName | null | undefined) => void;
47
52
  }
48
53
  export {};
49
54
  //# sourceMappingURL=runtime.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.types.d.ts","sourceRoot":"","sources":["../../../../src/runtime.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,aAAa,EACb,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACb,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACV,eAAe,EACf,UAAU,EACV,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE9E,gFAAgF;AAEhF,MAAM,MAAM,kBAAkB,CAC5B,CAAC,SAAS,cAAc,EACxB,CAAC,SAAS,mBAAmB,CAAC,CAAC,CAAC,IAC9B,YAAY,CACd,cAAc,CAAC,CAAC,CAAC,GAAG;KACjB,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,MAAM,GAC7B,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,GAAG,KAAK,GAC5B,KAAK,GACL,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,GACjC,CAAC,GACD,KAAK,GACT,KAAK,CAAC,CAAC,EAAE,MAAM;CACpB,CACF,CAAC;AAEF,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG;KAClE,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,MAAM,GAC7B,CAAC,CAAC,CAAC,CAAC,SAAS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AAK,IAAI,CAAC;CAC1D"}
@@ -1,3 +1,4 @@
1
+ import type { Component, ReactElement } from "react";
1
2
  type Falsy = undefined | null | false | "";
2
3
  type RegisteredStyle<T> = number & {
3
4
  __registeredStyleBrand: T;
@@ -10,7 +11,7 @@ type UnwrapRecursiveArray<T, Depth extends unknown[] = [], MaxDepth extends numb
10
11
  type RemoveFalsy<T> = Exclude<T, Falsy>;
11
12
  type RemoveRegisteredStyle<T> = T extends RegisteredStyle<any> ? never : T;
12
13
  type ExtractStyleObject<T> = RemoveRegisteredStyle<RemoveFalsy<UnwrapRecursiveArray<T extends StyleProp<infer U> ? U : T>>>;
13
- type IsPlainObject<T> = T extends object ? T extends Function ? false : T extends readonly any[] ? false : true : false;
14
+ type IsPlainObject<T> = T extends object ? T extends Function | Component | ReactElement ? false : T extends readonly any[] ? false : true : false;
14
15
  type Split<T extends string, Delimiter extends string> = T extends `${infer Head}${Delimiter}${infer Tail}` ? [Head, ...Split<Tail, Delimiter>] : [T];
15
16
  type ParsePath<T extends string> = T extends `${infer Head}[${number}]${infer Rest}` ? [Head, number, ...ParsePath<Rest extends `.${infer R}` ? R : Rest>] : Split<T, ".">;
16
17
  type ResolvePath<T, Parts extends readonly any[]> = Parts extends [
@@ -1 +1 @@
1
- {"version":3,"file":"dot-notation.types.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/dot-notation.types.ts"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG,SAAS,GAAG,IAAI,GAAG,KAAK,GAAG,EAAE,CAAC;AAC3C,KAAK,eAAe,CAAC,CAAC,IAAI,MAAM,GAAG;IAAE,sBAAsB,EAAE,CAAC,CAAA;CAAE,CAAC;AAEjE,KAAK,SAAS,GACV,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,IAAI,GACJ,SAAS,GACT,IAAI,GACJ,MAAM,GACN,KAAK,GACL,IAAI,CAAC;AAET,UAAU,cAAc,CAAC,CAAC,CACxB,SAAQ,KAAK,CA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