@kubb/renderer-jsx 5.0.0-alpha.44 → 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.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, KubbContext, OasContext, Root, Type, createContext, createRenderer, inject, jsxRenderer, provide, unprovide };
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-7z5lYBqC.js";
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 src/context/KubbContext.ts
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.3/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js
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.3/node_modules/react-reconciler/cjs/react-reconciler.production.js
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.3/node_modules/react-reconciler/cjs/react-reconciler.development.js
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, KubbContext, OasContext, Root, Type, createContext, createRenderer, inject, jsxRenderer, provide, unprovide };
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