weapp-tailwindcss 5.5.5 → 5.5.7

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 (323) hide show
  1. package/dist/{auto-DtU6f3X6.cjs → auto-B1OyRrE8.cjs} +1 -1
  2. package/dist/{auto-2dg_uhEJ.js → auto-ENr4xzzw.js} +1 -1
  3. package/dist/bundlers/gulp/shared/create-native-framework-plugins/file-transforms.d.ts +5 -4
  4. package/dist/bundlers/shared/css-cleanup/at-rules.d.ts +1 -1
  5. package/dist/bundlers/shared/css-cleanup.d.ts +1 -1
  6. package/dist/bundlers/shared/css-source-trace.d.ts +2 -5
  7. package/dist/bundlers/shared/final-css-cleanup.d.ts +1 -2
  8. package/dist/bundlers/shared/framework-css-composition.d.ts +1 -0
  9. package/dist/bundlers/shared/framework-postcss.d.ts +1 -24
  10. package/dist/bundlers/shared/framework-user-css.d.ts +1 -3
  11. package/dist/bundlers/shared/generated-css-marker.d.ts +1 -9
  12. package/dist/bundlers/shared/generator-css/candidates.d.ts +1 -2
  13. package/dist/bundlers/shared/generator-css/class-selectors.d.ts +1 -3
  14. package/dist/bundlers/shared/generator-css/config-directive.d.ts +1 -2
  15. package/dist/bundlers/shared/generator-css/directives/fallback.d.ts +1 -11
  16. package/dist/bundlers/shared/generator-css/directives.d.ts +1 -25
  17. package/dist/bundlers/shared/generator-css/generation-helpers/preflight.d.ts +1 -19
  18. package/dist/bundlers/shared/generator-css/generation-helpers/results.d.ts +1 -25
  19. package/dist/bundlers/shared/generator-css/generation-helpers/runtime-isolation.d.ts +1 -30
  20. package/dist/bundlers/shared/generator-css/generation-helpers/source-order.d.ts +1 -2
  21. package/dist/bundlers/shared/generator-css/generation-helpers.d.ts +1 -4
  22. package/dist/bundlers/shared/generator-css/legacy-compat.d.ts +1 -9
  23. package/dist/bundlers/shared/generator-css/legacy-selectors.d.ts +1 -5
  24. package/dist/bundlers/shared/generator-css/legacy-units.d.ts +1 -1
  25. package/dist/bundlers/shared/generator-css/local-imports.d.ts +1 -1
  26. package/dist/bundlers/shared/generator-css/markers.d.ts +1 -28
  27. package/dist/bundlers/shared/generator-css/output-import-shell.d.ts +1 -8
  28. package/dist/bundlers/shared/generator-css/pipeline/context.d.ts +1 -58
  29. package/dist/bundlers/shared/generator-css/pipeline/deferred-output.d.ts +1 -3
  30. package/dist/bundlers/shared/generator-css/pipeline/execution.d.ts +1 -3
  31. package/dist/bundlers/shared/generator-css/pipeline/fallback-output.d.ts +1 -3
  32. package/dist/bundlers/shared/generator-css/pipeline/ordered-output.d.ts +1 -3
  33. package/dist/bundlers/shared/generator-css/pipeline.d.ts +1 -2
  34. package/dist/bundlers/shared/generator-css/result-helpers.d.ts +1 -6
  35. package/dist/bundlers/shared/generator-css/scoped-rules.d.ts +1 -1
  36. package/dist/bundlers/shared/generator-css/source-files.d.ts +1 -21
  37. package/dist/bundlers/shared/generator-css/source-resolver/apply-reference.d.ts +1 -13
  38. package/dist/bundlers/shared/generator-css/source-resolver/config.d.ts +1 -7
  39. package/dist/bundlers/shared/generator-css/source-resolver/configuration.d.ts +1 -33
  40. package/dist/bundlers/shared/generator-css/source-resolver/matching.d.ts +1 -3
  41. package/dist/bundlers/shared/generator-css/source-resolver/metadata.d.ts +1 -28
  42. package/dist/bundlers/shared/generator-css/source-resolver/postcss-source.d.ts +1 -14
  43. package/dist/bundlers/shared/generator-css/source-resolver/resolve-source.d.ts +1 -4
  44. package/dist/bundlers/shared/generator-css/source-resolver/resolve-sources.d.ts +1 -5
  45. package/dist/bundlers/shared/generator-css/source-resolver/single-source.d.ts +1 -16
  46. package/dist/bundlers/shared/generator-css/source-resolver/source-entries.d.ts +1 -3
  47. package/dist/bundlers/shared/generator-css/source-resolver/source-matching.d.ts +1 -5
  48. package/dist/bundlers/shared/generator-css/source-resolver/types.d.ts +1 -22
  49. package/dist/bundlers/shared/generator-css/source-resolver.d.ts +1 -7
  50. package/dist/bundlers/shared/generator-css/types.d.ts +1 -61
  51. package/dist/bundlers/shared/generator-css/user-css/apply-only.d.ts +1 -9
  52. package/dist/bundlers/shared/generator-css/user-css/at-rules.d.ts +1 -3
  53. package/dist/bundlers/shared/generator-css/user-css/compile-functions.d.ts +1 -0
  54. package/dist/bundlers/shared/generator-css/user-css/generated-cleanup.d.ts +1 -4
  55. package/dist/bundlers/shared/generator-css/user-css/source-fragments.d.ts +1 -15
  56. package/dist/bundlers/shared/generator-css/user-css/transform.d.ts +1 -10
  57. package/dist/bundlers/shared/generator-css/user-css/user-layers.d.ts +1 -15
  58. package/dist/bundlers/shared/generator-css/user-css.d.ts +1 -5
  59. package/dist/bundlers/shared/generator-css/user-layer-order.d.ts +1 -10
  60. package/dist/bundlers/shared/generator-css/validate.d.ts +1 -7
  61. package/dist/bundlers/shared/generator-css.d.ts +1 -9
  62. package/dist/bundlers/shared/run-tasks.d.ts +1 -3
  63. package/dist/bundlers/shared/runtime-class-set.d.ts +1 -1
  64. package/dist/bundlers/shared/source-candidates/collector.d.ts +1 -8
  65. package/dist/bundlers/shared/source-candidates/scan-root.d.ts +1 -12
  66. package/dist/bundlers/shared/source-candidates/script.d.ts +1 -1
  67. package/dist/bundlers/shared/source-candidates/snapshot.d.ts +1 -19
  68. package/dist/bundlers/shared/source-candidates/source-priority.d.ts +1 -1
  69. package/dist/bundlers/shared/source-candidates/store.d.ts +1 -2
  70. package/dist/bundlers/shared/source-candidates/types-and-cache.d.ts +1 -75
  71. package/dist/bundlers/shared/source-candidates/views.d.ts +1 -12
  72. package/dist/bundlers/shared/source-candidates.d.ts +1 -4
  73. package/dist/bundlers/shared/source-scan/css-entries.d.ts +1 -18
  74. package/dist/bundlers/shared/source-scan/dependencies.d.ts +1 -2
  75. package/dist/bundlers/shared/source-scan.d.ts +1 -16
  76. package/dist/bundlers/shared/static-config-content.d.ts +1 -5
  77. package/dist/bundlers/shared/style-handler-options.d.ts +1 -0
  78. package/dist/bundlers/shared/style-requests.d.ts +1 -5
  79. package/dist/bundlers/shared/v4-generation-core.d.ts +1 -21
  80. package/dist/bundlers/vite/css-finalizer/css-calc.d.ts +3 -0
  81. package/dist/bundlers/vite/css-finalizer/final-assets.d.ts +3 -0
  82. package/dist/bundlers/vite/css-handler-options.d.ts +1 -1
  83. package/dist/bundlers/vite/frameworks/generic/web.d.ts +2 -1
  84. package/dist/bundlers/vite/generate-bundle/configured-css-sources.d.ts +1 -1
  85. package/dist/bundlers/vite/generate-bundle/css-transform-decision-plan.d.ts +1 -0
  86. package/dist/bundlers/vite/generate-bundle/css-transform-task.d.ts +2 -2
  87. package/dist/bundlers/vite/generate-bundle/finalize/sync-processed-css.d.ts +4 -0
  88. package/dist/bundlers/vite/generate-bundle/framework-style-memory.d.ts +4 -0
  89. package/dist/bundlers/vite/generate-bundle/js-handler-options.d.ts +7 -0
  90. package/dist/bundlers/vite/generate-bundle/remembered-css.d.ts +1 -0
  91. package/dist/bundlers/vite/generate-bundle/rollup-assets.d.ts +1 -1
  92. package/dist/bundlers/vite/generate-bundle/runtime.d.ts +3 -1
  93. package/dist/bundlers/vite/generate-bundle/sfc-style-source.d.ts +1 -1
  94. package/dist/bundlers/vite/generate-bundle/temporary-css-assets.d.ts +2 -2
  95. package/dist/bundlers/vite/generate-bundle/types.d.ts +1 -1
  96. package/dist/bundlers/vite/generate-bundle/web-css-module.d.ts +1 -0
  97. package/dist/bundlers/vite/plugin-hook.d.ts +3 -0
  98. package/dist/bundlers/vite/processed-css-assets/cleanup.d.ts +1 -1
  99. package/dist/bundlers/vite/processed-css-assets/coverage.d.ts +1 -10
  100. package/dist/bundlers/vite/processed-css-assets/injection-plan.d.ts +1 -4
  101. package/dist/bundlers/vite/processed-css-assets/markers-imports.d.ts +4 -7
  102. package/dist/bundlers/vite/processed-css-assets/scoped-tailwind-noise.d.ts +1 -13
  103. package/dist/bundlers/vite/shared/create-framework-plugins-runtime.d.ts +3 -1
  104. package/dist/bundlers/vite/shared/framework-module-candidates.d.ts +3 -2
  105. package/dist/bundlers/vite/shared/framework-runtime-configuration.d.ts +3 -0
  106. package/dist/bundlers/vite/shared/framework-runtime-options.d.ts +9 -0
  107. package/dist/bundlers/vite/shared/framework-runtime-utils.d.ts +6 -5
  108. package/dist/bundlers/vite/shared/framework-source-scan-session.d.ts +3 -3
  109. package/dist/bundlers/vite/shared/framework-strategy.d.ts +3 -1
  110. package/dist/bundlers/vite/shared/hmr-source.d.ts +2 -0
  111. package/dist/bundlers/vite/source-candidates/scan-root.d.ts +1 -1
  112. package/dist/bundlers/vite/source-candidates.d.ts +1 -1
  113. package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-assets/pipeline-helpers/finalize.d.ts +1 -1
  114. package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-assets/pipeline-helpers/generated-css.d.ts +2 -7
  115. package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-assets/pipeline-helpers/preflight-runtime.d.ts +4 -8
  116. package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-assets/pipeline-helpers/sources.d.ts +3 -3
  117. package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-assets/pipeline-helpers/user-css-markers.d.ts +1 -1
  118. package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-assets/pipeline-helpers/user-css.d.ts +2 -7
  119. package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-assets/processed-css-task.d.ts +2 -1
  120. package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-assets/source-candidate-cache.d.ts +1 -1
  121. package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-loaders.d.ts +1 -1
  122. package/dist/bundlers/webpack/BaseUnifiedPlugin/v5.d.ts +1 -1
  123. package/dist/bundlers/webpack/loaders/runtime-registry.d.ts +1 -1
  124. package/dist/bundlers/webpack/loaders/watch-dependencies.d.ts +6 -0
  125. package/dist/bundlers/webpack/shared/create-framework-plugin/plugin.d.ts +1 -1
  126. package/dist/cache/index.d.ts +4 -4
  127. package/dist/cache/source.d.ts +29 -0
  128. package/dist/{cache-CBJFB1HN.cjs → cache-CzvIGfwS.cjs} +1 -0
  129. package/dist/compiler/composition.d.ts +1 -1
  130. package/dist/compiler/index.d.ts +2 -0
  131. package/dist/compiler/runtime-affecting-signature/js.d.ts +1 -0
  132. package/dist/compiler/semantic-css.d.ts +1 -1
  133. package/dist/compiler/types.d.ts +1 -1
  134. package/dist/{compiler-D_vxtEdw.js → compiler-CThodfGH.js} +3105 -3065
  135. package/dist/{compiler-Cc0JXfbw.cjs → compiler-DkGY5Nmh.cjs} +22414 -45557
  136. package/dist/core/compiler/generation-cache.d.ts +4 -2
  137. package/dist/core/compiler/transforms.d.ts +1 -1
  138. package/dist/core/compiler/types.d.ts +1 -1
  139. package/dist/core.cjs +10 -10
  140. package/dist/core.d.ts +2 -2
  141. package/dist/core.js +5 -5
  142. package/dist/css-cleanup-B6FUJC3z.cjs +1 -0
  143. package/dist/{css-imports-FRZwX4P6.cjs → css-imports-R_RDMjPz.cjs} +7 -22
  144. package/dist/css-macro/auto.d.ts +1 -1
  145. package/dist/css-macro/postcss.cjs +1 -1
  146. package/dist/css-macro.cjs +3 -3
  147. package/dist/css-macro.js +2 -2
  148. package/dist/{defaults-CKx-4LcW.js → defaults-AQuvJS-h.js} +4 -2
  149. package/dist/{defaults-CiGsr8Xq.cjs → defaults-CyX5iO9y.cjs} +4 -2
  150. package/dist/defaults.cjs +1 -1
  151. package/dist/defaults.js +1 -1
  152. package/dist/final-css-cleanup-B6FUJC3z.cjs +1 -0
  153. package/dist/{final-css-cleanup-B0HUBtiE.js → final-css-cleanup-BOzhuhGz.js} +3 -127
  154. package/dist/framework/index.d.ts +1 -1
  155. package/dist/framework/platform.d.ts +2 -2
  156. package/dist/framework.cjs +1 -1
  157. package/dist/{v4-generation-core-DJBWZ_D0.cjs → generated-css-marker-jMNbQHpy.cjs} +717 -1730
  158. package/dist/generation/candidates.d.ts +1 -0
  159. package/dist/generation/class-selectors.d.ts +4 -0
  160. package/dist/generation/config-directive.d.ts +1 -0
  161. package/dist/generation/directives/fallback.d.ts +1 -0
  162. package/dist/generation/directives.d.ts +1 -0
  163. package/dist/generation/framework-css-composition.d.ts +1 -0
  164. package/dist/generation/framework-postcss.d.ts +25 -0
  165. package/dist/generation/framework-user-css.d.ts +5 -0
  166. package/dist/generation/generation-helpers/preflight.d.ts +19 -0
  167. package/dist/generation/generation-helpers/results.d.ts +23 -0
  168. package/dist/generation/generation-helpers/runtime-isolation.d.ts +30 -0
  169. package/dist/generation/generation-helpers/source-order.d.ts +1 -0
  170. package/dist/generation/generation-helpers.d.ts +4 -0
  171. package/dist/generation/index.d.ts +9 -0
  172. package/dist/generation/legacy-compat.d.ts +12 -0
  173. package/dist/generation/legacy-selectors.d.ts +1 -0
  174. package/dist/generation/legacy-units.d.ts +1 -0
  175. package/dist/generation/local-imports.d.ts +1 -0
  176. package/dist/generation/markers.d.ts +1 -0
  177. package/dist/generation/output-import-shell.d.ts +1 -0
  178. package/dist/generation/pipeline/context.d.ts +60 -0
  179. package/dist/generation/pipeline/deferred-output.d.ts +3 -0
  180. package/dist/generation/pipeline/execution.d.ts +3 -0
  181. package/dist/generation/pipeline/fallback-output.d.ts +3 -0
  182. package/dist/generation/pipeline/ordered-output.d.ts +3 -0
  183. package/dist/generation/pipeline/preparation.d.ts +19 -0
  184. package/dist/generation/pipeline.d.ts +2 -0
  185. package/dist/generation/result-helpers.d.ts +6 -0
  186. package/dist/generation/scoped-rules.d.ts +1 -0
  187. package/dist/generation/service.d.ts +20 -0
  188. package/dist/generation/source-files.d.ts +21 -0
  189. package/dist/generation/source-resolver/apply-reference.d.ts +10 -0
  190. package/dist/generation/source-resolver/config.d.ts +7 -0
  191. package/dist/generation/source-resolver/configuration.d.ts +33 -0
  192. package/dist/generation/source-resolver/matching.d.ts +3 -0
  193. package/dist/generation/source-resolver/metadata.d.ts +28 -0
  194. package/dist/generation/source-resolver/postcss-source.d.ts +14 -0
  195. package/dist/generation/source-resolver/resolve-source.d.ts +4 -0
  196. package/dist/generation/source-resolver/resolve-sources.d.ts +5 -0
  197. package/dist/generation/source-resolver/single-source.d.ts +16 -0
  198. package/dist/generation/source-resolver/source-entries.d.ts +3 -0
  199. package/dist/generation/source-resolver/source-matching.d.ts +5 -0
  200. package/dist/generation/source-resolver/types.d.ts +22 -0
  201. package/dist/generation/source-resolver.d.ts +7 -0
  202. package/dist/generation/style-options.d.ts +8 -0
  203. package/dist/generation/style-requests.d.ts +5 -0
  204. package/dist/generation/types.d.ts +65 -0
  205. package/dist/generation/user-css/apply-only.d.ts +5 -0
  206. package/dist/generation/user-css/at-rules.d.ts +1 -0
  207. package/dist/generation/user-css/compile-functions.d.ts +3 -0
  208. package/dist/generation/user-css/generated-cleanup.d.ts +1 -0
  209. package/dist/generation/user-css/source-fragments.d.ts +1 -0
  210. package/dist/generation/user-css/transform.d.ts +1 -0
  211. package/dist/generation/user-css/user-layers.d.ts +1 -0
  212. package/dist/generation/user-css.d.ts +5 -0
  213. package/dist/generation/user-layer-order.d.ts +1 -0
  214. package/dist/generation/validate.d.ts +7 -0
  215. package/dist/generator-CxauQbx3.cjs +1868 -0
  216. package/dist/generator-oKZ5mCJ5.js +1637 -0
  217. package/dist/generator.cjs +10 -4
  218. package/dist/generator.js +1 -1
  219. package/dist/{gulp-Dnt8VL8D.cjs → gulp-CVvBpIlq.cjs} +27 -26
  220. package/dist/{gulp-B1mPTMqw.js → gulp-DhddVxGA.js} +6 -5
  221. package/dist/gulp.cjs +1 -1
  222. package/dist/gulp.js +1 -1
  223. package/dist/{hmr-timing-qpX410qU.cjs → hmr-timing-DfMbbZ1E.cjs} +13 -13
  224. package/dist/{hmr-timing-wAt0LavM.js → hmr-timing-xPpat-km.js} +601 -1548
  225. package/dist/index.cjs +7 -7
  226. package/dist/index.d.ts +1 -1
  227. package/dist/index.js +5 -5
  228. package/dist/js/ModuleGraph.d.ts +3 -1
  229. package/dist/js/NodePathWalker.d.ts +1 -1
  230. package/dist/js/babel/analyze.d.ts +6 -0
  231. package/dist/js/babel.d.ts +1 -2
  232. package/dist/js/fast-path/analysis.d.ts +14 -0
  233. package/dist/js/fast-path/oxc.d.ts +1 -1
  234. package/dist/js/node-path-walker/export-handlers.d.ts +1 -1
  235. package/dist/js/node-path-walker/import-tokens.d.ts +1 -1
  236. package/dist/js/oxc-parser.d.ts +4 -0
  237. package/dist/pipeline-helpers-zMPmp5F3.cjs +516 -0
  238. package/dist/postcss-html-transform.cjs +1 -1
  239. package/dist/postcss.cjs +3 -2
  240. package/dist/postcss.d.ts +1 -1
  241. package/dist/postcss.js +3 -2
  242. package/dist/presets.cjs +3 -3
  243. package/dist/presets.js +2 -2
  244. package/dist/project-sources/candidates/collector.d.ts +8 -0
  245. package/dist/project-sources/candidates/scan-root.d.ts +12 -0
  246. package/dist/project-sources/candidates/script.d.ts +1 -0
  247. package/dist/project-sources/candidates/snapshot.d.ts +19 -0
  248. package/dist/project-sources/candidates/source-priority.d.ts +1 -0
  249. package/dist/project-sources/candidates/store.d.ts +2 -0
  250. package/dist/project-sources/candidates/types-and-cache.d.ts +75 -0
  251. package/dist/project-sources/candidates/views.d.ts +12 -0
  252. package/dist/project-sources/candidates.d.ts +4 -0
  253. package/dist/project-sources/css-entries.d.ts +18 -0
  254. package/dist/project-sources/dependencies.d.ts +2 -0
  255. package/dist/project-sources/index.d.ts +16 -0
  256. package/dist/project-sources/static-config-content.d.ts +5 -0
  257. package/dist/reset.cjs +1 -1
  258. package/dist/{rolldown-runtime-Ctb5zv51.cjs → rolldown-runtime-fg3euq-1.cjs} +7 -0
  259. package/dist/rspack.cjs +4 -4
  260. package/dist/rspack.js +2 -2
  261. package/dist/{runtime-state-XYSycuGu.cjs → runtime-state-BOzuVoKl.cjs} +1 -1
  262. package/dist/{scoped-generator-CtetE5rm.cjs → scoped-generator-BIZ7N_J-.cjs} +51 -36
  263. package/dist/{scoped-generator-BqxVxNp9.js → scoped-generator-DlQrVbuC.js} +49 -33
  264. package/dist/{source-candidate-scan-signature-Lm32zKVA.js → source-candidate-scan-signature-BjVQYL-C.js} +22 -5
  265. package/dist/{source-candidate-scan-signature-BDGB9nKZ.cjs → source-candidate-scan-signature-nG-rg809.cjs} +34 -5
  266. package/dist/style-injector/internal.d.ts +118 -8
  267. package/dist/style-injector/options.d.ts +6 -2
  268. package/dist/tailwindcss/miniprogram.d.ts +1 -1
  269. package/dist/tailwindcss/remove-unsupported-css.d.ts +1 -1
  270. package/dist/tailwindcss/runtime-options.d.ts +5 -0
  271. package/dist/tailwindcss/source-scan/inline-source.d.ts +1 -7
  272. package/dist/tailwindcss/source-scan.d.ts +3 -32
  273. package/dist/tailwindcss/v4/css-sources.d.ts +1 -1
  274. package/dist/tailwindcss/v4/preflight.d.ts +1 -4
  275. package/dist/tailwindcss/v4/rpx-theme-warning.d.ts +4 -0
  276. package/dist/tailwindcss/v4-engine/design-system.d.ts +1 -1
  277. package/dist/tailwindcss/v4-engine/generator/incremental-cache.d.ts +2 -3
  278. package/dist/tailwindcss/v4-engine/generator/native-session.d.ts +1 -1
  279. package/dist/tailwindcss/v4-engine/generator/rpx-candidates.d.ts +1 -6
  280. package/dist/tailwindcss/v4-engine/generator/scan-sources.d.ts +5 -2
  281. package/dist/tailwindcss/v4-engine/generator/style-context.d.ts +1 -3
  282. package/dist/tailwindcss/v4-engine/miniprogram.d.ts +3 -7
  283. package/dist/tailwindcss/v4-engine/source.d.ts +1 -1
  284. package/dist/tailwindcss/v4-engine/types.d.ts +3 -1
  285. package/dist/{tailwindcss-9e6ZuYgS.cjs → tailwindcss-U3KIUegn.cjs} +66 -271
  286. package/dist/{tailwindcss-DTV9MoJT.js → tailwindcss-kSd0ykiX.js} +73 -251
  287. package/dist/{transform-BbbZvFQq.js → transform-BAon9ykq.js} +35 -20
  288. package/dist/{transform-D21f8Dm8.cjs → transform-D2KFdA3C.cjs} +41 -26
  289. package/dist/types/index.d.ts +4 -3
  290. package/dist/types/user-defined-options/general.d.ts +1 -1
  291. package/dist/uni-app-x/border-preflight.d.ts +1 -2
  292. package/dist/uni-app-x/component-local-style.d.ts +4 -1
  293. package/dist/uni-app-x/transform.d.ts +4 -2
  294. package/dist/uni-app-x/vite/author-apply.d.ts +3 -1
  295. package/dist/uni-app-x/vite/native-hmr.d.ts +1 -1
  296. package/dist/uni-app-x/vite/style-result.d.ts +5 -0
  297. package/dist/utils/run-tasks.d.ts +3 -0
  298. package/dist/vite/web.cjs +1 -1
  299. package/dist/vite/web.js +1 -1
  300. package/dist/{vite-CaH7WjX6.cjs → vite-BxW0qd7J.cjs} +677 -1315
  301. package/dist/{vite-CuYntLZP.js → vite-D-RGkmOE.js} +541 -1173
  302. package/dist/vite-web.d.ts +1 -1
  303. package/dist/vite.cjs +1 -1
  304. package/dist/vite.js +1 -1
  305. package/dist/{watch-dependencies-GbC14Rlt.cjs → watch-dependencies-C1so1whD.cjs} +14 -1
  306. package/dist/weapp-tw-css-generation-loader.cjs +4 -3
  307. package/dist/weapp-tw-css-import-rewrite-loader.cjs +34 -29
  308. package/dist/weapp-tw-runtime-classset-loader.cjs +5 -18
  309. package/dist/{web-CdXkY_VO.js → web--kA4HUTm.js} +149 -211
  310. package/dist/{web-CYs2Kcaa.cjs → web-Y-H6I1k6.cjs} +226 -286
  311. package/dist/{webpack-BnCSOUuu.js → webpack-BB-kw4Qr.js} +38 -450
  312. package/dist/{webpack-BQNnpQPC.cjs → webpack-DxrWatNB.cjs} +97 -97
  313. package/dist/webpack.cjs +1 -1
  314. package/dist/webpack.js +1 -1
  315. package/dist/wxml/utils/codegen/legacy-visitor.d.ts +2 -2
  316. package/dist/wxml/utils/custom-template.d.ts +1 -1
  317. package/package.json +16 -13
  318. package/dist/final-css-cleanup-DSjczga3.cjs +0 -138
  319. package/dist/generator-BdSIvFEO.cjs +0 -3905
  320. package/dist/generator-CAOx1Sqm.js +0 -3357
  321. package/dist/pipeline-helpers-BHagysZY.cjs +0 -971
  322. package/dist/tailwindcss/v4-engine/css-import.d.ts +0 -14
  323. package/dist/uni-app-x/style-asset/source-parser.d.ts +0 -2
