@playfast/reform-forms-react 1.0.1 → 1.1.1

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@playfast/reform-forms-react",
3
3
  "playbook": "./playbook",
4
- "version": "1.0.1",
4
+ "version": "1.1.1",
5
5
  "type": "module",
6
6
  "description": "React bindings for @playfast/forms — render a typed reform form View with scoped field/array/variant helpers.",
7
7
  "keywords": [
@@ -1,5 +1,3 @@
1
- // Type-level checks enforced by `tsc --noEmit`.
2
-
3
1
  import { Schema as S } from 'effect'
4
2
  import { ui, type ViewImpl, type UiContract } from '@playfast/reform'
5
3
  import { Form } from '@playfast/reform-forms'
package/src/index.tsx CHANGED
@@ -75,7 +75,7 @@ const makeFieldHandle = <A,>(
75
75
  })
76
76
 
77
77
  const makeScope = <ScopeValues,>(
78
- form: View<any>,
78
+ form: View<AnyForm>,
79
79
  prefix: string,
80
80
  ): ScopeHelpers<ScopeValues> => {
81
81
  const full = (path: string): string => joinPath(prefix, path)