@kubb/react-fabric 0.5.4 → 0.5.5

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 (47) hide show
  1. package/README.md +21 -24
  2. package/dist/{Fabric-C7RMr4BK.d.ts → Fabric-D-A981Bs.d.ts} +24 -25
  3. package/dist/{Fabric-CStIaz99.d.cts → Fabric-xy241PKd.d.cts} +24 -25
  4. package/dist/globals.d.cts +2 -2
  5. package/dist/globals.d.ts +2 -2
  6. package/dist/index.cjs +3 -3
  7. package/dist/index.d.cts +10 -24
  8. package/dist/index.d.ts +10 -24
  9. package/dist/index.js +3 -3
  10. package/dist/jsx-dev-runtime.cjs +4 -4
  11. package/dist/jsx-dev-runtime.cjs.map +1 -1
  12. package/dist/jsx-dev-runtime.d.cts +5 -5
  13. package/dist/jsx-dev-runtime.d.ts +3 -3
  14. package/dist/jsx-dev-runtime.js +4 -4
  15. package/dist/jsx-dev-runtime.js.map +1 -1
  16. package/dist/{jsx-namespace-BLxjMbms.d.ts → jsx-namespace-CEeBVrTq.d.ts} +2 -2
  17. package/dist/{jsx-namespace-DLxNuglH.d.cts → jsx-namespace-DawWRiRq.d.cts} +2 -2
  18. package/dist/{jsx-runtime-rr0rZsW1.cjs → jsx-runtime-DqTOrEsT.cjs} +5 -5
  19. package/dist/{jsx-runtime-rr0rZsW1.cjs.map → jsx-runtime-DqTOrEsT.cjs.map} +1 -1
  20. package/dist/{jsx-runtime-CG-6bzfH.js → jsx-runtime-zJCtyvtC.js} +5 -5
  21. package/dist/{jsx-runtime-CG-6bzfH.js.map → jsx-runtime-zJCtyvtC.js.map} +1 -1
  22. package/dist/jsx-runtime.cjs +2 -2
  23. package/dist/jsx-runtime.d.cts +5 -5
  24. package/dist/jsx-runtime.d.ts +3 -3
  25. package/dist/jsx-runtime.js +2 -2
  26. package/dist/parsers.d.cts +5 -5
  27. package/dist/parsers.d.ts +5 -5
  28. package/dist/plugins.cjs +3 -3
  29. package/dist/plugins.d.cts +5 -5
  30. package/dist/plugins.d.ts +5 -5
  31. package/dist/plugins.js +3 -3
  32. package/dist/{react-DIj83RKM.js → react-B97TdWcV.js} +6 -6
  33. package/dist/{react-DIj83RKM.js.map → react-B97TdWcV.js.map} +1 -1
  34. package/dist/{react-7XRHSAt0.cjs → react-D_EYlsv-.cjs} +6 -6
  35. package/dist/{react-7XRHSAt0.cjs.map → react-D_EYlsv-.cjs.map} +1 -1
  36. package/dist/{reactPlugin-Botk9gkY.cjs → reactPlugin-CpRWhf6R.cjs} +13 -13
  37. package/dist/{reactPlugin-Botk9gkY.cjs.map → reactPlugin-CpRWhf6R.cjs.map} +1 -1
  38. package/dist/{reactPlugin-DajNNKBt.d.cts → reactPlugin-CrCzxP4y.d.cts} +2 -2
  39. package/dist/{reactPlugin-TmG3R6xY.d.ts → reactPlugin-Iyi8Falf.d.ts} +2 -2
  40. package/dist/{reactPlugin-CjfIGdZW.js → reactPlugin-PG1kqZRe.js} +14 -14
  41. package/dist/{reactPlugin-CjfIGdZW.js.map → reactPlugin-PG1kqZRe.js.map} +1 -1
  42. package/dist/{types-KXnjAqUg.d.ts → types-BjJ5OLXP.d.ts} +2 -2
  43. package/dist/{types-BZlZnQLJ.d.cts → types-WtAhPPHc.d.cts} +2 -2
  44. package/dist/types.d.cts +2 -2
  45. package/dist/types.d.ts +2 -2
  46. package/package.json +3 -3
  47. package/src/plugins/reactPlugin.ts +5 -5
