@tanstack/preact-form 2.0.0-alpha.0 → 2.0.0-alpha.2

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.
Files changed (39) hide show
  1. package/dist/AppForm/createFormHook.public.d.ts +6 -3
  2. package/dist/AppForm/createFormHook.public.js +2 -6
  3. package/dist/AppForm/createFormHookTypes.public.d.ts +190 -6
  4. package/dist/AppForm/initializeAppForm.lib.js +6 -1
  5. package/dist/FieldGroup/FieldGroupApi.public.d.ts +1 -1
  6. package/dist/PreactForm/Components.public.d.ts +2 -2
  7. package/dist/PreactForm/formApiTypes.public.d.ts +24 -0
  8. package/dist/PreactForm/formType.public.d.ts +30 -2
  9. package/dist/PreactForm/useField.lib.js +2 -2
  10. package/dist/PreactForm/useForm.public.d.ts +33 -1
  11. package/dist/PreactForm/useForm.public.js +32 -0
  12. package/dist/index.d.ts +2 -3
  13. package/package.json +3 -4
  14. package/dist/AppForm/appFormOptions.public.d.ts +0 -14
  15. package/src/AppForm/Components.lib.tsx +0 -160
  16. package/src/AppForm/PreactAppFormApi.public.tsx +0 -17
  17. package/src/AppForm/appFormOptions.public.ts +0 -59
  18. package/src/AppForm/componentMap.public.ts +0 -19
  19. package/src/AppForm/contexts.lib.ts +0 -28
  20. package/src/AppForm/createFormHook.public.ts +0 -37
  21. package/src/AppForm/createFormHookTypes.public.ts +0 -32
  22. package/src/AppForm/fieldComponentHelpers.lib.tsx +0 -30
  23. package/src/AppForm/getFormHookHelpers.public.ts +0 -114
  24. package/src/AppForm/initializeAppForm.lib.ts +0 -22
  25. package/src/FieldGroup/FieldGroupApi.public.ts +0 -91
  26. package/src/FieldGroup/withFields.lib.ts +0 -109
  27. package/src/FieldGroup/withFields.public.ts +0 -203
  28. package/src/PreactForm/Components.lib.tsx +0 -166
  29. package/src/PreactForm/Components.public.ts +0 -383
  30. package/src/PreactForm/PreactFormApi.lib.tsx +0 -48
  31. package/src/PreactForm/fieldSubscriptions.lib.ts +0 -32
  32. package/src/PreactForm/formApiTypes.public.ts +0 -29
  33. package/src/PreactForm/formType.public.ts +0 -52
  34. package/src/PreactForm/useField.lib.ts +0 -52
  35. package/src/PreactForm/useForm.public.ts +0 -34
  36. package/src/Subscribe.public.tsx +0 -56
  37. package/src/index.ts +0 -18
  38. package/src/preactTypes.public.ts +0 -6
  39. package/src/types.public.ts +0 -2
package/src/index.ts DELETED
@@ -1,18 +0,0 @@
1
- export * from '@tanstack/form-core'
2
- export * from '@tanstack/preact-store'
3
-
4
- export * from './PreactForm/useForm.public'
5
- export * from './PreactForm/formApiTypes.public'
6
- export * from './PreactForm/formType.public'
7
- export * from './PreactForm/Components.public'
8
- export * from './FieldGroup/FieldGroupApi.public'
9
- export * from './FieldGroup/withFields.public'
10
- export * from './preactTypes.public'
11
- export * from './types.public'
12
- export * from './Subscribe.public'
13
- export * from './AppForm/PreactAppFormApi.public'
14
- export * from './AppForm/appFormOptions.public'
15
- export * from './AppForm/componentMap.public'
16
- export * from './AppForm/createFormHook.public'
17
- export * from './AppForm/createFormHookTypes.public'
18
- export * from './AppForm/getFormHookHelpers.public'
@@ -1,6 +0,0 @@
1
- import type { FunctionComponent } from 'preact/compat'
2
-
3
- /**
4
- * Keeps component children compatible across supported Preact versions.
5
- */
6
- export type CrossVersionPreactNode = ReturnType<FunctionComponent<{}>>
@@ -1,2 +0,0 @@
1
- export type { CrossVersionPreactNode } from './preactTypes.public'
2
- export type { PreactFormType } from './PreactForm/formType.public'