@fuf-stack/uniform 0.3.0 → 0.3.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.
@@ -2,7 +2,7 @@ import * as react_hook_form from 'react-hook-form';
2
2
  import { FieldError } from 'react-hook-form';
3
3
  import * as _fuf_stack_veto from '@fuf-stack/veto';
4
4
  import { VetoSchema } from '@fuf-stack/veto';
5
- import * as zod from 'zod';
5
+ import * as _fuf_stack_veto_dist_types_d_DhQiwhXl from '@fuf-stack/veto/dist/types.d-DhQiwhXl';
6
6
 
7
7
  declare const recursiveFieldKeySearch: (schema: VetoSchema, path: string[]) => boolean | null;
8
8
  /** TODO: add description */
@@ -17,7 +17,7 @@ declare const useFormContext: () => {
17
17
  isValidating: boolean;
18
18
  };
19
19
  validation: {
20
- schema: zod.ZodTypeAny;
20
+ schema: _fuf_stack_veto_dist_types_d_DhQiwhXl.a;
21
21
  validate: <InputType extends _fuf_stack_veto.VetoInput>(input: InputType) => _fuf_stack_veto.VetoError | _fuf_stack_veto.VetoSuccess<any>;
22
22
  validateAsync: <InputType_1 extends _fuf_stack_veto.VetoInput>(input: InputType_1) => Promise<_fuf_stack_veto.VetoError | _fuf_stack_veto.VetoSuccess<any>>;
23
23
  } | undefined;
@@ -2,7 +2,7 @@ import * as react_hook_form from 'react-hook-form';
2
2
  import { FieldError } from 'react-hook-form';
3
3
  import * as _fuf_stack_veto from '@fuf-stack/veto';
4
4
  import { VetoSchema } from '@fuf-stack/veto';
5
- import * as zod from 'zod';
5
+ import * as _fuf_stack_veto_dist_types_d_DhQiwhXl from '@fuf-stack/veto/dist/types.d-DhQiwhXl';
6
6
 
7
7
  declare const recursiveFieldKeySearch: (schema: VetoSchema, path: string[]) => boolean | null;
8
8
  /** TODO: add description */
@@ -17,7 +17,7 @@ declare const useFormContext: () => {
17
17
  isValidating: boolean;
18
18
  };
19
19
  validation: {
20
- schema: zod.ZodTypeAny;
20
+ schema: _fuf_stack_veto_dist_types_d_DhQiwhXl.a;
21
21
  validate: <InputType extends _fuf_stack_veto.VetoInput>(input: InputType) => _fuf_stack_veto.VetoError | _fuf_stack_veto.VetoSuccess<any>;
22
22
  validateAsync: <InputType_1 extends _fuf_stack_veto.VetoInput>(input: InputType_1) => Promise<_fuf_stack_veto.VetoError | _fuf_stack_veto.VetoSuccess<any>>;
23
23
  } | undefined;
package/dist/index.d.cts CHANGED
@@ -11,5 +11,5 @@ import '@fuf-stack/veto';
11
11
  import 'react';
12
12
  import 'react-hook-form';
13
13
  import 'slug';
14
- import 'zod';
14
+ import '@fuf-stack/veto/dist/types.d-DhQiwhXl';
15
15
  import '@fuf-stack/pixels';
package/dist/index.d.ts CHANGED
@@ -11,5 +11,5 @@ import '@fuf-stack/veto';
11
11
  import 'react';
12
12
  import 'react-hook-form';
13
13
  import 'slug';
14
- import 'zod';
14
+ import '@fuf-stack/veto/dist/types.d-DhQiwhXl';
15
15
  import '@fuf-stack/pixels';
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fuf-stack/uniform",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "fuf react form library",
5
5
  "author": "Hannes Tiede",
6
6
  "homepage": "https://github.com/fuf-stack/uniform#readme",
7
7
  "license": "MIT",
8
8
  "type": "module",
9
- "main": "./dist/index.js",
10
- "module": "./dist/index.cjs",
9
+ "main": "./dist/index.cjs",
10
+ "module": "./dist/index.js",
11
11
  "types": "./dist/index.d.ts",
12
12
  "sideEffects": false,
13
13
  "exports": {
@@ -87,27 +87,28 @@
87
87
  "@nextui-org/select": "2.1.27",
88
88
  "@nextui-org/switch": "2.0.28",
89
89
  "@nextui-org/system": "2.1.2",
90
- "@react-aria/visually-hidden": "3.8.11",
91
- "react-icons": "5.2.0",
90
+ "@nextui-org/theme": "2.2.3",
91
+ "@react-aria/visually-hidden": "3.8.12",
92
+ "react-icons": "5.2.1",
92
93
  "classnames": "2.5.1",
93
- "react-hook-form": "7.51.3",
94
+ "react-hook-form": "7.51.5",
94
95
  "react-select": "5.8.0",
95
- "slug": "9.0.0",
96
+ "slug": "9.1.0",
96
97
  "tailwind-variants": "0.2.1",
97
- "@fuf-stack/veto": "0.2.1",
98
- "@fuf-stack/pixels": "0.5.7"
98
+ "@fuf-stack/pixels": "0.7.2",
99
+ "@fuf-stack/veto": "0.4.0"
99
100
  },
100
101
  "devDependencies": {
101
102
  "@types/debug": "4.1.12",
102
- "@types/react": "18.3.1",
103
+ "@types/react": "18.3.3",
103
104
  "@types/react-dom": "18.3.0",
104
105
  "@types/slug": "5.0.8",
105
106
  "react": "18.3.1",
106
107
  "react-dom": "18.3.1",
107
108
  "@repo/storybook-config": "0.0.1",
109
+ "@repo/tailwind-config": "0.0.1",
108
110
  "@repo/vite-config": "0.0.1",
109
- "@repo/tsup-config": "0.0.1",
110
- "@repo/tailwind-config": "0.0.1"
111
+ "@repo/tsup-config": "0.0.1"
111
112
  },
112
113
  "scripts": {
113
114
  "build": "tsup --config node_modules/@repo/tsup-config/config.ts",