@powerlines/plugin-alloy 0.15.1 → 0.15.2

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 (148) hide show
  1. package/dist/builtin-file-BDc5-4_L.mjs +43 -0
  2. package/dist/{builtin-file-CIBzJ6jy.d.mts → builtin-file-CUUY0eVB.d.cts} +4 -4
  3. package/dist/{builtin-file-DLVCgiye.cjs → builtin-file-Cey2cJy9.cjs} +20 -14
  4. package/dist/{builtin-file-C-AX3Zai.d.cts → builtin-file-EfQHLZ8F.d.mts} +2 -2
  5. package/dist/{capnp-CbBwObRD.d.mts → capnp-DkidugOV.d.mts} +1 -1
  6. package/dist/{components-IB9A7YaB.d.mts → components-ixU_ICbr.d.mts} +5 -5
  7. package/dist/{context-D-UHaRnr.d.mts → context-BApo1nhP.d.mts} +1 -1
  8. package/dist/{context-0Spyyas6.d.mts → context-DXy7MPku.d.mts} +0 -2
  9. package/dist/core/components/index.cjs +3 -3
  10. package/dist/core/components/index.d.cts +3 -3
  11. package/dist/core/components/index.d.mts +5 -5
  12. package/dist/core/components/index.mjs +3 -3
  13. package/dist/core/components/output.cjs +1 -1
  14. package/dist/core/components/output.d.cts +1 -1
  15. package/dist/core/components/output.d.mts +2 -2
  16. package/dist/core/components/output.mjs +1 -1
  17. package/dist/core/components/single-line-comment.cjs +1 -1
  18. package/dist/core/components/single-line-comment.d.cts +1 -1
  19. package/dist/core/components/single-line-comment.d.mts +3 -3
  20. package/dist/core/components/single-line-comment.mjs +1 -1
  21. package/dist/core/components/source-file.cjs +1 -1
  22. package/dist/core/components/source-file.d.cts +1 -1
  23. package/dist/core/components/source-file.d.mts +3 -3
  24. package/dist/core/components/source-file.mjs +1 -1
  25. package/dist/core/contexts/context.d.mts +2 -2
  26. package/dist/core/contexts/index.d.mts +4 -4
  27. package/dist/core/contexts/reflection.d.mts +3 -3
  28. package/dist/core/index.cjs +3 -3
  29. package/dist/core/index.d.cts +3 -3
  30. package/dist/core/index.d.mts +7 -7
  31. package/dist/core/index.mjs +3 -3
  32. package/dist/{dynamic-import-statement-DO0ewx0l.d.cts → dynamic-import-statement-BhY2a13r.d.cts} +2 -2
  33. package/dist/{dynamic-import-statement-DoTHSt57.mjs → dynamic-import-statement-CWK5I_yt.mjs} +2 -6
  34. package/dist/{dynamic-import-statement-tQyMvDe7.d.mts → dynamic-import-statement-D6f1SnIf.d.mts} +2 -2
  35. package/dist/{dynamic-import-statement-JVLyMPXr.cjs → dynamic-import-statement-DVGp5Cvq.cjs} +2 -6
  36. package/dist/{entry-file-BgTZY0YN.d.mts → entry-file-B46yUHra.d.mts} +4 -4
  37. package/dist/{entry-file-BEHDg4dR.d.cts → entry-file-DSW6oClr.d.cts} +3 -3
  38. package/dist/{entry-file-BA75rAwb.cjs → entry-file-DijEelFv.cjs} +10 -7
  39. package/dist/{entry-file-Bw1mgMP3.mjs → entry-file-DtjJPVZY.mjs} +10 -7
  40. package/dist/helpers/capnp.d.mts +2 -2
  41. package/dist/helpers/index.d.mts +2 -2
  42. package/dist/index.cjs +61 -230
  43. package/dist/index.d.cts +9 -9
  44. package/dist/index.d.mts +19 -19
  45. package/dist/index.mjs +60 -224
  46. package/dist/markdown/components/index.cjs +4 -4
  47. package/dist/markdown/components/index.d.cts +3 -3
  48. package/dist/markdown/components/index.d.mts +5 -5
  49. package/dist/markdown/components/index.mjs +4 -4
  50. package/dist/markdown/components/markdown-file.cjs +3 -3
  51. package/dist/markdown/components/markdown-file.d.cts +2 -2
  52. package/dist/markdown/components/markdown-file.d.mts +4 -4
  53. package/dist/markdown/components/markdown-file.mjs +3 -3
  54. package/dist/markdown/components/markdown-table.cjs +1 -1
  55. package/dist/markdown/components/markdown-table.d.cts +1 -1
  56. package/dist/markdown/components/markdown-table.d.mts +3 -3
  57. package/dist/markdown/components/markdown-table.mjs +1 -1
  58. package/dist/markdown/index.cjs +4 -4
  59. package/dist/markdown/index.d.cts +3 -3
  60. package/dist/markdown/index.d.mts +5 -5
  61. package/dist/markdown/index.mjs +4 -4
  62. package/dist/markdown-file-BVSRcpXO.cjs +128 -0
  63. package/dist/{markdown-file-BjhcGybj.d.cts → markdown-file-C72aDdPi.d.cts} +4 -4
  64. package/dist/markdown-file-Clh5iU1_.mjs +116 -0
  65. package/dist/{markdown-file-BhMk-_1z.d.mts → markdown-file-DIkSXG43.d.mts} +5 -5
  66. package/dist/{markdown-table-DxL06EFD.d.mts → markdown-table-3trTm6Ef.d.mts} +5 -5
  67. package/dist/{markdown-table-DFaNSBRn.cjs → markdown-table-B40X-Kp1.cjs} +49 -28
  68. package/dist/{markdown-table-BUxH6aRh.mjs → markdown-table-D-YnljE7.mjs} +49 -28
  69. package/dist/{markdown-table-DhDqQVt_.d.cts → markdown-table-ZiuZZY5T.d.cts} +4 -4
  70. package/dist/{output-Cos2Dz1j.d.mts → output-BKZklKl1.d.mts} +1 -1
  71. package/dist/{output-CnofBsl0.cjs → output-BlHZS50Y.cjs} +19 -12
  72. package/dist/{output-C2C9L6Ho.d.cts → output-BmJnrELo.d.cts} +2 -2
  73. package/dist/{output-DEdXZ94G.mjs → output-CNnPjQlW.mjs} +19 -12
  74. package/dist/{plugin-DmLCIqx0.d.mts → plugin-LknisCLa.d.mts} +3 -3
  75. package/dist/{reflection-BiWgd3An.d.mts → reflection-DLJST1Z7.d.mts} +1 -1
  76. package/dist/{single-line-comment-C5CtHQhi.mjs → single-line-comment-Biwa95Py.mjs} +6 -4
  77. package/dist/{single-line-comment-CuFhTxLD.d.cts → single-line-comment-CYYKKXc2.d.cts} +2 -2
  78. package/dist/{single-line-comment-DRU3a4Qy.d.mts → single-line-comment-DGby6ABI.d.mts} +1 -1
  79. package/dist/{single-line-comment-BMPq6OR0.cjs → single-line-comment-DvU69OGj.cjs} +6 -4
  80. package/dist/{source-file-dpP3BrmV.d.mts → source-file-B2MkzzGR.d.mts} +4 -4
  81. package/dist/{source-file-DK_PJbR-.d.cts → source-file-BrxGhMOh.d.cts} +2 -2
  82. package/dist/{source-file-DTd1KgD5.cjs → source-file-DK_nFwAK.cjs} +10 -6
  83. package/dist/{source-file-CCYwl5pI.mjs → source-file-Dna2E0ro.mjs} +10 -6
  84. package/dist/tsdoc-B0TNs3dK.cjs +576 -0
  85. package/dist/{tsdoc-DzCqaUAX.d.mts → tsdoc-QH5nHvck.d.mts} +1 -1
  86. package/dist/tsdoc-XXdq_9iS.mjs +456 -0
  87. package/dist/{tsdoc-reflection-BbLwFCUm.d.mts → tsdoc-reflection-Bhk9KvVe.d.mts} +1 -1
  88. package/dist/tsdoc-reflection-BizVi_gn.cjs +188 -0
  89. package/dist/tsdoc-reflection-IWtPMJjw.mjs +170 -0
  90. package/dist/types/components.d.mts +2 -2
  91. package/dist/types/index.d.mts +3 -3
  92. package/dist/types/plugin.d.mts +2 -2
  93. package/dist/typescript/components/builtin-file.cjs +5 -5
  94. package/dist/typescript/components/builtin-file.d.cts +3 -3
  95. package/dist/typescript/components/builtin-file.d.mts +6 -6
  96. package/dist/typescript/components/builtin-file.mjs +5 -5
  97. package/dist/typescript/components/dynamic-import-statement.cjs +1 -1
  98. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
  99. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
  100. package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
  101. package/dist/typescript/components/entry-file.cjs +4 -4
  102. package/dist/typescript/components/entry-file.d.cts +3 -3
  103. package/dist/typescript/components/entry-file.d.mts +5 -5
  104. package/dist/typescript/components/entry-file.mjs +4 -4
  105. package/dist/typescript/components/index.cjs +10 -10
  106. package/dist/typescript/components/index.d.cts +5 -5
  107. package/dist/typescript/components/index.d.mts +11 -11
  108. package/dist/typescript/components/index.mjs +10 -10
  109. package/dist/typescript/components/tsdoc-reflection.cjs +2 -2
  110. package/dist/typescript/components/tsdoc-reflection.d.mts +4 -4
  111. package/dist/typescript/components/tsdoc-reflection.mjs +2 -2
  112. package/dist/typescript/components/tsdoc.cjs +1 -1
  113. package/dist/typescript/components/tsdoc.d.mts +3 -3
  114. package/dist/typescript/components/tsdoc.mjs +1 -1
  115. package/dist/typescript/components/typescript-file.cjs +3 -3
  116. package/dist/typescript/components/typescript-file.d.cts +2 -2
  117. package/dist/typescript/components/typescript-file.d.mts +4 -4
  118. package/dist/typescript/components/typescript-file.mjs +3 -3
  119. package/dist/typescript/components/typescript-interface.cjs +3 -3
  120. package/dist/typescript/components/typescript-interface.d.mts +3 -3
  121. package/dist/typescript/components/typescript-interface.mjs +3 -3
  122. package/dist/typescript/components/typescript-object.cjs +3 -3
  123. package/dist/typescript/components/typescript-object.d.mts +3 -3
  124. package/dist/typescript/components/typescript-object.mjs +3 -3
  125. package/dist/typescript/index.cjs +10 -10
  126. package/dist/typescript/index.d.cts +5 -5
  127. package/dist/typescript/index.d.mts +11 -11
  128. package/dist/typescript/index.mjs +10 -10
  129. package/dist/{typescript-file-BjpHsTUl.d.cts → typescript-file-BK8Ohw9s.d.cts} +1 -1
  130. package/dist/{typescript-file-CxHfiE2u.d.mts → typescript-file-CFNjXsdz.d.mts} +2 -2
  131. package/dist/typescript-file-CLL-ELi0.mjs +190 -0
  132. package/dist/typescript-file-HsAUWnQY.cjs +208 -0
  133. package/dist/{typescript-interface-Codd49Sl.cjs → typescript-interface-DwHJ9in_.cjs} +38 -23
  134. package/dist/{typescript-interface-AydoCmGY.mjs → typescript-interface-FVDsEsu0.mjs} +38 -23
  135. package/dist/{typescript-interface-D8u8bgxN.d.mts → typescript-interface-XIwwFVdf.d.mts} +1 -1
  136. package/dist/{typescript-object-qZFhyXJU.d.mts → typescript-object-BTawaBJa.d.mts} +1 -1
  137. package/dist/{typescript-object-DOrJkpcM.cjs → typescript-object-D8MHeFId.cjs} +75 -45
  138. package/dist/{typescript-object-C-BmpHfk.mjs → typescript-object-Ju07nQg9.mjs} +75 -45
  139. package/package.json +11 -11
  140. package/dist/builtin-file-CkwxD4el.mjs +0 -37
  141. package/dist/markdown-file-BFbbzD59.mjs +0 -90
  142. package/dist/markdown-file-CzGNj_Ex.cjs +0 -102
  143. package/dist/tsdoc-BFPYF-Fh.cjs +0 -487
  144. package/dist/tsdoc-BmyOQBxT.mjs +0 -367
  145. package/dist/tsdoc-reflection-3hSdGY1e.mjs +0 -97
  146. package/dist/tsdoc-reflection-BQN8iUG1.cjs +0 -115
  147. package/dist/typescript-file-6Y81yLyB.cjs +0 -157
  148. package/dist/typescript-file-y6oF016h.mjs +0 -139
