@kubb/renderer-jsx 5.11.6 → 5.12.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.
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -2,11 +2,11 @@ import { i as KubbReactNode, n as Key, r as KubbReactElement, t as JSDoc } from
|
|
|
2
2
|
import { ast } from "@kubb/ast";
|
|
3
3
|
//#region src/components/md/Callout.d.ts
|
|
4
4
|
declare const CALLOUT_LABEL: {
|
|
5
|
-
readonly tip:
|
|
6
|
-
readonly note:
|
|
7
|
-
readonly important:
|
|
8
|
-
readonly warning:
|
|
9
|
-
readonly caution:
|
|
5
|
+
readonly tip: 'TIP';
|
|
6
|
+
readonly note: 'NOTE';
|
|
7
|
+
readonly important: 'IMPORTANT';
|
|
8
|
+
readonly warning: 'WARNING';
|
|
9
|
+
readonly caution: 'CAUTION';
|
|
10
10
|
};
|
|
11
11
|
type CalloutType = keyof typeof CALLOUT_LABEL;
|
|
12
12
|
type Props$7 = {
|
|
@@ -146,9 +146,9 @@ type Props$6<TMeta> = BaseProps & {
|
|
|
146
146
|
*/
|
|
147
147
|
export declare function File<TMeta extends object = object>({ children, ...props }: Props$6<TMeta>): KubbReactElement;
|
|
148
148
|
export declare namespace File {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
149
|
+
export { FileExport as Export };
|
|
150
|
+
export { FileImport as Import };
|
|
151
|
+
export { FileSource as Source };
|
|
152
152
|
}
|
|
153
153
|
type FileSourceProps = Omit<ast.SourceNode, 'kind' | 'value'> & {
|
|
154
154
|
key?: Key;
|
|
@@ -280,7 +280,7 @@ type Props$4 = Omit<ast.FunctionNode, 'kind' | 'nodes'> & {
|
|
|
280
280
|
*/
|
|
281
281
|
export declare function Function({ children, ...props }: Props$4): KubbReactElement;
|
|
282
282
|
export declare namespace Function {
|
|
283
|
-
|
|
283
|
+
export { ArrowFunction as Arrow };
|
|
284
284
|
}
|
|
285
285
|
type ArrowFunctionProps = Omit<ast.ArrowFunctionNode, 'kind' | 'nodes'> & {
|
|
286
286
|
key?: Key;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { i as KubbReactNode, n as Key, r as KubbReactElement, t as JSDoc } from
|
|
|
2
2
|
import { ast } from "@kubb/ast";
|
|
3
3
|
//#region src/components/md/Callout.d.ts
|
|
4
4
|
declare const CALLOUT_LABEL: {
|
|
5
|
-
readonly tip:
|
|
6
|
-
readonly note:
|
|
7
|
-
readonly important:
|
|
8
|
-
readonly warning:
|
|
9
|
-
readonly caution:
|
|
5
|
+
readonly tip: 'TIP';
|
|
6
|
+
readonly note: 'NOTE';
|
|
7
|
+
readonly important: 'IMPORTANT';
|
|
8
|
+
readonly warning: 'WARNING';
|
|
9
|
+
readonly caution: 'CAUTION';
|
|
10
10
|
};
|
|
11
11
|
type CalloutType = keyof typeof CALLOUT_LABEL;
|
|
12
12
|
type Props$7 = {
|
|
@@ -146,9 +146,9 @@ type Props$6<TMeta> = BaseProps & {
|
|
|
146
146
|
*/
|
|
147
147
|
export declare function File<TMeta extends object = object>({ children, ...props }: Props$6<TMeta>): KubbReactElement;
|
|
148
148
|
export declare namespace File {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
149
|
+
export { FileExport as Export };
|
|
150
|
+
export { FileImport as Import };
|
|
151
|
+
export { FileSource as Source };
|
|
152
152
|
}
|
|
153
153
|
type FileSourceProps = Omit<ast.SourceNode, 'kind' | 'value'> & {
|
|
154
154
|
key?: Key;
|
|
@@ -280,7 +280,7 @@ type Props$4 = Omit<ast.FunctionNode, 'kind' | 'nodes'> & {
|
|
|
280
280
|
*/
|
|
281
281
|
export declare function Function({ children, ...props }: Props$4): KubbReactElement;
|
|
282
282
|
export declare namespace Function {
|
|
283
|
-
|
|
283
|
+
export { ArrowFunction as Arrow };
|
|
284
284
|
}
|
|
285
285
|
type ArrowFunctionProps = Omit<ast.ArrowFunctionNode, 'kind' | 'nodes'> & {
|
|
286
286
|
key?: Key;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/renderer-jsx",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.0",
|
|
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.
|
|
97
|
+
"@kubb/ast": "5.12.0",
|
|
98
98
|
"yaml": "^2.9.1"
|
|
99
99
|
},
|
|
100
100
|
"engines": {
|