@maizzle/framework 6.1.4 → 6.1.6

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 (216) hide show
  1. package/dist/build.d.ts +3 -4
  2. package/dist/build.d.ts.map +1 -1
  3. package/dist/build.js +1 -5
  4. package/dist/build.js.map +1 -1
  5. package/dist/components/Button.vue +1 -1
  6. package/dist/components/CodeBlock.vue +1 -1
  7. package/dist/components/CodeInline.vue +1 -1
  8. package/dist/components/Column.vue +1 -1
  9. package/dist/components/Container.vue +1 -1
  10. package/dist/components/Heading.vue +1 -1
  11. package/dist/components/Hr.vue +1 -1
  12. package/dist/components/Img.vue +1 -1
  13. package/dist/components/Layout.vue +1 -1
  14. package/dist/components/Link.vue +1 -1
  15. package/dist/components/QrCode.vue +1 -1
  16. package/dist/components/Row.vue +1 -1
  17. package/dist/components/Section.vue +1 -1
  18. package/dist/components/Text.vue +1 -1
  19. package/dist/components/utils.d.ts +10 -11
  20. package/dist/components/utils.d.ts.map +1 -1
  21. package/dist/composables/defineConfig.d.ts +1 -2
  22. package/dist/composables/defineConfig.d.ts.map +1 -1
  23. package/dist/composables/renderContext.d.ts +4 -5
  24. package/dist/composables/renderContext.d.ts.map +1 -1
  25. package/dist/composables/useBaseUrl.d.ts +1 -2
  26. package/dist/composables/useBaseUrl.d.ts.map +1 -1
  27. package/dist/composables/useConfig.d.ts +2 -3
  28. package/dist/composables/useConfig.d.ts.map +1 -1
  29. package/dist/composables/useCurrentTemplate.d.ts +2 -3
  30. package/dist/composables/useCurrentTemplate.d.ts.map +1 -1
  31. package/dist/composables/useDoctype.d.ts +1 -2
  32. package/dist/composables/useDoctype.d.ts.map +1 -1
  33. package/dist/composables/useEvent.d.ts +1 -2
  34. package/dist/composables/useEvent.d.ts.map +1 -1
  35. package/dist/composables/useFont.d.ts +3 -4
  36. package/dist/composables/useFont.d.ts.map +1 -1
  37. package/dist/composables/useOutlookFallback.d.ts +1 -2
  38. package/dist/composables/useOutlookFallback.d.ts.map +1 -1
  39. package/dist/composables/useOutputPath.d.ts +1 -2
  40. package/dist/composables/useOutputPath.d.ts.map +1 -1
  41. package/dist/composables/usePlaintext.d.ts +2 -3
  42. package/dist/composables/usePlaintext.d.ts.map +1 -1
  43. package/dist/composables/usePreheader.d.ts +2 -3
  44. package/dist/composables/usePreheader.d.ts.map +1 -1
  45. package/dist/composables/useTransformers.d.ts +1 -2
  46. package/dist/composables/useTransformers.d.ts.map +1 -1
  47. package/dist/composables/useUrlQuery.d.ts +1 -2
  48. package/dist/composables/useUrlQuery.d.ts.map +1 -1
  49. package/dist/config/defaults.d.ts +1 -2
  50. package/dist/config/defaults.d.ts.map +1 -1
  51. package/dist/config/index.d.ts +4 -4
  52. package/dist/config/index.d.ts.map +1 -1
  53. package/dist/events/index.d.ts +4 -5
  54. package/dist/events/index.d.ts.map +1 -1
  55. package/dist/index.d.ts +2 -1
  56. package/dist/index.js +2 -1
  57. package/dist/plaintext.d.ts +1 -2
  58. package/dist/plaintext.d.ts.map +1 -1
  59. package/dist/plugin.d.ts +1 -2
  60. package/dist/plugin.d.ts.map +1 -1
  61. package/dist/plugins/postcss/flattenGradients.d.ts +3 -3
  62. package/dist/plugins/postcss/flattenGradients.d.ts.map +1 -1
  63. package/dist/plugins/postcss/mergeMediaQueries.d.ts +1 -2
  64. package/dist/plugins/postcss/mergeMediaQueries.d.ts.map +1 -1
  65. package/dist/plugins/postcss/pruneVars.d.ts +2 -2
  66. package/dist/plugins/postcss/pruneVars.d.ts.map +1 -1
  67. package/dist/plugins/postcss/quoteFontFamilies.d.ts +2 -3
  68. package/dist/plugins/postcss/quoteFontFamilies.d.ts.map +1 -1
  69. package/dist/plugins/postcss/removeDeclarations.d.ts +4 -4
  70. package/dist/plugins/postcss/removeDeclarations.d.ts.map +1 -1
  71. package/dist/plugins/postcss/resolveMaizzleImports.d.ts +1 -2
  72. package/dist/plugins/postcss/resolveMaizzleImports.d.ts.map +1 -1
  73. package/dist/plugins/postcss/resolveProps.d.ts +2 -2
  74. package/dist/plugins/postcss/resolveProps.d.ts.map +1 -1
  75. package/dist/plugins/postcss/tailwindCleanup.d.ts +1 -2
  76. package/dist/plugins/postcss/tailwindCleanup.d.ts.map +1 -1
  77. package/dist/prepare.d.ts +2 -3
  78. package/dist/prepare.d.ts.map +1 -1
  79. package/dist/render/active.d.ts +2 -3
  80. package/dist/render/active.d.ts.map +1 -1
  81. package/dist/render/buildTemplate.d.ts +5 -6
  82. package/dist/render/buildTemplate.d.ts.map +1 -1
  83. package/dist/render/createRenderer.d.ts +4 -5
  84. package/dist/render/createRenderer.d.ts.map +1 -1
  85. package/dist/render/index.d.ts +3 -3
  86. package/dist/render/index.d.ts.map +1 -1
  87. package/dist/render/injectFonts.d.ts +1 -2
  88. package/dist/render/injectFonts.d.ts.map +1 -1
  89. package/dist/render/parallel/buildWorker.d.ts +3 -4
  90. package/dist/render/parallel/buildWorker.d.ts.map +1 -1
  91. package/dist/render/plugins/codeBlockExtract.d.ts +1 -2
  92. package/dist/render/plugins/codeBlockExtract.d.ts.map +1 -1
  93. package/dist/render/plugins/markdownExtract.d.ts +1 -2
  94. package/dist/render/plugins/markdownExtract.d.ts.map +1 -1
  95. package/dist/render/plugins/rawExtract.d.ts +1 -2
  96. package/dist/render/plugins/rawExtract.d.ts.map +1 -1
  97. package/dist/render/plugins/rowSourceLocation.d.ts +1 -2
  98. package/dist/render/plugins/rowSourceLocation.d.ts.map +1 -1
  99. package/dist/serve.d.ts +3 -4
  100. package/dist/serve.d.ts.map +1 -1
  101. package/dist/serve.js +46 -3
  102. package/dist/serve.js.map +1 -1
  103. package/dist/server/compatibility.d.ts +2 -3
  104. package/dist/server/compatibility.d.ts.map +1 -1
  105. package/dist/server/email.d.ts +2 -3
  106. package/dist/server/email.d.ts.map +1 -1
  107. package/dist/server/linter.d.ts +3 -4
  108. package/dist/server/linter.d.ts.map +1 -1
  109. package/dist/server/sfc-utils.d.ts +6 -7
  110. package/dist/server/sfc-utils.d.ts.map +1 -1
  111. package/dist/server/static.d.ts +10 -0
  112. package/dist/server/static.d.ts.map +1 -0
  113. package/dist/server/static.js +71 -0
  114. package/dist/server/static.js.map +1 -0
  115. package/dist/server/ui/.vite/deps/@lucide_vue.js +1 -1
  116. package/dist/server/ui/.vite/deps/@vueuse_core.js +1 -1
  117. package/dist/server/ui/.vite/deps/@vueuse_shared.js +1 -1
  118. package/dist/server/ui/.vite/deps/_metadata.json +15 -15
  119. package/dist/server/ui/.vite/deps/reka-ui.js +1 -2
  120. package/dist/server/ui/.vite/deps/reka-ui.js.map +1 -1
  121. package/dist/server/ui/.vite/deps/vue-router.js +1 -1
  122. package/dist/server/ui/.vite/deps/vue.js +1 -1
  123. package/dist/server/ui/.vite/deps/{vue.runtime.esm-bundler-S54atuNJ.js → vue.runtime.esm-bundler-Dq07uCLt.js} +174 -53
  124. package/dist/server/ui/.vite/deps/vue.runtime.esm-bundler-Dq07uCLt.js.map +1 -0
  125. package/dist/server/ui/pages/Preview.vue +2 -2
  126. package/dist/tests/render/_helpers.d.ts +2 -3
  127. package/dist/tests/render/_helpers.d.ts.map +1 -1
  128. package/dist/transformers/addAttributes.d.ts +2 -3
  129. package/dist/transformers/addAttributes.d.ts.map +1 -1
  130. package/dist/transformers/attributeToStyle.d.ts +2 -3
  131. package/dist/transformers/attributeToStyle.d.ts.map +1 -1
  132. package/dist/transformers/base.d.ts +3 -4
  133. package/dist/transformers/base.d.ts.map +1 -1
  134. package/dist/transformers/columnWidth.d.ts +1 -2
  135. package/dist/transformers/columnWidth.d.ts.map +1 -1
  136. package/dist/transformers/entities.d.ts +3 -4
  137. package/dist/transformers/entities.d.ts.map +1 -1
  138. package/dist/transformers/filters/defaults.d.ts +2 -3
  139. package/dist/transformers/filters/defaults.d.ts.map +1 -1
  140. package/dist/transformers/filters/index.d.ts +4 -4
  141. package/dist/transformers/filters/index.d.ts.map +1 -1
  142. package/dist/transformers/format.d.ts +2 -2
  143. package/dist/transformers/format.d.ts.map +1 -1
  144. package/dist/transformers/imgWidth.d.ts +1 -2
  145. package/dist/transformers/imgWidth.d.ts.map +1 -1
  146. package/dist/transformers/index.d.ts +1 -2
  147. package/dist/transformers/index.d.ts.map +1 -1
  148. package/dist/transformers/inlineCss.d.ts +3 -4
  149. package/dist/transformers/inlineCss.d.ts.map +1 -1
  150. package/dist/transformers/inlineLink.d.ts +2 -3
  151. package/dist/transformers/inlineLink.d.ts.map +1 -1
  152. package/dist/transformers/minify.d.ts +2 -2
  153. package/dist/transformers/minify.d.ts.map +1 -1
  154. package/dist/transformers/minifyCodeInline.d.ts +1 -2
  155. package/dist/transformers/minifyCodeInline.d.ts.map +1 -1
  156. package/dist/transformers/msoConditionals.d.ts +1 -2
  157. package/dist/transformers/msoConditionals.d.ts.map +1 -1
  158. package/dist/transformers/msoPlaceholders.d.ts +1 -2
  159. package/dist/transformers/msoPlaceholders.d.ts.map +1 -1
  160. package/dist/transformers/purgeCss.d.ts +3 -4
  161. package/dist/transformers/purgeCss.d.ts.map +1 -1
  162. package/dist/transformers/removeAttributes.d.ts +4 -5
  163. package/dist/transformers/removeAttributes.d.ts.map +1 -1
  164. package/dist/transformers/replaceStrings.d.ts +1 -2
  165. package/dist/transformers/replaceStrings.d.ts.map +1 -1
  166. package/dist/transformers/safeSelectors.d.ts +2 -3
  167. package/dist/transformers/safeSelectors.d.ts.map +1 -1
  168. package/dist/transformers/shorthandCss.d.ts +3 -4
  169. package/dist/transformers/shorthandCss.d.ts.map +1 -1
  170. package/dist/transformers/sixHex.d.ts +2 -3
  171. package/dist/transformers/sixHex.d.ts.map +1 -1
  172. package/dist/transformers/tailwindComponent.d.ts +1 -2
  173. package/dist/transformers/tailwindComponent.d.ts.map +1 -1
  174. package/dist/transformers/tailwindcss.d.ts +2 -3
  175. package/dist/transformers/tailwindcss.d.ts.map +1 -1
  176. package/dist/transformers/urlQuery.d.ts +2 -3
  177. package/dist/transformers/urlQuery.d.ts.map +1 -1
  178. package/dist/types/config.d.ts +18 -19
  179. package/dist/types/config.d.ts.map +1 -1
  180. package/dist/utils/ast/parser.d.ts +1 -2
  181. package/dist/utils/ast/parser.d.ts.map +1 -1
  182. package/dist/utils/ast/serializer.d.ts +1 -2
  183. package/dist/utils/ast/serializer.d.ts.map +1 -1
  184. package/dist/utils/ast/walker.d.ts +1 -2
  185. package/dist/utils/ast/walker.d.ts.map +1 -1
  186. package/dist/utils/cloneConfig.d.ts +1 -2
  187. package/dist/utils/cloneConfig.d.ts.map +1 -1
  188. package/dist/utils/compileTailwindCss.d.ts +4 -5
  189. package/dist/utils/compileTailwindCss.d.ts.map +1 -1
  190. package/dist/utils/componentSources.d.ts +4 -5
  191. package/dist/utils/componentSources.d.ts.map +1 -1
  192. package/dist/utils/cssBox.d.ts +6 -7
  193. package/dist/utils/cssBox.d.ts.map +1 -1
  194. package/dist/utils/decodeStyleEntities.d.ts +1 -2
  195. package/dist/utils/decodeStyleEntities.d.ts.map +1 -1
  196. package/dist/utils/detect.d.ts +1 -2
  197. package/dist/utils/detect.d.ts.map +1 -1
  198. package/dist/utils/output-markers.d.ts +4 -5
  199. package/dist/utils/output-markers.d.ts.map +1 -1
  200. package/dist/utils/staticPaths.d.ts +5 -0
  201. package/dist/utils/staticPaths.d.ts.map +1 -0
  202. package/dist/utils/staticPaths.js +11 -0
  203. package/dist/utils/staticPaths.js.map +1 -0
  204. package/dist/utils/twMerge.d.ts +4 -0
  205. package/dist/utils/twMerge.d.ts.map +1 -0
  206. package/dist/utils/twMerge.js +109 -0
  207. package/dist/utils/twMerge.js.map +1 -0
  208. package/dist/utils/url.d.ts +4 -5
  209. package/dist/utils/url.d.ts.map +1 -1
  210. package/dist/utils/watchPaths.d.ts +2 -3
  211. package/dist/utils/watchPaths.d.ts.map +1 -1
  212. package/node_modules/tinyexec/dist/main.d.mts +5 -3
  213. package/node_modules/tinyexec/dist/main.mjs +256 -232
  214. package/node_modules/tinyexec/package.json +9 -9
  215. package/package.json +5 -5
  216. package/dist/server/ui/.vite/deps/vue.runtime.esm-bundler-S54atuNJ.js.map +0 -1
