@kubb/react-fabric 0.2.12 → 0.2.13
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
|
@@ -4,15 +4,6 @@ import { t as Options$1 } from "./reactPlugin-wV1eBuBU.cjs";
|
|
|
4
4
|
import * as react0 from "react";
|
|
5
5
|
import React, { Fragment, ReactNode, createContext, createElement, use, useContext, useEffect, useReducer, useRef, useState } from "react";
|
|
6
6
|
|
|
7
|
-
//#region ../fabric-core/src/createFabric.d.ts
|
|
8
|
-
declare const createFabric: DefineFabric<FabricOptions>;
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region ../fabric-core/src/createFile.d.ts
|
|
11
|
-
/**
|
|
12
|
-
* Helper to create a file with name and id set
|
|
13
|
-
*/
|
|
14
|
-
declare function createFile<TMeta extends object = object>(file: File$1<TMeta>): ResolvedFile<TMeta>;
|
|
15
|
-
//#endregion
|
|
16
7
|
//#region src/components/App.d.ts
|
|
17
8
|
type AppContextProps<TMeta = unknown> = {
|
|
18
9
|
/**
|
|
@@ -299,6 +290,15 @@ declare function useLifecycle(): {
|
|
|
299
290
|
exit: () => void;
|
|
300
291
|
};
|
|
301
292
|
//#endregion
|
|
293
|
+
//#region ../fabric-core/src/createFabric.d.ts
|
|
294
|
+
declare const createFabric: DefineFabric<FabricOptions>;
|
|
295
|
+
//#endregion
|
|
296
|
+
//#region ../fabric-core/src/createFile.d.ts
|
|
297
|
+
/**
|
|
298
|
+
* Helper to create a file with name and id set
|
|
299
|
+
*/
|
|
300
|
+
declare function createFile<TMeta extends object = object>(file: File$1<TMeta>): ResolvedFile<TMeta>;
|
|
301
|
+
//#endregion
|
|
302
302
|
//#region src/createReactFabric.d.ts
|
|
303
303
|
declare function createReactFabric(config?: FabricConfig<Options$1 & {
|
|
304
304
|
mode?: FabricMode;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,15 +4,6 @@ import { t as Options$1 } from "./reactPlugin-DJqKlTY6.js";
|
|
|
4
4
|
import * as react0 from "react";
|
|
5
5
|
import React, { Fragment, ReactNode, createContext, createElement, use, useContext, useEffect, useReducer, useRef, useState } from "react";
|
|
6
6
|
|
|
7
|
-
//#region ../fabric-core/src/createFabric.d.ts
|
|
8
|
-
declare const createFabric: DefineFabric<FabricOptions>;
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region ../fabric-core/src/createFile.d.ts
|
|
11
|
-
/**
|
|
12
|
-
* Helper to create a file with name and id set
|
|
13
|
-
*/
|
|
14
|
-
declare function createFile<TMeta extends object = object>(file: File$1<TMeta>): ResolvedFile<TMeta>;
|
|
15
|
-
//#endregion
|
|
16
7
|
//#region src/components/App.d.ts
|
|
17
8
|
type AppContextProps<TMeta = unknown> = {
|
|
18
9
|
/**
|
|
@@ -299,6 +290,15 @@ declare function useLifecycle(): {
|
|
|
299
290
|
exit: () => void;
|
|
300
291
|
};
|
|
301
292
|
//#endregion
|
|
293
|
+
//#region ../fabric-core/src/createFabric.d.ts
|
|
294
|
+
declare const createFabric: DefineFabric<FabricOptions>;
|
|
295
|
+
//#endregion
|
|
296
|
+
//#region ../fabric-core/src/createFile.d.ts
|
|
297
|
+
/**
|
|
298
|
+
* Helper to create a file with name and id set
|
|
299
|
+
*/
|
|
300
|
+
declare function createFile<TMeta extends object = object>(file: File$1<TMeta>): ResolvedFile<TMeta>;
|
|
301
|
+
//#endregion
|
|
302
302
|
//#region src/createReactFabric.d.ts
|
|
303
303
|
declare function createReactFabric(config?: FabricConfig<Options$1 & {
|
|
304
304
|
mode?: FabricMode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/react-fabric",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
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",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"react-reconciler": "0.32.0",
|
|
114
114
|
"signal-exit": "^4.1.0",
|
|
115
115
|
"ws": "8.18.0",
|
|
116
|
-
"@kubb/fabric-core": "0.2.
|
|
116
|
+
"@kubb/fabric-core": "0.2.13"
|
|
117
117
|
},
|
|
118
118
|
"devDependencies": {
|
|
119
119
|
"@types/react": "^19.2.2",
|