Skip to content

Commit 570e59b

Browse files
Merge branch 'TanStack:main' into fix/1990-onSubmitInvalid-early-check
2 parents 8e4b380 + 1e08fd8 commit 570e59b

File tree

12 files changed

+69
-17
lines changed

12 files changed

+69
-17
lines changed

.changeset/eight-dolls-wash.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@tanstack/react-form-devtools': patch
3+
'@tanstack/solid-form-devtools': patch
4+
'@tanstack/form-devtools': patch
5+
---
6+
7+
Bump devtools utils to latest versions.

.changeset/green-tips-do.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@tanstack/react-form-devtools': patch
3+
'@tanstack/solid-form-devtools': patch
4+
---
5+
6+
use explicit paths for the devtools production exports

packages/form-devtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
],
5454
"dependencies": {
5555
"@tanstack/devtools-ui": "^0.4.4",
56-
"@tanstack/devtools-utils": "^0.2.3",
56+
"@tanstack/devtools-utils": "^0.3.0",
5757
"@tanstack/form-core": "workspace:*",
5858
"clsx": "^2.1.1",
5959
"dayjs": "^1.11.18",

packages/react-form-devtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"src"
5353
],
5454
"dependencies": {
55-
"@tanstack/devtools-utils": "^0.2.3",
55+
"@tanstack/devtools-utils": "^0.3.0",
5656
"@tanstack/form-devtools": "workspace:*"
5757
},
5858
"devDependencies": {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

3-
export { FormDevtoolsPanel } from './FormDevtools'
3+
export { FormDevtoolsPanel } from './production/FormDevtools'
44

5-
export type { FormDevtoolsReactInit } from './FormDevtools'
5+
export type { FormDevtoolsReactInit } from './production/FormDevtools'
66

7-
export { formDevtoolsPlugin } from './plugin'
7+
export { formDevtoolsPlugin } from './production/plugin'
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { createReactPanel } from '@tanstack/devtools-utils/react'
2+
import { FormDevtoolsCore } from '@tanstack/form-devtools/production'
3+
4+
// type
5+
import type { DevtoolsPanelProps } from '@tanstack/devtools-utils/react'
6+
7+
export interface FormDevtoolsReactInit extends DevtoolsPanelProps {}
8+
9+
const [FormDevtoolsPanel] = createReactPanel(FormDevtoolsCore)
10+
11+
export { FormDevtoolsPanel }
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { createReactPlugin } from '@tanstack/devtools-utils/react'
2+
import { FormDevtoolsPanel } from './FormDevtools'
3+
4+
const [formDevtoolsPlugin] = createReactPlugin({
5+
name: 'TanStack Form',
6+
Component: FormDevtoolsPanel,
7+
})
8+
9+
export { formDevtoolsPlugin }

packages/solid-form-devtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"solid-js": ">=1.9.7"
5555
},
5656
"dependencies": {
57-
"@tanstack/devtools-utils": "^0.2.3",
57+
"@tanstack/devtools-utils": "^0.3.0",
5858
"@tanstack/form-devtools": "workspace:*"
5959
},
6060
"devDependencies": {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export { FormDevtoolsPanel } from './FormDevtools'
22

3-
export type { FormDevtoolsSolidInit } from './FormDevtools'
3+
export type { FormDevtoolsSolidInit } from './production/FormDevtools'
44

5-
export { formDevtoolsPlugin } from './plugin'
5+
export { formDevtoolsPlugin } from './production/plugin'
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { createSolidPanel } from '@tanstack/devtools-utils/solid'
2+
import { FormDevtoolsCore } from '@tanstack/form-devtools/production'
3+
4+
import type { DevtoolsPanelProps } from '@tanstack/devtools-utils/solid'
5+
6+
const [FormDevtoolsPanel] = createSolidPanel(FormDevtoolsCore)
7+
8+
export interface FormDevtoolsSolidInit extends DevtoolsPanelProps {}
9+
10+
export { FormDevtoolsPanel }

0 commit comments

Comments
 (0)