react-native-css 0.0.0-nightly.81d3fdb → 0.0.0-nightly.8a01f75

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 (380) hide show
  1. package/dist/commonjs/compiler/atRules.js +8 -8
  2. package/dist/commonjs/compiler/atRules.js.map +1 -1
  3. package/dist/commonjs/compiler/declarations.js +51 -0
  4. package/dist/commonjs/compiler/declarations.js.map +1 -1
  5. package/dist/commonjs/compiler/keyframes.js +1 -1
  6. package/dist/commonjs/compiler/keyframes.js.map +1 -1
  7. package/dist/commonjs/compiler/lightningcss-loader.js +12 -2
  8. package/dist/commonjs/compiler/lightningcss-loader.js.map +1 -1
  9. package/dist/commonjs/compiler/stylesheet.js +1 -1
  10. package/dist/commonjs/compiler/supports.js +3 -1
  11. package/dist/commonjs/compiler/supports.js.map +1 -1
  12. package/dist/commonjs/components/ActivityIndicator.js +6 -6
  13. package/dist/commonjs/components/ActivityIndicator.js.map +1 -1
  14. package/dist/commonjs/components/Button.js +6 -6
  15. package/dist/commonjs/components/Button.js.map +1 -1
  16. package/dist/commonjs/components/FlatList.js +6 -6
  17. package/dist/commonjs/components/FlatList.js.map +1 -1
  18. package/dist/commonjs/components/Image.js +6 -6
  19. package/dist/commonjs/components/Image.js.map +1 -1
  20. package/dist/commonjs/components/ImageBackground.js +6 -6
  21. package/dist/commonjs/components/ImageBackground.js.map +1 -1
  22. package/dist/commonjs/components/KeyboardAvoidingView.js +6 -6
  23. package/dist/commonjs/components/KeyboardAvoidingView.js.map +1 -1
  24. package/dist/commonjs/components/Pressable.js +6 -6
  25. package/dist/commonjs/components/Pressable.js.map +1 -1
  26. package/dist/commonjs/components/ScrollView.js +6 -6
  27. package/dist/commonjs/components/ScrollView.js.map +1 -1
  28. package/dist/commonjs/components/Switch.js +6 -6
  29. package/dist/commonjs/components/Switch.js.map +1 -1
  30. package/dist/commonjs/components/Text.js +6 -6
  31. package/dist/commonjs/components/Text.js.map +1 -1
  32. package/dist/commonjs/components/TextInput.js +6 -6
  33. package/dist/commonjs/components/TextInput.js.map +1 -1
  34. package/dist/commonjs/components/TouchableHighlight.js +6 -6
  35. package/dist/commonjs/components/TouchableHighlight.js.map +1 -1
  36. package/dist/commonjs/components/TouchableOpacity.js +6 -6
  37. package/dist/commonjs/components/TouchableOpacity.js.map +1 -1
  38. package/dist/commonjs/components/TouchableWithoutFeedback.js +6 -6
  39. package/dist/commonjs/components/TouchableWithoutFeedback.js.map +1 -1
  40. package/dist/commonjs/components/View.js +6 -6
  41. package/dist/commonjs/components/View.js.map +1 -1
  42. package/dist/commonjs/components/VirtualizedList.js +6 -6
  43. package/dist/commonjs/components/VirtualizedList.js.map +1 -1
  44. package/dist/commonjs/components/copyComponentProperties.js +19 -0
  45. package/dist/commonjs/components/copyComponentProperties.js.map +1 -0
  46. package/dist/commonjs/components/index.cjs +265 -0
  47. package/dist/commonjs/components/index.cjs.map +1 -0
  48. package/dist/commonjs/components/index.js.map +1 -1
  49. package/dist/commonjs/jest/index.js +1 -1
  50. package/dist/commonjs/jest/index.js.map +1 -1
  51. package/dist/commonjs/metro/index.js +8 -118
  52. package/dist/commonjs/metro/index.js.map +1 -1
  53. package/dist/commonjs/metro/metro-transformer.js +8 -1
  54. package/dist/commonjs/metro/metro-transformer.js.map +1 -1
  55. package/dist/commonjs/{native/metro.js → metro/override.js} +1 -1
  56. package/dist/commonjs/{native/metro.js.map → metro/override.js.map} +1 -1
  57. package/dist/commonjs/metro/resolver.js +15 -22
  58. package/dist/commonjs/metro/resolver.js.map +1 -1
  59. package/dist/commonjs/native/api.js +5 -1
  60. package/dist/commonjs/native/api.js.map +1 -1
  61. package/dist/commonjs/native/index.js +8 -8
  62. package/dist/commonjs/native/index.js.map +1 -1
  63. package/dist/commonjs/native/react/useNativeCss.js +11 -5
  64. package/dist/commonjs/native/react/useNativeCss.js.map +1 -1
  65. package/dist/commonjs/{poison.pill.js → native/react-native-css-metro-override.js} +1 -1
  66. package/dist/commonjs/native/react-native-css-metro-override.js.map +1 -0
  67. package/dist/commonjs/native/styles/functions/color-mix.js +50 -0
  68. package/dist/commonjs/native/styles/functions/color-mix.js.map +1 -0
  69. package/dist/commonjs/native/styles/functions/index.js +11 -0
  70. package/dist/commonjs/native/styles/functions/index.js.map +1 -1
  71. package/dist/commonjs/native/styles/index.js +50 -7
  72. package/dist/commonjs/native/styles/index.js.map +1 -1
  73. package/dist/commonjs/native/styles/resolve.js +0 -1
  74. package/dist/commonjs/native/styles/resolve.js.map +1 -1
  75. package/dist/commonjs/native/styles/shorthands/animation.js +6 -2
  76. package/dist/commonjs/native/styles/shorthands/animation.js.map +1 -1
  77. package/dist/commonjs/web/api.js +5 -2
  78. package/dist/commonjs/web/api.js.map +1 -1
  79. package/dist/module/compiler/atRules.js +8 -8
  80. package/dist/module/compiler/atRules.js.map +1 -1
  81. package/dist/module/compiler/declarations.js +50 -0
  82. package/dist/module/compiler/declarations.js.map +1 -1
  83. package/dist/module/compiler/keyframes.js +1 -1
  84. package/dist/module/compiler/keyframes.js.map +1 -1
  85. package/dist/module/compiler/lightningcss-loader.js +12 -2
  86. package/dist/module/compiler/lightningcss-loader.js.map +1 -1
  87. package/dist/module/compiler/stylesheet.js +1 -1
  88. package/dist/module/compiler/supports.js +3 -1
  89. package/dist/module/compiler/supports.js.map +1 -1
  90. package/dist/module/components/ActivityIndicator.js +4 -3
  91. package/dist/module/components/ActivityIndicator.js.map +1 -1
  92. package/dist/module/components/Button.js +4 -3
  93. package/dist/module/components/Button.js.map +1 -1
  94. package/dist/module/components/FlatList.js +4 -3
  95. package/dist/module/components/FlatList.js.map +1 -1
  96. package/dist/module/components/Image.js +4 -3
  97. package/dist/module/components/Image.js.map +1 -1
  98. package/dist/module/components/ImageBackground.js +4 -3
  99. package/dist/module/components/ImageBackground.js.map +1 -1
  100. package/dist/module/components/KeyboardAvoidingView.js +4 -3
  101. package/dist/module/components/KeyboardAvoidingView.js.map +1 -1
  102. package/dist/module/components/Pressable.js +4 -3
  103. package/dist/module/components/Pressable.js.map +1 -1
  104. package/dist/module/components/ScrollView.js +4 -3
  105. package/dist/module/components/ScrollView.js.map +1 -1
  106. package/dist/module/components/Switch.js +4 -3
  107. package/dist/module/components/Switch.js.map +1 -1
  108. package/dist/module/components/Text.js +4 -3
  109. package/dist/module/components/Text.js.map +1 -1
  110. package/dist/module/components/TextInput.js +4 -3
  111. package/dist/module/components/TextInput.js.map +1 -1
  112. package/dist/module/components/TouchableHighlight.js +4 -3
  113. package/dist/module/components/TouchableHighlight.js.map +1 -1
  114. package/dist/module/components/TouchableOpacity.js +4 -3
  115. package/dist/module/components/TouchableOpacity.js.map +1 -1
  116. package/dist/module/components/TouchableWithoutFeedback.js +4 -3
  117. package/dist/module/components/TouchableWithoutFeedback.js.map +1 -1
  118. package/dist/module/components/View.js +4 -3
  119. package/dist/module/components/View.js.map +1 -1
  120. package/dist/module/components/VirtualizedList.js +4 -3
  121. package/dist/module/components/VirtualizedList.js.map +1 -1
  122. package/dist/module/components/copyComponentProperties.js +15 -0
  123. package/dist/module/components/copyComponentProperties.js.map +1 -0
  124. package/dist/module/components/index.cjs +265 -0
  125. package/dist/module/components/index.cjs.map +1 -0
  126. package/dist/module/components/index.js.map +1 -1
  127. package/dist/module/jest/index.js +1 -1
  128. package/dist/module/jest/index.js.map +1 -1
  129. package/dist/module/metro/index.js +8 -117
  130. package/dist/module/metro/index.js.map +1 -1
  131. package/dist/module/metro/metro-transformer.js +8 -1
  132. package/dist/module/metro/metro-transformer.js.map +1 -1
  133. package/dist/module/metro/override.js +4 -0
  134. package/dist/module/{native/metro.js.map → metro/override.js.map} +1 -1
  135. package/dist/module/metro/resolver.js +15 -22
  136. package/dist/module/metro/resolver.js.map +1 -1
  137. package/dist/module/native/api.js +4 -1
  138. package/dist/module/native/api.js.map +1 -1
  139. package/dist/module/native/index.js +1 -1
  140. package/dist/module/native/index.js.map +1 -1
  141. package/dist/module/native/react/useNativeCss.js +11 -5
  142. package/dist/module/native/react/useNativeCss.js.map +1 -1
  143. package/dist/module/{poison.pill.js → native/react-native-css-metro-override.js} +1 -1
  144. package/dist/module/native/react-native-css-metro-override.js.map +1 -0
  145. package/dist/module/native/styles/functions/color-mix.js +45 -0
  146. package/dist/module/native/styles/functions/color-mix.js.map +1 -0
  147. package/dist/module/native/styles/functions/index.js +1 -0
  148. package/dist/module/native/styles/functions/index.js.map +1 -1
  149. package/dist/module/native/styles/index.js +50 -7
  150. package/dist/module/native/styles/index.js.map +1 -1
  151. package/dist/module/native/styles/resolve.js +0 -1
  152. package/dist/module/native/styles/resolve.js.map +1 -1
  153. package/dist/module/native/styles/shorthands/animation.js +4 -1
  154. package/dist/module/native/styles/shorthands/animation.js.map +1 -1
  155. package/dist/module/web/api.js +5 -2
  156. package/dist/module/web/api.js.map +1 -1
  157. package/dist/typescript/commonjs/.config/eslint.config.d.mts +3 -0
  158. package/dist/typescript/commonjs/.config/eslint.config.d.mts.map +1 -0
  159. package/dist/typescript/commonjs/eslint.config.d.mts +2 -0
  160. package/dist/typescript/commonjs/eslint.config.d.mts.map +1 -0
  161. package/dist/typescript/commonjs/example/index.d.ts +2 -0
  162. package/dist/typescript/commonjs/example/index.d.ts.map +1 -0
  163. package/dist/typescript/commonjs/example/metro.config.d.ts +3 -0
  164. package/dist/typescript/commonjs/example/metro.config.d.ts.map +1 -0
  165. package/dist/typescript/commonjs/example/postcss.config.d.mts +7 -0
  166. package/dist/typescript/commonjs/example/postcss.config.d.mts.map +1 -0
  167. package/dist/typescript/commonjs/example/src/App.d.ts +1 -0
  168. package/dist/typescript/commonjs/example/src/App.d.ts.map +1 -1
  169. package/dist/typescript/commonjs/src/compiler/declarations.d.ts +2 -1
  170. package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -1
  171. package/dist/typescript/commonjs/src/compiler/keyframes.d.ts +1 -1
  172. package/dist/typescript/commonjs/src/compiler/keyframes.d.ts.map +1 -1
  173. package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts.map +1 -1
  174. package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts +2 -4
  175. package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts.map +1 -1
  176. package/dist/typescript/commonjs/src/components/Button.d.ts +2 -4
  177. package/dist/typescript/commonjs/src/components/Button.d.ts.map +1 -1
  178. package/dist/typescript/commonjs/src/components/FlatList.d.ts +3 -3
  179. package/dist/typescript/commonjs/src/components/FlatList.d.ts.map +1 -1
  180. package/dist/typescript/commonjs/src/components/Image.d.ts +2 -4
  181. package/dist/typescript/commonjs/src/components/Image.d.ts.map +1 -1
  182. package/dist/typescript/commonjs/src/components/ImageBackground.d.ts +2 -4
  183. package/dist/typescript/commonjs/src/components/ImageBackground.d.ts.map +1 -1
  184. package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts +2 -4
  185. package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts.map +1 -1
  186. package/dist/typescript/commonjs/src/components/Pressable.d.ts +2 -4
  187. package/dist/typescript/commonjs/src/components/Pressable.d.ts.map +1 -1
  188. package/dist/typescript/commonjs/src/components/ScrollView.d.ts +2 -4
  189. package/dist/typescript/commonjs/src/components/ScrollView.d.ts.map +1 -1
  190. package/dist/typescript/commonjs/src/components/Switch.d.ts +2 -6
  191. package/dist/typescript/commonjs/src/components/Switch.d.ts.map +1 -1
  192. package/dist/typescript/commonjs/src/components/Text.d.ts +2 -6
  193. package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -1
  194. package/dist/typescript/commonjs/src/components/TextInput.d.ts +2 -4
  195. package/dist/typescript/commonjs/src/components/TextInput.d.ts.map +1 -1
  196. package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts +2 -4
  197. package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts.map +1 -1
  198. package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts +2 -4
  199. package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts.map +1 -1
  200. package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts +2 -4
  201. package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts.map +1 -1
  202. package/dist/typescript/commonjs/src/components/View.d.ts +2 -6
  203. package/dist/typescript/commonjs/src/components/View.d.ts.map +1 -1
  204. package/dist/typescript/commonjs/src/components/VirtualizedList.d.ts +3 -3
  205. package/dist/typescript/commonjs/src/components/VirtualizedList.d.ts.map +1 -1
  206. package/dist/typescript/commonjs/src/components/copyComponentProperties.d.ts +5 -0
  207. package/dist/typescript/commonjs/src/components/copyComponentProperties.d.ts.map +1 -0
  208. package/dist/typescript/commonjs/src/components/index.d.cts +2 -0
  209. package/dist/typescript/commonjs/src/components/index.d.cts.map +1 -0
  210. package/dist/typescript/commonjs/src/components/index.d.ts.map +1 -1
  211. package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -1
  212. package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -1
  213. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -1
  214. package/dist/typescript/commonjs/src/metro/override.d.ts +2 -0
  215. package/dist/typescript/commonjs/src/metro/override.d.ts.map +1 -0
  216. package/dist/typescript/commonjs/src/metro/resolver.d.ts.map +1 -1
  217. package/dist/typescript/commonjs/src/native/api.d.ts +2 -2
  218. package/dist/typescript/commonjs/src/native/api.d.ts.map +1 -1
  219. package/dist/typescript/commonjs/src/native/index.d.ts +1 -1
  220. package/dist/typescript/commonjs/src/native/index.d.ts.map +1 -1
  221. package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts +1 -1
  222. package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts.map +1 -1
  223. package/dist/typescript/commonjs/src/native/react-native-css-metro-override.d.ts +2 -0
  224. package/dist/typescript/commonjs/src/native/react-native-css-metro-override.d.ts.map +1 -0
  225. package/dist/typescript/commonjs/src/native/styles/functions/color-mix.d.ts +3 -0
  226. package/dist/typescript/commonjs/src/native/styles/functions/color-mix.d.ts.map +1 -0
  227. package/dist/typescript/commonjs/src/native/styles/functions/index.d.ts +1 -0
  228. package/dist/typescript/commonjs/src/native/styles/functions/index.d.ts.map +1 -1
  229. package/dist/typescript/commonjs/src/native/styles/index.d.ts.map +1 -1
  230. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts.map +1 -1
  231. package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts +1 -0
  232. package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts.map +1 -1
  233. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts +1 -1
  234. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts.map +1 -1
  235. package/dist/typescript/commonjs/src/web/api.d.ts +2 -2
  236. package/dist/typescript/commonjs/src/web/api.d.ts.map +1 -1
  237. package/dist/typescript/module/.config/eslint.config.d.mts +3 -0
  238. package/dist/typescript/module/.config/eslint.config.d.mts.map +1 -0
  239. package/dist/typescript/module/eslint.config.d.mts +2 -0
  240. package/dist/typescript/module/eslint.config.d.mts.map +1 -0
  241. package/dist/typescript/module/example/index.d.ts +2 -0
  242. package/dist/typescript/module/example/index.d.ts.map +1 -0
  243. package/dist/typescript/module/example/metro.config.d.ts +3 -0
  244. package/dist/typescript/module/example/metro.config.d.ts.map +1 -0
  245. package/dist/typescript/module/example/postcss.config.d.mts +7 -0
  246. package/dist/typescript/module/example/postcss.config.d.mts.map +1 -0
  247. package/dist/typescript/module/example/src/App.d.ts +1 -0
  248. package/dist/typescript/module/example/src/App.d.ts.map +1 -1
  249. package/dist/typescript/module/src/compiler/declarations.d.ts +2 -1
  250. package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -1
  251. package/dist/typescript/module/src/compiler/keyframes.d.ts +1 -1
  252. package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -1
  253. package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts.map +1 -1
  254. package/dist/typescript/module/src/components/ActivityIndicator.d.ts +2 -4
  255. package/dist/typescript/module/src/components/ActivityIndicator.d.ts.map +1 -1
  256. package/dist/typescript/module/src/components/Button.d.ts +2 -4
  257. package/dist/typescript/module/src/components/Button.d.ts.map +1 -1
  258. package/dist/typescript/module/src/components/FlatList.d.ts +3 -3
  259. package/dist/typescript/module/src/components/FlatList.d.ts.map +1 -1
  260. package/dist/typescript/module/src/components/Image.d.ts +2 -4
  261. package/dist/typescript/module/src/components/Image.d.ts.map +1 -1
  262. package/dist/typescript/module/src/components/ImageBackground.d.ts +2 -4
  263. package/dist/typescript/module/src/components/ImageBackground.d.ts.map +1 -1
  264. package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts +2 -4
  265. package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts.map +1 -1
  266. package/dist/typescript/module/src/components/Pressable.d.ts +2 -4
  267. package/dist/typescript/module/src/components/Pressable.d.ts.map +1 -1
  268. package/dist/typescript/module/src/components/ScrollView.d.ts +2 -4
  269. package/dist/typescript/module/src/components/ScrollView.d.ts.map +1 -1
  270. package/dist/typescript/module/src/components/Switch.d.ts +2 -6
  271. package/dist/typescript/module/src/components/Switch.d.ts.map +1 -1
  272. package/dist/typescript/module/src/components/Text.d.ts +2 -6
  273. package/dist/typescript/module/src/components/Text.d.ts.map +1 -1
  274. package/dist/typescript/module/src/components/TextInput.d.ts +2 -4
  275. package/dist/typescript/module/src/components/TextInput.d.ts.map +1 -1
  276. package/dist/typescript/module/src/components/TouchableHighlight.d.ts +2 -4
  277. package/dist/typescript/module/src/components/TouchableHighlight.d.ts.map +1 -1
  278. package/dist/typescript/module/src/components/TouchableOpacity.d.ts +2 -4
  279. package/dist/typescript/module/src/components/TouchableOpacity.d.ts.map +1 -1
  280. package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts +2 -4
  281. package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts.map +1 -1
  282. package/dist/typescript/module/src/components/View.d.ts +2 -6
  283. package/dist/typescript/module/src/components/View.d.ts.map +1 -1
  284. package/dist/typescript/module/src/components/VirtualizedList.d.ts +3 -3
  285. package/dist/typescript/module/src/components/VirtualizedList.d.ts.map +1 -1
  286. package/dist/typescript/module/src/components/copyComponentProperties.d.ts +5 -0
  287. package/dist/typescript/module/src/components/copyComponentProperties.d.ts.map +1 -0
  288. package/dist/typescript/module/src/components/index.d.cts +2 -0
  289. package/dist/typescript/module/src/components/index.d.cts.map +1 -0
  290. package/dist/typescript/module/src/components/index.d.ts.map +1 -1
  291. package/dist/typescript/module/src/jest/index.d.ts.map +1 -1
  292. package/dist/typescript/module/src/metro/index.d.ts.map +1 -1
  293. package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -1
  294. package/dist/typescript/module/src/metro/override.d.ts +2 -0
  295. package/dist/typescript/module/src/metro/override.d.ts.map +1 -0
  296. package/dist/typescript/module/src/metro/resolver.d.ts.map +1 -1
  297. package/dist/typescript/module/src/native/api.d.ts +2 -2
  298. package/dist/typescript/module/src/native/api.d.ts.map +1 -1
  299. package/dist/typescript/module/src/native/index.d.ts +1 -1
  300. package/dist/typescript/module/src/native/index.d.ts.map +1 -1
  301. package/dist/typescript/module/src/native/react/useNativeCss.d.ts +1 -1
  302. package/dist/typescript/module/src/native/react/useNativeCss.d.ts.map +1 -1
  303. package/dist/typescript/module/src/native/react-native-css-metro-override.d.ts +2 -0
  304. package/dist/typescript/module/src/native/react-native-css-metro-override.d.ts.map +1 -0
  305. package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts +3 -0
  306. package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts.map +1 -0
  307. package/dist/typescript/module/src/native/styles/functions/index.d.ts +1 -0
  308. package/dist/typescript/module/src/native/styles/functions/index.d.ts.map +1 -1
  309. package/dist/typescript/module/src/native/styles/index.d.ts.map +1 -1
  310. package/dist/typescript/module/src/native/styles/resolve.d.ts.map +1 -1
  311. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts +1 -0
  312. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts.map +1 -1
  313. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts +1 -1
  314. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts.map +1 -1
  315. package/dist/typescript/module/src/web/api.d.ts +2 -2
  316. package/dist/typescript/module/src/web/api.d.ts.map +1 -1
  317. package/package.json +12 -12
  318. package/src/compiler/atRules.ts +8 -8
  319. package/src/compiler/declarations.ts +96 -0
  320. package/src/compiler/keyframes.ts +2 -2
  321. package/src/compiler/lightningcss-loader.ts +20 -1
  322. package/src/compiler/stylesheet.ts +1 -1
  323. package/src/compiler/supports.ts +2 -0
  324. package/src/components/ActivityIndicator.tsx +9 -6
  325. package/src/components/Button.tsx +9 -4
  326. package/src/components/FlatList.tsx +14 -5
  327. package/src/components/Image.tsx +9 -4
  328. package/src/components/ImageBackground.tsx +9 -6
  329. package/src/components/KeyboardAvoidingView.tsx +9 -6
  330. package/src/components/Pressable.tsx +9 -4
  331. package/src/components/ScrollView.tsx +9 -6
  332. package/src/components/Switch.tsx +9 -4
  333. package/src/components/Text.tsx +9 -4
  334. package/src/components/TextInput.tsx +9 -4
  335. package/src/components/TouchableHighlight.tsx +9 -6
  336. package/src/components/TouchableOpacity.tsx +9 -6
  337. package/src/components/TouchableWithoutFeedback.tsx +9 -6
  338. package/src/components/View.tsx +9 -4
  339. package/src/components/VirtualizedList.tsx +18 -6
  340. package/src/components/copyComponentProperties.ts +21 -0
  341. package/src/components/index.cts +263 -0
  342. package/src/components/{index.tsx → index.ts} +0 -1
  343. package/src/jest/index.ts +2 -1
  344. package/src/metro/index.ts +8 -166
  345. package/src/metro/metro-transformer.ts +15 -1
  346. package/src/metro/override.ts +1 -0
  347. package/src/metro/resolver.ts +29 -28
  348. package/src/native/api.tsx +6 -2
  349. package/src/native/index.ts +1 -2
  350. package/src/native/react/useNativeCss.ts +13 -6
  351. package/src/native/styles/functions/color-mix.ts +68 -0
  352. package/src/native/styles/functions/index.ts +1 -0
  353. package/src/native/styles/index.ts +72 -9
  354. package/src/native/styles/resolve.ts +0 -1
  355. package/src/native/styles/shorthands/animation.ts +10 -2
  356. package/src/utilities/dot-notation.types.ts +10 -3
  357. package/src/web/api.tsx +9 -4
  358. package/types.d.ts +3 -0
  359. package/dist/commonjs/poison.pill.js.map +0 -1
  360. package/dist/commonjs/runtime/native/injection.js +0 -2
  361. package/dist/commonjs/runtime/native/injection.js.map +0 -1
  362. package/dist/module/native/metro.js +0 -5
  363. package/dist/module/poison.pill.js.map +0 -1
  364. package/dist/module/runtime/native/injection.js +0 -2
  365. package/dist/module/runtime/native/injection.js.map +0 -1
  366. package/dist/typescript/commonjs/src/native/metro.d.ts +0 -2
  367. package/dist/typescript/commonjs/src/native/metro.d.ts.map +0 -1
  368. package/dist/typescript/commonjs/src/poison.pill.d.ts +0 -2
  369. package/dist/typescript/commonjs/src/poison.pill.d.ts.map +0 -1
  370. package/dist/typescript/commonjs/src/runtime/native/injection.d.ts +0 -1
  371. package/dist/typescript/commonjs/src/runtime/native/injection.d.ts.map +0 -1
  372. package/dist/typescript/module/src/native/metro.d.ts +0 -2
  373. package/dist/typescript/module/src/native/metro.d.ts.map +0 -1
  374. package/dist/typescript/module/src/poison.pill.d.ts +0 -2
  375. package/dist/typescript/module/src/poison.pill.d.ts.map +0 -1
  376. package/dist/typescript/module/src/runtime/native/injection.d.ts +0 -1
  377. package/dist/typescript/module/src/runtime/native/injection.d.ts.map +0 -1
  378. package/src/native/metro.ts +0 -2
  379. package/src/runtime/native/injection.ts +0 -0
  380. /package/src/{poison.pill.ts → native/react-native-css-metro-override.ts} +0 -0
