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

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 (419) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/compiler/compiler/compiler.ts +8 -4
  3. package/compiler/utils/file_resolver.ts +2 -1
  4. package/dist/compiler/index.mjs +1 -1
  5. package/dist/{compiler-C3CEGGtI.mjs → compiler-mCfMhtX4.mjs} +2 -3
  6. package/dist/{compiler-C3CEGGtI.mjs.map → compiler-mCfMhtX4.mjs.map} +1 -1
  7. package/dist/{loader-_-VjzlrX.mjs → loader-DUS2i9Zb.mjs} +3 -3
  8. package/dist/loader-DUS2i9Zb.mjs.map +1 -0
  9. package/dist/{misc-B76PUnWe.mjs → misc-vGtt_SX7.mjs} +2 -2
  10. package/dist/{misc-B76PUnWe.mjs.map → misc-vGtt_SX7.mjs.map} +1 -1
  11. package/dist/plugin/farm/index.mjs +3 -3
  12. package/dist/plugin/nextjs/index.mjs +4 -4
  13. package/dist/plugin/nextjs/index.mjs.map +1 -1
  14. package/dist/plugin/nextjs/loader.mjs +4 -4
  15. package/dist/plugin/parcel/index.cjs +1 -1
  16. package/dist/plugin/parcel/index.mjs +2 -2
  17. package/dist/plugin/parcel/optimizer.cjs +1 -1
  18. package/dist/plugin/parcel/optimizer.mjs +2 -2
  19. package/dist/plugin/parcel/resolver.cjs +1 -1
  20. package/dist/plugin/parcel/resolver.mjs +2 -2
  21. package/dist/plugin/parcel/runtime.cjs +1 -1
  22. package/dist/plugin/parcel/runtime.mjs +1 -1
  23. package/dist/plugin/parcel/transformer.cjs +1 -1
  24. package/dist/plugin/parcel/transformer.mjs +2 -2
  25. package/dist/plugin/rspack/index.mjs +2 -2
  26. package/dist/plugin/vite/index.mjs +3 -3
  27. package/dist/plugin/webpack/index.mjs +2 -2
  28. package/dist/plugin/webpack/loader.mjs +2 -2
  29. package/dist/{registry-w8ET5R7v.mjs → registry-BJqMbdMu.mjs} +2 -2
  30. package/dist/{registry-w8ET5R7v.mjs.map → registry-BJqMbdMu.mjs.map} +1 -1
  31. package/dist/{shared-PK52rW6T.cjs → shared-BRUPuZdH.cjs} +2 -3
  32. package/dist/{shared-PK52rW6T.cjs.map → shared-BRUPuZdH.cjs.map} +1 -1
  33. package/dist/{shared-C_cYxNzz.mjs → shared-DDzZd0tM.mjs} +4 -4
  34. package/dist/{shared-C_cYxNzz.mjs.map → shared-DDzZd0tM.mjs.map} +1 -1
  35. package/dist/{sidecar-BhvmXYsD.mjs → sidecar-BTT0veLU.mjs} +3 -3
  36. package/dist/{sidecar-BhvmXYsD.mjs.map → sidecar-BTT0veLU.mjs.map} +1 -1
  37. package/dist/types/adapter/preact.d.ts +1 -0
  38. package/dist/types/adapter/react.d.ts +1 -0
  39. package/dist/types/adapter/solid.d.ts +1 -0
  40. package/dist/types/atomic/atRule/counterStyle.d.ts +10 -0
  41. package/dist/types/atomic/atRule/fontFace.d.ts +10 -0
  42. package/dist/types/atomic/atRule/fontPaletteValues.d.ts +10 -0
  43. package/dist/types/atomic/atRule/fontSrc.d.ts +1 -0
  44. package/dist/types/atomic/atRule/keyframes.d.ts +13 -0
  45. package/dist/types/atomic/atRule/positionTry.d.ts +13 -0
  46. package/dist/types/atomic/atRule/property.d.ts +13 -0
  47. package/dist/types/atomic/atRule/utils.d.ts +5 -0
  48. package/dist/types/atomic/className.d.ts +11 -0
  49. package/dist/types/atomic/debug/className/className.d.ts +9 -0
  50. package/dist/types/atomic/debug/className/index.d.ts +1 -0
  51. package/dist/types/atomic/debug/property/data.d.ts +3 -0
  52. package/dist/types/atomic/debug/property/index.d.ts +1 -0
  53. package/dist/types/atomic/debug/property/property.d.ts +5 -0
  54. package/dist/types/atomic/debug/selector.d.ts +2 -0
  55. package/dist/types/atomic/debug/value.d.ts +5 -0
  56. package/dist/types/atomic/element.d.ts +5 -0
  57. package/dist/types/atomic/layer/index.d.ts +3 -0
  58. package/dist/types/atomic/layer/layer.d.ts +12 -0
  59. package/dist/types/atomic/layer/types.d.ts +30 -0
  60. package/dist/types/atomic/layer/utils.d.ts +4 -0
  61. package/dist/types/atomic/property/index.d.ts +2 -0
  62. package/dist/types/atomic/property/presets.d.ts +4 -0
  63. package/dist/types/atomic/property/property.d.ts +3 -0
  64. package/dist/types/atomic/property/type_maps.d.ts +31 -0
  65. package/dist/types/atomic/property/types.d.ts +4 -0
  66. package/dist/types/atomic/rule.d.ts +5 -0
  67. package/dist/types/atomic/scope.d.ts +3 -0
  68. package/dist/types/atomic/theme.d.ts +7 -0
  69. package/dist/types/atomic/token.d.ts +7 -0
  70. package/dist/types/atomic/utils/cssIdent.d.ts +2 -0
  71. package/dist/types/atomic/utils/cssVar.d.ts +3 -0
  72. package/dist/types/atomic/utils/debug.d.ts +4 -0
  73. package/dist/types/atomic/utils/format.d.ts +5 -0
  74. package/dist/types/atomic/utils/hash.d.ts +1 -0
  75. package/dist/types/atomic/utils/selector.d.ts +6 -0
  76. package/dist/types/atomic/utils/types.d.ts +7 -0
  77. package/dist/types/atomic/value/index.d.ts +2 -0
  78. package/dist/types/atomic/value/unitless.d.ts +1 -0
  79. package/dist/types/atomic/value/value.d.ts +2 -0
  80. package/dist/types/atomic/var.d.ts +4 -0
  81. package/dist/types/builder/classname/class_name_builder.d.ts +4 -0
  82. package/dist/types/builder/classname/fns.d.ts +48 -0
  83. package/dist/types/builder/classname/index.d.ts +3 -0
  84. package/dist/types/builder/classname/types.d.ts +18 -0
  85. package/dist/types/builder/data/check_selector.d.ts +2 -0
  86. package/dist/types/builder/data/const.d.ts +26 -0
  87. package/dist/types/builder/data/create.d.ts +13 -0
  88. package/dist/types/builder/data/data.d.ts +44 -0
  89. package/dist/types/builder/data/debug.d.ts +38 -0
  90. package/dist/types/builder/data/index.d.ts +8 -0
  91. package/dist/types/builder/data/is.d.ts +16 -0
  92. package/dist/types/builder/data/merge/index.d.ts +2 -0
  93. package/dist/types/builder/data/merge/scope.d.ts +7 -0
  94. package/dist/types/builder/data/merge/style.d.ts +6 -0
  95. package/dist/types/builder/data/merge/utils.d.ts +5 -0
  96. package/dist/types/builder/data/selector.d.ts +8 -0
  97. package/dist/types/builder/data/state.d.ts +85 -0
  98. package/dist/types/builder/extract/index.d.ts +7 -0
  99. package/dist/types/builder/extract/scope.d.ts +14 -0
  100. package/dist/types/builder/extract/sheet.d.ts +10 -0
  101. package/dist/types/builder/extract/slot.d.ts +9 -0
  102. package/dist/types/builder/extract/style.d.ts +11 -0
  103. package/dist/types/builder/extract/theme.d.ts +2 -0
  104. package/dist/types/builder/extract/token.d.ts +7 -0
  105. package/dist/types/builder/extract/utils.d.ts +28 -0
  106. package/dist/types/builder/extract/withTokens.d.ts +10 -0
  107. package/dist/types/builder/index.d.ts +2 -0
  108. package/dist/types/builder/selector_override.d.ts +5 -0
  109. package/dist/types/builder/selector_override_core.d.ts +6 -0
  110. package/dist/types/builder/style_builder.d.ts +15 -0
  111. package/dist/types/builder/style_data.d.ts +8 -0
  112. package/dist/types/builder/style_fns.d.ts +14 -0
  113. package/dist/types/builder/token/data.d.ts +10 -0
  114. package/dist/types/builder/token/name.d.ts +3 -0
  115. package/dist/types/builder/token/symbols.d.ts +4 -0
  116. package/dist/types/builder/types/alias.d.ts +59 -0
  117. package/dist/types/builder/types/fns.d.ts +115 -0
  118. package/dist/types/builder/types/index.d.ts +1 -0
  119. package/dist/types/builder/types/types.d.ts +22 -0
  120. package/dist/types/builder/utils.d.ts +9 -0
  121. package/dist/types/compiler/compiler/cache.d.ts +24 -0
  122. package/dist/types/compiler/compiler/compiler.d.ts +28 -0
  123. package/dist/types/compiler/compiler/constants.d.ts +6 -0
  124. package/dist/types/compiler/compiler/index.d.ts +4 -0
  125. package/dist/types/compiler/compiler/types.d.ts +53 -0
  126. package/dist/types/compiler/cssProp.d.ts +8 -0
  127. package/dist/types/compiler/extract/collector.d.ts +8 -0
  128. package/dist/types/compiler/extract/extract.d.ts +6 -0
  129. package/dist/types/compiler/extract/index.d.ts +3 -0
  130. package/dist/types/compiler/extract/types.d.ts +22 -0
  131. package/dist/types/compiler/index.d.ts +3 -0
  132. package/dist/types/compiler/transform/cssProp/index.d.ts +1 -0
  133. package/dist/types/compiler/transform/cssProp/plugin.d.ts +13 -0
  134. package/dist/types/compiler/transform/debug/index.d.ts +2 -0
  135. package/dist/types/compiler/transform/debug/plugin.d.ts +34 -0
  136. package/dist/types/compiler/transform/debug/transform.d.ts +7 -0
  137. package/dist/types/compiler/transform/debug/utils/debug_data.d.ts +11 -0
  138. package/dist/types/compiler/transform/debug/utils/source_url.d.ts +2 -0
  139. package/dist/types/compiler/transform/evaluator/evaluator.d.ts +41 -0
  140. package/dist/types/compiler/transform/evaluator/index.d.ts +3 -0
  141. package/dist/types/compiler/transform/evaluator/tracer.d.ts +8 -0
  142. package/dist/types/compiler/transform/evaluator/types.d.ts +21 -0
  143. package/dist/types/compiler/transform/extract/chain/chain.d.ts +18 -0
  144. package/dist/types/compiler/transform/extract/chain/extract_chain.d.ts +19 -0
  145. package/dist/types/compiler/transform/extract/chain/index.d.ts +3 -0
  146. package/dist/types/compiler/transform/extract/chain/types.d.ts +32 -0
  147. package/dist/types/compiler/transform/extract/index.d.ts +2 -0
  148. package/dist/types/compiler/transform/extract/plugin.d.ts +20 -0
  149. package/dist/types/compiler/transform/extract/transform.d.ts +10 -0
  150. package/dist/types/compiler/transform/extract/utils/imports.d.ts +3 -0
  151. package/dist/types/compiler/transform/extract/utils/replacement.d.ts +9 -0
  152. package/dist/types/compiler/transform/extract/utils/slot.d.ts +4 -0
  153. package/dist/types/compiler/transform/extract/utils/state.d.ts +34 -0
  154. package/dist/types/compiler/transform/extract/utils/theme.d.ts +9 -0
  155. package/dist/types/compiler/transform/extract/utils/token.d.ts +1 -0
  156. package/dist/types/compiler/transform/index.d.ts +5 -0
  157. package/dist/types/compiler/transform/syntax/index.d.ts +5 -0
  158. package/dist/types/compiler/transform/syntax/isStaticStyleValue.d.ts +2 -0
  159. package/dist/types/compiler/transform/syntax/isStyleChainCall.d.ts +2 -0
  160. package/dist/types/compiler/transform/syntax/static_ids.d.ts +16 -0
  161. package/dist/types/compiler/transform/syntax/types.d.ts +4 -0
  162. package/dist/types/compiler/transform/syntax/utils.d.ts +5 -0
  163. package/dist/types/compiler/transform/utils/babel.d.ts +21 -0
  164. package/dist/types/compiler/transform/utils/import.d.ts +2 -0
  165. package/dist/types/compiler/transform/utils/path.d.ts +1 -0
  166. package/dist/types/compiler/transform/utils/selector.d.ts +18 -0
  167. package/dist/types/compiler/utils/constants.d.ts +68 -0
  168. package/dist/types/compiler/utils/file_resolver.d.ts +12 -0
  169. package/dist/types/compiler/utils/import_source.d.ts +28 -0
  170. package/dist/types/compiler/utils/imports.d.ts +6 -0
  171. package/dist/types/compiler/utils/path.d.ts +4 -0
  172. package/dist/types/compiler/utils/sourcemap.d.ts +36 -0
  173. package/dist/types/config/build.d.ts +20 -0
  174. package/dist/types/config/config/check.d.ts +11 -0
  175. package/dist/types/config/config/css.d.ts +23 -0
  176. package/dist/types/config/config/css_extra.d.ts +13 -0
  177. package/dist/types/config/config/debug.d.ts +14 -0
  178. package/dist/types/config/config/dev.d.ts +36 -0
  179. package/dist/types/config/config/runtime.d.ts +10 -0
  180. package/dist/types/config/configure.d.ts +12 -0
  181. package/dist/types/config/constants.d.ts +1 -0
  182. package/dist/types/config/index.d.ts +2 -0
  183. package/dist/types/config/types.d.ts +47 -0
  184. package/dist/types/config/utils.d.ts +2 -0
  185. package/dist/types/css/counterStyle.d.ts +4 -0
  186. package/dist/types/css/fontFace.d.ts +5 -0
  187. package/dist/types/css/fontPaletteValues.d.ts +4 -0
  188. package/dist/types/css/index.d.ts +9 -0
  189. package/dist/types/css/keyframes.d.ts +4 -0
  190. package/dist/types/css/positionTry.d.ts +4 -0
  191. package/dist/types/css/property.d.ts +7 -0
  192. package/dist/types/css/sheet.d.ts +7 -0
  193. package/dist/types/css/styleTarget.d.ts +9 -0
  194. package/dist/types/css/utils.d.ts +19 -0
  195. package/dist/types/dev/config.d.ts +6 -0
  196. package/dist/types/dev/fns.d.ts +14 -0
  197. package/dist/types/dev/index.d.ts +2 -0
  198. package/dist/types/dev/trace.d.ts +8 -0
  199. package/dist/types/dev/utils.d.ts +5 -0
  200. package/dist/types/dialect/extracted/index.d.ts +1 -0
  201. package/dist/types/dialect/index.d.ts +1 -0
  202. package/dist/types/dialect/namedTokens.d.ts +9 -0
  203. package/dist/types/entry/dev/adapter/preact.d.ts +1 -0
  204. package/dist/types/entry/dev/adapter/react.d.ts +1 -0
  205. package/dist/types/entry/dev/adapter/solid.d.ts +1 -0
  206. package/dist/types/entry/dev/config.d.ts +2 -0
  207. package/dist/types/entry/dev/css.d.ts +2 -0
  208. package/dist/types/entry/dev/index.d.ts +3 -0
  209. package/dist/types/entry/dev/jsx_dev_runtime.d.ts +3 -0
  210. package/dist/types/entry/dev/sheet.d.ts +1 -0
  211. package/dist/types/entry/prod/adapter/preact.d.ts +1 -0
  212. package/dist/types/entry/prod/adapter/react.d.ts +1 -0
  213. package/dist/types/entry/prod/adapter/solid.d.ts +1 -0
  214. package/dist/types/entry/prod/config.d.ts +2 -0
  215. package/dist/types/entry/prod/config_debug.d.ts +2 -0
  216. package/dist/types/entry/prod/css.d.ts +2 -0
  217. package/dist/types/entry/prod/extract.d.ts +1 -0
  218. package/dist/types/entry/prod/index.d.ts +2 -0
  219. package/dist/types/entry/prod/jsx_runtime.d.ts +2 -0
  220. package/dist/types/entry/prod/runtime.d.ts +8 -0
  221. package/dist/types/entry/rsc_dev/adapter/preact.d.ts +1 -0
  222. package/dist/types/entry/rsc_dev/adapter/react.d.ts +1 -0
  223. package/dist/types/entry/rsc_dev/adapter/solid.d.ts +1 -0
  224. package/dist/types/entry/rsc_dev/config.d.ts +2 -0
  225. package/dist/types/entry/rsc_dev/css.d.ts +2 -0
  226. package/dist/types/entry/rsc_dev/index.d.ts +2 -0
  227. package/dist/types/entry/rsc_dev/server.d.ts +10 -0
  228. package/dist/types/entry/rsc_prod/adapter/preact.d.ts +1 -0
  229. package/dist/types/entry/rsc_prod/adapter/react.d.ts +1 -0
  230. package/dist/types/entry/rsc_prod/adapter/solid.d.ts +1 -0
  231. package/dist/types/entry/rsc_prod/config.d.ts +2 -0
  232. package/dist/types/entry/rsc_prod/config_debug.d.ts +2 -0
  233. package/dist/types/entry/rsc_prod/css.d.ts +2 -0
  234. package/dist/types/entry/rsc_prod/index.d.ts +2 -0
  235. package/dist/types/entry/rsc_prod/jsx_runtime.d.ts +2 -0
  236. package/dist/types/entry/rsc_prod/runtime.d.ts +4 -0
  237. package/dist/types/entry/rsc_prod/server.d.ts +6 -0
  238. package/dist/types/entry/shared/config.d.ts +1 -0
  239. package/dist/types/entry/shared/config_debug.d.ts +1 -0
  240. package/dist/types/entry/shared/config_dev.d.ts +1 -0
  241. package/dist/types/entry/shared/dev.d.ts +1 -0
  242. package/dist/types/entry/shared/prod.d.ts +1 -0
  243. package/dist/types/entry/shared/utils.d.ts +2 -0
  244. package/dist/types/index.d.ts +9 -0
  245. package/dist/types/jsx/extracted/jsx_runtime.d.ts +7 -0
  246. package/dist/types/jsx/rsc/jsx_runtime.d.ts +7 -0
  247. package/dist/types/jsx/rsc_extracted/jsx_runtime.d.ts +2 -0
  248. package/dist/types/jsx/runtime/jsx_dev_runtime.d.ts +6 -0
  249. package/dist/types/jsx/runtime/jsx_runtime.d.ts +7 -0
  250. package/dist/types/jsx/types/index.d.ts +1 -0
  251. package/dist/types/jsx/types/preact.d.ts +12 -0
  252. package/dist/types/jsx/types/react.d.ts +10 -0
  253. package/dist/types/jsx/types/solid.d.ts +12 -0
  254. package/dist/types/jsx/utils.d.ts +19 -0
  255. package/dist/types/plugin/bundler/farm/index.d.ts +1 -0
  256. package/dist/types/plugin/bundler/farm/plugin.d.ts +91 -0
  257. package/dist/types/plugin/bundler/parcel/index.d.ts +1 -0
  258. package/dist/types/plugin/bundler/parcel/optimizer.d.ts +3 -0
  259. package/dist/types/plugin/bundler/parcel/plugin.d.ts +6 -0
  260. package/dist/types/plugin/bundler/parcel/resolver.d.ts +3 -0
  261. package/dist/types/plugin/bundler/parcel/runtime.d.ts +3 -0
  262. package/dist/types/plugin/bundler/parcel/shared.d.ts +37 -0
  263. package/dist/types/plugin/bundler/parcel/transformer.d.ts +3 -0
  264. package/dist/types/plugin/bundler/rspack/index.d.ts +1 -0
  265. package/dist/types/plugin/bundler/rspack/plugin.d.ts +7 -0
  266. package/dist/types/plugin/bundler/vite/index.d.ts +1 -0
  267. package/dist/types/plugin/bundler/vite/plugin.d.ts +6 -0
  268. package/dist/types/plugin/bundler/vite/state.d.ts +55 -0
  269. package/dist/types/plugin/bundler/webpack/index.d.ts +1 -0
  270. package/dist/types/plugin/bundler/webpack/loader.d.ts +2 -0
  271. package/dist/types/plugin/bundler/webpack/plugin.d.ts +11 -0
  272. package/dist/types/plugin/bundler/webpack/shared/loader.d.ts +31 -0
  273. package/dist/types/plugin/bundler/webpack/shared/registry.d.ts +4 -0
  274. package/dist/types/plugin/bundler/webpack/utils.d.ts +18 -0
  275. package/dist/types/plugin/nextjs/constants.d.ts +3 -0
  276. package/dist/types/plugin/nextjs/html.d.ts +1 -0
  277. package/dist/types/plugin/nextjs/index.d.ts +2 -0
  278. package/dist/types/plugin/nextjs/loader.d.ts +3 -0
  279. package/dist/types/plugin/nextjs/plugin.d.ts +5 -0
  280. package/dist/types/plugin/nextjs/types.d.ts +21 -0
  281. package/dist/types/plugin/nextjs/utils.d.ts +59 -0
  282. package/dist/types/plugin/utils/cache/css_cache.d.ts +34 -0
  283. package/dist/types/plugin/utils/cache/file.d.ts +4 -0
  284. package/dist/types/plugin/utils/cache/index.d.ts +2 -0
  285. package/dist/types/plugin/utils/compiler.d.ts +40 -0
  286. package/dist/types/plugin/utils/constants.d.ts +4 -0
  287. package/dist/types/plugin/utils/cssMarker.d.ts +4 -0
  288. package/dist/types/plugin/utils/cssOutput.d.ts +10 -0
  289. package/dist/types/plugin/utils/filter.d.ts +14 -0
  290. package/dist/types/plugin/utils/imports.d.ts +3 -0
  291. package/dist/types/plugin/utils/index.d.ts +10 -0
  292. package/dist/types/plugin/utils/injection.d.ts +3 -0
  293. package/dist/types/plugin/utils/misc.d.ts +1 -0
  294. package/dist/types/plugin/utils/runtimeEntry.d.ts +8 -0
  295. package/dist/types/plugin/utils/sidecar/index.d.ts +1 -0
  296. package/dist/types/plugin/utils/sidecar/server.d.ts +19 -0
  297. package/dist/types/plugin/utils/sidecar/sidecar.d.ts +17 -0
  298. package/dist/types/plugin/utils/sidecar/utils.d.ts +33 -0
  299. package/dist/types/plugin/utils/sourcemap.d.ts +9 -0
  300. package/dist/types/plugin/utils/virtual.d.ts +12 -0
  301. package/dist/types/presets/tailwind/classname/index.d.ts +2 -0
  302. package/dist/types/presets/tailwind/classname/transform.d.ts +8 -0
  303. package/dist/types/presets/tailwind/classname/types.d.ts +27 -0
  304. package/dist/types/presets/tailwind/index.d.ts +5 -0
  305. package/dist/types/presets/tailwind/selectors.d.ts +68 -0
  306. package/dist/types/presets/tailwind/style/index.d.ts +2 -0
  307. package/dist/types/presets/tailwind/style/transform.d.ts +8 -0
  308. package/dist/types/presets/tailwind/style/types.d.ts +149 -0
  309. package/dist/types/presets/tailwind/theme.d.ts +477 -0
  310. package/dist/types/presets/tailwind/types.d.ts +53 -0
  311. package/dist/types/runtime/adapter/utils.d.ts +12 -0
  312. package/dist/types/runtime/core/cache/combine.d.ts +6 -0
  313. package/dist/types/runtime/core/cache/combineRuntime.d.ts +1 -0
  314. package/dist/types/runtime/core/cache/item.d.ts +15 -0
  315. package/dist/types/runtime/core/cache/itemWithResolver.d.ts +4 -0
  316. package/dist/types/runtime/core/cache/pool.d.ts +16 -0
  317. package/dist/types/runtime/core/cache/prop.d.ts +19 -0
  318. package/dist/types/runtime/core/cache/propCache.d.ts +12 -0
  319. package/dist/types/runtime/core/cache/resolvedItem.d.ts +5 -0
  320. package/dist/types/runtime/core/cache/result.d.ts +9 -0
  321. package/dist/types/runtime/core/cache/stateItem.d.ts +8 -0
  322. package/dist/types/runtime/core/cache/token.d.ts +2 -0
  323. package/dist/types/runtime/core/cache/tokenValues.d.ts +26 -0
  324. package/dist/types/runtime/core/cache/utils/tree.d.ts +12 -0
  325. package/dist/types/runtime/core/cache/utils/walk.d.ts +1 -0
  326. package/dist/types/runtime/core/className.d.ts +18 -0
  327. package/dist/types/runtime/core/combinedStyle.d.ts +20 -0
  328. package/dist/types/runtime/core/createTransformElement.d.ts +4 -0
  329. package/dist/types/runtime/core/elementMarker.d.ts +12 -0
  330. package/dist/types/runtime/core/elementMarkerData.d.ts +7 -0
  331. package/dist/types/runtime/core/getClassName.d.ts +4 -0
  332. package/dist/types/runtime/core/getSheetRules.d.ts +3 -0
  333. package/dist/types/runtime/core/getToken.d.ts +3 -0
  334. package/dist/types/runtime/core/index.d.ts +5 -0
  335. package/dist/types/runtime/core/jsx.d.ts +1 -0
  336. package/dist/types/runtime/core/resolveClassNameRuntime.d.ts +8 -0
  337. package/dist/types/runtime/env.d.ts +2 -0
  338. package/dist/types/runtime/extract/combineStyle.d.ts +27 -0
  339. package/dist/types/runtime/extract/getClassName.d.ts +10 -0
  340. package/dist/types/runtime/extract/index.d.ts +6 -0
  341. package/dist/types/runtime/extract/jsx.d.ts +10 -0
  342. package/dist/types/runtime/extract/token.d.ts +5 -0
  343. package/dist/types/runtime/extract/tokenResolver.d.ts +2 -0
  344. package/dist/types/runtime/rsc/constants.d.ts +4 -0
  345. package/dist/types/runtime/rsc/dev.d.ts +6 -0
  346. package/dist/types/runtime/rsc/getClassName.d.ts +24 -0
  347. package/dist/types/runtime/rsc/index.d.ts +1 -0
  348. package/dist/types/runtime/rsc/jsx.d.ts +1 -0
  349. package/dist/types/runtime/rsc/observer.d.ts +5 -0
  350. package/dist/types/runtime/rsc/styleStore.d.ts +5 -0
  351. package/dist/types/runtime/sheet/element.d.ts +2 -0
  352. package/dist/types/runtime/sheet/global.d.ts +3 -0
  353. package/dist/types/runtime/sheet/index.d.ts +3 -0
  354. package/dist/types/runtime/sheet/insert.d.ts +5 -0
  355. package/dist/types/runtime/sheet/rule.d.ts +8 -0
  356. package/dist/types/runtime/sheet/rules.d.ts +10 -0
  357. package/dist/types/runtime/sheet/theme.d.ts +5 -0
  358. package/dist/types/runtime/style/index.d.ts +3 -0
  359. package/dist/types/runtime/style/scope.d.ts +4 -0
  360. package/dist/types/runtime/style/style.d.ts +27 -0
  361. package/dist/types/runtime/style/token.d.ts +1 -0
  362. package/dist/types/runtime/types.d.ts +28 -0
  363. package/dist/types/selector/assert.d.ts +13 -0
  364. package/dist/types/selector/index.d.ts +5 -0
  365. package/dist/types/selector/presets/default.d.ts +108 -0
  366. package/dist/types/selector/presets/index.d.ts +3 -0
  367. package/dist/types/selector/presets/minimal.d.ts +46 -0
  368. package/dist/types/selector/presets/selectors.d.ts +62 -0
  369. package/dist/types/selector/selector.d.ts +12 -0
  370. package/dist/types/selector/types.d.ts +12 -0
  371. package/dist/types/selector/validate.d.ts +5 -0
  372. package/dist/types/sheet/dev/dev_layer.d.ts +4 -0
  373. package/dist/types/sheet/dev/dev_sort.d.ts +2 -0
  374. package/dist/types/sheet/dev/index.d.ts +5 -0
  375. package/dist/types/sheet/dev/utils.d.ts +26 -0
  376. package/dist/types/sheet/index.d.ts +4 -0
  377. package/dist/types/sheet/prod.d.ts +2 -0
  378. package/dist/types/sheet/sheet.d.ts +2 -0
  379. package/dist/types/sheet/sourcemap.d.ts +11 -0
  380. package/dist/types/sheet/types.d.ts +29 -0
  381. package/dist/types/sheet/utils/dom.d.ts +5 -0
  382. package/dist/types/sheet/utils/index.d.ts +4 -0
  383. package/dist/types/sheet/utils/layer.d.ts +10 -0
  384. package/dist/types/sheet/utils/noop.d.ts +2 -0
  385. package/dist/types/sheet/utils/rule.d.ts +3 -0
  386. package/dist/types/sheet/utils/sourcemap.d.ts +12 -0
  387. package/dist/types/style/classname.d.ts +15 -0
  388. package/dist/types/style/important.d.ts +8 -0
  389. package/dist/types/style/index.d.ts +12 -0
  390. package/dist/types/style/keyframes.d.ts +10 -0
  391. package/dist/types/style/style.d.ts +426 -0
  392. package/dist/types/style/theme.d.ts +5 -0
  393. package/dist/types/style/token.d.ts +29 -0
  394. package/dist/types/style/tokens.d.ts +10 -0
  395. package/dist/types/style/transform.d.ts +21 -0
  396. package/dist/types/style/types.d.ts +22 -0
  397. package/dist/types/style/utils/expose.d.ts +8 -0
  398. package/dist/types/style/utils/index.d.ts +1 -0
  399. package/dist/types/style/value.d.ts +12 -0
  400. package/dist/types/style/valueRef.d.ts +13 -0
  401. package/dist/types/style/weight.d.ts +9 -0
  402. package/dist/types/utils/global.d.ts +4 -0
  403. package/dist/types/utils/hash.d.ts +3 -0
  404. package/dist/types/utils/id.d.ts +12 -0
  405. package/dist/types/utils/object.d.ts +10 -0
  406. package/dist/types/utils/symbol.d.ts +1 -0
  407. package/dist/types/utils/trace.d.ts +21 -0
  408. package/dist/types/utils/type.d.ts +11 -0
  409. package/dist/{utils-DND33M6y.mjs → utils-D4UympcZ.mjs} +3 -3
  410. package/dist/{utils-DND33M6y.mjs.map → utils-D4UympcZ.mjs.map} +1 -1
  411. package/dist/{utils-NdisireF.mjs → utils-D75HPJWv.mjs} +4 -4
  412. package/dist/{utils-NdisireF.mjs.map → utils-D75HPJWv.mjs.map} +1 -1
  413. package/dist/{webpack-D7QO0bKN.mjs → webpack-_BpgAUEy.mjs} +5 -5
  414. package/dist/{webpack-D7QO0bKN.mjs.map → webpack-_BpgAUEy.mjs.map} +1 -1
  415. package/jsx/types/solid.ts +8 -25
  416. package/package.json +76 -72
  417. package/plugin/bundler/webpack/shared/loader.ts +4 -0
  418. package/plugin/nextjs/plugin.ts +7 -8
  419. package/dist/loader-_-VjzlrX.mjs.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;