@samline/forms 2.10.0 → 2.11.0

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.
@@ -1,4 +1,4 @@
1
- import { v as FormsApi, w as FormsAvailable, F as FormTarget, a as FormControllerOptions, b as FormController, N as NewFormInput } from '../registry-CPe_lf8-.cjs';
1
+ import { v as FormsApi, w as FormsAvailable, F as FormTarget, a as FormControllerOptions, b as FormController, N as NewFormInput } from '../registry-Bzd3unBb.cjs';
2
2
 
3
3
  declare const Forms: FormsApi;
4
4
  declare const form: (target: FormTarget, options?: FormControllerOptions) => FormController;
@@ -1,4 +1,4 @@
1
- import { v as FormsApi, w as FormsAvailable, F as FormTarget, a as FormControllerOptions, b as FormController, N as NewFormInput } from '../registry-CPe_lf8-.js';
1
+ import { v as FormsApi, w as FormsAvailable, F as FormTarget, a as FormControllerOptions, b as FormController, N as NewFormInput } from '../registry-Bzd3unBb.js';
2
2
 
3
3
  declare const Forms: FormsApi;
4
4
  declare const form: (target: FormTarget, options?: FormControllerOptions) => FormController;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FormTarget, a as FormControllerOptions, b as FormController, S as SerializedFormResult, c as FormFieldValue, d as FieldValidationRules, e as FormValues, V as ValidationSchema, f as ValidationResult } from './registry-CPe_lf8-.cjs';
2
- export { A as AppendContentOptions, g as AutoSubmitOptions, h as FieldFormatConfig, i as FieldFormatConfigMap, j as FieldValidationContext, k as FieldValidator, l as FormCleanup, m as FormDataPrimitive, n as FormErrors, o as FormFieldElement, p as FormFieldWatcher, q as FormFieldsWatcher, r as FormStateListener, s as FormStateSnapshot, t as FormSubmitHandler, u as FormatType, v as FormsApi, w as FormsAvailable, N as NewFormInput, R as RuleConfig, x as SelectOption, y as SelectOptionGroup, z as SelectOptionInput, B as SerializedFormValue, C as SetOptionsConfig, D as ValueValidationRules, E as VisualAttributes, G as browser } from './registry-CPe_lf8-.cjs';
1
+ import { F as FormTarget, a as FormControllerOptions, b as FormController, S as SerializedFormResult, c as FormFieldValue, d as FieldValidationRules, e as FormValues, V as ValidationSchema, f as ValidationResult } from './registry-Bzd3unBb.cjs';
2
+ export { A as AppendContentOptions, g as AutoSubmitOptions, h as FieldFormatConfig, i as FieldFormatConfigMap, j as FieldValidationContext, k as FieldValidator, l as FormCleanup, m as FormDataPrimitive, n as FormErrors, o as FormFieldElement, p as FormFieldWatcher, q as FormFieldsWatcher, r as FormStateListener, s as FormStateSnapshot, t as FormSubmitHandler, u as FormatType, v as FormsApi, w as FormsAvailable, N as NewFormInput, R as RuleConfig, x as SelectOption, y as SelectOptionGroup, z as SelectOptionInput, B as SerializedFormValue, C as SetOptionsConfig, D as ValueValidationRules, E as VisualAttributes, G as browser } from './registry-Bzd3unBb.cjs';
3
3
 
4
4
  declare const form: (target: FormTarget, options?: FormControllerOptions) => FormController;
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FormTarget, a as FormControllerOptions, b as FormController, S as SerializedFormResult, c as FormFieldValue, d as FieldValidationRules, e as FormValues, V as ValidationSchema, f as ValidationResult } from './registry-CPe_lf8-.js';
2
- export { A as AppendContentOptions, g as AutoSubmitOptions, h as FieldFormatConfig, i as FieldFormatConfigMap, j as FieldValidationContext, k as FieldValidator, l as FormCleanup, m as FormDataPrimitive, n as FormErrors, o as FormFieldElement, p as FormFieldWatcher, q as FormFieldsWatcher, r as FormStateListener, s as FormStateSnapshot, t as FormSubmitHandler, u as FormatType, v as FormsApi, w as FormsAvailable, N as NewFormInput, R as RuleConfig, x as SelectOption, y as SelectOptionGroup, z as SelectOptionInput, B as SerializedFormValue, C as SetOptionsConfig, D as ValueValidationRules, E as VisualAttributes, G as browser } from './registry-CPe_lf8-.js';
1
+ import { F as FormTarget, a as FormControllerOptions, b as FormController, S as SerializedFormResult, c as FormFieldValue, d as FieldValidationRules, e as FormValues, V as ValidationSchema, f as ValidationResult } from './registry-Bzd3unBb.js';
2
+ export { A as AppendContentOptions, g as AutoSubmitOptions, h as FieldFormatConfig, i as FieldFormatConfigMap, j as FieldValidationContext, k as FieldValidator, l as FormCleanup, m as FormDataPrimitive, n as FormErrors, o as FormFieldElement, p as FormFieldWatcher, q as FormFieldsWatcher, r as FormStateListener, s as FormStateSnapshot, t as FormSubmitHandler, u as FormatType, v as FormsApi, w as FormsAvailable, N as NewFormInput, R as RuleConfig, x as SelectOption, y as SelectOptionGroup, z as SelectOptionInput, B as SerializedFormValue, C as SetOptionsConfig, D as ValueValidationRules, E as VisualAttributes, G as browser } from './registry-Bzd3unBb.js';
3
3
 
4
4
  declare const form: (target: FormTarget, options?: FormControllerOptions) => FormController;
5
5
 
@@ -1,4 +1,4 @@
1
- type FormatType = 'general' | 'phone' | 'numeral' | 'date' | 'time' | 'creditCard' | 'creditCardType';
1
+ type FormatType = 'general' | 'phone' | 'numeral' | 'date' | 'time' | 'creditCard' | 'creditCardType' | 'text' | 'slug';
2
2
  interface FieldFormatConfig {
3
3
  /** One of the supported `@samline/formatter` `FormatType` values. */
4
4
  type: FormatType;
@@ -1,4 +1,4 @@
1
- type FormatType = 'general' | 'phone' | 'numeral' | 'date' | 'time' | 'creditCard' | 'creditCardType';
1
+ type FormatType = 'general' | 'phone' | 'numeral' | 'date' | 'time' | 'creditCard' | 'creditCardType' | 'text' | 'slug';
2
2
  interface FieldFormatConfig {
3
3
  /** One of the supported `@samline/formatter` `FormatType` values. */
4
4
  type: FormatType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samline/forms",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "TypeScript-first, framework-free form controller with validation, reactive state, serialization, auto-submit, and input formatting.",
5
5
  "keywords": [
6
6
  "forms",
@@ -113,7 +113,7 @@
113
113
  },
114
114
  "devDependencies": {
115
115
  "@playwright/test": "1.62.1",
116
- "@samline/formatter": "^3.0.0",
116
+ "@samline/formatter": "^3.1.0",
117
117
  "@types/node": "^26.6.2",
118
118
  "@vitest/coverage-v8": "^5.0.1",
119
119
  "axe-core": "^4.14.0",