@formisch/svelte 0.5.3 → 0.5.4
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/dist/components/Field/Field.svelte.d.ts +1 -1
- package/dist/components/FieldArray/FieldArray.svelte.d.ts +1 -1
- package/dist/components/Form/Form.svelte.d.ts +1 -1
- package/dist/components/index.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/runes/createForm/createForm.svelte.d.ts +1 -1
- package/dist/runes/createForm/index.d.ts +1 -1
- package/dist/runes/index.d.ts +3 -3
- package/dist/runes/useField/index.d.ts +1 -1
- package/dist/runes/useField/useField.svelte.d.ts +1 -1
- package/dist/runes/useFieldArray/index.d.ts +1 -1
- package/dist/runes/useFieldArray/useFieldArray.svelte.d.ts +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/unwrap/index.d.ts +1 -1
- package/dist/utils/unwrap/unwrap.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RequiredPath, Schema, ValidPath } from '../../core/index.svelte';
|
|
2
2
|
import type * as v from 'valibot';
|
|
3
|
-
import type { FieldStore, FormStore } from '../../types/index
|
|
3
|
+
import type { FieldStore, FormStore } from '../../types/index';
|
|
4
4
|
import type { Snippet } from 'svelte';
|
|
5
5
|
/**
|
|
6
6
|
* Field component props interface.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RequiredPath, Schema, ValidArrayPath } from '../../core/index.svelte';
|
|
2
2
|
import type * as v from 'valibot';
|
|
3
|
-
import type { FieldArrayStore, FormStore } from '../../types/index
|
|
3
|
+
import type { FieldArrayStore, FormStore } from '../../types/index';
|
|
4
4
|
import type { Snippet } from 'svelte';
|
|
5
5
|
/**
|
|
6
6
|
* Field array component props interface.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Schema, type SubmitHandler } from '../../core/index.svelte';
|
|
2
|
-
import type { FormStore } from '../../types/index
|
|
2
|
+
import type { FormStore } from '../../types/index';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
4
|
import type { HTMLFormAttributes } from 'svelte/elements';
|
|
5
5
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './Field/index
|
|
2
|
-
export * from './FieldArray/index
|
|
3
|
-
export * from './Form/index
|
|
1
|
+
export * from './Field/index';
|
|
2
|
+
export * from './FieldArray/index';
|
|
3
|
+
export * from './Form/index';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { DeepPartial, FieldElement, FormConfig, PartialValues, PathValue, RequiredPath, Schema, SubmitHandler, ValidArrayPath, ValidationMode, ValidPath, } from './core/index.svelte';
|
|
2
2
|
export * from './methods/index.svelte';
|
|
3
|
-
export * from './components/index
|
|
4
|
-
export * from './runes/index
|
|
5
|
-
export * from './types/index
|
|
3
|
+
export * from './components/index';
|
|
4
|
+
export * from './runes/index';
|
|
5
|
+
export * from './types/index';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FormConfig, type Schema } from '../../core/index.svelte';
|
|
2
|
-
import type { FormStore } from '../../types/index
|
|
2
|
+
import type { FormStore } from '../../types/index';
|
|
3
3
|
/**
|
|
4
4
|
* Creates a reactive form store from a form configuration. The form store
|
|
5
5
|
* manages form state and provides reactive properties.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './createForm.svelte
|
|
1
|
+
export * from './createForm.svelte';
|
package/dist/runes/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './createForm/index
|
|
2
|
-
export * from './useField/index
|
|
3
|
-
export * from './useFieldArray/index
|
|
1
|
+
export * from './createForm/index';
|
|
2
|
+
export * from './useField/index';
|
|
3
|
+
export * from './useFieldArray/index';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './useField.svelte
|
|
1
|
+
export * from './useField.svelte';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type RequiredPath, type Schema, type ValidPath } from '../../core/index.svelte';
|
|
2
2
|
import type * as v from 'valibot';
|
|
3
|
-
import type { FieldStore, FormStore, MaybeGetter } from '../../types/index
|
|
3
|
+
import type { FieldStore, FormStore, MaybeGetter } from '../../types/index';
|
|
4
4
|
/**
|
|
5
5
|
* Use field config interface.
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './useFieldArray.svelte
|
|
1
|
+
export * from './useFieldArray.svelte';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type RequiredPath, type Schema, type ValidArrayPath } from '../../core/index.svelte';
|
|
2
2
|
import type * as v from 'valibot';
|
|
3
|
-
import type { FieldArrayStore, FormStore, MaybeGetter } from '../../types/index
|
|
3
|
+
import type { FieldArrayStore, FormStore, MaybeGetter } from '../../types/index';
|
|
4
4
|
/**
|
|
5
5
|
* Use field array config interface.
|
|
6
6
|
*/
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './field
|
|
2
|
-
export * from './form
|
|
3
|
-
export * from './utils
|
|
1
|
+
export * from './field';
|
|
2
|
+
export * from './form';
|
|
3
|
+
export * from './utils';
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './unwrap/index
|
|
1
|
+
export * from './unwrap/index';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './unwrap
|
|
1
|
+
export * from './unwrap';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { MaybeGetter } from '../../types/index
|
|
1
|
+
import type { MaybeGetter } from '../../types/index';
|
|
2
2
|
export declare function unwrap<T>(value: MaybeGetter<T>): T;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formisch/svelte",
|
|
3
3
|
"description": "The modular and type-safe form library for Svelte",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fabian Hiller",
|
|
7
7
|
"homepage": "https://formisch.dev",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
|
-
"types": "./dist/
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
22
|
"svelte": "./dist/index.js",
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|
|
25
|
-
"types": "./dist/
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
26
|
"svelte": "./dist/index.js"
|
|
27
27
|
}
|
|
28
28
|
},
|