react-native-css 0.0.0-nightly.96f5ce2 → 0.0.0-nightly.9e1cae4

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 (1212) hide show
  1. package/README.md +141 -13
  2. package/dist/commonjs/babel/index.js +6 -2
  3. package/dist/commonjs/babel/index.js.map +1 -1
  4. package/dist/commonjs/compiler/atRules.js +33 -41
  5. package/dist/commonjs/compiler/atRules.js.map +1 -1
  6. package/dist/commonjs/compiler/compiler.js +96 -39
  7. package/dist/commonjs/compiler/compiler.js.map +1 -1
  8. package/dist/commonjs/compiler/compiler.types.js +1 -1
  9. package/dist/commonjs/compiler/compiler.types.js.map +1 -1
  10. package/dist/commonjs/compiler/declarations.js +125 -61
  11. package/dist/commonjs/compiler/declarations.js.map +1 -1
  12. package/dist/commonjs/compiler/inline-variables.js +142 -0
  13. package/dist/commonjs/compiler/inline-variables.js.map +1 -0
  14. package/dist/commonjs/compiler/keyframes.js +1 -1
  15. package/dist/commonjs/compiler/keyframes.js.map +1 -1
  16. package/dist/commonjs/compiler/lightningcss-loader.js +50 -0
  17. package/dist/commonjs/compiler/lightningcss-loader.js.map +1 -0
  18. package/dist/commonjs/compiler/pseudo-elements.js +1 -1
  19. package/dist/commonjs/compiler/selector-builder.js +10 -7
  20. package/dist/commonjs/compiler/selector-builder.js.map +1 -1
  21. package/dist/commonjs/compiler/selectors.js +4 -4
  22. package/dist/commonjs/compiler/selectors.js.map +1 -1
  23. package/dist/commonjs/compiler/stylesheet.js +9 -12
  24. package/dist/commonjs/compiler/stylesheet.js.map +1 -1
  25. package/dist/commonjs/compiler/supports.js +3 -1
  26. package/dist/commonjs/compiler/supports.js.map +1 -1
  27. package/dist/commonjs/components/ActivityIndicator.js +6 -6
  28. package/dist/commonjs/components/ActivityIndicator.js.map +1 -1
  29. package/dist/commonjs/components/Button.js +6 -6
  30. package/dist/commonjs/components/Button.js.map +1 -1
  31. package/dist/commonjs/components/FlatList.js +10 -9
  32. package/dist/commonjs/components/FlatList.js.map +1 -1
  33. package/dist/commonjs/components/Image.js +6 -6
  34. package/dist/commonjs/components/Image.js.map +1 -1
  35. package/dist/commonjs/components/ImageBackground.js +22 -0
  36. package/dist/commonjs/components/ImageBackground.js.map +1 -0
  37. package/dist/commonjs/components/KeyboardAvoidingView.js +19 -0
  38. package/dist/commonjs/components/KeyboardAvoidingView.js.map +1 -0
  39. package/dist/commonjs/components/Pressable.js +17 -0
  40. package/dist/commonjs/components/Pressable.js.map +1 -0
  41. package/dist/commonjs/components/SafeAreaProvider.js +13 -0
  42. package/dist/commonjs/components/SafeAreaProvider.js.map +1 -0
  43. package/dist/commonjs/components/ScrollView.js +18 -0
  44. package/dist/commonjs/components/ScrollView.js.map +1 -0
  45. package/dist/commonjs/components/Switch.js +6 -6
  46. package/dist/commonjs/components/Switch.js.map +1 -1
  47. package/dist/commonjs/components/Text.js +6 -6
  48. package/dist/commonjs/components/Text.js.map +1 -1
  49. package/dist/commonjs/components/TextInput.js +12 -7
  50. package/dist/commonjs/components/TextInput.js.map +1 -1
  51. package/dist/commonjs/components/TouchableHighlight.js +17 -0
  52. package/dist/commonjs/components/TouchableHighlight.js.map +1 -0
  53. package/dist/commonjs/components/TouchableOpacity.js +17 -0
  54. package/dist/commonjs/components/TouchableOpacity.js.map +1 -0
  55. package/dist/commonjs/components/TouchableWithoutFeedback.js +17 -0
  56. package/dist/commonjs/components/TouchableWithoutFeedback.js.map +1 -0
  57. package/dist/commonjs/components/View.js +6 -6
  58. package/dist/commonjs/components/View.js.map +1 -1
  59. package/dist/commonjs/components/VirtualizedList.js +20 -0
  60. package/dist/commonjs/components/VirtualizedList.js.map +1 -0
  61. package/dist/commonjs/components/copyComponentProperties.js +19 -0
  62. package/dist/commonjs/components/copyComponentProperties.js.map +1 -0
  63. package/dist/commonjs/components/index.cjs +265 -0
  64. package/dist/commonjs/components/index.cjs.map +1 -0
  65. package/dist/commonjs/components/index.js +65 -1
  66. package/dist/commonjs/components/index.js.map +1 -1
  67. package/dist/commonjs/components/react-native-safe-area-context.native.js +3 -3
  68. package/dist/commonjs/components/react-native-safe-area-context.native.js.map +1 -1
  69. package/dist/commonjs/index.js +4 -15
  70. package/dist/commonjs/index.js.map +1 -1
  71. package/dist/commonjs/jest/index.js +6 -6
  72. package/dist/commonjs/jest/index.js.map +1 -1
  73. package/dist/commonjs/metro/index.js +8 -118
  74. package/dist/commonjs/metro/index.js.map +1 -1
  75. package/dist/commonjs/metro/injection-code.js +1 -1
  76. package/dist/commonjs/metro/injection-code.js.map +1 -1
  77. package/dist/commonjs/metro/metro-transformer.js +8 -1
  78. package/dist/commonjs/metro/metro-transformer.js.map +1 -1
  79. package/dist/commonjs/metro/override.js +6 -0
  80. package/dist/commonjs/metro/override.js.map +1 -0
  81. package/dist/commonjs/metro/resolver.js +15 -22
  82. package/dist/commonjs/metro/resolver.js.map +1 -1
  83. package/dist/commonjs/native/api.js +117 -0
  84. package/dist/commonjs/native/api.js.map +1 -0
  85. package/dist/commonjs/native/conditions/attributes.js +44 -0
  86. package/dist/commonjs/native/conditions/attributes.js.map +1 -0
  87. package/dist/commonjs/native/conditions/container-query.js.map +1 -0
  88. package/dist/commonjs/native/conditions/guards.js.map +1 -0
  89. package/dist/commonjs/native/conditions/index.js.map +1 -0
  90. package/dist/commonjs/native/conditions/media-query.js.map +1 -0
  91. package/dist/commonjs/native/index.js +28 -0
  92. package/dist/commonjs/native/index.js.map +1 -0
  93. package/dist/commonjs/native/objects.js.map +1 -0
  94. package/dist/commonjs/native/react/interaction.js.map +1 -0
  95. package/dist/commonjs/native/react/rules.js +259 -0
  96. package/dist/commonjs/native/react/rules.js.map +1 -0
  97. package/dist/commonjs/native/react/useNativeCss.js +166 -0
  98. package/dist/commonjs/native/react/useNativeCss.js.map +1 -0
  99. package/dist/commonjs/native/react/usePassthrough.js.map +1 -0
  100. package/dist/commonjs/native/react-native-css-metro-override.js +39 -0
  101. package/dist/commonjs/native/react-native-css-metro-override.js.map +1 -0
  102. package/dist/commonjs/native/reactivity.js +181 -0
  103. package/dist/commonjs/native/reactivity.js.map +1 -0
  104. package/dist/commonjs/native/reanimated.js.map +1 -0
  105. package/dist/commonjs/native/styles/calculate-props.js +162 -0
  106. package/dist/commonjs/native/styles/calculate-props.js.map +1 -0
  107. package/dist/commonjs/native/styles/constants.js.map +1 -0
  108. package/dist/commonjs/native/styles/defaults.js.map +1 -0
  109. package/dist/commonjs/native/styles/functions/animation-timing.js.map +1 -0
  110. package/dist/commonjs/native/styles/functions/calc.js.map +1 -0
  111. package/dist/commonjs/native/styles/functions/color-mix.js +50 -0
  112. package/dist/commonjs/native/styles/functions/color-mix.js.map +1 -0
  113. package/dist/commonjs/native/styles/functions/filters.js +84 -0
  114. package/dist/commonjs/native/styles/functions/filters.js.map +1 -0
  115. package/dist/commonjs/native/styles/functions/index.js +94 -0
  116. package/dist/commonjs/native/styles/functions/index.js.map +1 -0
  117. package/dist/commonjs/native/styles/functions/numeric-functions.js.map +1 -0
  118. package/dist/commonjs/native/styles/functions/platform-functions.js.map +1 -0
  119. package/dist/commonjs/native/styles/functions/string-functions.js.map +1 -0
  120. package/dist/commonjs/native/styles/functions/transform-functions.js +121 -0
  121. package/dist/commonjs/native/styles/functions/transform-functions.js.map +1 -0
  122. package/dist/commonjs/native/styles/index.js +345 -0
  123. package/dist/commonjs/native/styles/index.js.map +1 -0
  124. package/dist/commonjs/native/styles/line-height.js +25 -0
  125. package/dist/commonjs/native/styles/line-height.js.map +1 -0
  126. package/dist/commonjs/native/styles/resolve.js +107 -0
  127. package/dist/commonjs/native/styles/resolve.js.map +1 -0
  128. package/dist/commonjs/native/styles/shorthands/_handler.js +79 -0
  129. package/dist/commonjs/native/styles/shorthands/_handler.js.map +1 -0
  130. package/dist/commonjs/native/styles/shorthands/animation.js +61 -0
  131. package/dist/commonjs/native/styles/shorthands/animation.js.map +1 -0
  132. package/dist/commonjs/native/styles/shorthands/border.js.map +1 -0
  133. package/dist/commonjs/native/styles/shorthands/box-shadow.js +48 -0
  134. package/dist/commonjs/native/styles/shorthands/box-shadow.js.map +1 -0
  135. package/dist/commonjs/native/styles/shorthands/index.js.map +1 -0
  136. package/dist/commonjs/native/styles/shorthands/text-shadow.js.map +1 -0
  137. package/dist/commonjs/native/styles/shorthands/transform.js.map +1 -0
  138. package/dist/commonjs/native/styles/units.js.map +1 -0
  139. package/dist/commonjs/native/styles/variables.js +79 -0
  140. package/dist/commonjs/native/styles/variables.js.map +1 -0
  141. package/dist/commonjs/native-internal/README.md +11 -0
  142. package/dist/commonjs/native-internal/index.js +39 -0
  143. package/dist/commonjs/native-internal/index.js.map +1 -0
  144. package/dist/commonjs/native-internal/root.js +34 -0
  145. package/dist/commonjs/native-internal/root.js.map +1 -0
  146. package/dist/commonjs/native-internal/style-collection.js +110 -0
  147. package/dist/commonjs/native-internal/style-collection.js.map +1 -0
  148. package/dist/commonjs/native-internal/variables.js +27 -0
  149. package/dist/commonjs/native-internal/variables.js.map +1 -0
  150. package/dist/commonjs/runtime.js.map +1 -0
  151. package/dist/commonjs/runtime.native.js.map +1 -0
  152. package/dist/commonjs/runtime.types.js.map +1 -0
  153. package/dist/commonjs/utilities/dot-notation.types.js.map +1 -0
  154. package/dist/commonjs/utilities/index.js +39 -0
  155. package/dist/commonjs/utilities/index.js.map +1 -0
  156. package/dist/commonjs/utilities/specificity.js.map +1 -0
  157. package/dist/commonjs/utilities/style-descriptor.js +21 -0
  158. package/dist/commonjs/utilities/style-descriptor.js.map +1 -0
  159. package/dist/commonjs/web/api.js +89 -0
  160. package/dist/commonjs/web/api.js.map +1 -0
  161. package/dist/commonjs/web/assign-style.js.map +1 -0
  162. package/dist/commonjs/web/index.js.map +1 -0
  163. package/dist/commonjs/web/metro.js.map +1 -0
  164. package/dist/module/babel/index.js +2 -2
  165. package/dist/module/babel/index.js.map +1 -1
  166. package/dist/module/compiler/atRules.js +33 -41
  167. package/dist/module/compiler/atRules.js.map +1 -1
  168. package/dist/module/compiler/compiler.js +96 -39
  169. package/dist/module/compiler/compiler.js.map +1 -1
  170. package/dist/module/compiler/compiler.types.js +1 -1
  171. package/dist/module/compiler/compiler.types.js.map +1 -1
  172. package/dist/module/compiler/declarations.js +124 -61
  173. package/dist/module/compiler/declarations.js.map +1 -1
  174. package/dist/module/compiler/inline-variables.js +138 -0
  175. package/dist/module/compiler/inline-variables.js.map +1 -0
  176. package/dist/module/compiler/keyframes.js +1 -1
  177. package/dist/module/compiler/keyframes.js.map +1 -1
  178. package/dist/module/compiler/lightningcss-loader.js +46 -0
  179. package/dist/module/compiler/lightningcss-loader.js.map +1 -0
  180. package/dist/module/compiler/pseudo-elements.js +1 -1
  181. package/dist/module/compiler/pseudo-elements.js.map +1 -1
  182. package/dist/module/compiler/selector-builder.js +10 -7
  183. package/dist/module/compiler/selector-builder.js.map +1 -1
  184. package/dist/module/compiler/selectors.js +1 -1
  185. package/dist/module/compiler/selectors.js.map +1 -1
  186. package/dist/module/compiler/stylesheet.js +9 -12
  187. package/dist/module/compiler/stylesheet.js.map +1 -1
  188. package/dist/module/compiler/supports.js +3 -1
  189. package/dist/module/compiler/supports.js.map +1 -1
  190. package/dist/module/components/ActivityIndicator.js +4 -3
  191. package/dist/module/components/ActivityIndicator.js.map +1 -1
  192. package/dist/module/components/Button.js +4 -3
  193. package/dist/module/components/Button.js.map +1 -1
  194. package/dist/module/components/FlatList.js +8 -6
  195. package/dist/module/components/FlatList.js.map +1 -1
  196. package/dist/module/components/Image.js +4 -3
  197. package/dist/module/components/Image.js.map +1 -1
  198. package/dist/module/components/ImageBackground.js +18 -0
  199. package/dist/module/components/ImageBackground.js.map +1 -0
  200. package/dist/module/components/KeyboardAvoidingView.js +15 -0
  201. package/dist/module/components/KeyboardAvoidingView.js.map +1 -0
  202. package/dist/module/components/Pressable.js +13 -0
  203. package/dist/module/components/Pressable.js.map +1 -0
  204. package/dist/module/components/SafeAreaProvider.js +4 -0
  205. package/dist/module/components/SafeAreaProvider.js.map +1 -0
  206. package/dist/module/components/ScrollView.js +14 -0
  207. package/dist/module/components/ScrollView.js.map +1 -0
  208. package/dist/module/components/Switch.js +4 -3
  209. package/dist/module/components/Switch.js.map +1 -1
  210. package/dist/module/components/Text.js +4 -3
  211. package/dist/module/components/Text.js.map +1 -1
  212. package/dist/module/components/TextInput.js +10 -4
  213. package/dist/module/components/TextInput.js.map +1 -1
  214. package/dist/module/components/TouchableHighlight.js +13 -0
  215. package/dist/module/components/TouchableHighlight.js.map +1 -0
  216. package/dist/module/components/TouchableOpacity.js +13 -0
  217. package/dist/module/components/TouchableOpacity.js.map +1 -0
  218. package/dist/module/components/TouchableWithoutFeedback.js +13 -0
  219. package/dist/module/components/TouchableWithoutFeedback.js.map +1 -0
  220. package/dist/module/components/View.js +4 -3
  221. package/dist/module/components/View.js.map +1 -1
  222. package/dist/module/components/VirtualizedList.js +16 -0
  223. package/dist/module/components/VirtualizedList.js.map +1 -0
  224. package/dist/module/components/copyComponentProperties.js +15 -0
  225. package/dist/module/components/copyComponentProperties.js.map +1 -0
  226. package/dist/module/components/index.cjs +265 -0
  227. package/dist/module/components/index.cjs.map +1 -0
  228. package/dist/module/components/index.js +8 -0
  229. package/dist/module/components/index.js.map +1 -1
  230. package/dist/module/components/react-native-safe-area-context.native.js +2 -2
  231. package/dist/module/components/react-native-safe-area-context.native.js.map +1 -1
  232. package/dist/module/index.js +1 -2
  233. package/dist/module/index.js.map +1 -1
  234. package/dist/module/jest/index.js +4 -4
  235. package/dist/module/jest/index.js.map +1 -1
  236. package/dist/module/metro/index.js +8 -117
  237. package/dist/module/metro/index.js.map +1 -1
  238. package/dist/module/metro/injection-code.js +1 -1
  239. package/dist/module/metro/injection-code.js.map +1 -1
  240. package/dist/module/metro/metro-transformer.js +8 -1
  241. package/dist/module/metro/metro-transformer.js.map +1 -1
  242. package/dist/module/metro/override.js +4 -0
  243. package/dist/module/metro/override.js.map +1 -0
  244. package/dist/module/metro/resolver.js +15 -22
  245. package/dist/module/metro/resolver.js.map +1 -1
  246. package/dist/module/native/api.js +85 -0
  247. package/dist/module/native/api.js.map +1 -0
  248. package/dist/module/native/conditions/attributes.js +40 -0
  249. package/dist/module/native/conditions/attributes.js.map +1 -0
  250. package/dist/module/native/conditions/container-query.js.map +1 -0
  251. package/dist/module/native/conditions/guards.js.map +1 -0
  252. package/dist/module/native/conditions/index.js.map +1 -0
  253. package/dist/module/native/conditions/media-query.js.map +1 -0
  254. package/dist/module/native/index.js +5 -0
  255. package/dist/module/native/index.js.map +1 -0
  256. package/dist/module/native/objects.js.map +1 -0
  257. package/dist/module/native/react/interaction.js.map +1 -0
  258. package/dist/module/native/react/rules.js +252 -0
  259. package/dist/module/native/react/rules.js.map +1 -0
  260. package/dist/module/native/react/useNativeCss.js +160 -0
  261. package/dist/module/native/react/useNativeCss.js.map +1 -0
  262. package/dist/module/native/react/usePassthrough.js.map +1 -0
  263. package/dist/module/native/react-native-css-metro-override.js +37 -0
  264. package/dist/module/native/react-native-css-metro-override.js.map +1 -0
  265. package/dist/module/native/reactivity.js +169 -0
  266. package/dist/module/native/reactivity.js.map +1 -0
  267. package/dist/module/native/reanimated.js.map +1 -0
  268. package/dist/module/native/styles/calculate-props.js +157 -0
  269. package/dist/module/native/styles/calculate-props.js.map +1 -0
  270. package/dist/module/native/styles/constants.js.map +1 -0
  271. package/dist/module/native/styles/defaults.js.map +1 -0
  272. package/dist/module/native/styles/functions/animation-timing.js.map +1 -0
  273. package/dist/module/native/styles/functions/calc.js.map +1 -0
  274. package/dist/module/native/styles/functions/color-mix.js +45 -0
  275. package/dist/module/native/styles/functions/color-mix.js.map +1 -0
  276. package/dist/module/native/styles/functions/filters.js +70 -0
  277. package/dist/module/native/styles/functions/filters.js.map +1 -0
  278. package/dist/module/native/styles/functions/index.js +11 -0
  279. package/dist/module/native/styles/functions/index.js.map +1 -0
  280. package/dist/module/native/styles/functions/numeric-functions.js.map +1 -0
  281. package/dist/module/native/styles/functions/platform-functions.js.map +1 -0
  282. package/dist/module/native/styles/functions/string-functions.js.map +1 -0
  283. package/dist/module/native/styles/functions/transform-functions.js +114 -0
  284. package/dist/module/native/styles/functions/transform-functions.js.map +1 -0
  285. package/dist/module/native/styles/index.js +341 -0
  286. package/dist/module/native/styles/index.js.map +1 -0
  287. package/dist/module/native/styles/line-height.js +20 -0
  288. package/dist/module/native/styles/line-height.js.map +1 -0
  289. package/dist/module/native/styles/resolve.js +102 -0
  290. package/dist/module/native/styles/resolve.js.map +1 -0
  291. package/dist/module/native/styles/shorthands/_handler.js +74 -0
  292. package/dist/module/native/styles/shorthands/_handler.js.map +1 -0
  293. package/dist/module/native/styles/shorthands/animation.js +54 -0
  294. package/dist/module/native/styles/shorthands/animation.js.map +1 -0
  295. package/dist/module/native/styles/shorthands/border.js.map +1 -0
  296. package/dist/module/native/styles/shorthands/box-shadow.js +43 -0
  297. package/dist/module/native/styles/shorthands/box-shadow.js.map +1 -0
  298. package/dist/module/native/styles/shorthands/index.js.map +1 -0
  299. package/dist/module/native/styles/shorthands/text-shadow.js.map +1 -0
  300. package/dist/module/native/styles/shorthands/transform.js.map +1 -0
  301. package/dist/module/native/styles/units.js.map +1 -0
  302. package/dist/module/native/styles/variables.js +75 -0
  303. package/dist/module/native/styles/variables.js.map +1 -0
  304. package/dist/module/native-internal/README.md +11 -0
  305. package/dist/module/native-internal/index.js +6 -0
  306. package/dist/module/native-internal/index.js.map +1 -0
  307. package/dist/module/native-internal/root.js +30 -0
  308. package/dist/module/native-internal/root.js.map +1 -0
  309. package/dist/module/native-internal/style-collection.js +95 -0
  310. package/dist/module/native-internal/style-collection.js.map +1 -0
  311. package/dist/module/native-internal/variables.js +22 -0
  312. package/dist/module/native-internal/variables.js.map +1 -0
  313. package/dist/module/runtime.js.map +1 -0
  314. package/dist/module/runtime.native.js.map +1 -0
  315. package/dist/module/runtime.types.js.map +1 -0
  316. package/dist/module/utilities/dot-notation.types.js.map +1 -0
  317. package/dist/module/utilities/index.js +6 -0
  318. package/dist/module/utilities/index.js.map +1 -0
  319. package/dist/module/utilities/specificity.js.map +1 -0
  320. package/dist/module/utilities/style-descriptor.js +16 -0
  321. package/dist/module/utilities/style-descriptor.js.map +1 -0
  322. package/dist/module/web/api.js +79 -0
  323. package/dist/module/web/api.js.map +1 -0
  324. package/dist/module/web/assign-style.js.map +1 -0
  325. package/dist/module/web/index.js.map +1 -0
  326. package/dist/module/web/metro.js.map +1 -0
  327. package/dist/typescript/commonjs/.config/eslint.config.d.mts +3 -0
  328. package/dist/typescript/commonjs/.config/eslint.config.d.mts.map +1 -0
  329. package/dist/typescript/commonjs/eslint.config.d.mts +2 -0
  330. package/dist/typescript/commonjs/eslint.config.d.mts.map +1 -0
  331. package/dist/typescript/commonjs/example/app.config.d.ts.map +1 -1
  332. package/dist/typescript/commonjs/example/index.d.ts +2 -0
  333. package/dist/typescript/commonjs/example/index.d.ts.map +1 -0
  334. package/dist/typescript/commonjs/example/metro.config.d.ts +3 -0
  335. package/dist/typescript/commonjs/example/metro.config.d.ts.map +1 -0
  336. package/dist/typescript/commonjs/example/postcss.config.d.mts +7 -0
  337. package/dist/typescript/commonjs/example/postcss.config.d.mts.map +1 -0
  338. package/dist/typescript/commonjs/example/src/App.d.ts.map +1 -1
  339. package/dist/typescript/commonjs/src/babel/index.d.ts +3 -0
  340. package/dist/typescript/commonjs/src/babel/index.d.ts.map +1 -1
  341. package/dist/typescript/commonjs/src/compiler/atRules.d.ts +1 -1
  342. package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -1
  343. package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -1
  344. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +11 -7
  345. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -1
  346. package/dist/typescript/commonjs/src/compiler/declarations.d.ts +9 -8
  347. package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -1
  348. package/dist/typescript/commonjs/src/compiler/inline-variables.d.ts +4 -0
  349. package/dist/typescript/commonjs/src/compiler/inline-variables.d.ts.map +1 -0
  350. package/dist/typescript/commonjs/src/compiler/keyframes.d.ts +1 -1
  351. package/dist/typescript/commonjs/src/compiler/keyframes.d.ts.map +1 -1
  352. package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts +30 -0
  353. package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts.map +1 -0
  354. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts +1 -1
  355. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts.map +1 -1
  356. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts +2 -1
  357. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -1
  358. package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts +2 -11
  359. package/dist/typescript/commonjs/src/components/ActivityIndicator.d.ts.map +1 -1
  360. package/dist/typescript/commonjs/src/components/Button.d.ts +2 -11
  361. package/dist/typescript/commonjs/src/components/Button.d.ts.map +1 -1
  362. package/dist/typescript/commonjs/src/components/FlatList.d.ts +4 -8
  363. package/dist/typescript/commonjs/src/components/FlatList.d.ts.map +1 -1
  364. package/dist/typescript/commonjs/src/components/Image.d.ts +2 -6
  365. package/dist/typescript/commonjs/src/components/Image.d.ts.map +1 -1
  366. package/dist/typescript/commonjs/src/components/ImageBackground.d.ts +4 -0
  367. package/dist/typescript/commonjs/src/components/ImageBackground.d.ts.map +1 -0
  368. package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts +4 -0
  369. package/dist/typescript/commonjs/src/components/KeyboardAvoidingView.d.ts.map +1 -0
  370. package/dist/typescript/commonjs/src/components/Pressable.d.ts +4 -0
  371. package/dist/typescript/commonjs/src/components/Pressable.d.ts.map +1 -0
  372. package/dist/typescript/commonjs/src/components/SafeAreaProvider.d.ts +2 -0
  373. package/dist/typescript/commonjs/src/components/SafeAreaProvider.d.ts.map +1 -0
  374. package/dist/typescript/commonjs/src/components/ScrollView.d.ts +4 -0
  375. package/dist/typescript/commonjs/src/components/ScrollView.d.ts.map +1 -0
  376. package/dist/typescript/commonjs/src/components/Switch.d.ts +2 -6
  377. package/dist/typescript/commonjs/src/components/Switch.d.ts.map +1 -1
  378. package/dist/typescript/commonjs/src/components/Text.d.ts +2 -6
  379. package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -1
  380. package/dist/typescript/commonjs/src/components/TextInput.d.ts +2 -6
  381. package/dist/typescript/commonjs/src/components/TextInput.d.ts.map +1 -1
  382. package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts +4 -0
  383. package/dist/typescript/commonjs/src/components/TouchableHighlight.d.ts.map +1 -0
  384. package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts +4 -0
  385. package/dist/typescript/commonjs/src/components/TouchableOpacity.d.ts.map +1 -0
  386. package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts +4 -0
  387. package/dist/typescript/commonjs/src/components/TouchableWithoutFeedback.d.ts.map +1 -0
  388. package/dist/typescript/commonjs/src/components/View.d.ts +2 -6
  389. package/dist/typescript/commonjs/src/components/View.d.ts.map +1 -1
  390. package/dist/typescript/commonjs/src/components/VirtualizedList.d.ts +6 -0
  391. package/dist/typescript/commonjs/src/components/VirtualizedList.d.ts.map +1 -0
  392. package/dist/typescript/commonjs/src/components/copyComponentProperties.d.ts +5 -0
  393. package/dist/typescript/commonjs/src/components/copyComponentProperties.d.ts.map +1 -0
  394. package/dist/typescript/commonjs/src/components/index.d.cts +2 -0
  395. package/dist/typescript/commonjs/src/components/index.d.cts.map +1 -0
  396. package/dist/typescript/commonjs/src/components/index.d.ts +8 -0
  397. package/dist/typescript/commonjs/src/components/index.d.ts.map +1 -1
  398. package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
  399. package/dist/typescript/commonjs/src/index.d.ts +0 -1
  400. package/dist/typescript/commonjs/src/index.d.ts.map +1 -1
  401. package/dist/typescript/commonjs/src/jest/index.d.ts +1 -1
  402. package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -1
  403. package/dist/typescript/commonjs/src/metro/index.d.ts +1 -1
  404. package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -1
  405. package/dist/typescript/commonjs/src/metro/metro-transformer.d.ts.map +1 -1
  406. package/dist/typescript/commonjs/src/metro/override.d.ts +2 -0
  407. package/dist/typescript/commonjs/src/metro/override.d.ts.map +1 -0
  408. package/dist/typescript/commonjs/src/metro/resolver.d.ts.map +1 -1
  409. package/dist/typescript/commonjs/src/native/api.d.ts +26 -0
  410. package/dist/typescript/commonjs/src/native/api.d.ts.map +1 -0
  411. package/dist/typescript/commonjs/src/native/conditions/attributes.d.ts +4 -0
  412. package/dist/typescript/commonjs/src/native/conditions/attributes.d.ts.map +1 -0
  413. package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts +7 -0
  414. package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts.map +1 -0
  415. package/dist/typescript/commonjs/src/native/conditions/guards.d.ts.map +1 -0
  416. package/dist/typescript/commonjs/src/native/conditions/index.d.ts +6 -0
  417. package/dist/typescript/commonjs/src/native/conditions/index.d.ts.map +1 -0
  418. package/dist/typescript/commonjs/src/native/conditions/media-query.d.ts +4 -0
  419. package/dist/typescript/commonjs/src/native/conditions/media-query.d.ts.map +1 -0
  420. package/dist/typescript/commonjs/src/native/index.d.ts +4 -0
  421. package/dist/typescript/commonjs/src/native/index.d.ts.map +1 -0
  422. package/dist/typescript/commonjs/src/native/objects.d.ts.map +1 -0
  423. package/dist/typescript/commonjs/src/native/react/interaction.d.ts.map +1 -0
  424. package/dist/typescript/commonjs/src/native/react/rules.d.ts.map +1 -0
  425. package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts.map +1 -0
  426. package/dist/typescript/commonjs/src/native/react/usePassthrough.d.ts.map +1 -0
  427. package/dist/typescript/commonjs/src/native/react-native-css-metro-override.d.ts +2 -0
  428. package/dist/typescript/commonjs/src/native/react-native-css-metro-override.d.ts.map +1 -0
  429. package/dist/typescript/commonjs/src/native/reactivity.d.ts +52 -0
  430. package/dist/typescript/commonjs/src/native/reactivity.d.ts.map +1 -0
  431. package/dist/typescript/commonjs/src/native/reanimated.d.ts.map +1 -0
  432. package/dist/typescript/commonjs/src/native/styles/calculate-props.d.ts +10 -0
  433. package/dist/typescript/commonjs/src/native/styles/calculate-props.d.ts.map +1 -0
  434. package/dist/typescript/commonjs/src/native/styles/constants.d.ts.map +1 -0
  435. package/dist/typescript/commonjs/src/native/styles/defaults.d.ts.map +1 -0
  436. package/dist/typescript/commonjs/src/native/styles/functions/animation-timing.d.ts.map +1 -0
  437. package/dist/typescript/commonjs/src/native/styles/functions/calc.d.ts.map +1 -0
  438. package/dist/typescript/commonjs/src/native/styles/functions/color-mix.d.ts +3 -0
  439. package/dist/typescript/commonjs/src/native/styles/functions/color-mix.d.ts.map +1 -0
  440. package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts.map +1 -0
  441. package/dist/typescript/commonjs/src/native/styles/functions/index.d.ts +9 -0
  442. package/dist/typescript/commonjs/src/native/styles/functions/index.d.ts.map +1 -0
  443. package/dist/typescript/commonjs/src/native/styles/functions/numeric-functions.d.ts.map +1 -0
  444. package/dist/typescript/commonjs/src/native/styles/functions/platform-functions.d.ts.map +1 -0
  445. package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts.map +1 -0
  446. package/dist/typescript/commonjs/src/native/styles/functions/transform-functions.d.ts.map +1 -0
  447. package/dist/typescript/commonjs/src/native/styles/index.d.ts +19 -0
  448. package/dist/typescript/commonjs/src/native/styles/index.d.ts.map +1 -0
  449. package/dist/typescript/commonjs/src/native/styles/line-height.d.ts +3 -0
  450. package/dist/typescript/commonjs/src/native/styles/line-height.d.ts.map +1 -0
  451. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts +18 -0
  452. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts.map +1 -0
  453. package/dist/typescript/commonjs/src/native/styles/shorthands/_handler.d.ts.map +1 -0
  454. package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts +5 -0
  455. package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts.map +1 -0
  456. package/dist/typescript/commonjs/src/native/styles/shorthands/border.d.ts.map +1 -0
  457. package/dist/typescript/commonjs/src/native/styles/shorthands/box-shadow.d.ts.map +1 -0
  458. package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts.map +1 -0
  459. package/dist/typescript/commonjs/src/native/styles/shorthands/text-shadow.d.ts.map +1 -0
  460. package/dist/typescript/commonjs/src/native/styles/shorthands/transform.d.ts.map +1 -0
  461. package/dist/typescript/commonjs/src/native/styles/units.d.ts.map +1 -0
  462. package/dist/typescript/commonjs/src/native/styles/variables.d.ts +5 -0
  463. package/dist/typescript/commonjs/src/native/styles/variables.d.ts.map +1 -0
  464. package/dist/typescript/commonjs/src/native-internal/index.d.ts +4 -0
  465. package/dist/typescript/commonjs/src/native-internal/index.d.ts.map +1 -0
  466. package/dist/typescript/commonjs/src/native-internal/root.d.ts +11 -0
  467. package/dist/typescript/commonjs/src/native-internal/root.d.ts.map +1 -0
  468. package/dist/typescript/commonjs/src/native-internal/style-collection.d.ts +16 -0
  469. package/dist/typescript/commonjs/src/native-internal/style-collection.d.ts.map +1 -0
  470. package/dist/typescript/commonjs/src/native-internal/variables.d.ts +8 -0
  471. package/dist/typescript/commonjs/src/native-internal/variables.d.ts.map +1 -0
  472. package/dist/typescript/commonjs/src/runtime.d.ts.map +1 -0
  473. package/dist/typescript/commonjs/src/runtime.native.d.ts.map +1 -0
  474. package/dist/typescript/commonjs/src/runtime.types.d.ts +49 -0
  475. package/dist/typescript/commonjs/src/runtime.types.d.ts.map +1 -0
  476. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts +23 -0
  477. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts.map +1 -0
  478. package/dist/typescript/commonjs/src/utilities/index.d.ts +4 -0
  479. package/dist/typescript/commonjs/src/utilities/index.d.ts.map +1 -0
  480. package/dist/typescript/commonjs/src/utilities/specificity.d.ts +13 -0
  481. package/dist/typescript/commonjs/src/utilities/specificity.d.ts.map +1 -0
  482. package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts +4 -0
  483. package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts.map +1 -0
  484. package/dist/typescript/commonjs/src/web/api.d.ts +16 -0
  485. package/dist/typescript/commonjs/src/web/api.d.ts.map +1 -0
  486. package/dist/typescript/commonjs/src/web/assign-style.d.ts.map +1 -0
  487. package/dist/typescript/commonjs/src/web/index.d.ts.map +1 -0
  488. package/dist/typescript/commonjs/src/web/metro.d.ts.map +1 -0
  489. package/dist/typescript/module/.config/eslint.config.d.mts +3 -0
  490. package/dist/typescript/module/.config/eslint.config.d.mts.map +1 -0
  491. package/dist/typescript/module/eslint.config.d.mts +2 -0
  492. package/dist/typescript/module/eslint.config.d.mts.map +1 -0
  493. package/dist/typescript/module/example/app.config.d.ts.map +1 -1
  494. package/dist/typescript/module/example/index.d.ts +2 -0
  495. package/dist/typescript/module/example/index.d.ts.map +1 -0
  496. package/dist/typescript/module/example/metro.config.d.ts +3 -0
  497. package/dist/typescript/module/example/metro.config.d.ts.map +1 -0
  498. package/dist/typescript/module/example/postcss.config.d.mts +7 -0
  499. package/dist/typescript/module/example/postcss.config.d.mts.map +1 -0
  500. package/dist/typescript/module/example/src/App.d.ts.map +1 -1
  501. package/dist/typescript/module/src/babel/index.d.ts +3 -0
  502. package/dist/typescript/module/src/babel/index.d.ts.map +1 -1
  503. package/dist/typescript/module/src/compiler/atRules.d.ts +1 -1
  504. package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -1
  505. package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -1
  506. package/dist/typescript/module/src/compiler/compiler.types.d.ts +11 -7
  507. package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -1
  508. package/dist/typescript/module/src/compiler/declarations.d.ts +9 -8
  509. package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -1
  510. package/dist/typescript/module/src/compiler/inline-variables.d.ts +4 -0
  511. package/dist/typescript/module/src/compiler/inline-variables.d.ts.map +1 -0
  512. package/dist/typescript/module/src/compiler/keyframes.d.ts +1 -1
  513. package/dist/typescript/module/src/compiler/keyframes.d.ts.map +1 -1
  514. package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts +30 -0
  515. package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts.map +1 -0
  516. package/dist/typescript/module/src/compiler/selector-builder.d.ts +1 -1
  517. package/dist/typescript/module/src/compiler/selector-builder.d.ts.map +1 -1
  518. package/dist/typescript/module/src/compiler/stylesheet.d.ts +2 -1
  519. package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -1
  520. package/dist/typescript/module/src/components/ActivityIndicator.d.ts +2 -11
  521. package/dist/typescript/module/src/components/ActivityIndicator.d.ts.map +1 -1
  522. package/dist/typescript/module/src/components/Button.d.ts +2 -11
  523. package/dist/typescript/module/src/components/Button.d.ts.map +1 -1
  524. package/dist/typescript/module/src/components/FlatList.d.ts +4 -8
  525. package/dist/typescript/module/src/components/FlatList.d.ts.map +1 -1
  526. package/dist/typescript/module/src/components/Image.d.ts +2 -6
  527. package/dist/typescript/module/src/components/Image.d.ts.map +1 -1
  528. package/dist/typescript/module/src/components/ImageBackground.d.ts +4 -0
  529. package/dist/typescript/module/src/components/ImageBackground.d.ts.map +1 -0
  530. package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts +4 -0
  531. package/dist/typescript/module/src/components/KeyboardAvoidingView.d.ts.map +1 -0
  532. package/dist/typescript/module/src/components/Pressable.d.ts +4 -0
  533. package/dist/typescript/module/src/components/Pressable.d.ts.map +1 -0
  534. package/dist/typescript/module/src/components/SafeAreaProvider.d.ts +2 -0
  535. package/dist/typescript/module/src/components/SafeAreaProvider.d.ts.map +1 -0
  536. package/dist/typescript/module/src/components/ScrollView.d.ts +4 -0
  537. package/dist/typescript/module/src/components/ScrollView.d.ts.map +1 -0
  538. package/dist/typescript/module/src/components/Switch.d.ts +2 -6
  539. package/dist/typescript/module/src/components/Switch.d.ts.map +1 -1
  540. package/dist/typescript/module/src/components/Text.d.ts +2 -6
  541. package/dist/typescript/module/src/components/Text.d.ts.map +1 -1
  542. package/dist/typescript/module/src/components/TextInput.d.ts +2 -6
  543. package/dist/typescript/module/src/components/TextInput.d.ts.map +1 -1
  544. package/dist/typescript/module/src/components/TouchableHighlight.d.ts +4 -0
  545. package/dist/typescript/module/src/components/TouchableHighlight.d.ts.map +1 -0
  546. package/dist/typescript/module/src/components/TouchableOpacity.d.ts +4 -0
  547. package/dist/typescript/module/src/components/TouchableOpacity.d.ts.map +1 -0
  548. package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts +4 -0
  549. package/dist/typescript/module/src/components/TouchableWithoutFeedback.d.ts.map +1 -0
  550. package/dist/typescript/module/src/components/View.d.ts +2 -6
  551. package/dist/typescript/module/src/components/View.d.ts.map +1 -1
  552. package/dist/typescript/module/src/components/VirtualizedList.d.ts +6 -0
  553. package/dist/typescript/module/src/components/VirtualizedList.d.ts.map +1 -0
  554. package/dist/typescript/module/src/components/copyComponentProperties.d.ts +5 -0
  555. package/dist/typescript/module/src/components/copyComponentProperties.d.ts.map +1 -0
  556. package/dist/typescript/module/src/components/index.d.cts +2 -0
  557. package/dist/typescript/module/src/components/index.d.cts.map +1 -0
  558. package/dist/typescript/module/src/components/index.d.ts +8 -0
  559. package/dist/typescript/module/src/components/index.d.ts.map +1 -1
  560. package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
  561. package/dist/typescript/module/src/index.d.ts +0 -1
  562. package/dist/typescript/module/src/index.d.ts.map +1 -1
  563. package/dist/typescript/module/src/jest/index.d.ts +1 -1
  564. package/dist/typescript/module/src/jest/index.d.ts.map +1 -1
  565. package/dist/typescript/module/src/metro/index.d.ts +1 -1
  566. package/dist/typescript/module/src/metro/index.d.ts.map +1 -1
  567. package/dist/typescript/module/src/metro/metro-transformer.d.ts.map +1 -1
  568. package/dist/typescript/module/src/metro/override.d.ts +2 -0
  569. package/dist/typescript/module/src/metro/override.d.ts.map +1 -0
  570. package/dist/typescript/module/src/metro/resolver.d.ts.map +1 -1
  571. package/dist/typescript/module/src/native/api.d.ts +26 -0
  572. package/dist/typescript/module/src/native/api.d.ts.map +1 -0
  573. package/dist/typescript/module/src/native/conditions/attributes.d.ts +4 -0
  574. package/dist/typescript/module/src/native/conditions/attributes.d.ts.map +1 -0
  575. package/dist/typescript/module/src/native/conditions/container-query.d.ts +7 -0
  576. package/dist/typescript/module/src/native/conditions/container-query.d.ts.map +1 -0
  577. package/dist/typescript/module/src/native/conditions/guards.d.ts.map +1 -0
  578. package/dist/typescript/module/src/native/conditions/index.d.ts +6 -0
  579. package/dist/typescript/module/src/native/conditions/index.d.ts.map +1 -0
  580. package/dist/typescript/module/src/native/conditions/media-query.d.ts +4 -0
  581. package/dist/typescript/module/src/native/conditions/media-query.d.ts.map +1 -0
  582. package/dist/typescript/module/src/native/index.d.ts +4 -0
  583. package/dist/typescript/module/src/native/index.d.ts.map +1 -0
  584. package/dist/typescript/module/src/native/objects.d.ts.map +1 -0
  585. package/dist/typescript/module/src/native/react/interaction.d.ts.map +1 -0
  586. package/dist/typescript/module/src/native/react/rules.d.ts.map +1 -0
  587. package/dist/typescript/module/src/native/react/useNativeCss.d.ts.map +1 -0
  588. package/dist/typescript/module/src/native/react/usePassthrough.d.ts.map +1 -0
  589. package/dist/typescript/module/src/native/react-native-css-metro-override.d.ts +2 -0
  590. package/dist/typescript/module/src/native/react-native-css-metro-override.d.ts.map +1 -0
  591. package/dist/typescript/module/src/native/reactivity.d.ts +52 -0
  592. package/dist/typescript/module/src/native/reactivity.d.ts.map +1 -0
  593. package/dist/typescript/module/src/native/reanimated.d.ts.map +1 -0
  594. package/dist/typescript/module/src/native/styles/calculate-props.d.ts +10 -0
  595. package/dist/typescript/module/src/native/styles/calculate-props.d.ts.map +1 -0
  596. package/dist/typescript/module/src/native/styles/constants.d.ts.map +1 -0
  597. package/dist/typescript/module/src/native/styles/defaults.d.ts.map +1 -0
  598. package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts.map +1 -0
  599. package/dist/typescript/module/src/native/styles/functions/calc.d.ts.map +1 -0
  600. package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts +3 -0
  601. package/dist/typescript/module/src/native/styles/functions/color-mix.d.ts.map +1 -0
  602. package/dist/typescript/module/src/native/styles/functions/filters.d.ts.map +1 -0
  603. package/dist/typescript/module/src/native/styles/functions/index.d.ts +9 -0
  604. package/dist/typescript/module/src/native/styles/functions/index.d.ts.map +1 -0
  605. package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts.map +1 -0
  606. package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts.map +1 -0
  607. package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts.map +1 -0
  608. package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts.map +1 -0
  609. package/dist/typescript/module/src/native/styles/index.d.ts +19 -0
  610. package/dist/typescript/module/src/native/styles/index.d.ts.map +1 -0
  611. package/dist/typescript/module/src/native/styles/line-height.d.ts +3 -0
  612. package/dist/typescript/module/src/native/styles/line-height.d.ts.map +1 -0
  613. package/dist/typescript/module/src/native/styles/resolve.d.ts +18 -0
  614. package/dist/typescript/module/src/native/styles/resolve.d.ts.map +1 -0
  615. package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts.map +1 -0
  616. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts +5 -0
  617. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts.map +1 -0
  618. package/dist/typescript/module/src/native/styles/shorthands/border.d.ts.map +1 -0
  619. package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts.map +1 -0
  620. package/dist/typescript/module/src/native/styles/shorthands/index.d.ts.map +1 -0
  621. package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts.map +1 -0
  622. package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts.map +1 -0
  623. package/dist/typescript/module/src/native/styles/units.d.ts.map +1 -0
  624. package/dist/typescript/module/src/native/styles/variables.d.ts +5 -0
  625. package/dist/typescript/module/src/native/styles/variables.d.ts.map +1 -0
  626. package/dist/typescript/module/src/native-internal/index.d.ts +4 -0
  627. package/dist/typescript/module/src/native-internal/index.d.ts.map +1 -0
  628. package/dist/typescript/module/src/native-internal/root.d.ts +11 -0
  629. package/dist/typescript/module/src/native-internal/root.d.ts.map +1 -0
  630. package/dist/typescript/module/src/native-internal/style-collection.d.ts +16 -0
  631. package/dist/typescript/module/src/native-internal/style-collection.d.ts.map +1 -0
  632. package/dist/typescript/module/src/native-internal/variables.d.ts +8 -0
  633. package/dist/typescript/module/src/native-internal/variables.d.ts.map +1 -0
  634. package/dist/typescript/module/src/runtime.d.ts.map +1 -0
  635. package/dist/typescript/module/src/runtime.native.d.ts.map +1 -0
  636. package/dist/typescript/module/src/runtime.types.d.ts +49 -0
  637. package/dist/typescript/module/src/runtime.types.d.ts.map +1 -0
  638. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts +23 -0
  639. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts.map +1 -0
  640. package/dist/typescript/module/src/utilities/index.d.ts +4 -0
  641. package/dist/typescript/module/src/utilities/index.d.ts.map +1 -0
  642. package/dist/typescript/module/src/utilities/specificity.d.ts +13 -0
  643. package/dist/typescript/module/src/utilities/specificity.d.ts.map +1 -0
  644. package/dist/typescript/module/src/utilities/style-descriptor.d.ts +4 -0
  645. package/dist/typescript/module/src/utilities/style-descriptor.d.ts.map +1 -0
  646. package/dist/typescript/module/src/web/api.d.ts +16 -0
  647. package/dist/typescript/module/src/web/api.d.ts.map +1 -0
  648. package/dist/typescript/module/src/web/assign-style.d.ts.map +1 -0
  649. package/dist/typescript/module/src/web/index.d.ts.map +1 -0
  650. package/dist/typescript/module/src/web/metro.d.ts.map +1 -0
  651. package/package.json +101 -58
  652. package/src/babel/index.ts +2 -2
  653. package/src/compiler/atRules.ts +32 -43
  654. package/src/compiler/compiler.ts +115 -42
  655. package/src/compiler/compiler.types.ts +16 -7
  656. package/src/compiler/declarations.ts +203 -96
  657. package/src/compiler/inline-variables.ts +209 -0
  658. package/src/compiler/keyframes.ts +2 -2
  659. package/src/compiler/lightningcss-loader.ts +59 -0
  660. package/src/compiler/pseudo-elements.ts +1 -1
  661. package/src/compiler/selector-builder.ts +14 -8
  662. package/src/compiler/selectors.ts +1 -1
  663. package/src/compiler/stylesheet.ts +10 -17
  664. package/src/compiler/supports.ts +2 -0
  665. package/src/components/ActivityIndicator.tsx +11 -8
  666. package/src/components/Button.tsx +11 -6
  667. package/src/components/FlatList.tsx +20 -10
  668. package/src/components/Image.tsx +11 -6
  669. package/src/components/ImageBackground.tsx +30 -0
  670. package/src/components/KeyboardAvoidingView.tsx +27 -0
  671. package/src/components/Pressable.tsx +22 -0
  672. package/src/components/SafeAreaProvider.tsx +1 -0
  673. package/src/components/ScrollView.tsx +23 -0
  674. package/src/components/Switch.tsx +9 -4
  675. package/src/components/Text.tsx +9 -4
  676. package/src/components/TextInput.tsx +17 -7
  677. package/src/components/TouchableHighlight.tsx +25 -0
  678. package/src/components/TouchableOpacity.tsx +25 -0
  679. package/src/components/TouchableWithoutFeedback.tsx +25 -0
  680. package/src/components/View.tsx +9 -4
  681. package/src/components/VirtualizedList.tsx +37 -0
  682. package/src/components/copyComponentProperties.ts +21 -0
  683. package/src/components/index.cts +263 -0
  684. package/src/components/index.ts +17 -0
  685. package/src/components/react-native-safe-area-context.native.tsx +7 -3
  686. package/src/index.ts +0 -2
  687. package/src/jest/index.ts +6 -5
  688. package/src/metro/index.ts +10 -166
  689. package/src/metro/injection-code.ts +1 -1
  690. package/src/metro/metro-transformer.ts +15 -1
  691. package/src/metro/override.ts +1 -0
  692. package/src/metro/resolver.ts +29 -28
  693. package/src/native/api.tsx +124 -0
  694. package/src/native/conditions/attributes.ts +54 -0
  695. package/src/native/conditions/container-query.ts +162 -0
  696. package/src/native/conditions/index.ts +55 -0
  697. package/src/native/conditions/media-query.ts +99 -0
  698. package/src/native/index.ts +3 -0
  699. package/src/native/react/rules.ts +336 -0
  700. package/src/native/react/useNativeCss.ts +211 -0
  701. package/src/native/reactivity.ts +248 -0
  702. package/src/native/styles/calculate-props.ts +217 -0
  703. package/src/native/styles/functions/color-mix.ts +68 -0
  704. package/src/native/styles/functions/filters.ts +99 -0
  705. package/src/native/styles/functions/index.ts +8 -0
  706. package/src/native/styles/functions/transform-functions.ts +85 -0
  707. package/src/native/styles/index.ts +474 -0
  708. package/src/native/styles/line-height.ts +25 -0
  709. package/src/native/styles/resolve.ts +164 -0
  710. package/src/native/styles/shorthands/_handler.ts +122 -0
  711. package/src/native/styles/shorthands/animation.ts +131 -0
  712. package/src/native/styles/shorthands/box-shadow.ts +71 -0
  713. package/src/native/styles/variables.ts +88 -0
  714. package/src/native-internal/README.md +11 -0
  715. package/src/native-internal/index.ts +3 -0
  716. package/src/native-internal/root.ts +44 -0
  717. package/src/native-internal/style-collection.ts +148 -0
  718. package/src/native-internal/variables.tsx +36 -0
  719. package/src/runtime.types.ts +150 -0
  720. package/src/utilities/dot-notation.types.ts +125 -0
  721. package/src/utilities/index.ts +3 -0
  722. package/src/utilities/specificity.ts +45 -0
  723. package/src/utilities/style-descriptor.ts +24 -0
  724. package/src/web/api.tsx +120 -0
  725. package/types.d.ts +3 -0
  726. package/dist/commonjs/poison.pill.js +0 -39
  727. package/dist/commonjs/poison.pill.js.map +0 -1
  728. package/dist/commonjs/runtime/index.js +0 -17
  729. package/dist/commonjs/runtime/index.js.map +0 -1
  730. package/dist/commonjs/runtime/native/api.js +0 -115
  731. package/dist/commonjs/runtime/native/api.js.map +0 -1
  732. package/dist/commonjs/runtime/native/conditions/attributes.js +0 -42
  733. package/dist/commonjs/runtime/native/conditions/attributes.js.map +0 -1
  734. package/dist/commonjs/runtime/native/conditions/container-query.js.map +0 -1
  735. package/dist/commonjs/runtime/native/conditions/guards.js.map +0 -1
  736. package/dist/commonjs/runtime/native/conditions/index.js.map +0 -1
  737. package/dist/commonjs/runtime/native/conditions/media-query.js.map +0 -1
  738. package/dist/commonjs/runtime/native/index.js +0 -28
  739. package/dist/commonjs/runtime/native/index.js.map +0 -1
  740. package/dist/commonjs/runtime/native/metro.js.map +0 -1
  741. package/dist/commonjs/runtime/native/react/interaction.js.map +0 -1
  742. package/dist/commonjs/runtime/native/react/rules.js +0 -259
  743. package/dist/commonjs/runtime/native/react/rules.js.map +0 -1
  744. package/dist/commonjs/runtime/native/react/useNativeCss.js +0 -159
  745. package/dist/commonjs/runtime/native/react/useNativeCss.js.map +0 -1
  746. package/dist/commonjs/runtime/native/react/usePassthrough.js.map +0 -1
  747. package/dist/commonjs/runtime/native/reactivity.js +0 -185
  748. package/dist/commonjs/runtime/native/reactivity.js.map +0 -1
  749. package/dist/commonjs/runtime/native/reanimated.js.map +0 -1
  750. package/dist/commonjs/runtime/native/styles/calculate-props.js +0 -148
  751. package/dist/commonjs/runtime/native/styles/calculate-props.js.map +0 -1
  752. package/dist/commonjs/runtime/native/styles/constants.js.map +0 -1
  753. package/dist/commonjs/runtime/native/styles/defaults.js.map +0 -1
  754. package/dist/commonjs/runtime/native/styles/functions/animation-timing.js.map +0 -1
  755. package/dist/commonjs/runtime/native/styles/functions/calc.js.map +0 -1
  756. package/dist/commonjs/runtime/native/styles/functions/filters.js +0 -84
  757. package/dist/commonjs/runtime/native/styles/functions/filters.js.map +0 -1
  758. package/dist/commonjs/runtime/native/styles/functions/index.js +0 -83
  759. package/dist/commonjs/runtime/native/styles/functions/index.js.map +0 -1
  760. package/dist/commonjs/runtime/native/styles/functions/numeric-functions.js.map +0 -1
  761. package/dist/commonjs/runtime/native/styles/functions/platform-functions.js.map +0 -1
  762. package/dist/commonjs/runtime/native/styles/functions/string-functions.js.map +0 -1
  763. package/dist/commonjs/runtime/native/styles/functions/transform-functions.js +0 -121
  764. package/dist/commonjs/runtime/native/styles/functions/transform-functions.js.map +0 -1
  765. package/dist/commonjs/runtime/native/styles/index.js +0 -115
  766. package/dist/commonjs/runtime/native/styles/index.js.map +0 -1
  767. package/dist/commonjs/runtime/native/styles/resolve.js +0 -106
  768. package/dist/commonjs/runtime/native/styles/resolve.js.map +0 -1
  769. package/dist/commonjs/runtime/native/styles/shorthands/_handler.js +0 -79
  770. package/dist/commonjs/runtime/native/styles/shorthands/_handler.js.map +0 -1
  771. package/dist/commonjs/runtime/native/styles/shorthands/animation.js +0 -57
  772. package/dist/commonjs/runtime/native/styles/shorthands/animation.js.map +0 -1
  773. package/dist/commonjs/runtime/native/styles/shorthands/border.js.map +0 -1
  774. package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js +0 -50
  775. package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js.map +0 -1
  776. package/dist/commonjs/runtime/native/styles/shorthands/index.js.map +0 -1
  777. package/dist/commonjs/runtime/native/styles/shorthands/text-shadow.js.map +0 -1
  778. package/dist/commonjs/runtime/native/styles/shorthands/transform.js.map +0 -1
  779. package/dist/commonjs/runtime/native/styles/units.js.map +0 -1
  780. package/dist/commonjs/runtime/native/styles/variables.js +0 -79
  781. package/dist/commonjs/runtime/native/styles/variables.js.map +0 -1
  782. package/dist/commonjs/runtime/runtime.js.map +0 -1
  783. package/dist/commonjs/runtime/runtime.native.js.map +0 -1
  784. package/dist/commonjs/runtime/runtime.types.js.map +0 -1
  785. package/dist/commonjs/runtime/utils/components.js +0 -18
  786. package/dist/commonjs/runtime/utils/components.js.map +0 -1
  787. package/dist/commonjs/runtime/utils/dot-notation.types.js.map +0 -1
  788. package/dist/commonjs/runtime/utils/index.js +0 -61
  789. package/dist/commonjs/runtime/utils/index.js.map +0 -1
  790. package/dist/commonjs/runtime/utils/objects.js.map +0 -1
  791. package/dist/commonjs/runtime/utils/specificity.js.map +0 -1
  792. package/dist/commonjs/runtime/utils/style-value.js +0 -21
  793. package/dist/commonjs/runtime/utils/style-value.js.map +0 -1
  794. package/dist/commonjs/runtime/utils/utils.types.js +0 -6
  795. package/dist/commonjs/runtime/utils/utils.types.js.map +0 -1
  796. package/dist/commonjs/runtime/web/api.js +0 -86
  797. package/dist/commonjs/runtime/web/api.js.map +0 -1
  798. package/dist/commonjs/runtime/web/assign-style.js.map +0 -1
  799. package/dist/commonjs/runtime/web/index.js.map +0 -1
  800. package/dist/commonjs/runtime/web/metro.js +0 -6
  801. package/dist/commonjs/runtime/web/metro.js.map +0 -1
  802. package/dist/commonjs/style-collection/index.js +0 -110
  803. package/dist/commonjs/style-collection/index.js.map +0 -1
  804. package/dist/commonjs/style-collection/root.js +0 -29
  805. package/dist/commonjs/style-collection/root.js.map +0 -1
  806. package/dist/module/poison.pill.js +0 -37
  807. package/dist/module/poison.pill.js.map +0 -1
  808. package/dist/module/runtime/index.js +0 -9
  809. package/dist/module/runtime/index.js.map +0 -1
  810. package/dist/module/runtime/native/api.js +0 -94
  811. package/dist/module/runtime/native/api.js.map +0 -1
  812. package/dist/module/runtime/native/conditions/attributes.js +0 -38
  813. package/dist/module/runtime/native/conditions/attributes.js.map +0 -1
  814. package/dist/module/runtime/native/conditions/container-query.js.map +0 -1
  815. package/dist/module/runtime/native/conditions/guards.js.map +0 -1
  816. package/dist/module/runtime/native/conditions/index.js.map +0 -1
  817. package/dist/module/runtime/native/conditions/media-query.js.map +0 -1
  818. package/dist/module/runtime/native/index.js +0 -5
  819. package/dist/module/runtime/native/index.js.map +0 -1
  820. package/dist/module/runtime/native/metro.js.map +0 -1
  821. package/dist/module/runtime/native/react/interaction.js.map +0 -1
  822. package/dist/module/runtime/native/react/rules.js +0 -251
  823. package/dist/module/runtime/native/react/rules.js.map +0 -1
  824. package/dist/module/runtime/native/react/useNativeCss.js +0 -153
  825. package/dist/module/runtime/native/react/useNativeCss.js.map +0 -1
  826. package/dist/module/runtime/native/react/usePassthrough.js.map +0 -1
  827. package/dist/module/runtime/native/reactivity.js +0 -173
  828. package/dist/module/runtime/native/reactivity.js.map +0 -1
  829. package/dist/module/runtime/native/reanimated.js.map +0 -1
  830. package/dist/module/runtime/native/styles/calculate-props.js +0 -143
  831. package/dist/module/runtime/native/styles/calculate-props.js.map +0 -1
  832. package/dist/module/runtime/native/styles/constants.js.map +0 -1
  833. package/dist/module/runtime/native/styles/defaults.js.map +0 -1
  834. package/dist/module/runtime/native/styles/functions/animation-timing.js.map +0 -1
  835. package/dist/module/runtime/native/styles/functions/calc.js.map +0 -1
  836. package/dist/module/runtime/native/styles/functions/filters.js +0 -70
  837. package/dist/module/runtime/native/styles/functions/filters.js.map +0 -1
  838. package/dist/module/runtime/native/styles/functions/index.js +0 -10
  839. package/dist/module/runtime/native/styles/functions/index.js.map +0 -1
  840. package/dist/module/runtime/native/styles/functions/numeric-functions.js.map +0 -1
  841. package/dist/module/runtime/native/styles/functions/platform-functions.js.map +0 -1
  842. package/dist/module/runtime/native/styles/functions/string-functions.js.map +0 -1
  843. package/dist/module/runtime/native/styles/functions/transform-functions.js +0 -114
  844. package/dist/module/runtime/native/styles/functions/transform-functions.js.map +0 -1
  845. package/dist/module/runtime/native/styles/index.js +0 -110
  846. package/dist/module/runtime/native/styles/index.js.map +0 -1
  847. package/dist/module/runtime/native/styles/resolve.js +0 -101
  848. package/dist/module/runtime/native/styles/resolve.js.map +0 -1
  849. package/dist/module/runtime/native/styles/shorthands/_handler.js +0 -74
  850. package/dist/module/runtime/native/styles/shorthands/_handler.js.map +0 -1
  851. package/dist/module/runtime/native/styles/shorthands/animation.js +0 -51
  852. package/dist/module/runtime/native/styles/shorthands/animation.js.map +0 -1
  853. package/dist/module/runtime/native/styles/shorthands/border.js.map +0 -1
  854. package/dist/module/runtime/native/styles/shorthands/box-shadow.js +0 -45
  855. package/dist/module/runtime/native/styles/shorthands/box-shadow.js.map +0 -1
  856. package/dist/module/runtime/native/styles/shorthands/index.js.map +0 -1
  857. package/dist/module/runtime/native/styles/shorthands/text-shadow.js.map +0 -1
  858. package/dist/module/runtime/native/styles/shorthands/transform.js.map +0 -1
  859. package/dist/module/runtime/native/styles/units.js.map +0 -1
  860. package/dist/module/runtime/native/styles/variables.js +0 -75
  861. package/dist/module/runtime/native/styles/variables.js.map +0 -1
  862. package/dist/module/runtime/runtime.js.map +0 -1
  863. package/dist/module/runtime/runtime.native.js.map +0 -1
  864. package/dist/module/runtime/runtime.types.js.map +0 -1
  865. package/dist/module/runtime/utils/components.js +0 -14
  866. package/dist/module/runtime/utils/components.js.map +0 -1
  867. package/dist/module/runtime/utils/dot-notation.types.js.map +0 -1
  868. package/dist/module/runtime/utils/index.js +0 -8
  869. package/dist/module/runtime/utils/index.js.map +0 -1
  870. package/dist/module/runtime/utils/objects.js.map +0 -1
  871. package/dist/module/runtime/utils/specificity.js.map +0 -1
  872. package/dist/module/runtime/utils/style-value.js +0 -16
  873. package/dist/module/runtime/utils/style-value.js.map +0 -1
  874. package/dist/module/runtime/utils/utils.types.js +0 -4
  875. package/dist/module/runtime/utils/utils.types.js.map +0 -1
  876. package/dist/module/runtime/web/api.js +0 -76
  877. package/dist/module/runtime/web/api.js.map +0 -1
  878. package/dist/module/runtime/web/assign-style.js.map +0 -1
  879. package/dist/module/runtime/web/index.js.map +0 -1
  880. package/dist/module/runtime/web/metro.js +0 -5
  881. package/dist/module/runtime/web/metro.js.map +0 -1
  882. package/dist/module/style-collection/index.js +0 -95
  883. package/dist/module/style-collection/index.js.map +0 -1
  884. package/dist/module/style-collection/root.js +0 -25
  885. package/dist/module/style-collection/root.js.map +0 -1
  886. package/dist/typescript/commonjs/src/poison.pill.d.ts +0 -2
  887. package/dist/typescript/commonjs/src/poison.pill.d.ts.map +0 -1
  888. package/dist/typescript/commonjs/src/runtime/index.d.ts +0 -7
  889. package/dist/typescript/commonjs/src/runtime/index.d.ts.map +0 -1
  890. package/dist/typescript/commonjs/src/runtime/native/api.d.ts +0 -31
  891. package/dist/typescript/commonjs/src/runtime/native/api.d.ts.map +0 -1
  892. package/dist/typescript/commonjs/src/runtime/native/conditions/attributes.d.ts +0 -5
  893. package/dist/typescript/commonjs/src/runtime/native/conditions/attributes.d.ts.map +0 -1
  894. package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts +0 -7
  895. package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts.map +0 -1
  896. package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts.map +0 -1
  897. package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts +0 -6
  898. package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts.map +0 -1
  899. package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts +0 -4
  900. package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts.map +0 -1
  901. package/dist/typescript/commonjs/src/runtime/native/index.d.ts +0 -4
  902. package/dist/typescript/commonjs/src/runtime/native/index.d.ts.map +0 -1
  903. package/dist/typescript/commonjs/src/runtime/native/metro.d.ts.map +0 -1
  904. package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts.map +0 -1
  905. package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts.map +0 -1
  906. package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts.map +0 -1
  907. package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts.map +0 -1
  908. package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts +0 -53
  909. package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts.map +0 -1
  910. package/dist/typescript/commonjs/src/runtime/native/reanimated.d.ts.map +0 -1
  911. package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts +0 -10
  912. package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts.map +0 -1
  913. package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts.map +0 -1
  914. package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts.map +0 -1
  915. package/dist/typescript/commonjs/src/runtime/native/styles/functions/animation-timing.d.ts.map +0 -1
  916. package/dist/typescript/commonjs/src/runtime/native/styles/functions/calc.d.ts.map +0 -1
  917. package/dist/typescript/commonjs/src/runtime/native/styles/functions/filters.d.ts.map +0 -1
  918. package/dist/typescript/commonjs/src/runtime/native/styles/functions/index.d.ts +0 -8
  919. package/dist/typescript/commonjs/src/runtime/native/styles/functions/index.d.ts.map +0 -1
  920. package/dist/typescript/commonjs/src/runtime/native/styles/functions/numeric-functions.d.ts.map +0 -1
  921. package/dist/typescript/commonjs/src/runtime/native/styles/functions/platform-functions.d.ts.map +0 -1
  922. package/dist/typescript/commonjs/src/runtime/native/styles/functions/string-functions.d.ts.map +0 -1
  923. package/dist/typescript/commonjs/src/runtime/native/styles/functions/transform-functions.d.ts.map +0 -1
  924. package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts +0 -19
  925. package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts.map +0 -1
  926. package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts +0 -18
  927. package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts.map +0 -1
  928. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/_handler.d.ts.map +0 -1
  929. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/animation.d.ts +0 -4
  930. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/animation.d.ts.map +0 -1
  931. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/border.d.ts.map +0 -1
  932. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/box-shadow.d.ts.map +0 -1
  933. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/index.d.ts.map +0 -1
  934. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/text-shadow.d.ts.map +0 -1
  935. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/transform.d.ts.map +0 -1
  936. package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts.map +0 -1
  937. package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts +0 -5
  938. package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts.map +0 -1
  939. package/dist/typescript/commonjs/src/runtime/runtime.d.ts.map +0 -1
  940. package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts.map +0 -1
  941. package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts +0 -47
  942. package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts.map +0 -1
  943. package/dist/typescript/commonjs/src/runtime/utils/components.d.ts +0 -2
  944. package/dist/typescript/commonjs/src/runtime/utils/components.d.ts.map +0 -1
  945. package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts +0 -23
  946. package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts.map +0 -1
  947. package/dist/typescript/commonjs/src/runtime/utils/index.d.ts +0 -6
  948. package/dist/typescript/commonjs/src/runtime/utils/index.d.ts.map +0 -1
  949. package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts.map +0 -1
  950. package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts +0 -13
  951. package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts.map +0 -1
  952. package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts +0 -4
  953. package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts.map +0 -1
  954. package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts +0 -5
  955. package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts.map +0 -1
  956. package/dist/typescript/commonjs/src/runtime/web/api.d.ts +0 -16
  957. package/dist/typescript/commonjs/src/runtime/web/api.d.ts.map +0 -1
  958. package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts.map +0 -1
  959. package/dist/typescript/commonjs/src/runtime/web/index.d.ts.map +0 -1
  960. package/dist/typescript/commonjs/src/runtime/web/metro.d.ts.map +0 -1
  961. package/dist/typescript/commonjs/src/style-collection/index.d.ts +0 -14
  962. package/dist/typescript/commonjs/src/style-collection/index.d.ts.map +0 -1
  963. package/dist/typescript/commonjs/src/style-collection/root.d.ts +0 -11
  964. package/dist/typescript/commonjs/src/style-collection/root.d.ts.map +0 -1
  965. package/dist/typescript/module/src/poison.pill.d.ts +0 -2
  966. package/dist/typescript/module/src/poison.pill.d.ts.map +0 -1
  967. package/dist/typescript/module/src/runtime/index.d.ts +0 -7
  968. package/dist/typescript/module/src/runtime/index.d.ts.map +0 -1
  969. package/dist/typescript/module/src/runtime/native/api.d.ts +0 -31
  970. package/dist/typescript/module/src/runtime/native/api.d.ts.map +0 -1
  971. package/dist/typescript/module/src/runtime/native/conditions/attributes.d.ts +0 -5
  972. package/dist/typescript/module/src/runtime/native/conditions/attributes.d.ts.map +0 -1
  973. package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts +0 -7
  974. package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts.map +0 -1
  975. package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts.map +0 -1
  976. package/dist/typescript/module/src/runtime/native/conditions/index.d.ts +0 -6
  977. package/dist/typescript/module/src/runtime/native/conditions/index.d.ts.map +0 -1
  978. package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts +0 -4
  979. package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts.map +0 -1
  980. package/dist/typescript/module/src/runtime/native/index.d.ts +0 -4
  981. package/dist/typescript/module/src/runtime/native/index.d.ts.map +0 -1
  982. package/dist/typescript/module/src/runtime/native/metro.d.ts +0 -2
  983. package/dist/typescript/module/src/runtime/native/metro.d.ts.map +0 -1
  984. package/dist/typescript/module/src/runtime/native/react/interaction.d.ts.map +0 -1
  985. package/dist/typescript/module/src/runtime/native/react/rules.d.ts.map +0 -1
  986. package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts.map +0 -1
  987. package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts.map +0 -1
  988. package/dist/typescript/module/src/runtime/native/reactivity.d.ts +0 -53
  989. package/dist/typescript/module/src/runtime/native/reactivity.d.ts.map +0 -1
  990. package/dist/typescript/module/src/runtime/native/reanimated.d.ts.map +0 -1
  991. package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts +0 -10
  992. package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts.map +0 -1
  993. package/dist/typescript/module/src/runtime/native/styles/constants.d.ts.map +0 -1
  994. package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts.map +0 -1
  995. package/dist/typescript/module/src/runtime/native/styles/functions/animation-timing.d.ts.map +0 -1
  996. package/dist/typescript/module/src/runtime/native/styles/functions/calc.d.ts.map +0 -1
  997. package/dist/typescript/module/src/runtime/native/styles/functions/filters.d.ts.map +0 -1
  998. package/dist/typescript/module/src/runtime/native/styles/functions/index.d.ts +0 -8
  999. package/dist/typescript/module/src/runtime/native/styles/functions/index.d.ts.map +0 -1
  1000. package/dist/typescript/module/src/runtime/native/styles/functions/numeric-functions.d.ts.map +0 -1
  1001. package/dist/typescript/module/src/runtime/native/styles/functions/platform-functions.d.ts.map +0 -1
  1002. package/dist/typescript/module/src/runtime/native/styles/functions/string-functions.d.ts.map +0 -1
  1003. package/dist/typescript/module/src/runtime/native/styles/functions/transform-functions.d.ts.map +0 -1
  1004. package/dist/typescript/module/src/runtime/native/styles/index.d.ts +0 -19
  1005. package/dist/typescript/module/src/runtime/native/styles/index.d.ts.map +0 -1
  1006. package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts +0 -18
  1007. package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts.map +0 -1
  1008. package/dist/typescript/module/src/runtime/native/styles/shorthands/_handler.d.ts.map +0 -1
  1009. package/dist/typescript/module/src/runtime/native/styles/shorthands/animation.d.ts +0 -4
  1010. package/dist/typescript/module/src/runtime/native/styles/shorthands/animation.d.ts.map +0 -1
  1011. package/dist/typescript/module/src/runtime/native/styles/shorthands/border.d.ts.map +0 -1
  1012. package/dist/typescript/module/src/runtime/native/styles/shorthands/box-shadow.d.ts.map +0 -1
  1013. package/dist/typescript/module/src/runtime/native/styles/shorthands/index.d.ts.map +0 -1
  1014. package/dist/typescript/module/src/runtime/native/styles/shorthands/text-shadow.d.ts.map +0 -1
  1015. package/dist/typescript/module/src/runtime/native/styles/shorthands/transform.d.ts.map +0 -1
  1016. package/dist/typescript/module/src/runtime/native/styles/units.d.ts.map +0 -1
  1017. package/dist/typescript/module/src/runtime/native/styles/variables.d.ts +0 -5
  1018. package/dist/typescript/module/src/runtime/native/styles/variables.d.ts.map +0 -1
  1019. package/dist/typescript/module/src/runtime/runtime.d.ts.map +0 -1
  1020. package/dist/typescript/module/src/runtime/runtime.native.d.ts.map +0 -1
  1021. package/dist/typescript/module/src/runtime/runtime.types.d.ts +0 -47
  1022. package/dist/typescript/module/src/runtime/runtime.types.d.ts.map +0 -1
  1023. package/dist/typescript/module/src/runtime/utils/components.d.ts +0 -2
  1024. package/dist/typescript/module/src/runtime/utils/components.d.ts.map +0 -1
  1025. package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts +0 -23
  1026. package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts.map +0 -1
  1027. package/dist/typescript/module/src/runtime/utils/index.d.ts +0 -6
  1028. package/dist/typescript/module/src/runtime/utils/index.d.ts.map +0 -1
  1029. package/dist/typescript/module/src/runtime/utils/objects.d.ts.map +0 -1
  1030. package/dist/typescript/module/src/runtime/utils/specificity.d.ts +0 -13
  1031. package/dist/typescript/module/src/runtime/utils/specificity.d.ts.map +0 -1
  1032. package/dist/typescript/module/src/runtime/utils/style-value.d.ts +0 -4
  1033. package/dist/typescript/module/src/runtime/utils/style-value.d.ts.map +0 -1
  1034. package/dist/typescript/module/src/runtime/utils/utils.types.d.ts +0 -5
  1035. package/dist/typescript/module/src/runtime/utils/utils.types.d.ts.map +0 -1
  1036. package/dist/typescript/module/src/runtime/web/api.d.ts +0 -16
  1037. package/dist/typescript/module/src/runtime/web/api.d.ts.map +0 -1
  1038. package/dist/typescript/module/src/runtime/web/assign-style.d.ts.map +0 -1
  1039. package/dist/typescript/module/src/runtime/web/index.d.ts.map +0 -1
  1040. package/dist/typescript/module/src/runtime/web/metro.d.ts +0 -2
  1041. package/dist/typescript/module/src/runtime/web/metro.d.ts.map +0 -1
  1042. package/dist/typescript/module/src/style-collection/index.d.ts +0 -14
  1043. package/dist/typescript/module/src/style-collection/index.d.ts.map +0 -1
  1044. package/dist/typescript/module/src/style-collection/root.d.ts +0 -11
  1045. package/dist/typescript/module/src/style-collection/root.d.ts.map +0 -1
  1046. package/src/components/index.tsx +0 -10
  1047. package/src/runtime/index.ts +0 -7
  1048. package/src/runtime/native/api.tsx +0 -135
  1049. package/src/runtime/native/conditions/attributes.ts +0 -52
  1050. package/src/runtime/native/conditions/container-query.ts +0 -162
  1051. package/src/runtime/native/conditions/index.ts +0 -54
  1052. package/src/runtime/native/conditions/media-query.ts +0 -98
  1053. package/src/runtime/native/index.ts +0 -4
  1054. package/src/runtime/native/react/rules.ts +0 -336
  1055. package/src/runtime/native/react/useNativeCss.ts +0 -203
  1056. package/src/runtime/native/reactivity.ts +0 -251
  1057. package/src/runtime/native/styles/calculate-props.ts +0 -197
  1058. package/src/runtime/native/styles/functions/filters.ts +0 -98
  1059. package/src/runtime/native/styles/functions/index.ts +0 -7
  1060. package/src/runtime/native/styles/functions/transform-functions.ts +0 -84
  1061. package/src/runtime/native/styles/index.ts +0 -197
  1062. package/src/runtime/native/styles/resolve.ts +0 -162
  1063. package/src/runtime/native/styles/shorthands/_handler.ts +0 -121
  1064. package/src/runtime/native/styles/shorthands/animation.ts +0 -123
  1065. package/src/runtime/native/styles/shorthands/box-shadow.ts +0 -74
  1066. package/src/runtime/native/styles/variables.ts +0 -88
  1067. package/src/runtime/runtime.types.ts +0 -130
  1068. package/src/runtime/utils/components.ts +0 -15
  1069. package/src/runtime/utils/dot-notation.types.ts +0 -118
  1070. package/src/runtime/utils/index.ts +0 -5
  1071. package/src/runtime/utils/specificity.ts +0 -45
  1072. package/src/runtime/utils/style-value.ts +0 -24
  1073. package/src/runtime/utils/utils.types.ts +0 -19
  1074. package/src/runtime/web/api.tsx +0 -114
  1075. package/src/runtime/web/metro.ts +0 -2
  1076. package/src/style-collection/index.ts +0 -142
  1077. package/src/style-collection/root.ts +0 -37
  1078. /package/dist/commonjs/{runtime/native → native}/conditions/container-query.js +0 -0
  1079. /package/dist/commonjs/{runtime/native → native}/conditions/guards.js +0 -0
  1080. /package/dist/commonjs/{runtime/native → native}/conditions/index.js +0 -0
  1081. /package/dist/commonjs/{runtime/native → native}/conditions/media-query.js +0 -0
  1082. /package/dist/commonjs/{runtime/utils → native}/objects.js +0 -0
  1083. /package/dist/commonjs/{runtime/native → native}/react/interaction.js +0 -0
  1084. /package/dist/commonjs/{runtime/native → native}/react/usePassthrough.js +0 -0
  1085. /package/dist/commonjs/{runtime/native → native}/reanimated.js +0 -0
  1086. /package/dist/commonjs/{runtime/native → native}/styles/constants.js +0 -0
  1087. /package/dist/commonjs/{runtime/native → native}/styles/defaults.js +0 -0
  1088. /package/dist/commonjs/{runtime/native → native}/styles/functions/animation-timing.js +0 -0
  1089. /package/dist/commonjs/{runtime/native → native}/styles/functions/calc.js +0 -0
  1090. /package/dist/commonjs/{runtime/native → native}/styles/functions/numeric-functions.js +0 -0
  1091. /package/dist/commonjs/{runtime/native → native}/styles/functions/platform-functions.js +0 -0
  1092. /package/dist/commonjs/{runtime/native → native}/styles/functions/string-functions.js +0 -0
  1093. /package/dist/commonjs/{runtime/native → native}/styles/shorthands/border.js +0 -0
  1094. /package/dist/commonjs/{runtime/native → native}/styles/shorthands/index.js +0 -0
  1095. /package/dist/commonjs/{runtime/native → native}/styles/shorthands/text-shadow.js +0 -0
  1096. /package/dist/commonjs/{runtime/native → native}/styles/shorthands/transform.js +0 -0
  1097. /package/dist/commonjs/{runtime/native → native}/styles/units.js +0 -0
  1098. /package/dist/commonjs/{runtime/runtime.js → runtime.js} +0 -0
  1099. /package/dist/commonjs/{runtime/runtime.native.js → runtime.native.js} +0 -0
  1100. /package/dist/commonjs/{runtime/runtime.types.js → runtime.types.js} +0 -0
  1101. /package/dist/commonjs/{runtime/utils → utilities}/dot-notation.types.js +0 -0
  1102. /package/dist/commonjs/{runtime/utils → utilities}/specificity.js +0 -0
  1103. /package/dist/commonjs/{runtime/web → web}/assign-style.js +0 -0
  1104. /package/dist/commonjs/{runtime/web → web}/index.js +0 -0
  1105. /package/dist/commonjs/{runtime/native → web}/metro.js +0 -0
  1106. /package/dist/module/{runtime/native → native}/conditions/container-query.js +0 -0
  1107. /package/dist/module/{runtime/native → native}/conditions/guards.js +0 -0
  1108. /package/dist/module/{runtime/native → native}/conditions/index.js +0 -0
  1109. /package/dist/module/{runtime/native → native}/conditions/media-query.js +0 -0
  1110. /package/dist/module/{runtime/utils → native}/objects.js +0 -0
  1111. /package/dist/module/{runtime/native → native}/react/interaction.js +0 -0
  1112. /package/dist/module/{runtime/native → native}/react/usePassthrough.js +0 -0
  1113. /package/dist/module/{runtime/native → native}/reanimated.js +0 -0
  1114. /package/dist/module/{runtime/native → native}/styles/constants.js +0 -0
  1115. /package/dist/module/{runtime/native → native}/styles/defaults.js +0 -0
  1116. /package/dist/module/{runtime/native → native}/styles/functions/animation-timing.js +0 -0
  1117. /package/dist/module/{runtime/native → native}/styles/functions/calc.js +0 -0
  1118. /package/dist/module/{runtime/native → native}/styles/functions/numeric-functions.js +0 -0
  1119. /package/dist/module/{runtime/native → native}/styles/functions/platform-functions.js +0 -0
  1120. /package/dist/module/{runtime/native → native}/styles/functions/string-functions.js +0 -0
  1121. /package/dist/module/{runtime/native → native}/styles/shorthands/border.js +0 -0
  1122. /package/dist/module/{runtime/native → native}/styles/shorthands/index.js +0 -0
  1123. /package/dist/module/{runtime/native → native}/styles/shorthands/text-shadow.js +0 -0
  1124. /package/dist/module/{runtime/native → native}/styles/shorthands/transform.js +0 -0
  1125. /package/dist/module/{runtime/native → native}/styles/units.js +0 -0
  1126. /package/dist/module/{runtime/runtime.js → runtime.js} +0 -0
  1127. /package/dist/module/{runtime/runtime.native.js → runtime.native.js} +0 -0
  1128. /package/dist/module/{runtime/runtime.types.js → runtime.types.js} +0 -0
  1129. /package/dist/module/{runtime/utils → utilities}/dot-notation.types.js +0 -0
  1130. /package/dist/module/{runtime/utils → utilities}/specificity.js +0 -0
  1131. /package/dist/module/{runtime/web → web}/assign-style.js +0 -0
  1132. /package/dist/module/{runtime/web → web}/index.js +0 -0
  1133. /package/dist/module/{runtime/native → web}/metro.js +0 -0
  1134. /package/dist/typescript/commonjs/src/{runtime/native → native}/conditions/guards.d.ts +0 -0
  1135. /package/dist/typescript/commonjs/src/{runtime/utils → native}/objects.d.ts +0 -0
  1136. /package/dist/typescript/commonjs/src/{runtime/native → native}/react/interaction.d.ts +0 -0
  1137. /package/dist/typescript/commonjs/src/{runtime/native → native}/react/rules.d.ts +0 -0
  1138. /package/dist/typescript/commonjs/src/{runtime/native → native}/react/useNativeCss.d.ts +0 -0
  1139. /package/dist/typescript/commonjs/src/{runtime/native → native}/react/usePassthrough.d.ts +0 -0
  1140. /package/dist/typescript/commonjs/src/{runtime/native → native}/reanimated.d.ts +0 -0
  1141. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/constants.d.ts +0 -0
  1142. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/defaults.d.ts +0 -0
  1143. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/animation-timing.d.ts +0 -0
  1144. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/calc.d.ts +0 -0
  1145. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/filters.d.ts +0 -0
  1146. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/numeric-functions.d.ts +0 -0
  1147. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/platform-functions.d.ts +0 -0
  1148. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/string-functions.d.ts +0 -0
  1149. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/transform-functions.d.ts +0 -0
  1150. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/_handler.d.ts +0 -0
  1151. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/border.d.ts +0 -0
  1152. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/box-shadow.d.ts +0 -0
  1153. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/index.d.ts +0 -0
  1154. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/text-shadow.d.ts +0 -0
  1155. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/transform.d.ts +0 -0
  1156. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/units.d.ts +0 -0
  1157. /package/dist/typescript/commonjs/src/{runtime/runtime.d.ts → runtime.d.ts} +0 -0
  1158. /package/dist/typescript/commonjs/src/{runtime/runtime.native.d.ts → runtime.native.d.ts} +0 -0
  1159. /package/dist/typescript/commonjs/src/{runtime/web → web}/assign-style.d.ts +0 -0
  1160. /package/dist/typescript/commonjs/src/{runtime/web → web}/index.d.ts +0 -0
  1161. /package/dist/typescript/commonjs/src/{runtime/native → web}/metro.d.ts +0 -0
  1162. /package/dist/typescript/module/src/{runtime/native → native}/conditions/guards.d.ts +0 -0
  1163. /package/dist/typescript/module/src/{runtime/utils → native}/objects.d.ts +0 -0
  1164. /package/dist/typescript/module/src/{runtime/native → native}/react/interaction.d.ts +0 -0
  1165. /package/dist/typescript/module/src/{runtime/native → native}/react/rules.d.ts +0 -0
  1166. /package/dist/typescript/module/src/{runtime/native → native}/react/useNativeCss.d.ts +0 -0
  1167. /package/dist/typescript/module/src/{runtime/native → native}/react/usePassthrough.d.ts +0 -0
  1168. /package/dist/typescript/module/src/{runtime/native → native}/reanimated.d.ts +0 -0
  1169. /package/dist/typescript/module/src/{runtime/native → native}/styles/constants.d.ts +0 -0
  1170. /package/dist/typescript/module/src/{runtime/native → native}/styles/defaults.d.ts +0 -0
  1171. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/animation-timing.d.ts +0 -0
  1172. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/calc.d.ts +0 -0
  1173. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/filters.d.ts +0 -0
  1174. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/numeric-functions.d.ts +0 -0
  1175. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/platform-functions.d.ts +0 -0
  1176. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/string-functions.d.ts +0 -0
  1177. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/transform-functions.d.ts +0 -0
  1178. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/_handler.d.ts +0 -0
  1179. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/border.d.ts +0 -0
  1180. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/box-shadow.d.ts +0 -0
  1181. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/index.d.ts +0 -0
  1182. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/text-shadow.d.ts +0 -0
  1183. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/transform.d.ts +0 -0
  1184. /package/dist/typescript/module/src/{runtime/native → native}/styles/units.d.ts +0 -0
  1185. /package/dist/typescript/module/src/{runtime/runtime.d.ts → runtime.d.ts} +0 -0
  1186. /package/dist/typescript/module/src/{runtime/runtime.native.d.ts → runtime.native.d.ts} +0 -0
  1187. /package/dist/typescript/module/src/{runtime/web → web}/assign-style.d.ts +0 -0
  1188. /package/dist/typescript/module/src/{runtime/web → web}/index.d.ts +0 -0
  1189. /package/dist/typescript/{commonjs/src/runtime → module/src}/web/metro.d.ts +0 -0
  1190. /package/src/{runtime/native → native}/conditions/guards.ts +0 -0
  1191. /package/src/{runtime/utils → native}/objects.ts +0 -0
  1192. /package/src/{runtime/native → native}/react/interaction.ts +0 -0
  1193. /package/src/{runtime/native → native}/react/usePassthrough.ts +0 -0
  1194. /package/src/{poison.pill.ts → native/react-native-css-metro-override.ts} +0 -0
  1195. /package/src/{runtime/native → native}/reanimated.ts +0 -0
  1196. /package/src/{runtime/native → native}/styles/constants.ts +0 -0
  1197. /package/src/{runtime/native → native}/styles/defaults.ts +0 -0
  1198. /package/src/{runtime/native → native}/styles/functions/animation-timing.ts +0 -0
  1199. /package/src/{runtime/native → native}/styles/functions/calc.ts +0 -0
  1200. /package/src/{runtime/native → native}/styles/functions/numeric-functions.ts +0 -0
  1201. /package/src/{runtime/native → native}/styles/functions/platform-functions.ts +0 -0
  1202. /package/src/{runtime/native → native}/styles/functions/string-functions.ts +0 -0
  1203. /package/src/{runtime/native → native}/styles/shorthands/border.ts +0 -0
  1204. /package/src/{runtime/native → native}/styles/shorthands/index.ts +0 -0
  1205. /package/src/{runtime/native → native}/styles/shorthands/text-shadow.ts +0 -0
  1206. /package/src/{runtime/native → native}/styles/shorthands/transform.ts +0 -0
  1207. /package/src/{runtime/native → native}/styles/units.ts +0 -0
  1208. /package/src/{runtime/runtime.native.ts → runtime.native.ts} +0 -0
  1209. /package/src/{runtime/runtime.ts → runtime.ts} +0 -0
  1210. /package/src/{runtime/web → web}/assign-style.ts +0 -0
  1211. /package/src/{runtime/web → web}/index.ts +0 -0
  1212. /package/src/{runtime/native → web}/metro.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_nativeInternal","require","_objects","_handler","name","delay","duration","iteration","fill","playState","direction","timingFunction","animationShorthand","exports","shorthandHandler","animation","resolveValue","value","get","options","animationShortHandTuples","Array","isArray","nameTuple","find","tuple","keyframes","StyleCollection","progress","declarations","props","calculateProps","s","d","renderGuards","inheritedVariables","inlineVariables","normal","Object","assign","important","style","applyShorthand","animationName","shorthand"],"sourceRoot":"../../../../../src","sources":["native/styles/shorthands/animation.ts"],"mappings":";;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAEA,IAAAE,QAAA,GAAAF,OAAA;AALA;;AAOA,MAAMG,IAAI,GAAG,CAAC,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAU;AACzD,MAAMC,KAAK,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,CAAC,CAAU;AACtD,MAAMC,Q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AC;IAClD;IACA,IAAIP,KAAK,CAACU,SAAS,EAAE;MACnBF,MAAM,CAACC,MAAM,CAACxB,SAAS,CAACa,QAAQ,CAAC,EAAEE,KAAK,CAACU,SAAS,CAAC;IACrD;IAEAzB,SAAS,CAACa,QAAQ,CAAC,GAAGb,SAAS,CAACa,QAAQ,CAAC,CAACa,KAAK;EACjD;EAEAlB,SAAS,CAAC,CAAC,CAAC,GAAGR,SAAS;EAExB,OAAO,IAAA2B,uBAAc,EAACtB,wBAAwB,CAAC;AACjD,CAAC;AAACP,OAAA,CAAAE,SAAA,GAAAA,SAAA;AAEK,MAAM4B,aAAoC,GAAGA,CAClD3B,YAAY,EACZC,KAAK,EACLC,GAAG,EACHC,OAAO,KACJ;EACH,MAAMyB,SAAc,GAAG7B,SAAS,CAACC,YAAY,EAAEC,KAAK,EAAEC,GAAG,EAAEC,OAAO,CAAC;EACnE,OAAOyB,SAAS,CAACD,aAAa;AAChC,CAAC;AAAC9B,OAAA,CAAA8B,aAAA,GAAAA,aAAA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_handler","require","width","style","color","border","exports","shorthandHandler"],"sourceRoot":"../../../../../src","sources":["native/styles/shorthands/border.ts"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAEA,MAAMC,KAAK,GAAG,CAAC,aAAa,EAAE,QAAQ,CAAU;AAChD,MAAMC,KAAK,GAAG,CAAC,aAAa,EAAE,QAAQ,CAAU;AAChD,MAAMC,KAAK,GAAG,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,CAAU;AAEjD,MAAMC,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAG,IAAAE,yBAAgB,EACpC,CAAC,CAACL,KAAK,EAAEC,KAAK,EAAEC,KAAK,CAAC,EAAE,CAACD,KAAK,EAAEC,KAAK,CAAC,EAAE,CAACF,KAAK,EAAEC,KAAK,CAAC,EAAE,CAACA,KAAK,CAAC,CAAC,EAChE,EACF,CAAC","ignoreList":[]}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.boxShadow = void 0;
