@kubb/react-fabric 0.5.2 → 0.5.3
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 +21 -21
- package/dist/jsx-dev-runtime.d.cts +2 -2
- package/dist/jsx-dev-runtime.d.ts +2 -2
- package/dist/jsx-runtime.d.cts +2 -2
- package/dist/jsx-runtime.d.ts +2 -2
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as FabricOptions, b as Source, c as FileManager, f as BaseName, g as Import, h as File$1, i as FabricMode, l as FileProcessor, n as FabricConfig, p as Export, t as Fabric, v as Path, y as ResolvedFile } from "./Fabric-CStIaz99.cjs";
|
|
2
2
|
import { a as JSDoc, d as KubbNode, g as FunctionParams, o as Key, y as createFunctionParams } from "./types-BZlZnQLJ.cjs";
|
|
3
3
|
import { t as Options$1 } from "./reactPlugin-DajNNKBt.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react8 from "react";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
|
|
7
7
|
//#region ../fabric-core/src/defineFabric.d.ts
|
|
@@ -50,9 +50,9 @@ type Props$4<TMeta = unknown> = {
|
|
|
50
50
|
declare function App<TMeta = unknown>({
|
|
51
51
|
meta,
|
|
52
52
|
children
|
|
53
|
-
}: Props$4<TMeta>):
|
|
53
|
+
}: Props$4<TMeta>): react8.JSX.Element;
|
|
54
54
|
declare namespace App {
|
|
55
|
-
var Context:
|
|
55
|
+
var Context: react8.Context<AppContextProps<unknown> | undefined>;
|
|
56
56
|
var displayName: string;
|
|
57
57
|
}
|
|
58
58
|
//#endregion
|
|
@@ -88,7 +88,7 @@ declare function Const({
|
|
|
88
88
|
JSDoc,
|
|
89
89
|
asConst,
|
|
90
90
|
children
|
|
91
|
-
}: Props$3):
|
|
91
|
+
}: Props$3): react8.JSX.Element;
|
|
92
92
|
declare namespace Const {
|
|
93
93
|
var displayName: string;
|
|
94
94
|
}
|
|
@@ -137,13 +137,13 @@ type Props$2<TMeta> = BaseProps & {
|
|
|
137
137
|
declare function File<TMeta extends object = object>({
|
|
138
138
|
children,
|
|
139
139
|
...rest
|
|
140
|
-
}: Props$2<TMeta>):
|
|
140
|
+
}: Props$2<TMeta>): react8.JSX.Element;
|
|
141
141
|
declare namespace File {
|
|
142
142
|
var displayName: string;
|
|
143
143
|
var Export: typeof FileExport;
|
|
144
144
|
var Import: typeof FileImport;
|
|
145
145
|
var Source: typeof FileSource;
|
|
146
|
-
var Context:
|
|
146
|
+
var Context: react8.Context<FileContextProps<object>>;
|
|
147
147
|
}
|
|
148
148
|
type FileSourceProps = Omit<Source, 'value'> & {
|
|
149
149
|
key?: Key;
|
|
@@ -155,7 +155,7 @@ declare function FileSource({
|
|
|
155
155
|
isExportable,
|
|
156
156
|
isIndexable,
|
|
157
157
|
children
|
|
158
|
-
}: FileSourceProps):
|
|
158
|
+
}: FileSourceProps): react8.JSX.Element;
|
|
159
159
|
declare namespace FileSource {
|
|
160
160
|
var displayName: string;
|
|
161
161
|
}
|
|
@@ -167,7 +167,7 @@ declare function FileExport({
|
|
|
167
167
|
path,
|
|
168
168
|
isTypeOnly,
|
|
169
169
|
asAlias
|
|
170
|
-
}: FileExportProps):
|
|
170
|
+
}: FileExportProps): react8.JSX.Element;
|
|
171
171
|
declare namespace FileExport {
|
|
172
172
|
var displayName: string;
|
|
173
173
|
}
|
|
@@ -180,7 +180,7 @@ declare function FileImport({
|
|
|
180
180
|
path,
|
|
181
181
|
isTypeOnly,
|
|
182
182
|
isNameSpace
|
|
183
|
-
}: FileImportProps):
|
|
183
|
+
}: FileImportProps): react8.JSX.Element;
|
|
184
184
|
declare namespace FileImport {
|
|
185
185
|
var displayName: string;
|
|
186
186
|
}
|
|
@@ -233,7 +233,7 @@ declare function Function({
|
|
|
233
233
|
returnType,
|
|
234
234
|
JSDoc,
|
|
235
235
|
children
|
|
236
|
-
}: Props$1):
|
|
236
|
+
}: Props$1): react8.JSX.Element;
|
|
237
237
|
declare namespace Function {
|
|
238
238
|
var displayName: string;
|
|
239
239
|
var Arrow: typeof ArrowFunction;
|
|
@@ -255,7 +255,7 @@ declare function ArrowFunction({
|
|
|
255
255
|
JSDoc,
|
|
256
256
|
singleLine,
|
|
257
257
|
children
|
|
258
|
-
}: ArrowFunctionProps):
|
|
258
|
+
}: ArrowFunctionProps): react8.JSX.Element;
|
|
259
259
|
declare namespace ArrowFunction {
|
|
260
260
|
var displayName: string;
|
|
261
261
|
}
|
|
@@ -296,7 +296,7 @@ declare function Type({
|
|
|
296
296
|
export: canExport,
|
|
297
297
|
JSDoc,
|
|
298
298
|
children
|
|
299
|
-
}: Props):
|
|
299
|
+
}: Props): react8.JSX.Element;
|
|
300
300
|
declare namespace Type {
|
|
301
301
|
var displayName: string;
|
|
302
302
|
}
|
|
@@ -359,15 +359,15 @@ declare class Runtime {
|
|
|
359
359
|
}
|
|
360
360
|
//#endregion
|
|
361
361
|
//#region src/index.d.ts
|
|
362
|
-
declare const useState: typeof
|
|
363
|
-
declare const createContext: typeof
|
|
364
|
-
declare const createElement: typeof
|
|
365
|
-
declare const Fragment:
|
|
366
|
-
declare const use: typeof
|
|
367
|
-
declare const useContext: typeof
|
|
368
|
-
declare const useEffect: typeof
|
|
369
|
-
declare const useReducer: typeof
|
|
370
|
-
declare const useRef: typeof
|
|
362
|
+
declare const useState: typeof react8.useState;
|
|
363
|
+
declare const createContext: typeof react8.createContext;
|
|
364
|
+
declare const createElement: typeof react8.createElement;
|
|
365
|
+
declare const Fragment: react8.ExoticComponent<react8.FragmentProps>;
|
|
366
|
+
declare const use: typeof react8.use;
|
|
367
|
+
declare const useContext: typeof react8.useContext;
|
|
368
|
+
declare const useEffect: typeof react8.useEffect;
|
|
369
|
+
declare const useReducer: typeof react8.useReducer;
|
|
370
|
+
declare const useRef: typeof react8.useRef;
|
|
371
371
|
//#endregion
|
|
372
372
|
export { App, Const, type Fabric, File, FileManager, FileProcessor, Fragment, Function, FunctionParams, Indent, Runtime, Type, createContext, createElement, createFabric, createFile, createFunctionParams, createReactFabric, defineFabric, use, useApp, useContext, useEffect, useFile, useLifecycle, useReducer, useRef, useState };
|
|
373
373
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./Fabric-CStIaz99.cjs";
|
|
2
2
|
import { d as KubbNode, s as KubbElement } from "./types-BZlZnQLJ.cjs";
|
|
3
3
|
import { t as JSX } from "./jsx-namespace-DLxNuglH.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react1 from "react";
|
|
5
5
|
import * as React$1 from "react/jsx-dev-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/jsx-dev-runtime.d.ts
|
|
8
|
-
declare const Fragment:
|
|
8
|
+
declare const Fragment: react1.ExoticComponent<react1.FragmentProps>;
|
|
9
9
|
declare const jsxDEV: typeof React$1.jsxDEV;
|
|
10
10
|
type JSXElement = KubbElement;
|
|
11
11
|
type ReactNode = KubbNode;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./Fabric-C7RMr4BK.js";
|
|
2
2
|
import { d as KubbNode, s as KubbElement } from "./types-KXnjAqUg.js";
|
|
3
3
|
import { t as JSX } from "./jsx-namespace-BLxjMbms.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react0 from "react";
|
|
5
5
|
import * as React$1 from "react/jsx-dev-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/jsx-dev-runtime.d.ts
|
|
8
|
-
declare const Fragment:
|
|
8
|
+
declare const Fragment: react0.ExoticComponent<react0.FragmentProps>;
|
|
9
9
|
declare const jsxDEV: typeof React$1.jsxDEV;
|
|
10
10
|
type JSXElement = KubbElement;
|
|
11
11
|
type ReactNode = KubbNode;
|
package/dist/jsx-runtime.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./Fabric-CStIaz99.cjs";
|
|
2
2
|
import { d as KubbNode, s as KubbElement } from "./types-BZlZnQLJ.cjs";
|
|
3
3
|
import { t as JSX } from "./jsx-namespace-DLxNuglH.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react0 from "react";
|
|
5
5
|
import * as React$1 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/jsx-runtime.d.ts
|
|
8
|
-
declare const Fragment:
|
|
8
|
+
declare const Fragment: react0.ExoticComponent<react0.FragmentProps>;
|
|
9
9
|
declare const jsx: typeof React$1.jsx;
|
|
10
10
|
declare const jsxDEV: typeof React$1.jsx;
|
|
11
11
|
declare const jsxs: typeof React$1.jsxs;
|
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./Fabric-C7RMr4BK.js";
|
|
2
2
|
import { d as KubbNode, s as KubbElement } from "./types-KXnjAqUg.js";
|
|
3
3
|
import { t as JSX } from "./jsx-namespace-BLxjMbms.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react1 from "react";
|
|
5
5
|
import * as React$1 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/jsx-runtime.d.ts
|
|
8
|
-
declare const Fragment:
|
|
8
|
+
declare const Fragment: react1.ExoticComponent<react1.FragmentProps>;
|
|
9
9
|
declare const jsx: typeof React$1.jsx;
|
|
10
10
|
declare const jsxDEV: typeof React$1.jsx;
|
|
11
11
|
declare const jsxs: typeof React$1.jsxs;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/react-fabric",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "React integration for Kubb, providing JSX runtime support and React component generation capabilities for code generation plugins.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -111,10 +111,10 @@
|
|
|
111
111
|
"react-devtools-core": "6.1.2",
|
|
112
112
|
"signal-exit": "^4.1.0",
|
|
113
113
|
"ws": "8.18.0",
|
|
114
|
-
"@kubb/fabric-core": "0.5.
|
|
114
|
+
"@kubb/fabric-core": "0.5.3"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
|
-
"@types/react": "^19.2.
|
|
117
|
+
"@types/react": "^19.2.7",
|
|
118
118
|
"@types/react-reconciler": "0.32.0",
|
|
119
119
|
"@types/ws": "^8.18.1",
|
|
120
120
|
"react": "^19.2.0",
|