@@ -1,8 +1,8 @@
1
- const require_generator = require("./generator-BdSIvFEO.cjs");
2
- const require_compiler = require("./compiler-Cc0JXfbw.cjs");
3
- const require_vite = require("./vite-CaH7WjX6.cjs");
4
- let _tailwindcss_mangle_engine = require("@tailwindcss-mangle/engine");
5
- let _weapp_tailwindcss_postcss = require("@weapp-tailwindcss/postcss");
1
+ const require_generator = require("./generator-CxauQbx3.cjs");
2
+ const require_compiler = require("./compiler-DkGY5Nmh.cjs");
3
+ const require_vite = require("./vite-BxW0qd7J.cjs");
4
+ let _weapp_tailwindcss_engine = require("@weapp-tailwindcss/engine");
5
+ let _weapp_tailwindcss_postcss_transform = require("@weapp-tailwindcss/postcss/transform");
6
6
  let _vue_compiler_dom = require("@vue/compiler-dom");
7
7
  //#region src/uni-app-x/component-local-style-binding.ts
8
8
  const OPTIONS_CLASS_SECTIONS = /* @__PURE__ */ new Set(["computed", "methods"]);
@@ -121,7 +121,7 @@ function createAlias(fileId, utility, index) {
121
121
  return `wtu-${createStableHash(`${fileId}:${utility}`)}-${index.toString(36)}`;
122
122
  }