@@ -1,6 +1,6 @@
1
1
  import { t as PowerlinesContext } from "./context-Cx38_mgI.mjs";
2
+ import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
2
3
  import { Output, Show, computed, ref, splitProps } from "@alloy-js/core";
3
- import { jsx } from "@alloy-js/core/jsx-runtime";
4
4
  import { replacePath } from "@stryke/path/replace";
5
5
 
6
6
  //#region src/core/components/output.tsx
@@ -15,17 +15,24 @@ function Output$1(props) {
15
15
  ]);
16
16
  const contextRef = ref(context);
17
17
  const basePathRef = computed(() => basePath ? replacePath(basePath, contextRef.value.workspaceConfig.workspaceRoot) : contextRef.value.workspaceConfig.workspaceRoot);
18
- return /* @__PURE__ */ jsx(Output, {
19
- ...rest,
20
- basePath: basePathRef.value,
21
- children: /* @__PURE__ */ jsx(PowerlinesContext.Provider, {
22
- value: { ref: contextRef },
23
- children: /* @__PURE__ */ jsx(Show, {
24
- when: Boolean(contextRef.value),
25
- children
26
- })
27
- })
28
- });
18
+ return createComponent(Output, mergeProps(rest, {
19
+ get basePath() {
20
+ return basePathRef.value;
21
+ },
22
+ get children() {
23
+ return createComponent(PowerlinesContext.Provider, {
24
+ value: { ref: contextRef },
25
+ get children() {
26
+ return createComponent(Show, {
27
+ get when() {
28
+ return Boolean(contextRef.value);
29
+ },
30
+ children
31
+ });
32
+ }
33
+ });
34
+ }
35
+ }));
29
36
  }
