@kubb/react-fabric 0.5.4 → 0.6.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 (47) hide show
  1. package/README.md +21 -24
  2. package/dist/{Fabric-C7RMr4BK.d.ts → Fabric-CW62g3zB.d.ts} +113 -22
  3. package/dist/{Fabric-CStIaz99.d.cts → Fabric-CbgH_1H3.d.cts} +113 -22
  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 +5 -5
  14. package/dist/jsx-dev-runtime.js +4 -4
  15. package/dist/jsx-dev-runtime.js.map +1 -1
  16. package/dist/{jsx-namespace-DLxNuglH.d.cts → jsx-namespace-B2a_dVTm.d.cts} +2 -2
  17. package/dist/{jsx-namespace-BLxjMbms.d.ts → jsx-namespace-DsvCR0v-.d.ts} +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 +5 -5
  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-DWhl3kTD.d.cts} +2 -2
  39. package/dist/{reactPlugin-CjfIGdZW.js → reactPlugin-PG1kqZRe.js} +14 -14
  40. package/dist/{reactPlugin-CjfIGdZW.js.map → reactPlugin-PG1kqZRe.js.map} +1 -1
  41. package/dist/{reactPlugin-TmG3R6xY.d.ts → reactPlugin-yet1vypn.d.ts} +2 -2
  42. package/dist/{types-KXnjAqUg.d.ts → types-BB0-ElWk.d.ts} +2 -2
  43. package/dist/{types-BZlZnQLJ.d.cts → types-DM7YVFCN.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
@@ -1,11 +1,11 @@
1
- import "./Fabric-C7RMr4BK.js";
2
- import { d as KubbNode, s as KubbElement } from "./types-KXnjAqUg.js";
3
- import { t as JSX } from "./jsx-namespace-BLxjMbms.js";
4
- import * as react0 from "react";
1
+ import "./Fabric-CW62g3zB.js";
2
+ import { d as KubbNode, s as KubbElement } from "./types-BB0-ElWk.js";
3
+ import { t as JSX } from "./jsx-namespace-DsvCR0v-.js";
4
+ import * as react1 from "react";
5
5
  import * as React$1 from "react/jsx-runtime";
6
6
 
7
7
  //#region src/jsx-runtime.d.ts
8
- declare const Fragment: react0.ExoticComponent<react0.FragmentProps>;
8
+ declare const Fragment: react1.ExoticComponent<react1.FragmentProps>;
9
9
  declare const jsx: typeof React$1.jsx;
10
10
  declare const jsxDEV: typeof React$1.jsx;
11
11
  declare const jsxs: typeof React$1.jsxs;
@@ -1,4 +1,4 @@
1
- import "./react-DIj83RKM.js";
2
- import { i as jsxs, n as jsx, r as jsxDEV, t as Fragment } from "./jsx-runtime-CG-6bzfH.js";
1
+ import "./react-B97TdWcV.js";
2
+ import { i as jsxs, n as jsx, r as jsxDEV, t as Fragment } from "./jsx-runtime-zJCtyvtC.js";
3
3
 
4
4
  export { Fragment, jsx, jsxDEV, jsxs };
@@ -1,16 +1,16 @@
1
- import { d as UserParser, u as Parser } from "./Fabric-CStIaz99.cjs";
1
+ import { d as UserParser, u as Parser } from "./Fabric-CbgH_1H3.cjs";
2
2
 
3
- //#region ../fabric-core/src/parsers/createParser.d.ts
4
- declare function createParser<TOptions = unknown, TMeta extends object = any>(parser: UserParser<TOptions, TMeta>): Parser<TOptions, TMeta>;
5
- //#endregion
6
3
  //#region ../fabric-core/src/parsers/defaultParser.d.ts
7
4
  declare const defaultParser: Parser<[], any>;
8
5
  //#endregion
6
+ //#region ../fabric-core/src/parsers/defineParser.d.ts
7
+ declare function defineParser<TOptions = unknown, TMeta extends object = any>(parser: UserParser<TOptions, TMeta>): Parser<TOptions, TMeta>;
8
+ //#endregion
9
9
  //#region ../fabric-core/src/parsers/tsxParser.d.ts
10
10
  declare const tsxParser: Parser<[], any>;
11
11
  //#endregion
12
12
  //#region ../fabric-core/src/parsers/typescriptParser.d.ts
13
13
  declare const typescriptParser: Parser<[], any>;
14
14
  //#endregion
15
- export { createParser, defaultParser, tsxParser, typescriptParser };
15
+ export { defaultParser, defineParser, tsxParser, typescriptParser };
16
16
  //# sourceMappingURL=parsers.d.cts.map
package/dist/parsers.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- import { d as UserParser, u as Parser } from "./Fabric-C7RMr4BK.js";
1
+ import { d as UserParser, u as Parser } from "./Fabric-CW62g3zB.js";
2
2
 
3
- //#region ../fabric-core/src/parsers/createParser.d.ts
4
- declare function createParser<TOptions = unknown, TMeta extends object = any>(parser: UserParser<TOptions, TMeta>): Parser<TOptions, TMeta>;
5
- //#endregion
6
3
  //#region ../fabric-core/src/parsers/defaultParser.d.ts
7
4
  declare const defaultParser: Parser<[], any>;
8
5
  //#endregion
6
+ //#region ../fabric-core/src/parsers/defineParser.d.ts
7
+ declare function defineParser<TOptions = unknown, TMeta extends object = any>(parser: UserParser<TOptions, TMeta>): Parser<TOptions, TMeta>;
8
+ //#endregion
9
9
  //#region ../fabric-core/src/parsers/tsxParser.d.ts
10
10
  declare const tsxParser: Parser<[], any>;
11
11
  //#endregion
12
12
  //#region ../fabric-core/src/parsers/typescriptParser.d.ts
13
13
  declare const typescriptParser: Parser<[], any>;
14
14
  //#endregion
15
- export { createParser, defaultParser, tsxParser, typescriptParser };
15
+ export { defaultParser, defineParser, tsxParser, typescriptParser };
16
16
  //# sourceMappingURL=parsers.d.ts.map
package/dist/plugins.cjs CHANGED
@@ -1,6 +1,6 @@
1
- require('./react-7XRHSAt0.cjs');
2
- const require_reactPlugin = require('./reactPlugin-Botk9gkY.cjs');
3
- require('./jsx-runtime-rr0rZsW1.cjs');
1
+ require('./react-D_EYlsv-.cjs');
2
+ const require_reactPlugin = require('./reactPlugin-CpRWhf6R.cjs');
3
+ require('./jsx-runtime-DqTOrEsT.cjs');
4
4
 
5
5
  exports.reactPlugin = require_reactPlugin.reactPlugin;
6
6
  var __kubb_fabric_core_plugins = require("@kubb/fabric-core/plugins");
@@ -1,5 +1,5 @@
1
- import { m as Extname, o as Plugin, s as UserPlugin } from "./Fabric-CStIaz99.cjs";
2
- import { n as reactPlugin } from "./reactPlugin-DajNNKBt.cjs";
1
+ import { m as Extname, o as Plugin, s as UserPlugin } from "./Fabric-CbgH_1H3.cjs";
2
+ import { n as reactPlugin } from "./reactPlugin-DWhl3kTD.cjs";
3
3
  import { LogLevel } from "consola";
4
4
 
5
5
  //#region ../fabric-core/src/plugins/barrelPlugin.d.ts
@@ -31,8 +31,8 @@ declare global {
31
31
  }
32
32
  declare const barrelPlugin: Plugin<Options$3, ExtendOptions$1>;
33
33
  //#endregion
34
- //#region ../fabric-core/src/plugins/createPlugin.d.ts
35
- declare function createPlugin<Options$4 = unknown, TAppExtension extends Record<string, any> = {}>(plugin: UserPlugin<Options$4, TAppExtension>): Plugin<Options$4, TAppExtension>;
34
+ //#region ../fabric-core/src/plugins/definePlugin.d.ts
35
+ declare function definePlugin<Options$4 = unknown, TAppExtension extends Record<string, any> = {}>(plugin: UserPlugin<Options$4, TAppExtension>): Plugin<Options$4, TAppExtension>;
36
36
  //#endregion
37
37
  //#region ../fabric-core/src/plugins/fsPlugin.d.ts
38
38
  type WriteOptions = {
@@ -105,5 +105,5 @@ type Options = {
105
105
  };
106
106
  declare const loggerPlugin: Plugin<Options, {}>;
107
107
  //#endregion
108
- export { barrelPlugin, createPlugin, fsPlugin, graphPlugin, loggerPlugin, reactPlugin };
108
+ export { barrelPlugin, definePlugin, fsPlugin, graphPlugin, loggerPlugin, reactPlugin };
109
109
  //# sourceMappingURL=plugins.d.cts.map
package/dist/plugins.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { m as Extname, o as Plugin, s as UserPlugin } from "./Fabric-C7RMr4BK.js";
2
- import { n as reactPlugin } from "./reactPlugin-TmG3R6xY.js";
1
+ import { m as Extname, o as Plugin, s as UserPlugin } from "./Fabric-CW62g3zB.js";
2
+ import { n as reactPlugin } from "./reactPlugin-yet1vypn.js";
3
3
  import { LogLevel } from "consola";
4
4
 
5
5
  //#region ../fabric-core/src/plugins/barrelPlugin.d.ts
@@ -31,8 +31,8 @@ declare global {
31
31
  }
32
32
  declare const barrelPlugin: Plugin<Options$3, ExtendOptions$1>;
33
33
  //#endregion
34
- //#region ../fabric-core/src/plugins/createPlugin.d.ts
35
- declare function createPlugin<Options$4 = unknown, TAppExtension extends Record<string, any> = {}>(plugin: UserPlugin<Options$4, TAppExtension>): Plugin<Options$4, TAppExtension>;
34
+ //#region ../fabric-core/src/plugins/definePlugin.d.ts
35
+ declare function definePlugin<Options$4 = unknown, TAppExtension extends Record<string, any> = {}>(plugin: UserPlugin<Options$4, TAppExtension>): Plugin<Options$4, TAppExtension>;
36
36
  //#endregion
37
37
  //#region ../fabric-core/src/plugins/fsPlugin.d.ts
38
38
  type WriteOptions = {
@@ -105,5 +105,5 @@ type Options = {
105
105
  };
106
106
  declare const loggerPlugin: Plugin<Options, {}>;
107
107
  //#endregion
108
- export { barrelPlugin, createPlugin, fsPlugin, graphPlugin, loggerPlugin, reactPlugin };
108
+ export { barrelPlugin, definePlugin, fsPlugin, graphPlugin, loggerPlugin, reactPlugin };
109
109
  //# sourceMappingURL=plugins.d.ts.map
package/dist/plugins.js CHANGED
@@ -1,6 +1,6 @@
1
- import "./react-DIj83RKM.js";
2
- import { t as reactPlugin } from "./reactPlugin-CjfIGdZW.js";
3
- import "./jsx-runtime-CG-6bzfH.js";
1
+ import "./react-B97TdWcV.js";
2
+ import { t as reactPlugin } from "./reactPlugin-PG1kqZRe.js";
3
+ import "./jsx-runtime-zJCtyvtC.js";
4
4
 
5
5
  export * from "@kubb/fabric-core/plugins"
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { t as __commonJSMin } from "./chunk-B1nHLT4p.js";
2
2
 
3
- //#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.production.js
3
+ //#region ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.production.js
4
4
  /**
5
5
  * @license React
6
6
  * react.production.js
@@ -357,11 +357,11 @@ var require_react_production = /* @__PURE__ */ __commonJSMin(((exports) => {
357
357
  exports.useTransition = function() {
358
358
  return ReactSharedInternals.H.useTransition();
359
359
  };
360
- exports.version = "19.2.1";
360
+ exports.version = "19.2.3";
361
361
  }));
362
362
 
363
363
  //#endregion
364
- //#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.development.js
364
+ //#region ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.development.js
365
365
  /**
366
366
  * @license React
367
367
  * react.development.js
@@ -1115,13 +1115,13 @@ var require_react_development = /* @__PURE__ */ __commonJSMin(((exports, module)
1115
1115
  exports.useTransition = function() {
1116
1116
  return resolveDispatcher().useTransition();
1117
1117
  };
1118
- exports.version = "19.2.1";
1118
+ exports.version = "19.2.3";
1119
1119
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1120
1120
  })();
1121
1121
  }));
1122
1122
 
1123
1123
  //#endregion
1124
- //#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/index.js
1124
+ //#region ../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js
1125
1125
  var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1126
1126
  if (process.env.NODE_ENV === "production") module.exports = require_react_production();
1127
1127
  else module.exports = require_react_development();
@@ -1129,4 +1129,4 @@ var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1129
1129
 
1130
1130
  //#endregion
1131
1131
  export { require_react as t };
1132
- //# sourceMappingURL=react-DIj83RKM.js.map
1132
+ //# sourceMappingURL=react-B97TdWcV.js.map