@fluentic/style 0.1.0-beta.11 → 0.1.0-beta.13

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 (556) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/atomic/layer/layer.ts +7 -3
  3. package/builder/data/data.ts +1 -1
  4. package/builder/selector_override_core.ts +7 -1
  5. package/compiler/compiler/compiler.ts +8 -4
  6. package/compiler/extract/extract.ts +14 -9
  7. package/compiler/extract/types.ts +2 -1
  8. package/compiler/transform/extract/chain/chain.ts +7 -4
  9. package/compiler/transform/extract/chain/extract_chain.ts +14 -0
  10. package/compiler/transform/extract/utils/replacement.ts +6 -1
  11. package/compiler/utils/file_resolver.ts +2 -1
  12. package/config/config/css.ts +19 -0
  13. package/css/sheet.ts +3 -2
  14. package/dist/{combine-Bww7VnSr.js → combine-yuoQ_qpx.js} +2 -2
  15. package/dist/{combine-Bww7VnSr.js.map → combine-yuoQ_qpx.js.map} +1 -1
  16. package/dist/compiler/index.mjs +1 -1
  17. package/dist/{compiler-C3CEGGtI.mjs → compiler-BEHxZYjz.mjs} +35 -16
  18. package/dist/compiler-BEHxZYjz.mjs.map +1 -0
  19. package/dist/config/index.js +2 -2
  20. package/dist/{config-CDjbHwb-.js → config-B5nEd-TV.js} +2 -2
  21. package/dist/{config-CDjbHwb-.js.map → config-B5nEd-TV.js.map} +1 -1
  22. package/dist/{config-C5VWvTav.js → config-BWGBkVrM.js} +4 -4
  23. package/dist/{config-C5VWvTav.js.map → config-BWGBkVrM.js.map} +1 -1
  24. package/dist/{config-BKP5LOkt.js → config-Bqe8Y-4_.js} +2 -2
  25. package/dist/{config-BKP5LOkt.js.map → config-Bqe8Y-4_.js.map} +1 -1
  26. package/dist/{config-DNEnHEf3.js → config-DggQEE-4.js} +3 -3
  27. package/dist/{config-DNEnHEf3.js.map → config-DggQEE-4.js.map} +1 -1
  28. package/dist/{createTransformElement-D8fXZ3wA.js → createTransformElement-B2jSnugo.js} +2 -2
  29. package/dist/{createTransformElement-D8fXZ3wA.js.map → createTransformElement-B2jSnugo.js.map} +1 -1
  30. package/dist/{css-CFxNrYt3.js → css-BQRIvzwZ.js} +41 -20
  31. package/dist/css-BQRIvzwZ.js.map +1 -0
  32. package/dist/{css-BDn0epJ8.js → css-CGMAis1n.js} +7 -7
  33. package/dist/css-CGMAis1n.js.map +1 -0
  34. package/dist/{css-DWBWsyxZ.js → css-D7eTqvMH.js} +9 -2
  35. package/dist/{css-DWBWsyxZ.js.map → css-D7eTqvMH.js.map} +1 -1
  36. package/dist/{css-DEYgrj76.js → css-p_5ZNny_.js} +12 -12
  37. package/dist/css-p_5ZNny_.js.map +1 -0
  38. package/dist/css.js +1 -1
  39. package/dist/{css_extra-nTq_Gw0E.js → css_extra-DuVzUIYx.js} +2 -2
  40. package/dist/{css_extra-nTq_Gw0E.js.map → css_extra-DuVzUIYx.js.map} +1 -1
  41. package/dist/{data-CDrS1Bq4.js → data-QXDBLlWs.js} +7 -7
  42. package/dist/{data-CDrS1Bq4.js.map → data-QXDBLlWs.js.map} +1 -1
  43. package/dist/{debug-YuhEIQVO.js → debug-0iaVEC7z.js} +3 -3
  44. package/dist/{debug-YuhEIQVO.js.map → debug-0iaVEC7z.js.map} +1 -1
  45. package/dist/{debug-BkVbf0Cz.js → debug-CkgcZDaX.js} +2 -2
  46. package/dist/{debug-BkVbf0Cz.js.map → debug-CkgcZDaX.js.map} +1 -1
  47. package/dist/dev/rsc.js +7 -7
  48. package/dist/dev/rsc.js.map +1 -1
  49. package/dist/{dev-0imWmSVb.js → dev-DocaGP3_.js} +7 -7
  50. package/dist/{dev-0imWmSVb.js.map → dev-DocaGP3_.js.map} +1 -1
  51. package/dist/dev.js +1 -1
  52. package/dist/dialect/extracted/index.js +1 -1
  53. package/dist/dialect/index.js +1 -1
  54. package/dist/{elementMarker-kvpMjB49.js → elementMarker-DZjd1NuA.js} +35 -21
  55. package/dist/elementMarker-DZjd1NuA.js.map +1 -0
  56. package/dist/entry/dev/adapter/preact.js +1 -1
  57. package/dist/entry/dev/adapter/react.js +1 -1
  58. package/dist/entry/dev/adapter/solid.js +1 -1
  59. package/dist/entry/dev/css.js +2 -2
  60. package/dist/entry/dev/jsx-dev-runtime.js +2 -2
  61. package/dist/entry/dev/jsx-runtime.js +2 -2
  62. package/dist/entry/dev.js +11 -11
  63. package/dist/entry/prod/css.js +2 -2
  64. package/dist/entry/prod.js +2 -2
  65. package/dist/entry/rsc-dev/adapter/preact.js +1 -1
  66. package/dist/entry/rsc-dev/adapter/react.js +1 -1
  67. package/dist/entry/rsc-dev/adapter/solid.js +1 -1
  68. package/dist/entry/rsc-dev/css.js +2 -2
  69. package/dist/entry/rsc-dev/dev.js +6 -6
  70. package/dist/entry/rsc-dev/dev.js.map +1 -1
  71. package/dist/entry/rsc-dev/jsx-dev-runtime.js +2 -2
  72. package/dist/entry/rsc-dev/jsx-runtime.js +2 -2
  73. package/dist/entry/rsc-dev.js +5 -5
  74. package/dist/entry/rsc-prod/css.js +2 -2
  75. package/dist/entry/rsc-prod.js +2 -2
  76. package/dist/{env-Cz8frh6e.js → env-DJyXPJ9q.js} +40 -19
  77. package/dist/env-DJyXPJ9q.js.map +1 -0
  78. package/dist/getClassName-9CsXbNls.js.map +1 -1
  79. package/dist/{getClassName-DGm-VNDo.js → getClassName-BB_L7U_v.js} +5 -5
  80. package/dist/{getClassName-DGm-VNDo.js.map → getClassName-BB_L7U_v.js.map} +1 -1
  81. package/dist/{getClassName-Dtc4yyYI.js → getClassName-BIqt1S41.js} +4 -4
  82. package/dist/{getClassName-Dtc4yyYI.js.map → getClassName-BIqt1S41.js.map} +1 -1
  83. package/dist/{global-CAc9OjKx.js → global-CBQGormL.js} +2 -2
  84. package/dist/{global-CAc9OjKx.js.map → global-CBQGormL.js.map} +1 -1
  85. package/dist/index.js +9 -9
  86. package/dist/jsx/jsx-dev-runtime.js +1 -1
  87. package/dist/jsx/jsx-dev-runtime.server.js +1 -1
  88. package/dist/jsx/jsx-runtime.js +1 -1
  89. package/dist/jsx/jsx-runtime.server.js +1 -1
  90. package/dist/{jsx-CVxpkS04.js → jsx-BCufpzdb.js} +4 -4
  91. package/dist/{jsx-CVxpkS04.js.map → jsx-BCufpzdb.js.map} +1 -1
  92. package/dist/{jsx_runtime-6Qa1lmz2.js → jsx_runtime-Bu_A8mr4.js} +2 -2
  93. package/dist/{jsx_runtime-6Qa1lmz2.js.map → jsx_runtime-Bu_A8mr4.js.map} +1 -1
  94. package/dist/{loader-_-VjzlrX.mjs → loader-vMHuD1zT.mjs} +3 -3
  95. package/dist/loader-vMHuD1zT.mjs.map +1 -0
  96. package/dist/{misc-B76PUnWe.mjs → misc-9EGKYkZo.mjs} +2 -2
  97. package/dist/{misc-B76PUnWe.mjs.map → misc-9EGKYkZo.mjs.map} +1 -1
  98. package/dist/{namedTokens-5AayGokX.js → namedTokens-DnpyC5XT.js} +3 -3
  99. package/dist/{namedTokens-5AayGokX.js.map → namedTokens-DnpyC5XT.js.map} +1 -1
  100. package/dist/plugin/farm/index.mjs +3 -3
  101. package/dist/plugin/nextjs/index.mjs +4 -4
  102. package/dist/plugin/nextjs/index.mjs.map +1 -1
  103. package/dist/plugin/nextjs/loader.mjs +4 -4
  104. package/dist/plugin/parcel/index.cjs +1 -1
  105. package/dist/plugin/parcel/index.mjs +2 -2
  106. package/dist/plugin/parcel/optimizer.cjs +1 -1
  107. package/dist/plugin/parcel/optimizer.mjs +2 -2
  108. package/dist/plugin/parcel/resolver.cjs +1 -1
  109. package/dist/plugin/parcel/resolver.mjs +2 -2
  110. package/dist/plugin/parcel/runtime.cjs +1 -1
  111. package/dist/plugin/parcel/runtime.mjs +1 -1
  112. package/dist/plugin/parcel/transformer.cjs +1 -1
  113. package/dist/plugin/parcel/transformer.mjs +2 -2
  114. package/dist/plugin/rspack/index.mjs +2 -2
  115. package/dist/plugin/vite/index.mjs +3 -3
  116. package/dist/plugin/webpack/index.mjs +2 -2
  117. package/dist/plugin/webpack/loader.mjs +2 -2
  118. package/dist/presets/tailwind/index.js +3 -3
  119. package/dist/{registry-w8ET5R7v.mjs → registry-DVB7n6V-.mjs} +2 -2
  120. package/dist/{registry-w8ET5R7v.mjs.map → registry-DVB7n6V-.mjs.map} +1 -1
  121. package/dist/{resolveClassNameRuntime-CJjlUP93.js → resolveClassNameRuntime-DvH6j_4N.js} +2 -2
  122. package/dist/{resolveClassNameRuntime-CJjlUP93.js.map → resolveClassNameRuntime-DvH6j_4N.js.map} +1 -1
  123. package/dist/{rules-DaMaMHgb.js → rules-znG9bsKI.js} +8 -8
  124. package/dist/{rules-DaMaMHgb.js.map → rules-znG9bsKI.js.map} +1 -1
  125. package/dist/server.js +13 -13
  126. package/dist/{shared-PK52rW6T.cjs → shared-DaEDCb8I.cjs} +35 -16
  127. package/dist/shared-DaEDCb8I.cjs.map +1 -0
  128. package/dist/{shared-C_cYxNzz.mjs → shared-O-5Fcsxa.mjs} +4 -4
  129. package/dist/{shared-C_cYxNzz.mjs.map → shared-O-5Fcsxa.mjs.map} +1 -1
  130. package/dist/sheet-SlZRjOmw.js +7 -0
  131. package/dist/{sheet-CxkO1Hwt.js.map → sheet-SlZRjOmw.js.map} +1 -1
  132. package/dist/{sidecar-BhvmXYsD.mjs → sidecar-DiYLwXbk.mjs} +3 -3
  133. package/dist/{sidecar-BhvmXYsD.mjs.map → sidecar-DiYLwXbk.mjs.map} +1 -1
  134. package/dist/{style-CAhAnRni.js → style-CtXEZqgx.js} +10 -10
  135. package/dist/{style-CAhAnRni.js.map → style-CtXEZqgx.js.map} +1 -1
  136. package/dist/{styleStore-BzLZwpwy.js → styleStore-BImBZdt6.js} +6 -4
  137. package/dist/styleStore-BImBZdt6.js.map +1 -0
  138. package/dist/{styleStore-DaIJ4OPV.js → styleStore-CBan0gHQ.js} +9 -7
  139. package/dist/styleStore-CBan0gHQ.js.map +1 -0
  140. package/dist/{token-D33mKTka.js → token-DyLO6Hnf.js} +2 -2
  141. package/dist/{token-D33mKTka.js.map → token-DyLO6Hnf.js.map} +1 -1
  142. package/dist/{trace-c2WmBbmX.js → trace-Bsh-Kkg_.js} +2 -2
  143. package/dist/{trace-c2WmBbmX.js.map → trace-Bsh-Kkg_.js.map} +1 -1
  144. package/dist/{trace-B3dpTRJp.js → trace-C1_6fM21.js} +3 -3
  145. package/dist/{trace-B3dpTRJp.js.map → trace-C1_6fM21.js.map} +1 -1
  146. package/dist/{transform-DSpimwwC.js → transform-8TIMiF5A.js} +2 -2
  147. package/dist/{transform-DSpimwwC.js.map → transform-8TIMiF5A.js.map} +1 -1
  148. package/dist/types/adapter/preact.d.ts +1 -0
  149. package/dist/types/adapter/react.d.ts +1 -0
  150. package/dist/types/adapter/solid.d.ts +1 -0
  151. package/dist/types/atomic/atRule/counterStyle.d.ts +10 -0
  152. package/dist/types/atomic/atRule/fontFace.d.ts +10 -0
  153. package/dist/types/atomic/atRule/fontPaletteValues.d.ts +10 -0
  154. package/dist/types/atomic/atRule/fontSrc.d.ts +1 -0
  155. package/dist/types/atomic/atRule/keyframes.d.ts +13 -0
  156. package/dist/types/atomic/atRule/positionTry.d.ts +13 -0
  157. package/dist/types/atomic/atRule/property.d.ts +13 -0
  158. package/dist/types/atomic/atRule/utils.d.ts +5 -0
  159. package/dist/types/atomic/className.d.ts +11 -0
  160. package/dist/types/atomic/debug/className/className.d.ts +9 -0
  161. package/dist/types/atomic/debug/className/index.d.ts +1 -0
  162. package/dist/types/atomic/debug/property/data.d.ts +3 -0
  163. package/dist/types/atomic/debug/property/index.d.ts +1 -0
  164. package/dist/types/atomic/debug/property/property.d.ts +5 -0
  165. package/dist/types/atomic/debug/selector.d.ts +2 -0
  166. package/dist/types/atomic/debug/value.d.ts +5 -0
  167. package/dist/types/atomic/element.d.ts +5 -0
  168. package/dist/types/atomic/layer/index.d.ts +3 -0
  169. package/dist/types/atomic/layer/layer.d.ts +12 -0
  170. package/dist/types/atomic/layer/types.d.ts +30 -0
  171. package/dist/types/atomic/layer/utils.d.ts +4 -0
  172. package/dist/types/atomic/property/index.d.ts +2 -0
  173. package/dist/types/atomic/property/presets.d.ts +4 -0
  174. package/dist/types/atomic/property/property.d.ts +3 -0
  175. package/dist/types/atomic/property/type_maps.d.ts +31 -0
  176. package/dist/types/atomic/property/types.d.ts +4 -0
  177. package/dist/types/atomic/rule.d.ts +5 -0
  178. package/dist/types/atomic/scope.d.ts +3 -0
  179. package/dist/types/atomic/theme.d.ts +7 -0
  180. package/dist/types/atomic/token.d.ts +7 -0
  181. package/dist/types/atomic/utils/cssIdent.d.ts +2 -0
  182. package/dist/types/atomic/utils/cssVar.d.ts +3 -0
  183. package/dist/types/atomic/utils/debug.d.ts +4 -0
  184. package/dist/types/atomic/utils/format.d.ts +5 -0
  185. package/dist/types/atomic/utils/hash.d.ts +1 -0
  186. package/dist/types/atomic/utils/selector.d.ts +6 -0
  187. package/dist/types/atomic/utils/types.d.ts +7 -0
  188. package/dist/types/atomic/value/index.d.ts +2 -0
  189. package/dist/types/atomic/value/unitless.d.ts +1 -0
  190. package/dist/types/atomic/value/value.d.ts +2 -0
  191. package/dist/types/atomic/var.d.ts +4 -0
  192. package/dist/types/builder/classname/class_name_builder.d.ts +4 -0
  193. package/dist/types/builder/classname/fns.d.ts +48 -0
  194. package/dist/types/builder/classname/index.d.ts +3 -0
  195. package/dist/types/builder/classname/types.d.ts +18 -0
  196. package/dist/types/builder/data/check_selector.d.ts +2 -0
  197. package/dist/types/builder/data/const.d.ts +26 -0
  198. package/dist/types/builder/data/create.d.ts +13 -0
  199. package/dist/types/builder/data/data.d.ts +44 -0
  200. package/dist/types/builder/data/debug.d.ts +38 -0
  201. package/dist/types/builder/data/index.d.ts +8 -0
  202. package/dist/types/builder/data/is.d.ts +16 -0
  203. package/dist/types/builder/data/merge/index.d.ts +2 -0
  204. package/dist/types/builder/data/merge/scope.d.ts +7 -0
  205. package/dist/types/builder/data/merge/style.d.ts +6 -0
  206. package/dist/types/builder/data/merge/utils.d.ts +5 -0
  207. package/dist/types/builder/data/selector.d.ts +8 -0
  208. package/dist/types/builder/data/state.d.ts +85 -0
  209. package/dist/types/builder/extract/index.d.ts +7 -0
  210. package/dist/types/builder/extract/scope.d.ts +14 -0
  211. package/dist/types/builder/extract/sheet.d.ts +10 -0
  212. package/dist/types/builder/extract/slot.d.ts +9 -0
  213. package/dist/types/builder/extract/style.d.ts +11 -0
  214. package/dist/types/builder/extract/theme.d.ts +2 -0
  215. package/dist/types/builder/extract/token.d.ts +7 -0
  216. package/dist/types/builder/extract/utils.d.ts +28 -0
  217. package/dist/types/builder/extract/withTokens.d.ts +10 -0
  218. package/dist/types/builder/index.d.ts +2 -0
  219. package/dist/types/builder/selector_override.d.ts +5 -0
  220. package/dist/types/builder/selector_override_core.d.ts +6 -0
  221. package/dist/types/builder/style_builder.d.ts +15 -0
  222. package/dist/types/builder/style_data.d.ts +8 -0
  223. package/dist/types/builder/style_fns.d.ts +14 -0
  224. package/dist/types/builder/token/data.d.ts +10 -0
  225. package/dist/types/builder/token/name.d.ts +3 -0
  226. package/dist/types/builder/token/symbols.d.ts +4 -0
  227. package/dist/types/builder/types/alias.d.ts +59 -0
  228. package/dist/types/builder/types/fns.d.ts +115 -0
  229. package/dist/types/builder/types/index.d.ts +1 -0
  230. package/dist/types/builder/types/types.d.ts +22 -0
  231. package/dist/types/builder/utils.d.ts +9 -0
  232. package/dist/types/compiler/compiler/cache.d.ts +24 -0
  233. package/dist/types/compiler/compiler/compiler.d.ts +28 -0
  234. package/dist/types/compiler/compiler/constants.d.ts +6 -0
  235. package/dist/types/compiler/compiler/index.d.ts +4 -0
  236. package/dist/types/compiler/compiler/types.d.ts +53 -0
  237. package/dist/types/compiler/cssProp.d.ts +8 -0
  238. package/dist/types/compiler/extract/collector.d.ts +8 -0
  239. package/dist/types/compiler/extract/extract.d.ts +6 -0
  240. package/dist/types/compiler/extract/index.d.ts +3 -0
  241. package/dist/types/compiler/extract/types.d.ts +23 -0
  242. package/dist/types/compiler/index.d.ts +3 -0
  243. package/dist/types/compiler/transform/cssProp/index.d.ts +1 -0
  244. package/dist/types/compiler/transform/cssProp/plugin.d.ts +13 -0
  245. package/dist/types/compiler/transform/debug/index.d.ts +2 -0
  246. package/dist/types/compiler/transform/debug/plugin.d.ts +34 -0
  247. package/dist/types/compiler/transform/debug/transform.d.ts +7 -0
  248. package/dist/types/compiler/transform/debug/utils/debug_data.d.ts +11 -0
  249. package/dist/types/compiler/transform/debug/utils/source_url.d.ts +2 -0
  250. package/dist/types/compiler/transform/evaluator/evaluator.d.ts +41 -0
  251. package/dist/types/compiler/transform/evaluator/index.d.ts +3 -0
  252. package/dist/types/compiler/transform/evaluator/tracer.d.ts +8 -0
  253. package/dist/types/compiler/transform/evaluator/types.d.ts +21 -0
  254. package/dist/types/compiler/transform/extract/chain/chain.d.ts +18 -0
  255. package/dist/types/compiler/transform/extract/chain/extract_chain.d.ts +19 -0
  256. package/dist/types/compiler/transform/extract/chain/index.d.ts +3 -0
  257. package/dist/types/compiler/transform/extract/chain/types.d.ts +32 -0
  258. package/dist/types/compiler/transform/extract/index.d.ts +2 -0
  259. package/dist/types/compiler/transform/extract/plugin.d.ts +20 -0
  260. package/dist/types/compiler/transform/extract/transform.d.ts +10 -0
  261. package/dist/types/compiler/transform/extract/utils/imports.d.ts +3 -0
  262. package/dist/types/compiler/transform/extract/utils/replacement.d.ts +9 -0
  263. package/dist/types/compiler/transform/extract/utils/slot.d.ts +4 -0
  264. package/dist/types/compiler/transform/extract/utils/state.d.ts +34 -0
  265. package/dist/types/compiler/transform/extract/utils/theme.d.ts +9 -0
  266. package/dist/types/compiler/transform/extract/utils/token.d.ts +1 -0
  267. package/dist/types/compiler/transform/index.d.ts +5 -0
  268. package/dist/types/compiler/transform/syntax/index.d.ts +5 -0
  269. package/dist/types/compiler/transform/syntax/isStaticStyleValue.d.ts +2 -0
  270. package/dist/types/compiler/transform/syntax/isStyleChainCall.d.ts +2 -0
  271. package/dist/types/compiler/transform/syntax/static_ids.d.ts +16 -0
  272. package/dist/types/compiler/transform/syntax/types.d.ts +4 -0
  273. package/dist/types/compiler/transform/syntax/utils.d.ts +5 -0
  274. package/dist/types/compiler/transform/utils/babel.d.ts +21 -0
  275. package/dist/types/compiler/transform/utils/import.d.ts +2 -0
  276. package/dist/types/compiler/transform/utils/path.d.ts +1 -0
  277. package/dist/types/compiler/transform/utils/selector.d.ts +18 -0
  278. package/dist/types/compiler/utils/constants.d.ts +68 -0
  279. package/dist/types/compiler/utils/file_resolver.d.ts +12 -0
  280. package/dist/types/compiler/utils/import_source.d.ts +28 -0
  281. package/dist/types/compiler/utils/imports.d.ts +6 -0
  282. package/dist/types/compiler/utils/path.d.ts +4 -0
  283. package/dist/types/compiler/utils/sourcemap.d.ts +36 -0
  284. package/dist/types/config/build.d.ts +20 -0
  285. package/dist/types/config/config/check.d.ts +11 -0
  286. package/dist/types/config/config/css.d.ts +28 -0
  287. package/dist/types/config/config/css_extra.d.ts +13 -0
  288. package/dist/types/config/config/debug.d.ts +14 -0
  289. package/dist/types/config/config/dev.d.ts +36 -0
  290. package/dist/types/config/config/runtime.d.ts +10 -0
  291. package/dist/types/config/configure.d.ts +12 -0
  292. package/dist/types/config/constants.d.ts +1 -0
  293. package/dist/types/config/index.d.ts +2 -0
  294. package/dist/types/config/types.d.ts +47 -0
  295. package/dist/types/config/utils.d.ts +2 -0
  296. package/dist/types/css/counterStyle.d.ts +4 -0
  297. package/dist/types/css/fontFace.d.ts +5 -0
  298. package/dist/types/css/fontPaletteValues.d.ts +4 -0
  299. package/dist/types/css/index.d.ts +9 -0
  300. package/dist/types/css/keyframes.d.ts +4 -0
  301. package/dist/types/css/positionTry.d.ts +4 -0
  302. package/dist/types/css/property.d.ts +7 -0
  303. package/dist/types/css/sheet.d.ts +7 -0
  304. package/dist/types/css/styleTarget.d.ts +9 -0
  305. package/dist/types/css/utils.d.ts +19 -0
  306. package/dist/types/dev/config.d.ts +6 -0
  307. package/dist/types/dev/fns.d.ts +14 -0
  308. package/dist/types/dev/index.d.ts +2 -0
  309. package/dist/types/dev/trace.d.ts +8 -0
  310. package/dist/types/dev/utils.d.ts +5 -0
  311. package/dist/types/dialect/extracted/index.d.ts +1 -0
  312. package/dist/types/dialect/index.d.ts +1 -0
  313. package/dist/types/dialect/namedTokens.d.ts +9 -0
  314. package/dist/types/entry/dev/adapter/preact.d.ts +1 -0
  315. package/dist/types/entry/dev/adapter/react.d.ts +1 -0
  316. package/dist/types/entry/dev/adapter/solid.d.ts +1 -0
  317. package/dist/types/entry/dev/config.d.ts +2 -0
  318. package/dist/types/entry/dev/css.d.ts +2 -0
  319. package/dist/types/entry/dev/index.d.ts +3 -0
  320. package/dist/types/entry/dev/jsx_dev_runtime.d.ts +3 -0
  321. package/dist/types/entry/dev/sheet.d.ts +1 -0
  322. package/dist/types/entry/prod/adapter/preact.d.ts +1 -0
  323. package/dist/types/entry/prod/adapter/react.d.ts +1 -0
  324. package/dist/types/entry/prod/adapter/solid.d.ts +1 -0
  325. package/dist/types/entry/prod/config.d.ts +2 -0
  326. package/dist/types/entry/prod/config_debug.d.ts +2 -0
  327. package/dist/types/entry/prod/css.d.ts +2 -0
  328. package/dist/types/entry/prod/extract.d.ts +1 -0
  329. package/dist/types/entry/prod/index.d.ts +2 -0
  330. package/dist/types/entry/prod/jsx_runtime.d.ts +2 -0
  331. package/dist/types/entry/prod/runtime.d.ts +8 -0
  332. package/dist/types/entry/rsc_dev/adapter/preact.d.ts +1 -0
  333. package/dist/types/entry/rsc_dev/adapter/react.d.ts +1 -0
  334. package/dist/types/entry/rsc_dev/adapter/solid.d.ts +1 -0
  335. package/dist/types/entry/rsc_dev/config.d.ts +2 -0
  336. package/dist/types/entry/rsc_dev/css.d.ts +2 -0
  337. package/dist/types/entry/rsc_dev/index.d.ts +2 -0
  338. package/dist/types/entry/rsc_dev/server.d.ts +10 -0
  339. package/dist/types/entry/rsc_prod/adapter/preact.d.ts +1 -0
  340. package/dist/types/entry/rsc_prod/adapter/react.d.ts +1 -0
  341. package/dist/types/entry/rsc_prod/adapter/solid.d.ts +1 -0
  342. package/dist/types/entry/rsc_prod/config.d.ts +2 -0
  343. package/dist/types/entry/rsc_prod/config_debug.d.ts +2 -0
  344. package/dist/types/entry/rsc_prod/css.d.ts +2 -0
  345. package/dist/types/entry/rsc_prod/index.d.ts +2 -0
  346. package/dist/types/entry/rsc_prod/jsx_runtime.d.ts +2 -0
  347. package/dist/types/entry/rsc_prod/runtime.d.ts +4 -0
  348. package/dist/types/entry/rsc_prod/server.d.ts +6 -0
  349. package/dist/types/entry/shared/config.d.ts +1 -0
  350. package/dist/types/entry/shared/config_debug.d.ts +1 -0
  351. package/dist/types/entry/shared/config_dev.d.ts +1 -0
  352. package/dist/types/entry/shared/dev.d.ts +1 -0
  353. package/dist/types/entry/shared/prod.d.ts +1 -0
  354. package/dist/types/entry/shared/utils.d.ts +2 -0
  355. package/dist/types/index.d.ts +9 -0
  356. package/dist/types/jsx/extracted/jsx_runtime.d.ts +7 -0
  357. package/dist/types/jsx/rsc/jsx_runtime.d.ts +7 -0
  358. package/dist/types/jsx/rsc_extracted/jsx_runtime.d.ts +2 -0
  359. package/dist/types/jsx/runtime/jsx_dev_runtime.d.ts +6 -0
  360. package/dist/types/jsx/runtime/jsx_runtime.d.ts +7 -0
  361. package/dist/types/jsx/types/index.d.ts +1 -0
  362. package/dist/types/jsx/types/preact.d.ts +12 -0
  363. package/dist/types/jsx/types/react.d.ts +10 -0
  364. package/dist/types/jsx/types/solid.d.ts +12 -0
  365. package/dist/types/jsx/utils.d.ts +19 -0
  366. package/dist/types/plugin/bundler/farm/index.d.ts +1 -0
  367. package/dist/types/plugin/bundler/farm/plugin.d.ts +91 -0
  368. package/dist/types/plugin/bundler/parcel/index.d.ts +1 -0
  369. package/dist/types/plugin/bundler/parcel/optimizer.d.ts +3 -0
  370. package/dist/types/plugin/bundler/parcel/plugin.d.ts +6 -0
  371. package/dist/types/plugin/bundler/parcel/resolver.d.ts +3 -0
  372. package/dist/types/plugin/bundler/parcel/runtime.d.ts +3 -0
  373. package/dist/types/plugin/bundler/parcel/shared.d.ts +37 -0
  374. package/dist/types/plugin/bundler/parcel/transformer.d.ts +3 -0
  375. package/dist/types/plugin/bundler/rspack/index.d.ts +1 -0
  376. package/dist/types/plugin/bundler/rspack/plugin.d.ts +7 -0
  377. package/dist/types/plugin/bundler/vite/index.d.ts +1 -0
  378. package/dist/types/plugin/bundler/vite/plugin.d.ts +6 -0
  379. package/dist/types/plugin/bundler/vite/state.d.ts +55 -0
  380. package/dist/types/plugin/bundler/webpack/index.d.ts +1 -0
  381. package/dist/types/plugin/bundler/webpack/loader.d.ts +2 -0
  382. package/dist/types/plugin/bundler/webpack/plugin.d.ts +11 -0
  383. package/dist/types/plugin/bundler/webpack/shared/loader.d.ts +31 -0
  384. package/dist/types/plugin/bundler/webpack/shared/registry.d.ts +4 -0
  385. package/dist/types/plugin/bundler/webpack/utils.d.ts +18 -0
  386. package/dist/types/plugin/nextjs/constants.d.ts +3 -0
  387. package/dist/types/plugin/nextjs/html.d.ts +1 -0
  388. package/dist/types/plugin/nextjs/index.d.ts +2 -0
  389. package/dist/types/plugin/nextjs/loader.d.ts +3 -0
  390. package/dist/types/plugin/nextjs/plugin.d.ts +5 -0
  391. package/dist/types/plugin/nextjs/types.d.ts +21 -0
  392. package/dist/types/plugin/nextjs/utils.d.ts +59 -0
  393. package/dist/types/plugin/utils/cache/css_cache.d.ts +34 -0
  394. package/dist/types/plugin/utils/cache/file.d.ts +4 -0
  395. package/dist/types/plugin/utils/cache/index.d.ts +2 -0
  396. package/dist/types/plugin/utils/compiler.d.ts +40 -0
  397. package/dist/types/plugin/utils/constants.d.ts +4 -0
  398. package/dist/types/plugin/utils/cssMarker.d.ts +4 -0
  399. package/dist/types/plugin/utils/cssOutput.d.ts +10 -0
  400. package/dist/types/plugin/utils/filter.d.ts +14 -0
  401. package/dist/types/plugin/utils/imports.d.ts +3 -0
  402. package/dist/types/plugin/utils/index.d.ts +10 -0
  403. package/dist/types/plugin/utils/injection.d.ts +3 -0
  404. package/dist/types/plugin/utils/misc.d.ts +1 -0
  405. package/dist/types/plugin/utils/runtimeEntry.d.ts +8 -0
  406. package/dist/types/plugin/utils/sidecar/index.d.ts +1 -0
  407. package/dist/types/plugin/utils/sidecar/server.d.ts +19 -0
  408. package/dist/types/plugin/utils/sidecar/sidecar.d.ts +17 -0
  409. package/dist/types/plugin/utils/sidecar/utils.d.ts +33 -0
  410. package/dist/types/plugin/utils/sourcemap.d.ts +9 -0
  411. package/dist/types/plugin/utils/virtual.d.ts +12 -0
  412. package/dist/types/presets/tailwind/classname/index.d.ts +2 -0
  413. package/dist/types/presets/tailwind/classname/transform.d.ts +8 -0
  414. package/dist/types/presets/tailwind/classname/types.d.ts +27 -0
  415. package/dist/types/presets/tailwind/index.d.ts +5 -0
  416. package/dist/types/presets/tailwind/selectors.d.ts +68 -0
  417. package/dist/types/presets/tailwind/style/index.d.ts +2 -0
  418. package/dist/types/presets/tailwind/style/transform.d.ts +8 -0
  419. package/dist/types/presets/tailwind/style/types.d.ts +149 -0
  420. package/dist/types/presets/tailwind/theme.d.ts +477 -0
  421. package/dist/types/presets/tailwind/types.d.ts +53 -0
  422. package/dist/types/runtime/adapter/utils.d.ts +12 -0
  423. package/dist/types/runtime/core/cache/combine.d.ts +6 -0
  424. package/dist/types/runtime/core/cache/combineRuntime.d.ts +1 -0
  425. package/dist/types/runtime/core/cache/item.d.ts +15 -0
  426. package/dist/types/runtime/core/cache/itemWithResolver.d.ts +4 -0
  427. package/dist/types/runtime/core/cache/pool.d.ts +16 -0
  428. package/dist/types/runtime/core/cache/prop.d.ts +19 -0
  429. package/dist/types/runtime/core/cache/propCache.d.ts +12 -0
  430. package/dist/types/runtime/core/cache/resolvedItem.d.ts +5 -0
  431. package/dist/types/runtime/core/cache/result.d.ts +9 -0
  432. package/dist/types/runtime/core/cache/stateItem.d.ts +8 -0
  433. package/dist/types/runtime/core/cache/token.d.ts +2 -0
  434. package/dist/types/runtime/core/cache/tokenValues.d.ts +26 -0
  435. package/dist/types/runtime/core/cache/utils/tree.d.ts +12 -0
  436. package/dist/types/runtime/core/cache/utils/walk.d.ts +1 -0
  437. package/dist/types/runtime/core/className.d.ts +18 -0
  438. package/dist/types/runtime/core/combinedStyle.d.ts +20 -0
  439. package/dist/types/runtime/core/createTransformElement.d.ts +4 -0
  440. package/dist/types/runtime/core/elementMarker.d.ts +12 -0
  441. package/dist/types/runtime/core/elementMarkerData.d.ts +7 -0
  442. package/dist/types/runtime/core/getClassName.d.ts +4 -0
  443. package/dist/types/runtime/core/getSheetRules.d.ts +3 -0
  444. package/dist/types/runtime/core/getToken.d.ts +3 -0
  445. package/dist/types/runtime/core/index.d.ts +5 -0
  446. package/dist/types/runtime/core/jsx.d.ts +1 -0
  447. package/dist/types/runtime/core/resolveClassNameRuntime.d.ts +8 -0
  448. package/dist/types/runtime/env.d.ts +2 -0
  449. package/dist/types/runtime/extract/combineStyle.d.ts +27 -0
  450. package/dist/types/runtime/extract/getClassName.d.ts +10 -0
  451. package/dist/types/runtime/extract/index.d.ts +6 -0
  452. package/dist/types/runtime/extract/jsx.d.ts +10 -0
  453. package/dist/types/runtime/extract/token.d.ts +5 -0
  454. package/dist/types/runtime/extract/tokenResolver.d.ts +2 -0
  455. package/dist/types/runtime/rsc/constants.d.ts +4 -0
  456. package/dist/types/runtime/rsc/dev.d.ts +6 -0
  457. package/dist/types/runtime/rsc/getClassName.d.ts +24 -0
  458. package/dist/types/runtime/rsc/index.d.ts +1 -0
  459. package/dist/types/runtime/rsc/jsx.d.ts +1 -0
  460. package/dist/types/runtime/rsc/observer.d.ts +5 -0
  461. package/dist/types/runtime/rsc/styleStore.d.ts +5 -0
  462. package/dist/types/runtime/sheet/element.d.ts +2 -0
  463. package/dist/types/runtime/sheet/global.d.ts +3 -0
  464. package/dist/types/runtime/sheet/index.d.ts +3 -0
  465. package/dist/types/runtime/sheet/insert.d.ts +5 -0
  466. package/dist/types/runtime/sheet/rule.d.ts +8 -0
  467. package/dist/types/runtime/sheet/rules.d.ts +10 -0
  468. package/dist/types/runtime/sheet/theme.d.ts +5 -0
  469. package/dist/types/runtime/style/index.d.ts +3 -0
  470. package/dist/types/runtime/style/scope.d.ts +4 -0
  471. package/dist/types/runtime/style/style.d.ts +27 -0
  472. package/dist/types/runtime/style/token.d.ts +1 -0
  473. package/dist/types/runtime/types.d.ts +28 -0
  474. package/dist/types/selector/assert.d.ts +13 -0
  475. package/dist/types/selector/index.d.ts +5 -0
  476. package/dist/types/selector/presets/default.d.ts +108 -0
  477. package/dist/types/selector/presets/index.d.ts +3 -0
  478. package/dist/types/selector/presets/minimal.d.ts +46 -0
  479. package/dist/types/selector/presets/selectors.d.ts +62 -0
  480. package/dist/types/selector/selector.d.ts +12 -0
  481. package/dist/types/selector/types.d.ts +12 -0
  482. package/dist/types/selector/validate.d.ts +5 -0
  483. package/dist/types/sheet/dev/dev_layer.d.ts +4 -0
  484. package/dist/types/sheet/dev/dev_sort.d.ts +2 -0
  485. package/dist/types/sheet/dev/index.d.ts +5 -0
  486. package/dist/types/sheet/dev/utils.d.ts +26 -0
  487. package/dist/types/sheet/index.d.ts +4 -0
  488. package/dist/types/sheet/prod.d.ts +2 -0
  489. package/dist/types/sheet/sheet.d.ts +2 -0
  490. package/dist/types/sheet/sourcemap.d.ts +11 -0
  491. package/dist/types/sheet/types.d.ts +30 -0
  492. package/dist/types/sheet/utils/dom.d.ts +5 -0
  493. package/dist/types/sheet/utils/index.d.ts +4 -0
  494. package/dist/types/sheet/utils/layer.d.ts +10 -0
  495. package/dist/types/sheet/utils/noop.d.ts +2 -0
  496. package/dist/types/sheet/utils/rule.d.ts +3 -0
  497. package/dist/types/sheet/utils/sourcemap.d.ts +12 -0
  498. package/dist/types/style/classname.d.ts +15 -0
  499. package/dist/types/style/important.d.ts +8 -0
  500. package/dist/types/style/index.d.ts +12 -0
  501. package/dist/types/style/keyframes.d.ts +10 -0
  502. package/dist/types/style/style.d.ts +426 -0
  503. package/dist/types/style/theme.d.ts +5 -0
  504. package/dist/types/style/token.d.ts +29 -0
  505. package/dist/types/style/tokens.d.ts +10 -0
  506. package/dist/types/style/transform.d.ts +21 -0
  507. package/dist/types/style/types.d.ts +22 -0
  508. package/dist/types/style/utils/expose.d.ts +8 -0
  509. package/dist/types/style/utils/index.d.ts +1 -0
  510. package/dist/types/style/value.d.ts +12 -0
  511. package/dist/types/style/valueRef.d.ts +13 -0
  512. package/dist/types/style/weight.d.ts +9 -0
  513. package/dist/types/utils/global.d.ts +4 -0
  514. package/dist/types/utils/hash.d.ts +3 -0
  515. package/dist/types/utils/id.d.ts +12 -0
  516. package/dist/types/utils/object.d.ts +10 -0
  517. package/dist/types/utils/symbol.d.ts +1 -0
  518. package/dist/types/utils/trace.d.ts +21 -0
  519. package/dist/types/utils/type.d.ts +11 -0
  520. package/dist/{utils-H1VInWpd.js → utils-10MTZOuB.js} +31 -15
  521. package/dist/utils-10MTZOuB.js.map +1 -0
  522. package/dist/{utils-NdisireF.mjs → utils-BBN9msTv.mjs} +4 -4
  523. package/dist/{utils-NdisireF.mjs.map → utils-BBN9msTv.mjs.map} +1 -1
  524. package/dist/{utils-DND33M6y.mjs → utils-Bjh9pO87.mjs} +3 -3
  525. package/dist/{utils-DND33M6y.mjs.map → utils-Bjh9pO87.mjs.map} +1 -1
  526. package/dist/{utils-DZK0mfmY.js → utils-DoKJnvxk.js} +3 -3
  527. package/dist/{utils-DZK0mfmY.js.map → utils-DoKJnvxk.js.map} +1 -1
  528. package/dist/utils.js +3 -3
  529. package/dist/{value-CK0-Xbov.js → value-Dg6ALjjj.js} +2 -2
  530. package/dist/{value-CK0-Xbov.js.map → value-Dg6ALjjj.js.map} +1 -1
  531. package/dist/{webpack-D7QO0bKN.mjs → webpack-C1j49Psk.mjs} +5 -5
  532. package/dist/{webpack-D7QO0bKN.mjs.map → webpack-C1j49Psk.mjs.map} +1 -1
  533. package/jsx/types/solid.ts +8 -25
  534. package/package.json +76 -72
  535. package/plugin/bundler/webpack/shared/loader.ts +4 -0
  536. package/plugin/nextjs/plugin.ts +7 -8
  537. package/runtime/rsc/observer.ts +4 -1
  538. package/runtime/rsc/styleStore.ts +6 -2
  539. package/runtime/sheet/rule.ts +2 -2
  540. package/sheet/dev/dev_layer.ts +7 -3
  541. package/sheet/dev/dev_sort.ts +18 -11
  542. package/sheet/prod.ts +7 -3
  543. package/sheet/types.ts +2 -1
  544. package/sheet/utils/layer.ts +2 -1
  545. package/dist/compiler-C3CEGGtI.mjs.map +0 -1
  546. package/dist/css-BDn0epJ8.js.map +0 -1
  547. package/dist/css-CFxNrYt3.js.map +0 -1
  548. package/dist/css-DEYgrj76.js.map +0 -1
  549. package/dist/elementMarker-kvpMjB49.js.map +0 -1
  550. package/dist/env-Cz8frh6e.js.map +0 -1
  551. package/dist/loader-_-VjzlrX.mjs.map +0 -1
  552. package/dist/shared-PK52rW6T.cjs.map +0 -1
  553. package/dist/sheet-CxkO1Hwt.js +0 -7
  554. package/dist/styleStore-BzLZwpwy.js.map +0 -1
  555. package/dist/styleStore-DaIJ4OPV.js.map +0 -1
  556. package/dist/utils-H1VInWpd.js.map +0 -1