@@ -888,8 +888,8 @@ const stripeBg = {
888
888
  <div class="w-1 h-12 rounded-full bg-gray-300 dark:bg-gray-600 group-hover:bg-gray-400 group-active:bg-gray-500 dark:group-hover:bg-gray-500 dark:group-active:bg-gray-400 transition-colors" />
889
889
  </div>
890
890
  <!-- Iframe -->
891
- <div ref="wrapperEl" class="absolute inset-0 min-[430px]:inset-5 border border-gray-200 dark:border-gray-800">
892
- <ScrollArea class="h-full w-full bg-white dark:bg-gray-950">
891
+ <div ref="wrapperEl" class="absolute inset-0 min-[430px]:inset-5 ring-1 ring-gray-200 dark:ring-gray-800">
892
+ <ScrollArea class="h-full w-full bg-white dark:bg-gray-950 [&_[data-slot=scroll-area-thumb]]:bg-black/40 [&_[data-slot=scroll-area-thumb]]:shadow-[0_0_0_1px_rgba(255,255,255,0.5)]">
893
893
  <iframe
894
894
  ref="iframeEl"
895
895
  :srcdoc="srcdoc"
@@ -1,6 +1,5 @@
1
1
  //#region src/tests/render/_helpers.d.ts
2
- declare function createTempProject(): string;
3
- declare function writeSfc(dir: string, path: string, content: string): void;
2
+ export declare function createTempProject(): string;
3
+ export declare function writeSfc(dir: string, path: string, content: string): void;
4
4
  //#endregion
5
- export { createTempProject, writeSfc };
6
5
  //# sourceMappingURL=_helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_helpers.d.ts","names":[],"sources":["../../../src/tests/render/_helpers.ts"],"mappings":";iBAIgB;iBAKA,SAAS,aAAa,cAAc"}
1
+ {"version":3,"file":"_helpers.d.ts","names":[],"sources":["../../../src/tests/render/_helpers.ts"],"mappings":";wBAIgB;wBAKA,SAAS,aAAa,cAAc"}
@@ -29,13 +29,12 @@ import { ChildNode } from "domhandler";
29
29
  * },