package/README.md CHANGED
@@ -82,26 +82,23 @@ Returns a Fabric instance with:
82
82
  - `fabric.files` — getter with all queued files.
83
83
  - `fabric.context` — internal context holding events, options, FileManager, installed plugins/parsers.
84
84
 
85
- ### `defineFabric(instance?): () => Fabric`
86
- Factory to create your own `createFabric` with an optional bootstrap `instance(fabric)` called on creation.
87
-
88
85
  ### Events (emitted by the core during processing)
89
- - `start`
90
- - `end`
91
- - `render { fabric }`
92
- - `file:add { files }`
93
- - `write:start { files }`
94
- - `write:end { files }`
95
- - `file:start { file, index, total }`
96
- - `file:end { file, index, total }`
97
- - `process:start { files }`
98
- - `process:progress { file, source, processed, percentage, total }`
99
- - `process:end { files }`
86
+ - `lifecycle:start`
87
+ - `lifecycle:end`
88
+ - `lifecycle:render { fabric }`
89
+ - `files:added { files }`
90
+ - `files:writing:start { files }`
91
+ - `files:writing:end { files }`
92
+ - `file:processing:start { file, index, total }`
93
+ - `file:processing:end { file, index, total }`
94
+ - `files:processing:start { files }`
95
+ - `files:processing:update { file, source, processed, percentage, total }`
96
+ - `files:processing:end { files }`
100
97
 
101
98
 
102
99
  ## Plugins
103
100
  #### `fsPlugin`
104
- Writes files to disk on `process:progress`, supports dry runs and cleaning an output folder before writing.
101
+ Writes files to disk on `files:processing:update`, supports dry runs and cleaning an output folder before writing.
105
102
 
106
103
  ```
107
104
  import { fsPlugin } from '@kubb/fabric-core/plugins'
@@ -110,7 +107,7 @@ import { fsPlugin } from '@kubb/fabric-core/plugins'
110
107
  | Option | Type | Default | Description |
111
108
  |---|----------------------------------------------------------------------|---|-----------------------------------------------------------------------|
112
109
  | dryRun | `boolean` | `false` | If true, do not write files to disk. |
113
- | onBeforeWrite | `(path: string, data: string \| undefined) => void \| Promise<void>` | — | Called right before each file write on `process:progress`. |
110
+ | onBeforeWrite | `(path: string, data: string \| undefined) => void \| Promise<void>` | — | Called right before each file write on `files:processing:update`. |
114
111
  | clean | `{ path: string }` | — | If provided, removes the directory at `path` before writing any files. |
115
112
 
116
113
  Injected `fabric.write` options (via `fsPlugin`):
@@ -120,7 +117,7 @@ Injected `fabric.write` options (via `fsPlugin`):
120
117
  | extension | `Record<Extname, Extname \| ''>` | — | Maps input file extensions to output extensions. When set, the matching parser (by extNames) is used. |
121
118
 
122
119
  #### `barrelPlugin`
123
- Generates `index.ts` barrel files per folder at `process:end`. `writeEntry` creates a single entry barrel at `root`.
120
+ Generates `index.ts` barrel files per folder when `files:writing:start` is triggered. `writeEntry` creates a single entry barrel at `root`.
124
121
 
125
122
  ```
126
123
  import { barrelPlugin } from '@kubb/fabric-core/plugins'
@@ -190,7 +187,7 @@ Injected methods (via `reactPlugin`):
190
187
  | `renderToString` | `(App: React.ElementType) => Promise<string> \| string` | Render a React component tree and return the final output as a string (without writing to stdout). |
191
188
  | `waitUntilExit` | `() => Promise<void>` | Wait until the rendered app exits, resolves when unmounted and emits the core `end` event. |
192
189
 
193
- #### `createPlugin`
190
+ #### `definePlugin`
194
191
 
195
192
  Factory to declare a plugin that can be registered via `fabric.use`.
196
193
 
@@ -204,12 +201,12 @@ Example:
204
201
 