30
37
 
31
38
  //#endregion
@@ -1,6 +1,6 @@
1
- import { a as ResolvedConfig, n as PluginContext, r as UserConfig } from "./context-0Spyyas6.mjs";
1
+ import { a as ResolvedConfig, n as PluginContext, r as UserConfig } from "./context-DXy7MPku.mjs";
2
+ import { Children } from "@alloy-js/core/jsx-runtime";
2
3
  import { PrintTreeOptions } from "@alloy-js/core";
3
- import { Children as Children$1 } from "@alloy-js/core/jsx-runtime";
4
4
 
5
5
  //#region src/types/plugin.d.ts
6
6
  type AlloyPluginOptions = Partial<PrintTreeOptions> & {
@@ -30,7 +30,7 @@ type AlloyPluginResolvedConfig = ResolvedConfig & {
30
30
  alloy: AlloyPluginOptions;
31
31
  };
32
32
  type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
33
- render: <TContext extends AlloyPluginContext>(this: TContext, children: Children$1) => Promise<void>;
33
+ render: <TContext extends AlloyPluginContext>(this: TContext, children: Children) => Promise<void>;
34
34
  };
35
35
  declare type __ΩAlloyPluginOptions = any[];
36
36
  declare type __ΩAlloyPluginUserConfig = any[];
