@kubb/react-fabric 0.12.4 → 0.12.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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -3
- package/dist/index.d.ts +40 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/jsx-dev-runtime.d.cts +2 -2
- package/dist/jsx-dev-runtime.d.ts +2 -2
- package/dist/jsx-runtime.d.cts +2 -2
- package/dist/jsx-runtime.d.ts +2 -2
- package/dist/plugins.cjs +1 -1
- package/dist/plugins.d.cts +1 -1
- package/dist/plugins.d.ts +1 -1
- package/dist/plugins.js +1 -1
- package/dist/{reactPlugin-CVS9VJ5P.d.ts → reactPlugin-B8VMf0BQ.d.ts} +31 -6
- package/dist/{reactPlugin-CwuxUcyY.js → reactPlugin-Dgs9o4KK.js} +82 -82
- package/dist/reactPlugin-Dgs9o4KK.js.map +1 -0
- package/dist/{reactPlugin-EQOIOEA2.d.cts → reactPlugin-I53HUDXu.d.cts} +31 -6
- package/dist/{reactPlugin-BzHuVlbO.cjs → reactPlugin-ROpqWeoY.cjs} +87 -81
- package/dist/reactPlugin-ROpqWeoY.cjs.map +1 -0
- package/package.json +3 -3
- package/src/components/Function.tsx +1 -1
- package/src/devtools.ts +1 -1
- package/src/index.ts +3 -1
- package/dist/reactPlugin-BzHuVlbO.cjs.map +0 -1
- package/dist/reactPlugin-CwuxUcyY.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/react-fabric",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.5",
|
|
4
4
|
"description": "React integration for Kubb, providing JSX runtime support and React component generation capabilities for code generation plugins.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
"remeda": "^2.33.4",
|
|
104
104
|
"signal-exit": "^4.1.0",
|
|
105
105
|
"ws": "8.18.0",
|
|
106
|
-
"@kubb/fabric-core": "0.12.
|
|
106
|
+
"@kubb/fabric-core": "0.12.5"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@types/react": "^19.2.
|
|
109
|
+
"@types/react": "^19.2.9",
|
|
110
110
|
"@types/react-reconciler": "0.32.0",
|
|
111
111
|
"@types/ws": "^8.18.1",
|
|
112
112
|
"react": "19.2.3",
|
package/src/devtools.ts
CHANGED
|
@@ -25,7 +25,7 @@ export function openDevtools() {
|
|
|
25
25
|
customGlobal.self ||= global
|
|
26
26
|
customGlobal.isDevtoolsEnabled = true
|
|
27
27
|
|
|
28
|
-
// Filter out
|
|
28
|
+
// Filter out Kubb internal components from devtools for a cleaner view.
|
|
29
29
|
// See https://github.com/facebook/react/blob/edf6eac8a181860fd8a2d076a43806f1237495a1/packages/react-devtools-shared/src/types.js#L24
|
|
30
30
|
customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [
|
|
31
31
|
{
|
package/src/index.ts
CHANGED
|
@@ -15,11 +15,13 @@ export const useContext = React.useContext
|
|
|
15
15
|
export const useEffect = React.useEffect
|
|
16
16
|
export const useReducer = React.useReducer
|
|
17
17
|
export const useRef = React.useRef
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
export { App } from './components/App.tsx'
|
|
20
20
|
export { Const } from './components/Const.tsx'
|
|
21
21
|
export { File } from './components/File.tsx'
|
|
22
22
|
export { Function } from './components/Function.tsx'
|
|
23
|
+
// components
|
|
24
|
+
export { Root } from './components/Root.tsx'
|
|
23
25
|
export { Type } from './components/Type.tsx'
|
|
24
26
|
|
|
25
27
|
// composables
|