30
30
  * })
31
31
  */
32
- declare function addAttributes(html: string, config?: AttributesConfig): string;
32
+ export declare function addAttributes(html: string, config?: AttributesConfig): string;
33
33
  /**
34
34
  * DOM-form of {@link addAttributes} used by the internal transformer pipeline.
35
35
  * Takes a parsed DOM, returns a parsed DOM — avoids redundant
36
36
  * serialize/parse round-trips when chained with other transformers.
37
37
  */
38
- declare function addAttributesDom(dom: ChildNode[], config?: AttributesConfig): ChildNode[];
38
+ export declare function addAttributesDom(dom: ChildNode[], config?: AttributesConfig): ChildNode[];
39
39
  //#endregion
40
- export { addAttributes, addAttributesDom };
41
40
  //# sourceMappingURL=addAttributes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"addAttributes.d.ts","names":[],"sources":["../../src/transformers/addAttributes.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+CgB,cAAc,cAAc,SAAQ;;;;;;iBASpC,iBAAiB,KAAK,aAAa,SAAQ,mBAAwB"}
1
+ {"version":3,"file":"addAttributes.d.ts","names":[],"sources":["../../src/transformers/addAttributes.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA+CgB,cAAc,cAAc,SAAQ;;;;;;wBASpC,iBAAiB,KAAK,aAAa,SAAQ,mBAAwB"}
@@ -25,13 +25,12 @@ import { ChildNode } from "domhandler";
25
25
  * // Restrict to specific attributes:
26
26
  * const limited = attributeToStyle(html, ['width', 'height'])
27
27
  */
28
- declare function attributeToStyle(html: string, attributes?: boolean | string[]): string;
28
+ export declare function attributeToStyle(html: string, attributes?: boolean | string[]): string;
29
29
  /**
30
30
  * DOM-form of {@link attributeToStyle} used by the internal transformer
31
31
  * pipeline. Takes a parsed DOM, returns a parsed DOM — avoids redundant
32
32
  * serialize/parse round-trips when chained with other transformers.
33
33
  */
34
- declare function attributeToStyleDom(dom: ChildNode[], attributes?: boolean | string[]): ChildNode[];
34
+ export declare function attributeToStyleDom(dom: ChildNode[], attributes?: boolean | string[]): ChildNode[];
35
35
  //#endregion
36
- export { attributeToStyle, attributeToStyleDom };
37
36
  //# sourceMappingURL=attributeToStyle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"attributeToStyle.d.ts","names":[],"sources":["../../src/transformers/attributeToStyle.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiCgB,iBAAiB,cAAc;;;;;;iBAS/B,oBAAoB,KAAK,aAAa,kCAAwC"}
1
+ {"version":3,"file":"attributeToStyle.d.ts","names":[],"sources":["../../src/transformers/attributeToStyle.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;wBAiCgB,iBAAiB,cAAc;;;;;;wBAS/B,oBAAoB,KAAK,aAAa,kCAAwC"}
@@ -3,7 +3,7 @@ import { ChildNode } from "domhandler";
3
3
  /**
4
4
  * Options for the `base` transformer.
5
5
  */
6
- interface BaseUrlOptions {
6
+ export interface BaseUrlOptions {
7
7
  /** Base URL to prepend to relative links. */
8
8
  url?: string;
9
9
  /**
@@ -58,13 +58,12 @@ interface BaseUrlOptions {
58
58
  * inlineCss: false,
59
59
  * })
60
60
  */
61
- declare function base(html: string, options: string | BaseUrlOptions): string;
61
+ export declare function base(html: string, options: string | BaseUrlOptions): string;
62
62
  /**
63
63
  * DOM-form of {@link base} used by the internal transformer pipeline.
64
64
  * Takes a parsed DOM, returns a parsed DOM — avoids redundant
65
65
  * serialize/parse round-trips when chained with other transformers.
66
66
  */
67
- declare function baseDom(dom: ChildNode[], options: string | BaseUrlOptions | undefined | null | false): ChildNode[];
67
+ export declare function baseDom(dom: ChildNode[], options: string | BaseUrlOptions | undefined | null | false): ChildNode[];
68
68
  //#endregion
69
- export { BaseUrlOptions, base, baseDom };
70
69
  //# sourceMappingURL=base.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","names":[],"sources":["../../src/transformers/base.ts"],"mappings":";;;;;UAUiB;;EAEf;;;;;;;;;;EAUA,kBAAkB,eAAe;;;;;EAKjC,aAAa;;;;;;EAMb;;;;;;EAMA;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkIc,KAAK,cAAc,kBAAkB;;;;;;iBASrC,QAAQ,KAAK,aAAa,kBAAkB,4CAA4C"}
1
+ {"version":3,"file":"base.d.ts","names":[],"sources":["../../src/transformers/base.ts"],"mappings":";;;;;iBAUiB;;EAEf;;;;;;;;;;EAUA,kBAAkB,eAAe;;;;;EAKjC,aAAa;;;;;;EAMb;;;;;;EAMA;;;;;;;;;;;;;;;;;;;;;;;;;;wBAkIc,KAAK,cAAc,kBAAkB;;;;;;wBASrC,QAAQ,KAAK,aAAa,kBAAkB,4CAA4C"}
@@ -24,7 +24,6 @@ import { ChildNode } from "domhandler";
24
24
  * rows cascade. All `data-maizzle-cw*` and `data-maizzle-oh-*` are
25
25
  * stripped at the end of the second walk pass.
26
26
  */
27
- declare function columnWidth(dom: ChildNode[]): ChildNode[];
27
+ export declare function columnWidth(dom: ChildNode[]): ChildNode[];
28
28
  //#endregion
29
- export { columnWidth };
30
29
  //# sourceMappingURL=columnWidth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"columnWidth.d.ts","names":[],"sources":["../../src/transformers/columnWidth.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;iBAqKgB,YAAY,KAAK,cAAc"}
1
+ {"version":3,"file":"columnWidth.d.ts","names":[],"sources":["../../src/transformers/columnWidth.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;wBAqKgB,YAAY,KAAK,cAAc"}
@@ -5,7 +5,7 @@ import { ChildNode } from "domhandler";
5
5
  /**
6
6
  * Node types {@link entitiesDom} encodes. Both default to `true`.
7
7
  */
8
- interface EntitiesScope {
8
+ export interface EntitiesScope {
9
9
  /** Encode entities in text nodes */
10
10
  text?: boolean;
11
11
  /**
@@ -40,13 +40,12 @@ interface EntitiesScope {
40
40
  * // Disable the transform
41
41
  * entities('hello world', false)
42
42
  */
43
- declare function entities(html: string, custom?: EntitiesConfig, scope?: EntitiesScope): string;
43
+ export declare function entities(html: string, custom?: EntitiesConfig, scope?: EntitiesScope): string;
44
44
  /**
45
45
  * DOM-form of {@link entities} used by the internal transformer pipeline.
46
46
  * Takes a parsed DOM, returns a parsed DOM — avoids redundant
47
47
  * serialize/parse round-trips when chained with other transformers.
48
48
  */
49
- declare function entitiesDom(dom: ChildNode[], custom?: EntitiesConfig, scope?: EntitiesScope): ChildNode[];
49
+ export declare function entitiesDom(dom: ChildNode[], custom?: EntitiesConfig, scope?: EntitiesScope): ChildNode[];
50
50
  //#endregion
51
- export { EntitiesScope, entities, entitiesDom };
52
51
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","names":[],"sources":["../../src/transformers/entities.ts"],"mappings":";;;;;;;UAkCiB;;EAEf;;;;;;;;EAQA;;;;;;;;;;;;;;;;;;;;;;;;;iBA0Bc,SAAS,cAAc,SAAQ,gBAAuB,QAAO;;;;;;iBAS7D,YAAY,KAAK,aAAa,SAAQ,gBAAuB,QAAO,gBAAqB"}
1
+ {"version":3,"file":"entities.d.ts","names":[],"sources":["../../src/transformers/entities.ts"],"mappings":";;;;;;;iBAkCiB;;EAEf;;;;;;;;EAQA;;;;;;;;;;;;;;;;;;;;;;;;;wBA0Bc,SAAS,cAAc,SAAQ,gBAAuB,QAAO;;;;;;wBAS7D,YAAY,KAAK,aAAa,SAAQ,gBAAuB,QAAO,gBAAqB"}
@@ -1,6 +1,5 @@
1
1
  //#region src/transformers/filters/defaults.d.ts
2
- type FilterFunction = (str: string, value: string) => string;
3
- declare const defaults: Record<string, FilterFunction>;
2
+ export type FilterFunction = (str: string, value: string) => string;
3
+ export declare const defaults: Record<string, FilterFunction>;
4
4
  //#endregion
5
- export { FilterFunction, defaults };
6
5
  //# sourceMappingURL=defaults.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.d.ts","names":[],"sources":["../../../src/transformers/filters/defaults.ts"],"mappings":";KAAY,kBAAkB,aAAa;cAgB9B,UAAU,eAAe"}
1
+ {"version":3,"file":"defaults.d.ts","names":[],"sources":["../../../src/transformers/filters/defaults.ts"],"mappings":";YAAY,kBAAkB,aAAa;qBAgB9B,UAAU,eAAe"}
@@ -1,7 +1,7 @@
1
1
  import { FilterFunction } from "./defaults.js";
2
2
  import { ChildNode } from "domhandler";
3
3
  //#region src/transformers/filters/index.d.ts
4
- type FiltersConfig = false | Record<string, (str: string, value: string) => string>;
4
+ export type FiltersConfig = false | Record<string, (str: string, value: string) => string>;
5
5
  /**
6
6
  * Apply transformation functions to the content of elements that have
7
7
  * matching filter attributes. Multiple filters on the same element are
@@ -30,13 +30,13 @@ type FiltersConfig = false | Record<string, (str: string, value: string) => stri
30
30
  * // Disable all filters
31
31
  * filters('<p uppercase>foo</p>', false)
32
32
  */
33
- declare function filters(html: string, custom?: FiltersConfig): string;
33
+ export declare function filters(html: string, custom?: FiltersConfig): string;
34
34
  /**
35
35
  * DOM-form of {@link filters} used by the internal transformer pipeline.
36
36
  * Takes a parsed DOM, returns a parsed DOM — avoids redundant
37
37
  * serialize/parse round-trips when chained with other transformers.
38
38
  */
39
- declare function filtersDom(dom: ChildNode[], custom?: FiltersConfig): ChildNode[];
39
+ export declare function filtersDom(dom: ChildNode[], custom?: FiltersConfig): ChildNode[];
40
40
  //#endregion
41
- export { type FilterFunction, FiltersConfig, filters, filtersDom };
41
+ export type { FilterFunction };
42
42
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/transformers/filters/index.ts"],"mappings":";;;KAMY,wBAAwB,gBAAgB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2CjD,QAAQ,cAAc,SAAQ;;;;;;iBAS9B,WAAW,KAAK,aAAa,SAAQ,gBAAqB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/transformers/filters/index.ts"],"mappings":";;;YAMY,wBAAwB,gBAAgB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2CjD,QAAQ,cAAc,SAAQ;;;;;;wBAS9B,WAAW,KAAK,aAAa,SAAQ,gBAAqB"}
@@ -15,7 +15,7 @@ import { FormatConfig, FormatConfig as FormatConfig$1 } from "oxfmt";
15
15
  *
16
16
  * const pretty = await format(html, { useTabs: true, tabWidth: 4 })
17
17
  */
18
- declare function format(html: string, options?: FormatConfig$1): Promise<string>;
18
+ export declare function format(html: string, options?: FormatConfig$1): Promise<string>;
19
19
  //#endregion
20
- export { type FormatConfig, format };
20
+ export type { FormatConfig };
21
21
  //# sourceMappingURL=format.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"format.d.ts","names":[],"sources":["../../src/transformers/format.ts"],"mappings":";;;;;;;;;;;;;;;;;iBA2BsB,OAAO,cAAc,UAAS,iBAAoB"}
1
+ {"version":3,"file":"format.d.ts","names":[],"sources":["../../src/transformers/format.ts"],"mappings":";;;;;;;;;;;;;;;;;wBA2BsB,OAAO,cAAc,UAAS,iBAAoB"}
@@ -13,7 +13,6 @@ import { ChildNode } from "domhandler";
13
13
  * content box). When no pixel width is found anywhere, the marker is
14
14
  * dropped and the image stays fluid.
15
15
  */
16
- declare function imgWidthDom(dom: ChildNode[]): ChildNode[];
16
+ export declare function imgWidthDom(dom: ChildNode[]): ChildNode[];
17
17
  //#endregion
18
- export { imgWidthDom };
19
18
  //# sourceMappingURL=imgWidth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"imgWidth.d.ts","names":[],"sources":["../../src/transformers/imgWidth.ts"],"mappings":";;;;;;;;;;;;;;;iBAgDgB,YAAY,KAAK,cAAc"}
1
+ {"version":3,"file":"imgWidth.d.ts","names":[],"sources":["../../src/transformers/imgWidth.ts"],"mappings":";;;;;;;;;;;;;;;wBAgDgB,YAAY,KAAK,cAAc"}
@@ -33,7 +33,6 @@ import { TailwindBlock } from "../composables/renderContext.js";
33
33
  * 15. Prettify
34
34
  * 16. Minify
35
35
  */
36
- declare function runTransformers(html: string, config: MaizzleConfig, filePath?: string, doctype?: string, tailwindBlocks?: TailwindBlock[], sourceFiles?: string[]): Promise<string>;
36
+ export declare function runTransformers(html: string, config: MaizzleConfig, filePath?: string, doctype?: string, tailwindBlocks?: TailwindBlock[], sourceFiles?: string[]): Promise<string>;
37
37
  //#endregion
38
- export { runTransformers };
39
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/transformers/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2DsB,gBACpB,cACA,QAAQ,eACR,mBACA,kBACA,iBAAiB,iBACjB,yBACC"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/transformers/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2DsB,gBACpB,cACA,QAAQ,eACR,mBACA,kBACA,iBAAiB,iBACjB,yBACC"}
@@ -6,7 +6,7 @@ type JuiceOptions = NonNullable<Parameters<typeof juice>[1]>;
6
6
  * Options for the `inlineCss` transformer. Accepts every Juice option plus a
7
7
  * handful of Maizzle-specific extras.
8
8
  */
9
- interface InlineCssOptions extends JuiceOptions {
9
+ export interface InlineCssOptions extends JuiceOptions {
10
10
  /**
11
11
  * Convert `0px`, `0em` etc. to `0` in inline styles.
12
12
  *
@@ -72,13 +72,12 @@ interface InlineCssOptions extends JuiceOptions {
72
72
  * removeStyleTags: true,
73
73
  * })
74
74
  */
75
- declare function inlineCss(html: string, options?: InlineCssOptions): string;
75
+ export declare function inlineCss(html: string, options?: InlineCssOptions): string;
76
76
  /**
77
77
  * DOM-form of {@link inlineCss} used by the internal transformer pipeline.
78
78
  * Takes a parsed DOM, returns a parsed DOM — avoids the redundant
79
79
  * serialize/parse round-trips when chained with other transformers.
80
80
  */
81
- declare function inlineCssDom(dom: ChildNode[], options?: InlineCssOptions): ChildNode[];
81
+ export declare function inlineCssDom(dom: ChildNode[], options?: InlineCssOptions): ChildNode[];
82
82
  //#endregion
83
- export { InlineCssOptions, inlineCss, inlineCssDom };
84
83
  //# sourceMappingURL=inlineCss.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inlineCss.d.ts","names":[],"sources":["../../src/transformers/inlineCss.ts"],"mappings":";;;KAMK,eAAe,YAAY,kBAAkB;;;;;UAMjC,yBAAyB;;;;;;EAMxC;;;;;;;EAOA;;;;;EAKA;;;;;EAKA,mBAAmB;;;;;EAKnB;;;;;;;EAOA;;;;;;;EAOA;;;;;EAKA,aAAa;IAAiB;IAAe;;;;;;;;;;;;;;;;;iBAiB/B,UAAU,cAAc,UAAS;;;;;;iBASjC,aAAa,KAAK,aAAa,UAAS,mBAAwB"}
1
+ {"version":3,"file":"inlineCss.d.ts","names":[],"sources":["../../src/transformers/inlineCss.ts"],"mappings":";;;KAMK,eAAe,YAAY,kBAAkB;;;;;iBAMjC,yBAAyB;;;;;;EAMxC;;;;;;;EAOA;;;;;EAKA;;;;;EAKA,mBAAmB;;;;;EAKnB;;;;;;;EAOA;;;;;;;EAOA;;;;;EAKA,aAAa;IAAiB;IAAe;;;;;;;;;;;;;;;;;wBAiB/B,UAAU,cAAc,UAAS;;;;;;wBASjC,aAAa,KAAK,aAAa,UAAS,mBAAwB"}
@@ -22,13 +22,12 @@ import { ChildNode } from "domhandler";
22
22
  * '/path/to/template.html',
23
23
  * )
24
24
  */
25
- declare function inlineLink(html: string, filePath?: string): Promise<string>;
25
+ export declare function inlineLink(html: string, filePath?: string): Promise<string>;
26
26
  /**
27
27
  * DOM-form of {@link inlineLink} used by the internal transformer pipeline.
28
28
  * Takes a parsed DOM, returns a parsed DOM — avoids redundant
29
29
  * serialize/parse round-trips when chained with other transformers.
30
30
  */
31
- declare function inlineLinkDom(dom: ChildNode[], filePath?: string): Promise<ChildNode[]>;
31
+ export declare function inlineLinkDom(dom: ChildNode[], filePath?: string): Promise<ChildNode[]>;
32
32
  //#endregion
33
- export { inlineLink, inlineLinkDom };
34
33
  //# sourceMappingURL=inlineLink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inlineLink.d.ts","names":[],"sources":["../../src/transformers/inlineLink.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;iBA2BsB,WAAW,cAAc,oBAAoB;;;;;;iBAS7C,cAAc,KAAK,aAAa,oBAAoB,QAAQ"}
1
+ {"version":3,"file":"inlineLink.d.ts","names":[],"sources":["../../src/transformers/inlineLink.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;wBA2BsB,WAAW,cAAc,oBAAoB;;;;;;wBAS7C,cAAc,KAAK,aAAa,oBAAoB,QAAQ"}
@@ -14,7 +14,7 @@ import { Opts, Opts as MinifyOptions } from "html-crush";
14
14
  *
15
15
  * const tight = minify('<p> hello </p>', { removeIndentations: true })
16
16
  */
17
- declare function minify(html: string, options?: Partial<Opts>): string;
17
+ export declare function minify(html: string, options?: Partial<Opts>): string;
18
18
  //#endregion
19
- export { type MinifyOptions, minify };
19
+ export type { MinifyOptions };
20
20
  //# sourceMappingURL=minify.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"minify.d.ts","names":[],"sources":["../../src/transformers/minify.ts"],"mappings":";;;;;;;;;;;;;;;;iBAwBgB,OAAO,cAAc,UAAS,QAAQ"}
1
+ {"version":3,"file":"minify.d.ts","names":[],"sources":["../../src/transformers/minify.ts"],"mappings":";;;;;;;;;;;;;;;;wBAwBgB,OAAO,cAAc,UAAS,QAAQ"}
@@ -23,7 +23,6 @@
23
23
  * The marker attribute is intentionally generic so any component facing
24
24
  * the same formatter-vs-inline-structure problem can opt in.
25
25
  */
26
- declare function minifyCodeInline(html: string): string;
26
+ export declare function minifyCodeInline(html: string): string;
27
27
  //#endregion
28
- export { minifyCodeInline };
29
28
  //# sourceMappingURL=minifyCodeInline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"minifyCodeInline.d.ts","names":[],"sources":["../../src/transformers/minifyCodeInline.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;iBAwBgB,iBAAiB"}
1
+ {"version":3,"file":"minifyCodeInline.d.ts","names":[],"sources":["../../src/transformers/minifyCodeInline.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;wBAwBgB,iBAAiB"}
@@ -1,5 +1,4 @@
1
1
  //#region src/transformers/msoConditionals.d.ts
2
- declare function msoConditionals(html: string): string;
2
+ export declare function msoConditionals(html: string): string;
3
3
  //#endregion
4
- export { msoConditionals };
5
4
  //# sourceMappingURL=msoConditionals.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"msoConditionals.d.ts","names":[],"sources":["../../src/transformers/msoConditionals.ts"],"mappings":";iBAkBgB,gBAAgB"}
1
+ {"version":3,"file":"msoConditionals.d.ts","names":[],"sources":["../../src/transformers/msoConditionals.ts"],"mappings":";wBAkBgB,gBAAgB"}
@@ -26,7 +26,6 @@ import { ChildNode } from "domhandler";
26
26
  * Single collect-walk + single substitute-walk: the same Container div
27
27
  * carries both marker kinds, so one element visit fills both maps.
28
28
  */
29
- declare function msoPlaceholders(dom: ChildNode[]): ChildNode[];
29
+ export declare function msoPlaceholders(dom: ChildNode[]): ChildNode[];
30
30
  //#endregion
31
- export { msoPlaceholders };
32
31
  //# sourceMappingURL=msoPlaceholders.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"msoPlaceholders.d.ts","names":[],"sources":["../../src/transformers/msoPlaceholders.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8CgB,gBAAgB,KAAK,cAAc"}
1
+ {"version":3,"file":"msoPlaceholders.d.ts","names":[],"sources":["../../src/transformers/msoPlaceholders.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA8CgB,gBAAgB,KAAK,cAAc"}
@@ -4,7 +4,7 @@ import { Opts } from "email-comb";
4
4
  /**
5
5
  * Options for the `purgeCss` transformer.
6
6
  */
7
- interface PurgeCssOptions extends Partial<Omit<Opts, 'whitelist'>> {
7
+ export interface PurgeCssOptions extends Partial<Omit<Opts, 'whitelist'>> {
8
8
  /**
9
9
  * Selectors to preserve regardless of whether they're matched in the
10
10
  * markup. Appended to Maizzle's built-in safelist (Gmail, Apple Mail,
@@ -30,13 +30,12 @@ interface PurgeCssOptions extends Partial<Omit<Opts, 'whitelist'>> {
30
30
  * safelist: ['.keep'],
31
31
  * })
32
32
  */
33
- declare function purgeCss(html: string, options?: PurgeCssOptions): string;
33
+ export declare function purgeCss(html: string, options?: PurgeCssOptions): string;
34
34
  /**
35
35
  * DOM-form of {@link purgeCss} used by the internal transformer
36
36
  * pipeline. Takes a parsed DOM, returns a parsed DOM — avoids redundant
37
37
  * serialize/parse round-trips when chained with other transformers.
38
38
  */
39
- declare function purgeCssDom(dom: ChildNode[], options?: PurgeCssOptions): ChildNode[];
39
+ export declare function purgeCssDom(dom: ChildNode[], options?: PurgeCssOptions): ChildNode[];
40
40
  //#endregion
41
- export { PurgeCssOptions, purgeCss, purgeCssDom };
42
41
  //# sourceMappingURL=purgeCss.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"purgeCss.d.ts","names":[],"sources":["../../src/transformers/purgeCss.ts"],"mappings":";;;;;;UAsCiB,wBAAwB,QAAQ,KAAK;;;;;;EAMpD;;;;;;;;;;;;;;;;;;;;iBAqBc,SAAS,cAAc,UAAS;;;;;;iBAShC,YAAY,KAAK,aAAa,UAAS,kBAAuB"}
1
+ {"version":3,"file":"purgeCss.d.ts","names":[],"sources":["../../src/transformers/purgeCss.ts"],"mappings":";;;;;;iBAsCiB,wBAAwB,QAAQ,KAAK;;;;;;EAMpD;;;;;;;;;;;;;;;;;;;;wBAqBc,SAAS,cAAc,UAAS;;;;;;wBAShC,YAAY,KAAK,aAAa,UAAS,kBAAuB"}
@@ -3,7 +3,7 @@ import { ChildNode } from "domhandler";
3
3
  /**
4
4
  * Single attribute-removal rule.
5
5
  */
6
- interface RemoveAttributeRule {
6
+ export interface RemoveAttributeRule {
7
7
  /** Attribute name to match. */
8
8
  name: string;
9
9
  /**
@@ -18,7 +18,7 @@ interface RemoveAttributeRule {
18
18
  * Entry passed to {@link removeAttributes}. A bare string targets the named
19
19
  * attribute and removes it when its value is empty.
20
20
  */
21
- type RemoveAttributeOption = string | RemoveAttributeRule;
21
+ export type RemoveAttributeOption = string | RemoveAttributeRule;
22
22
  /**
23
23
  * Remove HTML attributes from elements.
24
24
  *
@@ -41,13 +41,12 @@ type RemoveAttributeOption = string | RemoveAttributeRule;
41
41
  * { name: 'role', value: 'none' },
42
42
  * ])
43
43
  */
44
- declare function removeAttributes(html: string, attributes?: RemoveAttributeOption[]): string;
44
+ export declare function removeAttributes(html: string, attributes?: RemoveAttributeOption[]): string;
45
45
  /**
46
46
  * DOM-form of {@link removeAttributes} used by the internal transformer
47
47
  * pipeline. Takes a parsed DOM, returns a parsed DOM — avoids redundant
48
48
  * serialize/parse round-trips when chained with other transformers.
49
49
  */
50
- declare function removeAttributesDom(dom: ChildNode[], attributes?: RemoveAttributeOption[]): ChildNode[];
50
+ export declare function removeAttributesDom(dom: ChildNode[], attributes?: RemoveAttributeOption[]): ChildNode[];
51
51
  //#endregion
52
- export { RemoveAttributeOption, RemoveAttributeRule, removeAttributes, removeAttributesDom };
53
52
  //# sourceMappingURL=removeAttributes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"removeAttributes.d.ts","names":[],"sources":["../../src/transformers/removeAttributes.ts"],"mappings":";;;;;UAMiB;;EAEf;;;;;;;EAOA,iBAAiB;;;;;;KAOP,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;iBAwB7B,iBAAiB,cAAc,aAAY;;;;;;iBAS3C,oBAAoB,KAAK,aAAa,aAAY,0BAA+B"}
1
+ {"version":3,"file":"removeAttributes.d.ts","names":[],"sources":["../../src/transformers/removeAttributes.ts"],"mappings":";;;;;iBAMiB;;EAEf;;;;;;;EAOA,iBAAiB;;;;;;YAOP,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;wBAwB7B,iBAAiB,cAAc,aAAY;;;;;;wBAS3C,oBAAoB,KAAK,aAAa,aAAY,0BAA+B"}
@@ -9,7 +9,6 @@ import { MaizzleConfig } from "../types/config.js";
9
9
  *
10
10
  * Character classes must be escaped in keys, e.g. `\\s` for `\s`.
11
11
  */
12
- declare function replaceStrings(html: string, config?: MaizzleConfig): string;
12
+ export declare function replaceStrings(html: string, config?: MaizzleConfig): string;
13
13
  //#endregion
14
- export { replaceStrings };
15
14
  //# sourceMappingURL=replaceStrings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replaceStrings.d.ts","names":[],"sources":["../../src/transformers/replaceStrings.ts"],"mappings":";;;;;;;;;;;iBAWgB,eAAe,cAAc,SAAQ"}
1
+ {"version":3,"file":"replaceStrings.d.ts","names":[],"sources":["../../src/transformers/replaceStrings.ts"],"mappings":";;;;;;;;;;;wBAWgB,eAAe,cAAc,SAAQ"}
@@ -24,13 +24,12 @@ import { ChildNode } from "domhandler";
24
24
  *
25
25
  * const out = safeSelectors('<div class="sm:text-base"></div>')
26
26
  */
27
- declare function safeSelectors(html: string, config?: CssConfig): string;
27
+ export declare function safeSelectors(html: string, config?: CssConfig): string;
28
28
  /**
29
29
  * DOM-form of {@link safeSelectors} used by the internal transformer pipeline.
30
30
  * Takes a parsed DOM, returns a parsed DOM — avoids redundant
31
31
  * serialize/parse round-trips when chained with other transformers.
32
32
  */
33
- declare function safeSelectorsDom(dom: ChildNode[], config?: CssConfig): ChildNode[];
33
+ export declare function safeSelectorsDom(dom: ChildNode[], config?: CssConfig): ChildNode[];
34
34
  //#endregion
35
- export { safeSelectors, safeSelectorsDom };
36
35
  //# sourceMappingURL=safeSelectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"safeSelectors.d.ts","names":[],"sources":["../../src/transformers/safeSelectors.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;iBA2HgB,cAAc,cAAc,SAAQ;;;;;;iBASpC,iBAAiB,KAAK,aAAa,SAAQ,YAAiB"}
1
+ {"version":3,"file":"safeSelectors.d.ts","names":[],"sources":["../../src/transformers/safeSelectors.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;wBA2HgB,cAAc,cAAc,SAAQ;;;;;;wBASpC,iBAAiB,KAAK,aAAa,SAAQ,YAAiB"}
@@ -3,7 +3,7 @@ import { ChildNode } from "domhandler";
3
3
  /**
4
4
  * Options for the `shorthandCss` transformer.
5
5
  */
6
- interface ShorthandCssOptions {
6
+ export interface ShorthandCssOptions {
7
7
  /**
8
8
  * Restrict the transform to a list of HTML tag names. Omit to apply to
9
9
  * every element with a `style` attribute.
@@ -12,13 +12,12 @@ interface ShorthandCssOptions {
12
12
  */
13
13
  tags?: string[];
14
14
  }
15
- declare function shorthandCss(html: string, options?: ShorthandCssOptions): string;
15
+ export declare function shorthandCss(html: string, options?: ShorthandCssOptions): string;
16
16
  /**
17
17
  * DOM-form of {@link shorthandCss} used by the internal transformer
18
18
  * pipeline. Takes a parsed DOM, returns a parsed DOM — avoids redundant
19
19
  * serialize/parse round-trips when chained with other transformers.
20
20
  */
21
- declare function shorthandCssDom(dom: ChildNode[], options?: ShorthandCssOptions): ChildNode[];
21
+ export declare function shorthandCssDom(dom: ChildNode[], options?: ShorthandCssOptions): ChildNode[];
22
22
  //#endregion
23
- export { ShorthandCssOptions, shorthandCss, shorthandCssDom };
24
23
  //# sourceMappingURL=shorthandCss.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shorthandCss.d.ts","names":[],"sources":["../../src/transformers/shorthandCss.ts"],"mappings":";;;;;UASiB;;;;;;;EAOf;;iBAwEc,aAAa,cAAc,UAAS;;;;;;iBASpC,gBAAgB,KAAK,aAAa,UAAS,sBAA2B"}
1
+ {"version":3,"file":"shorthandCss.d.ts","names":[],"sources":["../../src/transformers/shorthandCss.ts"],"mappings":";;;;;iBASiB;;;;;;;EAOf;;wBAwEc,aAAa,cAAc,UAAS;;;;;;wBASpC,gBAAgB,KAAK,aAAa,UAAS,sBAA2B"}
@@ -12,13 +12,12 @@ import { ChildNode } from "domhandler";
12
12
  *
13
13
  * const out = sixHex('<font color="#abc">x</font>')
14
14
  */
15
- declare function sixHex(html: string): string;
15
+ export declare function sixHex(html: string): string;
16
16
  /**
17
17
  * DOM-form of {@link sixHex} used by the internal transformer pipeline.
18
18
  * Takes a parsed DOM, returns a parsed DOM — avoids redundant
19
19
  * serialize/parse round-trips when chained with other transformers.
20
20
  */
21
- declare function sixHexDom(dom: ChildNode[]): ChildNode[];
21
+ export declare function sixHexDom(dom: ChildNode[]): ChildNode[];
22
22
  //#endregion
23
- export { sixHex, sixHexDom };
24
23
  //# sourceMappingURL=sixHex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sixHex.d.ts","names":[],"sources":["../../src/transformers/sixHex.ts"],"mappings":";;;;;;;;;;;;;;iBAkBgB,OAAO;;;;;;iBASP,UAAU,KAAK,cAAc"}
1
+ {"version":3,"file":"sixHex.d.ts","names":[],"sources":["../../src/transformers/sixHex.ts"],"mappings":";;;;;;;;;;;;;;wBAkBgB,OAAO;;;;;;wBASP,UAAU,KAAK,cAAc"}
@@ -9,7 +9,6 @@ import { ChildNode } from "domhandler";
9
9
  * One <style> per outermost block is appended to <head>; marker comments
10
10
  * are stripped after.
11
11
  */
12
- declare function tailwindComponent(dom: ChildNode[], blocks: TailwindBlock[], config: MaizzleConfig, filePath?: string, sourceFiles?: string[]): Promise<ChildNode[]>;
12
+ export declare function tailwindComponent(dom: ChildNode[], blocks: TailwindBlock[], config: MaizzleConfig, filePath?: string, sourceFiles?: string[]): Promise<ChildNode[]>;
13
13
  //#endregion
14
- export { tailwindComponent };
15
14
  //# sourceMappingURL=tailwindComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tailwindComponent.d.ts","names":[],"sources":["../../src/transformers/tailwindComponent.ts"],"mappings":";;;;;;;;;;;iBA2BsB,kBACpB,KAAK,aACL,QAAQ,iBACR,QAAQ,eACR,mBACA,yBACC,QAAQ"}
1
+ {"version":3,"file":"tailwindComponent.d.ts","names":[],"sources":["../../src/transformers/tailwindComponent.ts"],"mappings":";;;;;;;;;;;wBA2BsB,kBACpB,KAAK,aACL,QAAQ,iBACR,QAAQ,eACR,mBACA,yBACC,QAAQ"}
@@ -6,7 +6,7 @@ import { ChildNode } from "domhandler";
6
6
  * is off and only our explicit `@source` directives apply. Skips
7
7
  * imports that already carry a `source(...)` modifier.
8
8
  */
9
- declare function rewriteImportsSourceNone(css: string): string;
9
+ export declare function rewriteImportsSourceNone(css: string): string;
10
10
  /**
11
11
  * Tailwind CSS transformer.
12
12
  *
@@ -24,7 +24,6 @@ declare function rewriteImportsSourceNone(css: string): string;
24
24
  * Runs as the first transformer in the pipeline so that subsequent
25
25
  * transformers (inliner, purge, etc.) work with fully compiled CSS.
26
26
  */
27
- declare function tailwindcss(dom: ChildNode[], config: MaizzleConfig, filePath?: string, sourceFiles?: string[]): Promise<ChildNode[]>;
27
+ export declare function tailwindcss(dom: ChildNode[], config: MaizzleConfig, filePath?: string, sourceFiles?: string[]): Promise<ChildNode[]>;
28
28
  //#endregion
29
- export { rewriteImportsSourceNone, tailwindcss };
30
29
  //# sourceMappingURL=tailwindcss.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tailwindcss.d.ts","names":[],"sources":["../../src/transformers/tailwindcss.ts"],"mappings":";;;;;;;;iBAgKgB,yBAAyB;;;;;;;;;;;;;;;;;;iBAwBnB,YAAY,KAAK,aAAa,QAAQ,eAAe,mBAAmB,yBAAyB,QAAQ"}
1
+ {"version":3,"file":"tailwindcss.d.ts","names":[],"sources":["../../src/transformers/tailwindcss.ts"],"mappings":";;;;;;;;wBAgKgB,yBAAyB;;;;;;;;;;;;;;;;;;wBAwBnB,YAAY,KAAK,aAAa,QAAQ,eAAe,mBAAmB,yBAAyB,QAAQ"}
@@ -23,13 +23,12 @@ import { ChildNode } from "domhandler";
23
23
  * // Restrict to specific tags / attributes:
24
24
  * urlQuery(html, { ref: 'email' }, { tags: ['a', 'img'], attributes: ['href', 'src'] })
25
25
  */
26
- declare function urlQuery(html: string, params?: Record<string, unknown>, options?: UrlQueryOptions): string;
26
+ export declare function urlQuery(html: string, params?: Record<string, unknown>, options?: UrlQueryOptions): string;
27
27
  /**
28
28
  * DOM-form of {@link urlQuery} used by the internal transformer pipeline.
29
29
  * Takes a parsed DOM, returns a parsed DOM — avoids redundant
30
30
  * serialize/parse round-trips when chained with other transformers.
31
31
  */
32
- declare function urlQueryDom(dom: ChildNode[], params?: Record<string, unknown>, options?: UrlQueryOptions): ChildNode[];
32
+ export declare function urlQueryDom(dom: ChildNode[], params?: Record<string, unknown>, options?: UrlQueryOptions): ChildNode[];
33
33
  //#endregion
34
- export { urlQuery, urlQueryDom };
35
34
  //# sourceMappingURL=urlQuery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"urlQuery.d.ts","names":[],"sources":["../../src/transformers/urlQuery.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;iBAiDgB,SACd,cACA,SAAQ,yBACR,UAAS;;;;;;iBAUK,YACd,KAAK,aACL,SAAQ,yBACR,UAAS,kBACR"}
1
+ {"version":3,"file":"urlQuery.d.ts","names":[],"sources":["../../src/transformers/urlQuery.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;wBAiDgB,SACd,cACA,SAAQ,yBACR,UAAS;;;;;;wBAUK,YACd,KAAK,aACL,SAAQ,yBACR,UAAS,kBACR"}