@tanstack/preact-form 1.33.3 → 2.0.0-alpha.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.
Files changed (51) hide show
  1. package/dist/AppForm/Components.lib.js +3 -2
  2. package/dist/AppForm/PreactAppFormApi.public.d.ts +0 -1
  3. package/dist/AppForm/appFormOptions.public.d.ts +0 -1
  4. package/dist/AppForm/componentMap.public.d.ts +0 -1
  5. package/dist/AppForm/createFormHook.public.d.ts +0 -1
  6. package/dist/AppForm/createFormHook.public.js +2 -2
  7. package/dist/AppForm/createFormHookTypes.public.d.ts +110 -3
  8. package/dist/AppForm/fieldComponentHelpers.lib.js +3 -2
  9. package/dist/AppForm/getFormHookHelpers.public.d.ts +1 -2
  10. package/dist/AppForm/initializeAppForm.lib.js +2 -1
  11. package/dist/FieldGroup/FieldGroupApi.public.d.ts +0 -1
  12. package/dist/FieldGroup/withFields.lib.js +27 -63
  13. package/dist/FieldGroup/withFields.public.d.ts +26 -24
  14. package/dist/FieldGroup/withFields.public.js +4 -15
  15. package/dist/PreactForm/Components.lib.js +6 -4
  16. package/dist/PreactForm/Components.public.d.ts +2 -3
  17. package/dist/PreactForm/PreactFormApi.lib.js +2 -1
  18. package/dist/PreactForm/fieldSubscriptions.lib.js +4 -2
  19. package/dist/PreactForm/formApiTypes.public.d.ts +25 -2
  20. package/dist/PreactForm/formType.public.d.ts +30 -2
  21. package/dist/PreactForm/useForm.public.d.ts +0 -1
  22. package/dist/Subscribe.public.d.ts +0 -1
  23. package/dist/index.d.ts +2 -2
  24. package/dist/index.js +2 -2
  25. package/dist/preactTypes.public.d.ts +0 -2
  26. package/package.json +5 -6
  27. package/src/AppForm/Components.lib.tsx +0 -160
  28. package/src/AppForm/PreactAppFormApi.public.tsx +0 -17
  29. package/src/AppForm/appFormOptions.public.ts +0 -59
  30. package/src/AppForm/componentMap.public.ts +0 -19
  31. package/src/AppForm/contexts.lib.ts +0 -28
  32. package/src/AppForm/createFormHook.public.ts +0 -37
  33. package/src/AppForm/createFormHookTypes.public.ts +0 -34
  34. package/src/AppForm/fieldComponentHelpers.lib.tsx +0 -30
  35. package/src/AppForm/getFormHookHelpers.public.ts +0 -114
  36. package/src/AppForm/initializeAppForm.lib.ts +0 -22
  37. package/src/FieldGroup/FieldGroupApi.public.ts +0 -91
  38. package/src/FieldGroup/withFields.lib.ts +0 -191
  39. package/src/FieldGroup/withFields.public.ts +0 -221
  40. package/src/PreactForm/Components.lib.tsx +0 -166
  41. package/src/PreactForm/Components.public.ts +0 -383
  42. package/src/PreactForm/PreactFormApi.lib.tsx +0 -48
  43. package/src/PreactForm/fieldSubscriptions.lib.ts +0 -32
  44. package/src/PreactForm/formApiTypes.public.ts +0 -29
  45. package/src/PreactForm/formType.public.ts +0 -52
  46. package/src/PreactForm/useField.lib.ts +0 -52
  47. package/src/PreactForm/useForm.public.ts +0 -34
  48. package/src/Subscribe.public.tsx +0 -56
  49. package/src/index.ts +0 -18
  50. package/src/preactTypes.public.ts +0 -6
  51. 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'