123
123
  function serializeApplyUtility(utility, options = {}) {
124
- const importantSuffix = options.native ? _weapp_tailwindcss_postcss.UNI_APP_X_IMPORTANT_APPLY_MARKER : options.web ? "!" : "#{'!'}";
124
+ const importantSuffix = options.native ? _weapp_tailwindcss_postcss_transform.UNI_APP_X_IMPORTANT_APPLY_MARKER : options.web ? "!" : "#{'!'}";
125
125
  if (utility.startsWith("!") && !utility.startsWith("\\!")) return `${utility.slice(1)}${importantSuffix}`;
126
126
  if (!utility.endsWith("!") || utility.endsWith("\\!")) return utility;
127
127
  return `${utility.slice(0, -1)}${importantSuffix}`;
@@ -173,37 +173,47 @@ function hasTopLevelVariant(candidate) {
173
173
  return false;
174
174
  }
175
175
  var UniAppXComponentLocalStyleCollector = class {
176
- constructor(fileId, runtimeSet) {
176
+ constructor(fileId, runtimeSet, includeVariants = false, preserveClassNames = false) {
177
177
  this.fileId = fileId;
178
178
  this.runtimeSet = runtimeSet;
179
+ this.includeVariants = includeVariants;
180
+ this.preserveClassNames = preserveClassNames;
179
181
  require_generator._defineProperty(this, "aliasByUtility", /* @__PURE__ */ new Map());
180
182
  require_generator._defineProperty(this, "aliasByLookup", /* @__PURE__ */ new Map());
181
183
  require_generator._defineProperty(this, "classBindingNames", /* @__PURE__ */ new Set());
182
184
  require_generator._defineProperty(this, "deepUtilities", /* @__PURE__ */ new Set());
183
185
  }
186
+ runtimeClassName(utility) {
187
+ return this.preserveClassNames ? utility : require_compiler.replaceWxml(utility);
188
+ }
184
189
  ensureAlias(utility) {
185
190
  const cached = this.aliasByUtility.get(utility);
186
191
  if (cached) return cached;
187
192
  const alias = createAlias(this.fileId, utility, this.aliasByUtility.size);
188
193
  this.aliasByUtility.set(utility, alias);
189
- this.aliasByLookup.set(utility, alias);
190
- this.aliasByLookup.set(require_compiler.replaceWxml(utility), alias);
194
+ const replacement = hasTopLevelVariant(utility) ? `${this.runtimeClassName(utility)} ${alias}` : alias;
195
+ this.aliasByLookup.set(utility, replacement);
196
+ this.aliasByLookup.set(require_compiler.replaceWxml(utility), replacement);
191
197
  return alias;
192
198
  }
193
199
  rewriteLiteral(literal) {
194
- const candidates = (0, _tailwindcss_mangle_engine.splitCandidateTokens)(literal);
200
+ const candidates = (0, _weapp_tailwindcss_engine.splitCandidateTokens)(literal);
195
201
  if (candidates.length === 0) return literal;
196
202
  let rewritten = literal;
197
203
  for (const candidate of candidates) {
198
204
  if (!isRuntimeCandidate(candidate, this.runtimeSet)) continue;
199
- rewritten = rewritten.replace(candidate, hasTopLevelVariant(candidate) ? require_compiler.replaceWxml(candidate) : this.ensureAlias(candidate));
205
+ if (!this.includeVariants && hasTopLevelVariant(candidate)) rewritten = rewritten.replace(candidate, this.runtimeClassName(candidate));
206
+ else {
207
+ this.ensureAlias(candidate);
208
+ rewritten = rewritten.replace(candidate, this.aliasByLookup.get(candidate));
209
+ }
200
210
  }
201
211
  return rewritten;
202
212
  }
203
213
  collectAndRewriteStaticClass(literal, options = {}) {
204
214
  const rewritten = this.rewriteLiteral(literal);
205
215
  if (options.deep) {
206
- for (const candidate of (0, _tailwindcss_mangle_engine.splitCandidateTokens)(literal)) if (this.aliasByUtility.has(candidate)) this.deepUtilities.add(candidate);
216
+ for (const candidate of (0, _weapp_tailwindcss_engine.splitCandidateTokens)(literal)) if (this.aliasByUtility.has(candidate)) this.deepUtilities.add(candidate);
207
217
  }
208
218
  return rewritten;
209
219
  }
@@ -219,11 +229,11 @@ var UniAppXComponentLocalStyleCollector = class {
219
229
  const analysis = require_compiler.analyzeSource(ast, {}, void 0, false);
220
230
  for (const path of analysis.targetPaths) {
221
231
  const { literal } = extractLiteralValue(path);
222
- const candidates = (0, _tailwindcss_mangle_engine.splitCandidateTokens)(literal);
232
+ const candidates = (0, _weapp_tailwindcss_engine.splitCandidateTokens)(literal);
223
233
  const classContext = options.wrapExpression || require_compiler.isClassContextLiteralPath(path) || isClassBindingLiteralPath(path, classBindingRoots);
224
234
  for (const candidate of candidates) {
225
235
  if (!candidate || !classContext || !isRuntimeCandidate(candidate, this.runtimeSet)) continue;
226
- if (!hasTopLevelVariant(candidate)) {
236
+ if (this.includeVariants || !hasTopLevelVariant(candidate)) {
227
237
  this.ensureAlias(candidate);
228
238
  if (options.deep) this.deepUtilities.add(candidate);
229
239
  }
@@ -246,7 +256,7 @@ var UniAppXComponentLocalStyleCollector = class {
246
256
  for (const path of analysis.targetPaths) {
247
257
  if (!options.wrapExpression && !require_compiler.isClassContextLiteralPath(path) && !isClassBindingLiteralPath(path, classBindingRoots)) continue;
248
258
  const { literal, offset } = extractLiteralValue(path);
249
- const candidates = (0, _tailwindcss_mangle_engine.splitCandidateTokens)(literal);
259
+ const candidates = (0, _weapp_tailwindcss_engine.splitCandidateTokens)(literal);
250
260
  if (candidates.length === 0) continue;
251
261
  let rewritten = literal;
252
262
  let mutated = false;
@@ -307,11 +317,14 @@ function traverse(node, visitor) {
307
317
  for (const child of node.children) if (child && typeof child === "object" && "type" in child) traverse(child, visitor);
308
318
  }
309
319
  }
310
- function updateStaticAttribute(ms, prop, offset, content = prop.value?.content) {
320
+ function updateStaticAttribute(ms, prop, offset, preserveClassNames) {
311
321
  if (!prop.value) return;
312
322
  const start = offset + prop.value.loc.start.offset + 1;
313
323
  const end = offset + prop.value.loc.end.offset - 1;
314
- if (start < end) ms.update(start, end, require_compiler.replaceWxml(content ?? ""));
324
+ if (start < end) {
325
+ const content = prop.value.content;
326
+ ms.update(start, end, preserveClassNames ? content : require_compiler.replaceWxml(content));
327
+ }
315
328
  }
316
329
  function updateStaticAttributeWithLocalStyle(ms, prop, offset, collector, deep, content = prop.value?.content) {
317
330
  if (!prop.value) return;
@@ -438,14 +451,16 @@ function parseSfc(code) {
438
451
  function transformUVue(code, id, jsHandler, runtimeSet, options = {}) {
439
452
  if (!UVUE_NVUE_RE.test(id)) return;
440
453
  const { customAttributesEntities, disabledDefaultTemplateHandler = false } = options;
454
+ const isWeb = Boolean(options.onWebLocalStyleRules);
455
+ const jsRuntimeSet = isWeb ? /* @__PURE__ */ new Set() : runtimeSet;
441
456
  const matchCustomAttribute = require_compiler.createAttributeMatcher(customAttributesEntities);
442
457
  const ms = new require_compiler.MagicString(code);
443
458
  const descriptor = parseSfc(code);
444
459
  if (options.native || options.onWebLocalStyleRules) for (const style of descriptor.styles) {
445
- const normalized = (0, _weapp_tailwindcss_postcss.normalizeUniAppXImportantApplyForSass)(style.content);
460
+ const normalized = (0, _weapp_tailwindcss_postcss_transform.normalizeUniAppXImportantApplyForSass)(style.content);
446
461
  if (normalized !== style.content) ms.update(style.start, style.end, normalized);
447
462
  }
448
- const localStyleCollector = shouldEnableLocalStyle(id, options) ? new UniAppXComponentLocalStyleCollector(id, runtimeSet) : void 0;
463
+ const localStyleCollector = shouldEnableLocalStyle(id, options) ? new UniAppXComponentLocalStyleCollector(id, runtimeSet, options.localStyleVariants, isWeb) : void 0;
449
464
  if (descriptor.errors.length === 0) {
450
465
  if (descriptor.template?.ast) {
451
466
  const templateOffset = descriptor.template.start;
@@ -456,14 +471,14 @@ function transformUVue(code, id, jsHandler, runtimeSet, options = {}) {
456
471
  const { shouldHandle, shouldHandleCustom, shouldHandleDefault } = shouldHandleAttribute(tag, prop.name, disabledDefaultTemplateHandler, matchCustomAttribute);
457
472
  if (!shouldHandle) continue;
458
473
  if (localStyleCollector) updateStaticAttributeWithLocalStyle(ms, prop, templateOffset, localStyleCollector, options.webCustomAttributeDeep === true && shouldHandleCustom);
459
- else updateStaticAttribute(ms, prop, templateOffset);
474
+ else updateStaticAttribute(ms, prop, templateOffset, isWeb);
460
475
  if (shouldHandleDefault) continue;
461
476
  } else if (prop.type === _vue_compiler_dom.NodeTypes.DIRECTIVE && prop.name === "bind" && prop.arg?.type === _vue_compiler_dom.NodeTypes.SIMPLE_EXPRESSION && prop.arg.isStatic) {
462
477
  const attrName = prop.arg.content;
463
478
  const { shouldHandle, shouldHandleCustom } = shouldHandleAttribute(tag, attrName, disabledDefaultTemplateHandler, matchCustomAttribute);
464
479
  if (!shouldHandle) continue;
465
- if (localStyleCollector) updateDirectiveExpressionWithLocalStyle(ms, prop, templateOffset, jsHandler, localStyleCollector, options.webCustomAttributeDeep === true && shouldHandleCustom, runtimeSet);
466
- else updateDirectiveExpression(ms, prop, templateOffset, jsHandler, runtimeSet);
480
+ if (localStyleCollector) updateDirectiveExpressionWithLocalStyle(ms, prop, templateOffset, jsHandler, localStyleCollector, options.webCustomAttributeDeep === true && shouldHandleCustom, jsRuntimeSet);
481
+ else updateDirectiveExpression(ms, prop, templateOffset, jsHandler, jsRuntimeSet);
467
482
  }
468
483
  if (options.borderPreflight && require_vite.shouldInjectBorderPreflight(node, options.borderPreflightRange)) require_vite.injectBorderPreflightClass(ms, node, templateOffset);
469
484
  });
@@ -471,19 +486,19 @@ function transformUVue(code, id, jsHandler, runtimeSet, options = {}) {
471
486
  }
472
487
  if (descriptor.script && descriptor.script.start < descriptor.script.end) {
473
488
  localStyleCollector?.collectRuntimeClasses(descriptor.script.content);
474
- const { code } = jsHandler(descriptor.script.content, runtimeSet ?? /* @__PURE__ */ new Set(), defaultCreateJsHandlerOptions);
489
+ const { code } = jsHandler(descriptor.script.content, jsRuntimeSet ?? /* @__PURE__ */ new Set(), defaultCreateJsHandlerOptions);
475
490
  ms.update(descriptor.script.start, descriptor.script.end, localStyleCollector ? localStyleCollector.rewriteTransformedCode(code) : code);
476
491
  }
477
492
  if (descriptor.scriptSetup && descriptor.scriptSetup.start < descriptor.scriptSetup.end) {
478
493
  localStyleCollector?.collectRuntimeClasses(descriptor.scriptSetup.content);
479
- const { code } = jsHandler(descriptor.scriptSetup.content, runtimeSet ?? /* @__PURE__ */ new Set(), defaultCreateJsHandlerOptions);
494
+ const { code } = jsHandler(descriptor.scriptSetup.content, jsRuntimeSet ?? /* @__PURE__ */ new Set(), defaultCreateJsHandlerOptions);
480
495
  ms.update(descriptor.scriptSetup.start, descriptor.scriptSetup.end, localStyleCollector ? localStyleCollector.rewriteTransformedCode(code) : code);
481
496
  }
482
- const scopedStyle = descriptor.styles.findLast((style) => STYLE_SCOPED_RE.test(style.attrs) && (!options.onWebLocalStyleRules || !require_vite.isUniAppXStyleSourceEmpty(style.content)));
497
+ const scopedStyle = [...descriptor.styles].reverse().find((style) => STYLE_SCOPED_RE.test(style.attrs) && (!options.onWebLocalStyleRules || !(0, _weapp_tailwindcss_postcss_transform.isUniAppXStyleSourceEmpty)(style.content)));
483
498
  if (localStyleCollector && options.onWebLocalStyleRules && descriptor.template) options.onWebLocalStyleRules(localStyleCollector.hasStyles() ? localStyleCollector.toStyleRules({ web: true }) : "");
484
499
  if (localStyleCollector?.hasStyles() && scopedStyle && !options.onWebLocalStyleRules) {
485
500
  const separator = scopedStyle.content.endsWith("\n") ? "" : "\n";
486
- ms.appendLeft(scopedStyle.end, `${separator}${localStyleCollector.toStyleRules({ native: options.native })}`);
501
+ ms.appendLeft(scopedStyle.end, `${separator}${localStyleCollector.toStyleRules({ native: options.native === true })}`);
487
502
  } else if (localStyleCollector?.hasStyles() && !scopedStyle) ms.append(`\n${localStyleCollector.toStyleBlock({
488
503
  native: options.native || Boolean(options.onWebLocalStyleRules),
489
504
  web: Boolean(options.onWebLocalStyleRules)
@@ -1,5 +1,5 @@
1
1
  import type { ParseError, ParserOptions } from '@babel/parser';
2
- import type { CssPreflightOptions, Document, IStyleHandlerOptions, Result as PostcssResult, Root } from '@weapp-tailwindcss/postcss';
2
+ import type { CssPreflightOptions, IStyleHandlerOptions, StyleHandler } from '@weapp-tailwindcss/postcss/transform';
3
3
  import type { SourceMap } from 'magic-string';
4
4
  import type { ICreateCacheReturnType } from '../cache/index.js';
5
5
  import type { ItemOrItemArray } from './base.js';
@@ -9,7 +9,7 @@ import type { LengthUnitsRuntimeOptions, TailwindContentTokenReport, Tailwindcss
9
9
  export type { TailwindCssOptions, TailwindCssRuntimeOptions, UniAppXComponentLocalStylesOptions, UniAppXUserDefinedOptions, UserDefinedOptions, };
10
10
  export type { AppType, IArbitraryValues, ICustomAttributes, ICustomAttributesEntities, IUnocssCompatibilityOptions } from './shared.js';
11
11
  export type { CssPreflightOptions, IStyleHandlerOptions, ItemOrItemArray };
12
- export type { WeappTailwindcssStyleInjectorOptions } from '../style-injector/internal.js';
12
+ export type { WeappTailwindcssStyleInjectorOptions } from '../style-injector/options.js';
13
13
  export type RequiredDefined<T> = {
14
14
  [K in keyof T]-?: Exclude<T[K], undefined>;
15
15
  };
@@ -83,9 +83,10 @@ export interface ITemplateHandlerOptions extends ICommonReplaceOptions {
83
83
  filename?: string | undefined;
84
84
  }
85
85
  export interface InternalUserDefinedOptions extends InternalUserDefinedOptionsBase {
86
+ customAttributesEntities: ICustomAttributesEntities;
86
87
  supportCustomLengthUnits: LengthUnitsRuntimeOptions | boolean;
87
88
  templateHandler: (rawSource: string, options?: ITemplateHandlerOptions) => Promise<string>;
88
- styleHandler: (rawSource: string, options?: IStyleHandlerOptions) => Promise<PostcssResult<Root | Document>>;
89
+ styleHandler: StyleHandler;
89
90
  jsHandler: JsHandler;
90
91
  escapeMap: Record<string, string>;
91
92
  customReplaceDictionary: Record<string, string>;
@@ -2,7 +2,7 @@ import type { ParserOptions } from '@babel/parser';
2
2
  import type { CssOptions, LoadedPostcssOptions } from '@weapp-tailwindcss/postcss/types';
3
3
  import type { ICreateCacheReturnType } from '../../cache/index.js';
4
4
  import type { WeappTailwindcssGeneratorUserOptions } from '../../generator/index.js';
5
- import type { WeappTailwindcssStyleInjectorUserOptions } from '../../style-injector/internal.js';
5
+ import type { WeappTailwindcssStyleInjectorUserOptions } from '../../style-injector/options.js';
6
6
  import type { AppType, IArbitraryValues, IUnocssCompatibilityOptions } from '../shared.js';
7
7
  import type { LengthUnitsRuntimeOptions, TailwindCssRuntimeOptions } from '../../tailwindcss/runtime-types.js';
8
8
  export interface CssSourceTraceOptions {
@@ -1,9 +1,8 @@
1
1
  import type { ElementNode } from '@vue/compiler-dom';
2
2
  import type MagicString from 'magic-string';
3
3
  import type { CssPreflightOptions } from '../types/index.js';
4
+ export { createUniAppXBorderPreflight, hoistUniAppXBorderPreflight, } from '@weapp-tailwindcss/postcss/transform';
4
5
  export declare const BORDER_PREFLIGHT_CLASS = "weapp-tw-border";
5
- export declare function hoistUniAppXBorderPreflight(css: string): string;
6
- export declare function createUniAppXBorderPreflight(options?: CssPreflightOptions): string | undefined;
7
6
  export declare function resolveUniAppXBorderPreflightOptions(options: {
8
7
  cssPreflight?: CssPreflightOptions;
9
8
  cssPreflightRange?: 'all';
@@ -6,11 +6,14 @@ export declare function hasTopLevelVariant(candidate: string): boolean;
6
6
  export declare class UniAppXComponentLocalStyleCollector {
7
7
  private readonly fileId;
8
8
  private readonly runtimeSet?;
9
+ private readonly includeVariants;
10
+ private readonly preserveClassNames;
9
11
  private aliasByUtility;
10
12
  private aliasByLookup;
11
13
  private classBindingNames;
12
14
  private deepUtilities;
13
- constructor(fileId: string, runtimeSet?: Set<string> | undefined);
15
+ constructor(fileId: string, runtimeSet?: Set<string> | undefined, includeVariants?: boolean, preserveClassNames?: boolean);
16
+ private runtimeClassName;
14
17
  private ensureAlias;
15
18
  private rewriteLiteral;
16
19
  collectAndRewriteStaticClass(literal: string, options?: RewriteCodeOptions): string;
@@ -1,5 +1,6 @@
1
- import type { TransformResult } from 'vite';
1
+ import type { SourceDescription } from 'rollup';
2
2
  import type { ICustomAttributesEntities, JsHandler } from '../types/index.js';
3
+ type UniAppXTransformResult = Pick<SourceDescription, 'code' | 'map'>;
3
4
  interface TransformUVueOptions {
4
5
  componentMatcher?: (id: string) => boolean;
5
6
  customAttributesEntities?: ICustomAttributesEntities;
@@ -8,10 +9,11 @@ interface TransformUVueOptions {
8
9
  enablePageLocalStyle?: boolean;
9
10
  pageMatcher?: (id: string) => boolean;
10
11
  native?: boolean;
12
+ localStyleVariants?: boolean;
11
13
  borderPreflight?: string;
12
14
  borderPreflightRange?: 'all';
13
15
  webCustomAttributeDeep?: boolean;
14
16
  onWebLocalStyleRules?: (rules: string) => void;
15
17
  }
16
- export declare function transformUVue(code: string, id: string, jsHandler: JsHandler, runtimeSet?: Set<string>, options?: TransformUVueOptions): undefined | TransformResult;
18
+ export declare function transformUVue(code: string, id: string, jsHandler: JsHandler, runtimeSet?: Set<string>, options?: TransformUVueOptions): undefined | UniAppXTransformResult;
17
19
  export {};
@@ -1 +1,3 @@
1
- export declare function retainUniAppXAuthorApplyCss(generatedCss: string, authorCss: string): string;
1
+ export declare function retainUniAppXAuthorApplyCss(generatedCss: string, authorCss: string, options?: {
2
+ preserveRuntimeProperties?: boolean;
3
+ }): string;
@@ -3,7 +3,7 @@ interface CreateUniAppXNativeHmrReloaderOptions {
3
3
  ensureRuntimeClassSet: (force?: boolean) => Promise<Set<string>>;
4
4
  isNativeAppBuildTarget: (id?: string) => boolean;
5
5
  localStyleModuleIds: Iterable<string>;
6
- syncSourceCandidates?: (ctx: HmrContext) => Promise<void>;
6
+ syncSourceCandidates?: ((ctx: HmrContext) => Promise<void>) | undefined;
7
7
  tailwindRootCssModuleIds: Iterable<string>;
8
8
  viteProcessedCssSourceFiles: Iterable<string>;
9
9
  }
@@ -0,0 +1,5 @@
1
+ import type { postcss } from '@weapp-tailwindcss/postcss/transform';
2
+ export declare function createUniAppXStyleResult(id: string, result: postcss.Result): Promise<{
3
+ code: string;
4
+ map: string;
5
+ }>;
@@ -0,0 +1,3 @@
1
+ export declare function runWithConcurrency<T>(factories: Array<() => Promise<T>>, limit?: number): Promise<T[]>;
2
+ export declare function resolveTaskConcurrency(defaultLimit?: number): number;
3
+ export declare function pushConcurrentTaskFactories(queue: Array<Promise<void>>, factories: Array<() => Promise<unknown>>, limit?: number): void;
package/dist/vite/web.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_web = require("../web-CYs2Kcaa.cjs");
2
+ const require_web = require("../web-Y-H6I1k6.cjs");
3
3
  //#region src/vite-web.ts
4
4
  /**
5
5
  * 创建面向普通 Vite Web 项目的 Tailwind 插件。
package/dist/vite/web.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createGenericWebVitePlugins } from "../web-CdXkY_VO.js";
1
+ import { t as createGenericWebVitePlugins } from "../web--kA4HUTm.js";
2
2
  //#region src/vite-web.ts
3
3
  /**
4
4
  * 创建面向普通 Vite Web 项目的 Tailwind 插件。