react-native-css 0.0.0-nightly.048e6da → 0.0.0-nightly.15475e8

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 (981) hide show
  1. package/README.md +138 -10
  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 +6 -26
  5. package/dist/commonjs/compiler/atRules.js.map +1 -1
  6. package/dist/commonjs/compiler/compiler.js +92 -38
  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 +178 -84
  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/lightningcss-loader.js +40 -0
  15. package/dist/commonjs/compiler/lightningcss-loader.js.map +1 -0
  16. package/dist/commonjs/compiler/pseudo-elements.js +1 -1
  17. package/dist/commonjs/compiler/selector-builder.js +10 -7
  18. package/dist/commonjs/compiler/selector-builder.js.map +1 -1
  19. package/dist/commonjs/compiler/selectors.js +4 -4
  20. package/dist/commonjs/compiler/selectors.js.map +1 -1
  21. package/dist/commonjs/compiler/stylesheet.js +9 -5
  22. package/dist/commonjs/compiler/stylesheet.js.map +1 -1
  23. package/dist/commonjs/components/ActivityIndicator.js +2 -2
  24. package/dist/commonjs/components/ActivityIndicator.js.map +1 -1
  25. package/dist/commonjs/components/Button.js +2 -2
  26. package/dist/commonjs/components/Button.js.map +1 -1
  27. package/dist/commonjs/components/FlatList.js +2 -2
  28. package/dist/commonjs/components/FlatList.js.map +1 -1
  29. package/dist/commonjs/components/Image.js +2 -2
  30. package/dist/commonjs/components/Image.js.map +1 -1
  31. package/dist/commonjs/components/Switch.js +2 -2
  32. package/dist/commonjs/components/Switch.js.map +1 -1
  33. package/dist/commonjs/components/Text.js +2 -2
  34. package/dist/commonjs/components/Text.js.map +1 -1
  35. package/dist/commonjs/components/TextInput.js +2 -2
  36. package/dist/commonjs/components/TextInput.js.map +1 -1
  37. package/dist/commonjs/components/View.js +2 -2
  38. package/dist/commonjs/components/View.js.map +1 -1
  39. package/dist/commonjs/components/react-native-safe-area-context.native.js +3 -3
  40. package/dist/commonjs/components/react-native-safe-area-context.native.js.map +1 -1
  41. package/dist/commonjs/index.js +4 -4
  42. package/dist/commonjs/index.js.map +1 -1
  43. package/dist/commonjs/jest/index.js +5 -6
  44. package/dist/commonjs/jest/index.js.map +1 -1
  45. package/dist/commonjs/metro/index.js +12 -12
  46. package/dist/commonjs/metro/index.js.map +1 -1
  47. package/dist/commonjs/metro/injection-code.js +1 -1
  48. package/dist/commonjs/metro/injection-code.js.map +1 -1
  49. package/dist/commonjs/native/api.js +113 -0
  50. package/dist/commonjs/native/api.js.map +1 -0
  51. package/dist/commonjs/native/conditions/attributes.js +44 -0
  52. package/dist/commonjs/native/conditions/attributes.js.map +1 -0
  53. package/dist/commonjs/native/conditions/container-query.js.map +1 -0
  54. package/dist/commonjs/native/conditions/guards.js.map +1 -0
  55. package/dist/commonjs/native/conditions/index.js.map +1 -0
  56. package/dist/commonjs/native/conditions/media-query.js.map +1 -0
  57. package/dist/commonjs/native/index.js.map +1 -0
  58. package/dist/commonjs/native/metro.js.map +1 -0
  59. package/dist/commonjs/native/objects.js.map +1 -0
  60. package/dist/commonjs/native/react/interaction.js.map +1 -0
  61. package/dist/commonjs/native/react/rules.js +259 -0
  62. package/dist/commonjs/native/react/rules.js.map +1 -0
  63. package/dist/commonjs/native/react/useNativeCss.js +160 -0
  64. package/dist/commonjs/native/react/useNativeCss.js.map +1 -0
  65. package/dist/commonjs/native/react/usePassthrough.js.map +1 -0
  66. package/dist/commonjs/native/reactivity.js +181 -0
  67. package/dist/commonjs/native/reactivity.js.map +1 -0
  68. package/dist/commonjs/native/reanimated.js.map +1 -0
  69. package/dist/commonjs/native/styles/calculate-props.js +162 -0
  70. package/dist/commonjs/native/styles/calculate-props.js.map +1 -0
  71. package/dist/commonjs/native/styles/constants.js.map +1 -0
  72. package/dist/commonjs/native/styles/defaults.js.map +1 -0
  73. package/dist/commonjs/native/styles/functions/animation-timing.js.map +1 -0
  74. package/dist/commonjs/native/styles/functions/calc.js.map +1 -0
  75. package/dist/commonjs/native/styles/functions/filters.js +84 -0
  76. package/dist/commonjs/native/styles/functions/filters.js.map +1 -0
  77. package/dist/commonjs/native/styles/functions/index.js.map +1 -0
  78. package/dist/commonjs/native/styles/functions/numeric-functions.js.map +1 -0
  79. package/dist/commonjs/native/styles/functions/platform-functions.js.map +1 -0
  80. package/dist/commonjs/native/styles/functions/string-functions.js.map +1 -0
  81. package/dist/commonjs/native/styles/functions/transform-functions.js +121 -0
  82. package/dist/commonjs/native/styles/functions/transform-functions.js.map +1 -0
  83. package/dist/commonjs/native/styles/index.js +115 -0
  84. package/dist/commonjs/native/styles/index.js.map +1 -0
  85. package/dist/commonjs/native/styles/line-height.js +25 -0
  86. package/dist/commonjs/native/styles/line-height.js.map +1 -0
  87. package/dist/commonjs/native/styles/resolve.js +108 -0
  88. package/dist/commonjs/native/styles/resolve.js.map +1 -0
  89. package/dist/commonjs/native/styles/shorthands/_handler.js +79 -0
  90. package/dist/commonjs/native/styles/shorthands/_handler.js.map +1 -0
  91. package/dist/commonjs/native/styles/shorthands/animation.js +57 -0
  92. package/dist/commonjs/native/styles/shorthands/animation.js.map +1 -0
  93. package/dist/commonjs/native/styles/shorthands/border.js.map +1 -0
  94. package/dist/commonjs/native/styles/shorthands/box-shadow.js +48 -0
  95. package/dist/commonjs/native/styles/shorthands/box-shadow.js.map +1 -0
  96. package/dist/commonjs/native/styles/shorthands/index.js.map +1 -0
  97. package/dist/commonjs/native/styles/shorthands/text-shadow.js.map +1 -0
  98. package/dist/commonjs/native/styles/shorthands/transform.js.map +1 -0
  99. package/dist/commonjs/native/styles/units.js +54 -0
  100. package/dist/commonjs/native/styles/units.js.map +1 -0
  101. package/dist/commonjs/native/styles/variables.js +79 -0
  102. package/dist/commonjs/native/styles/variables.js.map +1 -0
  103. package/dist/commonjs/native-internal/README.md +11 -0
  104. package/dist/commonjs/native-internal/index.js +39 -0
  105. package/dist/commonjs/native-internal/index.js.map +1 -0
  106. package/dist/commonjs/native-internal/root.js +34 -0
  107. package/dist/commonjs/native-internal/root.js.map +1 -0
  108. package/dist/commonjs/native-internal/style-collection.js +110 -0
  109. package/dist/commonjs/native-internal/style-collection.js.map +1 -0
  110. package/dist/commonjs/native-internal/variables.js +27 -0
  111. package/dist/commonjs/native-internal/variables.js.map +1 -0
  112. package/dist/commonjs/runtime/native/injection.js +2 -0
  113. package/dist/commonjs/runtime/native/injection.js.map +1 -0
  114. package/dist/commonjs/runtime.js.map +1 -0
  115. package/dist/commonjs/runtime.native.js.map +1 -0
  116. package/dist/commonjs/runtime.types.js.map +1 -0
  117. package/dist/commonjs/utilities/dot-notation.types.js.map +1 -0
  118. package/dist/commonjs/utilities/index.js +39 -0
  119. package/dist/commonjs/utilities/index.js.map +1 -0
  120. package/dist/commonjs/utilities/specificity.js.map +1 -0
  121. package/dist/commonjs/utilities/style-descriptor.js +21 -0
  122. package/dist/commonjs/utilities/style-descriptor.js.map +1 -0
  123. package/dist/commonjs/web/api.js +86 -0
  124. package/dist/commonjs/web/api.js.map +1 -0
  125. package/dist/commonjs/web/assign-style.js.map +1 -0
  126. package/dist/commonjs/web/index.js.map +1 -0
  127. package/dist/commonjs/web/metro.js.map +1 -0
  128. package/dist/module/babel/index.js +2 -2
  129. package/dist/module/babel/index.js.map +1 -1
  130. package/dist/module/compiler/atRules.js +6 -26
  131. package/dist/module/compiler/atRules.js.map +1 -1
  132. package/dist/module/compiler/compiler.js +92 -38
  133. package/dist/module/compiler/compiler.js.map +1 -1
  134. package/dist/module/compiler/compiler.types.js +1 -1
  135. package/dist/module/compiler/compiler.types.js.map +1 -1
  136. package/dist/module/compiler/declarations.js +173 -84
  137. package/dist/module/compiler/declarations.js.map +1 -1
  138. package/dist/module/compiler/inline-variables.js +138 -0
  139. package/dist/module/compiler/inline-variables.js.map +1 -0
  140. package/dist/module/compiler/lightningcss-loader.js +36 -0
  141. package/dist/module/compiler/lightningcss-loader.js.map +1 -0
  142. package/dist/module/compiler/pseudo-elements.js +1 -1
  143. package/dist/module/compiler/pseudo-elements.js.map +1 -1
  144. package/dist/module/compiler/selector-builder.js +10 -7
  145. package/dist/module/compiler/selector-builder.js.map +1 -1
  146. package/dist/module/compiler/selectors.js +1 -1
  147. package/dist/module/compiler/selectors.js.map +1 -1
  148. package/dist/module/compiler/stylesheet.js +9 -5
  149. package/dist/module/compiler/stylesheet.js.map +1 -1
  150. package/dist/module/components/ActivityIndicator.js +1 -1
  151. package/dist/module/components/ActivityIndicator.js.map +1 -1
  152. package/dist/module/components/Button.js +1 -1
  153. package/dist/module/components/Button.js.map +1 -1
  154. package/dist/module/components/FlatList.js +1 -1
  155. package/dist/module/components/FlatList.js.map +1 -1
  156. package/dist/module/components/Image.js +1 -1
  157. package/dist/module/components/Image.js.map +1 -1
  158. package/dist/module/components/Switch.js +1 -1
  159. package/dist/module/components/Switch.js.map +1 -1
  160. package/dist/module/components/Text.js +1 -1
  161. package/dist/module/components/Text.js.map +1 -1
  162. package/dist/module/components/TextInput.js +1 -1
  163. package/dist/module/components/TextInput.js.map +1 -1
  164. package/dist/module/components/View.js +1 -1
  165. package/dist/module/components/View.js.map +1 -1
  166. package/dist/module/components/react-native-safe-area-context.native.js +2 -2
  167. package/dist/module/components/react-native-safe-area-context.native.js.map +1 -1
  168. package/dist/module/index.js +1 -1
  169. package/dist/module/index.js.map +1 -1
  170. package/dist/module/jest/index.js +3 -4
  171. package/dist/module/jest/index.js.map +1 -1
  172. package/dist/module/metro/index.js +11 -11
  173. package/dist/module/metro/index.js.map +1 -1
  174. package/dist/module/metro/injection-code.js +1 -1
  175. package/dist/module/metro/injection-code.js.map +1 -1
  176. package/dist/module/native/api.js +82 -0
  177. package/dist/module/native/api.js.map +1 -0
  178. package/dist/module/native/conditions/attributes.js +40 -0
  179. package/dist/module/native/conditions/attributes.js.map +1 -0
  180. package/dist/module/native/conditions/container-query.js.map +1 -0
  181. package/dist/module/native/conditions/guards.js.map +1 -0
  182. package/dist/module/native/conditions/index.js.map +1 -0
  183. package/dist/module/native/conditions/media-query.js.map +1 -0
  184. package/dist/module/native/index.js.map +1 -0
  185. package/dist/module/native/metro.js.map +1 -0
  186. package/dist/module/native/objects.js.map +1 -0
  187. package/dist/module/native/react/interaction.js.map +1 -0
  188. package/dist/module/native/react/rules.js +252 -0
  189. package/dist/module/native/react/rules.js.map +1 -0
  190. package/dist/module/native/react/useNativeCss.js +154 -0
  191. package/dist/module/native/react/useNativeCss.js.map +1 -0
  192. package/dist/module/native/react/usePassthrough.js.map +1 -0
  193. package/dist/module/native/reactivity.js +169 -0
  194. package/dist/module/native/reactivity.js.map +1 -0
  195. package/dist/module/native/reanimated.js.map +1 -0
  196. package/dist/module/native/styles/calculate-props.js +157 -0
  197. package/dist/module/native/styles/calculate-props.js.map +1 -0
  198. package/dist/module/native/styles/constants.js.map +1 -0
  199. package/dist/module/native/styles/defaults.js.map +1 -0
  200. package/dist/module/native/styles/functions/animation-timing.js.map +1 -0
  201. package/dist/module/native/styles/functions/calc.js.map +1 -0
  202. package/dist/module/native/styles/functions/filters.js +70 -0
  203. package/dist/module/native/styles/functions/filters.js.map +1 -0
  204. package/dist/module/native/styles/functions/index.js.map +1 -0
  205. package/dist/module/native/styles/functions/numeric-functions.js.map +1 -0
  206. package/dist/module/native/styles/functions/platform-functions.js.map +1 -0
  207. package/dist/module/native/styles/functions/string-functions.js.map +1 -0
  208. package/dist/module/native/styles/functions/transform-functions.js +114 -0
  209. package/dist/module/native/styles/functions/transform-functions.js.map +1 -0
  210. package/dist/module/native/styles/index.js +110 -0
  211. package/dist/module/native/styles/index.js.map +1 -0
  212. package/dist/module/native/styles/line-height.js +20 -0
  213. package/dist/module/native/styles/line-height.js.map +1 -0
  214. package/dist/module/native/styles/resolve.js +103 -0
  215. package/dist/module/native/styles/resolve.js.map +1 -0
  216. package/dist/module/native/styles/shorthands/_handler.js +74 -0
  217. package/dist/module/native/styles/shorthands/_handler.js.map +1 -0
  218. package/dist/module/native/styles/shorthands/animation.js +51 -0
  219. package/dist/module/native/styles/shorthands/animation.js.map +1 -0
  220. package/dist/module/native/styles/shorthands/border.js.map +1 -0
  221. package/dist/module/native/styles/shorthands/box-shadow.js +43 -0
  222. package/dist/module/native/styles/shorthands/box-shadow.js.map +1 -0
  223. package/dist/module/native/styles/shorthands/index.js.map +1 -0
  224. package/dist/module/native/styles/shorthands/text-shadow.js.map +1 -0
  225. package/dist/module/native/styles/shorthands/transform.js.map +1 -0
  226. package/dist/module/native/styles/units.js +46 -0
  227. package/dist/module/native/styles/units.js.map +1 -0
  228. package/dist/module/native/styles/variables.js +75 -0
  229. package/dist/module/native/styles/variables.js.map +1 -0
  230. package/dist/module/native-internal/README.md +11 -0
  231. package/dist/module/native-internal/index.js +6 -0
  232. package/dist/module/native-internal/index.js.map +1 -0
  233. package/dist/module/native-internal/root.js +30 -0
  234. package/dist/module/native-internal/root.js.map +1 -0
  235. package/dist/module/native-internal/style-collection.js +95 -0
  236. package/dist/module/native-internal/style-collection.js.map +1 -0
  237. package/dist/module/native-internal/variables.js +22 -0
  238. package/dist/module/native-internal/variables.js.map +1 -0
  239. package/dist/module/runtime/native/injection.js +2 -0
  240. package/dist/module/runtime/native/injection.js.map +1 -0
  241. package/dist/module/runtime.js.map +1 -0
  242. package/dist/module/runtime.native.js.map +1 -0
  243. package/dist/module/runtime.types.js.map +1 -0
  244. package/dist/module/utilities/dot-notation.types.js.map +1 -0
  245. package/dist/module/utilities/index.js +6 -0
  246. package/dist/module/utilities/index.js.map +1 -0
  247. package/dist/module/utilities/specificity.js.map +1 -0
  248. package/dist/module/utilities/style-descriptor.js +16 -0
  249. package/dist/module/utilities/style-descriptor.js.map +1 -0
  250. package/dist/module/web/api.js +76 -0
  251. package/dist/module/web/api.js.map +1 -0
  252. package/dist/module/web/assign-style.js.map +1 -0
  253. package/dist/module/web/index.js.map +1 -0
  254. package/dist/module/web/metro.js.map +1 -0
  255. package/dist/typescript/commonjs/example/src/App.d.ts.map +1 -1
  256. package/dist/typescript/commonjs/src/babel/index.d.ts +3 -0
  257. package/dist/typescript/commonjs/src/babel/index.d.ts.map +1 -1
  258. package/dist/typescript/commonjs/src/compiler/atRules.d.ts +1 -1
  259. package/dist/typescript/commonjs/src/compiler/atRules.d.ts.map +1 -1
  260. package/dist/typescript/commonjs/src/compiler/compiler.d.ts.map +1 -1
  261. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts +11 -7
  262. package/dist/typescript/commonjs/src/compiler/compiler.types.d.ts.map +1 -1
  263. package/dist/typescript/commonjs/src/compiler/declarations.d.ts +19 -8
  264. package/dist/typescript/commonjs/src/compiler/declarations.d.ts.map +1 -1
  265. package/dist/typescript/commonjs/src/compiler/inline-variables.d.ts +4 -0
  266. package/dist/typescript/commonjs/src/compiler/inline-variables.d.ts.map +1 -0
  267. package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts +30 -0
  268. package/dist/typescript/commonjs/src/compiler/lightningcss-loader.d.ts.map +1 -0
  269. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts +1 -1
  270. package/dist/typescript/commonjs/src/compiler/selector-builder.d.ts.map +1 -1
  271. package/dist/typescript/commonjs/src/compiler/stylesheet.d.ts.map +1 -1
  272. package/dist/typescript/commonjs/src/components/Text.d.ts +2 -2
  273. package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -1
  274. package/dist/typescript/commonjs/src/components/View.d.ts +2 -2
  275. package/dist/typescript/commonjs/src/components/View.d.ts.map +1 -1
  276. package/dist/typescript/commonjs/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
  277. package/dist/typescript/commonjs/src/jest/index.d.ts +1 -1
  278. package/dist/typescript/commonjs/src/jest/index.d.ts.map +1 -1
  279. package/dist/typescript/commonjs/src/metro/index.d.ts +1 -1
  280. package/dist/typescript/commonjs/src/metro/index.d.ts.map +1 -1
  281. package/dist/typescript/commonjs/src/native/api.d.ts +26 -0
  282. package/dist/typescript/commonjs/src/native/api.d.ts.map +1 -0
  283. package/dist/typescript/commonjs/src/native/conditions/attributes.d.ts +4 -0
  284. package/dist/typescript/commonjs/src/native/conditions/attributes.d.ts.map +1 -0
  285. package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts +7 -0
  286. package/dist/typescript/commonjs/src/native/conditions/container-query.d.ts.map +1 -0
  287. package/dist/typescript/commonjs/src/native/conditions/guards.d.ts.map +1 -0
  288. package/dist/typescript/commonjs/src/native/conditions/index.d.ts +6 -0
  289. package/dist/typescript/commonjs/src/native/conditions/index.d.ts.map +1 -0
  290. package/dist/typescript/commonjs/src/native/conditions/media-query.d.ts +4 -0
  291. package/dist/typescript/commonjs/src/native/conditions/media-query.d.ts.map +1 -0
  292. package/dist/typescript/commonjs/src/native/index.d.ts.map +1 -0
  293. package/dist/typescript/commonjs/src/native/metro.d.ts.map +1 -0
  294. package/dist/typescript/commonjs/src/native/objects.d.ts.map +1 -0
  295. package/dist/typescript/commonjs/src/native/react/interaction.d.ts.map +1 -0
  296. package/dist/typescript/commonjs/src/native/react/rules.d.ts.map +1 -0
  297. package/dist/typescript/commonjs/src/native/react/useNativeCss.d.ts.map +1 -0
  298. package/dist/typescript/commonjs/src/native/react/usePassthrough.d.ts.map +1 -0
  299. package/dist/typescript/commonjs/src/native/reactivity.d.ts +52 -0
  300. package/dist/typescript/commonjs/src/native/reactivity.d.ts.map +1 -0
  301. package/dist/typescript/commonjs/src/native/reanimated.d.ts.map +1 -0
  302. package/dist/typescript/commonjs/src/native/styles/calculate-props.d.ts +10 -0
  303. package/dist/typescript/commonjs/src/native/styles/calculate-props.d.ts.map +1 -0
  304. package/dist/typescript/commonjs/src/native/styles/constants.d.ts.map +1 -0
  305. package/dist/typescript/commonjs/src/native/styles/defaults.d.ts.map +1 -0
  306. package/dist/typescript/commonjs/src/native/styles/functions/animation-timing.d.ts.map +1 -0
  307. package/dist/typescript/commonjs/src/native/styles/functions/calc.d.ts.map +1 -0
  308. package/dist/typescript/commonjs/src/native/styles/functions/filters.d.ts.map +1 -0
  309. package/dist/typescript/commonjs/src/native/styles/functions/index.d.ts.map +1 -0
  310. package/dist/typescript/commonjs/src/native/styles/functions/numeric-functions.d.ts.map +1 -0
  311. package/dist/typescript/commonjs/src/native/styles/functions/platform-functions.d.ts.map +1 -0
  312. package/dist/typescript/commonjs/src/native/styles/functions/string-functions.d.ts.map +1 -0
  313. package/dist/typescript/commonjs/src/native/styles/functions/transform-functions.d.ts.map +1 -0
  314. package/dist/typescript/commonjs/src/native/styles/index.d.ts +19 -0
  315. package/dist/typescript/commonjs/src/native/styles/index.d.ts.map +1 -0
  316. package/dist/typescript/commonjs/src/native/styles/line-height.d.ts +3 -0
  317. package/dist/typescript/commonjs/src/native/styles/line-height.d.ts.map +1 -0
  318. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts +18 -0
  319. package/dist/typescript/commonjs/src/native/styles/resolve.d.ts.map +1 -0
  320. package/dist/typescript/commonjs/src/native/styles/shorthands/_handler.d.ts.map +1 -0
  321. package/dist/typescript/commonjs/src/native/styles/shorthands/animation.d.ts.map +1 -0
  322. package/dist/typescript/commonjs/src/native/styles/shorthands/border.d.ts.map +1 -0
  323. package/dist/typescript/commonjs/src/native/styles/shorthands/box-shadow.d.ts.map +1 -0
  324. package/dist/typescript/commonjs/src/native/styles/shorthands/index.d.ts.map +1 -0
  325. package/dist/typescript/commonjs/src/native/styles/shorthands/text-shadow.d.ts.map +1 -0
  326. package/dist/typescript/commonjs/src/native/styles/shorthands/transform.d.ts.map +1 -0
  327. package/dist/typescript/commonjs/src/native/styles/units.d.ts.map +1 -0
  328. package/dist/typescript/commonjs/src/native/styles/variables.d.ts +5 -0
  329. package/dist/typescript/commonjs/src/native/styles/variables.d.ts.map +1 -0
  330. package/dist/typescript/commonjs/src/native-internal/index.d.ts +4 -0
  331. package/dist/typescript/commonjs/src/native-internal/index.d.ts.map +1 -0
  332. package/dist/typescript/commonjs/src/native-internal/root.d.ts +11 -0
  333. package/dist/typescript/commonjs/src/native-internal/root.d.ts.map +1 -0
  334. package/dist/typescript/commonjs/src/native-internal/style-collection.d.ts +16 -0
  335. package/dist/typescript/commonjs/src/native-internal/style-collection.d.ts.map +1 -0
  336. package/dist/typescript/commonjs/src/native-internal/variables.d.ts +8 -0
  337. package/dist/typescript/commonjs/src/native-internal/variables.d.ts.map +1 -0
  338. package/dist/typescript/commonjs/src/runtime/native/injection.d.ts +1 -0
  339. package/dist/typescript/commonjs/src/runtime/native/injection.d.ts.map +1 -0
  340. package/dist/typescript/commonjs/src/runtime.d.ts.map +1 -0
  341. package/dist/typescript/commonjs/src/runtime.native.d.ts.map +1 -0
  342. package/dist/typescript/commonjs/src/runtime.types.d.ts +49 -0
  343. package/dist/typescript/commonjs/src/runtime.types.d.ts.map +1 -0
  344. package/dist/typescript/commonjs/src/utilities/dot-notation.types.d.ts.map +1 -0
  345. package/dist/typescript/commonjs/src/utilities/index.d.ts +4 -0
  346. package/dist/typescript/commonjs/src/utilities/index.d.ts.map +1 -0
  347. package/dist/typescript/commonjs/src/utilities/specificity.d.ts +13 -0
  348. package/dist/typescript/commonjs/src/utilities/specificity.d.ts.map +1 -0
  349. package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts +4 -0
  350. package/dist/typescript/commonjs/src/utilities/style-descriptor.d.ts.map +1 -0
  351. package/dist/typescript/commonjs/src/web/api.d.ts +16 -0
  352. package/dist/typescript/commonjs/src/web/api.d.ts.map +1 -0
  353. package/dist/typescript/commonjs/src/web/assign-style.d.ts.map +1 -0
  354. package/dist/typescript/commonjs/src/web/index.d.ts.map +1 -0
  355. package/dist/typescript/commonjs/src/web/metro.d.ts.map +1 -0
  356. package/dist/typescript/module/example/src/App.d.ts.map +1 -1
  357. package/dist/typescript/module/src/babel/index.d.ts +3 -0
  358. package/dist/typescript/module/src/babel/index.d.ts.map +1 -1
  359. package/dist/typescript/module/src/compiler/atRules.d.ts +1 -1
  360. package/dist/typescript/module/src/compiler/atRules.d.ts.map +1 -1
  361. package/dist/typescript/module/src/compiler/compiler.d.ts.map +1 -1
  362. package/dist/typescript/module/src/compiler/compiler.types.d.ts +11 -7
  363. package/dist/typescript/module/src/compiler/compiler.types.d.ts.map +1 -1
  364. package/dist/typescript/module/src/compiler/declarations.d.ts +19 -8
  365. package/dist/typescript/module/src/compiler/declarations.d.ts.map +1 -1
  366. package/dist/typescript/module/src/compiler/inline-variables.d.ts +4 -0
  367. package/dist/typescript/module/src/compiler/inline-variables.d.ts.map +1 -0
  368. package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts +30 -0
  369. package/dist/typescript/module/src/compiler/lightningcss-loader.d.ts.map +1 -0
  370. package/dist/typescript/module/src/compiler/selector-builder.d.ts +1 -1
  371. package/dist/typescript/module/src/compiler/selector-builder.d.ts.map +1 -1
  372. package/dist/typescript/module/src/compiler/stylesheet.d.ts.map +1 -1
  373. package/dist/typescript/module/src/components/Text.d.ts +2 -2
  374. package/dist/typescript/module/src/components/Text.d.ts.map +1 -1
  375. package/dist/typescript/module/src/components/View.d.ts +2 -2
  376. package/dist/typescript/module/src/components/View.d.ts.map +1 -1
  377. package/dist/typescript/module/src/components/react-native-safe-area-context.native.d.ts.map +1 -1
  378. package/dist/typescript/module/src/jest/index.d.ts +1 -1
  379. package/dist/typescript/module/src/jest/index.d.ts.map +1 -1
  380. package/dist/typescript/module/src/metro/index.d.ts +1 -1
  381. package/dist/typescript/module/src/metro/index.d.ts.map +1 -1
  382. package/dist/typescript/module/src/native/api.d.ts +26 -0
  383. package/dist/typescript/module/src/native/api.d.ts.map +1 -0
  384. package/dist/typescript/module/src/native/conditions/attributes.d.ts +4 -0
  385. package/dist/typescript/module/src/native/conditions/attributes.d.ts.map +1 -0
  386. package/dist/typescript/module/src/native/conditions/container-query.d.ts +7 -0
  387. package/dist/typescript/module/src/native/conditions/container-query.d.ts.map +1 -0
  388. package/dist/typescript/module/src/native/conditions/guards.d.ts.map +1 -0
  389. package/dist/typescript/module/src/native/conditions/index.d.ts +6 -0
  390. package/dist/typescript/module/src/native/conditions/index.d.ts.map +1 -0
  391. package/dist/typescript/module/src/native/conditions/media-query.d.ts +4 -0
  392. package/dist/typescript/module/src/native/conditions/media-query.d.ts.map +1 -0
  393. package/dist/typescript/module/src/native/index.d.ts.map +1 -0
  394. package/dist/typescript/module/src/native/metro.d.ts.map +1 -0
  395. package/dist/typescript/module/src/native/objects.d.ts.map +1 -0
  396. package/dist/typescript/module/src/native/react/interaction.d.ts.map +1 -0
  397. package/dist/typescript/module/src/native/react/rules.d.ts.map +1 -0
  398. package/dist/typescript/module/src/native/react/useNativeCss.d.ts.map +1 -0
  399. package/dist/typescript/module/src/native/react/usePassthrough.d.ts.map +1 -0
  400. package/dist/typescript/module/src/native/reactivity.d.ts +52 -0
  401. package/dist/typescript/module/src/native/reactivity.d.ts.map +1 -0
  402. package/dist/typescript/module/src/native/reanimated.d.ts.map +1 -0
  403. package/dist/typescript/module/src/native/styles/calculate-props.d.ts +10 -0
  404. package/dist/typescript/module/src/native/styles/calculate-props.d.ts.map +1 -0
  405. package/dist/typescript/module/src/native/styles/constants.d.ts.map +1 -0
  406. package/dist/typescript/module/src/native/styles/defaults.d.ts.map +1 -0
  407. package/dist/typescript/module/src/native/styles/functions/animation-timing.d.ts.map +1 -0
  408. package/dist/typescript/module/src/native/styles/functions/calc.d.ts.map +1 -0
  409. package/dist/typescript/module/src/native/styles/functions/filters.d.ts.map +1 -0
  410. package/dist/typescript/module/src/native/styles/functions/index.d.ts.map +1 -0
  411. package/dist/typescript/module/src/native/styles/functions/numeric-functions.d.ts.map +1 -0
  412. package/dist/typescript/module/src/native/styles/functions/platform-functions.d.ts.map +1 -0
  413. package/dist/typescript/module/src/native/styles/functions/string-functions.d.ts.map +1 -0
  414. package/dist/typescript/module/src/native/styles/functions/transform-functions.d.ts.map +1 -0
  415. package/dist/typescript/module/src/native/styles/index.d.ts +19 -0
  416. package/dist/typescript/module/src/native/styles/index.d.ts.map +1 -0
  417. package/dist/typescript/module/src/native/styles/line-height.d.ts +3 -0
  418. package/dist/typescript/module/src/native/styles/line-height.d.ts.map +1 -0
  419. package/dist/typescript/module/src/native/styles/resolve.d.ts +18 -0
  420. package/dist/typescript/module/src/native/styles/resolve.d.ts.map +1 -0
  421. package/dist/typescript/module/src/native/styles/shorthands/_handler.d.ts.map +1 -0
  422. package/dist/typescript/module/src/native/styles/shorthands/animation.d.ts.map +1 -0
  423. package/dist/typescript/module/src/native/styles/shorthands/border.d.ts.map +1 -0
  424. package/dist/typescript/module/src/native/styles/shorthands/box-shadow.d.ts.map +1 -0
  425. package/dist/typescript/module/src/native/styles/shorthands/index.d.ts.map +1 -0
  426. package/dist/typescript/module/src/native/styles/shorthands/text-shadow.d.ts.map +1 -0
  427. package/dist/typescript/module/src/native/styles/shorthands/transform.d.ts.map +1 -0
  428. package/dist/typescript/module/src/native/styles/units.d.ts.map +1 -0
  429. package/dist/typescript/module/src/native/styles/variables.d.ts +5 -0
  430. package/dist/typescript/module/src/native/styles/variables.d.ts.map +1 -0
  431. package/dist/typescript/module/src/native-internal/index.d.ts +4 -0
  432. package/dist/typescript/module/src/native-internal/index.d.ts.map +1 -0
  433. package/dist/typescript/module/src/native-internal/root.d.ts +11 -0
  434. package/dist/typescript/module/src/native-internal/root.d.ts.map +1 -0
  435. package/dist/typescript/module/src/native-internal/style-collection.d.ts +16 -0
  436. package/dist/typescript/module/src/native-internal/style-collection.d.ts.map +1 -0
  437. package/dist/typescript/module/src/native-internal/variables.d.ts +8 -0
  438. package/dist/typescript/module/src/native-internal/variables.d.ts.map +1 -0
  439. package/dist/typescript/module/src/runtime/native/injection.d.ts +1 -0
  440. package/dist/typescript/module/src/runtime/native/injection.d.ts.map +1 -0
  441. package/dist/typescript/module/src/runtime.d.ts.map +1 -0
  442. package/dist/typescript/module/src/runtime.native.d.ts.map +1 -0
  443. package/dist/typescript/module/src/runtime.types.d.ts +49 -0
  444. package/dist/typescript/module/src/runtime.types.d.ts.map +1 -0
  445. package/dist/typescript/module/src/utilities/dot-notation.types.d.ts.map +1 -0
  446. package/dist/typescript/module/src/utilities/index.d.ts +4 -0
  447. package/dist/typescript/module/src/utilities/index.d.ts.map +1 -0
  448. package/dist/typescript/module/src/utilities/specificity.d.ts +13 -0
  449. package/dist/typescript/module/src/utilities/specificity.d.ts.map +1 -0
  450. package/dist/typescript/module/src/utilities/style-descriptor.d.ts +4 -0
  451. package/dist/typescript/module/src/utilities/style-descriptor.d.ts.map +1 -0
  452. package/dist/typescript/module/src/web/api.d.ts +16 -0
  453. package/dist/typescript/module/src/web/api.d.ts.map +1 -0
  454. package/dist/typescript/module/src/web/assign-style.d.ts.map +1 -0
  455. package/dist/typescript/module/src/web/index.d.ts.map +1 -0
  456. package/dist/typescript/module/src/web/metro.d.ts.map +1 -0
  457. package/package.json +85 -54
  458. package/src/babel/index.ts +2 -2
  459. package/src/compiler/atRules.ts +4 -26
  460. package/src/compiler/compiler.ts +113 -40
  461. package/src/compiler/compiler.types.ts +16 -7
  462. package/src/compiler/declarations.ts +242 -131
  463. package/src/compiler/inline-variables.ts +209 -0
  464. package/src/compiler/lightningcss-loader.ts +40 -0
  465. package/src/compiler/pseudo-elements.ts +1 -1
  466. package/src/compiler/selector-builder.ts +14 -8
  467. package/src/compiler/selectors.ts +1 -1
  468. package/src/compiler/stylesheet.ts +11 -10
  469. package/src/components/Text.tsx +1 -1
  470. package/src/components/View.tsx +1 -1
  471. package/src/components/react-native-safe-area-context.native.tsx +7 -3
  472. package/src/jest/index.ts +4 -5
  473. package/src/metro/index.ts +19 -17
  474. package/src/metro/injection-code.ts +1 -1
  475. package/src/native/api.tsx +120 -0
  476. package/src/native/conditions/attributes.ts +54 -0
  477. package/src/native/conditions/container-query.ts +162 -0
  478. package/src/native/conditions/index.ts +55 -0
  479. package/src/native/conditions/media-query.ts +99 -0
  480. package/src/native/react/rules.ts +336 -0
  481. package/src/native/react/useNativeCss.ts +204 -0
  482. package/src/native/reactivity.ts +248 -0
  483. package/src/native/styles/calculate-props.ts +217 -0
  484. package/src/native/styles/functions/filters.ts +99 -0
  485. package/src/native/styles/functions/transform-functions.ts +85 -0
  486. package/src/native/styles/index.ts +198 -0
  487. package/src/native/styles/line-height.ts +25 -0
  488. package/src/native/styles/resolve.ts +165 -0
  489. package/src/native/styles/shorthands/_handler.ts +122 -0
  490. package/src/native/styles/shorthands/animation.ts +123 -0
  491. package/src/native/styles/shorthands/box-shadow.ts +71 -0
  492. package/src/native/styles/units.ts +62 -0
  493. package/src/native/styles/variables.ts +88 -0
  494. package/src/native-internal/README.md +11 -0
  495. package/src/native-internal/index.ts +3 -0
  496. package/src/native-internal/root.ts +44 -0
  497. package/src/native-internal/style-collection.ts +148 -0
  498. package/src/native-internal/variables.tsx +36 -0
  499. package/src/runtime/native/injection.ts +0 -0
  500. package/src/runtime.types.ts +150 -0
  501. package/src/utilities/index.ts +3 -0
  502. package/src/utilities/specificity.ts +45 -0
  503. package/src/utilities/style-descriptor.ts +24 -0
  504. package/src/web/api.tsx +115 -0
  505. package/dist/commonjs/runtime/index.js +0 -17
  506. package/dist/commonjs/runtime/index.js.map +0 -1
  507. package/dist/commonjs/runtime/native/api.js +0 -96
  508. package/dist/commonjs/runtime/native/api.js.map +0 -1
  509. package/dist/commonjs/runtime/native/conditions/attributes.js +0 -42
  510. package/dist/commonjs/runtime/native/conditions/attributes.js.map +0 -1
  511. package/dist/commonjs/runtime/native/conditions/container-query.js.map +0 -1
  512. package/dist/commonjs/runtime/native/conditions/guards.js.map +0 -1
  513. package/dist/commonjs/runtime/native/conditions/index.js.map +0 -1
  514. package/dist/commonjs/runtime/native/conditions/media-query.js.map +0 -1
  515. package/dist/commonjs/runtime/native/index.js.map +0 -1
  516. package/dist/commonjs/runtime/native/metro.js.map +0 -1
  517. package/dist/commonjs/runtime/native/react/interaction.js.map +0 -1
  518. package/dist/commonjs/runtime/native/react/rules.js +0 -259
  519. package/dist/commonjs/runtime/native/react/rules.js.map +0 -1
  520. package/dist/commonjs/runtime/native/react/useNativeCss.js +0 -159
  521. package/dist/commonjs/runtime/native/react/useNativeCss.js.map +0 -1
  522. package/dist/commonjs/runtime/native/react/usePassthrough.js.map +0 -1
  523. package/dist/commonjs/runtime/native/reactivity.js +0 -189
  524. package/dist/commonjs/runtime/native/reactivity.js.map +0 -1
  525. package/dist/commonjs/runtime/native/reanimated.js.map +0 -1
  526. package/dist/commonjs/runtime/native/styles/calculate-props.js +0 -148
  527. package/dist/commonjs/runtime/native/styles/calculate-props.js.map +0 -1
  528. package/dist/commonjs/runtime/native/styles/constants.js.map +0 -1
  529. package/dist/commonjs/runtime/native/styles/defaults.js.map +0 -1
  530. package/dist/commonjs/runtime/native/styles/functions/animation-timing.js.map +0 -1
  531. package/dist/commonjs/runtime/native/styles/functions/calc.js.map +0 -1
  532. package/dist/commonjs/runtime/native/styles/functions/filters.js +0 -84
  533. package/dist/commonjs/runtime/native/styles/functions/filters.js.map +0 -1
  534. package/dist/commonjs/runtime/native/styles/functions/index.js.map +0 -1
  535. package/dist/commonjs/runtime/native/styles/functions/numeric-functions.js.map +0 -1
  536. package/dist/commonjs/runtime/native/styles/functions/platform-functions.js.map +0 -1
  537. package/dist/commonjs/runtime/native/styles/functions/string-functions.js.map +0 -1
  538. package/dist/commonjs/runtime/native/styles/functions/transform-functions.js +0 -121
  539. package/dist/commonjs/runtime/native/styles/functions/transform-functions.js.map +0 -1
  540. package/dist/commonjs/runtime/native/styles/index.js +0 -115
  541. package/dist/commonjs/runtime/native/styles/index.js.map +0 -1
  542. package/dist/commonjs/runtime/native/styles/resolve.js +0 -106
  543. package/dist/commonjs/runtime/native/styles/resolve.js.map +0 -1
  544. package/dist/commonjs/runtime/native/styles/shorthands/_handler.js +0 -79
  545. package/dist/commonjs/runtime/native/styles/shorthands/_handler.js.map +0 -1
  546. package/dist/commonjs/runtime/native/styles/shorthands/animation.js +0 -57
  547. package/dist/commonjs/runtime/native/styles/shorthands/animation.js.map +0 -1
  548. package/dist/commonjs/runtime/native/styles/shorthands/border.js.map +0 -1
  549. package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js +0 -50
  550. package/dist/commonjs/runtime/native/styles/shorthands/box-shadow.js.map +0 -1
  551. package/dist/commonjs/runtime/native/styles/shorthands/index.js.map +0 -1
  552. package/dist/commonjs/runtime/native/styles/shorthands/text-shadow.js.map +0 -1
  553. package/dist/commonjs/runtime/native/styles/shorthands/transform.js.map +0 -1
  554. package/dist/commonjs/runtime/native/styles/units.js +0 -52
  555. package/dist/commonjs/runtime/native/styles/units.js.map +0 -1
  556. package/dist/commonjs/runtime/native/styles/variables.js +0 -79
  557. package/dist/commonjs/runtime/native/styles/variables.js.map +0 -1
  558. package/dist/commonjs/runtime/runtime.js.map +0 -1
  559. package/dist/commonjs/runtime/runtime.native.js.map +0 -1
  560. package/dist/commonjs/runtime/runtime.types.js.map +0 -1
  561. package/dist/commonjs/runtime/utils/components.js +0 -18
  562. package/dist/commonjs/runtime/utils/components.js.map +0 -1
  563. package/dist/commonjs/runtime/utils/dot-notation.types.js.map +0 -1
  564. package/dist/commonjs/runtime/utils/index.js +0 -61
  565. package/dist/commonjs/runtime/utils/index.js.map +0 -1
  566. package/dist/commonjs/runtime/utils/objects.js.map +0 -1
  567. package/dist/commonjs/runtime/utils/specificity.js.map +0 -1
  568. package/dist/commonjs/runtime/utils/style-value.js +0 -21
  569. package/dist/commonjs/runtime/utils/style-value.js.map +0 -1
  570. package/dist/commonjs/runtime/utils/utils.types.js +0 -6
  571. package/dist/commonjs/runtime/utils/utils.types.js.map +0 -1
  572. package/dist/commonjs/runtime/web/api.js +0 -68
  573. package/dist/commonjs/runtime/web/api.js.map +0 -1
  574. package/dist/commonjs/runtime/web/assign-style.js.map +0 -1
  575. package/dist/commonjs/runtime/web/index.js.map +0 -1
  576. package/dist/commonjs/runtime/web/metro.js.map +0 -1
  577. package/dist/commonjs/style-collection/index.js +0 -110
  578. package/dist/commonjs/style-collection/index.js.map +0 -1
  579. package/dist/commonjs/style-collection/root.js +0 -28
  580. package/dist/commonjs/style-collection/root.js.map +0 -1
  581. package/dist/module/runtime/index.js +0 -9
  582. package/dist/module/runtime/index.js.map +0 -1
  583. package/dist/module/runtime/native/api.js +0 -76
  584. package/dist/module/runtime/native/api.js.map +0 -1
  585. package/dist/module/runtime/native/conditions/attributes.js +0 -38
  586. package/dist/module/runtime/native/conditions/attributes.js.map +0 -1
  587. package/dist/module/runtime/native/conditions/container-query.js.map +0 -1
  588. package/dist/module/runtime/native/conditions/guards.js.map +0 -1
  589. package/dist/module/runtime/native/conditions/index.js.map +0 -1
  590. package/dist/module/runtime/native/conditions/media-query.js.map +0 -1
  591. package/dist/module/runtime/native/index.js.map +0 -1
  592. package/dist/module/runtime/native/metro.js.map +0 -1
  593. package/dist/module/runtime/native/react/interaction.js.map +0 -1
  594. package/dist/module/runtime/native/react/rules.js +0 -251
  595. package/dist/module/runtime/native/react/rules.js.map +0 -1
  596. package/dist/module/runtime/native/react/useNativeCss.js +0 -153
  597. package/dist/module/runtime/native/react/useNativeCss.js.map +0 -1
  598. package/dist/module/runtime/native/react/usePassthrough.js.map +0 -1
  599. package/dist/module/runtime/native/reactivity.js +0 -177
  600. package/dist/module/runtime/native/reactivity.js.map +0 -1
  601. package/dist/module/runtime/native/reanimated.js.map +0 -1
  602. package/dist/module/runtime/native/styles/calculate-props.js +0 -143
  603. package/dist/module/runtime/native/styles/calculate-props.js.map +0 -1
  604. package/dist/module/runtime/native/styles/constants.js.map +0 -1
  605. package/dist/module/runtime/native/styles/defaults.js.map +0 -1
  606. package/dist/module/runtime/native/styles/functions/animation-timing.js.map +0 -1
  607. package/dist/module/runtime/native/styles/functions/calc.js.map +0 -1
  608. package/dist/module/runtime/native/styles/functions/filters.js +0 -70
  609. package/dist/module/runtime/native/styles/functions/filters.js.map +0 -1
  610. package/dist/module/runtime/native/styles/functions/index.js.map +0 -1
  611. package/dist/module/runtime/native/styles/functions/numeric-functions.js.map +0 -1
  612. package/dist/module/runtime/native/styles/functions/platform-functions.js.map +0 -1
  613. package/dist/module/runtime/native/styles/functions/string-functions.js.map +0 -1
  614. package/dist/module/runtime/native/styles/functions/transform-functions.js +0 -114
  615. package/dist/module/runtime/native/styles/functions/transform-functions.js.map +0 -1
  616. package/dist/module/runtime/native/styles/index.js +0 -110
  617. package/dist/module/runtime/native/styles/index.js.map +0 -1
  618. package/dist/module/runtime/native/styles/resolve.js +0 -101
  619. package/dist/module/runtime/native/styles/resolve.js.map +0 -1
  620. package/dist/module/runtime/native/styles/shorthands/_handler.js +0 -74
  621. package/dist/module/runtime/native/styles/shorthands/_handler.js.map +0 -1
  622. package/dist/module/runtime/native/styles/shorthands/animation.js +0 -51
  623. package/dist/module/runtime/native/styles/shorthands/animation.js.map +0 -1
  624. package/dist/module/runtime/native/styles/shorthands/border.js.map +0 -1
  625. package/dist/module/runtime/native/styles/shorthands/box-shadow.js +0 -45
  626. package/dist/module/runtime/native/styles/shorthands/box-shadow.js.map +0 -1
  627. package/dist/module/runtime/native/styles/shorthands/index.js.map +0 -1
  628. package/dist/module/runtime/native/styles/shorthands/text-shadow.js.map +0 -1
  629. package/dist/module/runtime/native/styles/shorthands/transform.js.map +0 -1
  630. package/dist/module/runtime/native/styles/units.js +0 -43
  631. package/dist/module/runtime/native/styles/units.js.map +0 -1
  632. package/dist/module/runtime/native/styles/variables.js +0 -75
  633. package/dist/module/runtime/native/styles/variables.js.map +0 -1
  634. package/dist/module/runtime/runtime.js.map +0 -1
  635. package/dist/module/runtime/runtime.native.js.map +0 -1
  636. package/dist/module/runtime/runtime.types.js.map +0 -1
  637. package/dist/module/runtime/utils/components.js +0 -14
  638. package/dist/module/runtime/utils/components.js.map +0 -1
  639. package/dist/module/runtime/utils/dot-notation.types.js.map +0 -1
  640. package/dist/module/runtime/utils/index.js +0 -8
  641. package/dist/module/runtime/utils/index.js.map +0 -1
  642. package/dist/module/runtime/utils/objects.js.map +0 -1
  643. package/dist/module/runtime/utils/specificity.js.map +0 -1
  644. package/dist/module/runtime/utils/style-value.js +0 -16
  645. package/dist/module/runtime/utils/style-value.js.map +0 -1
  646. package/dist/module/runtime/utils/utils.types.js +0 -4
  647. package/dist/module/runtime/utils/utils.types.js.map +0 -1
  648. package/dist/module/runtime/web/api.js +0 -59
  649. package/dist/module/runtime/web/api.js.map +0 -1
  650. package/dist/module/runtime/web/assign-style.js.map +0 -1
  651. package/dist/module/runtime/web/index.js.map +0 -1
  652. package/dist/module/runtime/web/metro.js.map +0 -1
  653. package/dist/module/style-collection/index.js +0 -95
  654. package/dist/module/style-collection/index.js.map +0 -1
  655. package/dist/module/style-collection/root.js +0 -24
  656. package/dist/module/style-collection/root.js.map +0 -1
  657. package/dist/typescript/commonjs/src/runtime/index.d.ts +0 -7
  658. package/dist/typescript/commonjs/src/runtime/index.d.ts.map +0 -1
  659. package/dist/typescript/commonjs/src/runtime/native/api.d.ts +0 -19
  660. package/dist/typescript/commonjs/src/runtime/native/api.d.ts.map +0 -1
  661. package/dist/typescript/commonjs/src/runtime/native/conditions/attributes.d.ts +0 -5
  662. package/dist/typescript/commonjs/src/runtime/native/conditions/attributes.d.ts.map +0 -1
  663. package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts +0 -7
  664. package/dist/typescript/commonjs/src/runtime/native/conditions/container-query.d.ts.map +0 -1
  665. package/dist/typescript/commonjs/src/runtime/native/conditions/guards.d.ts.map +0 -1
  666. package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts +0 -6
  667. package/dist/typescript/commonjs/src/runtime/native/conditions/index.d.ts.map +0 -1
  668. package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts +0 -4
  669. package/dist/typescript/commonjs/src/runtime/native/conditions/media-query.d.ts.map +0 -1
  670. package/dist/typescript/commonjs/src/runtime/native/index.d.ts.map +0 -1
  671. package/dist/typescript/commonjs/src/runtime/native/metro.d.ts.map +0 -1
  672. package/dist/typescript/commonjs/src/runtime/native/react/interaction.d.ts.map +0 -1
  673. package/dist/typescript/commonjs/src/runtime/native/react/rules.d.ts.map +0 -1
  674. package/dist/typescript/commonjs/src/runtime/native/react/useNativeCss.d.ts.map +0 -1
  675. package/dist/typescript/commonjs/src/runtime/native/react/usePassthrough.d.ts.map +0 -1
  676. package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts +0 -55
  677. package/dist/typescript/commonjs/src/runtime/native/reactivity.d.ts.map +0 -1
  678. package/dist/typescript/commonjs/src/runtime/native/reanimated.d.ts.map +0 -1
  679. package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts +0 -10
  680. package/dist/typescript/commonjs/src/runtime/native/styles/calculate-props.d.ts.map +0 -1
  681. package/dist/typescript/commonjs/src/runtime/native/styles/constants.d.ts.map +0 -1
  682. package/dist/typescript/commonjs/src/runtime/native/styles/defaults.d.ts.map +0 -1
  683. package/dist/typescript/commonjs/src/runtime/native/styles/functions/animation-timing.d.ts.map +0 -1
  684. package/dist/typescript/commonjs/src/runtime/native/styles/functions/calc.d.ts.map +0 -1
  685. package/dist/typescript/commonjs/src/runtime/native/styles/functions/filters.d.ts.map +0 -1
  686. package/dist/typescript/commonjs/src/runtime/native/styles/functions/index.d.ts.map +0 -1
  687. package/dist/typescript/commonjs/src/runtime/native/styles/functions/numeric-functions.d.ts.map +0 -1
  688. package/dist/typescript/commonjs/src/runtime/native/styles/functions/platform-functions.d.ts.map +0 -1
  689. package/dist/typescript/commonjs/src/runtime/native/styles/functions/string-functions.d.ts.map +0 -1
  690. package/dist/typescript/commonjs/src/runtime/native/styles/functions/transform-functions.d.ts.map +0 -1
  691. package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts +0 -19
  692. package/dist/typescript/commonjs/src/runtime/native/styles/index.d.ts.map +0 -1
  693. package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts +0 -18
  694. package/dist/typescript/commonjs/src/runtime/native/styles/resolve.d.ts.map +0 -1
  695. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/_handler.d.ts.map +0 -1
  696. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/animation.d.ts.map +0 -1
  697. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/border.d.ts.map +0 -1
  698. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/box-shadow.d.ts.map +0 -1
  699. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/index.d.ts.map +0 -1
  700. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/text-shadow.d.ts.map +0 -1
  701. package/dist/typescript/commonjs/src/runtime/native/styles/shorthands/transform.d.ts.map +0 -1
  702. package/dist/typescript/commonjs/src/runtime/native/styles/units.d.ts.map +0 -1
  703. package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts +0 -5
  704. package/dist/typescript/commonjs/src/runtime/native/styles/variables.d.ts.map +0 -1
  705. package/dist/typescript/commonjs/src/runtime/runtime.d.ts.map +0 -1
  706. package/dist/typescript/commonjs/src/runtime/runtime.native.d.ts.map +0 -1
  707. package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts +0 -47
  708. package/dist/typescript/commonjs/src/runtime/runtime.types.d.ts.map +0 -1
  709. package/dist/typescript/commonjs/src/runtime/utils/components.d.ts +0 -2
  710. package/dist/typescript/commonjs/src/runtime/utils/components.d.ts.map +0 -1
  711. package/dist/typescript/commonjs/src/runtime/utils/dot-notation.types.d.ts.map +0 -1
  712. package/dist/typescript/commonjs/src/runtime/utils/index.d.ts +0 -6
  713. package/dist/typescript/commonjs/src/runtime/utils/index.d.ts.map +0 -1
  714. package/dist/typescript/commonjs/src/runtime/utils/objects.d.ts.map +0 -1
  715. package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts +0 -13
  716. package/dist/typescript/commonjs/src/runtime/utils/specificity.d.ts.map +0 -1
  717. package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts +0 -4
  718. package/dist/typescript/commonjs/src/runtime/utils/style-value.d.ts.map +0 -1
  719. package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts +0 -5
  720. package/dist/typescript/commonjs/src/runtime/utils/utils.types.d.ts.map +0 -1
  721. package/dist/typescript/commonjs/src/runtime/web/api.d.ts +0 -10
  722. package/dist/typescript/commonjs/src/runtime/web/api.d.ts.map +0 -1
  723. package/dist/typescript/commonjs/src/runtime/web/assign-style.d.ts.map +0 -1
  724. package/dist/typescript/commonjs/src/runtime/web/index.d.ts.map +0 -1
  725. package/dist/typescript/commonjs/src/runtime/web/metro.d.ts.map +0 -1
  726. package/dist/typescript/commonjs/src/style-collection/index.d.ts +0 -14
  727. package/dist/typescript/commonjs/src/style-collection/index.d.ts.map +0 -1
  728. package/dist/typescript/commonjs/src/style-collection/root.d.ts +0 -11
  729. package/dist/typescript/commonjs/src/style-collection/root.d.ts.map +0 -1
  730. package/dist/typescript/module/src/runtime/index.d.ts +0 -7
  731. package/dist/typescript/module/src/runtime/index.d.ts.map +0 -1
  732. package/dist/typescript/module/src/runtime/native/api.d.ts +0 -19
  733. package/dist/typescript/module/src/runtime/native/api.d.ts.map +0 -1
  734. package/dist/typescript/module/src/runtime/native/conditions/attributes.d.ts +0 -5
  735. package/dist/typescript/module/src/runtime/native/conditions/attributes.d.ts.map +0 -1
  736. package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts +0 -7
  737. package/dist/typescript/module/src/runtime/native/conditions/container-query.d.ts.map +0 -1
  738. package/dist/typescript/module/src/runtime/native/conditions/guards.d.ts.map +0 -1
  739. package/dist/typescript/module/src/runtime/native/conditions/index.d.ts +0 -6
  740. package/dist/typescript/module/src/runtime/native/conditions/index.d.ts.map +0 -1
  741. package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts +0 -4
  742. package/dist/typescript/module/src/runtime/native/conditions/media-query.d.ts.map +0 -1
  743. package/dist/typescript/module/src/runtime/native/index.d.ts.map +0 -1
  744. package/dist/typescript/module/src/runtime/native/metro.d.ts.map +0 -1
  745. package/dist/typescript/module/src/runtime/native/react/interaction.d.ts.map +0 -1
  746. package/dist/typescript/module/src/runtime/native/react/rules.d.ts.map +0 -1
  747. package/dist/typescript/module/src/runtime/native/react/useNativeCss.d.ts.map +0 -1
  748. package/dist/typescript/module/src/runtime/native/react/usePassthrough.d.ts.map +0 -1
  749. package/dist/typescript/module/src/runtime/native/reactivity.d.ts +0 -55
  750. package/dist/typescript/module/src/runtime/native/reactivity.d.ts.map +0 -1
  751. package/dist/typescript/module/src/runtime/native/reanimated.d.ts.map +0 -1
  752. package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts +0 -10
  753. package/dist/typescript/module/src/runtime/native/styles/calculate-props.d.ts.map +0 -1
  754. package/dist/typescript/module/src/runtime/native/styles/constants.d.ts.map +0 -1
  755. package/dist/typescript/module/src/runtime/native/styles/defaults.d.ts.map +0 -1
  756. package/dist/typescript/module/src/runtime/native/styles/functions/animation-timing.d.ts.map +0 -1
  757. package/dist/typescript/module/src/runtime/native/styles/functions/calc.d.ts.map +0 -1
  758. package/dist/typescript/module/src/runtime/native/styles/functions/filters.d.ts.map +0 -1
  759. package/dist/typescript/module/src/runtime/native/styles/functions/index.d.ts.map +0 -1
  760. package/dist/typescript/module/src/runtime/native/styles/functions/numeric-functions.d.ts.map +0 -1
  761. package/dist/typescript/module/src/runtime/native/styles/functions/platform-functions.d.ts.map +0 -1
  762. package/dist/typescript/module/src/runtime/native/styles/functions/string-functions.d.ts.map +0 -1
  763. package/dist/typescript/module/src/runtime/native/styles/functions/transform-functions.d.ts.map +0 -1
  764. package/dist/typescript/module/src/runtime/native/styles/index.d.ts +0 -19
  765. package/dist/typescript/module/src/runtime/native/styles/index.d.ts.map +0 -1
  766. package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts +0 -18
  767. package/dist/typescript/module/src/runtime/native/styles/resolve.d.ts.map +0 -1
  768. package/dist/typescript/module/src/runtime/native/styles/shorthands/_handler.d.ts.map +0 -1
  769. package/dist/typescript/module/src/runtime/native/styles/shorthands/animation.d.ts.map +0 -1
  770. package/dist/typescript/module/src/runtime/native/styles/shorthands/border.d.ts.map +0 -1
  771. package/dist/typescript/module/src/runtime/native/styles/shorthands/box-shadow.d.ts.map +0 -1
  772. package/dist/typescript/module/src/runtime/native/styles/shorthands/index.d.ts.map +0 -1
  773. package/dist/typescript/module/src/runtime/native/styles/shorthands/text-shadow.d.ts.map +0 -1
  774. package/dist/typescript/module/src/runtime/native/styles/shorthands/transform.d.ts.map +0 -1
  775. package/dist/typescript/module/src/runtime/native/styles/units.d.ts.map +0 -1
  776. package/dist/typescript/module/src/runtime/native/styles/variables.d.ts +0 -5
  777. package/dist/typescript/module/src/runtime/native/styles/variables.d.ts.map +0 -1
  778. package/dist/typescript/module/src/runtime/runtime.d.ts.map +0 -1
  779. package/dist/typescript/module/src/runtime/runtime.native.d.ts.map +0 -1
  780. package/dist/typescript/module/src/runtime/runtime.types.d.ts +0 -47
  781. package/dist/typescript/module/src/runtime/runtime.types.d.ts.map +0 -1
  782. package/dist/typescript/module/src/runtime/utils/components.d.ts +0 -2
  783. package/dist/typescript/module/src/runtime/utils/components.d.ts.map +0 -1
  784. package/dist/typescript/module/src/runtime/utils/dot-notation.types.d.ts.map +0 -1
  785. package/dist/typescript/module/src/runtime/utils/index.d.ts +0 -6
  786. package/dist/typescript/module/src/runtime/utils/index.d.ts.map +0 -1
  787. package/dist/typescript/module/src/runtime/utils/objects.d.ts.map +0 -1
  788. package/dist/typescript/module/src/runtime/utils/specificity.d.ts +0 -13
  789. package/dist/typescript/module/src/runtime/utils/specificity.d.ts.map +0 -1
  790. package/dist/typescript/module/src/runtime/utils/style-value.d.ts +0 -4
  791. package/dist/typescript/module/src/runtime/utils/style-value.d.ts.map +0 -1
  792. package/dist/typescript/module/src/runtime/utils/utils.types.d.ts +0 -5
  793. package/dist/typescript/module/src/runtime/utils/utils.types.d.ts.map +0 -1
  794. package/dist/typescript/module/src/runtime/web/api.d.ts +0 -10
  795. package/dist/typescript/module/src/runtime/web/api.d.ts.map +0 -1
  796. package/dist/typescript/module/src/runtime/web/assign-style.d.ts.map +0 -1
  797. package/dist/typescript/module/src/runtime/web/index.d.ts.map +0 -1
  798. package/dist/typescript/module/src/runtime/web/metro.d.ts.map +0 -1
  799. package/dist/typescript/module/src/style-collection/index.d.ts +0 -14
  800. package/dist/typescript/module/src/style-collection/index.d.ts.map +0 -1
  801. package/dist/typescript/module/src/style-collection/root.d.ts +0 -11
  802. package/dist/typescript/module/src/style-collection/root.d.ts.map +0 -1
  803. package/src/runtime/index.ts +0 -7
  804. package/src/runtime/native/api.ts +0 -108
  805. package/src/runtime/native/conditions/attributes.ts +0 -52
  806. package/src/runtime/native/conditions/container-query.ts +0 -162
  807. package/src/runtime/native/conditions/index.ts +0 -54
  808. package/src/runtime/native/conditions/media-query.ts +0 -98
  809. package/src/runtime/native/react/rules.ts +0 -336
  810. package/src/runtime/native/react/useNativeCss.ts +0 -203
  811. package/src/runtime/native/reactivity.ts +0 -255
  812. package/src/runtime/native/styles/calculate-props.ts +0 -197
  813. package/src/runtime/native/styles/functions/filters.ts +0 -98
  814. package/src/runtime/native/styles/functions/transform-functions.ts +0 -84
  815. package/src/runtime/native/styles/index.ts +0 -197
  816. package/src/runtime/native/styles/resolve.ts +0 -162
  817. package/src/runtime/native/styles/shorthands/_handler.ts +0 -121
  818. package/src/runtime/native/styles/shorthands/animation.ts +0 -123
  819. package/src/runtime/native/styles/shorthands/box-shadow.ts +0 -74
  820. package/src/runtime/native/styles/units.ts +0 -57
  821. package/src/runtime/native/styles/variables.ts +0 -88
  822. package/src/runtime/runtime.types.ts +0 -130
  823. package/src/runtime/utils/components.ts +0 -15
  824. package/src/runtime/utils/index.ts +0 -5
  825. package/src/runtime/utils/specificity.ts +0 -45
  826. package/src/runtime/utils/style-value.ts +0 -24
  827. package/src/runtime/utils/utils.types.ts +0 -19
  828. package/src/runtime/web/api.ts +0 -88
  829. package/src/style-collection/index.ts +0 -142
  830. package/src/style-collection/root.ts +0 -35
  831. /package/dist/commonjs/{runtime/native → native}/conditions/container-query.js +0 -0
  832. /package/dist/commonjs/{runtime/native → native}/conditions/guards.js +0 -0
  833. /package/dist/commonjs/{runtime/native → native}/conditions/index.js +0 -0
  834. /package/dist/commonjs/{runtime/native → native}/conditions/media-query.js +0 -0
  835. /package/dist/commonjs/{runtime/native → native}/index.js +0 -0
  836. /package/dist/commonjs/{runtime/native → native}/metro.js +0 -0
  837. /package/dist/commonjs/{runtime/utils → native}/objects.js +0 -0
  838. /package/dist/commonjs/{runtime/native → native}/react/interaction.js +0 -0
  839. /package/dist/commonjs/{runtime/native → native}/react/usePassthrough.js +0 -0
  840. /package/dist/commonjs/{runtime/native → native}/reanimated.js +0 -0
  841. /package/dist/commonjs/{runtime/native → native}/styles/constants.js +0 -0
  842. /package/dist/commonjs/{runtime/native → native}/styles/defaults.js +0 -0
  843. /package/dist/commonjs/{runtime/native → native}/styles/functions/animation-timing.js +0 -0
  844. /package/dist/commonjs/{runtime/native → native}/styles/functions/calc.js +0 -0
  845. /package/dist/commonjs/{runtime/native → native}/styles/functions/index.js +0 -0
  846. /package/dist/commonjs/{runtime/native → native}/styles/functions/numeric-functions.js +0 -0
  847. /package/dist/commonjs/{runtime/native → native}/styles/functions/platform-functions.js +0 -0
  848. /package/dist/commonjs/{runtime/native → native}/styles/functions/string-functions.js +0 -0
  849. /package/dist/commonjs/{runtime/native → native}/styles/shorthands/border.js +0 -0
  850. /package/dist/commonjs/{runtime/native → native}/styles/shorthands/index.js +0 -0
  851. /package/dist/commonjs/{runtime/native → native}/styles/shorthands/text-shadow.js +0 -0
  852. /package/dist/commonjs/{runtime/native → native}/styles/shorthands/transform.js +0 -0
  853. /package/dist/commonjs/{runtime/runtime.js → runtime.js} +0 -0
  854. /package/dist/commonjs/{runtime/runtime.native.js → runtime.native.js} +0 -0
  855. /package/dist/commonjs/{runtime/runtime.types.js → runtime.types.js} +0 -0
  856. /package/dist/commonjs/{runtime/utils → utilities}/dot-notation.types.js +0 -0
  857. /package/dist/commonjs/{runtime/utils → utilities}/specificity.js +0 -0
  858. /package/dist/commonjs/{runtime/web → web}/assign-style.js +0 -0
  859. /package/dist/commonjs/{runtime/web → web}/index.js +0 -0
  860. /package/dist/commonjs/{runtime/web → web}/metro.js +0 -0
  861. /package/dist/module/{runtime/native → native}/conditions/container-query.js +0 -0
  862. /package/dist/module/{runtime/native → native}/conditions/guards.js +0 -0
  863. /package/dist/module/{runtime/native → native}/conditions/index.js +0 -0
  864. /package/dist/module/{runtime/native → native}/conditions/media-query.js +0 -0
  865. /package/dist/module/{runtime/native → native}/index.js +0 -0
  866. /package/dist/module/{runtime/native → native}/metro.js +0 -0
  867. /package/dist/module/{runtime/utils → native}/objects.js +0 -0
  868. /package/dist/module/{runtime/native → native}/react/interaction.js +0 -0
  869. /package/dist/module/{runtime/native → native}/react/usePassthrough.js +0 -0
  870. /package/dist/module/{runtime/native → native}/reanimated.js +0 -0
  871. /package/dist/module/{runtime/native → native}/styles/constants.js +0 -0
  872. /package/dist/module/{runtime/native → native}/styles/defaults.js +0 -0
  873. /package/dist/module/{runtime/native → native}/styles/functions/animation-timing.js +0 -0
  874. /package/dist/module/{runtime/native → native}/styles/functions/calc.js +0 -0
  875. /package/dist/module/{runtime/native → native}/styles/functions/index.js +0 -0
  876. /package/dist/module/{runtime/native → native}/styles/functions/numeric-functions.js +0 -0
  877. /package/dist/module/{runtime/native → native}/styles/functions/platform-functions.js +0 -0
  878. /package/dist/module/{runtime/native → native}/styles/functions/string-functions.js +0 -0
  879. /package/dist/module/{runtime/native → native}/styles/shorthands/border.js +0 -0
  880. /package/dist/module/{runtime/native → native}/styles/shorthands/index.js +0 -0
  881. /package/dist/module/{runtime/native → native}/styles/shorthands/text-shadow.js +0 -0
  882. /package/dist/module/{runtime/native → native}/styles/shorthands/transform.js +0 -0
  883. /package/dist/module/{runtime/runtime.js → runtime.js} +0 -0
  884. /package/dist/module/{runtime/runtime.native.js → runtime.native.js} +0 -0
  885. /package/dist/module/{runtime/runtime.types.js → runtime.types.js} +0 -0
  886. /package/dist/module/{runtime/utils → utilities}/dot-notation.types.js +0 -0
  887. /package/dist/module/{runtime/utils → utilities}/specificity.js +0 -0
  888. /package/dist/module/{runtime/web → web}/assign-style.js +0 -0
  889. /package/dist/module/{runtime/web → web}/index.js +0 -0
  890. /package/dist/module/{runtime/web → web}/metro.js +0 -0
  891. /package/dist/typescript/commonjs/src/{runtime/native → native}/conditions/guards.d.ts +0 -0
  892. /package/dist/typescript/commonjs/src/{runtime/native → native}/index.d.ts +0 -0
  893. /package/dist/typescript/commonjs/src/{runtime/native → native}/metro.d.ts +0 -0
  894. /package/dist/typescript/commonjs/src/{runtime/utils → native}/objects.d.ts +0 -0
  895. /package/dist/typescript/commonjs/src/{runtime/native → native}/react/interaction.d.ts +0 -0
  896. /package/dist/typescript/commonjs/src/{runtime/native → native}/react/rules.d.ts +0 -0
  897. /package/dist/typescript/commonjs/src/{runtime/native → native}/react/useNativeCss.d.ts +0 -0
  898. /package/dist/typescript/commonjs/src/{runtime/native → native}/react/usePassthrough.d.ts +0 -0
  899. /package/dist/typescript/commonjs/src/{runtime/native → native}/reanimated.d.ts +0 -0
  900. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/constants.d.ts +0 -0
  901. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/defaults.d.ts +0 -0
  902. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/animation-timing.d.ts +0 -0
  903. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/calc.d.ts +0 -0
  904. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/filters.d.ts +0 -0
  905. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/index.d.ts +0 -0
  906. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/numeric-functions.d.ts +0 -0
  907. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/platform-functions.d.ts +0 -0
  908. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/string-functions.d.ts +0 -0
  909. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/functions/transform-functions.d.ts +0 -0
  910. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/_handler.d.ts +0 -0
  911. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/animation.d.ts +0 -0
  912. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/border.d.ts +0 -0
  913. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/box-shadow.d.ts +0 -0
  914. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/index.d.ts +0 -0
  915. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/text-shadow.d.ts +0 -0
  916. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/shorthands/transform.d.ts +0 -0
  917. /package/dist/typescript/commonjs/src/{runtime/native → native}/styles/units.d.ts +0 -0
  918. /package/dist/typescript/commonjs/src/{runtime/runtime.d.ts → runtime.d.ts} +0 -0
  919. /package/dist/typescript/commonjs/src/{runtime/runtime.native.d.ts → runtime.native.d.ts} +0 -0
  920. /package/dist/typescript/commonjs/src/{runtime/utils → utilities}/dot-notation.types.d.ts +0 -0
  921. /package/dist/typescript/commonjs/src/{runtime/web → web}/assign-style.d.ts +0 -0
  922. /package/dist/typescript/commonjs/src/{runtime/web → web}/index.d.ts +0 -0
  923. /package/dist/typescript/commonjs/src/{runtime/web → web}/metro.d.ts +0 -0
  924. /package/dist/typescript/module/src/{runtime/native → native}/conditions/guards.d.ts +0 -0
  925. /package/dist/typescript/module/src/{runtime/native → native}/index.d.ts +0 -0
  926. /package/dist/typescript/module/src/{runtime/native → native}/metro.d.ts +0 -0
  927. /package/dist/typescript/module/src/{runtime/utils → native}/objects.d.ts +0 -0
  928. /package/dist/typescript/module/src/{runtime/native → native}/react/interaction.d.ts +0 -0
  929. /package/dist/typescript/module/src/{runtime/native → native}/react/rules.d.ts +0 -0
  930. /package/dist/typescript/module/src/{runtime/native → native}/react/useNativeCss.d.ts +0 -0
  931. /package/dist/typescript/module/src/{runtime/native → native}/react/usePassthrough.d.ts +0 -0
  932. /package/dist/typescript/module/src/{runtime/native → native}/reanimated.d.ts +0 -0
  933. /package/dist/typescript/module/src/{runtime/native → native}/styles/constants.d.ts +0 -0
  934. /package/dist/typescript/module/src/{runtime/native → native}/styles/defaults.d.ts +0 -0
  935. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/animation-timing.d.ts +0 -0
  936. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/calc.d.ts +0 -0
  937. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/filters.d.ts +0 -0
  938. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/index.d.ts +0 -0
  939. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/numeric-functions.d.ts +0 -0
  940. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/platform-functions.d.ts +0 -0
  941. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/string-functions.d.ts +0 -0
  942. /package/dist/typescript/module/src/{runtime/native → native}/styles/functions/transform-functions.d.ts +0 -0
  943. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/_handler.d.ts +0 -0
  944. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/animation.d.ts +0 -0
  945. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/border.d.ts +0 -0
  946. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/box-shadow.d.ts +0 -0
  947. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/index.d.ts +0 -0
  948. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/text-shadow.d.ts +0 -0
  949. /package/dist/typescript/module/src/{runtime/native → native}/styles/shorthands/transform.d.ts +0 -0
  950. /package/dist/typescript/module/src/{runtime/native → native}/styles/units.d.ts +0 -0
  951. /package/dist/typescript/module/src/{runtime/runtime.d.ts → runtime.d.ts} +0 -0
  952. /package/dist/typescript/module/src/{runtime/runtime.native.d.ts → runtime.native.d.ts} +0 -0
  953. /package/dist/typescript/module/src/{runtime/utils → utilities}/dot-notation.types.d.ts +0 -0
  954. /package/dist/typescript/module/src/{runtime/web → web}/assign-style.d.ts +0 -0
  955. /package/dist/typescript/module/src/{runtime/web → web}/index.d.ts +0 -0
  956. /package/dist/typescript/module/src/{runtime/web → web}/metro.d.ts +0 -0
  957. /package/src/{runtime/native → native}/conditions/guards.ts +0 -0
  958. /package/src/{runtime/native → native}/index.ts +0 -0
  959. /package/src/{runtime/native → native}/metro.ts +0 -0
  960. /package/src/{runtime/utils → native}/objects.ts +0 -0
  961. /package/src/{runtime/native → native}/react/interaction.ts +0 -0
  962. /package/src/{runtime/native → native}/react/usePassthrough.ts +0 -0
  963. /package/src/{runtime/native → native}/reanimated.ts +0 -0
  964. /package/src/{runtime/native → native}/styles/constants.ts +0 -0
  965. /package/src/{runtime/native → native}/styles/defaults.ts +0 -0
  966. /package/src/{runtime/native → native}/styles/functions/animation-timing.ts +0 -0
  967. /package/src/{runtime/native → native}/styles/functions/calc.ts +0 -0
  968. /package/src/{runtime/native → native}/styles/functions/index.ts +0 -0
  969. /package/src/{runtime/native → native}/styles/functions/numeric-functions.ts +0 -0
  970. /package/src/{runtime/native → native}/styles/functions/platform-functions.ts +0 -0
  971. /package/src/{runtime/native → native}/styles/functions/string-functions.ts +0 -0
  972. /package/src/{runtime/native → native}/styles/shorthands/border.ts +0 -0
  973. /package/src/{runtime/native → native}/styles/shorthands/index.ts +0 -0
  974. /package/src/{runtime/native → native}/styles/shorthands/text-shadow.ts +0 -0
  975. /package/src/{runtime/native → native}/styles/shorthands/transform.ts +0 -0
  976. /package/src/{runtime/runtime.native.ts → runtime.native.ts} +0 -0
  977. /package/src/{runtime/runtime.ts → runtime.ts} +0 -0
  978. /package/src/{runtime/utils → utilities}/dot-notation.types.ts +0 -0
  979. /package/src/{runtime/web → web}/assign-style.ts +0 -0
  980. /package/src/{runtime/web → web}/index.ts +0 -0
  981. /package/src/{runtime/web → web}/metro.ts +0 -0
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+
3
+ import { rootVariables, universalVariables } from "react-native-css/native-internal";
4
+ import { isStyleDescriptorArray } from "react-native-css/utilities";
5
+ import { VAR_SYMBOL } from "../reactivity.js";
6
+ export function varResolver(resolve, fn, get, options) {
7
+ const {
8
+ renderGuards,
9
+ inheritedVariables: variables = {
10
+ [VAR_SYMBOL]: true
11
+ },
12
+ inlineVariables,
13
+ variableHistory = new Set()
14
+ } = options;
15
+ const args = fn[2];
16
+ let name;
17
+ let fallback;
18
+ if (typeof args === "string") {
19
+ name = args;
20
+ } else {
21
+ const result = resolve(args);
22
+ if (isStyleDescriptorArray(result)) {
23
+ name = result[0];
24
+ fallback = result[1];
25
+ }
26
+ }
27
+ if (typeof name !== "string") {
28
+ return;
29
+ }
30
+
31
+ // If this recurses back to the same variable, we need to stop
32
+ if (variableHistory.has(name)) {
33
+ return;
34
+ }
35
+ if (name in variables) {
36
+ renderGuards?.push(["v", name, variables[name]]);
37
+ return resolve(variables[name]);
38
+ }
39
+ variableHistory.add(name);
40
+ let value = resolve(inlineVariables?.[name]);
41
+ if (value !== undefined) {
42
+ options.inlineVariables ??= {
43
+ [VAR_SYMBOL]: "inline"
44
+ };
45
+ options.inlineVariables[name] = value;
46
+ return value;
47
+ }
48
+ value = resolve(variables[name]);
49
+ if (value !== undefined) {
50
+ renderGuards?.push(["v", name, value]);
51
+ options.inlineVariables ??= {
52
+ [VAR_SYMBOL]: "inline"
53
+ };
54
+ options.inlineVariables[name] = value;
55
+ return value;
56
+ }
57
+ value = resolve(get(universalVariables(name)));
58
+ if (value !== undefined) {
59
+ options.inlineVariables ??= {
60
+ [VAR_SYMBOL]: "inline"
61
+ };
62
+ options.inlineVariables[name] = value;
63
+ return value;
64
+ }
65
+ value = resolve(get(rootVariables(name)));
66
+ if (value !== undefined) {
67
+ options.inlineVariables ??= {
68
+ [VAR_SYMBOL]: "inline"
69
+ };
70
+ options.inlineVariables[name] = value;
71
+ return value;
72
+ }
73
+ return resolve(fallback);
74
+ }
75
+ //# sourceMappingURL=variables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["rootVariables","universalVariables","isStyleDescriptorArray","VAR_SYMBOL","varResolver","resolve","fn","get","options","renderGuards","inheritedVariables","variables","inlineVariables","variableHistory","Set","args","name","fallback","result","has","push","add","value","undefined"],"sourceRoot":"../../../../src","sources":["native/styles/variables.ts"],"mappings":";;AACA,SACEA,aAAa,EACbC,kBAAkB,QACb,kCAAkC;AACzC,SAASC,sBAAsB,QAAQ,4BAA4B;AAEnE,SAASC,UAAU,QAAqB,kBAAe;AAGvD,OAAO,SAASC,WAAWA,CACzBC,OAA2B,EAC3BC,EAAiB,EACjBC,GAAW,EACXC,OAA4B,EAC5B;EACA,MAAM;IACJC,YAAY;IACZC,kBAAkB,EAAEC,SAAS,GAAG;MAAE,CAACR,UAAU,GAAG;IAAK,CAAC;IACtDS,eAAe;IACfC,eAAe,GAAG,IAAIC,GAAG,CAAC;EAC5B,CAAC,GAAGN,OAAO;EAEX,MAAMO,IAAI,GAAGT,EAAE,CAAC,CAAC,CAAC;EAElB,IAAIU,IAAwB;EAC5B,IAAIC,QAAqC;EAEzC,IAAI,OAAOF,IAAI,KAAK,QAAQ,EAAE;IAC5BC,IAAI,GAAGD,IAAI;EACb,CAAC,MAAM;IACL,MAAMG,MAAM,GAAGb,OAAO,CAACU,IAAI,CAAC;IAE5B,IAAIb,sBAAsB,CAACgB,MAAM,CAAC,EAAE;MAClCF,IAAI,GAAGE,MAAM,CAAC,CAAC,CAAW;MAC1BD,QAAQ,GAAGC,MAAM,CAAC,CAAC,CAAC;IACtB;EACF;EAEA,IAAI,OAAOF,IAAI,KAAK,QAAQ,EAAE;IAC5B;EACF;;EAEA;EACA,IAAIH,eAAe,CAACM,GAAG,CAACH,IAAI,CAAC,EA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KAAKC,SAAS,EAAE;IACvBf,OAAO,CAACI,eAAe,KAAK;MAAE,CAACT,UAAU,GAAG;IAAS,CAAC;IACtDK,OAAO,CAACI,eAAe,CAACI,IAAI,CAAC,GAAGM,KAAK;IACrC,OAAOA,KAAK;EACd;EAEA,OAAOjB,OAAO,CAACY,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,6 @@
1
+ "use strict";
2
+
3
+ export * from "./root.js";
4
+ export * from "./style-collection.js";
5
+ export * from "./variables.js";
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["native-internal/index.ts"],"mappings":";;AAAA,cAAc,WAAQ;AACtB,cAAc,uBAAoB;AAClC,cAAc,gBAAa","ignoreList":[]}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ import { Platform, PlatformColor } from "react-native";
4
+ import { testMediaQuery } from "../native/conditions/media-query.js";
5
+ import { family, observable } from "../native/reactivity.js";
6
+ const rootVariableFamily = () => {
7
+ return family(() => {
8
+ const obs = observable((read, variableValue) => {
9
+ if (!variableValue) return undefined;
10
+ for (const [value, mediaQuery] of variableValue) {
11
+ if (!mediaQuery) {
12
+ return value;
13
+ }
14
+ if (testMediaQuery(mediaQuery, read)) {
15
+ return value;
16
+ }
17
+ }
18
+ return undefined;
19
+ });
20
+ return obs;
21
+ });
22
+ };
23
+ export const rootVariables = rootVariableFamily();
24
+ export const universalVariables = rootVariableFamily();
25
+ rootVariables("__rn-css-rem").set([[14]]);
26
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
27
+ rootVariables("__rn-css-color").set([[Platform.OS === "ios" ? PlatformColor("label", "labelColor") : PlatformColor("?attr/textColorPrimary", "SystemBaseHighColor")]
28
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
29
+ ]);
30
+ //# sourceMappingURL=root.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Platform","PlatformColor","testMediaQuery","family","observable","rootVariableFamily","obs","read","variableValue","undefined","value","mediaQuery","rootVariables","universalVariables","set","OS"],"sourceRoot":"../../../src","sources":["native-internal/root.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,aAAa,QAAQ,cAAc;AAItD,SAASC,cAAc,QAAQ,qCAAkC;AACjE,SAASC,MAAM,EAAEC,UAAU,QAAyB,yBAAsB;AAE1E,MAAMC,kBAAkB,GAAGA,CAAA,KAAM;EAC/B,OAAOF,MAAM,CAAuD,MAAM;IACxE,MAAMG,GAAG,GAAGF,UAAU,CACpB,CAACG,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,IAAIR,cAAc,CAACS,UAAU,EAAEJ,IAAI,CAAC,EAAE;UACpC,OAAOG,KAAK;QACd;MACF;MAEA,OAAOD,SAAS;IAClB,CACF,CAAC;IAED,OAAOH,GAAG;EACZ,CAAC,CAAC;AACJ,CAAC;AAED,OAAO,MAAMM,aAAa,GAAGP,kBAAkB,CAAC,CAAC;AACjD,OAAO,MAAMQ,kBAAkB,GAAGR,kBAAkB,CAAC,CAAC;AAEtDO,aAAa,CAAC,cAAc,CAAC,CAACE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACzC;AACAF,aAAa,CAAC,gBAAgB,CAAC,CAACE,GAAG,CAAC,CAClC,CACEd,QAAQ,CAACe,EAAE,KAAK,KAAK,GACjBd,aAAa,CAAC,OAAO,EAAE,YAAY,CAAC,GACpCA,aAAa,CAAC,wBAAwB,EAAE,qBAAqB,CAAC;AAEpE;AAAA,CACM,CAAC","ignoreList":[]}
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+
3
+ import { DEFAULT_CONTAINER_NAME } from "../native/conditions/container-query.js";
4
+ import { family, observable, observableBatch } from "../native/reactivity.js";
5
+ import { rootVariables, universalVariables } from "./root.js";
6
+ export { rootVariables, universalVariables };
7
+ globalThis.__react_native_css_style_collection ??= {
8
+ styles: family(() => {
9
+ return observable([], isDeepEqual);
10
+ }),
11
+ keyframes: family(() => {
12
+ return observable([], isDeepEqual);
13
+ }),
14
+ inject: function (options) {
15
+ observableBatch.current = new Set();
16
+ StyleCollection.styles("will-change-variable").set([{
17
+ s: [0],
18
+ v: []
19
+ }]);
20
+ StyleCollection.styles("will-change-container").set([{
21
+ s: [0],
22
+ c: [DEFAULT_CONTAINER_NAME]
23
+ }]);
24
+ StyleCollection.styles("will-change-animation").set([{
25
+ s: [0],
26
+ a: true
27
+ }]);
28
+ StyleCollection.styles("will-change-pressable").set([{
29
+ s: [0],
30
+ p: {
31
+ h: 1
32
+ }
33
+ }]);
34
+ if (options.s) {
35
+ for (const style of options.s) {
36
+ StyleCollection.styles(style[0]).set(style[1]);
37
+ }
38
+ }
39
+ if (options.k) {
40
+ for (const keyframes of options.k) {
41
+ StyleCollection.keyframes(keyframes[0]).set(keyframes[1]);
42
+ }
43
+ }
44
+ if (options.vr) {
45
+ for (const entry of options.vr) {
46
+ rootVariables(entry[0]).set(entry[1]);
47
+ }
48
+ }
49
+ if (options.vu) {
50
+ for (const entry of options.vu) {
51
+ rootVariables(entry[0]).set(entry[1]);
52
+ }
53
+ }
54
+ for (const effect of observableBatch.current) {
55
+ effect.run();
56
+ }
57
+ observableBatch.current = undefined;
58
+ }
59
+ };
60
+ export const StyleCollection = globalThis.__react_native_css_style_collection;
61
+ function isDeepEqual(a, b) {
62
+ const aArray = Array.isArray(a);
63
+ const bArray = Array.isArray(b);
64
+ const requiresKeyComparison = typeof a === "object" && typeof b === "object" && aArray === bArray;
65
+
66
+ // Only compare keys when both are an object or array
67
+ // This does not account for complex types like Date/Regex, because we don't use them
68
+ if (!requiresKeyComparison) return a === b;
69
+
70
+ // Make either are not null
71
+ if (!a || !b) {
72
+ return a === b;
73
+ }
74
+
75
+ // Shortcut for arrays
76
+ if (aArray && bArray && a.length !== b.length) {
77
+ return false;
78
+ }
79
+
80
+ // Compare a to b
81
+ for (const key in a) {
82
+ if (!isDeepEqual(a[key], b[key])) {
83
+ return false;
84
+ }
85
+ }
86
+
87
+ // Compare b to a
88
+ for (const key in b) {
89
+ if (!(key in a)) {
90
+ return false;
91
+ }
92
+ }
93
+ return true;
94
+ }
95
+ //# sourceMappingURL=style-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["DEFAULT_CONTAINER_NAME","family","observable","observableBatch","rootVariables","universalVariables","globalThis","__react_native_css_style_collection","styles","isDeepEqual","keyframes","inject","options","current","Set","StyleCollection","set","s","v","c","a","p","h","style","k","vr","entry","vu","effect","run","undefined","b","aArray","Array","isArray","bArray","requiresKeyComparison","length","key"],"sourceRoot":"../../../src","sources":["native-internal/style-collection.ts"],"mappings":";;AAQA,SAASA,sBAAsB,QAAQ,yCAAsC;AAC7E,SACEC,MAAM,EACNC,UAAU,EACVC,eAAe,QAGV,yBAAsB;AAC7B,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,WAAQ;AAE1D,SAASD,aAAa,EAAEC,kBAAkB;AAe1CC,UAAU,CAACC,mCAAmC,KAAK;EACjDC,MAAM,EAAEP,MAAM,CAAmC,MAAM;IACrD,OAAOC,UAAU,CAAC,EAAE,EAAEO,WAAW,CAAC;EACpC,CAAC,CAAC;EACFC,SAAS,EAAET,MAAM,CAAmC,MAAM;IACxD,OAAOC,UAAU,CAAC,EAAE,EAAEO,WAAW,CAAC;EACpC,CA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G,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,IAAIlB,CAAC,CAAC,EAAE;MACf,OAAO,KAAK;IACd;EACF;EAEA,OAAO,IAAI;AACb","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ import { createContext, useContext, useMemo } from "react";
4
+ import { VAR_SYMBOL } from "../native/reactivity.js";
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ globalThis.__react_native_css_variable_context ??= /*#__PURE__*/createContext({
7
+ [VAR_SYMBOL]: true
8
+ });
9
+ export const VariableContext = globalThis.__react_native_css_variable_context;
10
+ export function VariableContextProvider(props) {
11
+ const inheritedVariables = useContext(VariableContext);
12
+ const value = useMemo(() => ({
13
+ ...inheritedVariables,
14
+ ...Object.fromEntries(Object.entries(props.value).map(([k, v]) => [k.replace(/^--/, ""), v])),
15
+ [VAR_SYMBOL]: true
16
+ }), [inheritedVariables, props.value]);
17
+ return /*#__PURE__*/_jsx(VariableContext, {
18
+ value: value,
19
+ children: props.children
20
+ });
21
+ }
22
+ //# sourceMappingURL=variables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createContext","useContext","useMemo","VAR_SYMBOL","jsx","_jsx","globalThis","__react_native_css_variable_context","VariableContext","VariableContextProvider","props","inheritedVariables","value","Object","fromEntries","entries","map","k","v","replace","children"],"sourceRoot":"../../../src","sources":["native-internal/variables.tsx"],"mappings":";;AAAA,SACEA,aAAa,EACbC,UAAU,EACVC,OAAO,QAEF,OAAO;AAId,SAASC,UAAU,QAAmC,yBAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE7EC,UAAU,CAACC,mCAAmC,kBAC5CP,aAAa,CAAuB;EAClC,CAACG,UAAU,GAAG;AAChB,CAAC,CAAC;AAEJ,OAAO,MAAMK,eAAe,GAAGF,UAAU,CAACC,mCAAmC;AAE7E,OAAO,SAASE,uBAAuBA,CACrCC,KAA2E,EAC3E;EACA,MAAMC,kBAAkB,GAAGV,UAAU,CAACO,eAAe,CAAC;EAEtD,MAAMI,KAA2B,GAAGV,OAAO,CACzC,OAAO;IACL,GAAGS,kBAAkB;IACrB,GAAGE,MAAM,CAACC,WAAW,CACnBD,MAAM,CAACE,OAAO,CAACL,KAAK,CAACE,KAAK,CAAC,CAACI,GAAG,CAAC,CAAC,CAACC,CAAC,EAAEC,CAAC,CAAC,KAAK,CAACD,CAAC,CAACE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,EAAED,CAAC,CAAC,CACvE,CAAC;IACD,CAACf,UAAU,GAAG;EAChB,CAAC,CAAC,EACF,CAACQ,kBAAkB,EAAED,KAAK,CAACE,KAAK,CAClC,CAAC;EAED,oBAAOP,IAAA,CAACG,eAAe;IAACI,KAAK,EAAEA,KAAM;IAAAQ,QAAA,EAAEV,KAAK,CAACU;EAAQ,CAAkB,CAAC;AAC1E","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=injection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["runtime/native/injection.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["runtime.ts"],"mappings":";;AAAA,cAAc,gBAAO","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["runtime.native.ts"],"mappings":";;AAAA,cAAc,mBAAU","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,6 @@
1
+ "use strict";
2
+
3
+ export * from "./specificity.js";
4
+ export * from "./style-descriptor.js";
5
+ export * from "./dot-notation.types.js";
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["utilities/index.ts"],"mappings":";;AAAA,cAAc,kBAAe;AAC7B,cAAc,uBAAoB;AAClC,cAAc,yBAAsB","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Specificity","Order","ClassName","Important","Inline","PseudoElements","PseudoClass","inlineSpecificity","specificityCompareFn","a","b","aSpec","s","bSpec"],"sourceRoot":"../../../src","sources":["utilities/specificity.ts"],"mappings":";;AAAA;;AAIA,OAAO,MAAMA,WAAW,GAAG;EACzBC,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,GAAGH,WAAW,CAACG,SAAS;AACvC,MAAMC,MAAM,GAAGJ,WAAW,CAACI,MAAM;AACjC,MAAMC,cAAc,GAAGL,WAAW,CAACK,cAAc;AACjD,MAAMH,SAAS,GAAGF,WAAW,CAACE,SAAS;AACvC,MAAMD,KAAK,GAAGD,WAAW,CAACC,KAAK;AAE/B,OAAO,MAAMM,iBAAmC,GAAG,EAAE;AACrDA,iBAAiB,CAACP,WAAW,CAACI,MAAM,CAAC,GAAG,CAAC;AAEzC,OAAO,MAAMI,oBAAoB,GAAGA,CAClCC,CAAgC,EAChCC,CAAgC,KAC7B;EACH,MAAMC,KAAK,GAAGF,CAAC,CAACG,CAAC,GAAGH,CAAC,CAACG,CAAC,GAAGL,iBAAiB;EAC3C,MAAMM,KAAK,GAAGH,CAAC,CAACE,CAAC,GAAGF,CAAC,CAACE,CAAC,GAAGL,iBAAiB;EAE3C,IAAII,KAAK,CAACR,SAAS,CAAC,KAAKU,KAAK,CAACV,SAAS,CAAC,EAAE;IACzC,OAAO,CAACQ,KAAK,CAACR,SAAS,CAAC,IAAI,CAAC,KAAKU,KAAK,CAACV,SAAS,CAAC,IAAI,CAAC,CAAC;EAC1D,CAAC,MAAM,IAAIQ,KAAK,CAACP,MAAM,CAAC,KAAKS,KAAK,CAACT,MAAM,CAAC,EAAE;IAC1C,OAAO,CAACO,KAAK,CAACP,MAAM,CAAC,IAAI,CAAC,KAAKS,KAAK,CAACT,MAAM,CAAC,IAAI,CAAC,CAAC;EACpD,CAAC,MAAM,IAAIO,KAAK,CAACN,cAAc,CAAC,KAAKQ,KAAK,CAACR,cAAc,CAAC,EAAE;IAC1D,OAAO,CAACM,KAAK,CAACN,cAAc,CAAC,IAAI,CAAC,KAAKQ,KAAK,CAACR,cAAc,CAAC,IAAI,CAAC,CAAC;EACpE,CAAC,MAAM,IAAIM,KAAK,CAACT,SAAS,CAAC,KAAKW,KAAK,CAACX,SAAS,CAAC,EAAE;IAChD,OAAO,CAACS,KAAK,CAACT,SAAS,CAAC,IAAI,CAAC,KAAKW,KAAK,CAACX,SAAS,CAAC,IAAI,CAAC,CAAC;EAC1D,CAAC,MAAM,IAAIS,KAAK,CAACV,KAAK,CAAC,KAAKY,KAAK,CAACZ,KAAK,CAAC,EAAE;IACxC,OAAO,CAACU,KAAK,CAACV,KAAK,CAAC,IAAI,CAAC,KAAKY,KAAK,CAACZ,KAAK,CAAC,IAAI,CAAC,CAAC;EAClD,CAAC,MAAM;IACL,OAAO,CAAC;EACV;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ export function isStyleDescriptorArray(value) {
4
+ if (Array.isArray(value)) {
5
+ // If its an array and the first item is an object, the only allowed value is an array
6
+ return typeof value[0] === "object" ? Array.isArray(value[0]) : true;
7
+ }
8
+ return false;
9
+ }
10
+ export function isStyleFunction(value) {
11
+ if (Array.isArray(value)) {
12
+ return typeof value[0] === "object" ? Object.keys(value[0]).length === 0 : false;
13
+ }
14
+ return false;
15
+ }
16
+ //# 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":";;AAEA,OAAO,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;AAEA,OAAO,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,76 @@
1
+ "use strict";
2
+
3
+ import { createElement, useMemo } from "react";
4
+ import { Appearance } from "react-native";
5
+ import { assignStyle } from "./assign-style.js";
6
+ import { jsx as _jsx } from "react/jsx-runtime";
7
+ export const styled = (baseComponent, mapping, _options) => {
8
+ return props => {
9
+ return useCssElement(baseComponent, mapping, props);
10
+ };
11
+ };
12
+ export const useCssElement = (component, incomingProps, mapping) => {
13
+ let props = {
14
+ ...incomingProps
15
+ };
16
+ for (const [key, value] of Object.entries(mapping)) {
17
+ const source = props[key];
18
+ if (!source) {
19
+ continue;
20
+ }
21
+
22
+ // eslint-disable-next-line @typescript-eslint/no-dynamic-delete
23
+ delete props[key];
24
+ let target = typeof value === "object" ? value.target : value;
25
+ if (typeof target === "boolean") {
26
+ target = key;
27
+ }
28
+ props = assignStyle({
29
+ $$css: true,
30
+ [key]: source
31
+ }, target.split("."), props);
32
+ }
33
+ return /*#__PURE__*/createElement(component, props);
34
+ };
35
+ export const colorScheme = {
36
+ get() {
37
+ return Appearance.getColorScheme();
38
+ },
39
+ set(name) {
40
+ Appearance.setColorScheme(name);
41
+ }
42
+ };
43
+
44
+ /**
45
+ * @deprecated Use `<VariableContextProvider />` instead.
46
+ */
47
+ export function vars(variables) {
48
+ const $variables = {};
49
+ for (const [key, value] of Object.entries(variables)) {
50
+ if (key.startsWith("--")) {
51
+ $variables[key] = value.toString();
52
+ } else {
53
+ $variables[`--${key}`] = value.toString();
54
+ }
55
+ }
56
+ return $variables;
57
+ }
58
+ export function VariableContextProvider(props) {
59
+ const style = useMemo(() => {
60
+ return {
61
+ display: "content",
62
+ ...Object.fromEntries(Object.entries(props.value).map(([key, value]) => [key.startsWith("--") ? key : `--${key}`, value]))
63
+ };
64
+ }, [props.value]);
65
+ return /*#__PURE__*/_jsx("div", {
66
+ style: style,
67
+ children: props.children
68
+ });
69
+ }
70
+ export const useNativeVariable = () => {
71
+ throw new Error("useNativeVariable is not supported in web");
72
+ };
73
+ export const useUnstableNativeVariable = () => {
74
+ throw new Error("useUnstableNativeVariable is not supported in web");
75
+ };
76
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createElement","useMemo","Appearance","assignStyle","jsx","_jsx","styled","baseComponent","mapping","_options","props","useCssElement","component","incomingProps","key","value","Object","entries","source","target","$$css","split","colorScheme","get","getColorScheme","set","name","setColorScheme","vars","variables","$variables","startsWith","toString","VariableContextProvider","style","display","fromEntries","map","children","useNativeVariable","Error","useUnstableNativeVariable"],"sourceRoot":"../../../src","sources":["web/api.tsx"],"mappings":";;AAAA,SACEA,aAAa,EACbC,OAAO,QAGF,OAAO;AACd,SAASC,UAAU,QAAQ,cAAc;AAWzC,SAASC,WAAW,QAAQ,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA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yle","value","targets","props","target","shift","length","cb","args"],"sourceRoot":"../../../src","sources":["web/assign-style.ts"],"mappings":";;AAAA;AACA,OAAO,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":[],"sourceRoot":"../../../src","sources":["web/index.ts"],"mappings":";;AAAA;AACA,OAAO,YAAS;AAGhB,cAAc,UAAO","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["web/metro.ts"],"mappings":";;AAAA;AACA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../../example/src/App.tsx"],"names":[],"mappings":"AAEA,OAAO,eAAe,CAAC;AAEvB,MAAM,CAAC,OAAO,UAAU,GAAG,4CAQ1B"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../../example/src/App.tsx"],"names":[],"mappings":"AAKA,OAAO,eAAe,CAAC;AAIvB,MAAM,CAAC,OAAO,UAAU,GAAG,4CAc1B"}
@@ -1 +1,4 @@
1
+ export default function (): {
2
+ plugins: any[];
3
+ };
1
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/babel/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/babel/index.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO;;EAOb"}
@@ -29,6 +29,6 @@ export interface ReactNativeAtRule {
29
29
  };