205
202
  ```ts
206
203
  import { createFabric } from '@kubb/fabric-core'
207
- import { createPlugin } from '@kubb/fabric-core/plugins'
204
+ import { definePlugin } from '@kubb/fabric-core/plugins'
208
205
 
209
- const helloPlugin = createPlugin<{ name?: string }, { sayHello: (msg?: string) => void }>({
206
+ const helloPlugin = definePlugin<{ name?: string }, { sayHello: (msg?: string) => void }>({
210
207
  name: 'helloPlugin',
211
208
  install(fabric, options) {
212
- fabric.context.events.on('start', () => {
209
+ fabric.context.events.on('lifecycle:start', () => {
213
210
  console.log('Fabric started')
214
211
  })
215
212
  },
@@ -266,7 +263,7 @@ import { defaultParser } @kubb/fabric-core/parsers`
266
263
  |---|---|---|--------------------------------------------------------------------------|
267
264
  | file | `KubbFile.File` | -| File that will be used to be parsed. |
268
265
 
269
- #### `createParser`
266
+ #### `defineParser`
270
267
  Factory to declare a parser that can be registered via `fabric.use` and selected by `extNames` during `fabirc.write`.
271
268
 
272
269
  | Field | Required | Description |
@@ -280,9 +277,9 @@ Example:
280
277
 
