@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
@@ -1,4 +1,4 @@
1
- import { o as Plugin } from "./Fabric-CStIaz99.cjs";
1
+ import { o as Plugin } from "./Fabric-xy241PKd.cjs";
2
2
  import { ElementType } from "react";
3
3
 
4
4
  //#region src/plugins/reactPlugin.d.ts
@@ -28,4 +28,4 @@ declare global {
28
28
  declare const reactPlugin: Plugin<Options, ExtendOptions>;
29
29
  //#endregion
30
30
  export { reactPlugin as n, Options as t };
31
- //# sourceMappingURL=reactPlugin-DajNNKBt.d.cts.map
31
+ //# sourceMappingURL=reactPlugin-CrCzxP4y.d.cts.map
@@ -1,4 +1,4 @@
1
- import { o as Plugin } from "./Fabric-C7RMr4BK.js";
1
+ import { o as Plugin } from "./Fabric-D-A981Bs.js";
2
2
  import { ElementType } from "react";
3
3
 
4
4
  //#region src/plugins/reactPlugin.d.ts
@@ -28,4 +28,4 @@ declare global {
28
28
  declare const reactPlugin: Plugin<Options, ExtendOptions>;
29
29
  //#endregion
30
30
  export { reactPlugin as n, Options as t };
31
- //# sourceMappingURL=reactPlugin-TmG3R6xY.d.ts.map
31
+ //# sourceMappingURL=reactPlugin-Iyi8Falf.d.ts.map
@@ -1,8 +1,8 @@
1
1
  import { r as __toESM, t as __commonJSMin } from "./chunk-B1nHLT4p.js";
2
- import { t as require_react } from "./react-DIj83RKM.js";
3
- import { n as jsx } from "./jsx-runtime-CG-6bzfH.js";
2
+ import { t as require_react } from "./react-B97TdWcV.js";
3
+ import { n as jsx } from "./jsx-runtime-zJCtyvtC.js";
4
4
  import { onExit } from "signal-exit";
5
- import { createPlugin } from "@kubb/fabric-core/plugins";
5
+ import { definePlugin } from "@kubb/fabric-core/plugins";
6
6
  import process$1 from "node:process";
7
7
  import { createExport, createImport, print } from "@kubb/fabric-core/parsers/typescript";
8
8
 
@@ -87,7 +87,7 @@ Root.Context = RootContext;
87
87
  Root.displayName = "KubbRoot";
88
88
 
89
89
  //#endregion
90
- //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.1/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js
90
+ //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.3/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js
91
91
  /**
92
92
  * @license React
93
93
  * react-reconciler-constants.production.js
@@ -104,7 +104,7 @@ var require_react_reconciler_constants_production = /* @__PURE__ */ __commonJSMi
104
104
  }));
105
105
 
106
106
  //#endregion
107
- //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.1/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js
107
+ //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.3/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js
108
108
  /**
109
109
  * @license React
110
110
  * react-reconciler-constants.development.js
@@ -119,7 +119,7 @@ var require_react_reconciler_constants_development = /* @__PURE__ */ __commonJSM
119
119
  }));
120
120
 
121
121
  //#endregion
122
- //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.1/node_modules/react-reconciler/constants.js
122
+ //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.3/node_modules/react-reconciler/constants.js
123
123
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
124
124
  if (process.env.NODE_ENV === "production") module.exports = require_react_reconciler_constants_production();
125
125
  else module.exports = require_react_reconciler_constants_development();
@@ -678,7 +678,7 @@ var require_scheduler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
678
678
  }));
679
679
 
680
680
  //#endregion
681
- //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.1/node_modules/react-reconciler/cjs/react-reconciler.production.js
681
+ //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.3/node_modules/react-reconciler/cjs/react-reconciler.production.js
682
682
  /**
683
683
  * @license React
684
684
  * react-reconciler.production.js
@@ -6596,7 +6596,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6596
6596
  }));
6597
6597
 
6598
6598
  //#endregion
6599
- //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.1/node_modules/react-reconciler/cjs/react-reconciler.development.js
6599
+ //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.3/node_modules/react-reconciler/cjs/react-reconciler.development.js
6600
6600
  /**
6601
6601
  * @license React
6602
6602
  * react-reconciler.development.js
@@ -15109,7 +15109,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15109
15109
  }));
15110
15110
 
15111
15111
  //#endregion
15112
- //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.1/node_modules/react-reconciler/index.js
15112
+ //#region ../../node_modules/.pnpm/react-reconciler@0.32.0_react@19.2.3/node_modules/react-reconciler/index.js
15113
15113
  var require_react_reconciler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15114
15114
  if (process.env.NODE_ENV === "production") module.exports = require_react_reconciler_production();
15115
15115
  else module.exports = require_react_reconciler_development();
@@ -15568,7 +15568,7 @@ async function _getOutput(node) {
15568
15568
 
15569
15569
  //#endregion
15570
15570
  //#region src/plugins/reactPlugin.ts
15571
- const reactPlugin = createPlugin({
15571
+ const reactPlugin = definePlugin({
15572
15572
  name: "react",
15573
15573
  install() {},
15574
15574
  inject(ctx, options = {}) {
@@ -15579,15 +15579,15 @@ const reactPlugin = createPlugin({
15579
15579
  return {
15580
15580
  async render(App) {
15581
15581
  await runtime.render((0, import_react.createElement)(App));
15582
- await ctx.emit("start");
15582
+ await ctx.emit("lifecycle:start");
15583
15583
  },
15584
15584
  async renderToString(App) {
15585
- await ctx.emit("start");
15585
+ await ctx.emit("lifecycle:start");
15586
15586
  return runtime.renderToString((0, import_react.createElement)(App));
15587
15587
  },
15588
15588
  async waitUntilExit() {
15589
15589
  await runtime.waitUntilExit();
15590
- await ctx.emit("end");
15590
+ await ctx.emit("lifecycle:end");
15591
15591
  }
15592
15592
  };
15593
15593
  }
@@ -15595,4 +15595,4 @@ const reactPlugin = createPlugin({
15595
15595
 
15596
15596
  //#endregion
15597
15597
  export { _classPrivateFieldInitSpec as a, _classPrivateFieldGet2 as i, Runtime as n, Root as o, _classPrivateFieldSet2 as r, RootContext as s, reactPlugin as t };
15598
- //# sourceMappingURL=reactPlugin-CjfIGdZW.js.map
15598
+ //# sourceMappingURL=reactPlugin-PG1kqZRe.js.map