@@ -1,6 +1,4 @@
1
- import { ScrollView as RNScrollView, type ScrollViewProps } from "react-native";
2
- import { type StyledConfiguration, type StyledProps } from "../runtime";
3
- declare const mapping: StyledConfiguration<typeof RNScrollView>;
4
- export declare function ScrollView(props: StyledProps<ScrollViewProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
1
+ import { ScrollView as RNScrollView } from "react-native";
2
+ export declare const ScrollView: typeof RNScrollView;
5
3
  export default ScrollView;
6
4
  //# sourceMappingURL=ScrollView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhF,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO,EAAE,mBAAmB,CAAC,OAAO,YAAY,CAGrD,CAAC;AAEF,wBAAgB,UAAU,CACxB,KAAK,EAAE,WAAW,CAAC,eAAe,EAAE,OAAO,OAAO,CAAC,0FAGpD;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,YAAY,EAAwB,MAAM,cAAc,CAAC;AAehF,eAAO,MAAM,UAAU,qBAKtB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,8 +1,4 @@
1
- import { type SwitchProps } from "react-native";
2
- import { type StyledProps } from "../runtime";
3
- declare const mapping: {
4
- className: "style";
5
- };
6
- export declare function Switch(props: StyledProps<SwitchProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
1
+ import { Switch as RNSwitch } from "react-native";
2
+ export declare const Switch: typeof RNSwitch;
7
3
  export default Switch;
8
4
  //# sourceMappingURL=Switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO;;CAEmC,CAAC;AAEjD,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,CAAC,WAAW,EAAE,OAAO,OAAO,CAAC,0FAErE;AAED,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAoB,MAAM,cAAc,CAAC;AAcpE,eAAO,MAAM,MAAM,iBAKlB,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,8 +1,4 @@
1
- import { type TextProps } from "react-native";
2
- import { type StyledProps } from "react-native-css/native";
3
- declare const mapping: {
4
- className: "style";
5
- };
6
- export declare function Text(props: StyledProps<TextProps, typeof mapping>): import("react").FunctionComponentElement<import("react").FragmentProps> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
1
+ import { Text as RNText } from "react-native";
2
+ export declare const Text: typeof RNText;
7
3
  export default Text;
8
4
  //# sourceMappingURL=Text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAEjC,QAAA,MAAM,OAAO;;CAEiC,CAAC;AAE/C,wBAAgB,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,SAAS,EAAE,OAAO,OAAO,CAAC,oKAEjE;AAED,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAkB,MAAM,cAAc,CAAC;AAc9D,eAAO,MAAM,IAAI,eAKhB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,6 +1,4 @@
1
- import { TextInput as RNTextInput, type TextInputProps } from "react-native";
2
- import { type StyledConfiguration, type StyledProps } from "../runtime";
3
- declare const mapping: StyledConfiguration<typeof RNTextInput>;
4
- export declare function TextInput(props: StyledProps<TextInputProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
1
+ import { TextInput as RNTextInput } from "react-native";
2
+ export declare const TextInput: typeof RNTextInput;
5
3
  export default TextInput;
6
4
  //# sourceMappingURL=TextInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAE7E,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO,EAAE,mBAAmB,CAAC,OAAO,WAAW,CAOpD,CAAC;AAEF,wBAAgB,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC,cAAc,EAAE,OAAO,OAAO,CAAC,0FAE3E;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,WAAW,EAAuB,MAAM,cAAc,CAAC;AAmB7E,eAAO,MAAM,SAAS,oBAKrB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,6 +1,4 @@
1
- import { TouchableHighlight as RNTouchableHighlight, type TouchableHighlightProps } from "react-native";
2
- import { type StyledConfiguration, type StyledProps } from "../runtime";
3
- declare const mapping: StyledConfiguration<typeof RNTouchableHighlight>;
4
- export declare function TouchableHighlight(props: StyledProps<TouchableHighlightProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
1
+ import { type TouchableHighlightProps } from "react-native";
2
+ export declare const TouchableHighlight: import("react").ForwardRefExoticComponent<TouchableHighlightProps & import("react").RefAttributes<import("react-native").View>>;
5
3
  export default TouchableHighlight;
6
4
  //# sourceMappingURL=TouchableHighlight.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TouchableHighlight.d.ts","sourceRoot":"","sources":["../../../../../src/components/TouchableHighlight.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,IAAI,oBAAoB,EAC1C,KAAK,uBAAuB,EAC7B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO,EAAE,mBAAmB,CAAC,OAAO,oBAAoB,CAE7D,CAAC;AAEF,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,WAAW,CAAC,uBAAuB,EAAE,OAAO,OAAO,CAAC,0FAG5D;AAED,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"TouchableHighlight.d.ts","sourceRoot":"","sources":["../../../../../src/components/TouchableHighlight.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,cAAc,CAAC;AActB,eAAO,MAAM,kBAAkB,iIAK9B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,6 +1,4 @@
1
- import { TouchableOpacity as RNTouchableOpacity, type TouchableOpacityProps } from "react-native";
2
- import { type StyledConfiguration, type StyledProps } from "../runtime";
3
- declare const mapping: StyledConfiguration<typeof RNTouchableOpacity>;
4
- export declare function TouchableOpacity(props: StyledProps<TouchableOpacityProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
1
+ import { type TouchableOpacityProps } from "react-native";
2
+ export declare const TouchableOpacity: import("react").ForwardRefExoticComponent<TouchableOpacityProps & import("react").RefAttributes<import("react-native").View>>;
5
3
  export default TouchableOpacity;
6
4
  //# sourceMappingURL=TouchableOpacity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TouchableOpacity.d.ts","sourceRoot":"","sources":["../../../../../src/components/TouchableOpacity.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,kBAAkB,EACtC,KAAK,qBAAqB,EAC3B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO,EAAE,mBAAmB,CAAC,OAAO,kBAAkB,CAE3D,CAAC;AAEF,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,WAAW,CAAC,qBAAqB,EAAE,OAAO,OAAO,CAAC,0FAG1D;AAED,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"TouchableOpacity.d.ts","sourceRoot":"","sources":["../../../../../src/components/TouchableOpacity.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,cAAc,CAAC;AActB,eAAO,MAAM,gBAAgB,+HAK5B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,6 +1,4 @@
1
- import { TouchableWithoutFeedback as RNTouchableWithoutFeedback, type TouchableWithoutFeedbackProps } from "react-native";
2
- import { type StyledConfiguration, type StyledProps } from "../runtime";
3
- declare const mapping: StyledConfiguration<typeof RNTouchableWithoutFeedback>;
4
- export declare function TouchableWithoutFeedback(props: StyledProps<TouchableWithoutFeedbackProps, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
1
+ import { TouchableWithoutFeedback as RNTouchableWithoutFeedback } from "react-native";
2
+ export declare const TouchableWithoutFeedback: typeof RNTouchableWithoutFeedback;
5
3
  export default TouchableWithoutFeedback;
6
4
  //# sourceMappingURL=TouchableWithoutFeedback.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TouchableWithoutFeedback.d.ts","sourceRoot":"","sources":["../../../../../src/components/TouchableWithoutFeedback.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,IAAI,0BAA0B,EACtD,KAAK,6BAA6B,EACnC,MAAM,cAAc,CAAC;AAEtB,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO,EAAE,mBAAmB,CAAC,OAAO,0BAA0B,CAEnE,CAAC;AAEF,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,WAAW,CAAC,6BAA6B,EAAE,OAAO,OAAO,CAAC,0FAGlE;AAED,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"TouchableWithoutFeedback.d.ts","sourceRoot":"","sources":["../../../../../src/components/TouchableWithoutFeedback.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,IAAI,0BAA0B,EAEvD,MAAM,cAAc,CAAC;AActB,eAAO,MAAM,wBAAwB,mCAKpC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -1,8 +1,4 @@
1
- import { type ViewProps } from "react-native";
2
- import { type StyledProps } from "react-native-css/native";
3
- declare const mapping: {
4
- className: "style";
5
- };
6
- export declare function View(props: StyledProps<ViewProps, typeof mapping>): import("react").FunctionComponentElement<import("react").FragmentProps> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
1
+ import { View as RNView } from "react-native";
2
+ export declare const View: typeof RNView;
7
3
  export default View;
8
4
  //# sourceMappingURL=View.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../src/components/View.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAEjC,QAAA,MAAM,OAAO;;CAEiC,CAAC;AAE/C,wBAAgB,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,SAAS,EAAE,OAAO,OAAO,CAAC,oKAEjE;AAED,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../src/components/View.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAkB,MAAM,cAAc,CAAC;AAc9D,eAAO,MAAM,IAAI,eAKhB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,6 +1,6 @@
1
+ import type { ReactNode } from "react";
1
2
  import { VirtualizedList as RNVirtualizedList, type VirtualizedListProps } from "react-native";
2
- import { type StyledConfiguration, type StyledProps } from "../runtime";
3
- declare const mapping: StyledConfiguration<typeof RNVirtualizedList>;
4
- export declare function VirtualizedList<ItemT>(props: StyledProps<VirtualizedListProps<ItemT>, typeof mapping>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
3
+ import { type StyledConfiguration, type StyledProps } from "react-native-css";
4
+ export declare const VirtualizedList: typeof RNVirtualizedList & (<ItemT>(props: StyledProps<VirtualizedListProps<ItemT>, StyledConfiguration<typeof RNVirtualizedList>>) => ReactNode);
5
5
  export default VirtualizedList;
6
6
  //# sourceMappingURL=VirtualizedList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VirtualizedList.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualizedList.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,IAAI,iBAAiB,EACpC,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,OAAO,EAAE,mBAAmB,CAAC,OAAO,iBAAiB,CAK1D,CAAC;AAEF,wBAAgB,eAAe,CAAC,KAAK,EACnC,KAAK,EAAE,WAAW,CAAC,oBAAoB,CAAC,KAAK,CAAC,EAAE,OAAO,OAAO,CAAC,0FAGhE;AAED,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"VirtualizedList.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualizedList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EACL,eAAe,IAAI,iBAAiB,EACpC,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,kBAAkB,CAAC;AAW1B,eAAO,MAAM,eAAe,EAOZ,OAAO,iBAAiB,GACtC,CAAC,CAAC,KAAK,EACL,KAAK,EAAE,WAAW,CAChB,oBAAoB,CAAC,KAAK,CAAC,EAC3B,mBAAmB,CAAC,OAAO,iBAAiB,CAAC,CAC9C,KACE,SAAS,CAAC,CAAC;AAElB,eAAe,eAAe,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { ComponentType } from "react";
2
+ type AnyComponent = ComponentType<any>;
3
+ export declare function copyComponentProperties<T extends AnyComponent>(BaseComponent: T, Component: AnyComponent): T;
4
+ export {};
5
+ //# sourceMappingURL=copyComponentProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copyComponentProperties.d.ts","sourceRoot":"","sources":["../../../../../src/components/copyComponentProperties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,KAAK,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;AAEvC,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,YAAY,EAC5D,aAAa,EAAE,CAAC,EAChB,SAAS,EAAE,YAAY,GAYQ,CAAC,CACjC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../../../src/components/index.cts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AA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AE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1 +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;AAczC,wBAAgB,WAAW,CACzB,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,eAAe,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;EAoBpD;AAED,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,EACE,KAAoB,EACpB,GAAG,OAAO,EACX,GAAE,eAAe,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO;;;;;;;EAY1D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/jest/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAW,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAK1E,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,IAAI,CAAC;QACb,UAAU,QAAQ,CAAC,CAAC;YAClB,mBAAmB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC;SACzC;KACF;CACF;AAED,eAAO,MAAM,MAAM,qBAAqB,CAAC;AAezC,wBAAgB,WAAW,CACzB,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,eAAe,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;EAoBpD;AAED,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,EACE,KAAoB,EACpB,GAAG,OAAO,EACX,GAAE,eAAe,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO;;;;;;;EAY1D"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/metro/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAEL,KAAK,eAAe,EAErB,MAAM,aAAa,CAAC;AAKrB,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;AAID,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,CAkNnD"}
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 +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,CAyB5B"}
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=override.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"override.d.ts","sourceRoot":"","sources":["../../../../../src/metro/override.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../../../src/metro/resolver.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,uBAAuB,EACvB,cAAc,EACd,UAAU,EACX,MAAM,gBAAgB,CAAC;AAaxB,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,uBAAuB,EAChC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,GACtB,UAAU,CAyCZ;AAED,wBAAgB,WAAW,CACzB,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,uBAAuB,EAChC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,GACtB,UAAU,CAwBZ"}
1
+ {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../../../src/metro/resolver.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,uBAAuB,EACvB,cAAc,EACd,UAAU,EACX,MAAM,gBAAgB,CAAC;AAaxB,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,uBAAuB,EAChC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,GACtB,UAAU,CAmCZ;AAED,wBAAgB,WAAW,CACzB,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,uBAAuB,EAChC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,GACtB,UAAU,CA+BZ"}
@@ -10,10 +10,10 @@ 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: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(baseComponent: C, mapping?: M, options?: StyledOptions) => any;
14
14
  export declare const colorScheme: ColorScheme;
15
15
  export declare const useUnstableNativeVariable: typeof useNativeVariable;
16
- export declare const useCssElement: <const C extends ReactComponent<any>, const M extends StyledConfiguration<C>>(component: C, incomingProps: Props, mapping: M) => import("react").FunctionComponentElement<import("react").FragmentProps> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
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
17
  export declare function useNativeVariable(name: string): any;
18
18
  /**
19
19
  * @deprecated Use `<VariableContextProvider />` instead.
@@ -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;AAExB;;;;;GAKG;AACH,eAAO,MAAM,MAAM,GACjB,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,GAAG,CAA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CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAOzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,0BAAoB,CAAC;AAE3D,eAAO,MAAM,aAAa,GACxB,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,EACnC,KAAK,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,CAAC,EAEtC,WAAW,CAAC,EACZ,eAAe,KAAK,EACpB,SAAS,CAAC,qKAIX,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,OAkB7C;AAED;;GAEG;AACH,wBAAgB,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;;;;EAO9D"}
@@ -1,4 +1,4 @@
1
- export * from "./metro";
2
1
  export * from "./api";
3
2
  export type * from "../runtime.types";
3
+ export * from "./react-native-css-metro-override";
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,SAAS,CAAC;AAExB,cAAc,OAAO,CAAC;AACtB,mBAAmB,kBAAkB,CAAC"}
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"}
@@ -30,7 +30,7 @@ export type ComponentState = {
30
30
  /**
31
31
  * useNativeCss is the native implementation of the useCssElement hook.
32
32
  */
33
- export declare function useNativeCss(type: ComponentType<any>, originalProps: Record<string, any> | undefined | null, configs?: Config[]): import("react").FunctionComponentElement<import("react").FragmentProps> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
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
34
  /**
35
35
  * Convert the styled() mapping to a config array
36
36
  */
@@ -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,oBAAoB,CAAC;IACzC,m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;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,oKAqG/D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,mBAAmB,CAAC,GAAG,CAAC,YAuChE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=react-native-css-metro-override.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-native-css-metro-override.d.ts","sourceRoot":"","sources":["../../../../../src/native/react-native-css-metro-override.ts"],"names":[],"mappings":"AAmCA,OAAO,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { StyleFunctionResolver } from "../resolve";
2
+ export declare const colorMix: StyleFunctionResolver;
3
+ //# sourceMappingURL=color-mix.d.ts.map
@@ -0,0 +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"}
@@ -5,4 +5,5 @@ export * from "./numeric-functions";
5
5
  export * from "./platform-functions";
6
6
  export * from "./string-functions";
7
7
  export * from "./transform-functions";
8
+ export * from "./color-mix";
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/native/styles/functions/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC"}
@@ -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;AAGvB,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,mCAwE/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;AAGvB,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 +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,OAAO,CAAC;AAEb,MAAM,MAAM,aAAa,GAAG,CAC1B,YAAY,EAAE,kBAAkB,EAChC,KAAK,EAAE,eAAe,EACtB,GAAG,EAAE,MAAM,EACX,OAAO,EAA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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,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,GAC3B,GAAG,CA8FL"}
@@ -1,4 +1,5 @@
1
1
  import type { StyleFunctionResolver } from "../resolve";
2
2
  export declare const animationShorthand: import("../resolve").StyleResolver;
3
3
  export declare const animation: StyleFunctionResolver;
4
+ export declare const animationName: StyleFunctionResolver;
4
5
  //# sourceMappingURL=animation.d.ts.map
@@ -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,qBA6DvB,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,oCAuB9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBA2DvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAQ3B,CAAC"}
@@ -6,7 +6,7 @@ type Primitive = string | number | boolean | bigint | symbol | null | undefined
6
6
  interface RecursiveArray<T> extends Array<T | ReadonlyArray<T> | RecursiveArray<T>> {
7
7
  }
8
8
  export type StyleProp<T> = T | RegisteredStyle<T> | RecursiveArray<T | RegisteredStyle<T> | Falsy> | Falsy;
9
- type UnwrapRecursiveArray<T> = T extends (infer I)[] ? UnwrapRecursiveArray<I> : T;
9
+ type UnwrapRecursiveArray<T, Depth extends unknown[] = [], MaxDepth extends number = 10> = Depth["length"] extends MaxDepth ? T : T extends (infer I)[] ? UnwrapRecursiveArray<I, [...Depth, unknown], MaxDepth> : T;
10
10
  type RemoveFalsy<T> = Exclude<T, Falsy>;
11
11
  type RemoveRegisteredStyle<T> = T extends RegisteredStyle<any> ? never : T;
12
12
  type ExtractStyleObject<T> = RemoveRegisteredStyle<RemoveFalsy<UnwrapRecursiveArray<T extends StyleProp<infer U> ? U : T>>>;
@@ -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,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;CAAG;AAE5D,MAAM,MAAM,SAAS,CAAC,CAAC,IACnB,CAAC,GACD,eAAe,CAAC,CAAC,CAAC,GAClB,cAAc,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAC9C,KAAK,CAAC;AAKV,KAAK,oBAAoB,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PropsWithRef, type PropsWithChildren } from "react";
2
2
  import type { ColorScheme, Props, StyledConfiguration, StyledOptions, StyledProps } from "react-native-css";
3
3
  import type { ReactComponent } from "../runtime.types";
4
- export declare const styled: <const C extends ReactComponent, const M extends StyledConfiguration<C>>(baseComponent: C, mapping: M, _options?: StyledOptions) => (props: StyledProps<ComponentProps<C>, M>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
4
+ export declare const styled: <const C extends ReactComponent, const M extends StyledConfiguration<C>>(baseComponent: C, mapping?: M, _options?: StyledOptions) => (props: StyledProps<ComponentPropsWithRef<C>, M>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
5
5
  export declare const useCssElement: <C extends ReactComponent>(component: C, incomingProps: Props, mapping: StyledConfiguration<C>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
6
  export declare const colorScheme: ColorScheme;
7
7
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/web/api.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACV,WAAW,EACX,KAAK,EACL,mBAAmB,EACnB,aAAa,EACb,WAAW,EACZ,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGvD,eAAO,MAAM,MAAM,GACjB,KAAK,CAAC,CAAC,SAAS,cAAc,EAC9B,KAAK,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,CAAC,EAEtC,eAAe,CAAC,EAChB,SAAS,CAAC,EACV,WAAW,aAAa,MAEhB,OAAO,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,2FAGjD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,cAAc,EACpD,WAAW,CAAC,EACZ,eAAe,KAAK,EACpB,SAA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AAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,0BAW9D;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,iBAAiB,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC,CAAA;CAAE,CAAC,2CAe5E;AAED,eAAO,MAAM,iBAAiB,aAE7B,CAAC;AAEF,eAAO,MAAM,yBAAyB,aAErC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-css",
3
- "version": "0.0.0-nightly.81d3fdb",
3
+ "version": "0.0.0-nightly.8a01f75",
4
4
  "description": "A CSS polyfill for React Native",
5
5
  "exports": {
6
6
  ".": {
@@ -37,19 +37,18 @@
37
37
  }
38
38
  },
39
39
  "./components": {
40
- "source": "./src/components/index.ts",
41
- "react-native": "./src/components/index.tsx",
40
+ "source": "./src/components/index.cts",
42
41
  "import": {
43
- "types": "./dist/typescript/module/src/components/index.d.ts",
44
- "default": "./dist/module/components/index.js"
42
+ "default": "./dist/module/components/index.cjs",
43
+ "types": "./dist/typescript/module/src/components/index.d.ts"
45
44
  },
46
45
  "require": {
47
- "types": "./dist/typescript/commonjs/src/components/index.d.ts",
48
- "default": "./dist/commonjs/components/index.js"
46
+ "default": "./dist/commonjs/components/index.cjs",
47
+ "types": "./dist/typescript/commonjs/src/components/index.d.ts"
49
48
  }
50
49
  },
51
50
  "./components/*": {
52
- "source": "./src/components/*.ts",
51
+ "source": "./src/components/*.tsx",
53
52
  "react-native": "./src/components/*.tsx",
54
53
  "import": {
55
54
  "types": "./dist/typescript/module/src/components/*.d.ts",
@@ -193,6 +192,7 @@
193
192
  },
194
193
  "peerDependencies": {
195
194
  "@expo/metro-config": ">=54",
195
+ "lightningcss": ">=1.27.0",
196
196
  "react": ">=19",
197
197
  "react-native": ">=0.81"
198
198
  },
@@ -200,7 +200,7 @@
200
200
  "@babel/core": "^7.28.0",
201
201
  "@commitlint/config-conventional": "^19.8.1",
202
202
  "@eslint/js": "^9.30.1",
203
- "@expo/metro-config": "~54.0.2",
203
+ "@expo/metro-config": "~54.0.5",
204
204
  "@ianvs/prettier-plugin-sort-imports": "^4.4.2",
205
205
  "@tailwindcss/postcss": "^4.1.12",
206
206
  "@testing-library/react-native": "^13.3.3",
@@ -211,13 +211,13 @@
211
211
  "@types/react": "^19.1.10",
212
212
  "@types/react-test-renderer": "^19",
213
213
  "babel-plugin-tester": "^12.0.0",
214
- "babel-preset-expo": "~54.0.0",
215
- "commitlint": "^19.8.1",
214
+ "babel-preset-expo": "~54.0.3",
215
+ "commitlint": "^20.0.0",
216
216
  "eas-build-cache-provider": "^16.4.2",
217
217
  "eslint": "^9.30.1",
218
218
  "eslint-config-prettier": "^10.1.5",
219
219
  "eslint-plugin-prettier": "^5.5.1",
220
- "expo": "54.0.1",
220
+ "expo": "54.0.10",
221
221
  "jest": "^29.7.0",
222
222
  "jest-expo": "~54.0.12",
223
223
  "lefthook": "^1.12.3",
@@ -47,11 +47,11 @@ export function maybeMutateReactNativeOptions(
47
47
  }
48
48
 
49
49
  /***********************************************
50
- * @prop *
50
+ * @nativeMapping *
51
51
  ***********************************************/
52
52
 
53
- function isPropAtRule(rule: Rule | PropAtRule): rule is PropAtRule {
54
- return rule.type === "unknown" && rule.value.name === "prop";
53
+ function isNativeMappingAtRule(rule: Rule | PropAtRule): rule is PropAtRule {
54
+ return rule.type === "unknown" && rule.value.name === "nativeMapping";
55
55
  }
56
56
 
57
57
  export function parsePropAtRule(rules?: (Rule | PropAtRule)[]) {
@@ -71,14 +71,14 @@ export function parsePropAtRule(rules?: (Rule | PropAtRule)[]) {
71
71
  if (!rules) return mapping;
72
72
 
73
73
  for (const rule of rules) {
74
- if (!isPropAtRule(rule)) continue;
74
+ if (!isNativeMappingAtRule(rule)) continue;
75
75
 
76
76
  if (rule.value.prelude.length > 0) {
77
77
  const prelude = rule.value.prelude.filter((item) => {
78
78
  return item.value.type !== "white-space";
79
79
  });
80
80
 
81
- propAtRuleBlock(prelude, mapping);
81
+ nativeMappingAtRuleBlock(prelude, mapping);
82
82
  } else if (rule.value.block) {
83
83
  // Remove all whitespace tokens
84
84
  const blocks = rule.value.block.filter((item) => {
@@ -91,7 +91,7 @@ export function parsePropAtRule(rules?: (Rule | PropAtRule)[]) {
91
91
  });
92
92
 
93
93
  for (const block of blockRules) {
94
- propAtRuleBlock(block, mapping);
94
+ nativeMappingAtRuleBlock(block, mapping);
95
95
  }
96
96
  }
97
97
  }
@@ -99,7 +99,7 @@ export function parsePropAtRule(rules?: (Rule | PropAtRule)[]) {
99
99
  return mapping;
100
100
  }
101
101
 
102
- function propAtRuleBlock(
102
+ function nativeMappingAtRuleBlock(
103
103
  token: Extract<TokenOrValue, { type: "token" }>[],
104
104
  mapping: StyleRuleMapping = {},
105
105
  ): StyleRuleMapping {
@@ -107,7 +107,7 @@ function propAtRuleBlock(
107
107
  return item.value.type === "colon";
108
108
  });
109
109
 
110
- // @props <to>; (has no from value)
110
+ // @nativeMapping <to>; (has no from value)
111
111
  if (!to) {
112
112
  to = from;
113
113
  from = [