@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.
- package/README.md +21 -24
- package/dist/{Fabric-C7RMr4BK.d.ts → Fabric-D-A981Bs.d.ts} +24 -25
- package/dist/{Fabric-CStIaz99.d.cts → Fabric-xy241PKd.d.cts} +24 -25
- package/dist/globals.d.cts +2 -2
- package/dist/globals.d.ts +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +10 -24
- package/dist/index.d.ts +10 -24
- package/dist/index.js +3 -3
- package/dist/jsx-dev-runtime.cjs +4 -4
- package/dist/jsx-dev-runtime.cjs.map +1 -1
- package/dist/jsx-dev-runtime.d.cts +5 -5
- package/dist/jsx-dev-runtime.d.ts +3 -3
- package/dist/jsx-dev-runtime.js +4 -4
- package/dist/jsx-dev-runtime.js.map +1 -1
- package/dist/{jsx-namespace-BLxjMbms.d.ts → jsx-namespace-CEeBVrTq.d.ts} +2 -2
- package/dist/{jsx-namespace-DLxNuglH.d.cts → jsx-namespace-DawWRiRq.d.cts} +2 -2
- package/dist/{jsx-runtime-rr0rZsW1.cjs → jsx-runtime-DqTOrEsT.cjs} +5 -5
- package/dist/{jsx-runtime-rr0rZsW1.cjs.map → jsx-runtime-DqTOrEsT.cjs.map} +1 -1
- package/dist/{jsx-runtime-CG-6bzfH.js → jsx-runtime-zJCtyvtC.js} +5 -5
- package/dist/{jsx-runtime-CG-6bzfH.js.map → jsx-runtime-zJCtyvtC.js.map} +1 -1
- package/dist/jsx-runtime.cjs +2 -2
- package/dist/jsx-runtime.d.cts +5 -5
- package/dist/jsx-runtime.d.ts +3 -3
- package/dist/jsx-runtime.js +2 -2
- package/dist/parsers.d.cts +5 -5
- package/dist/parsers.d.ts +5 -5
- package/dist/plugins.cjs +3 -3
- package/dist/plugins.d.cts +5 -5
- package/dist/plugins.d.ts +5 -5
- package/dist/plugins.js +3 -3
- package/dist/{react-DIj83RKM.js → react-B97TdWcV.js} +6 -6
- package/dist/{react-DIj83RKM.js.map → react-B97TdWcV.js.map} +1 -1
- package/dist/{react-7XRHSAt0.cjs → react-D_EYlsv-.cjs} +6 -6
- package/dist/{react-7XRHSAt0.cjs.map → react-D_EYlsv-.cjs.map} +1 -1
- package/dist/{reactPlugin-Botk9gkY.cjs → reactPlugin-CpRWhf6R.cjs} +13 -13
- package/dist/{reactPlugin-Botk9gkY.cjs.map → reactPlugin-CpRWhf6R.cjs.map} +1 -1
- package/dist/{reactPlugin-DajNNKBt.d.cts → reactPlugin-CrCzxP4y.d.cts} +2 -2
- package/dist/{reactPlugin-TmG3R6xY.d.ts → reactPlugin-Iyi8Falf.d.ts} +2 -2
- package/dist/{reactPlugin-CjfIGdZW.js → reactPlugin-PG1kqZRe.js} +14 -14
- package/dist/{reactPlugin-CjfIGdZW.js.map → reactPlugin-PG1kqZRe.js.map} +1 -1
- package/dist/{types-KXnjAqUg.d.ts → types-BjJ5OLXP.d.ts} +2 -2
- package/dist/{types-BZlZnQLJ.d.cts → types-WtAhPPHc.d.cts} +2 -2
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/package.json +3 -3
- package/src/plugins/reactPlugin.ts +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as Plugin } from "./Fabric-
|
|
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-
|
|
31
|
+
//# sourceMappingURL=reactPlugin-CrCzxP4y.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as Plugin } from "./Fabric-
|
|
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-
|
|
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-
|
|
3
|
-
import { n as jsx } from "./jsx-runtime-
|
|
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 {
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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 =
|
|
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-
|
|
15598
|
+
//# sourceMappingURL=reactPlugin-PG1kqZRe.js.map
|