7
+ var _utilities = require("react-native-css/utilities");
8
+ var _handler = require("./_handler.js");
9
+ const color = ["color", "string"];
10
+ const offsetX = ["offsetX", "number"];
11
+ const offsetY = ["offsetY", "number"];
12
+ const blurRadius = ["blurRadius", "number"];
13
+ const spreadDistance = ["spreadDistance", "number"];
14
+ // const inset = ["inset", "string"] as const;
15
+
16
+ const handler = (0, _handler.shorthandHandler)([[offsetX, offsetY, blurRadius, spreadDistance], [offsetX, offsetY, blurRadius, spreadDistance, color], [color, offsetX, offsetY], [color, offsetX, offsetY, blurRadius, spreadDistance], [offsetX, offsetY, color], [offsetX, offsetY, blurRadius, color]], [], "object");
17
+ const boxShadow = (resolveValue, func, get, options) => {
18
+ const args = resolveValue(func[2]);
19
+ if (!(0, _utilities.isStyleDescriptorArray)(args)) {
20
+ return args;
21
+ } else {
22
+ return args.flatMap(flattenShadowDescriptor).map(shadows => {
23
+ if (shadows === undefined) {
24
+ return;
25
+ } else {
26
+ return omitTransparentShadows(handler(resolveValue, shadows, get, options));
27
+ }
28
+ }).filter(v => v !== undefined);
29
+ }
30
+ };
31
+ exports.boxShadow = boxShadow;
32
+ function flattenShadowDescriptor(arg) {
33
+ if ((0, _utilities.isStyleDescriptorArray)(arg) && (0, _utilities.isStyleDescriptorArray)(arg[0])) {
34
+ return arg.map(arg => {
35
+ return flattenShadowDescriptor(arg);
36
+ });
37
+ }
38
+ return [arg];
39
+ }
40
+ function omitTransparentShadows(style) {
41
+ if (typeof style === "object" && style && "color" in style) {
42
+ if (style.color === "#0000" || style.color === "transparent") {
43
+ return;
44
+ }
45
+ }
46
+ return style;
47
+ }
48
+ //# sourceMappingURL=box-shadow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_utilities","require","_handler","color","offsetX","offsetY","blurRadius","spreadDistance","handler","shorthandHandler","boxShadow","resolveValue","func","get","options","args","isStyleDescriptorArray","flatMap","flattenShadowDescriptor","map","shadows","undefined","omitTransparentShadows","filter","v","exports","arg","style"],"sourceRoot":"../../../../../src","sources":["native/styles/shorthands/box-shadow.ts"],"mappings":";;;;;;AACA,IAAAA,UAAA,GAAAC,OAAA;AAGA,IAAAC,QAAA,GAAAD,OAAA;AAEA,MAAME,KAAK,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU;AAC1C,MAAMC,OAAO,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAU;AAC9C,MAAMC,OAAO,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAU;AAC9C,MAAMC,UAAU,GAAG,CAAC,YAAY,EAAE,QAAQ,CAAU;AACpD,MAAMC,cAAc,GAAG,CAAC,gBAAgB,EAAE,QAAQ,CAAU;AAC5D;;AAEA,MAAMC,OAAO,GAAG,IAAAC,yBAAgB,EAC9B,CACE,CAACL,OAAO,EAAEC,OAAO,EAAEC,UAAU,EAAEC,cAAc,CAAC,EAC9C,CAACH,OAAO,EAAEC,OAAO,EAAEC,UAAU,EAAEC,cAAc,EAAEJ,KAAK,CAAC,EACrD,CAACA,KAAK,EAAEC,OAAO,EAAEC,OAAO,CAAC,EACzB,CAACF,KAAK,EAAEC,OAAO,EAAEC,OAAO,EAAEC,UAAU,EAAEC,cAAc,CAAC,EACrD,CAACH,OAAO,EAAEC,OAAO,EAAEF,KAAK,CAAC,EACzB,CAACC,OAAO,EAAEC,OAAO,EAAEC,UAAU,EAAEH,KAAK,CAAC,CACtC,EACD,EAAE,EACF,QACF,CAAC;AAEM,MAAMO,SAAgC,GAAGA,CAC9CC,YAAY,EACZC,IAAI,EACJC,GAAG,EACHC,OAAO,KACJ;EACH,MAAMC,IAAI,GAAGJ,YAAY,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC;EAElC,IAAI,CAAC,IAAAI,iCAAsB,EAACD,IAAI,CAAC,EAAE;IACjC,OAAOA,IAAI;EACb,CAAC,MAAM;IACL,OAAOA,IAAI,CACRE,OAAO,CAACC,uBAAuB,CAAC,CAChCC,GAAG,CAAEC,OAAO,IAAK;MAChB,IAAIA,OAAO,KAAKC,SAAS,EAAE;QACzB;MACF,CAAC,MAAM;QACL,OAAOC,sBAAsB,CAC3Bd,OAAO,CAACG,YAAY,EAAES,OAAO,EAAEP,GAAG,EAAEC,OAAO,CAC7C,CAAC;MACH;IACF,CAAC,CAAC,CACDS,MAAM,CAAEC,CAAC,IAAKA,CAAC,KAAKH,SAAS,CAAC;EACnC;AACF,CAAC;AAACI,OAAA,CAAAf,SAAA,GAAAA,SAAA;AAEF,SAASQ,uBAAuBA,CAACQ,GAAoB,EAAqB;EACxE,IAAI,IAAAV,iCAAsB,EAACU,GAAG,CAAC,IAAI,IAAAV,iCAAsB,EAACU,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE;IACjE,OAAOA,GAAG,CAACP,GAAG,CAAEO,GAAG,IAAK;MACtB,OAAOR,uBAAuB,CAACQ,GAAG,CAAC;IACrC,CAAC,CAAC;EACJ;EAEA,OAAO,CAACA,GAAG,CAAC;AACd;AAEA,SAASJ,sBAAsBA,CAACK,KAAc,EAAE;EAC9C,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,IAAI,OAAO,IAAIA,KAAK,EAAE;IAC1D,IAAIA,KAAK,CAACxB,KAAK,KAAK,OAAO,IAAIwB,KAAK,CAACxB,KAAK,KAAK,aAAa,EAAE;MAC5D;IACF;EACF;EAEA,OAAOwB,KAAK;AACd","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_animation","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_border","_boxShadow","_textShadow","_transform"],"sourceRoot":"../../../../../src","sources":["native/styles/shorthands/index.ts"],"mappings":";;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,UAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,G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AAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,WAAA,CAAAP,GAAA;IAAA;EAAA;AAAA;AACA,IAAAQ,UAAA,GAAAZ,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAU,UAAA,EAAAT,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAQ,UAAA,CAAAR,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAI,UAAA,CAAAR,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_handler","require","width","height","blur","color","textShadow","exports","shorthandHandler"],"sourceRoot":"../../../../../src","sources":["native/styles/shorthands/text-shadow.ts"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAEA,MAAMC,KAAK,GAAG,CAAC,CAAC,kBAAkB,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAU;AAChE,MAAMC,MAAM,GAAG,CAAC,CAAC,kBAAkB,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAU;AAClE,MAAMC,IAAI,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,kBAAkB,CAAU;AACxE,MAAMC,KAAK,GAAG,CAAC,iBAAiB,EAAE,OAAO,EAAE,OAAO,CAAU;AAErD,MAAMC,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG,IAAAE,yBAAgB,EACxC,CACE,CAACN,KAAK,EAAEC,MAAM,EAAEC,IAAI,EAAEC,KAAK,CAAC,EAC5B,CAACA,KAAK,EAAEH,KAAK,EAAEC,MAAM,EAAEC,IAAI,CAAC,EAC5B,CAACF,KAAK,EAAEC,MAAM,EAAEE,KAAK,CAAC,EACtB,CAACA,KAAK,EAAEH,KAAK,EAAEC,MAAM,CAAC,EACtB,CAACD,KAAK,EAAEC,MAAM,CAAC,CAChB,EACD,CAACC,IAAI,EAAEC,KAAK,CACd,CAAC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["transform","resolveValue","transformDescriptor","transforms","Array","isArray","filter","undefined","exports"],"sourceRoot":"../../../../../src","sources":["native/styles/shorthands/transform.ts"],"mappings":";;;;;;AAEA;AACA;AACA;AACA;AACO,MAAMA,SAAgC,GAAGA,CAC9CC,YAAY,EACZC,mBAAmB,KAChB;EACH,MAAMC,UAAU,GAAGF,YAAY,CAACC,mBAAmB,CAAC,CAAC,CAAC,CAAC;EAEvD,IAAIE,KAAK,CAACC,OAAO,CAACF,UAAU,CAAC,EAAE;IAC7B,OAAOA,UAAU,CAACG,MAAM,CACrBN,SAAS,IAAKA,SAAS,KAAKO,SAAS,IAAIP,SAAS,KAAK,SAC1D,CAAC;EACH,CAAC,MAAM,IAAIG,UAAU,EAAE;IACrB;IACA,OAAO,CAACA,UAAU,CAAC;EACrB,CAAC,MAAM;IACL;EACF;AACF,CAAC;AAACK,OAAA,CAAAR,SAAA,GAAAA,SAAA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactivity","require","em","resolve","func","value","emValue","round","exports","vw","_","get","vwObs","vh","vhObs","rem","remValue","number","Math","Number","EPSILON"],"sourceRoot":"../../../../src","sources":["native/styles/units.ts"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAGO,MAAMC,EAAyB,GAAGA,CAACC,OAAO,EAAEC,IAAI,KAAK;EAC1D,MAAMC,KAAK,GAAGD,IAAI,CAAC,CAAC,CAAC;EAErB,IAAI,OAAOC,KAAK,KAAK,QAAQ,EAAE;IAC7B;EACF;EAEA,IAAIC,OAAO,GAAGH,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;EAEnD,IAAI,OAAOG,OAAO,KAAK,QAAQ,EAAE;IAC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AACF,KAAK,GAAGW,QAAQ,CAAC;EAChC;EAEA;AACF,CAAC;AAACR,OAAA,CAAAO,GAAA,GAAAA,GAAA;AAEF,SAASR,KAAKA,CAACU,MAAc,EAAE;EAC7B,OAAOC,IAAI,CAACX,KAAK,CAAC,CAACU,MAAM,GAAGE,MAAM,CAACC,OAAO,IAAI,GAAG,CAAC,GAAG,GAAG;AAC1D","ignoreList":[]}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.varResolver = varResolver;
7
+ var _nativeInternal = require("react-native-css/native-internal");
8
+ var _utilities = require("react-native-css/utilities");
9
+ var _reactivity = require("../reactivity.js");
10
+ function varResolver(resolve, fn, get, options) {
11
+ const {
12
+ renderGuards,
13
+ inheritedVariables: variables = {
14
+ [_reactivity.VAR_SYMBOL]: true
15
+ },
16
+ inlineVariables,
17
+ variableHistory = new Set()
18
+ } = options;
19
+ const args = fn[2];
20
+ let name;
21
+ let fallback;
22
+ if (typeof args === "string") {
23
+ name = args;
24
+ } else {
25
+ const result = resolve(args);
26
+ if ((0, _utilities.isStyleDescriptorArray)(result)) {
27
+ name = result[0];
28
+ fallback = result[1];
29
+ }
30
+ }
31
+ if (typeof name !== "string") {
32
+ return;
33
+ }
34
+
35
+ // If this recurses back to the same variable, we need to stop
36
+ if (variableHistory.has(name)) {
37
+ return;
38
+ }
39
+ if (name in variables) {
40
+ renderGuards?.push(["v", name, variables[name]]);
41
+ return resolve(variables[name]);
42
+ }
43
+ variableHistory.add(name);
44
+ let value = resolve(inlineVariables?.[name]);
45
+ if (value !== undefined) {
46
+ options.inlineVariables ??= {
47
+ [_reactivity.VAR_SYMBOL]: "inline"
48
+ };
49
+ options.inlineVariables[name] = value;
50
+ return value;
51
+ }
52
+ value = resolve(variables[name]);
53
+ if (value !== undefined) {
54
+ renderGuards?.push(["v", name, value]);
55
+ options.inlineVariables ??= {
56
+ [_reactivity.VAR_SYMBOL]: "inline"
57
+ };
58
+ options.inlineVariables[name] = value;
59
+ return value;
60
+ }
61
+ value = resolve(get((0, _nativeInternal.universalVariables)(name)));
62
+ if (value !== undefined) {
63
+ options.inlineVariables ??= {
64
+ [_reactivity.VAR_SYMBOL]: "inline"
65
+ };
66
+ options.inlineVariables[name] = value;
67
+ return value;
68
+ }
69
+ value = resolve(get((0, _nativeInternal.rootVariables)(name)));
70
+ if (value !== undefined) {
71
+ options.inlineVariables ??= {
72
+ [_reactivity.VAR_SYMBOL]: "inline"
73
+ };
74
+ options.inlineVariables[name] = value;
75
+ return value;
76
+ }
77
+ return resolve(fallback);
78
+ }
79
+ //# sourceMappingURL=variables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_nativeInternal","require","_utilities","_reactivity","varResolver","resolve","fn","get","options","renderGuards","inheritedVariables","variables","VAR_SYMBOL","inlineVariables","variableHistory","Set","args","name","fallback","result","isStyleDescriptorArray","has","push","add","value","undefined","universalVariables","rootVariables"],"sourceRoot":"../../../../src","sources":["native/styles/variables.ts"],"mappings":";;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA;AAIA,IAAAC,UAAA,GAAAD,OAAA;AAEA,IAAAE,WAAA,GAAAF,OAAA;AAGO,SAASG,WAAWA,CACzBC,OAA2B,EAC3BC,EAAiB,EACjBC,GAAW,EACXC,OAA4B,EAC5B;EACA,MAAM;IACJC,YAAY;IACZC,kBAAkB,EAAEC,SAAS,GAAG;MAAE,CAACC,sBAAU,GAAG;IAAK,CAAC;IACtDC,eAAe;IACfC,eAAe,GAAG,IAAIC,GAAG,CAAC;EAC5B,CAAC,GAAGP,OAAO;EAEX,MAAMQ,IAAI,GAAGV,EAAE,CAAC,CAAC,CAAC;EAElB,IAAIW,IAAwB;EAC5B,IAAIC,QAAqC;EAEzC,IAAI,OAAOF,IAAI,KAAK,QAAQ,EAAE;IAC5BC,IAAI,GAAGD,IAAI;EACb,CAAC,MAAM;IACL,MAAMG,MAAM,GAAGd,OAAO,CAACW,IA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AAC;EAC9C,IAAIO,KAAK,KAAKC,SAAS,EAAE;IACvBjB,OAAO,CAACK,eAAe,KAAK;MAAE,CAACD,sBAAU,GAAG;IAAS,CAAC;IACtDJ,OAAO,CAACK,eAAe,CAACI,IAAI,CAAC,GAAGO,KAAK;IACrC,OAAOA,KAAK;EACd;EAEAA,KAAK,GAAGnB,OAAO,CAACE,GAAG,CAAC,IAAAoB,6BAAa,EAACV,IAAI,CAAC,CAAC,CAAC;EACzC,IAAIO,KAAK,KAAKC,SAAS,EAAE;IACvBjB,OAAO,CAACK,eAAe,KAAK;MAAE,CAACD,sBAAU,GAAG;IAAS,CAAC;IACtDJ,OAAO,CAACK,eAAe,CAACI,IAAI,CAAC,GAAGO,KAAK;IACrC,OAAOA,KAAK;EACd;EAEA,OAAOnB,OAAO,CAACa,QAAQ,CAAC;AAC1B","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ # native-internal
2
+
3
+ This package is separate from `native` to prevent a circular dependency.
4
+
5
+ - The `native/index.ts` needs to import the `metro.ts`,
6
+ - `metro.ts` import the `.css` files (as a work around for lazy bundles)
7
+ - `.css` files import the `StyleCollection`
8
+
9
+ To prevent multiple versions of `StyleCollection` and relative path issues, we created `native-internal` to break the dependency chain.
10
+
11
+ This package should contain all the singular globals.
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _root = require("./root.js");
7
+ Object.keys(_root).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _root[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _root[key];
14
+ }
15
+ });
16
+ });
17
+ var _styleCollection = require("./style-collection.js");
18
+ Object.keys(_styleCollection).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _styleCollection[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _styleCollection[key];
25
+ }
26
+ });
27
+ });
28
+ var _variables = require("./variables.js");
29
+ Object.keys(_variables).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _variables[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _variables[key];
36
+ }
37
+ });
38
+ });
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_root","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_styleCollection","_variables"],"sourceRoot":"../../../src","sources":["native-internal/index.ts"],"mappings":";;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,KAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,KAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,KAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,gBAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,gBAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,gBAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,gBAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,UAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,UAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,UAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,UAAA,CAAAN,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.universalVariables = exports.rootVariables = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _mediaQuery = require("../native/conditions/media-query.js");
9
+ var _reactivity = require("../native/reactivity.js");
10
+ const rootVariableFamily = () => {
11
+ return (0, _reactivity.family)(() => {
12
+ const obs = (0, _reactivity.observable)((read, variableValue) => {
13
+ if (!variableValue) return undefined;
14
+ for (const [value, mediaQuery] of variableValue) {
15
+ if (!mediaQuery) {
16
+ return value;
17
+ }
18
+ if ((0, _mediaQuery.testMediaQuery)(mediaQuery, read)) {
19
+ return value;
20
+ }
21
+ }
22
+ return undefined;
23
+ });
24
+ return obs;
25
+ });
26
+ };
27
+ const rootVariables = exports.rootVariables = rootVariableFamily();
28
+ const universalVariables = exports.universalVariables = rootVariableFamily();
29
+ rootVariables("__rn-css-rem").set([[14]]);
30
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
31
+ rootVariables("__rn-css-color").set([[_reactNative.Platform.OS === "ios" ? (0, _reactNative.PlatformColor)("label", "labelColor") : (0, _reactNative.PlatformColor)("?attr/textColorPrimary", "SystemBaseHighColor")]
32
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
33
+ ]);
34
+ //# sourceMappingURL=root.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_mediaQuery","_reactivity","rootVariableFamily","family","obs","observable","read","variableValue","undefined","value","mediaQuery","testMediaQuery","rootVariables","exports","universalVariables","set","Platform","OS","PlatformColor"],"sourceRoot":"../../../src","sources":["native-internal/root.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAIA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAEA,MAAMG,kBAAkB,GAAGA,CAAA,KAAM;EAC/B,OAAO,IAAAC,kBAAM,EAAuD,MAAM;IACxE,MAAMC,GAAG,GAAG,IAAAC,sBAAU,EACpB,CAACC,IAAI,EAAEC,aAAa,KAAK;MACvB,IAAI,CAACA,aAAa,EAAE,OAAOC,SAAS;MAEpC,KAAK,MAAM,CAACC,KAAK,EAAEC,UAAU,CAAC,IAAIH,aAAa,EAAE;QAC/C,IAAI,CAACG,UAAU,EAAE;UACf,OAAOD,KAAK;QACd;QAEA,IAAI,IAAAE,0BAAc,EAACD,UAAU,EAAEJ,IAAI,CAAC,EAAE;UACpC,OAAOG,KAAK;QACd;MACF;MAEA,OAAOD,SAAS;IAClB,CACF,CAAC;IAED,OAAOJ,GAAG;EACZ,CAAC,CAAC;AACJ,CAAC;AAEM,MAAMQ,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAGV,kBAAkB,CAAC,CAAC;AAC1C,MAAMY,kBAAkB,GAAAD,OAAA,CAAAC,kBAAA,GAAGZ,kBAAkB,CAAC,CAAC;AAEtDU,aAAa,CAAC,cAAc,CAAC,CAACG,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACzC;AACAH,aAAa,CAAC,gBAAgB,CAAC,CAACG,GAAG,CAAC,CAClC,CACEC,qBAAQ,CAACC,EAAE,KAAK,KAAK,GACjB,IAAAC,0BAAa,EAAC,OAAO,EAAE,YAAY,CAAC,GACpC,IAAAA,0BAAa,EAAC,wBAAwB,EAAE,qBAAqB,CAAC;AAEpE;AAAA,CACM,CAAC","ignoreList":[]}
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StyleCollection = void 0;
7
+ Object.defineProperty(exports, "rootVariables", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _root.rootVariables;
11
+ }
12
+ });
13
+ Object.defineProperty(exports, "universalVariables", {
14
+ enumerable: true,
15
+ get: function () {
16
+ return _root.universalVariables;
17
+ }
18
+ });
19
+ var _containerQuery = require("../native/conditions/container-query.js");
20
+ var _reactivity = require("../native/reactivity.js");
21
+ var _root = require("./root.js");
22
+ globalThis.__react_native_css_style_collection ??= {
23
+ styles: (0, _reactivity.family)(() => {
24
+ return (0, _reactivity.observable)([], isDeepEqual);
25
+ }),
26
+ keyframes: (0, _reactivity.family)(() => {
27
+ return (0, _reactivity.observable)([], isDeepEqual);
28
+ }),
29
+ inject: function (options) {
30
+ _reactivity.observableBatch.current = new Set();
31
+ StyleCollection.styles("will-change-variable").set([{
32
+ s: [0],
33
+ v: []
34
+ }]);
35
+ StyleCollection.styles("will-change-container").set([{
36
+ s: [0],
37
+ c: [_containerQuery.DEFAULT_CONTAINER_NAME]
38
+ }]);
39
+ StyleCollection.styles("will-change-animation").set([{
40
+ s: [0],
41
+ a: true
42
+ }]);
43
+ StyleCollection.styles("will-change-pressable").set([{
44
+ s: [0],
45
+ p: {
46
+ h: 1
47
+ }
48
+ }]);
49
+ if (options.s) {
50
+ for (const style of options.s) {
51
+ StyleCollection.styles(style[0]).set(style[1]);
52
+ }
53
+ }
54
+ if (options.k) {
55
+ for (const keyframes of options.k) {
56
+ StyleCollection.keyframes(keyframes[0]).set(keyframes[1]);
57
+ }
58
+ }
59
+ if (options.vr) {
60
+ for (const entry of options.vr) {
61
+ (0, _root.rootVariables)(entry[0]).set(entry[1]);
62
+ }
63
+ }
64
+ if (options.vu) {
65
+ for (const entry of options.vu) {
66
+ (0, _root.rootVariables)(entry[0]).set(entry[1]);
67
+ }
68
+ }
69
+ for (const effect of _reactivity.observableBatch.current) {
70
+ effect.run();
71
+ }
72
+ _reactivity.observableBatch.current = undefined;
73
+ }
74
+ };
75
+ const StyleCollection = exports.StyleCollection = globalThis.__react_native_css_style_collection;
76
+ function isDeepEqual(a, b) {
77
+ const aArray = Array.isArray(a);
78
+ const bArray = Array.isArray(b);
79
+ const requiresKeyComparison = typeof a === "object" && typeof b === "object" && aArray === bArray;
80
+
81
+ // Only compare keys when both are an object or array
82
+ // This does not account for complex types like Date/Regex, because we don't use them
83
+ if (!requiresKeyComparison) return a === b;
84
+
85
+ // Make either are not null
86
+ if (!a || !b) {
87
+ return a === b;
88
+ }
89
+
90
+ // Shortcut for arrays
91
+ if (aArray && bArray && a.length !== b.length) {
92
+ return false;
93
+ }
94
+
95
+ // Compare a to b
96
+ for (const key in a) {
97
+ if (!isDeepEqual(a[key], b[key])) {
98
+ return false;
99
+ }
100
+ }
101
+
102
+ // Compare b to a
103
+ for (const key in b) {
104
+ if (!(key in a)) {
105
+ return false;
106
+ }
107
+ }
108
+ return true;
109
+ }
110
+ //# sourceMappingURL=style-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_containerQuery","require","_reactivity","_root","globalThis","__react_native_css_style_collection","styles","family","observable","isDeepEqual","keyframes","inject","options","observableBatch","current","Set","StyleCollection","set","s","v","c","DEFAULT_CONTAINER_NAME","a","p","h","style","k","vr","entry","rootVariables","vu","effect","run","undefined","exports","b","aArray","Array","isArray","bArray","requiresKeyComparison","length","key"],"sourceRoot":"../../../src","sources":["native-internal/style-collection.ts"],"mappings":";;;;;;;;;;;;;;;;;;AAQA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAOA,IAAAE,KAAA,GAAAF,OAAA;AAiBAG,UAAU,CAACC,mCAAmC,KAAK;EACjDC,MAAM,EAAE,IAAAC,kBAAM,EAAmC,MAAM;IACrD,OAAO,IAAAC,sBAAU,EAAC,EAAE,EAAEC,WAAW,CAAC;EACpC,CAAC,CAAC;EACFC,SAAS,EAAE,IAAAH,kBAAM,EAAmC,MAAM;IACxD,OAAO,IA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EACd;;EAEA;EACA,KAAK,MAAMC,GAAG,IAAIpB,CAAC,EAAE;IACnB,IACE,CAACb,WAAW,CACTa,CAAC,CAA6BoB,GAAG,CAAC,EAClCP,CAAC,CAA6BO,GAAG,CACpC,CAAC,EACD;MACA,OAAO,KAAK;IACd;EACF;;EAEA;EACA,KAAK,MAAMA,GAAG,IAAIP,CAAC,EAAE;IACnB,IAAI,EAAEO,GAAG,IAAIpB,CAAC,CAAC,EAAE;MACf,OAAO,KAAK;IACd;EACF;EAEA,OAAO,IAAI;AACb","ignoreList":[]}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.VariableContext = void 0;
7
+ exports.VariableContextProvider = VariableContextProvider;
8
+ var _react = require("react");
9
+ var _reactivity = require("../native/reactivity.js");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ globalThis.__react_native_css_variable_context ??= /*#__PURE__*/(0, _react.createContext)({
12
+ [_reactivity.VAR_SYMBOL]: true
13
+ });
14
+ const VariableContext = exports.VariableContext = globalThis.__react_native_css_variable_context;
15
+ function VariableContextProvider(props) {
16
+ const inheritedVariables = (0, _react.useContext)(VariableContext);
17
+ const value = (0, _react.useMemo)(() => ({
18
+ ...inheritedVariables,
19
+ ...Object.fromEntries(Object.entries(props.value).map(([k, v]) => [k.replace(/^--/, ""), v])),
20
+ [_reactivity.VAR_SYMBOL]: true
21
+ }), [inheritedVariables, props.value]);
22
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(VariableContext, {
23
+ value: value,
24
+ children: props.children
25
+ });
26
+ }
27
+ //# sourceMappingURL=variables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactivity","_jsxRuntime","globalThis","__react_native_css_variable_context","createContext","VAR_SYMBOL","VariableContext","exports","VariableContextProvider","props","inheritedVariables","useContext","value","useMemo","Object","fromEntries","entries","map","k","v","replace","jsx","children"],"sourceRoot":"../../../src","sources":["native-internal/variables.tsx"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AASA,IAAAC,WAAA,GAAAD,OAAA;AAA6E,IAAAE,WAAA,GAAAF,OAAA;AAE7EG,UAAU,CAACC,mCAAmC,kBAC5C,IAAAC,oBAAa,EAAuB;EAClC,CAACC,sBAAU,GAAG;AAChB,CAAC,CAAC;AAEG,MAAMC,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAGJ,UAAU,CAACC,mCAAmC;AAEtE,SAASK,uBAAuBA,CACrCC,KAA2E,EAC3E;EACA,MAAMC,kBAAkB,GAAG,IAAAC,iBAAU,EAACL,eAAe,CAAC;EAEtD,MAAMM,KAA2B,GAAG,IAAAC,cAAO,EACzC,OAAO;IACL,GAAGH,kBAAkB;IACrB,GAAGI,MAAM,CAACC,WAAW,CACnBD,MAAM,CAACE,OAAO,CAACP,KAAK,CAACG,KAAK,CAAC,CAACK,GAAG,CAAC,CAAC,CAACC,CAAC,EAAEC,CAAC,CAAC,KAAK,CAACD,CAAC,CAACE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,EAAED,CAAC,CAAC,CACvE,CAAC;IACD,CAACd,sBAAU,GAAG;EAChB,CAAC,CAAC,EACF,CAACK,kBAAkB,EAAED,KAAK,CAACG,KAAK,CAClC,CAAC;EAED,oBAAO,IAAAX,WAAA,CAAAoB,GAAA,EAACf,eAAe;IAACM,KAAK,EAAEA,KAAM;IAAAU,QAAA,EAAEb,KAAK,CAACa;EAAQ,CAAkB,CAAC;AAC1E","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../src","sources":["runtime.ts"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../src","sources":["runtime.native.ts"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["runtime.types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["utilities/dot-notation.types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _specificity = require("./specificity.js");
7
+ Object.keys(_specificity).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _specificity[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _specificity[key];
14
+ }
15
+ });
16
+ });
17
+ var _styleDescriptor = require("./style-descriptor.js");
18
+ Object.keys(_styleDescriptor).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _styleDescriptor[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _styleDescriptor[key];
25
+ }
26
+ });
27
+ });
28
+ var _dotNotationTypes = require("./dot-notation.types.js");
29
+ Object.keys(_dotNotationTypes).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _dotNotationTypes[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _dotNotationTypes[key];
36
+ }
37
+ });
38
+ });
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_specificity","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_styleDescriptor","_dotNotationTypes"],"sourceRoot":"../../../src","sources":["utilities/index.ts"],"mappings":";;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,YAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,gBAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,gBAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,gBAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,gBAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,iBAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,iBAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,iBAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,iBAAA,CAAAN,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Specificity","exports","Order","ClassName","Important","Inline","PseudoElements","PseudoClass","inlineSpecificity","specificityCompareFn","a","b","aSpec","s","bSpec"],"sourceRoot":"../../../src","sources":["utilities/specificity.ts"],"mappings":";;;;;;AAAA;;AAIO,MAAMA,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG;EACzBE,KAAK,EAAE,CAAC;EACRC,SAAS,EAAE,CAAC;EACZC,SAAS,EAAE,CAAC;EACZC,MAAM,EAAE,CAAC;EACTC,cAAc,EAAE,CAAC;EACjBC,WAAW,EAAE;EACb;EACA;AACF,CAAC;AAED,MAAMH,SAAS,GAAGJ,WAAW,CAACI,SAAS;AACvC,MAAMC,MAAM,GAAGL,WAAW,CAACK,MAAM;AACjC,MAAMC,cAAc,GAAGN,WAAW,CAACM,cAAc;AACjD,MAAMH,SAAS,GAAGH,WAAW,CAACG,SAAS;AACvC,MAAMD,KAAK,GAAGF,WAAW,CAACE,KAAK;AAExB,MAAMM,iBAAmC,GAAAP,OAAA,CAAAO,iBAAA,GAAG,EAAE;AACrDA,iBAAiB,CAACR,WAAW,CAACK,MAAM,CAAC,GAAG,CAAC;AAElC,MAAMI,oBAAoB,GAAGA,CAClCC,CAAgC,EAChCC,CAA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[]}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.isStyleDescriptorArray = isStyleDescriptorArray;
7
+ exports.isStyleFunction = isStyleFunction;
8
+ function isStyleDescriptorArray(value) {
9
+ if (Array.isArray(value)) {
10
+ // If its an array and the first item is an object, the only allowed value is an array
11
+ return typeof value[0] === "object" ? Array.isArray(value[0]) : true;
12
+ }
13
+ return false;
14
+ }
15
+ function isStyleFunction(value) {
16
+ if (Array.isArray(value)) {
17
+ return typeof value[0] === "object" ? Object.keys(value[0]).length === 0 : false;
18
+ }
19
+ return false;
20
+ }
21
+ //# sourceMappingURL=style-descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["isStyleDescriptorArray","value","Array","isArray","isStyleFunction","Object","keys","length"],"sourceRoot":"../../../src","sources":["utilities/style-descriptor.ts"],"mappings":";;;;;;;AAEO,SAASA,sBAAsBA,CACpCC,KAAc,EACc;EAC5B,IAAIC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;IACxB;IACA,OAAO,OAAOA,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAGC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;EACtE;EAEA,OAAO,KAAK;AACd;AAEO,SAASG,eAAeA,CAC7BH,KAAsB,EACE;EACxB,IAAIC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;IACxB,OAAO,OAAOA,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,GAC/BI,MAAM,CAACC,IAAI,CAACL,KAAK,CAAC,CAAC,CAAC,CAAC,CAACM,MAAM,KAAK,CAAC,GAClC,KAAK;EACX;EAEA,OAAO,KAAK;AACd","ignoreList":[]}
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.VariableContextProvider = VariableContextProvider;
7
+ exports.useUnstableNativeVariable = exports.useNativeVariable = exports.useCssElement = exports.styled = exports.colorScheme = void 0;
8
+ exports.vars = vars;
9
+ var _react = require("react");
10
+ var _reactNative = require("react-native");
11
+ var _assignStyle = require("./assign-style.js");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ const defaultMapping = {
14
+ className: "style"
15
+ };
16
+ const styled = (baseComponent, mapping = defaultMapping, _options) => {
17
+ return props => {
18
+ return useCssElement(baseComponent, props, mapping);
19
+ };
20
+ };
21
+ exports.styled = styled;
22
+ const useCssElement = (component, incomingProps, mapping) => {
23
+ let props = {
24
+ ...incomingProps
25
+ };
26
+ for (const [key, value] of Object.entries(mapping)) {
27
+ const source = props[key];
28
+ if (!source) {
29
+ continue;
30
+ }
31
+
32
+ // eslint-disable-next-line @typescript-eslint/no-dynamic-delete
33
+ delete props[key];
34
+ let target = typeof value === "object" ? value.target : value;
35
+ if (typeof target === "boolean") {
36
+ target = key;
37
+ }
38
+ props = (0, _assignStyle.assignStyle)({
39
+ $$css: true,
40
+ [key]: source
41
+ }, target.split("."), props);
42
+ }
43
+ return /*#__PURE__*/(0, _react.createElement)(component, props);
44
+ };
45
+ exports.useCssElement = useCssElement;
46
+ const colorScheme = exports.colorScheme = {
47
+ get() {
48
+ return _reactNative.Appearance.getColorScheme();
49
+ },
50
+ set(name) {
51
+ _reactNative.Appearance.setColorScheme(name);
52
+ }
53
+ };
54
+
55
+ /**
56
+ * @deprecated Use `<VariableContextProvider />` instead.
57
+ */
58
+ function vars(variables) {
59
+ const $variables = {};
60
+ for (const [key, value] of Object.entries(variables)) {
61
+ if (key.startsWith("--")) {
62
+ $variables[key] = value.toString();
63
+ } else {
64
+ $variables[`--${key}`] = value.toString();
65
+ }
66
+ }
67
+ return $variables;
68
+ }
69
+ function VariableContextProvider(props) {
70
+ const style = (0, _react.useMemo)(() => {
71
+ return {
72
+ display: "contents",
73
+ ...Object.fromEntries(Object.entries(props.value).map(([key, value]) => [key.startsWith("--") ? key : `--${key}`, value]))
74
+ };
75
+ }, [props.value]);
76
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
77
+ style: style,
78
+ children: props.children
79
+ });
80
+ }
81
+ const useNativeVariable = () => {
82
+ throw new Error("useNativeVariable is not supported in web");
83
+ };
84
+ exports.useNativeVariable = useNativeVariable;
85
+ const useUnstableNativeVariable = () => {
86
+ throw new Error("useUnstableNativeVariable is not supported in web");
87
+ };
88
+ exports.useUnstableNativeVariable = useUnstableNativeVariable;
89
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactNative","_assignStyle","_jsxRuntime","defaultMapping","className","styled","baseComponent","mapping","_options","props","useCssElement","exports","component","incomingProps","key","value","Object","entries","source","target","assignStyle","$$css","split","createElement","colorScheme","get","Appearance","getColorScheme","set","name","setColorScheme","vars","variables","$variables","startsWith","toString","VariableContextProvider","style","useMemo","display","fromEntries","map","jsx","children","useNativeVariable","Error","useUnstableNativeVariable"],"sourceRoot":"../../../src","sources":["web/api.tsx"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,YAAA,GAAAD,OAAA;AAWA,IAAAE,YAAA,GAAAF,OAAA;AAA6C,IAAAG,WAAA,GAAAH,OAAA;AAE7C,MAAMI,cAAsE,GAAG;EAC7EC,SAAS,EAAE;AACb,CAAC;AAEM,MAAMC,MAAM,GAAGA,CAIpBC,aAAgB,EAChBC,OAAU,GAAGJ,cAAmB,EAChCK,QAAwB,KACrB;EACH,OAAQC,KAA+C,IAAK;IAC1D,OAAOC,aAAa,CAACJ,aAAa,EAAEG,KAAK,EAAEF,OAAO,CAAC;EACrD,CAAC;AACH,CAAC;AAACI,OAAA,CAAAN,MAAA,GAAAA,MAAA;AAEK,MAAMK,aAAa,GAAGA,CAC3BE,SAAY,EACZC,aAAoB,EACpBN,OAA+B,KAC5B;EACH,IAAIE,KAAK,GAAG;IAAE,GAAGI;EAAc,CAAC;EAE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IACpC,CAAC,MAAM;MACLF,UAAU,CAAC,KAAKnB,GAAG,EAAE,CAAC,GAAGC,KAAK,CAACoB,QAAQ,CAAC,CAAC;IAC3C;EACF;EACA,OAAOF,UAAU;AACnB;AAEO,SAASG,uBAAuBA,CACrC3B,KAA2E,EAC3E;EACA,MAAM4B,KAAK,GAAG,IAAAC,cAAO,EAAC,MAAM;IAC1B,OAAO;MACLC,OAAO,EAAE,UAAU;MACnB,GAAGvB,MAAM,CAACwB,WAAW,CACnBxB,MAAM,CAACC,OAAO,CAACR,KAAK,CAACM,KAAK,CAAC,CAAC0B,GAAG,CAAC,CAAC,CAAC3B,GAAG,EAAEC,KAAK,CAAC,KAAK,CAChDD,GAAG,CAACoB,UAAU,CAAC,IAAI,CAAC,GAAGpB,GAAG,GAAG,KAAKA,GAAG,EAAE,EACvCC,KAAK,CACN,CACH;IACF,CAAC;EACH,CAAC,EAAE,CAACN,KAAK,CAACM,KAAK,CAAC,CAAC;EAEjB,oBAAO,IAAAb,WAAA,CAAAwC,GAAA;IAAKL,KAAK,EAAEA,KAAM;IAAAM,QAAA,EAAElC,KAAK,CAACkC;EAAQ,CAAM,CAAC;AAClD;AAEO,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EACrC,MAAM,IAAIC,KAAK,CAAC,2CAA2C,CAAC;AAC9D,CAAC;AAAClC,OAAA,CAAAiC,iBAAA,GAAAA,iBAAA;AAEK,MAAME,yBAAyB,GAAGA,CAAA,KAAM;EAC7C,MAAM,IAAID,KAAK,CAAC,mDAAmD,CAAC;AACtE,CAAC;AAAClC,OAAA,CAAAmC,yBAAA,GAAAA,yBAAA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["assignStyle","value","targets","props","target","shift","length","cb","args"],"sourceRoot":"../../../src","sources":["web/assign-style.ts"],"mappings":";;;;;;AAAA;AACO,SAASA,WAAWA,CACzBC,KAA0B,EAC1BC,OAAiB,EACjBC,KAA0B,EAC1B;EACA,MAAMC,MAAM,GAAGF,OAAO,CAACG,KAAK,CAAC,CAAC;EAE9B,IAAI,CAACD,MAAM,EAAE,OAAO,CAAC,CAAC;EAEtB,IAAIF,OAAO,CAACI,MAAM,KAAK,CAAC,EAAE;IACxB,IAAI,OAAOH,KAAK,CAACC,MAAM,CAAC,KAAK,UAAU,EAAE;MACvC,MAAMG,EAAE,GAAGJ,KAAK,CAACC,MAAM,CAAC;MACxBD,KAAK,CAACC,MAAM,CAAC,GAAG,CAAC,GAAGI,IAAW,KAAK;QAClC,OAAO,CAACD,EAAE,CAAC,GAAGC,IAAI,CAAC,EAAEP,KAAK,CAAC;MAC7B,CAAC;IACH,CAAC,MAAM;MACLE,KAAK,CAACC,MAAM,CAAC,GAAG,CAACD,KAAK,CAACC,MAAM,CAAC,EAAEH,KAAK,CAAC;IACxC;IACA,OAAOE,KAAK;EACd,CAAC,MAAM;IACLA,KAAK,CAACC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpBJ,WAAW,CAACC,KAAK,EAAEC,OAAO,EAAEC,KAAK,CAACC,MAAM,CAAC,CAAC;IAC1C,OAAOD,KAAK;EACd;AACF","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["require","_api","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../src","sources":["web/index.ts"],"mappings":";;;;;AACAA,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,IAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAJ,IAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAR,IAAA,CAAAI,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}