30
30
  };
31
31
  }
32
- export declare function maybeMutateReactNativeOptions(rule: Rule | ReactNativeAtRule, builder: StylesheetBuilder): void;
32
+ export declare function maybeMutateReactNativeOptions(rule: Rule | ReactNativeAtRule, _builder: StylesheetBuilder): void;
33
33
  export declare function parsePropAtRule(rules?: (Rule | PropAtRule)[]): StyleRuleMapping;
34
34
  //# sourceMappingURL=atRules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"atRules.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/atRules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,IAAI,EACJ,YAAY,EACb,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,OAAO,CAAC,YAAY,EAAE;YAAE,IAAI,EAAE,OAAO,CAAA;SAAE,CAAC,EAA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,OAAO,CAAA;SAAE,CAAC,EAAE,GAAG,IAAI,CAAC;KAC1D,CAAC;CACH;AAED;;iDAEiD;AAEjD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE;QACL,IAAI,EAAE,cAAc,CAAC;QACrB,OAAO,EAAE,IAAI,GAAG,OAAO,CAAC,eAAe,EAAE;YAAE,IAAI,EAAE,UAAU,CAAA;SAAE,CAAC,CAAC;QAC/D,IAAI,EAAE;YACJ,IAAI,EAAE,kBAAkB,CAAC;YACzB,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;SAC/C,CAAC;KACH,CAAC;CACH;AAED,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,IAAI,GAAG,iBAAiB,EAC9B,QAAQ,EAAE,iBAAiB,QAO5B;AAUD,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,GAAG,UAAU,CAAC,EAAE,oBA2C5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/compiler.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,kBAAkB,CAAC;AAUxE;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,GAAE,eAAoB;;;;;;;EAoF3E"}