@@ -1,4 +1,4 @@
1
- import { c as ReflectionOverrideInterface } from "./components-IB9A7YaB.mjs";
1
+ import { c as ReflectionOverrideInterface } from "./components-ixU_ICbr.mjs";
2
2
  import { ComponentContext } from "@alloy-js/core";
3
3
  import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
4
 
@@ -1,5 +1,5 @@
1
+ import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
1
2
  import { Prose } from "@alloy-js/core";
2
- import { Fragment, jsx, jsxs } from "@alloy-js/core/jsx-runtime";
3
3
 
4
4
  //#region src/core/components/single-line-comment.tsx
5
5
  /**
@@ -9,10 +9,12 @@ import { Fragment, jsx, jsxs } from "@alloy-js/core/jsx-runtime";
9
9
  function SingleLineComment(props) {
10
10
  const { variant = "double-slash", children } = props;
11
11
  const commentStart = variant === "slash-star" ? "/* " : variant === "slash-star-star" ? "/** " : variant === "triple-slash" ? "/// " : variant === "markdown" ? "<!-- " : "// ";
12
- return /* @__PURE__ */ jsxs(Fragment, { children: [commentStart, /* @__PURE__ */ jsxs("align", {
12
+ return [commentStart, createIntrinsic("align", {
13
13
  string: commentStart,
14
- children: [/* @__PURE__ */ jsx(Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""]
15
- })] });
14
+ get children() {
15
+ return [createComponent(Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""];
16
+ }
17
+ })];
16
18
  }
17
19
 
18
20
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentProps } from "./components-C8Qs2PB0.cjs";
2
- import * as _alloy_js_core13 from "@alloy-js/core";
2
+ import * as _alloy_js_core12 from "@alloy-js/core";
3
3
 
