@kubb/react-fabric 0.4.0 → 0.5.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.
Files changed (30) hide show
  1. package/README.md +10 -6
  2. package/dist/{chunk-OzOGZVnI.js → chunk-BHcwYQRN.js} +20 -11
  3. package/dist/{chunk-DWy1uDak.cjs → chunk-DSlc6foC.cjs} +10 -6
  4. package/dist/{devtools-Bu3zlaPp.cjs → devtools-DRXCsX9I.cjs} +2 -2
  5. package/dist/{devtools-Bu3zlaPp.cjs.map → devtools-DRXCsX9I.cjs.map} +1 -1
  6. package/dist/devtools.cjs +1 -1
  7. package/dist/index.cjs +6 -6
  8. package/dist/index.d.ts +12 -12
  9. package/dist/index.js +5 -5
  10. package/dist/{jsx-dev-runtime-CB3pf-1W.cjs → jsx-dev-runtime-BiO7A4L5.cjs} +2 -2
  11. package/dist/{jsx-dev-runtime-CB3pf-1W.cjs.map → jsx-dev-runtime-BiO7A4L5.cjs.map} +1 -1
  12. package/dist/{jsx-dev-runtime-CB2e_LA2.js → jsx-dev-runtime-aYzeEJ2N.js} +2 -2
  13. package/dist/{jsx-dev-runtime-CB2e_LA2.js.map → jsx-dev-runtime-aYzeEJ2N.js.map} +1 -1
  14. package/dist/jsx-dev-runtime.cjs +1 -1
  15. package/dist/jsx-dev-runtime.js +1 -1
  16. package/dist/{jsx-runtime-5qOQhPPb.js → jsx-runtime-B95ZQ2MZ.js} +4 -4
  17. package/dist/{jsx-runtime-5qOQhPPb.js.map → jsx-runtime-B95ZQ2MZ.js.map} +1 -1
  18. package/dist/{jsx-runtime-cOHyKGzA.cjs → jsx-runtime-BnIQNoyE.cjs} +4 -4
  19. package/dist/{jsx-runtime-cOHyKGzA.cjs.map → jsx-runtime-BnIQNoyE.cjs.map} +1 -1
  20. package/dist/jsx-runtime.cjs +2 -2
  21. package/dist/jsx-runtime.js +2 -2
  22. package/dist/plugins.cjs +3 -3
  23. package/dist/plugins.d.cts +42 -10
  24. package/dist/plugins.d.ts +42 -10
  25. package/dist/plugins.js +3 -3
  26. package/dist/{reactPlugin-DCT6yE8D.cjs → reactPlugin-B-vyv4g0.cjs} +15 -15
  27. package/dist/{reactPlugin-DCT6yE8D.cjs.map → reactPlugin-B-vyv4g0.cjs.map} +1 -1
  28. package/dist/{reactPlugin-BWBCDdIm.js → reactPlugin-BtX7BIDy.js} +15 -15
  29. package/dist/{reactPlugin-BWBCDdIm.js.map → reactPlugin-BtX7BIDy.js.map} +1 -1
  30. package/package.json +6 -6
package/README.md CHANGED
@@ -139,16 +139,20 @@ Injected `fabric.writeEntry` parameters (via `barrelPlugin`):
139
139
  | root | `string` | Root directory where the entry `index.ts` should be created. |
140
140
  | mode | `'all' \| 'named' \| 'propagate' \| false` | Controls which export style to use for the entry barrel. |
141
141
 
142
- #### `progressPlugin`
143
- Shows a CLI progress bar by listening to core events.
142
+ #### `loggerPlugin`
143
+ Streams Fabric lifecycle activity as colourful consola logs, optional progress bars, and websocket messages that you can consume from custom tooling.
144
144
 
145
145
  ```
146
- import { progressPlugin } from '@kubb/fabric-core/plugins'
146
+ import { loggerPlugin } from '@kubb/fabric-core/plugins'
147
147
  ```
