@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.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/renderer-jsx",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.45",
|
|
4
4
|
"description": "React integration for Kubb - JSX runtime and component-based code generation with React reconciler for building type-safe generators",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
}
|
|
85
85
|
],
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@kubb/ast": "5.0.0-alpha.
|
|
87
|
+
"@kubb/ast": "5.0.0-alpha.45"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@types/react": "^19.2.14",
|
|
91
|
-
"@types/react-reconciler": "0.
|
|
92
|
-
"react": "19.2.
|
|
91
|
+
"@types/react-reconciler": "0.33.0",
|
|
92
|
+
"react": "19.2.5",
|
|
93
93
|
"react-reconciler": "0.33.0",
|
|
94
94
|
"@internals/utils": "0.0.0"
|
|
95
95
|
},
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"registry": "https://registry.npmjs.org/"
|
|
102
102
|
},
|
|
103
103
|
"inlinedDependencies": {
|
|
104
|
-
"react": "19.2.
|
|
104
|
+
"react": "19.2.5",
|
|
105
105
|
"react-reconciler": "0.33.0",
|
|
106
106
|
"scheduler": "0.27.0"
|
|
107
107
|
},
|
package/src/index.ts
CHANGED
|
@@ -5,6 +5,4 @@ export { Function } from './components/Function.tsx'
|
|
|
5
5
|
export { Jsx } from './components/Jsx.tsx'
|
|
6
6
|
export { Root } from './components/Root.tsx'
|
|
7
7
|
export { Type } from './components/Type.tsx'
|
|
8
|
-
export { KubbContext } from './context/KubbContext.ts'
|
|
9
|
-
export { OasContext } from './context/OasContext.ts'
|
|
10
8
|
export { createRenderer, jsxRenderer } from './createRenderer.tsx'
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { createContext } from '@internals/utils'
|
|
2
|
-
|
|
3
|
-
type KubbContextValue = {
|
|
4
|
-
driver: unknown
|
|
5
|
-
plugin: unknown
|
|
6
|
-
mode: 'single' | 'split'
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Context key for kubb render-time data (driver, plugin, mode).
|
|
11
|
-
* Use `provide`/`unprovide` from `@internals/utils` around render calls,
|
|
12
|
-
* and `inject` inside generator components.
|
|
13
|
-
* @deprecated
|
|
14
|
-
*/
|
|
15
|
-
export const KubbContext = createContext<KubbContextValue | null>(null)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createContext } from '@internals/utils'
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Context key for the OAS (OpenAPI Specification) instance.
|
|
5
|
-
* Use `provide`/`unprovide` from `@internals/utils` around render calls,
|
|
6
|
-
* and `inject` inside generator components.
|
|
7
|
-
* @deprecated
|
|
8
|
-
*/
|
|
9
|
-
export const OasContext = createContext<unknown>(null)
|