@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/react-fabric",
3
- "version": "0.12.4",
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.4"
106
+ "@kubb/fabric-core": "0.12.5"
107
107
  },
108
108
  "devDependencies": {
109
- "@types/react": "^19.2.8",
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",
@@ -21,7 +21,7 @@ type Props = {
21
21
  */
22
22
  export?: boolean
23
23
  /**
24
- * Does the function has async/promise behaviour.
24
+ * Does the function has async/promise behavior.
25
25
  * This will also add `Promise<returnType>` as the returnType.
26
26
  */
27
27
  async?: boolean
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 Kubbs's internal components from devtools for a cleaner view.
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
- // components
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