@kubb/renderer-jsx 5.0.0-alpha.43 → 5.0.0-alpha.45
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/dist/index.cjs +6 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -24
- package/dist/index.js +6 -24
- package/dist/index.js.map +1 -1
- package/dist/jsx-dev-runtime.cjs +1 -1
- package/dist/jsx-dev-runtime.js +1 -1
- package/dist/{jsx-runtime-7z5lYBqC.js → jsx-runtime-Cvu_ZYgL.js} +9 -9
- package/dist/{jsx-runtime-7z5lYBqC.js.map → jsx-runtime-Cvu_ZYgL.js.map} +1 -1
- package/dist/{jsx-runtime-Dnd1wztY.cjs → jsx-runtime-DdmO3p0U.cjs} +9 -9
- package/dist/{jsx-runtime-Dnd1wztY.cjs.map → jsx-runtime-DdmO3p0U.cjs.map} +1 -1
- package/dist/jsx-runtime.cjs +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/package.json +5 -5
- package/src/index.ts +0 -2
- package/src/context/KubbContext.ts +0 -15
- package/src/context/OasContext.ts +0 -9
package/dist/index.d.ts
CHANGED
|
@@ -518,29 +518,6 @@ declare namespace Type {
|
|
|
518
518
|
var displayName: string;
|
|
519
519
|
}
|
|
520
520
|
//#endregion
|
|
521
|
-
//#region src/context/KubbContext.d.ts
|
|
522
|
-
type KubbContextValue = {
|
|
523
|
-
driver: unknown;
|
|
524
|
-
plugin: unknown;
|
|
525
|
-
mode: 'single' | 'split';
|
|
526
|
-
};
|
|
527
|
-
/**
|
|
528
|
-
* Context key for kubb render-time data (driver, plugin, mode).
|
|
529
|
-
* Use `provide`/`unprovide` from `@internals/utils` around render calls,
|
|
530
|
-
* and `inject` inside generator components.
|
|
531
|
-
* @deprecated
|
|
532
|
-
*/
|
|
533
|
-
declare const KubbContext: Context<KubbContextValue | null>;
|
|
534
|
-
//#endregion
|
|
535
|
-
//#region src/context/OasContext.d.ts
|
|
536
|
-
/**
|
|
537
|
-
* Context key for the OAS (OpenAPI Specification) instance.
|
|
538
|
-
* Use `provide`/`unprovide` from `@internals/utils` around render calls,
|
|
539
|
-
* and `inject` inside generator components.
|
|
540
|
-
* @deprecated
|
|
541
|
-
*/
|
|
542
|
-
declare const OasContext: Context<unknown>;
|
|
543
|
-
//#endregion
|
|
544
521
|
//#region src/createRenderer.d.ts
|
|
545
522
|
type Options = {
|
|
546
523
|
/**
|
|
@@ -615,5 +592,5 @@ declare function createRenderer(options?: Options): Renderer;
|
|
|
615
592
|
*/
|
|
616
593
|
declare const jsxRenderer: () => Renderer;
|
|
617
594
|
//#endregion
|
|
618
|
-
export { Const, File, Function, Jsx,
|
|
595
|
+
export { Const, File, Function, Jsx, Root, Type, createContext, createRenderer, inject, jsxRenderer, provide, unprovide };
|
|
619
596
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __name, r as __toESM, t as __commonJSMin } from "./chunk-Bb7HlUDG.js";
|
|
2
|
-
import { n as require_react } from "./jsx-runtime-
|
|
2
|
+
import { n as require_react } from "./jsx-runtime-Cvu_ZYgL.js";
|
|
3
3
|
import { Fragment, jsx } from "./jsx-runtime.js";
|
|
4
4
|
import { createArrowFunction, createBreak, createConst, createExport, createFunction, createImport, createJsx, createSource, createText, createType } from "@kubb/ast";
|
|
5
5
|
//#region ../../internals/utils/src/context.ts
|
|
@@ -408,25 +408,7 @@ function Type({ children, ...props }) {
|
|
|
408
408
|
}
|
|
409
409
|
Type.displayName = "Type";
|
|
410
410
|
//#endregion
|
|
411
|
-
//#region
|
|
412
|
-
/**
|
|
413
|
-
* Context key for kubb render-time data (driver, plugin, mode).
|
|
414
|
-
* Use `provide`/`unprovide` from `@internals/utils` around render calls,
|
|
415
|
-
* and `inject` inside generator components.
|
|
416
|
-
* @deprecated
|
|
417
|
-
*/
|
|
418
|
-
const KubbContext = createContext(null);
|
|
419
|
-
//#endregion
|
|
420
|
-
//#region src/context/OasContext.ts
|
|
421
|
-
/**
|
|
422
|
-
* Context key for the OAS (OpenAPI Specification) instance.
|
|
423
|
-
* Use `provide`/`unprovide` from `@internals/utils` around render calls,
|
|
424
|
-
* and `inject` inside generator components.
|
|
425
|
-
* @deprecated
|
|
426
|
-
*/
|
|
427
|
-
const OasContext = createContext(null);
|
|
428
|
-
//#endregion
|
|
429
|
-
//#region ../../node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.3/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js
|
|
411
|
+
//#region ../../node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.5/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js
|
|
430
412
|
/**
|
|
431
413
|
* @license React
|
|
432
414
|
* react-reconciler-constants.production.js
|
|
@@ -446,7 +428,7 @@ var require_react_reconciler_constants_production = /* @__PURE__ */ __commonJSMi
|
|
|
446
428
|
exports.NoEventPriority = 0;
|
|
447
429
|
}));
|
|
448
430
|
//#endregion
|
|
449
|
-
//#region ../../node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.
|
|
431
|
+
//#region ../../node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.5/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js
|
|
450
432
|
/**
|
|
451
433
|
* @license React
|
|
452
434
|
* react-reconciler-constants.development.js
|
|
@@ -1103,7 +1085,7 @@ var require_scheduler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1103
1085
|
else module.exports = require_scheduler_development();
|
|
1104
1086
|
}));
|
|
1105
1087
|
//#endregion
|
|
1106
|
-
//#region ../../node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.
|
|
1088
|
+
//#region ../../node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.5/node_modules/react-reconciler/cjs/react-reconciler.production.js
|
|
1107
1089
|
/**
|
|
1108
1090
|
* @license React
|
|
1109
1091
|
* react-reconciler.production.js
|
|
@@ -7672,7 +7654,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
7672
7654
|
Object.defineProperty(module.exports, "__esModule", { value: !0 });
|
|
7673
7655
|
}));
|
|
7674
7656
|
//#endregion
|
|
7675
|
-
//#region ../../node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.
|
|
7657
|
+
//#region ../../node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.5/node_modules/react-reconciler/cjs/react-reconciler.development.js
|
|
7676
7658
|
/**
|
|
7677
7659
|
* @license React
|
|
7678
7660
|
* react-reconciler.development.js
|
|
@@ -18233,6 +18215,6 @@ function createRenderer(options = {}) {
|
|
|
18233
18215
|
*/
|
|
18234
18216
|
const jsxRenderer = () => createRenderer();
|
|
18235
18217
|
//#endregion
|
|
18236
|
-
export { Const, File, Function$1 as Function, Jsx,
|
|
18218
|
+
export { Const, File, Function$1 as Function, Jsx, Root, Type, createContext, createRenderer, inject, jsxRenderer, provide, unprovide };
|
|
18237
18219
|
|
|
18238
18220
|
//# sourceMappingURL=index.js.map
|