@featherk/composables 0.8.0 → 0.8.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.
- package/README.md +9 -0
- package/dist/featherk-composables.es.js +794 -734
- package/dist/featherk-composables.umd.js +1 -1
- package/dist/form/index.d.ts +4 -0
- package/dist/form/useFieldsetTouchTracker.d.ts +13 -0
- package/dist/form/useFieldsetTouchTracker.test.d.ts +1 -0
- package/dist/form/useFieldsetValidationKit.d.ts +62 -0
- package/dist/form/useFieldsetValidationKit.test.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/docs/address/useZipTextBox.md +18 -11
- package/docs/form/useFieldsetTouchTracker.md +74 -0
- package/docs/form/useFieldsetValidationKit.md +150 -0
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -18,6 +18,10 @@ Vue 3 composables that improve Kendo UI for Vue behavior and accessibility.
|
|
|
18
18
|
- Guide: [docs/trap/usePopupTrap.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/trap/usePopupTrap.md)
|
|
19
19
|
- **Address**: `useZipTextBox` — Dynamic multi-mask ZIP code input (5-digit and ZIP+4) for Kendo Vue `TextBox`, with caret preservation, submit-gated validation, and focus-on-error support.
|
|
20
20
|
- Guide: [docs/address/useZipTextBox.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/address/useZipTextBox.md)
|
|
21
|
+
- **Form**: `useFieldsetValidationKit` — Delayed fieldset validation kit with submit/touch gating, field helpers, invalid-focus targeting, and reset handling.
|
|
22
|
+
- Guide: [docs/form/useFieldsetValidationKit.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/form/useFieldsetValidationKit.md)
|
|
23
|
+
- **Form (Low-level)**: `useFieldsetTouchTracker` — Primitive focus-leave touch tracker that powers the validation kit.
|
|
24
|
+
- Guide: [docs/form/useFieldsetTouchTracker.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/form/useFieldsetTouchTracker.md)
|
|
21
25
|
|
|
22
26
|
## Importing Composables
|
|
23
27
|
|
|
@@ -43,6 +47,9 @@ import { usePopupTrap } from '@featherk/composables/trap';
|
|
|
43
47
|
|
|
44
48
|
// Address utilities
|
|
45
49
|
import { useZipTextBox } from '@featherk/composables/address';
|
|
50
|
+
|
|
51
|
+
// Form utilities
|
|
52
|
+
import { useFieldsetValidationKit, useFieldsetTouchTracker } from '@featherk/composables/form';
|
|
46
53
|
```
|
|
47
54
|
|
|
48
55
|
Root imports (types are aliased to avoid name collisions):
|
|
@@ -59,6 +66,8 @@ import {
|
|
|
59
66
|
type TimeChangePayload,
|
|
60
67
|
usePopupTrap,
|
|
61
68
|
useZipTextBox,
|
|
69
|
+
useFieldsetValidationKit,
|
|
70
|
+
useFieldsetTouchTracker,
|
|
62
71
|
} from '@featherk/composables';
|
|
63
72
|
```
|
|
64
73
|
|