@@ -0,0 +1,426 @@
1
+ import { type SelectorsRecord } from "../builder/index.js";
2
+ import type { ClassNameFn } from "../builder/classname/index.js";
3
+ import { PrioritySelectors } from "../selector/presets/index.js";
4
+ import type { Type } from "../utils/type.js";
5
+ import type { ClassNameTransform, StyleTransform } from "./transform.js";
6
+ import type { CSSProperties } from "./types.js";
7
+ export type StyleFnMeta = {
8
+ mode: 'StyleObject';
9
+ selectors: SelectorsRecord;
10
+ transform: StyleTransform | null;
11
+ } | {
12
+ mode: 'ClassName';
13
+ selectors: SelectorsRecord;
14
+ transform: ClassNameTransform;
15
+ };
16
+ export declare const style: import("../builder/types/fns.js").StyleSelfFn<CSSProperties, {
17
+ media: import("../selector/index.js").Selector<"@media $$", string>;
18
+ container: import("../selector/index.js").Selector<"@container $$", string>;
19
+ supports: import("../selector/index.js").Selector<"@supports $$", string>;
20
+ attr: import("../selector/index.js").Selector<"$", string>;
21
+ select: import("../selector/index.js").Selector<"$$", string>;
22
+ merge: import("../selector/index.js").Selector<"...", string>;
23
+ not: import("../selector/index.js").Selector<":not($$)", string>;
24
+ is: import("../selector/index.js").Selector<":is($$)", string>;
25
+ where: import("../selector/index.js").Selector<":where($$)", string>;
26
+ has: import("../selector/index.js").Selector<":has($$)", string>;
27
+ nthChild: import("../selector/index.js").Selector<":nth-child($)", string>;
28
+ nthLastChild: import("../selector/index.js").Selector<":nth-last-child($)", string>;
29
+ nthOfType: import("../selector/index.js").Selector<":nth-of-type($)", string>;
30
+ nthLastOfType: import("../selector/index.js").Selector<":nth-last-of-type($)", string>;
31
+ lang: import("../selector/index.js").Selector<":lang($)", string>;
32
+ dir: import("../selector/index.js").Selector<":dir($)", string>;
33
+ before: import("../selector/index.js").Selector<"::before", string>;
34
+ after: import("../selector/index.js").Selector<"::after", string>;
35
+ hover: import("../selector/index.js").Selector<":hover", string>;
36
+ active: import("../selector/index.js").Selector<":active", string>;
37
+ focus: import("../selector/index.js").Selector<":focus", string>;
38
+ focusVisible: import("../selector/index.js").Selector<":focus-visible", string>;
39
+ focusWithin: import("../selector/index.js").Selector<":focus-within", string>;
40
+ visited: import("../selector/index.js").Selector<":visited", string>;
41
+ link: import("../selector/index.js").Selector<":link", string>;
42
+ anyLink: import("../selector/index.js").Selector<":any-link", string>;
43
+ target: import("../selector/index.js").Selector<":target", string>;
44
+ disabled: import("../selector/index.js").Selector<":disabled", string>;
45
+ enabled: import("../selector/index.js").Selector<":enabled", string>;
46
+ checked: import("../selector/index.js").Selector<":checked", string>;
47
+ indeterminate: import("../selector/index.js").Selector<":indeterminate", string>;
48
+ invalid: import("../selector/index.js").Selector<":invalid", string>;
49
+ valid: import("../selector/index.js").Selector<":valid", string>;
50
+ required: import("../selector/index.js").Selector<":required", string>;
51
+ optional: import("../selector/index.js").Selector<":optional", string>;
52
+ readOnly: import("../selector/index.js").Selector<":read-only", string>;
53
+ readWrite: import("../selector/index.js").Selector<":read-write", string>;
54
+ inRange: import("../selector/index.js").Selector<":in-range", string>;
55
+ outOfRange: import("../selector/index.js").Selector<":out-of-range", string>;
56
+ default: import("../selector/index.js").Selector<":default", string>;
57
+ placeholderShown: import("../selector/index.js").Selector<":placeholder-shown", string>;
58
+ autofill: import("../selector/index.js").Selector<":autofill", string>;
59
+ empty: import("../selector/index.js").Selector<":empty", string>;
60
+ root: import("../selector/index.js").Selector<":root", string>;
61
+ firstChild: import("../selector/index.js").Selector<":first-child", string>;
62
+ lastChild: import("../selector/index.js").Selector<":last-child", string>;
63
+ onlyChild: import("../selector/index.js").Selector<":only-child", string>;
64
+ firstOfType: import("../selector/index.js").Selector<":first-of-type", string>;
65
+ lastOfType: import("../selector/index.js").Selector<":last-of-type", string>;
66
+ onlyOfType: import("../selector/index.js").Selector<":only-of-type", string>;
67
+ fullscreen: import("../selector/index.js").Selector<":fullscreen", string>;
68
+ modal: import("../selector/index.js").Selector<":modal", string>;
69
+ }> & {
70
+ (style?: import("./types.js").StyleObject<CSSProperties> | undefined): import("../builder/data/index.js").StyleData<CSSProperties> & import("../builder/types/fns.js").StyleSelectorFns<CSSProperties, {
71
+ media: import("../selector/index.js").Selector<"@media $$", string>;
72
+ container: import("../selector/index.js").Selector<"@container $$", string>;
73
+ supports: import("../selector/index.js").Selector<"@supports $$", string>;
74
+ attr: import("../selector/index.js").Selector<"$", string>;
75
+ select: import("../selector/index.js").Selector<"$$", string>;
76
+ merge: import("../selector/index.js").Selector<"...", string>;
77
+ not: import("../selector/index.js").Selector<":not($$)", string>;
78
+ is: import("../selector/index.js").Selector<":is($$)", string>;
79
+ where: import("../selector/index.js").Selector<":where($$)", string>;
80
+ has: import("../selector/index.js").Selector<":has($$)", string>;
81
+ nthChild: import("../selector/index.js").Selector<":nth-child($)", string>;
82
+ nthLastChild: import("../selector/index.js").Selector<":nth-last-child($)", string>;
83
+ nthOfType: import("../selector/index.js").Selector<":nth-of-type($)", string>;
84
+ nthLastOfType: import("../selector/index.js").Selector<":nth-last-of-type($)", string>;
85
+ lang: import("../selector/index.js").Selector<":lang($)", string>;
86
+ dir: import("../selector/index.js").Selector<":dir($)", string>;
87
+ before: import("../selector/index.js").Selector<"::before", string>;
88
+ after: import("../selector/index.js").Selector<"::after", string>;
89
+ hover: import("../selector/index.js").Selector<":hover", string>;
90
+ active: import("../selector/index.js").Selector<":active", string>;
91
+ focus: import("../selector/index.js").Selector<":focus", string>;
92
+ focusVisible: import("../selector/index.js").Selector<":focus-visible", string>;
93
+ focusWithin: import("../selector/index.js").Selector<":focus-within", string>;
94
+ visited: import("../selector/index.js").Selector<":visited", string>;
95
+ link: import("../selector/index.js").Selector<":link", string>;
96
+ anyLink: import("../selector/index.js").Selector<":any-link", string>;
97
+ target: import("../selector/index.js").Selector<":target", string>;
98
+ disabled: import("../selector/index.js").Selector<":disabled", string>;
99
+ enabled: import("../selector/index.js").Selector<":enabled", string>;
100
+ checked: import("../selector/index.js").Selector<":checked", string>;
101
+ indeterminate: import("../selector/index.js").Selector<":indeterminate", string>;
102
+ invalid: import("../selector/index.js").Selector<":invalid", string>;
103
+ valid: import("../selector/index.js").Selector<":valid", string>;
104
+ required: import("../selector/index.js").Selector<":required", string>;
105
+ optional: import("../selector/index.js").Selector<":optional", string>;
106
+ readOnly: import("../selector/index.js").Selector<":read-only", string>;
107
+ readWrite: import("../selector/index.js").Selector<":read-write", string>;
108
+ inRange: import("../selector/index.js").Selector<":in-range", string>;
109
+ outOfRange: import("../selector/index.js").Selector<":out-of-range", string>;
110
+ default: import("../selector/index.js").Selector<":default", string>;
111
+ placeholderShown: import("../selector/index.js").Selector<":placeholder-shown", string>;
112
+ autofill: import("../selector/index.js").Selector<":autofill", string>;
113
+ empty: import("../selector/index.js").Selector<":empty", string>;
114
+ root: import("../selector/index.js").Selector<":root", string>;
115
+ firstChild: import("../selector/index.js").Selector<":first-child", string>;
116
+ lastChild: import("../selector/index.js").Selector<":last-child", string>;
117
+ onlyChild: import("../selector/index.js").Selector<":only-child", string>;
118
+ firstOfType: import("../selector/index.js").Selector<":first-of-type", string>;
119
+ lastOfType: import("../selector/index.js").Selector<":last-of-type", string>;
120
+ onlyOfType: import("../selector/index.js").Selector<":only-of-type", string>;
121
+ fullscreen: import("../selector/index.js").Selector<":fullscreen", string>;
122
+ modal: import("../selector/index.js").Selector<":modal", string>;
123
+ }> & import("../utils/type.js").Collapse;
124
+ slot: import("../builder/types/fns.js").SlotSelfFn<CSSProperties, {
125
+ media: import("../selector/index.js").Selector<"@media $$", string>;
126
+ container: import("../selector/index.js").Selector<"@container $$", string>;
127
+ supports: import("../selector/index.js").Selector<"@supports $$", string>;
128
+ attr: import("../selector/index.js").Selector<"$", string>;
129
+ select: import("../selector/index.js").Selector<"$$", string>;
130
+ merge: import("../selector/index.js").Selector<"...", string>;
131
+ not: import("../selector/index.js").Selector<":not($$)", string>;
132
+ is: import("../selector/index.js").Selector<":is($$)", string>;
133
+ where: import("../selector/index.js").Selector<":where($$)", string>;
134
+ has: import("../selector/index.js").Selector<":has($$)", string>;
135
+ nthChild: import("../selector/index.js").Selector<":nth-child($)", string>;
136
+ nthLastChild: import("../selector/index.js").Selector<":nth-last-child($)", string>;
137
+ nthOfType: import("../selector/index.js").Selector<":nth-of-type($)", string>;
138
+ nthLastOfType: import("../selector/index.js").Selector<":nth-last-of-type($)", string>;
139
+ lang: import("../selector/index.js").Selector<":lang($)", string>;
140
+ dir: import("../selector/index.js").Selector<":dir($)", string>;
141
+ before: import("../selector/index.js").Selector<"::before", string>;
142
+ after: import("../selector/index.js").Selector<"::after", string>;
143
+ hover: import("../selector/index.js").Selector<":hover", string>;
144
+ active: import("../selector/index.js").Selector<":active", string>;
145
+ focus: import("../selector/index.js").Selector<":focus", string>;
146
+ focusVisible: import("../selector/index.js").Selector<":focus-visible", string>;
147
+ focusWithin: import("../selector/index.js").Selector<":focus-within", string>;
148
+ visited: import("../selector/index.js").Selector<":visited", string>;
149
+ link: import("../selector/index.js").Selector<":link", string>;
150
+ anyLink: import("../selector/index.js").Selector<":any-link", string>;
151
+ target: import("../selector/index.js").Selector<":target", string>;
152
+ disabled: import("../selector/index.js").Selector<":disabled", string>;
153
+ enabled: import("../selector/index.js").Selector<":enabled", string>;
154
+ checked: import("../selector/index.js").Selector<":checked", string>;
155
+ indeterminate: import("../selector/index.js").Selector<":indeterminate", string>;
156
+ invalid: import("../selector/index.js").Selector<":invalid", string>;
157
+ valid: import("../selector/index.js").Selector<":valid", string>;
158
+ required: import("../selector/index.js").Selector<":required", string>;
159
+ optional: import("../selector/index.js").Selector<":optional", string>;
160
+ readOnly: import("../selector/index.js").Selector<":read-only", string>;
161
+ readWrite: import("../selector/index.js").Selector<":read-write", string>;
162
+ inRange: import("../selector/index.js").Selector<":in-range", string>;
163
+ outOfRange: import("../selector/index.js").Selector<":out-of-range", string>;
164
+ default: import("../selector/index.js").Selector<":default", string>;
165
+ placeholderShown: import("../selector/index.js").Selector<":placeholder-shown", string>;
166
+ autofill: import("../selector/index.js").Selector<":autofill", string>;
167
+ empty: import("../selector/index.js").Selector<":empty", string>;
168
+ root: import("../selector/index.js").Selector<":root", string>;
169
+ firstChild: import("../selector/index.js").Selector<":first-child", string>;
170
+ lastChild: import("../selector/index.js").Selector<":last-child", string>;
171
+ onlyChild: import("../selector/index.js").Selector<":only-child", string>;
172
+ firstOfType: import("../selector/index.js").Selector<":first-of-type", string>;
173
+ lastOfType: import("../selector/index.js").Selector<":last-of-type", string>;
174
+ onlyOfType: import("../selector/index.js").Selector<":only-of-type", string>;
175
+ fullscreen: import("../selector/index.js").Selector<":fullscreen", string>;
176
+ modal: import("../selector/index.js").Selector<":modal", string>;
177
+ }>;
178
+ scope: import("../builder/index.js").ScopeSelfFn<{
179
+ media: import("../selector/index.js").Selector<"@media $$", string>;
180
+ container: import("../selector/index.js").Selector<"@container $$", string>;
181
+ supports: import("../selector/index.js").Selector<"@supports $$", string>;
182
+ attr: import("../selector/index.js").Selector<"$", string>;
183
+ select: import("../selector/index.js").Selector<"$$", string>;
184
+ merge: import("../selector/index.js").Selector<"...", string>;
185
+ not: import("../selector/index.js").Selector<":not($$)", string>;
186
+ is: import("../selector/index.js").Selector<":is($$)", string>;
187
+ where: import("../selector/index.js").Selector<":where($$)", string>;
188
+ has: import("../selector/index.js").Selector<":has($$)", string>;
189
+ nthChild: import("../selector/index.js").Selector<":nth-child($)", string>;
190
+ nthLastChild: import("../selector/index.js").Selector<":nth-last-child($)", string>;
191
+ nthOfType: import("../selector/index.js").Selector<":nth-of-type($)", string>;
192
+ nthLastOfType: import("../selector/index.js").Selector<":nth-last-of-type($)", string>;
193
+ lang: import("../selector/index.js").Selector<":lang($)", string>;
194
+ dir: import("../selector/index.js").Selector<":dir($)", string>;
195
+ before: import("../selector/index.js").Selector<"::before", string>;
196
+ after: import("../selector/index.js").Selector<"::after", string>;
197
+ hover: import("../selector/index.js").Selector<":hover", string>;
198
+ active: import("../selector/index.js").Selector<":active", string>;
199
+ focus: import("../selector/index.js").Selector<":focus", string>;
200
+ focusVisible: import("../selector/index.js").Selector<":focus-visible", string>;
201
+ focusWithin: import("../selector/index.js").Selector<":focus-within", string>;
202
+ visited: import("../selector/index.js").Selector<":visited", string>;
203
+ link: import("../selector/index.js").Selector<":link", string>;
204
+ anyLink: import("../selector/index.js").Selector<":any-link", string>;
205
+ target: import("../selector/index.js").Selector<":target", string>;
206
+ disabled: import("../selector/index.js").Selector<":disabled", string>;
207
+ enabled: import("../selector/index.js").Selector<":enabled", string>;
208
+ checked: import("../selector/index.js").Selector<":checked", string>;
209
+ indeterminate: import("../selector/index.js").Selector<":indeterminate", string>;
210
+ invalid: import("../selector/index.js").Selector<":invalid", string>;
211
+ valid: import("../selector/index.js").Selector<":valid", string>;
212
+ required: import("../selector/index.js").Selector<":required", string>;
213
+ optional: import("../selector/index.js").Selector<":optional", string>;
214
+ readOnly: import("../selector/index.js").Selector<":read-only", string>;
215
+ readWrite: import("../selector/index.js").Selector<":read-write", string>;
216
+ inRange: import("../selector/index.js").Selector<":in-range", string>;
217
+ outOfRange: import("../selector/index.js").Selector<":out-of-range", string>;
218
+ default: import("../selector/index.js").Selector<":default", string>;
219
+ placeholderShown: import("../selector/index.js").Selector<":placeholder-shown", string>;
220
+ autofill: import("../selector/index.js").Selector<":autofill", string>;
221
+ empty: import("../selector/index.js").Selector<":empty", string>;
222
+ root: import("../selector/index.js").Selector<":root", string>;
223
+ firstChild: import("../selector/index.js").Selector<":first-child", string>;
224
+ lastChild: import("../selector/index.js").Selector<":last-child", string>;
225
+ onlyChild: import("../selector/index.js").Selector<":only-child", string>;
226
+ firstOfType: import("../selector/index.js").Selector<":first-of-type", string>;
227
+ lastOfType: import("../selector/index.js").Selector<":last-of-type", string>;
228
+ onlyOfType: import("../selector/index.js").Selector<":only-of-type", string>;
229
+ fullscreen: import("../selector/index.js").Selector<":fullscreen", string>;
230
+ modal: import("../selector/index.js").Selector<":modal", string>;
231
+ }> & import("../builder/data/index.js").BuilderData<unknown, 4> & ((slot: import("../builder/data/index.js").SlotData<any>) => import("../builder/data/index.js").ScopeTargetData) & import("../builder/types/fns.js").ScopeSelectorFns<{
232
+ media: import("../selector/index.js").Selector<"@media $$", string>;
233
+ container: import("../selector/index.js").Selector<"@container $$", string>;
234
+ supports: import("../selector/index.js").Selector<"@supports $$", string>;
235
+ attr: import("../selector/index.js").Selector<"$", string>;
236
+ select: import("../selector/index.js").Selector<"$$", string>;
237
+ merge: import("../selector/index.js").Selector<"...", string>;
238
+ not: import("../selector/index.js").Selector<":not($$)", string>;
239
+ is: import("../selector/index.js").Selector<":is($$)", string>;
240
+ where: import("../selector/index.js").Selector<":where($$)", string>;
241
+ has: import("../selector/index.js").Selector<":has($$)", string>;
242
+ nthChild: import("../selector/index.js").Selector<":nth-child($)", string>;
243
+ nthLastChild: import("../selector/index.js").Selector<":nth-last-child($)", string>;
244
+ nthOfType: import("../selector/index.js").Selector<":nth-of-type($)", string>;
245
+ nthLastOfType: import("../selector/index.js").Selector<":nth-last-of-type($)", string>;
246
+ lang: import("../selector/index.js").Selector<":lang($)", string>;
247
+ dir: import("../selector/index.js").Selector<":dir($)", string>;
248
+ before: import("../selector/index.js").Selector<"::before", string>;
249
+ after: import("../selector/index.js").Selector<"::after", string>;
250
+ hover: import("../selector/index.js").Selector<":hover", string>;
251
+ active: import("../selector/index.js").Selector<":active", string>;
252
+ focus: import("../selector/index.js").Selector<":focus", string>;
253
+ focusVisible: import("../selector/index.js").Selector<":focus-visible", string>;
254
+ focusWithin: import("../selector/index.js").Selector<":focus-within", string>;
255
+ visited: import("../selector/index.js").Selector<":visited", string>;
256
+ link: import("../selector/index.js").Selector<":link", string>;
257
+ anyLink: import("../selector/index.js").Selector<":any-link", string>;
258
+ target: import("../selector/index.js").Selector<":target", string>;
259
+ disabled: import("../selector/index.js").Selector<":disabled", string>;
260
+ enabled: import("../selector/index.js").Selector<":enabled", string>;
261
+ checked: import("../selector/index.js").Selector<":checked", string>;
262
+ indeterminate: import("../selector/index.js").Selector<":indeterminate", string>;
263
+ invalid: import("../selector/index.js").Selector<":invalid", string>;
264
+ valid: import("../selector/index.js").Selector<":valid", string>;
265
+ required: import("../selector/index.js").Selector<":required", string>;
266
+ optional: import("../selector/index.js").Selector<":optional", string>;
267
+ readOnly: import("../selector/index.js").Selector<":read-only", string>;
268
+ readWrite: import("../selector/index.js").Selector<":read-write", string>;
269
+ inRange: import("../selector/index.js").Selector<":in-range", string>;
270
+ outOfRange: import("../selector/index.js").Selector<":out-of-range", string>;
271
+ default: import("../selector/index.js").Selector<":default", string>;
272
+ placeholderShown: import("../selector/index.js").Selector<":placeholder-shown", string>;
273
+ autofill: import("../selector/index.js").Selector<":autofill", string>;
274
+ empty: import("../selector/index.js").Selector<":empty", string>;
275
+ root: import("../selector/index.js").Selector<":root", string>;
276
+ firstChild: import("../selector/index.js").Selector<":first-child", string>;
277
+ lastChild: import("../selector/index.js").Selector<":last-child", string>;
278
+ onlyChild: import("../selector/index.js").Selector<":only-child", string>;
279
+ firstOfType: import("../selector/index.js").Selector<":first-of-type", string>;
280
+ lastOfType: import("../selector/index.js").Selector<":last-of-type", string>;
281
+ onlyOfType: import("../selector/index.js").Selector<":only-of-type", string>;
282
+ fullscreen: import("../selector/index.js").Selector<":fullscreen", string>;
283
+ modal: import("../selector/index.js").Selector<":modal", string>;
284
+ } & import("../utils/type.js").Collapse>;
285
+ weight: <const T>(value: T, weight: number) => import("./weight.js").StyleWeightValue<T>;
286
+ important: <const T>(value: T) => import("./important.js").StyleImportantValue<T>;
287
+ raw: <T extends import("./types.js").StyleObject<CSSProperties>>(style: T) => T;
288
+ plain: <T extends import("./types.js").PlainStyleObject<CSSProperties>>(style: T) => T;
289
+ keyframes: <T extends import("./keyframes.js").StyleKeyframesObject<CSSProperties>>(frames: T) => import("./valueRef.js").AtRuleRef;
290
+ merge: <Target>(target: Target, ...styles: import("../builder/index.js").MergeRuleStyleData[]) => Target;
291
+ selector: {
292
+ (selector: import("../builder/selector_override_core.js").ManualSelectorInput): import("../builder/index.js").SelectorBuilder<CSSProperties, {
293
+ media: import("../selector/index.js").Selector<"@media $$", string>;
294
+ container: import("../selector/index.js").Selector<"@container $$", string>;
295
+ supports: import("../selector/index.js").Selector<"@supports $$", string>;
296
+ attr: import("../selector/index.js").Selector<"$", string>;
297
+ select: import("../selector/index.js").Selector<"$$", string>;
298
+ merge: import("../selector/index.js").Selector<"...", string>;
299
+ not: import("../selector/index.js").Selector<":not($$)", string>;
300
+ is: import("../selector/index.js").Selector<":is($$)", string>;
301
+ where: import("../selector/index.js").Selector<":where($$)", string>;
302
+ has: import("../selector/index.js").Selector<":has($$)", string>;
303
+ nthChild: import("../selector/index.js").Selector<":nth-child($)", string>;
304
+ nthLastChild: import("../selector/index.js").Selector<":nth-last-child($)", string>;
305
+ nthOfType: import("../selector/index.js").Selector<":nth-of-type($)", string>;
306
+ nthLastOfType: import("../selector/index.js").Selector<":nth-last-of-type($)", string>;
307
+ lang: import("../selector/index.js").Selector<":lang($)", string>;
308
+ dir: import("../selector/index.js").Selector<":dir($)", string>;
309
+ before: import("../selector/index.js").Selector<"::before", string>;
310
+ after: import("../selector/index.js").Selector<"::after", string>;
311
+ hover: import("../selector/index.js").Selector<":hover", string>;
312
+ active: import("../selector/index.js").Selector<":active", string>;
313
+ focus: import("../selector/index.js").Selector<":focus", string>;
314
+ focusVisible: import("../selector/index.js").Selector<":focus-visible", string>;
315
+ focusWithin: import("../selector/index.js").Selector<":focus-within", string>;
316
+ visited: import("../selector/index.js").Selector<":visited", string>;
317
+ link: import("../selector/index.js").Selector<":link", string>;
318
+ anyLink: import("../selector/index.js").Selector<":any-link", string>;
319
+ target: import("../selector/index.js").Selector<":target", string>;
320
+ disabled: import("../selector/index.js").Selector<":disabled", string>;
321
+ enabled: import("../selector/index.js").Selector<":enabled", string>;
322
+ checked: import("../selector/index.js").Selector<":checked", string>;
323
+ indeterminate: import("../selector/index.js").Selector<":indeterminate", string>;
324
+ invalid: import("../selector/index.js").Selector<":invalid", string>;
325
+ valid: import("../selector/index.js").Selector<":valid", string>;
326
+ required: import("../selector/index.js").Selector<":required", string>;
327
+ optional: import("../selector/index.js").Selector<":optional", string>;
328
+ readOnly: import("../selector/index.js").Selector<":read-only", string>;
329
+ readWrite: import("../selector/index.js").Selector<":read-write", string>;
330
+ inRange: import("../selector/index.js").Selector<":in-range", string>;
331
+ outOfRange: import("../selector/index.js").Selector<":out-of-range", string>;
332
+ default: import("../selector/index.js").Selector<":default", string>;
333
+ placeholderShown: import("../selector/index.js").Selector<":placeholder-shown", string>;
334
+ autofill: import("../selector/index.js").Selector<":autofill", string>;
335
+ empty: import("../selector/index.js").Selector<":empty", string>;
336
+ root: import("../selector/index.js").Selector<":root", string>;
337
+ firstChild: import("../selector/index.js").Selector<":first-child", string>;
338
+ lastChild: import("../selector/index.js").Selector<":last-child", string>;
339
+ onlyChild: import("../selector/index.js").Selector<":only-child", string>;
340
+ firstOfType: import("../selector/index.js").Selector<":first-of-type", string>;
341
+ lastOfType: import("../selector/index.js").Selector<":last-of-type", string>;
342
+ onlyOfType: import("../selector/index.js").Selector<":only-of-type", string>;
343
+ fullscreen: import("../selector/index.js").Selector<":fullscreen", string>;
344
+ modal: import("../selector/index.js").Selector<":modal", string>;
345
+ }>;
346
+ (selector: import("../builder/selector_override_core.js").ManualSelectorInput, style: import("../builder/index.js").SelectorOverrideStyleData<CSSProperties>): import("../builder/index.js").SelectorOverrideBuilder<CSSProperties, {
347
+ media: import("../selector/index.js").Selector<"@media $$", string>;
348
+ container: import("../selector/index.js").Selector<"@container $$", string>;
349
+ supports: import("../selector/index.js").Selector<"@supports $$", string>;
350
+ attr: import("../selector/index.js").Selector<"$", string>;
351
+ select: import("../selector/index.js").Selector<"$$", string>;
352
+ merge: import("../selector/index.js").Selector<"...", string>;
353
+ not: import("../selector/index.js").Selector<":not($$)", string>;
354
+ is: import("../selector/index.js").Selector<":is($$)", string>;
355
+ where: import("../selector/index.js").Selector<":where($$)", string>;
356
+ has: import("../selector/index.js").Selector<":has($$)", string>;
357
+ nthChild: import("../selector/index.js").Selector<":nth-child($)", string>;
358
+ nthLastChild: import("../selector/index.js").Selector<":nth-last-child($)", string>;
359
+ nthOfType: import("../selector/index.js").Selector<":nth-of-type($)", string>;
360
+ nthLastOfType: import("../selector/index.js").Selector<":nth-last-of-type($)", string>;
361
+ lang: import("../selector/index.js").Selector<":lang($)", string>;
362
+ dir: import("../selector/index.js").Selector<":dir($)", string>;
363
+ before: import("../selector/index.js").Selector<"::before", string>;
364
+ after: import("../selector/index.js").Selector<"::after", string>;
365
+ hover: import("../selector/index.js").Selector<":hover", string>;
366
+ active: import("../selector/index.js").Selector<":active", string>;
367
+ focus: import("../selector/index.js").Selector<":focus", string>;
368
+ focusVisible: import("../selector/index.js").Selector<":focus-visible", string>;
369
+ focusWithin: import("../selector/index.js").Selector<":focus-within", string>;
370
+ visited: import("../selector/index.js").Selector<":visited", string>;
371
+ link: import("../selector/index.js").Selector<":link", string>;
372
+ anyLink: import("../selector/index.js").Selector<":any-link", string>;
373
+ target: import("../selector/index.js").Selector<":target", string>;
374
+ disabled: import("../selector/index.js").Selector<":disabled", string>;
375
+ enabled: import("../selector/index.js").Selector<":enabled", string>;
376
+ checked: import("../selector/index.js").Selector<":checked", string>;
377
+ indeterminate: import("../selector/index.js").Selector<":indeterminate", string>;
378
+ invalid: import("../selector/index.js").Selector<":invalid", string>;
379
+ valid: import("../selector/index.js").Selector<":valid", string>;
380
+ required: import("../selector/index.js").Selector<":required", string>;
381
+ optional: import("../selector/index.js").Selector<":optional", string>;
382
+ readOnly: import("../selector/index.js").Selector<":read-only", string>;
383
+ readWrite: import("../selector/index.js").Selector<":read-write", string>;
384
+ inRange: import("../selector/index.js").Selector<":in-range", string>;
385
+ outOfRange: import("../selector/index.js").Selector<":out-of-range", string>;
386
+ default: import("../selector/index.js").Selector<":default", string>;
387
+ placeholderShown: import("../selector/index.js").Selector<":placeholder-shown", string>;
388
+ autofill: import("../selector/index.js").Selector<":autofill", string>;
389
+ empty: import("../selector/index.js").Selector<":empty", string>;
390
+ root: import("../selector/index.js").Selector<":root", string>;
391
+ firstChild: import("../selector/index.js").Selector<":first-child", string>;
392
+ lastChild: import("../selector/index.js").Selector<":last-child", string>;
393
+ onlyChild: import("../selector/index.js").Selector<":only-child", string>;
394
+ firstOfType: import("../selector/index.js").Selector<":first-of-type", string>;
395
+ lastOfType: import("../selector/index.js").Selector<":last-of-type", string>;
396
+ onlyOfType: import("../selector/index.js").Selector<":only-of-type", string>;
397
+ fullscreen: import("../selector/index.js").Selector<":fullscreen", string>;
398
+ modal: import("../selector/index.js").Selector<":modal", string>;
399
+ }>;
400
+ };
401
+ };
402
+ export type StyleFn<Style = any, Selectors extends SelectorsRecord = any> = ReturnType<typeof createStyleFn<Style, Selectors>>['style'];
403
+ export declare function createStyleFn<Style = CSSProperties, const Selectors extends SelectorsRecord = typeof PrioritySelectors>(args: {
404
+ style?: Type<Style>;
405
+ selectors: Selectors;
406
+ transform?: StyleTransform<Style> | null;
407
+ }): {
408
+ style: import("../builder/types/fns.js").StyleSelfFn<Style, Selectors> & {
409
+ (style?: import("./types.js").StyleObject<Style> | undefined): import("../builder/data/index.js").StyleData<Style> & import("../builder/types/fns.js").StyleSelectorFns<Style, Selectors> & import("../utils/type.js").Collapse;
410
+ slot: import("../builder/types/fns.js").SlotSelfFn<Style, Selectors>;
411
+ scope: import("../builder/index.js").ScopeSelfFn<Selectors> & import("../builder/data/index.js").BuilderData<unknown, 4> & ((slot: import("../builder/data/index.js").SlotData<any>) => import("../builder/data/index.js").ScopeTargetData) & import("../builder/types/fns.js").ScopeSelectorFns<Selectors & import("../utils/type.js").Collapse>;
412
+ weight: <const T>(value: T, weight: number) => import("./weight.js").StyleWeightValue<T>;
413
+ important: <const T>(value: T) => import("./important.js").StyleImportantValue<T>;
414
+ raw: <T extends import("./types.js").StyleObject<Style>>(style: T) => T;
415
+ plain: <T extends import("./types.js").PlainStyleObject<Style>>(style: T) => T;
416
+ keyframes: <T extends import("./keyframes.js").StyleKeyframesObject<Style>>(frames: T) => import("./valueRef.js").AtRuleRef;
417
+ merge: <Target>(target: Target, ...styles: import("../builder/index.js").MergeRuleStyleData[]) => Target;
418
+ selector: {
419
+ (selector: import("../builder/selector_override_core.js").ManualSelectorInput): import("../builder/index.js").SelectorBuilder<Style, Selectors>;
420
+ (selector: import("../builder/selector_override_core.js").ManualSelectorInput, style: import("../builder/index.js").SelectorOverrideStyleData<Style>): import("../builder/index.js").SelectorOverrideBuilder<Style, Selectors>;
421
+ };
422
+ };
423
+ };
424
+ export type StyleFnWithMeta = StyleFn | ClassNameFn<any, any>;
425
+ export declare function assignStyleFnMeta<T extends object>(styleFn: T, meta: StyleFnMeta): T;
426
+ export declare function getStyleFnMeta(styleFn: StyleFnWithMeta): StyleFnMeta;
@@ -0,0 +1,5 @@
1
+ import type { ThemeData } from "../builder/data/data.js";
2
+ import type { StyleTokenOverride } from "./token.js";
3
+ export type TokenTheme = ThemeData;
4
+ export declare function resetStyleThemeIdCounter(): void;
5
+ export declare function createTheme(tokens: readonly StyleTokenOverride[]): TokenTheme;
@@ -0,0 +1,29 @@
1
+ import type { DebugData } from "../builder/data/debug.js";
2
+ export { getStyleTokenId, getStyleTokenName, getStyleTokenVarName, isStyleTokenData, isStyleTokenOverrideData, } from "../builder/token/data.js";
3
+ export { TOKEN_ID, TOKEN_NAME, TOKEN_OVERRIDE, TOKEN_VAR_NAME } from "../builder/token/symbols.js";
4
+ import { TOKEN_ID, TOKEN_NAME, TOKEN_OVERRIDE, TOKEN_VAR_NAME } from "../builder/token/symbols.js";
5
+ export declare const TOKEN_DEBUG: unique symbol;
6
+ export type StyleTokenData<T = unknown> = {
7
+ [TOKEN_ID]: string;
8
+ [TOKEN_NAME]?: string | null;
9
+ [TOKEN_VAR_NAME]?: string | null;
10
+ [TOKEN_OVERRIDE]?: false;
11
+ value: T;
12
+ ref: StyleTokenData<T> | null;
13
+ };
14
+ export type StyleTokenOverride<T = unknown> = {
15
+ [TOKEN_ID]: string;
16
+ [TOKEN_OVERRIDE]: true;
17
+ [TOKEN_DEBUG]?: DebugData | null;
18
+ [TOKEN_NAME]?: string | null;
19
+ [TOKEN_VAR_NAME]?: string | null;
20
+ value: T;
21
+ ref: StyleTokenData<T> | null;
22
+ };
23
+ export type StyleToken<T = unknown> = StyleTokenData<T> & {
24
+ (value: T | StyleTokenData<T>, debug?: DebugData): StyleTokenOverride<T>;
25
+ };
26
+ export declare function resetStyleTokenIdCounter(): void;
27
+ export declare function createStyleToken<T>(value: T | StyleToken<T>, stableId?: string, debugName?: string | null): StyleToken<T>;
28
+ export declare function createStyleTokenOverride<T>(token: StyleTokenData<T>, value: T | StyleTokenData<T>, debug?: DebugData | null): StyleTokenOverride<T>;
29
+ export declare function getStyleTokenOverrideDebug(token: StyleTokenOverride): DebugData | null;
@@ -0,0 +1,10 @@
1
+ import type { StyleToken } from "./token.js";
2
+ import type { InferValue, ValueBase } from "./value.js";
3
+ export type TokenTuple<T extends readonly ValueBase[]> = {
4
+ [P in T[number]]: StyleToken<InferValue<P>>;
5
+ };
6
+ export type TokenRecord<T extends object> = {
7
+ [P in keyof T]: T[P] extends readonly unknown[] ? StyleToken<T[P]> : T[P] extends object ? TokenRecord<T[P]> : T[P] extends ValueBase ? StyleToken<InferValue<T[P]>> : StyleToken<T[P]>;
8
+ };
9
+ export declare function createTokens<const T extends readonly ValueBase[]>(values: T): TokenTuple<T>;
10
+ export declare function createTokens<T extends object>(values: T): TokenRecord<T>;
@@ -0,0 +1,21 @@
1
+ import type { CSSProperties, StyleObject, StyleValue } from "./types.js";
2
+ declare const CLASS_NAME_VALUE: unique symbol;
3
+ export type ClassNameValue<Value = unknown> = {
4
+ readonly [CLASS_NAME_VALUE]: true;
5
+ readonly value: Value;
6
+ readonly className: string;
7
+ };
8
+ export type TransformStyleObject<Style = unknown> = {
9
+ [P in keyof Style]: StyleValue<Style[P] | ClassNameValue<Style[P]>>;
10
+ };
11
+ export type StyleTransform<Style = unknown> = {
12
+ transform(style: StyleObject<Style>): TransformStyleObject<CSSProperties>;
13
+ };
14
+ export type ClassNameTransform<ClassName extends string = string> = {
15
+ transform(className: ClassName): TransformStyleObject<CSSProperties>;
16
+ };
17
+ export declare function classNameValue<const Value>(value: Value, className: string): ClassNameValue<Value>;
18
+ export declare function isClassNameValue(value: unknown): value is ClassNameValue;
19
+ export declare function styleTransform<Style>(options: StyleTransform<Style>): StyleTransform<Style>;
20
+ export declare function classNameTransform<ClassName extends string>(options: ClassNameTransform<ClassName>): ClassNameTransform<ClassName>;
21
+ export {};
@@ -0,0 +1,22 @@
1
+ import type { CSSProperties } from "../atomic/utils/types.js";
2
+ import type { StyleImportantValue } from "./important.js";
3
+ import type { StyleTokenData } from "./token.js";
4
+ import type { AtRuleRef } from "./valueRef.js";
5
+ import type { StyleWeightValue } from "./weight.js";
6
+ export type { CSSProperties };
7
+ type StyleTokenize<T> = Exclude<T extends unknown ? StyleTokenData<T> : never, StyleTokenData<undefined>>;
8
+ type Important<T> = StyleImportantValue<Exclude<T, null | undefined>>;
9
+ type Weight<T> = StyleWeightValue<Exclude<T, null | undefined>>;
10
+ type Value<T> = T | Weight<T> | Important<T>;
11
+ type PlainValue<T> = T | Weight<T> | Important<T>;
12
+ export type StyleValue<T> = Value<T | StyleTokenize<T> | AtRuleRef>;
13
+ export type AtRuleStyleValue<T> = T | StyleTokenize<T>;
14
+ export type StyleObject<T = unknown> = {
15
+ [P in keyof T]: StyleValue<T[P]>;
16
+ };
17
+ export type AtRuleStyleObject<T = unknown> = {
18
+ [P in keyof T]: AtRuleStyleValue<T[P]>;
19
+ };
20
+ export type PlainStyleObject<T = unknown> = {
21
+ [P in keyof T]: PlainValue<T[P]>;
22
+ };
@@ -0,0 +1,8 @@
1
+ import type { AnyBuilderData, SelectorData, SlotData } from "../../builder/data/index.js";
2
+ import { type StyleTokenData } from "../token.js";
3
+ type ExposedStyleItem<T> = T extends StyleTokenData ? T : T extends SlotData ? T : T extends SelectorData ? T : T extends AnyBuilderData ? never : T extends readonly unknown[] ? never : T extends object ? ExposedStyle<T> : never;
4
+ export type ExposedStyle<T> = {
5
+ [K in keyof T as ExposedStyleItem<T[K]> extends never ? never : K]: ExposedStyleItem<T[K]>;
6
+ };
7
+ export declare function exposeStyle<T extends object>(styles: T): ExposedStyle<T>;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./expose.js";
@@ -0,0 +1,12 @@
1
+ import type { DebugData } from "../builder/data/debug.js";
2
+ import { type StyleToken, type StyleTokenOverride } from "./token.js";
3
+ export type ValueBase = string | number;
4
+ export type InferValue<T extends ValueBase> = T extends string ? string : T extends number ? number : ValueBase;
5
+ export type StyleValueFn<T extends ValueBase, Value extends ValueBase> = {
6
+ (value: T): StyleToken<Value>;
7
+ (value: T, provide: Value | StyleToken<Value>): StyleTokenOverride<Value>;
8
+ (value: T, provide: Value | StyleToken<Value>, debug: DebugData): StyleTokenOverride<Value>;
9
+ };
10
+ export declare function createToken<T>(value: T | StyleToken<T>): StyleToken<T>;
11
+ export declare function createValues<const T extends ValueBase>(values: readonly T[]): StyleValueFn<T, InferValue<T>>;
12
+ export declare function createValues<const T extends ValueBase>(type: NumberConstructor, values: readonly T[]): StyleValueFn<T, number>;
@@ -0,0 +1,13 @@
1
+ import type { StyleTokenData } from "./token.js";
2
+ export declare const AT_RULE_REF: unique symbol;
3
+ export type AtRuleRefData = {
4
+ key: string;
5
+ value: string;
6
+ css: string | null;
7
+ tokens?: readonly StyleTokenData[];
8
+ };
9
+ export type AtRuleRef = AtRuleRefData & {
10
+ [AT_RULE_REF]: true;
11
+ };
12
+ export declare function createAtRuleRef(data: AtRuleRefData): AtRuleRef;
13
+ export declare function isAtRuleRef(value: unknown): value is AtRuleRef;
@@ -0,0 +1,9 @@
1
+ declare const STYLE_WEIGHT: unique symbol;
2
+ export type StyleWeightValue<T = unknown> = {
3
+ readonly [STYLE_WEIGHT]: true;
4
+ readonly value: T;
5
+ readonly weight: number;
6
+ };
7
+ export declare function weightValue<T>(value: T, weight: number): StyleWeightValue<T>;
8
+ export declare function isStyleWeightValue(value: unknown): value is StyleWeightValue;
9
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare function getGlobalData<T>(key: string): T | undefined;
2
+ export declare function globalData<T>(key: string, data: () => T): NonNullable<T>;
3
+ export declare function setGlobalData<T>(key: string, data: T): void;
4
+ export declare function clearGlobalData(key: string): void;
@@ -0,0 +1,3 @@
1
+ export declare function toBase62(value: number): string;
2
+ export declare function hashString(str: string): string;
3
+ export declare function normalizeHashLength(length: number): number;
@@ -0,0 +1,12 @@
1
+ export type StableId = {
2
+ name: string | null;
3
+ id: string;
4
+ };
5
+ export type IdCounter = {
6
+ value: number;
7
+ };
8
+ export declare function createIdCounter(name: string): {
9
+ value: number;
10
+ };
11
+ export declare function resetIdCounter(idCounter: IdCounter): void;
12
+ export declare function getId(idCounter: IdCounter, stableId: StableId | null): StableId;