@poveste/vendors 0.14.0 → 0.16.0

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 (266) hide show
  1. package/README.md +15 -1
  2. package/iconify.d.ts +5 -0
  3. package/iconify.js +5 -0
  4. package/package.json +39 -33
  5. package/pinia.d.ts +5 -0
  6. package/pinia.js +5 -0
  7. package/vue-router.d.ts +5 -0
  8. package/vue-router.js +5 -0
  9. package/vue-use.d.ts +5 -0
  10. package/vue-use.js +5 -0
  11. package/vue.d.ts +5 -0
  12. package/vue.js +9 -0
  13. package/dist/client/b-floating-vue.d.ts +0 -3
  14. package/dist/client/b-floating-vue.js +0 -3377
  15. package/dist/client/b-iconify.d.ts +0 -1
  16. package/dist/client/b-iconify.js +0 -1883
  17. package/dist/client/b-pinia.d.ts +0 -1
  18. package/dist/client/b-pinia.js +0 -2069
  19. package/dist/client/b-scroll.d.ts +0 -2
  20. package/dist/client/b-scroll.js +0 -7
  21. package/dist/client/b-vue-router.d.ts +0 -1
  22. package/dist/client/b-vue-router.js +0 -2773
  23. package/dist/client/b-vue-use.d.ts +0 -1
  24. package/dist/client/b-vue-use.js +0 -10644
  25. package/dist/client/b-vue.d.ts +0 -1
  26. package/dist/client/b-vue.js +0 -1
  27. package/dist/client/index.js +0 -169
  28. package/dist/client/node_modules/@babel/helper-string-parser/package.json +0 -31
  29. package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  30. package/dist/client/node_modules/@babel/parser/package.json +0 -50
  31. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -262
  32. package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +0 -2796
  33. package/dist/client/node_modules/@babel/types/lib/index.d.ts +0 -3616
  34. package/dist/client/node_modules/@babel/types/package.json +0 -39
  35. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +0 -535
  36. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +0 -535
  37. package/dist/client/node_modules/@floating-ui/core/package.json +0 -63
  38. package/dist/client/node_modules/@floating-ui/dom/index.d.ts +0 -1
  39. package/dist/client/node_modules/@floating-ui/dom/package.json +0 -74
  40. package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +0 -31
  41. package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +0 -11
  42. package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +0 -2
  43. package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +0 -128
  44. package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +0 -6
  45. package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +0 -2
  46. package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +0 -12
  47. package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +0 -1
  48. package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +0 -4
  49. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +0 -2
  50. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +0 -1
  51. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +0 -2
  52. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +0 -1
  53. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +0 -1
  54. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +0 -2
  55. package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +0 -1
  56. package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +0 -3
  57. package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +0 -1
  58. package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +0 -2
  59. package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +0 -7
  60. package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +0 -2
  61. package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +0 -1
  62. package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +0 -17
  63. package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +0 -3
  64. package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +0 -2
  65. package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +0 -1
  66. package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +0 -1
  67. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +0 -105
  68. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +0 -105
  69. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +0 -47
  70. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +0 -47
  71. package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +0 -47
  72. package/dist/client/node_modules/@floating-ui/utils/dom/package.json +0 -6
  73. package/dist/client/node_modules/@floating-ui/utils/package.json +0 -70
  74. package/dist/client/node_modules/@iconify/types/package.json +0 -23
  75. package/dist/client/node_modules/@iconify/types/provider.d.ts +0 -44
  76. package/dist/client/node_modules/@iconify/types/types.d.ts +0 -272
  77. package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +0 -475
  78. package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +0 -114
  79. package/dist/client/node_modules/@iconify/vue/offline/package.json +0 -14
  80. package/dist/client/node_modules/@iconify/vue/package.json +0 -65
  81. package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +0 -64
  82. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +0 -5
  83. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +0 -50
  84. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +0 -11
  85. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +0 -16
  86. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +0 -9
  87. package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +0 -265
  88. package/dist/client/node_modules/@types/web-bluetooth/package.json +0 -46
  89. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +0 -1120
  90. package/dist/client/node_modules/@vue/compiler-core/package.json +0 -58
  91. package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +0 -45
  92. package/dist/client/node_modules/@vue/compiler-dom/package.json +0 -57
  93. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +0 -487
  94. package/dist/client/node_modules/@vue/compiler-sfc/package.json +0 -67
  95. package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +0 -4
  96. package/dist/client/node_modules/@vue/compiler-ssr/package.json +0 -34
  97. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +0 -108
  98. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +0 -1
  99. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +0 -78
  100. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +0 -5
  101. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +0 -180
  102. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +0 -6
  103. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +0 -4
  104. package/dist/client/node_modules/@vue/devtools-api/lib/esm/const.d.ts +0 -2
  105. package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +0 -15
  106. package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +0 -18
  107. package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +0 -47
  108. package/dist/client/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +0 -20
  109. package/dist/client/node_modules/@vue/devtools-api/lib/esm/time.d.ts +0 -2
  110. package/dist/client/node_modules/@vue/devtools-api/package.json +0 -37
  111. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +0 -757
  112. package/dist/client/node_modules/@vue/reactivity/package.json +0 -55
  113. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +0 -1868
  114. package/dist/client/node_modules/@vue/runtime-core/package.json +0 -52
  115. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +0 -1452
  116. package/dist/client/node_modules/@vue/runtime-dom/package.json +0 -60
  117. package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +0 -65
  118. package/dist/client/node_modules/@vue/server-renderer/package.json +0 -53
  119. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +0 -334
  120. package/dist/client/node_modules/@vue/shared/package.json +0 -47
  121. package/dist/client/node_modules/@vueuse/core/dist/index.d.ts +0 -5748
  122. package/dist/client/node_modules/@vueuse/core/dist/metadata.d.mts +0 -1
  123. package/dist/client/node_modules/@vueuse/core/package.json +0 -49
  124. package/dist/client/node_modules/@vueuse/metadata/dist/index.d.ts +0 -81
  125. package/dist/client/node_modules/@vueuse/metadata/package.json +0 -38
  126. package/dist/client/node_modules/@vueuse/shared/dist/index.d.ts +0 -1511
  127. package/dist/client/node_modules/@vueuse/shared/package.json +0 -42
  128. package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +0 -75
  129. package/dist/client/node_modules/compute-scroll-into-view/package.json +0 -82
  130. package/dist/client/node_modules/csstype/index.d.ts +0 -22569
  131. package/dist/client/node_modules/csstype/package.json +0 -70
  132. package/dist/client/node_modules/entities/decode.d.ts +0 -3
  133. package/dist/client/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
  134. package/dist/client/node_modules/entities/dist/commonjs/decode.d.ts +0 -205
  135. package/dist/client/node_modules/entities/dist/commonjs/encode.d.ts +0 -22
  136. package/dist/client/node_modules/entities/dist/commonjs/escape.d.ts +0 -46
  137. package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
  138. package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
  139. package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -3
  140. package/dist/client/node_modules/entities/dist/commonjs/index.d.ts +0 -96
  141. package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +0 -17
  142. package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +0 -2
  143. package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +0 -32
  144. package/dist/client/node_modules/entities/dist/commonjs/package.json +0 -3
  145. package/dist/client/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
  146. package/dist/client/node_modules/entities/dist/esm/decode.d.ts +0 -205
  147. package/dist/client/node_modules/entities/dist/esm/encode.d.ts +0 -22
  148. package/dist/client/node_modules/entities/dist/esm/escape.d.ts +0 -46
  149. package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
  150. package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
  151. package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -3
  152. package/dist/client/node_modules/entities/dist/esm/index.d.ts +0 -96
  153. package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +0 -17
  154. package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +0 -2
  155. package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +0 -32
  156. package/dist/client/node_modules/entities/dist/esm/package.json +0 -3
  157. package/dist/client/node_modules/entities/escape.d.ts +0 -3
  158. package/dist/client/node_modules/entities/package.json +0 -120
  159. package/dist/client/node_modules/estree-walker/dist/esm/package.json +0 -1
  160. package/dist/client/node_modules/estree-walker/package.json +0 -37
  161. package/dist/client/node_modules/estree-walker/src/package.json +0 -1
  162. package/dist/client/node_modules/estree-walker/types/async.d.ts +0 -53
  163. package/dist/client/node_modules/estree-walker/types/index.d.ts +0 -56
  164. package/dist/client/node_modules/estree-walker/types/sync.d.ts +0 -53
  165. package/dist/client/node_modules/estree-walker/types/walker.d.ts +0 -37
  166. package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +0 -398
  167. package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +0 -398
  168. package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +0 -495
  169. package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +0 -474
  170. package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +0 -37
  171. package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +0 -9
  172. package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +0 -414
  173. package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +0 -6
  174. package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +0 -398
  175. package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +0 -67
  176. package/dist/client/node_modules/floating-vue/dist/config.d.ts +0 -11
  177. package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +0 -13
  178. package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +0 -27
  179. package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +0 -1
  180. package/dist/client/node_modules/floating-vue/dist/index.d.ts +0 -2239
  181. package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +0 -1
  182. package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +0 -2
  183. package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +0 -14
  184. package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +0 -1
  185. package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +0 -1
  186. package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +0 -3
  187. package/dist/client/node_modules/floating-vue/package.json +0 -80
  188. package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +0 -289
  189. package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +0 -289
  190. package/dist/client/node_modules/magic-string/package.json +0 -67
  191. package/dist/client/node_modules/nanoid/async/index.d.ts +0 -56
  192. package/dist/client/node_modules/nanoid/async/package.json +0 -12
  193. package/dist/client/node_modules/nanoid/index.d.ts +0 -91
  194. package/dist/client/node_modules/nanoid/non-secure/index.d.ts +0 -33
  195. package/dist/client/node_modules/nanoid/non-secure/package.json +0 -6
  196. package/dist/client/node_modules/nanoid/package.json +0 -89
  197. package/dist/client/node_modules/nanoid/url-alphabet/package.json +0 -6
  198. package/dist/client/node_modules/picocolors/package.json +0 -25
  199. package/dist/client/node_modules/picocolors/picocolors.d.ts +0 -5
  200. package/dist/client/node_modules/picocolors/types.d.ts +0 -51
  201. package/dist/client/node_modules/pinia/dist/pinia.d.ts +0 -1074
  202. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +0 -22
  203. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
  204. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
  205. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
  206. package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +0 -47
  207. package/dist/client/node_modules/pinia/package.json +0 -96
  208. package/dist/client/node_modules/postcss/lib/at-rule.d.ts +0 -139
  209. package/dist/client/node_modules/postcss/lib/comment.d.ts +0 -67
  210. package/dist/client/node_modules/postcss/lib/container.d.ts +0 -474
  211. package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +0 -247
  212. package/dist/client/node_modules/postcss/lib/declaration.d.ts +0 -150
  213. package/dist/client/node_modules/postcss/lib/document.d.ts +0 -68
  214. package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +0 -9
  215. package/dist/client/node_modules/postcss/lib/input.d.ts +0 -226
  216. package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +0 -189
  217. package/dist/client/node_modules/postcss/lib/list.d.ts +0 -60
  218. package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +0 -45
  219. package/dist/client/node_modules/postcss/lib/node.d.ts +0 -555
  220. package/dist/client/node_modules/postcss/lib/parse.d.ts +0 -9
  221. package/dist/client/node_modules/postcss/lib/postcss.d.mts +0 -66
  222. package/dist/client/node_modules/postcss/lib/postcss.d.ts +0 -464
  223. package/dist/client/node_modules/postcss/lib/previous-map.d.ts +0 -80
  224. package/dist/client/node_modules/postcss/lib/processor.d.ts +0 -114
  225. package/dist/client/node_modules/postcss/lib/result.d.ts +0 -204
  226. package/dist/client/node_modules/postcss/lib/root.d.ts +0 -86
  227. package/dist/client/node_modules/postcss/lib/rule.d.ts +0 -126
  228. package/dist/client/node_modules/postcss/lib/stringifier.d.ts +0 -45
  229. package/dist/client/node_modules/postcss/lib/stringify.d.ts +0 -9
  230. package/dist/client/node_modules/postcss/lib/warning.d.ts +0 -146
  231. package/dist/client/node_modules/postcss/package.json +0 -88
  232. package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +0 -79
  233. package/dist/client/node_modules/scroll-into-view-if-needed/package.json +0 -80
  234. package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
  235. package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
  236. package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +0 -1
  237. package/dist/client/node_modules/source-map-js/package.json +0 -71
  238. package/dist/client/node_modules/source-map-js/source-map.d.ts +0 -104
  239. package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +0 -1
  240. package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +0 -1
  241. package/dist/client/node_modules/vue/compiler-sfc/package.json +0 -4
  242. package/dist/client/node_modules/vue/dist/vue.d.mts +0 -7
  243. package/dist/client/node_modules/vue/dist/vue.d.ts +0 -7
  244. package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +0 -25
  245. package/dist/client/node_modules/vue/jsx-runtime/package.json +0 -5
  246. package/dist/client/node_modules/vue/jsx.d.ts +0 -22
  247. package/dist/client/node_modules/vue/package.json +0 -112
  248. package/dist/client/node_modules/vue/server-renderer/index.d.mts +0 -1
  249. package/dist/client/node_modules/vue/server-renderer/index.d.ts +0 -1
  250. package/dist/client/node_modules/vue/server-renderer/package.json +0 -4
  251. package/dist/client/node_modules/vue-resize/package.json +0 -77
  252. package/dist/client/node_modules/vue-router/dist/experimental/index.d.mts +0 -38
  253. package/dist/client/node_modules/vue-router/dist/router-CWoNjPRp.d.mts +0 -1973
  254. package/dist/client/node_modules/vue-router/dist/vue-router.d.mts +0 -361
  255. package/dist/client/node_modules/vue-router/package.json +0 -153
  256. package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +0 -22
  257. package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +0 -4
  258. package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +0 -1
  259. package/dist/client/vue.runtime.esm-bundler.js +0 -13564
  260. package/src/client/b-floating-vue.ts +0 -5
  261. package/src/client/b-iconify.ts +0 -1
  262. package/src/client/b-pinia.ts +0 -1
  263. package/src/client/b-scroll.ts +0 -4
  264. package/src/client/b-vue-router.ts +0 -1
  265. package/src/client/b-vue-use.ts +0 -1
  266. package/src/client/b-vue.ts +0 -1
