@kubb/react-fabric 0.5.1 → 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/{Fabric-DECM64S6.d.cts → Fabric-C7RMr4BK.d.ts} +9 -2
- package/dist/{Fabric-DGhsnD3H.d.ts → Fabric-CStIaz99.d.cts} +9 -2
- package/dist/globals.d.cts +2 -2
- package/dist/globals.d.ts +2 -2
- package/dist/index.d.cts +24 -24
- package/dist/index.d.ts +3 -3
- package/dist/jsx-dev-runtime.d.cts +5 -5
- package/dist/jsx-dev-runtime.d.ts +3 -3
- package/dist/{jsx-namespace-eskZDKHk.d.ts → jsx-namespace-BLxjMbms.d.ts} +2 -2
- package/dist/{jsx-namespace-C5bbnidQ.d.cts → jsx-namespace-DLxNuglH.d.cts} +2 -2
- package/dist/jsx-runtime.d.cts +5 -5
- package/dist/jsx-runtime.d.ts +3 -3
- package/dist/parsers.d.cts +1 -1
- package/dist/parsers.d.ts +1 -1
- package/dist/plugins.d.cts +2 -2
- package/dist/plugins.d.ts +2 -2
- package/dist/{reactPlugin-DkhxnXP_.d.cts → reactPlugin-DajNNKBt.d.cts} +2 -2
- package/dist/{reactPlugin-DAOLEVg9.d.ts → reactPlugin-TmG3R6xY.d.ts} +2 -2
- package/dist/{types-C2T-S5lY.d.cts → types-BZlZnQLJ.d.cts} +2 -2
- package/dist/{types-rKVyNQC0.d.ts → types-KXnjAqUg.d.ts} +2 -2
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/package.json +3 -3
|
@@ -198,6 +198,7 @@ declare class FileManager {
|
|
|
198
198
|
events
|
|
199
199
|
}?: Options);
|
|
200
200
|
add(...files: Array<File>): Promise<ResolvedFile<object>[]>;
|
|
201
|
+
upsert(...files: Array<File>): Promise<ResolvedFile<object>[]>;
|
|
201
202
|
flush(): void;
|
|
202
203
|
getByPath(path: Path): ResolvedFile | null;
|
|
203
204
|
deleteByPath(path: Path): void;
|
|
@@ -360,9 +361,15 @@ interface Fabric<T extends FabricOptions = FabricOptions> extends Kubb.Fabric {
|
|
|
360
361
|
* @returns A Fabric instance extended by the plugin (if applicable).
|
|
361
362
|
*/
|
|
362
363
|
use<TPluginOptions = unknown, TMeta extends object = object, TExtension extends Record<string, any> = {}>(target: Plugin<TPluginOptions, TExtension> | Parser<TPluginOptions, TMeta>, ...options: TPluginOptions extends any[] ? NoInfer<TPluginOptions> : AllOptional<TPluginOptions> extends true ? [NoInfer<TPluginOptions>?] : [NoInfer<TPluginOptions>]): (this & TExtension) | Promise<this & TExtension>;
|
|
363
|
-
/**
|
|
364
|
+
/**
|
|
365
|
+
* Add one or more files to the Fabric file manager.
|
|
366
|
+
*/
|
|
364
367
|
addFile(...files: File[]): Promise<void>;
|
|
368
|
+
/**
|
|
369
|
+
* Add one or more files to the Fabric file manager and merge the source, imports, exports
|
|
370
|
+
*/
|
|
371
|
+
upsertFile(...files: File[]): Promise<void>;
|
|
365
372
|
}
|
|
366
373
|
//#endregion
|
|
367
374
|
export { KubbFile_d_exports as _, FabricOptions as a, Source as b, FileManager as c, UserParser as d, BaseName as f, Import as g, File as h, FabricMode as i, FileProcessor as l, Extname as m, FabricConfig as n, Plugin as o, Export as p, FabricContext as r, UserPlugin as s, Fabric as t, Parser as u, Path as v, ResolvedFile as y };
|
|
368
|
-
//# sourceMappingURL=Fabric-
|
|
375
|
+
//# sourceMappingURL=Fabric-C7RMr4BK.d.ts.map
|
|
@@ -198,6 +198,7 @@ declare class FileManager {
|
|
|
198
198
|
events
|
|
199
199
|
}?: Options);
|
|
200
200
|
add(...files: Array<File>): Promise<ResolvedFile<object>[]>;
|
|
201
|
+
upsert(...files: Array<File>): Promise<ResolvedFile<object>[]>;
|
|
201
202
|
flush(): void;
|
|
202
203
|
getByPath(path: Path): ResolvedFile | null;
|
|
203
204
|
deleteByPath(path: Path): void;
|
|
@@ -360,9 +361,15 @@ interface Fabric<T extends FabricOptions = FabricOptions> extends Kubb.Fabric {
|
|
|
360
361
|
* @returns A Fabric instance extended by the plugin (if applicable).
|
|
361
362
|
*/
|
|
362
363
|
use<TPluginOptions = unknown, TMeta extends object = object, TExtension extends Record<string, any> = {}>(target: Plugin<TPluginOptions, TExtension> | Parser<TPluginOptions, TMeta>, ...options: TPluginOptions extends any[] ? NoInfer<TPluginOptions> : AllOptional<TPluginOptions> extends true ? [NoInfer<TPluginOptions>?] : [NoInfer<TPluginOptions>]): (this & TExtension) | Promise<this & TExtension>;
|
|
363
|
-
/**
|
|
364
|
+
/**
|
|
365
|
+
* Add one or more files to the Fabric file manager.
|
|
366
|
+
*/
|
|
364
367
|
addFile(...files: File[]): Promise<void>;
|
|
368
|
+
/**
|
|
369
|
+
* Add one or more files to the Fabric file manager and merge the source, imports, exports
|
|
370
|
+
*/
|
|
371
|
+
upsertFile(...files: File[]): Promise<void>;
|
|
365
372
|
}
|
|
366
373
|
//#endregion
|
|
367
374
|
export { KubbFile_d_exports as _, FabricOptions as a, Source as b, FileManager as c, UserParser as d, BaseName as f, Import as g, File as h, FabricMode as i, FileProcessor as l, Extname as m, FabricConfig as n, Plugin as o, Export as p, FabricContext as r, UserPlugin as s, Fabric as t, Parser as u, Path as v, ResolvedFile as y };
|
|
368
|
-
//# sourceMappingURL=Fabric-
|
|
375
|
+
//# sourceMappingURL=Fabric-CStIaz99.d.cts.map
|
package/dist/globals.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./Fabric-
|
|
2
|
-
import { c as KubbExportProps, d as KubbNode, f as KubbSourceProps, l as KubbFileProps, m as LineBreakProps, p as KubbTextProps, s as KubbElement, u as KubbImportProps } from "./types-
|
|
1
|
+
import "./Fabric-CStIaz99.cjs";
|
|
2
|
+
import { c as KubbExportProps, d as KubbNode, f as KubbSourceProps, l as KubbFileProps, m as LineBreakProps, p as KubbTextProps, s as KubbElement, u as KubbImportProps } from "./types-BZlZnQLJ.cjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/globals.d.ts
|
package/dist/globals.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./Fabric-
|
|
2
|
-
import { c as KubbExportProps, d as KubbNode, f as KubbSourceProps, l as KubbFileProps, m as LineBreakProps, p as KubbTextProps, s as KubbElement, u as KubbImportProps } from "./types-
|
|
1
|
+
import "./Fabric-C7RMr4BK.js";
|
|
2
|
+
import { c as KubbExportProps, d as KubbNode, f as KubbSourceProps, l as KubbFileProps, m as LineBreakProps, p as KubbTextProps, s as KubbElement, u as KubbImportProps } from "./types-KXnjAqUg.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/globals.d.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
2
|
-
import { a as JSDoc, d as KubbNode, g as FunctionParams, o as Key, y as createFunctionParams } from "./types-
|
|
3
|
-
import { t as Options$1 } from "./reactPlugin-
|
|
4
|
-
import * as
|
|
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
|
+
import { a as JSDoc, d as KubbNode, g as FunctionParams, o as Key, y as createFunctionParams } from "./types-BZlZnQLJ.cjs";
|
|
3
|
+
import { t as Options$1 } from "./reactPlugin-DajNNKBt.cjs";
|
|
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
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
2
|
-
import { a as JSDoc, d as KubbNode, g as FunctionParams, o as Key, y as createFunctionParams } from "./types-
|
|
3
|
-
import { t as Options$1 } from "./reactPlugin-
|
|
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-C7RMr4BK.js";
|
|
2
|
+
import { a as JSDoc, d as KubbNode, g as FunctionParams, o as Key, y as createFunctionParams } from "./types-KXnjAqUg.js";
|
|
3
|
+
import { t as Options$1 } from "./reactPlugin-TmG3R6xY.js";
|
|
4
4
|
import * as react3 from "react";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./Fabric-
|
|
2
|
-
import { d as KubbNode, s as KubbElement } from "./types-
|
|
3
|
-
import { t as JSX } from "./jsx-namespace-
|
|
4
|
-
import * as
|
|
1
|
+
import "./Fabric-CStIaz99.cjs";
|
|
2
|
+
import { d as KubbNode, s as KubbElement } from "./types-BZlZnQLJ.cjs";
|
|
3
|
+
import { t as JSX } from "./jsx-namespace-DLxNuglH.cjs";
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import "./Fabric-
|
|
2
|
-
import { d as KubbNode, s as KubbElement } from "./types-
|
|
3
|
-
import { t as JSX } from "./jsx-namespace-
|
|
1
|
+
import "./Fabric-C7RMr4BK.js";
|
|
2
|
+
import { d as KubbNode, s as KubbElement } from "./types-KXnjAqUg.js";
|
|
3
|
+
import { t as JSX } from "./jsx-namespace-BLxjMbms.js";
|
|
4
4
|
import * as react0 from "react";
|
|
5
5
|
import * as React$1 from "react/jsx-dev-runtime";
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as KubbExportProps, d as KubbNode, f as KubbSourceProps, l as KubbFileProps, m as LineBreakProps, p as KubbTextProps, s as KubbElement, u as KubbImportProps } from "./types-
|
|
1
|
+
import { c as KubbExportProps, d as KubbNode, f as KubbSourceProps, l as KubbFileProps, m as LineBreakProps, p as KubbTextProps, s as KubbElement, u as KubbImportProps } from "./types-KXnjAqUg.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/jsx-namespace.d.ts
|
|
@@ -28,4 +28,4 @@ declare namespace JSX$1 {
|
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
30
|
export { JSX$1 as t };
|
|
31
|
-
//# sourceMappingURL=jsx-namespace-
|
|
31
|
+
//# sourceMappingURL=jsx-namespace-BLxjMbms.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as KubbExportProps, d as KubbNode, f as KubbSourceProps, l as KubbFileProps, m as LineBreakProps, p as KubbTextProps, s as KubbElement, u as KubbImportProps } from "./types-
|
|
1
|
+
import { c as KubbExportProps, d as KubbNode, f as KubbSourceProps, l as KubbFileProps, m as LineBreakProps, p as KubbTextProps, s as KubbElement, u as KubbImportProps } from "./types-BZlZnQLJ.cjs";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/jsx-namespace.d.ts
|
|
@@ -28,4 +28,4 @@ declare namespace JSX$1 {
|
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
30
|
export { JSX$1 as t };
|
|
31
|
-
//# sourceMappingURL=jsx-namespace-
|
|
31
|
+
//# sourceMappingURL=jsx-namespace-DLxNuglH.d.cts.map
|
package/dist/jsx-runtime.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./Fabric-
|
|
2
|
-
import { d as KubbNode, s as KubbElement } from "./types-
|
|
3
|
-
import { t as JSX } from "./jsx-namespace-
|
|
4
|
-
import * as
|
|
1
|
+
import "./Fabric-CStIaz99.cjs";
|
|
2
|
+
import { d as KubbNode, s as KubbElement } from "./types-BZlZnQLJ.cjs";
|
|
3
|
+
import { t as JSX } from "./jsx-namespace-DLxNuglH.cjs";
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import "./Fabric-
|
|
2
|
-
import { d as KubbNode, s as KubbElement } from "./types-
|
|
3
|
-
import { t as JSX } from "./jsx-namespace-
|
|
1
|
+
import "./Fabric-C7RMr4BK.js";
|
|
2
|
+
import { d as KubbNode, s as KubbElement } from "./types-KXnjAqUg.js";
|
|
3
|
+
import { t as JSX } from "./jsx-namespace-BLxjMbms.js";
|
|
4
4
|
import * as react1 from "react";
|
|
5
5
|
import * as React$1 from "react/jsx-runtime";
|
|
6
6
|
|
package/dist/parsers.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as UserParser, u as Parser } from "./Fabric-
|
|
1
|
+
import { d as UserParser, u as Parser } from "./Fabric-CStIaz99.cjs";
|
|
2
2
|
|
|
3
3
|
//#region ../fabric-core/src/parsers/createParser.d.ts
|
|
4
4
|
declare function createParser<TOptions = unknown, TMeta extends object = any>(parser: UserParser<TOptions, TMeta>): Parser<TOptions, TMeta>;
|
package/dist/parsers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as UserParser, u as Parser } from "./Fabric-
|
|
1
|
+
import { d as UserParser, u as Parser } from "./Fabric-C7RMr4BK.js";
|
|
2
2
|
|
|
3
3
|
//#region ../fabric-core/src/parsers/createParser.d.ts
|
|
4
4
|
declare function createParser<TOptions = unknown, TMeta extends object = any>(parser: UserParser<TOptions, TMeta>): Parser<TOptions, TMeta>;
|
package/dist/plugins.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as Extname, o as Plugin, s as UserPlugin } from "./Fabric-
|
|
2
|
-
import { n as reactPlugin } from "./reactPlugin-
|
|
1
|
+
import { m as Extname, o as Plugin, s as UserPlugin } from "./Fabric-CStIaz99.cjs";
|
|
2
|
+
import { n as reactPlugin } from "./reactPlugin-DajNNKBt.cjs";
|
|
3
3
|
import { LogLevel } from "consola";
|
|
4
4
|
|
|
5
5
|
//#region ../fabric-core/src/plugins/barrelPlugin.d.ts
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as Extname, o as Plugin, s as UserPlugin } from "./Fabric-
|
|
2
|
-
import { n as reactPlugin } from "./reactPlugin-
|
|
1
|
+
import { m as Extname, o as Plugin, s as UserPlugin } from "./Fabric-C7RMr4BK.js";
|
|
2
|
+
import { n as reactPlugin } from "./reactPlugin-TmG3R6xY.js";
|
|
3
3
|
import { LogLevel } from "consola";
|
|
4
4
|
|
|
5
5
|
//#region ../fabric-core/src/plugins/barrelPlugin.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as Plugin } from "./Fabric-
|
|
1
|
+
import { o as Plugin } from "./Fabric-CStIaz99.cjs";
|
|
2
2
|
import { ElementType } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/reactPlugin.d.ts
|
|
@@ -28,4 +28,4 @@ declare global {
|
|
|
28
28
|
declare const reactPlugin: Plugin<Options, ExtendOptions>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { reactPlugin as n, Options as t };
|
|
31
|
-
//# sourceMappingURL=reactPlugin-
|
|
31
|
+
//# sourceMappingURL=reactPlugin-DajNNKBt.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as Plugin } from "./Fabric-
|
|
1
|
+
import { o as Plugin } from "./Fabric-C7RMr4BK.js";
|
|
2
2
|
import { ElementType } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/reactPlugin.d.ts
|
|
@@ -28,4 +28,4 @@ declare global {
|
|
|
28
28
|
declare const reactPlugin: Plugin<Options, ExtendOptions>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { reactPlugin as n, Options as t };
|
|
31
|
-
//# sourceMappingURL=reactPlugin-
|
|
31
|
+
//# sourceMappingURL=reactPlugin-TmG3R6xY.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as Source, g as Import, h as File, p as Export } from "./Fabric-
|
|
1
|
+
import { b as Source, g as Import, h as File, p as Export } from "./Fabric-CStIaz99.cjs";
|
|
2
2
|
import React, { JSX, Key, ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/getFunctionParams.d.ts
|
|
@@ -101,4 +101,4 @@ type KubbExportProps = Export;
|
|
|
101
101
|
type LineBreakProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLBRElement>, HTMLBRElement>;
|
|
102
102
|
//#endregion
|
|
103
103
|
export { Param as _, JSDoc as a, KubbExportProps as c, KubbNode as d, KubbSourceProps as f, FunctionParams as g, TextNode as h, ElementNames as i, KubbFileProps as l, LineBreakProps as m, DOMNode as n, Key as o, KubbTextProps as p, DOMNodeAttribute as r, KubbElement as s, DOMElement as t, KubbImportProps as u, Params as v, createFunctionParams as y };
|
|
104
|
-
//# sourceMappingURL=types-
|
|
104
|
+
//# sourceMappingURL=types-BZlZnQLJ.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as Source, g as Import, h as File, p as Export } from "./Fabric-
|
|
1
|
+
import { b as Source, g as Import, h as File, p as Export } from "./Fabric-C7RMr4BK.js";
|
|
2
2
|
import React, { JSX, Key, ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/getFunctionParams.d.ts
|
|
@@ -101,4 +101,4 @@ type KubbExportProps = Export;
|
|
|
101
101
|
type LineBreakProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLBRElement>, HTMLBRElement>;
|
|
102
102
|
//#endregion
|
|
103
103
|
export { Param as _, JSDoc as a, KubbExportProps as c, KubbNode as d, KubbSourceProps as f, FunctionParams as g, TextNode as h, ElementNames as i, KubbFileProps as l, LineBreakProps as m, DOMNode as n, Key as o, KubbTextProps as p, DOMNodeAttribute as r, KubbElement as s, DOMElement as t, KubbImportProps as u, Params as v, createFunctionParams as y };
|
|
104
|
-
//# sourceMappingURL=types-
|
|
104
|
+
//# sourceMappingURL=types-KXnjAqUg.d.ts.map
|
package/dist/types.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as KubbFile_d_exports, a as FabricOptions, i as FabricMode, n as FabricConfig, r as FabricContext } from "./Fabric-
|
|
2
|
-
import { _ as Param, a as JSDoc, c as KubbExportProps, d as KubbNode, f as KubbSourceProps, h as TextNode, i as ElementNames, l as KubbFileProps, m as LineBreakProps, n as DOMNode, o as Key, p as KubbTextProps, r as DOMNodeAttribute, s as KubbElement, t as DOMElement, u as KubbImportProps, v as Params } from "./types-
|
|
1
|
+
import { _ as KubbFile_d_exports, a as FabricOptions, i as FabricMode, n as FabricConfig, r as FabricContext } from "./Fabric-CStIaz99.cjs";
|
|
2
|
+
import { _ as Param, a as JSDoc, c as KubbExportProps, d as KubbNode, f as KubbSourceProps, h as TextNode, i as ElementNames, l as KubbFileProps, m as LineBreakProps, n as DOMNode, o as Key, p as KubbTextProps, r as DOMNodeAttribute, s as KubbElement, t as DOMElement, u as KubbImportProps, v as Params } from "./types-BZlZnQLJ.cjs";
|
|
3
3
|
export { DOMElement, DOMNode, DOMNodeAttribute, ElementNames, FabricConfig, FabricContext, FabricMode, FabricOptions, JSDoc, Key, KubbElement, KubbExportProps, KubbFile_d_exports as KubbFile, KubbFileProps, KubbImportProps, KubbNode, KubbSourceProps, KubbTextProps, LineBreakProps, Param, Params, TextNode };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as KubbFile_d_exports, a as FabricOptions, i as FabricMode, n as FabricConfig, r as FabricContext } from "./Fabric-
|
|
2
|
-
import { _ as Param, a as JSDoc, c as KubbExportProps, d as KubbNode, f as KubbSourceProps, h as TextNode, i as ElementNames, l as KubbFileProps, m as LineBreakProps, n as DOMNode, o as Key, p as KubbTextProps, r as DOMNodeAttribute, s as KubbElement, t as DOMElement, u as KubbImportProps, v as Params } from "./types-
|
|
1
|
+
import { _ as KubbFile_d_exports, a as FabricOptions, i as FabricMode, n as FabricConfig, r as FabricContext } from "./Fabric-C7RMr4BK.js";
|
|
2
|
+
import { _ as Param, a as JSDoc, c as KubbExportProps, d as KubbNode, f as KubbSourceProps, h as TextNode, i as ElementNames, l as KubbFileProps, m as LineBreakProps, n as DOMNode, o as Key, p as KubbTextProps, r as DOMNodeAttribute, s as KubbElement, t as DOMElement, u as KubbImportProps, v as Params } from "./types-KXnjAqUg.js";
|
|
3
3
|
export { DOMElement, DOMNode, DOMNodeAttribute, ElementNames, FabricConfig, FabricContext, FabricMode, FabricOptions, JSDoc, Key, KubbElement, KubbExportProps, KubbFile_d_exports as KubbFile, KubbFileProps, KubbImportProps, KubbNode, KubbSourceProps, KubbTextProps, LineBreakProps, Param, Params, TextNode };
|
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",
|