4
4
  //#region src/core/components/single-line-comment.d.ts
5
5
  type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
@@ -15,7 +15,7 @@ interface SingleLineCommentProps extends ComponentProps {
15
15
  * A single line comment block. The children are rendered as a prose element, which means that they
16
16
  * are broken into multiple lines
17
17
  */
18
- declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core13.Children;
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core12.Children;
19
19
  declare type __ΩSingleLineCommentVariant = any[];
20
20
  declare type __ΩSingleLineCommentProps = any[];
21
21
  //#endregion
@@ -1,4 +1,4 @@
1
- import { n as ComponentProps } from "./components-IB9A7YaB.mjs";
1
+ import { n as ComponentProps } from "./components-ixU_ICbr.mjs";
2
2
  import * as _alloy_js_core15 from "@alloy-js/core";
3
3
 
4
4
  //#region src/core/components/single-line-comment.d.ts
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- let __alloy_js_core = require("@alloy-js/core");
3
2
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
3
+ let __alloy_js_core = require("@alloy-js/core");
4
4
 
5
5
  //#region src/core/components/single-line-comment.tsx
6
6
  /**
@@ -10,10 +10,12 @@ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
10
10
  function SingleLineComment(props) {
11
11
  const { variant = "double-slash", children } = props;
12
12
  const commentStart = variant === "slash-star" ? "/* " : variant === "slash-star-star" ? "/** " : variant === "triple-slash" ? "/// " : variant === "markdown" ? "<!-- " : "// ";
13
- return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core_jsx_runtime.Fragment, { children: [commentStart, /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)("align", {
13
+ return [commentStart, (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
14
14
  string: commentStart,
15
- children: [/* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""]
16
- })] });
15
+ get children() {
16
+ return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""];
17
+ }
18
+ })];
17
19
  }
18
20
 
19
21
  //#endregion
@@ -1,6 +1,6 @@
1
- import { s as StoragePreset } from "./context-0Spyyas6.mjs";
2
- import { n as ComponentProps } from "./components-IB9A7YaB.mjs";
3
- import * as _alloy_js_core13 from "@alloy-js/core";
1
+ import { s as StoragePreset } from "./context-DXy7MPku.mjs";
2
+ import { n as ComponentProps } from "./components-ixU_ICbr.mjs";
3
+ import * as _alloy_js_core12 from "@alloy-js/core";
4
4
  import { SourceFileProps } from "@alloy-js/core";
5
5
 
6
6
  //#region src/core/components/source-file.d.ts
@@ -25,7 +25,7 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
25
25
  * @param props - The properties for the source file.
26
26
  * @returns The rendered source file component.
27
27
  */
28
- declare function SourceFile(props: SourceFileProps$1): _alloy_js_core13.Children;
28
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core12.Children;
29
29
  declare type __ΩSourceFileProps = any[];
30
30
  //#endregion
31
31
  export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
@@ -1,6 +1,6 @@
1
1
  import { s as StoragePreset } from "./context-BsDdxy5g.cjs";
2
2
  import { n as ComponentProps } from "./components-C8Qs2PB0.cjs";
3
- import * as _alloy_js_core9 from "@alloy-js/core";
3
+ import * as _alloy_js_core11 from "@alloy-js/core";
4
4
  import { SourceFileProps } from "@alloy-js/core";
5
5
 
6
6
  //#region src/core/components/source-file.d.ts
@@ -25,7 +25,7 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
25
25
  * @param props - The properties for the source file.
26
26
  * @returns The rendered source file component.
27
27
  */
28
- declare function SourceFile(props: SourceFileProps$1): _alloy_js_core9.Children;
28
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core11.Children;
29
29
  declare type __ΩSourceFileProps = any[];
30
30
  //#endregion
31
31
  export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- let __alloy_js_core = require("@alloy-js/core");
3
2
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
3
+ let __alloy_js_core = require("@alloy-js/core");
4
4
  let __stryke_path_append = require("@stryke/path/append");
5
5
  let defu = require("defu");
6
6
  defu = require_chunk.__toESM(defu);
@@ -41,12 +41,16 @@ function SourceFile(props) {
41
41
  printOptions,
42
42
  output: { preset }
43
43
  }, meta ?? {});
