@kubb/renderer-jsx 5.18.6 → 5.18.8

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.
package/dist/index.cjs CHANGED
@@ -86,7 +86,7 @@ function File({ children, ...props }) {
86
86
  /**
87
87
  * Marks a block of source text to be associated with the enclosing {@link File}.
88
88
  *
89
- * Children are treated as the source string. `isExportable` prepends the `export` keyword,
89
+ * Children are treated as the source string. `isExportable` marks the source as an exported declaration,
90
90
  * `isIndexable` includes the source in barrel/index generation, and `name` keys deduplication.
91
91
  *
92
92
  * @example Exportable, indexable source block
package/dist/index.d.cts CHANGED
@@ -121,7 +121,7 @@ type FileSourceProps = Omit<ast.SourceNode, 'kind' | 'value'> & {
121
121
  /**
122
122
  * Marks a block of source text to be associated with the enclosing {@link File}.
123
123
  *
124
- * Children are treated as the source string. `isExportable` prepends the `export` keyword,
124
+ * Children are treated as the source string. `isExportable` marks the source as an exported declaration,
125
125
  * `isIndexable` includes the source in barrel/index generation, and `name` keys deduplication.
126
126
  *
127
127
  * @example Exportable, indexable source block
@@ -427,5 +427,4 @@ export declare const jsxRenderer: () => {
427
427
  readonly files: ast.FileNode[];
428
428
  [Symbol.dispose](): void;
429
429
  };
430
- export type { JSDoc, Key, KubbReactElement, KubbReactNode };
431
- //# sourceMappingURL=index.d.cts.map
430
+ export type { JSDoc, Key, KubbReactElement, KubbReactNode };
package/dist/index.d.ts CHANGED
@@ -121,7 +121,7 @@ type FileSourceProps = Omit<ast.SourceNode, 'kind' | 'value'> & {
121
121
  /**
122
122
  * Marks a block of source text to be associated with the enclosing {@link File}.
123
123
  *
124
- * Children are treated as the source string. `isExportable` prepends the `export` keyword,
124
+ * Children are treated as the source string. `isExportable` marks the source as an exported declaration,
125
125
  * `isIndexable` includes the source in barrel/index generation, and `name` keys deduplication.
126
126
  *
127
127
  * @example Exportable, indexable source block
@@ -427,5 +427,4 @@ export declare const jsxRenderer: () => {
427
427
  readonly files: ast.FileNode[];
428
428
  [Symbol.dispose](): void;
429
429
  };
430
- export type { JSDoc, Key, KubbReactElement, KubbReactNode };
431
- //# sourceMappingURL=index.d.ts.map
430
+ export type { JSDoc, Key, KubbReactElement, KubbReactNode };
package/dist/index.js CHANGED
@@ -85,7 +85,7 @@ function File({ children, ...props }) {
85
85
  /**
86
86
  * Marks a block of source text to be associated with the enclosing {@link File}.
87
87
  *
88
- * Children are treated as the source string. `isExportable` prepends the `export` keyword,
88
+ * Children are treated as the source string. `isExportable` marks the source as an exported declaration,
89
89
  * `isIndexable` includes the source in barrel/index generation, and `name` keys deduplication.
90
90
  *
91
91
  * @example Exportable, indexable source block
@@ -64,5 +64,4 @@ export declare function isKubbElement(value: unknown): value is KubbReactElement
64
64
  export declare const jsx: typeof createElement;
65
65
  export declare const jsxs: typeof createElement;
66
66
  export declare const jsxDEV: typeof createElement;
67
- export type { JSX };
68
- //# sourceMappingURL=jsx-runtime.d.cts.map
67
+ export type { JSX };
@@ -64,5 +64,4 @@ export declare function isKubbElement(value: unknown): value is KubbReactElement
64
64
  export declare const jsx: typeof createElement;
65
65
  export declare const jsxs: typeof createElement;
66
66
  export declare const jsxDEV: typeof createElement;
67
- export type { JSX };
68
- //# sourceMappingURL=jsx-runtime.d.ts.map
67
+ export type { JSX };
@@ -31,5 +31,4 @@ type KubbReactNode = KubbReactElement | string | number | bigint | boolean | nul
31
31
  * ```
32
32
  */
33
33
  type JSDoc = ast.JSDocNode;
34
- export { KubbReactNode as i, Key as n, KubbReactElement as r, JSDoc as t };
35
- //# sourceMappingURL=types-D_u8uaRO.d.cts.map
34
+ export { KubbReactNode as i, Key as n, KubbReactElement as r, JSDoc as t };
@@ -31,5 +31,4 @@ type KubbReactNode = KubbReactElement | string | number | bigint | boolean | nul
31
31
  * ```
32
32
  */
33
33
  type JSDoc = ast.JSDocNode;
34
- export { KubbReactNode as i, Key as n, KubbReactElement as r, JSDoc as t };
35
- //# sourceMappingURL=types-D_u8uaRO.d.ts.map
34
+ export { KubbReactNode as i, Key as n, KubbReactElement as r, JSDoc as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/renderer-jsx",
3
- "version": "5.18.6",
3
+ "version": "5.18.8",
4
4
  "description": "Self-contained synchronous JSX renderer for Kubb. Turns JSX into FileNodes with built-in components (File, Function, Type, Const). An alternative for the ast.factory syntax.",
5
5
  "keywords": [
6
6
  "codegen",
@@ -94,7 +94,7 @@
94
94
  "registry": "https://registry.npmjs.org/"
95
95
  },
96
96
  "dependencies": {
97
- "@kubb/ast": "^5.18.6",
97
+ "@kubb/ast": "^5.18.8",
98
98
  "yaml": "^2.9.1"
99
99
  },
100
100
  "engines": {