1
+ {"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/compiler.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,eAAe,EAIhB,MAAM,kBAAkB,CAAC;AAY1B;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,GAAE,eAAoB;;;;;;;EA+I3E"}
@@ -1,22 +1,21 @@
1
1
  import type { Debugger } from "debug";
2
- import type { MediaFeatureNameFor_MediaFeatureId } from "lightningcss";
3
- import { VAR_SYMBOL } from "../runtime/native/reactivity";
2
+ import type { MediaFeatureNameFor_MediaFeatureId, TokenOrValue } from "lightningcss";
3
+ import { VAR_SYMBOL } from "../native/reactivity";
4
4
  export interface CompilerOptions {
5
5
  filename?: string;
6
6
  projectRoot?: string;
7
7
  inlineRem?: number | false;
8
+ inlineVariables?: false | InlineVariableOptions;
8
9
  selectorPrefix?: string;
9
10
  stylesheetOrder?: number;
10
11
  features?: FeatureFlagRecord;
11
12
  logger?: (message: string) => void | Debugger;
12
- /** Strip unused variables declarations. Defaults: false */
13
- stripUnusedVariables?: boolean;
14
- /** @internal */
15
- ignorePropertyWarningRegex?: (string | RegExp)[];
16
- preserveVariables?: boolean;
17
13
  hexColors?: boolean;
18
14
  colorPrecision?: number;
19
15
  }