281
278
  ```ts
282
279
  import { createFabric } from '@kubb/fabric-core'
283
- import { createParser } from '@kubb/fabric-core/parsers'
280
+ import { defineParser } from '@kubb/fabric-core/parsers'
284
281
 
285
- const vueParser = createParser<{ banner?: string }>({
282
+ const vueParser = defineParser<{ banner?: string }>({
286
283
  name: 'vueParser',
287
284
  extNames: ['.vue'],
288
285
  async install(fabric, options) {
@@ -254,52 +254,51 @@ type FabricMode = 'sequential' | 'parallel';
254
254
  */
255
255
  interface FabricEvents {
256
256
  /** Called at the beginning of the app lifecycle. */
257
- start: [];
257
+ 'lifecycle:start': [];
258
258
  /** Called at the end of the app lifecycle. */
259
- end: [];
260
- /** Called when Fabric is rendering. */
261
- render: [{
259
+ 'lifecycle:end': [];
260
+ /** Called when Fabric is rendering. Provides the Fabric instance. */
261
+ 'lifecycle:render': [{
262
262
  fabric: Fabric;
263
263
  }];
264
- /** Called once before any files are processed. */
265
- 'process:start': [{
264
+ /** Called once before any files are processed. Provides all files that will be processed. */
265
+ 'files:processing:start': [{
266
266
  files: ResolvedFile[];
267
267
  }];
268
- /**
269
- * Called when FileManager is adding files to its cache
270
- */
271
- 'file:add': [{
268
+ /** Called when FileManager is adding files to its cache. */
269
+ 'files:added': [{
272
270
  files: ResolvedFile[];
273
271
  }];
274
- 'file:resolve:path': [{
272
+ /** Called when resolving a file's path. Allows modification of the file path. */
273
+ 'file:path:resolving': [{
275
274
  file: File;
276
275
  }];
277
- 'file:resolve:name': [{
276
+ /** Called when resolving a file's name. Allows modification of the file name. */
277
+ 'file:name:resolving': [{
278
278
  file: File;
279
279
  }];
280
- 'write:start': [{
280
+ /** Called before writing files to disk. Provides all files that will be written. */
281
+ 'files:writing:start': [{
281
282
  files: ResolvedFile[];
282
283
  }];
283
- 'write:end': [{
284
+ /** Called after writing files to disk. Provides all files that were written. */
285
+ 'files:writing:end': [{
284
286
  files: ResolvedFile[];
285
287
  }];
286
- /** Called for each file when processing begins. */
287
- 'file:start': [{
288
+ /** Called when processing of an individual file begins. Provides file, current index, and total count. */
289
+ 'file:processing:start': [{
288
290
  file: ResolvedFile;
289
291
  index: number;
290
292
  total: number;
291
293
  }];
292
- /** Called for each file when processing completes. */
293
- 'file:end': [{
294
+ /** Called when processing of an individual file completes. Provides file, current index, and total count. */
295
+ 'file:processing:end': [{
294
296
  file: ResolvedFile;
295
297
  index: number;
296
298
  total: number;
297
299
  }];
298
- /**
299
- * Called periodically (or per file) to indicate progress.
300
- * Useful for progress bars or logging.
301
- */
302
- 'process:progress': [{
300
+ /** Called periodically to indicate processing progress. Useful for progress bars or logging. */
301
+ 'files:processing:update': [{
303
302
  processed: number;
304
303
  total: number;
305
304
  percentage: number;
@@ -307,7 +306,7 @@ interface FabricEvents {
307
306
  file: ResolvedFile;
308
307
  }];
309
308
  /** Called once all files have been processed successfully. */
310
- 'process:end': [{
309
+ 'files:processing:end': [{
311
310
  files: ResolvedFile[];
312
311
  }];
313
312
  }
@@ -372,4 +371,4 @@ interface Fabric<T extends FabricOptions = FabricOptions> extends Kubb.Fabric {
372
371
  }
373
372
  //#endregion
374
373
  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 };
375
- //# sourceMappingURL=Fabric-C7RMr4BK.d.ts.map
374
+ //# sourceMappingURL=Fabric-D-A981Bs.d.ts.map
@@ -254,52 +254,51 @@ type FabricMode = 'sequential' | 'parallel';
254
254
  */
255
255
  interface FabricEvents {
256
256
  /** Called at the beginning of the app lifecycle. */
257
- start: [];
257
+ 'lifecycle:start': [];
258
258
  /** Called at the end of the app lifecycle. */
259
- end: [];
260
- /** Called when Fabric is rendering. */
261
- render: [{
259
+ 'lifecycle:end': [];
260
+ /** Called when Fabric is rendering. Provides the Fabric instance. */
261
+ 'lifecycle:render': [{
262
262
  fabric: Fabric;
263
263
  }];
264
- /** Called once before any files are processed. */
265
- 'process:start': [{
264
+ /** Called once before any files are processed. Provides all files that will be processed. */
265
+ 'files:processing:start': [{
266
266
  files: ResolvedFile[];
267
267
  }];
268
- /**
269
- * Called when FileManager is adding files to its cache
270
- */
271
- 'file:add': [{
268
+ /** Called when FileManager is adding files to its cache. */
269
+ 'files:added': [{
272
270
  files: ResolvedFile[];
273
271
  }];
274
- 'file:resolve:path': [{
272
+ /** Called when resolving a file's path. Allows modification of the file path. */
273
+ 'file:path:resolving': [{
275
274
  file: File;
276
275
  }];
277
- 'file:resolve:name': [{
276
+ /** Called when resolving a file's name. Allows modification of the file name. */
277
+ 'file:name:resolving': [{
278
278
  file: File;
279
279
  }];
280
- 'write:start': [{
280
+ /** Called before writing files to disk. Provides all files that will be written. */
281
+ 'files:writing:start': [{
281
282
  files: ResolvedFile[];
282
283
  }];
283
- 'write:end': [{
284
+ /** Called after writing files to disk. Provides all files that were written. */
285
+ 'files:writing:end': [{
284
286
  files: ResolvedFile[];
285
287
  }];
286
- /** Called for each file when processing begins. */
287
- 'file:start': [{
288
+ /** Called when processing of an individual file begins. Provides file, current index, and total count. */
289
+ 'file:processing:start': [{
288
290
  file: ResolvedFile;
289
291
  index: number;
290
292
  total: number;
291
293
  }];
292
- /** Called for each file when processing completes. */
293
- 'file:end': [{
294
+ /** Called when processing of an individual file completes. Provides file, current index, and total count. */
295
+ 'file:processing:end': [{
294
296
  file: ResolvedFile;
295
297
  index: number;
296
298
  total: number;
297
299
  }];
298
- /**
299
- * Called periodically (or per file) to indicate progress.
300
- * Useful for progress bars or logging.
301
- */
302
- 'process:progress': [{
300
+ /** Called periodically to indicate processing progress. Useful for progress bars or logging. */
301
+ 'files:processing:update': [{
303
302
  processed: number;
304
303
  total: number;
305
304
  percentage: number;
@@ -307,7 +306,7 @@ interface FabricEvents {
307
306
  file: ResolvedFile;
308
307
  }];
309
308
  /** Called once all files have been processed successfully. */
310
- 'process:end': [{
309
+ 'files:processing:end': [{
311
310
  files: ResolvedFile[];
312
311
  }];
313
312
  }
@@ -372,4 +371,4 @@ interface Fabric<T extends FabricOptions = FabricOptions> extends Kubb.Fabric {
372
371
  }
373
372
  //#endregion
374
373
  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 };
375
- //# sourceMappingURL=Fabric-CStIaz99.d.cts.map
374
+ //# sourceMappingURL=Fabric-xy241PKd.d.cts.map
@@ -1,5 +1,5 @@
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";
1
+ import "./Fabric-xy241PKd.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-WtAhPPHc.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-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";
1
+ import "./Fabric-D-A981Bs.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-BjJ5OLXP.js";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/globals.d.ts
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require('./chunk-BrXtsOCC.cjs');
2
- const require_react$1 = require('./react-7XRHSAt0.cjs');
3
- const require_reactPlugin = require('./reactPlugin-Botk9gkY.cjs');
4
- const require_jsx_runtime = require('./jsx-runtime-rr0rZsW1.cjs');
2
+ const require_react$1 = require('./react-D_EYlsv-.cjs');
3
+ const require_reactPlugin = require('./reactPlugin-CpRWhf6R.cjs');
4
+ const require_jsx_runtime = require('./jsx-runtime-DqTOrEsT.cjs');
5
5
  const require_devtools = require('./devtools-CRkwwngz.cjs');
6
6
  let __kubb_fabric_core = require("@kubb/fabric-core");
7
7
  let dedent = require("dedent");
package/dist/index.d.cts CHANGED
@@ -1,33 +1,19 @@
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";
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-xy241PKd.cjs";
2
+ import { a as JSDoc, d as KubbNode, g as FunctionParams, o as Key, y as createFunctionParams } from "./types-WtAhPPHc.cjs";
3
+ import { t as Options$1 } from "./reactPlugin-CrCzxP4y.cjs";
4
4
  import * as react3 from "react";
5
5
  import React, { ReactNode } from "react";
6
6
 
7
- //#region ../fabric-core/src/defineFabric.d.ts
8
- /**
9
- * Function that initializes the root Fabric instance.
10
- *
11
- * Used for setting up plugins, parsers, or performing side effects
12
- * once the Fabric context is ready.
13
- */
14
- type FabricInitializer<T extends FabricOptions> = (fabric: Fabric<T>) => void | Promise<void>;
15
- /**
16
- * A function returned by {@link defineFabric} that creates a Fabric instance.
17
- */
18
- type CreateFabric<T extends FabricOptions> = (config?: FabricConfig<T>) => Fabric<T>;
7
+ //#region ../fabric-core/src/createFabric.d.ts
8
+
19
9
  /**
20
- * Defines a new Fabric factory function.
10
+ * Creates a new Fabric instance
21
11
  *
22
12
  * @example
23
- * export const createFabric = defineFabric((fabric) => {
24
- * fabric.use(myPlugin())
25
- * })
13
+ * const fabric = createFabric()
14
+ * fabric.use(myPlugin())
26
15
  */
27
- declare function defineFabric<T extends FabricOptions>(init?: FabricInitializer<T>): CreateFabric<T>;
28
- //#endregion
29
- //#region ../fabric-core/src/createFabric.d.ts
30
- declare const createFabric: CreateFabric<FabricOptions>;
16
+ declare function createFabric<T extends FabricOptions>(config?: FabricConfig<T>): Fabric<T>;
31
17
  //#endregion
32
18
  //#region ../fabric-core/src/createFile.d.ts
33
19
  /**
@@ -369,5 +355,5 @@ declare const useEffect: typeof react3.useEffect;
369
355
  declare const useReducer: typeof react3.useReducer;
370
356
  declare const useRef: typeof react3.useRef;
371
357
  //#endregion
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 };
358
+ export { App, Const, type Fabric, File, FileManager, FileProcessor, Fragment, Function, FunctionParams, Indent, Runtime, Type, createContext, createElement, createFabric, createFile, createFunctionParams, createReactFabric, use, useApp, useContext, useEffect, useFile, useLifecycle, useReducer, useRef, useState };
373
359
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,33 +1,19 @@
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";
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-D-A981Bs.js";
2
+ import { a as JSDoc, d as KubbNode, g as FunctionParams, o as Key, y as createFunctionParams } from "./types-BjJ5OLXP.js";
3
+ import { t as Options$1 } from "./reactPlugin-Iyi8Falf.js";
4
4
  import * as react3 from "react";
5
5
  import React, { ReactNode } from "react";
6
6
 
7
- //#region ../fabric-core/src/defineFabric.d.ts
8
- /**
9
- * Function that initializes the root Fabric instance.
10
- *
11
- * Used for setting up plugins, parsers, or performing side effects
12
- * once the Fabric context is ready.
13
- */
14
- type FabricInitializer<T extends FabricOptions> = (fabric: Fabric<T>) => void | Promise<void>;
15
- /**
16
- * A function returned by {@link defineFabric} that creates a Fabric instance.
17
- */
18
- type CreateFabric<T extends FabricOptions> = (config?: FabricConfig<T>) => Fabric<T>;
7
+ //#region ../fabric-core/src/createFabric.d.ts
8
+
19
9
  /**
20
- * Defines a new Fabric factory function.
10
+ * Creates a new Fabric instance
21
11
  *
22
12
  * @example
23
- * export const createFabric = defineFabric((fabric) => {
24
- * fabric.use(myPlugin())
25
- * })
13
+ * const fabric = createFabric()
14
+ * fabric.use(myPlugin())
26
15
  */
27
- declare function defineFabric<T extends FabricOptions>(init?: FabricInitializer<T>): CreateFabric<T>;
28
- //#endregion
29
- //#region ../fabric-core/src/createFabric.d.ts
30
- declare const createFabric: CreateFabric<FabricOptions>;
16
+ declare function createFabric<T extends FabricOptions>(config?: FabricConfig<T>): Fabric<T>;
31
17
  //#endregion
32
18
  //#region ../fabric-core/src/createFile.d.ts
33
19
  /**
@@ -369,5 +355,5 @@ declare const useEffect: typeof react3.useEffect;
369
355
  declare const useReducer: typeof react3.useReducer;
370
356
  declare const useRef: typeof react3.useRef;
371
357
  //#endregion
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 };
358
+ export { App, Const, type Fabric, File, FileManager, FileProcessor, Fragment, Function, FunctionParams, Indent, Runtime, Type, createContext, createElement, createFabric, createFile, createFunctionParams, createReactFabric, use, useApp, useContext, useEffect, useFile, useLifecycle, useReducer, useRef, useState };
373
359
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { r as __toESM } from "./chunk-B1nHLT4p.js";
2
- import { t as require_react } from "./react-DIj83RKM.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-CjfIGdZW.js";
4
- import { i as jsxs, n as jsx, t as Fragment$1 } from "./jsx-runtime-CG-6bzfH.js";
2
+ import { t as require_react } from "./react-B97TdWcV.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-PG1kqZRe.js";
4
+ import { i as jsxs, n as jsx, t as Fragment$1 } from "./jsx-runtime-zJCtyvtC.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";
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require('./chunk-BrXtsOCC.cjs');
2
- const require_react$1 = require('./react-7XRHSAt0.cjs');
2
+ const require_react$1 = require('./react-D_EYlsv-.cjs');
3
3
 
4
- //#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-dev-runtime.production.js
4
+ //#region ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-dev-runtime.production.js
5
5
  /**
6
6
  * @license React
7
7
  * react-jsx-dev-runtime.production.js
@@ -18,7 +18,7 @@ var require_react_jsx_dev_runtime_production = /* @__PURE__ */ require_chunk.__c
18
18
  }));
19
19
 
20
20
  //#endregion
21
- //#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-dev-runtime.development.js
21
+ //#region ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-dev-runtime.development.js
22
22
  /**
23
23
  * @license React
24
24
  * react-jsx-dev-runtime.development.js
@@ -214,7 +214,7 @@ var require_react_jsx_dev_runtime_development = /* @__PURE__ */ require_chunk.__
214
214
  }));
215
215
 
216
216
  //#endregion
217
- //#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/jsx-dev-runtime.js
217
+ //#region ../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-dev-runtime.js
218
218
  var require_jsx_dev_runtime = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
219
219
  if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_dev_runtime_production();
220
220
  else module.exports = require_react_jsx_dev_runtime_development();
@@ -1 +1 @@
1
- {"version":3,"file":"jsx-dev-runtime.cjs","names":["REACT_FRAGMENT_TYPE"],"sources":["../../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-dev-runtime.production.js","../../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-dev-runtime.development.js","../../../node_modules/.pnpm/react@19.2.1/node_modules/react/jsx-dev-runtime.js","../src/jsx-dev-runtime.ts"],"sourcesContent":["/**\n * @license React\n * react-jsx-dev-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsxDEV = void 0;\n","/**\n * @license React\n * react-jsx-dev-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsxDEV = function (type, config, maybeKey, isStaticChildren) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-dev-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-dev-runtime.development.js');\n}\n","import * as React from 'react/jsx-dev-runtime'\nimport type { KubbElement, KubbNode } from './types.ts'\n\nexport const Fragment = React.Fragment\nexport const jsxDEV = React.jsxDEV\n\nexport type * from './jsx-namespace.d.ts'\n\nexport type JSXElement = KubbElement\nexport type ReactNode = KubbNode\n"],"x_google_ignoreList":[0,1,2],"mappings":";;;;;;;;;;;;;;CAWA,IAAI,sBAAsB,OAAO,IAAI,iBAAiB;AACtD,SAAQ,WAAW;AACnB,SAAQ,SAAS,KAAK;;;;;;;;;;;;;;;ACFtB,kBAAiB,QAAQ,IAAI,aAC1B,WAAY;EACX,SAAS,yBAAyB,MAAM;AACtC,OAAI,QAAQ,KAAM,QAAO;AACzB,OAAI,eAAe,OAAO,KACxB,QAAO,KAAK,aAAa,yBACrB,OACA,KAAK,eAAe,KAAK,QAAQ;AACvC,OAAI,aAAa,OAAO,KAAM,QAAO;AACrC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,aACR,WAAY;AACV,UAAO;;AAEf,UAAQ,EACN,0BAA0B,SAAU,mBAAmB;AACrD,UAAO,mBAAmB;KAE7B;EACD,IAAI;EACJ,IAAI,yBAAyB,EAAE;EAC/B,IAAI,yBAAyB,MAAM,yBAAyB,KAC1D,OACA,aACD,EAAE;EACH,IAAI,wBAAwB,WAAW,YAAY,aAAa,CAAC;EACjE,IAAI,wBAAwB,EAAE;AAC9B,UAAQ,WAAWA;AACnB,UAAQ,SAAS,SAAU,MAAM,QAAQ,UAAU,kBAAkB;GACnE,IAAI,mBACF,MAAM,qBAAqB;AAC7B,UAAO,WACL,MACA,QACA,UACA,kBACA,mBACI,MAAM,wBAAwB,GAC9B,wBACJ,mBAAmB,WAAW,YAAY,KAAK,CAAC,GAAG,sBACpD;;KAED;;;;;;AC/UN,KAAI,QAAQ,IAAI,aAAa,aAC3B,QAAO;KAEP,QAAO;;;;;;ACFT,MAAa,kCAAiB;AAC9B,MAAa,gCAAe"}
1
+ {"version":3,"file":"jsx-dev-runtime.cjs","names":["REACT_FRAGMENT_TYPE"],"sources":["../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-dev-runtime.production.js","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-dev-runtime.development.js","../../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-dev-runtime.js","../src/jsx-dev-runtime.ts"],"sourcesContent":["/**\n * @license React\n * react-jsx-dev-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsxDEV = void 0;\n","/**\n * @license React\n * react-jsx-dev-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsxDEV = function (type, config, maybeKey, isStaticChildren) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-dev-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-dev-runtime.development.js');\n}\n","import * as React from 'react/jsx-dev-runtime'\nimport type { KubbElement, KubbNode } from './types.ts'\n\nexport const Fragment = React.Fragment\nexport const jsxDEV = React.jsxDEV\n\nexport type * from './jsx-namespace.d.ts'\n\nexport type JSXElement = KubbElement\nexport type ReactNode = KubbNode\n"],"x_google_ignoreList":[0,1,2],"mappings":";;;;;;;;;;;;;;CAWA,IAAI,sBAAsB,OAAO,IAAI,iBAAiB;AACtD,SAAQ,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iB,EAClD,2BAA2B,OAAO,IAAI,sBAAsB,EAC5D,kBAAkB,OAAO,IAAI,aAAa,EAC1C,kBAAkB,OAAO,IAAI,aAAa,EAC1C,sBAAsB,OAAO,IAAI,iBAAiB,EAClD,yBAAyB,OAAO,IAAI,yBAAyB,EAC7D,uBACE,MAAM,iEACR,iBAAiB,OAAO,UAAU,gBAClC,cAAc,MAAM,SACpB,aAAa,QAAQ,aACjB,QAAQ,aACR,WAAY;AACV,UAAO;;AAEf,UAAQ,EACN,0BAA0B,SAAU,mBAAmB;AACrD,UAAO,mBAAmB;KAE7B;EACD,IAAI;EACJ,IAAI,yBAAyB,EAAE;EAC/B,IAAI,yBAAyB,MAAM,yBAAyB,KAC1D,OACA,aACD,EAAE;EACH,IAAI,wBAAwB,WAAW,YAAY,aAAa,CAAC;EACjE,IAAI,wBAAwB,EAAE;AAC9B,UAAQ,WAAWA;AACnB,UAAQ,SAAS,SAAU,MAAM,QAAQ,UAAU,kBAAkB;GACnE,IAAI,mBACF,MAAM,qBAAqB;AAC7B,UAAO,WACL,MACA,QACA,UACA,kBACA,mBACI,MAAM,wBAAwB,GAC9B,wBACJ,mBAAmB,WAAW,YAAY,KAAK,CAAC,GAAG,sBACpD;;KAED;;;;;;AC/UN,KAAI,QAAQ,IAAI,aAAa,aAC3B,QAAO;KAEP,QAAO;;;;;;ACFT,MAAa,kCAAiB;AAC9B,MAAa,gCAAe"}
@@ -1,11 +1,11 @@
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";
1
+ import "./Fabric-xy241PKd.cjs";
2
+ import { d as KubbNode, s as KubbElement } from "./types-WtAhPPHc.cjs";
3
+ import { t as JSX } from "./jsx-namespace-DawWRiRq.cjs";
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: react1.ExoticComponent<react1.FragmentProps>;
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;
@@ -1,6 +1,6 @@
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";
1
+ import "./Fabric-D-A981Bs.js";
2
+ import { d as KubbNode, s as KubbElement } from "./types-BjJ5OLXP.js";
3
+ import { t as JSX } from "./jsx-namespace-CEeBVrTq.js";
4
4
  import * as react1 from "react";
5
5
  import * as React$1 from "react/jsx-dev-runtime";
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { r as __toESM, t as __commonJSMin } from "./chunk-B1nHLT4p.js";
2
- import { t as require_react } from "./react-DIj83RKM.js";
2
+ import { t as require_react } from "./react-B97TdWcV.js";
3
3
 
4
- //#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-dev-runtime.production.js
4
+ //#region ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-dev-runtime.production.js
5
5
  /**
6
6
  * @license React
7
7
  * react-jsx-dev-runtime.production.js
@@ -18,7 +18,7 @@ var require_react_jsx_dev_runtime_production = /* @__PURE__ */ __commonJSMin(((e
18
18
  }));
19
19
 
20
20
  //#endregion
21
- //#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-dev-runtime.development.js
21
+ //#region ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-dev-runtime.development.js
22
22
  /**
23
23
  * @license React
24
24
  * react-jsx-dev-runtime.development.js
@@ -214,7 +214,7 @@ var require_react_jsx_dev_runtime_development = /* @__PURE__ */ __commonJSMin(((
214
214
  }));
215
215
 
216
216
  //#endregion
217
- //#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/jsx-dev-runtime.js
217
+ //#region ../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-dev-runtime.js
218
218
  var require_jsx_dev_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
219
219
  if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_dev_runtime_production();
220
220
  else module.exports = require_react_jsx_dev_runtime_development();