@@ -1,204 +0,0 @@
1
- import {
2
- Document,
3
- Node,
4
- Plugin,
5
- ProcessOptions,
6
- Root,
7
- SourceMap,
8
- TransformCallback,
9
- Warning,
10
- WarningOptions
11
- } from './postcss.js'
12
- import Processor from './processor.js'
13
-
14
- declare namespace Result {
15
- export interface Message {
16
- [others: string]: any
17
-
18
- /**
19
- * Source PostCSS plugin name.
20
- */
21
- plugin?: string
22
-
23
- /**
24
- * Message type.
25
- */
26
- type: string
27
- }
28
-
29
- export interface ResultOptions extends ProcessOptions {
30
- /**
31
- * The CSS node that was the source of the warning.
32
- */
33
- node?: Node
34
-
35
- /**
36
- * Name of plugin that created this warning. `Result#warn` will fill it
37
- * automatically with `Plugin#postcssPlugin` value.
38
- */
39
- plugin?: string
40
- }
41
-
42
- export { Result_ as default }
43
- }
44
-
45
- /**
46
- * Provides the result of the PostCSS transformations.
47
- *
48
- * A Result instance is returned by `LazyResult#then`
49
- * or `Root#toResult` methods.
50
- *
51
- * ```js
52
- * postcss([autoprefixer]).process(css).then(result => {
53
- * console.log(result.css)
54
- * })
55
- * ```
56
- *
57
- * ```js
58
- * const result2 = postcss.parse(css).toResult()
59
- * ```
60
- */
61
- declare class Result_<RootNode = Document | Root> {
62
- /**
63
- * A CSS string representing of `Result#root`.
64
- *
65
- * ```js
66
- * postcss.parse('a{}').toResult().css //=> "a{}"
67
- * ```
68
- */
69
- css: string
70
-
71
- /**
72
- * Last runned PostCSS plugin.
73
- */
74
- lastPlugin: Plugin | TransformCallback
75
-
76
- /**
77
- * An instance of `SourceMapGenerator` class from the `source-map` library,
78
- * representing changes to the `Result#root` instance.
79
- *
80
- * ```js
81
- * result.map.toJSON() //=> { version: 3, file: 'a.css', … }
82
- * ```
83
- *
84
- * ```js
85
- * if (result.map) {
86
- * fs.writeFileSync(result.opts.to + '.map', result.map.toString())
87
- * }
88
- * ```
89
- */
90
- map: SourceMap
91
-
92
- /**
93
- * Contains messages from plugins (e.g., warnings or custom messages).
94
- * Each message should have type and plugin properties.
95
- *
96
- * ```js
97
- * AtRule: {
98
- * import: (atRule, { result }) {
99
- * const importedFile = parseImport(atRule)
100
- * result.messages.push({
101
- * type: 'dependency',
102
- * plugin: 'postcss-import',
103
- * file: importedFile,
104
- * parent: result.opts.from
105
- * })
106
- * }
107
- * }
108
- * ```
109
- */
110
- messages: Result.Message[]
111
-
112
- /**
113
- * Options from the `Processor#process` or `Root#toResult` call
114
- * that produced this Result instance.]
115
- *
116
- * ```js
117
- * root.toResult(opts).opts === opts
118
- * ```
119
- */
120
- opts: Result.ResultOptions
121
-
122
- /**
123
- * The Processor instance used for this transformation.
124
- *
125
- * ```js
126
- * for (const plugin of result.processor.plugins) {
127
- * if (plugin.postcssPlugin === 'postcss-bad') {
128
- * throw 'postcss-good is incompatible with postcss-bad'
129
- * }
130
- * })
131
- * ```
132
- */
133
- processor: Processor
134
-
135
- /**
136
- * Root node after all transformations.
137
- *
138
- * ```js
139
- * root.toResult().root === root
140
- * ```
141
- */
142
- root: RootNode
143
-
144
- /**
145
- * An alias for the `Result#css` property.
146
- * Use it with syntaxes that generate non-CSS output.
147
- *
148
- * ```js
149
- * result.css === result.content
150
- * ```
151
- */
152
- get content(): string
153
-
154
- /**
155
- * @param processor Processor used for this transformation.
156
- * @param root Root node after all transformations.
157
- * @param opts Options from the `Processor#process` or `Root#toResult`.
158
- */
159
- constructor(processor: Processor, root: RootNode, opts: Result.ResultOptions)
160
-
161
- /**
162
- * Returns for `Result#css` content.
163
- *
164
- * ```js
165
- * result + '' === result.css
166
- * ```
167
- *
168
- * @return String representing of `Result#root`.
169
- */
170
- toString(): string
171
-
172
- /**
173
- * Creates an instance of `Warning` and adds it to `Result#messages`.
174
- *
175
- * ```js
176
- * if (decl.important) {
177
- * result.warn('Avoid !important', { node: decl, word: '!important' })
178
- * }
179
- * ```
180
- *
181
- * @param text Warning message.
182
- * @param opts Warning options.
183
- * @return Created warning.
184
- */
185
- warn(message: string, options?: WarningOptions): Warning
186
-
187
- /**
188
- * Returns warnings from plugins. Filters `Warning` instances
189
- * from `Result#messages`.
190
- *
191
- * ```js
192
- * result.warnings().forEach(warn => {
193
- * console.warn(warn.toString())
194
- * })
195
- * ```
196
- *
197
- * @return Warnings from plugins.
198
- */
199
- warnings(): Warning[]
200
- }
201
-
202
- declare class Result<RootNode = Document | Root> extends Result_<RootNode> {}
203
-
204
- export = Result
@@ -1,86 +0,0 @@
1
- import Container, { ContainerProps } from './container.js'
2
- import Document from './document.js'
3
- import { ProcessOptions } from './postcss.js'
4
- import Result from './result.js'
5
-
6
- declare namespace Root {
7
- export interface RootRaws extends Record<string, any> {
8
- /**
9
- * The space symbols after the last child to the end of file.
10
- */
11
- after?: string
12
-
13
- /**
14
- * Non-CSS code after `Root`, when `Root` is inside `Document`.
15
- *
16
- * **Experimental:** some aspects of this node could change within minor
17
- * or patch version releases.
18
- */
19
- codeAfter?: string
20
-
21
- /**
22
- * Non-CSS code before `Root`, when `Root` is inside `Document`.
23
- *
24
- * **Experimental:** some aspects of this node could change within minor
25
- * or patch version releases.
26
- */
27
- codeBefore?: string
28
-
29
- /**
30
- * Is the last child has an (optional) semicolon.
31
- */
32
- semicolon?: boolean
33
- }
34
-
35
- export interface RootProps extends ContainerProps {
36
- /**
37
- * Information used to generate byte-to-byte equal node string
38
- * as it was in the origin input.
39
- * */
40
- raws?: RootRaws
41
- }
42
-
43
- export { Root_ as default }
44
- }
45
-
46
- /**
47
- * Represents a CSS file and contains all its parsed nodes.
48
- *
49
- * ```js
50
- * const root = postcss.parse('a{color:black} b{z-index:2}')
51
- * root.type //=> 'root'
52
- * root.nodes.length //=> 2
53
- * ```
54
- */
55
- declare class Root_ extends Container {
56
- nodes: NonNullable<Container['nodes']>
57
- parent: Document | undefined
58
- raws: Root.RootRaws
59
- type: 'root'
60
-
61
- constructor(defaults?: Root.RootProps)
62
-
63
- assign(overrides: object | Root.RootProps): this
64
- clone(overrides?: Partial<Root.RootProps>): this
65
- cloneAfter(overrides?: Partial<Root.RootProps>): this
66
- cloneBefore(overrides?: Partial<Root.RootProps>): this
67
-
68
- /**
69
- * Returns a `Result` instance representing the root’s CSS.
70
- *
71
- * ```js
72
- * const root1 = postcss.parse(css1, { from: 'a.css' })
73
- * const root2 = postcss.parse(css2, { from: 'b.css' })
74
- * root1.append(root2)
75
- * const result = root1.toResult({ to: 'all.css', map: true })
76
- * ```
77
- *
78
- * @param options Options.
79
- * @return Result with current root’s CSS.
80
- */
81
- toResult(options?: ProcessOptions): Result
82
- }
83
-
84
- declare class Root extends Root_ {}
85
-
86
- export = Root
@@ -1,126 +0,0 @@
1
- import Container, {
2
- ContainerProps,
3
- ContainerWithChildren
4
- } from './container.js'
5
-
6
- declare namespace Rule {
7
- export interface RuleRaws extends Record<string, unknown> {
8
- /**
9
- * The space symbols after the last child of the node to the end of the node.
10
- */
11
- after?: string
12
-
13
- /**
14
- * The space symbols before the node. It also stores `*`
15
- * and `_` symbols before the declaration (IE hack).
16
- */
17
- before?: string
18
-
19
- /**
20
- * The symbols between the selector and `{` for rules.
21
- */
22
- between?: string
23
-
24
- /**
25
- * Contains the text of the semicolon after this rule.
26
- */
27
- ownSemicolon?: string
28
-
29
- /**
30
- * The rule’s selector with comments.
31
- */
32
- selector?: {
33
- raw: string
34
- value: string
35
- }
36
-
37
- /**
38
- * Contains `true` if the last child has an (optional) semicolon.
39
- */
40
- semicolon?: boolean
41
- }
42
-
43
- export type RuleProps = {
44
- /** Information used to generate byte-to-byte equal node string as it was in the origin input. */
45
- raws?: RuleRaws
46
- } & (
47
- | {
48
- /** Selector or selectors of the rule. */
49
- selector: string
50
- selectors?: never
51
- }
52
- | {
53
- selector?: never
54
- /** Selectors of the rule represented as an array of strings. */
55
- selectors: readonly string[]
56
- }
57
- ) &
58
- ContainerProps
59
-
60
- export { Rule_ as default }
61
- }
62
-
63
- /**
64
- * Represents a CSS rule: a selector followed by a declaration block.
65
- *
66
- * ```js
67
- * Once (root, { Rule }) {
68
- * let a = new Rule({ selector: 'a' })
69
- * a.append(…)
70
- * root.append(a)
71
- * }
72
- * ```
73
- *
74
- * ```js
75
- * const root = postcss.parse('a{}')
76
- * const rule = root.first
77
- * rule.type //=> 'rule'
78
- * rule.toString() //=> 'a{}'
79
- * ```
80
- */
81
- declare class Rule_ extends Container {
82
- nodes: NonNullable<Container['nodes']>
83
- parent: ContainerWithChildren | undefined
84
- raws: Rule.RuleRaws
85
- type: 'rule'
86
- /**
87
- * The rule’s full selector represented as a string.
88
- *
89
- * ```js
90
- * const root = postcss.parse('a, b { }')
91
- * const rule = root.first
92
- * rule.selector //=> 'a, b'
93
- * ```
94
- */
95
- get selector(): string
96
-
97
- set selector(value: string)
98
- /**
99
- * An array containing the rule’s individual selectors.
100
- * Groups of selectors are split at commas.
101
- *
102
- * ```js
103
- * const root = postcss.parse('a, b { }')
104
- * const rule = root.first
105
- *
106
- * rule.selector //=> 'a, b'
107
- * rule.selectors //=> ['a', 'b']
108
- *
109
- * rule.selectors = ['a', 'strong']
110
- * rule.selector //=> 'a, strong'
111
- * ```
112
- */
113
- get selectors(): string[]
114
-
115
- set selectors(values: string[])
116
-
117
- constructor(defaults?: Rule.RuleProps)
118
- assign(overrides: object | Rule.RuleProps): this
119
- clone(overrides?: Partial<Rule.RuleProps>): this
120
- cloneAfter(overrides?: Partial<Rule.RuleProps>): this
121
- cloneBefore(overrides?: Partial<Rule.RuleProps>): this
122
- }
123
-
124
- declare class Rule extends Rule_ {}
125
-
126
- export = Rule
@@ -1,45 +0,0 @@
1
- import {
2
- AnyNode,
3
- AtRule,
4
- Builder,
5
- Comment,
6
- Container,
7
- Declaration,
8
- Document,
9
- Root,
10
- Rule
11
- } from './postcss.js'
12
-
13
- declare namespace Stringifier {
14
- export { Stringifier_ as default }
15
- }
16
-
17
- declare class Stringifier_ {
18
- builder: Builder
19
- constructor(builder: Builder)
20
- atrule(node: AtRule, semicolon?: boolean): void
21
- beforeAfter(node: AnyNode, detect: 'after' | 'before'): string
22
- block(node: AnyNode, start: string): void
23
- body(node: Container): void
24
- comment(node: Comment): void
25
- decl(node: Declaration, semicolon?: boolean): void
26
- document(node: Document): void
27
- raw(node: AnyNode, own: null | string, detect?: string): boolean | string
28
- rawBeforeClose(root: Root): string | undefined
29
- rawBeforeComment(root: Root, node: Comment): string | undefined
30
- rawBeforeDecl(root: Root, node: Declaration): string | undefined
31
- rawBeforeOpen(root: Root): string | undefined
32
- rawBeforeRule(root: Root): string | undefined
33
- rawColon(root: Root): string | undefined
34
- rawEmptyBody(root: Root): string | undefined
35
- rawIndent(root: Root): string | undefined
36
- rawSemicolon(root: Root): boolean | undefined
37
- rawValue(node: AnyNode, prop: string): number | string
38
- root(node: Root): void
39
- rule(node: Rule): void
40
- stringify(node: AnyNode, semicolon?: boolean): void
41
- }
42
-
43
- declare class Stringifier extends Stringifier_ {}
44
-
45
- export = Stringifier
@@ -1,9 +0,0 @@
1
- import { Stringifier } from './postcss.js'
2
-
3
- interface Stringify extends Stringifier {
4
- default: Stringify
5
- }
6
-
7
- declare let stringify: Stringify
8
-
9
- export = stringify
@@ -1,146 +0,0 @@
1
- import { RangePosition } from './css-syntax-error.js'
2
- import Node from './node.js'
3
-
4
- declare namespace Warning {
5
- export interface WarningOptions {
6
- /**
7
- * End position, exclusive, in CSS node string that caused the warning.
8
- */
9
- end?: RangePosition
10
-
11
- /**
12
- * End index, exclusive, in CSS node string that caused the warning.
13
- */
14
- endIndex?: number
15
-
16
- /**
17
- * Start index, inclusive, in CSS node string that caused the warning.
18
- */
19
- index?: number
20
-
21
- /**
22
- * CSS node that caused the warning.
23
- */
24
- node?: Node
25
-
26
- /**
27
- * Name of the plugin that created this warning. `Result#warn` fills
28
- * this property automatically.
29
- */
30
- plugin?: string
31
-
32
- /**
33
- * Start position, inclusive, in CSS node string that caused the warning.
34
- */
35
- start?: RangePosition
36
-
37
- /**
38
- * Word in CSS source that caused the warning.
39
- */
40
- word?: string
41
- }
42
-
43
- export { Warning_ as default }
44
- }
45
-
46
- /**
47
- * Represents a plugin’s warning. It can be created using `Node#warn`.
48
- *
49
- * ```js
50
- * if (decl.important) {
51
- * decl.warn(result, 'Avoid !important', { word: '!important' })
52
- * }
53
- * ```
54
- */
55
- declare class Warning_ {
56
- /**
57
- * Column for inclusive start position in the input file with this warning’s source.
58
- *
59
- * ```js
60
- * warning.column //=> 6
61
- * ```
62
- */
63
- column: number
64
-
65
- /**
66
- * Column for exclusive end position in the input file with this warning’s source.
67
- *
68
- * ```js
69
- * warning.endColumn //=> 4
70
- * ```
71
- */
72
- endColumn?: number
73
-
74
- /**
75
- * Line for exclusive end position in the input file with this warning’s source.
76
- *
77
- * ```js
78
- * warning.endLine //=> 6
79
- * ```
80
- */
81
- endLine?: number
82
-
83
- /**
84
- * Line for inclusive start position in the input file with this warning’s source.
85
- *
86
- * ```js
87
- * warning.line //=> 5
88
- * ```
89
- */
90
- line: number
91
-
92
- /**
93
- * Contains the CSS node that caused the warning.
94
- *
95
- * ```js
96
- * warning.node.toString() //=> 'color: white !important'
97
- * ```
98
- */
99
- node: Node
100
-
101
- /**
102
- * The name of the plugin that created this warning.
103
- * When you call `Node#warn` it will fill this property automatically.
104
- *
105
- * ```js
106
- * warning.plugin //=> 'postcss-important'
107
- * ```
108
- */
109
- plugin: string
110
-
111
- /**
112
- * The warning message.
113
- *
114
- * ```js
115
- * warning.text //=> 'Try to avoid !important'
116
- * ```
117
- */
118
- text: string
119
-
120
- /**
121
- * Type to filter warnings from `Result#messages`.
122
- * Always equal to `"warning"`.
123
- */
124
- type: 'warning'
125
-
126
- /**
127
- * @param text Warning message.
128
- * @param opts Warning options.
129
- */
130
- constructor(text: string, opts?: Warning.WarningOptions)
131
-
132
- /**
133
- * Returns a warning position and message.
134
- *
135
- * ```js
136
- * warning.toString() //=> 'postcss-lint:a.css:10:14: Avoid !important'
137
- * ```
138
- *
139
- * @return Warning position and message.
140
- */
141
- toString(): string
142
- }
143
-
144
- declare class Warning extends Warning_ {}
145
-
146
- export = Warning
@@ -1,88 +0,0 @@
1
- {
2
- "name": "postcss",
3
- "version": "8.5.28",
4
- "description": "Tool for transforming styles with JS plugins",
5
- "keywords": [
6
- "css",
7
- "manipulation",
8
- "parser",
9
- "postcss",
10
- "preprocessor",
11
- "rework",
12
- "source map",
13
- "transform",
14
- "transpiler"
15
- ],
16
- "homepage": "https://postcss.org/",
17
- "bugs": {
18
- "url": "https://github.com/postcss/postcss/issues"
19
- },
20
- "license": "MIT",
21
- "author": "Andrey Sitnik <andrey@sitnik.es>",
22
- "repository": "postcss/postcss",
23
- "funding": [
24
- {
25
- "type": "opencollective",
26
- "url": "https://opencollective.com/postcss/"
27
- },
28
- {
29
- "type": "tidelift",
30
- "url": "https://tidelift.com/funding/github/npm/postcss"
31
- },
32
- {
33
- "type": "github",
34
- "url": "https://github.com/sponsors/ai"
35
- }
36
- ],
37
- "main": "./lib/postcss.js",
38
- "browser": {
39
- "./lib/terminal-highlight": false,
40
- "source-map-js": false,
41
- "path": false,
42
- "url": false,
43
- "fs": false
44
- },
45
- "types": "./lib/postcss.d.ts",
46
- "exports": {
47
- ".": {
48
- "import": "./lib/postcss.mjs",
49
- "require": "./lib/postcss.js"
50
- },
51
- "./lib/at-rule": "./lib/at-rule.js",
52
- "./lib/comment": "./lib/comment.js",
53
- "./lib/container": "./lib/container.js",
54
- "./lib/css-syntax-error": "./lib/css-syntax-error.js",
55
- "./lib/declaration": "./lib/declaration.js",
56
- "./lib/fromJSON": "./lib/fromJSON.js",
57
- "./lib/input": "./lib/input.js",
58
- "./lib/lazy-result": "./lib/lazy-result.js",
59
- "./lib/no-work-result": "./lib/no-work-result.js",
60
- "./lib/list": "./lib/list.js",
61
- "./lib/map-generator": "./lib/map-generator.js",
62
- "./lib/node": "./lib/node.js",
63
- "./lib/parse": "./lib/parse.js",
64
- "./lib/parser": "./lib/parser.js",
65
- "./lib/postcss": "./lib/postcss.js",
66
- "./lib/previous-map": "./lib/previous-map.js",
67
- "./lib/processor": "./lib/processor.js",
68
- "./lib/result": "./lib/result.js",
69
- "./lib/root": "./lib/root.js",
70
- "./lib/rule": "./lib/rule.js",
71
- "./lib/stringifier": "./lib/stringifier.js",
72
- "./lib/stringify": "./lib/stringify.js",
73
- "./lib/symbols": "./lib/symbols.js",
74
- "./lib/terminal-highlight": "./lib/terminal-highlight.js",
75
- "./lib/tokenize": "./lib/tokenize.js",
76
- "./lib/warn-once": "./lib/warn-once.js",
77
- "./lib/warning": "./lib/warning.js",
78
- "./package.json": "./package.json"
79
- },
80
- "dependencies": {
81
- "nanoid": "^3.3.18",
82
- "picocolors": "^1.1.1",
83
- "source-map-js": "^1.2.1"
84
- },
85
- "engines": {
86
- "node": "^10 || ^12 || >=14"
87
- }
88
- }