16
+ export interface InlineVariableOptions {
17
+ exclude?: `--${string}`[];
18
+ }
20
19
  /**
21
20
  * A `react-native-css` StyleSheet
22
21
  */
@@ -120,6 +119,11 @@ export type InlineVariable = {
120
119
  [VAR_SYMBOL]: "inline";
121
120
  [key: string]: unknown | undefined;
122
121
  };
122
+ export type UniqueVarInfo = {
123
+ count: number;
124
+ value: TokenOrValue[] | undefined;
125
+ flat?: true;
126
+ };
123
127
  /****************************** Animations ******************************/
124
128
  export type Animation = [string, AnimationKeyframes[]];
125
129
  export type AnimationRecord = Record<string, AnimationKeyframes[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"compiler.types.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/compiler.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,M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OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,eAAe;IACzD,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IAChC,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC7C,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,cAAc,CAAC;IAC9B,kBAAkB,EAAE,cAAc,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC"}
@@ -31,6 +31,9 @@ export declare function parseAngle(angle: Angle | number, builder: StylesheetBui
31
31
  export declare function parseSizeDeclaration(declaration: {
32
32
  value: Size | MaxSize;
33
33
  }, builder: StylesheetBuilder): StyleDescriptor;
34
+ export declare function parseSizeWithAutoDeclaration(declaration: {
35
+ value: Size | MaxSize;
36
+ }, builder: StylesheetBuilder): StyleDescriptor;
34
37
  export declare function parsePointerEvents({ value }: {
35
38
  value: string;
36
39
  }, builder: StylesheetBuilder): "none" | "auto" | "box-none" | "box-only" | undefined;
@@ -42,14 +45,17 @@ export declare function parseSize(size: Size | MaxSize, builder: StylesheetBuild
42
45
  }): StyleDescriptor;