44
- return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core.SourceFileContext.Provider, {
44
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.SourceFileContext.Provider, {
45
45
  value: context,
46
- children: [/* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core.Show, {
47
- when: header !== void 0,
48
- children: [header, /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {})]
49
- }), children]
46
+ get children() {
47
+ return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
48
+ when: header !== void 0,
49
+ get children() {
50
+ return [header, (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
51
+ }
52
+ }), children];
53
+ }
50
54
  });
51
55
  }
52
56
 
@@ -1,5 +1,5 @@
1
+ import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
1
2
  import { Show, SourceDirectoryContext, SourceFileContext, getContext, splitProps, useContext, useFormatOptions } from "@alloy-js/core";
2
- import { jsx, jsxs } from "@alloy-js/core/jsx-runtime";
3
3
  import { appendPath } from "@stryke/path/append";
4
4
  import defu from "defu";
5
5
 
@@ -39,12 +39,16 @@ function SourceFile(props) {
39
39
  printOptions,
40
40
  output: { preset }
41
41
  }, meta ?? {});
42
- return /* @__PURE__ */ jsxs(SourceFileContext.Provider, {
42
+ return createComponent(SourceFileContext.Provider, {
43
43
  value: context,
44
- children: [/* @__PURE__ */ jsxs(Show, {
45
- when: header !== void 0,
46
- children: [header, /* @__PURE__ */ jsx("hbr", {})]
47
- }), children]
44
+ get children() {
45
+ return [createComponent(Show, {
46
+ when: header !== void 0,
47
+ get children() {
48
+ return [header, createIntrinsic("hbr", {})];
49
+ }
50
+ }), children];
51
+ }
48
52
  });
49
53
  }
50
54