@kubb/react-fabric 0.4.0 → 0.4.1
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/{chunk-OzOGZVnI.js → chunk-BHcwYQRN.js} +20 -11
- package/dist/{chunk-DWy1uDak.cjs → chunk-DSlc6foC.cjs} +10 -6
- package/dist/{devtools-Bu3zlaPp.cjs → devtools-DRXCsX9I.cjs} +2 -2
- package/dist/{devtools-Bu3zlaPp.cjs.map → devtools-DRXCsX9I.cjs.map} +1 -1
- package/dist/devtools.cjs +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +5 -5
- package/dist/{jsx-dev-runtime-CB3pf-1W.cjs → jsx-dev-runtime-BiO7A4L5.cjs} +2 -2
- package/dist/{jsx-dev-runtime-CB3pf-1W.cjs.map → jsx-dev-runtime-BiO7A4L5.cjs.map} +1 -1
- package/dist/{jsx-dev-runtime-CB2e_LA2.js → jsx-dev-runtime-aYzeEJ2N.js} +2 -2
- package/dist/{jsx-dev-runtime-CB2e_LA2.js.map → jsx-dev-runtime-aYzeEJ2N.js.map} +1 -1
- package/dist/jsx-dev-runtime.cjs +1 -1
- package/dist/jsx-dev-runtime.js +1 -1
- package/dist/{jsx-runtime-5qOQhPPb.js → jsx-runtime-B95ZQ2MZ.js} +4 -4
- package/dist/{jsx-runtime-5qOQhPPb.js.map → jsx-runtime-B95ZQ2MZ.js.map} +1 -1
- package/dist/{jsx-runtime-cOHyKGzA.cjs → jsx-runtime-BnIQNoyE.cjs} +4 -4
- package/dist/{jsx-runtime-cOHyKGzA.cjs.map → jsx-runtime-BnIQNoyE.cjs.map} +1 -1
- package/dist/jsx-runtime.cjs +2 -2
- package/dist/jsx-runtime.js +2 -2
- package/dist/plugins.cjs +3 -3
- package/dist/plugins.js +3 -3
- package/dist/{reactPlugin-DCT6yE8D.cjs → reactPlugin-B-vyv4g0.cjs} +15 -15
- package/dist/{reactPlugin-DCT6yE8D.cjs.map → reactPlugin-B-vyv4g0.cjs.map} +1 -1
- package/dist/{reactPlugin-BWBCDdIm.js → reactPlugin-BtX7BIDy.js} +15 -15
- package/dist/{reactPlugin-BWBCDdIm.js.map → reactPlugin-BtX7BIDy.js.map} +1 -1
- package/package.json +6 -6
|
@@ -10,21 +10,30 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
10
10
|
var __commonJS = (cb, mod) => function() {
|
|
11
11
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
12
12
|
};
|
|
13
|
-
var __export = (all) => {
|
|
13
|
+
var __export = (all, symbols) => {
|
|
14
14
|
let target = {};
|
|
15
|
-
for (var name in all)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
for (var name in all) {
|
|
16
|
+
__defProp(target, name, {
|
|
17
|
+
get: all[name],
|
|
18
|
+
enumerable: true
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
if (symbols) {
|
|
22
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
23
|
+
}
|
|
19
24
|
return target;
|
|
20
25
|
};
|
|
21
26
|
var __copyProps = (to, from, except, desc) => {
|
|
22
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
28
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
29
|
+
key = keys[i];
|
|
30
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
31
|
+
__defProp(to, key, {
|
|
32
|
+
get: ((k) => from[k]).bind(null, key),
|
|
33
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
28
37
|
}
|
|
29
38
|
return to;
|
|
30
39
|
};
|
|
@@ -9,12 +9,16 @@ var __commonJS = (cb, mod) => function() {
|
|
|
9
9
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
10
|
};
|
|
11
11
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
14
|
+
key = keys[i];
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
16
|
+
__defProp(to, key, {
|
|
17
|
+
get: ((k) => from[k]).bind(null, key),
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
18
22
|
}
|
|
19
23
|
return to;
|
|
20
24
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
1
|
+
const require_chunk = require('./chunk-DSlc6foC.cjs');
|
|
2
2
|
let execa = require("execa");
|
|
3
3
|
let signal_exit = require("signal-exit");
|
|
4
4
|
let ws = require("ws");
|
|
@@ -97,4 +97,4 @@ Object.defineProperty(exports, 'open', {
|
|
|
97
97
|
return open;
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
|
-
//# sourceMappingURL=devtools-
|
|
100
|
+
//# sourceMappingURL=devtools-DRXCsX9I.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-
|
|
1
|
+
{"version":3,"file":"devtools-DRXCsX9I.cjs","names":[],"sources":["../src/devtools.ts"],"sourcesContent":["import { execa } from 'execa'\nimport { onExit } from 'signal-exit'\nimport ws from 'ws'\n\ndeclare global {\n var WebSocket: typeof WebSocket\n var self: any\n var window: any\n var isDevtoolsEnabled: any\n}\n\nexport function open() {\n // biome-ignore lint/suspicious/noTsIgnore: cannot find types\n // @ts-ignore\n import('react-devtools-core').then((devtools) => {\n // Filter out Kubbs's internal components from devtools for a cleaner view.\n // See https://github.com/facebook/react/blob/edf6eac8a181860fd8a2d076a43806f1237495a1/packages/react-devtools-shared/src/types.js#L24\n const customGlobal = global as any\n customGlobal.WebSocket ||= ws\n customGlobal.window ||= global\n customGlobal.self ||= global\n customGlobal.isDevtoolsEnabled = true\n customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'Context.Provider',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'KubbRoot',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'KubbErrorBoundary',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-file',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-text',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-import',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-export',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-source',\n isEnabled: true,\n isValid: true,\n },\n ]\n\n console.info('Opening devtools')\n const controller = new AbortController()\n execa({\n stdio: 'pipe',\n preferLocal: true,\n cancelSignal: controller.signal,\n gracefulCancel: true,\n })`npx react-devtools`\n\n ;(devtools as any).initialize()\n console.info('Connecting devtools')\n\n try {\n ;(devtools as any).connectToDevTools({\n host: 'localhost',\n port: 8097,\n useHttps: false,\n isAppActive: () => true,\n })\n } catch (e) {\n console.error(e)\n console.info('Error when connecting the devtools')\n }\n\n onExit(\n () => {\n console.info('Disconnecting devtools')\n controller.abort()\n },\n { alwaysLast: false },\n )\n })\n}\n"],"mappings":";;;;;;;AAWA,SAAgB,OAAO;AAGrB,QAAO,uBAAuB,MAAM,aAAa;EAG/C,MAAM,eAAe;AACrB,eAAa,cAAb,aAAa,YAAc;AAC3B,eAAa,WAAb,aAAa,SAAW;AACxB,eAAa,SAAb,aAAa,OAAS;AACtB,eAAa,oBAAoB;AACjC,eAAa,OAAO,uCAAuC;GACzD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACF;AAED,UAAQ,KAAK,mBAAmB;EAChC,MAAM,aAAa,IAAI,iBAAiB;AACxC,mBAAM;GACJ,OAAO;GACP,aAAa;GACb,cAAc,WAAW;GACzB,gBAAgB;GACjB,CAAC;AAED,EAAC,SAAiB,YAAY;AAC/B,UAAQ,KAAK,sBAAsB;AAEnC,MAAI;AACD,GAAC,SAAiB,kBAAkB;IACnC,MAAM;IACN,MAAM;IACN,UAAU;IACV,mBAAmB;IACpB,CAAC;WACK,GAAG;AACV,WAAQ,MAAM,EAAE;AAChB,WAAQ,KAAK,qCAAqC;;AAGpD,gCACQ;AACJ,WAAQ,KAAK,yBAAyB;AACtC,cAAW,OAAO;KAEpB,EAAE,YAAY,OAAO,CACtB;GACD"}
|
package/dist/devtools.cjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
2
|
-
const require_jsx_dev_runtime = require('./jsx-dev-runtime-
|
|
3
|
-
const require_reactPlugin = require('./reactPlugin-
|
|
4
|
-
const require_jsx_runtime = require('./jsx-runtime-
|
|
5
|
-
const require_devtools = require('./devtools-
|
|
1
|
+
const require_chunk = require('./chunk-DSlc6foC.cjs');
|
|
2
|
+
const require_jsx_dev_runtime = require('./jsx-dev-runtime-BiO7A4L5.cjs');
|
|
3
|
+
const require_reactPlugin = require('./reactPlugin-B-vyv4g0.cjs');
|
|
4
|
+
const require_jsx_runtime = require('./jsx-runtime-BnIQNoyE.cjs');
|
|
5
|
+
const require_devtools = require('./devtools-DRXCsX9I.cjs');
|
|
6
6
|
let __kubb_fabric_core = require("@kubb/fabric-core");
|
|
7
7
|
let dedent = require("dedent");
|
|
8
8
|
dedent = require_chunk.__toESM(dedent);
|
|
9
9
|
let natural_orderby = require("natural-orderby");
|
|
10
10
|
|
|
11
11
|
//#region src/components/App.tsx
|
|
12
|
-
var import_react = require_jsx_dev_runtime.require_react();
|
|
12
|
+
var import_react = /* @__PURE__ */ require_chunk.__toESM(require_jsx_dev_runtime.require_react());
|
|
13
13
|
const AppContext = (0, import_react.createContext)(void 0);
|
|
14
14
|
function App({ meta, children }) {
|
|
15
15
|
const { exit } = (0, import_react.useContext)(require_reactPlugin.RootContext);
|
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-DECM64S6.cjs";
|
|
2
2
|
import { a as JSDoc, d as KubbNode, g as FunctionParams, o as Key, y as createFunctionParams } from "./types-C2T-S5lY.cjs";
|
|
3
3
|
import { t as Options$1 } from "./reactPlugin-DkhxnXP_.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react6 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>): react6.JSX.Element;
|
|
54
54
|
declare namespace App {
|
|
55
|
-
var Context:
|
|
55
|
+
var Context: react6.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): react6.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>): react6.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: react6.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): react6.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): react6.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): react6.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): react6.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): react6.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): react6.JSX.Element;
|
|
300
300
|
declare namespace Type {
|
|
301
301
|
var displayName: string;
|
|
302
302
|
}
|
package/dist/index.d.ts
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-DGhsnD3H.js";
|
|
2
2
|
import { a as JSDoc, d as KubbNode, g as FunctionParams, o as Key, y as createFunctionParams } from "./types-rKVyNQC0.js";
|
|
3
3
|
import { t as Options$1 } from "./reactPlugin-DAOLEVg9.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react0 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>): react0.JSX.Element;
|
|
54
54
|
declare namespace App {
|
|
55
|
-
var Context:
|
|
55
|
+
var Context: react0.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): react0.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>): react0.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: react0.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): react0.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): react0.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): react0.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): react0.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): react0.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): react0.JSX.Element;
|
|
300
300
|
declare namespace Type {
|
|
301
301
|
var displayName: string;
|
|
302
302
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as __toESM } from "./chunk-
|
|
2
|
-
import { n as require_react } from "./jsx-dev-runtime-
|
|
3
|
-
import { a as _classPrivateFieldInitSpec, i as _classPrivateFieldGet2, n as Runtime, o as Root, r as _classPrivateFieldSet2, s as RootContext, t as reactPlugin } from "./reactPlugin-
|
|
4
|
-
import { n as import_jsx_runtime } from "./jsx-runtime-
|
|
1
|
+
import { r as __toESM } from "./chunk-BHcwYQRN.js";
|
|
2
|
+
import { n as require_react } from "./jsx-dev-runtime-aYzeEJ2N.js";
|
|
3
|
+
import { a as _classPrivateFieldInitSpec, i as _classPrivateFieldGet2, n as Runtime, o as Root, r as _classPrivateFieldSet2, s as RootContext, t as reactPlugin } from "./reactPlugin-BtX7BIDy.js";
|
|
4
|
+
import { n as import_jsx_runtime } from "./jsx-runtime-B95ZQ2MZ.js";
|
|
5
5
|
import { t as open } from "./devtools-D6dZodXp.js";
|
|
6
6
|
import { createFabric } from "@kubb/fabric-core";
|
|
7
7
|
import dedent from "dedent";
|
|
@@ -10,7 +10,7 @@ import { orderBy } from "natural-orderby";
|
|
|
10
10
|
export * from "@kubb/fabric-core"
|
|
11
11
|
|
|
12
12
|
//#region src/components/App.tsx
|
|
13
|
-
var import_react = require_react();
|
|
13
|
+
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
14
14
|
const AppContext = (0, import_react.createContext)(void 0);
|
|
15
15
|
function App({ meta, children }) {
|
|
16
16
|
const { exit } = (0, import_react.useContext)(RootContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
1
|
+
const require_chunk = require('./chunk-DSlc6foC.cjs');
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js
|
|
4
4
|
/**
|
|
@@ -1360,4 +1360,4 @@ Object.defineProperty(exports, 'require_react', {
|
|
|
1360
1360
|
return require_react;
|
|
1361
1361
|
}
|
|
1362
1362
|
});
|
|
1363
|
-
//# sourceMappingURL=jsx-dev-runtime-
|
|
1363
|
+
//# sourceMappingURL=jsx-dev-runtime-BiO7A4L5.cjs.map
|