43
46
  export declare function parseColorOrAutoDeclaration({ value }: {
44
47
  value: ColorOrAuto;
45
- }, builder: StylesheetBuilder): string | readonly [{}, "var", "__rn-css-current-color"] | undefined;
48
+ }, builder: StylesheetBuilder): string | readonly [{}, "var", "__rn-css-color"] | undefined;
46
49
  export declare function parseFontColorDeclaration(declaration: Extract<Declaration, {
47
50
  value: CssColor;
48
51
  }>, builder: StylesheetBuilder): void;
49
52
  export declare function parseColorDeclaration(declaration: Extract<Declaration, {
50
53
  value: CssColor;
51
54
  }>, builder: StylesheetBuilder): void;
52
- export declare function parseColor(cssColor: CssColor, builder: StylesheetBuilder): string | readonly [{}, "var", "__rn-css-current-color"] | undefined;
55
+ export declare function parseColor(cssColor: CssColor, builder: StylesheetBuilder): string | readonly [{}, "var", "__rn-css-color"] | undefined;
56
+ export declare function parseLengthPercentageDeclaration(value: {
57
+ value: LengthPercentageOrAuto;
58
+ }, builder: StylesheetBuilder): StyleDescriptor;
53
59
  export declare function parseLengthPercentageOrAutoDeclaration(value: {
54
60
  value: LengthPercentageOrAuto;
55
61
  }, builder: StylesheetBuilder): StyleDescriptor;