148
148
 
149
- | Option | Type | Default | Description |
150
- |---|---|---|-----------------------------------------------------------------------------------------|
151
- | | | — | This plugin has no options, it displays a CLI progress bar by listening to core events. |
149
+ | Option | Type | Default | Description |
150
+ |---|---|---|---|
151
+ | level | `import('consola').LogLevel` | — | Optional explicit log level passed to `createConsola`. |
152
+ | progress | `boolean` | `true` | Enable/disable the integrated CLI progress bar. |
153
+ | websocket | `boolean \| { host?: string; port?: number }` | `true` | Toggle or configure the websocket server that broadcasts Fabric events for future GUIs. |
154
+
155
+ By default the plugin displays a progress bar, starts a websocket server on an ephemeral port, and announces the URL. Every key lifecycle hook (`start`, `process:*`, `file:*`, `write:*`, `end`) is logged with a `Fabric` tag, animated in the progress bar, and broadcast to connected clients—perfect for building dashboards on top of Fabric.
152
156
 
153
157
 
154
158
  #### `graphPlugin`
@@ -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) __defProp(target, name, {
16
- get: all[name],
17
- enumerable: true
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") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
23
- key = keys[i];
24
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
25
- get: ((k) => from[k]).bind(null, key),
26
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
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") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
13
- key = keys[i];
14
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
- get: ((k) => from[k]).bind(null, key),
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
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-DWy1uDak.cjs');
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-Bu3zlaPp.cjs.map
100
+ //# sourceMappingURL=devtools-DRXCsX9I.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"devtools-Bu3zlaPp.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"}
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
@@ -1,3 +1,3 @@
1
- const require_devtools = require('./devtools-Bu3zlaPp.cjs');
1
+ const require_devtools = require('./devtools-DRXCsX9I.cjs');
2
2
 
3
3
  exports.open = require_devtools.open;
package/dist/index.cjs CHANGED
@@ -1,15 +1,15 @@
1
- const require_chunk = require('./chunk-DWy1uDak.cjs');
2
- const require_jsx_dev_runtime = require('./jsx-dev-runtime-CB3pf-1W.cjs');
3
- const require_reactPlugin = require('./reactPlugin-DCT6yE8D.cjs');
4
- const require_jsx_runtime = require('./jsx-runtime-cOHyKGzA.cjs');
5
- const require_devtools = require('./devtools-Bu3zlaPp.cjs');
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.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 react4 from "react";
4
+ import * as react1 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>): react4.JSX.Element;
53
+ }: Props$4<TMeta>): react1.JSX.Element;
54
54
  declare namespace App {
55
- var Context: react4.Context<AppContextProps<unknown> | undefined>;
55
+ var Context: react1.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): react4.JSX.Element;
91
+ }: Props$3): react1.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>): react4.JSX.Element;
140
+ }: Props$2<TMeta>): react1.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: react4.Context<FileContextProps<object>>;
146
+ var Context: react1.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): react4.JSX.Element;
158
+ }: FileSourceProps): react1.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): react4.JSX.Element;
170
+ }: FileExportProps): react1.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): react4.JSX.Element;
183
+ }: FileImportProps): react1.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): react4.JSX.Element;
236
+ }: Props$1): react1.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): react4.JSX.Element;
258
+ }: ArrowFunctionProps): react1.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): react4.JSX.Element;
299
+ }: Props): react1.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-OzOGZVnI.js";
2
- import { n as require_react } from "./jsx-dev-runtime-CB2e_LA2.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-BWBCDdIm.js";
4
- import { n as import_jsx_runtime } from "./jsx-runtime-5qOQhPPb.js";
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-DWy1uDak.cjs');
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-CB3pf-1W.cjs.map
1363
+ //# sourceMappingURL=jsx-dev-runtime-BiO7A4L5.cjs.map