@@ -60,23 +66,25 @@ export declare function parseJustifyContent(declaration: DeclarationType<"justif
60
66
  export declare function parseAlignContent(declaration: DeclarationType<"align-content">, builder: StylesheetBuilder): string | undefined;
61
67
  export declare function parseAlignItems(alignItems: DeclarationType<"align-items">, builder: StylesheetBuilder): string | undefined;
62
68
  export declare function parseAlignSelf(alignSelf: DeclarationType<"align-self">, builder: StylesheetBuilder): string | undefined;
63
- export declare function parseFontWeightDeclaration(declaration: DeclarationType<"font-weight">, builder: StylesheetBuilder): string | undefined;
64
- export declare function parseFontWeight(fontWeight: FontWeight, builder: StylesheetBuilder): string | undefined;
69
+ export declare function parseFontWeightDeclaration(declaration: DeclarationType<"font-weight">, builder: StylesheetBuilder): number | "bold" | "normal" | undefined;
70
+ export declare function parseFontWeight(fontWeight: FontWeight, builder: StylesheetBuilder): number | "bold" | "normal" | undefined;
65
71
  export declare function parseTextShadow(declaration: DeclarationType<"text-shadow">, builder: StylesheetBuilder): void;
66
72
  export declare function parseTextDecorationStyle(declaration: DeclarationType<"text-decoration-style">, builder: StylesheetBuilder): import("lightningcss").TextDecorationStyle | undefined;
67
73
  export declare function parseTextDecorationLineDeclaration(declaration: DeclarationType<"text-decoration-line">, builder: StylesheetBuilder): "none" | "underline" | "line-through" | "underline line-through" | undefined;
68
74
  export declare function parseTextDecorationLine(value: DeclarationType<"text-decoration-line">["value"], builder: StylesheetBuilder): "none" | "underline" | "line-through" | "underline line-through" | undefined;
69
- export declare function parsePosition({ value }: DeclarationType<"position">, builder: StylesheetBuilder): "absolute" | "relative" | undefined;
75
+ export declare function parsePosition({ value }: DeclarationType<"position">, builder: StylesheetBuilder): "static" | "absolute" | "relative" | undefined;
70
76
  export declare function parseOverflow({ value }: DeclarationType<"overflow">, builder: StylesheetBuilder): import("lightningcss").OverflowKeyword | undefined;
71
77
  export declare function parseBorderStyleDeclaration(declaration: Extract<DeclarationType<Declaration["property"]>, {
72
78
  value: LineStyle | BorderStyle;
73
79
  }>, builder: StylesheetBuilder): LineStyle | undefined;
74
80
  export declare function parseBorderStyle(value: BorderStyle | LineStyle, builder: StylesheetBuilder): LineStyle | undefined;
75
81
  export declare function parseBorderBlockWidth(declaration: DeclarationType<"border-block-width">, builder: StylesheetBuilder): void;
76
- export declare function parseBorderSideWidthDeclaration(declaration: DeclarationType<"border-block-end-width" | "border-block-start-width" | "border-bottom-width" | "border-inline-end-width" | "border-inline-start-width" | "border-left-width" | "border-right-width" | "border-top-width">, builder: StylesheetBuilder): void;
82
+ export declare function parseBorderSideWidthDeclaration(declaration: Extract<Declaration, {
83
+ value: BorderSideWidth;
84
+ }>, builder: StylesheetBuilder): void;
77
85
  export declare function parseBorderSideWidth(value: BorderSideWidth, builder: StylesheetBuilder): StyleDescriptor;
78
86
  export declare function parseVerticalAlign({ value }: DeclarationType<"vertical-align">, builder: StylesheetBuilder): import("lightningcss").VerticalAlignKeyword | undefined;
79
- export declare function parseLineHeightDeclaration(declaration: DeclarationType<"line-height">, builder: StylesheetBuilder): StyleDescriptor;
87
+ export declare function parseLineHeightDeclaration(declaration: DeclarationType<"line-height">, builder: StylesheetBuilder): void;
80
88
  export declare function parseLineHeight(value: LineHeight, builder: StylesheetBuilder): StyleDescriptor;
81
89
  export declare function parseFontSizeDeclaration(declaration: DeclarationType<"font-size">, builder: StylesheetBuilder): void;
82
90
  export declare function parseFontSize(value: FontSize, builder: StylesheetBuilder): StyleDescriptor;
@@ -88,8 +96,11 @@ export declare function parseLengthOrCoercePercentageToRuntime(value: Length | D
88
96
  export declare function parseGap(declaration: DeclarationType<"gap" | "column-gap" | "row-gap">, builder: StylesheetBuilder): StyleDescriptor;
89
97
  export declare function parseTextAlign({ value }: DeclarationType<"text-align">, builder: StylesheetBuilder): import("lightningcss").TextAlign | undefined;
90
98
  export declare function parseBoxShadow({ value }: DeclarationType<"box-shadow">, builder: StylesheetBuilder): void;
91
- export declare function parseDisplay({ value }: DeclarationType<"display">, builder: StylesheetBuilder): "flex" | "none" | undefined;
99
+ export declare function parseBoxSizing(declaration: DeclarationType<"box-sizing">, builder: StylesheetBuilder): import("lightningcss").BoxSizing | undefined;
100
+ export declare function parseDisplay({ value }: DeclarationType<"display">, builder: StylesheetBuilder): "none" | "flex" | "contents" | undefined;
101
+ export declare function parseDirection(declaration: DeclarationType<"direction">, builder: StylesheetBuilder): void;
92
102
  export declare function parseAspectRatio({ value, }: DeclarationType<"aspect-ratio">): StyleDescriptor;
103
+ export declare function parseBackfaceVisibility({ value }: DeclarationType<"backface-visibility">, builder: StylesheetBuilder): StyleDescriptor;
93
104
  export declare function parseDimension({ unit, value }: Extract<Token, {
94
105
  type: "dimension";
95
106
  }>, builder: StylesheetBuilder): StyleDescriptor;